]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
6f2fb318aa1749a3209acbba38ff9dd617a81ac2
[lyx.git] / src / ChangeLog
1 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
4         line after typing ctrl-enter
5
6 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7
8         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
9         math insets do not return a proper editable() state yet (bug 2124).
10
11 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
12
13         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
14         docs containing very large paragraphs.
15
16 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
17
18         * cursor.C (selectionBegin, selectionEnd):
19         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
20         cursor at different depths.
21
22 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
23
24         * bufferview_funcs.C (coordOffset): do not call cursorPos
25         for collapsed collapsables (fix bug 2094).
26
27 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
28
29         * paragraph.C (fontSpan): make sure that the FontSpan does not
30         span across beginOfBody (bug 1947).
31
32 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
33
34         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
35
36 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
37
38         * messages.C: fix crash and localization on MinGW/Windows platform
39
40 2005-11-02  Angus Leeming  <leeming@lyx.org>
41
42         * Bidi.C:
43         * lyxtextclass.C: trivial fixes to some MSVS warnings.
44
45 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
46
47         * text3.C (getStatus): re-enable disabled code. (bug 2081)
48
49         * BranchList.h (empty): constify.
50
51 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
52
53         * text3.C (getStatus): 
54         * MenuBackend.C (expandBranches): take the branch list from the
55         master document (bug 2092).
56         
57         * MenuBackend.C (expandBranches): 
58         * bufferparams.C (writeFile): use BranchList type.
59
60 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
61
62         * text3.C (dispatch, getStatus): 
63         * LyXAction.C (init): 
64         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
65
66 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
69
70 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
71
72         * text.C (insertChar): do not reset boundary (bug 2061)
73
74 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
75
76         * dociterator.C (updateInsets): new method. Updates the inset_
77         cache of all the slices of the iterator.
78
79         * text2.C (deleteEmptyParagraphMechanism): compare also containing
80         insets when comparing pit/pos; pass the right cursor to
81         recordUndo; when a paragraph has been deleted, compare `old.top()' to
82         the right cursor slice of `cur'; use updateInsets on cur to make
83         sure that the inset caches are correct; general cleanup.
84
85 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
88         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
89         containg inset. If this does not work, the same command will be
90         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
91
92         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
93         a dispatch.
94
95 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
96
97         * lyxtextclass.C (Read): convert layout file if the format is wrong
98         * lyxtextclass.C (layout2layout): new, needed for the above
99
100 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
101
102         * messages.C: do not forget to include <cerrno>.
103
104 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
105
106         * dociterator.h (StableDocIterator): add access to pos().
107         * undo.C (samePar): new method to check if two
108         iterators are in the same paragraph
109         * undo.C (recordUndo): check for samePar instead of cell identity
110         (which includes pos() and is too strict) (fixes bug 2097)
111
112 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
113
114         * text.C (setCursorFromCoordinates): return a bool telling whether
115         dEPM triggered.
116
117         * text3.C (cursorPrevious): update if needed after
118         setCursorFromCoordinates (when dEPM triggered).
119
120         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
121         (otherwise the anchor may be completely wrong and make dEPM assert).
122
123 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
124
125         * buffer.C: version upgrade to 245.
126         * bufferparams.C: remove \quotes_times (bug 2090).
127         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
128         quotation marks as default.
129
130 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
131
132         * CutAndPaste.C (nrOfParagraphs): remove (unused)
133         * CutAndPaste.C (cutSelection): Remove debug message
134         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
135         undo information and only copy if this is a real cut
136         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
137         call
138         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
139         (bug 2059)
140         * CutAndPaste.C (eraseSelection): prevent cursor corruption
141         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
142         superflous cur.selection() setting
143         * CutAndPaste.[Ch] (grabSelection): take a const cursor
144         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
145
146 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
147
148         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
149         change anything.
150
151 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
152
153         * BufferView_pimpl.C: comment layout change
154
155 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
156
157         * LyXAction.C:
158         * lfuns.h:
159         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
160         by bibliography managers (bug 2071).
161
162 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
163
164         * BufferView_pimpl.C (update): choose arguments to update call so
165         that single-par update works most times
166         * text3.C (dispatch): carefully tune updating separately for
167         whole-screen and current-paragraph
168         * rowpainter.C (paintText): 1) replace painting by caching for
169         the two extra paragraphs, because we can;
170         2) suppress greying out of areas below/above drawn area in case of
171         single-par refresh
172         * lyxfunc.C (dispatch): remove superfluous update
173         * LyXAction.[Ch]: introduce SingleParUpdate
174
175 2005-10-05  Angus Leeming  <leeming@lyx.org>
176
177         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
178         always initialised before use.
179
180         * text.C (setHeightOfRow): squash warning about comparison
181         of signed and unsigned types.
182
183 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
184
185         * text.C (cursorX): two fixes involving RtL text drawing
186
187 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
188
189         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
190         items, not only large ones (part of bug 2057)
191
192 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
193
194         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
195         argument, use "newcommand".
196
197 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
198
199         * cursor.C (setSelection): do not open collapsable insets;
200         the insets do by themselves now (autoopen).
201
202 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
203
204         * buffer.C: format is up to 244.
205
206 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
207
208         * text.C (redoParagraph): fix calcultation of inset width wrt 
209         leftMargin (bug 1957).
210
211         * text3.C (dispatch): leave inset to the right when hitting ESC 
212         (bug 2034).
213
214 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215
216         * text2.C: 
217         * text.C: 
218         * factory.C:
219         * messages.C: include <boost/current_function.hpp> 
220
221 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
224         when command is internal. (bug 1941)
225
226 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
227
228         * text2.C (cursorRight): do not honor boundary when at the end of
229         a paragraph. (bug 2010 again)
230
231 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
234
235 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
236
237         * rowpainter.C (paintText): fix RtL space width display bug (2029)
238
239 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
240
241         * text2.C (setCursor): remove the unused 'boundary' parameter for
242         the CursorSlice version; adapt the LCursor version.
243
244         * lyxrc.C (write): 
245         * paragraph_pimpl.C (markErased): 
246         * cursor.C (bruteFind2, bruteFond3): fix warnings.
247
248 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
251         as is already done for "chapter".
252
253 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
256         textclass; do not record undo if nothing is changed.
257
258 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
259
260         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
261
262 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
263
264         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
265
266 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
267
268         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
269         combox, it is necessary to search for the topmost paragraph in the
270         cursor stack (bug 1926)
271
272 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
275         end of paragraph. (bug 2010)
276
277 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
278
279         * text.C (leftMargin): check for inInset == 0
280
281 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
282
283         * text.C (leftMargin): test for insetbase's new neverIndent()
284         bool instead of listing each and every inset that does not
285         wish par indendation.
286
287 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
288
289         * buffer_funcs.C (setCounter): put the code to compute enum label
290         here (where it belongs).
291
292         * counters.C (enumLabel): move code to buffer_funcs.C.
293
294 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
295
296         * outputparams.[Ch]: store local_font instead of local_language
297         * paragraph.C (simpleTeXOnePar): adapt to the change above
298
299 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
300
301         * buffer_funcs.C:
302         * counters.[Ch]: clean up special code for Hebrew.
303
304 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
305
306         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
307         than 2.
308
309 2005-09-08  Angus Leeming  <leeming@lyx.org>
310
311         * ispell.C:
312         * lyxrc.C: correct grammar describing invocation of the
313         spellchecker.
314
315 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
316
317         * text.C (read): remove unused variable.
318         (readParToken): remove static Change variable (never good in
319         recursive settings...); add it as a parameter instead.
320
321         * paragraph_pimpl.C (acceptChange): make debug info conditional.
322
323         * metricsinfo.C (PainterInfo): add new member erased_.
324
325         * rowpainter.C (RowPainter): add erased_ member, initialized from
326         PainterInfo. 
327         (paintInset): pass erased_ to Inset::draw.
328
329         * lyxfunc.C (lookupChange): new function. Tells whether change 
330         tracking is disabled at a given postion.
331         (getStatus): disable some actions when in deleted text with change
332         tracking. 
333
334 2005-08-03  John Levon  <levon@movementarian.org>
335         
336         * tabular.C (appendColumn, setMultiColumn): adapt to change to
337         InsetText::clear().
338
339         * paragraph_pimpl.C (markErased): add bool argument and handle it.
340         Also make sure to mark insets recursively.
341         (rejectChange, erase): be recursive
342
343         * paragraph.C (markErased): add bool argument.
344 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
345
346         * lyxfind.C (findNextChange): tiny cleanup.
347
348         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
349         change tracking with the cursor in an inset; make sure the first
350         change is not skipped.
351
352 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
353
354         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
355         tabularStackDirty to work around bug 1919 (tabular needs
356         to know whether its own cell paste buffer or the one of 
357         texted is newer.
358         * CutAndPaste.C: mark tabular_stack_ clean after copy.
359
360 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
361
362         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
363
364 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
365
366         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
367         use old deleteion algorithm when changetracking is on.
368
369 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
370
371         * messages.C (get): add debug output.
372
373 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
374
375         * text.C (cursorX): fix bug 1965: cursor movement at
376         line end broken in RtL.
377         (drawSelection): fix bug 1970: drawing of single-line 
378         selection broken for RtL.
379
380 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
381
382         bug 465.
383
384         * dociterator.h (clear, push_back, pop_back): change from
385         protected to public.
386
387         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
388         and changed to just return the value of the item depth; take a
389         ParIterator as argument; take the itemdepth at outer nesting level
390         in account if necessary; cleanup and comment the code.
391         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
392         and changed to just return true if reset is needed; take a
393         ParIterator as argument; cleanup and comment the code.
394         (setCounter): adapt to above changes.
395
396 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * text3.C (dispatch): make debug message optional
399
400 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
401
402         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
403         inset. (bug 1963)
404
405 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
406
407         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
408
409 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
410
411         * text.C (insertChar):
412         * text2.C (deleteEmptyParagraphMechanism): take care whether 
413         a blank has been deleted (in change tracking mode) (bug 1254).
414
415 2005-07-20  John Levon  <levon@movementarian.org>
416
417         * text2.C (insertStringAsLines): remove old dubious code,
418         fixing bug 1939.
419
420 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
421
422         * MenuBackend.C (expandToc): use Floating::listName() as title of
423         the floats submenus.
424
425 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
426
427         * toc.[Ch]: Do not use translatable strings (bug 1870).
428
429 2005-07-20  John Levon  <levon@movementarian.org>
430
431         * tabular.C: fix 1748 - setting multicolumn adds
432           left line to the first cell
433
434 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
435
436         bug 1920
437         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
438         pars in one go.
439
440 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
441
442         * messages.C: supress some lyxerr messages
443
444 2005-07-18  Juergen Vigna  <jug@lyx.org>
445
446         * text.C (drawSelection): honor boundary when asking for cursorX.
447
448 2005-07-17  José Matos  <jamatos@fc.up.pt>
449
450         * tabular.C (recalculateMulticolumns): fix handling of one column
451         tables.
452
453 2005-07-17  Juergen Vigna  <jug@lyx.org>
454
455         * text.C (Delete, backspace): fixed so that paragraph with the
456         same layout can be merged by Delete/Backspace.
457
458 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
459
460         * text.C (readParToken): fix spelling.
461
462 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
463
464         * text2.C: fix counter update for DEPM problem reported by
465         Georg Baum
466
467 2005-07-17  Juergen Vigna  <jug@lyx.org>
468
469         * BufferView_pimpl.C (setBuffer): save/restore the
470         cursor/selection when switching buffers
471
472         * buffer.h: 
473         * buffer.C (saveCursor): add saveDocumentIterators to save the
474         cursor when switching buffer.
475
476 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
477
478         * debug.C: fix typo
479         * buffer.C: clarify message
480         
481 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
482
483         * dociterator.C (DocIterator): fix initialization order
484
485 2005-07-17  Juergen Vigna  <jug@lyx.org>
486
487         * text2.C (cursorHome): 
488         * text.C (drawSelection, cursorX): 
489         * dociterator.C (textRow): add boundary to getRow() call
490
491         * paragraph.C (getRow): implementation of below
492
493         * paragraph.h: add parameter boundary for getRow() function
494
495 2005-07-17  José Matos  <jamatos@fc.up.pt>
496
497         * buffer.C:
498         * bufferparams.[Ch]:
499         * tex-strings.[Ch]: new file format, remove support for a4.sty,
500         a4wide.sty and a4widemargins.
501
502 2005-07-17  Juergen Vigna  <jug@lyx.org>
503
504         * text2.C (cursorLeft): fix one of error
505
506 2005-07-17  Juergen Vigna  <jug@lyx.org>
507
508         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
509                    cursorEnd):
510         more fixes for boundary handling
511
512         * text3.C (dispatch): don't reset cursor if boundary has changed
513         on cursor movement.
514
515 2005-07-16  Juergen Vigna  <jug@lyx.org>
516
517         * text2.C (getColumnNearX): hopefully got it right now,
518         check if we are on column 0 for special case.
519
520 2005-07-16  Juergen Vigna  <jug@lyx.org>
521
522         * text2.C (getColumnNearX): handle special case Newline Inset
523
524         * text.C (singleWidth): Just remove bogus check
525
526 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
527
528         * funcrequest.C (split): avoid reading uninitialized char c
529
530 2005-07-16  José Matos  <jamatos@fc.up.pt>
531
532         * buffer.C:
533         * converter.C:
534         * lyxrc.C:
535         * paper.h:
536         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
537         single papersize variable.
538
539 2005-07-16  Juergen Vigna  <jug@lyx.org>
540
541         * text3.C (dispatch): honor boundary when checking if a cursor
542         movement has been done
543
544         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
545         (setCursor, setCursorIntern): fix cursor movement with boundary
546
547 2005-07-16  Juergen Vigna  <jug@lyx.org>
548
549         * text.C (currentState): output the actual Boundary
550
551 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
552
553         * factory.C (createInset): fix bad logic for tabular creation
554
555 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
556
557         * lyx_main.C (init): change some reLyX reference to tex2lyx
558
559 2005-07-16  Juergen Vigna  <jug@lyx.org>
560
561         * dociterator.C (DocIterator): initialize boundary
562
563 2005-07-16  Juergen Vigna  <jug@lyx.org>
564
565         * text2.C (getColumnNearX): Consider rows without trailing blank.  
566
567 2005-07-16  André Pönitz  <poenitz@gmx.net>
568
569         * lyxfont.h: Change order of declarations to give the compiler
570         a better chance to inline things
571
572         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
573         questions on unsaved docs for better scritability
574
575 2005-07-16  André Pönitz  <poenitz@gmx.net>
576
577         * paragraph.h (getChar): remove asserts as the same kind of security
578         can be achieved by using a suitable standard library implementation
579         and the function was in the critical path (25.9% in profiler)
580
581 2005-07-16  Juergen Vigna  <jug@lyx.org>
582
583         * cursor.C (bruteFind2):
584         * bufferview_funcs.C (coordOffset): 
585         * text.C (cursorX,cursorY): Handle cursor position after last char
586         in row before a inset which uses a whole row.
587
588 2005-07-15  José Matos <jamatos@lyx.org>
589
590         * output_plaintext.[Ch] (writeFileAscii): control reference title
591         printing.
592         (asciiParagraph): noparbreak was already deal and was incorrectly
593         used.
594
595 2005-07-15  Juergen Vigna <jug@lyx.org>
596
597         * lyxfunc.C (dispatch): save and restore the cursor after a
598         textclass switch.
599
600 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
601
602         * text.C (backspace): bug 806 for empty keepempty paragraphs we
603         change the layout to default before letting DEPM do its thing.
604
605         * paragraph_funcs.C (breakParagraph): dont reset the layout on
606         keepEmpty paragraphs
607
608         * text.C (setCursorFromCoordinates): add a debug statement
609
610         * text2.C (getColumnNearX): bug 1825 make sure that we don't
611         return a pos that is not on the row
612
613         * output_latex.C (TeXDeeper): get rid of potential dereferencing
614         of past the end iterator
615
616 2005-07-14  André Pönitz  <poenitz@gmx.net>
617
618         * undo.C (recordUndoFullBuffer): implement undo for
619         textclass switches
620
621 2005-07-14  André Pönitz  <poenitz@gmx.net>
622
623         * cursor.C (setSelection): open insets when selection is set there
624         to avoid crashs with cold coord cache
625
626 2005-07-14  André Pönitz  <poenitz@gmx.net>
627
628         * trans_mgr.C (insert): move cursor to the right after inserting
629         a char.
630
631 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
632
633         * BufferView_pimpl.C (update): dampen some of the debug blabbering
634         * factory.C (readInset): ditto
635         * text.C, text2.C: ditto
636
637 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
638
639         * buffer.C: format incremented to 242. There is no file format per
640         se, but the "frenchb" language has been removed from lib/language
641         and has to be translated to "french" by lyx2lyx.
642
643 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
644
645         * cursor_slice.h, dociterator.h: add some documentation
646         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
647
648 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
649
650         * text.C (leftMargin): do not add identation to display() style
651         insets, because they are always centered (bug 1293).
652
653 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
654
655         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
656         formatted_time methods in support/lyxtime.
657
658 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
659
660         * toc.[Ch]: new method getGuiName, which is used by the frontends 
661         to set the toc combo (fixes bug 1870). Make TOC string translatable.
662
663 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
664
665         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
666         StableDocIterator const &)
667         * undo.C (recordUndo): use the above instead of cell.size() comparison
668         (fixes bug 1808; instructed by Andr�.
669
670 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
671
672         * cursor_slice.h: 
673         * dociterator.h: Fix the assert when copying rows/cols in math
674
675 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
676
677         * BufferView_pimpl.C:
678         * LyXAction.C:
679         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
680
681         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
682         (findInset): new functions, refactored from goto Inset that return 
683         the position of a certain inset without setting the buffer's cursor
684         (by Jean-Marc); 
685         (gotoInset): rewrite to call findInset and then set the cursor
686         (by Jean-Marc).
687
688 2005-06-16  Angus Leeming  <leeming@lyx.org>
689
690         * lyxrc.C (output, read): wrap all input and output of paths with
691         calls to os::internal_path and os::external_path, respectively.
692         (output): wrap bind_file inside quotes.
693
694         * format.C (view): enable the viewer to use the '$$s' placeholder.
695
696 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
697
698         * LColor.[Ch] (getFromLaTeXName): new
699
700 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
701
702         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
703
704 2005-06-14  Angus Leeming  <leeming@lyx.org>
705
706         * lyx_main.C (init): ensure that the LyX binary dir is the first
707         element in the PATH on non-POSIX builds.
708
709 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
710
711         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
712
713 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
714
715         * rowpainter.C (paintInset, paintHebrewComposeChar)
716         (paintArabicComposeChar, paintChars): add a LyXFont argument.
717         (paintChars): use getFontSpan to reduce calls to getFont to a
718         minimum; use Paragraph::lookupChange instead of isXXXText.
719         (paintForeignMark): rename LyXFont argument.
720         (paintFromPos): pass a LyXFont object to the various paintXXX
721         methods.
722
723         * FontIterator.C (FontIterator, operator++): use
724         Paragraph::getFontSpan
725
726         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
727         version that returns the font span as a pair.
728
729 2005-06-09  Angus Leeming  <leeming@lyx.org>
730
731         * converter.C (convert): Don't forget "outfile = real_outfile" as
732         the final step in a conversion where the input and output file names
733         are the same. Otherwise, future conversion steps won't work...
734
735 2005-06-09  Angus Leeming  <leeming@lyx.org>
736
737         * lyxsocket.C: remove stub code as it isn't needed by
738         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
739
740 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
741
742         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
743         effectively disabled -x
744
745 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
746
747         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
748         when it actually makes sense.
749
750 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
751
752         * BufferView_pimpl.C: revert to showCursor in connection with
753         Lars's front-end stack
754
755 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
756
757         * text.C (redoParagraph): move cursor right after a bibitem
758         has been inserted.
759
760         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
761
762 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
763
764         * buffer_funcs.C (bufferErrors): fix computation of the end of an
765         error range.
766
767 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
768
769         * BufferView.[Ch] (update):
770         * BufferView_pimpl.[Ch] (update, metrics):
771         * dimension.h (operator==):
772         * lyxfunc.C (dispatch):
773         * metricsinfo.h (ViewMetricsInfo):
774         * rowpainter.C (paintText):
775         * lyxtext.h:
776         * text.C (redoParagraph):
777         * text3.C (dispatch): Make LyX only repaint current paragraph in
778         case of character insert --> speedup. Also fix cursor draw
779         artifacts
780
781 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
782
783         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
784         avoid a crash (bug 1891)
785
786 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
787
788         Fix bug 1892:
789
790         * text2.C (getStringToIndex): constify cur argument.
791
792         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
793         argument has been given
794         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
795         try to invoke LFUN_INSET_APPLY).
796
797         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
798         if no inset was created by doInsertInset
799         (doInsertInset): return true if an inset has been inserted.
800
801 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
802
803         * vspace.C (asGUIName): new method. A version of the space
804         suitable for showing on screen.
805
806 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
807
808         * MenuBackend.C:
809         * lyxrc.C: rename "ASCII" to "Plain Text"
810
811 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
812
813         * buffer_funcs.C (expandLabel): take a Buffer as argument;
814         translate the labelstring.
815         (setCounter): translate labelstring as needed.
816
817         * output_docbook.C (makeCommand): fix expandLabel invokation
818
819 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
820
821         * BufferView.C: fix dialog title
822
823 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
824
825         * lyx_main.C (priv_exec): fix logic error with help from Angus
826         * lyx_main.C (parse_execute): set is_gui = false and remove now
827         obsolete comment about a segfault
828
829 2005-05-18  Angus Leeming  <leeming@lyx.org>
830
831         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
832
833 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
834
835         * tabular.[hC]: added setCellInset to fix tabular paste.
836
837 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
838
839         * buffer.C (save): check if destination is writable before trying
840         to copy a file
841
842 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
843
844         * BufferView_pimpl.C (update): fix processEvents -caused update
845         recursion bug
846
847 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
848
849         * buffer_funcs.C (setCounter): fix test for numbering of
850         environments.
851
852         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
853         depth correctly; use optional argument when it exists
854
855         * lyxtextclass.C: remove unused MaxCounterTags enum
856         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
857         (max_toclevel, min_toclevel): new methods.
858
859         * MenuBackend.C (expandToc2): fix case where depth is smaller than
860         the smallest depth in toc.
861
862         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
863         layouts that should not appear in a table of contents.
864
865 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
866
867         * cursor.h (undispatched, noUpdate): add comments from Andr�
868 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
869
870         * lfuns.h:
871         * LyXAction.C:
872         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
873
874 2005-05-07  André Pönitz  <poenitz@gmx.net>
875
876         * cursor.[Ch] (leaveInset): new function
877
878 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
879
880         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
881
882 2005-05-04  Angus Leeming  <leeming@lyx.org>
883
884         * lyxfunc.C (getStatus): disable the spell checker dialog if
885         none of USE_[AIP]SPELL are defined.
886
887 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
888
889         * tabular.C (setWidthOfCell): remove obsolete comment
890
891 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
892
893         * paragraph.C (bibitem):
894         * buffer_funcs.C (setCounter):
895         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
896
897 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
898
899         * text3.C (getStatus): immediately return after setOnOff
900
901         * rowpainter.C: fix drawing of appendix start
902
903 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
904
905         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
906         SwitchBetweenClasses and remove the unused return value.
907         Handle character styles, too
908
909 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
910
911         * factory.C (createInset): handle undefined character styles
912
913 2005-05-02  Angus Leeming  <leeming@lyx.org>
914
915         * buffer.C: protect the #include of utime.h with a preprocessor
916         guard.
917
918 2005-05-02  Angus Leeming  <leeming@lyx.org>
919
920         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
921         function so that auto-saving works, albeit in a blocking manner.
922
923         * Makefile.am: make compilation of the client sub directory, of
924         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
925         on conditionals set at configure time.
926
927         * SpellBase.[Ch]: no longer an abstract base class. Instead,
928         it can be compiled in its own right but has no-op functionality.
929
930         * aspell.C, pspell.C: remove preprocessor guards. The files should
931         be compiled only if the necessary functionality exists.
932
933         * lyxserver.C, lyxsocket.C: disable on Windows.
934
935 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
936
937         * text.C (leftMargin): Fix the parindent use bug (1764)
938         by dirty trick
939
940 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
941
942         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
943         argument.
944
945 2005-04-25  Angus Leeming  <leeming@lyx.org>
946
947         * Bidi.[Ch]:
948         * coordcache.[Ch]:
949         * ispell.C:
950         * lyxserver.C:
951         * mover.C:
952         * pch.h:
953         include <config.h> in .C files, not .h ones.
954         add licence blurb.
955         protect headers inside preprocessor guards.
956
957 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
958
959         * FuncStatus.h (StatusCodes): document
960
961 2005-04-21  André Pönitz  <poenitz@gmx.net>
962
963         * FuncStatus.h (enabled, onoff): document
964
965 2005-04-19  Angus Leeming  <leeming@lyx.org>
966
967         * BufferView_pimpl.C (cursorToggle): no longer test whether
968         any child processes have been reaped before calling
969         handleCompletedProcesses().
970
971 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
972
973         * text3.C (dispatch): fix, finally fix, the language problem in
974         new lyxtexts, without disabling on-the-fly font changes (Helge's
975         bug report)
976
977 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
978
979         * text3.C (dispatch): set cursor on double/triple click events
980         (bug 1811)
981
982 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
983
984         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
985         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
986
987         * rowpainter.C (paintFirst): simplify the code a little bit. In
988         particular, remove the test for secnumdepth.
989         * text.C (setHeightOfRow): only allocate space for chapter number
990         when updateCounters provided an actual label, instead of looking
991         at secnumdepth directly.
992
993         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
994
995         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
996         paragraphs when secnumdepth is large enough or, for environments,
997         when they are not the first in a sequence.
998
999 2005-04-17  Angus Leeming  <leeming@lyx.org>
1000
1001         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1002         containing space and '~' characters with a call to latex_path().
1003
1004 2005-04-17  Angus Leeming  <leeming@lyx.org>
1005
1006         * converter.C (convert): protect all args of convertDefault.sh
1007         script with quotes.
1008
1009 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1010
1011         * text3.C (dispatch): change the layout to "Caption" after inserting
1012         a float.
1013
1014 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1015
1016         * text3.C (dispatch): fix language problem in newly created
1017         textinsets (and main text) in non-english docs
1018
1019 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1020
1021         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1022         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1023         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1024
1025 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1026
1027         * lyxtext.h:
1028         * text.C (metrics):
1029         * text2.C (getFont):
1030         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1031         fonts fix
1032
1033 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1034
1035         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1036         output of \item arguments without trailing text.
1037
1038 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1039
1040         * FontIterator.C (operator*): avoid a copy of the font.
1041
1042 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1043
1044         * rowpainter.C (getFont): fix language bug from previous fix
1045
1046 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1047
1048         * rowpainter.C (RowPainter, getFont): fix font inside inset
1049         (bugs 1766, 1809)
1050
1051 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1052
1053         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1054         preventing inserted font, deco, delim insets jumping to start of
1055         surrounding inset.
1056
1057 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1058
1059         * lyxfunc.C (dispatch): translate message before sending it to the
1060         minibuffer.
1061
1062 2005-03-29  Angus Leeming  <leeming@lyx.org>
1063
1064         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1065         to LyX on the command line.
1066
1067 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1068
1069         * vc-backend.C: use QuoteName to protect file names wherever
1070         necessary.
1071
1072 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1073
1074         * buffer.[Ch]:
1075         * BranchList.h: fix bugs 1844,1845: document settings don't
1076         stick
1077
1078 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1079
1080         * lyxrc.C (setDefaults, read, output, getDescription): add support
1081         for tex_allows_spaces.
1082
1083         * exporter.C (Export): allows files in directory containing spaces
1084         if tex_allows_spaces is true.
1085
1086         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1087         output it in double quotes.
1088
1089 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1090
1091         * rowpainter.C: use default text height for drawing change tracker
1092         strikeout lines.
1093
1094 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1095
1096         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1097
1098 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1099
1100         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1101         directory is missing.
1102
1103 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1104
1105         * text2.C: fixed the fix, extended to other case.
1106
1107 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1108
1109         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1110
1111 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1112
1113         * text2.C (cursorUp): get rid of a crash
1114         * text.C (x2pos): add an assert
1115
1116 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1117
1118         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1119
1120         * text3.C:
1121         * lyxfunc.C:
1122         * dociterator.C: include <boost/current_function.hpp>, which is
1123         needed when assertions are disabled.
1124
1125 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1126
1127         * text2.C: fix for stuck cursor when traversing two
1128         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1129
1130 2005-02-25  Andreas Vox  <avox@arcor.de>
1131
1132         * output_docbook.C (makeParagraph): suppress trailing newline
1133         after a run of paragraphs
1134
1135 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1136
1137         * paragraph.C: fix for confused change tracker when pasting
1138         text that begins with a lineseparator. [bug 1827]
1139         (setChange(0, Change::INSERTED);)
1140
1141         * paragraph_funcs.C: fix for lost changes on triple-paste
1142         in change tracking mode [bug 1827] (par.setChange()).
1143
1144 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1145
1146         * text2.C (updateCounters, setCounter, expandLabel): move to
1147         buffer_funcs.
1148
1149         * buffer_funcs.C (updateCounters): turn into a free standing
1150         function and add a buffer parameter. Remove dead code for tracking
1151         labelstring change.
1152         (setCounter): change into a free-standing function which gets a
1153         dociterator as argument. Use this iterator to fix captions in a
1154         simple way. When no float is found above the caption, use the
1155         labelstring of the caption layout as default.
1156
1157         * text.C (breakParagraph, backspace):
1158         * text2.C (init, setLayout, changeDepth):
1159         * text3.C (dispatch):
1160         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1161         updateCounters.
1162
1163         * dociterator.C (forwardPar): make it much faster by calling
1164         forwardPos() only when really necessary.
1165
1166         * output_docbook.C (makeCommand): adapt to expandLabel move.
1167
1168         * cursor.C: remove unused variable
1169
1170 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1171
1172         * paragraph_funcs.C: fix crash when pasting insets in change
1173         tracking mode [bug 1277] (honour change type in moveItem).
1174
1175 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1176
1177         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1178
1179 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1180
1181         * BufferView.C (setCursor): change to use a DocIterator.
1182         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1183         (putSelectionAt): adapt to BufferView::setCursor change.
1184
1185         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1186         moved here from LyXText and rewritten to use proper cursor
1187         methods. Fixes bug 1787, 616 and 835.
1188
1189         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1190         when inside an inset (part of bug 781).
1191         (dispatch): adapt to change of BufferView::setCursor.
1192         (getStatus, dispatch): handle LFUN_GOTOERROR,
1193         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1194
1195         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1196         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1197         * text3.C (gotoNextInset, gotoInset): removed.
1198
1199 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1200
1201         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1202
1203 2005-02-15  Angus Leeming  <leeming@lyx.org>
1204
1205         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1206         can be used meaningfully in a comparison.
1207
1208 2005-02-13  André Pönitz  <poenitz@gmx.net>
1209
1210         * bufferview_funcs.C (coordOffset): improve cursor drawing
1211
1212 2005-02-13  André Pönitz  <poenitz@gmx.net>
1213
1214         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1215         * Cursor.C (dispatch): use fixIfBroken
1216         * lyxfunc.C (getStatus): use fixIfBroken
1217
1218 2005-02-15  Angus Leeming  <leeming@lyx.org>
1219
1220         * lyx_main.C (error_handler):
1221         * lyxfunc.C:
1222         * lyxrc.C (setDefaults):
1223         s/GetEnv/getEnv/.
1224         #include "environment.h".
1225
1226         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1227
1228 2005-02-15  Angus Leeming  <leeming@lyx.org>
1229
1230         * lyxserver.C (startPipe): squash MSVC warning "local variable
1231         'fd' used without having been initialized".
1232
1233 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1234
1235         * BufferView_pimpl.C: revert accidental commit.
1236
1237 2005-02-14  André Pönitz  <poenitz@gmx.net>
1238
1239         * dociterator.[Ch]: new member forwardPosNoDescent(),
1240         which doesn't enter nested insets.
1241         * text2.C (setFont): use forwardPosNoDescent() instead
1242         of ForwardPos() (fixes crash on font change).
1243
1244 2005-02-13  Angus Leeming  <leeming@lyx.org>
1245
1246         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1247         only if lyxrc.path_prefix is not empty.
1248
1249 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1250
1251         * bufferparams.C (readGraphicsDriver): prevent crash
1252
1253 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1254
1255         * text2.C (setCounter): check for inInset() == 0
1256
1257 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1258
1259         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1260         but use update() to get correct screen display; use convert
1261         instead of istringstream.
1262         (getStatus): handle LFUN_GOTO_PARAGRAPH
1263
1264         * lyxfunc.C (dispatch, getStatus): do not handle
1265         LFUN_GOTO_PARAGRAPH here.
1266
1267 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1268
1269         * text3.C (dispatch): size() -> depth()
1270
1271         * text2.C: remove some debug output
1272
1273         * paragraph.C: ws changes only
1274
1275         * lyxfunc.C (getStatus): size() -> depth()
1276
1277         * dociterator.h (clear, push_back, pop_back, internalData,
1278         operator[], resize, empty): new functions
1279         Make StableDocIterator and operator== be friends. Don't inherit
1280         from std::vector use a privat class variable slices_ instead.
1281         Modify to fit.
1282
1283         * dociterator.C: update because of not inheriting from std::vector
1284         anymore. Call explictly to slices_ instead. Use depth() instead of
1285         size() and top() instead of back()
1286
1287         * cursor.C: chagne size() -> depth and back() -> top(). Also
1288         remove some direct operator[](i) calls in favour of foo[i]
1289         (getFont): remove some dead code
1290
1291         * bufferview_funcs.C (coordOffset): size() -> depth()
1292
1293         * buffer.C: ws changes only
1294
1295         * CutAndPaste.C (eraseSelection): back() -> top()
1296
1297         * BufferView_pimpl.C (selectionRequested): back() -> top()
1298
1299         * BufferView.C (setCursor): size() -> depth()
1300
1301 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1302
1303         * text3.C (cursorPrevious): return true if depm changed something
1304         (cursorNext): ditto
1305         (dispatch): rename sl to oldTopSlice, remove moving use the new
1306         NoUpdate func attrib instead. Make sure that needsUpdate is set
1307         for function that have NoUpdate, but where depm might have changed
1308         the buffer anyway.
1309
1310         * text2.C (cursorLeft): make us return true if depm changed
1311         something
1312         (cursorRight): ditto
1313         (cursorUpParagraph): ditto
1314         (curosrDownParagraph): ditto
1315         (cursorUp, cursorDown): ditto, make sure to read comments in code
1316         (deleteEmptyParagraphMechanism): remove an assert, also return
1317         true if just a single char was deleted.
1318
1319         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1320         cursor that we modify, to avoid modifying an active cursor before
1321         we call setCursor. This allows depm to run. Also return true if
1322         depm deleted something.
1323
1324         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1325         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1326         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1327         something was changed in the buffer because of them (ie. depm run)
1328
1329         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1330         debug messages. Make update by default be false. Make sure that
1331         the result of update is retained throught several calls down to
1332         dispatch.
1333
1334         * LyXAction.h: add a new func_attrib: NoUpdate
1335
1336         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1337         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1338         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1339         and LFUN_WORDLEFT
1340         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1341
1342 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1343
1344         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1345         bv_->owner(), bv_->buffer() by direct references to the private
1346         members.
1347         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1348         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1349         (fitCursor): center() is in BufferView::Pimpl.
1350         (getStatus, trackChanges, dispatch): no need for a temporary buf
1351         variable
1352         (fitCursor, workAreaDispatch): use workarea().workheight()
1353
1354 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1355
1356         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1357
1358 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1359
1360         * buffer.C: format up to 241.
1361         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1362         break if pasting into ERT
1363         * lyxfunc.C (getStatus): suppress mathpanel and
1364         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1365
1366 2005-02-01  Angus Leeming  <leeming@lyx.org>
1367
1368         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1369
1370 2005-02-01  Angus Leeming  <leeming@lyx.org>
1371
1372         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1373         calling fs::is_directory().
1374
1375 2005-01-31  Angus Leeming  <leeming@lyx.org>
1376
1377         * lyx_main.C (priv_exec): specify explicitly the relative location
1378         of the top level build directory when run in-place.
1379
1380 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1381
1382         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1383         LyXText containing the cursor, not the top-level one.
1384
1385         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1386         true.
1387         (insertStringAsLines): rename par to pit; use temporary variable
1388         par to hold a Paragraph; do not store par.layout() in a variable,
1389         since the pointer may die when breaking paragraphs; pass pars to
1390         breakParagraph() instead of Buffer::paragraphs().
1391
1392 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1393
1394         * lyxlex_pimpl.h: #include <fstream>.
1395
1396         * BufferView.[Ch] (getLyXText): add a const version.
1397
1398         * BufferView_pimpl.C: add debug aids.
1399
1400         * RowList_fwd.h:
1401         * buffer.h:
1402         * lyxrow.h:
1403         * paragraph_funcs.h: add commentary explaining what the class does.
1404
1405
1406         * coordcache.[Ch]: add lots of commentary.
1407         (startUpdating, doneUpdating): debug aids.
1408         (arrays, insets, parPos, getParPos): accessors to private data.
1409
1410         * cursor_slice.[Ch] (text): add a const version.
1411         * dociterator.[Ch] (text, innerText): add const versions.
1412
1413         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1414         bool.
1415
1416         * paragraph.C (getRow, pos2ros): add asserts.
1417
1418         * paragraph.h: add commentary. Lots of.
1419
1420         * paragraph.[Ch] (metrucs, draw): removed.
1421
1422         * cursor.C:
1423         * rowpainter.[Ch]: const-correct changes.
1424
1425         * text.C: various obvious clean-ups. Removal of ancient cruft.
1426         Bug fixes, even.
1427
1428 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1429
1430         * vc-backend.C (find_file): rewrite to use boost.filesystem
1431         (scanMaster): ditto
1432
1433         * main.C (main): set default name check for boost.filesystem to
1434         no check
1435
1436         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1437         (open): ditto
1438         (doImport): ditto
1439         (actOnUpdatedPrefs): ditto
1440
1441         * lyx_main.C (init): rewrite to use boost.filesystem
1442         (queryUserLyXDir): ditto
1443
1444         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1445         (getContentsOfAsciiFile): ditto
1446
1447         * lastfiles.C (readFile): rewrite to use boost.filesystem
1448
1449         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1450
1451         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1452         (loadLyXFile): ditto
1453
1454         * buffer.C (Buffer): adjust for destroydir
1455         (getLogName): rewrite to use boost.filesystem
1456         (setFileName): ditto
1457         (save): use fs::copy_file (from fs_extras)
1458
1459         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1460
1461         * LaTeX.C (run): rewrite to use boost.filesystem
1462         (scanAuxFiles): ditto
1463         (handleFoundFile): ditto
1464
1465 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1466
1467         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1468
1469         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1470
1471 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1472
1473         * lyxlayout.[Ch]: change some vars from float to double
1474
1475         * buffer.C (readFile): make a local var const
1476
1477         * Several files: use convert<> instead of atoi,strToXXX and friends
1478
1479 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1480
1481         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1482         holds the contents of packages.lst. New functions getAvailable
1483         and isAvailable to parse and check that list, resp.
1484
1485         * LyXAction.C:
1486         * lfuns.h:
1487         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1488
1489         * bufferparams.[Ch]: new param output_changes.
1490
1491         * Buffer.C: increase file format to 240.
1492         Use output_changes and isVailable.
1493
1494         * changes.[Ch]:
1495         * paragraph.C:
1496         * paragraph_pimpl.C: Use output_changes and isVailable.
1497
1498 2005-01-23  Angus Leeming  <leeming@lyx.org>
1499
1500         * output_latex.C: #include "insetbibitem.h", rather than
1501         forward declare function bibitemWidest.
1502
1503 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1504
1505         * lyx_main.C (init): make it compile on the Mac.
1506
1507 2005-01-20  Angus Leeming  <leeming@lyx.org>
1508
1509         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1510         (setLyXMisc): (char string literal) != (char string literal) is
1511         performing a comparison on the addresses. Convert one operand
1512         explicitly to string to guarantee expected behaviour.
1513         From MSVC warning.
1514
1515 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1516
1517         * buffer.C:
1518         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1519
1520         * output_plaintext.C: remove unneeded #include gzstream.h.
1521
1522 2005-01-20  Angus Leeming  <leeming@lyx.org>
1523
1524         * SpellBase.h: rename some of the elements of the Result enum.
1525
1526         * aspell_local.h:
1527         * ispell.h:
1528         * pspell.h:
1529         * aspell.C (check):
1530         * ispell.C (check):
1531         * pspell.C (check): ditto
1532
1533 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1534
1535         * buffer.C: add #include <fstream>.
1536
1537         * lyx_main.C (init): Compile fix.
1538
1539         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1540
1541 2005-01-20  Angus Leeming  <leeming@lyx.org>
1542
1543         * mover.h: change commentary to reflect the changed meaning of
1544         the $$s placeholder.
1545
1546 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1547
1548         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1549
1550         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1551
1552 2005-01-20  Angus Leeming  <leeming@lyx.org>
1553
1554         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1555         printing diagnostic data by not dereferecing an iterator past the
1556         end.
1557
1558 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1559
1560         * buffer.C (readHeader): use "&&" rather than "and".
1561
1562         * lyxserver.h (inPipeName, outPipeName): make these const.
1563
1564 2005-01-19  Angus Leeming  <leeming@lyx.org>
1565
1566         * lyx_main.C (error_handler, init): protect SIGHUP with
1567         #ifdef SIGHUP guards.
1568
1569 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1570
1571         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1572
1573 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1574
1575         * text.C (setHeightOfRow): add a margin at the top and bottom of
1576         the document (bug 1761)
1577
1578 2005-01-17  Angus Leeming  <leeming@lyx.org>
1579
1580         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1581         with "python ". Workaround for a brain-dead Windows.
1582
1583 2005-01-16  Angus Leeming  <leeming@lyx.org>
1584
1585         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1586         for MacOSX and Windows to use prependEnvPath.
1587         Strip out the hard-coded block to add elements to the PATH for
1588         MacOSX and replace it with a call to prependEnvPath using the
1589         contents of LyXRC::path_prefix.
1590         (queryUserLyXDir): strip out the code to run reconfigure, instead
1591         returning a boolean indicating the necessity to do so.
1592         (reconfigureUserLyXDir): contains the code to reconfigure the
1593         user support directory. Is now called after the various LyXRC data
1594         files have been read.
1595
1596         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1597
1598 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1599
1600         * converter.[Ch] (convert): take a new parameter try_default. Use
1601         a default converter (imagemagick) if try_default is true.
1602
1603 2005-01-13  Angus Leeming  <leeming@lyx.org>
1604
1605         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1606         os::cygwin_path_fix.
1607         (write): output LyXRC::cygwin_path_fix as necessary.
1608
1609 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1610
1611         * lyxrc.h:
1612         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1613
1614 2005-01-12  Angus Leeming  <leeming@lyx.org>
1615
1616         * lyx_main.C (init): set the PATH variable to include the
1617         directory containing the LyX binary when running on Mac or Windows.
1618
1619 2005-01-12  Angus Leeming  <leeming@lyx.org>
1620
1621         * lyx_main.C (init): remove cruft that purports to set the locale
1622         dir. It doesn't and is not needed anyway.
1623
1624 2005-01-10  Angus Leeming  <leeming@lyx.org>
1625
1626         * Makefile.am: remove the lyx_main.C special casing.
1627
1628         * BufferView_pimpl.C:
1629         * bufferlist.C:
1630         * exporter.C:
1631         * lyx_cb.C:
1632         * lyx_main.C:
1633         * lyxfunc.C:
1634         * messages.C: use support/package.h to provide the paths to the
1635         various directories used by LyX.
1636
1637 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1638
1639         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1640         layout if pasting into an empty paragraph)
1641
1642 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1643
1644         * tex-accent.C: add <string>
1645
1646 2005-01-06  José Matos  <jamatos@lyx.org>
1647
1648         * ParagraphParameters.C (write): put every parameter in its own line.
1649         * paragraph.C (write): reduce number of consecutive empty lines exported.
1650         * buffer.C (LYX_FORMAT): increase file format to 239.
1651
1652 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1653
1654         * everywhere: change support/tostr.h -> support/convert.h
1655
1656         * tabular.C: make all write_attributes templates, tostr -> convert
1657
1658         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1659         (emptyTag): and -> &&, and fix type for ret from getChar
1660         (getFirstWord): fix type for ret from getChar
1661         (onlyText): and -> &&
1662         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1663         getChar
1664
1665         * toc.C (goTo, action):
1666         * text3.C (dispatch):
1667         * text.C (currentState):
1668         * tex-accent.C (DoAccent):
1669         * sgml.C:
1670         * lyxrc.C:
1671         * lyxfunc.C (menuNew):
1672         * lyxfinc.C (replace):
1673         * counters.C (laberItem):
1674         * bufferview_funcs.C (font2string):
1675         * bufferparams.C (writeFile):
1676         * buffer.C (readFile):
1677         * Spacing.C (set):
1678         * MenuBackend.C: tostr -> convert
1679
1680         * LaTeX.C (runMessage): fix format
1681         (scanAuxFiles): tostr -> convert
1682
1683         * BufferView_pimpl.C (savePosition): fix format
1684         (restorePosition): ditto
1685         (dispatch): ditto
1686
1687 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1688
1689         * Spacing.[Ch]: New method getValueAsString().
1690
1691         * Spacing.[Ch]:
1692         * bufferparams.C:
1693         * ParagraphParameters.C:
1694         * lyxlayout.C:
1695         * text.C:
1696         * text3.C: store/read spacing value as string.
1697
1698         * rowpainter.C: change float value (spacing_val) to double.
1699
1700         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1701         broken custom document spacing).
1702
1703 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1704
1705         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1706         namespace, also more use of temp references and const
1707
1708         * cursor.[Ch] (getStatus): move to lyxfunc.C
1709
1710         * bufferparams.C: reformat slightly
1711
1712         * bufferview_funcs.C (font2string): constify arg
1713
1714         * changes.C:
1715         * converter.C:
1716         * counters.C:
1717         * bufferlist.C:
1718         * buffer_funcs.C: (many funcs): constify arg on function
1719         definitions, also make more local vars const, also add ASSERTS on
1720         pointer args.
1721
1722         * buffer.C (LYX_FORMAT): put const in correct place
1723         (many funcs): constify arg on function definitions, also make
1724         more local vars const
1725
1726         * aspell_local.h: remove "struct" from typdef setup
1727
1728         * aspell.C (check): make word_ok const
1729         (nextMiss): simplify slightly
1730         (error): ditto
1731
1732 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1733
1734         * lyxrc.[Ch]: store all float values as strings.
1735         use int (not float) for lyxrc.dpi.
1736
1737 2005-01-04  Angus Leeming  <leeming@lyx.org>
1738
1739         * lyx_cb.C (Reconfigure):
1740         * lyx_main.C (queryUserLyXDir):
1741         to run the <system_lyxdir>/configure correctly on Windows, prefix
1742         the path to the script with "sh " when generating the string that
1743         is passed to system().
1744
1745 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1746
1747         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1748
1749 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1750
1751         * lyxlength.C (asLatexString): get rid of setprecision
1752
1753 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1754
1755         * text2.C (setLayout): remove unused variable endpit.
1756         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1757
1758         * paragraph.C (onlyText): remove unused variable style.
1759
1760         * cursor.C (bruteFind): remove unused variables beg and end.
1761
1762         * Makefile.am (dist_noinset_DATA): not needed anymore
1763
1764         * cheaders/*: remove.
1765
1766 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1767
1768         * text3.C: fix LFUN_MATH_MODE.
1769
1770 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1771
1772         * buffer_funcs.C (countWords): new function. Counts words between
1773         two iterators.
1774
1775         * BufferView_pimpl.C (getStatus, dispatch): handle
1776         LFUN_WORDS_COUNT.
1777
1778         * LyXAction.C (init):
1779         * lfuns.h: add LFUN_WORDS_COUNT.
1780
1781 2004-12-19  Angus Leeming  <leeming@lyx.org>
1782
1783         * buffer.C (save): s/slashify_path/internal_path/.
1784
1785 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1786
1787         * lyxfind.C (findChange): do not search for end of pars, because
1788         the change tracker cannot handle this (fixes bug 1719).
1789
1790 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1791
1792         * paragraph.[Ch] (autoBreakRows): remove
1793
1794         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1795
1796         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1797         avoid using the paragraph one
1798
1799         * text2.C (LyXText, insertStringAsLines): adjust
1800
1801 2004-12-16  Angus Leeming  <leeming@lyx.org>
1802
1803         * bufferlist.C:
1804         * lyx_main.C:
1805         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1806
1807 2004-12-14  Angus Leeming  <leeming@lyx.org>
1808
1809         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1810
1811         * bufferlist.C (emergencyWrite):
1812         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1813         GetEnvPath("HOME").
1814
1815 2004-12-14  Angus Leeming  <leeming@lyx.org>
1816
1817         * main.C: (main): no longer pass pointers to os::init.
1818
1819 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1820
1821         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1822         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1823
1824 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1825
1826         * lyxfunc.C:
1827         * text3.C: remove selection_possible global flag
1828
1829 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1830
1831         * text2.C (getSelectionSpan): remove
1832         (changeDepth, changeDepthAllowed): adjust
1833
1834 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1835
1836         * Makefile.am (BOOST_LIBS): use boost variables
1837
1838 2004-12-03  José Matos  <jamatos@lyx.org>
1839
1840         * buffer.C: format up to 238.
1841
1842 2004-12-03  José Matos  <jamatos@lyx.org>
1843
1844         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1845
1846 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1847
1848         * cursor.C (goUpDown): remove call to idxUpDown2
1849
1850 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1851
1852         * tabular.[Ch]: use size_t-like types for cell, row and column
1853         indices
1854
1855 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1856
1857         * lyxfunc.C (getStatus): do not lose previous information when
1858         calling BufferView::getStatus; do not set a default "Command
1859         disabled" message at the beginning, but just before returning.
1860
1861 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1862
1863         * cursor.h (getStatus): add better comment from src/cursor.C
1864
1865 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1866
1867         * text3.C (getStatus): return false when the lfun is not handled
1868
1869 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1870
1871         * broken_headers.h: remove
1872
1873         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1874
1875 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1876
1877         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1878         offset_ref accessors
1879
1880         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1881         top_y_, merge fitcursor with update
1882         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1883         coord scheme
1884         (metrics): introduce
1885         (workAreaDispatch): adapt to new coord scheme
1886         (redoCurrentBuffer): remove
1887
1888         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1889
1890         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1891         CurStatus enum.
1892
1893         * coordcache.[Ch]: add paragraph cache and helpers
1894
1895         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1896         adjust everywhere
1897
1898         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1899         (targetX, setTargetX): introduce
1900
1901         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1902         baseline -> ascent, as the rest of lyx
1903
1904         * lyxtext.h: remove redoParagraphs, updateParPositions,
1905         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1906         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1907         have ascent/descent (ascent is ascent of first par)
1908
1909         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1910         step of BufferView
1911
1912         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1913
1914         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1915
1916         * pariterator.C: fix infinite loop introduced in par->pit renaming
1917
1918         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1919         in insets and LyXText, draw two off-screen paragraphs using
1920         NullPainter, and adapt to new coord scheme
1921
1922         * text.C:
1923         * text2.C:
1924         * text3.C: adapt lfun handlers to the new coord scheme, which
1925         means: there's only guaranteed coord information for onscreen pars
1926         plus one above and one below. This implies that one can do search
1927         from y coordinates in the range [-1,workHeight]
1928
1929 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1930
1931         * rename a lot of InsetOld to InsetBase
1932
1933 2004-11-25  Angus Leeming  <leeming@lyx.org>
1934
1935         * BufferView_pimpl.C:
1936         * lyx_cb.C:
1937         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1938
1939 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1940
1941         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1942         call BufferView::getStatus if LCursor::getStatus did nothing
1943         (setStatusMessage, getStatusMessage): removed.
1944
1945         * FuncStatus.C (message): new methods. Used to provide an error
1946         message indicating why a command is disabled.
1947         (clear, |=, FuncStatus): update for message.
1948
1949 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1950
1951         * lyxfunc.C (dispatch): always call sendDispatchMessage
1952
1953 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1954
1955         * BufferView.C:
1956         * BufferView_pimpl.C:
1957         * CutAndPaste.C:
1958         * FontIterator.C:
1959         * buffer.C:
1960         * cursor.C:
1961         * cursor_slice.[Ch]:
1962         * dociterator.[Ch]:
1963         * lyxfind.C:
1964         * paragraph_funcs.C:
1965         * pariterator.C:
1966         * rowpainter.C:
1967         * text.C:
1968         * text2.C:
1969         * text3.C:
1970         * undo.C: par->pit renaming
1971
1972 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1973
1974         * tabular.C (cellstruct): use initialization, store a shared_ptr
1975         to insettext instead of the insettext directly, adjust to fit.
1976         (operator=):  new function
1977         (swap): new function
1978         (rowstruct): use initialization
1979         (columnstruct): use initialization
1980         (ltType): use initialization
1981
1982
1983         * lyxlength.h (swap): new function
1984
1985         * LColor.[Ch] (operator=): use the common semantics
1986
1987 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1988
1989         * lyxfind.C (findNextChange): update the bufferview after setting
1990         the selection.
1991
1992 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1993
1994         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1995         number of InsetOptArgs has already been inserted.
1996
1997         * output_latex.C (latexOptArgInsets): new method. This outputs all
1998         the optarg insets, up to the limit defined in the layout file.
1999         (optArgInset): removed
2000         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2001
2002 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2003
2004         * paragraph.C (isLetter): remove special spellchecker-related
2005         code; return true also for digits
2006         (isWord, isKomma): remove
2007
2008         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2009         * lyxfind.C (MatchString()): use isLetter instead of isWord
2010
2011 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2012
2013         * pariterator.h (operatir=): comment out un-implemented member
2014         function.
2015
2016         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2017         static cast.
2018
2019 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2020
2021         * lyxfont.h: include LColor.h to satisfy concept checks.
2022
2023 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2024
2025         * pariterator.h: add typdefs for value_type, difference_type,
2026         pointer and reference to satisfy concept checks. Also add default
2027         constructor for same reason.
2028
2029         * pariterator.C (operator++): add post-increment operator to
2030         satisfy concept checks.
2031
2032         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2033         checks.
2034
2035         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2036
2037         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2038         checks. Also rename base_type to BaseType to follow naming
2039         standard better.
2040
2041         * FloatList.h: include Floating.h to satisfy concept checks.
2042
2043 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2044
2045         * lyxfunc.C (getStatus): when the origin of the request is menu or
2046         toolbar, and the LyXView does not have focus, do as if there was
2047         no buffer (bug 1720)
2048
2049         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2050         FuncRequest to individual entries of LFUN_SEQUENCE
2051
2052 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2053
2054         * output_latex.C (TeXOnePar): override runparams.moving_arg
2055         according to the needprotect value of the current paragraph (bug
2056         1739)
2057
2058         * paragraph.C (simpleTeXOnePar): no need to override
2059         runparams.moving_args here
2060
2061 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2062
2063         * vspace.C: fix off-by-one-error, related to fix #1682
2064
2065 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2066
2067         * lengthcommon.C: a more general fix for bug 1682
2068
2069 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2070
2071         * text.C (backspace): fix crash
2072
2073 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2074
2075         * format.[Ch] (getFormatFromFile): new method
2076         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2077
2078 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2079
2080         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2081
2082 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2083
2084         * lyxfunc.C (dispatch): remove the verbose argument
2085         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2086         instead
2087
2088         * kbmap.C (defkey): set the origin of func to KEYBOARD
2089
2090         * MenuBackend.C (MenuItem):
2091         * ToolbarBackend.C (add): set the origin of func to UI
2092
2093         * funcrequest.[Ch]: add origin member, which indicates which part
2094         of LyX requests an action
2095
2096 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2097
2098         * converter.C (move): don't lie in the error message
2099         * converter.h (isReachable, move): document
2100
2101 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2102
2103         * buffer.C: remove unused using lyx::support::atoi
2104         * paragraph_funcs.C: ditto
2105
2106 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2107
2108         * bufferlist.C (exists): use bind and equal_to instead of
2109         compare_memfun
2110         (getBuffer): ditto
2111         * lyxtextclasslist.C (NumberOfClass): ditto
2112
2113         * cursor.C (insert): use for_each instead of explicit for loop
2114
2115         * bufferlist.C (getFileNames): use std::transform and
2116         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2117
2118         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2119         for loop
2120
2121         * buffer.C (changeLanguage): use for_each instead of explicit for
2122         loop
2123         (hasParWithID): implement using getParFromID
2124
2125         * LaTeXFeatures.C: ws change only
2126
2127         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2128         to cleanup a bit.
2129
2130         * BufferView_pimpl.C (trackChanges): use for_each instead of
2131         expilicit for loop
2132
2133 2004-11-04  André Pönitz  <poenitz@gmx.net>
2134
2135         * undo.h:
2136         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2137
2138         * dociterator.C (asDocIterator): use hard assert again.
2139
2140 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2141
2142         * lyxlength.C (asLatexString): rewrite so that it does not use
2143         snprintf anymore
2144
2145 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2146
2147         * text3.C (specialChar, dispatch): make sure cursor moves to the
2148         right after inserting an inset
2149
2150 2004-11-02  José Matos  <jamatos@lyx.org>
2151
2152         * output_docbook.C (docbook):
2153         * paragraph.C (getID):
2154         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2155         garantee that the output is always legal.
2156
2157         * tabular.C (docbook):
2158         * outputprams.[Ch]: remove mixed contents.
2159
2160 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2161
2162         * text2.C (setCounter): prevent endless loop
2163
2164 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2165
2166         * exporter.C (copyFile): use the mover instead of support::copy()
2167         * exporter.C (Export): pass format and latex name to copyFile()
2168         * exporter.h (addExternalFile): document
2169         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2170
2171 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2172
2173         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2174
2175 2004-10-30  José Matos  <jamatos@lyx.org>
2176
2177         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2178         text and no inset or font change. This allows to use CDATA
2179         sections just for the whole paragraph.
2180
2181 2004-10-30  José Matos  <jamatos@lyx.org>
2182
2183         * paragraph.C (getFirstWord): remove unused variable.
2184
2185 2004-10-30  José Matos  <jamatos@lyx.org>
2186
2187         * paragraph.C (getFirstWord): the content should always be escaped
2188         there.
2189         (simpleDocBookOnePar):
2190         * output_docbook.C (makeEnvironment): replace reference to CDATA
2191         to style pass_thru.
2192
2193 2004-10-30  José Matos  <jamatos@lyx.org>
2194
2195         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2196
2197 2004-10-30  José Matos  <jamatos@lyx.org>
2198
2199         * output_docbook.C (makeParagraphs):
2200         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2201         standard paragraph has only a given type of content drop the wrapper.
2202
2203 2004-10-29  José Matos  <jamatos@lyx.org>
2204
2205         * output_docbook.C (makeEnvironment):
2206         * sgml.C (openTag):
2207         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2208
2209 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2210
2211         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2212         (cleanID): sanitize any id.
2213
2214 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2215
2216         * buffer.C, lyxlex_pimpl.C:
2217         * lyxlex_pimpl.C (setFile):
2218         s/getExtFromContents/getFormatFromContents/
2219
2220 2004-10-28  José Matos  <jamatos@lyx.org>
2221
2222         * output_docbook.C (makeEnvironment): move id to broadest possible
2223         scope.
2224
2225         * sgml.C (openTag): apply substitution of <> for all attributes.
2226
2227 2004-10-28  José Matos  <jamatos@lyx.org>
2228
2229         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2230         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2231         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2232
2233         * sgml.[Ch]: new version for open and closeTag for paragraph and
2234         for strings. Now they handle the ids of paragraphs.
2235
2236 2004-10-26  Angus Leeming  <leeming@lyx.org>
2237
2238         * Makefile.am: add mover.[Ch].
2239
2240         * converter.C (convert, move): use the new Movers to move external
2241         files to the temp directory.
2242
2243         * lyx_main.C (init): ensure that the global system_movers data
2244         is initialised.
2245
2246         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2247         preferences file.
2248
2249         * mover.[Ch]: new files, defining a Mover as a utility to move an
2250         external file between directories and, if necessary, manipulate this
2251         file using a helper script.
2252
2253 2004-10-25  José Matos  <jamatos@lyx.org>
2254
2255         * output_docbook.C (makeCommand): merge two if's that tested the
2256         same condition.
2257
2258 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2259
2260         * sgml.C (escapeString): fix warning in a better way
2261
2262 2004-10-25  José Matos  <jamatos@lyx.org>
2263
2264         * sgml.C (escapeString): import the require boosts header file for
2265         tie, and avoid a signed unsigned comparison.
2266
2267 2004-10-25  José Matos  <jamatos@lyx.org>
2268
2269         * sgml.h: add #include <string>
2270
2271 2004-10-25  José Matos  <jamatos@lyx.org>
2272
2273         * sgml.[Ch] (escapeString): new function to escape all the string.
2274
2275 2004-10-24  José Matos  <jamatos@lyx.org>
2276
2277         * paragraph.[Ch] (getFirstWord): new function to get the first
2278         word. Useful for description.
2279         (simpleDocBookOnePar): remove depth argument, add another that
2280         says where to start the paragraph.
2281
2282         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2283         use the new functions to fix cleanly the support for descriptions.
2284
2285 2004-10-24  José Matos  <jamatos@lyx.org>
2286
2287         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2288         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2289         * output_linuxdoc.C (linuxdocParagraphs):
2290         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2291         add buffer as argument.
2292
2293 2004-10-24  José Matos  <jamatos@lyx.org>
2294
2295         * output_docbook.C (makeEnvironment, searchEnvironment): place
2296         CDATA inside paragraphs and fix scope for listitems.
2297
2298 2004-10-24  José Matos  <jamatos@lyx.org>
2299
2300         * output_docbook.C: remove using statement for stack.
2301
2302 2004-10-23  José Matos  <jamatos@lyx.org>
2303
2304         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2305         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2306         docbook. The new scheme is recursive and makes use of iterators, the
2307         same as latex export works.
2308         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2309         directly with the paragraph contents. This code was moved up to
2310         output_docbook.C (docbookParagraphs).
2311         * sgml.C (openTag, closeTag): removed unneeded newlines.
2312         (closeEnvTags) removed.
2313
2314 2004-10-23  André Pönitz  <poenitz@gmx.net>
2315
2316         * undo.C (textUndoOrRedo):
2317         * dociterator.C (asDocIterator): work around crash
2318
2319         * cursor.C (getStatus): replace ASSERT by more verbose error message
2320           and manual correction of the problem. Should increase stability
2321           while providing more sensible information.
2322
2323 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2324
2325         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2326
2327         * bufferlist.C (previous, next): new methods
2328
2329         * lfuns.h:
2330         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2331
2332 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2333
2334         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2335         entities to preamble.
2336
2337 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2338
2339         * messages.C (Pimpl): strip off translation context information
2340
2341 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2342
2343         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2344         the cursor is correct (bug 1694)
2345
2346 2004-10-13  José Matos  <jamatos@lyx.org>
2347
2348         * output_docbook.C (docbookParagraphs): fix closing tags in the
2349         end of the document.
2350
2351 2004-10-09  José Matos  <jamatos@lyx.org>
2352
2353         * buffer.C: format up to 237.
2354         * bufferparams.C (write): use tostr to convert booleans to strings.
2355
2356 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2357
2358         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2359
2360 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2361
2362         * LaTeX.C: implement use of babel language in xindy.
2363
2364 2004-10-05  José Matos  <jamatos@lyx.org>
2365
2366         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2367         Add new translators to help reading and writing the lyx file.
2368
2369 2004-10-05  José Matos  <jamatos@lyx.org>
2370
2371         * ParagraphParameters.C (read):
2372         * text.C (readParToken): replace nexToken by more appropriate lex
2373         methods.
2374
2375 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2376
2377         * LaTeX.C (runMakeIndex):
2378         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2379         (usually 'makeindex') configurable.
2380
2381         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2382         with a variable rather than with a number.
2383
2384 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2385
2386         * output_latex.C (TeXOnePar): make sure font setting is the first
2387         thing that gets output (and the last at the end). Should fix bug
2388         1404.
2389
2390 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2391
2392         * pch.h: use proper signal include
2393
2394         * LaTeX.h: Use preferred calling of Boost.Signal
2395         * buffer.h: ditto
2396
2397 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * pch.h: dont include <boost/function/function0.hpp>
2400
2401         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2402
2403         * paragraph_pimpl.h: remove usage of ShareContainer
2404
2405         * paragraph_pimpl.C: remove initialization of ShareContainer.
2406
2407 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2408
2409         Fix bug #1666
2410
2411         * BufferView.C (putSelectionAt): change the semantics when
2412         backwards == true: now, this just swaps cursor and anchor wrt the
2413         forward case
2414
2415         * BufferView.h (putSelectionAt): add some documentation
2416
2417         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2418         make sure backwardChar is done at least once (to avoid getting
2419         stuck)
2420         (findNextChange): use putSelectionAt in the forward direction
2421         (operator()): use Paragraph::isWord
2422
2423 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2424
2425         * Spacing.C (set): c_str fix
2426
2427 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2428
2429         * lyx_cb.C (Reconfigure): quote the name of configure script in
2430         case it contains spaces
2431
2432 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2433
2434         * client: new dir
2435
2436         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2437         (BOOST_LIBS): use top_buildir when looking for the file
2438
2439 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2440
2441         * pch.h: do not use include boost/format.hpp, multiple symbols
2442                 will result (gcc bug)
2443
2444
2445 2004-08-23  José Matos  <jamatos@lyx.org>
2446
2447         * bufferparams.C (readToken): fix reading of the author field.
2448
2449 2004-08-20  José Matos  <jamatos@lyx.org>
2450
2451         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2452
2453 2004-08-20  José Matos  <jamatos@lyx.org>
2454
2455         * lyxlex.[Ch] (findToken): remove function.
2456
2457         * ParagraphParameters.C (findToken):
2458         * bufferparams.C (findToken): replace call for previous function
2459         with local copy. This local function has one more argument, the
2460         read string argument.
2461
2462 2004-08-16  José Matos  <jamatos@lyx.org>
2463
2464         * ParagraphParameters.C (write):
2465         * Spacing.C (writeFile):
2466         * bufferparams.C (writeLaTeX):
2467         * lyx_cb.C (Reconfigure):
2468         * paragraph.C (write):
2469         * tabular.C (write): remove unnecessary space at end of line.
2470
2471
2472 2004-08-16  José Matos  <jamatos@lyx.org>
2473
2474         * text.C (readParagraph): remove debug message.
2475
2476 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2477
2478         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2479         crash
2480
2481         * output_plaintext.C (asciiParagraph): set depth correctly
2482
2483         * outputparams.h: add member depth
2484
2485         * paragraph_funcs.C (ownerPar): remove.
2486
2487         * text2.C (setCounter): remove first_pit; comment out some
2488         non-working code that uses ownerPar
2489
2490         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2491         uses ownerPar
2492
2493 2004-08-16  José Matos  <jamatos@lyx.org>
2494
2495         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2496         For the same level of importance use the same chanel to report problems.
2497         (read): add code to deal with \begin_body and \end_body.
2498
2499
2500 2004-08-15  José Matos  <jamatos@lyx.org>
2501
2502         * lyxlex.C (getString): fix comment, buffer::readBody is now
2503         buffer:readDocument.
2504
2505         * tex-strings.C (string_papersize): Default -> default,
2506         Custom -> custom, for consistency with other options.
2507
2508 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2509
2510         * pch.h: new file
2511
2512         * Makefile.am: support pch
2513
2514 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2515
2516         * text.C (readParToken): remove the static LyXFont variable and
2517         pass it as a parameter instead. This fixes a nasty bug where an
2518         inset will be inserted with a bad font in some situations
2519         (readParagraph): adapt
2520
2521         * text2.C (setCounter): reduce number of calls to pars_[pit]
2522
2523         * text.C (singleWidth): add an assert, fix a test
2524
2525         * rowpainter.C (paintText): reduce number of calls to singleWidth
2526
2527         * paragraph.C (isHfill):
2528         (isNewline): ws only
2529
2530 2004-08-14  André Pönitz  <poenitz@gmx.net>
2531
2532         * text.C:
2533         * text2.C:
2534         * rowpainter.C:
2535         * lyxtext.h (several functions): use a Paragraph & argument
2536         instead of par_type
2537
2538 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2539
2540         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2541
2542         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2543
2544         * text.C (singleWidth): remove useless test
2545
2546 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2547
2548         * tabular.h: remove bogus comments
2549
2550         * tabular.C (getDescentOfRow):
2551         (isPartOfMultiColumn): add assertions
2552
2553         * lyxlength.C (inPixels): remove #warning
2554
2555 2004-08-14  André Pönitz  <poenitz@gmx.net>
2556
2557         * paragraph.h: inline getChar()
2558
2559         * BufferView.h: remove unused declarations
2560
2561 2004-08-14  José Matos  <jamatos@lyx.org>
2562
2563         * Buffer.[Ch] (readDocument): new name for old readBody.
2564         * Buffer.C: new file format, new keywords: \begin_document,
2565         \begin_header, \begin_body, \end_body.
2566
2567         * bufferparams.C (readToken): replace all calls to lex.nextToken
2568         by lex.next(). Do the same to eatLine except where really needed.
2569
2570         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2571         line when writing to the lyx file.
2572
2573         * output_plaintext.C (asciiParagraph): fix Bibliography style
2574         handling.
2575
2576         * text.C (read): fix end of file handling.
2577
2578 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2579
2580         * MenuBackend.C (Menu::operator[]): new method to access
2581         individual menu items
2582         (Menu::hasFunc): new method. search for an item that corresponds
2583         to a given func
2584         (MenuBackend::specialMenu): new method
2585         (MenuBackend::expand): if a special menu has been set, skip
2586         entries whose func() appears in this menu
2587
2588 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2589
2590         * text3.C: use Debug::DEBUG a bit more
2591
2592         * text.C (leftMargin): try to simplify a tiny bit change var x to
2593         l_margin. Dont output the wide margins always.
2594         (rightMargin): no margin in inner texts
2595
2596         * rowpainter.h (nestMargin): new func
2597         (changebarMargin): new func
2598         (rightMargin): new func
2599
2600         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2601         now functions.
2602         (paintLast): ditto
2603
2604         * factory.C (createInset): modify setDrawFrame
2605
2606         * cursor.C: use Debug::DEBUG a bit more
2607
2608 2004-08-14  André Pönitz  <poenitz@gmx.net>
2609
2610         * coordcache.[Ch]:
2611         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2612         cache for all insets in (at least partially) visible (top-level)
2613         paragraphs.
2614
2615         * BufferView_pimpl.C: reset external coord cache before every update.
2616         This means the coord cache only contains valid entries.
2617
2618 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2619
2620         bug 1096
2621         * BufferView_pimpl.C (getInsetByCode): move function out of class
2622         and change in to a template in anon namespace. Also fix to do what
2623         suits us better.
2624
2625 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2626
2627         bug 1305
2628         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2629         of char
2630         (breakParagraph): rename par to par_offset and use a local
2631         reference. Add code to keep the language over a rebreak.
2632         (breakParagraphConservative): rename par to par_offset, use a
2633         local reference
2634         (mergeParagraph): ditto
2635         (outerHook): ditto
2636         (isFirstInSequence): ditto
2637         (outerFont): rename pit to par_offset
2638
2639         * paragraph.C: ws change
2640         * paragraph.h: ditto
2641         * text3.C: ditto
2642         * text.C: ditto
2643
2644 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2645
2646         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2647         treatment for ']'
2648
2649         * paragraph.C (simpleTeXOnePar): when we have a \item with
2650         optional argument, enclose the argument with curly brackets (in
2651         case it contains a closing square bracket)
2652
2653         * text2.C (editXY):
2654         * text2.C (editXY):
2655         * text3.C (checkInsetHit): constify
2656
2657 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2658
2659         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2660         documents (bug 1629)
2661
2662 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2663
2664         Fix toggling of collapsable insets with the mouse (bug 1558)
2665
2666         * lyxfunc.C (dispatch): adapt to LCursor changes
2667
2668         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2669         make sure that dispatch is not invoked twice
2670
2671         * cursor.C (needsUpdate): new method
2672         (dispatch): return void
2673         (result): new method, to access the DispatchResult of the cursor.
2674
2675 2004-08-13  José Matos  <jamatos@lyx.org>
2676
2677         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2678
2679 2004-08-13  André Pönitz  <poenitz@gmx.net>
2680
2681         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2682
2683         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2684           multiple cells
2685
2686 2004-08-12  André Pönitz  <poenitz@gmx.net>
2687
2688         * text3.C: take out the 'cursor right' form insertInset and only
2689         do it in those places when it is really needed. Fixes crash on
2690         C-m...
2691
2692 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2693
2694         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2695
2696         * BufferView_pimpl.C (setBuffer): initialize the current font of
2697         the underlying LyXText
2698
2699 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2700
2701         * kbsequence.C (print): use UI native formatting for menu
2702         shortcuts
2703
2704         * text.C (insertChar): call Paragraph::insertChar with a font
2705         argument (cosmetic)
2706
2707         * paragraph.C (insertInset, insertChar): the version that takes a
2708         LyXFont argument is now a wrapper around the other one (the
2709         opposite used to be true).
2710
2711         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2712         argument. Font setting is done in Paragraph now.
2713
2714 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2715
2716         * outputparams.h: add new members intitle and lang.
2717
2718         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2719         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2720
2721 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2722
2723         * text3.C (dispatch): remove special handling of button 4 and 5,
2724         it is now taken care of in the frontend code.
2725
2726 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2727
2728         * Spacing.h: add <string> (STLPort compile fix)
2729
2730 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2731
2732         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2733
2734 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2735
2736         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2737         to bool.
2738
2739         * converter.C (showMessage): inherit from unary_function, make
2740         operator() const.
2741
2742         * buffer.C (writeFile): initialize retval
2743
2744         * InsetList.h: rename private variable list to list_
2745         * InsetList.[Ch]: adjust accordingly.
2746
2747 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2748
2749         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2750         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2751         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2752         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2753         * ParagraphParameters.C, LaTeXFeatures.C: replace
2754         "support/std_sstream.h" with <sstream>
2755
2756 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2757
2758         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2759         * lyxsocket.C (LyXServerSocket): ditto
2760         (serverCallback): ditto
2761
2762 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2763
2764         * LaTeXFeatures.C: check release date when loading jurabib.
2765
2766 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2767
2768         * lyxserver.C (startPipe): call register_socket_callback
2769         (endPipe): call unregister_socket_callback
2770
2771 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2772
2773         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2774         (LyXServerSocket): register the callback
2775         (LyXServerSocket): unregister the callback
2776         (fd): delete function
2777         (serverCallback): improve error checking and setup the callbacks.
2778         (dataCallback): change arg to fd.
2779         (writeln): new func (copied fro the client socket) used for server
2780         write to client.
2781         (LyXDataSocket): simplify
2782         (~LyXDataSocket): close ann unregiser callback
2783         (server): delete function
2784         (fd): delete function
2785         (readln): small changes, improve some std::string usage
2786         (writeln): constify a bit
2787
2788 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2789
2790         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2791         Qt frontend
2792
2793 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2794
2795         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2796         after it has been populated
2797
2798 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2799
2800         * text2.C (insertInset): move cursor when inserting inset.
2801
2802 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2803
2804         * kbmap.C (findbindings): a couple of new methods. returns a
2805         container of kb_sequence objects. The real work is done by the
2806         private recursive version
2807         (printbindings): uses findbindings to print out a bracketed list
2808         of bindings (renamed from findbinding).
2809
2810         * MenuBackend.C (binding): use kb_keymap::findbindings
2811
2812         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2813
2814 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2815
2816         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2817
2818 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2819
2820         * paragraph.C (isWord): return true on insets that report
2821         isLetter().
2822
2823         * text.C (getWord): use Paragraph::isWord to decide what is in a
2824         word and what is not; fix bug 1609.
2825
2826 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2827
2828         * tex-strings.C: add "none" to string_paperpackages[], fixes
2829         off-by-one-error in the paperpackage selection.
2830
2831         * lyxlex.[Ch]:
2832         * tex-strings.[Ch]: char const * string[n]
2833         -> char const * const string[]
2834
2835 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2836
2837         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2838         command, return early.
2839
2840 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2841
2842         * debug.h: add DEBUG to enum and fix size of ANY.
2843
2844         * debug.C: add support for Debug::DEBUG
2845         (showTags): cast errorTags.level to unsigned int
2846
2847         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2848         (redoCurrentBuffer): ditto
2849         (updateScrollbar): ditto
2850         * cursor.C (dispatch): ditto
2851         * text2.C (setLayout): ditto
2852         (setFont): ditto
2853         (updateCounters): ditto
2854         (editXY): ditto
2855         (deleteEmptyParagraphMechanism): ditto
2856
2857 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2858
2859         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2860         annotations to cleanup the Makefile slightly.
2861
2862 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2863
2864         * lyxrc.C: do not set user_email to a default value but use empty
2865         instead. The entry used to be translated, which does not work
2866         since at the point where lyxrc is constructed there is no
2867         translation service available
2868
2869         * messages.C (getLocaleDir): remove and use directly
2870         lyx_localedir() instead
2871
2872 2004-06-02  Angus Leeming  <leeming@lyx.org>
2873
2874         Fix crash caused by dereferencing null pointer 'exportdata' in
2875         OutputParams by creating a new ExportData variable on the heap,
2876         storing it in a boost::shared_ptr.
2877         The crash was triggered when generating an Instant Preview
2878         of an external inset.
2879
2880         * Makefile.am: add outputparams.C
2881
2882         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2883         (c-tor): allocate memory to it.
2884
2885         * exporter.C (c-tor): associated changes.
2886
2887 2004-06-01  Angus Leeming  <leeming@lyx.org>
2888
2889         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2890         contains data before calling isInset(0). (Bug 1513.)
2891
2892 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2893
2894         * exporter.C (checkOverwrite): new method
2895         * exporter.C (copyFile): new method
2896         * exporter.C (Export): copy referenced files to the document dir
2897         * exporter.[Ch]: new class ExportedFile
2898         * exporter.[Ch]: new class ExportData. Contains currently the
2899         names of referenced external files
2900         * outputparams.h: add exportdata member.
2901
2902 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2903
2904         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2905         version.C-tmp
2906
2907 2004-05-19  Angus Leeming  <leeming@lyx.org>
2908
2909         * LaTeXFeatures.C:
2910         * ToolbarBackend.C:
2911         * bufferparams.C:
2912         * lyxfunc.C: small changes due to the introduction of namespace
2913         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2914
2915 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2916
2917         * text3.C (dispatch): supress update when only moving the cursor
2918         * cursor.C (selHandle): remove commented code
2919
2920 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2921
2922         * paragraph.C (startTeXParParams): correct column count
2923         * CutAndPaste.C (pasteSelection): remove const_cast
2924         * output_docbook.C (docbookParagraphs): remove const_cast
2925         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2926         const_cast and return ParagraphList::const_iterator
2927         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2928         * output_plaintext.C (writeFileAscii): remove const_cast
2929         * paragraph.[Ch] (simpleTeXOnePar): make const
2930         * paragraph_funcs.C (outerPar): use const iterators
2931         * paragraph_pimpl.C (validate): use const iterators
2932         * text.C (setHeightOfRow): use const iterators
2933
2934 2004-05-17  Angus Leeming  <leeming@lyx.org>
2935
2936         * lfuns.h:
2937         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2938
2939         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2940         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2941         if the citation engine has changed.
2942
2943 2004-05-14  José Matos  <jamatos@lyx.org>
2944
2945         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2946         if the textclass does not provide it. Have it different for sgml and
2947         xml.
2948         support the language of document.
2949         * output_docbook.C (docbookParagraphs):
2950         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2951         first anchor as the id of the paragraph, remove special case code.
2952         * sgml.C (escapeChar): escape only < & >.
2953
2954 2004-05-14  Angus Leeming  <leeming@lyx.org>
2955
2956         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2957         dependencies on src/frontends/controllers/biblio.h. Define a
2958         CiteEngine_enum wrapper class to enable the enum to be forward
2959         declared.
2960
2961 2004-05-12  Angus Leeming  <leeming@lyx.org>
2962
2963         * buffer.C: up LYX_FORMAT to 234.
2964         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2965         use_numerical_citations with a single biblio::CiteEngine cite_engine
2966         variable.
2967         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2968
2969 2004-05-13  José Matos  <jamatos@lyx.org>
2970
2971         * converter.h:
2972         * converter.C (Converter, readFlags): add xml member.
2973         * outputparams.h: add XML flavor.
2974         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2975
2976 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2977
2978         * lyxfunc.C (dispatch):
2979         (getStatus): fix handling of LFUN_SEQUENCE
2980
2981 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2982
2983         * debug.C (showLevel): do not forget the end-of-line marker
2984
2985 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2986
2987         * kbmap.C (read): do not stop parsing a bind file when an error
2988         occurs (bug 1575)
2989
2990 2004-04-29  Angus Leeming  <leeming@lyx.org>
2991
2992         * cursor.C:
2993         * factory.C:
2994         * pariterator.C:
2995         * text2.C: wrap a bunch of #warning statements
2996         inside #ifdef WITH_WARNINGS blocks.
2997
2998 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2999
3000         * buffer.C: increment format to 233.
3001
3002 2004-04-28  Angus Leeming  <leeming@lyx.org>
3003
3004         * BufferView_pimpl.C:
3005         * lyxfunc.C:
3006         * text3.C:
3007         s/updateToolbar()/updateToolbars()/
3008         s/Toolbar.h/Toolbars.h/
3009
3010 2004-04-28  Angus Leeming  <leeming@lyx.org>
3011
3012         * BufferView.[Ch] (c-tor):
3013         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3014         No longer passes these data to the WorkArea generator.
3015
3016 2004-04-28  Angus Leeming  <leeming@lyx.org>
3017
3018         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3019
3020 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3021
3022         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3023
3024 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3025
3026         * output_latex.C (TeXEnvironment): make sure that there is a line
3027         break before \end{foo} for the last paragraph of a document
3028         (TeXOnePar): if the paragraph is at the end of the document (or
3029         inset) and the language has to be reset, then make sure that the
3030         line break is _before_ the language command, not after (fixes bug
3031         1225); also make sure that the language reset command is the first
3032         thing after the paragraph (to ensure proper nesting of
3033         environments and thus fix bug 1404)
3034
3035 2004-04-21  John Levon  <levon@movementarian.org>
3036
3037         * ToolbarBackend.h:
3038         * ToolbarBackend.C: make "name" be a programmatic name
3039         and a gui_name field.
3040
3041         * lyxfunc.C: display the minibuffer on M-x
3042
3043 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3044
3045         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3046         (bug 1526)
3047
3048 2004-04-19  Angus Leeming  <leeming@lyx.org>
3049
3050         * BufferView_pimpl.C (setBuffer): changed preview interface.
3051
3052         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3053         possible values.
3054
3055 2004-04-19  John Levon  <levon@movementarian.org>
3056
3057         * BufferView_pimpl.C:
3058         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3059
3060 2004-04-05  Angus Leeming  <leeming@lyx.org>
3061
3062         * text.C (redoParagraphs): add call to updateCounters(), thereby
3063         fixing the missing "Figure #:" label from the caption of a
3064         figure float.
3065
3066 2004-04-13  Angus Leeming  <leeming@lyx.org>
3067
3068         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3069         cursor is clicked out of an inset.
3070
3071 2004-04-13  Angus Leeming  <leeming@lyx.org>
3072
3073         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3074         than an InsetOld one.
3075
3076 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3077
3078         * format.[Ch]: add editor to Format
3079         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3080         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3081
3082 2004-04-08  André Pönitz  <poenitz@gmx.net>
3083
3084         * metricsinfo.h: remove PainterInfo::width member
3085
3086 2004-04-08  Angus Leeming  <leeming@lyx.org>
3087
3088         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3089         "\providecommand" rather than "\newcommand", thereby preventing
3090         clashes with packages that define "\boldsymbol" themselves.
3091         Eg, beamer.
3092
3093 2004-04-08  Angus Leeming  <leeming@lyx.org>
3094
3095         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3096         thereby squashing an unnecessary warning.
3097
3098 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3099
3100         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3101         setBuffer()
3102
3103 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3104
3105         * BufferView.C (setCursor): call redoParagraph (some insets could
3106         have been opened)
3107         (putSelectionAt): remove the 'double update' trick
3108
3109         * BufferView_pimpl.C (fitCursor): call refreshPar
3110         (workAreaDispatch): remove an uneeded update call
3111         (dispatch): remove some manual update calls
3112
3113         * cursor.[Ch]: remove cached_y_, updatePos
3114         (selHandle): set noUpdate when appropriate
3115
3116         * lyxfunc.C (dispatch): track if we need an update
3117
3118         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3119
3120         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3121         (paintSelection): cheap optimization, do not call cursorX when not
3122         needed
3123         (paintPars): change signature
3124         (refreshPar): add
3125         (paintText): adjust
3126         (paintTextInset): adjust
3127
3128         * text.C: adjust
3129
3130 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3131
3132         * lengthcommon.C: compilation fix: remove explicit array size from
3133         unit_name[] and friends
3134
3135 2004-04-05  Angus Leeming  <leeming@lyx.org>
3136
3137         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3138
3139         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3140         present only for the preferences dialog.
3141         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3142
3143 2004-04-05  Angus Leeming  <leeming@lyx.org>
3144
3145         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3146         to enable the frontends to export changes to lyxrc correctly.
3147
3148         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3149
3150 2004-04-07  André Pönitz  <poenitz@gmx.net>
3151
3152         * cursor.[Ch] (selClear, adjust): remove math
3153
3154         * cursor_slice.C: more agressive assert
3155
3156         * lyxfunc.C:
3157         * BufferView_pimpl.C: rework mouse event dispatch
3158
3159         * dociterator.C:
3160         * paragraph.C:
3161         * text2.C:
3162         * text3.C: adjust
3163
3164 2004-04-05  André Pönitz  <poenitz@gmx.net>
3165
3166         * cursor.[Ch] (valign, halign...): remove unneeded functions
3167
3168 2004-04-05  Angus Leeming  <leeming@lyx.org>
3169
3170         * lyxlength.[Ch] (unit_name et al.): const-correct.
3171
3172 2004-04-05  Angus Leeming  <leeming@lyx.org>
3173
3174         * BufferView_pimpl.C:
3175         * buffer.C:
3176         * counters.C:
3177         * cursor.C:
3178         * lyxfunc.C
3179         * paragraph.C:
3180         * pariterator.C:
3181         * text.C:
3182         * text2.C:
3183         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3184
3185 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3186
3187         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3188
3189 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3190
3191         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3192         * BufferView_pimpl.[Ch] (getStatus)
3193         * BufferView.[Ch] (getStatus): add
3194         * lyxfunc.C (getStatus): move lfuns handled in
3195         BufferView::dispatch to te function above
3196         * Cursor.C (setSelection): set selection() = true
3197
3198 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3199
3200         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3201
3202 2004-03-31  Angus Leeming  <leeming@lyx.org>
3203
3204         * lyxfunc.C (dispatch): Fall through to the generic
3205         Dialogs::show("preamble").
3206
3207 2004-03-31  Angus Leeming  <leeming@lyx.org>
3208
3209         * lyxfunc.C (dispatch): Fall through to the generic
3210         Dialogs::show("spellchecker").
3211
3212 2004-03-31  Angus Leeming  <leeming@lyx.org>
3213
3214         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3215         preferences dialog.
3216
3217 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3218
3219         * BufferView.C
3220         * cursor.[Ch]
3221         * dociterator.[Ch]:
3222         * insetiterator.[Ch]:
3223         * lyxfind.C:
3224         * lyxfunc.C:
3225         * pariterator.[Ch]:
3226         * text2.C:
3227         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3228
3229 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3230
3231         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3232         insets where we are putting the cursor.
3233
3234 2004-03-31  Angus Leeming  <leeming@lyx.org>
3235
3236         * lfuns.h:
3237         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3238
3239         * lyxrc.[Ch] (read, write): overloaded member functions taking
3240         a std::[io]stream arguments.
3241
3242         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3243
3244 2004-03-31  Angus Leeming  <leeming@lyx.org>
3245
3246         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3247         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3248
3249         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3250         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3251
3252 2004-03-31  Angus Leeming  <leeming@lyx.org>
3253
3254         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3255         the LFUN_ALL_INSETS_TOGGLE code.
3256
3257 2004-03-30  Angus Leeming  <leeming@lyx.org>
3258
3259         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3260         has died. Fall through to the generic Dialogs::show("document").
3261
3262 2004-03-30  Angus Leeming  <leeming@lyx.org>
3263
3264         * lfuns.h:
3265         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3266         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3267
3268         * lyxfunc.C (getStatus, dispatch): define the actions for these
3269         lfuns. Little more than a cut and pste job from ControlDocument.C
3270
3271         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3272
3273 2004-03-30  Angus Leeming  <leeming@lyx.org>
3274
3275         * lfuns.h:
3276         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3277         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3278
3279         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3280         open/closed state of ollapsable insets. Usage:
3281
3282         all-inset-toggle <state> <name>, where
3283         <state> == "open" || "closed" || "toggle" and
3284         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3285
3286         * lyxtext.h, text2.C (toggleInset): removed.
3287
3288         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3289         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3290         now passes LFUN_INSET_TOGGLE to the found inset.
3291
3292         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3293         is now invoked as "all-insets-toggle toggle branch".
3294
3295 2004-03-30  Angus Leeming  <leeming@lyx.org>
3296
3297         * dociterator.C:
3298         * insetiterator.C:
3299         * pariterator.[Ch]: added/corrected header blurb.
3300
3301 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3302
3303         * dociterator.[Ch]: add an inset_ member
3304         (backwardPos): implemented
3305         (backwardPos, forwardPos): use inset_ when the stack is empty.
3306         (doc_iterator_begin, doc_iterator_end): implemented
3307         * pariterator.[Ch]: adjust, add begin, end
3308         * insetiterator.[Ch]: adjust, add begin, end
3309         * cursor.C:
3310         * document.C:
3311         * BufferView.C:
3312         * BufferView_pimpl.C:
3313         * CutAndPaste.C: adjust
3314
3315 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3316
3317         * buffer.C: increment file format to 232.
3318         * LaTeXFeatures.C: add bibtopic package.
3319         * bufferparams.[Ch]: param \use_bibtopic.
3320
3321         * lyxrc.[Ch]: add lyxrc bibtex_command
3322         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3323
3324         * buffer.C: increment file format to 231.
3325
3326 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3327
3328         * dociterator.C: implement forwardPar
3329         * iterators.[Ch]: remove, replaced by
3330         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3331         * BufferView.C:
3332         * BufferView_pimpl.C:
3333         * CutAndPaste.C:
3334         * buffer.C:
3335         * bufferview_funcs.C:
3336         * cursor.C:
3337         * lyxfind.C
3338         * lyxfunc.C
3339         * paragraph_funcs.C
3340         * toc.C:
3341         * Makefile.am: adjust
3342
3343 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3344
3345         * CutAndPaste.C (pasteSelection): fix 2 crashes
3346         (eraseSelection): fix a crash
3347         * paragraph_funcs.C: remove a warning
3348
3349 2004-03-28  Angus Leeming  <leeming@lyx.org>
3350
3351         * lfuns.h:
3352         * LyXAction.C (init): new LFUN_PRINT.
3353
3354         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3355
3356 2004-03-27  Angus Leeming  <leeming@lyx.org>
3357
3358         * lfuns.h:
3359         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3360
3361         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3362
3363 2004-03-27  Angus Leeming  <leeming@lyx.org>
3364
3365         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3366         insetlist always contains non-null pointers to insets.
3367
3368 2004-03-26  Angus Leeming  <leeming@lyx.org>
3369
3370         * src/BufferView_pimpl.C:
3371         * src/CutAndPaste.C:
3372         * src/buffer.C:
3373         * src/iterators.C:
3374         * src/output_plaintext.C:
3375         * src/outputparams.h:
3376         * src/paragraph_funcs.C:
3377         * src/rowpainter.C:
3378         * src/text.C:
3379         * src/text2.C:
3380         * src/frontends/controllers/ControlErrorList.C:
3381         * src/frontends/gtk/FileDialogPrivate.C:
3382         * src/frontends/gtk/GPainter.C:
3383         * src/frontends/gtk/GToolbar.C:
3384         * src/frontends/qt2/QRef.C:
3385         * src/mathed/math_scriptinset.C: squash compiler warnings.
3386
3387 2004-03-26  Angus Leeming  <leeming@lyx.org>
3388
3389         * ispell.C (LaunchIspell::start):
3390         * lyx_cb.C (AutoSaveBuffer::start):
3391         invoke run(DontWait) rather than runNonBlocking().
3392
3393 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3394
3395         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3396
3397 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3398
3399         * kbsequence.C (print): adjust
3400
3401         * kbmap.C (printKeySym): rename and change signature
3402         (printKey): use LyXKeySym::print()
3403
3404 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3405
3406         * undo.C: add using std::advance to compile for stlport
3407
3408 2004-03-24  Angus Leeming  <leeming@lyx.org>
3409
3410         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3411         it leads to a crash when no buffer is present.
3412
3413 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3414             Martin Vermeer  <martin.vermeer@hut.fi>
3415
3416         * lyxfunc.C (dispatch):
3417         * bufferparams.C (readToken): use the new LColor::setColor
3418
3419         * LColor.[Ch] (setColor): new version that takes two strings as
3420         argument and creates a new color entry if necessary
3421
3422 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3423
3424         * buffer.C (makeLaTeXFile): if the main latex file that is
3425         processed is usually a subdocument of some master, then pretend
3426         for a while that it is actually the master
3427
3428 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3429
3430         * buffer.C (getLabelList):
3431         (getBibkeyList): use getMasterBuffer()
3432         (getMasterBuffer): new method. Returns the main document in the
3433         case where one is using included documents.
3434
3435 2004-03-25  André Pönitz  <poenitz@gmx.net>
3436
3437         * Makefile.am:
3438         * iterators.[Ch]:
3439         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3440
3441         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3442
3443         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3444         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3445
3446         * ParameterStruct.h: merge with ParagraphParameters
3447
3448         * lyxtext.h: remove LyXText::parOffset() and getPar()
3449
3450         * text3.C: Remove all 'manual' update calls. We do now one per user
3451         interaction which is completely sufficient.
3452
3453         * Bidi.C:
3454         * BufferView.[Ch]:
3455         * BufferView_pimpl.C:
3456         * FontIterator.[Ch]:
3457         * MenuBackend.C:
3458         * ParagraphParameters.[Ch]:
3459         * buffer.C:
3460         * buffer.h:
3461         * bufferlist.C:
3462         * cursor.[Ch]:
3463         * cursor_slice.[Ch]:
3464         * dociterator.[Ch]:
3465         * errorlist.[Ch]:
3466         * factory.C:
3467         * lfuns.h:
3468         * lyxfind.C:
3469         * lyxfunc.C:
3470         * output_docbook.[Ch]:
3471         * output_latex.[Ch]:
3472         * output_linuxdoc.[Ch]:
3473         * output_plaintext.[Ch]:
3474         * paragraph.[Ch]:
3475         * paragraph_funcs.[Ch]:
3476         * paragraph_pimpl.[Ch]:
3477         * rowpainter.C:
3478         * tabular.[Ch]:
3479         * text.C:
3480         * text2.C:
3481         * toc.C:
3482         * undo.[Ch]: adjust
3483
3484         * frontends/controllers/ControlDocument.C:
3485         * frontends/controllers/ControlErrorList.C:
3486         * frontends/controllers/ControlSpellchecker.C:
3487         * insets/inset.C:
3488         * insets/inset.h:
3489         * insets/insetbase.h:
3490         * insets/insetbibitem.C:
3491         * insets/insetbox.C:
3492         * insets/insetbranch.C:
3493         * insets/insetcaption.C:
3494         * insets/insetcharstyle.C:
3495         * insets/insetcharstyle.h:
3496         * insets/insetcollapsable.C:
3497         * insets/insetcollapsable.h:
3498         * insets/insetert.C:
3499         * insets/insetfloat.C:
3500         * insets/insetfoot.C:
3501         * insets/insetmarginal.C:
3502         * insets/insetnote.C:
3503         * insets/insetoptarg.C:
3504         * insets/insettabular.C:
3505         * insets/insettext.C:
3506         * insets/insettext.h:
3507         * insets/insetwrap.C:
3508         * mathed/math_mboxinset.C:
3509         * mathed/math_nestinset.C:
3510         * mathed/math_scriptinset.C:
3511         * mathed/math_scriptinset.h:
3512         * support/types.h:
3513
3514 2004-03-24  Angus Leeming  <leeming@lyx.org>
3515
3516         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3517         deal with any child processes that have finished but are waiting to
3518         communicate this fact to the rest of LyX.
3519
3520 2004-03-24  Angus Leeming  <leeming@lyx.org>
3521
3522         64-bit compile fixes.
3523
3524         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3525         (c-tor): pass lyx::pos_types rather than ints.
3526
3527         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3528         lyx::pos_type.
3529
3530         * text.C (Delete): compile fix.
3531         (getPar): ensure that function declaration is the same as that in
3532         the header file.
3533
3534 2004-03-23  Angus Leeming  <leeming@lyx.org>
3535
3536         * ispell.C (LaunchIspell):
3537         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3538         a boost::shred_ptr rather than a std::auto_ptr.
3539
3540 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3541
3542         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3543         handle LFUN_FILE_INSERT_*
3544
3545         * lyxrc.C (setDefaults, getDescription, output, read):
3546         * lyxrc.h: remove ps_command
3547
3548 2004-03-22  Angus Leeming  <leeming@lyx.org>
3549
3550         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3551         Ensure that error_handler is processed once only and that all data
3552         is saved before attempting to output any warning messages.
3553
3554         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3555
3556 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3557
3558         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3559
3560 2004-03-19  André Pönitz  <poenitz@gmx.net>
3561
3562         * cursor.[Ch] (reset): take main text inset as argument
3563
3564         * BufferView: adjust
3565         * BufferView_pimpl.C: adjust
3566
3567         * paragraph.[Ch]: fix completely broken operator=()
3568
3569 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3570
3571         * LColor.C (getFromLyXName): make sure that the color name is used
3572         as lowercase.
3573
3574 2004-03-17  Angus Leeming  <leeming@lyx.org>
3575
3576         * lfuns.h:
3577         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3578
3579         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3580         dialog and to kill a forked process.
3581
3582 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3583
3584         * text2.C (setCursorFromCoordinates): fix font problem
3585
3586 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3587
3588         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3589         bogus "rebuild cursor" code
3590
3591 2004-03-11  André Pönitz  <poenitz@gmx.net>
3592
3593         * buffer.[Ch]: use InsetText instead of LyXText as container for
3594         the main lyx text.
3595
3596         * dociterator.[Ch]: drop the BufferView * member which is not needed
3597         anymore after the change to buffer.C
3598
3599         * paragraph_funcs.C:
3600         * text.C:
3601         * text2.C:
3602         * BufferView.[Ch]:
3603         * BufferView_pimpl.[Ch]:
3604         * cursor.[Ch]:
3605         * cursor_slice.[Ch]: adjust
3606
3607         * text3.C: fix bug in mathDispatch
3608
3609 2004-03-08  André Pönitz  <poenitz@gmx.net>
3610
3611         * undo.[Ch]: use 'StableDocumentIterator' as base for
3612         the Undo struct.
3613
3614 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3615
3616         * LaTeXFeatures.C:
3617         * bufferparams.[Ch]: add jurabib support and param.
3618
3619         * LaTeX.C: add FIXME/comment.
3620
3621 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3622
3623         * buffer.C: increment file format to 230.
3624
3625 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3626
3627         * cursor.C (dispatch): avoid infinite loops
3628
3629 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3630
3631         * rowpainter.C (paintSelection): fix x coordinates
3632
3633 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3634
3635         * text.C (rowBreakPoint): fix breaking before displayed insets
3636
3637 2004-03-01  André Pönitz  <poenitz@gmx.net>
3638
3639         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3640
3641         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3642
3643         * Makefile.am:
3644         * BufferView.C:
3645         * BufferView_pimpl.C:
3646         * buffer.C:
3647         * lyxfind.C:
3648         * lyxfunc.C:
3649         * text.C:
3650         * text2.C:
3651         * text3.C: adjust
3652
3653 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3654
3655         * lyxtext.h:
3656         * text.C:
3657         * text2.C:
3658         * rowpainter.C:
3659         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3660         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3661
3662 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3663
3664         * Bidi.[Ch] (computeTables): const correctness
3665         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3666         fill_hfill, fill_label_hfill and x from Row
3667         * lyxtext.h: prepareToPrint returns a RowMetrics
3668         * rowPainter.C: adjust
3669         * text.C (prepareToPrint): use width, not textWidth. adjust
3670         (redoParagraphInternal, cursorX): adjust
3671         * text2.C (getColumnNearX): adjust
3672         (init): put a default value to the top LyXText::width
3673
3674 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3675
3676         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3677
3678 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3679
3680         * lyxtext.h: add FontIterator class
3681
3682         * text.C (FontIterator, operator*, operator->, operator++): add
3683         (rowBreakPoint, setRowWidth): adjust (fixing a
3684         rebreaking bug)
3685
3686 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3687
3688         * BufferView_pimpl.C (workAreaDispatch): allow also
3689         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3690
3691 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3692
3693         * text.C (rowBreakPoint): fix a bug showing with very large insets
3694
3695 2004-02-25  André Pönitz  <poenitz@gmx.net>
3696
3697         * text3.C:
3698         * cursor.[Ch]: move some mathed specific code to mathed
3699
3700 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3701
3702         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3703         use_tempdir in preferences
3704         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3705         tempfile creation
3706         * lyx_main.C: ensure that tempdir is valid
3707         * lyxlex.h: correct typo
3708         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3709         * paragraph.[Ch] (isMultiLingual): make const
3710         * cursor.[Ch] (openable): make const
3711
3712 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3713
3714         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3715
3716 2004-02-20  André Pönitz  <poenitz@gmx.net>
3717
3718         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3719
3720         * cursor.[Ch]: prepare for localized getStatus()
3721
3722         * lyxtext.h:
3723         * tabular.C:
3724         * text.C:
3725         * text2.C:
3726         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3727
3728 2004-02-20  André Pönitz  <poenitz@gmx.net>
3729
3730         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3731
3732 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3733
3734         * text2.C (setCursorFromCoordinates): switch to absolute coords
3735         (cursorUp): adjust
3736         (cursorDown): adjust
3737         * text3.C (dispatch): adjust
3738
3739 2004-02-16  André Pönitz  <poenitz@gmx.net>
3740
3741         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3742           insets/ChangeLog)
3743
3744         * cursor_slice.[Ch]: remove unneeded acessor function
3745
3746         * lyxtext.h: rename rtl() to isRTL()
3747
3748         * rowpainter.C:
3749         * tabular.C:
3750         * text.C:
3751         * text2.C:
3752         * text3.C: adjust
3753
3754 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3755
3756         * rowpainter.C (paintSelection): coord fix
3757
3758 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3759
3760         * Spacing.C: compile fix
3761
3762 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3763
3764         * cursor.C (dispatch): restore current_ before returning
3765
3766 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3767
3768         * text2.C (cursorUp, cursorDown): fix coords
3769         (moveUp): fix crash
3770
3771 2004-02-12  André Pönitz  <poenitz@gmx.net>
3772
3773         * lyxtext.h:
3774         * text.C:
3775         * text2.C:
3776         * text3.C: add LCursor & parameter to most cursor movement functions
3777           remove usage of LyXText::cursorRow() and cursorPar()
3778
3779         * cursor.[Ch]: add textRow() needed members
3780
3781         * BufferView.C:
3782         * BufferView_pimpl.C:
3783         * paragraph.[Ch]:
3784         * BufferView.C:
3785         * BufferView_pimpl.C: adjust
3786
3787 2004-02-11  André Pönitz  <poenitz@gmx.net>
3788
3789         * lyxfunc.C:
3790         * BufferView.[Ch]:
3791         * BufferView_pimpl.C: shift undo/redo handling
3792
3793         * cursor.[Ch]: fix mathed crash
3794
3795         * lyxfind.C:
3796         * lyxtext.h: move selectionAsText to LCursor
3797
3798         * output_latex.C:
3799         * paragraph.C:
3800         * text.C:
3801         * text2.C:
3802         * text3.C: adjust
3803
3804         * rowpainter.C: fix excessive drawing
3805
3806 2004-02-06  André Pönitz  <poenitz@gmx.net>
3807
3808         * BufferView.[Ch]:
3809         * BufferView_pimpl.[Ch]:
3810         * text3.C: move some text specific LFUN handling
3811
3812 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3813
3814         * text3.C (checkInsetHit): adjust coords
3815         * text2.C (getColumnNearX): adjust coords
3816         (edit): adjust coords
3817         * text.C (getRowNearY): add two asserts
3818
3819 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3820
3821         * converter.C:
3822         * format.C: add using std::distance to compile on gcc 2.95/stlport
3823
3824 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3825
3826         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3827
3828 2004-02-04  André Pönitz  <poenitz@gmx.net>
3829
3830         * BufferView.[Ch] (insertInset):
3831         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3832
3833         * text2.C:
3834         * text3.C: adjust
3835
3836 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3837
3838         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3839         on the default clause of the switch
3840         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3841         wasn't catched by LCursor::dispatch
3842
3843 2004-02-03  André Pönitz  <poenitz@gmx.net>
3844
3845         * BufferView.C:
3846         * cursor.[Ch]: some additional asserts
3847
3848         * undo.[Ch]: remove LyXText dependency in interface
3849
3850         * lyxfunc.C: adjust
3851
3852         * lyxtext.h (firstPar, lastPar): remove dead functions
3853
3854         * text.C:
3855         * text2.C:
3856         * text3.C:
3857         * paragraph.[Ch]: adjust
3858
3859 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3860
3861         * lyxfind.C (find): fix argument order in call to ::find
3862
3863 2004-02-02  André Pönitz  <poenitz@gmx.net>
3864
3865         * cursor.[Ch]: remove direct access to anchor
3866
3867         * text.C: remove findText() hack
3868
3869 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3870
3871         * iterators.[Ch] (lockPath): remove in favour of...
3872         * BufferView.[Ch] (setCursor): this addition
3873         * BufferView.C (putSelectionAt): adjust
3874         * undo.C (performUndoOrRedo): adjust
3875         * lyxfunc.C (dispatch): adjust
3876
3877 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3878
3879         * iterators.C (lockPath): add a missing slice
3880         * undo.C (performUndoOrRedo): remove redundant positioning code
3881
3882 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3883
3884         * vc-backend.C (scanMaster): ";" -> ';'
3885
3886 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3887
3888         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3889         std::binary_function
3890
3891         * lyxtextclass.C (compare_name): rename to...
3892         (LayoutNamesEqual): ...this
3893
3894         * lyxlex_pimpl.C (compare_tags): inherit from
3895         std::binary_function, put back into anon namespace
3896
3897         * lyxfind.C (MatchString): inherig from std::binary_function
3898         (findChange): use empty() istead of !size()
3899
3900         * format.C (FormatNamesEqual): new functor
3901         (getFormat): use it
3902         (getNumber): use it
3903         (add): use it
3904         (erase): use it
3905         (setViewer): use it
3906
3907         * converter.C (compare_Converter): rename to...
3908         (ConverterEqual): ...this, and fixup a bit.
3909         (getConverter): use it, and make function const
3910         (getNumber): use it, and make function const
3911         (add): use it
3912         (erase): use it:
3913
3914         * bufferlist.C: add using boost::bind
3915
3916         * MenuBackend.C (MenuNamesEqual): new functor
3917         (hasMenu): use it, and make function const
3918         (hasSubmenu): use nested bind to get rid of compare_memfun.
3919
3920 2004-01-30  André Pönitz  <poenitz@gmx.net>
3921
3922         * BufferView_pimpl.C:
3923         * cursor.C:
3924         * cursor.h:
3925         * cursor_slice.[Ch]:
3926         * lyxfunc.C:
3927         * lyxtext.h:
3928         * paragraph_funcs.C:
3929         * paragraph_funcs.h:
3930         * rowpainter.C:
3931         * text.C:
3932         * text2.C:
3933         * text3.C: move some of the edit(x,y) handling to the insets
3934         some coordinate changes.
3935
3936 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3937
3938         * text.C: add using statements for std::advance and std::distance
3939
3940         * paragraph.C: add using statement for std::distance
3941
3942         * lyxfind.C: add using statement for std::advance
3943
3944         * cursor.C (region): remove std:: from swap
3945         (openable): use nucleus in stead of operator->
3946
3947         * BufferView.C: add using statements for std::distance and std::swap
3948
3949 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3950
3951         * iterators.C: Remove the pimple, move the needed structures to
3952         the header file. Create accessor for the positions stack.
3953         (asPosIterator): remove function
3954
3955         * PosIterator.C (PosIterator): move constructors to top of file
3956         (PosIterator): reimplement the constructor taking a ParIterator in
3957         terms of setFrom.
3958         (setFrom): new function
3959         (operator!=): inline it
3960
3961 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3962
3963         * lyxfind.C (replaceAll): use std::advance
3964
3965         * iterators.h: inherit from std::iterator.
3966
3967         * PosIterator.C (advance, distance): remove
3968         * PosIterator.h: interit from std::iterator.
3969
3970 2004-01-26  André Pönitz  <poenitz@gmx.net>
3971
3972         * BufferView.[Ch]:
3973         * BufferView_pimpl.[Ch]:
3974         * InsetList.[Ch]:
3975         * PosIterator.[Ch]:
3976         * buffer.h:
3977         * bufferview_funcs.C:
3978         * cursor.[Ch]:
3979         * cursor_slice.h:
3980         * factory.[Ch]:
3981         * iterators.[Ch]:
3982         * lyxfind.C:
3983         * lyxfunc.C:
3984         * lyxtext.h:
3985         * output_docbook.C:
3986         * output_latex.C:
3987         * output_linuxdoc.C:
3988         * output_plaintext.C:
3989         * paragraph.[Ch]:
3990         * paragraph_funcs.[Ch]:
3991         * paragraph_pimpl.[Ch]:
3992         * rowpainter.C:
3993         * tabular.C:
3994         * tabular.h:
3995         * text.C:
3996         * text2.C:
3997         * text3.C: more IU:  dumps most of the rest of the mathcursor
3998     implementation into cursor.[Ch]; "globalize" a bit of it.
3999
4000 2004-01-25  Angus Leeming  <leeming@lyx.org>
4001
4002         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4003
4004 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4005
4006         * LaTeXFeatures.h: add nice_ and nice() const
4007         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4008
4009 2004-01-20  André Pönitz  <poenitz@gmx.net>
4010
4011         * BufferView.[Ch]:
4012         * BufferView_pimpl.C:
4013         * PosIterator.C:
4014         * bufferview_funcs.C:
4015         * cursor.[Ch]:
4016         * cursor_slice.[Ch]:
4017         * factory.C:
4018         * iterators.C:
4019         * lyx_cb.C:
4020         * lyxfind.C:
4021         * lyxfunc.C:
4022         * lyxtext.h:
4023         * rowpainter.C:
4024         * text.C:
4025         * text2.C:
4026         * text3.C:
4027         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4028           LCursor and mathcursor parts to LCursor and InsetBase.
4029
4030 2004-01-15  André Pönitz  <poenitz@gmx.net>
4031
4032         * cursor_slice.[Ch]: add a few covienience functions
4033
4034         * funcrequest.[Ch]: remove BufferView * member
4035
4036         * BufferView_pimpl.C:
4037         * cursor.C:
4038         * factory.[Ch]:
4039         * lyxfind.[Ch]:
4040         * lyxfunc.C:
4041         * lyxtext.h:
4042         * text3.C:
4043         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4044
4045 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4046
4047         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4048         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4049
4050 2004-01-13  André Pönitz  <poenitz@gmx.net>
4051
4052         * textcursor.[Ch]:
4053         * lyxtext.h: hide cursor and selection anchor behind accessor function
4054
4055         * BufferView.C:
4056         * BufferView_pimpl.[Ch]:
4057         * PosIterator.C:
4058         * bufferview_funcs.C:
4059         * cursor.h:
4060         * lyxfind.C:
4061         * lyxfunc.C:
4062         * text.C:
4063         * text2.C:
4064         * text3.C:
4065         * undo.C: adjust
4066
4067         * cursor.h:
4068         * cursor_slice.[Ch]: some integer type changes for inset unification
4069
4070         * lyxcursor.[hC]: remove, it's CursorSlice now.
4071
4072         * Makefile.am:
4073         * BufferView_pimpl.[Ch]:
4074         * bufferview_funcs.C:
4075         * cursor_slice.C:
4076         * lyxtext.h:
4077         * text.C:
4078         * text2.C:
4079         * text3.C:
4080         * textcursor.[Ch]: adjust
4081
4082 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4083
4084         * text2.C (undoSpan): add and use
4085         * text.C (breakParagraph): use undoSpan (fix bug 578)
4086         * lyxtext.h: adjust
4087
4088 2004-01-08  Angus Leeming  <leeming@lyx.org>
4089
4090         * BufferView_pimpl.C (MenuInsertLyXFile):
4091         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4092         * lyxfunc.C (menuNew, open, doImport):
4093         FileFilterList change to the FileDialog open and save functions.
4094
4095 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4096
4097         * ShareContainer.h: make isEqual and isUnique adaptable
4098
4099         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4100
4101 2004-01-07  Angus Leeming  <leeming@lyx.org>
4102
4103         * LyXAction.C:
4104         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4105
4106         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4107
4108         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4109         functions replacing find, replace and replaceAll.
4110
4111         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4112         LFUN_WORDFIND(FORWARD|BACKWARD).
4113
4114 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4115
4116         * text.C (breakParagraph): remove an outdated #warning
4117
4118 2004-01-07  André Pönitz  <poenitz@gmx.net>
4119
4120         * lyxfind.C: somewhat clearer logic
4121
4122         * text.C: prevent crash in cursorX on unitialized row cache
4123
4124 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4125
4126         * lyxcursor.[Ch] (operator>): add
4127         * textcursor.C (selStart, selEnd): use std::min and std::max
4128
4129 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4130
4131         * Chktex.C: include boost/format.hpp
4132
4133 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4134
4135         * InsetList.C: replace functor MathcIt with adaptable functor
4136         InsetTablePosLess
4137         (insetIterator): modify accordingly
4138
4139         * BranchList.h: move the BranchNamesEqual functor here from...
4140         * BranchList.C: ... to here
4141
4142         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4143         SameName and match.
4144         (add): replace a finding loop with std::find_if.
4145
4146 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4147
4148         * output_docbook.C: moving LatexParam functionality into
4149         .layout files
4150
4151 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4152
4153         * buffer.C: increment format to 229.
4154
4155 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4156
4157         * LaTeXFeatures.C:
4158         * lyx_sty.[Ch]: remove minipageindent_def
4159
4160         * LyXAction.C:
4161         * factory.C:
4162         * lfuns.h:
4163         * lyxfunc.C:
4164         * text3.C: remove LFUN_INSET_MINIPAGE
4165
4166 2003-12-28  Angus Leeming  <leeming@lyx.org>
4167
4168         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4169
4170 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4171
4172         * text2.C (setParagraph): fix off-by-one crash
4173
4174 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4175
4176         * output_docbook.C: header stuff for AGU
4177
4178 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4179
4180         * text2.C (redoCursor): remove
4181         * text.C:
4182         * text3.C:
4183         * BufferView_pimpl.C: remove calls to redoCursor and
4184         setCursor(cursor.par(), cursor.pos()) all around
4185
4186 2003-12-15  Angus Leeming  <leeming@lyx.org>
4187
4188         * buffer.C: up the format to 228.
4189
4190 2003-12-15  André Pönitz  <poenitz@gmx.net>
4191
4192         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4193         slices
4194
4195         * Makefile.am:
4196
4197         * BufferView_pimpl.C:
4198         * cursor.[Ch]:
4199         * lyxcursor.[Ch]:
4200         * rowpainter.[Ch]:
4201         * lyxtext.h:
4202         * text.C:
4203         * text2.C:
4204         * text3.C: adjust
4205
4206 2003-12-15  Angus Leeming  <leeming@lyx.org>
4207
4208         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4209         than getFromGUIName to manipulate the color.
4210
4211 2003-12-14  Angus Leeming  <leeming@lyx.org>
4212
4213         * BranchList.[Ch]: minimize the API.
4214         (Branch::getBranch, getColor): now return a 'const &'.
4215         (Branch::setSelected) now returns a bool set to true if the
4216         selection status changes.
4217         (BranchList::clear, size, getColor, setColor, setSelected,
4218         allBranches, allSelected, separator): removed.
4219         (BranchList::find): new functions, returning the Branch with
4220         the given name.
4221         (BranchList::add, remove): return a bool indicating that
4222         the operation was successful.
4223
4224         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4225         new InsetBranch::isBranchSlected member function.
4226
4227         * LColor.[Ch]: mimimize the API.
4228         (fill): renamed as addColor and made private.
4229         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4230         versions of these functions taking a string arg have been removed.
4231
4232         * bufferparams.C (readToken):
4233         * lyxfunc.C (dispatch):
4234         * lyxrc.C (read): changes due to the altered BranchList and
4235         LColor APIs.
4236
4237         * factory.C (createInset, readInset): changes due to altered
4238         InsetBranch c-tor.
4239
4240 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4241
4242         * factory.C:
4243         * lyxfunc.C: remove insetminipage. "minipage-insert"
4244         now produces a frameless minipage box inset.
4245
4246 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4247
4248         * textcursor.[Ch] (selStart,selEnd): add new methods
4249         remove selection::start, end, use LyXCursor::operator<
4250         * lyxcursor.[Ch] (operator<): add
4251         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4252         * BufferView.[Ch] (unsetXSel): add
4253         * text2.C (clearSelection): use unsetXSel,adjust
4254         * text.C: adjust
4255         * text3.C: adjust
4256         * rowpainter.C: adjust
4257         * bufferview_funcs.C (put_selection_at): adjust
4258
4259 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4260
4261         * BufferView_pimpl.C: small coord. correction
4262
4263 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4264
4265         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4266         dragging over the splash screen.
4267
4268 2003-12-11  Angus Leeming  <leeming@lyx.org>
4269
4270         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4271         as it is now handled in LyXText::dispatch.
4272
4273         * text3.C (doInsertInset): remove a level of nesting.
4274
4275 2003-12-11  Angus Leeming  <leeming@lyx.org>
4276
4277         * factory.C (createInset): changes due to the changed interface to
4278         InsetCommandMailer::string2params.
4279
4280 2003-12-10  Angus Leeming  <leeming@lyx.org>
4281
4282         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4283         'dialog-show-new-inset <inset name>'
4284
4285 2003-12-10  Angus Leeming  <leeming@lyx.org>
4286
4287         * buffer.C: up the format to 227.
4288
4289         * factory.C: the box inset is now identified simply by 'Box'.
4290
4291 2003-12-10  Angus Leeming  <leeming@lyx.org>
4292
4293         * buffer.C: up the format to 226.
4294
4295         * factory.C: the note inset is now identified simply by 'Note'.
4296
4297 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4298
4299         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4300         when a pit is enough. Standarize a couple of loops.
4301
4302 2003-12-05  Angus Leeming  <leeming@lyx.org>
4303
4304         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4305         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4306         data to the re-worked "log" dialog.
4307
4308 2003-12-03  André Pönitz  <poenitz@gmx.net>
4309
4310         * PosIterator.C:
4311         * iterators.C:
4312         * lyxtext.h:
4313         * output_latex.C:
4314         * paragraph_funcs.C:
4315         * text.C:
4316         * text2.C: use Inset::getText instead of Inset::getParagraph
4317
4318 2003-12-03  André Pönitz  <poenitz@gmx.net>
4319
4320         * buffer.[Ch]:
4321         * lyxtext.h:
4322         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4323         InsetText::read() as LyXText::read()
4324
4325 2003-12-02  Angus Leeming  <leeming@lyx.org>
4326
4327         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4328         type. Add a comment in the implementation that the function uses
4329         the stream's bad() function rather than fail() as the std::streams
4330         would do.
4331
4332 2003-12-02  André Pönitz  <poenitz@gmx.net>
4333
4334         * lyxlex.[Ch]: make interface more similar to std::stream
4335
4336         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4337
4338 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4339
4340         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4341
4342 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4343
4344         * vspace.[Ch]: remove VSpace::NONE
4345
4346 2003-12-01  André Pönitz  <poenitz@gmx.net>
4347
4348         * buffer.[Ch]:
4349         * lyxtext.h: move ParagraphList member to LyXText
4350         rename LyXText::ownerParagraphs to LyXText::paragraph
4351
4352         * CutAndPaste.C:
4353         * bufferview_funcs.C:
4354         * iterators.[Ch]:
4355         * lyx_cb.C:
4356         * paragraph.C:
4357         * rowpainter.C:
4358         * tabular.C:
4359         * text.C:
4360         * text2.C:
4361         * text3.C: adjust
4362
4363         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4364
4365         * undo.C: fix cursor positioning
4366
4367 2003-12-01  John Levon  <levon@movementarian.org>
4368
4369         * BufferView_pimpl.C: fix a crash on exit with
4370         a buffer open
4371
4372 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4373
4374         * BranchList.C: fix setSelected() method.
4375
4376 2003-11-28  André Pönitz  <poenitz@gmx.net>
4377
4378         * ParagraphParameters.[Ch]:
4379         * ParameterStruct.h: remove space above/below from Paragraph to
4380          InsetVSpace
4381
4382         * BufferView_pimpl.C:
4383         * factory.C:
4384         * lyxfunc.C:
4385         * lyxtext.h:
4386         * output_latex.C:
4387         * paragraph.C:
4388         * paragraph_funcs.C:
4389         * rowpainter.[Ch]:
4390         * text.C:
4391         * text2.C:
4392         * text3.C: adjust
4393
4394 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4395
4396         * factory.C: Syntax change for CharStyles
4397
4398 2003-11-28  André Pönitz  <poenitz@gmx.net>
4399
4400         * BufferView.[Ch]:
4401         * BufferView.[Ch]:
4402         * buffer.[Ch]:
4403         * buffer.[Ch]: move LyXText member
4404
4405 2003-11-28  André Pönitz  <poenitz@gmx.net>
4406
4407         * BufferView.[Ch]: make LyXText * text a private member
4408
4409         * BufferView_pimpl.C:
4410         * cursor.C:
4411         * iterators.C:
4412         * lyx_cb.C:
4413         * lyxfind.C:
4414         * lyxtext.h:
4415         * rowpainter.[Ch]:
4416         * text.C:
4417         * text2.C:
4418         * undo.C: adjust
4419
4420         * output_plaintext.C: cleanup
4421
4422 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4423
4424         * buffer.C:
4425         * lyxtextclass.[Ch]: parametrize SGML document header
4426
4427 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4428
4429         * converter.[Ch]:
4430         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4431         getFlavor().
4432
4433 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4434
4435         * text2.C (setFont): rework using PosIterator (no more recursive)
4436         (setCharFont): no more needed
4437         (setLayout): no more selection cursors fiddling (done by redoCursor)
4438         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4439         destroy remaining ones)
4440
4441 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4442
4443         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4444         * lyxtext.h: ditto
4445         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4446         selection cursors
4447         * lyxfunc.C: adjust
4448         * text3.C: adjust + re-allow multi par depth changes
4449         * textcursor.C: simplify a bit
4450
4451 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4452
4453         * src/buffer.C:
4454         * src/lyxlayout.C:
4455         * src/lyxlayout.h:
4456         * src/lyxtext.h:
4457         * src/output_docbook.C:
4458         * src/output_latex.C:
4459         * src/paragraph.C:
4460         * src/paragraph.h:
4461         * src/sgml.C:
4462         * src/sgml.h:
4463         * src/text2.C: Introducing a number of tags parametrizing various
4464         XML formats that we may want to support
4465
4466 2003-11-25  André Pönitz  <poenitz@gmx.net>
4467
4468         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4469
4470         * lyxtext.h (leftMargin/rightMargin): simplify interface
4471
4472         * rowpainter.C:
4473         * text.C:
4474         * text2.C:
4475         * text3.C: adjust
4476
4477 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4478
4479         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4480         master file to any child files. Fixes bug 546.
4481
4482 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4483
4484         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4485
4486 2003-11-24  André Pönitz  <poenitz@gmx.net>
4487
4488         * rowpainter.C: simplification
4489
4490         * text2.C (updateCounters): remove call to redoParagraph on
4491         changed labels as this is far too expensive.
4492
4493 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4494
4495         * converter.C (convert): fix a crash: this function gets
4496         called with buffer == 0 from importer code.
4497
4498 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4499
4500         * text3.C (cursorPrevious): make sure that we do not compare
4501         iterators form different containers.
4502         (cursorNext): ditto
4503
4504         * rowpainter.C (paintSelection): make sure that we do not compare
4505         iterators from different containers.
4506
4507         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4508         iterators from different ParagraphList containers.
4509         [NEXT] ditto
4510
4511         * text2.C (LyXText): change order of initialization slightly
4512         (operator=): new function. copy all variables except cache_par_
4513         (moveUp): make sure that we do not compare iterators from
4514         different ParagraphList constainers.
4515         (moveDown): ditto
4516
4517         * text.C (firstPar): new function
4518         (lastPar): new function
4519         (endPar): new function
4520
4521         * lyxtext.h: move things around and group public functions, public
4522         variables, private functions, private variables
4523
4524 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4525
4526         * factory.C: change call to InsetERT constructor to avoid
4527         additional invocation of method status
4528         * text2.C (toggleInset): remove redundant update() call
4529         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4530         instead of a Bufferview pointer
4531
4532 2003-11-21  André Pönitz  <poenitz@gmx.net>
4533
4534         * rowpainter.C: simplification
4535
4536 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4537
4538         * text3.C (dispatch): make possible to extend a word/row selection
4539         with the mouse
4540
4541 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4542
4543         * lyxtext.h: x0_,y0_ -> xo_,yo_
4544         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4545         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4546         * rowpainter.C (paintRows): paint full paragraphs
4547
4548 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4549
4550         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4551         screen coordinates)
4552
4553 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4554
4555         * lyxtext.h: add x0_, y0_
4556         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4557         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4558
4559 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4560
4561         * text2.C (setCursorIntern): move the x_target update here *
4562         * text3.C: change some bv() to true/false in calls to
4563         cursorUp/Down/Right/Left
4564         * cursor.C: use helper function.
4565
4566 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4567
4568         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4569         * paragraph_funcs.[Ch]: correct comment
4570         * rowpainter.C: do not paint selections away from bv->cursor()
4571         Fix a long standing selection painting bug.
4572         * text3.C: generalize mouse-selection code to LyXTexts other that
4573         top one
4574         * textcursor.C: do not use y coords if we can use par offsets
4575
4576 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4577
4578         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4579         cursor position after e.g. inset insert)
4580
4581 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4582
4583         * lyxfind.C (replace): adjust to locking removal + some
4584         code simplification
4585
4586 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4587
4588         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4589         of the path
4590
4591 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4592
4593         * lyxlayout.[Ch]:
4594         * output_docbook.C: XML sanitation: new layout
4595         parameters InnerTag and CommandDepth
4596
4597 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4598
4599         * BufferView_pimpl.C:
4600         * factory.C:
4601         * text3.C: Fix the insertion and modification of button-style
4602         insets
4603
4604 2003-11-13  André Pönitz  <poenitz@gmx.net>
4605
4606         * InsetList.[Ch]: remove deleteLyXText
4607
4608         * paragraph.[Ch]: cache beginOfBody position
4609
4610         * Bidi.C:
4611         * text.C:
4612         * text2.C:
4613         * text3.C: remove superfluous update() calls
4614
4615         * vspace.C: cleanup
4616
4617 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4618
4619         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4620         * BufferView.C (fitLockedInsetCursor): remove
4621         * cursor.[Ch] (getDim): add
4622         * text.C (getRowNearY): add faster version
4623         * text3.C: remove some update calls
4624
4625 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4626
4627         * LaTeXFeatures.C:
4628         * LyXAction.C:
4629         * MenuBackend.C:
4630         * MenuBackend.h:
4631         * dispatchresult.h:
4632         * factory.C:
4633         * lfuns.h:
4634         * lyxfunc.C:
4635         * lyxtextclass.C:
4636         * lyxtextclass.h:
4637         * text3.C: The Character Style /XML short element patch.
4638
4639 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4640
4641         * text3.C:
4642         * factory.C: Small step to solving 'unable to insert some insets'
4643         problem
4644
4645 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4646
4647         * cursor.[Ch] (updatePos): new function for updating the y
4648         position of the tip inset
4649         * bufferview_funcs.C (put_selection_at):
4650         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4651
4652 2003-11-11  André Pönitz  <poenitz@gmx.net>
4653
4654         * text.C: remove big comment on invalid Paragraph pointers as it is
4655         not valid anymore
4656
4657 2003-11-11  André Pönitz  <poenitz@gmx.net>
4658
4659         * text_funcs.[Ch]: merge with ...
4660
4661         * text.C: ... this
4662
4663         * lyxtext.h:
4664         * text2.C:
4665         * text3.C: adjust
4666
4667         * Makefile.am: remove text_funcs.[Ch]
4668
4669 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4670
4671         * cursor.C (getPos): return absolute cached y coord
4672
4673         * BufferView_pimpl.C (fitCursor): new simplistic code
4674         (workAreaDispatch): add a fitCursor call
4675
4676 2003-11-10  André Pönitz  <poenitz@gmx.net>
4677
4678         * BufferView.[Ch]:
4679         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4680
4681 2003-11-10  André Pönitz  <poenitz@gmx.net>
4682
4683         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4684         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4685         indicate that the cursor needs to leave an inset
4686
4687         * lyxtext.h: remove inset locking
4688
4689         * cursor.[Ch]: re-implement functionality provided by inset locking
4690
4691         * BufferView.[Ch]:
4692         * BufferView_pimpl.[Ch]:
4693         * LyXAction.C:
4694         * bufferview_funcs.[Ch]:
4695         * factory.C:
4696         * funcrequest.[Ch]:
4697         * iterators.C:
4698         * lyx_cb.C:
4699         * lyxfind.C:
4700         * lyxfunc.C:
4701         * text.C:
4702         * text2.C:
4703         * text3.C:
4704         * undo.C: adjust
4705
4706 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4707
4708         * PosIterator.[Ch]: replace the stack with a vector, add inset
4709         accesor
4710         * iterators.[C]: adjust
4711
4712 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4713
4714         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4715         replaced
4716         * paragraph_funcs.C (readParToken): put the correct id in the
4717         error item, not the id of the top paragraph
4718
4719 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4720
4721         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4722         * bufferview_funcs.C (put_selection_at): use the above
4723
4724 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4725
4726         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4727
4728 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4729
4730         * output_linuxdoc.h:
4731         * output_plaintext.h:
4732         * output.h:
4733         * output_docbook.h: add #include statements
4734
4735 2003-11-05  José Matos  <jamatos@lyx.org>
4736
4737         * output_docbook.[Ch]:
4738         * output_latex.[Ch]:
4739         * output_linuxdoc.[Ch]:
4740         * output_plaintext.[Ch]: New files for output formats.
4741         * output.[Ch]: New file for helper functions.
4742
4743         * buffer.[Ch]:
4744         * paragraph_funcs.[Ch]: output functions moved to new files.
4745
4746         * outputparams.h: rename of latexrunparams.h
4747
4748         * LaTeX.[Ch]:
4749         * buffer.[Ch]:
4750         * bufferlist.[Ch]:
4751         * converter.[Ch]:
4752         * exporter.C:
4753         * paragraph.[Ch]:
4754         * paragraph_funcs.[Ch]:
4755         * paragraph_pimpl.[Ch]:
4756         * tabular.[Ch]: rename ascii to plaintext
4757         and LatexRunParams to OutputParams.
4758
4759 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4760
4761         * iterators.[Ch] (text): require bv argument
4762         * undo.C (recordUndo):
4763         * lyxfunc.C (dispatch):
4764         * bufferview_funcs.C (put_selection_at): adjust
4765
4766 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4767
4768         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4769
4770 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4771
4772         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4773         nestings
4774
4775 2003-11-04  André Pönitz  <poenitz@gmx.net>
4776
4777         * cursor.[Ch]: restructure
4778
4779         * BufferView.[Ch]:
4780         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4781
4782         * iterators.[Ch] (asCursor): remove
4783
4784         * lfuns.h: remove LFUN_INSET_EDIT
4785
4786         * lyxfunc.C:
4787         * tabular.C:
4788         * text.C:
4789         * text2.C:
4790         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4791
4792 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4793
4794         * lyxfind.[Ch]: complete overhaul
4795         * BufferView_pimpl.C:
4796         * lyxfunc.C: adjust
4797         * paragraph.[Ch] (insert): add
4798
4799 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4800
4801         * BufferView.[Ch]:
4802         * lyxtext.h:
4803         * text.C: remove dead spellcheck code
4804
4805 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4806
4807         * dispatchresult.h: add a val setter
4808
4809         * cursor.C (dispatch): use a tempvar for data_[i]
4810
4811 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4812
4813         * PosIterator.[Ch]: compile fix
4814
4815 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4816
4817         * text.C (cursorPar): deactivate the cursor cache
4818
4819 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4820
4821         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4822
4823 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4824
4825         * text3.C (dispatch): adjust for new DisptchResult semantics.
4826
4827         * lyxfunc.C (dispatch): handle update when return from
4828         Cursor::dispatch, adjust for new DispatchResult semantics.
4829
4830         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4831         DispatchResult(true) mean to not update. Add class functions for
4832         setting dispatched and update, as well as reading.
4833
4834         * cursor.C (dispatch): don't handle update here
4835
4836 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4837
4838         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4839         * trans_mgr.C: adjust
4840
4841         * paragraph_funcs.C (readParToken): exception safety
4842
4843         * lyxvc.h: store the vcs pointer in a scoped_ptr
4844         * lyxvc.C: adjust
4845
4846         * lyxsocket.C (serverCallback): exception safety
4847
4848         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4849
4850         * ispell.C (clone): make it return a auto_ptr
4851
4852         * factory.C (createInset): exception safety
4853         (readInset): exception safety
4854
4855         * bufferlist.C (newBuffer): exception safety
4856
4857         * Thesaurus.C (Thesaurus): use initialization for aik_
4858
4859         * MenuBackend.C (expandToc): exception safety.
4860
4861 2003-11-03  André Pönitz  <poenitz@gmx.net>
4862
4863         * buffer.C:
4864         * buffer.h:
4865         * bufferview_funcs.C: remove getInsetFromId()
4866
4867         * lyxcursor.[Ch]:
4868         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4869
4870         * lyxfunc.C:
4871         * text2.C:
4872         * text3.C: adjust
4873
4874 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4875
4876         * PosIterator.C (distance, advance): new
4877         * bufferview_funcs.[Ch] (put_selection_at): new
4878         * iterators.[Ch] (lockPath): new
4879
4880 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4881
4882         * iterators.[Ch] (asPosIterator): added
4883         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4884         * PosIterator.[Ch]: added
4885
4886 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4887
4888         * text3.C:
4889         * lyxfunc.C:
4890         * cursor.C (dispatch):
4891         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4892
4893         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4894         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4895         contructor, add a class function dispatched. Remove operator>=
4896
4897 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4898
4899         * debug.C: only use the default constructor for debugstream
4900         (lyxerr) here.
4901
4902         * main.C (main): include debug.h and setup the lyxerr streambuf
4903         here.
4904
4905 2003-10-31  José Matos  <jamatos@lyx.org>
4906
4907         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4908
4909         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4910         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4911         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4912         * paragraph_pimpl.C (simpleTeXSpecialC):
4913         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4914         add LatexRunParams argument.
4915
4916         * exporter.C (Export): change call accordingly.
4917
4918         * latexrunparams.h: add new member to take care of the other backends.
4919 2003-10-30  José Matos  <jamatos@lyx.org>
4920
4921         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4922         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4923         factorise code for paragraph output.
4924         * buffer.[Ch]:
4925         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4926         move functions.
4927
4928 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4929
4930         * text3.C (dispatch):
4931         * lyxfunc.C (dispatch):
4932         * cursor.C (dispatch):
4933         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4934
4935         * dispatchresult.h: make the dispatch_result_t ctor explicit
4936
4937 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4938
4939         * sgml.[Ch]:
4940         * buffer.C: small refactoring of docbook stuff
4941
4942 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4943
4944         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4945         meaning.
4946
4947 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4950         operator dispatch_result_t, and operators for == != and >=
4951
4952         * cursor.C (dispatch): adjust for operator dispatch_result_t
4953         removal. comment out call to update
4954
4955         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4956
4957 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4958
4959         * text3.C:
4960         * text2.C:
4961         * text.C:
4962         * lyxtext.h:
4963         * lyxfunc.C:
4964         * cursor.C:
4965         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4966         (dispatch):
4967
4968         * dispatchresult.h: new file, DispatchResult broken out of
4969         insets/insetbase.h
4970
4971         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4972
4973 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4974
4975         * text.C (rowBreakPoint): put a hack inside #if 0
4976
4977 2003-10-28  André Pönitz  <poenitz@gmx.net>
4978
4979         * lyxtext.h:
4980         * metricsinfo.C:
4981         * paragraph_funcs.C:
4982         * rowpainter.C:
4983         * text.C:
4984         * text2.C: general cleanup (lots of small stuff)
4985
4986 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4987
4988         * text2.C (cursorEnd): simple fix to the "end key goes to one
4989         before the end on last row" bug
4990
4991 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4992
4993         * text.C (backspace): fix the "zombie characters"
4994
4995 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4996
4997         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4998
4999 2003-10-27  André Pönitz  <poenitz@gmx.net>
5000
5001         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5002
5003         * factory.C: handle new InsetPagebreak, InsetLine
5004
5005         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5006         and move handling into new InsetPagebreak, InsetLine
5007
5008         * BufferView_pimpl.C:
5009         * LyXAction.C:
5010         * ParagraphParameters.C:
5011         * ParameterStruct.h:
5012         * lyxfunc.C:
5013         * lyxtext.h:
5014         * paragraph.C:
5015         * paragraph.h:
5016         * paragraph_funcs.C:
5017         * paragraph_pimpl.C:
5018         * rowpainter.C:
5019         * text.C:
5020         * text2.C:
5021         * text3.C: adjust
5022
5023 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5024
5025         * text.C:
5026         * lyxrow_funcs.[Ch]:
5027         * Bidi.C:
5028         * paragraph.C:
5029         * lyxtext.h:
5030         * rowpainter.C:
5031         * text2.C:
5032         * text3.C: remove lastPos uses in favour of Row::endpos
5033
5034 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5035
5036         * undo.C (performUndoOrRedo): fix two crashes by setting a
5037         cursor by hand and reordering some calls. Use bv->lockInset instead
5038         of inset->edit because the latter loses cursor information
5039
5040 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5041
5042         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5043         by Martin
5044         (rowBreakPoint): fix width. change point to point + 1.
5045         Add a missing check.
5046
5047 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5048
5049         * MenuBackend.C:
5050         * lyxfunc.C: fix (at least partly) the problems
5051         with the Nav menu and headers inside branch insets
5052         reported by Kayvan
5053
5054 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5055
5056         * paragraph.C (getChar): add strong asserts
5057
5058         * lyxrow_funcs.C (lastPos): remove hideous hack
5059
5060         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5061         (fill): adjust to that (avoid an infinite loop)
5062
5063 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5066
5067 2003-10-23  André Pönitz  <poenitz@gmx.net>
5068
5069         * RowList_fwd.h: change list<> to vector<> to gain speed
5070         after suggestion from Alfredo
5071
5072 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5073
5074         * lyxtext.h: move the bidi stuff from here...
5075         * text.C: and here
5076         * text2.C: and here
5077         * Bidi.[Ch]: ... to here
5078
5079 2003-10-23  André Pönitz  <poenitz@gmx.net>
5080
5081         * lyxtext.h:
5082         * text.C (isLastRow, isFirstRow): new functions
5083
5084         * paragraph.h: new width cache member
5085
5086         * rowpainter.C: replace RowList::iterator with Row & where possible
5087
5088         * lyxfunc.C: replace several view()->text with a single call
5089
5090         * toc.C: fix 'unused' warning
5091
5092 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5093
5094         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5095         when woring with stream::pos_type
5096         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5097
5098 2003-10-22  André Pönitz  <poenitz@gmx.net>
5099
5100         * lyxtext.h:
5101         * text.C: use Row & instead of RowList::iterator
5102
5103         * lyxrow.h: rename end() to endpos()
5104
5105         * rowpainter.C:
5106         * text.C:
5107         * text2.C: adjust
5108
5109 2003-10-22  Angus Leeming  <leeming@lyx.org>
5110
5111         * buffer.[Ch] (fully_loaded): new member function, returning true
5112         only when the file has been loaded fully.
5113         Used to prevent the premature generation of previews and by the
5114         citation inset to prevent computation of the natbib-style label.
5115
5116         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5117         templates are all set up.
5118
5119         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5120
5121 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5122
5123         * text.C: fixed an "oops" in the "is a bit silly"
5124         bug fix
5125
5126 2003-10-21  André Pönitz  <poenitz@gmx.net>
5127
5128         * FuncStatus.[Ch]: small stuff, whitespace
5129
5130         * lyxfont.[Ch]: operator<<() for debug reasons
5131
5132         * lyxfunc.C:
5133         * lyxrow_funcs.C:
5134         * lyxtext.h: whitespace, spelling
5135
5136         * paragraph.C: naming of variables
5137
5138         * text.C:
5139         * text2.C: small stuff
5140
5141
5142 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5143
5144         * text.C: (1) finish off the inset display() work;
5145         (2) fix the "is a bit silly" bug (accessing char
5146         past end of par).
5147
5148 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5149
5150         * text.C: re-introduce display() for insets, fixing the
5151         various bugs (stretch of line above, math inset
5152         positioning, ...)
5153
5154 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5155
5156         * text.C (rightMargin): remove spurious semicolon
5157
5158         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5159         1415)
5160
5161 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5162
5163         * text3.C: fix one crash due to wrong cursor def
5164
5165 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5166
5167         * vc-backend.C (scanMaster): make the regex static
5168
5169         * LaTeX.C (scanAuxFile): make the regexs static
5170
5171         * text3.C (doInsertInset, dispatch, dispatch):
5172         * text2.C (cursorUp, cursorDown):
5173         * text.C (selectNextWordToSpellcheck):
5174         * BufferView_pimpl.C (dispatch):
5175         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5176
5177 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5178
5179         * lyxsocket.C: include <cerrno>
5180
5181 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * lyxfunc.C (dispatch): remove textcache stuff
5184
5185         * bufferlist.C (release): remove textcache stuff
5186         (closeAll): ditto
5187
5188         * TextCache.C: delete file
5189         * TextCache.h: delete file
5190
5191         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5192
5193         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5194         delete of the bv_->text.
5195         (resizeCurrentBuffer): remove texcache stuff
5196         (workAreaResize): ditto
5197
5198 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5199
5200         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5201         action.
5202
5203 2003-10-16  André Pönitz  <poenitz@gmx.net>
5204
5205         * lyxrow.[Ch]:
5206         * paragraph.h:
5207         * rowpainter.C:
5208         * text.C:
5209         * text2.C:
5210         * text3.C: speed up by storing y positions per paragraph plus per-row
5211         offset instead of having a 'full' y position in the row.
5212
5213 2003-10-15  André Pönitz  <poenitz@gmx.net>
5214
5215         * iterators.[Ch]:
5216         * iterators.[Ch]:
5217         * undo.[Ch]: make undo aware of inner insets
5218
5219 2003-10-14  Angus Leeming  <leeming@lyx.org>
5220
5221         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5222         static member functions LyX::ref() and LyX::cref.
5223         (lastfiles): new accessor functions for the new lastfiles_ member var.
5224         (addLyXView, views_): add a new LyXView to the list of views_.
5225         (updateInset): loop over all LyXViews to call their own updateInset
5226         member function, returning a pointer to the Buffer owning the inset.
5227
5228         * BufferView_pimpl.C (loadLyXFile):
5229         * MenuBackend.C (expandLastfiles):
5230         * bufferlist.C (MenuWrite, QuitLyX):
5231         lastfiles is no longer a global variable.
5232         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5233
5234         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5235         static function. Access through LyX::cref().emergencyCleanup().
5236
5237 2003-10-14  André Pönitz  <poenitz@gmx.net>
5238
5239         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5240
5241         * undo.[Ch]: restoring part of 'undo in insets'
5242
5243         * Makefile.am:
5244         * undo_funcs.[Ch]: merge with undo.[Ch]
5245
5246         * tabular.C: small cleansing stuff
5247
5248 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5249
5250         * paragraph_funcs.C (readParToken): report unknown insets as error
5251         boxes. Use the outer paragraph as location (also for unknown
5252         tokens).
5253
5254         * factory.C (readInset): do not abort on reading an unknown inset.
5255         Eat it and return 0.
5256
5257 2003-10-13  Angus Leeming  <leeming@lyx.org>
5258
5259         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5260
5261         * lyxrc.C: displayTranslator is now a function,
5262         declared in GraphicsTypes.h.
5263
5264 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5265
5266         * format.C: new placeholder $$a to pass the socket address.
5267
5268         * bufferlist.[Ch]: new function getBufferFromTmp.
5269
5270         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5271           files in the temporary dir.
5272
5273 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5274
5275         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5276
5277         * Makefile.am: add lyxsocket.[Ch].
5278
5279         * lyx_main.C (error_handler): handle SIGPIPE.
5280
5281 2003-10-13  André Pönitz  <poenitz@gmx.net>
5282
5283         * BufferView_pimpl.C:
5284         * lyxtext.h:
5285         * text.C:
5286         * text2.C:
5287         * text3.C:
5288         * undo_funcs.[Ch]: use paroffset_type instead of
5289           ParagraphList::iterators to prevent multiple conversion
5290           (and get a more robust interface)
5291
5292 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5293
5294         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5295         * lyxtext.h: ditto
5296         * text3.C (dispatch): ditto
5297
5298 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5299
5300         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5301         move the onlyfile, use onlyfile instead of foundfile in a couple
5302         of places.
5303
5304         * DepTable.C (update): flush the error stream a bit more
5305
5306 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5307
5308         * lyxserver.C (callback): adjust
5309
5310         * lyxfunc.C (getStatus): add a missing brace in commented code
5311         (ensureBufferClean): reindent
5312         (dispatch): delete version taking a string
5313
5314 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5315
5316         * LaTeX.C (deplog): move found file handlig from here...
5317         (handleFoundFile): .. to new function here.
5318         (deplog): make sure to discover several files mentioned on the
5319         same log line.
5320
5321 2003-10-10  André Pönitz  <poenitz@gmx.net>
5322
5323         * lyxfunc.C:
5324         * lyxtext.h:
5325         * tabular.C:
5326         * text.C:
5327         * text2.C:
5328         * text3.C: fix some of the tabular crashes
5329
5330 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5331
5332         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5333
5334         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5335
5336 2003-10-09  André Pönitz  <poenitz@gmx.net>
5337
5338         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5339
5340         * BufferView.C:
5341         * BufferView_pimpl.C:
5342         * bufferview_funcs.C:
5343         * lyx_cb.C:
5344         * lyxcursor.C:
5345         * lyxfind.C:
5346         * lyxfunc.C:
5347         * lyxtext.h:
5348         * text.C:
5349         * text2.C:
5350         * text3.C:
5351         * text_funcs.[Ch]:
5352         * textcursor.[Ch]:
5353         * undo_funcs.C: adjust
5354
5355 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * text2.C (incrementItemDepth): new function, use a backtracking
5358         algorithm to discover the correct item depth.
5359         (resetEnumCounterIfNeeded): new function, use a backtracking
5360         algorithm to discover if counter reset is needed.
5361         (setCounter): use them. Simplify a bit. Add different labels for
5362         different item depths for itemize.
5363
5364         * paragraph.C (Paragraph): remove initialization of enumdepth
5365         (operator=): ditto
5366
5367         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5368         enumerate and itemize. Change the type of itemdepth to signed char.
5369
5370 2003-10-08  André Pönitz  <poenitz@gmx.net>
5371
5372         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5373           thing assignable.
5374         * text.C:
5375         * text2.C: adjust
5376
5377         * tabular.[Ch]: fix crash after 'row-insert'
5378
5379 2003-10-08  Angus Leeming  <leeming@lyx.org>
5380
5381         Fix doxygen warnings.
5382
5383         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5384         Remove CutAndPaste:: prefix from header file declaration.
5385
5386         * LColor.h (fill): remove LColor:: prefix from declaration.
5387
5388         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5389         use lyx::depth_type rather than Paragraph::depth_type so that
5390         header file and .C file match.
5391
5392         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5393
5394         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5395         * aspell.C: \file aspell_local.C -> \file aspell.C
5396         * gettext.C: \file gettext.C -> \file src/gettext.C
5397         * gettext.h: \file gettext.h -> \file src/gettext.h
5398         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5399         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5400         * text.C: \file text.C -> \file src/text.C
5401
5402         * toc.C: move comment so that doxygen is not confused.
5403
5404 2003-10-07  Angus Leeming  <leeming@lyx.org>
5405
5406         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5407
5408 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5409
5410         * aspell.C:
5411         * aspell_local.h: add forgotten std::string's.
5412
5413 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5414
5415         * LaTeXFeatures.C:
5416         * LyXAction.C:
5417         * factory.C:
5418         * lfuns.h:
5419         * lyxfunc.C:
5420         * text3.C: The Box patch. Fancybox support, minipage, parbox
5421
5422 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5423
5424         * CutAndPaste.h:
5425         * DepTable.h:
5426         * FloatList.h:
5427         * LaTeXFeatures.h:
5428         * ParagraphParameters.h:
5429         * TextCache.h:
5430         * Thesaurus.h:
5431         * bufferlist.h:
5432         * exporter.h:
5433         * importer.h:
5434         * lastfiles.h:
5435         * lyxfind.h:
5436         * lyxfont.h:
5437         * lyxlex.h:
5438         * lyxtextclasslist.h:
5439         * messages.h:
5440         * paragraph.h:
5441         * paragraph_pimpl.C:
5442         * textcursor.h: add <string> and other small fixes to make Lars'
5443         std::string patch compile with STLport.
5444
5445 2003-10-06  Angus Leeming  <leeming@lyx.org>
5446
5447         * LColor.h: Add missing #include <string>.
5448
5449 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5450
5451         * All most all file in all subdirs: Make <string> be the prefered
5452         way of getting to std::string, add using declarations.
5453
5454 2003-10-06  André Pönitz  <poenitz@gmx.net>
5455
5456         * metricsinfo.C: initialize LyXFont before changing attribute.
5457         (fixes the 'math in \emph is upright' bug)
5458
5459 2003-10-06  André Pönitz  <poenitz@gmx.net>
5460
5461         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5462
5463 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5464
5465         * graph.C:
5466         * paragraph_pimpl.C: Small fixes to build using STLport
5467
5468 2003-10-02  André Pönitz  <poenitz@gmx.net>
5469
5470         * lyxfunc.C:
5471         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5472
5473 2003-10-01  André Pönitz  <poenitz@gmx.net>
5474
5475         * factory.C: assert early
5476
5477 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5478
5479         * lyx_main.C: remove the global debug object
5480
5481         * debug.h: adjust for new debugstream
5482
5483         * debug.C: adjust for new debugstream and keep the global debug
5484         object here.
5485
5486 2003-09-22  Angus Leeming  <leeming@lyx.org>
5487
5488         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5489         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5490         an incomplete class LyXFont.
5491
5492 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5493
5494         * factory.C: bug fix in branches
5495
5496 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * lyxfunc.C (processKeySym): adjust
5499         (dispatch): adjust
5500         (dispatch): change arg name from ev to func, adjust
5501         (sendDispatchMessage): ditto
5502
5503         * lyx_main.C (defaultKeyBindings): adjust keybindings
5504         (deadKeyBindings): ditto
5505
5506         * kbsequence.C (addkey): return a FuncRequest
5507
5508         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5509
5510         * kbmap.C (bind): take a FuncRequest as arg, adjust
5511         (read): adjust
5512         (lookup): adjust
5513         (defkey): change to take a FuncRequest as arg, adjust
5514         (findbinding): take a FuncRequest as arg, adjust.
5515
5516         * funcrequest.h (operator=): added
5517
5518         * funcrequest.C (FuncRequest): default kb_action changed from
5519         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5520
5521         * buffer.C (dispatch): simplify
5522         (dispatch): adjust to take a FuncRequest as arg, adjust
5523
5524         * boost.C (assertion_failed): change assertion message slightly
5525
5526         * ToolbarBackend.C (read): simplify
5527
5528         * MenuBackend.C (binding): adjust call to findbinding, add a
5529         message if no binding is found.
5530         (read): simplify
5531         (expandToc): correct by adding a empty FuncRequest
5532
5533         * LyXAction.C: include <boost/assert.hpp>
5534         (isPseudoAction): delete function
5535         (LookupFunc): change name to...
5536         (lookupFunc): this. change return type to FuncRequest.
5537         (getActionName): take kb_action as arg, simplify
5538         (funcHasFlag): add an assert, simplify.
5539
5540 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5541
5542         * toc.C (action): return a FuncRequest, simplify
5543
5544         * lyxfunc.C (processKeySym): adjust
5545         (getStatus): delete version that takes an int.
5546         (getStatus): adjust
5547         (dispatch): delete version that takes action as int
5548         (dispatch): adjust
5549         (sendDispatchMessage): simplify and adjust
5550
5551         * funcrequest.C (getArg): take unsigned int as arg
5552
5553         * ToolbarBackend.C (read): adjust
5554         (add): delete version that takes func as a string.
5555         (getIton): take a FuncRequest as arg
5556
5557         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5558         action.
5559
5560         * MenuBackend.C (MenuItem): add a new construct that only takes a
5561         Kind, simplify the constructor use for submenus.
5562         (add): adjust
5563         (expandLastfiles): adjust
5564         (expandDocuments): adjust
5565         (expandFormats): adjust
5566         (expandFloatListInsert): adjust
5567         (expandFloatInsert): adjust
5568         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5569
5570         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5571         Remove class variables lyx_pseudo_map and lyx_arg_map
5572
5573         * LyXAction.C (searchActionArg): delete function
5574         (getPseudoAction): delete function
5575         (retrieveActionArg): delete function
5576         (LookupFunc): make it return kb_action, simplify.
5577         (getActionName): simplify
5578
5579         * factory.C (createInset): fix new bug
5580
5581 2003-09-19  Angus Leeming  <leeming@lyx.org>
5582
5583         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5584         masterFilename_ parameter in the include inset.
5585
5586         * factory.C (createInset): changes due to the changes to InsetInclude.
5587
5588 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5589
5590         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5591
5592 2003-09-18  Angus Leeming  <leeming@lyx.org>
5593
5594         * buffer.C:
5595         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5596         Inset::fillWithBibKeys.
5597         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5598
5599 2003-09-18  Angus Leeming  <leeming@lyx.org>
5600
5601         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5602         variables.
5603         (ctor): pass and store a 'Buffer const &'
5604         (buffer): new member function.
5605
5606         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5607         '*this' to the LaTeXFeatures ctor.
5608
5609 2003-09-18  Angus Leeming  <leeming@lyx.org>
5610
5611         * LColor.h:
5612         * lyxfont.C:
5613         * lyxfont.h:
5614         * lyxtext.h:
5615         * text.C: rename EnumLColor as LColor_color.
5616
5617 2003-09-18  Angus Leeming  <leeming@lyx.org>
5618
5619         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5620         remove #include "insets/insetbase.h" from cursor.h.
5621
5622 2003-09-18  Angus Leeming  <leeming@lyx.org>
5623
5624         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5625         InsetOld_code to remove #include "inset.h".
5626
5627         * iterators.C: add #include "insets/inset.h"
5628
5629 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5630
5631         * BufferView.C: remove more locking stuff that apparently doesn't
5632         do anything sensible.
5633
5634 2003-09-16  André Pönitz  <poenitz@gmx.net>
5635
5636         * paragraph.[Ch]:
5637         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5638           performance boost.
5639
5640 2003-09-16  Angus Leeming  <leeming@lyx.org>
5641
5642         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5643
5644         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5645         arg/return type.
5646
5647         * paragraph.h: remove #include "lyxfont.h". Forward declare
5648         LyXFont_size.
5649
5650 2003-09-16  Angus Leeming  <leeming@lyx.org>
5651
5652         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5653         of support/textutils.h.
5654         (isWord): move the contents of support/textutils.h's IsWordChar here.
5655
5656         * buffer.C:
5657         * lyxfind.C:
5658         * rowpainter.C:
5659         * text.C:
5660         * text2.C: add #include "paragraph.h".
5661
5662         * rowpainter.C:
5663         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5664
5665 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * main.C:
5668         * lyx_main.C:
5669         * lyx_cb.C:
5670         * buffer.C:
5671         * LaTeX.C: use namespace alias for lyx::support::os
5672
5673 2003-09-16  Angus Leeming  <leeming@lyx.org>
5674
5675         * bufferparams.C:
5676         * bufferview_funcs.C:
5677         * factory.C:
5678         * lyxfunc.C:
5679         * paragraph_pimpl.C:
5680         * rowpainter.C:
5681         * text.C: add #include "LColor.h".
5682
5683 2003-09-16  Angus Leeming  <leeming@lyx.org>
5684
5685         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5686         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5687         return LyXFont &.
5688         Store the FontBits::color variable as an int rather than as an
5689         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5690         file.
5691
5692         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5693         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5694         string calls together.
5695
5696         * lyxrc.C: add #include "LColor.h".
5697
5698 2003-09-15  Angus Leeming  <leeming@lyx.org>
5699
5700         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5701         a cow_ptr.
5702
5703 2003-09-15  Angus Leeming  <leeming@lyx.org>
5704
5705         * LColor.h: add an EnumLColor wrapper for LColor::color.
5706
5707         * lyxfont.[Ch] (color, setColor, realColor):
5708         * lyxtext.h, text.C (backgroundColor):
5709         pass EnumLColor args to/from the functions, rather than LColor::color
5710         ones.
5711
5712         * lyxfont.h:
5713         * lyxtext.h: forward declare EnumLColor.
5714
5715         * lyx_main.C: add #include "LColor.h".
5716
5717 2003-09-15  Angus Leeming  <leeming@lyx.org>
5718
5719         * .cvsignore: add lyx-gtk.
5720
5721 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5722
5723         * Chktex.C
5724         * LaTeX.C
5725         * LaTeXFeatures.C
5726         * ParagraphParameters.C
5727         * Spacing.C
5728         * buffer.C
5729         * bufferparams.C
5730         * bufferview_funcs.C
5731         * chset.C
5732         * counters.C
5733         * funcrequest.C
5734         * lyxfont.C
5735         * lyxgluelength.C
5736         * lyxlength.C
5737         * paragraph.C
5738         * paragraph_funcs.C
5739         * text3.C
5740         * vc-backend.C: remove usage of STRCONV
5741
5742 2003-09-15  Angus Leeming  <leeming@lyx.org>
5743
5744         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5745         explicitly define the color passed to the painter.
5746
5747 2003-09-15  Angus Leeming  <leeming@lyx.org>
5748
5749         * bufferparams.C (BufferParams): reorder member initializers to avoid
5750         compiler warning.
5751
5752 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5753
5754         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5755         * text.C (updateRowPositions): remove an unusual nop
5756
5757 2003-09-12  André Pönitz  <poenitz@gmx.net>
5758
5759         * BufferView_pimpl.C:
5760         * Bullet.C:
5761         * layout.h:
5762         * lyxfunc.C:
5763         * lyxlayout.[Ch]:
5764         * lyxtextclass.C:
5765         * rowpainter.C:
5766         * text.C:
5767         * text2.C:
5768         * Counters.[Ch]: finish the 'automatic counters' job
5769
5770 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5771
5772         * aspell.C: include <boost/assert.cpp> (compile fix)
5773
5774 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5775
5776         * boost.C (assertion_failed): use lyx::support::abort instead of
5777         assert.
5778
5779 2003-09-10  Angus Leeming  <leeming@lyx.org>
5780
5781         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5782         with their _fwd progeny.
5783
5784 2003-09-09  Angus Leeming  <leeming@lyx.org>
5785
5786         134 files throughtout the source tree: replace 'using namespace abc;'
5787         directives with the appropriate 'using abc::xyz;' declarations.
5788
5789 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5790
5791         * boost.C (emergencyCleanup): moved here from LAssert.c
5792         (assertion_failed): new function, called by BOOST_ASSERT
5793
5794         * several files: change Assert to BOOST_ASSERT
5795
5796 2003-09-09  Angus Leeming  <leeming@lyx.org>
5797
5798         * buffer.[Ch]: Add an Impl class and move Buffer's member
5799         variables into it. As a result move several header files out of
5800         buffer.h.
5801
5802         Add header files to lots of .C files all over the tree as a result.
5803
5804 2003-09-09  Angus Leeming  <leeming@lyx.org>
5805
5806         * buffer.[Ch]: make Buffer's member variables private. Add
5807         accessor functions.
5808
5809         Lots of changes all over the tree as a result.
5810
5811 2003-09-08  Angus Leeming  <leeming@lyx.org>
5812
5813         * graph.C: #include <config.h>.
5814
5815 2003-09-08  Angus Leeming  <leeming@lyx.org>
5816
5817         * BranchList.C:
5818         * BufferView.C:
5819         * BufferView_pimpl.C:
5820         * CutAndPaste.C:
5821         * DepTable.C:
5822         * LaTeX.C:
5823         * LaTeXFeatures.C:
5824         * LyXAction.C:
5825         * MenuBackend.C:
5826         * TextCache.C:
5827         * aspell.C:
5828         * buffer.C:
5829         * bufferlist.C:
5830         * changes.C:
5831         * chset.C:
5832         * converter.C:
5833         * counters.C:
5834         * debug.C:
5835         * graph.C:
5836         * ispell.C:
5837         * lyx_cb.C:
5838         * lyxfind.C:
5839         * lyxfunc.C:
5840         * lyxlex_pimpl.C:
5841         * lyxrc.C:
5842         * lyxrow.C:
5843         * paragraph.C:
5844         * rowpainter.C:
5845         * texrow.C:
5846         * text.C:
5847         * text2.C:
5848         * toc.C: remove redundant using directives.
5849
5850 2003-09-07  Angus Leeming  <leeming@lyx.org>
5851
5852         * LaTeXFeatures.h: remove #include "support/types.h".
5853         * ToolbarBackend.h: remove #include <algorithm>.
5854         * changes.h: remove #include <ctime>.
5855         * debug.h: remove #include <iosfwd>.
5856         * graph.h: remove #include "support/std_string.h".
5857         * lyx_main.h: remove #include <csignal>.
5858         * lyxlex_pimpl.h: remove #include <fstream>.
5859         * sgml.h: remove #include <algorithm>, <utility>.
5860         * toc.h: remove #include "support/std_ostream.h".
5861         Add #include <iosfwd>.
5862
5863 2003-09-07  Angus Leeming  <leeming@lyx.org>
5864
5865         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5866
5867         * converter.h: forward declare LatexRunParams.
5868         * encoding.h: remove #include "lyxrc.h".
5869         * lyxtext.h: remove #include "LColor.h".
5870         * lyxtextclass.h: remove #include "support/types.h".
5871         * trans.h: remove #include "tex-accent.h".
5872         * trans_mgr.h: remove #include "tex-accent.h".
5873         * insets/inset.h: remove #include "support/types.h", <vector>.
5874         * insets/insetcollapsable.h: remove #include "LColor.h".
5875         * insets/insetinclude.h: remove #include "dimension.h".
5876         * insets/insetlatexaccent.h: remove #include "dimension.h".
5877         * insets/insetoptarg.h:: remove #include "insettext.h".
5878         * insets/insettext.h: remove #include "dimension.h",
5879         <boost/shared_ptr.hpp>
5880
5881         * insets/renderers.h: add #include "dimension.h".
5882         * insets/updatableinset.h: add #include "support/types.h".
5883
5884         * many .C files: Associated changes.
5885
5886 2003-09-06  Angus Leeming  <leeming@lyx.org>
5887
5888         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5889         one, inside testInvariant.
5890
5891         * PrinterParams.C: new file.
5892         * PrinterParams.[Ch]: move the function bodies out of line.
5893
5894 2003-09-06  Angus Leeming  <leeming@lyx.org>
5895
5896         * ParagraphParameters.h: forward declare ParameterStruct rather than
5897         including its header file.
5898         (depth): moved out-of-line.
5899
5900 2003-09-06  Angus Leeming  <leeming@lyx.org>
5901
5902         * BufferView_pimpl.h:
5903         * kbmap.h:
5904         * kbsequence.h:
5905         * lyxfunc.h: forward declare LyXKeySym rather than
5906         #include "frontends/LyXKeySym.h".
5907
5908         * BufferView_pimpl.C:
5909         * kbmap.C:
5910         * kbsequence.C:
5911         * lyxfunc.C: associated changes.
5912
5913 2003-09-06  Angus Leeming  <leeming@lyx.org>
5914
5915         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5916         As a result, can remove the #include "insets/inset.h" from BufferView.h
5917
5918 2003-09-06  Angus Leeming  <leeming@lyx.org>
5919
5920         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5921         As a result, can remove the #include "insets/inset.h" from BufferView.h
5922
5923 2003-09-06  Angus Leeming  <leeming@lyx.org>
5924
5925         * buffer_funcs.C:
5926         * buffer.h:
5927         * bufferlist.C:
5928         * BufferView.C:
5929         * bufferview_funcs.C:
5930         * BufferView_pimpl.C:
5931         * CutAndPaste.C:
5932         * lyx_cb.C:
5933         * lyxfunc.C:
5934         * paragraph.h:
5935         * ParagraphParameters.C:
5936         * tabular.C:
5937         * text3.C:
5938         * toc.C:
5939         * undo_funcs.C:
5940         * frontends/controllers/ControlDocument.C:
5941         * insets/insetcaption.C: rearrange the #includes into some sort of
5942         coherent order.
5943
5944         * buffer.h: remove #includes ErrorList.h, undo.h
5945
5946 2003-09-06  Angus Leeming  <leeming@lyx.org>
5947
5948         * support/types.h: add a 'depth_type' typedef, used to store the
5949         nesting depth of a paragraph.
5950
5951         * paragraph.h:
5952         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5953         defining explicitly.
5954
5955         * buffer.h:
5956         * paragraph_funcs.h:
5957         * ParagraphParameters.h:
5958         * sgml.h: use lyx::depth_type rather than Paragraph or
5959         ParameterStruct's depth_type.
5960
5961         * buffer.h
5962         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5963
5964         * BufferView.C:
5965         * BufferView_pimpl.C:
5966         * CutAndPaste.C:
5967         * ParagraphParameters.C:
5968         * buffer_funcs.C:
5969         * bufferlist.C:
5970         * bufferview_funcs.C:
5971         * lyx_cb.C:
5972         * lyxfunc.C:
5973         * tabular.C:
5974         * text3.C:
5975         * toc.C:
5976         * undo_funcs.C:
5977         * frontends/LyXView.C:
5978         * frontends/controllers/ControlDocument.C:
5979         * frontends/controllers/ControlErrorList.C:
5980         * insets/insetbibitem.C:
5981         * insets/insetbranch.C:
5982         * insets/insetcaption.C:
5983         * insets/insetcollapsable.C:
5984         * insets/insetenv.C:
5985         * insets/insetert.C:
5986         * insets/insetfloat.C:
5987         * insets/insetfoot.C:
5988         * insets/insetfootlike.C:
5989         * insets/insetnewline.C:
5990         * insets/insetquotes.C:
5991         * insets/insettabular.C:
5992         * insets/insettext.C:
5993         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5994
5995         * frontends/controllers/ControlChanges.C: #include "changes.h".
5996
5997 2003-09-06  Angus Leeming  <leeming@lyx.org>
5998
5999         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6000         than #including paragraph.h.
6001
6002         * ParagraphList.h:
6003         * RowList.h: deleted. Superfluous.
6004
6005         * CutAndPaste.h:
6006         * iterators.h:
6007         * lyxcursor.h:
6008         * lyxtext.h:
6009         * text_funcs.h:
6010         * undo.h:
6011         * undo_funcs.h:
6012         * insets/inset.h:
6013         * insets/insettext.h: use ParagraphList_fwd.h rather than
6014         ParagraphList.h.
6015
6016         * paragraph.h: don't forward declare ParagraphList.
6017
6018         * buffer.h:
6019         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6020         rather than ParagraphList.h. paragraph.h is still needed for the
6021         Paragraph::depth_type parameters.
6022
6023         * textcursor.h: enable it to compile stand-alone in light of the
6024         above changes.
6025
6026         * bufferview_funcs.C:
6027         * iterators.C:
6028         * lyxfunc.C:
6029         * lyxrow_funcs.C:
6030         * paragraph.C:
6031         * rowpainter.C:
6032         * text.C:
6033         * text2.C:
6034         * text3.C:
6035         * text_funcs.C:
6036         * textcursor.C:
6037         * undo.C:
6038         * frontends/controllers/ControlParagraph.C:
6039         * frontends/controllers/ControlTabular.C:
6040         * insets/insetmarginal.C:
6041         * insets/insetminipage.C:
6042         * insets/insetnote.C:
6043         * insets/insetoptarg.C: add header files needed to compile again.
6044
6045 2003-09-06  Angus Leeming  <leeming@lyx.org>
6046
6047         * RowList_fwd.h: new file, forward-declaring Row rather than
6048         #including lyxrow.h.
6049
6050         * lyxrow_funcs.h:
6051         * lyxtext.h:
6052         * paragraph.h:
6053         * insets/insettext.h: use it instead of RowList.h
6054
6055         * bufferview_funcs.C:
6056         * lyxfunc.C:
6057         * lyxrow_funcs.C:
6058         * paragraph.C:
6059         * rowpainter.C:
6060         * text.C:
6061         * text2.C:
6062         * text3.C: #include "RowList.h".
6063
6064 2003-09-05  Angus Leeming  <leeming@lyx.org>
6065
6066         * factory.C (createInset):
6067         * vspace.C (c-tor): replace sscanf call with an istringstream.
6068         * ispell.C: re-add missing HP/UX headers.
6069         * lyxserver.C: re-add missing  os2 headers.
6070
6071 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6072
6073         * BranchList.C:
6074         * graph.C:
6075         * ispell.C:
6076         * lastfiles.C:
6077         * lyx_cb.C:
6078         * lyxserver.C:
6079         * texrow.C:
6080         * text3.C: re-add missing system headers, needed for 2.95.2.
6081
6082 2003-09-05  Angus Leeming  <leeming@lyx.org>
6083
6084         Changes most place everywhere due to the removal of using directives
6085         from support/std_sstream.h.
6086
6087 2003-09-05  Angus Leeming  <leeming@lyx.org>
6088
6089         Replace LString.h with support/std_string.h,
6090         Lsstream.h with support/std_sstream.h,
6091         support/LIstream.h with support/std_istream.h,
6092         support/LOstream.h with support/std_ostream.h.
6093
6094         Changes resulting throughout the tree.
6095
6096 2003-09-05  Angus Leeming  <leeming@lyx.org>
6097
6098         * sgml.h: ensure that the header file can be compiled stand-alone.
6099         * *.C: strip out redundant #includes. (320 in total.)
6100
6101 2003-09-04  Angus Leeming  <leeming@lyx.org>
6102
6103         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6104         here (from getPackages).
6105
6106         * debug.[Ch]: add a new EXTERNAL tag.
6107
6108 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6109
6110         * text2.C (cursorEnd): simplify
6111         (setCursor): adjust
6112         (getColumnNearX): adjust
6113
6114         * text.C (computeBidiTables): adjust
6115         (fill): adjust
6116
6117         * rowpainter.C (paintChars): adjust
6118         (paintSelection): adjust
6119         (paintChangeBar): adjust
6120         (paintText): adjust
6121
6122         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6123         lastPos instead.
6124         (numberOfSeparators): adjust
6125
6126 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6127
6128         * LyXAction.C:
6129         * box.[Ch]:
6130         * lfuns.h:
6131         * lyxfunc.C:
6132         * text3.C: Restricts the mouse click functionality
6133         of insets like bibtex, include, toc and floatlist to the visible
6134         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6135         up the dialogs. Cursor has to be in front of the inset (i.e.
6136         start of row) for this to function.
6137
6138 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6139
6140         * bufferview_funcs.C (currentState): output row information
6141
6142 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6143
6144         * bufferview_funcs.C (currentState): output paragraph position
6145
6146 2003-09-04  Angus Leeming  <leeming@lyx.org>
6147
6148         * FloatList.h: move out #include "Floating.h".
6149         * LaTeX.h: move out #include "DepTable.h".
6150         * LyXAction.h: move out #include "funcrequest.h".
6151         * buffer.h: move out #include "author.h", "iterators.h".
6152         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6153         * lyx_main.h: move out #include "errorlist.h".
6154         * lyxfunc.h: move out #include "FuncStatus.h".
6155         * lyxtext: move out #include "lyxcursor.h".
6156         * paragraph_pimpl.h: move out #include "counters.h".
6157
6158 2003-09-03  Angus Leeming  <leeming@lyx.org>
6159
6160         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6161         preamble_snippets list, enabling us to add snippets to the preamble
6162         only if the snippet was not there already.
6163
6164 2003-09-04  Angus Leeming  <leeming@lyx.org>
6165
6166         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6167
6168 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6169
6170         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6171         update
6172
6173 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6174
6175         * BranchList.C: point fix, earlier forgotten
6176
6177 2003-09-02  Angus Leeming  <leeming@lyx.org>
6178
6179         * box.C (contains): renamed from 'contained' after a fantastic
6180         amount of hot air.
6181
6182 2003-09-02  John Levon  <levon@movementarian.org>
6183
6184         * BufferView.C:
6185         * lyxcursor.h:
6186         * lyxcursor.C:
6187         * lyxfunc.C:
6188         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6189
6190 2003-09-02  John Levon  <levon@movementarian.org>
6191
6192         * text2.C: simplification of cursorEnd(), including partial
6193         fix for bug 1376
6194
6195 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6196
6197         * buffer.C (readFile): add a space
6198
6199 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6200
6201         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6202
6203 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6204
6205         * buffer.C (readFile): new function, take a filename and a
6206         ParagraphList::iterator
6207         (readFile): adjust
6208         (readFile): adjust, make it private. don't use setStream, make
6209         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6210         always contain the filename.
6211
6212         * BufferView.C (insertLyXFile): simplify and make it work for
6213         gzipped files.
6214
6215 2003-08-30  John Levon  <levon@movementarian.org>
6216
6217         * Makefile.am: fix dist (from Kayvan)
6218
6219 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6220
6221         * most files: change to use const Buffer refs
6222
6223 2003-08-27  André Pönitz  <poenitz@gmx.net>
6224
6225         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6226         on top of ownerPar().
6227
6228 2003-08-27  John Levon  <levon@movementarian.org>
6229
6230         * funcrequest.C: properly initialise POD members
6231
6232 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6233
6234         * lyxtext.h (top_y): move top_y from here
6235         * text.C:
6236         * text2.C:
6237         * text3.C:
6238         * BufferView.[Ch]:
6239         * BufferView_pimpl.[Ch]: to here
6240         * frontends/screen.C:
6241         * insets/insettabular.C:
6242         * insets/insettext.C: adjust
6243         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6244
6245 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6246
6247         * BufferView.[Ch]:
6248         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6249
6250 2003-08-26  André Pönitz  <poenitz@gmx.net>
6251
6252         * paragraph_func.[Ch] (outerPar): new function
6253
6254         * paragraph.C:
6255         * paragraph_funcs.C:
6256         * paragraph_funcs.h:
6257         * paragraph_pimpl.C:
6258         * text2.C: remove Inset::par_owner
6259
6260 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6261
6262         * lyxrow_funcs.C:
6263         * lyxtext.h:
6264         * text.C:
6265         * text2.C: eliminates the needFullRow/display() stuff
6266         altogether, putting the logic in metrics/draw in the insets.
6267
6268 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6269
6270         * text2.C (redoParagraphInternal, redoParagraphs):
6271         * text.C (redoParagraph): add a call to updateRowPositions at the
6272         end of each 'metrics-like' call. Remove all others.
6273         (getRow): remove the 'y-computing' version.
6274         (getRowNearY): do not compute nor return the real y. Solve the
6275         'y < 0' problem and simplify.
6276
6277 2003-08-22  Angus Leeming  <leeming@lyx.org>
6278
6279         * *.[Ch]: clean-up of licence and author blurbs.
6280         Also move config.h out of a few .h files and into a few .C files.
6281
6282 2003-08-22  André Pönitz  <poenitz@gmx.net>
6283
6284         * lyxrow.[Ch]: add x_ and *fill_ members
6285
6286         * lyxtext.h:
6287         * text.C:
6288         * rowpainter.C:
6289         * text2.C: adjust/remove prepareToPrint() calls
6290
6291 2003-08-22  André Pönitz  <poenitz@gmx.net>
6292
6293         * lyxrow.[Ch]: add  end_ member
6294
6295         * lyxrow_funcs.C: use LyXRow::end_
6296
6297         * lyxtext.h (singleWidth): add LyXFont parameter
6298
6299         * rowpainter.C:
6300         * text2.C: adjust LyXText::singleWidth() calls
6301
6302         * text.C (redoParagraph): simplify row breaking logic
6303
6304
6305 2003-08-19  André Pönitz  <poenitz@gmx.net>
6306
6307         * funcrequest.C: initialize button_ member
6308
6309         * text3.C:
6310         * rowpainter.[Ch]: interface consolidation
6311
6312 2003-08-18  André Pönitz  <poenitz@gmx.net>
6313
6314         * BufferView.C:
6315         * BufferView_pimpl.C:
6316         * lyxfind.C:
6317         * paragraph_funcs.C:
6318         * rowpainter.C:
6319         * text3.C: remove LyXScreen::draw() and fitCursor calls
6320
6321         * BranchList.h: remove spurious semicolons
6322
6323         * MenuBackend.C: fix branchlist related crash
6324
6325 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6326
6327         * BranchList.[Ch]:
6328         * InsetList.[Ch]:
6329         * LColor.[Ch]:
6330         * LyXAction.C:
6331         * Makefile.am:
6332         * MenuBackend.[Ch]:
6333         * bufferparams.[Ch]:
6334         * factory.C:
6335         * lfuns.h:
6336         * lyxfunc.C:
6337         * text3.C: implements the 'branch inset'
6338         idea. This allows the output of various versions of a document
6339         from a single source version, selectively outputing or suppressing
6340         output of parts of the text.
6341         This implementation contains a 'branch list editor' in a separate
6342         tab of the document settings dialog. Branches are user definable
6343         and have a "display colour" to distinguish them on-screen.
6344
6345         ColorHandler was somewhat cleaned up.
6346         (1) make possible a dynamically growing LColor list by allowing
6347         the graphic context cache to grow along (vector);
6348         (2) eliminate an IMHO unnecessary step in colour allocation.
6349
6350 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6351
6352         * BufferView_pimpl.C: compile fix
6353
6354 2003-08-15  André Pönitz  <poenitz@gmx.net>
6355
6356         * rowpainter.C: remove extra metrics calls
6357
6358         * lyxtext.h: merge the two constructors into a single one,
6359           pass reference to owner's par list
6360
6361         * BufferView_pimpl.C:
6362         * text.C:
6363         * text2.C: adjust
6364
6365 2003-08-15  André Pönitz  <poenitz@gmx.net>
6366
6367         * lyxrow_funcs.[Ch]:
6368         * lyxtext.h:
6369         * paragraph.h:
6370         * paragraph_funcs.C:
6371         * rowpainter.C:
6372         * text.C:
6373         * text2.C:
6374         * text3.C:
6375         * text_funcs.C: split LyXText::rowlist_ into individual
6376         Paragraph::rows_ chunks
6377
6378         * BufferView.[Ch]:
6379         * BufferView_pimpl.[Ch]:
6380         * lyxfind.C:
6381         * lyxtext.h:
6382         * text3.C: remove toggleSelection()
6383
6384 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6385
6386         * bufferlist.C: beautify two alerts (shorter text of buttons)
6387         * buffer.C: Remove redundant ' ' from message
6388         * tabular.h:
6389         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6390         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6391         rename VALIGN_CENTER to VALIGN_MIDDLE
6392
6393 2003-08-11  André Pönitz  <poenitz@gmx.net>
6394
6395         * lyxtext.h (getPar):
6396         * text.C: new function
6397
6398 2003-08-11  André Pönitz  <poenitz@gmx.net>
6399
6400         * Makefile.am:
6401         * tracer.[Ch]: remove unneeded files
6402
6403         * InsetList.[Ch]: remove resizeInsetsLyXText()
6404
6405         * lyxtext.h:
6406         * text.C:
6407         * text2.C:
6408         * text3.C: merge insertParagraphs() and appendParagraph()
6409         remove breakAgain(), update()
6410
6411         * BufferView_pimpl.[Ch]:
6412         * bufferview_funcs.[Ch]:
6413         * lyxfunc.C:
6414         * paragraph.[Ch]:
6415         * rowpainter.C:
6416         * tabular.C: adjust after text & InsetList changes.
6417
6418 2003-08-08  André Pönitz  <poenitz@gmx.net>
6419
6420         * text.C (insertChar, backspace): replace rowlist fiddling
6421         with rebreak of full par
6422
6423         * lyxtext.h:
6424         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6425         checkParagraph, updateInset): removed
6426
6427 2003-08-07  André Pönitz  <poenitz@gmx.net>
6428
6429         * paragraph.C:
6430         * text3.C: merge some LFUN handlers, remove dead code
6431
6432 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6433
6434         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6435
6436 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6437
6438         * text2.C (DEPM): fix part of bug 1255 and 1256
6439
6440 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6441
6442         * BufferView_pimpl.C (workAreaDispatch): change to use
6443         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6444         that are no mouse related.
6445
6446 2003-08-05  André Pönitz  <poenitz@gmx.net>
6447
6448         * BufferView.[Ch]:
6449         * BufferView_pimpl.[Ch]:
6450         * bufferview_funcs.C:
6451         * text2.C:
6452         * text3.C: rip out "deep update"
6453
6454         * textcursor.[Ch] (last_sel_cursor): remove unused member
6455
6456 2003-08-04  André Pönitz  <poenitz@gmx.net>
6457
6458         * BufferView.[Ch]:
6459         * BufferView_pimpl.[Ch]:
6460         * ParagraphParameters.C:
6461         * bufferview_funcs.C:
6462         * lyx_cb.C:
6463         * lyxfind.C:
6464         * lyxfunc.C:
6465         * text.C:
6466         * text2.C:
6467         * text3.C: replace "complicated" BufferView::update(...) calls with
6468         simpler ones.
6469
6470         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6471
6472 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6473
6474         * Makefile.am (lyx_SOURCES): add paper.h
6475
6476 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6477
6478         * Makefile.am: move things around so that both lyx-qt and
6479         lyx-xforms can be built (according to --with-frontend). Then lyx
6480         is a symbolic link to lyx-[firstfrontend]
6481
6482 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6483
6484         * Always use std::endl with lyxerr
6485
6486 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6487
6488         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6489
6490 2003-08-01  André Pönitz  <poenitz@gmx.net>
6491
6492         * BufferView.[Ch]:
6493         * BufferView_pimpl.[Ch]:
6494         * lyxfunc.C:
6495         * text3.C: merge BufferView::repaint() and BufferView::update()
6496
6497 2003-08-01  José Matos  <jamatos@lyx.org>
6498
6499         * buffer.[Ch]: file_format is no longer a buffer data element.
6500
6501 2003-08-01  André Pönitz  <poenitz@gmx.net>
6502
6503         * BufferView.C:
6504         * lyxtext.h:
6505         * text.C:
6506         * text2.C: make redoParagraph more independent of current cursor
6507
6508         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6509         * text.C:
6510         * text2.C: remove unneeded members
6511
6512 2003-07-30  André Pönitz  <poenitz@gmx.net>
6513
6514         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6515
6516         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6517           create a single function...
6518
6519         * paragraph_funcs.C (moveItem): ... here.
6520
6521         * text.C:
6522           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6523
6524 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6525
6526         * LColor.[Ch]: Add comment and greyedout logical colors.
6527
6528 2003-07-30  André Pönitz  <poenitz@gmx.net>
6529
6530         * tabular.C: don't use Assert too heavily. This crashes where it
6531           shouldn't
6532
6533 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6534
6535         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6536         is disabled (bug 1232)
6537
6538 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6539
6540         * factory.C: limited 'arg' scope
6541
6542 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6543
6544         * factory.C: fixed Note submenu issues
6545
6546 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6547
6548         * factory.C: submenu for Note/Comment/Greyedout
6549
6550 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6551
6552         * lyx_main.C (LyX):
6553         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6554
6555 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6556
6557         * LaTeXFeatures.C:
6558         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6559         greyedout. Patch provided by Jürgen Spitzmüller.
6560
6561 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6562
6563         * kbmap.C (read): fix error message when reading bind files
6564
6565 2003-07-29  Angus Leeming  <leeming@lyx.org>
6566
6567         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6568         certainly does not do what it purports to do. I am doing it, and
6569         us, a favour by killing it.
6570
6571 2003-07-28  José Matos  <jamatos@lyx.org>
6572
6573         * buffer.C (readBody, do_writeFile):
6574         * paragraph.C(readParagraph): \end_document replaces \the_end.
6575
6576 2003-07-29  André Pönitz  <poenitz@gmx.net>
6577
6578         * BufferView.[Ch]:
6579         * BufferView_pimpl.[Ch]:
6580         * lyxfunc.C:
6581         * text2.C:
6582         * text3.C:
6583         * textcursor.[Ch]: remove toggleToggle & Co
6584
6585 2003-07-28  José Matos  <jamatos@fep.up.pt>
6586
6587         * buffer.C (readParagraph):
6588         * params_func (readParToken, readParagraph):
6589         * paragraph.C (write): \layout -> \begin_layout.
6590
6591 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6592
6593         * lyxlex_pimpl.C (setFile): clean up slightly.
6594
6595         * bufferparams.h: add compressed var
6596
6597         * buffer_funcs.C (readFile): adjust for LyXLex change
6598         (newFile): ditto + simplify
6599
6600         * buffer.C (writeFile): handle writing of compressed files
6601
6602         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6603         Check if the file is compressed and set a bufferparm if so.
6604
6605         * Makefile.am (lyx_LDADD): remove explicit -lz
6606
6607 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6608
6609         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6610         makeDocBookFile): put the real LyX version in the first line of
6611         the file
6612
6613         * version.h:
6614         * version.C.in: remove lyx_docversion
6615
6616         * tabular.C (write_attribute): add a template-based version to
6617         write enums properly
6618
6619 2003-07-28  André Pönitz  <poenitz@gmx.net>
6620
6621         * lyxtext.h:
6622         * text.C:
6623         * text2.C:
6624         * text3.C: use doubles again for x-coordinates. They are needed.
6625
6626 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6627
6628         * messages.C (getLocaleDir): use lyx_localedir()
6629
6630         * lyxlex_pimpl.C (setFile): compress stuff
6631
6632         * buffer.C (writeFile): add some compression stuff
6633         (do_writeFile): new func, dont call expliti close... will this
6634         breake anything?
6635
6636         * Makefile.am (lyx_LDADD): add -lz
6637
6638 2003-07-28  José Matos  <jamatos@fep.up.pt>
6639
6640         * buffer.C: increment file format.
6641         * paragraph_funcs (readParagraph, readParToken):
6642         * paragraph.C (readParagraph): add \end_layout.
6643
6644 2003-07-27  Angus Leeming  <leeming@lyx.org>
6645
6646         * Makefile.am: remove special casing for configure-time setting of
6647         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6648
6649         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6650         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6651
6652 2003-07-26  André Pönitz  <poenitz@gmx.net>
6653
6654         * paragraph_func.[Ch]:
6655         * paragraph.C (realizeFont): inline it whereever it is used
6656
6657         * rowpainter.C:
6658         * text.C:
6659         * text2.C:
6660         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6661
6662
6663 2003-07-26  André Pönitz  <poenitz@gmx.net>
6664
6665         *       lyxtext.h:
6666         * text.C:
6667         * text2.C: get rid of LyXText::need_break_row
6668
6669 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6670
6671         * toc.[Ch]: put namespace toc inside namespace lyx
6672
6673         * MenuBackend.C (expandToc2): adjust for lyx::toc
6674         (expandToc): ditto
6675
6676         * lyxfunc.C (dispatch): adjust for lyx::find
6677
6678         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6679         lyx::find instead. Reorganize a bit.
6680         (LyXReplace): rename to replace
6681         (LyXFind): rename to find
6682
6683         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6684         (dispatch): ditto
6685
6686 2003-07-26  André Pönitz  <poenitz@gmx.net>
6687
6688         * text.C (setHeightOfRow): restrict scope of temporary variable
6689
6690         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6691           code (never has been used?)
6692
6693 2003-07-27  Asger Alstrup  <alstrup@local>
6694
6695         * text.C (fill): Optimise algorithm to exploit that we can reuse
6696         the LyXFont for many characters.
6697         (setHeightOfRow): Same thing.
6698         (rowBreakPoint): Same thing.
6699
6700 2003-07-26  Asger Alstrup  <alstrup@local>
6701
6702         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6703
6704         * text.C (singleWidth): Spurious font copying in hot-spot
6705         singleWidth avoided. Reorder tests for arabic for efficiency.
6706
6707         * text.C (fill): handle empty paragraphs better.
6708
6709 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6710
6711         * ispell.C:
6712         * encoding.h: add includes
6713
6714         * lyxrc.C: remove reading of bind files
6715
6716         * lyx_main.C (init): setup bindings and menus only if we have a
6717         gui.
6718
6719         * kbmap.C (read): new method. Do the actual reading of bind
6720         files.
6721
6722         * converter.C (dvipdfm_options):
6723         * bufferparams.C:
6724         * lyxrc.C (read):
6725         (output): adapt PAPER_* enums.
6726
6727         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6728
6729         * bufferparams.h: remove paper-related enums from there
6730
6731         * paper.h: New file. A trivial header file to hold paper-related
6732         enums. It should later expand to contain many paper-related
6733         horrors access.
6734
6735         * lyxrc.C: declare extern displayTranslator
6736
6737 2003-07-27  José Matos  <jamatos@fep.up.pt>
6738
6739         * tabular.[Ch] (linuxdoc): add support for tables and figures
6740         (linuxdoc).
6741
6742 2003-07-27  José Matos  <jamatos@fep.up.pt>
6743
6744         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6745         consistency in both functions.
6746         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6747
6748 2003-07-26  Asger Alstrup  <alstrup@local>
6749
6750         * rowpainter.C (paintRows): Change algorithm to work directly on
6751         the insets rather than asking every character in the document
6752         whether its an inset.
6753
6754 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6755
6756         * buffer.C (openFileWrite): factorize some code
6757
6758 2003-07-26  Angus Leeming  <leeming@lyx.org>
6759
6760         * lyx_cb.C:
6761         * lyx_main.[Ch]: replace occurances of system_tempdir with
6762         os::getTmpDir().
6763
6764 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6765
6766         * rename Inset to InsetOld
6767
6768 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6769
6770         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6771         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6772         which I think is a bit clearer. EDIT is gone, since it was
6773         premature optimisation, and broken for mathed anyway.
6774         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6775         with cursor positioning in insets as well (math insets still do not
6776         work, but that's a different story anyway.) It mysteriously
6777         crashes sometimes with undo in the first paragraph, but I'm fairly
6778         confident that this is a compiler bug.
6779
6780 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6781
6782         * paragraph.C (Paragraph): adjust for new clone return type
6783         (operator==): ditto
6784         (copyIntoMinibuffer): ditto
6785
6786 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6787
6788         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6789         by not having a special case, and always doing a full rebreak of
6790         the document after undo.
6791
6792 2003-07-23  Angus Leeming  <leeming@lyx.org>
6793
6794         * factory.C (createInset): InsetExternal::setParams now takes a
6795         Buffer const * arg.
6796
6797 2003-07-23  Angus Leeming  <leeming@lyx.org>
6798
6799         * factory.C (createInset): changed interface to the external and
6800         graphics mailers' string2params functions.
6801
6802 2003-07-23  Angus Leeming  <leeming@lyx.org>
6803
6804         * factory.C (createInset): pass a
6805         Buffer const * parameter to InsetExternalMailer's string2params.
6806
6807 2003-07-22  John Levon  <levon@movementarian.org>
6808
6809         * Thesaurus.h: include the right aiksaurus header
6810
6811 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6812
6813         * MenuBackend.C (expand): check menu shortcuts unconditionally
6814
6815 2003-07-21  Angus Leeming  <leeming@lyx.org>
6816
6817         * factory.C (createInset): pass a
6818         buffer_path parameter to InsetGraphicsMailer's string2params.
6819
6820 2003-07-21  Angus Leeming  <leeming@lyx.org>
6821
6822         * BufferView_pimpl.C (buffer):
6823         * buffer.C (d-tor):
6824         * lyx_main.C (LyX):
6825         * lyxfunc.C (dispatch):
6826         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6827         rather than the grfx shortcut.
6828
6829 2003-07-21  André Pönitz  <poenitz@gmx.net>
6830
6831         * rowpainter.C: remove unused variables
6832
6833         * tabular_funcs.C:
6834         * tabular_funcs.h: move to tabular.C
6835         * Makefile.am: adjust
6836
6837         * tabular.[Ch]: basic optical cleaning
6838
6839         * author.h: pass references, not values
6840
6841 2003-07-18  André Pönitz  <poenitz@gmx.net>
6842
6843         * lyxtext.h:
6844         * metricsinfo.C:
6845         * metricsinfo.h:
6846         * rowpainter.C:
6847         * text.C:
6848         * text2.C:
6849         * text3.C: two-phase drawing for InsetText and InsetTabular
6850         some float -> int changes.
6851
6852 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6853
6854         * lyx_main.C: fix the fix
6855
6856 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6857
6858         * lyx_main.C: fix a crash in batch mode if no files specified
6859         * converter.C: ws
6860
6861 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6862
6863         * format.[Ch] (papersize): moved to BufferParams
6864         * converter.[Ch] (dvips_options): moved to BufferParams
6865         (dvipdfm_options): moved to anon namespace
6866         * bufferparams.[Ch]: added above functions.
6867
6868 2003-07-17  André Pönitz  <poenitz@gmx.net>
6869
6870         * lyxtext.h:
6871         * rowpainter.C:
6872         * text2.C: don't call inset->update() anymore
6873
6874         * metricsinfo.[Ch]: add convenience constructor
6875
6876 2003-07-16  André Pönitz  <poenitz@gmx.net>
6877
6878         * lyxcursor.[Ch]:
6879         * lyxfunc.[Ch]:
6880         * text.C:
6881         * text2.C: replace the LyXCursor::irow_ member with
6882          on-demand computation of the value
6883
6884 2003-07-16  John Levon  <levon@movementarian.org>
6885
6886         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6887
6888 2003-07-15  André Pönitz  <poenitz@gmx.net>
6889
6890         * text.C:
6891         * text2.C: remove no more needed refresh_row
6892
6893 2003-07-15  André Pönitz  <poenitz@gmx.net>
6894
6895         * lyxtext.h:
6896         * rowpainter.C:
6897         * text2.C:
6898         * text3.C: refresh_status tristate -> need_update bool
6899
6900 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6901
6902         * lyxtext.h (init): remove reinit argument (act as if always true)
6903         * text2.C: adjust to that
6904
6905 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6906
6907         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6908         * text3.C: use it to delete selections in some cases
6909         (bugs 441, 673, 702, 954).
6910
6911 2003-07-14  André Pönitz  <poenitz@gmx.net>
6912
6913         * rowpainter.[Ch]: reduce interface
6914
6915 2003-07-14  André Pönitz  <poenitz@gmx.net>
6916
6917         * BufferView_pimpl.C:
6918         * text2.C: adjust after removing unused BufferView * argument
6919
6920 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6921
6922         * text2.C (init): fix a crash fired on resize
6923
6924 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6925
6926         * buffer.[Ch]: added new closing signal
6927         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6928         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6929         BufferView::Pimpl via the closing the signal
6930
6931 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6932
6933         * buffer.[Ch]: take out all bv-related from buffer
6934         * BufferView.C:
6935         * BufferView_pimpl.[Ch]: connect to new signals
6936         * CutAndPaste.C: removed useless asserts
6937         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6938         * lyxvc.[Ch]:
6939         * vc-backend.[Ch]:
6940         * lyxfunc.C: moved view-related funciontality from vc here
6941         * paragraph.C: removed outdated comments
6942         * text.C: ws
6943
6944 2003-07-10  André Pönitz  <poenitz@gmx.net>
6945
6946         * BufferView_pimpl.C:
6947         * tabular.h:
6948         * tabular_funcs.C:
6949         * text.C:
6950         * text2.C: remove InsetText::InnerCache, clean up consequences
6951
6952 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6953
6954         * ispell.C: fix two typos in error messages
6955
6956 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6957
6958         * Extend Note inset to other forms of annotation like Comment
6959         and Greyedout. Right button click gives dialog.
6960
6961         Files modified or added (+):
6962
6963         * insetnote.[Ch]
6964         * FormNote.[Ch]      +
6965         * ControlNote.[Ch]   +
6966         * form_note.fd       +
6967         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6968         frontends/controllers
6969         * xforms/Dialogs.C
6970         * factory.C
6971
6972 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6973
6974         * aspell.C: add missing namespace lyx::support
6975
6976 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6977
6978         * BufferView.[Ch] (newFile): Add
6979         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6980         * LaTeX.[Ch] (message): added this signal and use it
6981         * buffer.[Ch] (busy, message): added these signals and use them
6982         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6983         * converter.C:
6984         * exporter.C:
6985         * format.C:
6986         * importer.C: use buffer signals instead of direct bv calling
6987         * lyx_cb.[Ch] (ShowMessage): removed
6988         * lyx_main.C:
6989         * lyxfunc.C:
6990         * paragraph_funcs.C:
6991         * text2.C: use buffer signals
6992
6993 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6994
6995         * introduce namespace lyx::graphics
6996
6997 2003-07-02  André Pönitz  <poenitz@gmx.net>
6998
6999         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7000
7001 2003-07-01  André Pönitz  <poenitz@gmx.net>
7002
7003         * text.C:
7004         * text2.C:
7005         * text3.C:
7006         * text_funcs.[Ch]:
7007         * textcursor.h:
7008         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7009           text*.C to text_func.C
7010
7011 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7012
7013         * introduce namespace lyx::support
7014
7015 2003-06-30  André Pönitz  <poenitz@gmx.net>
7016
7017         * Chktex.C:
7018         * funcrequest.C:
7019         * lyxtext.h:
7020         * text.C: re-enable --with-included-string
7021
7022 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7023
7024         * textcursor.C: add <config.h>
7025
7026         * text.C (getWord): remove const from word_location arg
7027
7028         * lyxvc.C (getLogFile): fix const type order
7029
7030         * lyxtext.h: remove const from word_location arg, add arg name
7031
7032         * lyxlayout.h: currect type on labeltype.
7033
7034         * importer.C: correct \file
7035
7036         * converter.C (intToFormat): use std:: on ret val, ws changes
7037
7038         * bufferlist.h: correct \file
7039
7040         * buffer.C (makeLinuxDocFile): fix const type order
7041         (makeDocBookFile): ditto
7042         (fillWithBibKeys): use std:: on stdlib args.
7043
7044         * CutAndPaste.C: fix authors.
7045         (availableSelections): use std:: on return vector
7046
7047 2003-06-27  André Pönitz  <poenitz@gmx.net>
7048
7049         * BufferView_pimpl.C:
7050         * bufferview_funcs.C:
7051         * lyxcursor.C:
7052         * lyxcursor.h:
7053         * lyxfunc.C:
7054         * lyxtext.h:
7055         * rowpainter.C:
7056         * text.C:
7057         * text2.C:
7058         * text3.C: remove LyXCursor::row_ member
7059
7060         * lyxtext.h:
7061         * text.C: rename fullRebreak() to partialRebreak() and implement
7062           a fullRebreak() that really bereks fully
7063
7064         * textcursor.h: new struct for cursor-related data
7065
7066 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7067
7068         * lyx_main.C (LyX): get full path of document loaded on the
7069         command line
7070
7071 2003-06-26  André Pönitz  <poenitz@gmx.net>
7072
7073         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7074           remove unused/broken operator>,<,>=.
7075
7076         *       text.C: remove only use of broken operator<= in an Assert().
7077
7078 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7079
7080         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7081         moved errorlist_.clear to showErrorList
7082
7083 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7084
7085         * converter.C (scanLog, runLaTeX):
7086         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7087         move the bv->showErrorList call to the callers
7088         * lyxfunc.C: i.e. here...
7089         * text2.C: and here
7090         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7091         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7092         namespace, the second to...
7093         * buffer_funcs (BufferFormat, parseErrors): added
7094         * errorlist.C (ErrorList(TeXErrors const &)): removed
7095
7096 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7097
7098         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7099
7100 2003-06-24  "Garst R. Reese" <reese@isn.net>
7101
7102         * debug.C: fix typo
7103
7104 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7105
7106         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7107
7108         * version.C.in: change docversion to 1.4
7109
7110 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7111
7112         * buffer.C: fix a bug just introduced
7113
7114 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7115
7116         * buffer.[Ch]: added the parseError signal and use it, removed
7117         sgmlError
7118         * BufferView.[Ch] (addError): moved to ...
7119         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7120         to the Buffer::parseError signal to catch (guess what) parse errors
7121         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7122
7123 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7124
7125         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7126         ability to create a buffer and to return an existing one from
7127         the list. Moved these functions to...
7128         * buffer_funcs.[Ch]: added
7129         * BufferView.[Ch] (loadLyXFile): added
7130         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7131         job removed from bufferlist::loadLyXFile.
7132         * buffer.C (setReadOnly): make it work without view
7133         (i.e added an if (users))
7134
7135 2003-06-19  Angus Leeming  <leeming@lyx.org>
7136
7137         * lfuns.h:
7138         * LyXAction.C (init):
7139         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7140         with LFUN_DIALOG_SHOW <name> <data>.
7141
7142 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7143
7144         * CutAndPaste.C (availableSelections): small compilation fix for
7145         ancient (gcc 2.9x) compilers
7146
7147 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7148
7149         * text3.C (cursorNext): add tmp var
7150
7151         * text2.C (updateCounters): for function calling out of for clause
7152         (replaceSelectionWithString): ditto
7153         (insertStringAsParagraphs): ditto
7154         (getColumnNearX): add tmp var
7155         (setCursorFromCoordinates): add tmp var
7156         (cursorDownParagraph): add tmp var
7157         (deleteEmptyParagraphMechanism): add tmp var
7158
7159         * text.C (insertChar): add tmp var
7160
7161         * rowpainter.C (paintDepthBar): add tmp var
7162
7163         * CutAndPaste.C (availableSelections): potentially check all
7164         paragraphs in a cut to fill the shown strings.
7165
7166 2003-06-18  André Pönitz  <poenitz@gmx.net>
7167
7168         * kbmap.[Ch]: use vector<> instead of list<>
7169
7170 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7171
7172         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7173         pasteSelection with index
7174
7175         * text2.C (pasteSelection): modify, call pasteSelection with index
7176
7177         * paragraph.C (asString): reimplement version with no interval to
7178         call the one with interval.
7179
7180         * lyxtext.h: add index arg to pasteSelection
7181
7182         * MenuBackend.C (MenuItem): handle PasteRecent
7183         (Menu::read::Menutags): add md_pasterecent
7184         (read): handle it
7185         (expandPasteRecent): new function
7186         (expand): use it
7187
7188         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7189
7190         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7191         the limited stack
7192         (availableSelections): new function
7193
7194 2003-06-17  Angus Leeming  <leeming@lyx.org>
7195
7196         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7197
7198 2003-06-17  Angus Leeming  <leeming@lyx.org>
7199
7200         * lfuns.h:
7201         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7202
7203         * lyxfunc.C (dispatch): invoke it.
7204
7205 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7206
7207         * iterators.C (operator++, ParPosition): reintroduce some
7208         const_cast for the benefit of older compilers.
7209
7210 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7211
7212         * text3.C (dispatch): do not modify clipboard when doing
7213         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7214         LFUN_DELETE_SKIP on a selection selection
7215
7216 2003-06-16  André Pönitz  <poenitz@gmx.net>
7217
7218         * BufferView.C:
7219         * buffer.C:
7220         * buffer.h:
7221         * paragraph.C:
7222         * tabular.[Ch]: IU of clone() and getLabelList();
7223
7224 2003-06-13  André Pönitz  <poenitz@gmx.net>
7225
7226         * tabular.h: compactification
7227
7228 2003-06-12  André Pönitz  <poenitz@gmx.net>
7229
7230         * tabular.C:
7231         * tabular.h:
7232         * tabular_funcs.h: some renaming plus whitespace
7233
7234 2003-06-12  André Pönitz  <poenitz@gmx.net>
7235
7236         * BufferView.C:
7237         * BufferView_pimpl.C:
7238         * CutAndPaste.C:
7239         * buffer.C:
7240         * iterators.[Ch]:
7241         * lyxfunc.C:
7242         * text.C:
7243         * toc.C: Return a Paragraph & for ParIterator::operator*()
7244
7245 2003-06-11  John Levon  <levon@movementarian.org>
7246
7247         * lyx_main.C:
7248         * ToolbarBackend.h:
7249         * ToolbarBackend.C: add "Toolbars" section and
7250         put the flags there
7251
7252 2003-06-10  Angus Leeming  <leeming@lyx.org>
7253
7254         * lfuns.h:
7255         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7256
7257         * lyxfunc.C (dispatch): invoke it.
7258
7259 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7260
7261         * main.C: protect <ios> with HAVE_IOS
7262         (main): protect sync_with_stdio with HAVE_IOS
7263
7264 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7265
7266         * text2.C (cutSelection): adjust
7267         (pasteSelection): adjust
7268
7269         * messages.C: handle get of empty string
7270
7271         * main.C (main): use sync_with_stdio(false)
7272
7273         * lyxfunc.C (dispatch): adjust
7274
7275         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7276         (WriteAs): remove unneeded BufferView arg.
7277
7278         * bufferparams.h: use correct types on papersize, papersize2 and
7279         paperpackage.
7280
7281         * bufferparams.C (readToken): adjust for type
7282         (writeLaTeX): add missing cases to switch.
7283
7284         * bufferlist.C (quitWriteBuffer): adjust
7285         (close): adjust
7286
7287         * buffer.C (asciiParagraph): remove some commented code.
7288
7289         * CutAndPaste.C: remove current_view extern variable.
7290         (cutSelection): add BufferParams arg.
7291         (eraseSelection): add BufferParams arg.
7292         (pasteSelection): add Buffer const & arg
7293
7294 2003-06-07  John Levon  <levon@movementarian.org>
7295
7296         * buffer.C:
7297         * paragraph_funcs.C:
7298         * paragraph_pimpl.C:
7299         * text.C:
7300         * text2.C:
7301         * paragraph.h:
7302         * paragraph.C: allow InsetERT to freely space lines,
7303         and some consolidation of code
7304
7305 2003-06-06  José Matos  <jamatos@fep.up.pt>
7306
7307         * buffer.C (makeDocBookFile): fix bug #821
7308
7309 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7310
7311         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7312
7313 2003-06-04  Angus Leeming  <leeming@lyx.org>
7314
7315         * buffer.C: bump format to 224.
7316
7317 2003-06-05  André Pönitz  <poenitz@gmx.net>
7318
7319         * text2.C (redoParagraphs): remove two const_cast<>
7320
7321 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7322
7323         * ParagraphList.h: remove last remnants of NO_STD_LIST
7324
7325 2003-06-03  Angus Leeming  <leeming@lyx.org>
7326
7327         * factory.C (createInset): small change to the way InsetExternal's params
7328         are set.
7329
7330 2003-06-04  André Pönitz  <poenitz@gmx.net>
7331
7332         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7333
7334         * paragraph_pimpl.h:
7335         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7336
7337         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7338
7339         * undo_funcs.C: make some simple cases of undo work again
7340
7341 2003-06-03  John Levon  <levon@movementarian.org>
7342
7343         * ispell.C: HPUX doesn't have sys/select.h
7344         (from Albert Chin)
7345
7346 2003-06-03  John Levon  <levon@movementarian.org>
7347
7348         * CutAndPaste.C: update tabular and include inset
7349         buffer references
7350
7351         * buffer.h:
7352         * paragraph.h:
7353         * paragraph.C: remove owningBuffer(), don't pass Buffer
7354         to clone()
7355
7356         * factory.C: insetGraphicsParams changed
7357
7358 2003-06-02  John Levon  <levon@movementarian.org>
7359
7360         * LyXAction.C:
7361         * factory.C:
7362         * lfuns.h:
7363         * lyxfunc.C:
7364         * text3.C: remove insetparent
7365
7366 2003-06-02  John Levon  <levon@movementarian.org>
7367
7368         * buffer.h:
7369         * buffer.C: fix inset_iterator.end(), move out of line
7370         (bug 1149)
7371
7372 2003-06-01  John Levon  <levon@movementarian.org>
7373
7374         * text3.C: use a proper cut/paste when doing inset
7375         insert (from Jürgen Spitzmüller)
7376
7377 2003-06-01  John Levon  <levon@movementarian.org>
7378
7379         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7380
7381 2003-05-30  André Pönitz  <poenitz@gmx.net>
7382
7383         * rowpainter.C: unify second drawing phase
7384
7385 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7386
7387         * trans_mgr.C: remove one case of current_view
7388
7389         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7390
7391         * paragraph_funcs.h: remove paragraph.h include
7392
7393         * paragraph.h: delete NO_STD_LIST stuff
7394
7395         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7396
7397         * buffer.h: remove paragraph.h include
7398
7399         * ParagraphList.C: delete file
7400
7401         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7402
7403         * toc.C (getTocList): adjust
7404
7405         * paragraph_pimpl.C (validate): adjust
7406
7407         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7408
7409         * paragraph.C (Paragraph): adjust
7410         (getPositionOfInset): use const_iterator, adjust
7411         (bibitem): use const_iterator, adjust
7412         (setInsetOwner): adjust
7413
7414         * iterators.C (operator++): adjust
7415
7416         * InsetList.[Ch]: Replace selfmade iterator with standard
7417         vector::iterator also introduce const_iterator. Remove getPos,
7418         getInset and setInset from InsetTable. Adjust accordingly.
7419
7420         * BufferView.C (lockInset): adjust
7421         (ChangeInsets): adjust
7422
7423         * tabular.[Ch]: delete commented same_id functions
7424
7425 2003-05-28  John Levon  <levon@movementarian.org>
7426
7427         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7428
7429 2003-05-28  André Pönitz  <poenitz@gmx.net>
7430
7431         * metricsinfo.[Ch]: remove 'fullredraw' member
7432
7433 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7434
7435         * lyxtextclass.C (operator): remove caching.
7436
7437 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7438
7439         * text3.C: adjust
7440
7441         * text2.C (cursorBottom): adjust
7442         (setCounter): use ParagraphList::find, adjust
7443
7444         * text.C (workWidth): use ParagraphList::find, adjust
7445
7446         * lyxcursor.C (LyXCursor): adjust
7447
7448         * buffer.C (inset_iterator): adjust
7449
7450         * ParagraphList.h: make iterator(value_type) private, make
7451         ParagraphList a friend of iterator.
7452
7453         * ParagraphList.C (find): new function
7454
7455         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7456
7457 2003-05-27  André Pönitz  <poenitz@gmx.net>
7458
7459         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7460
7461 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7462
7463         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7464
7465 2003-05-26  John Levon  <levon@movementarian.org>
7466
7467         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7468
7469 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7470
7471         * remove same_id from function signatures, adjust.
7472
7473 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7474
7475         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7476
7477         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7478
7479         * paragraph.C (Paragraph): get rid of same_ids parameter
7480
7481         * ParagraphList.C (insert): adjust
7482         (push_back): adjust
7483
7484 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7485
7486         * paragraph_funcs.C (breakParagraph): adjust
7487         (breakParagraphConservative): adjust
7488
7489         * buffer.C (readParagraph): adjust
7490
7491         * ParagraphList.C (insert): take a reference instead of a pointer
7492         (insert): adjust
7493
7494         * paragraph.[Ch] (id): new function
7495
7496         * bufferlist.C (newFile): adjust
7497
7498         * ParagraphList.C (ParagraphList): adjust
7499         (assign): adjust
7500         (push_back): take a reference instead of a pointer.
7501
7502         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7503
7504         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7505         instead.
7506
7507         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7508         set else use old code.
7509
7510         * ParagraphList.C: remove all NO_NEXT code and only compile this
7511         code of NO_STD_LIST is set.
7512
7513 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7514
7515         * BufferView_pimpl.C:
7516         * TextCache.C:
7517         * TextCache.h:
7518         * bufferlist.C:
7519         * errorlist.h:
7520         * format.C:
7521         * format.h:
7522         * graph.C:
7523         * lyxfunc.C:
7524         * lyxrc.C:
7525         * graphics/GraphicsConverter.C:
7526         * graphics/PreviewLoader.C: header adjustment
7527
7528 2003-05-23  Angus Leeming  <leeming@lyx.org>
7529
7530         * LaTeXFeatures.[Ch] (useBabel): new method.
7531         * bufferparams.C (writeLaTeX): use it.
7532
7533 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * ParagraphList.h (set): remove unused function.
7536
7537 2003-05-23  André Pönitz  <poenitz@gmx.net>
7538
7539         * BufferView.C:
7540         * BufferView_pimpl.C:
7541         * buffer.C:
7542         * buffer.h:
7543         * lyxfunc.C:
7544         * undo_funcs.C: setUndo reworked
7545
7546         * iterators.[Ch]: add access to topmost ParagraphList
7547
7548         * lyxtext.[Ch] (workWidth): add a const
7549
7550 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7551
7552         * texrow.[Ch] (increasePos): remove function
7553         * exporter.C (export): removed unused var and outdated comment
7554
7555 2003-05-23  Angus Leeming  <leeming@lyx.org>
7556
7557         * latexrunparams.h: rename fragile as moving_arg.
7558         * paragraph.C (simpleTeXOnePar): ditto.
7559         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7560
7561 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7562
7563         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7564         (createUndo): ditto
7565         (textUndoOrRedo): comment out a currently unused var.
7566
7567         * paragraph.h (NO_NEXT): enable NO_NEXT
7568
7569         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7570
7571         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7572
7573         * exporter.C (Export): adjust for removeAutoInsets removal.
7574
7575         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7576
7577         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7578
7579         * BufferView.[Ch] (removeAutoInsets): delete function
7580
7581 2003-05-22  Angus Leeming  <leeming@lyx.org>
7582
7583         * latexrunparams.h: add a free_spacing variable.
7584
7585         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7586         to pass moving_arg, as the data is stored in runparams.fragile.
7587
7588         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7589         to Inset::latexOptional or to simpleTeXOnePar.
7590
7591         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7592         free_spacing arg to Inset::latexOptional.
7593
7594         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7595         free_spacing arg.
7596
7597 2003-05-22  Angus Leeming  <leeming@lyx.org>
7598
7599         * latexrunparams.h: add fragile and use_babel variables.
7600
7601         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7602         * buffer.C (makeLaTeXFile): store this returned value in
7603         runparams.use_babel, thus passing it to the inset::latex methods.
7604
7605         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7606         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7607
7608         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7609         longer has a fragile arg, as it is stored in runparams.fragile.
7610
7611         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7612         moving_arg parameter as the data is stored in runparams.fragile.
7613
7614         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7615         a fragile parameter as the data is stored in runparams.fragile.
7616
7617 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7618
7619         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7620
7621 2003-05-22  Angus Leeming  <leeming@lyx.org>
7622
7623         * latexrunparams.h: add a 'bool nice' which defaults to false.
7624
7625         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7626         now encapsulated within runparams.
7627
7628         * bufferlist.C (updateIncludedTeXfiles):
7629         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7630
7631 2003-05-22  Angus Leeming  <leeming@lyx.org>
7632
7633         * latexrunparams.h: new file containing struct LatexRunParams.
7634         * Makefile.am: add new file.
7635
7636         * LaTeX.[Ch] (c-tor, run):
7637         * buffer.[Ch] (makeLaTeXFile):
7638         * bufferlist.[Ch] (updateIncludedTeXfiles):
7639         * converter.C (convert, scanLog):
7640         * converter.[Ch] (runLaTeX):
7641         * exporter.C (Export):
7642         * paragraph.[Ch] (simpleTeXOnePar):
7643         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7644         * paragraph_funcs.[Ch] (latexParagraphs):
7645         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7646         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7647         pass around a LatexRunParams parameter.
7648
7649 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7650
7651         * paragraph.[Ch]: remove unused constructor
7652
7653         * ParagraphList.C (erase): new function, taking two iterators
7654
7655 2003-05-22  André Pönitz  <poenitz@gmx.net>
7656
7657         * undo_funcs.C: remove duplicated code
7658
7659         * iterator.[Ch]: operator=
7660
7661 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7662
7663         * tabular.C (SetMultiColumn): ws changes
7664
7665         * rowpainter.C (paintFirst): get rid of a ->previous
7666
7667         * lyx_cb.C (getPossibleLabel): parlist simplification
7668
7669         * BufferView.C (ChangeInsets): simplify slightly.
7670
7671 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7672
7673         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7674         * lfuns.h: new LFUN_SPACE
7675         * lyxfunc.C: protected space has a new lfun
7676         * paragraph_funcs.C: read new space insets
7677         * text3.C:
7678         * factory.C: handle new space insets
7679
7680 2003-05-22  André Pönitz  <poenitz@gmx.net>
7681
7682         * BufferView.C:
7683         * BufferView_pimpl.C:
7684         * buffer.[Ch]:
7685         * lyxfunc.C:
7686         * undo_funcs.C: return a ParIterator from getParFromID.
7687
7688         * iterators.[Ch]: add two const's
7689
7690 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7691
7692         * toc.C (getTocList): adjust
7693
7694         * iterators.[Ch]: rework for parlist
7695
7696         * buffer.C (par_iterator_begin): adjust
7697         (par_iterator_end): adjust
7698
7699         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7700
7701         * BufferView.C (removeAutoInsets): adjust
7702         (ChangeInsets): adjust
7703
7704 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7705
7706         * text.C (top_y): fix bug 1110
7707
7708 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7709
7710         * errorlist.[Ch]: added
7711         * buffer.C:
7712         * BufferView.[Ch]:
7713         * BufferView_pimpl.C:
7714         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7715         instead
7716
7717 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7718
7719         * Makefile.am: ensure that lyx is relinked upon changes to the
7720         various "convenience" libs.
7721
7722 2003-05-20  Angus Leeming  <leeming@lyx.org>
7723
7724         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7725         files are compiled in alphabetical order again.
7726
7727         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7728
7729 2003-05-19  Angus Leeming  <leeming@lyx.org>
7730
7731         * gettext.[Ch]: remove "char const * _(char const *)".
7732
7733 2003-05-19  André Pönitz  <poenitz@gmx.net>
7734
7735         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7736
7737         * Makefile.am:
7738         * BufferView.C:
7739         * DepTable.h:
7740         * LaTeXFeatures.C:
7741         * buffer.C:
7742         * lyxfont.C:
7743         * lyxlex.h:
7744         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7745
7746 2003-05-19  André Pönitz  <poenitz@gmx.net>
7747
7748         * buffer.C:
7749         * lyxlayout.[Ch]:
7750         * lyxtextclass.[Ch]:
7751         * paragraph.C:
7752         * paragraph_funcs.[Ch]:
7753         * text2.C:
7754         * text3.C: more insetenv work
7755
7756 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7757
7758         * ParagraphParameters.C (params2string): small bug fixed
7759
7760 2003-05-16  André Pönitz  <poenitz@gmx.net>
7761
7762         * debug.C:
7763         * bufferview_funcs.C: patch from Kornel Benko to prevent
7764           crash when _(...) is called twice in a statement
7765
7766 2003-05-16  André Pönitz  <poenitz@gmx.net>
7767
7768         * BufferView.C:
7769         * lyxfunc.C:
7770         * text.C:
7771         * text2.C:
7772         * text3.C:
7773         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7774
7775 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7776
7777         * lyx_main.C (init): remove spurious static_cast
7778
7779 2003-05-14  André Pönitz  <poenitz@gmx.net>
7780
7781         * BufferView.C: fix format string
7782
7783 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7784
7785         * BufferView.[Ch] (insertErrors): removed
7786         * BufferView.[Ch] (showErrorList): added
7787         * buffer.C (runChkTeX):
7788         * converter.C (scanLog): call showErrorList instead of inserterrors
7789
7790 2003-05-13  André Pönitz  <poenitz@gmx.net>
7791
7792         * BufferView_pimpl.C:
7793         * buffer.C:
7794         * bufferview_func.C:
7795         * MenuBackend.C:
7796         * lyxfunc.C:
7797         * lyxrc.C:
7798         * tex-accent.C:
7799         * text3.C:
7800         * toc.C:
7801         * tabular_funcs.h: tostr() from its own header
7802
7803         * ParagraphParameters.C:
7804         * ToolbarBackend.C:
7805         * bufferparams.C:
7806         * format.C:
7807         * lyxlex_pimpl.C:
7808         * text3.C: STRCONV()
7809
7810 2003-05-12  André Pönitz  <poenitz@gmx.net>
7811
7812         * BufferView.C:
7813         * BufferView_pimpl.C:
7814         * CutAndPaste.C:
7815         * LaTeX.C:
7816         * LaTeXFeatures.C:
7817         * ParagraphParameters.C:
7818         * buffer.C:
7819         * bufferlist.C:
7820         * bufferparams.C:
7821         * bufferview_funcs.C:
7822         * converter.C:
7823         * counters.C:
7824         * debug.C:
7825         * exporter.C:
7826         * format.C:
7827         * importer.C:
7828         * lyx_cb.C:
7829         * lyx_main.C:
7830         * lyxfont.C:
7831         * lyxfunc.C:
7832         * lyxvc.C:
7833         * paragraph.C:
7834         * paragraph_funcs.C:
7835         * tabular.C:
7836         * tabular_funcs.C:
7837         * text2.C:
7838         * text3.C:  boost::format -> bformat  all over the place
7839
7840
7841 2003-05-09  André Pönitz  <poenitz@gmx.net>
7842
7843         * LColor.[Ch]: Pimpl the #include <map> away
7844
7845 2003-05-09  John Levon  <levon@movementarian.org>
7846
7847         * bufferlist.C: never remove emergency saves
7848
7849 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7850
7851         * Makefile.am: better lib building
7852
7853 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7854
7855         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7856         instead.
7857         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7858         (simpleTeXSpecialChars): adjust
7859         (simpleTeXSpecialChars): adjust
7860         * paragraph.C (simpleTeXOnePar): adjust
7861         * buffer.C (makeLaTeXFile): adjust
7862
7863         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7864
7865         * text2.C (changeDepth): parlist cleanup
7866         (getColumnNearX): ditto
7867
7868         * rowpainter.C (getLabelFont): parlist cleanup
7869
7870         * bufferlist.C (newFile): parlist cleanup
7871
7872         * CutAndPaste.C (eraseSelection): parlist cleanup
7873
7874         * BufferView_pimpl.C (trackChanges): parlist cleanup
7875         (dispatch): ditto
7876
7877         * BufferView.C (lockInset): parlist cleanup.
7878         (ChangeInsets): ditto
7879
7880 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7881
7882         * CutAndPaste.h: Update file header.
7883
7884         * CutAndPaste.C: Update file header.
7885         Store the parts cut out of the Document in a limited_stack.
7886         (copySelection): adjust
7887         (pasteSelection): new function, takes the index in the limited stack.
7888         (nrOfParagraphs): adjust
7889         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7890         simplify error inset insertion.
7891         (checkPastePossible): adjust
7892
7893 2003-05-06  John Levon  <levon@movementarian.org>
7894
7895         * text2.C: don't cast wrap inset to float
7896
7897 2003-05-05  André Pönitz  <poenitz@gmx.net>
7898
7899         * iterator.C:
7900         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7901
7902         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7903           few naked Paragraph *.
7904
7905 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7906
7907         * bufferparams.C: Output warning if a document with missing
7908         TeX document class is loaded
7909         * exporter.C: Disable TeX exports if the document class is missing
7910         * lyxtextclass.C:
7911         * lyxtextclass.h:
7912         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7913         isTeXClassAvailable()
7914
7915 2003-05-03  John Levon  <levon@movementarian.org>
7916
7917         * BufferView.h:
7918         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7919         explicit cursor show/hide
7920
7921         * BufferView_pimpl.h:
7922         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7923         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7924
7925         * lyxfunc.C: hide cursor before dispatching.
7926
7927         * lyx_cb.C:
7928         * lyxfind.C:
7929         * text.C:
7930         * text3.C: remove explicit cursor hides
7931
7932 2003-05-02  André Pönitz  <poenitz@gmx.net>
7933
7934         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7935
7936         * undo_funcs.C:
7937         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7938           linked lists
7939
7940         * text2.C: tiny whitespace
7941
7942 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7943
7944         * undo_funcs.C: almost only ws changes.
7945
7946         * ParagraphList.C (splice): just return if pl is empty.
7947
7948 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7949
7950         * ParagraphList.C (splice): new function.
7951
7952         * CutAndPaste.C (pasteSelection): use it
7953
7954 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7955
7956         * CutAndPaste.C (pasteSelection): remove the last next and
7957         previous from this file.
7958
7959 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7960
7961         * CutAndPaste.C (pasteSelection): more clean up, user proper
7962         ParagraphList functions for pasteing.
7963
7964         * ParagraphList.C (insert): new function, three arg insert
7965
7966 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7967
7968         * ParagraphList.C (insert): new function, three arg insert
7969
7970         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7971         not on paragraphs.
7972
7973 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7974
7975         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7976
7977 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7978
7979         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7980
7981 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7982
7983         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7984         (copySelection): clean up a bit.
7985         (pasteSelection): use make_pair
7986
7987         * ParagraphList.C (ParagraphList): implement copy constructor
7988         (operator=): implement, base on copy constructor.
7989         (assign): new func
7990
7991         * paragraph.C (erase): return a bool
7992
7993         * paragraph_pimpl.C (erasePos): remove function, move contents...
7994         (erase): ... here. Return a bool.
7995         (erase): call erase instead of erasePos.
7996
7997 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7998
7999         * ParagraphList.h: define PitPosPair
8000         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8001         ParagraphList, fix a bug on pasting multiple pars
8002         * text2.C: change interface to C&P
8003
8004 2003-04-30  André Pönitz  <poenitz@gmx.net>
8005
8006         * undo_func.C: revert part of yesterday's patch 2
8007
8008 2003-04-30  John Levon  <levon@movementarian.org>
8009
8010         * LColor.C: s/tabular/table/
8011
8012 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8013
8014         * text3.C (dispatch): do not convert iterator -> pointer
8015         * undo_funcs.C (setCursorParUndo): ditto
8016         * text_funcs.C (transposeChars): ditto
8017
8018         * text2.C (setLayout): ws changes only
8019
8020         * text.C (breakParagraph): do not convert iterator -> pointer
8021         (insertChar): ditto
8022         (acceptChange): ditto
8023         (rejectChange): ditto
8024         (changeCase): ditto
8025         (Delete): ditto
8026         (backspace): ditto
8027
8028         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8029         pointer
8030
8031 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8032
8033         * text3.C (gotoInset): YABG (yet another bad getChar)
8034
8035 2003-04-29  André Pönitz  <poenitz@gmx.net>
8036
8037         * paragraph.h: make operator= private unimplemented as long as
8038           it is unusable
8039
8040         * ParagraphList.C: whitespace
8041
8042         * paragraph.[Ch]:
8043         * paragraph_pimpl.[Ch]:
8044         * paragraph_funcs.C:
8045         * CutAndPaste.C:
8046         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8047
8048         * text2.C:
8049           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8050
8051 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8052
8053         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8054         * paragraph.[Ch] (erase):
8055         * paragraph_pimpl.[Ch] (erase): change return type and value
8056         * text2.C (cutSelection): some rework
8057
8058 2003-04-28  John Levon  <levon@movementarian.org>
8059
8060         * bufferlist.C: changes for unsaved changes dialog
8061
8062 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8063
8064         * bufferlist.C (newFile): set language (messages_) for new
8065         documents also.
8066
8067         * buffer.C (readFile): ws changes only.
8068
8069 2003-04-28  André Pönitz  <poenitz@gmx.net>
8070
8071         * undo_funcs.C:
8072         * lyxfunc.C:
8073         * buffer.[Ch]:
8074         * BufferView_pimpl.C:
8075         * BufferView.C: getParFromID related ParagraphList::iterator changes
8076
8077 2003-04-28  André Pönitz  <poenitz@gmx.net>
8078
8079         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8080           Changes
8081
8082 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8083
8084         * messages.C: remove one more localedir class variable.
8085
8086 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8087
8088         * messages.C (getLocaleDir): singleton generation function
8089         (Pimpl): use it.
8090         (Messages): add a default constructor.
8091
8092         * main.C (main): do not setup localedir here, do not call
8093         gettext_init.
8094
8095         * gettext.C (_): use it.
8096         (gettext_init): delete funciton
8097
8098 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8099
8100         * gettext.C (getLyXMessages): new singleton generating function.
8101
8102         * buffer.C (updateDocLang): adjust
8103
8104         * Makefile.am (messages.o): add target
8105         (main.o): remove target
8106
8107 2003-04-27  John Levon  <levon@movementarian.org>
8108
8109         * bufferlist.C:
8110         * lyx_cb.C:
8111         * lyxfunc.C:
8112         * lyxvc.C: specify cancel button in Alert::prompt
8113
8114 2003-04-26  John Levon  <levon@movementarian.org>
8115
8116         * text3.C:
8117         * lyxfunc.C:
8118         * lfuns.h:
8119         * LyXAction.C: add LFUN_INSET_SETTINGS
8120
8121         * lyxfunc.C: don't enable tabular-feature when there's
8122         just any locking inset
8123
8124 2003-04-26  John Levon  <levon@movementarian.org>
8125
8126         * bufferlist.C: re-add Cancel to buffer close question
8127
8128         * lyxfunc.C: fix import UI a bit
8129
8130 2003-04-25  John Levon  <levon@movementarian.org>
8131
8132         * gettext.C: remove the broken asserts for now
8133
8134 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8135
8136         * messages.C: make case where setlocale cannot comply work better.
8137
8138         * buffer.C (updateDocLang): new function
8139         (changeLanguage): use it
8140         (readFile): use it
8141
8142         * text2.C (setCounter): use B_ a bit.
8143
8144         * lyxlayout.C (Read): be sure to trim the label strings.
8145
8146         * messages.C (Messages): fix typo in comment
8147
8148         * buffer.C (readFile): set message_ after file is loaded.
8149         (makeDocBookFile): remove double return
8150         (changeLanguage): reset message_ upon language change.
8151         (B_): new func, use this to get translated buffer strings.
8152
8153         * main.C: add myself and Jean Marc as authors.
8154
8155 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8156
8157         * messages.[hC]: pimplify Messages, and three different pimpls to be
8158         used in different circumstances.
8159
8160         * gettext.[Ch]: change for use with new message code.
8161
8162 2003-04-24 André Pönitz <poenitz@gmx.net>
8163
8164         * factory.C: support for eqref
8165
8166 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8167
8168         * messages.[Ch]: add missing char
8169
8170         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8171
8172         * messages.[Ch]: New files
8173
8174 2003-04-18  John Levon  <levon@movementarian.org>
8175
8176         * BufferView.h:
8177         * BufferView.C:
8178         * BufferView_pimpl.C:
8179         * lfuns.h:
8180         * LyXAction.C:
8181         * lyxtext.h:
8182         * text2.C: remove layout-copy/paste (bug 778)
8183
8184 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8185
8186         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8187
8188 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8189
8190         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8191         if they succeed. Act accordingly.
8192
8193 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8194
8195         * text2.C (setCharFont): adjust
8196         (setCounter): adjust
8197         (insertStringAsLines): adjust
8198
8199         * text.C (leftMargin): adjust
8200         (setHeightOfRow): adjust
8201
8202         * rowpainter.C (paintFirst): adjust
8203         (paintLast): adjust
8204
8205         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8206         (outerHook): ditto
8207         (isFirstInSequence): ditto
8208         (getEndLabel): ditto
8209         (outerFont): adjust
8210
8211         * paragraph.C (getParLanguage): comment out some hard stuff.
8212
8213         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8214         (sgmlError): ditto
8215         (simpleDocBookOnePar): ditto
8216         (makeDocBookFile): use ParagraphList::iterator
8217
8218         * CutAndPaste.C (pasteSelection): adjust
8219
8220 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8221
8222         * text2.C (getFont): adjust
8223         (getLayoutFont): adjust
8224         (getLabelFont): adjust
8225
8226         * paragraph_funcs.C (TeXOnePar): adjust
8227
8228         * buffer.C (simpleLinuxDocOnePar): adjust
8229         (simpleDocBookOnePar): adjust
8230
8231         * CutAndPaste.C (pasteSelection): adjust
8232
8233         * BufferView.C (getEncoding): adjust
8234
8235         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8236
8237 2003-04-16  John Levon  <levon@movementarian.org>
8238
8239         * lyxfind.C: use parlist stuff for search/changes
8240
8241 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8242
8243         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8244
8245         * text2.C (deleteEmptyParagraphMechanism): adjust
8246
8247         * text2.[Ch] (ownerParagraph): delete func (both of them
8248
8249 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8250
8251         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8252
8253 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8254
8255         * ParagraphList.C: prepare for NO_NEXT
8256
8257 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8258
8259         * text2.C (getFont): adjust
8260         (getLayoutFont): adjust
8261         (getLabelFont): adjust
8262
8263         * paragraph.C (getFont): adjust
8264         (getLabelFont): adjust
8265         (getLayoutFont): adjust
8266
8267         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8268
8269 2003-04-15  John Levon  <levon@movementarian.org>
8270
8271         From Angus Leeming
8272
8273         * lyx_main.C: handle Include in .ui files
8274
8275 2003-04-15  John Levon  <levon@movementarian.org>
8276
8277         * MenuBackend.C: make the doc files length shorter
8278
8279         * ToolbarBackend.h:
8280         * ToolbarBackend.C: handle toolbar placement flags,
8281         Minibuffer
8282
8283 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8284
8285         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8286         adjust
8287
8288         * paragraph_funcs.C (TeXOnePar): adjust
8289
8290         * paragraph.C (getLabelFont): add outerfont arg, adjust
8291         (getLayoutFont): ditto
8292         (simpleTeXOnePar): adjust
8293
8294         * paragraph_pimpl.C (realizeFont): delete func
8295
8296 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8297
8298         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8299         row argument, constify cur argument.
8300
8301 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8302
8303         * text2.C (getFont): adjust
8304         (getLayoutFont): adjust
8305         (getLabelFont): adjust
8306
8307         * paragraph_funcs.C (TeXOnePar): adjust
8308         (outerFont): new func...
8309         (realizeFont): ...moved out from here, changed this to facilitate
8310         transition
8311
8312         * paragraph.C (getFont): take outerfont as arg, adjust
8313         (simpleTeXOnePar): add outerfont arg, adjust
8314
8315         * buffer.C (simpleLinuxDocOnePar): adjust
8316         (simpleDocBookOnePar): adjust
8317
8318         * CutAndPaste.C (pasteSelection): adjust
8319
8320         * BufferView.C (getEncoding): adjust
8321
8322 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8323
8324         * text2.C (setCharFont): adjust
8325         (setCounter): adjust
8326
8327         * text.C (leftMargin): adjust
8328         (setHeightOfRow): adjust
8329
8330         * rowpainter.C (paintFirst): adjust
8331         (paintLast): adjust
8332
8333         * paragraph_pimpl.C (realizeFont): adjust
8334
8335         * paragraph.C (isFirstInSequence): move from here...
8336         * paragraph_funcs.C (isFirstInSequence): ...to here
8337
8338         * paragraph.C (outerHook): move from here...
8339         * paragraph_funcs.C (outerHook): ...to here
8340
8341         * paragraph.C (depthHook): move from here...
8342         * paragraph_funcs.C (depthHook): ...to here
8343
8344         * paragraph.C (getEndLabel): move from here...
8345         * paragraph_funcs.C (getEndLabel): ...to here
8346
8347         * text2.C (realizeFont): move from here...
8348         * paragraph_funcs.C (realizeFont): ...to here
8349
8350 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8351
8352         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8353
8354 2003-04-14  Angus Leeming  <leeming@lyx.org>
8355
8356         * LColor.[Ch]: scrap LColor mathcursor.
8357
8358 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8359
8360         * lyxlex.[Ch] (text): delete function
8361         * trans.C (Load): adjust
8362         * paragraph_funcs.C (readParToken): adjust
8363
8364 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8365
8366         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8367         vector<char> instead of a char[].
8368
8369         * lyxlex_pimpl.C (getString): adjust
8370         (next): adjust
8371         (lex): use getString
8372         (eatLine): adjust
8373         (nextToken): adjust
8374
8375         * lyxlex.C (text): use pimpl_->getString()
8376         (getBool): ditto
8377         (findToken): ditto
8378
8379 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8380
8381         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8382         (makeFontEntriesLayoutSpecific): temp var for par.size()
8383         (setLayout): temp var for ownerParagraphs().end()
8384         (fullRebreak): temp var for rows().end()
8385         (selectionAsString): temp var for boost::next(startpit), realize
8386         that the while really is a regular for loop.
8387         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8388         setCursor in one place.
8389         (setParagraph): temp vr for ownerParagraphs().end()
8390         (updateCounters): make the while loop a for loop
8391         (cutSelection): temp var for ownerParagraphs().end()
8392         (updateInset): make the do {} while() a regular for loop
8393         (getCursorX): use temp vars
8394         (setCurrentFont): use temp vars
8395         (getColumnNearX): use temp vars
8396
8397 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8398
8399         * text.C (transformChar): use temp var for getChar
8400         (computeBidiTables): use temp var for row->par()
8401         (fill): move temp vars for row->par() and pit->layout() earlier in
8402         the function.
8403         (labelFill): use temp var for row->par()
8404         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8405         asc and desc, realize that pit never changes and that firstpit is
8406         just a duplicate and not needed. Exchange rit->par() with pit in a
8407         lot of places.
8408         (breakAgain): use a temp var for boost::next(rit)
8409         (breakAgainOneRow): ditto
8410         (breakParagraph): use a temp var for rows().begin()
8411         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8412         (cursorRightOneWord): use temp var for cursor.par() and
8413         cursor.pos(), remove usage of tmpcursor.
8414         (cursorLeftOneWord): use temp var for cursor.par() and
8415         cursor.pos() only set cur at end of function.
8416
8417 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8418
8419         * text.C, text2.C: exchange all usage of Paragraph::next with
8420         boost::next(ParagraphList::iterator)
8421
8422         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8423
8424         * text2.C (cursorTop): simplify implementation
8425         (cursorBottom): ditto
8426         (setParagraph): use ParagraphList::iterator
8427         (setCurrentFont): adjust
8428         (getColumnNearX): adjust
8429         (cursorRight): adjust
8430         (cursorLeft): remove usage of Paragraph::previous
8431         (cursorUpParagraph): ditto
8432         (deleteEmptyParagraphMechanism): slight cleanup
8433
8434         * text.C (isBoundary): take a Paragraph const & instead of a
8435         pointer as arg.
8436         (addressBreakPoint): ditto
8437         (leftMargin): remove usage of Paragraph::previous.
8438         (setHeightOfRow): ditto
8439         (cursorLeftOneWord): ditto
8440         (selectNextWordToSpellcheck): ditto
8441         (Delete): ditto
8442         (backspace): ditto
8443         (breakParagraph): remove one usage of Paragraph::next
8444         (redoParagraph): ditto
8445         (acceptChange): ditto
8446         (insertChar): adjust
8447         (rowBreakPoint): adjust
8448
8449         * bufferview_funcs.C (toggleAndShow): adjust
8450
8451 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8452
8453         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8454         methods to access it.
8455         * lyxtext.h:
8456         * text.C: Added updateRowPositions to compute all row positions.
8457         Make top_y and getRowNearY() to use the cached y position
8458
8459 2003-04-11  John Levon  <levon@movementarian.org>
8460
8461         * text.C (rowBreakPoint): reintroduce the labelEnd
8462         checks, code copied from the row fill stuff. Deep voodoo.
8463
8464         * text.C (fill): add a comment and debugging for the
8465         next poor soul.
8466
8467 2003-04-11  John Levon  <levon@movementarian.org>
8468
8469         * text.C: make sure fullrow insets get wrapped to the next line,
8470         even when they're in a manual label
8471
8472 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8473
8474         * text2.C (insertParagraph): make it take ParagraphList::iterator
8475         as arg.
8476         (setLayout): make it return ParagraphList::iterator
8477         (redoParagraphs): ditto
8478         (setCounter): ditto
8479         (checkParagraph): ditto
8480
8481         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8482
8483         * text2.C: adjust several funcs.
8484         (realizeFont): take a ParagraphList::iterator as arg.
8485         (getLayoutFont): ditto
8486         (getLabelFont): ditto
8487         (setCharFont): ditto
8488
8489         * text.C: adjust several funcs.
8490
8491 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8492
8493         * text.C (selectNextWordToSpellcheck): don't accidentally
8494         skip insets
8495
8496 2003-04-10  John Levon  <levon@movementarian.org>
8497
8498         * ToolbarBackend.C (getIcon): special handling for
8499         LFUN_MATH_DELIM
8500
8501 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8502
8503         * text2.C (cursorRight): a getChar assert fixed
8504
8505 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8506
8507         * text2.C (getFont): change to take a ParagraphList::iterator
8508         instead of Paragraph*
8509         Adjust several functions.
8510
8511         * text.C (transformChar): change to take a ParagraphList::iterator
8512         instead of Paragraph*
8513         (singleWidth): ditto
8514         Adjust several functions.
8515
8516         * rowpainter.C: adjust several functions
8517         * rowpainter.h:store a ParagraphList::iterator and not a
8518         Paragraph&.
8519
8520
8521 2003-04-09  John Levon  <levon@movementarian.org>
8522
8523         * lyxfunc.C:
8524         * lfuns.h:
8525         * LyXAction.h:
8526         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8527         and the "help" bits as well
8528
8529 2003-04-09  John Levon  <levon@movementarian.org>
8530
8531         * ToolbarBackend.h:
8532         * ToolbarBackend.C: allow multiple toolbars
8533
8534 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8535
8536         * undo_funcs.C (setCursorParUndo): adjust
8537
8538         * text_funcs.C (transposeChars): adjust
8539
8540         * text3.C (gotoNextInset): adjust
8541         (dispatch): adjust
8542
8543         * text2.C (setLayout): adjust
8544         (changeDepth): adjust
8545         (setFont): adjust
8546         (redoParagraphs): adjust
8547         (selectionAsString): adjust
8548         (setParagraph): adjust
8549         (insertInset): adjust
8550         (cutSelection): adjust
8551         (copySelection): adjust
8552         (pasteSelection): adjust
8553         (insertStringAsLines): adjust
8554         (updateInset): adjust
8555         (setCursor): change to take a ParagraphList::iterator parameter
8556         (setCursorIntern): change to take a ParagraphList::iterator parameter
8557         (setCurrentFont): adjust
8558         (cursorLeft): adjust
8559         (cursorRight): adjust
8560         (deleteEmptyParagraphMechanism): adjust
8561
8562         * text.C (breakParagraph): adjust
8563         (insertChar): adjust
8564         (acceptChange): adjust
8565         (rejectChange): adjust
8566         (selectNextWordToSpellcheck): adjust
8567         (changeCase): adjust
8568         (Delete): adjust
8569         (backspace): adjust
8570
8571         * lyxfind.C (SearchForward): adjust
8572         (SearchBackward): adjust
8573         (nextChange): adjust
8574
8575         * lyxcursor.C (par): adjust
8576
8577         * lyxcursor.h: store a ParagraphList::iterator instead of a
8578         Paragraph*
8579
8580         * lyx_cb.C (getPossibleLabel): adjust
8581
8582         * bufferview_funcs.C (toggleAndShow): adjust
8583
8584         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8585         (dispatch): adjust
8586
8587         * BufferView.C (removeAutoInsets): adjust
8588         (lockedInsetStoreUndo): adjust
8589
8590 2003-04-09  John Levon  <levon@movementarian.org>
8591
8592         * ToolbarBackend.C: try icon without argument
8593         if with argument fails
8594
8595 2003-04-08  John Levon  <levon@movementarian.org>
8596
8597         * ToolbarBackend.h:
8598         * ToolbarBackend.C: add getIcon(), handle tooltip,
8599         and change from "Icon" to "Item".
8600
8601 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8602
8603         * BufferView.C (lockInset): another bad getchar crunched
8604
8605 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8606
8607         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8608         again)
8609
8610 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8611
8612         * lyxfind.C (searchForward, searchBackwards): bug 782
8613
8614 2003-04-07  John Levon  <levon@movementarian.org>
8615
8616         * paragraph.C: remove dead comment
8617
8618         * text.C: remove troublesome depth-fiddling code
8619         in leftMargin() and rightMargin() (bug 1017)
8620
8621         * text.C: fix breaking of rows in nested lists
8622         (bug 1004)
8623
8624         * text2.C (updateCounters): fix up depth values
8625         (bug 1013)
8626
8627 2003-04-07  John Levon  <levon@movementarian.org>
8628
8629         * BufferView_pimpl.C: clear message when doc finishes resizing,
8630         and after a mouse event
8631
8632         * lyxfunc.C: clear message after exiting inset
8633
8634 2003-04-07  John Levon  <levon@movementarian.org>
8635
8636         * bufferview_funcs.C: show math status not outside
8637         status in the statusbar
8638
8639 2003-04-07  John Levon  <levon@movementarian.org>
8640
8641         * lyxfunc.C: note status changed after a depth change
8642
8643 2003-04-04  Angus Leeming  <leeming@lyx.org>
8644
8645         * LaTeX.h: move AuxInfo operator==, != out of line.
8646         Remove LaTeX virtual destructor; nothing derives from it.
8647         Move operator()() out of public area and rename it startscript().
8648         Change protected for private.
8649
8650 2003-04-04  Angus Leeming  <leeming@lyx.org>
8651
8652         * lyxfunc.C:
8653         * text2.C: remove unneeded #includes.
8654
8655 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8656
8657         * text2.C (dEPM): fix the heigth of the next row
8658
8659 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8660
8661         * text.C: squashed an invalid getChar requester + some ws changes
8662
8663 2003-04-03  John Levon  <levon@movementarian.org>
8664
8665         * bufferview_funcs.h:
8666         * bufferview_funcs.C:
8667         * lyxfunc.C:
8668         * lyxtext.h:
8669         * text2.C: make getStatus work for the env depth lfuns
8670
8671 2003-04-03  John Levon  <levon@movementarian.org>
8672
8673         * bufferview_funcs.h:
8674         * bufferview_funcs.C:
8675         * lyxfunc.C:
8676         * lyxtext.h:
8677         * text2.C: parlistize decDepth(), by merging it with incDepth()
8678
8679 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8680
8681         * lyxrow.h: store a ParagraphList::iterator instead of a
8682         Paragraph* and adjust other class functions to suit.
8683
8684         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8685         above.
8686
8687 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8688
8689         * text2.C (setCursor): do not anchor to cursor row for the time being
8690
8691 2003-04-02  John Levon  <levon@movementarian.org>
8692
8693         * LyXAction.C:
8694         * lfuns.h:
8695         * lyx_main.C:
8696         * lyxtext.h:
8697         * text.C:
8698         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8699
8700 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8701
8702         * paragraph.h: make ParagraphList and ParagraphList::iterator
8703         friends of Paragraph.
8704
8705         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8706
8707         * ParagraphList.C: Use the private next_ and previous_ from
8708         Paragraph.
8709
8710 2003-04-01  John Levon  <levon@movementarian.org>
8711
8712         * ToolbarBackend.h:
8713         * ToolbarBackend.C:
8714         * Makefile.am: rename, remove defaults gunk
8715
8716         * MenuBackend.h:
8717         * MenuBackend.C: remove defaults gunk
8718
8719         * Languages.h:
8720         * Languages.C: remove defaults gunk
8721
8722         * lyx_main.h:
8723         * lyx_main.C: error out if files couldn't be found.
8724
8725 2003-04-02  John Levon  <levon@movementarian.org>
8726
8727         * text2.C: make incDepth() use parlist
8728
8729 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8730
8731         * undo_funcs.C (firstUndoParagraph): adjust
8732
8733         * text3.C (gotoInset): adjust
8734         (dispatch): adjust, and rewrite loop.
8735
8736         * text2.C (init): adjust, and rewrite loop.
8737         (redoParagraphs): adjust
8738         (updateInset): adjust, and rewrite loop.
8739         (deleteEmptyParagraphMechanism): adjust
8740
8741         * tabular.C (LyXTabular): adjust
8742         (SetMultiColumn): adjust
8743         (TeXRow): adjust
8744
8745         * lyxtext.[Ch] (ownerParagraph): delete function
8746         (ownerParagraphs): new function returns a ParagraphList.
8747
8748         * BufferView.C (removeAutoInsets): adjust
8749         (insertErrors): adjust
8750         (setCursorFromRow): adjust
8751
8752 2003-04-01  Angus Leeming  <leeming@lyx.org>
8753
8754         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8755         in the frontends.
8756
8757 2003-04-02  John Levon  <levon@movementarian.org>
8758
8759         * lyxtext.h:
8760         * text.C:
8761         * Makefile.am:
8762         * text_funcs.h:
8763         * text_funcs.C: make transposeChars a free function
8764
8765         * lyxrow_funcs.C: remove wrong comment
8766
8767 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8768
8769         * lyxtext.h: adjust
8770         * rowpainter.C: adjust
8771         * text.C: adjust
8772         * text2.C: adjust
8773         * text3.C: adjust
8774
8775         * lyxrow_funcs. [Ch]: new files
8776
8777         * lyxrow.[Ch]: remove next and previous pointers
8778         (next,previous): remove accessor functions
8779         (isParEnd): move to lyxrow_funcs
8780         (lastPos): move to lyxrow_funcs
8781         (nextRowIsAllInset): move to lyxrow_funcs
8782         (lastPrintablePos): move to lyxrow_funcs
8783         (numberOfSeparators): move to lyxrow_funcs
8784         (numberOfHfills): move to lyxrow_funcs
8785         (numberOfLabelHfills): move to lyxrow_funcs
8786         (hfillExpansion): move to lyxrow_funcs
8787
8788         * lyxfunc.C: adjust
8789
8790         * bufferview_funcs.C (toggleAndShow): adjust
8791
8792         * RowList.h: Remove class RowList from file leave just a
8793         std::list<Row>.
8794
8795         * RowList.C: delete file
8796
8797         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8798         and lyxrow_funcs.h
8799
8800 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8801
8802         * text3.C (cursorPrevious): adjust
8803         (cursorNext): adjust
8804         (dispatch): adjust
8805
8806         * text2.C (redoHeightOfParagraph): adjust
8807         (redoDrawingOfParagraph): adjust
8808         (setCursor): adjust
8809
8810         * text.C (breakParagraph): adjust
8811         (insertChar): adjust
8812         (backspace): adjust
8813
8814         * rowpainter.C (RowPainter): adjust
8815         (leftMargin): simplify and adjust
8816         (most rowpainter functions): adjust.
8817
8818         * rowpainter.h: store the row as RowList::iterator not as Row*
8819
8820         * lyxcursor.C (row): taka RowList::iterator as arg
8821         (irow): ditto
8822
8823         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8824         of Row*.
8825
8826 2003-04-01  Angus Leeming  <leeming@lyx.org>
8827
8828         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8829         stuff like bool Bool.
8830
8831 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8832
8833         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8834         rewrite a loop
8835
8836 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8837
8838         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8839         RowList::iterator.
8840
8841         * lyxtext.h (rows): drop one version and leve a const variant that
8842         returns a RowList::iterator.
8843
8844 2003-03-31  Angus Leeming  <leeming@lyx.org>
8845
8846         * text.C (fill): ensure that the signature is the same as that in the
8847         header file.
8848
8849 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8850
8851         * text2.C (redoParagraphs): adjust
8852         (updateCounters): adjust
8853         (checkParagraph): adjust
8854         (getColumnNearX): adjust and reformat a bit.
8855
8856         * text.C (top_y): adjust
8857         (workWidth): adjust
8858         (leftMargin): adjust
8859         (prepareToPrint): adjust
8860         (getRow): adjust
8861         (getRowNearY): adjust
8862
8863         * lyxtext.h: make rowlist_ mutable.
8864
8865         * RowList.h: add const_iterator
8866         * RowList.C: adjust for RowList::const_iterator.
8867
8868         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8869         adjust.
8870
8871 2003-03-31  John Levon  <levon@movementarian.org>
8872
8873         * lyxrc.h:
8874         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8875
8876         * lyx_main.C: set default fonts from using lyx_gui funcs
8877
8878         * exporter.C: pdf_mode moved from lyxrc
8879
8880         * lyx_cb.C:
8881         * lyxfunc.C: changes from above
8882
8883 2003-03-31  John Levon  <levon@movementarian.org>
8884
8885         * lyx_main.C: fix to the last fix
8886
8887 2003-03-31  John Levon  <levon@movementarian.org>
8888
8889         * bufferlist.C: "Load original" -> "Load Original"
8890
8891         * converter.C:
8892         * exporter.C:
8893         * importer.C:
8894         * lyx_main.C:
8895         * format.C: more Alert cleanups
8896
8897 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8898
8899         * text2.C (removeParagraph): make it take a RowList::iterator as
8900         arg, adjust.
8901         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8902         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8903
8904         * text.C (anchor_row): make it take a RowList::iterator as arg,
8905         adjust.
8906         (computeBidiTables): make it take a const reference to Row instead
8907         of Row pointer, adjust.
8908         (leftMargin): make it take a RowList::iterator as arg, adjust.
8909         (rowBreakPoint): adjust
8910         (breakAgainOneRow): make it take a RowList::iterator as arg,
8911         adjust.
8912         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8913
8914         * bufferview_funcs.C (toggleAndShow): adjust
8915
8916 2003-03-30  John Levon  <levon@movementarian.org>
8917
8918         * Makefile.am:
8919         * BoostFormat.h:
8920         * boost-inst.C: moved to support
8921
8922         * several files: changes as a result
8923
8924 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8925
8926         * text2.C (LyXText): adjust.
8927         (init): adjust
8928         (removeRow): make it take a RowList::iterator as arg, adjust.
8929         (fullRebreak): adjust
8930         (deleteEmptyParagraphMechanism): adjust
8931         (clearPaint): adjust
8932         (postPaint): adjust
8933
8934         * text.C (top_y): adjust
8935         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8936         (breakAgain): make it take a RowList::iterator as arg, adjust.
8937         (breakParagraph): adjust
8938         (insertChar): adjust
8939         (backspace): adjust
8940
8941         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8942         need_break_row, and refresh_row.
8943
8944         * text3.C (dispatch): adjust
8945
8946         * text2.C (checkParagraph): adjust
8947         (setCursor): adjust
8948         (setCursorFromCoordinates): adjust
8949
8950         * text.C (top_y): adjust
8951         (workWidth): adjust
8952         (getRow): make it return a RowList::iterator, adjust
8953         (getRowNearY): make it return a RowList::iterator, adjust
8954
8955         * text2.C (init): adjust
8956         (insertRow): remove function
8957         (insertParagraph): adjust
8958         (redoParagraphs): adjust
8959         (fullRebreak): adjust
8960         (updateCounters): adjust
8961
8962         * text.C (top_y): rewrite to use RowList iterators.
8963         (top_y): adjust
8964         (setHeightOfRow): rewrite to sue RowList iterators.
8965         (appendParagraph): adjust
8966         (breakAgain): adjust
8967         (breakAgainOneRow): adjust
8968         (breakParagraph): adjust
8969         (getRow): adjust
8970         (getRowNearY): adjust, and remove commented code.
8971
8972         * lyxtext.h (firstRow): delete function
8973         (lastRow): delete function
8974         (rows): new function (const and non-const versions.)
8975         (insertRow): delete function
8976
8977         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8978
8979 2003-03-29  John Levon  <levon@movementarian.org>
8980
8981         * BufferView_pimpl.C: always update scrollbar top
8982         because pasting text when we're anchored could mean we
8983         miss an update altogether
8984
8985 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8986
8987         * text2.C (init): use rowlist_.end() and not 0.
8988         (insertRow): change to take a RowList::iterator as arg, adjust
8989         for this.
8990         (insertParagraph): change to take a RowList::iterator as arg,
8991         adjust for this.
8992         (redoParagraphs): remove some debug msgs.
8993
8994         * text.C (appendParagraph): change to take a RowList::iterator
8995         arg, adjust for this.
8996         (breakAgain): add an assert
8997         (breakAgainOneRow): ditto
8998
8999 2003-03-29  John Levon  <levon@movementarian.org>
9000
9001         * text2.C: do not clear selection after inc/decDepth
9002         (bug 550)
9003
9004 2003-03-29  John Levon  <levon@movementarian.org>
9005
9006         * BufferView.C:
9007         * buffer.C: fix broken strerrors according to Lars
9008
9009 2003-03-29  John Levon  <levon@movementarian.org>
9010
9011         * converters.C: more Alert cleanups
9012
9013 2003-03-29  John Levon  <levon@movementarian.org>
9014
9015         * bufferview_funcs.C: remove pointless Alert
9016
9017         * buffer.C: fix confusing error message when
9018         a template is chmoded 000
9019
9020 2003-03-29  John Levon  <levon@movementarian.org>
9021
9022         * BufferView.C:
9023         * BufferView.h:
9024         * BufferView_pimpl.C: Alert fixes
9025
9026         * Makefile.am:
9027         * tabular.C:
9028         * tabular-old.C: remove unused table compat reading
9029
9030 2003-03-29  John Levon  <levon@movementarian.org>
9031
9032         * BufferView.C:
9033         * buffer.C:
9034         * lyx_cb.h:
9035         * lyx_cb.C: more Alert cleanups
9036
9037         * lyxfunc.C: don't allow chktex if not latex document
9038
9039 2003-03-29  John Levon  <levon@movementarian.org>
9040
9041         * lyx_cb.C:
9042         * BufferView.C:
9043         * buffer.C: warnings pushed down from support/,
9044         kill err_alert
9045
9046 2003-03-29  John Levon  <levon@movementarian.org>
9047
9048         * lyxfunc.C: safety check for C-r (revert)
9049
9050 2003-03-29  John Levon  <levon@movementarian.org>
9051
9052         * bufferlist.h:
9053         * bufferlist.C: several UI fixes using Alert::prompt.
9054         Fix the pointless looping quit code. Fix stupid revert
9055         behaviour (bug 938)
9056
9057         * lyxvc.h:
9058         * lyxvc.C:
9059         * lyx_cb.C: use Alert::prompt
9060
9061         * lyx_main.C: remove a silly question
9062
9063         * lyxfunc.C: remove a couple of silly questions,
9064         use Alert::prompt
9065
9066 2003-03-28  John Levon  <levon@movementarian.org>
9067
9068         * text2.C: fix bug 974 (End on empty par)
9069
9070 2003-03-28  John Levon  <levon@movementarian.org>
9071
9072         * BufferView_pimpl.C:
9073         * LyXAction.C:
9074         * lfuns.h: remove do-nothing math greek lfuns
9075
9076 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9077
9078         * lyxgluelength.h (isValidGlueLength): add default arg on
9079         parameter 2. Remove default arg from friend in class.
9080
9081         * lyxlength.h (isValidLength): add default arg on parameter 2.
9082         Remove default arg from friend in class.
9083
9084         * text2.C (LyXText): adjust, initialize refresh_row.
9085         (init): adjust
9086         (removeRow): adjust
9087         (insertRow): adjust
9088         (insertParagraph): adjst
9089         (redoParagraphs): adjust
9090         (fullRebreak): adjust
9091         (updateCounters): adjust
9092         (deleteEmptyParagraphMechanism): first attempt at fixing a
9093         crashing bug.
9094
9095         * text.C (top_y): adjust
9096         (setHeightOfRow): adjust
9097         (getRow): adjust
9098         (getRowNearY): adjust
9099
9100         * lyxtext.h: include RowList.h
9101         (~LyXText): not needed anymore, deleted.
9102         (firstRow): modify for RowList
9103         (lastRow): new function
9104         Delete firstrow and lastrow class variables, add a Rowlist
9105         rowlist_ class variable.
9106
9107         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9108         paragraph is empty.
9109
9110         * RowList.C (insert): fix case where it == begin().
9111
9112 2003-03-26  Angus Leeming  <leeming@lyx.org>
9113
9114         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9115         the thesaurus dialog.
9116
9117 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9118
9119         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9120
9121         * RowList.[Ch]: new files
9122
9123         * ParagraphList.C (erase): handle the case where it == begin
9124         correctly.
9125
9126 2003-03-25  John Levon  <levon@movementarian.org>
9127
9128         * Makefile.am:
9129         * aspell_local.h:
9130         * aspell.C: add new aspell support
9131
9132         * lyxrc.h:
9133         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9134         have it accessible.
9135
9136 2003-03-25  Angus Leeming  <leeming@lyx.org>
9137
9138         * lfuns.h:
9139         * LyXAction.C (init): new LFUN_INSET_INSERT.
9140
9141         * BufferView_pimpl.C (dispatch): split out part of the
9142         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9143
9144         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9145         LFUN_INSET_APPLY.
9146
9147 2003-03-25  Angus Leeming  <leeming@lyx.org>
9148
9149         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9150
9151 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9152
9153         * text2.C:
9154         * text3.C: remove useless row->height(0)
9155
9156 2003-03-25  John Levon  <levon@movementarian.org>
9157
9158         * lyxtext.h:
9159         * text2.C:
9160         * text3.C: rename the refreshing stuff to better names
9161
9162 2003-03-24  John Levon  <levon@movementarian.org>
9163
9164         * BufferView_pimpl.h:
9165         * BufferView_pimpl.C: update layout choice on a mouse
9166         press/release
9167
9168 2003-03-23  John Levon  <levon@movementarian.org>
9169
9170         * Makefile.am: fix commandtags.h reference
9171
9172 2003-03-22  John Levon  <levon@movementarian.org>
9173
9174         * BufferView_pimpl.C:
9175         * lyxtext.h:
9176         * rowpainter.C:
9177         * rowpainter.h:
9178         * text.C:
9179         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9180
9181 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9182
9183         * lyxtext.h:
9184         * text.C: take the rtl methods out of line
9185
9186 2003-03-21 André Pönitz <poenitz@gmx.net>
9187
9188         * metricsinfo.[Ch]: new files containing structures to be passed around
9189         during the two-phase-drawing...
9190
9191 2003-03-21 André Pönitz <poenitz@gmx.net>
9192
9193         * lyxtextclass.C: read 'environment' tag.
9194
9195 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9196
9197         * text2.C (removeRow): fix bug 964
9198
9199 2003-03-20  John Levon  <levon@movementarian.org>
9200
9201         * rowpainter.C:
9202         * text.C:
9203         * text2.C: paint cleanups. Inset::update() dropped font
9204         parameter
9205
9206 2003-03-19  John Levon  <levon@movementarian.org>
9207
9208         * lyxfunc.C: only fitcursor/markDirty if available()
9209
9210 2003-03-19  John Levon  <levon@movementarian.org>
9211
9212         * commandtags.h: rename to ...
9213
9214         * lfuns.h: ... this, and renumber / cleanup
9215
9216 2003-03-19  John Levon  <levon@movementarian.org>
9217
9218         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9219         fit the cursor after an lfun
9220
9221         * BufferView.h:
9222         * BufferView.C:
9223         * BufferView_pimpl.h:
9224         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9225
9226         * LyXAction.C: layout-character should have ReadOnly
9227
9228         * ParagraphParameters.C:
9229         * buffer.C:
9230         * bufferview_funcs.C:
9231         * lyx_cb.C:
9232         * lyxfind.C:
9233         * lyxtext.h:
9234         * text.C:
9235         * text2.C:
9236         * text3.C:
9237         * undo_funcs.C: changes from above
9238
9239 2003-03-18  John Levon  <levon@movementarian.org>
9240
9241         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9242         remove it from update()
9243
9244         * lyxfunc.C: update layout choice after an lfun
9245
9246         * text3.C: remove extra updateLayoutChoice()s
9247
9248 2003-03-18  John Levon  <levon@movementarian.org>
9249
9250         * text.C: top_y change means full repaint, fix
9251         a drawing bug with cursor movement
9252
9253 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9254
9255         * lyxtext.h:
9256         * text.C:
9257         * text2.C: anchor row on setCursor
9258
9259 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9260
9261         * lyxtext.h: remove almost all mutable keywords
9262         * text.C:
9263         * text2.C:
9264         * text3.C: remove const keywords accordingly
9265
9266 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9267
9268         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9269         anon namespace
9270         (TeXEnvironment): ditto
9271         (TeXOnePar): ditto
9272
9273 2003-03-17  John Levon  <levon@movementarian.org>
9274
9275         * text.C (rowBreakPoint): remove attempt to fix displayed
9276         math insets inside a manual label
9277
9278 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9279
9280         * lyxtext.h: remove BufferView* as first arg from almost all class
9281         functions.
9282         * other files: adjust.
9283
9284 2003-03-17  John Levon  <levon@movementarian.org>
9285
9286         * lyxtext.h:
9287         * undo_funcs.C:
9288         * text2.C: more paint cleanups
9289
9290         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9291
9292         * rowpainter.h:
9293         * rowpainter.C: remove "smart" background painting code
9294
9295 2003-03-16  John Levon  <levon@movementarian.org>
9296
9297         * lyxtext.h:
9298         * text.C:
9299         * text2.C:
9300         * text3.C: add helper functions for setting refresh_row/y
9301
9302 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9303
9304         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9305         newline inset which *can* get inserted in the pass_thru layouts.
9306         This is primarily for literate documents.
9307
9308 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9309
9310         * buffer.C: increment LYX_FORMAT to 223
9311
9312 2003-03-14 André Pönitz <poenitz@gmx.net>
9313
9314         * textclass.h: prepare for environment handling, ws changes
9315         * lyxlayout.C: read latexheader and latexfooter tags
9316
9317 2003-03-14  John Levon  <levon@movementarian.org>
9318
9319         * text2.C: rewrite ::status() a bit
9320
9321 2003-03-13  John Levon  <levon@movementarian.org>
9322
9323         * lyxtext.h: add some docs
9324
9325 2003-03-13  John Levon  <levon@movementarian.org>
9326
9327         * lyxtext.h:
9328         * text.C:
9329         * text2.C:
9330         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9331
9332 2003-03-13  John Levon  <levon@movementarian.org>
9333
9334         * text3.C: fix appendix redrawing
9335
9336 2003-03-13  John Levon  <levon@movementarian.org>
9337
9338         * text.C (setHeightOfRow):
9339         * rowpainter.h:
9340         * rowpainter.C: make appendix mark have the text
9341           "Appendix" so the user knows what it is
9342
9343         * LColor.h:
9344         * LColor.C: s/appendixline/appendix/ from above
9345
9346 2003-03-13  John Levon  <levon@movementarian.org>
9347
9348         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9349
9350         * text.C: fix a getChar(pos) bug properly
9351
9352 2003-03-13  Angus Leeming  <leeming@lyx.org>
9353
9354         * commandtags.h:
9355         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9356         Probably only temporary. Let's see how things pan out.
9357
9358         * BufferView.C (unlockInset):
9359         * BufferView_pimpl.C (fitCursor):
9360         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9361
9362         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9363         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9364
9365         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9366         new functions that convert ParagraphParameters to and from a string.
9367
9368         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9369         BufferView::Pimpl's dispatch.
9370         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9371
9372 2003-03-13 André Pönitz <poenitz@gmx.net>
9373
9374         * lyxfunc.C:
9375         * text3.C:
9376         * factory.C: make it aware of InsetEnv
9377
9378 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9379
9380         * text2.C (setCursor): never ask for one past last
9381         (setCursor): add some debugging messages.
9382
9383         * text.C (singleWidth): never ask for one past last
9384         (singleWidth): ditto
9385         (leftMargin): ditto
9386         (rightMargin): ditto
9387         (rowBreakPoint): ditto
9388         (setHeightOfRow): ditto
9389         (prepareToPrint): ditto
9390
9391         * rowpainter.C (paintBackground): never ask for one past last
9392         (paintText): never ask for one past last
9393
9394         * paragraph_pimpl.C (getChar): make the assert stricter, never
9395         allow the one past last pos to be taken
9396
9397         * paragraph.C (getChar): ws changes only
9398
9399         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9400         (numberOfSeparators): ditto
9401         (numberOfHfills): ditto
9402
9403 2003-03-12  John Levon  <levon@movementarian.org>
9404
9405         * author.h:
9406         * author.C:
9407         * bufferparams.h:
9408         * bufferparams.C:
9409         * paragraph_funcs.C: fix per-buffer authorlists
9410
9411 2003-03-12  John Levon  <levon@movementarian.org>
9412
9413         * text.C: fix newline in right address
9414
9415 2003-03-12  Angus Leeming  <leeming@lyx.org>
9416
9417         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9418         duplicate those in LyXFunc::dispatch.
9419
9420         * commandtags.h:
9421         * LyXAction.C:
9422         * ToolbarDefaults.C:
9423         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9424         Add LFUN_FONTFREE_UPDATE.
9425
9426         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9427         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9428
9429         * bufferview_func.[Ch]: several new functions to facilliate
9430         transfer of data to and from the character dialog.
9431
9432 2003-03-12  John Levon  <levon@movementarian.org>
9433
9434         * buffer.C:
9435         * paragraph.h:
9436         * paragraph.C:
9437         * paragraph_funcs.C:
9438         * paragraph_pimpl.C:
9439         * sgml.C:
9440         * tabular.C:
9441         * text.C:
9442         * text3.C: remove META_NEWLINE in favour of an inset
9443
9444         * rowpainter.h:
9445         * rowpainter.C: remove paintNewline (done by inset)
9446
9447 2003-03-12  John Levon  <levon@movementarian.org>
9448
9449         * paragraph_pimpl.C: complain about bad getChar()s
9450         for a while at least
9451
9452 2003-03-12  John Levon  <levon@movementarian.org>
9453
9454         * buffer.h:
9455         * buffer.C: move paragraph read into a separate function,
9456         a little renaming to reflect that.
9457
9458         * bufferparams.h:
9459         * bufferparams.C: remove the author_ids map, not necessary now
9460
9461         * factory.h:
9462         * factory.C: moved Buffer::readInset to here
9463
9464         * paragraph_funcs.h:
9465         * paragraph_funcs.C: readParagraph free function moved from
9466         buffer.C
9467
9468         * tabular.C: name change
9469
9470 2003-03-12  John Levon  <levon@movementarian.org>
9471
9472         * buffer.C:
9473         * ParagraphParameters.C: move par params input to
9474         a read() method
9475
9476         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9477         behave like a normal read from the stream wrt reading
9478         a line vs. a \\token
9479
9480 2003-03-12  John Levon  <levon@movementarian.org>
9481
9482         * paragraph.C:
9483         * ParagraphParameters.h:
9484         * ParagraphParameters.C: move output code to a
9485         ::write() method
9486
9487 2003-03-12  John Levon  <levon@movementarian.org>
9488
9489         * BufferView.C (insertLyXFile):
9490         * buffer.h:
9491         * buffer.C:
9492         * tabular.C: use a parlist iterator for creating the
9493           document.
9494
9495 2003-03-12  John Levon  <levon@movementarian.org>
9496
9497         * buffer.C: make current_change static local not
9498           static file-scope
9499
9500 2003-03-12  John Levon  <levon@movementarian.org>
9501
9502         * buffer.C: fix insertStringAsLines for change tracking
9503
9504 2003-03-12  John Levon  <levon@movementarian.org>
9505
9506         * BufferView.C:
9507         * tabular.C:
9508         * buffer.h:
9509         * buffer.C:
9510         * bufferparams.h:
9511         * bufferparams.C: move author list into params. Rename some
9512           functions. Move the header reading into a separate token
9513           loop. Move the header token reading into BufferParams.
9514
9515 2003-03-12  John Levon  <levon@movementarian.org>
9516
9517         * changes.C: put debug inside lyxerr.debugging() checks
9518
9519 2003-03-11 André Pönitz <poenitz@gmx.net>
9520
9521         * factory.C: make it aware of InsetHFill
9522
9523 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9524
9525         * buffer.C (latexParagraphs): move function from here...
9526         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9527         args.
9528
9529 2003-03-10  Angus Leeming  <leeming@lyx.org>
9530
9531         * LyXAction.C (init): fix bug in poplating array with multiple entries
9532         with the same LFUN (spotted by JMarc).
9533
9534 2003-03-10  John Levon  <levon@movementarian.org>
9535
9536         * text.C:
9537         * text2.C: move getColumnNearX() near its
9538         only call site
9539
9540 2003-03-10  John Levon  <levon@movementarian.org>
9541
9542         * text.C: fix break before a minipage
9543
9544 2003-03-10  John Levon  <levon@movementarian.org>
9545
9546         * text.C: fix the last commit
9547
9548 2003-03-09  John Levon  <levon@movementarian.org>
9549
9550         * lyxtext.h:
9551         * text.C:
9552         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9553         bug 365 (don't break before insets unless needed). Don't
9554         return a value > last under any circumstances.
9555
9556 2003-03-09  Angus Leeming  <leeming@lyx.org>
9557
9558         * BufferView_pimpl.C (trackChanges, dispatch): call
9559         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9560
9561 2003-03-09  Angus Leeming  <leeming@lyx.org>
9562
9563         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9564         than Dialogs::showAboutlyx().
9565
9566 2003-03-09  Angus Leeming  <leeming@lyx.org>
9567
9568         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9569         than Dialogs::showTabularCreate().
9570
9571 2003-03-09  John Levon  <levon@movementarian.org>
9572
9573         * lyxtext.h:
9574         * text.C:
9575         * text2.C: 3rd arg to nextBreakPoint was always the same.
9576           Use references.
9577
9578 2003-03-08  John Levon  <levon@movementarian.org>
9579
9580         * lyxrow.C:
9581         * paragraph.C:
9582         * paragraph.h:
9583         * rowpainter.C:
9584         * text.C:
9585         * text2.C: Remove the "main" bit from the "main body"
9586           notion.
9587
9588 2003-03-08  John Levon  <levon@movementarian.org>
9589
9590         * text.C (leftMargin): The left margin of an empty
9591         manual label paragraph should not include the label width
9592         string length.
9593
9594         * text.C (prepareToPrint): don't attempt to measure hfills
9595         for empty manual label paragraphs - the answer should be 0
9596
9597 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9598
9599         * CutAndPaste.C: remove commented code and reindent.
9600
9601 2003-03-08  John Levon  <levon@movementarian.org>
9602
9603         * lyxfunc.h:
9604         * lyxfunc.C: move reloadBuffer()
9605
9606         * BufferView.h:
9607         * BufferView.C: to here
9608
9609         * lyxvc.C: add comment
9610
9611         * vc-backend.h:
9612         * vc-backend.C: call bv->reload() to avoid
9613           getStatus() check on MENURELOAD
9614
9615 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9616
9617         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9618         to an old format .dep file.
9619
9620 2003-03-07  Angus Leeming  <leeming@lyx.org>
9621
9622         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9623         when the LFUN_MOUSE_RELEASE should have been handled by
9624         inset->localDispatch.
9625
9626 2003-03-07  Angus Leeming  <leeming@lyx.org>
9627
9628         * BufferView_pimpl.C (dispatch):
9629         * LyXAction.C (init):
9630         * ToolbarDefaults.C (init):
9631         * commandtags.h:
9632         * lyxfunc.C (getStatus):
9633         remove LFUN_INSET_GRAPHICS.
9634
9635         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9636
9637 2003-03-07  Angus Leeming  <leeming@lyx.org>
9638
9639         * commandtags.h:
9640         * LyXAction.C (init):
9641         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9642
9643         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9644
9645         * commandtags.h:
9646         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9647
9648         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9649         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9650
9651 2003-03-07  Angus Leeming  <leeming@lyx.org>
9652
9653         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9654         remove "ert".
9655
9656 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9657
9658         * ParagraphList.C (front): new function
9659         (back): implement
9660
9661 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9662
9663         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9664         and top_row_offset_. removed var first_y.
9665         * text.C (top_y):
9666         * text2.C (LyXText, removeRow):
9667         * text3.C:
9668         * BufferView_pimpl.C:
9669         use these methods instead of using first_y
9670
9671 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9672
9673         * text2.C (pasteSelection): adjust for checkPastePossible
9674
9675         * CutAndPaste.C: remove Paragraph * buf and replace with
9676         ParagraphList paragraphs.
9677         (DeleteBuffer): delete
9678         (cutSelection): change the tc type to textclass_type
9679         (copySelection): change the tc type to textclass_type
9680         (copySelection): adjust for ParagraphList
9681         (pasteSelection): change the tc type to textclass_type
9682         (pasteSelection): adjust for Paragraphlist
9683         (nrOfParagraphs): simplify for ParagraphList
9684         (checkPastePossible): simplify for ParagraphList
9685         (checkPastePossible): remove unused arg
9686
9687         * ParagraphList.C (insert): handle the case where there are no
9688         paragraphs yet.
9689
9690         * CutAndPaste.h: make CutAndPaste a namespace.
9691
9692         * text3.C (dispatch): adjust
9693
9694         * text.C (breakParagraph): add a ParagraphList as arg
9695
9696         * paragraph_funcs.C (breakParagraph): change to take a
9697         BufferParams and a ParagraphList as args.
9698         (breakParagraphConservative): ditto
9699         (mergeParagraph): ditto
9700         (TeXDeeper): add a ParagraphList arg
9701         (TeXEnvironment): ditto
9702         (TeXOnePar): ditto
9703
9704         * buffer.C (readLyXformat2): adjust
9705         (insertStringAsLines): adjust
9706         (latexParagraphs): adjust
9707
9708         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9709         (cutSelection): adjust
9710         (pasteSelection): adjust
9711
9712         * BufferView_pimpl.C (insertInset): adjust
9713
9714 2003-03-05  Angus Leeming  <leeming@lyx.org>
9715
9716         * commandtags.h:
9717         * LyXAction.C (init):
9718         * BufferView_pimpl.C (dispatch):
9719         * lyxfunc.C (getStatus):
9720         remove LFUN_CHILD_INSERT.
9721
9722         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9723
9724 2003-03-05  Angus Leeming  <leeming@lyx.org>
9725
9726         * commandtags.h:
9727         * LyXAction.C (init):
9728         * src/factory.C (createInset):
9729         * lyxfunc.C (getStatus):
9730         * text3.C (dispatch):
9731         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9732
9733         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9734
9735 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9736
9737         * ParagraphList.C (insert): handle insert right before end()
9738         (erase): fix cases where it can be first or last paragraph.
9739
9740 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9741
9742         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9743         Paragraph::next and Paragraph::previous
9744         (TeXOnePar): ditto
9745
9746         * text.C (breakParagraph): adjust
9747
9748         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9749         BufferParams& as arg.
9750         (breakParagraph): use ParagraphList::insert
9751         (breakParagraphConservative): take a Buffer* instead of a
9752         BufferParams& as arg.
9753         (breakParagraphConservative): use ParagraphList::insert.
9754
9755         * buffer.C (insertStringAsLines): un-const it
9756         (insertStringAsLines): adjust
9757
9758         * ParagraphList.C (insert): new function
9759
9760         * CutAndPaste.C (pasteSelection): adjust
9761
9762         * text.C (backspace): adjust
9763
9764         * tabular.C (SetMultiColumn): adjust
9765
9766         * CutAndPaste.C (cutSelection): adjust
9767         (pasteSelection): adjust
9768
9769         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9770         Buffer const * as arg
9771
9772         * ParagraphList.C (erase): new function
9773         * paragraph_funcs.C (mergeParagraph): use it
9774         (mergeParagraph): make it take a Buffer* instead of a
9775         BufferParams* as arg
9776
9777         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9778         as arg
9779         (breakParagraphConservative): ditto
9780
9781         * paragraph.h: remove the breakParagraph friend
9782
9783         * paragraph.C (eraseIntern): new function
9784         (setChange): new function
9785
9786         * paragraph_funcs.C (mergeParagraph): make it take a
9787         ParagraphList::iterator instead of a Paragraph *, adjust
9788         accordingly.
9789
9790         * paragraph.h: move an #endif so that the change tracking stuff
9791         also works in the NO_NEXT case.
9792
9793 2003-03-04  Angus Leeming  <leeming@lyx.org>
9794
9795         * commandtags.h:
9796         * LyXAction.C: new LFUN_INSET_MODIFY.
9797
9798         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9799         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9800
9801 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9802
9803         * several files: ws changes only
9804
9805         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9806         (TeXEnvironment): ditto
9807         (TeXDeeper): ditto
9808
9809         * buffer.C (makeLaTeXFile): adjust
9810         (latexParagraphs): make it take ParagraphList::iterator as args
9811
9812 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9813
9814         * buffer.C (latexParagraphs): adjust
9815
9816         * paragraph.C (TeXOnePar): move function...
9817         (optArgInset): move function...
9818         (TeXEnvironment): move function...
9819         * paragraph_pimpl.C (TeXDeeper): move function...
9820         * paragraph_funcs.C: ...here
9821
9822         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9823
9824 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9825
9826         * buffer.C (readInset): remove compability code for old Figure and
9827         InsetInfo insets
9828
9829 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9830
9831         * buffer.C: ws changes
9832         (readInset):
9833
9834         * BufferView_pimpl.C: ditto
9835         * author.C: ditto
9836         * buffer.h: ditto
9837         * bufferlist.h: ditto
9838         * changes.h: ditto
9839         * lyxfunc.C: ditto
9840
9841 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9842
9843         * converter.[Ch]: split into itself +
9844         * graph.[Ch]
9845         * format.[Ch]
9846         * Makefile.am: += graph.[Ch] + format.[Ch]
9847         * MenuBackend.C
9848         * buffer.C
9849         * exporter.C
9850         * importer.C
9851         * lyx_main.C
9852         * lyxfunc.C
9853         * lyxrc.C: added #include "format.h"
9854
9855 2003-02-27  Angus Leeming  <leeming@lyx.org>
9856
9857         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9858           a label.
9859
9860         * factory.C (createInset): add "label" to the factory.
9861
9862         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9863           string and do no more.
9864
9865 2003-02-27  Angus Leeming  <leeming@lyx.org>
9866
9867         * commandtags.h:
9868         * LyXAction.C (init):
9869         * factory.C (createInset):
9870         * BufferView_pimpl.C (dispatch):
9871           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9872
9873         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9874
9875         * lyxfunc.C (dispatch):
9876         * text3.C (dispatch): pass name to params2string.
9877
9878 2003-02-26  Angus Leeming  <leeming@lyx.org>
9879
9880         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9881           blocks together.
9882           Rearrange the ~includes. Strip out the unnecessary ones.
9883
9884         * factory.C (createInset): reformat.
9885           create new insets for the various LFUN_XYZ_APPLY lfuns.
9886
9887 2003-02-26  John Levon  <levon@movementarian.org>
9888
9889         * lyxrow.h:
9890         * lyxrow.C: add isParStart,isParEnd helpers
9891
9892         * paragraph.h: make isInserted/DeletedText take refs
9893
9894         * paragraph_funcs.h:
9895         * paragraph_funcs.C: remove #if 0'd code
9896
9897         * lyxtext.h:
9898         * text3.C:
9899         * text2.C:
9900         * text.C: use lyxrow helpers above.
9901           Move draw and paint routines to RowPainter.
9902           Make several methods use refs not pointers.
9903           Make backgroundColor() const.
9904           Add markChangeInDraw(), isInInset().
9905           Merge changeRegionCase into changeCase.
9906           Make workWidth() shouldn't-happen code into an Assert.
9907
9908         * rowpainter.h:
9909         * rowpainter.C: new class for painting a row.
9910
9911         * vspace.h:
9912         * vspace.C: make inPixels take a ref
9913
9914 2003-02-26  Angus Leeming  <leeming@lyx.org>
9915
9916         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9917         LFUN_REF_APPLY.
9918
9919 2003-02-25  John Levon  <levon@movementarian.org>
9920
9921         * ispell.C: give the forked command a more accurate name
9922
9923 2003-02-22  John Levon  <levon@movementarian.org>
9924
9925         * toc.h:
9926         * toc.C: make TocItem store an id not a Paragraph *
9927           (bug #913)
9928
9929 2003-02-21  Angus Leeming  <leeming@lyx.org>
9930
9931         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9932           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9933           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9934           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9935           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9936           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9937
9938         * BufferView_pimpl.C (dispatch):
9939         * LyXAction.C (init):
9940         * factory.C (createInset):
9941         * lyxfunc.C (getStatus, dispatch):
9942         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9943
9944 2003-02-21  Angus Leeming  <leeming@lyx.org>
9945
9946         * BufferView_pimpl.C (MenuInsertLyXFile):
9947         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9948         * lyxfunc.C (menuNew, open, doImport):
9949           no longer pass a LyXView & to fileDlg.
9950
9951 2003-02-21  Angus Leeming  <leeming@lyx.org>
9952
9953         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9954         * LyXAction.C: change, BIBKEY to BIBITEM.
9955         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9956         Change InsetBibKey to InsetBibitem.
9957         Change BIBKEY_CODE to BIBITEM_CODE.
9958         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9959         * factory.C: replace insetbib.h with insetbibitem.h.
9960         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9961         * paragraph.C: replace insetbib.h with insetbibitem.h.
9962         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9963         Change bibkey() to bibitem().
9964         * text.C: remove insetbib.h.
9965         * text2.C: replace insetbib.h with insetbibitem.h.
9966         change bibkey() to bibitem().
9967         * text3.C: remove insetbib.h.
9968         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9969
9970 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9971
9972         * lyxrc.C (output): enclose user email in quotes (in case there are
9973         several words)
9974
9975 2003-02-18  John Levon  <levon@movementarian.org>
9976
9977         * buffer.h: add std::
9978
9979 2003-02-17  John Levon  <levon@movementarian.org>
9980
9981         * SpellBase.h:
9982         * ispell.h:
9983         * ispell.C:
9984         * pspell.h:
9985         * pspell.C: reworking. Especially in ispell, a large
9986           number of clean ups and bug fixes.
9987
9988         * lyxfunc.C: fix revert to behave sensibly
9989
9990 2003-02-17 André Pönitz <poenitz@gmx.net>
9991
9992         * LyXAction.C:
9993         * commandtags.h: new LFUN_INSERT_BIBKEY
9994
9995         * layout.h:
9996         * lyxlayout.C:
9997         * buffer.C:
9998         * factory.C:
9999         * text.C:
10000         * text2.C:
10001         * text3.C:
10002         * paragraph.[Ch]:
10003         * paragraph_func.C: remove special bibkey handling
10004
10005 2003-02-17  John Levon  <levon@movementarian.org>
10006
10007         * text.C (Delete): fix case where delete at the end of
10008           the very first paragraph would not merge the pars
10009
10010 2003-02-17  John Levon  <levon@movementarian.org>
10011
10012         * lyxrow.C: fix lastPrintablePos()
10013
10014 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10015
10016         * bufferparams.C (writeLaTeX): add a std:here
10017
10018         * buffer.C: and remove a using directive there
10019
10020 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10021
10022         * buffer.C (makeLaTeXFile): move the code that generates the
10023           preamble...
10024
10025         * bufferparams.C (writeLaTeX): ... in this new method
10026
10027         * LaTeXFeatures.C (getEncodingSet): make const
10028           (getLanguages): make const
10029
10030         * MenuBackend.C (binding): returns the binding associated to this
10031           action
10032           (add): sets the status of each item by calling getStatus. Adds
10033           some intelligence.
10034           (read): add support for OptSubMenu
10035           (expand): remove extra separator at the end of expanded menu
10036
10037 2003-02-15  John Levon  <levon@movementarian.org>
10038
10039         * BufferView.C:
10040         * BufferView_pimpl.C:
10041         * bufferlist.h:
10042         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10043           inset code that had no actual effect. Remove unneeded status
10044           code.
10045
10046 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10047
10048         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10049           in preamble
10050
10051 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10052
10053         * text.C (drawLengthMarker): also draw an arrow marker for
10054           symbolic lengths (medskip...)
10055
10056 2003-02-14  John Levon  <levon@movementarian.org>
10057
10058         * tabular.h:
10059         * tabular.C: better method names
10060
10061 2003-02-14  John Levon  <levon@movementarian.org>
10062
10063         * BufferView_pimpl.C:
10064         * bufferlist.C:
10065         * buffer.C:
10066         * converter.C:
10067         * lyx_cb.C:
10068         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10069           it's a more accurate name. Remove some pointless uses.
10070
10071 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10072
10073         * text2.C (LyXText): change order of initilizers to shut off
10074           warnings
10075
10076 2003-02-14  John Levon  <levon@movementarian.org>
10077
10078         * buffer.C: use ParIterator for getParFromID()
10079
10080         * paragraph.h:
10081         * paragraph.C:
10082         * paragraph_pimpl.h:
10083         * paragraph_pimpl.C: remove unused getParFromID()
10084
10085 2003-02-14  John Levon  <levon@movementarian.org>
10086
10087         * buffer.C: remove some very old #if 0'd parse code
10088
10089 2003-02-13  John Levon  <levon@movementarian.org>
10090
10091         * text.h:
10092         * text.C:
10093         * text2.C: move hfillExpansion(), numberOfSeparators(),
10094           rowLast(), rowLastPrintable(), numberofHfills(),
10095           numberOfLabelHfills() ...
10096
10097         * lyxrow.h:
10098         * lyxrow.C: ... to member functions here.
10099
10100         * paragraph.h:
10101         * paragraph.C:
10102         * lyxtext.h:
10103         * text.C: remove LyXText::beginningOfMainBody(), and call
10104           p->beginningOfMainBody() directly. Move the check for
10105           LABEL_MANUAL into the latter.
10106
10107         * text.h:
10108         * text.C:
10109         * text2.C:
10110         * vspace.C:
10111         * BufferView.h:
10112         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10113
10114         * text.h:
10115         * text.C:
10116         * text2.C:
10117         * text3.C:
10118         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10119           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10120
10121 2003-02-13  John Levon  <levon@movementarian.org>
10122
10123         * CutAndPaste.C: remove debug
10124
10125 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10126
10127         * paragraph.C (asString): remove two unused variables
10128
10129         * lyxtextclass.C (readTitleType):
10130           (Read):
10131           (LyXTextClass): handle new members titletype_ and titlename_
10132
10133         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10134
10135 2003-02-09  John Levon  <levon@movementarian.org>
10136
10137         * buffer.h:
10138         * buffer.C: replace hand-coded list with a map for the dep clean
10139
10140 2003-02-08  John Levon  <levon@movementarian.org>
10141
10142         * LaTeX.C: consolidate code into showRunMessage() helper
10143
10144 2003-02-08  John Levon  <levon@movementarian.org>
10145
10146         * lyxfind.C:
10147         * lyxtext.h:
10148         * text2.C:
10149         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10150           and pass the size in explicitly
10151
10152         * BufferView_pimpl.h:
10153         * BufferView_pimpl.C:
10154         * BufferView.h:
10155         * BufferView.C: add getCurrentChange()
10156
10157         * BufferView_pimpl.h:
10158         * BufferView_pimpl.C: handle change lfuns
10159
10160         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10161           for changes. Mark pasted paragraphs as new.
10162
10163         * support/lyxtime.h:
10164         * support/lyxtime.C:
10165         * DepTable.C: abstract time_t as lyx::time_type
10166
10167         * LColor.h:
10168         * LColor.C: add colours for new text, deleted text, changebars
10169
10170         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10171           package use "usenames" option.
10172
10173         * commandtags.h:
10174         * lyxfunc.C:
10175         * LyXAction.C: add change lfuns
10176
10177         * Makefile.am:
10178         * author.h:
10179         * author.C: author handling
10180
10181         * buffer.h:
10182         * buffer.C: add a per-buffer author list, with first entry as
10183           current author. Handle new .lyx tokens for change tracking. Output
10184           author list to .lyx file. Output dvipost stuff to .tex preamble.
10185           Bump lyx format to 222.
10186
10187         * bufferlist.h:
10188         * bufferlist.C: add setCurrentAuthor() to reset current author details
10189           in all buffers.
10190
10191         * bufferparams.h:
10192         * bufferparams.C: add param for tracking
10193
10194         * bufferview_funcs.C: output change info in minibuffer
10195
10196         * Makefile.am:
10197         * changes.h:
10198         * changes.C: add change-tracking structure
10199
10200         * debug.h:
10201         * debug.C: add CHANGES debug flag
10202
10203         * lyxfind.h:
10204         * lyxfind.C: add code for finding the next change piece
10205
10206         * lyxrc.h:
10207         * lyxrc.C: add user_name and user_email
10208
10209         * lyxrow.h:
10210         * lyxrow.C: add a metric for the top of the text line
10211
10212         * lyxtext.h:
10213         * text.C: implement accept/rejectChange()
10214
10215         * lyxtext.h:
10216         * text.C: paint changebars. Paint new/deleted text in the chosen
10217         colours. Strike through deleted text.
10218
10219         * paragraph.h:
10220         * paragraph.C:
10221         * paragraph_pimpl.h:
10222         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10223           in the current change to the insert functions. Rework erase to
10224           mark text as deleted, adding an eraseIntern() and a range-based
10225           erase(). Implement per-paragraph change lookup and
10226           accept/reject.
10227
10228         * paragraph_funcs.C: Fixup paste for change tracking.
10229
10230         * tabular.C: mark added row/columns as new.
10231
10232         * text.C: fix rowLast() to never return -1. Don't allow
10233           spellchecking of deleted text. Track transpose changes. Don't
10234           allow paragraph break or merge where appropriate.
10235
10236         * text2.C: leave cursor at end of selection after a cut.
10237
10238 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10239
10240         * text.C (getLengthMarkerHeight):
10241         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10242         visible on screen too.
10243
10244 2003-02-07  John Levon  <levon@movementarian.org>
10245
10246         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10247
10248 2003-02-05  Angus Leeming  <leeming@lyx.org>
10249
10250         * lyxserver.C (read_ready): revert my patch of 11 September last year
10251         as it sends PC cpu through the roof. Presumably this means that
10252         the lyxserver will no longer run on an Alpha...
10253
10254 2003-01-30  Angus Leeming  <leeming@lyx.org>
10255
10256         * factory.C (createInset): create an InsetCommandParam of type "index"
10257         and use it to 'do the right thing'.
10258
10259         * text2.C (getStringToIndex): ensure that cursor position is always
10260         reset to the reset_cursor position.
10261
10262 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10263
10264         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10265         disabled.
10266
10267 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10268
10269         * bufferview.C:
10270         * lyxcb.C:
10271         * lyxfunc.C: Output messages with identical spelling, punctuation,
10272         and spaces
10273
10274 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10275
10276         * MenuBackend.C (expandFormats): List only viewable export formats
10277         in "View" menu
10278
10279         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10280         message
10281
10282         * lyxfunc.C (getStatus): Make sure that formats other than
10283         "fax" can also be disabled
10284
10285 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10286
10287         * text3.C (dispatch): put the lfuns that insert insets in 3
10288         groups, and call doInsertInset with appropriate arguments.
10289         (doInsertInset): new function, that creates an inset and inserts
10290         it according to some boolean parameters.
10291
10292 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10293
10294         * buffer.C (readFile): remember to pass on 'par' when calling
10295         readFile recursively.
10296
10297 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10298
10299         * MenuBackend.C (expandFormats): add "..." to import formats.
10300
10301 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10302
10303         * paragraph.C (asString): Remove XForms RTL hacks.
10304
10305 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10306         * buffer.C: fix typo
10307
10308 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10309
10310         * Makefile.am (LIBS): delete var
10311         (lyx_LDADD): add @LIBS@ here instead.
10312
10313 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10314
10315         * Clarify the meaning of "wheel mouse jump"
10316
10317 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10318
10319         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10320         tabular in a float
10321
10322 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10323
10324         * importer.C (Loaders): do not preallocate 3 elements in the
10325         vector, since one ends up with 6 elements otherwise
10326
10327 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10328
10329         * DepTable.C (write): write the file name as last element of the
10330         .dep file (because it may contain spaces)
10331         (read): read info in the right order
10332
10333 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10334
10335         * paragraph_pimpl.C (simpleTeXBlanks):
10336         (simpleTeXSpecialChars):
10337         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10338
10339         * tabular.C (latex): add some missing case statements. Reindent.
10340
10341         * MenuBackend.C (expandToc): remove unused variable.
10342
10343 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10344
10345         * LColor.C:
10346         * LaTeX.C:
10347         * LyXAction.C:
10348         * MenuBackend.C:
10349         * buffer.C:
10350         * exporter.C:
10351         * lyxfunc.C:
10352         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10353         and the like.
10354
10355 2003-01-05  John Levon  <levon@movementarian.org>
10356
10357         * BufferView.h:
10358         * BufferView.C: add getEncoding()
10359
10360         * kbsequence.h:
10361         * kbsequence.C: do not store last keypress
10362
10363         * lyxfunc.h:
10364         * lyxfunc.C: store last keypress here instead. Pass encoding
10365           to getISOEncoded()
10366
10367 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10368
10369         * lyx_main.C (init): remove annoying error message when following
10370         symbolic links (bug #780)
10371
10372 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10373
10374         * text.C (insertChar):
10375         * lyxrc.C (getDescription): remove extra spaces
10376
10377 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10378
10379         * lyxrc.C (getDescription): remove extra spaces
10380
10381 2002-12-20  John Levon  <levon@movementarian.org>
10382
10383         * text3.C: hack fix for page up/down across tall rows
10384
10385 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10386
10387         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10388         not been invoked
10389
10390 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10391
10392         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10393         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10394         thesaurus is not compiled in
10395
10396 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10397
10398         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10399
10400 2002-12-16  Angus Leeming  <leeming@lyx.org>
10401
10402         * lyxrc.[Ch]:
10403         * lyx_main.C (init): remove override_x_deadkeys stuff.
10404
10405 2002-12-12  John Levon  <levon@movementarian.org>
10406
10407         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10408           insert. Only remove shift modifier under strict
10409           circumstances.
10410
10411 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10412
10413         * MenuBackend.C (expandToc): fix crash.
10414
10415 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10416
10417         * MenuBackend.C (expandToc): gettext on float names.
10418
10419 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10420
10421         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10422         implement bool empty() [bug 490]
10423
10424 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10425
10426         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10427
10428 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10429
10430         * several files: ws changes
10431
10432 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10433
10434         * text2.C (setCounter): clean up a bit, use boost.format.
10435         (updateCounters): initialize par upon declaration.
10436
10437         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10438         if the layout exists. We do not just store the layout any more.
10439         (SwitchLayoutsBetweenClasses): use boost.format
10440
10441 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10442
10443         * converter.C (convert): if from and to files are the same, use a
10444         temporary files as intermediary
10445
10446 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10447
10448         * commandtags.h:
10449         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10450
10451 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10452
10453         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10454
10455 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10456
10457         * tabular.C (asciiPrintCell): use string(size, char) instead of
10458         explicit loop.
10459
10460         * sgml.C (openTag): fix order of arguments to string constructor
10461         (closeTag): ditto
10462
10463         * lyxfunc.C (dispatch): use boost.format
10464
10465         * lots of files: change "c" -> 'c'
10466
10467 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10468
10469         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10470
10471 2002-11-25  Angus Leeming  <leeming@lyx.org>
10472
10473         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10474
10475         * lyx_main.C (init): compile fix.
10476
10477 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10478
10479         * lyx_cb.C (start): boost.formatify
10480         do not include <iostream>
10481
10482         * lengthcommon.C: ws only
10483
10484         * boost-inst.C,BoostFormat.h: add more explict instantations
10485
10486 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10487
10488         * lots of files: handle USE_BOOST_FORMAT
10489
10490 2002-11-21  John Levon  <levon@movementarian.org>
10491
10492         * pspell.C: fix compile
10493
10494 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10495
10496         * lyxfunc.C (dispatch): use boost::format
10497         (open): ditto
10498         (doImport): ditto
10499
10500         * lyxfont.C (stateText): use boost::format
10501
10502         * lyx_main.C (LyX): use boost::format
10503         (init): ditto
10504         (queryUserLyXDir): ditto
10505         (readRcFile): ditto
10506         (parse_dbg): ditto
10507         (typedef boost::function): use the recommened syntax.
10508
10509         * importer.C (Import): use boost::format
10510
10511         * debug.C (showLevel): use boost::format
10512
10513         * converter.C (view): use boost::format
10514         (convert): ditto
10515         (move): ditto
10516         (scanLog): ditto
10517
10518         * bufferview_funcs.C (currentState): use boost::format
10519
10520         * bufferlist.C (emergencyWrite): use boost::format
10521
10522         * buffer.C (readLyXformat2): use boost::format
10523         (parseSingleLyXformat2Token): ditto
10524
10525         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10526
10527         * LaTeX.C (run): use boost::format
10528
10529         * Chktex.C (scanLogFile): use boost::format
10530
10531         * BufferView_pimpl.C (savePosition): use boost::format
10532         (restorePosition): ditto
10533         (MenuInsertLyXFile): ditto
10534
10535         * BoostFormat.h: help file for explicit instation.
10536
10537 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10538
10539         * tabular.C (latex): Support for block alignment in fixed width
10540         columns.
10541
10542 2002-11-17  John Levon  <levon@movementarian.org>
10543
10544         * BufferView_pimpl.C:
10545         * lyx_cb.C:
10546         * lyxfunc.C: split filedialog into open/save
10547
10548 2002-11-08  Juergen Vigna  <jug@sad.it>
10549
10550         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10551         by my last patch (hopefully).
10552
10553 2002-11-08  John Levon  <levon@movementarian.org>
10554
10555         * iterators.h:
10556         * iterators.C:
10557         * buffer.h:
10558         * buffer.C:
10559         * paragraph.h:
10560         * paragraph.C:
10561         * toc.h:
10562         * toc.C: ParConstIterator, and use it (from Lars)
10563
10564 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10565
10566         * lyxtextclass.[Ch]: revise and add doxygen comments
10567
10568 2002-11-07  John Levon  <levon@movementarian.org>
10569
10570         * text.C: fix progress value for spellchecker
10571
10572         * toc.C: fix navigate menu for insetwrap inside minipage
10573
10574         * paragraph_funcs.C: added FIXME for suspect code
10575
10576 2002-11-07  John Levon  <levon@movementarian.org>
10577
10578         * BufferView_pimpl.C: fix redrawing of insets
10579           on buffer switch
10580
10581 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10582
10583         * text2.C (updateCounters): fix bug 668
10584
10585 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10586
10587         * text3.C (dispatch): Do not make the buffer dirty when moving the
10588         cursor.
10589
10590 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10591
10592         * vc-backend.C: STRCONV
10593         (scanMaster): ditto
10594
10595         * text2.C (setCounter): STRCONV
10596
10597         * paragraph.C (asString): STRCONV
10598
10599         * lyxlength.C (asString): STRCONV
10600         (asLatexString): ditto
10601
10602         * lyxgluelength.C (asString): STRCONV
10603         (asLatexString): ditto
10604
10605         * lyxfunc.C (dispatch): STRCONV
10606         (open): ditto
10607
10608         * lyxfont.C (stateText): STRCONV
10609
10610         * importer.C (Import): STRCONV
10611
10612         * counters.C (labelItem): STRCONV
10613         (numberLabel): ditto
10614         (numberLabel): remove unused ostringstream o
10615
10616         * chset.C: STRCONV
10617         (loadFile): ditto
10618
10619         * bufferview_funcs.C (currentState): STRCONV
10620
10621         * buffer.C (readFile): STRCONV
10622         (asciiParagraph): ditto
10623         (makeLaTeXFile): ditto
10624
10625         * Spacing.C (writeEnvirBegin): STRCONV
10626
10627         * LaTeXFeatures.C (getLanguages): STRCONV
10628         (getPackages): ditto
10629         (getMacros): ditto
10630         (getBabelOptions): ditto
10631         (getTClassPreamble): ditto
10632         (getLyXSGMLEntities): ditto
10633         (getIncludedFiles): ditto
10634
10635         * LaTeX.C: STRCONV
10636         (run): ditto
10637         (scanAuxFile): ditto
10638         (deplog): ditto
10639
10640         * LString.h: add the STRCONV macros
10641
10642         * BufferView_pimpl.C (savePosition): STRCONV
10643         (restorePosition): ditto
10644         (MenuInsertLyXFile): ditto
10645
10646         * vc-backend.C (scanMaster): change from submatch[...] to
10647         submatch.str(...)
10648
10649         * funcrequest.C: include config.h
10650
10651         * factory.C: include config.h
10652
10653         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10654
10655         * box.C: include config.h
10656
10657         * LaTeX.C (scanAuxFile): change from submatch[...] to
10658         submatch.str(...)
10659         (deplog): ditto
10660
10661 2002-10-25  Angus Leeming  <leeming@lyx.org>
10662
10663         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10664
10665         * ispell.[Ch] (setError): new method.
10666         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10667         Use setError() insetead of goto END.
10668
10669         * lyx_cb.C (AutoSave): move out child process into new class
10670         AutoSaveBuffer.
10671
10672 2002-10-30  John Levon  <levon@movementarian.org>
10673
10674         * text3.C: make start appendix undoable
10675
10676 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10677
10678         * lyxlength.C (inPixels): Fix returned value.
10679
10680         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10681         environment.
10682
10683 2002-10-24  Angus Leeming  <leeming@lyx.org>
10684
10685         * lyxgluelength.h: no need to forward declare BufferParams
10686         or BufferView, so don't.
10687
10688 2002-10-21  John Levon  <levon@movementarian.org>
10689
10690         * BufferView.C: menuUndo ->undo, redo
10691
10692         * BufferView.h: document, remove dead, make some methods private
10693
10694         * paragraph_funcs.h:
10695         * paragraph_funcs.C:
10696         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10697
10698         * buffer.h:
10699         * buffer.C:
10700         * sgml.h:
10701         * sgml.C: move sgml open/close tag into sgml.C
10702
10703         * bufferview_funcs.h: unused prototype
10704
10705         * lyxfunc.h:
10706         * lyxfunc.C: remove unused
10707
10708         * lyxtext.h:
10709         * text.C: remove unused
10710
10711 2002-10-21  John Levon  <levon@movementarian.org>
10712
10713         * BufferView.h:
10714         * BufferView.C:
10715         * BufferView_pimpl.h:
10716         * BufferView_pimpl.C: fix mouse wheel handling based on
10717           patch from Darren Freeman
10718
10719 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10720
10721         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10722
10723 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10724
10725         * lyxlength.C (inPixels): Fix hanfling of negative length.
10726         Fix LyXLength::MU case.
10727
10728 2002-10-16  John Levon  <levon@movementarian.org>
10729
10730         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10731
10732 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10733
10734         * converter.C (view): add support for $$i (file name) and $$p
10735         (file path) for the viewer command. If $$i is not specified, then
10736         it is appended to the command (for compatibility with old syntax)
10737
10738 2002-10-14  Juergen Vigna  <jug@sad.it>
10739
10740         * undo_funcs.C (textHandleUndo): alter the order in which the
10741         new undopar is added to the LyXText, as we have to set first
10742         the right prev/next and then add it as otherwise the rebuild of
10743         LyXText is not correct. Also reset the cursor to the right paragraph,
10744         with this IMO we could remove the hack in "redoParagraphs()".
10745
10746 2002-10-09  Angus Leeming  <leeming@lyx.org>
10747
10748         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10749         to turn off an optimisation if a new inset is to be inserted.
10750
10751 2002-10-11 André Pönitz <poenitz@gmx.net>
10752
10753         * lyxtext.h: make some functions public to allow access
10754         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10755
10756 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10757
10758         * text3.C (dispatch): when changing layout, avoid an infinite loop
10759         [bug #652]
10760
10761 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10762
10763         * lyxrc.C (read): treat a viewer or converter command of "none" as
10764         if it were empty.
10765
10766         * MenuBackend.C (expandFormats): for an update, also allow the
10767         formats that are not viewable
10768
10769         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10770         script if it is newer than the lyxrc.defaults in user directory
10771
10772 2002-10-07 André Pönitz <poenitz@gmx.net>
10773
10774         * text.C: Vitaly Lipatov's small i18n fix
10775
10776 2002-09-25  Angus Leeming  <leeming@lyx.org>
10777
10778         * ispell.h: doxygen fix.
10779
10780 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10781
10782         * buffer.h (readFile): Add a new argument to the method, to allow
10783         reading of old-format templates.
10784
10785 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10786
10787         * toc.C (getTocList): Get TOC from InsetWrap.
10788
10789 2002-09-16  John Levon  <levon@movementarian.org>
10790
10791         * lyxfunc.C: check tabular for cut/copy too
10792
10793 2002-09-12  John Levon  <levon@movementarian.org>
10794
10795         * LyXAction.C: tidy
10796
10797         * factory.h:
10798         * factory.C: add header
10799
10800         * paragraph_funcs.h:
10801         * paragraph_funcs.C: cleanup
10802
10803 2002-09-11  John Levon  <levon@movementarian.org>
10804
10805         * PrinterParams.h: odd/even default to true
10806
10807 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10808
10809         * PrinterParams.h: update printer parameters for new xforms dialog
10810
10811 2002-09-11  Angus Leeming  <leeming@lyx.org>
10812
10813         * lyxserver.C (read_ready): re-write to make it more transparent
10814         and to make it work in coherent fashion under Tru64 Unix.
10815
10816 2002-09-11  André Pönitz <poenitz@gmx.net>
10817
10818         * commandtags.h:
10819         * LyXAction.C:
10820         * text3.C: implement LFUN_WORDSEL
10821
10822 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10823
10824         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10825         make floatlist_ a boost::shared_ptr<FloatList>
10826
10827         * lyxtextclass.C: include FloatList.h
10828         (LyXTextClass): initialize floatlist_
10829         (TextClassTags): add TC_NOFLOAT
10830         (Read): match "nofloat" to TC_NOFLOAT and use it.
10831         (readFloat): modify call to floatlist_
10832         (floats): ditto
10833         (floats): ditto
10834
10835         * FloatList.[Ch] (FloatList): remove commented out float
10836         initialization.
10837         (erase): new function
10838
10839 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10840
10841         * MenuBackend.C (expandToc): fix crash when there is no document
10842         open
10843
10844 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10845
10846         * many files: Add insetwrap.
10847
10848 2002-09-09  John Levon  <levon@movementarian.org>
10849
10850         * text2.C: remove confusing and awkward depth wraparound
10851
10852 2002-09-09  John Levon  <levon@movementarian.org>
10853
10854         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10855
10856         * buffer.h:
10857         * buffer.C: remove getIncludeonlyList()
10858
10859         * paragraph.C:
10860         * lyxfunc.C: remove headers
10861
10862 2002-09-09  Juergen Vigna  <jug@sad.it>
10863
10864         * text.C (getColumnNearX): fix form Michael this is most
10865         probably a cut&paste bug.
10866
10867 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10868
10869         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10870
10871         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10872         references, ws changes.
10873
10874         * text2.C (init): update counters after init
10875         (insertParagraph): no need to set counter on idividual paragraphs.
10876         (setCounter): access the counters object in the textclass object
10877         on in the buffer object.
10878         (updateCounters): ditto
10879
10880         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10881         shared_ptr<Counters> to avoid loading counters.h in all
10882         compilation units.
10883         (LyXTextClass): initialize ctrs_
10884         (TextClassTags): add TC_COUNTER, and ...
10885         (Read): use it here.
10886         (CounterTags): new tags
10887         (readCounter): new function
10888         (counters): new funtion
10889         (defaultLayoutName): return a const reference
10890
10891         * counters.C (Counters): remove contructor
10892         (newCounter): remove a couple of unneeded statements.
10893         (newCounter): simplify a bit.
10894         (numberLabel): some small formatting changes.
10895
10896         * buffer.[Ch]: remove all traces of counters, move the Counters
10897         object to the LyXTextClass.
10898
10899 2002-09-06  Alain Castera  <castera@in2p3.fr>
10900
10901         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10902         package to set the horizontal alignment on fixed width columns.
10903
10904         * lyx_sty.C:
10905         * lyx_sty.h: added tabularnewline macro def.
10906
10907         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10908
10909 2002-09-06  John Levon  <levon@movementarian.org>
10910
10911         * LyXAction.C: tooltips for sub/superscript
10912
10913         * MenuBackend.C: a bit more verbose
10914
10915         * lyxfunc.C: tiny clean
10916
10917         * undo_funcs.C: document undo_frozen
10918
10919 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10920
10921         * counters.C (Counters): add missing algorithm counter.
10922
10923         * text2.C (setCounter): lookup the counter with layouts latexname
10924         instead of by section number.
10925         (setCounter): use a hackish way to lookup the correct enum
10926         counter.
10927         a float name->type change
10928         reset enum couners with counter name directly instead of depth value.
10929
10930         * counters.C (Counters): remove the push_backs, change to use the
10931         float type not the float name.
10932         (labelItem): remove unused string, float name->type change
10933
10934         * counters.h: don't include vector, loose the enums and sects vectors
10935
10936 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10937
10938         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10939         (Read): add float->TC_FLOAT to textclassTags
10940         (Read): and handle it in the switch
10941         (readFloat): new function
10942
10943         * FloatList.C (FloatList): comment out the hardcoded float
10944         definitions.
10945
10946         * lyxlayout.h: ws change.
10947
10948 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10949
10950         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10951
10952 2002-09-03  Angus Leeming  <leeming@lyx.org>
10953
10954         * BufferView_pimpl.h: qualified name is not allowed in member
10955         declaration: WorkArea & Pimpl::workarea() const;
10956
10957         * factory.C: added using std::endl directive.
10958
10959         * text3.C: added using std::find and std::vector directives.
10960
10961 2002-08-29  André Pönitz <poenitz@gmx.net>
10962
10963         * lyxtext.h:
10964         * text2.C: remove unused member number_of_rows
10965
10966         * Makefile.am:
10967         * BufferView2.C: remove file, move contents to...
10968         * BufferView.C: ... here
10969
10970         * BufferView_pimpl.C:
10971         * factory.C: move more inset creation to factory
10972
10973         * vspace.C: avoid direct usage of LyXText, ws changes
10974
10975         * BufferView.[Ch]:
10976                 don't provide direct access to WorkArea, use two simple
10977                 acessors haveSelction() and workHeight() instead
10978
10979
10980 2002-08-29  John Levon  <levon@movementarian.org>
10981
10982         * BufferView_pimpl.C (dispatch): do not continue when
10983           no buffer
10984
10985 2002-08-28  André Pönitz <poenitz@gmx.net>
10986
10987         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10988
10989         * BufferView.h:
10990         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10991
10992 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10993
10994         * buffer.C: increment LYX_FORMAT to 221
10995
10996         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10997         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10998
10999         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11000
11001         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11002
11003 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11004
11005         * factory.C (createInset): use LyXTextClass::floats
11006
11007         * MenuBackend.C (expandFloatListInsert):
11008         (expandFloatInsert):
11009         (expandToc):
11010
11011         * text2.C (setCounter):
11012
11013         * LaTeXFeatures.C (useFloat):
11014         (getFloatDefinitions):
11015
11016         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11017
11018         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11019         floatlist_, with accessor floats().
11020
11021         * FloatList.h: remove global FloatList
11022
11023 2002-08-26  André Pönitz <poenitz@gmx.net>
11024
11025         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11026
11027         * BufferView.h:
11028         * BufferView2.C:
11029         * BufferView_pimpl.C:
11030         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11031
11032 2002-08-25  John Levon  <levon@movementarian.org>
11033
11034         * LyXAction.C: fix margin note description
11035
11036 2002-08-24  John Levon  <levon@movementarian.org>
11037
11038         * buffer.C:
11039         * bufferlist.C:
11040         * bufferview_funcs.C:
11041         * lyxfont.C:
11042         * undo_funcs.C: cleanups
11043
11044         * lyxfunc.C: disable CUT/COPY when no selection
11045
11046 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11047
11048         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11049         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11050
11051         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11052         Add backward compatibility to "mono", "gray" and "no".
11053
11054 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11055
11056         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11057         (and file_format >= 200).
11058
11059 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11060
11061         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11062
11063 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11064
11065         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11066
11067 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11068
11069         * BufferView_pimpl.C:
11070         * LyXAction.C:
11071         * buffer.C:
11072         * commandtags.h:
11073         * lyxfunc.C:
11074         * paragraph.[Ch]:
11075         * text2.C:
11076         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11077         inset and code to make it  work with the paragraph code. The inset
11078         can be anywhere in the paragraph, but will only do the expected
11079         thing in LaTeX if the layout file contains the parameter line
11080                         OptionalArgs    1
11081         (or more generally, a nonzero value) for that layout.
11082
11083 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11084
11085         * paragraph.h: remove the declaration of undefined counters class
11086         function.
11087
11088 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11089
11090         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11091         Dr. Richard Hawkins.
11092
11093 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11094
11095         * paragraph_funcs.h: remove some unneeded includes
11096
11097         * text.C (backspace): pasteParagraph now in global scipe
11098
11099         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11100         (pasteSelection): ditto
11101
11102         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11103         * paragraph_funcs.C (pasteParagraph): ... here
11104
11105 2002-08-20  André Pönitz <poenitz@gmx.net>
11106
11107         * commandtags.h: new LFUNs for swapping/copying table row/colums
11108
11109         * LyXAction.C:
11110         * lyxfunc.C: support for new lfuns
11111
11112 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11113
11114         * tabular.C:
11115         * buffer.[Ch]: remove NO_COMPABILITY stuff
11116
11117 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11118
11119         * boost.C (throw_exception): new file, with helper function for
11120         boost compiled without exceptions.
11121
11122         * paragraph.h:
11123         * lyxlength.C:
11124         * buffer.C:
11125         * ParameterStruct.h:
11126         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11127
11128         * bufferlist.C (emergencyWriteAll): use boost bind
11129
11130         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11131
11132         * text.C: include paragraph_funcs.h
11133         (breakParagraph): breakParagraph is now in global scope
11134
11135         * paragraph_funcs.[Ch]: new files
11136
11137         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11138         global scope
11139
11140         * buffer.C: include paragraph_funcs.h
11141         (insertStringAsLines): breakParagraph is now in global scope
11142
11143         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11144         paragraph_funcs.C
11145
11146         * CutAndPaste.C: include paragraph_funcs.h
11147         (cutSelection): breakParagraphConservative is now in global scope
11148         (pasteSelection): ditto
11149
11150         * buffer.h: declare oprator== and operator!= for
11151         Buffer::inset_iterator
11152
11153         * bufferlist.C (emergencyWrite): don't use fmt(...)
11154
11155         * text3.C: add using std::endl
11156
11157         * BufferView.C (moveCursorUpdate): remove default arg
11158
11159 2002-08-20  André Pönitz <poenitz@gmx.net>
11160
11161         * buffer.[Ch]: move inline functions to .C
11162
11163         * BufferView2.C:
11164         * BufferView_pimpl.C:
11165         * text.C:
11166         * buffer.[Ch]: use improved inset_iterator
11167
11168         * buffer.C:
11169         * paragraph.[Ch]: write one paragraph at a time
11170
11171 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11172
11173         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11174         style if style is not specified.
11175
11176 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11177
11178         * text2.C (setCounter): when searching for right label for a
11179         caption, make sure to recurse to parent insets (so that a caption
11180         in a minipage in a figure float works) (bug #568)
11181
11182 2002-08-20  André Pönitz <poenitz@gmx.net>
11183
11184         * text3.C: new file for LyXText::dispatch() and helpers
11185
11186         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11187
11188         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11189
11190 2002-08-19  André Pönitz <poenitz@gmx.net>
11191
11192         * lyxtext.h:
11193         * text.C: new LyXText::dispatch()
11194
11195         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11196
11197 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11198
11199         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11200
11201         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11202         Hebrew text.
11203
11204 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11205
11206         * Makefile.am: use $(variables) instead of @substitutions@
11207
11208 2002-08-15  André Pönitz <poenitz@gmx.net>
11209
11210         * lyxfunc.C:
11211         * BufferView_pimpl.C: streamlining mathed <-> outer world
11212         interaction
11213
11214         * commandtags.h:
11215         * LyXAction.C: remove unused LFUN_MATH
11216
11217 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11218
11219         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11220
11221 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11222
11223         * paragraph.C (Paragraph): reformat a bit
11224         (cutIntoMinibuffer): use builtin InsetList function instad of
11225         doing it manually.
11226         (getInset): ditto
11227
11228         * buffer.C: include boost/bind.hpp, add using std::for_each
11229         (writeFileAscii): use ParagraphList iterators
11230         (validate): use for_each for validate traversal of paragraphs
11231         (getBibkeyList): use ParagraphList iterators
11232         (resizeInsets): use for_each to resizeInsetsLyXText for all
11233         paragraphs.
11234         (getParFromID): use ParagraphList iterators
11235
11236         * BufferView2.C (lockInset): use paragraph list and iterators
11237
11238 2002-08-14  John Levon  <levon@movementarian.org>
11239
11240         * lyxserver.C: remove spurious xforms include
11241
11242 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11243
11244         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11245
11246 2002-08-13  André Pönitz <poenitz@gmx.net>
11247
11248         * LyXAction.[Ch]:
11249         * lyxfunc.C: further cleaning
11250
11251 2002-08-13  André Pönitz <poenitz@gmx.net>
11252
11253         * funcrequest.h: new constructor
11254
11255         * funcrequest.C: move stuff here from .h
11256
11257         * Makefile.am:
11258         * BufferView_pimpl.C:
11259         * LyXAction.C:
11260         * toc.C:
11261         * lyxfunc.C: subsequent changes
11262
11263         * lyxfunc.h: new view() member function
11264
11265         * lyxfunc.C: subsequent changes
11266
11267 2002-08-13  Angus Leeming  <leeming@lyx.org>
11268
11269         * BufferView2.C:
11270         * BufferView_pimpl.C:
11271         * buffer.C:
11272         * converter.C:
11273         * importer.C:
11274         * lyxfunc.C:
11275         * lyxvc.C:
11276         * toc.C:
11277         * vc-backend.C:
11278         changes due to the changed LyXView interface that now returns references
11279         to member variables not pointers.
11280
11281 2002-08-13  Angus Leeming  <leeming@lyx.org>
11282
11283         * WordLangTuple (word, lang_code): return references to strings,
11284         not strings.
11285
11286         * BufferView.h:
11287         * SpellBase.h:
11288         * lyxtext.h: forward-declare WordLangTuple.
11289
11290         * BufferView2.C:
11291         * ispell.C:
11292         * pspell.C:
11293         * text.C: #include "WordLangTuple.h".
11294
11295         * lyxtext.h:
11296         * text.C: (selectNextWordToSpellcheck): constify return type.
11297
11298 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11299
11300         * buffer.C:
11301         * buffer.h:
11302         * lyxtext.h:
11303         * paragraph.C:
11304         * paragraph_pimpl.h:
11305         * text.C:
11306         * text2.C:
11307         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11308         suggested by Angus.
11309         Made updateCounter always count from start of buffer, and removed
11310         second argument (par).
11311         Reverted floats number display to '#'. Perhaps I'll try again when the
11312         code base is sanitized a bit.
11313
11314 2002-08-12  Angus Leeming  <leeming@lyx.org>
11315
11316         * buffer.[Ch] (getLabelList): constify.
11317
11318 2002-08-07  André Pönitz <poenitz@gmx.net>
11319
11320         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11321
11322         * funcrequest.h: extension to keep mouse (x,y) position
11323
11324 2002-08-12  Juergen Vigna  <jug@sad.it>
11325
11326         * BufferView2.C (insertErrors): forbid undo when inserting error
11327         insets.
11328
11329         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11330
11331 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11332
11333         * ParagraphList.[Ch]: new files
11334
11335         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11336
11337         * BufferView2.C (lockInset): ParagraphList changes
11338         * toc.C: ditto
11339         * text2.C: ditto
11340         * bufferlist.C: ditto
11341         * buffer.h: ditto
11342         * buffer.C: ditto
11343
11344 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11345
11346         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11347         unused class variable counter_,
11348
11349         * paragraph.[Ch] (getFirstCounter): delete unused function
11350
11351         * counters.C: include LAssert.h
11352         (reset): add a new function with no arg, change other version to
11353         not have def. arg and to not allow empty arg.
11354
11355         * text2.C (setCounter): remove empty arg from call to Counters::reset
11356
11357 2002-08-11  John Levon  <levon@movementarian.org>
11358
11359         * Makefile.am: add WordLangTuple.h
11360
11361 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11362
11363         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11364         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11365
11366         * insets/insettext.C: InsetList changes
11367
11368         * graphics/GraphicsSupport.C (operator()): InsetList changes
11369
11370         * toc.C (getTocList): InsetList changes
11371
11372         * paragraph_pimpl.[Ch]: InsetList changes
11373
11374         * paragraph.[Ch]: InsetList changes
11375
11376         * buffer.C (inset_iterator): InsetList changes
11377         (setParagraph): ditto
11378         * buffer.h (inset_iterator): ditto
11379         * iterators.C (operator++): ditto
11380         * iterators.h: ditto
11381
11382         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11383
11384         * InsetList.[Ch]: new files, most InsetList handling moved out of
11385         paragraph.C.
11386
11387         * BufferView2.C (removeAutoInsets): InsetList changes
11388         (lockInset): ditto
11389         (ChangeInsets): ditto
11390
11391 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11392
11393         * paragraph_pimpl.h (empty): new function
11394
11395         * paragraph.[Ch] (empty): new function
11396
11397         * other files: use the new Paragraph::empty function
11398
11399 2002-08-09  John Levon  <levon@movementarian.org>
11400
11401         * lyxtext.h: remove unused refresh_height
11402
11403 2002-08-09  John Levon  <levon@movementarian.org>
11404
11405         * Makefile.am:
11406         * sgml.h:
11407         * sgml.C:
11408         * buffer.C:
11409         * paragraph.h:
11410         * paragraph.C: move sgml char escaping out of paragraph
11411
11412         * paragraph.h:
11413         * paragraph.C: remove id setter
11414
11415         * buffer.C:
11416         * paragraph.C:
11417         * paragraph_pimpl.C: remove dead tex_code_break_column
11418
11419         * bufferview_funcs.C: small cleanup
11420
11421         * lyxfunc.C: remove dead proto
11422
11423         * lyxtext.h: make some stuff private. Remove some dead stuff.
11424
11425         * lyxgluelength.C: make as[LyX]String() readable
11426
11427 2002-08-08  John Levon  <levon@movementarian.org>
11428
11429         * LyXAction.h:
11430         * LyXAction.C:
11431         * MenuBackend.C:
11432         * ToolbarDefaults.C:
11433         * lyxfunc.C:
11434         * lyxrc.C:
11435         * toc.C: lyxaction cleanup
11436
11437 2002-08-08  John Levon  <levon@movementarian.org>
11438
11439         * BufferView2.C: small cleanup
11440
11441         * lyxfind.h:
11442         * lyxfind.C: move unnecessary header into the .C
11443
11444 2002-08-08  John Levon  <levon@movementarian.org>
11445
11446         * funcrequest.h: just tedious nonsense
11447
11448         * lyx_main.h:
11449         * lyx_main.C: cleanups
11450
11451         * buffer.C:
11452         * vspace.C: remove dead header lyx_main.h
11453
11454 2002-08-07  Angus Leeming  <leeming@lyx.org>
11455
11456         * Paragraph.[Ch]:
11457         * paragraph_pimpl.h:
11458         Forward declare class Counters in paragraph.h by moving the ctrs member
11459         variable into Paragraph::Pimpl.
11460         (counters): new method, returning a reference to pimpl_->ctrs.
11461
11462         * text2.C: ensuing changes.
11463
11464 2002-08-07  John Levon  <levon@movementarian.org>
11465
11466         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11467
11468         * BufferView_pimpl.C: announce X selection on double/triple
11469           click
11470
11471         * lyx_main.C: use correct bool in batch dispatch
11472
11473         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11474
11475 2002-08-07  André Pönitz <poenitz@gmx.net>
11476
11477         * funcrequest.h: new class to wrap a kb_action and its argument
11478
11479         * BufferView.[Ch]:
11480         * BufferView_pimpl[Ch]:
11481         * LaTeX.C:
11482         * LyXAction.[Ch]:
11483         * lyxfunc.[Ch]:
11484         * lyxrc.C: subsequent changes
11485
11486
11487 2002-08-07  John Levon  <levon@movementarian.org>
11488
11489         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11490           document options change.
11491
11492 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11493
11494         * counters.[Ch]
11495         * text2.C
11496         * paragraph.[Ch]
11497         * makefile.am: move counters functionality over from
11498         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11499
11500 2002-08-06  John Levon  <levon@movementarian.org>
11501
11502         * WordLangTuple.h: new file for word + language code tuple
11503
11504         * SpellBase.h:
11505         * pspell.h:
11506         * pspell.C:
11507         * ispell.h:
11508         * ispell.C:
11509         * lyxtext.h:
11510         * text.C:
11511         * text2.C:
11512         * BufferView.h:
11513         * BufferView2.C: use WordLangTuple
11514
11515         * layout.h:
11516         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11517
11518 2002-08-06  John Levon  <levon@movementarian.org>
11519
11520         * lyx_main.C: fix cmdline batch handling
11521
11522 2002-08-06  André Pönitz <poenitz@gmx.net>
11523
11524         * lyxrc.C: set default for show_banner to true
11525
11526 2002-08-06  John Levon  <levon@movementarian.org>
11527
11528         * pspell.C: fix a crash, and allow new aspell to work
11529
11530 2002-08-06  John Levon  <levon@movementarian.org>
11531
11532         * lyxfunc.C:
11533         * kbmap.C: small cleanup
11534
11535         * vspace.h:
11536         * vspace.C: add const
11537
11538 2002-08-05  John Levon  <levon@movementarian.org>
11539
11540         * LyXAction.C: back to tabular-insert
11541
11542 2002-08-04  John Levon  <levon@movementarian.org>
11543
11544         * BufferView.h:
11545         * BufferView.C: cosmetic change
11546
11547         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11548
11549         * bufferlist.C:
11550         * buffer.h:
11551         * buffer.C:
11552         * lyxcb.h:
11553         * lyxcb.C:
11554         * lyxserver.C:
11555         * lyxvc.C:
11556         * vc-backend.C:
11557         * BufferView2.C: purge all "Lyx" not "LyX" strings
11558
11559         * lyxcursor.h:
11560         * lyxcursor.C: attempt to add some documentation
11561
11562         * lyxfunc.C:
11563         * commandtags.h:
11564         * LyXAction.C:
11565         * ToolbarDefaults.C:
11566         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11567           merge with LFUN_TABULAR_INSERT
11568
11569         * Makefile.am:
11570         * SpellBase.h:
11571         * ispell.h:
11572         * ispell.C:
11573         * pspell.h:
11574         * pspell.C: split up i/pspell implementations into separate
11575           files, many cleanups
11576
11577         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11578
11579         * text2.C: some cleanup
11580
11581         * lyxfunc.C: don't check for isp_command == "none" any more, it
11582           didn't make any sense
11583
11584 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11585
11586         * counters.[Ch]
11587         * text2.C
11588         * paragraph.[Ch]
11589         * makefile.am: move counters functionality over
11590         from text2.C/paragraph.[Ch] to counters.[Ch], and
11591         make proper C++.
11592 2002-08-02  John Levon  <levon@movementarian.org>
11593
11594         * buffer.C: s/lyxconvert/lyx2lyx/
11595
11596 2002-08-02  Angus Leeming  <leeming@lyx.org>
11597
11598         * lyxlex.C: revert John's change as it breaks reading of the user
11599         preamble.
11600
11601 2002-08-02  Angus Leeming  <leeming@lyx.org>
11602
11603         * importer.C (Import):
11604         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11605         changes due to LyXView::view() now returning a boost::shared_ptr.
11606
11607 2002-08-02  John Levon  <levon@movementarian.org>
11608
11609         * lyxlex.C: small cleanup
11610
11611 2002-08-02  John Levon  <levon@movementarian.org>
11612
11613         * text2.C (status): small cleanup, no logic change
11614
11615 2002-08-01  John Levon  <levon@movementarian.org>
11616
11617         * buffer.h:
11618         * buffer.C (writeFile): don't output alerts, caller
11619           handles this
11620
11621         * bufferlist.C:
11622         * lyx_cb.C: from above
11623
11624         * lyxfunc.C: allow to open non-existent files
11625
11626 2002-07-31  John Levon  <levon@movementarian.org>
11627
11628         * lyxserver.C: don't let incidental errors get
11629           in the way (errno)
11630
11631 2002-07-30  John Levon  <levon@movementarian.org>
11632
11633         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11634
11635 2002-07-30  John Levon  <levon@movementarian.org>
11636
11637         * lyxserver.h:
11638         * lyxserver.C: remove I/O callback too
11639
11640 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11641
11642         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11643         log.
11644
11645 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11646
11647         * many files: strip,frontStrip -> trim,ltrim,rtrim
11648
11649 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11650
11651         * PrinterParams.h: remove extern containsOnly, and include
11652         support/lstrings.h instead.
11653
11654         * LaTeX.C (scanAuxFile): modify because of strip changes
11655         (deplog): ditto
11656         * buffer.C (makeLaTeXFile): ditto
11657         * bufferparams.C (writeFile): ditt
11658         * lyxfont.C (stateText): ditto
11659         * lyxserver.C (read_ready): ditto
11660         * vc-backend.C (scanMaster): ditto
11661
11662         * BufferView_pimpl.h: ws changes
11663
11664         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11665
11666 2002-07-26  André Pönitz <poenitz@gmx.net>
11667
11668         * kb_sequence.C: remove unnedred usings
11669
11670 2002-07-26  Juergen Vigna  <jug@sad.it>
11671
11672         * lyxfind.C (LyXReplace): we have to check better if the returned
11673         text is not of theLockingInset()->getLockingInset().
11674
11675 2002-07-25  Juergen Vigna  <jug@sad.it>
11676
11677         * lyxfind.C (LyXReplace): don't replace if we don't get the
11678         right LyXText.
11679
11680         * undo_funcs.C (createUndo): remove debugging code.
11681
11682 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11683
11684         * buffer.C (parseSingleLyXformat2Token): Use default placement
11685         when reading old floats.
11686
11687         * FloatList.C (FloatList): Change the default placement of figure
11688         and tables to "tbp".
11689
11690 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11691
11692         * MenuBackend.C: using std::max
11693
11694 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11695
11696         * MenuBackend.C (expandToc):
11697         (expandToc2): code moved from xforms menu frontend. It is now
11698         generic and TOCs are transparent to menu frontends.
11699
11700 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11701
11702         * toc.C (getTocList): protect against buf=0
11703
11704         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11705         Menu as first parameter. Now, this calls itself recursively to
11706         expand a whole tree (this will be useful for TOC handling)
11707         (expandFloatInsert): remove 'wide' version of floats
11708
11709         * MenuBackend.h (submenuname): returns the name of the submenu.
11710         (submenu): returns the submenu itself, provided it has been
11711         created by MenuBackend::expand
11712
11713 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11714
11715         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11716         insets which have noFontChange == true. (bug #172)
11717
11718 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11719
11720         * BufferView_pimpl.C: add connection objects and use them...
11721         (Pimpl): here.
11722
11723 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11724
11725         * MenuBackend.C (expandLastfiles):
11726         (expandDocuments):
11727         (expandFormats):
11728         (expandFloatListInsert):
11729         (expandFloatInsert):
11730         (expand): split expand in parts
11731
11732 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11733
11734         * lyx_gui.C: use lyx_gui::exit()
11735
11736 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11737
11738         * LyXAction.C: show the failing pseudo action
11739
11740 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11741
11742         * buffer.C (readFile): Run the lyxconvert script in order to read
11743         old files.
11744
11745 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11746
11747         * LyXAction.C:
11748         * commandtags.h:
11749         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11750
11751 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11752
11753         * LyXAction.C:
11754         * commandtags.h:
11755         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11756
11757 2002-07-22  Herbert Voss  <voss@lyx.org>
11758
11759         * lengthcommon.C:
11760         * lyxlength.[Ch]: add support for the vertical lengths
11761
11762 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11763
11764         * toc.[Ch]: std:: fixes
11765
11766 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11767
11768         * lyxrc.C: do not include lyx_main.h
11769
11770         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11771         for layouts
11772
11773         * lyxrc.C:
11774         * encoding.C:
11775         * bufferlist.C:
11776         * BufferView2.C: include "lyxlex.h"
11777
11778         * tabular.h:
11779         * bufferparams.h: do not #include "lyxlex.h"
11780
11781         * lyxtextclasslist.C (Add): remove method
11782         (classlist): renamed to classlist_
11783
11784         * paragraph_pimpl.C:
11785         * paragraph.C:
11786         * text2.C:
11787         * CutAndPaste.C:
11788         * bufferview_funcs.C:
11789         * bufferlist.C:
11790         * text.C:
11791         * LaTeXFeatures.C:
11792         * buffer.C:
11793         * toc.C (getTocList): use BufferParams::getLyXTextClass
11794
11795         * toc.C (getTocList): use InsetFloat::addToToc
11796
11797         * toc.[Ch]: new files, containing helper functions to handle table
11798         of contents
11799
11800         * lyxfunc.C (dispatch): no need to remove spaces around command
11801         given as a string
11802         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11803         first command of the sequence; it is not very clever, but I do not
11804         have a better idea, actually
11805
11806         * LyXAction.C (LookupFunc): make sure to remove space at the
11807         beginning and end of the command
11808
11809 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11810
11811         * MenuBackend.C (getMenubar): new method: return the menubar of
11812         this menu set
11813         (read): treat differently reading of menu and menubar (in
11814         particular, the menubar has no name now)
11815         (Menu::menubar): remove
11816
11817         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11818         saving is finished
11819
11820 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11821
11822         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11823         a bibitem inset in a RTL paragraph.
11824
11825 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11826
11827         * paragraph_pimpl.C: constify
11828
11829         * BufferView_pimpl.C:
11830         * LaTeX.C:
11831         * lyxfunc.C: fix dispatch in a nicer way
11832
11833 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11834
11835         * lyxfunc.C (dispatch):
11836         * BufferView_pimpl.C:
11837         * BufferView_pimpl.h:
11838         * BufferView.C:
11839         * BufferView.h: rename Dispatch() to dispatch()
11840
11841         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11842
11843         * lyxlayout.C (Read): honor DependsOn tag
11844
11845         * lyxlayout.[Ch] (depends_on): new method
11846
11847         * version.C.in: update lyx_docversion
11848
11849         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11850
11851         * paragraph.C (validate): remove from here...
11852         * paragraph_pimpl.C (validate): ... and move here
11853         (isTextAt): make it const
11854
11855         * buffer.C (getLists): ws cleanup
11856
11857 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11858
11859         * language.C (read): Use iso8859-1 encoding in latex_lang
11860         (this prevents LyX from crashing when using iso10646-1 encoding).
11861
11862 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11863
11864         * text2.C (toggleInset): if cursor is inside an inset, close the
11865         inset and leave cursor _after_ it
11866
11867 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11868
11869         * lyxfunc.C: move minibuffer completion handling out of here
11870
11871 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11872
11873         * BufferView_pimpl.C:
11874         * LaTeX.C: fix dispatch calls
11875
11876 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11877
11878         * text.C (drawChars): Fix Arabic text rendering.
11879
11880 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11881
11882         * LyXAction.C:
11883         * commandtags.h:
11884         * lyxfunc.C: remove message-push/pop
11885
11886         * lyxserver.C:
11887         * lyxfunc.h:
11888         * lyxfunc.C: rationalise some code by removing verboseDispatch
11889           in favour of a bool argument to dispatch()
11890
11891 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11892
11893         * lyx_main.C (init): make sure to read symlinks as absolute paths
11894
11895 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11896
11897         * lyxfunc.h:
11898         * lyxfunc.C: no need for commandshortcut to be a member
11899
11900 2002-07-15  André Pönitz <poenitz@gmx.net>
11901
11902         * converter.C: add support for $$s (scripts from lib/scripts dir)
11903         * lyx_main.C: white space
11904
11905 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11906
11907         * bufferlist.C:
11908         * lyxrc.h:
11909         * lyxrc.C: remove second exit confirmation
11910
11911 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11912
11913         * BufferView.h:
11914         * BufferView.C:
11915         * BufferView2.C:
11916         * BufferView_pimpl.h:
11917         * BufferView_pimpl.C:
11918         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11919
11920 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11921
11922         * MenuBackend.C (expand): add numeric shortcuts to document menu
11923
11924         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11925
11926 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11927
11928         * lyxfont.C (setLyXFamily):
11929         (setLyXSeries):
11930         (setLyXShape):
11931         (setLyXSize):
11932         (setLyXMisc):
11933         (lyxRead):
11934         * debug.C (value):
11935         * buffer.C (asciiParagraph): use ascii_lowercase
11936
11937 2002-07-15  Mike Fabian  <mfabian@suse.de>
11938
11939         * lyxlex_pimpl.C (search_kw):
11940         * lyxlex.C (getLongString):
11941         * converter.h (operator<):
11942         * converter.C (operator<):
11943         * buffer.C (parseSingleLyXformat2Token):
11944         (asciiParagraph):
11945         * ToolbarDefaults.C (read):
11946         * MenuBackend.C (checkShortcuts):
11947         (read):
11948         * LColor.C (getFromGUIName):
11949         (getFromLyXName): use the compare_ascii_no_case instead of
11950         compare_no_case, because in turkish, 'i' is not the lowercase
11951         version of 'I', and thus turkish locale breaks parsing of tags.
11952
11953 2002-07-16  Angus Leeming  <leeming@lyx.org>
11954
11955         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11956         now takes a Buffer const & argument.
11957
11958 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11959
11960         * BufferView.C (resize): check there's a buffer to resize
11961
11962 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11963
11964         * lyxfunc.C: remove dead code
11965
11966         * lyxserver.h:
11967         * lyxserver.C: use lyx_guii::set_read_callback
11968
11969 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11970
11971         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11972         an inset in a RTL paragraph.
11973
11974 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11975
11976         * lyxfunc.C: repaint after a font size update
11977
11978 2002-07-15  André Pönitz <poenitz@gmx.net>
11979
11980         * lyxlength.C: inBP should be able to return negative values
11981
11982 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11983
11984         * lyxfunc.C: use lyx_gui::update_fonts()
11985
11986 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11987
11988         * lyxfunc.C: use lyx_gui::update_color()
11989
11990 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11991
11992         * bufferlist.C:
11993         * lyxfunc.h:
11994         * lyxfunc.C:
11995         * lyxrc.h:
11996         * lyxrc.C: remove file->new asks for name option, and let
11997           buffer-new take an argument
11998
11999 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12000
12001         * BufferView_pimpl.C: remove unneeded extra repaint()
12002
12003 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12004
12005         * LyXAction.C: allow command-sequence with NoBuffer
12006
12007         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12008
12009 2002-07-10  Angus Leeming  <leeming@lyx.org>
12010
12011         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12012
12013 2002-07-09  Angus Leeming  <leeming@lyx.org>
12014
12015         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12016
12017 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12018
12019         * lengthcommon.h: whitespace
12020
12021         * lyxfunc.C: update scrollbar after goto paragraph
12022
12023         * lyxtext.h: factor out page break drawing, and fix it so
12024           page break/added space paints as selected nicely
12025
12026 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * BufferView_pimpl.C: add FIXMEs, clean up a little
12029
12030 2002-07-09  André Pönitz <poenitz@gmx.net>
12031
12032         * lyxfont.[Ch]: support for wasy symbols
12033
12034 2002-07-08  André Pönitz <poenitz@gmx.net>
12035
12036         * BufferView_pimpl.C: apply John's patch for #93.
12037
12038 2002-07-05  Angus Leeming  <leeming@lyx.org>
12039
12040         * BufferView_pimpl.C (buffer): generate previews if desired.
12041
12042         * LColor.h: add "preview" to the color enum.
12043
12044         * LColor.C (LColor): add a corresponding entry to the items array.
12045
12046         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12047         with this buffer.
12048
12049 2002-07-05  Angus Leeming  <leeming@lyx.org>
12050
12051         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12052         The body of the code is now in the method that is passed an ostream &
12053         rather than a file name.
12054         Pass an additional only_preamble parameter, useful for the forthcoming
12055         preview stuff.
12056
12057 2002-07-03  André Pönitz <poenitz@gmx.net>
12058
12059         * lyxfunc.C: simplify getStatus() a bit for math stuff
12060
12061 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12062
12063         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12064
12065 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12066
12067         * text.C (changeRegionCase): do not change case of all the
12068         document when region ends at paragraph end (bug #461)
12069
12070 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12071
12072         * paragraph.C (startTeXParParams):
12073         (endTeXParParams): add \protect when necessary
12074
12075 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12076
12077         * BufferView_pimpl.C (workAreaExpose): remove warning
12078
12079 2002-06-27  Angus Leeming  <leeming@lyx.org>
12080
12081         * Makefile.am: add lyxlayout_ptr_fwd.h.
12082
12083 2002-06-26  André Pönitz <poenitz@gmx.net>
12084
12085         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12086
12087 2002-06-25  Angus Leeming  <leeming@lyx.org>
12088
12089         * lyxfunc.C (dispatch): Comment out the call to
12090         grfx::GCache::changeDisplay. The method no longer exists now that the
12091         pixmap generation part of the graphics loader has been moved into
12092         InsetGraphics.
12093
12094 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12095
12096         * text2.C: layout as layout
12097
12098         * text.C: layout as layout
12099
12100         * tabular.C (OldFormatRead): layout as layout
12101
12102         * paragraph_pimpl.C (TeXDeeper): layout as layout
12103         (realizeFont): layout as layout
12104
12105         * paragraph.C (writeFile): layout as layout
12106         (validate): layout as layout
12107         (getFont): layout as layout
12108         (getLabelFont): layout as layout
12109         (getLayoutFont): layout as layout
12110         (breakParagraph): layout as layout
12111         (stripLeadingSpaces): layout as layout
12112         (getEndLabel): layout as layout
12113         (getMaxDepthAfter): layout as layout
12114         (applyLayout): layout as layout
12115         (TeXOnePar): layout as layout
12116         (simpleTeXOnePar): layout as layout
12117         (TeXEnvironment): layout as layout
12118         (layout): layout as layout
12119         (layout): layout as layout
12120
12121         * lyxtextclass.C (compare_name): new functor to work with
12122         shared_ptr, layout as layout
12123         (Read): layout as layout
12124         (hasLayout): layout as layout
12125         (operator): layout as layout
12126         (delete_layout): layout as layout
12127         (defaultLayout): layout as layout
12128
12129         * lyxlayout_ptr_fwd.h: new file
12130
12131         * lyxlayout.C (Read): layout as layout
12132
12133         * lyx_cb.C (MenuInsertLabel): layout as layout
12134
12135         * bufferlist.C (newFile): layout as layout
12136
12137         * buffer.C (readLyXformat2): layout as layout
12138         (parseSingleLyXformat2Token): layout as layout
12139         (insertStringAsLines): layout as layout
12140         (asciiParagraph): layout as layout
12141         (latexParagraphs): layout as layout
12142         (makeLinuxDocFile): layout as layout
12143         (simpleLinuxDocOnePar): layout as layout
12144         (makeDocBookFile): layout as layout
12145         (simpleDocBookOnePar): layout as layout
12146         (getLists): layout as layout
12147
12148         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12149
12150         * CutAndPaste.C (cutSelection): layout as layout
12151         (pasteSelection): layout as layout
12152         (SwitchLayoutsBetweenClasses): layout as layout
12153
12154         * BufferView_pimpl.C (Dispatch): layout as layout
12155         (smartQuote): layout as layout
12156
12157         * BufferView2.C (unlockInset): layout as layout
12158
12159 2002-06-24  André Pönitz <poenitz@gmx.net>
12160
12161         * lyxfunc.C: fix #487
12162
12163 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12164
12165         * lyxrc.h:
12166         * lyxrc.C:
12167         * lyxfunc.C: remove display_shortcuts, show_banner
12168
12169 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12170
12171         * Buffer_pimpl.C: oops, update on resize
12172
12173 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12174
12175         * buffer.C:
12176         * converter.C:
12177         * exporter.C:
12178         * lyxfunc.C:
12179         * BufferView.h:
12180         * BufferView.C: use repaint()
12181
12182         * BufferView_pimpl.h:
12183         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12184           as it's a clearer description. Remove superfluous
12185           redraws.
12186
12187 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12188
12189         * text.C: fix bug 488. Not ideal, but getting
12190           getWord() to work properly for the insets that
12191           matter is more difficult ...
12192
12193 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12194
12195         * BufferView_pimpl.C:
12196         * LyXAction.C:
12197         * commandtags.h:
12198         * lyxfunc.C: remove the six million index lyxfuncs to just
12199           one, and DTRT (bug 458)
12200
12201 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12202
12203         * BufferView.h:
12204         * BufferView.C:
12205         * BufferView_pimpl.h:
12206         * BufferView_pimpl.C: clean up resize() stuff,
12207           and unnecessary updateScreen()s
12208
12209 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12210
12211         * BufferView.h:
12212         * BufferView.C:
12213         * BufferView_pimpl.h:
12214         * BufferView_pimpl.C:
12215         * lyxfind.h:
12216         * lyxfind.C:
12217         * minibuffer.C: remove focus management of workarea,
12218           not needed. Use screen's greyOut()
12219
12220 2002-06-17  Herbert Voss  <voss@lyx.org>
12221
12222         * converter.C: (convert) do not post a message, when converting
12223         fails, let the calling function decide what to do in this case
12224
12225 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12226
12227         * lyxfunc.C: tidy up a little
12228
12229 2002-06-16    <alstrup@diku.dk>
12230
12231         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12232         Got rid of FORMS_H_LOCATION include. Now we are
12233         GUII.
12234
12235 2002-06-15  LyX Development team  <lyx@rilke>
12236
12237         * buffer.[Ch] (sgmlOpenTag):
12238         (sgmlCloseTag): Added support for avoiding pernicious mixed
12239         content. Return number of lines written.
12240
12241         (makeLinuxDocFile):
12242         (makeDocBookFile): Fixed calls to sgml*Tag.
12243         Simple white space clean.
12244
12245         (simpleDocBookOnePar): Simple white space clean.
12246
12247         * tabular.[Ch] (docBook): Renamed to docbook and got another
12248         argument to related with the pernicious mixed content.
12249
12250         (docbookRow): Fixed calls for docbook inset method.
12251
12252 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12253
12254         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12255         so it's X11 independent.
12256
12257         * kb*.[Ch]: ditto.
12258
12259         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12260
12261 2002-06-15  Lyx Development team  <lyx@electronia>
12262
12263         * intl.h: Renamed getTrans to getTransManager.
12264
12265 2002-06-14  Angus Leeming  <leeming@lyx.org>
12266
12267         * Makefile.am: nuke forgotten stl_string_fwd.h.
12268
12269 2002-06-12  Angus Leeming  <leeming@lyx.org>
12270
12271         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12272
12273 2002-06-13  Angus Leeming  <leeming@lyx.org>
12274
12275         * LaTeX.C:
12276         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12277
12278 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12279
12280         * kbmap.C (getiso): add support for cyrillic and greek
12281
12282 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12283
12284         * BufferView.h:
12285         * BufferView.C:
12286         * BufferView_pimpl.h:
12287         * BufferView_pimpl.C: move bogus scrolling logic
12288           to xforms
12289
12290 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12291
12292         * lyxfunc.C:
12293         * BufferView_pimpl.C: view->resize() change
12294
12295 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12296
12297         * BufferView_pimpl.C: topCursorVisible
12298           prototype change
12299
12300 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12301
12302         * Makefile.am:
12303         * lyx_gui.h:
12304         * lyx_gui.C: move to frontends/
12305
12306         * main.C:
12307         * lyx_main.h:
12308         * lyx_main.C: changes from above
12309
12310 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12311
12312         * intl.C:
12313         * intl.h:
12314         * kbmap.C:
12315         * kbsequence.C:
12316         * lyx_cb.C:
12317         * lyx_main.C: minor tidy
12318
12319 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12320
12321         * BufferView_pimpl.h:
12322         * BufferView_pimpl.C:
12323         * BufferView.h:
12324         * BufferView.C: make painter() const,
12325           remove dead code
12326
12327         * BufferView2.C: use screen() accessor
12328
12329         * lyx_main.h:
12330         * lyx_main.C: some minor cleanup
12331
12332 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12333
12334         * BufferView_pimpl.h:
12335         * BufferView_pimpl.C: remove enter/leaveView,
12336           use workHeight()
12337
12338 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12339
12340         * BufferView.h:
12341         * BufferView.C:
12342         * BufferView2.C:
12343         * BufferView_pimpl.h:
12344         * BufferView_pimpl.C: only construct screen once,
12345           rename
12346
12347         * lyxrc.C: remove pointless comment
12348
12349 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12350
12351         * BufferView.h:
12352         * BufferView.C: remove active() and belowMouse()
12353
12354         * BufferView_pimpl.h:
12355         * BufferView_pimpl.C: use workarea() not workarea_,
12356           and make it use a scoped_ptr instead
12357
12358 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12359
12360         * lyx_gui.C: add debug message on BadWindow
12361
12362 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12363
12364         * sp_spell.C: fdopen is not part of the C++ standard.
12365
12366         * paragraph.C (InsetIterator): use >= instead of ==
12367
12368 2002-06-07  Angus Leeming  <leeming@lyx.org>
12369
12370         Fixes needed to compile with Compaq cxx 6.5.
12371         * BufferView_pimpl.C:
12372         * DepTable.C:
12373         * buffer.C:
12374         * converter.C:
12375         * encoding.C:
12376         * lyx_gui.C:
12377         * lyx_main.C:
12378         * lyxtextclasslist.C:
12379         * minibuffer.C:
12380         * sp_spell.C:
12381         * tabular_funcs.C:
12382         * vc-backend.C:
12383         all c-library variables have been moved into namespace std. Wrap
12384         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12385
12386         * lyxlength.C:
12387         * tabular-old.C:
12388         * tabular.C:
12389         Add a using std::abs declaration.
12390
12391         * kbmap.h (modifier_pair):
12392         * paragraph.h (InsetTable, InsetList):
12393         * lyxfont.h (FontBits):
12394         type definition made public.
12395
12396         * bufferlist.C (emergencyWriteAll): the compiler complains that
12397         there is more than one possible lyx::class_fun template to choose from.
12398         I re-named the void specialisation as lyx::void_class_fun.
12399
12400         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12401
12402         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12403         the compiler is is unable to find tostr in write_attribute.
12404
12405 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12406
12407         * buffer.C (sgmlError): hide #warning
12408
12409 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12410
12411         * xtl/*: get rid of xtl, which is not in use anyway
12412
12413         * LyXAction.C (init):
12414         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12415         were unimplemented xtl experimentation
12416
12417 2002-06-04  André Pönitz <poenitz@gmx.net>
12418
12419         * lyxfunc.C: disable array operation on simple formulae
12420
12421 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12422
12423         * converter.C: constify a bit
12424
12425 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12426
12427         * lyx_gui.C: check xforms version correctly
12428
12429 2002-04-30  Herbert Voss  <voss@lyx.org>
12430
12431         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12432         "keep" option
12433
12434 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12435
12436         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12437           attempt to register it with a VCS)
12438
12439 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12440
12441         * lyx_main.C (init): honor variables LYX_DIR_13x and
12442         LYX_USERDIR_13x
12443
12444 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12445
12446         * buffer.h:
12447         * buffer.C:
12448         * lyx_main.C: fix a crash on bad command line,
12449           and give a useful exit status on error
12450
12451         * lyxfunc.C (doImport): allow -i lyx to work
12452
12453 2002-03-30  André Pönitz <poenitz@gmx.net>
12454
12455         * lyxfunc.C: mathed font changes
12456
12457 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12458
12459         * LaTeX.C:
12460         * importer.h:
12461         * importer.C:
12462         * lyx_sty.h:
12463         * lyx_sty.C:
12464         * lyxlex.C:
12465         * lyxrow.h:
12466         * lyxtext.h:
12467         * paragraph.h:
12468         * paragraph.C:
12469         * texrow.h:
12470         * texrow.C:
12471         * text.C:
12472         * trans_mgr.h: srcdocs, and some minor cleanups
12473
12474 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12475
12476         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12477         call getFont all the time)
12478
12479 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12480
12481         * switch from SigC signals to boost::signals
12482
12483 2002-05-29  André Pönitz <poenitz@gmx.net>
12484
12485         * paragraph_pimpl.C (getChar): don't call size() too often...
12486
12487 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12488
12489         * paragraph_pimpl.C (insertChar): do not try to update tables when
12490         appending (pos == size())
12491
12492         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12493         in order to reduce drastically the number of comparisons needed to
12494         parse a large document
12495
12496 2002-05-29  André Pönitz <poenitz@gmx.net>
12497
12498         * text.C:
12499         * text2.C:
12500         * lyxtextclass.C:
12501         * sp_pspell.h:
12502         * textclasslist.[Ch]:
12503         * sp_ispell.h: whitespace change
12504
12505 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12506
12507         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12508         lyxaction directly now.
12509
12510 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12511
12512         * trans.C:
12513         * lyxfont.C:
12514         * lyxvc.C: remove unused headers
12515
12516 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * Makefile.am:
12519         * buffer.h:
12520         * undostack.h:
12521         * undostack.C:
12522         * undo_funcs.h:
12523         * undo_funcs.C: some cleanups. Use shared_ptr
12524           and a template for the undo stacks.
12525
12526 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12527
12528         * BufferView_pimpl.h:
12529         * BufferView_pimpl.C:
12530         * kbmap.h:
12531         * kbmap.C:
12532         * kbsequence.h:
12533         * kbsequence.C:
12534         * lyxfunc.h:
12535         * lyxfunc.C:
12536         * text2.C: use key_state/mouse_state
12537
12538 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12539
12540         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12541         and LSubstring
12542
12543         * chset.C: change include order
12544         (loadFile): use boost regex and get rid of LRegex and LSubstring
12545
12546         * Makefile.am (BOOST_LIBS): new variable
12547         (lyx_LDADD): use it
12548
12549         * LaTeX.C: change include order.
12550         (scanAuxFile): use boost regex and get rid of LRegex and
12551         LSubstring
12552         (deplog): ditto
12553
12554 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12555
12556         * ColorHandler.h:
12557         * ColorHandler.C:
12558         * FontInfo.h:
12559         * FontInfo.C: moved to frontends/xforms/
12560
12561         * FontLoader.h:
12562         * FontLoader.C: moved into frontends for GUIIzation
12563
12564         * Makefile.am:
12565         * lyx_gui.C:
12566         * lyxfont.C:
12567         * lyxfunc.C: changes from above
12568
12569 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12570
12571         * LColor.C: remove spurious X include
12572
12573         * BufferView_pimpl.C:
12574         * Makefile.am:
12575         * font.h:
12576         * font.C:
12577         * text.C:
12578         * text2.C: move font metrics to frontends/
12579
12580 2002-05-24  Juergen Vigna  <jug@sad.it>
12581
12582         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12583         setting the undo_cursor.
12584
12585         * ParagraphParameters.h: include local includes first.
12586
12587 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12588
12589         * BufferView_pimpl.C:
12590         * BufferView_pimpl.h:
12591         * Makefile.am:
12592         * WorkArea.h:
12593         * WorkArea.C:
12594         * screen.C: move WorkArea into frontends/
12595
12596         * lyxscreen.h:
12597         * screen.C:
12598         * text.C:
12599         * BufferView.C:
12600         * BufferView2.C: move LyXScreen into frontends/
12601
12602         * lyxlookup.h:
12603         * lyxlookup.C:
12604         * lyx_gui.C: move lyxlookup into frontends/xforms/
12605
12606 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12607
12608         * BufferView2.C:
12609         * BufferView_pimpl.C:
12610         * FontLoader.C:
12611         * LyXView.h:
12612         * LyXView.C:
12613         * Makefile.am:
12614         * WorkArea.C:
12615         * XFormsView.h:
12616         * XFormsView.C:
12617         * buffer.C:
12618         * bufferlist.C:
12619         * bufferview_funcs.C:
12620         * converter.C:
12621         * importer.C:
12622         * lyx_cb.C:
12623         * lyx_gui.C:
12624         * lyx_main.C:
12625         * lyx_find.C:
12626         * lyxfunc.C:
12627         * lyxvc.C:
12628         * minibuffer.C:
12629         * text.C:
12630         * text2.C:
12631         * trans.C:
12632         * vc-backend.C: move LyX/XFormsView into frontends/
12633
12634 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12635
12636         * Makefile.am:
12637         * PainterBase.C:
12638         * PainterBase.h:
12639         * Painter.C:
12640         * Painter.h:
12641         * WorkArea.C:
12642         * WorkArea.h:
12643         * screen.C:
12644         * tabular.C:
12645         * text.C:
12646         * text2.C: move Painter to frontends/
12647
12648 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12649
12650         * buffer.C: comment out some some code that depend upon lyx_format
12651         < 220
12652
12653         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12654         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12655
12656         * buffer.h (NO_COMPABILITY): turn off compability
12657
12658         * ColorHandler.C: include scoped_array.hpp
12659
12660         * font.C: Use more specific smart_ptr header.
12661         * Painter.C: ditto
12662         * gettext.C: ditto
12663         * ShareContainer.h: ditto
12664         * lyx_main.h: ditto
12665         * kbmap.h: ditto
12666         * FontInfo.h: ditto
12667         * BufferView_pimpl.h: ditto
12668         * ColorHandler.h: ditto
12669
12670         * kbmap.C (defkey): change call to shared_ptr::reset
12671
12672 2002-05-21  Juergen Vigna  <jug@sad.it>
12673
12674         * buffer.C (insertErtContents): fix to insert ert asis if it is
12675         non empty. Skip it completely if it contains only whitespaces.
12676
12677 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12678
12679         * BufferView_pimpl.C:
12680         * BufferView2.C: clear selection on paste (bug 393)
12681
12682 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12683
12684         * DepTable.C: include ctime
12685
12686 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12687
12688         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12689
12690 2002-05-14  Juergen Vigna  <jug@sad.it>
12691
12692         * text.C (breakParagraph): fixed function to honor the keepempty
12693         layout in the right maner and also to permit the right breaking
12694         algorithm on empty or non empyt keepempty paragraphs.
12695
12696         * paragraph.C (breakParagraph): we have to check also if the par
12697         is really empty (!size()) for isempty otherwise we do the wrong
12698         paragraph break.
12699
12700 2002-05-10  Juergen Vigna  <jug@sad.it>
12701
12702         * buffer.[Ch] : The following are only changes to the ert
12703         compatibility read reading old LaTeX layout and font stuff and
12704         convert it to ERTInsets.
12705
12706         * buffer.h: added isErtInset().
12707
12708         * buffer.C (struct ErtComp): add a fromlayout bool to check
12709         if we're inside a LaTeX layout.
12710         (isErtInset): new helper function.
12711         (insertErtContents): look for other ert insets before this one
12712         and insert the contents there, so that we don't have subsequent
12713         ERT insets with nothing between them. This way we create only one
12714         inset with multiple paragraphs. Also check if we don't insert only
12715         spaces ' ' as they are ignored anyway afterwards in the .tex file
12716         so if we have only spaces we will ignore this latex part in the
12717         new file.
12718         (parseSingleLyXformat2Token \\layout): better compatibility when
12719         reading layout-latex stuff.
12720         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12721         language tag.
12722         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12723         stuff after reading the inset only get the information back from
12724         the stack.
12725
12726 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12727
12728         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12729
12730         * LaTeXFeatures.C (getBabelOptions): New method.
12731
12732 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12733
12734         * BufferView_pimpl.C (Dispatch): work around missing argument for
12735         'layout'
12736
12737 2002-05-08  Juergen Vigna  <jug@sad.it>
12738
12739         * text.C (leftMargin): handle paragraph leftindent.
12740
12741         * paragraph.C (writeFile): write the new \\leftindent tag.
12742         (validate): handle leftindent code.
12743         (TeXEnvironment): handle paragraphleftindent code again.
12744
12745         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12746
12747         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12748         for paragrap_extra indent code and new token \\leftindent.
12749         (latexParagraphs): handle the leftindent as environment.
12750
12751         * ParameterStruct.h: added leftindent support.
12752
12753         * ParagraphParameters.C (leftIndent): added support functions for
12754         the paragraph left indent.
12755
12756         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12757         more appropriate.
12758
12759 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12760
12761         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12762         inside insetERT.
12763
12764         * text.C (computeBidiTables): No bidi in insetERT.
12765
12766         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12767         in RTL documents.
12768
12769 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12770
12771         * version.C.in: pre 5
12772
12773 2002-05-02  José Matos  <jamatos@fep.up.pt>
12774         * buffer.C (makeDocBookFile): white space changes, add newline to
12775         command styles.
12776         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12777
12778         * tabular.C (docBook): fix typo.
12779
12780 2002-05-03  Juergen Vigna  <jug@sad.it>
12781
12782         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12783         change in LyXText as we can not be sure it was not freed.
12784         (drawOneRow): remove unused code.
12785
12786         * text.C (drawInset): redo the calculation of the need_break_row as
12787         it could have a row which was already freed.
12788         (draw): look at the return value of drawInset and return false if
12789         it also returned false.
12790         (paintRowText): look at the return value of draw and return false if
12791         it also returned false.
12792
12793         * lyxtext.h: added bool return type to drawInset() and draw() so that
12794         if we have a change in the row so that the rowbreak has to be redone
12795         we abort drawing as it will be called again.
12796
12797 2002-05-02  Juergen Vigna  <jug@sad.it>
12798
12799         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12800         a change in the maintext also if we're inside an inset.
12801         (Dispatch): set the cursor again after a break line and after the
12802         screen has been updated as it could be we're in a different row.
12803
12804         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12805         to set the cursor behind the pargraph with > size().
12806         (setCursor): check also for the same paragraph when checking where
12807         to put the cursor if we have a NFR inset.
12808
12809         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12810         parts of layout read further up as it still was in the wrong
12811         position.
12812
12813 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12814
12815         * screen.C (drawFromTo): change sine fullRebreak always return
12816         true.
12817
12818         * buffer.C (parseSingleLyXformat2Token): reindent some
12819
12820         * BufferView_pimpl.C (update): change since fullRebreak always
12821         return true.
12822         (Dispatch): git rid of the last hardcoded "Standard"s.
12823
12824 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12825
12826         * text2.[Ch] (fullRebreak): make it return void now that we always
12827         returned true.
12828
12829 2002-04-30  Juergen Vigna  <jug@sad.it>
12830
12831         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12832         ert compatibility check for "latex" layout.
12833
12834 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12835
12836         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12837         minipages: use col% instead of p%, and also use the current font.
12838         (makeLaTeXFile): Fix use babel condition.
12839         (parseSingleLyXformat2Token): Correct font when reading old floats.
12840
12841 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12842
12843         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12844         inserting list of floats.
12845
12846 2002-04-25  Herbert Voss  <voss@lyx.org>
12847
12848         * MenuBackend.C (expand): don't add the graphics extensions to the
12849         export menu
12850
12851 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12852
12853         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12854         non-existing layout, do not complain if it was the default layout
12855         of the original class (bug #342)
12856
12857 2002-04-24  Juergen Vigna  <jug@sad.it>
12858
12859         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12860         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12861
12862 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12863
12864         * buffer.C (getBibkeyList): If using \bibliography, return the
12865         option field with the reference itself. Enables us to provide natbib
12866         support when using \bibliography.
12867
12868 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12869
12870         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12871
12872         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12873         natbib is provided by the LaTeX class.
12874
12875 2002-04-23  Juergen Vigna  <jug@sad.it>
12876
12877         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12878         Wakeup functions.
12879
12880         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12881
12882 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12883
12884         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12885
12886         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12887         ensuremath around textordmasculine, textordfeminine and
12888         textdegree.
12889
12890 2002-04-19  Juergen Vigna  <jug@sad.it>
12891
12892         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12893         reinitializing the buffer otherwise row-dimensions may be wrong.
12894         (update): reset also the selection cursors if they do exits otherwise
12895         their x/y positions may be wrong.
12896
12897         * text2.C (cursorDown): don't enter the inset if we came from a row
12898         above and are one row over the inset.
12899
12900         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12901         really leaving an inset.
12902
12903 2002-04-18  Juergen Vigna  <jug@sad.it>
12904
12905         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12906         of the selected paragraph does not have the selected layout also if
12907         the last one had!
12908
12909         * text2.C (setLayout): fixed bug which did not change last selected
12910         paragraph.
12911
12912         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12913         changed the read and substituted \\end_float with \\end_inset!
12914
12915         * BufferView_pimpl.C (cursorPrevious):
12916         (cursorNext): fixed to make it work with rows heigher than the work
12917         area without moving the cursor only the draw of the row.
12918         (workAreaMotionNotify): fix jumping over high rows.
12919
12920 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12921
12922         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12923         Ressler.
12924
12925 2002-04-16  Juergen Vigna  <jug@sad.it>
12926
12927         * text2.C (setCursor): set also the irow().
12928         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12929         (cursorUp):
12930         (cursorDown): support for locking an inset if the x_fix value goes
12931         inside it. That way I can transverse insets too with cursor up/down.
12932
12933         * lyxrow.h: added irow helper function same as other (i) functions.
12934
12935         * BufferView_pimpl.C (cursorPrevious):
12936         (cursorNext): fixed for insets!
12937
12938 2002-04-15  Juergen Vigna  <jug@sad.it>
12939
12940         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12941         position otherwise it is wrong in some cases.
12942
12943         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12944         inside the inset before the call.
12945
12946 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12947
12948         * buffer.[Ch] (getBibkeyList): make it const.
12949
12950 2002-04-12  Juergen Vigna  <jug@sad.it>
12951
12952         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12953
12954         * text2.C (getCursorX): new helper function
12955         (setCursor): compute also ix_
12956         (setCursorFromCoordinates): set also ix.
12957
12958         * lyxcursor.h: added ix_ and helper functions.
12959
12960         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12961
12962         * buffer.C (insertStringAsLines): dont break paragraph if the this
12963         paragraph is inside an inset which does not permit it!
12964
12965         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12966         also with no chars on this paragraph.
12967         (paintRowText): only paint stuff if it's inside the workarea!
12968
12969         * paragraph.C (breakParagraph): honor keepempty flag and break the
12970         paragraph always below not above.
12971
12972         * BufferView2.C (unlockInset): update the paragraph layout on inset
12973         unlock as we changed paragraph in such a case.
12974
12975         * lyxfind.C (LyXFind): clear the former selection if not found!
12976
12977         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12978         again called in insertChar().
12979
12980         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12981         an inset which uses the whole row!
12982         (rightMargin): ditto.
12983         (insertChar): force a rebreak if we inserted an inset!
12984
12985 2002-03-28  Herbert Voss  <voss@lyx.org>
12986
12987         * lyxlength.[Ch]: add inBP() to get the right PS-point
12988         units (BigPoint). With inPixels we have rounding errors
12989
12990 2002-04-11  Juergen Vigna  <jug@sad.it>
12991
12992         * text2.C (setCursorFromCoordinates): set iy to the right value.
12993         (setCursor): add check if row->previous exists!
12994
12995         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12996         an old float_type as this was the case in the old code!
12997
12998         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12999
13000         * BufferView2.C (showLockedInsetCursor): use iy
13001         (fitLockedInsetCursor): ditto
13002
13003         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13004         locked insets as there we have the right value now.
13005
13006         * lyxcursor.C: added iy_ variable and iy functions to set to the
13007         baseline of cursor-y of the locked inset.
13008
13009         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13010         (setCursor): fixed for insets which need a full row.
13011
13012         * text.C (rowLastPrintable): don't ignore the last space when before
13013         an inset which needs a full row.
13014         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13015         as last character of a row when before a inset which needs a full row.
13016
13017 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13018
13019         * version.C.in: update date
13020
13021         * text2.C (fullRebreak): try to always return true and see what
13022         happens...
13023
13024 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13025
13026         * MenuBackend.C (expand): use Floating::listName
13027
13028         * FloatList.C (FloatList): add listName argument to the built-in
13029         floats
13030
13031         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13032         text associated with the float.
13033
13034 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13035
13036         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13037
13038 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13039
13040         * ShareContainer.h: add a couple of missing typenames.
13041
13042 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13043
13044         * lyxrc.C (getDescription): use _() correctly rather than N_().
13045
13046 2002-03-28  Herbert Voss  <voss@lyx.org>
13047
13048         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13049         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13050
13051 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13052
13053         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13054         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13055
13056 2002-03-29  Juergen Vigna  <jug@sad.it>
13057
13058         * lyxfunc.C (dispatch): add a missing fitCursor call.
13059
13060         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13061         it was scrolled by a cursor move, so return the bool status.
13062
13063         * BufferView.C (fitCursor): return the bool flag also to the outside
13064         world as this is needed.
13065
13066         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13067
13068         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13069         call the edit() as it is not needed (and wrong) IMO.
13070         (workAreaButtonPress): set the screen_first variable before evt.
13071         unlock the inset as this may change screen_first and then we have
13072         a wrong y position for the click!
13073
13074 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13075
13076         * MenuBackend.C (expand): another translation that I missed
13077
13078 2002-03-28  Juergen Vigna  <jug@sad.it>
13079
13080         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13081
13082         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13083
13084 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13085
13086         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13087
13088         * MenuBackend.C (expand): fix export/view/update when there is no
13089         document open.
13090
13091 2002-03-27  Herbert Voss  <voss@lyx.org>
13092
13093         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13094         and text%
13095
13096 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13097
13098         * bufferview_funcs.C (currentState): only show paragraph number
13099         for is DEVEL_VERSION is set.
13100
13101         * lyxfunc.C (dispatch): put warning in INFO channel
13102
13103         * MenuBackend.C (expand): translate the name of floats
13104
13105         * FloatList.C (FloatList): mark the float names for translation
13106
13107         * converter.C (convert): use LibScriptSearch
13108
13109 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13110
13111         * MenuBackend.C (defaults): fix default menu (we might as well get
13112         rid of it...)
13113
13114 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13115
13116         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13117         directory.
13118
13119 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13120
13121         * lyxvc.C: reorder includes.
13122
13123 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13124
13125         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13126           properly
13127
13128 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13129
13130         * CutAndPaste.C: change layouts earlier on paste
13131           to avoid crashing when calling getFont()
13132
13133 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13134
13135         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13136         irritating #error.
13137
13138 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13139
13140         * WorkArea.C: remove 'Pending' debug message.
13141
13142         * most files: ws cleanup
13143
13144         * buffer.[Ch]: ws changes
13145
13146         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13147
13148 2002-03-21  Juergen Vigna  <jug@sad.it>
13149
13150         * tabular.C (SetMultiColumn): collapse also the contents of the
13151         cells and set the last border right. Added a Buffer const * param.
13152
13153 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13154
13155         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13156         linking or not.
13157
13158 2002-03-19  Juergen Vigna  <jug@sad.it>
13159
13160         * text2.C (clearSelection): reset also xsel_cache.
13161
13162         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13163         where it needs to be called (John tells us to do so too :)
13164         (selectionLost): reset sel_cache.
13165
13166         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13167
13168 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13169
13170         * text2.C (setCursorIntern): put debuging code in INSETS channel
13171
13172 2002-03-19  André Pönitz <poenitz@gmx.net>
13173
13174         * lyxfunc.C: tiny whitespace change
13175
13176 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13177
13178         * ToolbarDefaults.C (init):
13179         * LyXAction.C (init):
13180         * commandtags.h:
13181         * BufferView_pimpl.C (Dispatch):
13182         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13183
13184 2002-03-19  Allan Rae  <rae@lyx.org>
13185
13186         * exporter.C (Export): removeAutoInsets before doing anything else.
13187         While I've just introduced a dependency on BufferView this really is
13188         the best place to clean the buffer otherwise you need to cleanup in
13189         a dozen places before calling export or cleanup in a dozen functions
13190         that export calls.
13191
13192         * converter.C (runLaTeX):
13193         (scanLog): Better handling of removeAutoInsets and screen updates.
13194
13195         * lyxfunc.C (dispatch): small whitespace changes
13196
13197 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13198
13199         * WorkArea.C (C_WorkAreaEvent): return a value.
13200         (event_cb): return 1 if we handled the event, 0 otherwise.
13201
13202         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13203
13204 2002-03-18  Juergen Vigna  <jug@sad.it>
13205
13206         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13207         (GetAdditionalWidth): ditto.
13208         (RightLine): ditto.
13209         (LeftLine): ditto.
13210
13211         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13212         inset if we're there actually (probably not used right now but this
13213         is the direction to go for unifying code).
13214         (paste): disable code to clear the selection.
13215
13216         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13217         inside an InsetText and move the check further up as it is in the
13218         wrong place.
13219
13220         * text2.C (pasteSelection): set a selection over the pasted text.
13221
13222 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13223
13224         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13225         and libgraphics to build on Cygwin.
13226
13227 2002-03-15  Juergen Vigna  <jug@sad.it>
13228
13229         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13230         inserting an Inset into the paragraph. I know this is not the best
13231         fix but we already use current_view in CutAndPaste so we will remove
13232         all of it's using at the same time.
13233
13234         * buffer.C (sgmlError): deactivated function till it is rewritten in
13235         the right mode, now it can create problems.
13236
13237         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13238         before accessing it.
13239
13240 2002-03-14  Juergen Vigna  <jug@sad.it>
13241
13242         * undo_funcs.C (textHandleUndo): do the right thing when updating
13243         the inset after the undo/redo.
13244
13245         * text2.C (setCursor): just some testcode for #44 not ready yet.
13246
13247         * undo_funcs.C (textHandleUndo): set the next() and previous()
13248         pointers of the paragraph to 0 before deleting otherwise we have
13249         problems with the Paragraph::[destructor].
13250
13251         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13252         on a paragraph insertion.
13253
13254 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13255
13256         * buffer.C (asciiParagraph): use += operator for char append to
13257         string.
13258
13259         * paragraph.C (getFontSettings): compare >= not just >
13260         (highestFontInRange): ditto
13261         (setFont): ditto
13262
13263 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13264
13265         * paragraph.C: change several algorithm to be more appripriate for
13266         the problem domain. This is lookip in FontList and in the InsetList.
13267
13268 2002-03-13  André Pönitz <poenitz@gmx.net>
13269
13270         * commandtags.h:
13271         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13272
13273 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13274
13275         * commandtags.h:
13276         * LyXAction.C:
13277         * lyxfunc.C:
13278         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13279
13280 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13281
13282         * Painter.C (display): anon helper function, adjust code for this
13283         change.
13284         (pixmap): remove function.
13285
13286         * Painter.h: remove private display variable.
13287
13288         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13289
13290 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13291
13292         * WorkArea.[Ch]: remove figinset_canvas cruft.
13293
13294 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13295
13296         * lyxtextclass.C (operator): add one item cache optimization.
13297
13298         * bufferlist.h: doxy changes
13299
13300         * bufferlist.C: ws changes
13301
13302         * DepTable.[Ch] (ext_exist): place const in the right spot.
13303
13304         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13305         call resizeInsets.
13306         (workAreaExpose): call resizeInsets when the with BufferView changes.
13307         (Dispatch): adjust for protectedBlank removal
13308         (specialChar): call updateInset if the insert went ok.
13309
13310         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13311         specialChar instead.
13312
13313         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13314
13315         * BufferView.h: doxy change
13316
13317         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13318
13319         * lyxtextclass.C (operator[]): remove non-const version
13320         (defaultLayout): remove non-const version
13321
13322 2002-03-12  Juergen Vigna  <jug@sad.it>
13323
13324         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13325         did resize the LyXText too.
13326
13327         * buffer.C (readLyXformat2): set layout information on newly allocated
13328         paragraphs.
13329
13330         * tabular.C (OldFormatRead): set layout information on the paragraph.
13331
13332 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13333
13334         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13335
13336 2002-03-11  Juergen Vigna  <jug@sad.it>
13337
13338         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13339         plainly wrong.
13340         (resizeCurrentBuffer): force also the insets to resize themselfes.
13341         (moveCursorUpdate): fixed up for InsetText.
13342
13343 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13344
13345         * commandtags.h:
13346         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13347         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13348         value of Dialogs::tooltipsEnabled().
13349         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13350
13351 2002-03-08  Juergen Vigna  <jug@sad.it>
13352
13353         * BufferView_pimpl.C (updateInset): update inset inside inset also
13354         if it isn't inside theLockingInset().
13355
13356 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13357
13358         * buffer.C (asciiParagraph): redo some of the word and line length
13359         handling.
13360         (getLists): look for Caption instead of caption.
13361
13362 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13363
13364         * buffer.C (Buffer): initialize niceFile to true
13365         (makeLaTeXFile):
13366         (makeLinuxDocFile):
13367         (makeDocBookFile): make sure niceFile is true on exit
13368
13369 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13370
13371         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13372
13373 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13374
13375         * LyXSendto.C: remove.
13376         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13377         * lyx_gui.C: remove now-redundant comment.
13378         * ColorHandler.h: remove forward declaration of class WorkArea.
13379         * lyxfunc.C: remove #include "WorkArea.h".
13380
13381 2002-03-07  Juergen Vigna  <jug@sad.it>
13382
13383         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13384         got moved away with the DEPM and also set the inset_owner always
13385         right which before could have been omitted.
13386
13387 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13388
13389         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13390         wanted layout is not found.
13391
13392 2002-03-07  Juergen Vigna  <jug@sad.it>
13393
13394         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13395
13396 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13397
13398         * paragraph.C (breakParagraph): use default layout not layout of
13399         prev paragraph.
13400         (Paragraph): clear ParagraphParameters.
13401
13402 2002-03-06  Juergen Vigna  <jug@sad.it>
13403
13404         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13405         otherwise it would not be a valid lenght. Fixed a special case in
13406         the minipage compatibility read where we end the document with a
13407         minipage.
13408
13409         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13410         was set as it could be 0 for InsetTexts first entry.
13411
13412 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13413
13414         * paragraph.C (writeFile): if layout is empty write out
13415         defaultLayoutName().
13416
13417         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13418         file without named layout we set layout to defaultLayoutName().
13419
13420 2002-03-06  Juergen Vigna  <jug@sad.it>
13421
13422         * CutAndPaste.C (copySelection): set layout for new paragraph.
13423
13424         * text.C (prepareToPrint): leave ERT inset left aligned
13425         (leftMargin): don't indent paragraphs inside ERT insets
13426
13427 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13428
13429         * paragraph.C (breakParagraph): dont call clear do the work manually
13430
13431         * paragraph.[Ch] (clear): remove function
13432
13433 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13434
13435         * paragraph.C (Paragraph): dont call clear, the work has already
13436         been done.
13437
13438         * lyxtextclass.C (operator): assert if n is empty
13439
13440         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13441         work manually instead.
13442
13443 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13444
13445         * BufferView_pimpl.C: protect selectionLost against text == 0
13446
13447 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13448
13449         * text.C (breakParagraph): fix a setting layout to '0' problem.
13450
13451 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13452
13453         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13454         final location of file, for the included files, and graphics.
13455
13456 2002-03-05  Juergen Vigna  <jug@sad.it>
13457
13458         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13459
13460 2002-03-04  Juergen Vigna  <jug@sad.it>
13461
13462         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13463
13464         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13465         last column of multicolumn cells.
13466         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13467
13468 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13469
13470         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13471         file if it doesn't go to a temporary file.
13472
13473         * buffer.C (sgmlOpenTag):
13474         (sgmlCloseTag):  remove extra newline insertion.
13475
13476 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13477
13478         * text.C (getRowNearY): comment out debug msg
13479
13480 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13481
13482         * text2.C: first -> first_y
13483
13484         * text.C (getRowNearY): add some attemts at a possible
13485         optimization, not working.
13486
13487         * tabular.[Ch]: add BufferParams to several function so that newly
13488         created paragraph can be initialized to he default layotu for the
13489         buffers textclass.
13490
13491         * tabular-old.C (ReadOld): add buf->params to call of Init
13492
13493         * screen.C: rename text->first to text->first_y
13494
13495         * paragraph.C (breakParagraph): always set layout in the broken
13496         paragraph
13497
13498         * lyxtextclass.C (Read): remove lowercase
13499         (hasLayout): ditto
13500         (operator): ditto
13501         (delete_layout): ditto
13502
13503         * lyxtext.h: rename first -> first_y
13504
13505         * lyxlayout.C (Read): remove lowercase
13506         (name): ditto
13507         (setName): ditto
13508         (obsoleted_by): ditto
13509
13510         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13511
13512         * buffer.C (insertErtContents): add params are to InsetERT
13513         (parseSingleLyXformat2Token): add code to check if a paragraphs
13514         layout really exist.
13515         (parseSingleLyXformat2Token): add params to several inset
13516         constructors
13517         (asciiParagraph): remove lowercase, do the layout comparisons with
13518         no_case
13519
13520         * BufferView_pimpl.C (cursorNext): first -> first_y
13521         (resizeCurrentBuffer): first -> first_y
13522         (updateScrollbar): first -> first_y
13523         (scrollCB): first -> first_y
13524         (workAreaMotionNotify): first -> first_y
13525         (workAreaButtonPress): first -> first_y
13526         (checkInsetHit): first -> first_y
13527         (cursorPrevious): first -> first_y
13528         (cursorNext): first -> first_y
13529         (Dispatch): add buffer_->params to severl inset contructors
13530
13531 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13532
13533         * lyxlayout.C (Read): remove some debug info that I forgot.
13534
13535         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13536         clean up the code slightly.
13537         (makeLinuxDocFile): ditto
13538         (makeDocBookFile): ditto
13539
13540         * text2.C: layout as string
13541
13542         * text.C: layout as string
13543
13544         * paragraph_pimpl.C: layout as string
13545
13546         * paragraph.[Ch]: layout as string
13547
13548         * lyxtextclasslist.[Ch]: layout as string
13549
13550         * lyxtextclass.[Ch]: layout as string
13551
13552         * lyxtext.h: layout as string
13553
13554         * lyxlayout.[Ch]: layout as string
13555
13556         * lyx_cb.C: layout as string
13557
13558         * bufferview_funcs.C: layout as string
13559
13560         * bufferparams.C: layout as string
13561
13562         * buffer.C: layout as string
13563
13564         * LyXView.[Ch]: layout as string
13565
13566         * LaTeXFeatures.[Ch]: layout as string
13567
13568         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13569
13570         * BufferView_pimpl.C: change current_layout to string, remove
13571         lyx::layout_type.
13572         (Dispatch):
13573         (smartQuote):
13574         (insertInset):
13575         (workAreaButtonRelease): layout as string
13576
13577         * BufferView2.C (unlockInset): adjust
13578
13579         * vspace.C (asLatexCommand): use an explict temp variable.
13580
13581 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13582
13583         * Makefile.am: use FRONTEND_*
13584
13585 2002-03-01  Juergen Vigna  <jug@sad.it>
13586
13587         * tabular.C (SetWidthOfMulticolCell): changed to something better
13588         I hope but still work in progress.
13589         (recalculateMulticolumnsOfColumn): renamed function from
13590         recalculateMulticolCells as it is more appropriate now.
13591         (SetWidthOfCell): calculate multicols better.
13592
13593 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13594
13595         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13596
13597         * lyxfunc.C (processKeySym): print sequence also if it is
13598         `deleted' (complete)
13599
13600         * kbsequence.C (print): print sequence even if it is deleted
13601         (complete would be a better word, actually).
13602
13603         * lyxfunc.C (dispatch): print complete options after a prefix key
13604
13605         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13606
13607 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13608
13609         * text2.C (setCharFont): eliminate setCharFont code duplication.
13610
13611 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13612
13613         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13614         LFUN_TABULAR_FEATURE (bug #177)
13615
13616 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13617
13618         * Makefile.am: remove figure.h
13619
13620 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13621
13622         * Bufferview_pimpl.C:
13623         * CutAndPasteC:
13624         * LaTeX.C:
13625         * LyXSendto.C:
13626         * buffer.C:
13627         * bufferlist.C:
13628         * converter.C:
13629         * language.C:
13630         * lyxfunc.C:
13631         * lyxvc.C:
13632         * paragraph.C:
13633         * text.C:
13634         * text2.C: remove #include "lyx_gui_misc.h".
13635
13636         * LaTeX.C: added #include <cstdio>
13637
13638 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13639
13640         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13641         that the paragraph following this one can have.
13642
13643         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13644
13645         * vspace.C (asLatexCommand): fix bogus gcc warning
13646
13647         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13648
13649 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13650
13651         * text2.C (setLayout): get rid of redundant code
13652
13653 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13654
13655         * text2.C (incDepth): make sure depth cannot be increased beyond
13656         reasonable values.
13657
13658 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13659
13660         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13661         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13662
13663         * PainterBase.h (image):
13664         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13665         a LyXImage const *.
13666
13667 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13668
13669         * BufferView.C:
13670         * BufferView.h:
13671         * BufferView_pimpl.C:
13672         * BufferView_pimpl.h:
13673         * LaTeXFeatures.C:
13674         * LyXAction.C:
13675         * LyXView.C:
13676         * Makefile.am:
13677         * UpdateList.h:
13678         * UpdateList.C:
13679         * buffer.C:
13680         * figure.h:
13681         * figureForm.C:
13682         * figureForm.h:
13683         * figure_form.C:
13684         * figure_form.h:
13685         * lyx_cb.C:
13686         * lyx_gui.C:
13687         * lyx_gui_misc.C:
13688         * lyxfunc.C:
13689         * sp_base.h:
13690         * sp_ispell.h:
13691         * sp_pspell.h:
13692         * sp_spell.C: remove fig inset, and the crap house of
13693           cards that follows it
13694
13695 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13696
13697         * Makefile.am:
13698         * lyxserver.C:
13699         * os2_defines.h:
13700         * os2_errortable.h:
13701         * nt_defines.h: move .h into support/
13702
13703         * vms_defines.h: remove
13704
13705         * WorkArea.C: add space in debug output
13706
13707         * text2.C:
13708         * paragraph.C:
13709         * buffer.C: add WITH_WARNINGS
13710
13711         * vc-backend.h:
13712         * vc-backend.C:
13713         * bufferlist.C: s/retrive/retrieve/, add docs
13714
13715         * vspace.h:
13716         * vspace.C:
13717         * kbmap.h:
13718         * lyxlength.h:
13719         * lyxgluelength.h:
13720         * length_common.h:
13721         * chset.h:
13722         * chset.C: add docs
13723
13724         * lyxgui.C: add ID to X error handler
13725
13726         * lyxtestclass.c: fix typo
13727
13728 2002-02-26  Juergen Vigna  <jug@sad.it>
13729
13730         * tabular_funcs.C (write_attribute): changed so that some default
13731         attributes are not written at all.
13732         (getTokenValue): set default values before trying to read the
13733         value so we have the return value always set as default if we don't
13734         find the token we search for.
13735
13736         * tabular.C (Write): write bools as bools not as strings!
13737
13738 2002-02-22  Juergen Vigna  <jug@sad.it>
13739
13740         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13741         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13742
13743         * text.C (leftMargin): don't add an indent for paragraphs inside
13744         tabular cells (fix #208).
13745
13746 2002-02-21  José Matos  <jamatos@fep.up.pt>
13747
13748         * tabular.C (docBook): fixed support for long tables.
13749
13750 2002-02-20  Juergen Vigna  <jug@sad.it>
13751
13752         * text2.C (getFont): get the drawing font of the Inset if this
13753         paragraph is inside an inset (only important for InsetERT for now).
13754
13755         * buffer.C (insertErtContents): use new lanugage params in ERT
13756         constructor.
13757
13758         * CutAndPaste.C: commenting out seemingly uneeded code.
13759
13760 2002-02-19  Allan Rae  <rae@lyx.org>
13761
13762         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13763         Iterators might be simple to use but they also get invalidated.
13764         (removeAutoInsets): renamed saved cursor tracking variables and added
13765         some comments to clarify what everything does.
13766
13767 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13768
13769         * Chktex.C:
13770         * LaTeX.C:
13771         * LyXSendto.C:
13772         * converter.C:
13773         * lyx_cb.C:
13774         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13775         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13776
13777         * lyxfunc.C:
13778         * vc-backend.h: remove #include "support/syscall.h"
13779
13780         * LaTeX.C:
13781         * LyXSendto.C:
13782         * converter.C: rearrange #includes in Lars' approved fashion.
13783
13784         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13785         forward declare class Timeout in the header file.
13786
13787         * XFormsView.C: changes due to the above.
13788
13789         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13790         similar to LyXView.
13791
13792         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13793         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13794
13795 2002-02-18  José Matos  <jamatos@fep.up.pt>
13796
13797         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13798         insets contents.
13799
13800 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13801
13802         * a lot of small ws changes
13803         * add a lot of using std::XXX
13804         * use std construcs some places where approp.
13805         * use some exisint stuff from lyxfunctional where approp.
13806         * Make file changes to use partial linking (lets test this now...)
13807
13808 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13809
13810         * Chktex.C:
13811         * buffer.C:
13812         remove #include "support/syscontr.h" as it's redundant. Always has been.
13813
13814         * Chktex.C:
13815         * LaTeX.C:
13816         * LyXSendto.C:
13817         * converter.C:
13818         * lyx_cb.C:
13819         * vc-backend.C:
13820         change Systemcalls::System to Systemcalls::Wait and
13821         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13822         No change of functionality, just reflects the stripped down Systemcalls
13823         class.
13824
13825 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13826
13827         * debug.[Ch]: add a GRAPHICS type to the enum.
13828
13829 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13830
13831         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13832
13833         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13834         there is an inset.
13835
13836 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13837
13838         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13839         match the changes below.
13840
13841         * text2.C (toggleInset): if there is not editable inset at cursor
13842         position, try to see if cursor is _inside_ a collapsable inset
13843         and close it.
13844
13845 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13846
13847         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13848         document menu has a nice checkbox
13849
13850 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13851
13852         * lyxlength.C (asLatexString): change PW to output as percent of
13853         \textwidth.
13854
13855         * lengthcommon.C: change '%' to 't%'
13856
13857         * lyxfunc.C (dispatch): a few comments from Martin
13858
13859 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13860
13861         * WorkArea.h:
13862         * WorkArea.C:
13863         * BufferView_pimpl.h:
13864         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13865           the X selection.
13866
13867 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13868
13869         * vspace.C (inPixels): fix compiler warning
13870
13871 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13872
13873         * lyxfunc.C (getStatus): fix status message for disabled commands.
13874
13875 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13876
13877         * BufferView_pimpl.C: fix crash on close buffer
13878         during selection (#227)
13879
13880 2002-01-27  Herbert Voss  <voss@lyx.org>
13881
13882         * buffer.C: link old Figure to new graphic inset
13883
13884 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13885
13886         * FontLoader.C (getFontinfo): Change the latex font names in order
13887         to match the names of type1inst.
13888
13889 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13890
13891         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13892
13893         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13894         (extchanged): ditto
13895         (ext_exist): ditto
13896         (remove_files_with_extension): ditto
13897         (remove_file): ditto
13898         (write): ditto
13899
13900         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13901         document is smaller than the work area height. Do not initialize
13902         static variables to 0.
13903
13904 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13905
13906         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13907
13908         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13909         LFUN_LAYOUT_PARAGRAPHS.
13910
13911         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13912         tabular. It is possible to provide a possible cell, which will
13913         typically be the actcell from the corresponding insettabular
13914
13915         * lyxfunc.C (getStatus): small cleanup; disable
13916         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13917         true
13918
13919 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13920
13921         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13922
13923         * paragraph.C (startTeXParParams):
13924         (endTeXParParams): new methods. The LaTeX code to
13925         start/end paragraph formatting
13926         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13927         empty (fixes bug #200)
13928
13929         * vspace.C (inPixels): adapt to the change below
13930         (inPixels): [later] more cleanups (remove unused variables)
13931
13932         * lyxlength.C (inPixels): change to use a width and a height as
13933         parameter.
13934
13935 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13936
13937         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13938         Replaced with \paperwidth
13939
13940         * DepTable.C (insert): add std:: qualifier
13941
13942 2002-01-18  Allan Rae  <rae@lyx.org>
13943
13944         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13945         updated also?
13946
13947         * text.C (drawInset): Turned out I didn't know enough about how
13948         rebreaking worked.  This fixes most of the redraw problems.  I see
13949         an occasional cursor trail when a line is broken now and the cursor
13950         placement can seem out by a few pixels also after a rebreak.
13951
13952 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13953
13954         * buffer.C (parseSingleLyXformat2Token): update because minipage
13955         width is now a LyXLength
13956
13957         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13958
13959         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13960         math insets
13961
13962 2002-01-17  Juergen Vigna  <jug@sad.it>
13963
13964         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13965
13966         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13967         is set correctly and the inset is updated correctly.
13968
13969 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13970
13971         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13972         the beginning of the loop.
13973
13974 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13975
13976         * lyxrc.C: improve help for use_scalable_fonts
13977
13978 2002-01-17  Allan Rae  <rae@lyx.org>
13979
13980         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13981
13982 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13983
13984         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13985         make sure to set their inset_owner to the right value (bug #171)
13986
13987 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13988
13989         * DepTable.h
13990         * DepTable.C: Implement mtime checking to reduce time spent doing
13991         CRCs.
13992
13993 2002-01-16  Juergen Vigna  <jug@sad.it>
13994
13995         * tabular.C (GetAdditionalHeight): one of error fixed.
13996
13997         * lyxrc.C (output): small fix in writing use_pspell.
13998
13999 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14000
14001         * sp_base.h: #include LString.h
14002
14003 2002-01-16  Allan Rae  <rae@lyx.org>
14004
14005         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14006         Can someone check this please?
14007
14008         * text.C (drawInset): It was possible that p.row would be removed by
14009         breakAgainOneRow upsetting a few other settings.  There may be another
14010         small tweak possible by setting need_break_row = 0 when p.row has been
14011         removed but I don't know enough about the logic here.
14012
14013 2002-01-15  Allan Rae  <rae@lyx.org>
14014
14015         * text.C (insertChar): removed conditional truism.
14016
14017         * BufferView2.C (removeAutoInsets): More tweaks.
14018         cur_par_prev could be a stray pointer.  Check for trailing empty line
14019         in case last line was cur_par and only had an error inset on it.
14020
14021 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14022
14023         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14024         absolute
14025
14026         * vc-backend.C (most methods):
14027         * exporter.C (Export):
14028         * converter.C (convert):
14029         (runLaTeX):
14030         * LyXSendto.C (SendtoApplyCB):
14031         * lyxfunc.C (dispatch):
14032         (menuNew):
14033         (open):
14034         (doImport):
14035         * lyx_cb.C (AutoSave):
14036         (InsertAsciiFile):
14037         * BufferView_pimpl.C (MenuInsertLyXFile):
14038         * buffer.C (runChktex): use Buffer::filePath().
14039
14040         * buffer.h: rename filename to filename_; rename filepath to
14041         filepath_ and make it private
14042         (filePath): new method
14043
14044         * buffer.C (writeFile): use fileName()
14045         (getLatexName):
14046
14047         * lyx_main.C (init): fix starting  of LyX when the binary is a
14048         link from so,ewhere else.
14049
14050         * minibuffer.C: include <cctype> for isprint
14051
14052 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14053
14054         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14055         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14056         name clash with InsetCollapsable's width function.
14057
14058 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14059
14060         * lastfiles.C: include <iterator>
14061
14062 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14063
14064         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14065         std::count.
14066
14067         * buffer.C (makeLaTeXFile): ditto.
14068         Also make loop operation more transparent.
14069
14070 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14071
14072         * ToolbarDefaults.C: remove trailing comma closing namespace.
14073
14074         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14075
14076         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14077         as in WorkArea.
14078
14079         * trans.C (Load): comment out unused variable, allowed.
14080
14081 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14082
14083         * minibuffer.[Ch] (append_char): new method to recieve input from the
14084         drop-down completion browser. If a key was pressed, then recieve this
14085         char and append it to the existing string.
14086         (peek_event): modify the positioning data passed to the completion
14087         browser so that it can be placed above the minibuffer rather than below.
14088 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14089
14090         * LyXAction.C (init): alloe error-next for readonly documents.
14091
14092         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14093         count.
14094
14095 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14096
14097         * bufferlist.C (readFile): create the buffer _after_ checking that
14098         the file exists.
14099
14100         * lyxfunc.C (verboseDispatch): fix handling of arguments
14101
14102         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14103
14104         * lyxrc.C: use string::erase() instead of initializing to "".
14105
14106
14107 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14108
14109         * BufferView_pimpl.h:
14110         * BufferView_pimpl.C:
14111         * WorkArea.h:
14112         * WorkArea.C:
14113         * text2.C: tell X when we have made a selection for copying
14114
14115 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14116
14117         * BufferView_pimpl.C (MenuInsertLyXFile):
14118         * lyxfunc.C (menuNew):
14119         (open):
14120         (doImport): add shortcuts to directory buttons
14121
14122         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14123         open a float)
14124
14125         * lyxfunc.C (setStatusMessage):
14126         (getStatusMessage): new methods
14127         (getStatus):use setStatusMessage instead of setErrorMessage
14128         (dispatch): when function is disabled, set error message here
14129         [instead of in getStatus previously]
14130
14131         * BufferView_pimpl.C (workAreaButtonRelease): update
14132         toolbar/menubar here too.
14133
14134 2002-01-13  Allan Rae  <rae@lyx.org>
14135
14136         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14137         Now seems indestructible.  Remaining task is to audit all other
14138         code affected by deleteEmptyParagraphMechanism.  One small quirk
14139         left is that an empty document with an error in the preamble can
14140         be made to report an error but no error box appears.  I don't know
14141         where it goes.
14142         (removeAutoInsets): Improved comments.
14143
14144 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14145
14146         * Thesaurus.h:
14147         * Thesaurus.C: update for Aiksaurus 0.14
14148
14149 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14150
14151         * text2.C (firstParagraph): removed member function, all uses
14152         replaces with ownerParagraph
14153         (redoParagraphs): here
14154         (updateInset): here
14155         (toggleAppendix): here
14156         * BufferView2.C (insertErrors): here
14157         (setCursorFromRow): here
14158
14159 2002-01-13  Allan Rae  <rae@lyx.org>
14160
14161         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14162         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14163         There is still a way to segfault this although you may have to do this
14164         multiple times: Have an InsetERT with an unknown command in it.
14165         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14166         <down-arrow>, <Enter> again, View->DVI, BANG!
14167
14168         * text2.C (setCursor):
14169         (deleteEmptyParagraphMechanism):
14170         * lyxtext.h (setCursor):
14171         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14172         Making use of the return value may help fix other bugs.
14173
14174 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14175
14176         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14177
14178         * LyXView.C (updateMenubar): call MenuBar::update here
14179         (updateToolbar): but not here
14180         (showState): do not update toolbar/menubar
14181
14182         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14183         should need to care about that.
14184
14185         * lyxfunc.C (verboseDispatch): simplify a bit
14186         (getStatus): have a version which takes a pseudoaction, and
14187         another which requires a (kb_action,string).
14188
14189         * LyXAction.C (retrieveActionArg): make it work also when action
14190         is not a pseudo-action.
14191         (getActionName): simplify a bit
14192         (helpText):
14193
14194 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14195
14196         * lyxfunc.C (verboseDispatch): new families of methods with
14197         several ways to specify a command and a bool to indicate whether
14198         the command name and shortcut should be displayed in minibuffer
14199         (eventually, we could extend that to a finer bitmask like
14200         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14201         (dispatch): the pristine dispatch command which just, well,
14202         dispatchs! Note it still sets its result to minibuffer; I'm not
14203         sure we want that.
14204
14205         * lyxfunc.h: remove setHintMessage
14206
14207         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14208
14209 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14210
14211         * BufferView_pimpl.C (specialChar): delete new inset if we have
14212         not been able to insert it.
14213
14214         * kbmap.C: revert to using int instead of kb_action, since all we
14215         are dealing with is pseudo-actions.
14216
14217         * LyXAction.C (searchActionArg): change to return int instead of
14218         kb_action, since the result is a pseudoaction.
14219
14220 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14221
14222         * buffer.C (insertErtContents): Fix (partially) the font bug.
14223
14224 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14225
14226         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14227         as the other one is broken on my machine!
14228
14229 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14230
14231         * commandtags.h:
14232         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14233
14234 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14235
14236         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14237         reflect their actual use. Provide compatibility code for older lyxrc
14238         files.
14239
14240         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14241         FL_NORMAL_STYLE.
14242         change names of popup font variables in line with the changes to lyxrc.C
14243
14244 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14245
14246         * buffer.C (asciiParagraph): avoid outputing a word twice after
14247         an inset.
14248
14249         * lyxrc.C (getDescription): document that document_path and
14250         template_path can be empty.
14251
14252 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14253
14254         * LaTeXFeatures.C (getMacros):
14255         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14256
14257         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14258
14259         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14260         getPackages.
14261         (getPackages): rename feature "floats" to "float". Use an array to
14262         iterate over 'simple' features (i.e. just a \usepackage). Add
14263         handling of "amsmath" (renamed from "amsstyle").
14264
14265 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14266
14267         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14268         features list.
14269
14270 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14271
14272         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14273         FuncStaus::FuncStatus & FuncStaus::some_method().
14274
14275 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14276
14277         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14278         of the func_satus stuff. Edited and massaged in various ways by
14279         JMarc.
14280
14281         * lyxfunc.C (getStatus): use FuncStatus
14282
14283 2002-01-08  Juergen Vigna  <jug@sad.it>
14284
14285         * text.C (nextBreakPoint): use function Inset::isChar().
14286
14287         * paragraph.C (TeXOnePar): use function
14288         Inset::forceDefaultParagraphs.
14289
14290         * buffer.C (latexParagraphs): use function
14291         Inset::forceDefaultParagraphs.
14292
14293 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14294
14295         * lyx_gui.C (init): set the style of the menu popups to
14296         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14297
14298 2002-01-07  Juergen Vigna  <jug@sad.it>
14299
14300         * text.C (setHeightOfRow): small fix
14301         (prepareToPrint): don't look at alignment if we don't have the place
14302         for doing it.
14303
14304 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14305
14306         * box.C: New file. Move the Box methods and functions out of box.h,
14307         following Lars' suggestion.
14308
14309 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14310
14311         * box.h: #include "support/LOstream.h", needed for inlined function.
14312
14313         * lyxtextclass.C:
14314         * lyxtextclasslist.C: added some using std declarations.
14315
14316 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14317
14318         * box.h: make signed dimensions to allow insets wider than
14319           the screen (bug #162)
14320
14321         * BufferView_pimpl.C: add some insetHit debug
14322
14323 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14324
14325         * vc-backend.C: add FIXME
14326
14327 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14328
14329         * lyxfunc.C (getStatus): enable code for showing math font status
14330         in toolbar/menu.
14331
14332 2002-01-07  Juergen Vigna  <jug@sad.it>
14333
14334         * text.C (nextBreakPoint): removed debug output not needed anymore.
14335
14336 2002-01-06  Juergen Vigna  <jug@sad.it>
14337
14338         * text.C (nextBreakPoint): fixed up this function we had this bug
14339         since ever but now hopefully we break row better.
14340         (insertChar): we have to check if an inset is the next char as it
14341         could now happen that a large inset is causing a break.
14342
14343 2002-01-05  Juergen Vigna  <jug@sad.it>
14344
14345         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14346         if it doesn't like to be drawed.
14347
14348 2002-01-04  Juergen Vigna  <jug@sad.it>
14349
14350         * BufferView2.C (lockInset): forgot to set a cursor.
14351
14352         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14353
14354 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14355
14356         * FormMathsPanel.C:
14357         * FormMathsPanel.h
14358         * MathsSymbols.C:
14359         * form_maths_panel.C:
14360         * form_maths_panel.h:
14361         * form_maths_panel.fd: implemented sub- and super- buttons in math
14362         panel.
14363
14364         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14365         (or ^ space) to be used as in TeX (req'd by Andr�.
14366
14367         * lyxfunc.C: Allow ^ and _ again to be used both as
14368         super/subscript (mathed) and as themselves (in text).
14369
14370 2002-01-03  Allan Rae  <rae@lyx.org>
14371
14372         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14373         "LyX" or the filename of the current buffer if it has one.  This is a
14374         modified form of John Levon's patch.
14375
14376         * XFormsView.C (setWindowTitle): also set icon title.
14377
14378         * LyXView.h (setWindowTitle): signature changed.
14379         * XFormsView.h (setWindowTitle): ditto.
14380
14381 2002-01-02  Juergen Vigna  <jug@sad.it>
14382
14383         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14384
14385 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14386
14387         * screen.C (topCursorVisible): introduce a temp var for
14388         text->cursor.row(), handle the case where this row is null. (kindo
14389         hachish)
14390
14391         * text2.C (setCursor): add a couple of asserts.
14392
14393         * paragraph.h (inset_iterator): add -> operator
14394
14395         * paragraph.[Ch] (autoDeleteInsets): remove member function
14396
14397         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14398         cursor pos correctly and handle inset deletion by itself.
14399         (insertErrors): move iterator declaration out of for expression
14400
14401         * lyxtextclass.C: add <algorithm>
14402
14403         * Makefile.am: added the new files to sources, removed layout.C
14404
14405         * layout.C: removed file
14406
14407         * layout.h: remove LYX_DUMMY_LAYOUT
14408
14409         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14410         layout.
14411
14412         * lyxlayout.[Ch]:
14413         * lyxtextclass.[Ch]:
14414         * lyxtextclasslist.[Ch]: new files
14415
14416         * include order changes to a lot of files, also changes because of
14417         the six new files.
14418
14419 2001-12-27  Juergen Vigna  <jug@sad.it>
14420
14421         * buffer.C (asciiParagraph): more fixes.
14422
14423         * tabular.C (ascii): make ascii export support export of only the
14424         data separated by a column-delimiter.
14425         (ascii): better support for ascii export.
14426
14427         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14428
14429 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14430
14431         * tabular_funcs.C: use a "using std::getline" instead of the
14432         previous fix from Angus (necessary for cxx + lyxstring)
14433
14434 2001-12-24  Juergen Vigna  <jug@sad.it>
14435
14436         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14437
14438         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14439         problems. First check a minipage also if we have some ert-contents
14440         (not only on par->size(), second set the right depth of the paragraph
14441         on the relink to the root-paragraph-list!
14442
14443         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14444         which then did not anymore update the main paragraphs on undo/redo!
14445
14446 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14447
14448         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14449         code. Support all font-changing funcs (even those which are not in
14450         menu currently). Support for reporting font settings in
14451         mathed (disabled until Andre provides a function on mathed's side).
14452
14453         * func_status.h (toggle): small helper function to set toggle
14454         state on a flag.
14455
14456 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14457
14458         * tabular_funcs.C: getline -> std::getline
14459
14460 2001-12-21  Juergen Vigna  <jug@sad.it>
14461
14462         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14463         accessed and could be 0 (I couldn't generate this but it seems
14464         Michael could!).
14465
14466 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14467
14468         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14469         * tabular_funcs.h: here and include iosfwd
14470
14471 2001-12-20  Juergen Vigna  <jug@sad.it>
14472
14473         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14474         inside inset but undo_par was.
14475
14476 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14477
14478         * Thesaurus.C: always include <config.h> in sources.
14479
14480         * Painter.h:
14481         * lyxlookup.h:
14482         * box.h: do not include <config.h> in header files
14483
14484         * text.C (paintLastRow): remove unused variable
14485
14486         * text.C (transformChar):
14487         (insertChar):
14488         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14489
14490         * Painter.C (text):
14491         * font.C (width): rewrite to use uppercase() instead of
14492         islower/toupper.
14493
14494         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14495
14496 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14497
14498         * lyxfind.C: clean up of find failure position change
14499
14500 2001-12-20  Juergen Vigna  <jug@sad.it>
14501
14502         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14503
14504         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14505         (TeXRow): added to LaTeX a single tabular row.
14506         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14507         (Latex): simplified and finally good LT-h/f support.
14508         (various_functions): just small adaptions for LT-h/f support.
14509
14510         * tabular_funcs.[hC]: added and moved here all not classfunctions
14511         of LyXTabular.
14512
14513 2001-12-19  Juergen Vigna  <jug@sad.it>
14514
14515         * tabular.[Ch]: better support for longtabular options (not finished
14516         yet!)
14517
14518 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14519
14520         * text.C (paintLastRow): use the label font instead of the font of
14521         the last character to compute the size of *_BOX. This makes more
14522         sense and avoids a crash with empty paragraphs.
14523         Use Painter::rectangle to draw EMPTY_BOX.
14524
14525 2001-12-19  Juergen Vigna  <jug@sad.it>
14526
14527         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14528         the paragraphs if the replaced paragraph is not the first one!
14529         Tried to delete not used paragraphs but does not work yet so for
14530         now it's inside #ifdef's and by default off!
14531
14532 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14533
14534         * MenuBackend.C: include "lyx_main.h" instead of declaring
14535         lastfiles (actually was declared as LastFiles* instead of a
14536         scoped_ptr).
14537
14538 2001-12-17  Juergen Vigna  <jug@sad.it>
14539
14540         * tabular.C (AppendColumn): applied John's fix
14541
14542 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14543
14544         * BufferView.h:
14545         * BufferView.C:
14546         * BufferView_pimpl.h:
14547         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14548
14549         * Makefile.am:
14550         * box.h: new start of class for above
14551
14552         * lyxfunc.C: ignore space-only minibuffer dispatches.
14553           Show the command name when it doesn't exist
14554
14555         * minibuffer.C: don't add empty lines to the history
14556
14557         * minibuffer.C: add a space on dropdown completion
14558
14559 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14560
14561         * text.C: fix line above/below drawing in insets
14562
14563 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14564
14565         * lyxlength.C (LyXLength): Initialize private variables.
14566
14567 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14568
14569         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14570         when inserting error insets.
14571
14572 2001-12-13  Juergen Vigna  <jug@sad.it>
14573
14574         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14575         actually sometimes the before-paragraph.
14576         (setUndo): don't clear the redostack if we're not actually undoing!
14577
14578 2001-12-06  Juergen Vigna  <jug@sad.it>
14579
14580         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14581         and fixed redoing of main paragraph, so we can use it now ;)
14582
14583         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14584
14585 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14586
14587         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14588         Juergen's request
14589
14590 2001-12-13  André Pönitz <poenitz@gmx.net>
14591
14592         * undostack.[Ch]:
14593         * undo_func.C: minor cleanup
14594
14595 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14596
14597         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14598         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14599         font in urw-fonts package which is marked as -urw-fontspecific and
14600         does not work (incidentally, changing the encoding in the
14601         fonts.dir of this package to -adobe-fontspecific fixes the
14602         problem).
14603
14604         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14605         is a crash when undoing first paragraph (Juergen, please take a
14606         look). THis does not mean the undo fix is wrong, just that it
14607         uncovers problems.
14608
14609         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14610         the (Paragraph*) version when needed instead of duplicating the
14611         code.
14612
14613         * text.C (workWidth): use Inset::parOwner to find out where the
14614         inset has been inserted. This is a huge performance gain for large
14615         documents with lots of insets. If Inset::parOwner is not set, fall
14616         back on the brute force method
14617
14618         * paragraph_pimpl.C (insertInset):
14619         * paragraph.C (Paragraph):
14620         (cutIntoMinibuffer): set parOwner of insets when
14621         inserting/removing them
14622
14623         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14624
14625 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14626
14627         * commandtags.h:
14628         * LyXAction.C:
14629         * lyx_main.C:
14630         * lyxfunc.C:
14631         * mathed/formulabase.C:
14632         * mathed/math_cursor.[Ch]:
14633         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14634
14635
14636 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14637
14638         * lyxlength.[Ch] (operator!=): new function
14639
14640 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14641
14642         * text.C (workWidth): use Inset::parOwner to find out where the
14643         inset has been inserted. This is a huge performance gain for large
14644         documents with lots of insets. If Inset::parOwner is not set, fall
14645         back on the brute force method
14646
14647         * paragraph_pimpl.C (insertInset):
14648         * paragraph.C (Paragraph):
14649         (cutIntoMinibuffer): set parOwner of insets when
14650         inserting/removing them
14651
14652         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14653
14654 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14655
14656         * tabular-old.C (getTokenValue):
14657         * tabular.C (getTokenValue):
14658         (write_attribute): new versions for LyXLength
14659         (everywhere): adjust the use of widths
14660
14661         * tabular.h: change the type of widths from string to LyXLength
14662
14663 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14664
14665         * paragraph.C: fixed missing line number count when exporting
14666         Environments to LaTeX file
14667
14668         * buffer.C: added informational message for checking line numbers.
14669
14670 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14671
14672         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14673         paragraph, do the 'double space' part, but not the 'empty
14674         paragraph' one.
14675
14676         * text.C (workWidth): small optimization
14677         (getLengthMarkerHeight): use minimal size for negative lengths.
14678
14679 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14680
14681         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14682
14683         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14684
14685 2001-12-11  André Pönitz <poenitz@gmx.net>
14686
14687         * FontLoader.C:
14688         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14689
14690 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14691
14692         * text2.C: keep selection on a setFont()
14693
14694 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14695
14696         * lyx_cb.C: another bv->text misuse, from insert label
14697
14698 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14699
14700         * kbsequence.h:
14701         * kbsequence.C: re-instate nmodifier mask
14702
14703 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14704
14705         * lyx_main.h: make lyxGUI private.
14706
14707 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14708
14709         * lyxfind.C: place the cursor correctly on failed search
14710
14711 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14712
14713         * text.C (getLengthMarkerHeight): for small heights, the arrows
14714         are not always on top/bottom of the text
14715         (drawLengthMarker): smaller arrows; take the left margin in
14716         account; draw also vfills.
14717         (paintFirstRow):
14718         (paintLastRow): remove special code for vfill and standard spaces,
14719         since everything is handled in drawLengthMarker now.
14720
14721 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14722
14723         * buffer.C (insertErtContents): try to handle font and language
14724         interaction a bit better.g
14725
14726         * ColorHandler.C (updateColor): change the hash to cover the whole
14727         LColor enum, ws cleanup
14728         (getGCLinepars): ditto
14729         (getGCLinepars): only lookup in the linecache once.
14730
14731 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14732
14733         * iterators.C (operator++): Make the iterator more robust
14734
14735         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14736         (John's patch)
14737         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14738
14739 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14740
14741         * lyxtext.h:
14742         * text.C: better added space drawing
14743
14744 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14745
14746         * LyXView.C:
14747         * BufferView2.C: fix layout combo update on inset unlock
14748
14749 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14750
14751         * Makefile.am: don't compile unused files
14752
14753 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14754
14755         * lyxfunc.C:
14756         * commandtags.h:
14757         * LyXAction.C: remove old LFUN_LAYOUTNO
14758
14759 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14760
14761         * paragraph_pimpl.h:
14762         * paragraph_pimpl.C: isTextAt() doesn't need font param
14763
14764 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14765
14766         * lyxlex.h:
14767         * lyxlex.C: little cleanup
14768
14769 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14770
14771         * BufferView_pimpl.C: fix insertAscii for insets
14772
14773 2001-12-05  Juergen Vigna  <jug@sad.it>
14774
14775         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14776         set the right font on the "multi" paragraph paste!
14777
14778 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14779
14780         * trans_decl.h:
14781         * trans_mgr.[Ch]:
14782         * trans.[Ch]:
14783         * lyxgluelength.C:
14784         * lyxlength.C: remove out-commented code.
14785
14786         * BufferView_pimpl:
14787         * CutAndPaste.C:
14788         * DepTable.C:
14789         * buffer.C:
14790         * chset.C:
14791         * lastfiles.C:
14792         * lyxlex.C:
14793         * lyxlex_pimpl.C:
14794         * lyxserver.C:
14795         * screen.C:
14796         * tabular-old.C:
14797         * tabular.C:
14798         * text.C:
14799         * trans_mgr.C:
14800         * vc-backend.C: change "while(" to "while ("
14801
14802         * lyxlength.[Ch]: add zero function to check if length is zero or
14803         not
14804         * lyxgluelength.C: use it
14805
14806 2001-12-05  Allan Rae  <rae@lyx.org>
14807
14808         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14809         Works for 2.95.3, from what I understand of Garst's reports this should
14810         work for other g++ versions.  We're screwed if the abs(int) definition
14811         changed between bugfix releases of gcc.
14812
14813 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14814
14815         * text.C: fix chapter label offset !
14816
14817 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14818
14819         * lyxtext.h:
14820         * text.C: fix hfill at end of line, clean up
14821
14822 2001-12-04  Juergen Vigna  <jug@sad.it>
14823
14824         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14825         that we force an update of the inset and it's owners if neccessary.
14826
14827 2001-12-03  Juergen Vigna  <jug@sad.it>
14828
14829         * text.C (rowLast): simplified code
14830
14831 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14832
14833         * lyxfunc.C: fix show options on timeout
14834
14835 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14836
14837         * screen.C (topCursorVisible): scroll half a page when the cursor
14838         reached top of bottom of screen
14839
14840 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14841
14842         * minibuffer.C: deactivate on loss of focus
14843
14844 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14845
14846         * vspace.[Ch] (operator!=): add operator.
14847
14848 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14849
14850         * BufferView_pimpl.C: refuse to open an inset when
14851         there's a selection.
14852
14853 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14854
14855         * BufferView_pimpl.C: allow to click on RHS of full row insets
14856
14857 2001-11-30  Juergen Vigna  <jug@sad.it>
14858
14859         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14860         insets for undo reasons.
14861
14862 2001-11-28  André Pönitz <poenitz@gmx.net>
14863
14864         * vspace.[Ch]: cosmetical changes
14865
14866 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14867
14868         * LyXAction.h:
14869         * LyXAction.C:
14870         * lyxfunc.h:
14871         * lyxfunc.C:
14872         * kbmap.h:
14873         * kbmap.C:
14874         * lyxrc.C:
14875         * kbsequence.h:
14876         * kbsequence.C: part re-write of old kb code
14877
14878         * Painter.C:
14879         * WorkArea.C: remove Lgb_bug_find_hack
14880
14881 2001-11-30  José Matos <jamatos@fep.up.pt>
14882
14883         * buffer.C (makeDocBookFile): add a comment to point a hack.
14884         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14885         Fixed a double write of labels.
14886
14887 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14888
14889         * LaTeX.C:
14890         * LaTeX.h Fixed bug in LaTeX class where it would not
14891         re-run latex if no depfiles were changed, but the .dvi was removed.
14892
14893 2001-11-28  André Pönitz <poenitz@gmx.net>
14894
14895         * all the files from the change on 2001/11/26:
14896         use lyx::layout_type instead of LyXTextClass::size_type
14897         use lyx::textclass_type instead of LyXTextClassList::size_type
14898
14899 2001-11-29  Juergen Vigna  <jug@sad.it>
14900
14901         * text.C: added support for paragraph::isFreeSpacing()
14902
14903         * buffer.C: same as above
14904
14905         * paragraph.h: inserted isFreeSpacing() function to enable
14906         FreeSpacing inside InsetERT.
14907
14908         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14909         of the paragraph's in the cut/copy buffer to 0!
14910
14911         * text2.C (removeRow): remove the assert as it can!
14912
14913         * lyxtext.h: added helper function firstRow returning firstrow and
14914         made firstrow private again.
14915
14916         * BufferView2.C (lockInset): don't relock if we're already locked!
14917
14918         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14919         the only paragraph.
14920         (removeRow): added Assert::(firstrow)
14921
14922         * debug.C: forgot to add INSETTEXT here.
14923
14924 2001-11-28  Juergen Vigna  <jug@sad.it>
14925
14926         * sp_spell.C (initialize): changed error text to more general
14927         spellchecker command use (not only ispell!)
14928
14929         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14930
14931         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14932
14933 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14934
14935         * vspace.C: initialise lyxgluelength on failure
14936
14937 2001-11-28  Allan Rae  <rae@lyx.org>
14938
14939         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14940         declaration & definition that looks like a function declaration.
14941
14942 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14943
14944         * BufferView2.C (copy):
14945         (copyEnvironment): do not clear the selection when doing a copy.
14946
14947         * text.C (paintFirstRow): compilation fix
14948
14949 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14950
14951         * tabular.C (Latex): correct line count when writing latex.
14952
14953 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14954
14955         * paragraph_pimpl.h:
14956         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14957           bug a bit
14958
14959 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14960
14961         * text.C:
14962         * LColor.h:
14963         * LColor.C: change vfillline->added_space
14964
14965         * text.C: add markers and text for added space
14966
14967         * vspace.C: fix comment
14968
14969 2001-11-28  André Pönitz <poenitz@gmx.net>
14970
14971         * paragraph.C: whitespace changes
14972         * all the other files from the change on 2001/11/26:
14973         change *::pos_type into lyx::pos_type
14974
14975 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14976
14977         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14978         language of the document when inserting error insets.
14979
14980 2001-11-26  André Pönitz <poenitz@gmx.net>
14981
14982         * BufferView_pimpl.[Ch]:
14983         *       CutAndPaste.C:
14984         * buffer.[Ch]:
14985         * lyxcursor.[Ch]:
14986         * lyxfind.C:
14987         * lyxfunc.C:
14988         * lyxrow.[Ch]:
14989         * paragraph.[Ch]:
14990         * paragraph_pimpl.[Ch]:
14991         * sp_spell.C:
14992         * text.C:
14993         * text2.C: reduce header dependencies, introduce type for positions
14994
14995 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14996
14997         * <various>: change to use Alert.h
14998
14999 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15000
15001         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15002         when encountering an unknown token.
15003         (readLyXformat2): Show an error message if there were unknown tokens.
15004
15005 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15006
15007         * BufferView2.C:
15008         * BufferView_pimpl.C:
15009         * buffer.C:
15010         * paragraph.h:
15011         * text.C:
15012         * text2.C: use par->isInset()
15013
15014 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15015
15016         * paragraph_pimpl.h:
15017         * paragraph_pimpl.C: cleanup
15018
15019 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15020
15021         * text2.C (removeRow):
15022         * text.C (setHeightOfRow): remove useless (and costly) call to
15023         getRow.
15024
15025 2001-11-20  Allan Rae  <rae@lyx.org>
15026
15027         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15028         Now need Inset*::checkInsertChar() to return true for appropriate
15029         cases so that the characters in the minibuffer will actually be
15030         inserted.
15031
15032 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15033
15034         * text.C: change the order of the includes.
15035         (workWidth): initialize it at once.
15036         (workWidth): make maxw unsigned
15037         (setHeightOfRow): remove unused variable (inset)
15038         (selectSelectedWord): remove unused variable (inset)
15039         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15040
15041 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15042
15043         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15044         server is not running.
15045         (openConnection):
15046         (closeConnection): add debug info when server is disabled.
15047
15048         * ColorHandler.C (getGCForeground): send debug message to GUI
15049         channel.
15050
15051         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15052
15053         * kbmap.C (bind): modify because return conventions of
15054         kb_sequence::parse have changed.
15055
15056         * kbsequence.C (parse): only ignore spaces and not any stupid
15057         control character. This avoids tests like s[i] <= ' ', which are
15058         guaranteed to fail with 8bit characters and signed chars.
15059         Change return code to string::npos when there have been no error
15060         (0 was a bad idea when error is at first character)
15061
15062 2001-11-14  José Matos  <jamatos@fep.up.pt>
15063
15064         * buffer.h:
15065         * buffer.C (simpleDocBookOnePar): removed unused argument.
15066
15067 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15068
15069         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15070         insets which are part of a word. Paragraph::isLetter takes care of
15071         that now. Use Paragraph::isInset to identify insets.
15072         (selectSelectedWord): do not test for hyphenation break.
15073
15074         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15075         that protected spaces are considered as spaces.
15076
15077         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15078         Inset::isLetter.
15079
15080 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15081
15082         * lyxserver.h:
15083         * lyxserver.C: fix it. and small cleanup.
15084
15085 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15086
15087         * BufferView_pimpl.C: use inline helpers
15088
15089         * LaTeXFeatures.h:
15090         * LaTeXFeatures.C: fix typos
15091
15092         * Spacing.h:
15093         * Spacing.C: move spacing_string into class
15094
15095         * ToolbarDefaults.C: move stuff into namespace anon
15096
15097         * layout.h: update enum
15098
15099         * lyxfunc.C: use better debug
15100
15101         * minibuffer.h: fix typo
15102
15103         * debug.h:
15104         * debug.C:
15105         * WorkArea.C: add and use Debug::WORKAREA
15106
15107         * lyxtext.h:
15108         * text.C:
15109         * text2.C: code re-organisation, inline helpers
15110
15111 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15112
15113         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15114         std::vector.empty().
15115
15116 2001-11-09  Allan Rae  <rae@lyx.org>
15117
15118         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15119         '\n's after tables.  Tabular and ERT inset work now makes this no
15120         longer necessary.
15121
15122 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15123
15124         * minibuffer.h:
15125         * minibuffer.C: fix crash, improve drop-down completion
15126
15127 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15128
15129         * lyxserver.h:
15130         * lyxserver.C: invalidate fd's when doing endPipe()
15131
15132 2001-11-08  José Matos  <jamatos@fep.up.pt>
15133
15134         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15135         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15136
15137         * paragraph.h:
15138         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15139
15140 2001-11-07  José Matos  <jamatos@fep.up.pt>
15141
15142         * buffer.h:
15143         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15144         const qualifier.
15145
15146         * buffer.C (sgmlOpenTag):
15147         * buffer.C (sgmlCloseTag): removed debug info.
15148
15149         * buffer.h (sgmlOpenTag):
15150         * buffer.h (sgmlCloseTag): made public.
15151
15152 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15153
15154         * buffer.C (saveParamsAsDefaults):
15155         * lyx_cb.C (MenuLayoutSave): remove
15156
15157         * LyXAction.C (init):
15158         * commandtags.h:
15159         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15160
15161 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15162
15163         * buffer.C (setPaperStuff): removed from here...
15164
15165         * bufferparams.C (setPaperStuff): ... and moved there.
15166
15167 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15168
15169         * minibuffer.h:
15170         * minibuffer.C:
15171         * XFormsView.C: add support for drop-down completion
15172
15173 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15174
15175         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15176         commands.
15177
15178 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15179
15180         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15181         disabled.
15182
15183 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15184
15185         * lyx_main.C: change ref to known bugs
15186
15187 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15188
15189         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15190         to work around older babel problems.
15191
15192 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15193
15194         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15195
15196 2001-10-24  Juergen Vigna  <jug@sad.it>
15197
15198         * tabular-old.C (ReadOld): below variable changes reflected.
15199
15200         * tabular.[Ch]: added ltType struct for longtable header/footer
15201         defines and changed all instances where they are used. Added
15202         future support for double top/bottom rows.
15203
15204 2001-10-24  José Matos  <jamatos@fep.up.pt>
15205
15206         * buffer.h (docbookHandleCaption):
15207         * buffer.C (docbookHandleCaption): removed unused function.
15208         (makeDocBookFile): moved docbook supported version to v4.1.
15209
15210 2001-10-24  José Matos  <jamatos@fep.up.pt>
15211
15212         * tabular.h:
15213         * tabular.C (docbookRow): new function to export docbook code of a row.
15214         (DocBook): now honors the longtable flags.
15215
15216 2001-10-23  José Matos  <jamatos@fep.up.pt>
15217
15218         * LaTeXFeatures.h:
15219         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15220         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15221
15222         * buffer.C (makeLinuxDocFile):
15223         (makeDocBookFile): reworked the preamble, more clean, and with
15224         support for lyx defined entities. Changed the document declaration
15225         to be more XML friendly.
15226
15227         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15228         if we need to output XML that should be done with a filter.
15229
15230 2001-10-22  Juergen Vigna  <jug@sad.it>
15231
15232         * sp_pspell.h (class PSpell): add alive function needed in the
15233         controller to see if the spellchecker could be started.
15234
15235 2001-10-22  Juergen Vigna  <jug@sad.it>
15236
15237         * buffer.C (insertStringAsLines): modify the font for inserting
15238         chars in certain conditions by calling checkInsertChar(font).
15239
15240 2001-10-19  Juergen Vigna  <jug@sad.it>
15241
15242         * text.C (workWidth): use getRow instead of wrong algorithm.
15243         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15244
15245 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15246
15247         * lyxserver.h:
15248         * lyxserver.C:
15249         * lyx_main.h:
15250         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15251
15252 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15253
15254         * text.C (workWidth): do not search for the exact row when
15255         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15256         optimization for big documents.
15257
15258 2001-10-18  Juergen Vigna  <jug@sad.it>
15259
15260         * text.C (workWidth): new function with added Inset * parameter.
15261
15262 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15263
15264         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15265
15266         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15267         change return type of getColumnNearX.
15268
15269
15270         * text.C (changeRegionCase): use uppercase/lowercase instead of
15271         toupper/tolower.
15272         (leftMargin):
15273         (rightMargin): simplify code by factoring out the uses of
15274         textclasslist.
15275         (labelFill):
15276         (numberOfHfills):
15277         (setHeightOfRow):
15278         (appendParagraph): use Paragraph::size_type
15279
15280 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15281
15282         * vspace.C (asLatexString): add a missing break
15283
15284 2001-10-15  Herbert Voss  <voss@perce.de>
15285
15286         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15287
15288 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15289
15290         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15291         is not available.
15292
15293 2001-10-10  André Pönitz <poenitz@gmx.net>
15294
15295         * lyxfunc.C: removed greek_kb_flag.
15296
15297 2001-10-10  Herbert Voss  <voss@perce.de>
15298
15299         * lyx_main.C: delete global string help_lyxdir.
15300
15301 2001-10-09  Herbert Voss  <voss@perce.de>
15302
15303         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15304
15305         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15306
15307         * lyx_main.C: added global string help_lyxdir.
15308
15309         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15310
15311 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15312
15313         * lyxrc.C (set_font_norm_type): support iso8859-4
15314
15315 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15316
15317         * LaTeX.C (deplog): add another regex for MikTeX
15318
15319 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15320
15321         * lyxrc.C (set_font_norm_type): support iso8859-3
15322
15323 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15324
15325         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15326
15327         * LaTeXFeatures.C: remove special case of french and index
15328
15329         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15330         before \begin{document}). This solves several incompatibilities.
15331
15332 2001-10-03  Garst Reese  <reese@isn.net>
15333
15334         * lyx_cb.C: change CheckTex error msg.
15335
15336 2001-10-03  José Matos  <jamatos@fep.up.pt>
15337
15338         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15339
15340 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15341
15342         * .cvsignore: update
15343
15344         * lyx_main.C (commandLineVersionInfo): use new style version info.
15345
15346         * buffer.C (writeFile):
15347         (makeLaTeXFile):
15348         (makeLinuxDocFile):
15349         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15350
15351         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15352
15353         * version.h: update to use stuff in version.C
15354
15355         * version.C.in: new file. Contains version information determined
15356         at compile time. This is a merging of version.h and
15357         version_info.h.in.
15358
15359 2001-10-03  Juergen Vigna  <jug@sad.it>
15360
15361         * BufferView_pimpl.C (update): don't change "dirty" status in
15362         updateInset call.
15363
15364 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15365
15366         * WorkArea.C (c-tor): re-position version string slightly.
15367
15368 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15369
15370         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15371         revert to previous code.
15372
15373         WorkArea.[Ch]: (show, destroySplash): methods removed.
15374
15375         WorkArea.C: rework code so that it's an amalgam of the codes before and
15376         after the splash screen was moved to WorkArea.
15377
15378 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15379
15380         * lyxrc.C (read):
15381         * vspace.C (inPixels):
15382         (lyx_advance):
15383         * kbmap.C (bind):
15384         * buffer.C (insertStringAsLines):
15385         (asciiParagraph): fix types to be large enough
15386
15387         * lyxlex_pimpl.h: change member status from short to int
15388
15389         * layout.h: fix type of endlabeltype
15390
15391         * kbmap.C (bind):
15392         * kbsequence.C (parse): change return type to string::size_type
15393
15394         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15395         variable
15396
15397         * Bullet.C (bulletSize):
15398         (bulletEntry): do not use short ints as parameters
15399
15400         * BufferView2.C (insertLyXFile): change a char to an int.
15401
15402         * WorkArea.C (WorkArea): remove unneeded floats in computation
15403
15404 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15405
15406         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15407
15408         * paragraph.C (asString): Do not ignore newline/hfill chars when
15409         copying to the clipboard.
15410
15411 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15412
15413         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15414         after a multi-line inset.
15415
15416 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15417
15418         * paragraph.C (validate): Set NeedLyXFootnoteCode
15419
15420 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15421
15422         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15423         and decrease-error to decrease.
15424
15425 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15426
15427         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15428         it more readable (should be equivalent)
15429
15430 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15431
15432         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15433
15434 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15435
15436         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15437         of a cursor (row, etc.) after a character has been deleted
15438         (deleteEmptyParagraphMechanism): call the method above on _all_
15439         cursors held by the LyXText when a double space has been
15440         detected/deleted.
15441
15442 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15443
15444         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15445         pixmap.
15446         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15447
15448         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15449         background. Use greyOut() and the new show() methods to toggle between
15450         the foreground and background. Add code to remove the splash after
15451         its initial showing.
15452
15453         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15454         (create_forms): no longer call Dialogs::showSplash.
15455
15456 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15457
15458         * .cvsignore: add version_info.h
15459
15460 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15461
15462         * version_info.h.in: new file
15463
15464         * Makefile.am: add version_info.h.in
15465
15466         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15467         version_info.h instead of VERSION_INFO
15468
15469 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15470
15471         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15472         The ERT inset now returns string().
15473
15474 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15475
15476         * lyxtext.h, text.C (selectNextWord): renamed as
15477         selectNextWordToSpellcheck.
15478
15479         * text.C (selectNextWordToSpellcheck): Modified to not select
15480         words inside an ERT inset.
15481
15482 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15483
15484         * lyx_cb.C (MenuLayoutSave): change a bit the question
15485
15486         * sp_base.h: include <sys/types.h>
15487
15488 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15489
15490         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15491
15492 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15493
15494         * several files: fix typos in user-visible strings
15495
15496 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15497
15498         * text2.C (pasteSelection): do not set the selection, since it
15499         will be cleared later. Actually, the intent was to fix the way the
15500         selection was set, but I figured rmoving the code was just as good.
15501
15502 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15503
15504         * FontLoader.C (available): Check if font is available without
15505         loading the font.
15506
15507 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15508
15509         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15510
15511 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15512
15513         * lyxrc.[Ch]: added display_graphics variable and associated code.
15514
15515 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15516
15517         * bufferparams.C (hasClassDefaults): new method. Returns true if
15518         the buffer parameters correspond to known class defaults
15519
15520 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15521
15522         * XFormsView.C (show): set minimum size to the main window.
15523
15524 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15525
15526         * text2.C (copySelection):
15527         (cutSelection):
15528         * lyxfind.C (LyXReplace):
15529         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15530         LyXText::selectionAsString.
15531
15532         * paragraph.C (asString): add "label" argument to the second form
15533
15534         * text2.C (selectionAsString): add "label" argument and pass it to
15535         Paragraph::asString.
15536
15537 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15538
15539         * lyx_main.C (commandLineHelp): remove version information
15540
15541 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15542
15543         * lyx_main.C: add -version commandline option
15544
15545 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15546
15547         * paragraph.h: make the optional constructor arg required instead.
15548         some modifications to other files because of this.
15549
15550         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15551
15552         * lyxserver.C (C_LyXComm_callback): make it static
15553
15554         * lyx_main.C (error_handler): make it static
15555
15556         * lyx_gui.C (LyX_XErrHandler): make it static
15557
15558         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15559
15560         * WorkArea.C: make the extern "C" methods static.
15561
15562         * Makefile.am (lyx_LDADD): simplify
15563
15564 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15565
15566         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15567         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15568
15569         * LyXAction.C (init):
15570         * lyxfunc.C (dispatch): associated code removal.
15571
15572 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15573
15574         * lyxfont.h (isSymbolFont): shut off warning
15575
15576         * text.C (setHeightOfRow):
15577         (getVisibleRow): fix crash with empty paragraphs which have a
15578         bottom line
15579
15580 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15581
15582         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15583         code.
15584
15585 2001-09-04  José Matos  <jamatos@fep.up.pt>
15586         * buffer.C
15587         * buffer.h
15588         * tabular.C (docbook): rename docBook method to docbook.
15589
15590 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15591
15592         * Makefile.am: add dependencies to main.o.
15593
15594 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15595
15596         * FontLoader.C (available): Return false if !lyxrc.use_gui
15597
15598 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15599
15600         * FontInfo.C (query):
15601         * converter.C (view):
15602         * importer.C (Import):
15603         * exporter.C (Export): Can not -> cannot.
15604
15605 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15606
15607         * BufferView_pimpl.C: allow to create index inset even if
15608           string is empty
15609
15610 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15611
15612         * buffer.C (getLists): replace boost::tie code with an explicit pair
15613         as boost::tie can break some compilers.
15614
15615         * iterators.h: Added a std:: declaration to the return type of
15616         ParIterator::size.
15617
15618 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15619
15620         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15621           case.
15622
15623 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15624
15625         * iterators.[Ch]: New files. Provide paragraph iterators.
15626
15627         * buffer.C (changeLanguage): Use paragraph iterators.
15628         (isMultiLingual): ditto
15629
15630         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15631
15632 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15633
15634         * FontLoader.C: Support for cmr font.
15635
15636 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15637
15638         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15639         (available): New method.
15640
15641         * FontInfo.C (getFontname): Use scalable fonts even when
15642         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15643         found.
15644
15645 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15646
15647         * converter.C (Formats::view): reverted! Incorrect fix.
15648
15649 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15650
15651         * converter.C (Formats::view): only output the -paper option
15652         if the dvi viewer is xdvi, thereby fixing bug #233429.
15653
15654 2001-08-23  Herbert Voss  <voss@perce>
15655
15656         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15657
15658 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15659
15660         * Spacing.h (Spacing): Set space to Default on in the default
15661         constructor.
15662
15663 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15664
15665         * vc-backend.h (RCS::versionString): add RCS to version
15666         (CVS::versionString): add CVS to version
15667
15668         * vc-backend.C (scanMaster): do not add CVS to version.
15669         (scanMaster): do not add RCS to version
15670
15671         * lyxvc.C (versionString): new method
15672
15673         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15674
15675 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15676
15677         * Spacing.C (set): initialize fval
15678
15679 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15680
15681         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15682         " or \.
15683
15684 2001-08-16  Juergen Vigna  <jug@sad.it>
15685
15686         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15687
15688 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15689
15690         * BufferView_pimpl.C:
15691         * figureForm.C:
15692         * lyxtext.h:
15693         * text2.C: setParagraph takes linespacing now
15694
15695 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15696
15697         * LyxAction.C: add internal LFUN_CITATION_INSERT
15698
15699         * LyXView.C: actually apply fix
15700
15701         * bufferlist.C: fix open non-existent file
15702
15703         * lyxfind.C: fix indentation
15704
15705         * lyxfunc.C: remove unneeded assert, fix typo
15706
15707 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15708
15709         * MenuBackend.C: use "Floatname List"
15710
15711 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15712
15713         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15714         when converting LaTeX layout to insetERT.
15715         Generate a non-collapsed float when reading old float
15716
15717 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15718
15719         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15720         ERT insets.
15721
15722 2001-08-13  Juergen Vigna  <jug@sad.it>
15723
15724         * text.C (fill): return 0 instead of 20 as this seems to be the more
15725         correct value.
15726
15727 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15728
15729         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15730         lyxrc.font_norm.
15731
15732 2001-08-13  Juergen Vigna  <jug@sad.it>
15733
15734         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15735         casesensitive off.
15736         (SearchBackward): comment out the unlocking of the inset_owner this
15737         should not be needed!
15738
15739 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15740
15741         * Many files: Remove inherit_language, and add latex_language
15742
15743         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15744         collapsible insets.
15745
15746 2001-08-10  Juergen Vigna  <jug@sad.it>
15747
15748         * text.C (prepareToPrint): fixed hfill-width in draw!
15749
15750         * BufferView2.C (selectLastWord): save the selection cursor as this
15751         now is cleared in the function LyXText::clearSelection!
15752
15753 2001-08-08  Juergen Vigna  <jug@sad.it>
15754
15755         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15756         BACKSPACE type functions.
15757
15758         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15759         is only cutted from the document but not put in the cut-buffer, where
15760         still the old stuff should be.
15761
15762         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15763
15764         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15765
15766         * tabular.C (SetWidthOfCell): fixed special case where the width
15767         was not updated!
15768         (LeftLine): handle '|' in align_special.
15769         (RightLine): ditto
15770         (LeftAlreadyDrawed): ditto
15771         (SetWidthOfCell): ditto
15772
15773 2001-08-07  Juergen Vigna  <jug@sad.it>
15774
15775         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15776
15777 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15778
15779         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15780         * lyxlex.[hC]: ditto
15781
15782 2001-08-06  Juergen Vigna  <jug@sad.it>
15783
15784         * text.C (getVisibleRow): fix up row clearing a bit.
15785
15786 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15787
15788         * minibuffer.C: make sure the X server sees the changes in the input.
15789
15790 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15791
15792         * paragraph.C (getFont): split into...
15793         (getLabelFont): this
15794         (getLayoutFont): and this
15795         * paragraph_pimpl.C (realizeFont): calling this
15796
15797         * text2.C (getFont): split into...
15798         (getLayoutFont): this
15799         (getLabelFont): and this
15800         (realizeFont): all three calling this
15801
15802         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15803         files where used.
15804
15805 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15806
15807         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15808
15809 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15810
15811         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15812         layouts from the Quote inset insertion.
15813
15814 2001-08-03  Juergen Vigna  <jug@sad.it>
15815
15816         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15817
15818         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15819         only if status not is already CHANGED_IN_DRAW (second level).
15820
15821         * text.C (draw): don't set the need_break_row when inside an
15822         InsetText LyXText.
15823
15824 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15825
15826         * buffer.C (parseSingleLyXformat2Token): handle more latex
15827         conversion cases.
15828
15829         * bufferview_funcs.[hC]: change function names to
15830         begin with small char, adjust other files.
15831
15832 2001-08-02  André Pönitz <poenitz@gmx.net>
15833
15834         * lyxfunc.C:
15835         BufferView_pimpl.C: remove broken special code for math-greek
15836
15837 2001-08-02  Juergen Vigna  <jug@sad.it>
15838
15839         * BufferView_pimpl.C (update): redone this function so that we
15840         update the text again if there was a CHANGE_IN_DRAW.
15841
15842         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15843         (drawFromTo): added a new internal bool which is used by draw() and
15844         redraw() function.
15845         (general): some cursor drawing problems fixed.
15846
15847 2001-08-01  Juergen Vigna  <jug@sad.it>
15848
15849         * lyxfind.C (LyXFind): fixed
15850         (SearchForward): ditto
15851         (SearchBackward): ditto
15852
15853         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15854         spurius drawing of the cursor in the main area.
15855
15856         * text2.C (status): small fix which could lead to a segfault!
15857         (clearSelection): remove unneeded BufferView param.
15858
15859 2001-08-01  André Pönitz <poenitz@gmx.net>
15860
15861         * lyxfunc.C: small change due to changed mathed interface
15862
15863 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15864
15865         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15866
15867 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15868
15869         * lyxfunc.c: fail gracefully if file doesn't exist
15870
15871         * LyXSendto.C:
15872         * buffer.C:
15873         * lyxfunc.C:
15874         * BufferView_pimpl.C: IsDirWriteable() proto changed
15875
15876         * LyXView.C: fix updateWindowTitle() to store the last title
15877
15878 2001-07-31  Juergen Vigna  <jug@sad.it>
15879
15880         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15881         the font (wrong since using of Paragraph::highestFontInRange).
15882
15883         * paragraph.C (highestFontInRange): added a default_size parameter.
15884
15885         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15886         (setHeightOfRow): reformat
15887
15888 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15889
15890         * converter.[hC] + affected files: move to (inital-char)lowercase
15891         function names.
15892
15893         * ParagraphParameters.C (ParagraphParameters): remove commented code
15894
15895         * PainterBase.[Ch]: remove commented code
15896
15897         * LaTeXFeatures.h: add "bool floats" for float.sty
15898
15899         * LaTeXFeatures.C (LaTeXFeatures): init floats
15900         (require): handle float
15901         (getPackages): do it with floats
15902
15903 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15904
15905         * BufferView_pimpl.C (Dispatch): improve handling of
15906         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15907
15908         * commandtags.h: #include lyxfont.h here temporarily to avoid
15909         keybinding bug.
15910
15911         * bufferlist.h: include LString.h here.
15912
15913 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15914
15915         * text2.C (getStringToIndex): new method.
15916
15917 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15918
15919         * *: Reduced header file dependencies all over.
15920
15921 2001-07-30  Baruch Even  <baruch@lyx.org>
15922
15923         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15924
15925 2001-07-29  Baruch Even  <baruch@lyx.org>
15926
15927         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15928
15929 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15930
15931         * ParameterStruct.h (endif): add a default constructor to make
15932         sure that all variables is initialized.
15933
15934         * ParagraphParameters.C (ParagraphParameters): adjust
15935
15936 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15937
15938         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15939         index; also, check that there is something to index, and that it
15940         does not span over several paragraphs.
15941         (doubleClick): use WHOLE_WORD_STRICT for double click.
15942
15943         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15944
15945         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15946         scheme.
15947
15948 2001-07-26  Baruch Even  <baruch@lyx.org>
15949
15950         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15951         an InsetFig figure, backwards compatible reading of old figure code.
15952
15953 2001-07-27  Juergen Vigna  <jug@sad.it>
15954
15955         * text2.C: font.realize function adaption.
15956
15957         * text.C (draw): add a warnings lyxerr text if needed.
15958
15959         * layout.C: font.realize function adaption.
15960
15961         * language.C: add inherit_language and implement it's handlings
15962
15963         * bufferview_funcs.C (StyleReset): remove language parameter from
15964         font creation (should be language_inherit now).
15965
15966         * bufferparams.C (writeFile): handle ignore_language.
15967
15968         * paragraph.C (getFontSettings): the language has to be resolved
15969         otherwise we have problems in LyXFont!
15970
15971         * lyxfont.C (lyxWriteChanges): added document_language parameter
15972         (update): removed unneeded language parameter
15973
15974         * paragraph.C (validate): fixed wrong output of color-package when
15975         using interface colors for certain fonts in certain environments,
15976         which should not seen as that on the final output.
15977
15978 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15979
15980         * BufferView_pimpl.C:
15981         * Thesaurus.h:
15982         * Thesaurus.C:
15983         * Makefile.am:
15984         * commandtags.h:
15985         * LyXAction.C: add thesaurus support
15986
15987         * lyxfind.h:
15988         * lyxfind.C: add "once" parameter, for thesaurus, to not
15989           move to the next match
15990
15991 2001-07-26  Juergen Vigna  <jug@sad.it>
15992
15993         * lyxfont.C (realize): honor ignore_language too!
15994         (resolved): ditto.
15995
15996         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15997
15998         * text.C (draw): one place more for ignore_language to not draw
15999         itself!
16000
16001 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16002
16003         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16004
16005 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16006
16007         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16008         the minipage conversion problem.
16009
16010 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16011
16012         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16013         insert an inset.
16014
16015 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16016
16017         * BufferView.h: don't forward declare WorkArea
16018
16019         * BufferView.C: don't include WorkArea.h
16020
16021 2001-07-25  André Pönitz <poenitz@gmx.net>
16022
16023         * commandtags.h:
16024         * LyXAction.C:
16025         * lyxfunc.C:  new LFUN 'math-space'
16026
16027         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16028
16029 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16030
16031         * text2.C (toggleInset): call open/close
16032
16033 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16034
16035         * lyxfunc.C (dispatch): add debug for the disabled case
16036
16037         * font.C (buttonText): make similar to rectText
16038
16039         * buffer.C (readInset): comment out parsing of insetlist and
16040         insttheorem
16041
16042         * PainterBase.C (rectText): small correction
16043
16044         * BufferView_pimpl.C: comment out insettheorem and insetlist
16045         * LyXAction.C: ditto
16046         * commandtags.h: ditto
16047
16048 2001-07-24  Juergen Vigna  <jug@sad.it>
16049
16050         * text.C (draw): honor the ignore_language.
16051
16052         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16053
16054 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16055
16056         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16057         char inset.
16058
16059 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16060
16061         * lyxtext.h: remove unused (and unimplemented) methods
16062
16063 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16064
16065         * text.C (getVisibleRow): honor background color
16066
16067         * PainterBase.h:
16068         * Painter.h: remove default color argument for fillRectangle
16069
16070         * text.C (backgroundColor): new method
16071
16072 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16073
16074         * text.C (getVisibleRow): adjust
16075
16076         * font.[Ch] (rectText): new method, metrics
16077         (buttonText): new method, metrics
16078
16079         * PainterBase.[hC]: make rectText and buttonText always draw and take
16080         fewer paramteres.
16081
16082 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16083
16084         * ToolbarDefaults.C (read):
16085         * MenuBackend.C (read): allow escaping in all strings
16086
16087         * BufferView_pimpl.C (insertAndEditInset): new method.
16088         (Dispatch): use insertAndEditInset whenever appropriate.
16089
16090         * BufferView_pimpl.C (insertNote): removed
16091
16092         * BufferView_pimpl.C (smartQuote): new method, moved from
16093         BufferView; if an insetquote cannot be inserted, insert a '"'
16094         character instead.
16095
16096         * BufferView2.C: remove insertCorrectQuote();
16097
16098         * lyxfunc.C (getStatus): Add support for all remaingin
16099         inset-insert lfuns.
16100
16101         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16102
16103         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16104         command (necessary to pass " as parameter of self-insert.
16105
16106         * text.C (selectWordWhenUnderCursor):
16107         (selectWord): add word_location parameter
16108         (selectWordWhenUnderCursor): same + remove special code for word
16109         boundary.
16110         (selectNextWord): use kind() to guess type of insetspecialchar,
16111         not latex().
16112
16113         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16114         (insertErtContents): create ert insets as collapsed.
16115         (readInset): better compatibility code for Info inset.
16116
16117 2001-07-20  Juergen Vigna  <jug@sad.it>
16118
16119         * lyxfunc.C (dispatch): use always LyXFind now!
16120
16121         * text2.C (init): add a reinit flag so that the LyXText can be
16122         reinited instead of deleted and reallocated (used in InsetText).
16123
16124         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16125
16126         * text.C: ditto
16127
16128         * text2.C: ditto
16129
16130 2001-07-18  Juergen Vigna  <jug@sad.it>
16131
16132         * text.C (selectNextWord): handle insets inside inset by calling
16133         always the bv->text functions so that we can go up the_locking_inset!
16134
16135         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16136         in strange locations when inside an inset!
16137
16138         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16139         handling to include insets.
16140
16141         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16142
16143 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16144
16145         * LyXAction.C (init):
16146         * commandtags.h:
16147         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16148         LIGATURE_BREAK, since the name is so stupid.
16149
16150 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16151
16152         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16153         InsetInfos.
16154
16155         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16156
16157         * sp_form.[Ch]: remove.
16158
16159         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16160
16161         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16162         InsetInfo.
16163
16164         * src/buffer.C (readInset): ditto.
16165
16166 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16167
16168         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16169         menuSeparator(), endOfSentenceDot(), ldots() and
16170         hyphenationPoint(), which are therefore removed.
16171         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16172
16173         * LyXAction.C (init):
16174         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16175
16176         * paragraph.C (getWord): removed.
16177
16178         * BufferView_pimpl.C (Dispatch): use last word or selection for
16179         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16180
16181         * lyx_main.C (queryUserLyXDir): do not ask before creating
16182         user_dir, except if it has been named explicitely.
16183
16184 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16185
16186         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16187         a document of zero size.
16188
16189 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16190
16191         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16192         approriately in the c-tor and in require().
16193         (getPackages): output the appropriate LaTeX for natbib support.
16194
16195         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16196         variables "use_natbib" and "use_numerical_citations" when reading the
16197         LyX file.
16198         (readInset): read the various natbib cite commands.
16199         (validate): white-space change.
16200
16201         * bufferparams.[Ch]: new variables "bool use_natbib" and
16202         "bool use_numerical_citations".
16203         (writeFile): output them in the LyX file.
16204
16205 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16206
16207         * lyxfunc.C (getStatus): add support for all the inset insertion
16208         commands.
16209
16210         * text2.C (insertInset):
16211         * paragraph.C (insetAllowed):
16212         * BufferView_pimpl.C (insertInset): update to take in account the
16213         renaming of insertInsetAllowed
16214
16215         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16216
16217         * text2.C (getInset): new method. returns inset at cursor position.
16218
16219         * BufferView_pimpl.C (Dispatch): changes because of this.
16220
16221         * LyXAction.C (init): rename open-stuff to inset-toggle.
16222
16223         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16224
16225         * text2.C (toggleInset): renamed from openStuff; use
16226         Inset::open().
16227
16228 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16229
16230         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16231
16232         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16233
16234 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16235
16236         * buffer.C (readLyXformat2): Add filename to the error dialog
16237
16238 2001-07-18  Juergen Vigna  <jug@sad.it>
16239
16240         * tabular.C (GetCellNumber): put an assert here instead of the check!
16241
16242 2001-07-17  Juergen Vigna  <jug@sad.it>
16243
16244         * BufferView_pimpl.C (toggleSelection): adapted too.
16245
16246         * text.C (selectNextWord): adapted for use with insets.
16247         (selectSelectedWord): ditto
16248
16249 2001-07-17  Juergen Vigna  <jug@sad.it>
16250
16251         * sp_spell.C (PSpell): fix initialitation order.
16252
16253 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16254
16255         * paragraph.C: spacing
16256
16257 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16258
16259         * sp_spell.C: repair language selection for pspell
16260
16261 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16262
16263         * lyxfunc.h: change more methods to begin with lower char.
16264
16265 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16266
16267         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16268         for unknown layouts.
16269
16270 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16271
16272         * buffer.C (readLyXformat2): Generate an error dialog if there are
16273         unknown layouts.
16274
16275 2001-07-16  Juergen Vigna  <jug@sad.it>
16276
16277         * sp_spell.C: always compile ISpell part.
16278
16279         * lyxrc.C: added use_pspell entry and it's handling.
16280
16281 2001-07-13  Juergen Vigna  <jug@sad.it>
16282
16283         * sp_spell.C: removed double includes.
16284
16285 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16286
16287         Consistent use of Lsstream.h:
16288         * Lsstream.h: added using std::stringstream for consistencies sake.
16289
16290         * buffer.C: removed using std::stringstream
16291
16292         * lyxfont.C (stateText):
16293         * paragraph.C (asString):
16294         * text.C (selectNextWord, selectSelectedWord):
16295         * text2.C (setCounter):
16296         * vspace.C (asString, asLatexString):
16297         std::ostringstream -> ostringstream.
16298
16299 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16300
16301         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16302         * commandtags.h: add LFUN_HELP_ABOUTLYX
16303         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16304
16305 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16306
16307         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16308         cursorToggle()
16309         * lyx_gui_misc.C: remove spellchecker
16310         * lyxfunc.C: showSpellchecker
16311         * sp_base.h: added
16312         * sp_ispell.h: added
16313         * sp_pspell.h: added
16314         * sp_spell.C: added
16315         * sp_form.[Ch]: removed
16316         * spellchecker.[Ch]: removed
16317
16318 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16319
16320         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16321         is set.
16322         (simpleTeXSpecialChars): Simply print the input character without
16323         any special translation if pass_thru is set.
16324
16325         * layout.h: Added bool pass_thru to layout class for being able to
16326         implement pass through of a paragraph for Literate Programming.
16327
16328         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16329         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16330         * layout.C (Read): add "passthru" to list of layout tags and add
16331         code to set the pass_thru boolean when it is read.
16332
16333 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16334
16335         * trans_decl.h: remove allowed from KmodInfo
16336
16337         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16338         remove allowed code
16339         (Load): adjust
16340
16341         * paragraph_pimpl.C (erase): use boost::prior
16342
16343         * Painter.C (text): use data() instead of c_str() when length is
16344         also provided.
16345         * WorkArea.C (putClipboard): ditto
16346         * font.h (width): ditto
16347
16348         * BufferView2.C: use it-> instead of (*it). for iterators
16349         * texrow.C: ditto
16350         * paragraph_pimpl.C: ditto
16351         * paragraph.C: ditto
16352         * minibuffer.C: ditto
16353         * language.C: ditto
16354         * kbmap.C: ditto
16355         * encoding.C: ditto
16356         * counters.C: ditto
16357         * converter.C: ditto
16358         * chset.C: ditto
16359         * Variables.C: ditto
16360         * TextCache.C: ditto
16361         * MenuBackend.C: ditto
16362         * LyXAction.C: ditto
16363         * LColor.C: ditto
16364         * FloatList.C: ditto
16365         * DepTable.C: ditto
16366         * ColorHandler.C (LyXColorHandler): ditto
16367
16368 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16369
16370         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16371
16372         * text2.C (openStuff): reintroduce this method (which had been
16373         nuked in NEW_INSETS frenzy).
16374
16375         * lyxfunc.C (Dispatch): when an action has not been handled, use
16376         its name in the error message, not its number.
16377
16378         * paragraph.C (inInset): change method name to begin with lowercase.
16379
16380         * undo_funcs.C:
16381         * text2.C: updates because of this.
16382
16383 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16384
16385         * ToolbarDefaults.C (add): add spaces in error message
16386
16387 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16388
16389         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16390         (readLyXformat2): rename return_par to first_par, use lyxlex's
16391         pushToken and remove the manual push handling.
16392         (parseSingleLyXformat2Token): add another ert comp. variable:
16393         in_tabular, rename return_par to first_par. handle newlines better
16394
16395 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16396
16397         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16398
16399 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16400
16401         * text2.C (getParFromID): removed
16402
16403         * buffer.C (getParFromID): new method moved form lyxtext.
16404         * BufferView2.C (insertErrors): adjust
16405         (setCursorFromRow): adjust
16406         * BufferView_pimpl.C (restorePosition): adjust
16407         * lyxfunc.C (Dispatch): adjust
16408         * undo_funcs.C (textUndo): adjust
16409         (textRedo): adjust
16410         (textHandleUndo): adjust
16411         (textHandleUndo): adjust
16412
16413 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16414
16415         * buffer.C: up' the LYX_FORMAT
16416
16417         * lyxfont.h: turn NO_LATEX on as default
16418
16419         * buffer.C (insertErtContents): new methods of tex style compability.
16420         (parseSingleLyXformat2Token): use it several places.
16421         * tabular.C (OldFormatRead): and here
16422
16423 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16424
16425         * text2.C: remove some commented code.
16426         reindent file.
16427
16428         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16429         * trans.C: changes because of the above.
16430
16431 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16432
16433         * text2.C (setCounter): Fix counters bug with bibliography layout.
16434
16435 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16436
16437         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16438         own member functions
16439         (simpleTeXSpecialChars): ditto
16440
16441 2001-07-06  Juergen Vigna  <jug@sad.it>
16442
16443         * a lot of files: changed the access to LyXText::status and the
16444         call of undo-functions.
16445
16446         * undo.[Ch]: added a inset_id to the undo informations.
16447
16448         * undo_funcs.[Ch]: added and moved here all undo functions.
16449
16450         * lyxtext.h: give the status enum a weight, made status_ a private
16451         variable and made accessor functions for it, removed the whole bunch
16452         of undo-functions as they are now in their own file, make some
16453         functions publically available. Added function ownerParagraph with
16454         int parameter.
16455
16456         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16457         made InInset() a const function, added getParFromID() function.
16458
16459         * buffer.[Ch]: added const version for inset_iterator functions,
16460         added getInsetFromID() function.
16461
16462         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16463         changed undo functions for new version.
16464
16465 2001-07-05  Juergen Vigna  <jug@sad.it>
16466
16467         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16468         unknow mechanism does not call the proper constructor but only this
16469         one also if I request the other!?
16470
16471 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16472
16473         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16474
16475         * text2.C (LyXText): use initialization lists.
16476
16477         * lyxtext.h (Selection): initialize set_ and mark_
16478         (init): remove method
16479
16480 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16481
16482         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16483
16484 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16485
16486         * screen.[Ch]: change method names to begin with lowercase
16487
16488         * BufferView_pimpl.C (updateScrollbar): simplify further and
16489         hopefully make it a bit faster.
16490
16491 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16492
16493         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16494         calling directly xforms functions.
16495
16496         * Painter.C (Painter):
16497         * lyx_cb.C (MenuWrite):
16498         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16499         fl_display.
16500
16501         * lyx_gui.C: remove bogus guiruntime extern declaration.
16502
16503 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16504
16505         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16506         in NEW_INSETS
16507         (redoDrawingOfParagraph): ditto
16508         (redoParagraphs): ditto
16509         (cutSelection): don't create a object for CutAndPaste use the
16510         static method directly
16511         (pasteSelection): ditto
16512
16513         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16514         LyXview (+ rename)
16515
16516 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16517
16518         * modifications to some other files because of this.
16519
16520         * Makefile.am (lyx_SOURCES): add XFormsView
16521
16522         * XFormsView.[Ch]: new files
16523
16524         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16525         the main window. Move the gui dependent stuff to XFormsView
16526
16527 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16528
16529         * tabular.C (GetCellInset): update cur_cell also in the row/col
16530         version of this function.
16531
16532         * lyxfunc.C: no need to include figure_form.h here.
16533
16534         * FontLoader.h:
16535         * lyxfunc.h:
16536         * lyxscreen.h:
16537         * text2.C:
16538         * lyxvc.C: no need to include forms.h here.
16539
16540 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16541
16542         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16543
16544         * lyxfunc.C (Dispatch):
16545         * Spacing.C (set):
16546         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16547         constructor argument.
16548
16549 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16550
16551         * paragraph.C (Paragraph): dont't clear, and just set layout.
16552         (makeSameLayout): use params's copy contructor.
16553
16554         * ParagraphParameters.[Ch] (makeSame): delete method
16555
16556 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16557
16558         * Variables.[Ch]: fix indentation, rename set to isSet
16559
16560 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16561
16562         * lyxfunc.C (Dispatch): fix typo
16563
16564 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16565
16566         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16567         upper_bound.
16568
16569         * bufferlist.C: include assert.h for emergencyWrite().
16570
16571 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16572
16573         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16574           give up at last (bug #425202) !
16575
16576 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16577
16578         * lyx_gui_misc.C:
16579         * sp_form.h:
16580         * sp_form.C:
16581         * spellchecker.h:
16582         * spellchecker.C: strip spellchecker options and bring up
16583           preferences tab instead
16584
16585 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16586
16587         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16588         the istringstream constructor
16589
16590 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16591
16592         * paragraph.C (getLayout): fix return value
16593
16594         * paragraph.h: do not declare getLayout as inline.
16595
16596         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16597
16598 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16599
16600         * lyxcursor.h (operator<): new func
16601         (operator>): new func
16602         (operator>=): new func
16603         (operator<=): new func
16604
16605         * text.C (changeCase): use selection.start and selection.end
16606         (changeRegionCase): require from to be <= to. Require par to be a
16607         valid paragraph.
16608
16609         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16610
16611 2001-06-27  Juergen Vigna  <jug@sad.it>
16612
16613         * text.C (cursorLeftOneWord): changed to return the cursor and added
16614         overlay with BufferView * parameter which calls this one.
16615         (getWord): added
16616         (selectWord): use new getWord function.
16617         (changeCase): renamed from changeWordCase as and extended to work
16618         also on selections.
16619
16620         * lyxtext.h: added enum word_location
16621
16622         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16623         changeCase as this operates now also on selections.
16624
16625 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16626
16627         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16628
16629         * many files: send debug output to Debug::INFO instead of
16630         Debug::ANY.
16631
16632         * converter.C (View):
16633         (Convert):
16634         (Move): send debug output to Debug::FILES instead of console.
16635
16636 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16637
16638         * lyxfunc.C (getStatus): use func_status
16639
16640         * func_status.h: new header, describing the results of
16641         LyXFunc::getStatus;
16642
16643         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16644         LFUN_MATH_HALIGN.
16645
16646 2001-06-25  The LyX Project  <jug@sad.it>
16647
16648         * buffer.C (sgmlOpenTag):
16649         (sgmlCloseTag):
16650         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16651
16652 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16653
16654         * text2.C: remove some dead code
16655
16656         * tabular.C (GetCellInset): store the last cell checked (gotten)
16657
16658         * tabular.h: add the helper for the speedup
16659
16660         * lyxtext.h: remove some dead code
16661
16662 2001-06-26  The LyX Project  <Asger>
16663
16664         * paragraph.C: Change export to LaTeX of alignment to
16665         \begin{center} and family for better roundtrip work with reLyX.
16666
16667         * Tune the math drawing a bit.
16668
16669 2001-06-25  The LyX Project  <Asger>
16670
16671         * LColor.C (LColor): New color for math background. New color
16672         for buttons.
16673
16674 2001-06-25  The LyX Project  <jug@sad.it>
16675
16676         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16677
16678         * lyxfunc.C (Open):
16679         * bufferlist.C (newFile): do not restrict to files ending with
16680         .lyx
16681
16682         * BufferView_pimpl.C (MenuInsertLyXFile):
16683
16684 2001-06-24  The LyX Project  <jug@sad.it>
16685
16686         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16687         of compare_no_case
16688
16689 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16690
16691         * lyxtext.h: rename most methods to begin with a small char.
16692         Lots of changes because of this.
16693
16694         * paragraph.C (Paragraph): do not call fitToSize
16695         (erase): call Pimpl::erase
16696         (insertChar): call Pimpl::insertChar
16697         (insertInset): call Pipl::insertInset
16698         (breakParagraph): do not call fitToSize
16699         (breakParagraphConservative): do not call fitToSize
16700         (fitToSize): remove method
16701
16702         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16703
16704 2001-06-24  The LyX Project  <Asger>
16705
16706         * Fix Qt compilation^2
16707
16708 2001-06-24  The LyX Project  <jug@sad.it>
16709
16710         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16711         depthHook(getDepth()-1).
16712
16713         * paragraph.h:
16714         * ParagraphParameters.h:
16715         * ParameterStruct.h: change type of depth to unsigned int ==
16716         depth_type. Many adaptations to other files before of that.
16717
16718 2001-06-24  The LyX Project  <Asger>
16719
16720         * Fix Qt compilation.
16721
16722 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16723
16724         * paragraph.h: renamed several methods to begin with small letter.
16725         several changes to many parts of the code because of this.
16726
16727 2001-06-23  The LyX Project  <jug@sad.it>
16728
16729         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16730         rewritten to discard all double spaces when KeepEmpty is off
16731         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16732         to only handle newlines but not fiddle with spaces and friends.
16733
16734         * lyxfunc.C (MenuNew): when doing 'new from template', use
16735         template_path as default directory
16736
16737 2001-06-23  The LyX Project  <Asger>
16738
16739         * Clean-up of header file includes all over
16740         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16741
16742 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16743
16744         * paragraph.h: renamed from lyxparagraph.h
16745
16746 2001-06-23  Asger  <lyx@violet.home.sad.it>
16747
16748         * Buffer.h: Removed Buffer::resize
16749         * BufferList.h: Removed BufferList::resize
16750         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16751         the document lazily when we change the width, or the font settings.
16752
16753 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16754
16755         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16756
16757 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16758
16759         * buffer.h: remove out of date comment
16760
16761 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16762
16763         * lyxscreen.h:
16764         * screen.C: fix "theoretical" GC leak
16765
16766 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16767
16768         * LaTeX.C (scanAuxFile):
16769         (deplog): remove trailing \r when reading stream (useful under
16770         win32)
16771
16772 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16773
16774         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16775         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16776         and BufferView::theLockingInset(Inset*), so should use them and not
16777         access bv_->text->the_locking_inset directly.
16778
16779         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16780
16781 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16782
16783         * Makefile.am:
16784         * tex-defs.h: remove old unused file
16785
16786 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16787
16788         * BufferView_pimpl.C: fix typo, remove minibuffer message
16789           when buffer has loaded
16790
16791 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16792
16793         * lyxfunc.C (Dispatch): use stringstream
16794         (MenuNew): use stringstream
16795         (Open): use stringstream
16796
16797         * importer.C (Import): use stringstream
16798
16799         * bufferview_funcs.C (CurrentState): use stringstream
16800
16801         * LaTeX.C (run): use stringstream
16802
16803         * BufferView_pimpl.C (savePosition): use stringstream
16804         (restorePosition): use stringstream
16805         (MenuInsertLyXFile): use stringstream
16806
16807 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16808
16809         * BufferView.C:
16810         * Bullet.C:
16811         * ColorHandler.C:
16812         * FontInfo.C:
16813         * FontLoader.C:
16814         * LColor.C:
16815         * LaTeXFeatures.C:
16816         * Painter.C:
16817         * gettext.C:
16818         * lyx_gui_misc.C:
16819         * lyxserver.C:
16820         * vspace.C: removed // -*- C++ -*- as first line.
16821
16822         * lyxfind.h:
16823         * version.h: added // -*- C++ -*- as first line.
16824
16825 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16826
16827         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16828
16829         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16830         of string
16831
16832 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16833
16834         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16835         of floats.
16836
16837 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16838
16839         * gettext.C: include LString.h even when --disable-nls is on.
16840
16841 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16842
16843         * converter.h (Get): changed argument type from int to
16844         FormatList::size_type to avoid unnecessary conversion.
16845
16846         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16847         before using it.
16848
16849 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16850
16851         * gettext.h: include LString.h even when --disable-nls is on.
16852
16853 2001-06-07  Juergen Vigna  <jug@sad.it>
16854
16855         * text.C (BreakAgain): subst spaces with tabs.
16856
16857         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16858         (resizeInsetsLyXText): set force on resizeLyXText.
16859
16860 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16861
16862         * gettext.h (gettext_init):
16863         (locale_init): use a real definition instead of a macro
16864
16865 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16866
16867         * Bufferview_pimpl.C:
16868         * LColor.h:
16869         * LColor.C: further lcolor tidies
16870
16871 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16872
16873         * BufferView_pimpl.C (updateScrollbar): simplify.
16874
16875         * BufferView2.C: don't include insets/insetinfo.h, change
16876         prototype for insertInset and call the Pimpl version. let
16877         updateInset call Pimpl version.
16878
16879         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16880         gotoInset to BufferView::Pimpl
16881
16882 2001-06-01  Juergen Vigna  <jug@sad.it>
16883
16884         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16885         inside a LockingInset (is the update needed at all?).
16886
16887 2001-05-31  Juergen Vigna  <jug@sad.it>
16888
16889         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16890         here not the old one otherwise how should we compare it afterwards
16891         if it's the same!
16892
16893 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16894
16895         * lyxfont.C:
16896         * tabular.C:
16897         * tabular-old.C:
16898         * FontInfo.C: bring C functions into global namespace when
16899         necessary
16900
16901 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16902
16903         * LString.h: make sure config.h has been loaded before LString.h.
16904
16905         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16906         (one for each char read by EatLine!).
16907
16908         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16909         variables.
16910
16911 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16912
16913         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16914         to the same as the par we break from
16915
16916 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16917
16918         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16919
16920         * MenuBackend.C (expand): also create menu entries for wide
16921         versions of the floats.
16922
16923         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16924
16925         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16926
16927         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16928         frontends/Makefile.am
16929
16930         * text2.C: adjust
16931         * text.C: adjust
16932
16933
16934         * tabular.C (getTokenValue): add std::
16935
16936         * tabular-old.C (getTokenValue): add std::
16937         (getTokenValue): ditto
16938         (getTokenValue): ditto
16939
16940         * screen.C (ToggleSelection): adjust
16941
16942         * lyxtext.h: put selection cursors inside a Selection struct.
16943
16944         * lyxfunc.C (moveCursorUpdate): adjust
16945
16946         * lyxfont.C (latexWriteStartChanges): add std::
16947
16948         * lyxfind.C: adjust
16949
16950         * font.h: delete with(char const *, LyXFont const &)
16951
16952         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16953
16954         * FontInfo.C (getFontname): add std::
16955
16956         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16957         (workAreaButtonPress): adjust
16958         (tripleClick): adjust
16959         (update): adjust
16960         (moveCursorUpdate): adjust
16961         (Dispatch): adjust
16962
16963         * BufferView2.C (gotoInset): adjust
16964
16965 2001-05-30  Juergen Vigna  <jug@sad.it>
16966
16967         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16968         to check pspell I add this as default as I now have new pspell
16969         libraries and they seem to use this.
16970
16971 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16972
16973         * text2.C (CutSelection): make the cursor valid before the call to
16974         ClearSelection.
16975
16976 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16977
16978         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16979         relied on 0 terminated strings and other horrors. Bug found due to
16980         the new assert in lyxstring!
16981
16982         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16983         KP_ keys.
16984
16985 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16986
16987         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16988         to latinkeys.bind.
16989
16990         * lyxfunc.C (processKeySym): change method of getting to the
16991         self-insert char.
16992
16993         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16994         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16995         * BufferView_pimpl.[Ch]: here as private methods.
16996
16997 2001-05-28  Juergen Vigna  <jug@sad.it>
16998
16999         * text.C (SetHeightOfRow): added the update() call again as it is
17000         needed to initialize inset dimensions!
17001
17002 2001-05-16  Juergen Vigna  <jug@sad.it>
17003
17004         * text2.C (SetCharFont): Add new function with BufferView * and
17005         bool toggleall parameters for setting insets internal fonts.
17006         (SetFont): Freeze the undo as we may change fonts in Insets and
17007         all this change should be inside only one Undo!
17008
17009         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17010         setting font's in insets as for them we have the SetFont function!
17011
17012 2001-05-15  Juergen Vigna  <jug@sad.it>
17013
17014         * text2.C (ClearSelection): to be sure we REALLY don't have any
17015         selection anymore!
17016
17017         * tabular.C (TeXCellPreamble): fixed the left border problem for
17018         multicolumn cells.
17019
17020 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17021
17022         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17023         dependancy file
17024
17025 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17026
17027         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17028         LFUN_BREAKPARAGRAPH.
17029
17030         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17031         help test to "internal only", similar for LFUN_INSERT_URL
17032
17033         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17034         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17035         auto_region_delete and deadkeys.
17036
17037 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17038
17039         * LColor.h:
17040         * LColor.C: remove some dead entries, tidy a little
17041
17042 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17043
17044         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17045         commented code.
17046         (Dispatch): implement LFUN_ESCAPE
17047
17048         * commandtags.h: add LFUN_ESCAPE
17049
17050         * LyXAction.C (init): add entry for LFUN_ESCAPE
17051
17052         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17053         Remove commented code.
17054         (insertNote): moved here
17055         (open_new_inset): moved here
17056
17057         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17058         BufferView_pimpl
17059
17060 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17061
17062         * kbmap.C (findbinding): clean it up and make it work correctly.
17063
17064         * lyx_main.C (init): do not pass argc and argv as parameters
17065
17066 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17067
17068         * buffer.C: fix path for OS/2 & Win32
17069
17070         * lyx_gui.C:
17071         * lyx_main:
17072         * lyx_main.C: Added os:: class.
17073
17074         * os2_defines.h: update
17075
17076 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17077
17078         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17079         better by trying again with reduced state.
17080
17081 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17082
17083         * lyxrc.C (read): print error about invalid key sequence only when
17084         debugging (because not all latinX keysyms are known to some X
17085         servers)
17086
17087         * kbsequence.C (getiso): add a few std:: qualifiers
17088         (getiso): comment out extra return statement.
17089
17090 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17091
17092         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17093         handling.
17094         (Dispatch): enhance the accent inset a bit. (not perfect)
17095
17096 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17097
17098         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17099
17100 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17101
17102         * bufferlist.C (emergencyWrite): fix assert() call
17103
17104 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17105
17106         * text.C (InsertChar): Added trivial patch to only send the "you
17107         can not do multiple spaces this way" message once during a
17108         session.
17109
17110 2001-05-08  Baruch Even  <baruch@lyx.org>
17111
17112         * Makefile.am: Changed order of libraries to get LyX to link properly
17113         with the gnome frontend.
17114
17115 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17116
17117         * LaTeXFeatures.h: add a std:: qualifier
17118
17119 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17120
17121         * paragraph.C (String): use stringstream
17122
17123 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17124
17125         * paragraph.C (writeFile): remove footflag arg
17126
17127         * buffer.C (makeLaTeXFile): use stringstream
17128         (latexParagraphs): remove footnot gurba
17129
17130         * LaTeXFeatures.C (getPackages): use stringstream
17131         (getMacros): likewise
17132         (getTClassPreamble): likewise
17133         (getFloatDefinitions): new method
17134
17135         * paragraph.C (writeFile): reindent
17136         (Erase): reindent
17137
17138         * WorkArea.h: revert the xpos + etc changes.
17139
17140         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17141
17142         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17143
17144         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17145         (pasteSelection): likewise
17146         * text2.C (CreateUndo): likewise
17147
17148 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17149
17150         * minibuffer.C (peek_event): temporarily reduce the functionality
17151         of the minibuffer (to allow args on lfuns)
17152
17153         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17154         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17155
17156         * buffer.C (readInset): add compability reading of old float
17157         lists, add reading of new style float list.
17158         (readInset): avoid reevaluation of inscmd.getCmdName()
17159         (getLists): reindent
17160
17161         * MenuBackend.C (MenuItem): implement parsing of
17162         md_floatlistinsert and md_floatinsert.
17163         (expand::LastFiles): move initalizaton of iterators out of loop,
17164         avoid reevaluation.
17165         (expand::Documents): introduce typdedef vector<string> Strings,
17166         and use it.
17167         (expand::ExportFormats): introduce typedef vector<Format const *>
17168         Formats, and use it.
17169         (expand): implement FloatListInsert and FloatInsert.
17170
17171         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17172         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17173         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17174
17175         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17176         handling.
17177         (Dispatch::LFUN_FLOAT_LIST): implement
17178
17179 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17180
17181         * LaTeX.C (run): Fix problem with --export code.
17182
17183 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17184
17185         * BufferView.[Ch] (workarea): removed.
17186         (getClipboard) new method; wrapper for workarea()->getClipboard()
17187
17188         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17189         bug.
17190
17191         * WorkArea.h (width, height, xpos, ypos): These methods all
17192         returned the dimensions of the work_area sub-area of WorkArea,
17193         resulting in a position error if the WorkArea were resized. Now
17194         return the dimensions of the entire WorkArea.
17195
17196         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17197
17198 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17199
17200         * LaTeX.C (deplog): correct the syntax of regex reg1
17201
17202 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17203
17204         * undo.C: remove !NEW_INSETS cruft
17205
17206 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17207
17208         * text2.C: remove !NEW_INSETS cruft
17209
17210         * text.C: remove !NEW_INSETS cruft
17211
17212         * tabular.C: remove !NEW_INSETS cruft
17213
17214         * spellchecker.C: remove !NEW_INSETS cruft
17215
17216         * lyxtext.h: remove !NEW_INSETS cruft
17217
17218         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17219
17220         * lyxfunc.C: remove !NEW_INSETS cruft
17221
17222         * lyxfind.C: remove !NEW_INSETS cruft
17223
17224         * lyx_cb.C: remove !NEW_INSETS cruft
17225
17226         * figureForm.C: remove  !NEW_INSETS cruft
17227
17228         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17229
17230         * buffer.[Ch]: remove !NEW_INSETS cruft
17231
17232         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17233
17234         * CutAndPaste.C: remove !NEW_INSETS cruft
17235
17236         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17237
17238         * BufferView2.C: remove !NEW_INSETS cruft
17239
17240         * BufferView.h: remove !NEW_INSETS cruft
17241
17242 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17243
17244         * Lsstream.h: include LString.h before the sstream headers to
17245         fix problem with gcc 2.95.3 and lyxstring
17246
17247 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17248
17249         * lyx_main.C: add using directives when needed for C functions
17250         declared in std:: namespace.
17251
17252 2001-04-27  Juergen Vigna  <jug@sad.it>
17253
17254         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17255         (SetHeightOfRow): comment out the update call should not be needed!
17256
17257 2001-04-13  Juergen Vigna  <jug@sad.it>
17258
17259         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17260         (LyXTabular): tried to minimize operator= operations (and realized
17261         hopfully Lars wish).
17262
17263 2001-04-27  Juergen Vigna  <jug@sad.it>
17264
17265         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17266
17267 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17268
17269         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17270
17271         * buffer.C (readInset): hack to make listof algorithm work
17272
17273         * BufferView_pimpl.C: hack to make listof algorithm work
17274
17275 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17276
17277         * LyXAction.C: removed all !NEW_INSETS cruft
17278         (init): moved lfun_item in method
17279
17280         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17281
17282 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17283
17284         * BufferView2.C (theLockingInset): white space.
17285
17286 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17287
17288         * minibuffer.C: include <iostream>
17289
17290         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17291
17292         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17293
17294         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17295
17296         * text.[Ch] (TransposeChars): new method
17297
17298 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17299
17300         * call message directly through LyXView instead of through LyXFunc
17301         * BufferView2.C: adjust
17302         * BufferView_pimpl.C: adjust
17303         * FontLoader.C: adjust
17304         * buffer.C: adjust
17305         * bufferview_funcs.C: adjust
17306         * converter.C: adjust
17307         * figureForm.C: adjust
17308         * importer.C: adjust
17309         * lyx_cb.C: adjust
17310         * lyx_gui_misc.C: adjust
17311         * lyxfunc.C: adjust
17312         * lyxvc.C: adjust
17313         * text2.C: adjust
17314         + more files in subdirs
17315
17316         * lyxparagraph.h (size): move up int file
17317         (GetLayout): ditto
17318
17319         * adjust all uses of Assert to lyx::Assert.
17320
17321         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17322         lyxfunctional in namespace lyx
17323         * layout.C (hasLayout): ditto
17324         (GetLayout): ditto
17325         (GetLayout): ditto
17326         (delete_layout): ditto
17327         (NumberOfClass): ditto
17328         * converter.C (GetFormat): ditto
17329         (GetNumber): ditto
17330         (Add): ditto
17331         (Delete): ditto
17332         (SetViewer): ditto
17333         * bufferlist.C (getFileNames): ditto
17334         (emergencyWriteAll): ditto
17335         (exists): ditto
17336         (getBuffer): ditto
17337         * MenuBackend.C (hasSubmenu): ditto
17338         (hasMenu): ditto
17339         (getMenu): ditto
17340         * BufferView_pimpl.C (getInsetByCode): ditto
17341
17342 2001-04-18  Juergen Vigna  <jug@sad.it>
17343
17344         * vspace.C (asLatexString): fixed the 100% problem.
17345
17346 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17347
17348         * lyxfunc.C (Dispatch):
17349         * minibuffer.C:
17350         * minibuffer.h: add a few std:: qualifiers
17351
17352 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17353
17354         * minibuffer.[Ch]: reimplement so that commands is initiated and
17355         run from lyxfunc, simplified som handling, and made the completion
17356         and history code for complete. wip.
17357
17358         * lyxfunc.C (processKeySym): call message
17359         (miniDispatch): new temporary method
17360         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17361         (LFUN_MESSAGE): implement
17362         (LFUN_MESSAGE_PUSH): implement
17363         (LFUN_MESSAGE_POP): implement
17364         (initMiniBuffer): the initial/defualt minibuffer message.
17365
17366         * lyxfont.[Ch]: inline some more getters
17367
17368         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17369
17370         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17371
17372         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17373         (AutoSave): use LFUN_MESSAGE
17374         (Reconfigure): ditto
17375
17376         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17377
17378         * figureForm.C: use LFUN_MESSAGE
17379
17380         * converter.C (runLaTeX): use LFUN_MESSAGE
17381
17382         * bufferview_funcs.C: use LFUN_MESSAGE
17383         (Melt): ditto
17384         (changeDepth): ditto
17385
17386         * bufferparams.h: use boost::
17387
17388         * bufferlist.h: inherit privately from noncopyable
17389
17390         * bufferlist.C (loadLyXFile): remove some commented code.
17391
17392         * buffer.C (runChktex): use LFUN_MESSAGE
17393
17394         * ShareContainer.h: inherit privately from noncopyable
17395
17396         * ParagraphParameters.[hC] (depth): inline it.
17397
17398         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17399         methods.
17400         (message): new method
17401         (messagePush): ditto
17402         (messagePop): ditto
17403         (show): init minibuffer
17404         (showState): direct call
17405
17406         * LaTeX.[Ch]: inherit privately from noncopyable
17407         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17408         instead of WriteStatus.
17409
17410         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17411
17412         * BufferView_pimpl.C (buffer): don't init minibuffer
17413         (workAreaButtonPress): use LFUN_MESSAGE
17414         (workAreaButtonRelease): ditto
17415         (savePosition): ditto
17416         (restorePosition): ditto
17417         (MenuInsertLyXFile): ditto
17418         (workAreaExpose): don't init minibuffer
17419         (update): remove commented code, simplify
17420
17421         * BufferView2.C (openStuff): use LFUN_MESSAGE
17422         (toggleFloat): ditto
17423         (menuUndo): ditto
17424         (menuRedo): ditto
17425         (copyEnvironment): ditto
17426         (pasteEnvironment): ditto
17427         (copy): ditto
17428         (cut): ditto
17429         (paste): ditto
17430         (gotoInset): ditto
17431         (updateInset): remove some commented code
17432
17433         * lastfiles.h: inherit privately from noncopyable
17434         * layout.h: ditto
17435         * lyx_gui.h: ditto
17436         * lyx_main.h: ditto
17437         * lyxlex.h: ditto
17438         * lyxlex_pimpl.h: ditto
17439
17440         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17441         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17442         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17443
17444         * LyXAction.h: inherit privately from noncopyable, add methods
17445         func_begin, func_end, returning iterators to the func map.
17446
17447         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17448         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17449         (func_begin): new method
17450         (func_end): new method
17451
17452         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17453         and not)
17454         (copySelection): ditto
17455         (pasteSelection): ditto
17456
17457         * BufferView.C: whitespace change
17458         * BufferView.h: inherit privately from noncopyable
17459
17460 2001-04-16  Allan Rae  <rae@lyx.org>
17461
17462         * tabular-old.C (l_getline):
17463         * spellchecker.C (sc_check_word):
17464         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17465         an unrecognised preprocessor directive.  So ensure they're wrapped.
17466
17467 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17468
17469         * src/exporter.C (Export): Give an error message when path to file
17470         contains spaces.
17471
17472 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17473
17474         * LaTeX.C (deplog): Always check that foundfile exists.
17475
17476 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17477
17478         * lyx_main.h:
17479         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17480
17481 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17482
17483         * tabular.[Ch] (getLabelList): implement new method
17484
17485         * minibuffer.h: comment ouf setTiimer
17486
17487         * minibuffer.C (ExecutingCB): constify res
17488         (peek_event): constify s
17489         (Set): constify ntext
17490         (Init): constify nicename
17491
17492         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17493
17494         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17495         (savePosition): use two params to Minibuffer::Set
17496         (restorePosition): ditto
17497
17498 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17499
17500         * lyx_main.C: include language.h
17501
17502         * Makefile.am (lyx_main.o): add language.h
17503
17504 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17505
17506         * exporter.C:
17507         * paragraph.C:
17508         * screen.C:
17509         * tabular.C:
17510         * CutAndPaste.C: include gettext.h
17511
17512         * lyxfont.h: remove old hack with ON and OFF.
17513
17514         * lyxparagraph.h:
17515         * lyxfont.h: do not include language.h...
17516
17517         * BufferView2.C:
17518         * LaTeXFeatures.C:
17519         * Painter.C:
17520         * bufferview_funcs.C:
17521         * font.C:
17522         * lyxfont.C:
17523         * text.C:
17524         * text2.C:
17525         * trans_mgr.C:
17526         * paragraph.C: ... but do it here instead
17527
17528 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17529
17530         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17531
17532         * tabular.C: small reformat
17533
17534         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17535         NEW_INSETS version
17536         (GetChar): ditto
17537         (BreakParagraph): ditto
17538         (SetOnlyLayout): ditto
17539         (SetLayout): ditto
17540
17541         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17542         with one arg less.
17543
17544         * lastfiles.C: removed most using decl, add std:: where needed
17545
17546         * buffer.C: ws changes
17547
17548         * MenuBackend.C (class compare_format): put into anon namespace
17549         (expand): constify label, names, action, action2
17550         (expand):
17551
17552         * text.C (SingleWidth): constify font
17553         (IsBoundary): constify rtl2
17554         (GetVisibleRow): constify ww
17555
17556         * LaTeX.C (deplog): constify logfile
17557
17558         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17559         start_x, end_x
17560         (workAreaExpose): constify widthChange, heightChange
17561
17562         * lyxrow.C (par): moved
17563         (height): moved
17564         (next): moved
17565         * lyxrow.h: as inlines here
17566
17567         * lyxfont.h (shape): moved from lyxfont.C
17568         (emph): moved from lyxfont.C
17569
17570         * lyxfont.C (LyXFont): use initialization list for all
17571         constructors
17572         (shape): move to lyxfont.h as inline
17573         (emph): move to lyxfont.h as inline
17574
17575
17576 2001-04-04  Juergen Vigna  <jug@sad.it>
17577
17578         * vspace.C: had to include stdio.h for use of sscanf
17579
17580 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17581
17582         * BufferView.h:
17583         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17584         independent of xforms.
17585
17586 2001-04-02  Juergen Vigna  <jug@sad.it>
17587
17588         * spellchecker.C: fixed namespace placing!
17589
17590 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17591
17592         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17593         the LyXParagraph * is 0.
17594
17595 2001-03-29  Juergen Vigna  <jug@sad.it>
17596
17597         * vspace.C: added support for %, c%, p%, l%.
17598         (stringFromUnit): added helper function.
17599         (asLatexString): changed to give right results for the %-values.
17600
17601         * buffer.C: convert the widthp in a width%.
17602
17603 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17604
17605         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17606         figureForm.[Ch].
17607
17608         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17609         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17610
17611         * lyx_cb.[Ch]: see above.
17612
17613         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17614         form1.[Ch].
17615
17616         * form1.[Ch]:
17617         * lyx.[Ch]: replaced by figure_form.[Ch].
17618
17619         * lyx_gui.C:
17620         * lyx_gui_misc.C:
17621         * lyxfunc.C: changed headers associated with above changes.
17622
17623 2001-03-27  Juergen Vigna  <jug@sad.it>
17624
17625         * BufferView_pimpl.C: set the temporary cursor right!
17626
17627 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17628
17629         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17630
17631 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17632
17633         * LString.h: removed "using std::getline"!
17634
17635         * BufferView_pimpl.C (Dispatch): changes due to changes in
17636         InsetInclude::Params.
17637
17638         * buffer.C (tag_name): removed redundant break statements as they were
17639         producing lots of warnings with my compiler.
17640
17641 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17642
17643         * LString.h: add "using std::getline" when using the real <string>.
17644
17645 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17646
17647         * buffer.C: removed bitset usage.
17648         PAR_TAG moved to an anonymous name space.
17649         (tag_name): new funtion, also in the anonymous namespace.
17650         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17651         (makeDocBookFile): clean code. Completed transition from string arrays
17652         to string vectors.
17653         (SimpleDocBookOnePar): code clean.
17654
17655 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17656
17657         * tabular.C: add some comments.
17658
17659 2001-03-22  Juergen Vigna  <jug@sad.it>
17660
17661         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17662         compatibility read a bit and fixed bug with minipage in different
17663         depth.
17664
17665 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17666
17667         * buffer.C (pop_tag): removed.
17668         (push_tag): removed.
17669         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17670         array replaced with vector. Added support for CDATA sections.
17671         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17672         at any nest level.
17673         (makeDocBookFile): XML conformant declaration of CDATA section,
17674         fixed bug related to <emphasis> in the first paragraph char.
17675         (sgmlOpenTag): exclude empty tags.
17676         (sgmlCloseTag): ditto.
17677
17678         * buffer.h (pop_tag): removed.
17679         (push_tag): removed.
17680
17681 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17682
17683         * language.h (Languages): added size_type and size().
17684
17685 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17686
17687         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17688         response on compability reading of minipages. One probliem is that
17689         the old usage of minipages was flertydig
17690
17691         * several files here and in subdirs: don't use static at file
17692         scope use anon namespaces instead.
17693
17694 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17695
17696         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17697         LaTeX output. This is necessary for Literate document
17698         processing.
17699
17700 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17701
17702         * buffer.C: insert hfill when needed.
17703
17704         * tabular.C (l_getline): use string::erase, small whitespace change.
17705
17706         * BufferView_pimpl.C: try the anon namespace.
17707         * WorkArea.C: ditto
17708
17709 2001-03-16  Juergen Vigna  <jug@sad.it>
17710
17711         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17712         otherwise it won't open options-dialogs.
17713
17714         * buffer.C: honor pextraWidth(p) on converting minipages.
17715
17716         * tabular.C (l_getline): changed the functions to strip trailing \r.
17717
17718 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17719
17720         * BufferView_pimpl.C:
17721         * minibuffer..C: added "using SigC::slot" declaration.
17722
17723 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17724
17725         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17726
17727         * text2.C: ditto
17728
17729         * text.C: ditto
17730
17731         * paragraph.C: ditto
17732
17733         * lyxtext.h: NO_PEXTRA
17734
17735         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17736
17737         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17738         * ParameterStruct.h: ditto
17739         * ParagraphParameters.h: ditto
17740         * lyxparagraph.h: ditto
17741
17742 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17743
17744         * buffer.C: add compability for minipage alignment.
17745         (latexParagraphs): remove unwanted pextra check.
17746
17747         * several files: remove CXX_WORKING_NAMESPACES
17748
17749         * buffer.C (pop_tag): tie is in namespace boost
17750
17751         * BufferView.h: noncopyable is in namespace boost
17752         * lyxlex.h: ditto
17753         * lyx_main.h: ditto
17754         * lyx_gui.h: ditto
17755         * layout.h: ditto
17756         * lastfiles.h: ditto
17757         * bufferlist.h: ditto
17758         * ShareContainer.h: ditto
17759         * LyXView.h: ditto
17760         * LyXAction.h: ditto
17761         * LaTeX.h: ditto
17762
17763 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17764
17765         * Merging changes from BRANCH_MVC back into HEAD.
17766
17767         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17768
17769 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17770
17771         * BufferView_pimpl.C: change from intl.C
17772
17773         * combox.h:
17774         * combox.C:
17775         * Makefile.am: move combox.*
17776
17777         * form1.h:
17778         * form1.C:
17779         * lyx_gui.C:
17780         * intl.h:
17781         * intl.C: remove dialog (covered by prefs)
17782
17783 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17784
17785         * lyxfunc.C (Dispatch): removed redundant break statement.
17786
17787 2001-03-14  Juergen Vigna  <jug@sad.it>
17788
17789         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17790
17791 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17792
17793         * buffer.C: add hack to fix compability reading of minipages.
17794
17795 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17796
17797         * buffer.C (getLists): Cleanup.
17798
17799 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17800
17801         * lyxfont.C (update): don't honor toggleall on font size.
17802
17803 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17804
17805         * bmtable.c:
17806         * bmtable.h:
17807         * Makefile.am: moved to frontends/xforms/
17808
17809         * lyx_gui_misc.C:
17810         * lyxfunc.C:
17811         * BufferView_pimpl.C: changes for moved mathpanel
17812
17813 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17814
17815         * gettext.h: fix gettext_init() in --disable-nls
17816
17817 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17818
17819         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17820
17821 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17822
17823         * lyx.C:
17824         * lyx.h: strip external form
17825
17826 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17827
17828         * BufferView_pimpl.C: add comment, destroySplash()
17829
17830 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17831
17832         * BufferView_pimpl.C:
17833         * LyXAction.C:
17834         * buffer.C:
17835         * commandtags.h:
17836         * lyxfunc.C: use re-worked insetinclude
17837
17838 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17839
17840         * buffer.C: add using std::stringstream.
17841
17842         * lyx_cb.C: readd using std::ios.
17843
17844         * buffer.C: add using std::map.
17845
17846         * BufferView_pimpl.C: add using std::vector.
17847
17848         * ShareContainer.h: add std:: to swap.
17849
17850         * buffer.h: add some typedefs
17851         * buffer.C (getLists): use them
17852         (getLists): renamed from getTocList.
17853         add a counter for the different float types and use it in the
17854         generated string.
17855         (getLists): use the same counter for the NEW_INSETS and the "non"
17856         NEW_INSETS
17857
17858         * lyx_cb.h: remove unused items, includes, using etc.
17859
17860         * ShareContainer.h: remove some commented code, add more comments
17861         and "documentation".
17862
17863 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17864
17865         * buffer.C (getTocList): make the list also when NEW_INSETS is
17866         defined.
17867
17868         * buffer.h: remove TocType
17869
17870         * buffer.C (getTocList): change to return a map<string,
17871         vector<TocItem> >, implement for dynamic number of list.
17872
17873         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17874         * text2.C (PasteSelection): adjust
17875         * CutAndPaste.C (pasteSelection): adjust
17876
17877         * FloatList.C (FloatList): update from the new_insets branch.
17878         * Floating.[Ch]: ditto
17879         * LaTeXFeatures.C: ditto
17880         * buffer.C: ditto
17881         * lyxlex_pimpl.C: ditto
17882
17883         * paragraph.C (Last): remove when NEW_INSETS is defined.
17884
17885         * other file: changes because of the above.
17886
17887 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17888
17889         * lyxparagraph.h: rename next to next_, previous to previous_,
17890         make them private for NEW_INSETS. Rename Next() to next(),
17891         Previous() to previous().
17892
17893         * other files: changes because of the above.
17894
17895 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17896
17897         * BufferView.h:
17898         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17899         problem.
17900
17901 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17902
17903         * main.C (main): pass lyx_localedir to gettext_init().
17904
17905         * gettext.h: remove locale_init and gettext_init macros
17906
17907         * gettext.C (locale_init): new function
17908         (gettext_init): new function
17909
17910         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17911         setlocale().
17912
17913 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17914
17915         * Moved credits to frontends:
17916         * credits.[Ch]: removed
17917         * credits_form.[Ch]: removed
17918         * lyx_gui_misc.C: remove credits stuff
17919         * Makefile.am:
17920
17921 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17922
17923         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17924
17925         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17926         unneeded destructor.
17927
17928         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17929         a standalone pointer again.
17930
17931         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17932
17933 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17934
17935         * Makefile.am:
17936         * filedlg.h:
17937         * filedlg.C:
17938         * LyXAction.C:
17939         * ToolbarDefaults.C:
17940         * bufferlist.C:
17941         * commandtags.h:
17942         * form1.C:
17943         * form1.h:
17944         * lyx_cb.C:
17945         * lyx_cb.h:
17946         * lyxfunc.h:
17947         * lyxfunc.C:
17948         * BufferView_pimpl.C: use new file dialog in GUII
17949
17950         * lyx_cb.h:
17951         * lyx_cb.C: remove LayoutsCB to Toolbar
17952
17953 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17954
17955         * ShareContainer.h (get): add std:: qualifier
17956
17957 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17958
17959         * ShareContainer.h: define a proper ShareContainer::value_type
17960         type (and use typename to please compaq cxx)
17961
17962 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17963
17964         * lyxparagraph.h: move serveral local vars to
17965         ParameterStruct/ParagraphParameters., use ShareContainer in
17966         FontTable., make vars in FontTable private and add getter and
17967         setter.
17968
17969         * paragraph.C: changes because of the above.
17970
17971         * lyxfont.h: remove copy constructor and copy assignment. (the
17972         default ones is ok), move number inside FontBits. move inlines to
17973         lyxfont.C
17974
17975         * lyxfont.C: add number to initializaton of statics, move several
17976         inlines here. constify several local vars. some whitespace
17977         cleanup. Dont hide outerscope variables.
17978
17979         * Spacing.h: add two new constructors to match the set methods.
17980
17981         * ShareContainer.h: new file, will perhaps be moved to support
17982
17983         * ParameterStruct.h: new file
17984
17985         * ParagraphParameters.h: new file
17986
17987         * ParagraphParameters.C: new file
17988
17989         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17990         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17991
17992         * BufferView_pimpl.C: ParagraphParameter changes.
17993         * buffer.C: Likewise.
17994         * bufferview_funcs.C: Likewise.
17995         * text.C: Likewise.
17996         * text2.C: Likewise.
17997
17998 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17999
18000         * lyxfind.C (LyXReplace): do not redefine default argument in
18001         implementation.
18002         (IsStringInText): ditto
18003         (SearchForward): ditto
18004         (SearchBackward): ditto
18005
18006 2001-03-06  Juergen Vigna  <jug@sad.it>
18007
18008         * lyxfind.C (IsStringInText): put parentes around expressions.
18009
18010 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18011
18012         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18013
18014 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18015
18016         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18017
18018         * stl_string_fwd.h: add comment
18019
18020         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18021
18022         * tabular.h:
18023         * tabular.C: remove unused DocBook methods
18024
18025         * intl.C:
18026         * language.C:
18027         * paragraph.C:
18028         * buffer.C:
18029         killed DO_USE_DEFAULT_LANGUAGE
18030
18031 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18032
18033         * lyx_gui.C: do not include language.h.
18034
18035         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18036         arguments in function implementation.
18037
18038 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18039
18040         * BufferView_pimpl.C: add <ctime>
18041
18042 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18043
18044         * BufferView_pimpl.C: add using std::find_if
18045
18046 2001-02-27  José Matos  <jamatos@fep.up.pt>
18047
18048         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18049         by OnlyPath.
18050
18051 2001-02-11  José Matos  <jamatos@fep.up.pt>
18052
18053         * buffer.C (makeDocBookFile): command styles now have a parameter as
18054         "title" by default.
18055
18056 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18057
18058         * layout_forms.[Ch]: removed
18059         * lyx_cb.[Ch]: out character
18060         * lyx_gui.C: out character
18061         * lyx_gui_misc.C: out character
18062         * bufferview_funcs.C: : out character,
18063         added toggleall as parameter in ToggleAndShow
18064
18065 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18066
18067         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18068
18069         * text2.C (SetCurrentFont): Disable number property at boundary.
18070
18071 2001-02-26  Juergen Vigna  <jug@sad.it>
18072
18073         * lyxfunc.C (getStatus): added a string argument override function so
18074         that this is correctly called from LyXFunc::Dispatch if it contains a
18075         do_not_use_argument which is used!
18076         (Dispatch): added check for "custom" export and call appropriate func.
18077
18078 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18079
18080         * lyxrc.C: Add language_command_local, language_use_babel and
18081         language_global_options.
18082
18083         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18084
18085         * buffer.C (makeLaTeXFile): Use language_use_babel and
18086         language_global_options.
18087
18088 2001-02-23  Juergen Vigna  <jug@sad.it>
18089
18090         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18091         which works with LyXText and putted it inside BufferView. Here now we
18092         only call for that part the BufferView::Dispatch() function.
18093
18094         * BufferView.C (Dispatch): added.
18095
18096         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18097         functions which needs to use a LyXText over from LyXFunc.
18098         (MenuInsertLyXFile): added
18099         (getInsetByCode): added
18100         (moveCursorUpdate): added
18101         (static TEXT): added
18102
18103 2001-02-22  Juergen Vigna  <jug@sad.it>
18104
18105         * BufferView_pimpl.C (update): call a status update to see if LyXText
18106         needs it.
18107
18108 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18109
18110         * vc-backend.C (revert): implement for CVS
18111         (getLog): implement for CVS
18112
18113 2001-02-20  Juergen Vigna  <jug@sad.it>
18114
18115         * text2.C (ClearSelection): added BufferView param for inset_owner call
18116
18117         * lyxfunc.C (TEXT): added this function and use it instead of
18118         directly owner->view()-text of getLyXText().
18119
18120 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18121
18122         * src/layout_forms.C: out preamble
18123         * src/layout_forms.h: out preamble
18124         * src/lyx_cb.C: out preamble
18125         * src/lyx_cb.h: out preamble
18126         * src/lyx_gui.C: out preamble
18127         * src/lyx_gui_misc.C: out preamble
18128         * src/lyxfunc.C: connect with guii preamble
18129
18130 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18131
18132         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18133
18134 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18135
18136         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18137         whether to run bibtex.
18138
18139 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18140
18141         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18142
18143 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18144
18145         * Makefile.am (lyx_SOURCES): removed bibforms.h
18146
18147         * vspace.h: doxygen
18148
18149         * text.C (GetVisibleRow): make several local vars const
18150
18151         * tabular.C: small cleanup.
18152
18153         * lyxserver.C (callback): use compare instead of strncmp
18154
18155         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18156         inlines to after class or to paragraph.C
18157
18158         * lyxfont.h: remove friend operator!=
18159
18160         * converter.h: move friend bool operator< to non friend and after
18161         class def.
18162
18163         * combox.h: small cleanup
18164
18165         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18166         to inlines after class def.
18167
18168         * buffer.C (pop_tag): use string operations instead of strcmp
18169
18170         * bmtable.c: doxygen, small cleanup
18171
18172         * LaTeX.h: remove friend operator==
18173
18174 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18175
18176         * screen.C:
18177         * lyxrc.[Ch]:
18178         * lyxfunc.C:
18179         * lyxfont.[Ch]:
18180         * lyx_cb.C:
18181         * intl.[Ch]:
18182         * commandtags.h:
18183         * buffer.C:
18184         * WorkArea.[Ch]:
18185         * LyXAction.C:
18186         * BufferView_pimpl.C:
18187         * BufferView.[Ch]: remove cruft
18188
18189 2001-02-14  Juergen Vigna  <jug@sad.it>
18190
18191         * lyxfunc.C: removed #if 0 unused code
18192
18193         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18194
18195         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18196
18197         * text2.C (SetSelection): added a BufferView * parameter
18198
18199 2001-02-13  Juergen Vigna  <jug@sad.it>
18200
18201         * lyxfunc.C (Dispatch): fixed protected blank problem.
18202         * BufferView2.C (protectedBlank): added LyxText * parameter.
18203
18204         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18205         (AppendColumn): same as above for column_info.
18206
18207         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18208         (moveCursorUpdate): use a LyXText param for support of InsetText.
18209
18210         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18211         (tripleClick): ditto
18212
18213         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18214
18215         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18216
18217         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18218
18219         * text2.C (SetSelection): set correct update status if inset_owner
18220         (ToggleFree): ditto
18221
18222 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18223
18224         * tabular.C: remove some commented code.
18225
18226 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18227
18228         * BufferView_pimpl.C: call hideSplash()
18229
18230         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18231
18232         * include_form.h:
18233         * bibforms.h: remove
18234
18235         * lyxfunc.C:
18236         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18237           add LFUN_CHILD_CREATE
18238
18239         * counters.h: fix tiny typo
18240
18241         * lyx_cb.C:
18242         * lyx.h:
18243         * lyx_gui.C:
18244         * lyx.C: move splash to frontends/xforms/
18245
18246         * lyx_gui_misc.C: move Include and Bibform to frontends
18247
18248         * lyxvc.h: clarify comment
18249
18250         * vspace.C: tiny housekeeping
18251
18252 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18253
18254         * text.C (PrepareToPrint): RTL Fix.
18255
18256         * paragraph.C (GetUChar): New method.
18257         (String):  Use GetUChar.
18258
18259         * buffer.C (asciiParagraph): Use GetUChar.
18260
18261 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18262
18263         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18264
18265 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18266
18267         * buffer.h:
18268         * buffer.C: rename to getLogName(), handle
18269           build log / latex log nicely
18270
18271 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18272
18273         * MenuBackend.C:
18274         * MenuBackend.h: remove support for reference menuitem type.
18275
18276 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18277
18278         * BufferView_pimpl.C: housekeeping
18279         * BufferView_pimpl.h:
18280         * LyXView.h:
18281         * Makefile.am:
18282         * Timeout.C:
18283         * Timeout.h:
18284         * minibuffer.h: move Timeout GUI-I
18285
18286 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18287
18288         * lyxrc.C (read): Update converters data-structures.
18289
18290 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18291
18292         * LaTeX.h (operator!=): add operator != for Aux_Info
18293
18294 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18295
18296         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18297
18298         * LaTeXLog.C: deleted, useful code moved to Buffer
18299
18300         * buffer.h:
18301         * buffer.C: new function getLatexLogName()
18302
18303         * lyx_gui_misc.C:
18304         * lyx_gui.C:
18305         * lyxvc.C:
18306         * lyxvc.h:
18307         * lyxfunc.C: use frontends for LaTeX and VC logs
18308
18309 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18310
18311         * LaTeX.h: yet another std:: that Allan forgot.
18312
18313         * Variables.C (set): renamed from isset(), because this clashes
18314         with some HP-UX macros (grr).
18315
18316 2001-02-06  Allan Rae  <rae@lyx.org>
18317
18318         * LaTeX.h: Another bug fix.  Missing std:: this time.
18319
18320 2001-02-04  Allan Rae  <rae@lyx.org>
18321
18322         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18323         floats problem. I've left it commented out because it's not quite
18324         correct.  It should also test that the current object is a table or
18325         figure inset.  But I haven't gotten around to figuring out how to do
18326         that.  I *think* it'll be something like: "table" == inset.type()
18327
18328         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18329         bool.
18330
18331 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18332
18333         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18334         all the citation/databases/styles in the auxilary file.
18335         (run): Rerun latex if there was a babel language error.
18336
18337 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18338
18339         * text.C (Backspace): Preserve the font when changing newline char
18340         with a space.
18341         (BreakParagraph): If the cursor is before a space, delete the space.
18342
18343         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18344
18345 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18346
18347         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18348         new argument (code).
18349         (ChangeCitationsIfUnique): New method.
18350
18351         * paragraph.C (GetPositionOfInset): Handle bibkey.
18352
18353 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18354
18355         * BufferView_pimpl.h: change type of Position::par_pos to
18356         LyXParagraph::size_type.
18357
18358 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18359
18360         * BufferView_pimpl.C (savePosition, restorePosition): Write
18361         messages to minibuffer.
18362
18363 2001-01-28  José Matos  <jamatos@fep.up.pt>
18364
18365         * buffer.C (makeDocBookFile): adds support for document language.
18366         A silly restriction on the name of LatexCommand types where removed.
18367         Added support for CDATA sections, allows to chars unescaped, used
18368         among others in code, to avoid escape < and >.
18369
18370 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18371
18372         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18373         saved positions instrad of a stack. Furthermore, a position is
18374         stored using paragraph id/paragraph position.
18375
18376         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18377         Remove LFUN_REF_BACK.
18378
18379 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18380
18381         * converter.C (dvipdfm_options): New method.
18382
18383 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18384
18385         * vspace.C (isValidLength): Fix for empty input string.
18386
18387 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18388
18389         * LyXAction.C (init): change description of LFUN_FIGURE to
18390         "Insert Graphics"
18391
18392 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18393
18394         * LaTeX.C: add using directive
18395
18396 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18397
18398         * MenuBackend.C (expand): Fix the sorting of the formats.
18399
18400 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18401
18402         * lyx_main.C: tiny error message fix
18403
18404 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18405
18406         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18407         calling fl_initialize(). This fixes the problem with ',' as
18408         decimal separator in text files.
18409
18410 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18411
18412         * trans.C (process): Fix the keymap bug.
18413
18414 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18415
18416         * LaTeX.C (scanAuxFiles): New method. Provides support for
18417         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18418         (scanLogFile) Scan for "run BibTeX" messages.
18419
18420         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18421         OT1 font encoding. Also, load the aecompl package if the ae
18422         package is loaded.
18423
18424         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18425
18426 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18427
18428         * texrow.C (increasePos): turn two error messages into debug
18429         messages.
18430
18431 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18432
18433         * LaTeX.C (scanAux): Handle the \@input macro.
18434         (runBibTeX): Use scanAux().
18435
18436         * language.C (latex_options_): New field.
18437
18438         * LaTeXFeatures.C (getMacros): Add language macros.
18439
18440         * buffer.C (makeLaTeXFile): Small fix.
18441
18442 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18443
18444         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18445
18446         * text2.C: add a using directive.
18447
18448 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18449
18450         * BufferView2.C:
18451         * lyx_gui_misc.h:
18452         * lyxfr1.C:
18453         * lyxfunc.C: kill LyXBell.
18454
18455 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18456
18457         * text.C (IsBoundary): Remove the error message
18458
18459         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18460
18461         * lyxrc.C (setDefaults): Correct initialization value for
18462         font_norm_type.
18463
18464 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18465
18466         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18467         gotoError().
18468
18469         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18470         and GotoNextNote().
18471
18472         * src/LyXAction.C: Added reference-next.
18473
18474         * text.C (InsertChar): Use contains instead of strchr.
18475
18476         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18477
18478 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18479
18480         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18481         alignment commands (when needed).
18482
18483         * text.C (InsertChar): Add ':' to number separator chars.