]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
e1abc5a37a3b3cb24751b01ee6b584eeeaaed834
[lyx.git] / src / ChangeLog
1 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
2
3         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
4
5 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
8         combox, it is necessary to search for the topmost paragraph in the
9         cursor stack (bug 1926)
10
11 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12
13         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
14         end of paragraph. (bug 2010)
15
16 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
17
18         * text.C (leftMargin): check for inInset == 0
19
20 2005-08-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
21
22         * text.C (leftMargin): test for insetbase's new neverIndent()
23         bool instead of listing each and every inset that does not
24         wish par indendation.
25
26 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
27
28         * buffer_funcs.C (setCounter): put the code to compute enum label
29         here (where it belongs).
30
31         * counters.C (enumLabel): move code to buffer_funcs.C.
32
33 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
34
35         * outputparams.[Ch]: store local_font instead of local_language
36         * paragraph.C (simpleTeXOnePar): adapt to the change above
37
38 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
39
40         * buffer_funcs.C:
41         * counters.[Ch]: clean up special code for Hebrew.
42
43 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
44
45         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
46         than 2.
47
48 2005-09-08  Angus Leeming  <leeming@lyx.org>
49
50         * ispell.C:
51         * lyxrc.C: correct grammar describing invocation of the
52         spellchecker.
53
54 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
55
56         * text.C (read): remove unused variable.
57         (readParToken): remove static Change variable (never good in
58         recursive settings...); add it as a parameter instead.
59
60         * paragraph_pimpl.C (acceptChange): make debug info conditional.
61
62         * metricsinfo.C (PainterInfo): add new member erased_.
63
64         * rowpainter.C (RowPainter): add erased_ member, initialized from
65         PainterInfo. 
66         (paintInset): pass erased_ to Inset::draw.
67
68         * lyxfunc.C (lookupChange): new function. Tells whether change 
69         tracking is disabled at a given postion.
70         (getStatus): disable some actions when in deleted text with change
71         tracking. 
72
73 2005-08-03  John Levon  <levon@movementarian.org>
74         
75         * tabular.C (appendColumn, setMultiColumn): adapt to change to
76         InsetText::clear().
77
78         * paragraph_pimpl.C (markErased): add bool argument and handle it.
79         Also make sure to mark insets recursively.
80         (rejectChange, erase): be recursive
81
82         * paragraph.C (markErased): add bool argument.
83 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
84
85         * lyxfind.C (findNextChange): tiny cleanup.
86
87         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
88         change tracking with the cursor in an inset; make sure the first
89         change is not skipped.
90
91 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
92
93         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
94         tabularStackDirty to work around bug 1919 (tabular needs
95         to know whether its own cell paste buffer or the one of 
96         texted is newer.
97         * CutAndPaste.C: mark tabular_stack_ clean after copy.
98
99 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
100
101         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
102
103 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
104
105         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
106         use old deleteion algorithm when changetracking is on.
107
108 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
109
110         * messages.C (get): add debug output.
111
112 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
113
114         * text.C (cursorX): fix bug 1965: cursor movement at
115         line end broken in RtL.
116         (drawSelection): fix bug 1970: drawing of single-line 
117         selection broken for RtL.
118
119 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
120
121         bug 465.
122
123         * dociterator.h (clear, push_back, pop_back): change from
124         protected to public.
125
126         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
127         and changed to just return the value of the item depth; take a
128         ParIterator as argument; take the itemdepth at outer nesting level
129         in account if necessary; cleanup and comment the code.
130         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
131         and changed to just return true if reset is needed; take a
132         ParIterator as argument; cleanup and comment the code.
133         (setCounter): adapt to above changes.
134
135 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
136
137         * text3.C (dispatch): make debug message optional
138
139 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
140
141         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
142         inset. (bug 1963)
143
144 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
145
146         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
147
148 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
149
150         * text.C (insertChar):
151         * text2.C (deleteEmptyParagraphMechanism): take care whether 
152         a blank has been deleted (in change tracking mode) (bug 1254).
153
154 2005-07-20  John Levon  <levon@movementarian.org>
155
156         * text2.C (insertStringAsLines): remove old dubious code,
157         fixing bug 1939.
158
159 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
160
161         * MenuBackend.C (expandToc): use Floating::listName() as title of
162         the floats submenus.
163
164 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
165
166         * toc.[Ch]: Do not use translatable strings (bug 1870).
167
168 2005-07-20  John Levon  <levon@movementarian.org>
169
170         * tabular.C: fix 1748 - setting multicolumn adds
171           left line to the first cell
172
173 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
174
175         bug 1920
176         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
177         pars in one go.
178
179 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
180
181         * messages.C: supress some lyxerr messages
182
183 2005-07-18  Juergen Vigna  <jug@lyx.org>
184
185         * text.C (drawSelection): honor boundary when asking for cursorX.
186
187 2005-07-17  José Matos  <jamatos@fc.up.pt>
188
189         * tabular.C (recalculateMulticolumns): fix handling of one column
190         tables.
191
192 2005-07-17  Juergen Vigna  <jug@lyx.org>
193
194         * text.C (Delete, backspace): fixed so that paragraph with the
195         same layout can be merged by Delete/Backspace.
196
197 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
198
199         * text.C (readParToken): fix spelling.
200
201 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
202
203         * text2.C: fix counter update for DEPM problem reported by
204         Georg Baum
205
206 2005-07-17  Juergen Vigna  <jug@lyx.org>
207
208         * BufferView_pimpl.C (setBuffer): save/restore the
209         cursor/selection when switching buffers
210
211         * buffer.h: 
212         * buffer.C (saveCursor): add saveDocumentIterators to save the
213         cursor when switching buffer.
214
215 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
216
217         * debug.C: fix typo
218         * buffer.C: clarify message
219         
220 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
221
222         * dociterator.C (DocIterator): fix initialization order
223
224 2005-07-17  Juergen Vigna  <jug@lyx.org>
225
226         * text2.C (cursorHome): 
227         * text.C (drawSelection, cursorX): 
228         * dociterator.C (textRow): add boundary to getRow() call
229
230         * paragraph.C (getRow): implementation of below
231
232         * paragraph.h: add parameter boundary for getRow() function
233
234 2005-07-17  José Matos  <jamatos@fc.up.pt>
235
236         * buffer.C:
237         * bufferparams.[Ch]:
238         * tex-strings.[Ch]: new file format, remove support for a4.sty,
239         a4wide.sty and a4widemargins.
240
241 2005-07-17  Juergen Vigna  <jug@lyx.org>
242
243         * text2.C (cursorLeft): fix one of error
244
245 2005-07-17  Juergen Vigna  <jug@lyx.org>
246
247         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
248                    cursorEnd):
249         more fixes for boundary handling
250
251         * text3.C (dispatch): don't reset cursor if boundary has changed
252         on cursor movement.
253
254 2005-07-16  Juergen Vigna  <jug@lyx.org>
255
256         * text2.C (getColumnNearX): hopefully got it right now,
257         check if we are on column 0 for special case.
258
259 2005-07-16  Juergen Vigna  <jug@lyx.org>
260
261         * text2.C (getColumnNearX): handle special case Newline Inset
262
263         * text.C (singleWidth): Just remove bogus check
264
265 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
266
267         * funcrequest.C (split): avoid reading uninitialized char c
268
269 2005-07-16  José Matos  <jamatos@fc.up.pt>
270
271         * buffer.C:
272         * converter.C:
273         * lyxrc.C:
274         * paper.h:
275         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
276         single papersize variable.
277
278 2005-07-16  Juergen Vigna  <jug@lyx.org>
279
280         * text3.C (dispatch): honor boundary when checking if a cursor
281         movement has been done
282
283         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
284         (setCursor, setCursorIntern): fix cursor movement with boundary
285
286 2005-07-16  Juergen Vigna  <jug@lyx.org>
287
288         * text.C (currentState): output the actual Boundary
289
290 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
291
292         * factory.C (createInset): fix bad logic for tabular creation
293
294 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
295
296         * lyx_main.C (init): change some reLyX reference to tex2lyx
297
298 2005-07-16  Juergen Vigna  <jug@lyx.org>
299
300         * dociterator.C (DocIterator): initialize boundary
301
302 2005-07-16  Juergen Vigna  <jug@lyx.org>
303
304         * text2.C (getColumnNearX): Consider rows without trailing blank.  
305
306 2005-07-16  André Pönitz  <poenitz@gmx.net>
307
308         * lyxfont.h: Change order of declarations to give the compiler
309         a better chance to inline things
310
311         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
312         questions on unsaved docs for better scritability
313
314 2005-07-16  André Pönitz  <poenitz@gmx.net>
315
316         * paragraph.h (getChar): remove asserts as the same kind of security
317         can be achieved by using a suitable standard library implementation
318         and the function was in the critical path (25.9% in profiler)
319
320 2005-07-16  Juergen Vigna  <jug@lyx.org>
321
322         * cursor.C (bruteFind2):
323         * bufferview_funcs.C (coordOffset): 
324         * text.C (cursorX,cursorY): Handle cursor position after last char
325         in row before a inset which uses a whole row.
326
327 2005-07-15  José Matos <jamatos@lyx.org>
328
329         * output_plaintext.[Ch] (writeFileAscii): control reference title
330         printing.
331         (asciiParagraph): noparbreak was already deal and was incorrectly
332         used.
333
334 2005-07-15  Juergen Vigna <jug@lyx.org>
335
336         * lyxfunc.C (dispatch): save and restore the cursor after a
337         textclass switch.
338
339 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
340
341         * text.C (backspace): bug 806 for empty keepempty paragraphs we
342         change the layout to default before letting DEPM do its thing.
343
344         * paragraph_funcs.C (breakParagraph): dont reset the layout on
345         keepEmpty paragraphs
346
347         * text.C (setCursorFromCoordinates): add a debug statement
348
349         * text2.C (getColumnNearX): bug 1825 make sure that we don't
350         return a pos that is not on the row
351
352         * output_latex.C (TeXDeeper): get rid of potential dereferencing
353         of past the end iterator
354
355 2005-07-14  André Pönitz  <poenitz@gmx.net>
356
357         * undo.C (recordUndoFullBuffer): implement undo for
358         textclass switches
359
360 2005-07-14  André Pönitz  <poenitz@gmx.net>
361
362         * cursor.C (setSelection): open insets when selection is set there
363         to avoid crashs with cold coord cache
364
365 2005-07-14  André Pönitz  <poenitz@gmx.net>
366
367         * trans_mgr.C (insert): move cursor to the right after inserting
368         a char.
369
370 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
371
372         * BufferView_pimpl.C (update): dampen some of the debug blabbering
373         * factory.C (readInset): ditto
374         * text.C, text2.C: ditto
375
376 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
377
378         * buffer.C: format incremented to 242. There is no file format per
379         se, but the "frenchb" language has been removed from lib/language
380         and has to be translated to "french" by lyx2lyx.
381
382 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
383
384         * cursor_slice.h, dociterator.h: add some documentation
385         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
386
387 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
388
389         * text.C (leftMargin): do not add identation to display() style
390         insets, because they are always centered (bug 1293).
391
392 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
393
394         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
395         formatted_time methods in support/lyxtime.
396
397 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
398
399         * toc.[Ch]: new method getGuiName, which is used by the frontends 
400         to set the toc combo (fixes bug 1870). Make TOC string translatable.
401
402 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
403
404         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
405         StableDocIterator const &)
406         * undo.C (recordUndo): use the above instead of cell.size() comparison
407         (fixes bug 1808; instructed by Andr�.
408
409 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
410
411         * cursor_slice.h: 
412         * dociterator.h: Fix the assert when copying rows/cols in math
413
414 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
415
416         * BufferView_pimpl.C:
417         * LyXAction.C:
418         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
419
420         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
421         (findInset): new functions, refactored from goto Inset that return 
422         the position of a certain inset without setting the buffer's cursor
423         (by Jean-Marc); 
424         (gotoInset): rewrite to call findInset and then set the cursor
425         (by Jean-Marc).
426
427 2005-06-16  Angus Leeming  <leeming@lyx.org>
428
429         * lyxrc.C (output, read): wrap all input and output of paths with
430         calls to os::internal_path and os::external_path, respectively.
431         (output): wrap bind_file inside quotes.
432
433         * format.C (view): enable the viewer to use the '$$s' placeholder.
434
435 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
436
437         * LColor.[Ch] (getFromLaTeXName): new
438
439 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
440
441         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
442
443 2005-06-14  Angus Leeming  <leeming@lyx.org>
444
445         * lyx_main.C (init): ensure that the LyX binary dir is the first
446         element in the PATH on non-POSIX builds.
447
448 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
449
450         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
451
452 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         * rowpainter.C (paintInset, paintHebrewComposeChar)
455         (paintArabicComposeChar, paintChars): add a LyXFont argument.
456         (paintChars): use getFontSpan to reduce calls to getFont to a
457         minimum; use Paragraph::lookupChange instead of isXXXText.
458         (paintForeignMark): rename LyXFont argument.
459         (paintFromPos): pass a LyXFont object to the various paintXXX
460         methods.
461
462         * FontIterator.C (FontIterator, operator++): use
463         Paragraph::getFontSpan
464
465         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
466         version that returns the font span as a pair.
467
468 2005-06-09  Angus Leeming  <leeming@lyx.org>
469
470         * converter.C (convert): Don't forget "outfile = real_outfile" as
471         the final step in a conversion where the input and output file names
472         are the same. Otherwise, future conversion steps won't work...
473
474 2005-06-09  Angus Leeming  <leeming@lyx.org>
475
476         * lyxsocket.C: remove stub code as it isn't needed by
477         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
478
479 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
480
481         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
482         effectively disabled -x
483
484 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
485
486         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
487         when it actually makes sense.
488
489 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
490
491         * BufferView_pimpl.C: revert to showCursor in connection with
492         Lars's front-end stack
493
494 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
495
496         * text.C (redoParagraph): move cursor right after a bibitem
497         has been inserted.
498
499         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
500
501 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
502
503         * buffer_funcs.C (bufferErrors): fix computation of the end of an
504         error range.
505
506 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
507
508         * BufferView.[Ch] (update):
509         * BufferView_pimpl.[Ch] (update, metrics):
510         * dimension.h (operator==):
511         * lyxfunc.C (dispatch):
512         * metricsinfo.h (ViewMetricsInfo):
513         * rowpainter.C (paintText):
514         * lyxtext.h:
515         * text.C (redoParagraph):
516         * text3.C (dispatch): Make LyX only repaint current paragraph in
517         case of character insert --> speedup. Also fix cursor draw
518         artifacts
519
520 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
521
522         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
523         avoid a crash (bug 1891)
524
525 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
526
527         Fix bug 1892:
528
529         * text2.C (getStringToIndex): constify cur argument.
530
531         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
532         argument has been given
533         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
534         try to invoke LFUN_INSET_APPLY).
535
536         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
537         if no inset was created by doInsertInset
538         (doInsertInset): return true if an inset has been inserted.
539
540 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
541
542         * vspace.C (asGUIName): new method. A version of the space
543         suitable for showing on screen.
544
545 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
546
547         * MenuBackend.C:
548         * lyxrc.C: rename "ASCII" to "Plain Text"
549
550 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
551
552         * buffer_funcs.C (expandLabel): take a Buffer as argument;
553         translate the labelstring.
554         (setCounter): translate labelstring as needed.
555
556         * output_docbook.C (makeCommand): fix expandLabel invokation
557
558 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
559
560         * BufferView.C: fix dialog title
561
562 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
563
564         * lyx_main.C (priv_exec): fix logic error with help from Angus
565         * lyx_main.C (parse_execute): set is_gui = false and remove now
566         obsolete comment about a segfault
567
568 2005-05-18  Angus Leeming  <leeming@lyx.org>
569
570         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
571
572 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
573
574         * tabular.[hC]: added setCellInset to fix tabular paste.
575
576 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
577
578         * buffer.C (save): check if destination is writable before trying
579         to copy a file
580
581 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
582
583         * BufferView_pimpl.C (update): fix processEvents -caused update
584         recursion bug
585
586 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
587
588         * buffer_funcs.C (setCounter): fix test for numbering of
589         environments.
590
591         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
592         depth correctly; use optional argument when it exists
593
594         * lyxtextclass.C: remove unused MaxCounterTags enum
595         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
596         (max_toclevel, min_toclevel): new methods.
597
598         * MenuBackend.C (expandToc2): fix case where depth is smaller than
599         the smallest depth in toc.
600
601         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
602         layouts that should not appear in a table of contents.
603
604 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
605
606         * cursor.h (undispatched, noUpdate): add comments from Andr�
607 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
608
609         * lfuns.h:
610         * LyXAction.C:
611         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
612
613 2005-05-07  André Pönitz  <poenitz@gmx.net>
614
615         * cursor.[Ch] (leaveInset): new function
616
617 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
618
619         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
620
621 2005-05-04  Angus Leeming  <leeming@lyx.org>
622
623         * lyxfunc.C (getStatus): disable the spell checker dialog if
624         none of USE_[AIP]SPELL are defined.
625
626 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
627
628         * tabular.C (setWidthOfCell): remove obsolete comment
629
630 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
631
632         * paragraph.C (bibitem):
633         * buffer_funcs.C (setCounter):
634         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
635
636 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
637
638         * text3.C (getStatus): immediately return after setOnOff
639
640         * rowpainter.C: fix drawing of appendix start
641
642 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
643
644         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
645         SwitchBetweenClasses and remove the unused return value.
646         Handle character styles, too
647
648 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
649
650         * factory.C (createInset): handle undefined character styles
651
652 2005-05-02  Angus Leeming  <leeming@lyx.org>
653
654         * buffer.C: protect the #include of utime.h with a preprocessor
655         guard.
656
657 2005-05-02  Angus Leeming  <leeming@lyx.org>
658
659         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
660         function so that auto-saving works, albeit in a blocking manner.
661
662         * Makefile.am: make compilation of the client sub directory, of
663         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
664         on conditionals set at configure time.
665
666         * SpellBase.[Ch]: no longer an abstract base class. Instead,
667         it can be compiled in its own right but has no-op functionality.
668
669         * aspell.C, pspell.C: remove preprocessor guards. The files should
670         be compiled only if the necessary functionality exists.
671
672         * lyxserver.C, lyxsocket.C: disable on Windows.
673
674 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
675
676         * text.C (leftMargin): Fix the parindent use bug (1764)
677         by dirty trick
678
679 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
680
681         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
682         argument.
683
684 2005-04-25  Angus Leeming  <leeming@lyx.org>
685
686         * Bidi.[Ch]:
687         * coordcache.[Ch]:
688         * ispell.C:
689         * lyxserver.C:
690         * mover.C:
691         * pch.h:
692         include <config.h> in .C files, not .h ones.
693         add licence blurb.
694         protect headers inside preprocessor guards.
695
696 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
697
698         * FuncStatus.h (StatusCodes): document
699
700 2005-04-21  André Pönitz  <poenitz@gmx.net>
701
702         * FuncStatus.h (enabled, onoff): document
703
704 2005-04-19  Angus Leeming  <leeming@lyx.org>
705
706         * BufferView_pimpl.C (cursorToggle): no longer test whether
707         any child processes have been reaped before calling
708         handleCompletedProcesses().
709
710 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
711
712         * text3.C (dispatch): fix, finally fix, the language problem in
713         new lyxtexts, without disabling on-the-fly font changes (Helge's
714         bug report)
715
716 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
717
718         * text3.C (dispatch): set cursor on double/triple click events
719         (bug 1811)
720
721 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
724         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
725
726         * rowpainter.C (paintFirst): simplify the code a little bit. In
727         particular, remove the test for secnumdepth.
728         * text.C (setHeightOfRow): only allocate space for chapter number
729         when updateCounters provided an actual label, instead of looking
730         at secnumdepth directly.
731
732         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
733
734         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
735         paragraphs when secnumdepth is large enough or, for environments,
736         when they are not the first in a sequence.
737
738 2005-04-17  Angus Leeming  <leeming@lyx.org>
739
740         * buffer.C (makeLaTeXFile): replace code to manipulate a path
741         containing space and '~' characters with a call to latex_path().
742
743 2005-04-17  Angus Leeming  <leeming@lyx.org>
744
745         * converter.C (convert): protect all args of convertDefault.sh
746         script with quotes.
747
748 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
749
750         * text3.C (dispatch): change the layout to "Caption" after inserting
751         a float.
752
753 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
754
755         * text3.C (dispatch): fix language problem in newly created
756         textinsets (and main text) in non-english docs
757
758 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
759
760         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
761         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
762         * text3.C (getStatus): disable LFUN_INSET_MODIFY
763
764 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
765
766         * lyxtext.h:
767         * text.C (metrics):
768         * text2.C (getFont):
769         * rowpainter.C (getFont): Fix metrics bug introduced by inset
770         fonts fix
771
772 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
773
774         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
775         output of \item arguments without trailing text.
776
777 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
778
779         * FontIterator.C (operator*): avoid a copy of the font.
780
781 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
782
783         * rowpainter.C (getFont): fix language bug from previous fix
784
785 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
786
787         * rowpainter.C (RowPainter, getFont): fix font inside inset
788         (bugs 1766, 1809)
789
790 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
791
792         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
793         preventing inserted font, deco, delim insets jumping to start of
794         surrounding inset.
795
796 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
797
798         * lyxfunc.C (dispatch): translate message before sending it to the
799         minibuffer.
800
801 2005-03-29  Angus Leeming  <leeming@lyx.org>
802
803         * lyx_main.C (priv_exec): call os::internal_path on each file passed
804         to LyX on the command line.
805
806 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
807
808         * vc-backend.C: use QuoteName to protect file names wherever
809         necessary.
810
811 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
812
813         * buffer.[Ch]:
814         * BranchList.h: fix bugs 1844,1845: document settings don't
815         stick
816
817 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
818
819         * lyxrc.C (setDefaults, read, output, getDescription): add support
820         for tex_allows_spaces.
821
822         * exporter.C (Export): allows files in directory containing spaces
823         if tex_allows_spaces is true.
824
825         * buffer.C (makeLaTeXFile): if the document path contains spaces,
826         output it in double quotes.
827
828 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
829
830         * rowpainter.C: use default text height for drawing change tracker
831         strikeout lines.
832
833 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
834
835         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
836
837 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
838
839         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
840         directory is missing.
841
842 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
843
844         * text2.C: fixed the fix, extended to other case.
845
846 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
847
848         * text2.C: fix for cursor up/down stuck in math [bug 1792]
849
850 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
851
852         * text2.C (cursorUp): get rid of a crash
853         * text.C (x2pos): add an assert
854
855 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
856
857         * lyxfunc.C (getStatus): fix warning when assertions are disabled
858
859         * text3.C:
860         * lyxfunc.C:
861         * dociterator.C: include <boost/current_function.hpp>, which is
862         needed when assertions are disabled.
863
864 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
865
866         * text2.C: fix for stuck cursor when traversing two
867         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
868
869 2005-02-25  Andreas Vox  <avox@arcor.de>
870
871         * output_docbook.C (makeParagraph): suppress trailing newline
872         after a run of paragraphs
873
874 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
875
876         * paragraph.C: fix for confused change tracker when pasting
877         text that begins with a lineseparator. [bug 1827]
878         (setChange(0, Change::INSERTED);)
879
880         * paragraph_funcs.C: fix for lost changes on triple-paste
881         in change tracking mode [bug 1827] (par.setChange()).
882
883 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
884
885         * text2.C (updateCounters, setCounter, expandLabel): move to
886         buffer_funcs.
887
888         * buffer_funcs.C (updateCounters): turn into a free standing
889         function and add a buffer parameter. Remove dead code for tracking
890         labelstring change.
891         (setCounter): change into a free-standing function which gets a
892         dociterator as argument. Use this iterator to fix captions in a
893         simple way. When no float is found above the caption, use the
894         labelstring of the caption layout as default.
895
896         * text.C (breakParagraph, backspace):
897         * text2.C (init, setLayout, changeDepth):
898         * text3.C (dispatch):
899         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
900         updateCounters.
901
902         * dociterator.C (forwardPar): make it much faster by calling
903         forwardPos() only when really necessary.
904
905         * output_docbook.C (makeCommand): adapt to expandLabel move.
906
907         * cursor.C: remove unused variable
908
909 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
910
911         * paragraph_funcs.C: fix crash when pasting insets in change
912         tracking mode [bug 1277] (honour change type in moveItem).
913
914 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
915
916         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
917
918 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
919
920         * BufferView.C (setCursor): change to use a DocIterator.
921         (gotoLabel): use BufferView::setCursor (other part of bug 781).
922         (putSelectionAt): adapt to BufferView::setCursor change.
923
924         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
925         moved here from LyXText and rewritten to use proper cursor
926         methods. Fixes bug 1787, 616 and 835.
927
928         * BufferView_pimpl.C (restorePosition): set the cursor correctly
929         when inside an inset (part of bug 781).
930         (dispatch): adapt to change of BufferView::setCursor.
931         (getStatus, dispatch): handle LFUN_GOTOERROR,
932         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
933
934         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
935         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
936         * text3.C (gotoNextInset, gotoInset): removed.
937
938 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
939
940         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
941
942 2005-02-15  Angus Leeming  <leeming@lyx.org>
943
944         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
945         can be used meaningfully in a comparison.
946
947 2005-02-13  André Pönitz  <poenitz@gmx.net>
948
949         * bufferview_funcs.C (coordOffset): improve cursor drawing
950
951 2005-02-13  André Pönitz  <poenitz@gmx.net>
952
953         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
954         * Cursor.C (dispatch): use fixIfBroken
955         * lyxfunc.C (getStatus): use fixIfBroken
956
957 2005-02-15  Angus Leeming  <leeming@lyx.org>
958
959         * lyx_main.C (error_handler):
960         * lyxfunc.C:
961         * lyxrc.C (setDefaults):
962         s/GetEnv/getEnv/.
963         #include "environment.h".
964
965         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
966
967 2005-02-15  Angus Leeming  <leeming@lyx.org>
968
969         * lyxserver.C (startPipe): squash MSVC warning "local variable
970         'fd' used without having been initialized".
971
972 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
973
974         * BufferView_pimpl.C: revert accidental commit.
975
976 2005-02-14  André Pönitz  <poenitz@gmx.net>
977
978         * dociterator.[Ch]: new member forwardPosNoDescent(),
979         which doesn't enter nested insets.
980         * text2.C (setFont): use forwardPosNoDescent() instead
981         of ForwardPos() (fixes crash on font change).
982
983 2005-02-13  Angus Leeming  <leeming@lyx.org>
984
985         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
986         only if lyxrc.path_prefix is not empty.
987
988 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
989
990         * bufferparams.C (readGraphicsDriver): prevent crash
991
992 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
993
994         * text2.C (setCounter): check for inInset() == 0
995
996 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
997
998         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
999         but use update() to get correct screen display; use convert
1000         instead of istringstream.
1001         (getStatus): handle LFUN_GOTO_PARAGRAPH
1002
1003         * lyxfunc.C (dispatch, getStatus): do not handle
1004         LFUN_GOTO_PARAGRAPH here.
1005
1006 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1007
1008         * text3.C (dispatch): size() -> depth()
1009
1010         * text2.C: remove some debug output
1011
1012         * paragraph.C: ws changes only
1013
1014         * lyxfunc.C (getStatus): size() -> depth()
1015
1016         * dociterator.h (clear, push_back, pop_back, internalData,
1017         operator[], resize, empty): new functions
1018         Make StableDocIterator and operator== be friends. Don't inherit
1019         from std::vector use a privat class variable slices_ instead.
1020         Modify to fit.
1021
1022         * dociterator.C: update because of not inheriting from std::vector
1023         anymore. Call explictly to slices_ instead. Use depth() instead of
1024         size() and top() instead of back()
1025
1026         * cursor.C: chagne size() -> depth and back() -> top(). Also
1027         remove some direct operator[](i) calls in favour of foo[i]
1028         (getFont): remove some dead code
1029
1030         * bufferview_funcs.C (coordOffset): size() -> depth()
1031
1032         * buffer.C: ws changes only
1033
1034         * CutAndPaste.C (eraseSelection): back() -> top()
1035
1036         * BufferView_pimpl.C (selectionRequested): back() -> top()
1037
1038         * BufferView.C (setCursor): size() -> depth()
1039
1040 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1041
1042         * text3.C (cursorPrevious): return true if depm changed something
1043         (cursorNext): ditto
1044         (dispatch): rename sl to oldTopSlice, remove moving use the new
1045         NoUpdate func attrib instead. Make sure that needsUpdate is set
1046         for function that have NoUpdate, but where depm might have changed
1047         the buffer anyway.
1048
1049         * text2.C (cursorLeft): make us return true if depm changed
1050         something
1051         (cursorRight): ditto
1052         (cursorUpParagraph): ditto
1053         (curosrDownParagraph): ditto
1054         (cursorUp, cursorDown): ditto, make sure to read comments in code
1055         (deleteEmptyParagraphMechanism): remove an assert, also return
1056         true if just a single char was deleted.
1057
1058         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1059         cursor that we modify, to avoid modifying an active cursor before
1060         we call setCursor. This allows depm to run. Also return true if
1061         depm deleted something.
1062
1063         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1064         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1065         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1066         something was changed in the buffer because of them (ie. depm run)
1067
1068         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1069         debug messages. Make update by default be false. Make sure that
1070         the result of update is retained throught several calls down to
1071         dispatch.
1072
1073         * LyXAction.h: add a new func_attrib: NoUpdate
1074
1075         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1076         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1077         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1078         and LFUN_WORDLEFT
1079         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1080
1081 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1082
1083         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1084         bv_->owner(), bv_->buffer() by direct references to the private
1085         members.
1086         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1087         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1088         (fitCursor): center() is in BufferView::Pimpl.
1089         (getStatus, trackChanges, dispatch): no need for a temporary buf
1090         variable
1091         (fitCursor, workAreaDispatch): use workarea().workheight()
1092
1093 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1094
1095         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1096
1097 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1098
1099         * buffer.C: format up to 241.
1100         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1101         break if pasting into ERT
1102         * lyxfunc.C (getStatus): suppress mathpanel and
1103         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1104
1105 2005-02-01  Angus Leeming  <leeming@lyx.org>
1106
1107         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1108
1109 2005-02-01  Angus Leeming  <leeming@lyx.org>
1110
1111         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1112         calling fs::is_directory().
1113
1114 2005-01-31  Angus Leeming  <leeming@lyx.org>
1115
1116         * lyx_main.C (priv_exec): specify explicitly the relative location
1117         of the top level build directory when run in-place.
1118
1119 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1120
1121         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1122         LyXText containing the cursor, not the top-level one.
1123
1124         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1125         true.
1126         (insertStringAsLines): rename par to pit; use temporary variable
1127         par to hold a Paragraph; do not store par.layout() in a variable,
1128         since the pointer may die when breaking paragraphs; pass pars to
1129         breakParagraph() instead of Buffer::paragraphs().
1130
1131 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1132
1133         * lyxlex_pimpl.h: #include <fstream>.
1134
1135         * BufferView.[Ch] (getLyXText): add a const version.
1136
1137         * BufferView_pimpl.C: add debug aids.
1138
1139         * RowList_fwd.h:
1140         * buffer.h:
1141         * lyxrow.h:
1142         * paragraph_funcs.h: add commentary explaining what the class does.
1143
1144
1145         * coordcache.[Ch]: add lots of commentary.
1146         (startUpdating, doneUpdating): debug aids.
1147         (arrays, insets, parPos, getParPos): accessors to private data.
1148
1149         * cursor_slice.[Ch] (text): add a const version.
1150         * dociterator.[Ch] (text, innerText): add const versions.
1151
1152         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1153         bool.
1154
1155         * paragraph.C (getRow, pos2ros): add asserts.
1156
1157         * paragraph.h: add commentary. Lots of.
1158
1159         * paragraph.[Ch] (metrucs, draw): removed.
1160
1161         * cursor.C:
1162         * rowpainter.[Ch]: const-correct changes.
1163
1164         * text.C: various obvious clean-ups. Removal of ancient cruft.
1165         Bug fixes, even.
1166
1167 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1168
1169         * vc-backend.C (find_file): rewrite to use boost.filesystem
1170         (scanMaster): ditto
1171
1172         * main.C (main): set default name check for boost.filesystem to
1173         no check
1174
1175         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1176         (open): ditto
1177         (doImport): ditto
1178         (actOnUpdatedPrefs): ditto
1179
1180         * lyx_main.C (init): rewrite to use boost.filesystem
1181         (queryUserLyXDir): ditto
1182
1183         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1184         (getContentsOfAsciiFile): ditto
1185
1186         * lastfiles.C (readFile): rewrite to use boost.filesystem
1187
1188         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1189
1190         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1191         (loadLyXFile): ditto
1192
1193         * buffer.C (Buffer): adjust for destroydir
1194         (getLogName): rewrite to use boost.filesystem
1195         (setFileName): ditto
1196         (save): use fs::copy_file (from fs_extras)
1197
1198         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1199
1200         * LaTeX.C (run): rewrite to use boost.filesystem
1201         (scanAuxFiles): ditto
1202         (handleFoundFile): ditto
1203
1204 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1205
1206         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1207
1208         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1209
1210 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1211
1212         * lyxlayout.[Ch]: change some vars from float to double
1213
1214         * buffer.C (readFile): make a local var const
1215
1216         * Several files: use convert<> instead of atoi,strToXXX and friends
1217
1218 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1219
1220         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1221         holds the contents of packages.lst. New functions getAvailable
1222         and isAvailable to parse and check that list, resp.
1223
1224         * LyXAction.C:
1225         * lfuns.h:
1226         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1227
1228         * bufferparams.[Ch]: new param output_changes.
1229
1230         * Buffer.C: increase file format to 240.
1231         Use output_changes and isVailable.
1232
1233         * changes.[Ch]:
1234         * paragraph.C:
1235         * paragraph_pimpl.C: Use output_changes and isVailable.
1236
1237 2005-01-23  Angus Leeming  <leeming@lyx.org>
1238
1239         * output_latex.C: #include "insetbibitem.h", rather than
1240         forward declare function bibitemWidest.
1241
1242 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1243
1244         * lyx_main.C (init): make it compile on the Mac.
1245
1246 2005-01-20  Angus Leeming  <leeming@lyx.org>
1247
1248         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1249         (setLyXMisc): (char string literal) != (char string literal) is
1250         performing a comparison on the addresses. Convert one operand
1251         explicitly to string to guarantee expected behaviour.
1252         From MSVC warning.
1253
1254 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1255
1256         * buffer.C:
1257         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1258
1259         * output_plaintext.C: remove unneeded #include gzstream.h.
1260
1261 2005-01-20  Angus Leeming  <leeming@lyx.org>
1262
1263         * SpellBase.h: rename some of the elements of the Result enum.
1264
1265         * aspell_local.h:
1266         * ispell.h:
1267         * pspell.h:
1268         * aspell.C (check):
1269         * ispell.C (check):
1270         * pspell.C (check): ditto
1271
1272 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1273
1274         * buffer.C: add #include <fstream>.
1275
1276         * lyx_main.C (init): Compile fix.
1277
1278         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1279
1280 2005-01-20  Angus Leeming  <leeming@lyx.org>
1281
1282         * mover.h: change commentary to reflect the changed meaning of
1283         the $$s placeholder.
1284
1285 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1286
1287         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1288
1289         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1290
1291 2005-01-20  Angus Leeming  <leeming@lyx.org>
1292
1293         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1294         printing diagnostic data by not dereferecing an iterator past the
1295         end.
1296
1297 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1298
1299         * buffer.C (readHeader): use "&&" rather than "and".
1300
1301         * lyxserver.h (inPipeName, outPipeName): make these const.
1302
1303 2005-01-19  Angus Leeming  <leeming@lyx.org>
1304
1305         * lyx_main.C (error_handler, init): protect SIGHUP with
1306         #ifdef SIGHUP guards.
1307
1308 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1309
1310         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1311
1312 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1313
1314         * text.C (setHeightOfRow): add a margin at the top and bottom of
1315         the document (bug 1761)
1316
1317 2005-01-17  Angus Leeming  <leeming@lyx.org>
1318
1319         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1320         with "python ". Workaround for a brain-dead Windows.
1321
1322 2005-01-16  Angus Leeming  <leeming@lyx.org>
1323
1324         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1325         for MacOSX and Windows to use prependEnvPath.
1326         Strip out the hard-coded block to add elements to the PATH for
1327         MacOSX and replace it with a call to prependEnvPath using the
1328         contents of LyXRC::path_prefix.
1329         (queryUserLyXDir): strip out the code to run reconfigure, instead
1330         returning a boolean indicating the necessity to do so.
1331         (reconfigureUserLyXDir): contains the code to reconfigure the
1332         user support directory. Is now called after the various LyXRC data
1333         files have been read.
1334
1335         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1336
1337 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1338
1339         * converter.[Ch] (convert): take a new parameter try_default. Use
1340         a default converter (imagemagick) if try_default is true.
1341
1342 2005-01-13  Angus Leeming  <leeming@lyx.org>
1343
1344         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1345         os::cygwin_path_fix.
1346         (write): output LyXRC::cygwin_path_fix as necessary.
1347
1348 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1349
1350         * lyxrc.h:
1351         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1352
1353 2005-01-12  Angus Leeming  <leeming@lyx.org>
1354
1355         * lyx_main.C (init): set the PATH variable to include the
1356         directory containing the LyX binary when running on Mac or Windows.
1357
1358 2005-01-12  Angus Leeming  <leeming@lyx.org>
1359
1360         * lyx_main.C (init): remove cruft that purports to set the locale
1361         dir. It doesn't and is not needed anyway.
1362
1363 2005-01-10  Angus Leeming  <leeming@lyx.org>
1364
1365         * Makefile.am: remove the lyx_main.C special casing.
1366
1367         * BufferView_pimpl.C:
1368         * bufferlist.C:
1369         * exporter.C:
1370         * lyx_cb.C:
1371         * lyx_main.C:
1372         * lyxfunc.C:
1373         * messages.C: use support/package.h to provide the paths to the
1374         various directories used by LyX.
1375
1376 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1377
1378         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1379         layout if pasting into an empty paragraph)
1380
1381 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1382
1383         * tex-accent.C: add <string>
1384
1385 2005-01-06  José Matos  <jamatos@lyx.org>
1386
1387         * ParagraphParameters.C (write): put every parameter in its own line.
1388         * paragraph.C (write): reduce number of consecutive empty lines exported.
1389         * buffer.C (LYX_FORMAT): increase file format to 239.
1390
1391 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1392
1393         * everywhere: change support/tostr.h -> support/convert.h
1394
1395         * tabular.C: make all write_attributes templates, tostr -> convert
1396
1397         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1398         (emptyTag): and -> &&, and fix type for ret from getChar
1399         (getFirstWord): fix type for ret from getChar
1400         (onlyText): and -> &&
1401         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1402         getChar
1403
1404         * toc.C (goTo, action):
1405         * text3.C (dispatch):
1406         * text.C (currentState):
1407         * tex-accent.C (DoAccent):
1408         * sgml.C:
1409         * lyxrc.C:
1410         * lyxfunc.C (menuNew):
1411         * lyxfinc.C (replace):
1412         * counters.C (laberItem):
1413         * bufferview_funcs.C (font2string):
1414         * bufferparams.C (writeFile):
1415         * buffer.C (readFile):
1416         * Spacing.C (set):
1417         * MenuBackend.C: tostr -> convert
1418
1419         * LaTeX.C (runMessage): fix format
1420         (scanAuxFiles): tostr -> convert
1421
1422         * BufferView_pimpl.C (savePosition): fix format
1423         (restorePosition): ditto
1424         (dispatch): ditto
1425
1426 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1427
1428         * Spacing.[Ch]: New method getValueAsString().
1429
1430         * Spacing.[Ch]:
1431         * bufferparams.C:
1432         * ParagraphParameters.C:
1433         * lyxlayout.C:
1434         * text.C:
1435         * text3.C: store/read spacing value as string.
1436
1437         * rowpainter.C: change float value (spacing_val) to double.
1438
1439         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1440         broken custom document spacing).
1441
1442 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1443
1444         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1445         namespace, also more use of temp references and const
1446
1447         * cursor.[Ch] (getStatus): move to lyxfunc.C
1448
1449         * bufferparams.C: reformat slightly
1450
1451         * bufferview_funcs.C (font2string): constify arg
1452
1453         * changes.C:
1454         * converter.C:
1455         * counters.C:
1456         * bufferlist.C:
1457         * buffer_funcs.C: (many funcs): constify arg on function
1458         definitions, also make more local vars const, also add ASSERTS on
1459         pointer args.
1460
1461         * buffer.C (LYX_FORMAT): put const in correct place
1462         (many funcs): constify arg on function definitions, also make
1463         more local vars const
1464
1465         * aspell_local.h: remove "struct" from typdef setup
1466
1467         * aspell.C (check): make word_ok const
1468         (nextMiss): simplify slightly
1469         (error): ditto
1470
1471 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1472
1473         * lyxrc.[Ch]: store all float values as strings.
1474         use int (not float) for lyxrc.dpi.
1475
1476 2005-01-04  Angus Leeming  <leeming@lyx.org>
1477
1478         * lyx_cb.C (Reconfigure):
1479         * lyx_main.C (queryUserLyXDir):
1480         to run the <system_lyxdir>/configure correctly on Windows, prefix
1481         the path to the script with "sh " when generating the string that
1482         is passed to system().
1483
1484 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1485
1486         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1487
1488 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * lyxlength.C (asLatexString): get rid of setprecision
1491
1492 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1493
1494         * text2.C (setLayout): remove unused variable endpit.
1495         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1496
1497         * paragraph.C (onlyText): remove unused variable style.
1498
1499         * cursor.C (bruteFind): remove unused variables beg and end.
1500
1501         * Makefile.am (dist_noinset_DATA): not needed anymore
1502
1503         * cheaders/*: remove.
1504
1505 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1506
1507         * text3.C: fix LFUN_MATH_MODE.
1508
1509 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1510
1511         * buffer_funcs.C (countWords): new function. Counts words between
1512         two iterators.
1513
1514         * BufferView_pimpl.C (getStatus, dispatch): handle
1515         LFUN_WORDS_COUNT.
1516
1517         * LyXAction.C (init):
1518         * lfuns.h: add LFUN_WORDS_COUNT.
1519
1520 2004-12-19  Angus Leeming  <leeming@lyx.org>
1521
1522         * buffer.C (save): s/slashify_path/internal_path/.
1523
1524 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1525
1526         * lyxfind.C (findChange): do not search for end of pars, because
1527         the change tracker cannot handle this (fixes bug 1719).
1528
1529 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1530
1531         * paragraph.[Ch] (autoBreakRows): remove
1532
1533         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1534
1535         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1536         avoid using the paragraph one
1537
1538         * text2.C (LyXText, insertStringAsLines): adjust
1539
1540 2004-12-16  Angus Leeming  <leeming@lyx.org>
1541
1542         * bufferlist.C:
1543         * lyx_main.C:
1544         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1545
1546 2004-12-14  Angus Leeming  <leeming@lyx.org>
1547
1548         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1549
1550         * bufferlist.C (emergencyWrite):
1551         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1552         GetEnvPath("HOME").
1553
1554 2004-12-14  Angus Leeming  <leeming@lyx.org>
1555
1556         * main.C: (main): no longer pass pointers to os::init.
1557
1558 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1559
1560         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1561         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1562
1563 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1564
1565         * lyxfunc.C:
1566         * text3.C: remove selection_possible global flag
1567
1568 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1569
1570         * text2.C (getSelectionSpan): remove
1571         (changeDepth, changeDepthAllowed): adjust
1572
1573 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1574
1575         * Makefile.am (BOOST_LIBS): use boost variables
1576
1577 2004-12-03  José Matos  <jamatos@lyx.org>
1578
1579         * buffer.C: format up to 238.
1580
1581 2004-12-03  José Matos  <jamatos@lyx.org>
1582
1583         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1584
1585 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1586
1587         * cursor.C (goUpDown): remove call to idxUpDown2
1588
1589 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1590
1591         * tabular.[Ch]: use size_t-like types for cell, row and column
1592         indices
1593
1594 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1595
1596         * lyxfunc.C (getStatus): do not lose previous information when
1597         calling BufferView::getStatus; do not set a default "Command
1598         disabled" message at the beginning, but just before returning.
1599
1600 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1601
1602         * cursor.h (getStatus): add better comment from src/cursor.C
1603
1604 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1605
1606         * text3.C (getStatus): return false when the lfun is not handled
1607
1608 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1609
1610         * broken_headers.h: remove
1611
1612         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1613
1614 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1615
1616         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1617         offset_ref accessors
1618
1619         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1620         top_y_, merge fitcursor with update
1621         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1622         coord scheme
1623         (metrics): introduce
1624         (workAreaDispatch): adapt to new coord scheme
1625         (redoCurrentBuffer): remove
1626
1627         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1628
1629         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1630         CurStatus enum.
1631
1632         * coordcache.[Ch]: add paragraph cache and helpers
1633
1634         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1635         adjust everywhere
1636
1637         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1638         (targetX, setTargetX): introduce
1639
1640         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1641         baseline -> ascent, as the rest of lyx
1642
1643         * lyxtext.h: remove redoParagraphs, updateParPositions,
1644         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1645         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1646         have ascent/descent (ascent is ascent of first par)
1647
1648         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1649         step of BufferView
1650
1651         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1652
1653         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1654
1655         * pariterator.C: fix infinite loop introduced in par->pit renaming
1656
1657         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1658         in insets and LyXText, draw two off-screen paragraphs using
1659         NullPainter, and adapt to new coord scheme
1660
1661         * text.C:
1662         * text2.C:
1663         * text3.C: adapt lfun handlers to the new coord scheme, which
1664         means: there's only guaranteed coord information for onscreen pars
1665         plus one above and one below. This implies that one can do search
1666         from y coordinates in the range [-1,workHeight]
1667
1668 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1669
1670         * rename a lot of InsetOld to InsetBase
1671
1672 2004-11-25  Angus Leeming  <leeming@lyx.org>
1673
1674         * BufferView_pimpl.C:
1675         * lyx_cb.C:
1676         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1677
1678 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1679
1680         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1681         call BufferView::getStatus if LCursor::getStatus did nothing
1682         (setStatusMessage, getStatusMessage): removed.
1683
1684         * FuncStatus.C (message): new methods. Used to provide an error
1685         message indicating why a command is disabled.
1686         (clear, |=, FuncStatus): update for message.
1687
1688 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1689
1690         * lyxfunc.C (dispatch): always call sendDispatchMessage
1691
1692 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1693
1694         * BufferView.C:
1695         * BufferView_pimpl.C:
1696         * CutAndPaste.C:
1697         * FontIterator.C:
1698         * buffer.C:
1699         * cursor.C:
1700         * cursor_slice.[Ch]:
1701         * dociterator.[Ch]:
1702         * lyxfind.C:
1703         * paragraph_funcs.C:
1704         * pariterator.C:
1705         * rowpainter.C:
1706         * text.C:
1707         * text2.C:
1708         * text3.C:
1709         * undo.C: par->pit renaming
1710
1711 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1712
1713         * tabular.C (cellstruct): use initialization, store a shared_ptr
1714         to insettext instead of the insettext directly, adjust to fit.
1715         (operator=):  new function
1716         (swap): new function
1717         (rowstruct): use initialization
1718         (columnstruct): use initialization
1719         (ltType): use initialization
1720
1721
1722         * lyxlength.h (swap): new function
1723
1724         * LColor.[Ch] (operator=): use the common semantics
1725
1726 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1727
1728         * lyxfind.C (findNextChange): update the bufferview after setting
1729         the selection.
1730
1731 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1732
1733         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1734         number of InsetOptArgs has already been inserted.
1735
1736         * output_latex.C (latexOptArgInsets): new method. This outputs all
1737         the optarg insets, up to the limit defined in the layout file.
1738         (optArgInset): removed
1739         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1740
1741 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1742
1743         * paragraph.C (isLetter): remove special spellchecker-related
1744         code; return true also for digits
1745         (isWord, isKomma): remove
1746
1747         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1748         * lyxfind.C (MatchString()): use isLetter instead of isWord
1749
1750 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1751
1752         * pariterator.h (operatir=): comment out un-implemented member
1753         function.
1754
1755         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1756         static cast.
1757
1758 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1759
1760         * lyxfont.h: include LColor.h to satisfy concept checks.
1761
1762 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1763
1764         * pariterator.h: add typdefs for value_type, difference_type,
1765         pointer and reference to satisfy concept checks. Also add default
1766         constructor for same reason.
1767
1768         * pariterator.C (operator++): add post-increment operator to
1769         satisfy concept checks.
1770
1771         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1772         checks.
1773
1774         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1775
1776         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1777         checks. Also rename base_type to BaseType to follow naming
1778         standard better.
1779
1780         * FloatList.h: include Floating.h to satisfy concept checks.
1781
1782 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1783
1784         * lyxfunc.C (getStatus): when the origin of the request is menu or
1785         toolbar, and the LyXView does not have focus, do as if there was
1786         no buffer (bug 1720)
1787
1788         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1789         FuncRequest to individual entries of LFUN_SEQUENCE
1790
1791 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1792
1793         * output_latex.C (TeXOnePar): override runparams.moving_arg
1794         according to the needprotect value of the current paragraph (bug
1795         1739)
1796
1797         * paragraph.C (simpleTeXOnePar): no need to override
1798         runparams.moving_args here
1799
1800 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1801
1802         * vspace.C: fix off-by-one-error, related to fix #1682
1803
1804 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1805
1806         * lengthcommon.C: a more general fix for bug 1682
1807
1808 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1809
1810         * text.C (backspace): fix crash
1811
1812 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1813
1814         * format.[Ch] (getFormatFromFile): new method
1815         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1816
1817 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1818
1819         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1820
1821 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1822
1823         * lyxfunc.C (dispatch): remove the verbose argument
1824         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1825         instead
1826
1827         * kbmap.C (defkey): set the origin of func to KEYBOARD
1828
1829         * MenuBackend.C (MenuItem):
1830         * ToolbarBackend.C (add): set the origin of func to UI
1831
1832         * funcrequest.[Ch]: add origin member, which indicates which part
1833         of LyX requests an action
1834
1835 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1836
1837         * converter.C (move): don't lie in the error message
1838         * converter.h (isReachable, move): document
1839
1840 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1841
1842         * buffer.C: remove unused using lyx::support::atoi
1843         * paragraph_funcs.C: ditto
1844
1845 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1846
1847         * bufferlist.C (exists): use bind and equal_to instead of
1848         compare_memfun
1849         (getBuffer): ditto
1850         * lyxtextclasslist.C (NumberOfClass): ditto
1851
1852         * cursor.C (insert): use for_each instead of explicit for loop
1853
1854         * bufferlist.C (getFileNames): use std::transform and
1855         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1856
1857         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1858         for loop
1859
1860         * buffer.C (changeLanguage): use for_each instead of explicit for
1861         loop
1862         (hasParWithID): implement using getParFromID
1863
1864         * LaTeXFeatures.C: ws change only
1865
1866         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1867         to cleanup a bit.
1868
1869         * BufferView_pimpl.C (trackChanges): use for_each instead of
1870         expilicit for loop
1871
1872 2004-11-04  André Pönitz  <poenitz@gmx.net>
1873
1874         * undo.h:
1875         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1876
1877         * dociterator.C (asDocIterator): use hard assert again.
1878
1879 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1880
1881         * lyxlength.C (asLatexString): rewrite so that it does not use
1882         snprintf anymore
1883
1884 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1885
1886         * text3.C (specialChar, dispatch): make sure cursor moves to the
1887         right after inserting an inset
1888
1889 2004-11-02  José Matos  <jamatos@lyx.org>
1890
1891         * output_docbook.C (docbook):
1892         * paragraph.C (getID):
1893         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1894         garantee that the output is always legal.
1895
1896         * tabular.C (docbook):
1897         * outputprams.[Ch]: remove mixed contents.
1898
1899 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1900
1901         * text2.C (setCounter): prevent endless loop
1902
1903 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1904
1905         * exporter.C (copyFile): use the mover instead of support::copy()
1906         * exporter.C (Export): pass format and latex name to copyFile()
1907         * exporter.h (addExternalFile): document
1908         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1909
1910 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1911
1912         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1913
1914 2004-10-30  José Matos  <jamatos@lyx.org>
1915
1916         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1917         text and no inset or font change. This allows to use CDATA
1918         sections just for the whole paragraph.
1919
1920 2004-10-30  José Matos  <jamatos@lyx.org>
1921
1922         * paragraph.C (getFirstWord): remove unused variable.
1923
1924 2004-10-30  José Matos  <jamatos@lyx.org>
1925
1926         * paragraph.C (getFirstWord): the content should always be escaped
1927         there.
1928         (simpleDocBookOnePar):
1929         * output_docbook.C (makeEnvironment): replace reference to CDATA
1930         to style pass_thru.
1931
1932 2004-10-30  José Matos  <jamatos@lyx.org>
1933
1934         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1935
1936 2004-10-30  José Matos  <jamatos@lyx.org>
1937
1938         * output_docbook.C (makeParagraphs):
1939         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1940         standard paragraph has only a given type of content drop the wrapper.
1941
1942 2004-10-29  José Matos  <jamatos@lyx.org>
1943
1944         * output_docbook.C (makeEnvironment):
1945         * sgml.C (openTag):
1946         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1947
1948 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1949
1950         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1951         (cleanID): sanitize any id.
1952
1953 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1954
1955         * buffer.C, lyxlex_pimpl.C:
1956         * lyxlex_pimpl.C (setFile):
1957         s/getExtFromContents/getFormatFromContents/
1958
1959 2004-10-28  José Matos  <jamatos@lyx.org>
1960
1961         * output_docbook.C (makeEnvironment): move id to broadest possible
1962         scope.
1963
1964         * sgml.C (openTag): apply substitution of <> for all attributes.
1965
1966 2004-10-28  José Matos  <jamatos@lyx.org>
1967
1968         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1969         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1970         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1971
1972         * sgml.[Ch]: new version for open and closeTag for paragraph and
1973         for strings. Now they handle the ids of paragraphs.
1974
1975 2004-10-26  Angus Leeming  <leeming@lyx.org>
1976
1977         * Makefile.am: add mover.[Ch].
1978
1979         * converter.C (convert, move): use the new Movers to move external
1980         files to the temp directory.
1981
1982         * lyx_main.C (init): ensure that the global system_movers data
1983         is initialised.
1984
1985         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1986         preferences file.
1987
1988         * mover.[Ch]: new files, defining a Mover as a utility to move an
1989         external file between directories and, if necessary, manipulate this
1990         file using a helper script.
1991
1992 2004-10-25  José Matos  <jamatos@lyx.org>
1993
1994         * output_docbook.C (makeCommand): merge two if's that tested the
1995         same condition.
1996
1997 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1998
1999         * sgml.C (escapeString): fix warning in a better way
2000
2001 2004-10-25  José Matos  <jamatos@lyx.org>
2002
2003         * sgml.C (escapeString): import the require boosts header file for
2004         tie, and avoid a signed unsigned comparison.
2005
2006 2004-10-25  José Matos  <jamatos@lyx.org>
2007
2008         * sgml.h: add #include <string>
2009
2010 2004-10-25  José Matos  <jamatos@lyx.org>
2011
2012         * sgml.[Ch] (escapeString): new function to escape all the string.
2013
2014 2004-10-24  José Matos  <jamatos@lyx.org>
2015
2016         * paragraph.[Ch] (getFirstWord): new function to get the first
2017         word. Useful for description.
2018         (simpleDocBookOnePar): remove depth argument, add another that
2019         says where to start the paragraph.
2020
2021         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2022         use the new functions to fix cleanly the support for descriptions.
2023
2024 2004-10-24  José Matos  <jamatos@lyx.org>
2025
2026         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2027         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2028         * output_linuxdoc.C (linuxdocParagraphs):
2029         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2030         add buffer as argument.
2031
2032 2004-10-24  José Matos  <jamatos@lyx.org>
2033
2034         * output_docbook.C (makeEnvironment, searchEnvironment): place
2035         CDATA inside paragraphs and fix scope for listitems.
2036
2037 2004-10-24  José Matos  <jamatos@lyx.org>
2038
2039         * output_docbook.C: remove using statement for stack.
2040
2041 2004-10-23  José Matos  <jamatos@lyx.org>
2042
2043         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2044         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2045         docbook. The new scheme is recursive and makes use of iterators, the
2046         same as latex export works.
2047         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2048         directly with the paragraph contents. This code was moved up to
2049         output_docbook.C (docbookParagraphs).
2050         * sgml.C (openTag, closeTag): removed unneeded newlines.
2051         (closeEnvTags) removed.
2052
2053 2004-10-23  André Pönitz  <poenitz@gmx.net>
2054
2055         * undo.C (textUndoOrRedo):
2056         * dociterator.C (asDocIterator): work around crash
2057
2058         * cursor.C (getStatus): replace ASSERT by more verbose error message
2059           and manual correction of the problem. Should increase stability
2060           while providing more sensible information.
2061
2062 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2063
2064         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2065
2066         * bufferlist.C (previous, next): new methods
2067
2068         * lfuns.h:
2069         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2070
2071 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2072
2073         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2074         entities to preamble.
2075
2076 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2077
2078         * messages.C (Pimpl): strip off translation context information
2079
2080 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2081
2082         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2083         the cursor is correct (bug 1694)
2084
2085 2004-10-13  José Matos  <jamatos@lyx.org>
2086
2087         * output_docbook.C (docbookParagraphs): fix closing tags in the
2088         end of the document.
2089
2090 2004-10-09  José Matos  <jamatos@lyx.org>
2091
2092         * buffer.C: format up to 237.
2093         * bufferparams.C (write): use tostr to convert booleans to strings.
2094
2095 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2096
2097         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2098
2099 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2100
2101         * LaTeX.C: implement use of babel language in xindy.
2102
2103 2004-10-05  José Matos  <jamatos@lyx.org>
2104
2105         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2106         Add new translators to help reading and writing the lyx file.
2107
2108 2004-10-05  José Matos  <jamatos@lyx.org>
2109
2110         * ParagraphParameters.C (read):
2111         * text.C (readParToken): replace nexToken by more appropriate lex
2112         methods.
2113
2114 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2115
2116         * LaTeX.C (runMakeIndex):
2117         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2118         (usually 'makeindex') configurable.
2119
2120         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2121         with a variable rather than with a number.
2122
2123 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2124
2125         * output_latex.C (TeXOnePar): make sure font setting is the first
2126         thing that gets output (and the last at the end). Should fix bug
2127         1404.
2128
2129 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2130
2131         * pch.h: use proper signal include
2132
2133         * LaTeX.h: Use preferred calling of Boost.Signal
2134         * buffer.h: ditto
2135
2136 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2137
2138         * pch.h: dont include <boost/function/function0.hpp>
2139
2140         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2141
2142         * paragraph_pimpl.h: remove usage of ShareContainer
2143
2144         * paragraph_pimpl.C: remove initialization of ShareContainer.
2145
2146 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2147
2148         Fix bug #1666
2149
2150         * BufferView.C (putSelectionAt): change the semantics when
2151         backwards == true: now, this just swaps cursor and anchor wrt the
2152         forward case
2153
2154         * BufferView.h (putSelectionAt): add some documentation
2155
2156         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2157         make sure backwardChar is done at least once (to avoid getting
2158         stuck)
2159         (findNextChange): use putSelectionAt in the forward direction
2160         (operator()): use Paragraph::isWord
2161
2162 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2163
2164         * Spacing.C (set): c_str fix
2165
2166 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2167
2168         * lyx_cb.C (Reconfigure): quote the name of configure script in
2169         case it contains spaces
2170
2171 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2172
2173         * client: new dir
2174
2175         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2176         (BOOST_LIBS): use top_buildir when looking for the file
2177
2178 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2179
2180         * pch.h: do not use include boost/format.hpp, multiple symbols
2181                 will result (gcc bug)
2182
2183
2184 2004-08-23  José Matos  <jamatos@lyx.org>
2185
2186         * bufferparams.C (readToken): fix reading of the author field.
2187
2188 2004-08-20  José Matos  <jamatos@lyx.org>
2189
2190         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2191
2192 2004-08-20  José Matos  <jamatos@lyx.org>
2193
2194         * lyxlex.[Ch] (findToken): remove function.
2195
2196         * ParagraphParameters.C (findToken):
2197         * bufferparams.C (findToken): replace call for previous function
2198         with local copy. This local function has one more argument, the
2199         read string argument.
2200
2201 2004-08-16  José Matos  <jamatos@lyx.org>
2202
2203         * ParagraphParameters.C (write):
2204         * Spacing.C (writeFile):
2205         * bufferparams.C (writeLaTeX):
2206         * lyx_cb.C (Reconfigure):
2207         * paragraph.C (write):
2208         * tabular.C (write): remove unnecessary space at end of line.
2209
2210
2211 2004-08-16  José Matos  <jamatos@lyx.org>
2212
2213         * text.C (readParagraph): remove debug message.
2214
2215 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2216
2217         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2218         crash
2219
2220         * output_plaintext.C (asciiParagraph): set depth correctly
2221
2222         * outputparams.h: add member depth
2223
2224         * paragraph_funcs.C (ownerPar): remove.
2225
2226         * text2.C (setCounter): remove first_pit; comment out some
2227         non-working code that uses ownerPar
2228
2229         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2230         uses ownerPar
2231
2232 2004-08-16  José Matos  <jamatos@lyx.org>
2233
2234         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2235         For the same level of importance use the same chanel to report problems.
2236         (read): add code to deal with \begin_body and \end_body.
2237
2238
2239 2004-08-15  José Matos  <jamatos@lyx.org>
2240
2241         * lyxlex.C (getString): fix comment, buffer::readBody is now
2242         buffer:readDocument.
2243
2244         * tex-strings.C (string_papersize): Default -> default,
2245         Custom -> custom, for consistency with other options.
2246
2247 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2248
2249         * pch.h: new file
2250
2251         * Makefile.am: support pch
2252
2253 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2254
2255         * text.C (readParToken): remove the static LyXFont variable and
2256         pass it as a parameter instead. This fixes a nasty bug where an
2257         inset will be inserted with a bad font in some situations
2258         (readParagraph): adapt
2259
2260         * text2.C (setCounter): reduce number of calls to pars_[pit]
2261
2262         * text.C (singleWidth): add an assert, fix a test
2263
2264         * rowpainter.C (paintText): reduce number of calls to singleWidth
2265
2266         * paragraph.C (isHfill):
2267         (isNewline): ws only
2268
2269 2004-08-14  André Pönitz  <poenitz@gmx.net>
2270
2271         * text.C:
2272         * text2.C:
2273         * rowpainter.C:
2274         * lyxtext.h (several functions): use a Paragraph & argument
2275         instead of par_type
2276
2277 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2278
2279         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2280
2281         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2282
2283         * text.C (singleWidth): remove useless test
2284
2285 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2286
2287         * tabular.h: remove bogus comments
2288
2289         * tabular.C (getDescentOfRow):
2290         (isPartOfMultiColumn): add assertions
2291
2292         * lyxlength.C (inPixels): remove #warning
2293
2294 2004-08-14  André Pönitz  <poenitz@gmx.net>
2295
2296         * paragraph.h: inline getChar()
2297
2298         * BufferView.h: remove unused declarations
2299
2300 2004-08-14  José Matos  <jamatos@lyx.org>
2301
2302         * Buffer.[Ch] (readDocument): new name for old readBody.
2303         * Buffer.C: new file format, new keywords: \begin_document,
2304         \begin_header, \begin_body, \end_body.
2305
2306         * bufferparams.C (readToken): replace all calls to lex.nextToken
2307         by lex.next(). Do the same to eatLine except where really needed.
2308
2309         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2310         line when writing to the lyx file.
2311
2312         * output_plaintext.C (asciiParagraph): fix Bibliography style
2313         handling.
2314
2315         * text.C (read): fix end of file handling.
2316
2317 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2318
2319         * MenuBackend.C (Menu::operator[]): new method to access
2320         individual menu items
2321         (Menu::hasFunc): new method. search for an item that corresponds
2322         to a given func
2323         (MenuBackend::specialMenu): new method
2324         (MenuBackend::expand): if a special menu has been set, skip
2325         entries whose func() appears in this menu
2326
2327 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2328
2329         * text3.C: use Debug::DEBUG a bit more
2330
2331         * text.C (leftMargin): try to simplify a tiny bit change var x to
2332         l_margin. Dont output the wide margins always.
2333         (rightMargin): no margin in inner texts
2334
2335         * rowpainter.h (nestMargin): new func
2336         (changebarMargin): new func
2337         (rightMargin): new func
2338
2339         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2340         now functions.
2341         (paintLast): ditto
2342
2343         * factory.C (createInset): modify setDrawFrame
2344
2345         * cursor.C: use Debug::DEBUG a bit more
2346
2347 2004-08-14  André Pönitz  <poenitz@gmx.net>
2348
2349         * coordcache.[Ch]:
2350         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2351         cache for all insets in (at least partially) visible (top-level)
2352         paragraphs.
2353
2354         * BufferView_pimpl.C: reset external coord cache before every update.
2355         This means the coord cache only contains valid entries.
2356
2357 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2358
2359         bug 1096
2360         * BufferView_pimpl.C (getInsetByCode): move function out of class
2361         and change in to a template in anon namespace. Also fix to do what
2362         suits us better.
2363
2364 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2365
2366         bug 1305
2367         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2368         of char
2369         (breakParagraph): rename par to par_offset and use a local
2370         reference. Add code to keep the language over a rebreak.
2371         (breakParagraphConservative): rename par to par_offset, use a
2372         local reference
2373         (mergeParagraph): ditto
2374         (outerHook): ditto
2375         (isFirstInSequence): ditto
2376         (outerFont): rename pit to par_offset
2377
2378         * paragraph.C: ws change
2379         * paragraph.h: ditto
2380         * text3.C: ditto
2381         * text.C: ditto
2382
2383 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2384
2385         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2386         treatment for ']'
2387
2388         * paragraph.C (simpleTeXOnePar): when we have a \item with
2389         optional argument, enclose the argument with curly brackets (in
2390         case it contains a closing square bracket)
2391
2392         * text2.C (editXY):
2393         * text2.C (editXY):
2394         * text3.C (checkInsetHit): constify
2395
2396 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2397
2398         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2399         documents (bug 1629)
2400
2401 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2402
2403         Fix toggling of collapsable insets with the mouse (bug 1558)
2404
2405         * lyxfunc.C (dispatch): adapt to LCursor changes
2406
2407         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2408         make sure that dispatch is not invoked twice
2409
2410         * cursor.C (needsUpdate): new method
2411         (dispatch): return void
2412         (result): new method, to access the DispatchResult of the cursor.
2413
2414 2004-08-13  José Matos  <jamatos@lyx.org>
2415
2416         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2417
2418 2004-08-13  André Pönitz  <poenitz@gmx.net>
2419
2420         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2421
2422         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2423           multiple cells
2424
2425 2004-08-12  André Pönitz  <poenitz@gmx.net>
2426
2427         * text3.C: take out the 'cursor right' form insertInset and only
2428         do it in those places when it is really needed. Fixes crash on
2429         C-m...
2430
2431 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2432
2433         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2434
2435         * BufferView_pimpl.C (setBuffer): initialize the current font of
2436         the underlying LyXText
2437
2438 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2439
2440         * kbsequence.C (print): use UI native formatting for menu
2441         shortcuts
2442
2443         * text.C (insertChar): call Paragraph::insertChar with a font
2444         argument (cosmetic)
2445
2446         * paragraph.C (insertInset, insertChar): the version that takes a
2447         LyXFont argument is now a wrapper around the other one (the
2448         opposite used to be true).
2449
2450         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2451         argument. Font setting is done in Paragraph now.
2452
2453 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2454
2455         * outputparams.h: add new members intitle and lang.
2456
2457         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2458         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2459
2460 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2461
2462         * text3.C (dispatch): remove special handling of button 4 and 5,
2463         it is now taken care of in the frontend code.
2464
2465 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2466
2467         * Spacing.h: add <string> (STLPort compile fix)
2468
2469 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2470
2471         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2472
2473 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2474
2475         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2476         to bool.
2477
2478         * converter.C (showMessage): inherit from unary_function, make
2479         operator() const.
2480
2481         * buffer.C (writeFile): initialize retval
2482
2483         * InsetList.h: rename private variable list to list_
2484         * InsetList.[Ch]: adjust accordingly.
2485
2486 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2487
2488         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2489         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2490         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2491         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2492         * ParagraphParameters.C, LaTeXFeatures.C: replace
2493         "support/std_sstream.h" with <sstream>
2494
2495 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2496
2497         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2498         * lyxsocket.C (LyXServerSocket): ditto
2499         (serverCallback): ditto
2500
2501 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2502
2503         * LaTeXFeatures.C: check release date when loading jurabib.
2504
2505 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2506
2507         * lyxserver.C (startPipe): call register_socket_callback
2508         (endPipe): call unregister_socket_callback
2509
2510 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2511
2512         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2513         (LyXServerSocket): register the callback
2514         (LyXServerSocket): unregister the callback
2515         (fd): delete function
2516         (serverCallback): improve error checking and setup the callbacks.
2517         (dataCallback): change arg to fd.
2518         (writeln): new func (copied fro the client socket) used for server
2519         write to client.
2520         (LyXDataSocket): simplify
2521         (~LyXDataSocket): close ann unregiser callback
2522         (server): delete function
2523         (fd): delete function
2524         (readln): small changes, improve some std::string usage
2525         (writeln): constify a bit
2526
2527 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2528
2529         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2530         Qt frontend
2531
2532 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2533
2534         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2535         after it has been populated
2536
2537 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2538
2539         * text2.C (insertInset): move cursor when inserting inset.
2540
2541 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2542
2543         * kbmap.C (findbindings): a couple of new methods. returns a
2544         container of kb_sequence objects. The real work is done by the
2545         private recursive version
2546         (printbindings): uses findbindings to print out a bracketed list
2547         of bindings (renamed from findbinding).
2548
2549         * MenuBackend.C (binding): use kb_keymap::findbindings
2550
2551         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2552
2553 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2554
2555         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2556
2557 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2558
2559         * paragraph.C (isWord): return true on insets that report
2560         isLetter().
2561
2562         * text.C (getWord): use Paragraph::isWord to decide what is in a
2563         word and what is not; fix bug 1609.
2564
2565 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2566
2567         * tex-strings.C: add "none" to string_paperpackages[], fixes
2568         off-by-one-error in the paperpackage selection.
2569
2570         * lyxlex.[Ch]:
2571         * tex-strings.[Ch]: char const * string[n]
2572         -> char const * const string[]
2573
2574 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2575
2576         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2577         command, return early.
2578
2579 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2580
2581         * debug.h: add DEBUG to enum and fix size of ANY.
2582
2583         * debug.C: add support for Debug::DEBUG
2584         (showTags): cast errorTags.level to unsigned int
2585
2586         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2587         (redoCurrentBuffer): ditto
2588         (updateScrollbar): ditto
2589         * cursor.C (dispatch): ditto
2590         * text2.C (setLayout): ditto
2591         (setFont): ditto
2592         (updateCounters): ditto
2593         (editXY): ditto
2594         (deleteEmptyParagraphMechanism): ditto
2595
2596 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2597
2598         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2599         annotations to cleanup the Makefile slightly.
2600
2601 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2602
2603         * lyxrc.C: do not set user_email to a default value but use empty
2604         instead. The entry used to be translated, which does not work
2605         since at the point where lyxrc is constructed there is no
2606         translation service available
2607
2608         * messages.C (getLocaleDir): remove and use directly
2609         lyx_localedir() instead
2610
2611 2004-06-02  Angus Leeming  <leeming@lyx.org>
2612
2613         Fix crash caused by dereferencing null pointer 'exportdata' in
2614         OutputParams by creating a new ExportData variable on the heap,
2615         storing it in a boost::shared_ptr.
2616         The crash was triggered when generating an Instant Preview
2617         of an external inset.
2618
2619         * Makefile.am: add outputparams.C
2620
2621         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2622         (c-tor): allocate memory to it.
2623
2624         * exporter.C (c-tor): associated changes.
2625
2626 2004-06-01  Angus Leeming  <leeming@lyx.org>
2627
2628         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2629         contains data before calling isInset(0). (Bug 1513.)
2630
2631 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2632
2633         * exporter.C (checkOverwrite): new method
2634         * exporter.C (copyFile): new method
2635         * exporter.C (Export): copy referenced files to the document dir
2636         * exporter.[Ch]: new class ExportedFile
2637         * exporter.[Ch]: new class ExportData. Contains currently the
2638         names of referenced external files
2639         * outputparams.h: add exportdata member.
2640
2641 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2642
2643         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2644         version.C-tmp
2645
2646 2004-05-19  Angus Leeming  <leeming@lyx.org>
2647
2648         * LaTeXFeatures.C:
2649         * ToolbarBackend.C:
2650         * bufferparams.C:
2651         * lyxfunc.C: small changes due to the introduction of namespace
2652         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2653
2654 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2655
2656         * text3.C (dispatch): supress update when only moving the cursor
2657         * cursor.C (selHandle): remove commented code
2658
2659 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2660
2661         * paragraph.C (startTeXParParams): correct column count
2662         * CutAndPaste.C (pasteSelection): remove const_cast
2663         * output_docbook.C (docbookParagraphs): remove const_cast
2664         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2665         const_cast and return ParagraphList::const_iterator
2666         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2667         * output_plaintext.C (writeFileAscii): remove const_cast
2668         * paragraph.[Ch] (simpleTeXOnePar): make const
2669         * paragraph_funcs.C (outerPar): use const iterators
2670         * paragraph_pimpl.C (validate): use const iterators
2671         * text.C (setHeightOfRow): use const iterators
2672
2673 2004-05-17  Angus Leeming  <leeming@lyx.org>
2674
2675         * lfuns.h:
2676         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2677
2678         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2679         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2680         if the citation engine has changed.
2681
2682 2004-05-14  José Matos  <jamatos@lyx.org>
2683
2684         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2685         if the textclass does not provide it. Have it different for sgml and
2686         xml.
2687         support the language of document.
2688         * output_docbook.C (docbookParagraphs):
2689         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2690         first anchor as the id of the paragraph, remove special case code.
2691         * sgml.C (escapeChar): escape only < & >.
2692
2693 2004-05-14  Angus Leeming  <leeming@lyx.org>
2694
2695         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2696         dependencies on src/frontends/controllers/biblio.h. Define a
2697         CiteEngine_enum wrapper class to enable the enum to be forward
2698         declared.
2699
2700 2004-05-12  Angus Leeming  <leeming@lyx.org>
2701
2702         * buffer.C: up LYX_FORMAT to 234.
2703         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2704         use_numerical_citations with a single biblio::CiteEngine cite_engine
2705         variable.
2706         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2707
2708 2004-05-13  José Matos  <jamatos@lyx.org>
2709
2710         * converter.h:
2711         * converter.C (Converter, readFlags): add xml member.
2712         * outputparams.h: add XML flavor.
2713         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2714
2715 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2716
2717         * lyxfunc.C (dispatch):
2718         (getStatus): fix handling of LFUN_SEQUENCE
2719
2720 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2721
2722         * debug.C (showLevel): do not forget the end-of-line marker
2723
2724 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2725
2726         * kbmap.C (read): do not stop parsing a bind file when an error
2727         occurs (bug 1575)
2728
2729 2004-04-29  Angus Leeming  <leeming@lyx.org>
2730
2731         * cursor.C:
2732         * factory.C:
2733         * pariterator.C:
2734         * text2.C: wrap a bunch of #warning statements
2735         inside #ifdef WITH_WARNINGS blocks.
2736
2737 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2738
2739         * buffer.C: increment format to 233.
2740
2741 2004-04-28  Angus Leeming  <leeming@lyx.org>
2742
2743         * BufferView_pimpl.C:
2744         * lyxfunc.C:
2745         * text3.C:
2746         s/updateToolbar()/updateToolbars()/
2747         s/Toolbar.h/Toolbars.h/
2748
2749 2004-04-28  Angus Leeming  <leeming@lyx.org>
2750
2751         * BufferView.[Ch] (c-tor):
2752         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2753         No longer passes these data to the WorkArea generator.
2754
2755 2004-04-28  Angus Leeming  <leeming@lyx.org>
2756
2757         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2758
2759 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2760
2761         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2762
2763 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2764
2765         * output_latex.C (TeXEnvironment): make sure that there is a line
2766         break before \end{foo} for the last paragraph of a document
2767         (TeXOnePar): if the paragraph is at the end of the document (or
2768         inset) and the language has to be reset, then make sure that the
2769         line break is _before_ the language command, not after (fixes bug
2770         1225); also make sure that the language reset command is the first
2771         thing after the paragraph (to ensure proper nesting of
2772         environments and thus fix bug 1404)
2773
2774 2004-04-21  John Levon  <levon@movementarian.org>
2775
2776         * ToolbarBackend.h:
2777         * ToolbarBackend.C: make "name" be a programmatic name
2778         and a gui_name field.
2779
2780         * lyxfunc.C: display the minibuffer on M-x
2781
2782 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2783
2784         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2785         (bug 1526)
2786
2787 2004-04-19  Angus Leeming  <leeming@lyx.org>
2788
2789         * BufferView_pimpl.C (setBuffer): changed preview interface.
2790
2791         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2792         possible values.
2793
2794 2004-04-19  John Levon  <levon@movementarian.org>
2795
2796         * BufferView_pimpl.C:
2797         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2798
2799 2004-04-05  Angus Leeming  <leeming@lyx.org>
2800
2801         * text.C (redoParagraphs): add call to updateCounters(), thereby
2802         fixing the missing "Figure #:" label from the caption of a
2803         figure float.
2804
2805 2004-04-13  Angus Leeming  <leeming@lyx.org>
2806
2807         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2808         cursor is clicked out of an inset.
2809
2810 2004-04-13  Angus Leeming  <leeming@lyx.org>
2811
2812         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2813         than an InsetOld one.
2814
2815 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2816
2817         * format.[Ch]: add editor to Format
2818         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2819         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2820
2821 2004-04-08  André Pönitz  <poenitz@gmx.net>
2822
2823         * metricsinfo.h: remove PainterInfo::width member
2824
2825 2004-04-08  Angus Leeming  <leeming@lyx.org>
2826
2827         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2828         "\providecommand" rather than "\newcommand", thereby preventing
2829         clashes with packages that define "\boldsymbol" themselves.
2830         Eg, beamer.
2831
2832 2004-04-08  Angus Leeming  <leeming@lyx.org>
2833
2834         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2835         thereby squashing an unnecessary warning.
2836
2837 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2838
2839         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2840         setBuffer()
2841
2842 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2843
2844         * BufferView.C (setCursor): call redoParagraph (some insets could
2845         have been opened)
2846         (putSelectionAt): remove the 'double update' trick
2847
2848         * BufferView_pimpl.C (fitCursor): call refreshPar
2849         (workAreaDispatch): remove an uneeded update call
2850         (dispatch): remove some manual update calls
2851
2852         * cursor.[Ch]: remove cached_y_, updatePos
2853         (selHandle): set noUpdate when appropriate
2854
2855         * lyxfunc.C (dispatch): track if we need an update
2856
2857         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2858
2859         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2860         (paintSelection): cheap optimization, do not call cursorX when not
2861         needed
2862         (paintPars): change signature
2863         (refreshPar): add
2864         (paintText): adjust
2865         (paintTextInset): adjust
2866
2867         * text.C: adjust
2868
2869 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2870
2871         * lengthcommon.C: compilation fix: remove explicit array size from
2872         unit_name[] and friends
2873
2874 2004-04-05  Angus Leeming  <leeming@lyx.org>
2875
2876         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2877
2878         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2879         present only for the preferences dialog.
2880         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2881
2882 2004-04-05  Angus Leeming  <leeming@lyx.org>
2883
2884         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2885         to enable the frontends to export changes to lyxrc correctly.
2886
2887         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2888
2889 2004-04-07  André Pönitz  <poenitz@gmx.net>
2890
2891         * cursor.[Ch] (selClear, adjust): remove math
2892
2893         * cursor_slice.C: more agressive assert
2894
2895         * lyxfunc.C:
2896         * BufferView_pimpl.C: rework mouse event dispatch
2897
2898         * dociterator.C:
2899         * paragraph.C:
2900         * text2.C:
2901         * text3.C: adjust
2902
2903 2004-04-05  André Pönitz  <poenitz@gmx.net>
2904
2905         * cursor.[Ch] (valign, halign...): remove unneeded functions
2906
2907 2004-04-05  Angus Leeming  <leeming@lyx.org>
2908
2909         * lyxlength.[Ch] (unit_name et al.): const-correct.
2910
2911 2004-04-05  Angus Leeming  <leeming@lyx.org>
2912
2913         * BufferView_pimpl.C:
2914         * buffer.C:
2915         * counters.C:
2916         * cursor.C:
2917         * lyxfunc.C
2918         * paragraph.C:
2919         * pariterator.C:
2920         * text.C:
2921         * text2.C:
2922         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2923
2924 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2925
2926         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2927
2928 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2929
2930         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2931         * BufferView_pimpl.[Ch] (getStatus)
2932         * BufferView.[Ch] (getStatus): add
2933         * lyxfunc.C (getStatus): move lfuns handled in
2934         BufferView::dispatch to te function above
2935         * Cursor.C (setSelection): set selection() = true
2936
2937 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2938
2939         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2940
2941 2004-03-31  Angus Leeming  <leeming@lyx.org>
2942
2943         * lyxfunc.C (dispatch): Fall through to the generic
2944         Dialogs::show("preamble").
2945
2946 2004-03-31  Angus Leeming  <leeming@lyx.org>
2947
2948         * lyxfunc.C (dispatch): Fall through to the generic
2949         Dialogs::show("spellchecker").
2950
2951 2004-03-31  Angus Leeming  <leeming@lyx.org>
2952
2953         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2954         preferences dialog.
2955
2956 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2957
2958         * BufferView.C
2959         * cursor.[Ch]
2960         * dociterator.[Ch]:
2961         * insetiterator.[Ch]:
2962         * lyxfind.C:
2963         * lyxfunc.C:
2964         * pariterator.[Ch]:
2965         * text2.C:
2966         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2967
2968 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2969
2970         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2971         insets where we are putting the cursor.
2972
2973 2004-03-31  Angus Leeming  <leeming@lyx.org>
2974
2975         * lfuns.h:
2976         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2977
2978         * lyxrc.[Ch] (read, write): overloaded member functions taking
2979         a std::[io]stream arguments.
2980
2981         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2982
2983 2004-03-31  Angus Leeming  <leeming@lyx.org>
2984
2985         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2986         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2987
2988         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2989         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2990
2991 2004-03-31  Angus Leeming  <leeming@lyx.org>
2992
2993         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2994         the LFUN_ALL_INSETS_TOGGLE code.
2995
2996 2004-03-30  Angus Leeming  <leeming@lyx.org>
2997
2998         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2999         has died. Fall through to the generic Dialogs::show("document").
3000
3001 2004-03-30  Angus Leeming  <leeming@lyx.org>
3002
3003         * lfuns.h:
3004         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3005         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3006
3007         * lyxfunc.C (getStatus, dispatch): define the actions for these
3008         lfuns. Little more than a cut and pste job from ControlDocument.C
3009
3010         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3011
3012 2004-03-30  Angus Leeming  <leeming@lyx.org>
3013
3014         * lfuns.h:
3015         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3016         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3017
3018         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3019         open/closed state of ollapsable insets. Usage:
3020
3021         all-inset-toggle <state> <name>, where
3022         <state> == "open" || "closed" || "toggle" and
3023         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3024
3025         * lyxtext.h, text2.C (toggleInset): removed.
3026
3027         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3028         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3029         now passes LFUN_INSET_TOGGLE to the found inset.
3030
3031         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3032         is now invoked as "all-insets-toggle toggle branch".
3033
3034 2004-03-30  Angus Leeming  <leeming@lyx.org>
3035
3036         * dociterator.C:
3037         * insetiterator.C:
3038         * pariterator.[Ch]: added/corrected header blurb.
3039
3040 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3041
3042         * dociterator.[Ch]: add an inset_ member
3043         (backwardPos): implemented
3044         (backwardPos, forwardPos): use inset_ when the stack is empty.
3045         (doc_iterator_begin, doc_iterator_end): implemented
3046         * pariterator.[Ch]: adjust, add begin, end
3047         * insetiterator.[Ch]: adjust, add begin, end
3048         * cursor.C:
3049         * document.C:
3050         * BufferView.C:
3051         * BufferView_pimpl.C:
3052         * CutAndPaste.C: adjust
3053
3054 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3055
3056         * buffer.C: increment file format to 232.
3057         * LaTeXFeatures.C: add bibtopic package.
3058         * bufferparams.[Ch]: param \use_bibtopic.
3059
3060         * lyxrc.[Ch]: add lyxrc bibtex_command
3061         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3062
3063         * buffer.C: increment file format to 231.
3064
3065 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3066
3067         * dociterator.C: implement forwardPar
3068         * iterators.[Ch]: remove, replaced by
3069         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3070         * BufferView.C:
3071         * BufferView_pimpl.C:
3072         * CutAndPaste.C:
3073         * buffer.C:
3074         * bufferview_funcs.C:
3075         * cursor.C:
3076         * lyxfind.C
3077         * lyxfunc.C
3078         * paragraph_funcs.C
3079         * toc.C:
3080         * Makefile.am: adjust
3081
3082 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3083
3084         * CutAndPaste.C (pasteSelection): fix 2 crashes
3085         (eraseSelection): fix a crash
3086         * paragraph_funcs.C: remove a warning
3087
3088 2004-03-28  Angus Leeming  <leeming@lyx.org>
3089
3090         * lfuns.h:
3091         * LyXAction.C (init): new LFUN_PRINT.
3092
3093         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3094
3095 2004-03-27  Angus Leeming  <leeming@lyx.org>
3096
3097         * lfuns.h:
3098         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3099
3100         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3101
3102 2004-03-27  Angus Leeming  <leeming@lyx.org>
3103
3104         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3105         insetlist always contains non-null pointers to insets.
3106
3107 2004-03-26  Angus Leeming  <leeming@lyx.org>
3108
3109         * src/BufferView_pimpl.C:
3110         * src/CutAndPaste.C:
3111         * src/buffer.C:
3112         * src/iterators.C:
3113         * src/output_plaintext.C:
3114         * src/outputparams.h:
3115         * src/paragraph_funcs.C:
3116         * src/rowpainter.C:
3117         * src/text.C:
3118         * src/text2.C:
3119         * src/frontends/controllers/ControlErrorList.C:
3120         * src/frontends/gtk/FileDialogPrivate.C:
3121         * src/frontends/gtk/GPainter.C:
3122         * src/frontends/gtk/GToolbar.C:
3123         * src/frontends/qt2/QRef.C:
3124         * src/mathed/math_scriptinset.C: squash compiler warnings.
3125
3126 2004-03-26  Angus Leeming  <leeming@lyx.org>
3127
3128         * ispell.C (LaunchIspell::start):
3129         * lyx_cb.C (AutoSaveBuffer::start):
3130         invoke run(DontWait) rather than runNonBlocking().
3131
3132 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3133
3134         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3135
3136 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3137
3138         * kbsequence.C (print): adjust
3139
3140         * kbmap.C (printKeySym): rename and change signature
3141         (printKey): use LyXKeySym::print()
3142
3143 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3144
3145         * undo.C: add using std::advance to compile for stlport
3146
3147 2004-03-24  Angus Leeming  <leeming@lyx.org>
3148
3149         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3150         it leads to a crash when no buffer is present.
3151
3152 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3153             Martin Vermeer  <martin.vermeer@hut.fi>
3154
3155         * lyxfunc.C (dispatch):
3156         * bufferparams.C (readToken): use the new LColor::setColor
3157
3158         * LColor.[Ch] (setColor): new version that takes two strings as
3159         argument and creates a new color entry if necessary
3160
3161 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3162
3163         * buffer.C (makeLaTeXFile): if the main latex file that is
3164         processed is usually a subdocument of some master, then pretend
3165         for a while that it is actually the master
3166
3167 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3168
3169         * buffer.C (getLabelList):
3170         (getBibkeyList): use getMasterBuffer()
3171         (getMasterBuffer): new method. Returns the main document in the
3172         case where one is using included documents.
3173
3174 2004-03-25  André Pönitz  <poenitz@gmx.net>
3175
3176         * Makefile.am:
3177         * iterators.[Ch]:
3178         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3179
3180         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3181
3182         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3183         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3184
3185         * ParameterStruct.h: merge with ParagraphParameters
3186
3187         * lyxtext.h: remove LyXText::parOffset() and getPar()
3188
3189         * text3.C: Remove all 'manual' update calls. We do now one per user
3190         interaction which is completely sufficient.
3191
3192         * Bidi.C:
3193         * BufferView.[Ch]:
3194         * BufferView_pimpl.C:
3195         * FontIterator.[Ch]:
3196         * MenuBackend.C:
3197         * ParagraphParameters.[Ch]:
3198         * buffer.C:
3199         * buffer.h:
3200         * bufferlist.C:
3201         * cursor.[Ch]:
3202         * cursor_slice.[Ch]:
3203         * dociterator.[Ch]:
3204         * errorlist.[Ch]:
3205         * factory.C:
3206         * lfuns.h:
3207         * lyxfind.C:
3208         * lyxfunc.C:
3209         * output_docbook.[Ch]:
3210         * output_latex.[Ch]:
3211         * output_linuxdoc.[Ch]:
3212         * output_plaintext.[Ch]:
3213         * paragraph.[Ch]:
3214         * paragraph_funcs.[Ch]:
3215         * paragraph_pimpl.[Ch]:
3216         * rowpainter.C:
3217         * tabular.[Ch]:
3218         * text.C:
3219         * text2.C:
3220         * toc.C:
3221         * undo.[Ch]: adjust
3222
3223         * frontends/controllers/ControlDocument.C:
3224         * frontends/controllers/ControlErrorList.C:
3225         * frontends/controllers/ControlSpellchecker.C:
3226         * insets/inset.C:
3227         * insets/inset.h:
3228         * insets/insetbase.h:
3229         * insets/insetbibitem.C:
3230         * insets/insetbox.C:
3231         * insets/insetbranch.C:
3232         * insets/insetcaption.C:
3233         * insets/insetcharstyle.C:
3234         * insets/insetcharstyle.h:
3235         * insets/insetcollapsable.C:
3236         * insets/insetcollapsable.h:
3237         * insets/insetert.C:
3238         * insets/insetfloat.C:
3239         * insets/insetfoot.C:
3240         * insets/insetmarginal.C:
3241         * insets/insetnote.C:
3242         * insets/insetoptarg.C:
3243         * insets/insettabular.C:
3244         * insets/insettext.C:
3245         * insets/insettext.h:
3246         * insets/insetwrap.C:
3247         * mathed/math_mboxinset.C:
3248         * mathed/math_nestinset.C:
3249         * mathed/math_scriptinset.C:
3250         * mathed/math_scriptinset.h:
3251         * support/types.h:
3252
3253 2004-03-24  Angus Leeming  <leeming@lyx.org>
3254
3255         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3256         deal with any child processes that have finished but are waiting to
3257         communicate this fact to the rest of LyX.
3258
3259 2004-03-24  Angus Leeming  <leeming@lyx.org>
3260
3261         64-bit compile fixes.
3262
3263         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3264         (c-tor): pass lyx::pos_types rather than ints.
3265
3266         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3267         lyx::pos_type.
3268
3269         * text.C (Delete): compile fix.
3270         (getPar): ensure that function declaration is the same as that in
3271         the header file.
3272
3273 2004-03-23  Angus Leeming  <leeming@lyx.org>
3274
3275         * ispell.C (LaunchIspell):
3276         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3277         a boost::shred_ptr rather than a std::auto_ptr.
3278
3279 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3280
3281         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3282         handle LFUN_FILE_INSERT_*
3283
3284         * lyxrc.C (setDefaults, getDescription, output, read):
3285         * lyxrc.h: remove ps_command
3286
3287 2004-03-22  Angus Leeming  <leeming@lyx.org>
3288
3289         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3290         Ensure that error_handler is processed once only and that all data
3291         is saved before attempting to output any warning messages.
3292
3293         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3294
3295 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3296
3297         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3298
3299 2004-03-19  André Pönitz  <poenitz@gmx.net>
3300
3301         * cursor.[Ch] (reset): take main text inset as argument
3302
3303         * BufferView: adjust
3304         * BufferView_pimpl.C: adjust
3305
3306         * paragraph.[Ch]: fix completely broken operator=()
3307
3308 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3309
3310         * LColor.C (getFromLyXName): make sure that the color name is used
3311         as lowercase.
3312
3313 2004-03-17  Angus Leeming  <leeming@lyx.org>
3314
3315         * lfuns.h:
3316         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3317
3318         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3319         dialog and to kill a forked process.
3320
3321 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3322
3323         * text2.C (setCursorFromCoordinates): fix font problem
3324
3325 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3326
3327         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3328         bogus "rebuild cursor" code
3329
3330 2004-03-11  André Pönitz  <poenitz@gmx.net>
3331
3332         * buffer.[Ch]: use InsetText instead of LyXText as container for
3333         the main lyx text.
3334
3335         * dociterator.[Ch]: drop the BufferView * member which is not needed
3336         anymore after the change to buffer.C
3337
3338         * paragraph_funcs.C:
3339         * text.C:
3340         * text2.C:
3341         * BufferView.[Ch]:
3342         * BufferView_pimpl.[Ch]:
3343         * cursor.[Ch]:
3344         * cursor_slice.[Ch]: adjust
3345
3346         * text3.C: fix bug in mathDispatch
3347
3348 2004-03-08  André Pönitz  <poenitz@gmx.net>
3349
3350         * undo.[Ch]: use 'StableDocumentIterator' as base for
3351         the Undo struct.
3352
3353 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3354
3355         * LaTeXFeatures.C:
3356         * bufferparams.[Ch]: add jurabib support and param.
3357
3358         * LaTeX.C: add FIXME/comment.
3359
3360 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3361
3362         * buffer.C: increment file format to 230.
3363
3364 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3365
3366         * cursor.C (dispatch): avoid infinite loops
3367
3368 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3369
3370         * rowpainter.C (paintSelection): fix x coordinates
3371
3372 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3373
3374         * text.C (rowBreakPoint): fix breaking before displayed insets
3375
3376 2004-03-01  André Pönitz  <poenitz@gmx.net>
3377
3378         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3379
3380         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3381
3382         * Makefile.am:
3383         * BufferView.C:
3384         * BufferView_pimpl.C:
3385         * buffer.C:
3386         * lyxfind.C:
3387         * lyxfunc.C:
3388         * text.C:
3389         * text2.C:
3390         * text3.C: adjust
3391
3392 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3393
3394         * lyxtext.h:
3395         * text.C:
3396         * text2.C:
3397         * rowpainter.C:
3398         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3399         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3400
3401 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3402
3403         * Bidi.[Ch] (computeTables): const correctness
3404         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3405         fill_hfill, fill_label_hfill and x from Row
3406         * lyxtext.h: prepareToPrint returns a RowMetrics
3407         * rowPainter.C: adjust
3408         * text.C (prepareToPrint): use width, not textWidth. adjust
3409         (redoParagraphInternal, cursorX): adjust
3410         * text2.C (getColumnNearX): adjust
3411         (init): put a default value to the top LyXText::width
3412
3413 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3414
3415         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3416
3417 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3418
3419         * lyxtext.h: add FontIterator class
3420
3421         * text.C (FontIterator, operator*, operator->, operator++): add
3422         (rowBreakPoint, setRowWidth): adjust (fixing a
3423         rebreaking bug)
3424
3425 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3426
3427         * BufferView_pimpl.C (workAreaDispatch): allow also
3428         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3429
3430 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3431
3432         * text.C (rowBreakPoint): fix a bug showing with very large insets
3433
3434 2004-02-25  André Pönitz  <poenitz@gmx.net>
3435
3436         * text3.C:
3437         * cursor.[Ch]: move some mathed specific code to mathed
3438
3439 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3440
3441         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3442         use_tempdir in preferences
3443         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3444         tempfile creation
3445         * lyx_main.C: ensure that tempdir is valid
3446         * lyxlex.h: correct typo
3447         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3448         * paragraph.[Ch] (isMultiLingual): make const
3449         * cursor.[Ch] (openable): make const
3450
3451 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3452
3453         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3454
3455 2004-02-20  André Pönitz  <poenitz@gmx.net>
3456
3457         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3458
3459         * cursor.[Ch]: prepare for localized getStatus()
3460
3461         * lyxtext.h:
3462         * tabular.C:
3463         * text.C:
3464         * text2.C:
3465         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3466
3467 2004-02-20  André Pönitz  <poenitz@gmx.net>
3468
3469         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3470
3471 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3472
3473         * text2.C (setCursorFromCoordinates): switch to absolute coords
3474         (cursorUp): adjust
3475         (cursorDown): adjust
3476         * text3.C (dispatch): adjust
3477
3478 2004-02-16  André Pönitz  <poenitz@gmx.net>
3479
3480         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3481           insets/ChangeLog)
3482
3483         * cursor_slice.[Ch]: remove unneeded acessor function
3484
3485         * lyxtext.h: rename rtl() to isRTL()
3486
3487         * rowpainter.C:
3488         * tabular.C:
3489         * text.C:
3490         * text2.C:
3491         * text3.C: adjust
3492
3493 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3494
3495         * rowpainter.C (paintSelection): coord fix
3496
3497 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3498
3499         * Spacing.C: compile fix
3500
3501 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3502
3503         * cursor.C (dispatch): restore current_ before returning
3504
3505 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3506
3507         * text2.C (cursorUp, cursorDown): fix coords
3508         (moveUp): fix crash
3509
3510 2004-02-12  André Pönitz  <poenitz@gmx.net>
3511
3512         * lyxtext.h:
3513         * text.C:
3514         * text2.C:
3515         * text3.C: add LCursor & parameter to most cursor movement functions
3516           remove usage of LyXText::cursorRow() and cursorPar()
3517
3518         * cursor.[Ch]: add textRow() needed members
3519
3520         * BufferView.C:
3521         * BufferView_pimpl.C:
3522         * paragraph.[Ch]:
3523         * BufferView.C:
3524         * BufferView_pimpl.C: adjust
3525
3526 2004-02-11  André Pönitz  <poenitz@gmx.net>
3527
3528         * lyxfunc.C:
3529         * BufferView.[Ch]:
3530         * BufferView_pimpl.C: shift undo/redo handling
3531
3532         * cursor.[Ch]: fix mathed crash
3533
3534         * lyxfind.C:
3535         * lyxtext.h: move selectionAsText to LCursor
3536
3537         * output_latex.C:
3538         * paragraph.C:
3539         * text.C:
3540         * text2.C:
3541         * text3.C: adjust
3542
3543         * rowpainter.C: fix excessive drawing
3544
3545 2004-02-06  André Pönitz  <poenitz@gmx.net>
3546
3547         * BufferView.[Ch]:
3548         * BufferView_pimpl.[Ch]:
3549         * text3.C: move some text specific LFUN handling
3550
3551 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3552
3553         * text3.C (checkInsetHit): adjust coords
3554         * text2.C (getColumnNearX): adjust coords
3555         (edit): adjust coords
3556         * text.C (getRowNearY): add two asserts
3557
3558 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3559
3560         * converter.C:
3561         * format.C: add using std::distance to compile on gcc 2.95/stlport
3562
3563 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3564
3565         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3566
3567 2004-02-04  André Pönitz  <poenitz@gmx.net>
3568
3569         * BufferView.[Ch] (insertInset):
3570         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3571
3572         * text2.C:
3573         * text3.C: adjust
3574
3575 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3576
3577         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3578         on the default clause of the switch
3579         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3580         wasn't catched by LCursor::dispatch
3581
3582 2004-02-03  André Pönitz  <poenitz@gmx.net>
3583
3584         * BufferView.C:
3585         * cursor.[Ch]: some additional asserts
3586
3587         * undo.[Ch]: remove LyXText dependency in interface
3588
3589         * lyxfunc.C: adjust
3590
3591         * lyxtext.h (firstPar, lastPar): remove dead functions
3592
3593         * text.C:
3594         * text2.C:
3595         * text3.C:
3596         * paragraph.[Ch]: adjust
3597
3598 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3599
3600         * lyxfind.C (find): fix argument order in call to ::find
3601
3602 2004-02-02  André Pönitz  <poenitz@gmx.net>
3603
3604         * cursor.[Ch]: remove direct access to anchor
3605
3606         * text.C: remove findText() hack
3607
3608 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3609
3610         * iterators.[Ch] (lockPath): remove in favour of...
3611         * BufferView.[Ch] (setCursor): this addition
3612         * BufferView.C (putSelectionAt): adjust
3613         * undo.C (performUndoOrRedo): adjust
3614         * lyxfunc.C (dispatch): adjust
3615
3616 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3617
3618         * iterators.C (lockPath): add a missing slice
3619         * undo.C (performUndoOrRedo): remove redundant positioning code
3620
3621 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3622
3623         * vc-backend.C (scanMaster): ";" -> ';'
3624
3625 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3626
3627         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3628         std::binary_function
3629
3630         * lyxtextclass.C (compare_name): rename to...
3631         (LayoutNamesEqual): ...this
3632
3633         * lyxlex_pimpl.C (compare_tags): inherit from
3634         std::binary_function, put back into anon namespace
3635
3636         * lyxfind.C (MatchString): inherig from std::binary_function
3637         (findChange): use empty() istead of !size()
3638
3639         * format.C (FormatNamesEqual): new functor
3640         (getFormat): use it
3641         (getNumber): use it
3642         (add): use it
3643         (erase): use it
3644         (setViewer): use it
3645
3646         * converter.C (compare_Converter): rename to...
3647         (ConverterEqual): ...this, and fixup a bit.
3648         (getConverter): use it, and make function const
3649         (getNumber): use it, and make function const
3650         (add): use it
3651         (erase): use it:
3652
3653         * bufferlist.C: add using boost::bind
3654
3655         * MenuBackend.C (MenuNamesEqual): new functor
3656         (hasMenu): use it, and make function const
3657         (hasSubmenu): use nested bind to get rid of compare_memfun.
3658
3659 2004-01-30  André Pönitz  <poenitz@gmx.net>
3660
3661         * BufferView_pimpl.C:
3662         * cursor.C:
3663         * cursor.h:
3664         * cursor_slice.[Ch]:
3665         * lyxfunc.C:
3666         * lyxtext.h:
3667         * paragraph_funcs.C:
3668         * paragraph_funcs.h:
3669         * rowpainter.C:
3670         * text.C:
3671         * text2.C:
3672         * text3.C: move some of the edit(x,y) handling to the insets
3673         some coordinate changes.
3674
3675 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3676
3677         * text.C: add using statements for std::advance and std::distance
3678
3679         * paragraph.C: add using statement for std::distance
3680
3681         * lyxfind.C: add using statement for std::advance
3682
3683         * cursor.C (region): remove std:: from swap
3684         (openable): use nucleus in stead of operator->
3685
3686         * BufferView.C: add using statements for std::distance and std::swap
3687
3688 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3689
3690         * iterators.C: Remove the pimple, move the needed structures to
3691         the header file. Create accessor for the positions stack.
3692         (asPosIterator): remove function
3693
3694         * PosIterator.C (PosIterator): move constructors to top of file
3695         (PosIterator): reimplement the constructor taking a ParIterator in
3696         terms of setFrom.
3697         (setFrom): new function
3698         (operator!=): inline it
3699
3700 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3701
3702         * lyxfind.C (replaceAll): use std::advance
3703
3704         * iterators.h: inherit from std::iterator.
3705
3706         * PosIterator.C (advance, distance): remove
3707         * PosIterator.h: interit from std::iterator.
3708
3709 2004-01-26  André Pönitz  <poenitz@gmx.net>
3710
3711         * BufferView.[Ch]:
3712         * BufferView_pimpl.[Ch]:
3713         * InsetList.[Ch]:
3714         * PosIterator.[Ch]:
3715         * buffer.h:
3716         * bufferview_funcs.C:
3717         * cursor.[Ch]:
3718         * cursor_slice.h:
3719         * factory.[Ch]:
3720         * iterators.[Ch]:
3721         * lyxfind.C:
3722         * lyxfunc.C:
3723         * lyxtext.h:
3724         * output_docbook.C:
3725         * output_latex.C:
3726         * output_linuxdoc.C:
3727         * output_plaintext.C:
3728         * paragraph.[Ch]:
3729         * paragraph_funcs.[Ch]:
3730         * paragraph_pimpl.[Ch]:
3731         * rowpainter.C:
3732         * tabular.C:
3733         * tabular.h:
3734         * text.C:
3735         * text2.C:
3736         * text3.C: more IU:  dumps most of the rest of the mathcursor
3737     implementation into cursor.[Ch]; "globalize" a bit of it.
3738
3739 2004-01-25  Angus Leeming  <leeming@lyx.org>
3740
3741         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3742
3743 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3744
3745         * LaTeXFeatures.h: add nice_ and nice() const
3746         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3747
3748 2004-01-20  André Pönitz  <poenitz@gmx.net>
3749
3750         * BufferView.[Ch]:
3751         * BufferView_pimpl.C:
3752         * PosIterator.C:
3753         * bufferview_funcs.C:
3754         * cursor.[Ch]:
3755         * cursor_slice.[Ch]:
3756         * factory.C:
3757         * iterators.C:
3758         * lyx_cb.C:
3759         * lyxfind.C:
3760         * lyxfunc.C:
3761         * lyxtext.h:
3762         * rowpainter.C:
3763         * text.C:
3764         * text2.C:
3765         * text3.C:
3766         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3767           LCursor and mathcursor parts to LCursor and InsetBase.
3768
3769 2004-01-15  André Pönitz  <poenitz@gmx.net>
3770
3771         * cursor_slice.[Ch]: add a few covienience functions
3772
3773         * funcrequest.[Ch]: remove BufferView * member
3774
3775         * BufferView_pimpl.C:
3776         * cursor.C:
3777         * factory.[Ch]:
3778         * lyxfind.[Ch]:
3779         * lyxfunc.C:
3780         * lyxtext.h:
3781         * text3.C:
3782         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3783
3784 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3785
3786         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3787         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3788
3789 2004-01-13  André Pönitz  <poenitz@gmx.net>
3790
3791         * textcursor.[Ch]:
3792         * lyxtext.h: hide cursor and selection anchor behind accessor function
3793
3794         * BufferView.C:
3795         * BufferView_pimpl.[Ch]:
3796         * PosIterator.C:
3797         * bufferview_funcs.C:
3798         * cursor.h:
3799         * lyxfind.C:
3800         * lyxfunc.C:
3801         * text.C:
3802         * text2.C:
3803         * text3.C:
3804         * undo.C: adjust
3805
3806         * cursor.h:
3807         * cursor_slice.[Ch]: some integer type changes for inset unification
3808
3809         * lyxcursor.[hC]: remove, it's CursorSlice now.
3810
3811         * Makefile.am:
3812         * BufferView_pimpl.[Ch]:
3813         * bufferview_funcs.C:
3814         * cursor_slice.C:
3815         * lyxtext.h:
3816         * text.C:
3817         * text2.C:
3818         * text3.C:
3819         * textcursor.[Ch]: adjust
3820
3821 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3822
3823         * text2.C (undoSpan): add and use
3824         * text.C (breakParagraph): use undoSpan (fix bug 578)
3825         * lyxtext.h: adjust
3826
3827 2004-01-08  Angus Leeming  <leeming@lyx.org>
3828
3829         * BufferView_pimpl.C (MenuInsertLyXFile):
3830         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3831         * lyxfunc.C (menuNew, open, doImport):
3832         FileFilterList change to the FileDialog open and save functions.
3833
3834 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3835
3836         * ShareContainer.h: make isEqual and isUnique adaptable
3837
3838         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3839
3840 2004-01-07  Angus Leeming  <leeming@lyx.org>
3841
3842         * LyXAction.C:
3843         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3844
3845         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3846
3847         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3848         functions replacing find, replace and replaceAll.
3849
3850         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3851         LFUN_WORDFIND(FORWARD|BACKWARD).
3852
3853 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3854
3855         * text.C (breakParagraph): remove an outdated #warning
3856
3857 2004-01-07  André Pönitz  <poenitz@gmx.net>
3858
3859         * lyxfind.C: somewhat clearer logic
3860
3861         * text.C: prevent crash in cursorX on unitialized row cache
3862
3863 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3864
3865         * lyxcursor.[Ch] (operator>): add
3866         * textcursor.C (selStart, selEnd): use std::min and std::max
3867
3868 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3869
3870         * Chktex.C: include boost/format.hpp
3871
3872 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3873
3874         * InsetList.C: replace functor MathcIt with adaptable functor
3875         InsetTablePosLess
3876         (insetIterator): modify accordingly
3877
3878         * BranchList.h: move the BranchNamesEqual functor here from...
3879         * BranchList.C: ... to here
3880
3881         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3882         SameName and match.
3883         (add): replace a finding loop with std::find_if.
3884
3885 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3886
3887         * output_docbook.C: moving LatexParam functionality into
3888         .layout files
3889
3890 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3891
3892         * buffer.C: increment format to 229.
3893
3894 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3895
3896         * LaTeXFeatures.C:
3897         * lyx_sty.[Ch]: remove minipageindent_def
3898
3899         * LyXAction.C:
3900         * factory.C:
3901         * lfuns.h:
3902         * lyxfunc.C:
3903         * text3.C: remove LFUN_INSET_MINIPAGE
3904
3905 2003-12-28  Angus Leeming  <leeming@lyx.org>
3906
3907         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3908
3909 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3910
3911         * text2.C (setParagraph): fix off-by-one crash
3912
3913 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3914
3915         * output_docbook.C: header stuff for AGU
3916
3917 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3918
3919         * text2.C (redoCursor): remove
3920         * text.C:
3921         * text3.C:
3922         * BufferView_pimpl.C: remove calls to redoCursor and
3923         setCursor(cursor.par(), cursor.pos()) all around
3924
3925 2003-12-15  Angus Leeming  <leeming@lyx.org>
3926
3927         * buffer.C: up the format to 228.
3928
3929 2003-12-15  André Pönitz  <poenitz@gmx.net>
3930
3931         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3932         slices
3933
3934         * Makefile.am:
3935
3936         * BufferView_pimpl.C:
3937         * cursor.[Ch]:
3938         * lyxcursor.[Ch]:
3939         * rowpainter.[Ch]:
3940         * lyxtext.h:
3941         * text.C:
3942         * text2.C:
3943         * text3.C: adjust
3944
3945 2003-12-15  Angus Leeming  <leeming@lyx.org>
3946
3947         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3948         than getFromGUIName to manipulate the color.
3949
3950 2003-12-14  Angus Leeming  <leeming@lyx.org>
3951
3952         * BranchList.[Ch]: minimize the API.
3953         (Branch::getBranch, getColor): now return a 'const &'.
3954         (Branch::setSelected) now returns a bool set to true if the
3955         selection status changes.
3956         (BranchList::clear, size, getColor, setColor, setSelected,
3957         allBranches, allSelected, separator): removed.
3958         (BranchList::find): new functions, returning the Branch with
3959         the given name.
3960         (BranchList::add, remove): return a bool indicating that
3961         the operation was successful.
3962
3963         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3964         new InsetBranch::isBranchSlected member function.
3965
3966         * LColor.[Ch]: mimimize the API.
3967         (fill): renamed as addColor and made private.
3968         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3969         versions of these functions taking a string arg have been removed.
3970
3971         * bufferparams.C (readToken):
3972         * lyxfunc.C (dispatch):
3973         * lyxrc.C (read): changes due to the altered BranchList and
3974         LColor APIs.
3975
3976         * factory.C (createInset, readInset): changes due to altered
3977         InsetBranch c-tor.
3978
3979 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3980
3981         * factory.C:
3982         * lyxfunc.C: remove insetminipage. "minipage-insert"
3983         now produces a frameless minipage box inset.
3984
3985 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3986
3987         * textcursor.[Ch] (selStart,selEnd): add new methods
3988         remove selection::start, end, use LyXCursor::operator<
3989         * lyxcursor.[Ch] (operator<): add
3990         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3991         * BufferView.[Ch] (unsetXSel): add
3992         * text2.C (clearSelection): use unsetXSel,adjust
3993         * text.C: adjust
3994         * text3.C: adjust
3995         * rowpainter.C: adjust
3996         * bufferview_funcs.C (put_selection_at): adjust
3997
3998 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3999
4000         * BufferView_pimpl.C: small coord. correction
4001
4002 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4003
4004         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4005         dragging over the splash screen.
4006
4007 2003-12-11  Angus Leeming  <leeming@lyx.org>
4008
4009         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4010         as it is now handled in LyXText::dispatch.
4011
4012         * text3.C (doInsertInset): remove a level of nesting.
4013
4014 2003-12-11  Angus Leeming  <leeming@lyx.org>
4015
4016         * factory.C (createInset): changes due to the changed interface to
4017         InsetCommandMailer::string2params.
4018
4019 2003-12-10  Angus Leeming  <leeming@lyx.org>
4020
4021         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4022         'dialog-show-new-inset <inset name>'
4023
4024 2003-12-10  Angus Leeming  <leeming@lyx.org>
4025
4026         * buffer.C: up the format to 227.
4027
4028         * factory.C: the box inset is now identified simply by 'Box'.
4029
4030 2003-12-10  Angus Leeming  <leeming@lyx.org>
4031
4032         * buffer.C: up the format to 226.
4033
4034         * factory.C: the note inset is now identified simply by 'Note'.
4035
4036 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4037
4038         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4039         when a pit is enough. Standarize a couple of loops.
4040
4041 2003-12-05  Angus Leeming  <leeming@lyx.org>
4042
4043         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4044         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4045         data to the re-worked "log" dialog.
4046
4047 2003-12-03  André Pönitz  <poenitz@gmx.net>
4048
4049         * PosIterator.C:
4050         * iterators.C:
4051         * lyxtext.h:
4052         * output_latex.C:
4053         * paragraph_funcs.C:
4054         * text.C:
4055         * text2.C: use Inset::getText instead of Inset::getParagraph
4056
4057 2003-12-03  André Pönitz  <poenitz@gmx.net>
4058
4059         * buffer.[Ch]:
4060         * lyxtext.h:
4061         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4062         InsetText::read() as LyXText::read()
4063
4064 2003-12-02  Angus Leeming  <leeming@lyx.org>
4065
4066         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4067         type. Add a comment in the implementation that the function uses
4068         the stream's bad() function rather than fail() as the std::streams
4069         would do.
4070
4071 2003-12-02  André Pönitz  <poenitz@gmx.net>
4072
4073         * lyxlex.[Ch]: make interface more similar to std::stream
4074
4075         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4076
4077 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4078
4079         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4080
4081 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4082
4083         * vspace.[Ch]: remove VSpace::NONE
4084
4085 2003-12-01  André Pönitz  <poenitz@gmx.net>
4086
4087         * buffer.[Ch]:
4088         * lyxtext.h: move ParagraphList member to LyXText
4089         rename LyXText::ownerParagraphs to LyXText::paragraph
4090
4091         * CutAndPaste.C:
4092         * bufferview_funcs.C:
4093         * iterators.[Ch]:
4094         * lyx_cb.C:
4095         * paragraph.C:
4096         * rowpainter.C:
4097         * tabular.C:
4098         * text.C:
4099         * text2.C:
4100         * text3.C: adjust
4101
4102         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4103
4104         * undo.C: fix cursor positioning
4105
4106 2003-12-01  John Levon  <levon@movementarian.org>
4107
4108         * BufferView_pimpl.C: fix a crash on exit with
4109         a buffer open
4110
4111 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4112
4113         * BranchList.C: fix setSelected() method.
4114
4115 2003-11-28  André Pönitz  <poenitz@gmx.net>
4116
4117         * ParagraphParameters.[Ch]:
4118         * ParameterStruct.h: remove space above/below from Paragraph to
4119          InsetVSpace
4120
4121         * BufferView_pimpl.C:
4122         * factory.C:
4123         * lyxfunc.C:
4124         * lyxtext.h:
4125         * output_latex.C:
4126         * paragraph.C:
4127         * paragraph_funcs.C:
4128         * rowpainter.[Ch]:
4129         * text.C:
4130         * text2.C:
4131         * text3.C: adjust
4132
4133 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4134
4135         * factory.C: Syntax change for CharStyles
4136
4137 2003-11-28  André Pönitz  <poenitz@gmx.net>
4138
4139         * BufferView.[Ch]:
4140         * BufferView.[Ch]:
4141         * buffer.[Ch]:
4142         * buffer.[Ch]: move LyXText member
4143
4144 2003-11-28  André Pönitz  <poenitz@gmx.net>
4145
4146         * BufferView.[Ch]: make LyXText * text a private member
4147
4148         * BufferView_pimpl.C:
4149         * cursor.C:
4150         * iterators.C:
4151         * lyx_cb.C:
4152         * lyxfind.C:
4153         * lyxtext.h:
4154         * rowpainter.[Ch]:
4155         * text.C:
4156         * text2.C:
4157         * undo.C: adjust
4158
4159         * output_plaintext.C: cleanup
4160
4161 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4162
4163         * buffer.C:
4164         * lyxtextclass.[Ch]: parametrize SGML document header
4165
4166 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4167
4168         * converter.[Ch]:
4169         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4170         getFlavor().
4171
4172 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4173
4174         * text2.C (setFont): rework using PosIterator (no more recursive)
4175         (setCharFont): no more needed
4176         (setLayout): no more selection cursors fiddling (done by redoCursor)
4177         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4178         destroy remaining ones)
4179
4180 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4181
4182         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4183         * lyxtext.h: ditto
4184         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4185         selection cursors
4186         * lyxfunc.C: adjust
4187         * text3.C: adjust + re-allow multi par depth changes
4188         * textcursor.C: simplify a bit
4189
4190 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4191
4192         * src/buffer.C:
4193         * src/lyxlayout.C:
4194         * src/lyxlayout.h:
4195         * src/lyxtext.h:
4196         * src/output_docbook.C:
4197         * src/output_latex.C:
4198         * src/paragraph.C:
4199         * src/paragraph.h:
4200         * src/sgml.C:
4201         * src/sgml.h:
4202         * src/text2.C: Introducing a number of tags parametrizing various
4203         XML formats that we may want to support
4204
4205 2003-11-25  André Pönitz  <poenitz@gmx.net>
4206
4207         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4208
4209         * lyxtext.h (leftMargin/rightMargin): simplify interface
4210
4211         * rowpainter.C:
4212         * text.C:
4213         * text2.C:
4214         * text3.C: adjust
4215
4216 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4217
4218         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4219         master file to any child files. Fixes bug 546.
4220
4221 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4222
4223         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4224
4225 2003-11-24  André Pönitz  <poenitz@gmx.net>
4226
4227         * rowpainter.C: simplification
4228
4229         * text2.C (updateCounters): remove call to redoParagraph on
4230         changed labels as this is far too expensive.
4231
4232 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4233
4234         * converter.C (convert): fix a crash: this function gets
4235         called with buffer == 0 from importer code.
4236
4237 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4238
4239         * text3.C (cursorPrevious): make sure that we do not compare
4240         iterators form different containers.
4241         (cursorNext): ditto
4242
4243         * rowpainter.C (paintSelection): make sure that we do not compare
4244         iterators from different containers.
4245
4246         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4247         iterators from different ParagraphList containers.
4248         [NEXT] ditto
4249
4250         * text2.C (LyXText): change order of initialization slightly
4251         (operator=): new function. copy all variables except cache_par_
4252         (moveUp): make sure that we do not compare iterators from
4253         different ParagraphList constainers.
4254         (moveDown): ditto
4255
4256         * text.C (firstPar): new function
4257         (lastPar): new function
4258         (endPar): new function
4259
4260         * lyxtext.h: move things around and group public functions, public
4261         variables, private functions, private variables
4262
4263 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4264
4265         * factory.C: change call to InsetERT constructor to avoid
4266         additional invocation of method status
4267         * text2.C (toggleInset): remove redundant update() call
4268         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4269         instead of a Bufferview pointer
4270
4271 2003-11-21  André Pönitz  <poenitz@gmx.net>
4272
4273         * rowpainter.C: simplification
4274
4275 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4276
4277         * text3.C (dispatch): make possible to extend a word/row selection
4278         with the mouse
4279
4280 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4281
4282         * lyxtext.h: x0_,y0_ -> xo_,yo_
4283         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4284         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4285         * rowpainter.C (paintRows): paint full paragraphs
4286
4287 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4288
4289         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4290         screen coordinates)
4291
4292 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4293
4294         * lyxtext.h: add x0_, y0_
4295         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4296         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4297
4298 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4299
4300         * text2.C (setCursorIntern): move the x_target update here *
4301         * text3.C: change some bv() to true/false in calls to
4302         cursorUp/Down/Right/Left
4303         * cursor.C: use helper function.
4304
4305 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4306
4307         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4308         * paragraph_funcs.[Ch]: correct comment
4309         * rowpainter.C: do not paint selections away from bv->cursor()
4310         Fix a long standing selection painting bug.
4311         * text3.C: generalize mouse-selection code to LyXTexts other that
4312         top one
4313         * textcursor.C: do not use y coords if we can use par offsets
4314
4315 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4316
4317         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4318         cursor position after e.g. inset insert)
4319
4320 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4321
4322         * lyxfind.C (replace): adjust to locking removal + some
4323         code simplification
4324
4325 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4326
4327         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4328         of the path
4329
4330 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4331
4332         * lyxlayout.[Ch]:
4333         * output_docbook.C: XML sanitation: new layout
4334         parameters InnerTag and CommandDepth
4335
4336 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4337
4338         * BufferView_pimpl.C:
4339         * factory.C:
4340         * text3.C: Fix the insertion and modification of button-style
4341         insets
4342
4343 2003-11-13  André Pönitz  <poenitz@gmx.net>
4344
4345         * InsetList.[Ch]: remove deleteLyXText
4346
4347         * paragraph.[Ch]: cache beginOfBody position
4348
4349         * Bidi.C:
4350         * text.C:
4351         * text2.C:
4352         * text3.C: remove superfluous update() calls
4353
4354         * vspace.C: cleanup
4355
4356 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4357
4358         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4359         * BufferView.C (fitLockedInsetCursor): remove
4360         * cursor.[Ch] (getDim): add
4361         * text.C (getRowNearY): add faster version
4362         * text3.C: remove some update calls
4363
4364 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4365
4366         * LaTeXFeatures.C:
4367         * LyXAction.C:
4368         * MenuBackend.C:
4369         * MenuBackend.h:
4370         * dispatchresult.h:
4371         * factory.C:
4372         * lfuns.h:
4373         * lyxfunc.C:
4374         * lyxtextclass.C:
4375         * lyxtextclass.h:
4376         * text3.C: The Character Style /XML short element patch.
4377
4378 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4379
4380         * text3.C:
4381         * factory.C: Small step to solving 'unable to insert some insets'
4382         problem
4383
4384 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4385
4386         * cursor.[Ch] (updatePos): new function for updating the y
4387         position of the tip inset
4388         * bufferview_funcs.C (put_selection_at):
4389         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4390
4391 2003-11-11  André Pönitz  <poenitz@gmx.net>
4392
4393         * text.C: remove big comment on invalid Paragraph pointers as it is
4394         not valid anymore
4395
4396 2003-11-11  André Pönitz  <poenitz@gmx.net>
4397
4398         * text_funcs.[Ch]: merge with ...
4399
4400         * text.C: ... this
4401
4402         * lyxtext.h:
4403         * text2.C:
4404         * text3.C: adjust
4405
4406         * Makefile.am: remove text_funcs.[Ch]
4407
4408 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4409
4410         * cursor.C (getPos): return absolute cached y coord
4411
4412         * BufferView_pimpl.C (fitCursor): new simplistic code
4413         (workAreaDispatch): add a fitCursor call
4414
4415 2003-11-10  André Pönitz  <poenitz@gmx.net>
4416
4417         * BufferView.[Ch]:
4418         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4419
4420 2003-11-10  André Pönitz  <poenitz@gmx.net>
4421
4422         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4423         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4424         indicate that the cursor needs to leave an inset
4425
4426         * lyxtext.h: remove inset locking
4427
4428         * cursor.[Ch]: re-implement functionality provided by inset locking
4429
4430         * BufferView.[Ch]:
4431         * BufferView_pimpl.[Ch]:
4432         * LyXAction.C:
4433         * bufferview_funcs.[Ch]:
4434         * factory.C:
4435         * funcrequest.[Ch]:
4436         * iterators.C:
4437         * lyx_cb.C:
4438         * lyxfind.C:
4439         * lyxfunc.C:
4440         * text.C:
4441         * text2.C:
4442         * text3.C:
4443         * undo.C: adjust
4444
4445 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4446
4447         * PosIterator.[Ch]: replace the stack with a vector, add inset
4448         accesor
4449         * iterators.[C]: adjust
4450
4451 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4452
4453         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4454         replaced
4455         * paragraph_funcs.C (readParToken): put the correct id in the
4456         error item, not the id of the top paragraph
4457
4458 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4459
4460         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4461         * bufferview_funcs.C (put_selection_at): use the above
4462
4463 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4464
4465         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4466
4467 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4468
4469         * output_linuxdoc.h:
4470         * output_plaintext.h:
4471         * output.h:
4472         * output_docbook.h: add #include statements
4473
4474 2003-11-05  José Matos  <jamatos@lyx.org>
4475
4476         * output_docbook.[Ch]:
4477         * output_latex.[Ch]:
4478         * output_linuxdoc.[Ch]:
4479         * output_plaintext.[Ch]: New files for output formats.
4480         * output.[Ch]: New file for helper functions.
4481
4482         * buffer.[Ch]:
4483         * paragraph_funcs.[Ch]: output functions moved to new files.
4484
4485         * outputparams.h: rename of latexrunparams.h
4486
4487         * LaTeX.[Ch]:
4488         * buffer.[Ch]:
4489         * bufferlist.[Ch]:
4490         * converter.[Ch]:
4491         * exporter.C:
4492         * paragraph.[Ch]:
4493         * paragraph_funcs.[Ch]:
4494         * paragraph_pimpl.[Ch]:
4495         * tabular.[Ch]: rename ascii to plaintext
4496         and LatexRunParams to OutputParams.
4497
4498 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4499
4500         * iterators.[Ch] (text): require bv argument
4501         * undo.C (recordUndo):
4502         * lyxfunc.C (dispatch):
4503         * bufferview_funcs.C (put_selection_at): adjust
4504
4505 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4506
4507         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4508
4509 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4510
4511         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4512         nestings
4513
4514 2003-11-04  André Pönitz  <poenitz@gmx.net>
4515
4516         * cursor.[Ch]: restructure
4517
4518         * BufferView.[Ch]:
4519         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4520
4521         * iterators.[Ch] (asCursor): remove
4522
4523         * lfuns.h: remove LFUN_INSET_EDIT
4524
4525         * lyxfunc.C:
4526         * tabular.C:
4527         * text.C:
4528         * text2.C:
4529         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4530
4531 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4532
4533         * lyxfind.[Ch]: complete overhaul
4534         * BufferView_pimpl.C:
4535         * lyxfunc.C: adjust
4536         * paragraph.[Ch] (insert): add
4537
4538 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4539
4540         * BufferView.[Ch]:
4541         * lyxtext.h:
4542         * text.C: remove dead spellcheck code
4543
4544 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4545
4546         * dispatchresult.h: add a val setter
4547
4548         * cursor.C (dispatch): use a tempvar for data_[i]
4549
4550 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4551
4552         * PosIterator.[Ch]: compile fix
4553
4554 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4555
4556         * text.C (cursorPar): deactivate the cursor cache
4557
4558 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4559
4560         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4561
4562 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4563
4564         * text3.C (dispatch): adjust for new DisptchResult semantics.
4565
4566         * lyxfunc.C (dispatch): handle update when return from
4567         Cursor::dispatch, adjust for new DispatchResult semantics.
4568
4569         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4570         DispatchResult(true) mean to not update. Add class functions for
4571         setting dispatched and update, as well as reading.
4572
4573         * cursor.C (dispatch): don't handle update here
4574
4575 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4576
4577         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4578         * trans_mgr.C: adjust
4579
4580         * paragraph_funcs.C (readParToken): exception safety
4581
4582         * lyxvc.h: store the vcs pointer in a scoped_ptr
4583         * lyxvc.C: adjust
4584
4585         * lyxsocket.C (serverCallback): exception safety
4586
4587         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4588
4589         * ispell.C (clone): make it return a auto_ptr
4590
4591         * factory.C (createInset): exception safety
4592         (readInset): exception safety
4593
4594         * bufferlist.C (newBuffer): exception safety
4595
4596         * Thesaurus.C (Thesaurus): use initialization for aik_
4597
4598         * MenuBackend.C (expandToc): exception safety.
4599
4600 2003-11-03  André Pönitz  <poenitz@gmx.net>
4601
4602         * buffer.C:
4603         * buffer.h:
4604         * bufferview_funcs.C: remove getInsetFromId()
4605
4606         * lyxcursor.[Ch]:
4607         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4608
4609         * lyxfunc.C:
4610         * text2.C:
4611         * text3.C: adjust
4612
4613 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4614
4615         * PosIterator.C (distance, advance): new
4616         * bufferview_funcs.[Ch] (put_selection_at): new
4617         * iterators.[Ch] (lockPath): new
4618
4619 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4620
4621         * iterators.[Ch] (asPosIterator): added
4622         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4623         * PosIterator.[Ch]: added
4624
4625 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4626
4627         * text3.C:
4628         * lyxfunc.C:
4629         * cursor.C (dispatch):
4630         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4631
4632         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4633         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4634         contructor, add a class function dispatched. Remove operator>=
4635
4636 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * debug.C: only use the default constructor for debugstream
4639         (lyxerr) here.
4640
4641         * main.C (main): include debug.h and setup the lyxerr streambuf
4642         here.
4643
4644 2003-10-31  José Matos  <jamatos@lyx.org>
4645
4646         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4647
4648         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4649         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4650         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4651         * paragraph_pimpl.C (simpleTeXSpecialC):
4652         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4653         add LatexRunParams argument.
4654
4655         * exporter.C (Export): change call accordingly.
4656
4657         * latexrunparams.h: add new member to take care of the other backends.
4658 2003-10-30  José Matos  <jamatos@lyx.org>
4659
4660         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4661         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4662         factorise code for paragraph output.
4663         * buffer.[Ch]:
4664         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4665         move functions.
4666
4667 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4668
4669         * text3.C (dispatch):
4670         * lyxfunc.C (dispatch):
4671         * cursor.C (dispatch):
4672         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4673
4674         * dispatchresult.h: make the dispatch_result_t ctor explicit
4675
4676 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4677
4678         * sgml.[Ch]:
4679         * buffer.C: small refactoring of docbook stuff
4680
4681 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4682
4683         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4684         meaning.
4685
4686 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4687
4688         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4689         operator dispatch_result_t, and operators for == != and >=
4690
4691         * cursor.C (dispatch): adjust for operator dispatch_result_t
4692         removal. comment out call to update
4693
4694         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4695
4696 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4697
4698         * text3.C:
4699         * text2.C:
4700         * text.C:
4701         * lyxtext.h:
4702         * lyxfunc.C:
4703         * cursor.C:
4704         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4705         (dispatch):
4706
4707         * dispatchresult.h: new file, DispatchResult broken out of
4708         insets/insetbase.h
4709
4710         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4711
4712 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4713
4714         * text.C (rowBreakPoint): put a hack inside #if 0
4715
4716 2003-10-28  André Pönitz  <poenitz@gmx.net>
4717
4718         * lyxtext.h:
4719         * metricsinfo.C:
4720         * paragraph_funcs.C:
4721         * rowpainter.C:
4722         * text.C:
4723         * text2.C: general cleanup (lots of small stuff)
4724
4725 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4726
4727         * text2.C (cursorEnd): simple fix to the "end key goes to one
4728         before the end on last row" bug
4729
4730 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4731
4732         * text.C (backspace): fix the "zombie characters"
4733
4734 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4735
4736         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4737
4738 2003-10-27  André Pönitz  <poenitz@gmx.net>
4739
4740         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4741
4742         * factory.C: handle new InsetPagebreak, InsetLine
4743
4744         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4745         and move handling into new InsetPagebreak, InsetLine
4746
4747         * BufferView_pimpl.C:
4748         * LyXAction.C:
4749         * ParagraphParameters.C:
4750         * ParameterStruct.h:
4751         * lyxfunc.C:
4752         * lyxtext.h:
4753         * paragraph.C:
4754         * paragraph.h:
4755         * paragraph_funcs.C:
4756         * paragraph_pimpl.C:
4757         * rowpainter.C:
4758         * text.C:
4759         * text2.C:
4760         * text3.C: adjust
4761
4762 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4763
4764         * text.C:
4765         * lyxrow_funcs.[Ch]:
4766         * Bidi.C:
4767         * paragraph.C:
4768         * lyxtext.h:
4769         * rowpainter.C:
4770         * text2.C:
4771         * text3.C: remove lastPos uses in favour of Row::endpos
4772
4773 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4774
4775         * undo.C (performUndoOrRedo): fix two crashes by setting a
4776         cursor by hand and reordering some calls. Use bv->lockInset instead
4777         of inset->edit because the latter loses cursor information
4778
4779 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4780
4781         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4782         by Martin
4783         (rowBreakPoint): fix width. change point to point + 1.
4784         Add a missing check.
4785
4786 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4787
4788         * MenuBackend.C:
4789         * lyxfunc.C: fix (at least partly) the problems
4790         with the Nav menu and headers inside branch insets
4791         reported by Kayvan
4792
4793 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4794
4795         * paragraph.C (getChar): add strong asserts
4796
4797         * lyxrow_funcs.C (lastPos): remove hideous hack
4798
4799         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4800         (fill): adjust to that (avoid an infinite loop)
4801
4802 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4803
4804         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4805
4806 2003-10-23  André Pönitz  <poenitz@gmx.net>
4807
4808         * RowList_fwd.h: change list<> to vector<> to gain speed
4809         after suggestion from Alfredo
4810
4811 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4812
4813         * lyxtext.h: move the bidi stuff from here...
4814         * text.C: and here
4815         * text2.C: and here
4816         * Bidi.[Ch]: ... to here
4817
4818 2003-10-23  André Pönitz  <poenitz@gmx.net>
4819
4820         * lyxtext.h:
4821         * text.C (isLastRow, isFirstRow): new functions
4822
4823         * paragraph.h: new width cache member
4824
4825         * rowpainter.C: replace RowList::iterator with Row & where possible
4826
4827         * lyxfunc.C: replace several view()->text with a single call
4828
4829         * toc.C: fix 'unused' warning
4830
4831 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4834         when woring with stream::pos_type
4835         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4836
4837 2003-10-22  André Pönitz  <poenitz@gmx.net>
4838
4839         * lyxtext.h:
4840         * text.C: use Row & instead of RowList::iterator
4841
4842         * lyxrow.h: rename end() to endpos()
4843
4844         * rowpainter.C:
4845         * text.C:
4846         * text2.C: adjust
4847
4848 2003-10-22  Angus Leeming  <leeming@lyx.org>
4849
4850         * buffer.[Ch] (fully_loaded): new member function, returning true
4851         only when the file has been loaded fully.
4852         Used to prevent the premature generation of previews and by the
4853         citation inset to prevent computation of the natbib-style label.
4854
4855         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4856         templates are all set up.
4857
4858         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4859
4860 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4861
4862         * text.C: fixed an "oops" in the "is a bit silly"
4863         bug fix
4864
4865 2003-10-21  André Pönitz  <poenitz@gmx.net>
4866
4867         * FuncStatus.[Ch]: small stuff, whitespace
4868
4869         * lyxfont.[Ch]: operator<<() for debug reasons
4870
4871         * lyxfunc.C:
4872         * lyxrow_funcs.C:
4873         * lyxtext.h: whitespace, spelling
4874
4875         * paragraph.C: naming of variables
4876
4877         * text.C:
4878         * text2.C: small stuff
4879
4880
4881 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4882
4883         * text.C: (1) finish off the inset display() work;
4884         (2) fix the "is a bit silly" bug (accessing char
4885         past end of par).
4886
4887 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4888
4889         * text.C: re-introduce display() for insets, fixing the
4890         various bugs (stretch of line above, math inset
4891         positioning, ...)
4892
4893 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4894
4895         * text.C (rightMargin): remove spurious semicolon
4896
4897         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4898         1415)
4899
4900 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4901
4902         * text3.C: fix one crash due to wrong cursor def
4903
4904 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4905
4906         * vc-backend.C (scanMaster): make the regex static
4907
4908         * LaTeX.C (scanAuxFile): make the regexs static
4909
4910         * text3.C (doInsertInset, dispatch, dispatch):
4911         * text2.C (cursorUp, cursorDown):
4912         * text.C (selectNextWordToSpellcheck):
4913         * BufferView_pimpl.C (dispatch):
4914         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4915
4916 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4917
4918         * lyxsocket.C: include <cerrno>
4919
4920 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4921
4922         * lyxfunc.C (dispatch): remove textcache stuff
4923
4924         * bufferlist.C (release): remove textcache stuff
4925         (closeAll): ditto
4926
4927         * TextCache.C: delete file
4928         * TextCache.h: delete file
4929
4930         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4931
4932         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4933         delete of the bv_->text.
4934         (resizeCurrentBuffer): remove texcache stuff
4935         (workAreaResize): ditto
4936
4937 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4938
4939         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4940         action.
4941
4942 2003-10-16  André Pönitz  <poenitz@gmx.net>
4943
4944         * lyxrow.[Ch]:
4945         * paragraph.h:
4946         * rowpainter.C:
4947         * text.C:
4948         * text2.C:
4949         * text3.C: speed up by storing y positions per paragraph plus per-row
4950         offset instead of having a 'full' y position in the row.
4951
4952 2003-10-15  André Pönitz  <poenitz@gmx.net>
4953
4954         * iterators.[Ch]:
4955         * iterators.[Ch]:
4956         * undo.[Ch]: make undo aware of inner insets
4957
4958 2003-10-14  Angus Leeming  <leeming@lyx.org>
4959
4960         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4961         static member functions LyX::ref() and LyX::cref.
4962         (lastfiles): new accessor functions for the new lastfiles_ member var.
4963         (addLyXView, views_): add a new LyXView to the list of views_.
4964         (updateInset): loop over all LyXViews to call their own updateInset
4965         member function, returning a pointer to the Buffer owning the inset.
4966
4967         * BufferView_pimpl.C (loadLyXFile):
4968         * MenuBackend.C (expandLastfiles):
4969         * bufferlist.C (MenuWrite, QuitLyX):
4970         lastfiles is no longer a global variable.
4971         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4972
4973         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4974         static function. Access through LyX::cref().emergencyCleanup().
4975
4976 2003-10-14  André Pönitz  <poenitz@gmx.net>
4977
4978         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4979
4980         * undo.[Ch]: restoring part of 'undo in insets'
4981
4982         * Makefile.am:
4983         * undo_funcs.[Ch]: merge with undo.[Ch]
4984
4985         * tabular.C: small cleansing stuff
4986
4987 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4988
4989         * paragraph_funcs.C (readParToken): report unknown insets as error
4990         boxes. Use the outer paragraph as location (also for unknown
4991         tokens).
4992
4993         * factory.C (readInset): do not abort on reading an unknown inset.
4994         Eat it and return 0.
4995
4996 2003-10-13  Angus Leeming  <leeming@lyx.org>
4997
4998         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4999
5000         * lyxrc.C: displayTranslator is now a function,
5001         declared in GraphicsTypes.h.
5002
5003 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5004
5005         * format.C: new placeholder $$a to pass the socket address.
5006
5007         * bufferlist.[Ch]: new function getBufferFromTmp.
5008
5009         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5010           files in the temporary dir.
5011
5012 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5013
5014         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5015
5016         * Makefile.am: add lyxsocket.[Ch].
5017
5018         * lyx_main.C (error_handler): handle SIGPIPE.
5019
5020 2003-10-13  André Pönitz  <poenitz@gmx.net>
5021
5022         * BufferView_pimpl.C:
5023         * lyxtext.h:
5024         * text.C:
5025         * text2.C:
5026         * text3.C:
5027         * undo_funcs.[Ch]: use paroffset_type instead of
5028           ParagraphList::iterators to prevent multiple conversion
5029           (and get a more robust interface)
5030
5031 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5032
5033         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5034         * lyxtext.h: ditto
5035         * text3.C (dispatch): ditto
5036
5037 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5038
5039         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5040         move the onlyfile, use onlyfile instead of foundfile in a couple
5041         of places.
5042
5043         * DepTable.C (update): flush the error stream a bit more
5044
5045 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5046
5047         * lyxserver.C (callback): adjust
5048
5049         * lyxfunc.C (getStatus): add a missing brace in commented code
5050         (ensureBufferClean): reindent
5051         (dispatch): delete version taking a string
5052
5053 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5054
5055         * LaTeX.C (deplog): move found file handlig from here...
5056         (handleFoundFile): .. to new function here.
5057         (deplog): make sure to discover several files mentioned on the
5058         same log line.
5059
5060 2003-10-10  André Pönitz  <poenitz@gmx.net>
5061
5062         * lyxfunc.C:
5063         * lyxtext.h:
5064         * tabular.C:
5065         * text.C:
5066         * text2.C:
5067         * text3.C: fix some of the tabular crashes
5068
5069 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5070
5071         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5072
5073         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5074
5075 2003-10-09  André Pönitz  <poenitz@gmx.net>
5076
5077         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5078
5079         * BufferView.C:
5080         * BufferView_pimpl.C:
5081         * bufferview_funcs.C:
5082         * lyx_cb.C:
5083         * lyxcursor.C:
5084         * lyxfind.C:
5085         * lyxfunc.C:
5086         * lyxtext.h:
5087         * text.C:
5088         * text2.C:
5089         * text3.C:
5090         * text_funcs.[Ch]:
5091         * textcursor.[Ch]:
5092         * undo_funcs.C: adjust
5093
5094 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5095
5096         * text2.C (incrementItemDepth): new function, use a backtracking
5097         algorithm to discover the correct item depth.
5098         (resetEnumCounterIfNeeded): new function, use a backtracking
5099         algorithm to discover if counter reset is needed.
5100         (setCounter): use them. Simplify a bit. Add different labels for
5101         different item depths for itemize.
5102
5103         * paragraph.C (Paragraph): remove initialization of enumdepth
5104         (operator=): ditto
5105
5106         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5107         enumerate and itemize. Change the type of itemdepth to signed char.
5108
5109 2003-10-08  André Pönitz  <poenitz@gmx.net>
5110
5111         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5112           thing assignable.
5113         * text.C:
5114         * text2.C: adjust
5115
5116         * tabular.[Ch]: fix crash after 'row-insert'
5117
5118 2003-10-08  Angus Leeming  <leeming@lyx.org>
5119
5120         Fix doxygen warnings.
5121
5122         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5123         Remove CutAndPaste:: prefix from header file declaration.
5124
5125         * LColor.h (fill): remove LColor:: prefix from declaration.
5126
5127         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5128         use lyx::depth_type rather than Paragraph::depth_type so that
5129         header file and .C file match.
5130
5131         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5132
5133         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5134         * aspell.C: \file aspell_local.C -> \file aspell.C
5135         * gettext.C: \file gettext.C -> \file src/gettext.C
5136         * gettext.h: \file gettext.h -> \file src/gettext.h
5137         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5138         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5139         * text.C: \file text.C -> \file src/text.C
5140
5141         * toc.C: move comment so that doxygen is not confused.
5142
5143 2003-10-07  Angus Leeming  <leeming@lyx.org>
5144
5145         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5146
5147 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5148
5149         * aspell.C:
5150         * aspell_local.h: add forgotten std::string's.
5151
5152 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5153
5154         * LaTeXFeatures.C:
5155         * LyXAction.C:
5156         * factory.C:
5157         * lfuns.h:
5158         * lyxfunc.C:
5159         * text3.C: The Box patch. Fancybox support, minipage, parbox
5160
5161 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5162
5163         * CutAndPaste.h:
5164         * DepTable.h:
5165         * FloatList.h:
5166         * LaTeXFeatures.h:
5167         * ParagraphParameters.h:
5168         * TextCache.h:
5169         * Thesaurus.h:
5170         * bufferlist.h:
5171         * exporter.h:
5172         * importer.h:
5173         * lastfiles.h:
5174         * lyxfind.h:
5175         * lyxfont.h:
5176         * lyxlex.h:
5177         * lyxtextclasslist.h:
5178         * messages.h:
5179         * paragraph.h:
5180         * paragraph_pimpl.C:
5181         * textcursor.h: add <string> and other small fixes to make Lars'
5182         std::string patch compile with STLport.
5183
5184 2003-10-06  Angus Leeming  <leeming@lyx.org>
5185
5186         * LColor.h: Add missing #include <string>.
5187
5188 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5189
5190         * All most all file in all subdirs: Make <string> be the prefered
5191         way of getting to std::string, add using declarations.
5192
5193 2003-10-06  André Pönitz  <poenitz@gmx.net>
5194
5195         * metricsinfo.C: initialize LyXFont before changing attribute.
5196         (fixes the 'math in \emph is upright' bug)
5197
5198 2003-10-06  André Pönitz  <poenitz@gmx.net>
5199
5200         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5201
5202 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5203
5204         * graph.C:
5205         * paragraph_pimpl.C: Small fixes to build using STLport
5206
5207 2003-10-02  André Pönitz  <poenitz@gmx.net>
5208
5209         * lyxfunc.C:
5210         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5211
5212 2003-10-01  André Pönitz  <poenitz@gmx.net>
5213
5214         * factory.C: assert early
5215
5216 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5217
5218         * lyx_main.C: remove the global debug object
5219
5220         * debug.h: adjust for new debugstream
5221
5222         * debug.C: adjust for new debugstream and keep the global debug
5223         object here.
5224
5225 2003-09-22  Angus Leeming  <leeming@lyx.org>
5226
5227         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5228         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5229         an incomplete class LyXFont.
5230
5231 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5232
5233         * factory.C: bug fix in branches
5234
5235 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5236
5237         * lyxfunc.C (processKeySym): adjust
5238         (dispatch): adjust
5239         (dispatch): change arg name from ev to func, adjust
5240         (sendDispatchMessage): ditto
5241
5242         * lyx_main.C (defaultKeyBindings): adjust keybindings
5243         (deadKeyBindings): ditto
5244
5245         * kbsequence.C (addkey): return a FuncRequest
5246
5247         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5248
5249         * kbmap.C (bind): take a FuncRequest as arg, adjust
5250         (read): adjust
5251         (lookup): adjust
5252         (defkey): change to take a FuncRequest as arg, adjust
5253         (findbinding): take a FuncRequest as arg, adjust.
5254
5255         * funcrequest.h (operator=): added
5256
5257         * funcrequest.C (FuncRequest): default kb_action changed from
5258         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5259
5260         * buffer.C (dispatch): simplify
5261         (dispatch): adjust to take a FuncRequest as arg, adjust
5262
5263         * boost.C (assertion_failed): change assertion message slightly
5264
5265         * ToolbarBackend.C (read): simplify
5266
5267         * MenuBackend.C (binding): adjust call to findbinding, add a
5268         message if no binding is found.
5269         (read): simplify
5270         (expandToc): correct by adding a empty FuncRequest
5271
5272         * LyXAction.C: include <boost/assert.hpp>
5273         (isPseudoAction): delete function
5274         (LookupFunc): change name to...
5275         (lookupFunc): this. change return type to FuncRequest.
5276         (getActionName): take kb_action as arg, simplify
5277         (funcHasFlag): add an assert, simplify.
5278
5279 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5280
5281         * toc.C (action): return a FuncRequest, simplify
5282
5283         * lyxfunc.C (processKeySym): adjust
5284         (getStatus): delete version that takes an int.
5285         (getStatus): adjust
5286         (dispatch): delete version that takes action as int
5287         (dispatch): adjust
5288         (sendDispatchMessage): simplify and adjust
5289
5290         * funcrequest.C (getArg): take unsigned int as arg
5291
5292         * ToolbarBackend.C (read): adjust
5293         (add): delete version that takes func as a string.
5294         (getIton): take a FuncRequest as arg
5295
5296         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5297         action.
5298
5299         * MenuBackend.C (MenuItem): add a new construct that only takes a
5300         Kind, simplify the constructor use for submenus.
5301         (add): adjust
5302         (expandLastfiles): adjust
5303         (expandDocuments): adjust
5304         (expandFormats): adjust
5305         (expandFloatListInsert): adjust
5306         (expandFloatInsert): adjust
5307         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5308
5309         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5310         Remove class variables lyx_pseudo_map and lyx_arg_map
5311
5312         * LyXAction.C (searchActionArg): delete function
5313         (getPseudoAction): delete function
5314         (retrieveActionArg): delete function
5315         (LookupFunc): make it return kb_action, simplify.
5316         (getActionName): simplify
5317
5318         * factory.C (createInset): fix new bug
5319
5320 2003-09-19  Angus Leeming  <leeming@lyx.org>
5321
5322         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5323         masterFilename_ parameter in the include inset.
5324
5325         * factory.C (createInset): changes due to the changes to InsetInclude.
5326
5327 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5328
5329         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5330
5331 2003-09-18  Angus Leeming  <leeming@lyx.org>
5332
5333         * buffer.C:
5334         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5335         Inset::fillWithBibKeys.
5336         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5337
5338 2003-09-18  Angus Leeming  <leeming@lyx.org>
5339
5340         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5341         variables.
5342         (ctor): pass and store a 'Buffer const &'
5343         (buffer): new member function.
5344
5345         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5346         '*this' to the LaTeXFeatures ctor.
5347
5348 2003-09-18  Angus Leeming  <leeming@lyx.org>
5349
5350         * LColor.h:
5351         * lyxfont.C:
5352         * lyxfont.h:
5353         * lyxtext.h:
5354         * text.C: rename EnumLColor as LColor_color.
5355
5356 2003-09-18  Angus Leeming  <leeming@lyx.org>
5357
5358         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5359         remove #include "insets/insetbase.h" from cursor.h.
5360
5361 2003-09-18  Angus Leeming  <leeming@lyx.org>
5362
5363         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5364         InsetOld_code to remove #include "inset.h".
5365
5366         * iterators.C: add #include "insets/inset.h"
5367
5368 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5369
5370         * BufferView.C: remove more locking stuff that apparently doesn't
5371         do anything sensible.
5372
5373 2003-09-16  André Pönitz  <poenitz@gmx.net>
5374
5375         * paragraph.[Ch]:
5376         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5377           performance boost.
5378
5379 2003-09-16  Angus Leeming  <leeming@lyx.org>
5380
5381         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5382
5383         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5384         arg/return type.
5385
5386         * paragraph.h: remove #include "lyxfont.h". Forward declare
5387         LyXFont_size.
5388
5389 2003-09-16  Angus Leeming  <leeming@lyx.org>
5390
5391         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5392         of support/textutils.h.
5393         (isWord): move the contents of support/textutils.h's IsWordChar here.
5394
5395         * buffer.C:
5396         * lyxfind.C:
5397         * rowpainter.C:
5398         * text.C:
5399         * text2.C: add #include "paragraph.h".
5400
5401         * rowpainter.C:
5402         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5403
5404 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5405
5406         * main.C:
5407         * lyx_main.C:
5408         * lyx_cb.C:
5409         * buffer.C:
5410         * LaTeX.C: use namespace alias for lyx::support::os
5411
5412 2003-09-16  Angus Leeming  <leeming@lyx.org>
5413
5414         * bufferparams.C:
5415         * bufferview_funcs.C:
5416         * factory.C:
5417         * lyxfunc.C:
5418         * paragraph_pimpl.C:
5419         * rowpainter.C:
5420         * text.C: add #include "LColor.h".
5421
5422 2003-09-16  Angus Leeming  <leeming@lyx.org>
5423
5424         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5425         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5426         return LyXFont &.
5427         Store the FontBits::color variable as an int rather than as an
5428         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5429         file.
5430
5431         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5432         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5433         string calls together.
5434
5435         * lyxrc.C: add #include "LColor.h".
5436
5437 2003-09-15  Angus Leeming  <leeming@lyx.org>
5438
5439         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5440         a cow_ptr.
5441
5442 2003-09-15  Angus Leeming  <leeming@lyx.org>
5443
5444         * LColor.h: add an EnumLColor wrapper for LColor::color.
5445
5446         * lyxfont.[Ch] (color, setColor, realColor):
5447         * lyxtext.h, text.C (backgroundColor):
5448         pass EnumLColor args to/from the functions, rather than LColor::color
5449         ones.
5450
5451         * lyxfont.h:
5452         * lyxtext.h: forward declare EnumLColor.
5453
5454         * lyx_main.C: add #include "LColor.h".
5455
5456 2003-09-15  Angus Leeming  <leeming@lyx.org>
5457
5458         * .cvsignore: add lyx-gtk.
5459
5460 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5461
5462         * Chktex.C
5463         * LaTeX.C
5464         * LaTeXFeatures.C
5465         * ParagraphParameters.C
5466         * Spacing.C
5467         * buffer.C
5468         * bufferparams.C
5469         * bufferview_funcs.C
5470         * chset.C
5471         * counters.C
5472         * funcrequest.C
5473         * lyxfont.C
5474         * lyxgluelength.C
5475         * lyxlength.C
5476         * paragraph.C
5477         * paragraph_funcs.C
5478         * text3.C
5479         * vc-backend.C: remove usage of STRCONV
5480
5481 2003-09-15  Angus Leeming  <leeming@lyx.org>
5482
5483         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5484         explicitly define the color passed to the painter.
5485
5486 2003-09-15  Angus Leeming  <leeming@lyx.org>
5487
5488         * bufferparams.C (BufferParams): reorder member initializers to avoid
5489         compiler warning.
5490
5491 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5492
5493         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5494         * text.C (updateRowPositions): remove an unusual nop
5495
5496 2003-09-12  André Pönitz  <poenitz@gmx.net>
5497
5498         * BufferView_pimpl.C:
5499         * Bullet.C:
5500         * layout.h:
5501         * lyxfunc.C:
5502         * lyxlayout.[Ch]:
5503         * lyxtextclass.C:
5504         * rowpainter.C:
5505         * text.C:
5506         * text2.C:
5507         * Counters.[Ch]: finish the 'automatic counters' job
5508
5509 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5510
5511         * aspell.C: include <boost/assert.cpp> (compile fix)
5512
5513 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5514
5515         * boost.C (assertion_failed): use lyx::support::abort instead of
5516         assert.
5517
5518 2003-09-10  Angus Leeming  <leeming@lyx.org>
5519
5520         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5521         with their _fwd progeny.
5522
5523 2003-09-09  Angus Leeming  <leeming@lyx.org>
5524
5525         134 files throughtout the source tree: replace 'using namespace abc;'
5526         directives with the appropriate 'using abc::xyz;' declarations.
5527
5528 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5529
5530         * boost.C (emergencyCleanup): moved here from LAssert.c
5531         (assertion_failed): new function, called by BOOST_ASSERT
5532
5533         * several files: change Assert to BOOST_ASSERT
5534
5535 2003-09-09  Angus Leeming  <leeming@lyx.org>
5536
5537         * buffer.[Ch]: Add an Impl class and move Buffer's member
5538         variables into it. As a result move several header files out of
5539         buffer.h.
5540
5541         Add header files to lots of .C files all over the tree as a result.
5542
5543 2003-09-09  Angus Leeming  <leeming@lyx.org>
5544
5545         * buffer.[Ch]: make Buffer's member variables private. Add
5546         accessor functions.
5547
5548         Lots of changes all over the tree as a result.
5549
5550 2003-09-08  Angus Leeming  <leeming@lyx.org>
5551
5552         * graph.C: #include <config.h>.
5553
5554 2003-09-08  Angus Leeming  <leeming@lyx.org>
5555
5556         * BranchList.C:
5557         * BufferView.C:
5558         * BufferView_pimpl.C:
5559         * CutAndPaste.C:
5560         * DepTable.C:
5561         * LaTeX.C:
5562         * LaTeXFeatures.C:
5563         * LyXAction.C:
5564         * MenuBackend.C:
5565         * TextCache.C:
5566         * aspell.C:
5567         * buffer.C:
5568         * bufferlist.C:
5569         * changes.C:
5570         * chset.C:
5571         * converter.C:
5572         * counters.C:
5573         * debug.C:
5574         * graph.C:
5575         * ispell.C:
5576         * lyx_cb.C:
5577         * lyxfind.C:
5578         * lyxfunc.C:
5579         * lyxlex_pimpl.C:
5580         * lyxrc.C:
5581         * lyxrow.C:
5582         * paragraph.C:
5583         * rowpainter.C:
5584         * texrow.C:
5585         * text.C:
5586         * text2.C:
5587         * toc.C: remove redundant using directives.
5588
5589 2003-09-07  Angus Leeming  <leeming@lyx.org>
5590
5591         * LaTeXFeatures.h: remove #include "support/types.h".
5592         * ToolbarBackend.h: remove #include <algorithm>.
5593         * changes.h: remove #include <ctime>.
5594         * debug.h: remove #include <iosfwd>.
5595         * graph.h: remove #include "support/std_string.h".
5596         * lyx_main.h: remove #include <csignal>.
5597         * lyxlex_pimpl.h: remove #include <fstream>.
5598         * sgml.h: remove #include <algorithm>, <utility>.
5599         * toc.h: remove #include "support/std_ostream.h".
5600         Add #include <iosfwd>.
5601
5602 2003-09-07  Angus Leeming  <leeming@lyx.org>
5603
5604         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5605
5606         * converter.h: forward declare LatexRunParams.
5607         * encoding.h: remove #include "lyxrc.h".
5608         * lyxtext.h: remove #include "LColor.h".
5609         * lyxtextclass.h: remove #include "support/types.h".
5610         * trans.h: remove #include "tex-accent.h".
5611         * trans_mgr.h: remove #include "tex-accent.h".
5612         * insets/inset.h: remove #include "support/types.h", <vector>.
5613         * insets/insetcollapsable.h: remove #include "LColor.h".
5614         * insets/insetinclude.h: remove #include "dimension.h".
5615         * insets/insetlatexaccent.h: remove #include "dimension.h".
5616         * insets/insetoptarg.h:: remove #include "insettext.h".
5617         * insets/insettext.h: remove #include "dimension.h",
5618         <boost/shared_ptr.hpp>
5619
5620         * insets/renderers.h: add #include "dimension.h".
5621         * insets/updatableinset.h: add #include "support/types.h".
5622
5623         * many .C files: Associated changes.
5624
5625 2003-09-06  Angus Leeming  <leeming@lyx.org>
5626
5627         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5628         one, inside testInvariant.
5629
5630         * PrinterParams.C: new file.
5631         * PrinterParams.[Ch]: move the function bodies out of line.
5632
5633 2003-09-06  Angus Leeming  <leeming@lyx.org>
5634
5635         * ParagraphParameters.h: forward declare ParameterStruct rather than
5636         including its header file.
5637         (depth): moved out-of-line.
5638
5639 2003-09-06  Angus Leeming  <leeming@lyx.org>
5640
5641         * BufferView_pimpl.h:
5642         * kbmap.h:
5643         * kbsequence.h:
5644         * lyxfunc.h: forward declare LyXKeySym rather than
5645         #include "frontends/LyXKeySym.h".
5646
5647         * BufferView_pimpl.C:
5648         * kbmap.C:
5649         * kbsequence.C:
5650         * lyxfunc.C: associated changes.
5651
5652 2003-09-06  Angus Leeming  <leeming@lyx.org>
5653
5654         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5655         As a result, can remove the #include "insets/inset.h" from BufferView.h
5656
5657 2003-09-06  Angus Leeming  <leeming@lyx.org>
5658
5659         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5660         As a result, can remove the #include "insets/inset.h" from BufferView.h
5661
5662 2003-09-06  Angus Leeming  <leeming@lyx.org>
5663
5664         * buffer_funcs.C:
5665         * buffer.h:
5666         * bufferlist.C:
5667         * BufferView.C:
5668         * bufferview_funcs.C:
5669         * BufferView_pimpl.C:
5670         * CutAndPaste.C:
5671         * lyx_cb.C:
5672         * lyxfunc.C:
5673         * paragraph.h:
5674         * ParagraphParameters.C:
5675         * tabular.C:
5676         * text3.C:
5677         * toc.C:
5678         * undo_funcs.C:
5679         * frontends/controllers/ControlDocument.C:
5680         * insets/insetcaption.C: rearrange the #includes into some sort of
5681         coherent order.
5682
5683         * buffer.h: remove #includes ErrorList.h, undo.h
5684
5685 2003-09-06  Angus Leeming  <leeming@lyx.org>
5686
5687         * support/types.h: add a 'depth_type' typedef, used to store the
5688         nesting depth of a paragraph.
5689
5690         * paragraph.h:
5691         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5692         defining explicitly.
5693
5694         * buffer.h:
5695         * paragraph_funcs.h:
5696         * ParagraphParameters.h:
5697         * sgml.h: use lyx::depth_type rather than Paragraph or
5698         ParameterStruct's depth_type.
5699
5700         * buffer.h
5701         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5702
5703         * BufferView.C:
5704         * BufferView_pimpl.C:
5705         * CutAndPaste.C:
5706         * ParagraphParameters.C:
5707         * buffer_funcs.C:
5708         * bufferlist.C:
5709         * bufferview_funcs.C:
5710         * lyx_cb.C:
5711         * lyxfunc.C:
5712         * tabular.C:
5713         * text3.C:
5714         * toc.C:
5715         * undo_funcs.C:
5716         * frontends/LyXView.C:
5717         * frontends/controllers/ControlDocument.C:
5718         * frontends/controllers/ControlErrorList.C:
5719         * insets/insetbibitem.C:
5720         * insets/insetbranch.C:
5721         * insets/insetcaption.C:
5722         * insets/insetcollapsable.C:
5723         * insets/insetenv.C:
5724         * insets/insetert.C:
5725         * insets/insetfloat.C:
5726         * insets/insetfoot.C:
5727         * insets/insetfootlike.C:
5728         * insets/insetnewline.C:
5729         * insets/insetquotes.C:
5730         * insets/insettabular.C:
5731         * insets/insettext.C:
5732         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5733
5734         * frontends/controllers/ControlChanges.C: #include "changes.h".
5735
5736 2003-09-06  Angus Leeming  <leeming@lyx.org>
5737
5738         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5739         than #including paragraph.h.
5740
5741         * ParagraphList.h:
5742         * RowList.h: deleted. Superfluous.
5743
5744         * CutAndPaste.h:
5745         * iterators.h:
5746         * lyxcursor.h:
5747         * lyxtext.h:
5748         * text_funcs.h:
5749         * undo.h:
5750         * undo_funcs.h:
5751         * insets/inset.h:
5752         * insets/insettext.h: use ParagraphList_fwd.h rather than
5753         ParagraphList.h.
5754
5755         * paragraph.h: don't forward declare ParagraphList.
5756
5757         * buffer.h:
5758         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5759         rather than ParagraphList.h. paragraph.h is still needed for the
5760         Paragraph::depth_type parameters.
5761
5762         * textcursor.h: enable it to compile stand-alone in light of the
5763         above changes.
5764
5765         * bufferview_funcs.C:
5766         * iterators.C:
5767         * lyxfunc.C:
5768         * lyxrow_funcs.C:
5769         * paragraph.C:
5770         * rowpainter.C:
5771         * text.C:
5772         * text2.C:
5773         * text3.C:
5774         * text_funcs.C:
5775         * textcursor.C:
5776         * undo.C:
5777         * frontends/controllers/ControlParagraph.C:
5778         * frontends/controllers/ControlTabular.C:
5779         * insets/insetmarginal.C:
5780         * insets/insetminipage.C:
5781         * insets/insetnote.C:
5782         * insets/insetoptarg.C: add header files needed to compile again.
5783
5784 2003-09-06  Angus Leeming  <leeming@lyx.org>
5785
5786         * RowList_fwd.h: new file, forward-declaring Row rather than
5787         #including lyxrow.h.
5788
5789         * lyxrow_funcs.h:
5790         * lyxtext.h:
5791         * paragraph.h:
5792         * insets/insettext.h: use it instead of RowList.h
5793
5794         * bufferview_funcs.C:
5795         * lyxfunc.C:
5796         * lyxrow_funcs.C:
5797         * paragraph.C:
5798         * rowpainter.C:
5799         * text.C:
5800         * text2.C:
5801         * text3.C: #include "RowList.h".
5802
5803 2003-09-05  Angus Leeming  <leeming@lyx.org>
5804
5805         * factory.C (createInset):
5806         * vspace.C (c-tor): replace sscanf call with an istringstream.
5807         * ispell.C: re-add missing HP/UX headers.
5808         * lyxserver.C: re-add missing  os2 headers.
5809
5810 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5811
5812         * BranchList.C:
5813         * graph.C:
5814         * ispell.C:
5815         * lastfiles.C:
5816         * lyx_cb.C:
5817         * lyxserver.C:
5818         * texrow.C:
5819         * text3.C: re-add missing system headers, needed for 2.95.2.
5820
5821 2003-09-05  Angus Leeming  <leeming@lyx.org>
5822
5823         Changes most place everywhere due to the removal of using directives
5824         from support/std_sstream.h.
5825
5826 2003-09-05  Angus Leeming  <leeming@lyx.org>
5827
5828         Replace LString.h with support/std_string.h,
5829         Lsstream.h with support/std_sstream.h,
5830         support/LIstream.h with support/std_istream.h,
5831         support/LOstream.h with support/std_ostream.h.
5832
5833         Changes resulting throughout the tree.
5834
5835 2003-09-05  Angus Leeming  <leeming@lyx.org>
5836
5837         * sgml.h: ensure that the header file can be compiled stand-alone.
5838         * *.C: strip out redundant #includes. (320 in total.)
5839
5840 2003-09-04  Angus Leeming  <leeming@lyx.org>
5841
5842         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5843         here (from getPackages).
5844
5845         * debug.[Ch]: add a new EXTERNAL tag.
5846
5847 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5848
5849         * text2.C (cursorEnd): simplify
5850         (setCursor): adjust
5851         (getColumnNearX): adjust
5852
5853         * text.C (computeBidiTables): adjust
5854         (fill): adjust
5855
5856         * rowpainter.C (paintChars): adjust
5857         (paintSelection): adjust
5858         (paintChangeBar): adjust
5859         (paintText): adjust
5860
5861         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5862         lastPos instead.
5863         (numberOfSeparators): adjust
5864
5865 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5866
5867         * LyXAction.C:
5868         * box.[Ch]:
5869         * lfuns.h:
5870         * lyxfunc.C:
5871         * text3.C: Restricts the mouse click functionality
5872         of insets like bibtex, include, toc and floatlist to the visible
5873         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5874         up the dialogs. Cursor has to be in front of the inset (i.e.
5875         start of row) for this to function.
5876
5877 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5878
5879         * bufferview_funcs.C (currentState): output row information
5880
5881 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5882
5883         * bufferview_funcs.C (currentState): output paragraph position
5884
5885 2003-09-04  Angus Leeming  <leeming@lyx.org>
5886
5887         * FloatList.h: move out #include "Floating.h".
5888         * LaTeX.h: move out #include "DepTable.h".
5889         * LyXAction.h: move out #include "funcrequest.h".
5890         * buffer.h: move out #include "author.h", "iterators.h".
5891         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5892         * lyx_main.h: move out #include "errorlist.h".
5893         * lyxfunc.h: move out #include "FuncStatus.h".
5894         * lyxtext: move out #include "lyxcursor.h".
5895         * paragraph_pimpl.h: move out #include "counters.h".
5896
5897 2003-09-03  Angus Leeming  <leeming@lyx.org>
5898
5899         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5900         preamble_snippets list, enabling us to add snippets to the preamble
5901         only if the snippet was not there already.
5902
5903 2003-09-04  Angus Leeming  <leeming@lyx.org>
5904
5905         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5906
5907 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5908
5909         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5910         update
5911
5912 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5913
5914         * BranchList.C: point fix, earlier forgotten
5915
5916 2003-09-02  Angus Leeming  <leeming@lyx.org>
5917
5918         * box.C (contains): renamed from 'contained' after a fantastic
5919         amount of hot air.
5920
5921 2003-09-02  John Levon  <levon@movementarian.org>
5922
5923         * BufferView.C:
5924         * lyxcursor.h:
5925         * lyxcursor.C:
5926         * lyxfunc.C:
5927         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5928
5929 2003-09-02  John Levon  <levon@movementarian.org>
5930
5931         * text2.C: simplification of cursorEnd(), including partial
5932         fix for bug 1376
5933
5934 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5935
5936         * buffer.C (readFile): add a space
5937
5938 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5939
5940         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5941
5942 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5943
5944         * buffer.C (readFile): new function, take a filename and a
5945         ParagraphList::iterator
5946         (readFile): adjust
5947         (readFile): adjust, make it private. don't use setStream, make
5948         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5949         always contain the filename.
5950
5951         * BufferView.C (insertLyXFile): simplify and make it work for
5952         gzipped files.
5953
5954 2003-08-30  John Levon  <levon@movementarian.org>
5955
5956         * Makefile.am: fix dist (from Kayvan)
5957
5958 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5959
5960         * most files: change to use const Buffer refs
5961
5962 2003-08-27  André Pönitz  <poenitz@gmx.net>
5963
5964         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5965         on top of ownerPar().
5966
5967 2003-08-27  John Levon  <levon@movementarian.org>
5968
5969         * funcrequest.C: properly initialise POD members
5970
5971 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5972
5973         * lyxtext.h (top_y): move top_y from here
5974         * text.C:
5975         * text2.C:
5976         * text3.C:
5977         * BufferView.[Ch]:
5978         * BufferView_pimpl.[Ch]: to here
5979         * frontends/screen.C:
5980         * insets/insettabular.C:
5981         * insets/insettext.C: adjust
5982         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5983
5984 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5985
5986         * BufferView.[Ch]:
5987         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5988
5989 2003-08-26  André Pönitz  <poenitz@gmx.net>
5990
5991         * paragraph_func.[Ch] (outerPar): new function
5992
5993         * paragraph.C:
5994         * paragraph_funcs.C:
5995         * paragraph_funcs.h:
5996         * paragraph_pimpl.C:
5997         * text2.C: remove Inset::par_owner
5998
5999 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6000
6001         * lyxrow_funcs.C:
6002         * lyxtext.h:
6003         * text.C:
6004         * text2.C: eliminates the needFullRow/display() stuff
6005         altogether, putting the logic in metrics/draw in the insets.
6006
6007 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6008
6009         * text2.C (redoParagraphInternal, redoParagraphs):
6010         * text.C (redoParagraph): add a call to updateRowPositions at the
6011         end of each 'metrics-like' call. Remove all others.
6012         (getRow): remove the 'y-computing' version.
6013         (getRowNearY): do not compute nor return the real y. Solve the
6014         'y < 0' problem and simplify.
6015
6016 2003-08-22  Angus Leeming  <leeming@lyx.org>
6017
6018         * *.[Ch]: clean-up of licence and author blurbs.
6019         Also move config.h out of a few .h files and into a few .C files.
6020
6021 2003-08-22  André Pönitz  <poenitz@gmx.net>
6022
6023         * lyxrow.[Ch]: add x_ and *fill_ members
6024
6025         * lyxtext.h:
6026         * text.C:
6027         * rowpainter.C:
6028         * text2.C: adjust/remove prepareToPrint() calls
6029
6030 2003-08-22  André Pönitz  <poenitz@gmx.net>
6031
6032         * lyxrow.[Ch]: add  end_ member
6033
6034         * lyxrow_funcs.C: use LyXRow::end_
6035
6036         * lyxtext.h (singleWidth): add LyXFont parameter
6037
6038         * rowpainter.C:
6039         * text2.C: adjust LyXText::singleWidth() calls
6040
6041         * text.C (redoParagraph): simplify row breaking logic
6042
6043
6044 2003-08-19  André Pönitz  <poenitz@gmx.net>
6045
6046         * funcrequest.C: initialize button_ member
6047
6048         * text3.C:
6049         * rowpainter.[Ch]: interface consolidation
6050
6051 2003-08-18  André Pönitz  <poenitz@gmx.net>
6052
6053         * BufferView.C:
6054         * BufferView_pimpl.C:
6055         * lyxfind.C:
6056         * paragraph_funcs.C:
6057         * rowpainter.C:
6058         * text3.C: remove LyXScreen::draw() and fitCursor calls
6059
6060         * BranchList.h: remove spurious semicolons
6061
6062         * MenuBackend.C: fix branchlist related crash
6063
6064 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6065
6066         * BranchList.[Ch]:
6067         * InsetList.[Ch]:
6068         * LColor.[Ch]:
6069         * LyXAction.C:
6070         * Makefile.am:
6071         * MenuBackend.[Ch]:
6072         * bufferparams.[Ch]:
6073         * factory.C:
6074         * lfuns.h:
6075         * lyxfunc.C:
6076         * text3.C: implements the 'branch inset'
6077         idea. This allows the output of various versions of a document
6078         from a single source version, selectively outputing or suppressing
6079         output of parts of the text.
6080         This implementation contains a 'branch list editor' in a separate
6081         tab of the document settings dialog. Branches are user definable
6082         and have a "display colour" to distinguish them on-screen.
6083
6084         ColorHandler was somewhat cleaned up.
6085         (1) make possible a dynamically growing LColor list by allowing
6086         the graphic context cache to grow along (vector);
6087         (2) eliminate an IMHO unnecessary step in colour allocation.
6088
6089 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6090
6091         * BufferView_pimpl.C: compile fix
6092
6093 2003-08-15  André Pönitz  <poenitz@gmx.net>
6094
6095         * rowpainter.C: remove extra metrics calls
6096
6097         * lyxtext.h: merge the two constructors into a single one,
6098           pass reference to owner's par list
6099
6100         * BufferView_pimpl.C:
6101         * text.C:
6102         * text2.C: adjust
6103
6104 2003-08-15  André Pönitz  <poenitz@gmx.net>
6105
6106         * lyxrow_funcs.[Ch]:
6107         * lyxtext.h:
6108         * paragraph.h:
6109         * paragraph_funcs.C:
6110         * rowpainter.C:
6111         * text.C:
6112         * text2.C:
6113         * text3.C:
6114         * text_funcs.C: split LyXText::rowlist_ into individual
6115         Paragraph::rows_ chunks
6116
6117         * BufferView.[Ch]:
6118         * BufferView_pimpl.[Ch]:
6119         * lyxfind.C:
6120         * lyxtext.h:
6121         * text3.C: remove toggleSelection()
6122
6123 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6124
6125         * bufferlist.C: beautify two alerts (shorter text of buttons)
6126         * buffer.C: Remove redundant ' ' from message
6127         * tabular.h:
6128         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6129         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6130         rename VALIGN_CENTER to VALIGN_MIDDLE
6131
6132 2003-08-11  André Pönitz  <poenitz@gmx.net>
6133
6134         * lyxtext.h (getPar):
6135         * text.C: new function
6136
6137 2003-08-11  André Pönitz  <poenitz@gmx.net>
6138
6139         * Makefile.am:
6140         * tracer.[Ch]: remove unneeded files
6141
6142         * InsetList.[Ch]: remove resizeInsetsLyXText()
6143
6144         * lyxtext.h:
6145         * text.C:
6146         * text2.C:
6147         * text3.C: merge insertParagraphs() and appendParagraph()
6148         remove breakAgain(), update()
6149
6150         * BufferView_pimpl.[Ch]:
6151         * bufferview_funcs.[Ch]:
6152         * lyxfunc.C:
6153         * paragraph.[Ch]:
6154         * rowpainter.C:
6155         * tabular.C: adjust after text & InsetList changes.
6156
6157 2003-08-08  André Pönitz  <poenitz@gmx.net>
6158
6159         * text.C (insertChar, backspace): replace rowlist fiddling
6160         with rebreak of full par
6161
6162         * lyxtext.h:
6163         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6164         checkParagraph, updateInset): removed
6165
6166 2003-08-07  André Pönitz  <poenitz@gmx.net>
6167
6168         * paragraph.C:
6169         * text3.C: merge some LFUN handlers, remove dead code
6170
6171 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6172
6173         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6174
6175 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6176
6177         * text2.C (DEPM): fix part of bug 1255 and 1256
6178
6179 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6180
6181         * BufferView_pimpl.C (workAreaDispatch): change to use
6182         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6183         that are no mouse related.
6184
6185 2003-08-05  André Pönitz  <poenitz@gmx.net>
6186
6187         * BufferView.[Ch]:
6188         * BufferView_pimpl.[Ch]:
6189         * bufferview_funcs.C:
6190         * text2.C:
6191         * text3.C: rip out "deep update"
6192
6193         * textcursor.[Ch] (last_sel_cursor): remove unused member
6194
6195 2003-08-04  André Pönitz  <poenitz@gmx.net>
6196
6197         * BufferView.[Ch]:
6198         * BufferView_pimpl.[Ch]:
6199         * ParagraphParameters.C:
6200         * bufferview_funcs.C:
6201         * lyx_cb.C:
6202         * lyxfind.C:
6203         * lyxfunc.C:
6204         * text.C:
6205         * text2.C:
6206         * text3.C: replace "complicated" BufferView::update(...) calls with
6207         simpler ones.
6208
6209         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6210
6211 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6212
6213         * Makefile.am (lyx_SOURCES): add paper.h
6214
6215 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6216
6217         * Makefile.am: move things around so that both lyx-qt and
6218         lyx-xforms can be built (according to --with-frontend). Then lyx
6219         is a symbolic link to lyx-[firstfrontend]
6220
6221 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6222
6223         * Always use std::endl with lyxerr
6224
6225 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6226
6227         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6228
6229 2003-08-01  André Pönitz  <poenitz@gmx.net>
6230
6231         * BufferView.[Ch]:
6232         * BufferView_pimpl.[Ch]:
6233         * lyxfunc.C:
6234         * text3.C: merge BufferView::repaint() and BufferView::update()
6235
6236 2003-08-01  José Matos  <jamatos@lyx.org>
6237
6238         * buffer.[Ch]: file_format is no longer a buffer data element.
6239
6240 2003-08-01  André Pönitz  <poenitz@gmx.net>
6241
6242         * BufferView.C:
6243         * lyxtext.h:
6244         * text.C:
6245         * text2.C: make redoParagraph more independent of current cursor
6246
6247         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6248         * text.C:
6249         * text2.C: remove unneeded members
6250
6251 2003-07-30  André Pönitz  <poenitz@gmx.net>
6252
6253         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6254
6255         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6256           create a single function...
6257
6258         * paragraph_funcs.C (moveItem): ... here.
6259
6260         * text.C:
6261           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6262
6263 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6264
6265         * LColor.[Ch]: Add comment and greyedout logical colors.
6266
6267 2003-07-30  André Pönitz  <poenitz@gmx.net>
6268
6269         * tabular.C: don't use Assert too heavily. This crashes where it
6270           shouldn't
6271
6272 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6273
6274         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6275         is disabled (bug 1232)
6276
6277 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6278
6279         * factory.C: limited 'arg' scope
6280
6281 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6282
6283         * factory.C: fixed Note submenu issues
6284
6285 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6286
6287         * factory.C: submenu for Note/Comment/Greyedout
6288
6289 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6290
6291         * lyx_main.C (LyX):
6292         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6293
6294 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6295
6296         * LaTeXFeatures.C:
6297         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6298         greyedout. Patch provided by Jürgen Spitzmüller.
6299
6300 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6301
6302         * kbmap.C (read): fix error message when reading bind files
6303
6304 2003-07-29  Angus Leeming  <leeming@lyx.org>
6305
6306         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6307         certainly does not do what it purports to do. I am doing it, and
6308         us, a favour by killing it.
6309
6310 2003-07-28  José Matos  <jamatos@lyx.org>
6311
6312         * buffer.C (readBody, do_writeFile):
6313         * paragraph.C(readParagraph): \end_document replaces \the_end.
6314
6315 2003-07-29  André Pönitz  <poenitz@gmx.net>
6316
6317         * BufferView.[Ch]:
6318         * BufferView_pimpl.[Ch]:
6319         * lyxfunc.C:
6320         * text2.C:
6321         * text3.C:
6322         * textcursor.[Ch]: remove toggleToggle & Co
6323
6324 2003-07-28  José Matos  <jamatos@fep.up.pt>
6325
6326         * buffer.C (readParagraph):
6327         * params_func (readParToken, readParagraph):
6328         * paragraph.C (write): \layout -> \begin_layout.
6329
6330 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6331
6332         * lyxlex_pimpl.C (setFile): clean up slightly.
6333
6334         * bufferparams.h: add compressed var
6335
6336         * buffer_funcs.C (readFile): adjust for LyXLex change
6337         (newFile): ditto + simplify
6338
6339         * buffer.C (writeFile): handle writing of compressed files
6340
6341         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6342         Check if the file is compressed and set a bufferparm if so.
6343
6344         * Makefile.am (lyx_LDADD): remove explicit -lz
6345
6346 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6347
6348         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6349         makeDocBookFile): put the real LyX version in the first line of
6350         the file
6351
6352         * version.h:
6353         * version.C.in: remove lyx_docversion
6354
6355         * tabular.C (write_attribute): add a template-based version to
6356         write enums properly
6357
6358 2003-07-28  André Pönitz  <poenitz@gmx.net>
6359
6360         * lyxtext.h:
6361         * text.C:
6362         * text2.C:
6363         * text3.C: use doubles again for x-coordinates. They are needed.
6364
6365 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6366
6367         * messages.C (getLocaleDir): use lyx_localedir()
6368
6369         * lyxlex_pimpl.C (setFile): compress stuff
6370
6371         * buffer.C (writeFile): add some compression stuff
6372         (do_writeFile): new func, dont call expliti close... will this
6373         breake anything?
6374
6375         * Makefile.am (lyx_LDADD): add -lz
6376
6377 2003-07-28  José Matos  <jamatos@fep.up.pt>
6378
6379         * buffer.C: increment file format.
6380         * paragraph_funcs (readParagraph, readParToken):
6381         * paragraph.C (readParagraph): add \end_layout.
6382
6383 2003-07-27  Angus Leeming  <leeming@lyx.org>
6384
6385         * Makefile.am: remove special casing for configure-time setting of
6386         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6387
6388         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6389         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6390
6391 2003-07-26  André Pönitz  <poenitz@gmx.net>
6392
6393         * paragraph_func.[Ch]:
6394         * paragraph.C (realizeFont): inline it whereever it is used
6395
6396         * rowpainter.C:
6397         * text.C:
6398         * text2.C:
6399         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6400
6401
6402 2003-07-26  André Pönitz  <poenitz@gmx.net>
6403
6404         *       lyxtext.h:
6405         * text.C:
6406         * text2.C: get rid of LyXText::need_break_row
6407
6408 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6409
6410         * toc.[Ch]: put namespace toc inside namespace lyx
6411
6412         * MenuBackend.C (expandToc2): adjust for lyx::toc
6413         (expandToc): ditto
6414
6415         * lyxfunc.C (dispatch): adjust for lyx::find
6416
6417         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6418         lyx::find instead. Reorganize a bit.
6419         (LyXReplace): rename to replace
6420         (LyXFind): rename to find
6421
6422         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6423         (dispatch): ditto
6424
6425 2003-07-26  André Pönitz  <poenitz@gmx.net>
6426
6427         * text.C (setHeightOfRow): restrict scope of temporary variable
6428
6429         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6430           code (never has been used?)
6431
6432 2003-07-27  Asger Alstrup  <alstrup@local>
6433
6434         * text.C (fill): Optimise algorithm to exploit that we can reuse
6435         the LyXFont for many characters.
6436         (setHeightOfRow): Same thing.
6437         (rowBreakPoint): Same thing.
6438
6439 2003-07-26  Asger Alstrup  <alstrup@local>
6440
6441         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6442
6443         * text.C (singleWidth): Spurious font copying in hot-spot
6444         singleWidth avoided. Reorder tests for arabic for efficiency.
6445
6446         * text.C (fill): handle empty paragraphs better.
6447
6448 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6449
6450         * ispell.C:
6451         * encoding.h: add includes
6452
6453         * lyxrc.C: remove reading of bind files
6454
6455         * lyx_main.C (init): setup bindings and menus only if we have a
6456         gui.
6457
6458         * kbmap.C (read): new method. Do the actual reading of bind
6459         files.
6460
6461         * converter.C (dvipdfm_options):
6462         * bufferparams.C:
6463         * lyxrc.C (read):
6464         (output): adapt PAPER_* enums.
6465
6466         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6467
6468         * bufferparams.h: remove paper-related enums from there
6469
6470         * paper.h: New file. A trivial header file to hold paper-related
6471         enums. It should later expand to contain many paper-related
6472         horrors access.
6473
6474         * lyxrc.C: declare extern displayTranslator
6475
6476 2003-07-27  José Matos  <jamatos@fep.up.pt>
6477
6478         * tabular.[Ch] (linuxdoc): add support for tables and figures
6479         (linuxdoc).
6480
6481 2003-07-27  José Matos  <jamatos@fep.up.pt>
6482
6483         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6484         consistency in both functions.
6485         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6486
6487 2003-07-26  Asger Alstrup  <alstrup@local>
6488
6489         * rowpainter.C (paintRows): Change algorithm to work directly on
6490         the insets rather than asking every character in the document
6491         whether its an inset.
6492
6493 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6494
6495         * buffer.C (openFileWrite): factorize some code
6496
6497 2003-07-26  Angus Leeming  <leeming@lyx.org>
6498
6499         * lyx_cb.C:
6500         * lyx_main.[Ch]: replace occurances of system_tempdir with
6501         os::getTmpDir().
6502
6503 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6504
6505         * rename Inset to InsetOld
6506
6507 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6508
6509         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6510         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6511         which I think is a bit clearer. EDIT is gone, since it was
6512         premature optimisation, and broken for mathed anyway.
6513         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6514         with cursor positioning in insets as well (math insets still do not
6515         work, but that's a different story anyway.) It mysteriously
6516         crashes sometimes with undo in the first paragraph, but I'm fairly
6517         confident that this is a compiler bug.
6518
6519 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6520
6521         * paragraph.C (Paragraph): adjust for new clone return type
6522         (operator==): ditto
6523         (copyIntoMinibuffer): ditto
6524
6525 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6526
6527         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6528         by not having a special case, and always doing a full rebreak of
6529         the document after undo.
6530
6531 2003-07-23  Angus Leeming  <leeming@lyx.org>
6532
6533         * factory.C (createInset): InsetExternal::setParams now takes a
6534         Buffer const * arg.
6535
6536 2003-07-23  Angus Leeming  <leeming@lyx.org>
6537
6538         * factory.C (createInset): changed interface to the external and
6539         graphics mailers' string2params functions.
6540
6541 2003-07-23  Angus Leeming  <leeming@lyx.org>
6542
6543         * factory.C (createInset): pass a
6544         Buffer const * parameter to InsetExternalMailer's string2params.
6545
6546 2003-07-22  John Levon  <levon@movementarian.org>
6547
6548         * Thesaurus.h: include the right aiksaurus header
6549
6550 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6551
6552         * MenuBackend.C (expand): check menu shortcuts unconditionally
6553
6554 2003-07-21  Angus Leeming  <leeming@lyx.org>
6555
6556         * factory.C (createInset): pass a
6557         buffer_path parameter to InsetGraphicsMailer's string2params.
6558
6559 2003-07-21  Angus Leeming  <leeming@lyx.org>
6560
6561         * BufferView_pimpl.C (buffer):
6562         * buffer.C (d-tor):
6563         * lyx_main.C (LyX):
6564         * lyxfunc.C (dispatch):
6565         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6566         rather than the grfx shortcut.
6567
6568 2003-07-21  André Pönitz  <poenitz@gmx.net>
6569
6570         * rowpainter.C: remove unused variables
6571
6572         * tabular_funcs.C:
6573         * tabular_funcs.h: move to tabular.C
6574         * Makefile.am: adjust
6575
6576         * tabular.[Ch]: basic optical cleaning
6577
6578         * author.h: pass references, not values
6579
6580 2003-07-18  André Pönitz  <poenitz@gmx.net>
6581
6582         * lyxtext.h:
6583         * metricsinfo.C:
6584         * metricsinfo.h:
6585         * rowpainter.C:
6586         * text.C:
6587         * text2.C:
6588         * text3.C: two-phase drawing for InsetText and InsetTabular
6589         some float -> int changes.
6590
6591 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6592
6593         * lyx_main.C: fix the fix
6594
6595 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6596
6597         * lyx_main.C: fix a crash in batch mode if no files specified
6598         * converter.C: ws
6599
6600 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6601
6602         * format.[Ch] (papersize): moved to BufferParams
6603         * converter.[Ch] (dvips_options): moved to BufferParams
6604         (dvipdfm_options): moved to anon namespace
6605         * bufferparams.[Ch]: added above functions.
6606
6607 2003-07-17  André Pönitz  <poenitz@gmx.net>
6608
6609         * lyxtext.h:
6610         * rowpainter.C:
6611         * text2.C: don't call inset->update() anymore
6612
6613         * metricsinfo.[Ch]: add convenience constructor
6614
6615 2003-07-16  André Pönitz  <poenitz@gmx.net>
6616
6617         * lyxcursor.[Ch]:
6618         * lyxfunc.[Ch]:
6619         * text.C:
6620         * text2.C: replace the LyXCursor::irow_ member with
6621          on-demand computation of the value
6622
6623 2003-07-16  John Levon  <levon@movementarian.org>
6624
6625         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6626
6627 2003-07-15  André Pönitz  <poenitz@gmx.net>
6628
6629         * text.C:
6630         * text2.C: remove no more needed refresh_row
6631
6632 2003-07-15  André Pönitz  <poenitz@gmx.net>
6633
6634         * lyxtext.h:
6635         * rowpainter.C:
6636         * text2.C:
6637         * text3.C: refresh_status tristate -> need_update bool
6638
6639 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6640
6641         * lyxtext.h (init): remove reinit argument (act as if always true)
6642         * text2.C: adjust to that
6643
6644 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6645
6646         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6647         * text3.C: use it to delete selections in some cases
6648         (bugs 441, 673, 702, 954).
6649
6650 2003-07-14  André Pönitz  <poenitz@gmx.net>
6651
6652         * rowpainter.[Ch]: reduce interface
6653
6654 2003-07-14  André Pönitz  <poenitz@gmx.net>
6655
6656         * BufferView_pimpl.C:
6657         * text2.C: adjust after removing unused BufferView * argument
6658
6659 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6660
6661         * text2.C (init): fix a crash fired on resize
6662
6663 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6664
6665         * buffer.[Ch]: added new closing signal
6666         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6667         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6668         BufferView::Pimpl via the closing the signal
6669
6670 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6671
6672         * buffer.[Ch]: take out all bv-related from buffer
6673         * BufferView.C:
6674         * BufferView_pimpl.[Ch]: connect to new signals
6675         * CutAndPaste.C: removed useless asserts
6676         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6677         * lyxvc.[Ch]:
6678         * vc-backend.[Ch]:
6679         * lyxfunc.C: moved view-related funciontality from vc here
6680         * paragraph.C: removed outdated comments
6681         * text.C: ws
6682
6683 2003-07-10  André Pönitz  <poenitz@gmx.net>
6684
6685         * BufferView_pimpl.C:
6686         * tabular.h:
6687         * tabular_funcs.C:
6688         * text.C:
6689         * text2.C: remove InsetText::InnerCache, clean up consequences
6690
6691 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6692
6693         * ispell.C: fix two typos in error messages
6694
6695 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6696
6697         * Extend Note inset to other forms of annotation like Comment
6698         and Greyedout. Right button click gives dialog.
6699
6700         Files modified or added (+):
6701
6702         * insetnote.[Ch]
6703         * FormNote.[Ch]      +
6704         * ControlNote.[Ch]   +
6705         * form_note.fd       +
6706         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6707         frontends/controllers
6708         * xforms/Dialogs.C
6709         * factory.C
6710
6711 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6712
6713         * aspell.C: add missing namespace lyx::support
6714
6715 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6716
6717         * BufferView.[Ch] (newFile): Add
6718         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6719         * LaTeX.[Ch] (message): added this signal and use it
6720         * buffer.[Ch] (busy, message): added these signals and use them
6721         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6722         * converter.C:
6723         * exporter.C:
6724         * format.C:
6725         * importer.C: use buffer signals instead of direct bv calling
6726         * lyx_cb.[Ch] (ShowMessage): removed
6727         * lyx_main.C:
6728         * lyxfunc.C:
6729         * paragraph_funcs.C:
6730         * text2.C: use buffer signals
6731
6732 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6733
6734         * introduce namespace lyx::graphics
6735
6736 2003-07-02  André Pönitz  <poenitz@gmx.net>
6737
6738         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6739
6740 2003-07-01  André Pönitz  <poenitz@gmx.net>
6741
6742         * text.C:
6743         * text2.C:
6744         * text3.C:
6745         * text_funcs.[Ch]:
6746         * textcursor.h:
6747         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6748           text*.C to text_func.C
6749
6750 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6751
6752         * introduce namespace lyx::support
6753
6754 2003-06-30  André Pönitz  <poenitz@gmx.net>
6755
6756         * Chktex.C:
6757         * funcrequest.C:
6758         * lyxtext.h:
6759         * text.C: re-enable --with-included-string
6760
6761 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6762
6763         * textcursor.C: add <config.h>
6764
6765         * text.C (getWord): remove const from word_location arg
6766
6767         * lyxvc.C (getLogFile): fix const type order
6768
6769         * lyxtext.h: remove const from word_location arg, add arg name
6770
6771         * lyxlayout.h: currect type on labeltype.
6772
6773         * importer.C: correct \file
6774
6775         * converter.C (intToFormat): use std:: on ret val, ws changes
6776
6777         * bufferlist.h: correct \file
6778
6779         * buffer.C (makeLinuxDocFile): fix const type order
6780         (makeDocBookFile): ditto
6781         (fillWithBibKeys): use std:: on stdlib args.
6782
6783         * CutAndPaste.C: fix authors.
6784         (availableSelections): use std:: on return vector
6785
6786 2003-06-27  André Pönitz  <poenitz@gmx.net>
6787
6788         * BufferView_pimpl.C:
6789         * bufferview_funcs.C:
6790         * lyxcursor.C:
6791         * lyxcursor.h:
6792         * lyxfunc.C:
6793         * lyxtext.h:
6794         * rowpainter.C:
6795         * text.C:
6796         * text2.C:
6797         * text3.C: remove LyXCursor::row_ member
6798
6799         * lyxtext.h:
6800         * text.C: rename fullRebreak() to partialRebreak() and implement
6801           a fullRebreak() that really bereks fully
6802
6803         * textcursor.h: new struct for cursor-related data
6804
6805 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6806
6807         * lyx_main.C (LyX): get full path of document loaded on the
6808         command line
6809
6810 2003-06-26  André Pönitz  <poenitz@gmx.net>
6811
6812         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6813           remove unused/broken operator>,<,>=.
6814
6815         *       text.C: remove only use of broken operator<= in an Assert().
6816
6817 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6818
6819         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6820         moved errorlist_.clear to showErrorList
6821
6822 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6823
6824         * converter.C (scanLog, runLaTeX):
6825         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6826         move the bv->showErrorList call to the callers
6827         * lyxfunc.C: i.e. here...
6828         * text2.C: and here
6829         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6830         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6831         namespace, the second to...
6832         * buffer_funcs (BufferFormat, parseErrors): added
6833         * errorlist.C (ErrorList(TeXErrors const &)): removed
6834
6835 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6836
6837         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6838
6839 2003-06-24  "Garst R. Reese" <reese@isn.net>
6840
6841         * debug.C: fix typo
6842
6843 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6844
6845         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6846
6847         * version.C.in: change docversion to 1.4
6848
6849 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6850
6851         * buffer.C: fix a bug just introduced
6852
6853 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6854
6855         * buffer.[Ch]: added the parseError signal and use it, removed
6856         sgmlError
6857         * BufferView.[Ch] (addError): moved to ...
6858         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6859         to the Buffer::parseError signal to catch (guess what) parse errors
6860         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6861
6862 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6863
6864         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6865         ability to create a buffer and to return an existing one from
6866         the list. Moved these functions to...
6867         * buffer_funcs.[Ch]: added
6868         * BufferView.[Ch] (loadLyXFile): added
6869         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6870         job removed from bufferlist::loadLyXFile.
6871         * buffer.C (setReadOnly): make it work without view
6872         (i.e added an if (users))
6873
6874 2003-06-19  Angus Leeming  <leeming@lyx.org>
6875
6876         * lfuns.h:
6877         * LyXAction.C (init):
6878         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6879         with LFUN_DIALOG_SHOW <name> <data>.
6880
6881 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6882
6883         * CutAndPaste.C (availableSelections): small compilation fix for
6884         ancient (gcc 2.9x) compilers
6885
6886 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6887
6888         * text3.C (cursorNext): add tmp var
6889
6890         * text2.C (updateCounters): for function calling out of for clause
6891         (replaceSelectionWithString): ditto
6892         (insertStringAsParagraphs): ditto
6893         (getColumnNearX): add tmp var
6894         (setCursorFromCoordinates): add tmp var
6895         (cursorDownParagraph): add tmp var
6896         (deleteEmptyParagraphMechanism): add tmp var
6897
6898         * text.C (insertChar): add tmp var
6899
6900         * rowpainter.C (paintDepthBar): add tmp var
6901
6902         * CutAndPaste.C (availableSelections): potentially check all
6903         paragraphs in a cut to fill the shown strings.
6904
6905 2003-06-18  André Pönitz  <poenitz@gmx.net>
6906
6907         * kbmap.[Ch]: use vector<> instead of list<>
6908
6909 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6910
6911         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6912         pasteSelection with index
6913
6914         * text2.C (pasteSelection): modify, call pasteSelection with index
6915
6916         * paragraph.C (asString): reimplement version with no interval to
6917         call the one with interval.
6918
6919         * lyxtext.h: add index arg to pasteSelection
6920
6921         * MenuBackend.C (MenuItem): handle PasteRecent
6922         (Menu::read::Menutags): add md_pasterecent
6923         (read): handle it
6924         (expandPasteRecent): new function
6925         (expand): use it
6926
6927         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6928
6929         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6930         the limited stack
6931         (availableSelections): new function
6932
6933 2003-06-17  Angus Leeming  <leeming@lyx.org>
6934
6935         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6936
6937 2003-06-17  Angus Leeming  <leeming@lyx.org>
6938
6939         * lfuns.h:
6940         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6941
6942         * lyxfunc.C (dispatch): invoke it.
6943
6944 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6945
6946         * iterators.C (operator++, ParPosition): reintroduce some
6947         const_cast for the benefit of older compilers.
6948
6949 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6950
6951         * text3.C (dispatch): do not modify clipboard when doing
6952         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6953         LFUN_DELETE_SKIP on a selection selection
6954
6955 2003-06-16  André Pönitz  <poenitz@gmx.net>
6956
6957         * BufferView.C:
6958         * buffer.C:
6959         * buffer.h:
6960         * paragraph.C:
6961         * tabular.[Ch]: IU of clone() and getLabelList();
6962
6963 2003-06-13  André Pönitz  <poenitz@gmx.net>
6964
6965         * tabular.h: compactification
6966
6967 2003-06-12  André Pönitz  <poenitz@gmx.net>
6968
6969         * tabular.C:
6970         * tabular.h:
6971         * tabular_funcs.h: some renaming plus whitespace
6972
6973 2003-06-12  André Pönitz  <poenitz@gmx.net>
6974
6975         * BufferView.C:
6976         * BufferView_pimpl.C:
6977         * CutAndPaste.C:
6978         * buffer.C:
6979         * iterators.[Ch]:
6980         * lyxfunc.C:
6981         * text.C:
6982         * toc.C: Return a Paragraph & for ParIterator::operator*()
6983
6984 2003-06-11  John Levon  <levon@movementarian.org>
6985
6986         * lyx_main.C:
6987         * ToolbarBackend.h:
6988         * ToolbarBackend.C: add "Toolbars" section and
6989         put the flags there
6990
6991 2003-06-10  Angus Leeming  <leeming@lyx.org>
6992
6993         * lfuns.h:
6994         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6995
6996         * lyxfunc.C (dispatch): invoke it.
6997
6998 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6999
7000         * main.C: protect <ios> with HAVE_IOS
7001         (main): protect sync_with_stdio with HAVE_IOS
7002
7003 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7004
7005         * text2.C (cutSelection): adjust
7006         (pasteSelection): adjust
7007
7008         * messages.C: handle get of empty string
7009
7010         * main.C (main): use sync_with_stdio(false)
7011
7012         * lyxfunc.C (dispatch): adjust
7013
7014         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7015         (WriteAs): remove unneeded BufferView arg.
7016
7017         * bufferparams.h: use correct types on papersize, papersize2 and
7018         paperpackage.
7019
7020         * bufferparams.C (readToken): adjust for type
7021         (writeLaTeX): add missing cases to switch.
7022
7023         * bufferlist.C (quitWriteBuffer): adjust
7024         (close): adjust
7025
7026         * buffer.C (asciiParagraph): remove some commented code.
7027
7028         * CutAndPaste.C: remove current_view extern variable.
7029         (cutSelection): add BufferParams arg.
7030         (eraseSelection): add BufferParams arg.
7031         (pasteSelection): add Buffer const & arg
7032
7033 2003-06-07  John Levon  <levon@movementarian.org>
7034
7035         * buffer.C:
7036         * paragraph_funcs.C:
7037         * paragraph_pimpl.C:
7038         * text.C:
7039         * text2.C:
7040         * paragraph.h:
7041         * paragraph.C: allow InsetERT to freely space lines,
7042         and some consolidation of code
7043
7044 2003-06-06  José Matos  <jamatos@fep.up.pt>
7045
7046         * buffer.C (makeDocBookFile): fix bug #821
7047
7048 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7049
7050         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7051
7052 2003-06-04  Angus Leeming  <leeming@lyx.org>
7053
7054         * buffer.C: bump format to 224.
7055
7056 2003-06-05  André Pönitz  <poenitz@gmx.net>
7057
7058         * text2.C (redoParagraphs): remove two const_cast<>
7059
7060 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7061
7062         * ParagraphList.h: remove last remnants of NO_STD_LIST
7063
7064 2003-06-03  Angus Leeming  <leeming@lyx.org>
7065
7066         * factory.C (createInset): small change to the way InsetExternal's params
7067         are set.
7068
7069 2003-06-04  André Pönitz  <poenitz@gmx.net>
7070
7071         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7072
7073         * paragraph_pimpl.h:
7074         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7075
7076         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7077
7078         * undo_funcs.C: make some simple cases of undo work again
7079
7080 2003-06-03  John Levon  <levon@movementarian.org>
7081
7082         * ispell.C: HPUX doesn't have sys/select.h
7083         (from Albert Chin)
7084
7085 2003-06-03  John Levon  <levon@movementarian.org>
7086
7087         * CutAndPaste.C: update tabular and include inset
7088         buffer references
7089
7090         * buffer.h:
7091         * paragraph.h:
7092         * paragraph.C: remove owningBuffer(), don't pass Buffer
7093         to clone()
7094
7095         * factory.C: insetGraphicsParams changed
7096
7097 2003-06-02  John Levon  <levon@movementarian.org>
7098
7099         * LyXAction.C:
7100         * factory.C:
7101         * lfuns.h:
7102         * lyxfunc.C:
7103         * text3.C: remove insetparent
7104
7105 2003-06-02  John Levon  <levon@movementarian.org>
7106
7107         * buffer.h:
7108         * buffer.C: fix inset_iterator.end(), move out of line
7109         (bug 1149)
7110
7111 2003-06-01  John Levon  <levon@movementarian.org>
7112
7113         * text3.C: use a proper cut/paste when doing inset
7114         insert (from Jürgen Spitzmüller)
7115
7116 2003-06-01  John Levon  <levon@movementarian.org>
7117
7118         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7119
7120 2003-05-30  André Pönitz  <poenitz@gmx.net>
7121
7122         * rowpainter.C: unify second drawing phase
7123
7124 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7125
7126         * trans_mgr.C: remove one case of current_view
7127
7128         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7129
7130         * paragraph_funcs.h: remove paragraph.h include
7131
7132         * paragraph.h: delete NO_STD_LIST stuff
7133
7134         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7135
7136         * buffer.h: remove paragraph.h include
7137
7138         * ParagraphList.C: delete file
7139
7140         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7141
7142         * toc.C (getTocList): adjust
7143
7144         * paragraph_pimpl.C (validate): adjust
7145
7146         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7147
7148         * paragraph.C (Paragraph): adjust
7149         (getPositionOfInset): use const_iterator, adjust
7150         (bibitem): use const_iterator, adjust
7151         (setInsetOwner): adjust
7152
7153         * iterators.C (operator++): adjust
7154
7155         * InsetList.[Ch]: Replace selfmade iterator with standard
7156         vector::iterator also introduce const_iterator. Remove getPos,
7157         getInset and setInset from InsetTable. Adjust accordingly.
7158
7159         * BufferView.C (lockInset): adjust
7160         (ChangeInsets): adjust
7161
7162         * tabular.[Ch]: delete commented same_id functions
7163
7164 2003-05-28  John Levon  <levon@movementarian.org>
7165
7166         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7167
7168 2003-05-28  André Pönitz  <poenitz@gmx.net>
7169
7170         * metricsinfo.[Ch]: remove 'fullredraw' member
7171
7172 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7173
7174         * lyxtextclass.C (operator): remove caching.
7175
7176 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7177
7178         * text3.C: adjust
7179
7180         * text2.C (cursorBottom): adjust
7181         (setCounter): use ParagraphList::find, adjust
7182
7183         * text.C (workWidth): use ParagraphList::find, adjust
7184
7185         * lyxcursor.C (LyXCursor): adjust
7186
7187         * buffer.C (inset_iterator): adjust
7188
7189         * ParagraphList.h: make iterator(value_type) private, make
7190         ParagraphList a friend of iterator.
7191
7192         * ParagraphList.C (find): new function
7193
7194         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7195
7196 2003-05-27  André Pönitz  <poenitz@gmx.net>
7197
7198         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7199
7200 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7201
7202         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7203
7204 2003-05-26  John Levon  <levon@movementarian.org>
7205
7206         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7207
7208 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7209
7210         * remove same_id from function signatures, adjust.
7211
7212 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7213
7214         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7215
7216         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7217
7218         * paragraph.C (Paragraph): get rid of same_ids parameter
7219
7220         * ParagraphList.C (insert): adjust
7221         (push_back): adjust
7222
7223 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7224
7225         * paragraph_funcs.C (breakParagraph): adjust
7226         (breakParagraphConservative): adjust
7227
7228         * buffer.C (readParagraph): adjust
7229
7230         * ParagraphList.C (insert): take a reference instead of a pointer
7231         (insert): adjust
7232
7233         * paragraph.[Ch] (id): new function
7234
7235         * bufferlist.C (newFile): adjust
7236
7237         * ParagraphList.C (ParagraphList): adjust
7238         (assign): adjust
7239         (push_back): take a reference instead of a pointer.
7240
7241         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7242
7243         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7244         instead.
7245
7246         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7247         set else use old code.
7248
7249         * ParagraphList.C: remove all NO_NEXT code and only compile this
7250         code of NO_STD_LIST is set.
7251
7252 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7253
7254         * BufferView_pimpl.C:
7255         * TextCache.C:
7256         * TextCache.h:
7257         * bufferlist.C:
7258         * errorlist.h:
7259         * format.C:
7260         * format.h:
7261         * graph.C:
7262         * lyxfunc.C:
7263         * lyxrc.C:
7264         * graphics/GraphicsConverter.C:
7265         * graphics/PreviewLoader.C: header adjustment
7266
7267 2003-05-23  Angus Leeming  <leeming@lyx.org>
7268
7269         * LaTeXFeatures.[Ch] (useBabel): new method.
7270         * bufferparams.C (writeLaTeX): use it.
7271
7272 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7273
7274         * ParagraphList.h (set): remove unused function.
7275
7276 2003-05-23  André Pönitz  <poenitz@gmx.net>
7277
7278         * BufferView.C:
7279         * BufferView_pimpl.C:
7280         * buffer.C:
7281         * buffer.h:
7282         * lyxfunc.C:
7283         * undo_funcs.C: setUndo reworked
7284
7285         * iterators.[Ch]: add access to topmost ParagraphList
7286
7287         * lyxtext.[Ch] (workWidth): add a const
7288
7289 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7290
7291         * texrow.[Ch] (increasePos): remove function
7292         * exporter.C (export): removed unused var and outdated comment
7293
7294 2003-05-23  Angus Leeming  <leeming@lyx.org>
7295
7296         * latexrunparams.h: rename fragile as moving_arg.
7297         * paragraph.C (simpleTeXOnePar): ditto.
7298         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7299
7300 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7301
7302         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7303         (createUndo): ditto
7304         (textUndoOrRedo): comment out a currently unused var.
7305
7306         * paragraph.h (NO_NEXT): enable NO_NEXT
7307
7308         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7309
7310         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7311
7312         * exporter.C (Export): adjust for removeAutoInsets removal.
7313
7314         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7315
7316         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7317
7318         * BufferView.[Ch] (removeAutoInsets): delete function
7319
7320 2003-05-22  Angus Leeming  <leeming@lyx.org>
7321
7322         * latexrunparams.h: add a free_spacing variable.
7323
7324         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7325         to pass moving_arg, as the data is stored in runparams.fragile.
7326
7327         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7328         to Inset::latexOptional or to simpleTeXOnePar.
7329
7330         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7331         free_spacing arg to Inset::latexOptional.
7332
7333         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7334         free_spacing arg.
7335
7336 2003-05-22  Angus Leeming  <leeming@lyx.org>
7337
7338         * latexrunparams.h: add fragile and use_babel variables.
7339
7340         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7341         * buffer.C (makeLaTeXFile): store this returned value in
7342         runparams.use_babel, thus passing it to the inset::latex methods.
7343
7344         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7345         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7346
7347         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7348         longer has a fragile arg, as it is stored in runparams.fragile.
7349
7350         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7351         moving_arg parameter as the data is stored in runparams.fragile.
7352
7353         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7354         a fragile parameter as the data is stored in runparams.fragile.
7355
7356 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7357
7358         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7359
7360 2003-05-22  Angus Leeming  <leeming@lyx.org>
7361
7362         * latexrunparams.h: add a 'bool nice' which defaults to false.
7363
7364         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7365         now encapsulated within runparams.
7366
7367         * bufferlist.C (updateIncludedTeXfiles):
7368         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7369
7370 2003-05-22  Angus Leeming  <leeming@lyx.org>
7371
7372         * latexrunparams.h: new file containing struct LatexRunParams.
7373         * Makefile.am: add new file.
7374
7375         * LaTeX.[Ch] (c-tor, run):
7376         * buffer.[Ch] (makeLaTeXFile):
7377         * bufferlist.[Ch] (updateIncludedTeXfiles):
7378         * converter.C (convert, scanLog):
7379         * converter.[Ch] (runLaTeX):
7380         * exporter.C (Export):
7381         * paragraph.[Ch] (simpleTeXOnePar):
7382         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7383         * paragraph_funcs.[Ch] (latexParagraphs):
7384         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7385         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7386         pass around a LatexRunParams parameter.
7387
7388 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7389
7390         * paragraph.[Ch]: remove unused constructor
7391
7392         * ParagraphList.C (erase): new function, taking two iterators
7393
7394 2003-05-22  André Pönitz  <poenitz@gmx.net>
7395
7396         * undo_funcs.C: remove duplicated code
7397
7398         * iterator.[Ch]: operator=
7399
7400 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7401
7402         * tabular.C (SetMultiColumn): ws changes
7403
7404         * rowpainter.C (paintFirst): get rid of a ->previous
7405
7406         * lyx_cb.C (getPossibleLabel): parlist simplification
7407
7408         * BufferView.C (ChangeInsets): simplify slightly.
7409
7410 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7411
7412         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7413         * lfuns.h: new LFUN_SPACE
7414         * lyxfunc.C: protected space has a new lfun
7415         * paragraph_funcs.C: read new space insets
7416         * text3.C:
7417         * factory.C: handle new space insets
7418
7419 2003-05-22  André Pönitz  <poenitz@gmx.net>
7420
7421         * BufferView.C:
7422         * BufferView_pimpl.C:
7423         * buffer.[Ch]:
7424         * lyxfunc.C:
7425         * undo_funcs.C: return a ParIterator from getParFromID.
7426
7427         * iterators.[Ch]: add two const's
7428
7429 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7430
7431         * toc.C (getTocList): adjust
7432
7433         * iterators.[Ch]: rework for parlist
7434
7435         * buffer.C (par_iterator_begin): adjust
7436         (par_iterator_end): adjust
7437
7438         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7439
7440         * BufferView.C (removeAutoInsets): adjust
7441         (ChangeInsets): adjust
7442
7443 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7444
7445         * text.C (top_y): fix bug 1110
7446
7447 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7448
7449         * errorlist.[Ch]: added
7450         * buffer.C:
7451         * BufferView.[Ch]:
7452         * BufferView_pimpl.C:
7453         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7454         instead
7455
7456 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7457
7458         * Makefile.am: ensure that lyx is relinked upon changes to the
7459         various "convenience" libs.
7460
7461 2003-05-20  Angus Leeming  <leeming@lyx.org>
7462
7463         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7464         files are compiled in alphabetical order again.
7465
7466         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7467
7468 2003-05-19  Angus Leeming  <leeming@lyx.org>
7469
7470         * gettext.[Ch]: remove "char const * _(char const *)".
7471
7472 2003-05-19  André Pönitz  <poenitz@gmx.net>
7473
7474         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7475
7476         * Makefile.am:
7477         * BufferView.C:
7478         * DepTable.h:
7479         * LaTeXFeatures.C:
7480         * buffer.C:
7481         * lyxfont.C:
7482         * lyxlex.h:
7483         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7484
7485 2003-05-19  André Pönitz  <poenitz@gmx.net>
7486
7487         * buffer.C:
7488         * lyxlayout.[Ch]:
7489         * lyxtextclass.[Ch]:
7490         * paragraph.C:
7491         * paragraph_funcs.[Ch]:
7492         * text2.C:
7493         * text3.C: more insetenv work
7494
7495 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7496
7497         * ParagraphParameters.C (params2string): small bug fixed
7498
7499 2003-05-16  André Pönitz  <poenitz@gmx.net>
7500
7501         * debug.C:
7502         * bufferview_funcs.C: patch from Kornel Benko to prevent
7503           crash when _(...) is called twice in a statement
7504
7505 2003-05-16  André Pönitz  <poenitz@gmx.net>
7506
7507         * BufferView.C:
7508         * lyxfunc.C:
7509         * text.C:
7510         * text2.C:
7511         * text3.C:
7512         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7513
7514 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7515
7516         * lyx_main.C (init): remove spurious static_cast
7517
7518 2003-05-14  André Pönitz  <poenitz@gmx.net>
7519
7520         * BufferView.C: fix format string
7521
7522 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7523
7524         * BufferView.[Ch] (insertErrors): removed
7525         * BufferView.[Ch] (showErrorList): added
7526         * buffer.C (runChkTeX):
7527         * converter.C (scanLog): call showErrorList instead of inserterrors
7528
7529 2003-05-13  André Pönitz  <poenitz@gmx.net>
7530
7531         * BufferView_pimpl.C:
7532         * buffer.C:
7533         * bufferview_func.C:
7534         * MenuBackend.C:
7535         * lyxfunc.C:
7536         * lyxrc.C:
7537         * tex-accent.C:
7538         * text3.C:
7539         * toc.C:
7540         * tabular_funcs.h: tostr() from its own header
7541
7542         * ParagraphParameters.C:
7543         * ToolbarBackend.C:
7544         * bufferparams.C:
7545         * format.C:
7546         * lyxlex_pimpl.C:
7547         * text3.C: STRCONV()
7548
7549 2003-05-12  André Pönitz  <poenitz@gmx.net>
7550
7551         * BufferView.C:
7552         * BufferView_pimpl.C:
7553         * CutAndPaste.C:
7554         * LaTeX.C:
7555         * LaTeXFeatures.C:
7556         * ParagraphParameters.C:
7557         * buffer.C:
7558         * bufferlist.C:
7559         * bufferparams.C:
7560         * bufferview_funcs.C:
7561         * converter.C:
7562         * counters.C:
7563         * debug.C:
7564         * exporter.C:
7565         * format.C:
7566         * importer.C:
7567         * lyx_cb.C:
7568         * lyx_main.C:
7569         * lyxfont.C:
7570         * lyxfunc.C:
7571         * lyxvc.C:
7572         * paragraph.C:
7573         * paragraph_funcs.C:
7574         * tabular.C:
7575         * tabular_funcs.C:
7576         * text2.C:
7577         * text3.C:  boost::format -> bformat  all over the place
7578
7579
7580 2003-05-09  André Pönitz  <poenitz@gmx.net>
7581
7582         * LColor.[Ch]: Pimpl the #include <map> away
7583
7584 2003-05-09  John Levon  <levon@movementarian.org>
7585
7586         * bufferlist.C: never remove emergency saves
7587
7588 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7589
7590         * Makefile.am: better lib building
7591
7592 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7593
7594         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7595         instead.
7596         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7597         (simpleTeXSpecialChars): adjust
7598         (simpleTeXSpecialChars): adjust
7599         * paragraph.C (simpleTeXOnePar): adjust
7600         * buffer.C (makeLaTeXFile): adjust
7601
7602         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7603
7604         * text2.C (changeDepth): parlist cleanup
7605         (getColumnNearX): ditto
7606
7607         * rowpainter.C (getLabelFont): parlist cleanup
7608
7609         * bufferlist.C (newFile): parlist cleanup
7610
7611         * CutAndPaste.C (eraseSelection): parlist cleanup
7612
7613         * BufferView_pimpl.C (trackChanges): parlist cleanup
7614         (dispatch): ditto
7615
7616         * BufferView.C (lockInset): parlist cleanup.
7617         (ChangeInsets): ditto
7618
7619 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7620
7621         * CutAndPaste.h: Update file header.
7622
7623         * CutAndPaste.C: Update file header.
7624         Store the parts cut out of the Document in a limited_stack.
7625         (copySelection): adjust
7626         (pasteSelection): new function, takes the index in the limited stack.
7627         (nrOfParagraphs): adjust
7628         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7629         simplify error inset insertion.
7630         (checkPastePossible): adjust
7631
7632 2003-05-06  John Levon  <levon@movementarian.org>
7633
7634         * text2.C: don't cast wrap inset to float
7635
7636 2003-05-05  André Pönitz  <poenitz@gmx.net>
7637
7638         * iterator.C:
7639         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7640
7641         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7642           few naked Paragraph *.
7643
7644 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7645
7646         * bufferparams.C: Output warning if a document with missing
7647         TeX document class is loaded
7648         * exporter.C: Disable TeX exports if the document class is missing
7649         * lyxtextclass.C:
7650         * lyxtextclass.h:
7651         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7652         isTeXClassAvailable()
7653
7654 2003-05-03  John Levon  <levon@movementarian.org>
7655
7656         * BufferView.h:
7657         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7658         explicit cursor show/hide
7659
7660         * BufferView_pimpl.h:
7661         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7662         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7663
7664         * lyxfunc.C: hide cursor before dispatching.
7665
7666         * lyx_cb.C:
7667         * lyxfind.C:
7668         * text.C:
7669         * text3.C: remove explicit cursor hides
7670
7671 2003-05-02  André Pönitz  <poenitz@gmx.net>
7672
7673         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7674
7675         * undo_funcs.C:
7676         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7677           linked lists
7678
7679         * text2.C: tiny whitespace
7680
7681 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7682
7683         * undo_funcs.C: almost only ws changes.
7684
7685         * ParagraphList.C (splice): just return if pl is empty.
7686
7687 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7688
7689         * ParagraphList.C (splice): new function.
7690
7691         * CutAndPaste.C (pasteSelection): use it
7692
7693 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7694
7695         * CutAndPaste.C (pasteSelection): remove the last next and
7696         previous from this file.
7697
7698 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7699
7700         * CutAndPaste.C (pasteSelection): more clean up, user proper
7701         ParagraphList functions for pasteing.
7702
7703         * ParagraphList.C (insert): new function, three arg insert
7704
7705 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7706
7707         * ParagraphList.C (insert): new function, three arg insert
7708
7709         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7710         not on paragraphs.
7711
7712 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7713
7714         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7715
7716 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7717
7718         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7719
7720 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7721
7722         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7723         (copySelection): clean up a bit.
7724         (pasteSelection): use make_pair
7725
7726         * ParagraphList.C (ParagraphList): implement copy constructor
7727         (operator=): implement, base on copy constructor.
7728         (assign): new func
7729
7730         * paragraph.C (erase): return a bool
7731
7732         * paragraph_pimpl.C (erasePos): remove function, move contents...
7733         (erase): ... here. Return a bool.
7734         (erase): call erase instead of erasePos.
7735
7736 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7737
7738         * ParagraphList.h: define PitPosPair
7739         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7740         ParagraphList, fix a bug on pasting multiple pars
7741         * text2.C: change interface to C&P
7742
7743 2003-04-30  André Pönitz  <poenitz@gmx.net>
7744
7745         * undo_func.C: revert part of yesterday's patch 2
7746
7747 2003-04-30  John Levon  <levon@movementarian.org>
7748
7749         * LColor.C: s/tabular/table/
7750
7751 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7752
7753         * text3.C (dispatch): do not convert iterator -> pointer
7754         * undo_funcs.C (setCursorParUndo): ditto
7755         * text_funcs.C (transposeChars): ditto
7756
7757         * text2.C (setLayout): ws changes only
7758
7759         * text.C (breakParagraph): do not convert iterator -> pointer
7760         (insertChar): ditto
7761         (acceptChange): ditto
7762         (rejectChange): ditto
7763         (changeCase): ditto
7764         (Delete): ditto
7765         (backspace): ditto
7766
7767         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7768         pointer
7769
7770 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7771
7772         * text3.C (gotoInset): YABG (yet another bad getChar)
7773
7774 2003-04-29  André Pönitz  <poenitz@gmx.net>
7775
7776         * paragraph.h: make operator= private unimplemented as long as
7777           it is unusable
7778
7779         * ParagraphList.C: whitespace
7780
7781         * paragraph.[Ch]:
7782         * paragraph_pimpl.[Ch]:
7783         * paragraph_funcs.C:
7784         * CutAndPaste.C:
7785         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7786
7787         * text2.C:
7788           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7789
7790 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7791
7792         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7793         * paragraph.[Ch] (erase):
7794         * paragraph_pimpl.[Ch] (erase): change return type and value
7795         * text2.C (cutSelection): some rework
7796
7797 2003-04-28  John Levon  <levon@movementarian.org>
7798
7799         * bufferlist.C: changes for unsaved changes dialog
7800
7801 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7802
7803         * bufferlist.C (newFile): set language (messages_) for new
7804         documents also.
7805
7806         * buffer.C (readFile): ws changes only.
7807
7808 2003-04-28  André Pönitz  <poenitz@gmx.net>
7809
7810         * undo_funcs.C:
7811         * lyxfunc.C:
7812         * buffer.[Ch]:
7813         * BufferView_pimpl.C:
7814         * BufferView.C: getParFromID related ParagraphList::iterator changes
7815
7816 2003-04-28  André Pönitz  <poenitz@gmx.net>
7817
7818         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7819           Changes
7820
7821 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7822
7823         * messages.C: remove one more localedir class variable.
7824
7825 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7826
7827         * messages.C (getLocaleDir): singleton generation function
7828         (Pimpl): use it.
7829         (Messages): add a default constructor.
7830
7831         * main.C (main): do not setup localedir here, do not call
7832         gettext_init.
7833
7834         * gettext.C (_): use it.
7835         (gettext_init): delete funciton
7836
7837 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7838
7839         * gettext.C (getLyXMessages): new singleton generating function.
7840
7841         * buffer.C (updateDocLang): adjust
7842
7843         * Makefile.am (messages.o): add target
7844         (main.o): remove target
7845
7846 2003-04-27  John Levon  <levon@movementarian.org>
7847
7848         * bufferlist.C:
7849         * lyx_cb.C:
7850         * lyxfunc.C:
7851         * lyxvc.C: specify cancel button in Alert::prompt
7852
7853 2003-04-26  John Levon  <levon@movementarian.org>
7854
7855         * text3.C:
7856         * lyxfunc.C:
7857         * lfuns.h:
7858         * LyXAction.C: add LFUN_INSET_SETTINGS
7859
7860         * lyxfunc.C: don't enable tabular-feature when there's
7861         just any locking inset
7862
7863 2003-04-26  John Levon  <levon@movementarian.org>
7864
7865         * bufferlist.C: re-add Cancel to buffer close question
7866
7867         * lyxfunc.C: fix import UI a bit
7868
7869 2003-04-25  John Levon  <levon@movementarian.org>
7870
7871         * gettext.C: remove the broken asserts for now
7872
7873 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7874
7875         * messages.C: make case where setlocale cannot comply work better.
7876
7877         * buffer.C (updateDocLang): new function
7878         (changeLanguage): use it
7879         (readFile): use it
7880
7881         * text2.C (setCounter): use B_ a bit.
7882
7883         * lyxlayout.C (Read): be sure to trim the label strings.
7884
7885         * messages.C (Messages): fix typo in comment
7886
7887         * buffer.C (readFile): set message_ after file is loaded.
7888         (makeDocBookFile): remove double return
7889         (changeLanguage): reset message_ upon language change.
7890         (B_): new func, use this to get translated buffer strings.
7891
7892         * main.C: add myself and Jean Marc as authors.
7893
7894 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7895
7896         * messages.[hC]: pimplify Messages, and three different pimpls to be
7897         used in different circumstances.
7898
7899         * gettext.[Ch]: change for use with new message code.
7900
7901 2003-04-24 André Pönitz <poenitz@gmx.net>
7902
7903         * factory.C: support for eqref
7904
7905 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7906
7907         * messages.[Ch]: add missing char
7908
7909         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7910
7911         * messages.[Ch]: New files
7912
7913 2003-04-18  John Levon  <levon@movementarian.org>
7914
7915         * BufferView.h:
7916         * BufferView.C:
7917         * BufferView_pimpl.C:
7918         * lfuns.h:
7919         * LyXAction.C:
7920         * lyxtext.h:
7921         * text2.C: remove layout-copy/paste (bug 778)
7922
7923 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7924
7925         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7926
7927 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7928
7929         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7930         if they succeed. Act accordingly.
7931
7932 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7933
7934         * text2.C (setCharFont): adjust
7935         (setCounter): adjust
7936         (insertStringAsLines): adjust
7937
7938         * text.C (leftMargin): adjust
7939         (setHeightOfRow): adjust
7940
7941         * rowpainter.C (paintFirst): adjust
7942         (paintLast): adjust
7943
7944         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7945         (outerHook): ditto
7946         (isFirstInSequence): ditto
7947         (getEndLabel): ditto
7948         (outerFont): adjust
7949
7950         * paragraph.C (getParLanguage): comment out some hard stuff.
7951
7952         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7953         (sgmlError): ditto
7954         (simpleDocBookOnePar): ditto
7955         (makeDocBookFile): use ParagraphList::iterator
7956
7957         * CutAndPaste.C (pasteSelection): adjust
7958
7959 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7960
7961         * text2.C (getFont): adjust
7962         (getLayoutFont): adjust
7963         (getLabelFont): adjust
7964
7965         * paragraph_funcs.C (TeXOnePar): adjust
7966
7967         * buffer.C (simpleLinuxDocOnePar): adjust
7968         (simpleDocBookOnePar): adjust
7969
7970         * CutAndPaste.C (pasteSelection): adjust
7971
7972         * BufferView.C (getEncoding): adjust
7973
7974         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7975
7976 2003-04-16  John Levon  <levon@movementarian.org>
7977
7978         * lyxfind.C: use parlist stuff for search/changes
7979
7980 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7981
7982         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7983
7984         * text2.C (deleteEmptyParagraphMechanism): adjust
7985
7986         * text2.[Ch] (ownerParagraph): delete func (both of them
7987
7988 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7989
7990         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7991
7992 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7993
7994         * ParagraphList.C: prepare for NO_NEXT
7995
7996 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7997
7998         * text2.C (getFont): adjust
7999         (getLayoutFont): adjust
8000         (getLabelFont): adjust
8001
8002         * paragraph.C (getFont): adjust
8003         (getLabelFont): adjust
8004         (getLayoutFont): adjust
8005
8006         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8007
8008 2003-04-15  John Levon  <levon@movementarian.org>
8009
8010         From Angus Leeming
8011
8012         * lyx_main.C: handle Include in .ui files
8013
8014 2003-04-15  John Levon  <levon@movementarian.org>
8015
8016         * MenuBackend.C: make the doc files length shorter
8017
8018         * ToolbarBackend.h:
8019         * ToolbarBackend.C: handle toolbar placement flags,
8020         Minibuffer
8021
8022 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8023
8024         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8025         adjust
8026
8027         * paragraph_funcs.C (TeXOnePar): adjust
8028
8029         * paragraph.C (getLabelFont): add outerfont arg, adjust
8030         (getLayoutFont): ditto
8031         (simpleTeXOnePar): adjust
8032
8033         * paragraph_pimpl.C (realizeFont): delete func
8034
8035 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8036
8037         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8038         row argument, constify cur argument.
8039
8040 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8041
8042         * text2.C (getFont): adjust
8043         (getLayoutFont): adjust
8044         (getLabelFont): adjust
8045
8046         * paragraph_funcs.C (TeXOnePar): adjust
8047         (outerFont): new func...
8048         (realizeFont): ...moved out from here, changed this to facilitate
8049         transition
8050
8051         * paragraph.C (getFont): take outerfont as arg, adjust
8052         (simpleTeXOnePar): add outerfont arg, adjust
8053
8054         * buffer.C (simpleLinuxDocOnePar): adjust
8055         (simpleDocBookOnePar): adjust
8056
8057         * CutAndPaste.C (pasteSelection): adjust
8058
8059         * BufferView.C (getEncoding): adjust
8060
8061 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8062
8063         * text2.C (setCharFont): adjust
8064         (setCounter): adjust
8065
8066         * text.C (leftMargin): adjust
8067         (setHeightOfRow): adjust
8068
8069         * rowpainter.C (paintFirst): adjust
8070         (paintLast): adjust
8071
8072         * paragraph_pimpl.C (realizeFont): adjust
8073
8074         * paragraph.C (isFirstInSequence): move from here...
8075         * paragraph_funcs.C (isFirstInSequence): ...to here
8076
8077         * paragraph.C (outerHook): move from here...
8078         * paragraph_funcs.C (outerHook): ...to here
8079
8080         * paragraph.C (depthHook): move from here...
8081         * paragraph_funcs.C (depthHook): ...to here
8082
8083         * paragraph.C (getEndLabel): move from here...
8084         * paragraph_funcs.C (getEndLabel): ...to here
8085
8086         * text2.C (realizeFont): move from here...
8087         * paragraph_funcs.C (realizeFont): ...to here
8088
8089 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8090
8091         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8092
8093 2003-04-14  Angus Leeming  <leeming@lyx.org>
8094
8095         * LColor.[Ch]: scrap LColor mathcursor.
8096
8097 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8098
8099         * lyxlex.[Ch] (text): delete function
8100         * trans.C (Load): adjust
8101         * paragraph_funcs.C (readParToken): adjust
8102
8103 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8104
8105         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8106         vector<char> instead of a char[].
8107
8108         * lyxlex_pimpl.C (getString): adjust
8109         (next): adjust
8110         (lex): use getString
8111         (eatLine): adjust
8112         (nextToken): adjust
8113
8114         * lyxlex.C (text): use pimpl_->getString()
8115         (getBool): ditto
8116         (findToken): ditto
8117
8118 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8119
8120         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8121         (makeFontEntriesLayoutSpecific): temp var for par.size()
8122         (setLayout): temp var for ownerParagraphs().end()
8123         (fullRebreak): temp var for rows().end()
8124         (selectionAsString): temp var for boost::next(startpit), realize
8125         that the while really is a regular for loop.
8126         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8127         setCursor in one place.
8128         (setParagraph): temp vr for ownerParagraphs().end()
8129         (updateCounters): make the while loop a for loop
8130         (cutSelection): temp var for ownerParagraphs().end()
8131         (updateInset): make the do {} while() a regular for loop
8132         (getCursorX): use temp vars
8133         (setCurrentFont): use temp vars
8134         (getColumnNearX): use temp vars
8135
8136 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8137
8138         * text.C (transformChar): use temp var for getChar
8139         (computeBidiTables): use temp var for row->par()
8140         (fill): move temp vars for row->par() and pit->layout() earlier in
8141         the function.
8142         (labelFill): use temp var for row->par()
8143         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8144         asc and desc, realize that pit never changes and that firstpit is
8145         just a duplicate and not needed. Exchange rit->par() with pit in a
8146         lot of places.
8147         (breakAgain): use a temp var for boost::next(rit)
8148         (breakAgainOneRow): ditto
8149         (breakParagraph): use a temp var for rows().begin()
8150         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8151         (cursorRightOneWord): use temp var for cursor.par() and
8152         cursor.pos(), remove usage of tmpcursor.
8153         (cursorLeftOneWord): use temp var for cursor.par() and
8154         cursor.pos() only set cur at end of function.
8155
8156 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8157
8158         * text.C, text2.C: exchange all usage of Paragraph::next with
8159         boost::next(ParagraphList::iterator)
8160
8161         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8162
8163         * text2.C (cursorTop): simplify implementation
8164         (cursorBottom): ditto
8165         (setParagraph): use ParagraphList::iterator
8166         (setCurrentFont): adjust
8167         (getColumnNearX): adjust
8168         (cursorRight): adjust
8169         (cursorLeft): remove usage of Paragraph::previous
8170         (cursorUpParagraph): ditto
8171         (deleteEmptyParagraphMechanism): slight cleanup
8172
8173         * text.C (isBoundary): take a Paragraph const & instead of a
8174         pointer as arg.
8175         (addressBreakPoint): ditto
8176         (leftMargin): remove usage of Paragraph::previous.
8177         (setHeightOfRow): ditto
8178         (cursorLeftOneWord): ditto
8179         (selectNextWordToSpellcheck): ditto
8180         (Delete): ditto
8181         (backspace): ditto
8182         (breakParagraph): remove one usage of Paragraph::next
8183         (redoParagraph): ditto
8184         (acceptChange): ditto
8185         (insertChar): adjust
8186         (rowBreakPoint): adjust
8187
8188         * bufferview_funcs.C (toggleAndShow): adjust
8189
8190 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8191
8192         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8193         methods to access it.
8194         * lyxtext.h:
8195         * text.C: Added updateRowPositions to compute all row positions.
8196         Make top_y and getRowNearY() to use the cached y position
8197
8198 2003-04-11  John Levon  <levon@movementarian.org>
8199
8200         * text.C (rowBreakPoint): reintroduce the labelEnd
8201         checks, code copied from the row fill stuff. Deep voodoo.
8202
8203         * text.C (fill): add a comment and debugging for the
8204         next poor soul.
8205
8206 2003-04-11  John Levon  <levon@movementarian.org>
8207
8208         * text.C: make sure fullrow insets get wrapped to the next line,
8209         even when they're in a manual label
8210
8211 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8212
8213         * text2.C (insertParagraph): make it take ParagraphList::iterator
8214         as arg.
8215         (setLayout): make it return ParagraphList::iterator
8216         (redoParagraphs): ditto
8217         (setCounter): ditto
8218         (checkParagraph): ditto
8219
8220         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8221
8222         * text2.C: adjust several funcs.
8223         (realizeFont): take a ParagraphList::iterator as arg.
8224         (getLayoutFont): ditto
8225         (getLabelFont): ditto
8226         (setCharFont): ditto
8227
8228         * text.C: adjust several funcs.
8229
8230 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8231
8232         * text.C (selectNextWordToSpellcheck): don't accidentally
8233         skip insets
8234
8235 2003-04-10  John Levon  <levon@movementarian.org>
8236
8237         * ToolbarBackend.C (getIcon): special handling for
8238         LFUN_MATH_DELIM
8239
8240 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8241
8242         * text2.C (cursorRight): a getChar assert fixed
8243
8244 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * text2.C (getFont): change to take a ParagraphList::iterator
8247         instead of Paragraph*
8248         Adjust several functions.
8249
8250         * text.C (transformChar): change to take a ParagraphList::iterator
8251         instead of Paragraph*
8252         (singleWidth): ditto
8253         Adjust several functions.
8254
8255         * rowpainter.C: adjust several functions
8256         * rowpainter.h:store a ParagraphList::iterator and not a
8257         Paragraph&.
8258
8259
8260 2003-04-09  John Levon  <levon@movementarian.org>
8261
8262         * lyxfunc.C:
8263         * lfuns.h:
8264         * LyXAction.h:
8265         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8266         and the "help" bits as well
8267
8268 2003-04-09  John Levon  <levon@movementarian.org>
8269
8270         * ToolbarBackend.h:
8271         * ToolbarBackend.C: allow multiple toolbars
8272
8273 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8274
8275         * undo_funcs.C (setCursorParUndo): adjust
8276
8277         * text_funcs.C (transposeChars): adjust
8278
8279         * text3.C (gotoNextInset): adjust
8280         (dispatch): adjust
8281
8282         * text2.C (setLayout): adjust
8283         (changeDepth): adjust
8284         (setFont): adjust
8285         (redoParagraphs): adjust
8286         (selectionAsString): adjust
8287         (setParagraph): adjust
8288         (insertInset): adjust
8289         (cutSelection): adjust
8290         (copySelection): adjust
8291         (pasteSelection): adjust
8292         (insertStringAsLines): adjust
8293         (updateInset): adjust
8294         (setCursor): change to take a ParagraphList::iterator parameter
8295         (setCursorIntern): change to take a ParagraphList::iterator parameter
8296         (setCurrentFont): adjust
8297         (cursorLeft): adjust
8298         (cursorRight): adjust
8299         (deleteEmptyParagraphMechanism): adjust
8300
8301         * text.C (breakParagraph): adjust
8302         (insertChar): adjust
8303         (acceptChange): adjust
8304         (rejectChange): adjust
8305         (selectNextWordToSpellcheck): adjust
8306         (changeCase): adjust
8307         (Delete): adjust
8308         (backspace): adjust
8309
8310         * lyxfind.C (SearchForward): adjust
8311         (SearchBackward): adjust
8312         (nextChange): adjust
8313
8314         * lyxcursor.C (par): adjust
8315
8316         * lyxcursor.h: store a ParagraphList::iterator instead of a
8317         Paragraph*
8318
8319         * lyx_cb.C (getPossibleLabel): adjust
8320
8321         * bufferview_funcs.C (toggleAndShow): adjust
8322
8323         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8324         (dispatch): adjust
8325
8326         * BufferView.C (removeAutoInsets): adjust
8327         (lockedInsetStoreUndo): adjust
8328
8329 2003-04-09  John Levon  <levon@movementarian.org>
8330
8331         * ToolbarBackend.C: try icon without argument
8332         if with argument fails
8333
8334 2003-04-08  John Levon  <levon@movementarian.org>
8335
8336         * ToolbarBackend.h:
8337         * ToolbarBackend.C: add getIcon(), handle tooltip,
8338         and change from "Icon" to "Item".
8339
8340 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8341
8342         * BufferView.C (lockInset): another bad getchar crunched
8343
8344 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8345
8346         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8347         again)
8348
8349 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8350
8351         * lyxfind.C (searchForward, searchBackwards): bug 782
8352
8353 2003-04-07  John Levon  <levon@movementarian.org>
8354
8355         * paragraph.C: remove dead comment
8356
8357         * text.C: remove troublesome depth-fiddling code
8358         in leftMargin() and rightMargin() (bug 1017)
8359
8360         * text.C: fix breaking of rows in nested lists
8361         (bug 1004)
8362
8363         * text2.C (updateCounters): fix up depth values
8364         (bug 1013)
8365
8366 2003-04-07  John Levon  <levon@movementarian.org>
8367
8368         * BufferView_pimpl.C: clear message when doc finishes resizing,
8369         and after a mouse event
8370
8371         * lyxfunc.C: clear message after exiting inset
8372
8373 2003-04-07  John Levon  <levon@movementarian.org>
8374
8375         * bufferview_funcs.C: show math status not outside
8376         status in the statusbar
8377
8378 2003-04-07  John Levon  <levon@movementarian.org>
8379
8380         * lyxfunc.C: note status changed after a depth change
8381
8382 2003-04-04  Angus Leeming  <leeming@lyx.org>
8383
8384         * LaTeX.h: move AuxInfo operator==, != out of line.
8385         Remove LaTeX virtual destructor; nothing derives from it.
8386         Move operator()() out of public area and rename it startscript().
8387         Change protected for private.
8388
8389 2003-04-04  Angus Leeming  <leeming@lyx.org>
8390
8391         * lyxfunc.C:
8392         * text2.C: remove unneeded #includes.
8393
8394 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8395
8396         * text2.C (dEPM): fix the heigth of the next row
8397
8398 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8399
8400         * text.C: squashed an invalid getChar requester + some ws changes
8401
8402 2003-04-03  John Levon  <levon@movementarian.org>
8403
8404         * bufferview_funcs.h:
8405         * bufferview_funcs.C:
8406         * lyxfunc.C:
8407         * lyxtext.h:
8408         * text2.C: make getStatus work for the env depth lfuns
8409
8410 2003-04-03  John Levon  <levon@movementarian.org>
8411
8412         * bufferview_funcs.h:
8413         * bufferview_funcs.C:
8414         * lyxfunc.C:
8415         * lyxtext.h:
8416         * text2.C: parlistize decDepth(), by merging it with incDepth()
8417
8418 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8419
8420         * lyxrow.h: store a ParagraphList::iterator instead of a
8421         Paragraph* and adjust other class functions to suit.
8422
8423         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8424         above.
8425
8426 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8427
8428         * text2.C (setCursor): do not anchor to cursor row for the time being
8429
8430 2003-04-02  John Levon  <levon@movementarian.org>
8431
8432         * LyXAction.C:
8433         * lfuns.h:
8434         * lyx_main.C:
8435         * lyxtext.h:
8436         * text.C:
8437         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8438
8439 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8440
8441         * paragraph.h: make ParagraphList and ParagraphList::iterator
8442         friends of Paragraph.
8443
8444         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8445
8446         * ParagraphList.C: Use the private next_ and previous_ from
8447         Paragraph.
8448
8449 2003-04-01  John Levon  <levon@movementarian.org>
8450
8451         * ToolbarBackend.h:
8452         * ToolbarBackend.C:
8453         * Makefile.am: rename, remove defaults gunk
8454
8455         * MenuBackend.h:
8456         * MenuBackend.C: remove defaults gunk
8457
8458         * Languages.h:
8459         * Languages.C: remove defaults gunk
8460
8461         * lyx_main.h:
8462         * lyx_main.C: error out if files couldn't be found.
8463
8464 2003-04-02  John Levon  <levon@movementarian.org>
8465
8466         * text2.C: make incDepth() use parlist
8467
8468 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8469
8470         * undo_funcs.C (firstUndoParagraph): adjust
8471
8472         * text3.C (gotoInset): adjust
8473         (dispatch): adjust, and rewrite loop.
8474
8475         * text2.C (init): adjust, and rewrite loop.
8476         (redoParagraphs): adjust
8477         (updateInset): adjust, and rewrite loop.
8478         (deleteEmptyParagraphMechanism): adjust
8479
8480         * tabular.C (LyXTabular): adjust
8481         (SetMultiColumn): adjust
8482         (TeXRow): adjust
8483
8484         * lyxtext.[Ch] (ownerParagraph): delete function
8485         (ownerParagraphs): new function returns a ParagraphList.
8486
8487         * BufferView.C (removeAutoInsets): adjust
8488         (insertErrors): adjust
8489         (setCursorFromRow): adjust
8490
8491 2003-04-01  Angus Leeming  <leeming@lyx.org>
8492
8493         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8494         in the frontends.
8495
8496 2003-04-02  John Levon  <levon@movementarian.org>
8497
8498         * lyxtext.h:
8499         * text.C:
8500         * Makefile.am:
8501         * text_funcs.h:
8502         * text_funcs.C: make transposeChars a free function
8503
8504         * lyxrow_funcs.C: remove wrong comment
8505
8506 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8507
8508         * lyxtext.h: adjust
8509         * rowpainter.C: adjust
8510         * text.C: adjust
8511         * text2.C: adjust
8512         * text3.C: adjust
8513
8514         * lyxrow_funcs. [Ch]: new files
8515
8516         * lyxrow.[Ch]: remove next and previous pointers
8517         (next,previous): remove accessor functions
8518         (isParEnd): move to lyxrow_funcs
8519         (lastPos): move to lyxrow_funcs
8520         (nextRowIsAllInset): move to lyxrow_funcs
8521         (lastPrintablePos): move to lyxrow_funcs
8522         (numberOfSeparators): move to lyxrow_funcs
8523         (numberOfHfills): move to lyxrow_funcs
8524         (numberOfLabelHfills): move to lyxrow_funcs
8525         (hfillExpansion): move to lyxrow_funcs
8526
8527         * lyxfunc.C: adjust
8528
8529         * bufferview_funcs.C (toggleAndShow): adjust
8530
8531         * RowList.h: Remove class RowList from file leave just a
8532         std::list<Row>.
8533
8534         * RowList.C: delete file
8535
8536         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8537         and lyxrow_funcs.h
8538
8539 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8540
8541         * text3.C (cursorPrevious): adjust
8542         (cursorNext): adjust
8543         (dispatch): adjust
8544
8545         * text2.C (redoHeightOfParagraph): adjust
8546         (redoDrawingOfParagraph): adjust
8547         (setCursor): adjust
8548
8549         * text.C (breakParagraph): adjust
8550         (insertChar): adjust
8551         (backspace): adjust
8552
8553         * rowpainter.C (RowPainter): adjust
8554         (leftMargin): simplify and adjust
8555         (most rowpainter functions): adjust.
8556
8557         * rowpainter.h: store the row as RowList::iterator not as Row*
8558
8559         * lyxcursor.C (row): taka RowList::iterator as arg
8560         (irow): ditto
8561
8562         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8563         of Row*.
8564
8565 2003-04-01  Angus Leeming  <leeming@lyx.org>
8566
8567         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8568         stuff like bool Bool.
8569
8570 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8571
8572         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8573         rewrite a loop
8574
8575 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8576
8577         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8578         RowList::iterator.
8579
8580         * lyxtext.h (rows): drop one version and leve a const variant that
8581         returns a RowList::iterator.
8582
8583 2003-03-31  Angus Leeming  <leeming@lyx.org>
8584
8585         * text.C (fill): ensure that the signature is the same as that in the
8586         header file.
8587
8588 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8589
8590         * text2.C (redoParagraphs): adjust
8591         (updateCounters): adjust
8592         (checkParagraph): adjust
8593         (getColumnNearX): adjust and reformat a bit.
8594
8595         * text.C (top_y): adjust
8596         (workWidth): adjust
8597         (leftMargin): adjust
8598         (prepareToPrint): adjust
8599         (getRow): adjust
8600         (getRowNearY): adjust
8601
8602         * lyxtext.h: make rowlist_ mutable.
8603
8604         * RowList.h: add const_iterator
8605         * RowList.C: adjust for RowList::const_iterator.
8606
8607         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8608         adjust.
8609
8610 2003-03-31  John Levon  <levon@movementarian.org>
8611
8612         * lyxrc.h:
8613         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8614
8615         * lyx_main.C: set default fonts from using lyx_gui funcs
8616
8617         * exporter.C: pdf_mode moved from lyxrc
8618
8619         * lyx_cb.C:
8620         * lyxfunc.C: changes from above
8621
8622 2003-03-31  John Levon  <levon@movementarian.org>
8623
8624         * lyx_main.C: fix to the last fix
8625
8626 2003-03-31  John Levon  <levon@movementarian.org>
8627
8628         * bufferlist.C: "Load original" -> "Load Original"
8629
8630         * converter.C:
8631         * exporter.C:
8632         * importer.C:
8633         * lyx_main.C:
8634         * format.C: more Alert cleanups
8635
8636 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8637
8638         * text2.C (removeParagraph): make it take a RowList::iterator as
8639         arg, adjust.
8640         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8641         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8642
8643         * text.C (anchor_row): make it take a RowList::iterator as arg,
8644         adjust.
8645         (computeBidiTables): make it take a const reference to Row instead
8646         of Row pointer, adjust.
8647         (leftMargin): make it take a RowList::iterator as arg, adjust.
8648         (rowBreakPoint): adjust
8649         (breakAgainOneRow): make it take a RowList::iterator as arg,
8650         adjust.
8651         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8652
8653         * bufferview_funcs.C (toggleAndShow): adjust
8654
8655 2003-03-30  John Levon  <levon@movementarian.org>
8656
8657         * Makefile.am:
8658         * BoostFormat.h:
8659         * boost-inst.C: moved to support
8660
8661         * several files: changes as a result
8662
8663 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8664
8665         * text2.C (LyXText): adjust.
8666         (init): adjust
8667         (removeRow): make it take a RowList::iterator as arg, adjust.
8668         (fullRebreak): adjust
8669         (deleteEmptyParagraphMechanism): adjust
8670         (clearPaint): adjust
8671         (postPaint): adjust
8672
8673         * text.C (top_y): adjust
8674         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8675         (breakAgain): make it take a RowList::iterator as arg, adjust.
8676         (breakParagraph): adjust
8677         (insertChar): adjust
8678         (backspace): adjust
8679
8680         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8681         need_break_row, and refresh_row.
8682
8683         * text3.C (dispatch): adjust
8684
8685         * text2.C (checkParagraph): adjust
8686         (setCursor): adjust
8687         (setCursorFromCoordinates): adjust
8688
8689         * text.C (top_y): adjust
8690         (workWidth): adjust
8691         (getRow): make it return a RowList::iterator, adjust
8692         (getRowNearY): make it return a RowList::iterator, adjust
8693
8694         * text2.C (init): adjust
8695         (insertRow): remove function
8696         (insertParagraph): adjust
8697         (redoParagraphs): adjust
8698         (fullRebreak): adjust
8699         (updateCounters): adjust
8700
8701         * text.C (top_y): rewrite to use RowList iterators.
8702         (top_y): adjust
8703         (setHeightOfRow): rewrite to sue RowList iterators.
8704         (appendParagraph): adjust
8705         (breakAgain): adjust
8706         (breakAgainOneRow): adjust
8707         (breakParagraph): adjust
8708         (getRow): adjust
8709         (getRowNearY): adjust, and remove commented code.
8710
8711         * lyxtext.h (firstRow): delete function
8712         (lastRow): delete function
8713         (rows): new function (const and non-const versions.)
8714         (insertRow): delete function
8715
8716         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8717
8718 2003-03-29  John Levon  <levon@movementarian.org>
8719
8720         * BufferView_pimpl.C: always update scrollbar top
8721         because pasting text when we're anchored could mean we
8722         miss an update altogether
8723
8724 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8725
8726         * text2.C (init): use rowlist_.end() and not 0.
8727         (insertRow): change to take a RowList::iterator as arg, adjust
8728         for this.
8729         (insertParagraph): change to take a RowList::iterator as arg,
8730         adjust for this.
8731         (redoParagraphs): remove some debug msgs.
8732
8733         * text.C (appendParagraph): change to take a RowList::iterator
8734         arg, adjust for this.
8735         (breakAgain): add an assert
8736         (breakAgainOneRow): ditto
8737
8738 2003-03-29  John Levon  <levon@movementarian.org>
8739
8740         * text2.C: do not clear selection after inc/decDepth
8741         (bug 550)
8742
8743 2003-03-29  John Levon  <levon@movementarian.org>
8744
8745         * BufferView.C:
8746         * buffer.C: fix broken strerrors according to Lars
8747
8748 2003-03-29  John Levon  <levon@movementarian.org>
8749
8750         * converters.C: more Alert cleanups
8751
8752 2003-03-29  John Levon  <levon@movementarian.org>
8753
8754         * bufferview_funcs.C: remove pointless Alert
8755
8756         * buffer.C: fix confusing error message when
8757         a template is chmoded 000
8758
8759 2003-03-29  John Levon  <levon@movementarian.org>
8760
8761         * BufferView.C:
8762         * BufferView.h:
8763         * BufferView_pimpl.C: Alert fixes
8764
8765         * Makefile.am:
8766         * tabular.C:
8767         * tabular-old.C: remove unused table compat reading
8768
8769 2003-03-29  John Levon  <levon@movementarian.org>
8770
8771         * BufferView.C:
8772         * buffer.C:
8773         * lyx_cb.h:
8774         * lyx_cb.C: more Alert cleanups
8775
8776         * lyxfunc.C: don't allow chktex if not latex document
8777
8778 2003-03-29  John Levon  <levon@movementarian.org>
8779
8780         * lyx_cb.C:
8781         * BufferView.C:
8782         * buffer.C: warnings pushed down from support/,
8783         kill err_alert
8784
8785 2003-03-29  John Levon  <levon@movementarian.org>
8786
8787         * lyxfunc.C: safety check for C-r (revert)
8788
8789 2003-03-29  John Levon  <levon@movementarian.org>
8790
8791         * bufferlist.h:
8792         * bufferlist.C: several UI fixes using Alert::prompt.
8793         Fix the pointless looping quit code. Fix stupid revert
8794         behaviour (bug 938)
8795
8796         * lyxvc.h:
8797         * lyxvc.C:
8798         * lyx_cb.C: use Alert::prompt
8799
8800         * lyx_main.C: remove a silly question
8801
8802         * lyxfunc.C: remove a couple of silly questions,
8803         use Alert::prompt
8804
8805 2003-03-28  John Levon  <levon@movementarian.org>
8806
8807         * text2.C: fix bug 974 (End on empty par)
8808
8809 2003-03-28  John Levon  <levon@movementarian.org>
8810
8811         * BufferView_pimpl.C:
8812         * LyXAction.C:
8813         * lfuns.h: remove do-nothing math greek lfuns
8814
8815 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8816
8817         * lyxgluelength.h (isValidGlueLength): add default arg on
8818         parameter 2. Remove default arg from friend in class.
8819
8820         * lyxlength.h (isValidLength): add default arg on parameter 2.
8821         Remove default arg from friend in class.
8822
8823         * text2.C (LyXText): adjust, initialize refresh_row.
8824         (init): adjust
8825         (removeRow): adjust
8826         (insertRow): adjust
8827         (insertParagraph): adjst
8828         (redoParagraphs): adjust
8829         (fullRebreak): adjust
8830         (updateCounters): adjust
8831         (deleteEmptyParagraphMechanism): first attempt at fixing a
8832         crashing bug.
8833
8834         * text.C (top_y): adjust
8835         (setHeightOfRow): adjust
8836         (getRow): adjust
8837         (getRowNearY): adjust
8838
8839         * lyxtext.h: include RowList.h
8840         (~LyXText): not needed anymore, deleted.
8841         (firstRow): modify for RowList
8842         (lastRow): new function
8843         Delete firstrow and lastrow class variables, add a Rowlist
8844         rowlist_ class variable.
8845
8846         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8847         paragraph is empty.
8848
8849         * RowList.C (insert): fix case where it == begin().
8850
8851 2003-03-26  Angus Leeming  <leeming@lyx.org>
8852
8853         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8854         the thesaurus dialog.
8855
8856 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8857
8858         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8859
8860         * RowList.[Ch]: new files
8861
8862         * ParagraphList.C (erase): handle the case where it == begin
8863         correctly.
8864
8865 2003-03-25  John Levon  <levon@movementarian.org>
8866
8867         * Makefile.am:
8868         * aspell_local.h:
8869         * aspell.C: add new aspell support
8870
8871         * lyxrc.h:
8872         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8873         have it accessible.
8874
8875 2003-03-25  Angus Leeming  <leeming@lyx.org>
8876
8877         * lfuns.h:
8878         * LyXAction.C (init): new LFUN_INSET_INSERT.
8879
8880         * BufferView_pimpl.C (dispatch): split out part of the
8881         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8882
8883         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8884         LFUN_INSET_APPLY.
8885
8886 2003-03-25  Angus Leeming  <leeming@lyx.org>
8887
8888         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8889
8890 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8891
8892         * text2.C:
8893         * text3.C: remove useless row->height(0)
8894
8895 2003-03-25  John Levon  <levon@movementarian.org>
8896
8897         * lyxtext.h:
8898         * text2.C:
8899         * text3.C: rename the refreshing stuff to better names
8900
8901 2003-03-24  John Levon  <levon@movementarian.org>
8902
8903         * BufferView_pimpl.h:
8904         * BufferView_pimpl.C: update layout choice on a mouse
8905         press/release
8906
8907 2003-03-23  John Levon  <levon@movementarian.org>
8908
8909         * Makefile.am: fix commandtags.h reference
8910
8911 2003-03-22  John Levon  <levon@movementarian.org>
8912
8913         * BufferView_pimpl.C:
8914         * lyxtext.h:
8915         * rowpainter.C:
8916         * rowpainter.h:
8917         * text.C:
8918         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8919
8920 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8921
8922         * lyxtext.h:
8923         * text.C: take the rtl methods out of line
8924
8925 2003-03-21 André Pönitz <poenitz@gmx.net>
8926
8927         * metricsinfo.[Ch]: new files containing structures to be passed around
8928         during the two-phase-drawing...
8929
8930 2003-03-21 André Pönitz <poenitz@gmx.net>
8931
8932         * lyxtextclass.C: read 'environment' tag.
8933
8934 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8935
8936         * text2.C (removeRow): fix bug 964
8937
8938 2003-03-20  John Levon  <levon@movementarian.org>
8939
8940         * rowpainter.C:
8941         * text.C:
8942         * text2.C: paint cleanups. Inset::update() dropped font
8943         parameter
8944
8945 2003-03-19  John Levon  <levon@movementarian.org>
8946
8947         * lyxfunc.C: only fitcursor/markDirty if available()
8948
8949 2003-03-19  John Levon  <levon@movementarian.org>
8950
8951         * commandtags.h: rename to ...
8952
8953         * lfuns.h: ... this, and renumber / cleanup
8954
8955 2003-03-19  John Levon  <levon@movementarian.org>
8956
8957         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8958         fit the cursor after an lfun
8959
8960         * BufferView.h:
8961         * BufferView.C:
8962         * BufferView_pimpl.h:
8963         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8964
8965         * LyXAction.C: layout-character should have ReadOnly
8966
8967         * ParagraphParameters.C:
8968         * buffer.C:
8969         * bufferview_funcs.C:
8970         * lyx_cb.C:
8971         * lyxfind.C:
8972         * lyxtext.h:
8973         * text.C:
8974         * text2.C:
8975         * text3.C:
8976         * undo_funcs.C: changes from above
8977
8978 2003-03-18  John Levon  <levon@movementarian.org>
8979
8980         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8981         remove it from update()
8982
8983         * lyxfunc.C: update layout choice after an lfun
8984
8985         * text3.C: remove extra updateLayoutChoice()s
8986
8987 2003-03-18  John Levon  <levon@movementarian.org>
8988
8989         * text.C: top_y change means full repaint, fix
8990         a drawing bug with cursor movement
8991
8992 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8993
8994         * lyxtext.h:
8995         * text.C:
8996         * text2.C: anchor row on setCursor
8997
8998 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8999
9000         * lyxtext.h: remove almost all mutable keywords
9001         * text.C:
9002         * text2.C:
9003         * text3.C: remove const keywords accordingly
9004
9005 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9006
9007         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9008         anon namespace
9009         (TeXEnvironment): ditto
9010         (TeXOnePar): ditto
9011
9012 2003-03-17  John Levon  <levon@movementarian.org>
9013
9014         * text.C (rowBreakPoint): remove attempt to fix displayed
9015         math insets inside a manual label
9016
9017 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9018
9019         * lyxtext.h: remove BufferView* as first arg from almost all class
9020         functions.
9021         * other files: adjust.
9022
9023 2003-03-17  John Levon  <levon@movementarian.org>
9024
9025         * lyxtext.h:
9026         * undo_funcs.C:
9027         * text2.C: more paint cleanups
9028
9029         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9030
9031         * rowpainter.h:
9032         * rowpainter.C: remove "smart" background painting code
9033
9034 2003-03-16  John Levon  <levon@movementarian.org>
9035
9036         * lyxtext.h:
9037         * text.C:
9038         * text2.C:
9039         * text3.C: add helper functions for setting refresh_row/y
9040
9041 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9042
9043         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9044         newline inset which *can* get inserted in the pass_thru layouts.
9045         This is primarily for literate documents.
9046
9047 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9048
9049         * buffer.C: increment LYX_FORMAT to 223
9050
9051 2003-03-14 André Pönitz <poenitz@gmx.net>
9052
9053         * textclass.h: prepare for environment handling, ws changes
9054         * lyxlayout.C: read latexheader and latexfooter tags
9055
9056 2003-03-14  John Levon  <levon@movementarian.org>
9057
9058         * text2.C: rewrite ::status() a bit
9059
9060 2003-03-13  John Levon  <levon@movementarian.org>
9061
9062         * lyxtext.h: add some docs
9063
9064 2003-03-13  John Levon  <levon@movementarian.org>
9065
9066         * lyxtext.h:
9067         * text.C:
9068         * text2.C:
9069         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9070
9071 2003-03-13  John Levon  <levon@movementarian.org>
9072
9073         * text3.C: fix appendix redrawing
9074
9075 2003-03-13  John Levon  <levon@movementarian.org>
9076
9077         * text.C (setHeightOfRow):
9078         * rowpainter.h:
9079         * rowpainter.C: make appendix mark have the text
9080           "Appendix" so the user knows what it is
9081
9082         * LColor.h:
9083         * LColor.C: s/appendixline/appendix/ from above
9084
9085 2003-03-13  John Levon  <levon@movementarian.org>
9086
9087         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9088
9089         * text.C: fix a getChar(pos) bug properly
9090
9091 2003-03-13  Angus Leeming  <leeming@lyx.org>
9092
9093         * commandtags.h:
9094         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9095         Probably only temporary. Let's see how things pan out.
9096
9097         * BufferView.C (unlockInset):
9098         * BufferView_pimpl.C (fitCursor):
9099         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9100
9101         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9102         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9103
9104         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9105         new functions that convert ParagraphParameters to and from a string.
9106
9107         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9108         BufferView::Pimpl's dispatch.
9109         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9110
9111 2003-03-13 André Pönitz <poenitz@gmx.net>
9112
9113         * lyxfunc.C:
9114         * text3.C:
9115         * factory.C: make it aware of InsetEnv
9116
9117 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9118
9119         * text2.C (setCursor): never ask for one past last
9120         (setCursor): add some debugging messages.
9121
9122         * text.C (singleWidth): never ask for one past last
9123         (singleWidth): ditto
9124         (leftMargin): ditto
9125         (rightMargin): ditto
9126         (rowBreakPoint): ditto
9127         (setHeightOfRow): ditto
9128         (prepareToPrint): ditto
9129
9130         * rowpainter.C (paintBackground): never ask for one past last
9131         (paintText): never ask for one past last
9132
9133         * paragraph_pimpl.C (getChar): make the assert stricter, never
9134         allow the one past last pos to be taken
9135
9136         * paragraph.C (getChar): ws changes only
9137
9138         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9139         (numberOfSeparators): ditto
9140         (numberOfHfills): ditto
9141
9142 2003-03-12  John Levon  <levon@movementarian.org>
9143
9144         * author.h:
9145         * author.C:
9146         * bufferparams.h:
9147         * bufferparams.C:
9148         * paragraph_funcs.C: fix per-buffer authorlists
9149
9150 2003-03-12  John Levon  <levon@movementarian.org>
9151
9152         * text.C: fix newline in right address
9153
9154 2003-03-12  Angus Leeming  <leeming@lyx.org>
9155
9156         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9157         duplicate those in LyXFunc::dispatch.
9158
9159         * commandtags.h:
9160         * LyXAction.C:
9161         * ToolbarDefaults.C:
9162         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9163         Add LFUN_FONTFREE_UPDATE.
9164
9165         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9166         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9167
9168         * bufferview_func.[Ch]: several new functions to facilliate
9169         transfer of data to and from the character dialog.
9170
9171 2003-03-12  John Levon  <levon@movementarian.org>
9172
9173         * buffer.C:
9174         * paragraph.h:
9175         * paragraph.C:
9176         * paragraph_funcs.C:
9177         * paragraph_pimpl.C:
9178         * sgml.C:
9179         * tabular.C:
9180         * text.C:
9181         * text3.C: remove META_NEWLINE in favour of an inset
9182
9183         * rowpainter.h:
9184         * rowpainter.C: remove paintNewline (done by inset)
9185
9186 2003-03-12  John Levon  <levon@movementarian.org>
9187
9188         * paragraph_pimpl.C: complain about bad getChar()s
9189         for a while at least
9190
9191 2003-03-12  John Levon  <levon@movementarian.org>
9192
9193         * buffer.h:
9194         * buffer.C: move paragraph read into a separate function,
9195         a little renaming to reflect that.
9196
9197         * bufferparams.h:
9198         * bufferparams.C: remove the author_ids map, not necessary now
9199
9200         * factory.h:
9201         * factory.C: moved Buffer::readInset to here
9202
9203         * paragraph_funcs.h:
9204         * paragraph_funcs.C: readParagraph free function moved from
9205         buffer.C
9206
9207         * tabular.C: name change
9208
9209 2003-03-12  John Levon  <levon@movementarian.org>
9210
9211         * buffer.C:
9212         * ParagraphParameters.C: move par params input to
9213         a read() method
9214
9215         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9216         behave like a normal read from the stream wrt reading
9217         a line vs. a \\token
9218
9219 2003-03-12  John Levon  <levon@movementarian.org>
9220
9221         * paragraph.C:
9222         * ParagraphParameters.h:
9223         * ParagraphParameters.C: move output code to a
9224         ::write() method
9225
9226 2003-03-12  John Levon  <levon@movementarian.org>
9227
9228         * BufferView.C (insertLyXFile):
9229         * buffer.h:
9230         * buffer.C:
9231         * tabular.C: use a parlist iterator for creating the
9232           document.
9233
9234 2003-03-12  John Levon  <levon@movementarian.org>
9235
9236         * buffer.C: make current_change static local not
9237           static file-scope
9238
9239 2003-03-12  John Levon  <levon@movementarian.org>
9240
9241         * buffer.C: fix insertStringAsLines for change tracking
9242
9243 2003-03-12  John Levon  <levon@movementarian.org>
9244
9245         * BufferView.C:
9246         * tabular.C:
9247         * buffer.h:
9248         * buffer.C:
9249         * bufferparams.h:
9250         * bufferparams.C: move author list into params. Rename some
9251           functions. Move the header reading into a separate token
9252           loop. Move the header token reading into BufferParams.
9253
9254 2003-03-12  John Levon  <levon@movementarian.org>
9255
9256         * changes.C: put debug inside lyxerr.debugging() checks
9257
9258 2003-03-11 André Pönitz <poenitz@gmx.net>
9259
9260         * factory.C: make it aware of InsetHFill
9261
9262 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9263
9264         * buffer.C (latexParagraphs): move function from here...
9265         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9266         args.
9267
9268 2003-03-10  Angus Leeming  <leeming@lyx.org>
9269
9270         * LyXAction.C (init): fix bug in poplating array with multiple entries
9271         with the same LFUN (spotted by JMarc).
9272
9273 2003-03-10  John Levon  <levon@movementarian.org>
9274
9275         * text.C:
9276         * text2.C: move getColumnNearX() near its
9277         only call site
9278
9279 2003-03-10  John Levon  <levon@movementarian.org>
9280
9281         * text.C: fix break before a minipage
9282
9283 2003-03-10  John Levon  <levon@movementarian.org>
9284
9285         * text.C: fix the last commit
9286
9287 2003-03-09  John Levon  <levon@movementarian.org>
9288
9289         * lyxtext.h:
9290         * text.C:
9291         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9292         bug 365 (don't break before insets unless needed). Don't
9293         return a value > last under any circumstances.
9294
9295 2003-03-09  Angus Leeming  <leeming@lyx.org>
9296
9297         * BufferView_pimpl.C (trackChanges, dispatch): call
9298         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9299
9300 2003-03-09  Angus Leeming  <leeming@lyx.org>
9301
9302         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9303         than Dialogs::showAboutlyx().
9304
9305 2003-03-09  Angus Leeming  <leeming@lyx.org>
9306
9307         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9308         than Dialogs::showTabularCreate().
9309
9310 2003-03-09  John Levon  <levon@movementarian.org>
9311
9312         * lyxtext.h:
9313         * text.C:
9314         * text2.C: 3rd arg to nextBreakPoint was always the same.
9315           Use references.
9316
9317 2003-03-08  John Levon  <levon@movementarian.org>
9318
9319         * lyxrow.C:
9320         * paragraph.C:
9321         * paragraph.h:
9322         * rowpainter.C:
9323         * text.C:
9324         * text2.C: Remove the "main" bit from the "main body"
9325           notion.
9326
9327 2003-03-08  John Levon  <levon@movementarian.org>
9328
9329         * text.C (leftMargin): The left margin of an empty
9330         manual label paragraph should not include the label width
9331         string length.
9332
9333         * text.C (prepareToPrint): don't attempt to measure hfills
9334         for empty manual label paragraphs - the answer should be 0
9335
9336 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9337
9338         * CutAndPaste.C: remove commented code and reindent.
9339
9340 2003-03-08  John Levon  <levon@movementarian.org>
9341
9342         * lyxfunc.h:
9343         * lyxfunc.C: move reloadBuffer()
9344
9345         * BufferView.h:
9346         * BufferView.C: to here
9347
9348         * lyxvc.C: add comment
9349
9350         * vc-backend.h:
9351         * vc-backend.C: call bv->reload() to avoid
9352           getStatus() check on MENURELOAD
9353
9354 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9355
9356         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9357         to an old format .dep file.
9358
9359 2003-03-07  Angus Leeming  <leeming@lyx.org>
9360
9361         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9362         when the LFUN_MOUSE_RELEASE should have been handled by
9363         inset->localDispatch.
9364
9365 2003-03-07  Angus Leeming  <leeming@lyx.org>
9366
9367         * BufferView_pimpl.C (dispatch):
9368         * LyXAction.C (init):
9369         * ToolbarDefaults.C (init):
9370         * commandtags.h:
9371         * lyxfunc.C (getStatus):
9372         remove LFUN_INSET_GRAPHICS.
9373
9374         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9375
9376 2003-03-07  Angus Leeming  <leeming@lyx.org>
9377
9378         * commandtags.h:
9379         * LyXAction.C (init):
9380         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9381
9382         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9383
9384         * commandtags.h:
9385         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9386
9387         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9388         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9389
9390 2003-03-07  Angus Leeming  <leeming@lyx.org>
9391
9392         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9393         remove "ert".
9394
9395 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9396
9397         * ParagraphList.C (front): new function
9398         (back): implement
9399
9400 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9401
9402         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9403         and top_row_offset_. removed var first_y.
9404         * text.C (top_y):
9405         * text2.C (LyXText, removeRow):
9406         * text3.C:
9407         * BufferView_pimpl.C:
9408         use these methods instead of using first_y
9409
9410 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9411
9412         * text2.C (pasteSelection): adjust for checkPastePossible
9413
9414         * CutAndPaste.C: remove Paragraph * buf and replace with
9415         ParagraphList paragraphs.
9416         (DeleteBuffer): delete
9417         (cutSelection): change the tc type to textclass_type
9418         (copySelection): change the tc type to textclass_type
9419         (copySelection): adjust for ParagraphList
9420         (pasteSelection): change the tc type to textclass_type
9421         (pasteSelection): adjust for Paragraphlist
9422         (nrOfParagraphs): simplify for ParagraphList
9423         (checkPastePossible): simplify for ParagraphList
9424         (checkPastePossible): remove unused arg
9425
9426         * ParagraphList.C (insert): handle the case where there are no
9427         paragraphs yet.
9428
9429         * CutAndPaste.h: make CutAndPaste a namespace.
9430
9431         * text3.C (dispatch): adjust
9432
9433         * text.C (breakParagraph): add a ParagraphList as arg
9434
9435         * paragraph_funcs.C (breakParagraph): change to take a
9436         BufferParams and a ParagraphList as args.
9437         (breakParagraphConservative): ditto
9438         (mergeParagraph): ditto
9439         (TeXDeeper): add a ParagraphList arg
9440         (TeXEnvironment): ditto
9441         (TeXOnePar): ditto
9442
9443         * buffer.C (readLyXformat2): adjust
9444         (insertStringAsLines): adjust
9445         (latexParagraphs): adjust
9446
9447         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9448         (cutSelection): adjust
9449         (pasteSelection): adjust
9450
9451         * BufferView_pimpl.C (insertInset): adjust
9452
9453 2003-03-05  Angus Leeming  <leeming@lyx.org>
9454
9455         * commandtags.h:
9456         * LyXAction.C (init):
9457         * BufferView_pimpl.C (dispatch):
9458         * lyxfunc.C (getStatus):
9459         remove LFUN_CHILD_INSERT.
9460
9461         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9462
9463 2003-03-05  Angus Leeming  <leeming@lyx.org>
9464
9465         * commandtags.h:
9466         * LyXAction.C (init):
9467         * src/factory.C (createInset):
9468         * lyxfunc.C (getStatus):
9469         * text3.C (dispatch):
9470         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9471
9472         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9473
9474 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9475
9476         * ParagraphList.C (insert): handle insert right before end()
9477         (erase): fix cases where it can be first or last paragraph.
9478
9479 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9480
9481         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9482         Paragraph::next and Paragraph::previous
9483         (TeXOnePar): ditto
9484
9485         * text.C (breakParagraph): adjust
9486
9487         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9488         BufferParams& as arg.
9489         (breakParagraph): use ParagraphList::insert
9490         (breakParagraphConservative): take a Buffer* instead of a
9491         BufferParams& as arg.
9492         (breakParagraphConservative): use ParagraphList::insert.
9493
9494         * buffer.C (insertStringAsLines): un-const it
9495         (insertStringAsLines): adjust
9496
9497         * ParagraphList.C (insert): new function
9498
9499         * CutAndPaste.C (pasteSelection): adjust
9500
9501         * text.C (backspace): adjust
9502
9503         * tabular.C (SetMultiColumn): adjust
9504
9505         * CutAndPaste.C (cutSelection): adjust
9506         (pasteSelection): adjust
9507
9508         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9509         Buffer const * as arg
9510
9511         * ParagraphList.C (erase): new function
9512         * paragraph_funcs.C (mergeParagraph): use it
9513         (mergeParagraph): make it take a Buffer* instead of a
9514         BufferParams* as arg
9515
9516         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9517         as arg
9518         (breakParagraphConservative): ditto
9519
9520         * paragraph.h: remove the breakParagraph friend
9521
9522         * paragraph.C (eraseIntern): new function
9523         (setChange): new function
9524
9525         * paragraph_funcs.C (mergeParagraph): make it take a
9526         ParagraphList::iterator instead of a Paragraph *, adjust
9527         accordingly.
9528
9529         * paragraph.h: move an #endif so that the change tracking stuff
9530         also works in the NO_NEXT case.
9531
9532 2003-03-04  Angus Leeming  <leeming@lyx.org>
9533
9534         * commandtags.h:
9535         * LyXAction.C: new LFUN_INSET_MODIFY.
9536
9537         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9538         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9539
9540 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9541
9542         * several files: ws changes only
9543
9544         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9545         (TeXEnvironment): ditto
9546         (TeXDeeper): ditto
9547
9548         * buffer.C (makeLaTeXFile): adjust
9549         (latexParagraphs): make it take ParagraphList::iterator as args
9550
9551 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9552
9553         * buffer.C (latexParagraphs): adjust
9554
9555         * paragraph.C (TeXOnePar): move function...
9556         (optArgInset): move function...
9557         (TeXEnvironment): move function...
9558         * paragraph_pimpl.C (TeXDeeper): move function...
9559         * paragraph_funcs.C: ...here
9560
9561         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9562
9563 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9564
9565         * buffer.C (readInset): remove compability code for old Figure and
9566         InsetInfo insets
9567
9568 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9569
9570         * buffer.C: ws changes
9571         (readInset):
9572
9573         * BufferView_pimpl.C: ditto
9574         * author.C: ditto
9575         * buffer.h: ditto
9576         * bufferlist.h: ditto
9577         * changes.h: ditto
9578         * lyxfunc.C: ditto
9579
9580 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9581
9582         * converter.[Ch]: split into itself +
9583         * graph.[Ch]
9584         * format.[Ch]
9585         * Makefile.am: += graph.[Ch] + format.[Ch]
9586         * MenuBackend.C
9587         * buffer.C
9588         * exporter.C
9589         * importer.C
9590         * lyx_main.C
9591         * lyxfunc.C
9592         * lyxrc.C: added #include "format.h"
9593
9594 2003-02-27  Angus Leeming  <leeming@lyx.org>
9595
9596         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9597           a label.
9598
9599         * factory.C (createInset): add "label" to the factory.
9600
9601         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9602           string and do no more.
9603
9604 2003-02-27  Angus Leeming  <leeming@lyx.org>
9605
9606         * commandtags.h:
9607         * LyXAction.C (init):
9608         * factory.C (createInset):
9609         * BufferView_pimpl.C (dispatch):
9610           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9611
9612         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9613
9614         * lyxfunc.C (dispatch):
9615         * text3.C (dispatch): pass name to params2string.
9616
9617 2003-02-26  Angus Leeming  <leeming@lyx.org>
9618
9619         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9620           blocks together.
9621           Rearrange the ~includes. Strip out the unnecessary ones.
9622
9623         * factory.C (createInset): reformat.
9624           create new insets for the various LFUN_XYZ_APPLY lfuns.
9625
9626 2003-02-26  John Levon  <levon@movementarian.org>
9627
9628         * lyxrow.h:
9629         * lyxrow.C: add isParStart,isParEnd helpers
9630
9631         * paragraph.h: make isInserted/DeletedText take refs
9632
9633         * paragraph_funcs.h:
9634         * paragraph_funcs.C: remove #if 0'd code
9635
9636         * lyxtext.h:
9637         * text3.C:
9638         * text2.C:
9639         * text.C: use lyxrow helpers above.
9640           Move draw and paint routines to RowPainter.
9641           Make several methods use refs not pointers.
9642           Make backgroundColor() const.
9643           Add markChangeInDraw(), isInInset().
9644           Merge changeRegionCase into changeCase.
9645           Make workWidth() shouldn't-happen code into an Assert.
9646
9647         * rowpainter.h:
9648         * rowpainter.C: new class for painting a row.
9649
9650         * vspace.h:
9651         * vspace.C: make inPixels take a ref
9652
9653 2003-02-26  Angus Leeming  <leeming@lyx.org>
9654
9655         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9656         LFUN_REF_APPLY.
9657
9658 2003-02-25  John Levon  <levon@movementarian.org>
9659
9660         * ispell.C: give the forked command a more accurate name
9661
9662 2003-02-22  John Levon  <levon@movementarian.org>
9663
9664         * toc.h:
9665         * toc.C: make TocItem store an id not a Paragraph *
9666           (bug #913)
9667
9668 2003-02-21  Angus Leeming  <leeming@lyx.org>
9669
9670         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9671           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9672           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9673           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9674           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9675           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9676
9677         * BufferView_pimpl.C (dispatch):
9678         * LyXAction.C (init):
9679         * factory.C (createInset):
9680         * lyxfunc.C (getStatus, dispatch):
9681         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9682
9683 2003-02-21  Angus Leeming  <leeming@lyx.org>
9684
9685         * BufferView_pimpl.C (MenuInsertLyXFile):
9686         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9687         * lyxfunc.C (menuNew, open, doImport):
9688           no longer pass a LyXView & to fileDlg.
9689
9690 2003-02-21  Angus Leeming  <leeming@lyx.org>
9691
9692         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9693         * LyXAction.C: change, BIBKEY to BIBITEM.
9694         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9695         Change InsetBibKey to InsetBibitem.
9696         Change BIBKEY_CODE to BIBITEM_CODE.
9697         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9698         * factory.C: replace insetbib.h with insetbibitem.h.
9699         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9700         * paragraph.C: replace insetbib.h with insetbibitem.h.
9701         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9702         Change bibkey() to bibitem().
9703         * text.C: remove insetbib.h.
9704         * text2.C: replace insetbib.h with insetbibitem.h.
9705         change bibkey() to bibitem().
9706         * text3.C: remove insetbib.h.
9707         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9708
9709 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9710
9711         * lyxrc.C (output): enclose user email in quotes (in case there are
9712         several words)
9713
9714 2003-02-18  John Levon  <levon@movementarian.org>
9715
9716         * buffer.h: add std::
9717
9718 2003-02-17  John Levon  <levon@movementarian.org>
9719
9720         * SpellBase.h:
9721         * ispell.h:
9722         * ispell.C:
9723         * pspell.h:
9724         * pspell.C: reworking. Especially in ispell, a large
9725           number of clean ups and bug fixes.
9726
9727         * lyxfunc.C: fix revert to behave sensibly
9728
9729 2003-02-17 André Pönitz <poenitz@gmx.net>
9730
9731         * LyXAction.C:
9732         * commandtags.h: new LFUN_INSERT_BIBKEY
9733
9734         * layout.h:
9735         * lyxlayout.C:
9736         * buffer.C:
9737         * factory.C:
9738         * text.C:
9739         * text2.C:
9740         * text3.C:
9741         * paragraph.[Ch]:
9742         * paragraph_func.C: remove special bibkey handling
9743
9744 2003-02-17  John Levon  <levon@movementarian.org>
9745
9746         * text.C (Delete): fix case where delete at the end of
9747           the very first paragraph would not merge the pars
9748
9749 2003-02-17  John Levon  <levon@movementarian.org>
9750
9751         * lyxrow.C: fix lastPrintablePos()
9752
9753 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9754
9755         * bufferparams.C (writeLaTeX): add a std:here
9756
9757         * buffer.C: and remove a using directive there
9758
9759 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9760
9761         * buffer.C (makeLaTeXFile): move the code that generates the
9762           preamble...
9763
9764         * bufferparams.C (writeLaTeX): ... in this new method
9765
9766         * LaTeXFeatures.C (getEncodingSet): make const
9767           (getLanguages): make const
9768
9769         * MenuBackend.C (binding): returns the binding associated to this
9770           action
9771           (add): sets the status of each item by calling getStatus. Adds
9772           some intelligence.
9773           (read): add support for OptSubMenu
9774           (expand): remove extra separator at the end of expanded menu
9775
9776 2003-02-15  John Levon  <levon@movementarian.org>
9777
9778         * BufferView.C:
9779         * BufferView_pimpl.C:
9780         * bufferlist.h:
9781         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9782           inset code that had no actual effect. Remove unneeded status
9783           code.
9784
9785 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9786
9787         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9788           in preamble
9789
9790 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9791
9792         * text.C (drawLengthMarker): also draw an arrow marker for
9793           symbolic lengths (medskip...)
9794
9795 2003-02-14  John Levon  <levon@movementarian.org>
9796
9797         * tabular.h:
9798         * tabular.C: better method names
9799
9800 2003-02-14  John Levon  <levon@movementarian.org>
9801
9802         * BufferView_pimpl.C:
9803         * bufferlist.C:
9804         * buffer.C:
9805         * converter.C:
9806         * lyx_cb.C:
9807         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9808           it's a more accurate name. Remove some pointless uses.
9809
9810 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9811
9812         * text2.C (LyXText): change order of initilizers to shut off
9813           warnings
9814
9815 2003-02-14  John Levon  <levon@movementarian.org>
9816
9817         * buffer.C: use ParIterator for getParFromID()
9818
9819         * paragraph.h:
9820         * paragraph.C:
9821         * paragraph_pimpl.h:
9822         * paragraph_pimpl.C: remove unused getParFromID()
9823
9824 2003-02-14  John Levon  <levon@movementarian.org>
9825
9826         * buffer.C: remove some very old #if 0'd parse code
9827
9828 2003-02-13  John Levon  <levon@movementarian.org>
9829
9830         * text.h:
9831         * text.C:
9832         * text2.C: move hfillExpansion(), numberOfSeparators(),
9833           rowLast(), rowLastPrintable(), numberofHfills(),
9834           numberOfLabelHfills() ...
9835
9836         * lyxrow.h:
9837         * lyxrow.C: ... to member functions here.
9838
9839         * paragraph.h:
9840         * paragraph.C:
9841         * lyxtext.h:
9842         * text.C: remove LyXText::beginningOfMainBody(), and call
9843           p->beginningOfMainBody() directly. Move the check for
9844           LABEL_MANUAL into the latter.
9845
9846         * text.h:
9847         * text.C:
9848         * text2.C:
9849         * vspace.C:
9850         * BufferView.h:
9851         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9852
9853         * text.h:
9854         * text.C:
9855         * text2.C:
9856         * text3.C:
9857         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9858           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9859
9860 2003-02-13  John Levon  <levon@movementarian.org>
9861
9862         * CutAndPaste.C: remove debug
9863
9864 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9865
9866         * paragraph.C (asString): remove two unused variables
9867
9868         * lyxtextclass.C (readTitleType):
9869           (Read):
9870           (LyXTextClass): handle new members titletype_ and titlename_
9871
9872         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9873
9874 2003-02-09  John Levon  <levon@movementarian.org>
9875
9876         * buffer.h:
9877         * buffer.C: replace hand-coded list with a map for the dep clean
9878
9879 2003-02-08  John Levon  <levon@movementarian.org>
9880
9881         * LaTeX.C: consolidate code into showRunMessage() helper
9882
9883 2003-02-08  John Levon  <levon@movementarian.org>
9884
9885         * lyxfind.C:
9886         * lyxtext.h:
9887         * text2.C:
9888         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9889           and pass the size in explicitly
9890
9891         * BufferView_pimpl.h:
9892         * BufferView_pimpl.C:
9893         * BufferView.h:
9894         * BufferView.C: add getCurrentChange()
9895
9896         * BufferView_pimpl.h:
9897         * BufferView_pimpl.C: handle change lfuns
9898
9899         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9900           for changes. Mark pasted paragraphs as new.
9901
9902         * support/lyxtime.h:
9903         * support/lyxtime.C:
9904         * DepTable.C: abstract time_t as lyx::time_type
9905
9906         * LColor.h:
9907         * LColor.C: add colours for new text, deleted text, changebars
9908
9909         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9910           package use "usenames" option.
9911
9912         * commandtags.h:
9913         * lyxfunc.C:
9914         * LyXAction.C: add change lfuns
9915
9916         * Makefile.am:
9917         * author.h:
9918         * author.C: author handling
9919
9920         * buffer.h:
9921         * buffer.C: add a per-buffer author list, with first entry as
9922           current author. Handle new .lyx tokens for change tracking. Output
9923           author list to .lyx file. Output dvipost stuff to .tex preamble.
9924           Bump lyx format to 222.
9925
9926         * bufferlist.h:
9927         * bufferlist.C: add setCurrentAuthor() to reset current author details
9928           in all buffers.
9929
9930         * bufferparams.h:
9931         * bufferparams.C: add param for tracking
9932
9933         * bufferview_funcs.C: output change info in minibuffer
9934
9935         * Makefile.am:
9936         * changes.h:
9937         * changes.C: add change-tracking structure
9938
9939         * debug.h:
9940         * debug.C: add CHANGES debug flag
9941
9942         * lyxfind.h:
9943         * lyxfind.C: add code for finding the next change piece
9944
9945         * lyxrc.h:
9946         * lyxrc.C: add user_name and user_email
9947
9948         * lyxrow.h:
9949         * lyxrow.C: add a metric for the top of the text line
9950
9951         * lyxtext.h:
9952         * text.C: implement accept/rejectChange()
9953
9954         * lyxtext.h:
9955         * text.C: paint changebars. Paint new/deleted text in the chosen
9956         colours. Strike through deleted text.
9957
9958         * paragraph.h:
9959         * paragraph.C:
9960         * paragraph_pimpl.h:
9961         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9962           in the current change to the insert functions. Rework erase to
9963           mark text as deleted, adding an eraseIntern() and a range-based
9964           erase(). Implement per-paragraph change lookup and
9965           accept/reject.
9966
9967         * paragraph_funcs.C: Fixup paste for change tracking.
9968
9969         * tabular.C: mark added row/columns as new.
9970
9971         * text.C: fix rowLast() to never return -1. Don't allow
9972           spellchecking of deleted text. Track transpose changes. Don't
9973           allow paragraph break or merge where appropriate.
9974
9975         * text2.C: leave cursor at end of selection after a cut.
9976
9977 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9978
9979         * text.C (getLengthMarkerHeight):
9980         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9981         visible on screen too.
9982
9983 2003-02-07  John Levon  <levon@movementarian.org>
9984
9985         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9986
9987 2003-02-05  Angus Leeming  <leeming@lyx.org>
9988
9989         * lyxserver.C (read_ready): revert my patch of 11 September last year
9990         as it sends PC cpu through the roof. Presumably this means that
9991         the lyxserver will no longer run on an Alpha...
9992
9993 2003-01-30  Angus Leeming  <leeming@lyx.org>
9994
9995         * factory.C (createInset): create an InsetCommandParam of type "index"
9996         and use it to 'do the right thing'.
9997
9998         * text2.C (getStringToIndex): ensure that cursor position is always
9999         reset to the reset_cursor position.
10000
10001 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10002
10003         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10004         disabled.
10005
10006 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10007
10008         * bufferview.C:
10009         * lyxcb.C:
10010         * lyxfunc.C: Output messages with identical spelling, punctuation,
10011         and spaces
10012
10013 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10014
10015         * MenuBackend.C (expandFormats): List only viewable export formats
10016         in "View" menu
10017
10018         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10019         message
10020
10021         * lyxfunc.C (getStatus): Make sure that formats other than
10022         "fax" can also be disabled
10023
10024 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10025
10026         * text3.C (dispatch): put the lfuns that insert insets in 3
10027         groups, and call doInsertInset with appropriate arguments.
10028         (doInsertInset): new function, that creates an inset and inserts
10029         it according to some boolean parameters.
10030
10031 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10032
10033         * buffer.C (readFile): remember to pass on 'par' when calling
10034         readFile recursively.
10035
10036 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10037
10038         * MenuBackend.C (expandFormats): add "..." to import formats.
10039
10040 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10041
10042         * paragraph.C (asString): Remove XForms RTL hacks.
10043
10044 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10045         * buffer.C: fix typo
10046
10047 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10048
10049         * Makefile.am (LIBS): delete var
10050         (lyx_LDADD): add @LIBS@ here instead.
10051
10052 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10053
10054         * Clarify the meaning of "wheel mouse jump"
10055
10056 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10057
10058         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10059         tabular in a float
10060
10061 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10062
10063         * importer.C (Loaders): do not preallocate 3 elements in the
10064         vector, since one ends up with 6 elements otherwise
10065
10066 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10067
10068         * DepTable.C (write): write the file name as last element of the
10069         .dep file (because it may contain spaces)
10070         (read): read info in the right order
10071
10072 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10073
10074         * paragraph_pimpl.C (simpleTeXBlanks):
10075         (simpleTeXSpecialChars):
10076         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10077
10078         * tabular.C (latex): add some missing case statements. Reindent.
10079
10080         * MenuBackend.C (expandToc): remove unused variable.
10081
10082 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10083
10084         * LColor.C:
10085         * LaTeX.C:
10086         * LyXAction.C:
10087         * MenuBackend.C:
10088         * buffer.C:
10089         * exporter.C:
10090         * lyxfunc.C:
10091         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10092         and the like.
10093
10094 2003-01-05  John Levon  <levon@movementarian.org>
10095
10096         * BufferView.h:
10097         * BufferView.C: add getEncoding()
10098
10099         * kbsequence.h:
10100         * kbsequence.C: do not store last keypress
10101
10102         * lyxfunc.h:
10103         * lyxfunc.C: store last keypress here instead. Pass encoding
10104           to getISOEncoded()
10105
10106 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10107
10108         * lyx_main.C (init): remove annoying error message when following
10109         symbolic links (bug #780)
10110
10111 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10112
10113         * text.C (insertChar):
10114         * lyxrc.C (getDescription): remove extra spaces
10115
10116 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10117
10118         * lyxrc.C (getDescription): remove extra spaces
10119
10120 2002-12-20  John Levon  <levon@movementarian.org>
10121
10122         * text3.C: hack fix for page up/down across tall rows
10123
10124 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10125
10126         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10127         not been invoked
10128
10129 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10130
10131         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10132         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10133         thesaurus is not compiled in
10134
10135 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10136
10137         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10138
10139 2002-12-16  Angus Leeming  <leeming@lyx.org>
10140
10141         * lyxrc.[Ch]:
10142         * lyx_main.C (init): remove override_x_deadkeys stuff.
10143
10144 2002-12-12  John Levon  <levon@movementarian.org>
10145
10146         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10147           insert. Only remove shift modifier under strict
10148           circumstances.
10149
10150 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10151
10152         * MenuBackend.C (expandToc): fix crash.
10153
10154 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10155
10156         * MenuBackend.C (expandToc): gettext on float names.
10157
10158 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10159
10160         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10161         implement bool empty() [bug 490]
10162
10163 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10164
10165         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10166
10167 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10168
10169         * several files: ws changes
10170
10171 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10172
10173         * text2.C (setCounter): clean up a bit, use boost.format.
10174         (updateCounters): initialize par upon declaration.
10175
10176         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10177         if the layout exists. We do not just store the layout any more.
10178         (SwitchLayoutsBetweenClasses): use boost.format
10179
10180 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10181
10182         * converter.C (convert): if from and to files are the same, use a
10183         temporary files as intermediary
10184
10185 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10186
10187         * commandtags.h:
10188         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10189
10190 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10191
10192         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10193
10194 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10195
10196         * tabular.C (asciiPrintCell): use string(size, char) instead of
10197         explicit loop.
10198
10199         * sgml.C (openTag): fix order of arguments to string constructor
10200         (closeTag): ditto
10201
10202         * lyxfunc.C (dispatch): use boost.format
10203
10204         * lots of files: change "c" -> 'c'
10205
10206 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10207
10208         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10209
10210 2002-11-25  Angus Leeming  <leeming@lyx.org>
10211
10212         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10213
10214         * lyx_main.C (init): compile fix.
10215
10216 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10217
10218         * lyx_cb.C (start): boost.formatify
10219         do not include <iostream>
10220
10221         * lengthcommon.C: ws only
10222
10223         * boost-inst.C,BoostFormat.h: add more explict instantations
10224
10225 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10226
10227         * lots of files: handle USE_BOOST_FORMAT
10228
10229 2002-11-21  John Levon  <levon@movementarian.org>
10230
10231         * pspell.C: fix compile
10232
10233 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10234
10235         * lyxfunc.C (dispatch): use boost::format
10236         (open): ditto
10237         (doImport): ditto
10238
10239         * lyxfont.C (stateText): use boost::format
10240
10241         * lyx_main.C (LyX): use boost::format
10242         (init): ditto
10243         (queryUserLyXDir): ditto
10244         (readRcFile): ditto
10245         (parse_dbg): ditto
10246         (typedef boost::function): use the recommened syntax.
10247
10248         * importer.C (Import): use boost::format
10249
10250         * debug.C (showLevel): use boost::format
10251
10252         * converter.C (view): use boost::format
10253         (convert): ditto
10254         (move): ditto
10255         (scanLog): ditto
10256
10257         * bufferview_funcs.C (currentState): use boost::format
10258
10259         * bufferlist.C (emergencyWrite): use boost::format
10260
10261         * buffer.C (readLyXformat2): use boost::format
10262         (parseSingleLyXformat2Token): ditto
10263
10264         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10265
10266         * LaTeX.C (run): use boost::format
10267
10268         * Chktex.C (scanLogFile): use boost::format
10269
10270         * BufferView_pimpl.C (savePosition): use boost::format
10271         (restorePosition): ditto
10272         (MenuInsertLyXFile): ditto
10273
10274         * BoostFormat.h: help file for explicit instation.
10275
10276 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10277
10278         * tabular.C (latex): Support for block alignment in fixed width
10279         columns.
10280
10281 2002-11-17  John Levon  <levon@movementarian.org>
10282
10283         * BufferView_pimpl.C:
10284         * lyx_cb.C:
10285         * lyxfunc.C: split filedialog into open/save
10286
10287 2002-11-08  Juergen Vigna  <jug@sad.it>
10288
10289         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10290         by my last patch (hopefully).
10291
10292 2002-11-08  John Levon  <levon@movementarian.org>
10293
10294         * iterators.h:
10295         * iterators.C:
10296         * buffer.h:
10297         * buffer.C:
10298         * paragraph.h:
10299         * paragraph.C:
10300         * toc.h:
10301         * toc.C: ParConstIterator, and use it (from Lars)
10302
10303 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10304
10305         * lyxtextclass.[Ch]: revise and add doxygen comments
10306
10307 2002-11-07  John Levon  <levon@movementarian.org>
10308
10309         * text.C: fix progress value for spellchecker
10310
10311         * toc.C: fix navigate menu for insetwrap inside minipage
10312
10313         * paragraph_funcs.C: added FIXME for suspect code
10314
10315 2002-11-07  John Levon  <levon@movementarian.org>
10316
10317         * BufferView_pimpl.C: fix redrawing of insets
10318           on buffer switch
10319
10320 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10321
10322         * text2.C (updateCounters): fix bug 668
10323
10324 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10325
10326         * text3.C (dispatch): Do not make the buffer dirty when moving the
10327         cursor.
10328
10329 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10330
10331         * vc-backend.C: STRCONV
10332         (scanMaster): ditto
10333
10334         * text2.C (setCounter): STRCONV
10335
10336         * paragraph.C (asString): STRCONV
10337
10338         * lyxlength.C (asString): STRCONV
10339         (asLatexString): ditto
10340
10341         * lyxgluelength.C (asString): STRCONV
10342         (asLatexString): ditto
10343
10344         * lyxfunc.C (dispatch): STRCONV
10345         (open): ditto
10346
10347         * lyxfont.C (stateText): STRCONV
10348
10349         * importer.C (Import): STRCONV
10350
10351         * counters.C (labelItem): STRCONV
10352         (numberLabel): ditto
10353         (numberLabel): remove unused ostringstream o
10354
10355         * chset.C: STRCONV
10356         (loadFile): ditto
10357
10358         * bufferview_funcs.C (currentState): STRCONV
10359
10360         * buffer.C (readFile): STRCONV
10361         (asciiParagraph): ditto
10362         (makeLaTeXFile): ditto
10363
10364         * Spacing.C (writeEnvirBegin): STRCONV
10365
10366         * LaTeXFeatures.C (getLanguages): STRCONV
10367         (getPackages): ditto
10368         (getMacros): ditto
10369         (getBabelOptions): ditto
10370         (getTClassPreamble): ditto
10371         (getLyXSGMLEntities): ditto
10372         (getIncludedFiles): ditto
10373
10374         * LaTeX.C: STRCONV
10375         (run): ditto
10376         (scanAuxFile): ditto
10377         (deplog): ditto
10378
10379         * LString.h: add the STRCONV macros
10380
10381         * BufferView_pimpl.C (savePosition): STRCONV
10382         (restorePosition): ditto
10383         (MenuInsertLyXFile): ditto
10384
10385         * vc-backend.C (scanMaster): change from submatch[...] to
10386         submatch.str(...)
10387
10388         * funcrequest.C: include config.h
10389
10390         * factory.C: include config.h
10391
10392         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10393
10394         * box.C: include config.h
10395
10396         * LaTeX.C (scanAuxFile): change from submatch[...] to
10397         submatch.str(...)
10398         (deplog): ditto
10399
10400 2002-10-25  Angus Leeming  <leeming@lyx.org>
10401
10402         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10403
10404         * ispell.[Ch] (setError): new method.
10405         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10406         Use setError() insetead of goto END.
10407
10408         * lyx_cb.C (AutoSave): move out child process into new class
10409         AutoSaveBuffer.
10410
10411 2002-10-30  John Levon  <levon@movementarian.org>
10412
10413         * text3.C: make start appendix undoable
10414
10415 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10416
10417         * lyxlength.C (inPixels): Fix returned value.
10418
10419         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10420         environment.
10421
10422 2002-10-24  Angus Leeming  <leeming@lyx.org>
10423
10424         * lyxgluelength.h: no need to forward declare BufferParams
10425         or BufferView, so don't.
10426
10427 2002-10-21  John Levon  <levon@movementarian.org>
10428
10429         * BufferView.C: menuUndo ->undo, redo
10430
10431         * BufferView.h: document, remove dead, make some methods private
10432
10433         * paragraph_funcs.h:
10434         * paragraph_funcs.C:
10435         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10436
10437         * buffer.h:
10438         * buffer.C:
10439         * sgml.h:
10440         * sgml.C: move sgml open/close tag into sgml.C
10441
10442         * bufferview_funcs.h: unused prototype
10443
10444         * lyxfunc.h:
10445         * lyxfunc.C: remove unused
10446
10447         * lyxtext.h:
10448         * text.C: remove unused
10449
10450 2002-10-21  John Levon  <levon@movementarian.org>
10451
10452         * BufferView.h:
10453         * BufferView.C:
10454         * BufferView_pimpl.h:
10455         * BufferView_pimpl.C: fix mouse wheel handling based on
10456           patch from Darren Freeman
10457
10458 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10459
10460         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10461
10462 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10463
10464         * lyxlength.C (inPixels): Fix hanfling of negative length.
10465         Fix LyXLength::MU case.
10466
10467 2002-10-16  John Levon  <levon@movementarian.org>
10468
10469         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10470
10471 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10472
10473         * converter.C (view): add support for $$i (file name) and $$p
10474         (file path) for the viewer command. If $$i is not specified, then
10475         it is appended to the command (for compatibility with old syntax)
10476
10477 2002-10-14  Juergen Vigna  <jug@sad.it>
10478
10479         * undo_funcs.C (textHandleUndo): alter the order in which the
10480         new undopar is added to the LyXText, as we have to set first
10481         the right prev/next and then add it as otherwise the rebuild of
10482         LyXText is not correct. Also reset the cursor to the right paragraph,
10483         with this IMO we could remove the hack in "redoParagraphs()".
10484
10485 2002-10-09  Angus Leeming  <leeming@lyx.org>
10486
10487         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10488         to turn off an optimisation if a new inset is to be inserted.
10489
10490 2002-10-11 André Pönitz <poenitz@gmx.net>
10491
10492         * lyxtext.h: make some functions public to allow access
10493         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10494
10495 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10496
10497         * text3.C (dispatch): when changing layout, avoid an infinite loop
10498         [bug #652]
10499
10500 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10501
10502         * lyxrc.C (read): treat a viewer or converter command of "none" as
10503         if it were empty.
10504
10505         * MenuBackend.C (expandFormats): for an update, also allow the
10506         formats that are not viewable
10507
10508         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10509         script if it is newer than the lyxrc.defaults in user directory
10510
10511 2002-10-07 André Pönitz <poenitz@gmx.net>
10512
10513         * text.C: Vitaly Lipatov's small i18n fix
10514
10515 2002-09-25  Angus Leeming  <leeming@lyx.org>
10516
10517         * ispell.h: doxygen fix.
10518
10519 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10520
10521         * buffer.h (readFile): Add a new argument to the method, to allow
10522         reading of old-format templates.
10523
10524 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10525
10526         * toc.C (getTocList): Get TOC from InsetWrap.
10527
10528 2002-09-16  John Levon  <levon@movementarian.org>
10529
10530         * lyxfunc.C: check tabular for cut/copy too
10531
10532 2002-09-12  John Levon  <levon@movementarian.org>
10533
10534         * LyXAction.C: tidy
10535
10536         * factory.h:
10537         * factory.C: add header
10538
10539         * paragraph_funcs.h:
10540         * paragraph_funcs.C: cleanup
10541
10542 2002-09-11  John Levon  <levon@movementarian.org>
10543
10544         * PrinterParams.h: odd/even default to true
10545
10546 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10547
10548         * PrinterParams.h: update printer parameters for new xforms dialog
10549
10550 2002-09-11  Angus Leeming  <leeming@lyx.org>
10551
10552         * lyxserver.C (read_ready): re-write to make it more transparent
10553         and to make it work in coherent fashion under Tru64 Unix.
10554
10555 2002-09-11  André Pönitz <poenitz@gmx.net>
10556
10557         * commandtags.h:
10558         * LyXAction.C:
10559         * text3.C: implement LFUN_WORDSEL
10560
10561 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10562
10563         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10564         make floatlist_ a boost::shared_ptr<FloatList>
10565
10566         * lyxtextclass.C: include FloatList.h
10567         (LyXTextClass): initialize floatlist_
10568         (TextClassTags): add TC_NOFLOAT
10569         (Read): match "nofloat" to TC_NOFLOAT and use it.
10570         (readFloat): modify call to floatlist_
10571         (floats): ditto
10572         (floats): ditto
10573
10574         * FloatList.[Ch] (FloatList): remove commented out float
10575         initialization.
10576         (erase): new function
10577
10578 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10579
10580         * MenuBackend.C (expandToc): fix crash when there is no document
10581         open
10582
10583 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10584
10585         * many files: Add insetwrap.
10586
10587 2002-09-09  John Levon  <levon@movementarian.org>
10588
10589         * text2.C: remove confusing and awkward depth wraparound
10590
10591 2002-09-09  John Levon  <levon@movementarian.org>
10592
10593         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10594
10595         * buffer.h:
10596         * buffer.C: remove getIncludeonlyList()
10597
10598         * paragraph.C:
10599         * lyxfunc.C: remove headers
10600
10601 2002-09-09  Juergen Vigna  <jug@sad.it>
10602
10603         * text.C (getColumnNearX): fix form Michael this is most
10604         probably a cut&paste bug.
10605
10606 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10607
10608         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10609
10610         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10611         references, ws changes.
10612
10613         * text2.C (init): update counters after init
10614         (insertParagraph): no need to set counter on idividual paragraphs.
10615         (setCounter): access the counters object in the textclass object
10616         on in the buffer object.
10617         (updateCounters): ditto
10618
10619         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10620         shared_ptr<Counters> to avoid loading counters.h in all
10621         compilation units.
10622         (LyXTextClass): initialize ctrs_
10623         (TextClassTags): add TC_COUNTER, and ...
10624         (Read): use it here.
10625         (CounterTags): new tags
10626         (readCounter): new function
10627         (counters): new funtion
10628         (defaultLayoutName): return a const reference
10629
10630         * counters.C (Counters): remove contructor
10631         (newCounter): remove a couple of unneeded statements.
10632         (newCounter): simplify a bit.
10633         (numberLabel): some small formatting changes.
10634
10635         * buffer.[Ch]: remove all traces of counters, move the Counters
10636         object to the LyXTextClass.
10637
10638 2002-09-06  Alain Castera  <castera@in2p3.fr>
10639
10640         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10641         package to set the horizontal alignment on fixed width columns.
10642
10643         * lyx_sty.C:
10644         * lyx_sty.h: added tabularnewline macro def.
10645
10646         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10647
10648 2002-09-06  John Levon  <levon@movementarian.org>
10649
10650         * LyXAction.C: tooltips for sub/superscript
10651
10652         * MenuBackend.C: a bit more verbose
10653
10654         * lyxfunc.C: tiny clean
10655
10656         * undo_funcs.C: document undo_frozen
10657
10658 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10659
10660         * counters.C (Counters): add missing algorithm counter.
10661
10662         * text2.C (setCounter): lookup the counter with layouts latexname
10663         instead of by section number.
10664         (setCounter): use a hackish way to lookup the correct enum
10665         counter.
10666         a float name->type change
10667         reset enum couners with counter name directly instead of depth value.
10668
10669         * counters.C (Counters): remove the push_backs, change to use the
10670         float type not the float name.
10671         (labelItem): remove unused string, float name->type change
10672
10673         * counters.h: don't include vector, loose the enums and sects vectors
10674
10675 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10676
10677         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10678         (Read): add float->TC_FLOAT to textclassTags
10679         (Read): and handle it in the switch
10680         (readFloat): new function
10681
10682         * FloatList.C (FloatList): comment out the hardcoded float
10683         definitions.
10684
10685         * lyxlayout.h: ws change.
10686
10687 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10688
10689         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10690
10691 2002-09-03  Angus Leeming  <leeming@lyx.org>
10692
10693         * BufferView_pimpl.h: qualified name is not allowed in member
10694         declaration: WorkArea & Pimpl::workarea() const;
10695
10696         * factory.C: added using std::endl directive.
10697
10698         * text3.C: added using std::find and std::vector directives.
10699
10700 2002-08-29  André Pönitz <poenitz@gmx.net>
10701
10702         * lyxtext.h:
10703         * text2.C: remove unused member number_of_rows
10704
10705         * Makefile.am:
10706         * BufferView2.C: remove file, move contents to...
10707         * BufferView.C: ... here
10708
10709         * BufferView_pimpl.C:
10710         * factory.C: move more inset creation to factory
10711
10712         * vspace.C: avoid direct usage of LyXText, ws changes
10713
10714         * BufferView.[Ch]:
10715                 don't provide direct access to WorkArea, use two simple
10716                 acessors haveSelction() and workHeight() instead
10717
10718
10719 2002-08-29  John Levon  <levon@movementarian.org>
10720
10721         * BufferView_pimpl.C (dispatch): do not continue when
10722           no buffer
10723
10724 2002-08-28  André Pönitz <poenitz@gmx.net>
10725
10726         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10727
10728         * BufferView.h:
10729         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10730
10731 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10732
10733         * buffer.C: increment LYX_FORMAT to 221
10734
10735         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10736         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10737
10738         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10739
10740         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10741
10742 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10743
10744         * factory.C (createInset): use LyXTextClass::floats
10745
10746         * MenuBackend.C (expandFloatListInsert):
10747         (expandFloatInsert):
10748         (expandToc):
10749
10750         * text2.C (setCounter):
10751
10752         * LaTeXFeatures.C (useFloat):
10753         (getFloatDefinitions):
10754
10755         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10756
10757         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10758         floatlist_, with accessor floats().
10759
10760         * FloatList.h: remove global FloatList
10761
10762 2002-08-26  André Pönitz <poenitz@gmx.net>
10763
10764         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10765
10766         * BufferView.h:
10767         * BufferView2.C:
10768         * BufferView_pimpl.C:
10769         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10770
10771 2002-08-25  John Levon  <levon@movementarian.org>
10772
10773         * LyXAction.C: fix margin note description
10774
10775 2002-08-24  John Levon  <levon@movementarian.org>
10776
10777         * buffer.C:
10778         * bufferlist.C:
10779         * bufferview_funcs.C:
10780         * lyxfont.C:
10781         * undo_funcs.C: cleanups
10782
10783         * lyxfunc.C: disable CUT/COPY when no selection
10784
10785 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10786
10787         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10788         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10789
10790         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10791         Add backward compatibility to "mono", "gray" and "no".
10792
10793 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10794
10795         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10796         (and file_format >= 200).
10797
10798 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10799
10800         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10801
10802 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10803
10804         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10805
10806 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10807
10808         * BufferView_pimpl.C:
10809         * LyXAction.C:
10810         * buffer.C:
10811         * commandtags.h:
10812         * lyxfunc.C:
10813         * paragraph.[Ch]:
10814         * text2.C:
10815         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10816         inset and code to make it  work with the paragraph code. The inset
10817         can be anywhere in the paragraph, but will only do the expected
10818         thing in LaTeX if the layout file contains the parameter line
10819                         OptionalArgs    1
10820         (or more generally, a nonzero value) for that layout.
10821
10822 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10823
10824         * paragraph.h: remove the declaration of undefined counters class
10825         function.
10826
10827 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10828
10829         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10830         Dr. Richard Hawkins.
10831
10832 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10833
10834         * paragraph_funcs.h: remove some unneeded includes
10835
10836         * text.C (backspace): pasteParagraph now in global scipe
10837
10838         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10839         (pasteSelection): ditto
10840
10841         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10842         * paragraph_funcs.C (pasteParagraph): ... here
10843
10844 2002-08-20  André Pönitz <poenitz@gmx.net>
10845
10846         * commandtags.h: new LFUNs for swapping/copying table row/colums
10847
10848         * LyXAction.C:
10849         * lyxfunc.C: support for new lfuns
10850
10851 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10852
10853         * tabular.C:
10854         * buffer.[Ch]: remove NO_COMPABILITY stuff
10855
10856 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10857
10858         * boost.C (throw_exception): new file, with helper function for
10859         boost compiled without exceptions.
10860
10861         * paragraph.h:
10862         * lyxlength.C:
10863         * buffer.C:
10864         * ParameterStruct.h:
10865         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10866
10867         * bufferlist.C (emergencyWriteAll): use boost bind
10868
10869         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10870
10871         * text.C: include paragraph_funcs.h
10872         (breakParagraph): breakParagraph is now in global scope
10873
10874         * paragraph_funcs.[Ch]: new files
10875
10876         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10877         global scope
10878
10879         * buffer.C: include paragraph_funcs.h
10880         (insertStringAsLines): breakParagraph is now in global scope
10881
10882         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10883         paragraph_funcs.C
10884
10885         * CutAndPaste.C: include paragraph_funcs.h
10886         (cutSelection): breakParagraphConservative is now in global scope
10887         (pasteSelection): ditto
10888
10889         * buffer.h: declare oprator== and operator!= for
10890         Buffer::inset_iterator
10891
10892         * bufferlist.C (emergencyWrite): don't use fmt(...)
10893
10894         * text3.C: add using std::endl
10895
10896         * BufferView.C (moveCursorUpdate): remove default arg
10897
10898 2002-08-20  André Pönitz <poenitz@gmx.net>
10899
10900         * buffer.[Ch]: move inline functions to .C
10901
10902         * BufferView2.C:
10903         * BufferView_pimpl.C:
10904         * text.C:
10905         * buffer.[Ch]: use improved inset_iterator
10906
10907         * buffer.C:
10908         * paragraph.[Ch]: write one paragraph at a time
10909
10910 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10911
10912         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10913         style if style is not specified.
10914
10915 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10916
10917         * text2.C (setCounter): when searching for right label for a
10918         caption, make sure to recurse to parent insets (so that a caption
10919         in a minipage in a figure float works) (bug #568)
10920
10921 2002-08-20  André Pönitz <poenitz@gmx.net>
10922
10923         * text3.C: new file for LyXText::dispatch() and helpers
10924
10925         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10926
10927         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10928
10929 2002-08-19  André Pönitz <poenitz@gmx.net>
10930
10931         * lyxtext.h:
10932         * text.C: new LyXText::dispatch()
10933
10934         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10935
10936 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10937
10938         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10939
10940         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10941         Hebrew text.
10942
10943 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10944
10945         * Makefile.am: use $(variables) instead of @substitutions@
10946
10947 2002-08-15  André Pönitz <poenitz@gmx.net>
10948
10949         * lyxfunc.C:
10950         * BufferView_pimpl.C: streamlining mathed <-> outer world
10951         interaction
10952
10953         * commandtags.h:
10954         * LyXAction.C: remove unused LFUN_MATH
10955
10956 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10957
10958         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10959
10960 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10961
10962         * paragraph.C (Paragraph): reformat a bit
10963         (cutIntoMinibuffer): use builtin InsetList function instad of
10964         doing it manually.
10965         (getInset): ditto
10966
10967         * buffer.C: include boost/bind.hpp, add using std::for_each
10968         (writeFileAscii): use ParagraphList iterators
10969         (validate): use for_each for validate traversal of paragraphs
10970         (getBibkeyList): use ParagraphList iterators
10971         (resizeInsets): use for_each to resizeInsetsLyXText for all
10972         paragraphs.
10973         (getParFromID): use ParagraphList iterators
10974
10975         * BufferView2.C (lockInset): use paragraph list and iterators
10976
10977 2002-08-14  John Levon  <levon@movementarian.org>
10978
10979         * lyxserver.C: remove spurious xforms include
10980
10981 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10982
10983         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10984
10985 2002-08-13  André Pönitz <poenitz@gmx.net>
10986
10987         * LyXAction.[Ch]:
10988         * lyxfunc.C: further cleaning
10989
10990 2002-08-13  André Pönitz <poenitz@gmx.net>
10991
10992         * funcrequest.h: new constructor
10993
10994         * funcrequest.C: move stuff here from .h
10995
10996         * Makefile.am:
10997         * BufferView_pimpl.C:
10998         * LyXAction.C:
10999         * toc.C:
11000         * lyxfunc.C: subsequent changes
11001
11002         * lyxfunc.h: new view() member function
11003
11004         * lyxfunc.C: subsequent changes
11005
11006 2002-08-13  Angus Leeming  <leeming@lyx.org>
11007
11008         * BufferView2.C:
11009         * BufferView_pimpl.C:
11010         * buffer.C:
11011         * converter.C:
11012         * importer.C:
11013         * lyxfunc.C:
11014         * lyxvc.C:
11015         * toc.C:
11016         * vc-backend.C:
11017         changes due to the changed LyXView interface that now returns references
11018         to member variables not pointers.
11019
11020 2002-08-13  Angus Leeming  <leeming@lyx.org>
11021
11022         * WordLangTuple (word, lang_code): return references to strings,
11023         not strings.
11024
11025         * BufferView.h:
11026         * SpellBase.h:
11027         * lyxtext.h: forward-declare WordLangTuple.
11028
11029         * BufferView2.C:
11030         * ispell.C:
11031         * pspell.C:
11032         * text.C: #include "WordLangTuple.h".
11033
11034         * lyxtext.h:
11035         * text.C: (selectNextWordToSpellcheck): constify return type.
11036
11037 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11038
11039         * buffer.C:
11040         * buffer.h:
11041         * lyxtext.h:
11042         * paragraph.C:
11043         * paragraph_pimpl.h:
11044         * text.C:
11045         * text2.C:
11046         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11047         suggested by Angus.
11048         Made updateCounter always count from start of buffer, and removed
11049         second argument (par).
11050         Reverted floats number display to '#'. Perhaps I'll try again when the
11051         code base is sanitized a bit.
11052
11053 2002-08-12  Angus Leeming  <leeming@lyx.org>
11054
11055         * buffer.[Ch] (getLabelList): constify.
11056
11057 2002-08-07  André Pönitz <poenitz@gmx.net>
11058
11059         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11060
11061         * funcrequest.h: extension to keep mouse (x,y) position
11062
11063 2002-08-12  Juergen Vigna  <jug@sad.it>
11064
11065         * BufferView2.C (insertErrors): forbid undo when inserting error
11066         insets.
11067
11068         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11069
11070 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11071
11072         * ParagraphList.[Ch]: new files
11073
11074         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11075
11076         * BufferView2.C (lockInset): ParagraphList changes
11077         * toc.C: ditto
11078         * text2.C: ditto
11079         * bufferlist.C: ditto
11080         * buffer.h: ditto
11081         * buffer.C: ditto
11082
11083 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11084
11085         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11086         unused class variable counter_,
11087
11088         * paragraph.[Ch] (getFirstCounter): delete unused function
11089
11090         * counters.C: include LAssert.h
11091         (reset): add a new function with no arg, change other version to
11092         not have def. arg and to not allow empty arg.
11093
11094         * text2.C (setCounter): remove empty arg from call to Counters::reset
11095
11096 2002-08-11  John Levon  <levon@movementarian.org>
11097
11098         * Makefile.am: add WordLangTuple.h
11099
11100 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11101
11102         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11103         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11104
11105         * insets/insettext.C: InsetList changes
11106
11107         * graphics/GraphicsSupport.C (operator()): InsetList changes
11108
11109         * toc.C (getTocList): InsetList changes
11110
11111         * paragraph_pimpl.[Ch]: InsetList changes
11112
11113         * paragraph.[Ch]: InsetList changes
11114
11115         * buffer.C (inset_iterator): InsetList changes
11116         (setParagraph): ditto
11117         * buffer.h (inset_iterator): ditto
11118         * iterators.C (operator++): ditto
11119         * iterators.h: ditto
11120
11121         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11122
11123         * InsetList.[Ch]: new files, most InsetList handling moved out of
11124         paragraph.C.
11125
11126         * BufferView2.C (removeAutoInsets): InsetList changes
11127         (lockInset): ditto
11128         (ChangeInsets): ditto
11129
11130 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11131
11132         * paragraph_pimpl.h (empty): new function
11133
11134         * paragraph.[Ch] (empty): new function
11135
11136         * other files: use the new Paragraph::empty function
11137
11138 2002-08-09  John Levon  <levon@movementarian.org>
11139
11140         * lyxtext.h: remove unused refresh_height
11141
11142 2002-08-09  John Levon  <levon@movementarian.org>
11143
11144         * Makefile.am:
11145         * sgml.h:
11146         * sgml.C:
11147         * buffer.C:
11148         * paragraph.h:
11149         * paragraph.C: move sgml char escaping out of paragraph
11150
11151         * paragraph.h:
11152         * paragraph.C: remove id setter
11153
11154         * buffer.C:
11155         * paragraph.C:
11156         * paragraph_pimpl.C: remove dead tex_code_break_column
11157
11158         * bufferview_funcs.C: small cleanup
11159
11160         * lyxfunc.C: remove dead proto
11161
11162         * lyxtext.h: make some stuff private. Remove some dead stuff.
11163
11164         * lyxgluelength.C: make as[LyX]String() readable
11165
11166 2002-08-08  John Levon  <levon@movementarian.org>
11167
11168         * LyXAction.h:
11169         * LyXAction.C:
11170         * MenuBackend.C:
11171         * ToolbarDefaults.C:
11172         * lyxfunc.C:
11173         * lyxrc.C:
11174         * toc.C: lyxaction cleanup
11175
11176 2002-08-08  John Levon  <levon@movementarian.org>
11177
11178         * BufferView2.C: small cleanup
11179
11180         * lyxfind.h:
11181         * lyxfind.C: move unnecessary header into the .C
11182
11183 2002-08-08  John Levon  <levon@movementarian.org>
11184
11185         * funcrequest.h: just tedious nonsense
11186
11187         * lyx_main.h:
11188         * lyx_main.C: cleanups
11189
11190         * buffer.C:
11191         * vspace.C: remove dead header lyx_main.h
11192
11193 2002-08-07  Angus Leeming  <leeming@lyx.org>
11194
11195         * Paragraph.[Ch]:
11196         * paragraph_pimpl.h:
11197         Forward declare class Counters in paragraph.h by moving the ctrs member
11198         variable into Paragraph::Pimpl.
11199         (counters): new method, returning a reference to pimpl_->ctrs.
11200
11201         * text2.C: ensuing changes.
11202
11203 2002-08-07  John Levon  <levon@movementarian.org>
11204
11205         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11206
11207         * BufferView_pimpl.C: announce X selection on double/triple
11208           click
11209
11210         * lyx_main.C: use correct bool in batch dispatch
11211
11212         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11213
11214 2002-08-07  André Pönitz <poenitz@gmx.net>
11215
11216         * funcrequest.h: new class to wrap a kb_action and its argument
11217
11218         * BufferView.[Ch]:
11219         * BufferView_pimpl[Ch]:
11220         * LaTeX.C:
11221         * LyXAction.[Ch]:
11222         * lyxfunc.[Ch]:
11223         * lyxrc.C: subsequent changes
11224
11225
11226 2002-08-07  John Levon  <levon@movementarian.org>
11227
11228         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11229           document options change.
11230
11231 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11232
11233         * counters.[Ch]
11234         * text2.C
11235         * paragraph.[Ch]
11236         * makefile.am: move counters functionality over from
11237         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11238
11239 2002-08-06  John Levon  <levon@movementarian.org>
11240
11241         * WordLangTuple.h: new file for word + language code tuple
11242
11243         * SpellBase.h:
11244         * pspell.h:
11245         * pspell.C:
11246         * ispell.h:
11247         * ispell.C:
11248         * lyxtext.h:
11249         * text.C:
11250         * text2.C:
11251         * BufferView.h:
11252         * BufferView2.C: use WordLangTuple
11253
11254         * layout.h:
11255         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11256
11257 2002-08-06  John Levon  <levon@movementarian.org>
11258
11259         * lyx_main.C: fix cmdline batch handling
11260
11261 2002-08-06  André Pönitz <poenitz@gmx.net>
11262
11263         * lyxrc.C: set default for show_banner to true
11264
11265 2002-08-06  John Levon  <levon@movementarian.org>
11266
11267         * pspell.C: fix a crash, and allow new aspell to work
11268
11269 2002-08-06  John Levon  <levon@movementarian.org>
11270
11271         * lyxfunc.C:
11272         * kbmap.C: small cleanup
11273
11274         * vspace.h:
11275         * vspace.C: add const
11276
11277 2002-08-05  John Levon  <levon@movementarian.org>
11278
11279         * LyXAction.C: back to tabular-insert
11280
11281 2002-08-04  John Levon  <levon@movementarian.org>
11282
11283         * BufferView.h:
11284         * BufferView.C: cosmetic change
11285
11286         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11287
11288         * bufferlist.C:
11289         * buffer.h:
11290         * buffer.C:
11291         * lyxcb.h:
11292         * lyxcb.C:
11293         * lyxserver.C:
11294         * lyxvc.C:
11295         * vc-backend.C:
11296         * BufferView2.C: purge all "Lyx" not "LyX" strings
11297
11298         * lyxcursor.h:
11299         * lyxcursor.C: attempt to add some documentation
11300
11301         * lyxfunc.C:
11302         * commandtags.h:
11303         * LyXAction.C:
11304         * ToolbarDefaults.C:
11305         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11306           merge with LFUN_TABULAR_INSERT
11307
11308         * Makefile.am:
11309         * SpellBase.h:
11310         * ispell.h:
11311         * ispell.C:
11312         * pspell.h:
11313         * pspell.C: split up i/pspell implementations into separate
11314           files, many cleanups
11315
11316         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11317
11318         * text2.C: some cleanup
11319
11320         * lyxfunc.C: don't check for isp_command == "none" any more, it
11321           didn't make any sense
11322
11323 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11324
11325         * counters.[Ch]
11326         * text2.C
11327         * paragraph.[Ch]
11328         * makefile.am: move counters functionality over
11329         from text2.C/paragraph.[Ch] to counters.[Ch], and
11330         make proper C++.
11331 2002-08-02  John Levon  <levon@movementarian.org>
11332
11333         * buffer.C: s/lyxconvert/lyx2lyx/
11334
11335 2002-08-02  Angus Leeming  <leeming@lyx.org>
11336
11337         * lyxlex.C: revert John's change as it breaks reading of the user
11338         preamble.
11339
11340 2002-08-02  Angus Leeming  <leeming@lyx.org>
11341
11342         * importer.C (Import):
11343         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11344         changes due to LyXView::view() now returning a boost::shared_ptr.
11345
11346 2002-08-02  John Levon  <levon@movementarian.org>
11347
11348         * lyxlex.C: small cleanup
11349
11350 2002-08-02  John Levon  <levon@movementarian.org>
11351
11352         * text2.C (status): small cleanup, no logic change
11353
11354 2002-08-01  John Levon  <levon@movementarian.org>
11355
11356         * buffer.h:
11357         * buffer.C (writeFile): don't output alerts, caller
11358           handles this
11359
11360         * bufferlist.C:
11361         * lyx_cb.C: from above
11362
11363         * lyxfunc.C: allow to open non-existent files
11364
11365 2002-07-31  John Levon  <levon@movementarian.org>
11366
11367         * lyxserver.C: don't let incidental errors get
11368           in the way (errno)
11369
11370 2002-07-30  John Levon  <levon@movementarian.org>
11371
11372         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11373
11374 2002-07-30  John Levon  <levon@movementarian.org>
11375
11376         * lyxserver.h:
11377         * lyxserver.C: remove I/O callback too
11378
11379 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11380
11381         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11382         log.
11383
11384 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11385
11386         * many files: strip,frontStrip -> trim,ltrim,rtrim
11387
11388 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11389
11390         * PrinterParams.h: remove extern containsOnly, and include
11391         support/lstrings.h instead.
11392
11393         * LaTeX.C (scanAuxFile): modify because of strip changes
11394         (deplog): ditto
11395         * buffer.C (makeLaTeXFile): ditto
11396         * bufferparams.C (writeFile): ditt
11397         * lyxfont.C (stateText): ditto
11398         * lyxserver.C (read_ready): ditto
11399         * vc-backend.C (scanMaster): ditto
11400
11401         * BufferView_pimpl.h: ws changes
11402
11403         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11404
11405 2002-07-26  André Pönitz <poenitz@gmx.net>
11406
11407         * kb_sequence.C: remove unnedred usings
11408
11409 2002-07-26  Juergen Vigna  <jug@sad.it>
11410
11411         * lyxfind.C (LyXReplace): we have to check better if the returned
11412         text is not of theLockingInset()->getLockingInset().
11413
11414 2002-07-25  Juergen Vigna  <jug@sad.it>
11415
11416         * lyxfind.C (LyXReplace): don't replace if we don't get the
11417         right LyXText.
11418
11419         * undo_funcs.C (createUndo): remove debugging code.
11420
11421 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11422
11423         * buffer.C (parseSingleLyXformat2Token): Use default placement
11424         when reading old floats.
11425
11426         * FloatList.C (FloatList): Change the default placement of figure
11427         and tables to "tbp".
11428
11429 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11430
11431         * MenuBackend.C: using std::max
11432
11433 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11434
11435         * MenuBackend.C (expandToc):
11436         (expandToc2): code moved from xforms menu frontend. It is now
11437         generic and TOCs are transparent to menu frontends.
11438
11439 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11440
11441         * toc.C (getTocList): protect against buf=0
11442
11443         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11444         Menu as first parameter. Now, this calls itself recursively to
11445         expand a whole tree (this will be useful for TOC handling)
11446         (expandFloatInsert): remove 'wide' version of floats
11447
11448         * MenuBackend.h (submenuname): returns the name of the submenu.
11449         (submenu): returns the submenu itself, provided it has been
11450         created by MenuBackend::expand
11451
11452 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11453
11454         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11455         insets which have noFontChange == true. (bug #172)
11456
11457 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11458
11459         * BufferView_pimpl.C: add connection objects and use them...
11460         (Pimpl): here.
11461
11462 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11463
11464         * MenuBackend.C (expandLastfiles):
11465         (expandDocuments):
11466         (expandFormats):
11467         (expandFloatListInsert):
11468         (expandFloatInsert):
11469         (expand): split expand in parts
11470
11471 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11472
11473         * lyx_gui.C: use lyx_gui::exit()
11474
11475 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11476
11477         * LyXAction.C: show the failing pseudo action
11478
11479 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11480
11481         * buffer.C (readFile): Run the lyxconvert script in order to read
11482         old files.
11483
11484 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11485
11486         * LyXAction.C:
11487         * commandtags.h:
11488         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11489
11490 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11491
11492         * LyXAction.C:
11493         * commandtags.h:
11494         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11495
11496 2002-07-22  Herbert Voss  <voss@lyx.org>
11497
11498         * lengthcommon.C:
11499         * lyxlength.[Ch]: add support for the vertical lengths
11500
11501 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11502
11503         * toc.[Ch]: std:: fixes
11504
11505 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11506
11507         * lyxrc.C: do not include lyx_main.h
11508
11509         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11510         for layouts
11511
11512         * lyxrc.C:
11513         * encoding.C:
11514         * bufferlist.C:
11515         * BufferView2.C: include "lyxlex.h"
11516
11517         * tabular.h:
11518         * bufferparams.h: do not #include "lyxlex.h"
11519
11520         * lyxtextclasslist.C (Add): remove method
11521         (classlist): renamed to classlist_
11522
11523         * paragraph_pimpl.C:
11524         * paragraph.C:
11525         * text2.C:
11526         * CutAndPaste.C:
11527         * bufferview_funcs.C:
11528         * bufferlist.C:
11529         * text.C:
11530         * LaTeXFeatures.C:
11531         * buffer.C:
11532         * toc.C (getTocList): use BufferParams::getLyXTextClass
11533
11534         * toc.C (getTocList): use InsetFloat::addToToc
11535
11536         * toc.[Ch]: new files, containing helper functions to handle table
11537         of contents
11538
11539         * lyxfunc.C (dispatch): no need to remove spaces around command
11540         given as a string
11541         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11542         first command of the sequence; it is not very clever, but I do not
11543         have a better idea, actually
11544
11545         * LyXAction.C (LookupFunc): make sure to remove space at the
11546         beginning and end of the command
11547
11548 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11549
11550         * MenuBackend.C (getMenubar): new method: return the menubar of
11551         this menu set
11552         (read): treat differently reading of menu and menubar (in
11553         particular, the menubar has no name now)
11554         (Menu::menubar): remove
11555
11556         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11557         saving is finished
11558
11559 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11560
11561         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11562         a bibitem inset in a RTL paragraph.
11563
11564 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11565
11566         * paragraph_pimpl.C: constify
11567
11568         * BufferView_pimpl.C:
11569         * LaTeX.C:
11570         * lyxfunc.C: fix dispatch in a nicer way
11571
11572 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11573
11574         * lyxfunc.C (dispatch):
11575         * BufferView_pimpl.C:
11576         * BufferView_pimpl.h:
11577         * BufferView.C:
11578         * BufferView.h: rename Dispatch() to dispatch()
11579
11580         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11581
11582         * lyxlayout.C (Read): honor DependsOn tag
11583
11584         * lyxlayout.[Ch] (depends_on): new method
11585
11586         * version.C.in: update lyx_docversion
11587
11588         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11589
11590         * paragraph.C (validate): remove from here...
11591         * paragraph_pimpl.C (validate): ... and move here
11592         (isTextAt): make it const
11593
11594         * buffer.C (getLists): ws cleanup
11595
11596 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11597
11598         * language.C (read): Use iso8859-1 encoding in latex_lang
11599         (this prevents LyX from crashing when using iso10646-1 encoding).
11600
11601 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11602
11603         * text2.C (toggleInset): if cursor is inside an inset, close the
11604         inset and leave cursor _after_ it
11605
11606 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11607
11608         * lyxfunc.C: move minibuffer completion handling out of here
11609
11610 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11611
11612         * BufferView_pimpl.C:
11613         * LaTeX.C: fix dispatch calls
11614
11615 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11616
11617         * text.C (drawChars): Fix Arabic text rendering.
11618
11619 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11620
11621         * LyXAction.C:
11622         * commandtags.h:
11623         * lyxfunc.C: remove message-push/pop
11624
11625         * lyxserver.C:
11626         * lyxfunc.h:
11627         * lyxfunc.C: rationalise some code by removing verboseDispatch
11628           in favour of a bool argument to dispatch()
11629
11630 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11631
11632         * lyx_main.C (init): make sure to read symlinks as absolute paths
11633
11634 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11635
11636         * lyxfunc.h:
11637         * lyxfunc.C: no need for commandshortcut to be a member
11638
11639 2002-07-15  André Pönitz <poenitz@gmx.net>
11640
11641         * converter.C: add support for $$s (scripts from lib/scripts dir)
11642         * lyx_main.C: white space
11643
11644 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11645
11646         * bufferlist.C:
11647         * lyxrc.h:
11648         * lyxrc.C: remove second exit confirmation
11649
11650 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11651
11652         * BufferView.h:
11653         * BufferView.C:
11654         * BufferView2.C:
11655         * BufferView_pimpl.h:
11656         * BufferView_pimpl.C:
11657         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11658
11659 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11660
11661         * MenuBackend.C (expand): add numeric shortcuts to document menu
11662
11663         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11664
11665 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11666
11667         * lyxfont.C (setLyXFamily):
11668         (setLyXSeries):
11669         (setLyXShape):
11670         (setLyXSize):
11671         (setLyXMisc):
11672         (lyxRead):
11673         * debug.C (value):
11674         * buffer.C (asciiParagraph): use ascii_lowercase
11675
11676 2002-07-15  Mike Fabian  <mfabian@suse.de>
11677
11678         * lyxlex_pimpl.C (search_kw):
11679         * lyxlex.C (getLongString):
11680         * converter.h (operator<):
11681         * converter.C (operator<):
11682         * buffer.C (parseSingleLyXformat2Token):
11683         (asciiParagraph):
11684         * ToolbarDefaults.C (read):
11685         * MenuBackend.C (checkShortcuts):
11686         (read):
11687         * LColor.C (getFromGUIName):
11688         (getFromLyXName): use the compare_ascii_no_case instead of
11689         compare_no_case, because in turkish, 'i' is not the lowercase
11690         version of 'I', and thus turkish locale breaks parsing of tags.
11691
11692 2002-07-16  Angus Leeming  <leeming@lyx.org>
11693
11694         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11695         now takes a Buffer const & argument.
11696
11697 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * BufferView.C (resize): check there's a buffer to resize
11700
11701 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * lyxfunc.C: remove dead code
11704
11705         * lyxserver.h:
11706         * lyxserver.C: use lyx_guii::set_read_callback
11707
11708 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11709
11710         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11711         an inset in a RTL paragraph.
11712
11713 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11714
11715         * lyxfunc.C: repaint after a font size update
11716
11717 2002-07-15  André Pönitz <poenitz@gmx.net>
11718
11719         * lyxlength.C: inBP should be able to return negative values
11720
11721 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11722
11723         * lyxfunc.C: use lyx_gui::update_fonts()
11724
11725 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11726
11727         * lyxfunc.C: use lyx_gui::update_color()
11728
11729 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11730
11731         * bufferlist.C:
11732         * lyxfunc.h:
11733         * lyxfunc.C:
11734         * lyxrc.h:
11735         * lyxrc.C: remove file->new asks for name option, and let
11736           buffer-new take an argument
11737
11738 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11739
11740         * BufferView_pimpl.C: remove unneeded extra repaint()
11741
11742 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11743
11744         * LyXAction.C: allow command-sequence with NoBuffer
11745
11746         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11747
11748 2002-07-10  Angus Leeming  <leeming@lyx.org>
11749
11750         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11751
11752 2002-07-09  Angus Leeming  <leeming@lyx.org>
11753
11754         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11755
11756 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11757
11758         * lengthcommon.h: whitespace
11759
11760         * lyxfunc.C: update scrollbar after goto paragraph
11761
11762         * lyxtext.h: factor out page break drawing, and fix it so
11763           page break/added space paints as selected nicely
11764
11765 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11766
11767         * BufferView_pimpl.C: add FIXMEs, clean up a little
11768
11769 2002-07-09  André Pönitz <poenitz@gmx.net>
11770
11771         * lyxfont.[Ch]: support for wasy symbols
11772
11773 2002-07-08  André Pönitz <poenitz@gmx.net>
11774
11775         * BufferView_pimpl.C: apply John's patch for #93.
11776
11777 2002-07-05  Angus Leeming  <leeming@lyx.org>
11778
11779         * BufferView_pimpl.C (buffer): generate previews if desired.
11780
11781         * LColor.h: add "preview" to the color enum.
11782
11783         * LColor.C (LColor): add a corresponding entry to the items array.
11784
11785         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11786         with this buffer.
11787
11788 2002-07-05  Angus Leeming  <leeming@lyx.org>
11789
11790         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11791         The body of the code is now in the method that is passed an ostream &
11792         rather than a file name.
11793         Pass an additional only_preamble parameter, useful for the forthcoming
11794         preview stuff.
11795
11796 2002-07-03  André Pönitz <poenitz@gmx.net>
11797
11798         * lyxfunc.C: simplify getStatus() a bit for math stuff
11799
11800 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11801
11802         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11803
11804 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11805
11806         * text.C (changeRegionCase): do not change case of all the
11807         document when region ends at paragraph end (bug #461)
11808
11809 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11810
11811         * paragraph.C (startTeXParParams):
11812         (endTeXParParams): add \protect when necessary
11813
11814 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11815
11816         * BufferView_pimpl.C (workAreaExpose): remove warning
11817
11818 2002-06-27  Angus Leeming  <leeming@lyx.org>
11819
11820         * Makefile.am: add lyxlayout_ptr_fwd.h.
11821
11822 2002-06-26  André Pönitz <poenitz@gmx.net>
11823
11824         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11825
11826 2002-06-25  Angus Leeming  <leeming@lyx.org>
11827
11828         * lyxfunc.C (dispatch): Comment out the call to
11829         grfx::GCache::changeDisplay. The method no longer exists now that the
11830         pixmap generation part of the graphics loader has been moved into
11831         InsetGraphics.
11832
11833 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11834
11835         * text2.C: layout as layout
11836
11837         * text.C: layout as layout
11838
11839         * tabular.C (OldFormatRead): layout as layout
11840
11841         * paragraph_pimpl.C (TeXDeeper): layout as layout
11842         (realizeFont): layout as layout
11843
11844         * paragraph.C (writeFile): layout as layout
11845         (validate): layout as layout
11846         (getFont): layout as layout
11847         (getLabelFont): layout as layout
11848         (getLayoutFont): layout as layout
11849         (breakParagraph): layout as layout
11850         (stripLeadingSpaces): layout as layout
11851         (getEndLabel): layout as layout
11852         (getMaxDepthAfter): layout as layout
11853         (applyLayout): layout as layout
11854         (TeXOnePar): layout as layout
11855         (simpleTeXOnePar): layout as layout
11856         (TeXEnvironment): layout as layout
11857         (layout): layout as layout
11858         (layout): layout as layout
11859
11860         * lyxtextclass.C (compare_name): new functor to work with
11861         shared_ptr, layout as layout
11862         (Read): layout as layout
11863         (hasLayout): layout as layout
11864         (operator): layout as layout
11865         (delete_layout): layout as layout
11866         (defaultLayout): layout as layout
11867
11868         * lyxlayout_ptr_fwd.h: new file
11869
11870         * lyxlayout.C (Read): layout as layout
11871
11872         * lyx_cb.C (MenuInsertLabel): layout as layout
11873
11874         * bufferlist.C (newFile): layout as layout
11875
11876         * buffer.C (readLyXformat2): layout as layout
11877         (parseSingleLyXformat2Token): layout as layout
11878         (insertStringAsLines): layout as layout
11879         (asciiParagraph): layout as layout
11880         (latexParagraphs): layout as layout
11881         (makeLinuxDocFile): layout as layout
11882         (simpleLinuxDocOnePar): layout as layout
11883         (makeDocBookFile): layout as layout
11884         (simpleDocBookOnePar): layout as layout
11885         (getLists): layout as layout
11886
11887         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11888
11889         * CutAndPaste.C (cutSelection): layout as layout
11890         (pasteSelection): layout as layout
11891         (SwitchLayoutsBetweenClasses): layout as layout
11892
11893         * BufferView_pimpl.C (Dispatch): layout as layout
11894         (smartQuote): layout as layout
11895
11896         * BufferView2.C (unlockInset): layout as layout
11897
11898 2002-06-24  André Pönitz <poenitz@gmx.net>
11899
11900         * lyxfunc.C: fix #487
11901
11902 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11903
11904         * lyxrc.h:
11905         * lyxrc.C:
11906         * lyxfunc.C: remove display_shortcuts, show_banner
11907
11908 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * Buffer_pimpl.C: oops, update on resize
11911
11912 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11913
11914         * buffer.C:
11915         * converter.C:
11916         * exporter.C:
11917         * lyxfunc.C:
11918         * BufferView.h:
11919         * BufferView.C: use repaint()
11920
11921         * BufferView_pimpl.h:
11922         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11923           as it's a clearer description. Remove superfluous
11924           redraws.
11925
11926 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11927
11928         * text.C: fix bug 488. Not ideal, but getting
11929           getWord() to work properly for the insets that
11930           matter is more difficult ...
11931
11932 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11933
11934         * BufferView_pimpl.C:
11935         * LyXAction.C:
11936         * commandtags.h:
11937         * lyxfunc.C: remove the six million index lyxfuncs to just
11938           one, and DTRT (bug 458)
11939
11940 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11941
11942         * BufferView.h:
11943         * BufferView.C:
11944         * BufferView_pimpl.h:
11945         * BufferView_pimpl.C: clean up resize() stuff,
11946           and unnecessary updateScreen()s
11947
11948 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11949
11950         * BufferView.h:
11951         * BufferView.C:
11952         * BufferView_pimpl.h:
11953         * BufferView_pimpl.C:
11954         * lyxfind.h:
11955         * lyxfind.C:
11956         * minibuffer.C: remove focus management of workarea,
11957           not needed. Use screen's greyOut()
11958
11959 2002-06-17  Herbert Voss  <voss@lyx.org>
11960
11961         * converter.C: (convert) do not post a message, when converting
11962         fails, let the calling function decide what to do in this case
11963
11964 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11965
11966         * lyxfunc.C: tidy up a little
11967
11968 2002-06-16    <alstrup@diku.dk>
11969
11970         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11971         Got rid of FORMS_H_LOCATION include. Now we are
11972         GUII.
11973
11974 2002-06-15  LyX Development team  <lyx@rilke>
11975
11976         * buffer.[Ch] (sgmlOpenTag):
11977         (sgmlCloseTag): Added support for avoiding pernicious mixed
11978         content. Return number of lines written.
11979
11980         (makeLinuxDocFile):
11981         (makeDocBookFile): Fixed calls to sgml*Tag.
11982         Simple white space clean.
11983
11984         (simpleDocBookOnePar): Simple white space clean.
11985
11986         * tabular.[Ch] (docBook): Renamed to docbook and got another
11987         argument to related with the pernicious mixed content.
11988
11989         (docbookRow): Fixed calls for docbook inset method.
11990
11991 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11992
11993         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11994         so it's X11 independent.
11995
11996         * kb*.[Ch]: ditto.
11997
11998         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11999
12000 2002-06-15  Lyx Development team  <lyx@electronia>
12001
12002         * intl.h: Renamed getTrans to getTransManager.
12003
12004 2002-06-14  Angus Leeming  <leeming@lyx.org>
12005
12006         * Makefile.am: nuke forgotten stl_string_fwd.h.
12007
12008 2002-06-12  Angus Leeming  <leeming@lyx.org>
12009
12010         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12011
12012 2002-06-13  Angus Leeming  <leeming@lyx.org>
12013
12014         * LaTeX.C:
12015         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12016
12017 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12018
12019         * kbmap.C (getiso): add support for cyrillic and greek
12020
12021 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12022
12023         * BufferView.h:
12024         * BufferView.C:
12025         * BufferView_pimpl.h:
12026         * BufferView_pimpl.C: move bogus scrolling logic
12027           to xforms
12028
12029 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12030
12031         * lyxfunc.C:
12032         * BufferView_pimpl.C: view->resize() change
12033
12034 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12035
12036         * BufferView_pimpl.C: topCursorVisible
12037           prototype change
12038
12039 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12040
12041         * Makefile.am:
12042         * lyx_gui.h:
12043         * lyx_gui.C: move to frontends/
12044
12045         * main.C:
12046         * lyx_main.h:
12047         * lyx_main.C: changes from above
12048
12049 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12050
12051         * intl.C:
12052         * intl.h:
12053         * kbmap.C:
12054         * kbsequence.C:
12055         * lyx_cb.C:
12056         * lyx_main.C: minor tidy
12057
12058 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * BufferView_pimpl.h:
12061         * BufferView_pimpl.C:
12062         * BufferView.h:
12063         * BufferView.C: make painter() const,
12064           remove dead code
12065
12066         * BufferView2.C: use screen() accessor
12067
12068         * lyx_main.h:
12069         * lyx_main.C: some minor cleanup
12070
12071 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * BufferView_pimpl.h:
12074         * BufferView_pimpl.C: remove enter/leaveView,
12075           use workHeight()
12076
12077 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12078
12079         * BufferView.h:
12080         * BufferView.C:
12081         * BufferView2.C:
12082         * BufferView_pimpl.h:
12083         * BufferView_pimpl.C: only construct screen once,
12084           rename
12085
12086         * lyxrc.C: remove pointless comment
12087
12088 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12089
12090         * BufferView.h:
12091         * BufferView.C: remove active() and belowMouse()
12092
12093         * BufferView_pimpl.h:
12094         * BufferView_pimpl.C: use workarea() not workarea_,
12095           and make it use a scoped_ptr instead
12096
12097 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12098
12099         * lyx_gui.C: add debug message on BadWindow
12100
12101 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12102
12103         * sp_spell.C: fdopen is not part of the C++ standard.
12104
12105         * paragraph.C (InsetIterator): use >= instead of ==
12106
12107 2002-06-07  Angus Leeming  <leeming@lyx.org>
12108
12109         Fixes needed to compile with Compaq cxx 6.5.
12110         * BufferView_pimpl.C:
12111         * DepTable.C:
12112         * buffer.C:
12113         * converter.C:
12114         * encoding.C:
12115         * lyx_gui.C:
12116         * lyx_main.C:
12117         * lyxtextclasslist.C:
12118         * minibuffer.C:
12119         * sp_spell.C:
12120         * tabular_funcs.C:
12121         * vc-backend.C:
12122         all c-library variables have been moved into namespace std. Wrap
12123         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12124
12125         * lyxlength.C:
12126         * tabular-old.C:
12127         * tabular.C:
12128         Add a using std::abs declaration.
12129
12130         * kbmap.h (modifier_pair):
12131         * paragraph.h (InsetTable, InsetList):
12132         * lyxfont.h (FontBits):
12133         type definition made public.
12134
12135         * bufferlist.C (emergencyWriteAll): the compiler complains that
12136         there is more than one possible lyx::class_fun template to choose from.
12137         I re-named the void specialisation as lyx::void_class_fun.
12138
12139         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12140
12141         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12142         the compiler is is unable to find tostr in write_attribute.
12143
12144 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12145
12146         * buffer.C (sgmlError): hide #warning
12147
12148 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12149
12150         * xtl/*: get rid of xtl, which is not in use anyway
12151
12152         * LyXAction.C (init):
12153         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12154         were unimplemented xtl experimentation
12155
12156 2002-06-04  André Pönitz <poenitz@gmx.net>
12157
12158         * lyxfunc.C: disable array operation on simple formulae
12159
12160 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12161
12162         * converter.C: constify a bit
12163
12164 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12165
12166         * lyx_gui.C: check xforms version correctly
12167
12168 2002-04-30  Herbert Voss  <voss@lyx.org>
12169
12170         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12171         "keep" option
12172
12173 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12174
12175         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12176           attempt to register it with a VCS)
12177
12178 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12179
12180         * lyx_main.C (init): honor variables LYX_DIR_13x and
12181         LYX_USERDIR_13x
12182
12183 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12184
12185         * buffer.h:
12186         * buffer.C:
12187         * lyx_main.C: fix a crash on bad command line,
12188           and give a useful exit status on error
12189
12190         * lyxfunc.C (doImport): allow -i lyx to work
12191
12192 2002-03-30  André Pönitz <poenitz@gmx.net>
12193
12194         * lyxfunc.C: mathed font changes
12195
12196 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12197
12198         * LaTeX.C:
12199         * importer.h:
12200         * importer.C:
12201         * lyx_sty.h:
12202         * lyx_sty.C:
12203         * lyxlex.C:
12204         * lyxrow.h:
12205         * lyxtext.h:
12206         * paragraph.h:
12207         * paragraph.C:
12208         * texrow.h:
12209         * texrow.C:
12210         * text.C:
12211         * trans_mgr.h: srcdocs, and some minor cleanups
12212
12213 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12214
12215         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12216         call getFont all the time)
12217
12218 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12219
12220         * switch from SigC signals to boost::signals
12221
12222 2002-05-29  André Pönitz <poenitz@gmx.net>
12223
12224         * paragraph_pimpl.C (getChar): don't call size() too often...
12225
12226 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12227
12228         * paragraph_pimpl.C (insertChar): do not try to update tables when
12229         appending (pos == size())
12230
12231         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12232         in order to reduce drastically the number of comparisons needed to
12233         parse a large document
12234
12235 2002-05-29  André Pönitz <poenitz@gmx.net>
12236
12237         * text.C:
12238         * text2.C:
12239         * lyxtextclass.C:
12240         * sp_pspell.h:
12241         * textclasslist.[Ch]:
12242         * sp_ispell.h: whitespace change
12243
12244 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12245
12246         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12247         lyxaction directly now.
12248
12249 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12250
12251         * trans.C:
12252         * lyxfont.C:
12253         * lyxvc.C: remove unused headers
12254
12255 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12256
12257         * Makefile.am:
12258         * buffer.h:
12259         * undostack.h:
12260         * undostack.C:
12261         * undo_funcs.h:
12262         * undo_funcs.C: some cleanups. Use shared_ptr
12263           and a template for the undo stacks.
12264
12265 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12266
12267         * BufferView_pimpl.h:
12268         * BufferView_pimpl.C:
12269         * kbmap.h:
12270         * kbmap.C:
12271         * kbsequence.h:
12272         * kbsequence.C:
12273         * lyxfunc.h:
12274         * lyxfunc.C:
12275         * text2.C: use key_state/mouse_state
12276
12277 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12278
12279         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12280         and LSubstring
12281
12282         * chset.C: change include order
12283         (loadFile): use boost regex and get rid of LRegex and LSubstring
12284
12285         * Makefile.am (BOOST_LIBS): new variable
12286         (lyx_LDADD): use it
12287
12288         * LaTeX.C: change include order.
12289         (scanAuxFile): use boost regex and get rid of LRegex and
12290         LSubstring
12291         (deplog): ditto
12292
12293 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * ColorHandler.h:
12296         * ColorHandler.C:
12297         * FontInfo.h:
12298         * FontInfo.C: moved to frontends/xforms/
12299
12300         * FontLoader.h:
12301         * FontLoader.C: moved into frontends for GUIIzation
12302
12303         * Makefile.am:
12304         * lyx_gui.C:
12305         * lyxfont.C:
12306         * lyxfunc.C: changes from above
12307
12308 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12309
12310         * LColor.C: remove spurious X include
12311
12312         * BufferView_pimpl.C:
12313         * Makefile.am:
12314         * font.h:
12315         * font.C:
12316         * text.C:
12317         * text2.C: move font metrics to frontends/
12318
12319 2002-05-24  Juergen Vigna  <jug@sad.it>
12320
12321         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12322         setting the undo_cursor.
12323
12324         * ParagraphParameters.h: include local includes first.
12325
12326 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * BufferView_pimpl.C:
12329         * BufferView_pimpl.h:
12330         * Makefile.am:
12331         * WorkArea.h:
12332         * WorkArea.C:
12333         * screen.C: move WorkArea into frontends/
12334
12335         * lyxscreen.h:
12336         * screen.C:
12337         * text.C:
12338         * BufferView.C:
12339         * BufferView2.C: move LyXScreen into frontends/
12340
12341         * lyxlookup.h:
12342         * lyxlookup.C:
12343         * lyx_gui.C: move lyxlookup into frontends/xforms/
12344
12345 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12346
12347         * BufferView2.C:
12348         * BufferView_pimpl.C:
12349         * FontLoader.C:
12350         * LyXView.h:
12351         * LyXView.C:
12352         * Makefile.am:
12353         * WorkArea.C:
12354         * XFormsView.h:
12355         * XFormsView.C:
12356         * buffer.C:
12357         * bufferlist.C:
12358         * bufferview_funcs.C:
12359         * converter.C:
12360         * importer.C:
12361         * lyx_cb.C:
12362         * lyx_gui.C:
12363         * lyx_main.C:
12364         * lyx_find.C:
12365         * lyxfunc.C:
12366         * lyxvc.C:
12367         * minibuffer.C:
12368         * text.C:
12369         * text2.C:
12370         * trans.C:
12371         * vc-backend.C: move LyX/XFormsView into frontends/
12372
12373 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12374
12375         * Makefile.am:
12376         * PainterBase.C:
12377         * PainterBase.h:
12378         * Painter.C:
12379         * Painter.h:
12380         * WorkArea.C:
12381         * WorkArea.h:
12382         * screen.C:
12383         * tabular.C:
12384         * text.C:
12385         * text2.C: move Painter to frontends/
12386
12387 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12388
12389         * buffer.C: comment out some some code that depend upon lyx_format
12390         < 220
12391
12392         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12393         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12394
12395         * buffer.h (NO_COMPABILITY): turn off compability
12396
12397         * ColorHandler.C: include scoped_array.hpp
12398
12399         * font.C: Use more specific smart_ptr header.
12400         * Painter.C: ditto
12401         * gettext.C: ditto
12402         * ShareContainer.h: ditto
12403         * lyx_main.h: ditto
12404         * kbmap.h: ditto
12405         * FontInfo.h: ditto
12406         * BufferView_pimpl.h: ditto
12407         * ColorHandler.h: ditto
12408
12409         * kbmap.C (defkey): change call to shared_ptr::reset
12410
12411 2002-05-21  Juergen Vigna  <jug@sad.it>
12412
12413         * buffer.C (insertErtContents): fix to insert ert asis if it is
12414         non empty. Skip it completely if it contains only whitespaces.
12415
12416 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12417
12418         * BufferView_pimpl.C:
12419         * BufferView2.C: clear selection on paste (bug 393)
12420
12421 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12422
12423         * DepTable.C: include ctime
12424
12425 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12426
12427         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12428
12429 2002-05-14  Juergen Vigna  <jug@sad.it>
12430
12431         * text.C (breakParagraph): fixed function to honor the keepempty
12432         layout in the right maner and also to permit the right breaking
12433         algorithm on empty or non empyt keepempty paragraphs.
12434
12435         * paragraph.C (breakParagraph): we have to check also if the par
12436         is really empty (!size()) for isempty otherwise we do the wrong
12437         paragraph break.
12438
12439 2002-05-10  Juergen Vigna  <jug@sad.it>
12440
12441         * buffer.[Ch] : The following are only changes to the ert
12442         compatibility read reading old LaTeX layout and font stuff and
12443         convert it to ERTInsets.
12444
12445         * buffer.h: added isErtInset().
12446
12447         * buffer.C (struct ErtComp): add a fromlayout bool to check
12448         if we're inside a LaTeX layout.
12449         (isErtInset): new helper function.
12450         (insertErtContents): look for other ert insets before this one
12451         and insert the contents there, so that we don't have subsequent
12452         ERT insets with nothing between them. This way we create only one
12453         inset with multiple paragraphs. Also check if we don't insert only
12454         spaces ' ' as they are ignored anyway afterwards in the .tex file
12455         so if we have only spaces we will ignore this latex part in the
12456         new file.
12457         (parseSingleLyXformat2Token \\layout): better compatibility when
12458         reading layout-latex stuff.
12459         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12460         language tag.
12461         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12462         stuff after reading the inset only get the information back from
12463         the stack.
12464
12465 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12466
12467         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12468
12469         * LaTeXFeatures.C (getBabelOptions): New method.
12470
12471 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12472
12473         * BufferView_pimpl.C (Dispatch): work around missing argument for
12474         'layout'
12475
12476 2002-05-08  Juergen Vigna  <jug@sad.it>
12477
12478         * text.C (leftMargin): handle paragraph leftindent.
12479
12480         * paragraph.C (writeFile): write the new \\leftindent tag.
12481         (validate): handle leftindent code.
12482         (TeXEnvironment): handle paragraphleftindent code again.
12483
12484         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12485
12486         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12487         for paragrap_extra indent code and new token \\leftindent.
12488         (latexParagraphs): handle the leftindent as environment.
12489
12490         * ParameterStruct.h: added leftindent support.
12491
12492         * ParagraphParameters.C (leftIndent): added support functions for
12493         the paragraph left indent.
12494
12495         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12496         more appropriate.
12497
12498 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12499
12500         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12501         inside insetERT.
12502
12503         * text.C (computeBidiTables): No bidi in insetERT.
12504
12505         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12506         in RTL documents.
12507
12508 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12509
12510         * version.C.in: pre 5
12511
12512 2002-05-02  José Matos  <jamatos@fep.up.pt>
12513         * buffer.C (makeDocBookFile): white space changes, add newline to
12514         command styles.
12515         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12516
12517         * tabular.C (docBook): fix typo.
12518
12519 2002-05-03  Juergen Vigna  <jug@sad.it>
12520
12521         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12522         change in LyXText as we can not be sure it was not freed.
12523         (drawOneRow): remove unused code.
12524
12525         * text.C (drawInset): redo the calculation of the need_break_row as
12526         it could have a row which was already freed.
12527         (draw): look at the return value of drawInset and return false if
12528         it also returned false.
12529         (paintRowText): look at the return value of draw and return false if
12530         it also returned false.
12531
12532         * lyxtext.h: added bool return type to drawInset() and draw() so that
12533         if we have a change in the row so that the rowbreak has to be redone
12534         we abort drawing as it will be called again.
12535
12536 2002-05-02  Juergen Vigna  <jug@sad.it>
12537
12538         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12539         a change in the maintext also if we're inside an inset.
12540         (Dispatch): set the cursor again after a break line and after the
12541         screen has been updated as it could be we're in a different row.
12542
12543         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12544         to set the cursor behind the pargraph with > size().
12545         (setCursor): check also for the same paragraph when checking where
12546         to put the cursor if we have a NFR inset.
12547
12548         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12549         parts of layout read further up as it still was in the wrong
12550         position.
12551
12552 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12553
12554         * screen.C (drawFromTo): change sine fullRebreak always return
12555         true.
12556
12557         * buffer.C (parseSingleLyXformat2Token): reindent some
12558
12559         * BufferView_pimpl.C (update): change since fullRebreak always
12560         return true.
12561         (Dispatch): git rid of the last hardcoded "Standard"s.
12562
12563 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12564
12565         * text2.[Ch] (fullRebreak): make it return void now that we always
12566         returned true.
12567
12568 2002-04-30  Juergen Vigna  <jug@sad.it>
12569
12570         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12571         ert compatibility check for "latex" layout.
12572
12573 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12574
12575         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12576         minipages: use col% instead of p%, and also use the current font.
12577         (makeLaTeXFile): Fix use babel condition.
12578         (parseSingleLyXformat2Token): Correct font when reading old floats.
12579
12580 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12581
12582         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12583         inserting list of floats.
12584
12585 2002-04-25  Herbert Voss  <voss@lyx.org>
12586
12587         * MenuBackend.C (expand): don't add the graphics extensions to the
12588         export menu
12589
12590 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12591
12592         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12593         non-existing layout, do not complain if it was the default layout
12594         of the original class (bug #342)
12595
12596 2002-04-24  Juergen Vigna  <jug@sad.it>
12597
12598         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12599         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12600
12601 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12602
12603         * buffer.C (getBibkeyList): If using \bibliography, return the
12604         option field with the reference itself. Enables us to provide natbib
12605         support when using \bibliography.
12606
12607 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12608
12609         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12610
12611         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12612         natbib is provided by the LaTeX class.
12613
12614 2002-04-23  Juergen Vigna  <jug@sad.it>
12615
12616         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12617         Wakeup functions.
12618
12619         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12620
12621 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12622
12623         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12624
12625         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12626         ensuremath around textordmasculine, textordfeminine and
12627         textdegree.
12628
12629 2002-04-19  Juergen Vigna  <jug@sad.it>
12630
12631         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12632         reinitializing the buffer otherwise row-dimensions may be wrong.
12633         (update): reset also the selection cursors if they do exits otherwise
12634         their x/y positions may be wrong.
12635
12636         * text2.C (cursorDown): don't enter the inset if we came from a row
12637         above and are one row over the inset.
12638
12639         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12640         really leaving an inset.
12641
12642 2002-04-18  Juergen Vigna  <jug@sad.it>
12643
12644         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12645         of the selected paragraph does not have the selected layout also if
12646         the last one had!
12647
12648         * text2.C (setLayout): fixed bug which did not change last selected
12649         paragraph.
12650
12651         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12652         changed the read and substituted \\end_float with \\end_inset!
12653
12654         * BufferView_pimpl.C (cursorPrevious):
12655         (cursorNext): fixed to make it work with rows heigher than the work
12656         area without moving the cursor only the draw of the row.
12657         (workAreaMotionNotify): fix jumping over high rows.
12658
12659 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12660
12661         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12662         Ressler.
12663
12664 2002-04-16  Juergen Vigna  <jug@sad.it>
12665
12666         * text2.C (setCursor): set also the irow().
12667         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12668         (cursorUp):
12669         (cursorDown): support for locking an inset if the x_fix value goes
12670         inside it. That way I can transverse insets too with cursor up/down.
12671
12672         * lyxrow.h: added irow helper function same as other (i) functions.
12673
12674         * BufferView_pimpl.C (cursorPrevious):
12675         (cursorNext): fixed for insets!
12676
12677 2002-04-15  Juergen Vigna  <jug@sad.it>
12678
12679         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12680         position otherwise it is wrong in some cases.
12681
12682         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12683         inside the inset before the call.
12684
12685 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12686
12687         * buffer.[Ch] (getBibkeyList): make it const.
12688
12689 2002-04-12  Juergen Vigna  <jug@sad.it>
12690
12691         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12692
12693         * text2.C (getCursorX): new helper function
12694         (setCursor): compute also ix_
12695         (setCursorFromCoordinates): set also ix.
12696
12697         * lyxcursor.h: added ix_ and helper functions.
12698
12699         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12700
12701         * buffer.C (insertStringAsLines): dont break paragraph if the this
12702         paragraph is inside an inset which does not permit it!
12703
12704         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12705         also with no chars on this paragraph.
12706         (paintRowText): only paint stuff if it's inside the workarea!
12707
12708         * paragraph.C (breakParagraph): honor keepempty flag and break the
12709         paragraph always below not above.
12710
12711         * BufferView2.C (unlockInset): update the paragraph layout on inset
12712         unlock as we changed paragraph in such a case.
12713
12714         * lyxfind.C (LyXFind): clear the former selection if not found!
12715
12716         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12717         again called in insertChar().
12718
12719         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12720         an inset which uses the whole row!
12721         (rightMargin): ditto.
12722         (insertChar): force a rebreak if we inserted an inset!
12723
12724 2002-03-28  Herbert Voss  <voss@lyx.org>
12725
12726         * lyxlength.[Ch]: add inBP() to get the right PS-point
12727         units (BigPoint). With inPixels we have rounding errors
12728
12729 2002-04-11  Juergen Vigna  <jug@sad.it>
12730
12731         * text2.C (setCursorFromCoordinates): set iy to the right value.
12732         (setCursor): add check if row->previous exists!
12733
12734         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12735         an old float_type as this was the case in the old code!
12736
12737         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12738
12739         * BufferView2.C (showLockedInsetCursor): use iy
12740         (fitLockedInsetCursor): ditto
12741
12742         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12743         locked insets as there we have the right value now.
12744
12745         * lyxcursor.C: added iy_ variable and iy functions to set to the
12746         baseline of cursor-y of the locked inset.
12747
12748         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12749         (setCursor): fixed for insets which need a full row.
12750
12751         * text.C (rowLastPrintable): don't ignore the last space when before
12752         an inset which needs a full row.
12753         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12754         as last character of a row when before a inset which needs a full row.
12755
12756 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12757
12758         * version.C.in: update date
12759
12760         * text2.C (fullRebreak): try to always return true and see what
12761         happens...
12762
12763 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12764
12765         * MenuBackend.C (expand): use Floating::listName
12766
12767         * FloatList.C (FloatList): add listName argument to the built-in
12768         floats
12769
12770         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12771         text associated with the float.
12772
12773 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12774
12775         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12776
12777 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12778
12779         * ShareContainer.h: add a couple of missing typenames.
12780
12781 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12782
12783         * lyxrc.C (getDescription): use _() correctly rather than N_().
12784
12785 2002-03-28  Herbert Voss  <voss@lyx.org>
12786
12787         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12788         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12789
12790 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12791
12792         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12793         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12794
12795 2002-03-29  Juergen Vigna  <jug@sad.it>
12796
12797         * lyxfunc.C (dispatch): add a missing fitCursor call.
12798
12799         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12800         it was scrolled by a cursor move, so return the bool status.
12801
12802         * BufferView.C (fitCursor): return the bool flag also to the outside
12803         world as this is needed.
12804
12805         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12806
12807         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12808         call the edit() as it is not needed (and wrong) IMO.
12809         (workAreaButtonPress): set the screen_first variable before evt.
12810         unlock the inset as this may change screen_first and then we have
12811         a wrong y position for the click!
12812
12813 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12814
12815         * MenuBackend.C (expand): another translation that I missed
12816
12817 2002-03-28  Juergen Vigna  <jug@sad.it>
12818
12819         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12820
12821         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12822
12823 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12824
12825         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12826
12827         * MenuBackend.C (expand): fix export/view/update when there is no
12828         document open.
12829
12830 2002-03-27  Herbert Voss  <voss@lyx.org>
12831
12832         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12833         and text%
12834
12835 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12836
12837         * bufferview_funcs.C (currentState): only show paragraph number
12838         for is DEVEL_VERSION is set.
12839
12840         * lyxfunc.C (dispatch): put warning in INFO channel
12841
12842         * MenuBackend.C (expand): translate the name of floats
12843
12844         * FloatList.C (FloatList): mark the float names for translation
12845
12846         * converter.C (convert): use LibScriptSearch
12847
12848 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12849
12850         * MenuBackend.C (defaults): fix default menu (we might as well get
12851         rid of it...)
12852
12853 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12854
12855         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12856         directory.
12857
12858 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12859
12860         * lyxvc.C: reorder includes.
12861
12862 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12863
12864         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12865           properly
12866
12867 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12868
12869         * CutAndPaste.C: change layouts earlier on paste
12870           to avoid crashing when calling getFont()
12871
12872 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12873
12874         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12875         irritating #error.
12876
12877 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12878
12879         * WorkArea.C: remove 'Pending' debug message.
12880
12881         * most files: ws cleanup
12882
12883         * buffer.[Ch]: ws changes
12884
12885         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12886
12887 2002-03-21  Juergen Vigna  <jug@sad.it>
12888
12889         * tabular.C (SetMultiColumn): collapse also the contents of the
12890         cells and set the last border right. Added a Buffer const * param.
12891
12892 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12893
12894         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12895         linking or not.
12896
12897 2002-03-19  Juergen Vigna  <jug@sad.it>
12898
12899         * text2.C (clearSelection): reset also xsel_cache.
12900
12901         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12902         where it needs to be called (John tells us to do so too :)
12903         (selectionLost): reset sel_cache.
12904
12905         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12906
12907 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12908
12909         * text2.C (setCursorIntern): put debuging code in INSETS channel
12910
12911 2002-03-19  André Pönitz <poenitz@gmx.net>
12912
12913         * lyxfunc.C: tiny whitespace change
12914
12915 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12916
12917         * ToolbarDefaults.C (init):
12918         * LyXAction.C (init):
12919         * commandtags.h:
12920         * BufferView_pimpl.C (Dispatch):
12921         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12922
12923 2002-03-19  Allan Rae  <rae@lyx.org>
12924
12925         * exporter.C (Export): removeAutoInsets before doing anything else.
12926         While I've just introduced a dependency on BufferView this really is
12927         the best place to clean the buffer otherwise you need to cleanup in
12928         a dozen places before calling export or cleanup in a dozen functions
12929         that export calls.
12930
12931         * converter.C (runLaTeX):
12932         (scanLog): Better handling of removeAutoInsets and screen updates.
12933
12934         * lyxfunc.C (dispatch): small whitespace changes
12935
12936 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12937
12938         * WorkArea.C (C_WorkAreaEvent): return a value.
12939         (event_cb): return 1 if we handled the event, 0 otherwise.
12940
12941         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12942
12943 2002-03-18  Juergen Vigna  <jug@sad.it>
12944
12945         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12946         (GetAdditionalWidth): ditto.
12947         (RightLine): ditto.
12948         (LeftLine): ditto.
12949
12950         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12951         inset if we're there actually (probably not used right now but this
12952         is the direction to go for unifying code).
12953         (paste): disable code to clear the selection.
12954
12955         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12956         inside an InsetText and move the check further up as it is in the
12957         wrong place.
12958
12959         * text2.C (pasteSelection): set a selection over the pasted text.
12960
12961 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12962
12963         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12964         and libgraphics to build on Cygwin.
12965
12966 2002-03-15  Juergen Vigna  <jug@sad.it>
12967
12968         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12969         inserting an Inset into the paragraph. I know this is not the best
12970         fix but we already use current_view in CutAndPaste so we will remove
12971         all of it's using at the same time.
12972
12973         * buffer.C (sgmlError): deactivated function till it is rewritten in
12974         the right mode, now it can create problems.
12975
12976         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12977         before accessing it.
12978
12979 2002-03-14  Juergen Vigna  <jug@sad.it>
12980
12981         * undo_funcs.C (textHandleUndo): do the right thing when updating
12982         the inset after the undo/redo.
12983
12984         * text2.C (setCursor): just some testcode for #44 not ready yet.
12985
12986         * undo_funcs.C (textHandleUndo): set the next() and previous()
12987         pointers of the paragraph to 0 before deleting otherwise we have
12988         problems with the Paragraph::[destructor].
12989
12990         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12991         on a paragraph insertion.
12992
12993 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12994
12995         * buffer.C (asciiParagraph): use += operator for char append to
12996         string.
12997
12998         * paragraph.C (getFontSettings): compare >= not just >
12999         (highestFontInRange): ditto
13000         (setFont): ditto
13001
13002 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13003
13004         * paragraph.C: change several algorithm to be more appripriate for
13005         the problem domain. This is lookip in FontList and in the InsetList.
13006
13007 2002-03-13  André Pönitz <poenitz@gmx.net>
13008
13009         * commandtags.h:
13010         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13011
13012 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13013
13014         * commandtags.h:
13015         * LyXAction.C:
13016         * lyxfunc.C:
13017         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13018
13019 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13020
13021         * Painter.C (display): anon helper function, adjust code for this
13022         change.
13023         (pixmap): remove function.
13024
13025         * Painter.h: remove private display variable.
13026
13027         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13028
13029 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13030
13031         * WorkArea.[Ch]: remove figinset_canvas cruft.
13032
13033 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13034
13035         * lyxtextclass.C (operator): add one item cache optimization.
13036
13037         * bufferlist.h: doxy changes
13038
13039         * bufferlist.C: ws changes
13040
13041         * DepTable.[Ch] (ext_exist): place const in the right spot.
13042
13043         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13044         call resizeInsets.
13045         (workAreaExpose): call resizeInsets when the with BufferView changes.
13046         (Dispatch): adjust for protectedBlank removal
13047         (specialChar): call updateInset if the insert went ok.
13048
13049         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13050         specialChar instead.
13051
13052         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13053
13054         * BufferView.h: doxy change
13055
13056         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13057
13058         * lyxtextclass.C (operator[]): remove non-const version
13059         (defaultLayout): remove non-const version
13060
13061 2002-03-12  Juergen Vigna  <jug@sad.it>
13062
13063         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13064         did resize the LyXText too.
13065
13066         * buffer.C (readLyXformat2): set layout information on newly allocated
13067         paragraphs.
13068
13069         * tabular.C (OldFormatRead): set layout information on the paragraph.
13070
13071 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13072
13073         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13074
13075 2002-03-11  Juergen Vigna  <jug@sad.it>
13076
13077         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13078         plainly wrong.
13079         (resizeCurrentBuffer): force also the insets to resize themselfes.
13080         (moveCursorUpdate): fixed up for InsetText.
13081
13082 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13083
13084         * commandtags.h:
13085         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13086         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13087         value of Dialogs::tooltipsEnabled().
13088         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13089
13090 2002-03-08  Juergen Vigna  <jug@sad.it>
13091
13092         * BufferView_pimpl.C (updateInset): update inset inside inset also
13093         if it isn't inside theLockingInset().
13094
13095 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13096
13097         * buffer.C (asciiParagraph): redo some of the word and line length
13098         handling.
13099         (getLists): look for Caption instead of caption.
13100
13101 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13102
13103         * buffer.C (Buffer): initialize niceFile to true
13104         (makeLaTeXFile):
13105         (makeLinuxDocFile):
13106         (makeDocBookFile): make sure niceFile is true on exit
13107
13108 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13109
13110         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13111
13112 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13113
13114         * LyXSendto.C: remove.
13115         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13116         * lyx_gui.C: remove now-redundant comment.
13117         * ColorHandler.h: remove forward declaration of class WorkArea.
13118         * lyxfunc.C: remove #include "WorkArea.h".
13119
13120 2002-03-07  Juergen Vigna  <jug@sad.it>
13121
13122         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13123         got moved away with the DEPM and also set the inset_owner always
13124         right which before could have been omitted.
13125
13126 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13127
13128         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13129         wanted layout is not found.
13130
13131 2002-03-07  Juergen Vigna  <jug@sad.it>
13132
13133         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13134
13135 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13136
13137         * paragraph.C (breakParagraph): use default layout not layout of
13138         prev paragraph.
13139         (Paragraph): clear ParagraphParameters.
13140
13141 2002-03-06  Juergen Vigna  <jug@sad.it>
13142
13143         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13144         otherwise it would not be a valid lenght. Fixed a special case in
13145         the minipage compatibility read where we end the document with a
13146         minipage.
13147
13148         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13149         was set as it could be 0 for InsetTexts first entry.
13150
13151 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13152
13153         * paragraph.C (writeFile): if layout is empty write out
13154         defaultLayoutName().
13155
13156         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13157         file without named layout we set layout to defaultLayoutName().
13158
13159 2002-03-06  Juergen Vigna  <jug@sad.it>
13160
13161         * CutAndPaste.C (copySelection): set layout for new paragraph.
13162
13163         * text.C (prepareToPrint): leave ERT inset left aligned
13164         (leftMargin): don't indent paragraphs inside ERT insets
13165
13166 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13167
13168         * paragraph.C (breakParagraph): dont call clear do the work manually
13169
13170         * paragraph.[Ch] (clear): remove function
13171
13172 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13173
13174         * paragraph.C (Paragraph): dont call clear, the work has already
13175         been done.
13176
13177         * lyxtextclass.C (operator): assert if n is empty
13178
13179         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13180         work manually instead.
13181
13182 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13183
13184         * BufferView_pimpl.C: protect selectionLost against text == 0
13185
13186 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13187
13188         * text.C (breakParagraph): fix a setting layout to '0' problem.
13189
13190 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13191
13192         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13193         final location of file, for the included files, and graphics.
13194
13195 2002-03-05  Juergen Vigna  <jug@sad.it>
13196
13197         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13198
13199 2002-03-04  Juergen Vigna  <jug@sad.it>
13200
13201         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13202
13203         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13204         last column of multicolumn cells.
13205         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13206
13207 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13208
13209         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13210         file if it doesn't go to a temporary file.
13211
13212         * buffer.C (sgmlOpenTag):
13213         (sgmlCloseTag):  remove extra newline insertion.
13214
13215 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13216
13217         * text.C (getRowNearY): comment out debug msg
13218
13219 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13220
13221         * text2.C: first -> first_y
13222
13223         * text.C (getRowNearY): add some attemts at a possible
13224         optimization, not working.
13225
13226         * tabular.[Ch]: add BufferParams to several function so that newly
13227         created paragraph can be initialized to he default layotu for the
13228         buffers textclass.
13229
13230         * tabular-old.C (ReadOld): add buf->params to call of Init
13231
13232         * screen.C: rename text->first to text->first_y
13233
13234         * paragraph.C (breakParagraph): always set layout in the broken
13235         paragraph
13236
13237         * lyxtextclass.C (Read): remove lowercase
13238         (hasLayout): ditto
13239         (operator): ditto
13240         (delete_layout): ditto
13241
13242         * lyxtext.h: rename first -> first_y
13243
13244         * lyxlayout.C (Read): remove lowercase
13245         (name): ditto
13246         (setName): ditto
13247         (obsoleted_by): ditto
13248
13249         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13250
13251         * buffer.C (insertErtContents): add params are to InsetERT
13252         (parseSingleLyXformat2Token): add code to check if a paragraphs
13253         layout really exist.
13254         (parseSingleLyXformat2Token): add params to several inset
13255         constructors
13256         (asciiParagraph): remove lowercase, do the layout comparisons with
13257         no_case
13258
13259         * BufferView_pimpl.C (cursorNext): first -> first_y
13260         (resizeCurrentBuffer): first -> first_y
13261         (updateScrollbar): first -> first_y
13262         (scrollCB): first -> first_y
13263         (workAreaMotionNotify): first -> first_y
13264         (workAreaButtonPress): first -> first_y
13265         (checkInsetHit): first -> first_y
13266         (cursorPrevious): first -> first_y
13267         (cursorNext): first -> first_y
13268         (Dispatch): add buffer_->params to severl inset contructors
13269
13270 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13271
13272         * lyxlayout.C (Read): remove some debug info that I forgot.
13273
13274         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13275         clean up the code slightly.
13276         (makeLinuxDocFile): ditto
13277         (makeDocBookFile): ditto
13278
13279         * text2.C: layout as string
13280
13281         * text.C: layout as string
13282
13283         * paragraph_pimpl.C: layout as string
13284
13285         * paragraph.[Ch]: layout as string
13286
13287         * lyxtextclasslist.[Ch]: layout as string
13288
13289         * lyxtextclass.[Ch]: layout as string
13290
13291         * lyxtext.h: layout as string
13292
13293         * lyxlayout.[Ch]: layout as string
13294
13295         * lyx_cb.C: layout as string
13296
13297         * bufferview_funcs.C: layout as string
13298
13299         * bufferparams.C: layout as string
13300
13301         * buffer.C: layout as string
13302
13303         * LyXView.[Ch]: layout as string
13304
13305         * LaTeXFeatures.[Ch]: layout as string
13306
13307         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13308
13309         * BufferView_pimpl.C: change current_layout to string, remove
13310         lyx::layout_type.
13311         (Dispatch):
13312         (smartQuote):
13313         (insertInset):
13314         (workAreaButtonRelease): layout as string
13315
13316         * BufferView2.C (unlockInset): adjust
13317
13318         * vspace.C (asLatexCommand): use an explict temp variable.
13319
13320 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13321
13322         * Makefile.am: use FRONTEND_*
13323
13324 2002-03-01  Juergen Vigna  <jug@sad.it>
13325
13326         * tabular.C (SetWidthOfMulticolCell): changed to something better
13327         I hope but still work in progress.
13328         (recalculateMulticolumnsOfColumn): renamed function from
13329         recalculateMulticolCells as it is more appropriate now.
13330         (SetWidthOfCell): calculate multicols better.
13331
13332 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13333
13334         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13335
13336         * lyxfunc.C (processKeySym): print sequence also if it is
13337         `deleted' (complete)
13338
13339         * kbsequence.C (print): print sequence even if it is deleted
13340         (complete would be a better word, actually).
13341
13342         * lyxfunc.C (dispatch): print complete options after a prefix key
13343
13344         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13345
13346 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13347
13348         * text2.C (setCharFont): eliminate setCharFont code duplication.
13349
13350 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13351
13352         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13353         LFUN_TABULAR_FEATURE (bug #177)
13354
13355 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13356
13357         * Makefile.am: remove figure.h
13358
13359 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13360
13361         * Bufferview_pimpl.C:
13362         * CutAndPasteC:
13363         * LaTeX.C:
13364         * LyXSendto.C:
13365         * buffer.C:
13366         * bufferlist.C:
13367         * converter.C:
13368         * language.C:
13369         * lyxfunc.C:
13370         * lyxvc.C:
13371         * paragraph.C:
13372         * text.C:
13373         * text2.C: remove #include "lyx_gui_misc.h".
13374
13375         * LaTeX.C: added #include <cstdio>
13376
13377 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13378
13379         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13380         that the paragraph following this one can have.
13381
13382         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13383
13384         * vspace.C (asLatexCommand): fix bogus gcc warning
13385
13386         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13387
13388 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13389
13390         * text2.C (setLayout): get rid of redundant code
13391
13392 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13393
13394         * text2.C (incDepth): make sure depth cannot be increased beyond
13395         reasonable values.
13396
13397 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13398
13399         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13400         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13401
13402         * PainterBase.h (image):
13403         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13404         a LyXImage const *.
13405
13406 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13407
13408         * BufferView.C:
13409         * BufferView.h:
13410         * BufferView_pimpl.C:
13411         * BufferView_pimpl.h:
13412         * LaTeXFeatures.C:
13413         * LyXAction.C:
13414         * LyXView.C:
13415         * Makefile.am:
13416         * UpdateList.h:
13417         * UpdateList.C:
13418         * buffer.C:
13419         * figure.h:
13420         * figureForm.C:
13421         * figureForm.h:
13422         * figure_form.C:
13423         * figure_form.h:
13424         * lyx_cb.C:
13425         * lyx_gui.C:
13426         * lyx_gui_misc.C:
13427         * lyxfunc.C:
13428         * sp_base.h:
13429         * sp_ispell.h:
13430         * sp_pspell.h:
13431         * sp_spell.C: remove fig inset, and the crap house of
13432           cards that follows it
13433
13434 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13435
13436         * Makefile.am:
13437         * lyxserver.C:
13438         * os2_defines.h:
13439         * os2_errortable.h:
13440         * nt_defines.h: move .h into support/
13441
13442         * vms_defines.h: remove
13443
13444         * WorkArea.C: add space in debug output
13445
13446         * text2.C:
13447         * paragraph.C:
13448         * buffer.C: add WITH_WARNINGS
13449
13450         * vc-backend.h:
13451         * vc-backend.C:
13452         * bufferlist.C: s/retrive/retrieve/, add docs
13453
13454         * vspace.h:
13455         * vspace.C:
13456         * kbmap.h:
13457         * lyxlength.h:
13458         * lyxgluelength.h:
13459         * length_common.h:
13460         * chset.h:
13461         * chset.C: add docs
13462
13463         * lyxgui.C: add ID to X error handler
13464
13465         * lyxtestclass.c: fix typo
13466
13467 2002-02-26  Juergen Vigna  <jug@sad.it>
13468
13469         * tabular_funcs.C (write_attribute): changed so that some default
13470         attributes are not written at all.
13471         (getTokenValue): set default values before trying to read the
13472         value so we have the return value always set as default if we don't
13473         find the token we search for.
13474
13475         * tabular.C (Write): write bools as bools not as strings!
13476
13477 2002-02-22  Juergen Vigna  <jug@sad.it>
13478
13479         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13480         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13481
13482         * text.C (leftMargin): don't add an indent for paragraphs inside
13483         tabular cells (fix #208).
13484
13485 2002-02-21  José Matos  <jamatos@fep.up.pt>
13486
13487         * tabular.C (docBook): fixed support for long tables.
13488
13489 2002-02-20  Juergen Vigna  <jug@sad.it>
13490
13491         * text2.C (getFont): get the drawing font of the Inset if this
13492         paragraph is inside an inset (only important for InsetERT for now).
13493
13494         * buffer.C (insertErtContents): use new lanugage params in ERT
13495         constructor.
13496
13497         * CutAndPaste.C: commenting out seemingly uneeded code.
13498
13499 2002-02-19  Allan Rae  <rae@lyx.org>
13500
13501         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13502         Iterators might be simple to use but they also get invalidated.
13503         (removeAutoInsets): renamed saved cursor tracking variables and added
13504         some comments to clarify what everything does.
13505
13506 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13507
13508         * Chktex.C:
13509         * LaTeX.C:
13510         * LyXSendto.C:
13511         * converter.C:
13512         * lyx_cb.C:
13513         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13514         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13515
13516         * lyxfunc.C:
13517         * vc-backend.h: remove #include "support/syscall.h"
13518
13519         * LaTeX.C:
13520         * LyXSendto.C:
13521         * converter.C: rearrange #includes in Lars' approved fashion.
13522
13523         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13524         forward declare class Timeout in the header file.
13525
13526         * XFormsView.C: changes due to the above.
13527
13528         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13529         similar to LyXView.
13530
13531         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13532         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13533
13534 2002-02-18  José Matos  <jamatos@fep.up.pt>
13535
13536         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13537         insets contents.
13538
13539 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13540
13541         * a lot of small ws changes
13542         * add a lot of using std::XXX
13543         * use std construcs some places where approp.
13544         * use some exisint stuff from lyxfunctional where approp.
13545         * Make file changes to use partial linking (lets test this now...)
13546
13547 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13548
13549         * Chktex.C:
13550         * buffer.C:
13551         remove #include "support/syscontr.h" as it's redundant. Always has been.
13552
13553         * Chktex.C:
13554         * LaTeX.C:
13555         * LyXSendto.C:
13556         * converter.C:
13557         * lyx_cb.C:
13558         * vc-backend.C:
13559         change Systemcalls::System to Systemcalls::Wait and
13560         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13561         No change of functionality, just reflects the stripped down Systemcalls
13562         class.
13563
13564 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13565
13566         * debug.[Ch]: add a GRAPHICS type to the enum.
13567
13568 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13569
13570         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13571
13572         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13573         there is an inset.
13574
13575 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13576
13577         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13578         match the changes below.
13579
13580         * text2.C (toggleInset): if there is not editable inset at cursor
13581         position, try to see if cursor is _inside_ a collapsable inset
13582         and close it.
13583
13584 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13585
13586         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13587         document menu has a nice checkbox
13588
13589 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13590
13591         * lyxlength.C (asLatexString): change PW to output as percent of
13592         \textwidth.
13593
13594         * lengthcommon.C: change '%' to 't%'
13595
13596         * lyxfunc.C (dispatch): a few comments from Martin
13597
13598 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13599
13600         * WorkArea.h:
13601         * WorkArea.C:
13602         * BufferView_pimpl.h:
13603         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13604           the X selection.
13605
13606 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13607
13608         * vspace.C (inPixels): fix compiler warning
13609
13610 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13611
13612         * lyxfunc.C (getStatus): fix status message for disabled commands.
13613
13614 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13615
13616         * BufferView_pimpl.C: fix crash on close buffer
13617         during selection (#227)
13618
13619 2002-01-27  Herbert Voss  <voss@lyx.org>
13620
13621         * buffer.C: link old Figure to new graphic inset
13622
13623 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13624
13625         * FontLoader.C (getFontinfo): Change the latex font names in order
13626         to match the names of type1inst.
13627
13628 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13629
13630         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13631
13632         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13633         (extchanged): ditto
13634         (ext_exist): ditto
13635         (remove_files_with_extension): ditto
13636         (remove_file): ditto
13637         (write): ditto
13638
13639         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13640         document is smaller than the work area height. Do not initialize
13641         static variables to 0.
13642
13643 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13644
13645         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13646
13647         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13648         LFUN_LAYOUT_PARAGRAPHS.
13649
13650         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13651         tabular. It is possible to provide a possible cell, which will
13652         typically be the actcell from the corresponding insettabular
13653
13654         * lyxfunc.C (getStatus): small cleanup; disable
13655         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13656         true
13657
13658 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13659
13660         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13661
13662         * paragraph.C (startTeXParParams):
13663         (endTeXParParams): new methods. The LaTeX code to
13664         start/end paragraph formatting
13665         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13666         empty (fixes bug #200)
13667
13668         * vspace.C (inPixels): adapt to the change below
13669         (inPixels): [later] more cleanups (remove unused variables)
13670
13671         * lyxlength.C (inPixels): change to use a width and a height as
13672         parameter.
13673
13674 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13675
13676         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13677         Replaced with \paperwidth
13678
13679         * DepTable.C (insert): add std:: qualifier
13680
13681 2002-01-18  Allan Rae  <rae@lyx.org>
13682
13683         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13684         updated also?
13685
13686         * text.C (drawInset): Turned out I didn't know enough about how
13687         rebreaking worked.  This fixes most of the redraw problems.  I see
13688         an occasional cursor trail when a line is broken now and the cursor
13689         placement can seem out by a few pixels also after a rebreak.
13690
13691 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13692
13693         * buffer.C (parseSingleLyXformat2Token): update because minipage
13694         width is now a LyXLength
13695
13696         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13697
13698         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13699         math insets
13700
13701 2002-01-17  Juergen Vigna  <jug@sad.it>
13702
13703         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13704
13705         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13706         is set correctly and the inset is updated correctly.
13707
13708 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13709
13710         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13711         the beginning of the loop.
13712
13713 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13714
13715         * lyxrc.C: improve help for use_scalable_fonts
13716
13717 2002-01-17  Allan Rae  <rae@lyx.org>
13718
13719         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13720
13721 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13722
13723         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13724         make sure to set their inset_owner to the right value (bug #171)
13725
13726 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13727
13728         * DepTable.h
13729         * DepTable.C: Implement mtime checking to reduce time spent doing
13730         CRCs.
13731
13732 2002-01-16  Juergen Vigna  <jug@sad.it>
13733
13734         * tabular.C (GetAdditionalHeight): one of error fixed.
13735
13736         * lyxrc.C (output): small fix in writing use_pspell.
13737
13738 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13739
13740         * sp_base.h: #include LString.h
13741
13742 2002-01-16  Allan Rae  <rae@lyx.org>
13743
13744         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13745         Can someone check this please?
13746
13747         * text.C (drawInset): It was possible that p.row would be removed by
13748         breakAgainOneRow upsetting a few other settings.  There may be another
13749         small tweak possible by setting need_break_row = 0 when p.row has been
13750         removed but I don't know enough about the logic here.
13751
13752 2002-01-15  Allan Rae  <rae@lyx.org>
13753
13754         * text.C (insertChar): removed conditional truism.
13755
13756         * BufferView2.C (removeAutoInsets): More tweaks.
13757         cur_par_prev could be a stray pointer.  Check for trailing empty line
13758         in case last line was cur_par and only had an error inset on it.
13759
13760 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13761
13762         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13763         absolute
13764
13765         * vc-backend.C (most methods):
13766         * exporter.C (Export):
13767         * converter.C (convert):
13768         (runLaTeX):
13769         * LyXSendto.C (SendtoApplyCB):
13770         * lyxfunc.C (dispatch):
13771         (menuNew):
13772         (open):
13773         (doImport):
13774         * lyx_cb.C (AutoSave):
13775         (InsertAsciiFile):
13776         * BufferView_pimpl.C (MenuInsertLyXFile):
13777         * buffer.C (runChktex): use Buffer::filePath().
13778
13779         * buffer.h: rename filename to filename_; rename filepath to
13780         filepath_ and make it private
13781         (filePath): new method
13782
13783         * buffer.C (writeFile): use fileName()
13784         (getLatexName):
13785
13786         * lyx_main.C (init): fix starting  of LyX when the binary is a
13787         link from so,ewhere else.
13788
13789         * minibuffer.C: include <cctype> for isprint
13790
13791 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13792
13793         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13794         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13795         name clash with InsetCollapsable's width function.
13796
13797 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13798
13799         * lastfiles.C: include <iterator>
13800
13801 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13802
13803         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13804         std::count.
13805
13806         * buffer.C (makeLaTeXFile): ditto.
13807         Also make loop operation more transparent.
13808
13809 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13810
13811         * ToolbarDefaults.C: remove trailing comma closing namespace.
13812
13813         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13814
13815         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13816         as in WorkArea.
13817
13818         * trans.C (Load): comment out unused variable, allowed.
13819
13820 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13821
13822         * minibuffer.[Ch] (append_char): new method to recieve input from the
13823         drop-down completion browser. If a key was pressed, then recieve this
13824         char and append it to the existing string.
13825         (peek_event): modify the positioning data passed to the completion
13826         browser so that it can be placed above the minibuffer rather than below.
13827 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13828
13829         * LyXAction.C (init): alloe error-next for readonly documents.
13830
13831         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13832         count.
13833
13834 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13835
13836         * bufferlist.C (readFile): create the buffer _after_ checking that
13837         the file exists.
13838
13839         * lyxfunc.C (verboseDispatch): fix handling of arguments
13840
13841         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13842
13843         * lyxrc.C: use string::erase() instead of initializing to "".
13844
13845
13846 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13847
13848         * BufferView_pimpl.h:
13849         * BufferView_pimpl.C:
13850         * WorkArea.h:
13851         * WorkArea.C:
13852         * text2.C: tell X when we have made a selection for copying
13853
13854 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13855
13856         * BufferView_pimpl.C (MenuInsertLyXFile):
13857         * lyxfunc.C (menuNew):
13858         (open):
13859         (doImport): add shortcuts to directory buttons
13860
13861         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13862         open a float)
13863
13864         * lyxfunc.C (setStatusMessage):
13865         (getStatusMessage): new methods
13866         (getStatus):use setStatusMessage instead of setErrorMessage
13867         (dispatch): when function is disabled, set error message here
13868         [instead of in getStatus previously]
13869
13870         * BufferView_pimpl.C (workAreaButtonRelease): update
13871         toolbar/menubar here too.
13872
13873 2002-01-13  Allan Rae  <rae@lyx.org>
13874
13875         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13876         Now seems indestructible.  Remaining task is to audit all other
13877         code affected by deleteEmptyParagraphMechanism.  One small quirk
13878         left is that an empty document with an error in the preamble can
13879         be made to report an error but no error box appears.  I don't know
13880         where it goes.
13881         (removeAutoInsets): Improved comments.
13882
13883 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13884
13885         * Thesaurus.h:
13886         * Thesaurus.C: update for Aiksaurus 0.14
13887
13888 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13889
13890         * text2.C (firstParagraph): removed member function, all uses
13891         replaces with ownerParagraph
13892         (redoParagraphs): here
13893         (updateInset): here
13894         (toggleAppendix): here
13895         * BufferView2.C (insertErrors): here
13896         (setCursorFromRow): here
13897
13898 2002-01-13  Allan Rae  <rae@lyx.org>
13899
13900         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13901         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13902         There is still a way to segfault this although you may have to do this
13903         multiple times: Have an InsetERT with an unknown command in it.
13904         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13905         <down-arrow>, <Enter> again, View->DVI, BANG!
13906
13907         * text2.C (setCursor):
13908         (deleteEmptyParagraphMechanism):
13909         * lyxtext.h (setCursor):
13910         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13911         Making use of the return value may help fix other bugs.
13912
13913 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13914
13915         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13916
13917         * LyXView.C (updateMenubar): call MenuBar::update here
13918         (updateToolbar): but not here
13919         (showState): do not update toolbar/menubar
13920
13921         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13922         should need to care about that.
13923
13924         * lyxfunc.C (verboseDispatch): simplify a bit
13925         (getStatus): have a version which takes a pseudoaction, and
13926         another which requires a (kb_action,string).
13927
13928         * LyXAction.C (retrieveActionArg): make it work also when action
13929         is not a pseudo-action.
13930         (getActionName): simplify a bit
13931         (helpText):
13932
13933 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13934
13935         * lyxfunc.C (verboseDispatch): new families of methods with
13936         several ways to specify a command and a bool to indicate whether
13937         the command name and shortcut should be displayed in minibuffer
13938         (eventually, we could extend that to a finer bitmask like
13939         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13940         (dispatch): the pristine dispatch command which just, well,
13941         dispatchs! Note it still sets its result to minibuffer; I'm not
13942         sure we want that.
13943
13944         * lyxfunc.h: remove setHintMessage
13945
13946         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13947
13948 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13949
13950         * BufferView_pimpl.C (specialChar): delete new inset if we have
13951         not been able to insert it.
13952
13953         * kbmap.C: revert to using int instead of kb_action, since all we
13954         are dealing with is pseudo-actions.
13955
13956         * LyXAction.C (searchActionArg): change to return int instead of
13957         kb_action, since the result is a pseudoaction.
13958
13959 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13960
13961         * buffer.C (insertErtContents): Fix (partially) the font bug.
13962
13963 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13964
13965         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13966         as the other one is broken on my machine!
13967
13968 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13969
13970         * commandtags.h:
13971         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13972
13973 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13974
13975         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13976         reflect their actual use. Provide compatibility code for older lyxrc
13977         files.
13978
13979         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13980         FL_NORMAL_STYLE.
13981         change names of popup font variables in line with the changes to lyxrc.C
13982
13983 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13984
13985         * buffer.C (asciiParagraph): avoid outputing a word twice after
13986         an inset.
13987
13988         * lyxrc.C (getDescription): document that document_path and
13989         template_path can be empty.
13990
13991 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13992
13993         * LaTeXFeatures.C (getMacros):
13994         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13995
13996         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13997
13998         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13999         getPackages.
14000         (getPackages): rename feature "floats" to "float". Use an array to
14001         iterate over 'simple' features (i.e. just a \usepackage). Add
14002         handling of "amsmath" (renamed from "amsstyle").
14003
14004 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14005
14006         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14007         features list.
14008
14009 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14010
14011         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14012         FuncStaus::FuncStatus & FuncStaus::some_method().
14013
14014 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14015
14016         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14017         of the func_satus stuff. Edited and massaged in various ways by
14018         JMarc.
14019
14020         * lyxfunc.C (getStatus): use FuncStatus
14021
14022 2002-01-08  Juergen Vigna  <jug@sad.it>
14023
14024         * text.C (nextBreakPoint): use function Inset::isChar().
14025
14026         * paragraph.C (TeXOnePar): use function
14027         Inset::forceDefaultParagraphs.
14028
14029         * buffer.C (latexParagraphs): use function
14030         Inset::forceDefaultParagraphs.
14031
14032 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14033
14034         * lyx_gui.C (init): set the style of the menu popups to
14035         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14036
14037 2002-01-07  Juergen Vigna  <jug@sad.it>
14038
14039         * text.C (setHeightOfRow): small fix
14040         (prepareToPrint): don't look at alignment if we don't have the place
14041         for doing it.
14042
14043 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14044
14045         * box.C: New file. Move the Box methods and functions out of box.h,
14046         following Lars' suggestion.
14047
14048 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14049
14050         * box.h: #include "support/LOstream.h", needed for inlined function.
14051
14052         * lyxtextclass.C:
14053         * lyxtextclasslist.C: added some using std declarations.
14054
14055 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14056
14057         * box.h: make signed dimensions to allow insets wider than
14058           the screen (bug #162)
14059
14060         * BufferView_pimpl.C: add some insetHit debug
14061
14062 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14063
14064         * vc-backend.C: add FIXME
14065
14066 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14067
14068         * lyxfunc.C (getStatus): enable code for showing math font status
14069         in toolbar/menu.
14070
14071 2002-01-07  Juergen Vigna  <jug@sad.it>
14072
14073         * text.C (nextBreakPoint): removed debug output not needed anymore.
14074
14075 2002-01-06  Juergen Vigna  <jug@sad.it>
14076
14077         * text.C (nextBreakPoint): fixed up this function we had this bug
14078         since ever but now hopefully we break row better.
14079         (insertChar): we have to check if an inset is the next char as it
14080         could now happen that a large inset is causing a break.
14081
14082 2002-01-05  Juergen Vigna  <jug@sad.it>
14083
14084         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14085         if it doesn't like to be drawed.
14086
14087 2002-01-04  Juergen Vigna  <jug@sad.it>
14088
14089         * BufferView2.C (lockInset): forgot to set a cursor.
14090
14091         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14092
14093 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14094
14095         * FormMathsPanel.C:
14096         * FormMathsPanel.h
14097         * MathsSymbols.C:
14098         * form_maths_panel.C:
14099         * form_maths_panel.h:
14100         * form_maths_panel.fd: implemented sub- and super- buttons in math
14101         panel.
14102
14103         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14104         (or ^ space) to be used as in TeX (req'd by Andr�.
14105
14106         * lyxfunc.C: Allow ^ and _ again to be used both as
14107         super/subscript (mathed) and as themselves (in text).
14108
14109 2002-01-03  Allan Rae  <rae@lyx.org>
14110
14111         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14112         "LyX" or the filename of the current buffer if it has one.  This is a
14113         modified form of John Levon's patch.
14114
14115         * XFormsView.C (setWindowTitle): also set icon title.
14116
14117         * LyXView.h (setWindowTitle): signature changed.
14118         * XFormsView.h (setWindowTitle): ditto.
14119
14120 2002-01-02  Juergen Vigna  <jug@sad.it>
14121
14122         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14123
14124 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14125
14126         * screen.C (topCursorVisible): introduce a temp var for
14127         text->cursor.row(), handle the case where this row is null. (kindo
14128         hachish)
14129
14130         * text2.C (setCursor): add a couple of asserts.
14131
14132         * paragraph.h (inset_iterator): add -> operator
14133
14134         * paragraph.[Ch] (autoDeleteInsets): remove member function
14135
14136         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14137         cursor pos correctly and handle inset deletion by itself.
14138         (insertErrors): move iterator declaration out of for expression
14139
14140         * lyxtextclass.C: add <algorithm>
14141
14142         * Makefile.am: added the new files to sources, removed layout.C
14143
14144         * layout.C: removed file
14145
14146         * layout.h: remove LYX_DUMMY_LAYOUT
14147
14148         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14149         layout.
14150
14151         * lyxlayout.[Ch]:
14152         * lyxtextclass.[Ch]:
14153         * lyxtextclasslist.[Ch]: new files
14154
14155         * include order changes to a lot of files, also changes because of
14156         the six new files.
14157
14158 2001-12-27  Juergen Vigna  <jug@sad.it>
14159
14160         * buffer.C (asciiParagraph): more fixes.
14161
14162         * tabular.C (ascii): make ascii export support export of only the
14163         data separated by a column-delimiter.
14164         (ascii): better support for ascii export.
14165
14166         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14167
14168 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14169
14170         * tabular_funcs.C: use a "using std::getline" instead of the
14171         previous fix from Angus (necessary for cxx + lyxstring)
14172
14173 2001-12-24  Juergen Vigna  <jug@sad.it>
14174
14175         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14176
14177         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14178         problems. First check a minipage also if we have some ert-contents
14179         (not only on par->size(), second set the right depth of the paragraph
14180         on the relink to the root-paragraph-list!
14181
14182         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14183         which then did not anymore update the main paragraphs on undo/redo!
14184
14185 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14186
14187         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14188         code. Support all font-changing funcs (even those which are not in
14189         menu currently). Support for reporting font settings in
14190         mathed (disabled until Andre provides a function on mathed's side).
14191
14192         * func_status.h (toggle): small helper function to set toggle
14193         state on a flag.
14194
14195 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14196
14197         * tabular_funcs.C: getline -> std::getline
14198
14199 2001-12-21  Juergen Vigna  <jug@sad.it>
14200
14201         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14202         accessed and could be 0 (I couldn't generate this but it seems
14203         Michael could!).
14204
14205 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14206
14207         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14208         * tabular_funcs.h: here and include iosfwd
14209
14210 2001-12-20  Juergen Vigna  <jug@sad.it>
14211
14212         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14213         inside inset but undo_par was.
14214
14215 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14216
14217         * Thesaurus.C: always include <config.h> in sources.
14218
14219         * Painter.h:
14220         * lyxlookup.h:
14221         * box.h: do not include <config.h> in header files
14222
14223         * text.C (paintLastRow): remove unused variable
14224
14225         * text.C (transformChar):
14226         (insertChar):
14227         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14228
14229         * Painter.C (text):
14230         * font.C (width): rewrite to use uppercase() instead of
14231         islower/toupper.
14232
14233         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14234
14235 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14236
14237         * lyxfind.C: clean up of find failure position change
14238
14239 2001-12-20  Juergen Vigna  <jug@sad.it>
14240
14241         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14242
14243         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14244         (TeXRow): added to LaTeX a single tabular row.
14245         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14246         (Latex): simplified and finally good LT-h/f support.
14247         (various_functions): just small adaptions for LT-h/f support.
14248
14249         * tabular_funcs.[hC]: added and moved here all not classfunctions
14250         of LyXTabular.
14251
14252 2001-12-19  Juergen Vigna  <jug@sad.it>
14253
14254         * tabular.[Ch]: better support for longtabular options (not finished
14255         yet!)
14256
14257 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14258
14259         * text.C (paintLastRow): use the label font instead of the font of
14260         the last character to compute the size of *_BOX. This makes more
14261         sense and avoids a crash with empty paragraphs.
14262         Use Painter::rectangle to draw EMPTY_BOX.
14263
14264 2001-12-19  Juergen Vigna  <jug@sad.it>
14265
14266         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14267         the paragraphs if the replaced paragraph is not the first one!
14268         Tried to delete not used paragraphs but does not work yet so for
14269         now it's inside #ifdef's and by default off!
14270
14271 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14272
14273         * MenuBackend.C: include "lyx_main.h" instead of declaring
14274         lastfiles (actually was declared as LastFiles* instead of a
14275         scoped_ptr).
14276
14277 2001-12-17  Juergen Vigna  <jug@sad.it>
14278
14279         * tabular.C (AppendColumn): applied John's fix
14280
14281 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14282
14283         * BufferView.h:
14284         * BufferView.C:
14285         * BufferView_pimpl.h:
14286         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14287
14288         * Makefile.am:
14289         * box.h: new start of class for above
14290
14291         * lyxfunc.C: ignore space-only minibuffer dispatches.
14292           Show the command name when it doesn't exist
14293
14294         * minibuffer.C: don't add empty lines to the history
14295
14296         * minibuffer.C: add a space on dropdown completion
14297
14298 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14299
14300         * text.C: fix line above/below drawing in insets
14301
14302 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14303
14304         * lyxlength.C (LyXLength): Initialize private variables.
14305
14306 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14307
14308         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14309         when inserting error insets.
14310
14311 2001-12-13  Juergen Vigna  <jug@sad.it>
14312
14313         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14314         actually sometimes the before-paragraph.
14315         (setUndo): don't clear the redostack if we're not actually undoing!
14316
14317 2001-12-06  Juergen Vigna  <jug@sad.it>
14318
14319         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14320         and fixed redoing of main paragraph, so we can use it now ;)
14321
14322         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14323
14324 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14325
14326         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14327         Juergen's request
14328
14329 2001-12-13  André Pönitz <poenitz@gmx.net>
14330
14331         * undostack.[Ch]:
14332         * undo_func.C: minor cleanup
14333
14334 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14335
14336         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14337         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14338         font in urw-fonts package which is marked as -urw-fontspecific and
14339         does not work (incidentally, changing the encoding in the
14340         fonts.dir of this package to -adobe-fontspecific fixes the
14341         problem).
14342
14343         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14344         is a crash when undoing first paragraph (Juergen, please take a
14345         look). THis does not mean the undo fix is wrong, just that it
14346         uncovers problems.
14347
14348         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14349         the (Paragraph*) version when needed instead of duplicating the
14350         code.
14351
14352         * text.C (workWidth): use Inset::parOwner to find out where the
14353         inset has been inserted. This is a huge performance gain for large
14354         documents with lots of insets. If Inset::parOwner is not set, fall
14355         back on the brute force method
14356
14357         * paragraph_pimpl.C (insertInset):
14358         * paragraph.C (Paragraph):
14359         (cutIntoMinibuffer): set parOwner of insets when
14360         inserting/removing them
14361
14362         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14363
14364 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14365
14366         * commandtags.h:
14367         * LyXAction.C:
14368         * lyx_main.C:
14369         * lyxfunc.C:
14370         * mathed/formulabase.C:
14371         * mathed/math_cursor.[Ch]:
14372         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14373
14374
14375 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14376
14377         * lyxlength.[Ch] (operator!=): new function
14378
14379 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14380
14381         * text.C (workWidth): use Inset::parOwner to find out where the
14382         inset has been inserted. This is a huge performance gain for large
14383         documents with lots of insets. If Inset::parOwner is not set, fall
14384         back on the brute force method
14385
14386         * paragraph_pimpl.C (insertInset):
14387         * paragraph.C (Paragraph):
14388         (cutIntoMinibuffer): set parOwner of insets when
14389         inserting/removing them
14390
14391         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14392
14393 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14394
14395         * tabular-old.C (getTokenValue):
14396         * tabular.C (getTokenValue):
14397         (write_attribute): new versions for LyXLength
14398         (everywhere): adjust the use of widths
14399
14400         * tabular.h: change the type of widths from string to LyXLength
14401
14402 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14403
14404         * paragraph.C: fixed missing line number count when exporting
14405         Environments to LaTeX file
14406
14407         * buffer.C: added informational message for checking line numbers.
14408
14409 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14410
14411         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14412         paragraph, do the 'double space' part, but not the 'empty
14413         paragraph' one.
14414
14415         * text.C (workWidth): small optimization
14416         (getLengthMarkerHeight): use minimal size for negative lengths.
14417
14418 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14419
14420         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14421
14422         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14423
14424 2001-12-11  André Pönitz <poenitz@gmx.net>
14425
14426         * FontLoader.C:
14427         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14428
14429 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14430
14431         * text2.C: keep selection on a setFont()
14432
14433 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14434
14435         * lyx_cb.C: another bv->text misuse, from insert label
14436
14437 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14438
14439         * kbsequence.h:
14440         * kbsequence.C: re-instate nmodifier mask
14441
14442 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14443
14444         * lyx_main.h: make lyxGUI private.
14445
14446 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14447
14448         * lyxfind.C: place the cursor correctly on failed search
14449
14450 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14451
14452         * text.C (getLengthMarkerHeight): for small heights, the arrows
14453         are not always on top/bottom of the text
14454         (drawLengthMarker): smaller arrows; take the left margin in
14455         account; draw also vfills.
14456         (paintFirstRow):
14457         (paintLastRow): remove special code for vfill and standard spaces,
14458         since everything is handled in drawLengthMarker now.
14459
14460 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14461
14462         * buffer.C (insertErtContents): try to handle font and language
14463         interaction a bit better.g
14464
14465         * ColorHandler.C (updateColor): change the hash to cover the whole
14466         LColor enum, ws cleanup
14467         (getGCLinepars): ditto
14468         (getGCLinepars): only lookup in the linecache once.
14469
14470 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14471
14472         * iterators.C (operator++): Make the iterator more robust
14473
14474         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14475         (John's patch)
14476         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14477
14478 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14479
14480         * lyxtext.h:
14481         * text.C: better added space drawing
14482
14483 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14484
14485         * LyXView.C:
14486         * BufferView2.C: fix layout combo update on inset unlock
14487
14488 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14489
14490         * Makefile.am: don't compile unused files
14491
14492 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14493
14494         * lyxfunc.C:
14495         * commandtags.h:
14496         * LyXAction.C: remove old LFUN_LAYOUTNO
14497
14498 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14499
14500         * paragraph_pimpl.h:
14501         * paragraph_pimpl.C: isTextAt() doesn't need font param
14502
14503 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14504
14505         * lyxlex.h:
14506         * lyxlex.C: little cleanup
14507
14508 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14509
14510         * BufferView_pimpl.C: fix insertAscii for insets
14511
14512 2001-12-05  Juergen Vigna  <jug@sad.it>
14513
14514         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14515         set the right font on the "multi" paragraph paste!
14516
14517 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14518
14519         * trans_decl.h:
14520         * trans_mgr.[Ch]:
14521         * trans.[Ch]:
14522         * lyxgluelength.C:
14523         * lyxlength.C: remove out-commented code.
14524
14525         * BufferView_pimpl:
14526         * CutAndPaste.C:
14527         * DepTable.C:
14528         * buffer.C:
14529         * chset.C:
14530         * lastfiles.C:
14531         * lyxlex.C:
14532         * lyxlex_pimpl.C:
14533         * lyxserver.C:
14534         * screen.C:
14535         * tabular-old.C:
14536         * tabular.C:
14537         * text.C:
14538         * trans_mgr.C:
14539         * vc-backend.C: change "while(" to "while ("
14540
14541         * lyxlength.[Ch]: add zero function to check if length is zero or
14542         not
14543         * lyxgluelength.C: use it
14544
14545 2001-12-05  Allan Rae  <rae@lyx.org>
14546
14547         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14548         Works for 2.95.3, from what I understand of Garst's reports this should
14549         work for other g++ versions.  We're screwed if the abs(int) definition
14550         changed between bugfix releases of gcc.
14551
14552 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14553
14554         * text.C: fix chapter label offset !
14555
14556 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14557
14558         * lyxtext.h:
14559         * text.C: fix hfill at end of line, clean up
14560
14561 2001-12-04  Juergen Vigna  <jug@sad.it>
14562
14563         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14564         that we force an update of the inset and it's owners if neccessary.
14565
14566 2001-12-03  Juergen Vigna  <jug@sad.it>
14567
14568         * text.C (rowLast): simplified code
14569
14570 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14571
14572         * lyxfunc.C: fix show options on timeout
14573
14574 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14575
14576         * screen.C (topCursorVisible): scroll half a page when the cursor
14577         reached top of bottom of screen
14578
14579 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14580
14581         * minibuffer.C: deactivate on loss of focus
14582
14583 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14584
14585         * vspace.[Ch] (operator!=): add operator.
14586
14587 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14588
14589         * BufferView_pimpl.C: refuse to open an inset when
14590         there's a selection.
14591
14592 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14593
14594         * BufferView_pimpl.C: allow to click on RHS of full row insets
14595
14596 2001-11-30  Juergen Vigna  <jug@sad.it>
14597
14598         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14599         insets for undo reasons.
14600
14601 2001-11-28  André Pönitz <poenitz@gmx.net>
14602
14603         * vspace.[Ch]: cosmetical changes
14604
14605 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14606
14607         * LyXAction.h:
14608         * LyXAction.C:
14609         * lyxfunc.h:
14610         * lyxfunc.C:
14611         * kbmap.h:
14612         * kbmap.C:
14613         * lyxrc.C:
14614         * kbsequence.h:
14615         * kbsequence.C: part re-write of old kb code
14616
14617         * Painter.C:
14618         * WorkArea.C: remove Lgb_bug_find_hack
14619
14620 2001-11-30  José Matos <jamatos@fep.up.pt>
14621
14622         * buffer.C (makeDocBookFile): add a comment to point a hack.
14623         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14624         Fixed a double write of labels.
14625
14626 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14627
14628         * LaTeX.C:
14629         * LaTeX.h Fixed bug in LaTeX class where it would not
14630         re-run latex if no depfiles were changed, but the .dvi was removed.
14631
14632 2001-11-28  André Pönitz <poenitz@gmx.net>
14633
14634         * all the files from the change on 2001/11/26:
14635         use lyx::layout_type instead of LyXTextClass::size_type
14636         use lyx::textclass_type instead of LyXTextClassList::size_type
14637
14638 2001-11-29  Juergen Vigna  <jug@sad.it>
14639
14640         * text.C: added support for paragraph::isFreeSpacing()
14641
14642         * buffer.C: same as above
14643
14644         * paragraph.h: inserted isFreeSpacing() function to enable
14645         FreeSpacing inside InsetERT.
14646
14647         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14648         of the paragraph's in the cut/copy buffer to 0!
14649
14650         * text2.C (removeRow): remove the assert as it can!
14651
14652         * lyxtext.h: added helper function firstRow returning firstrow and
14653         made firstrow private again.
14654
14655         * BufferView2.C (lockInset): don't relock if we're already locked!
14656
14657         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14658         the only paragraph.
14659         (removeRow): added Assert::(firstrow)
14660
14661         * debug.C: forgot to add INSETTEXT here.
14662
14663 2001-11-28  Juergen Vigna  <jug@sad.it>
14664
14665         * sp_spell.C (initialize): changed error text to more general
14666         spellchecker command use (not only ispell!)
14667
14668         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14669
14670         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14671
14672 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14673
14674         * vspace.C: initialise lyxgluelength on failure
14675
14676 2001-11-28  Allan Rae  <rae@lyx.org>
14677
14678         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14679         declaration & definition that looks like a function declaration.
14680
14681 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14682
14683         * BufferView2.C (copy):
14684         (copyEnvironment): do not clear the selection when doing a copy.
14685
14686         * text.C (paintFirstRow): compilation fix
14687
14688 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14689
14690         * tabular.C (Latex): correct line count when writing latex.
14691
14692 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14693
14694         * paragraph_pimpl.h:
14695         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14696           bug a bit
14697
14698 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14699
14700         * text.C:
14701         * LColor.h:
14702         * LColor.C: change vfillline->added_space
14703
14704         * text.C: add markers and text for added space
14705
14706         * vspace.C: fix comment
14707
14708 2001-11-28  André Pönitz <poenitz@gmx.net>
14709
14710         * paragraph.C: whitespace changes
14711         * all the other files from the change on 2001/11/26:
14712         change *::pos_type into lyx::pos_type
14713
14714 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14715
14716         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14717         language of the document when inserting error insets.
14718
14719 2001-11-26  André Pönitz <poenitz@gmx.net>
14720
14721         * BufferView_pimpl.[Ch]:
14722         *       CutAndPaste.C:
14723         * buffer.[Ch]:
14724         * lyxcursor.[Ch]:
14725         * lyxfind.C:
14726         * lyxfunc.C:
14727         * lyxrow.[Ch]:
14728         * paragraph.[Ch]:
14729         * paragraph_pimpl.[Ch]:
14730         * sp_spell.C:
14731         * text.C:
14732         * text2.C: reduce header dependencies, introduce type for positions
14733
14734 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14735
14736         * <various>: change to use Alert.h
14737
14738 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14739
14740         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14741         when encountering an unknown token.
14742         (readLyXformat2): Show an error message if there were unknown tokens.
14743
14744 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14745
14746         * BufferView2.C:
14747         * BufferView_pimpl.C:
14748         * buffer.C:
14749         * paragraph.h:
14750         * text.C:
14751         * text2.C: use par->isInset()
14752
14753 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14754
14755         * paragraph_pimpl.h:
14756         * paragraph_pimpl.C: cleanup
14757
14758 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14759
14760         * text2.C (removeRow):
14761         * text.C (setHeightOfRow): remove useless (and costly) call to
14762         getRow.
14763
14764 2001-11-20  Allan Rae  <rae@lyx.org>
14765
14766         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14767         Now need Inset*::checkInsertChar() to return true for appropriate
14768         cases so that the characters in the minibuffer will actually be
14769         inserted.
14770
14771 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14772
14773         * text.C: change the order of the includes.
14774         (workWidth): initialize it at once.
14775         (workWidth): make maxw unsigned
14776         (setHeightOfRow): remove unused variable (inset)
14777         (selectSelectedWord): remove unused variable (inset)
14778         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14779
14780 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14781
14782         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14783         server is not running.
14784         (openConnection):
14785         (closeConnection): add debug info when server is disabled.
14786
14787         * ColorHandler.C (getGCForeground): send debug message to GUI
14788         channel.
14789
14790         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14791
14792         * kbmap.C (bind): modify because return conventions of
14793         kb_sequence::parse have changed.
14794
14795         * kbsequence.C (parse): only ignore spaces and not any stupid
14796         control character. This avoids tests like s[i] <= ' ', which are
14797         guaranteed to fail with 8bit characters and signed chars.
14798         Change return code to string::npos when there have been no error
14799         (0 was a bad idea when error is at first character)
14800
14801 2001-11-14  José Matos  <jamatos@fep.up.pt>
14802
14803         * buffer.h:
14804         * buffer.C (simpleDocBookOnePar): removed unused argument.
14805
14806 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14807
14808         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14809         insets which are part of a word. Paragraph::isLetter takes care of
14810         that now. Use Paragraph::isInset to identify insets.
14811         (selectSelectedWord): do not test for hyphenation break.
14812
14813         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14814         that protected spaces are considered as spaces.
14815
14816         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14817         Inset::isLetter.
14818
14819 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14820
14821         * lyxserver.h:
14822         * lyxserver.C: fix it. and small cleanup.
14823
14824 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14825
14826         * BufferView_pimpl.C: use inline helpers
14827
14828         * LaTeXFeatures.h:
14829         * LaTeXFeatures.C: fix typos
14830
14831         * Spacing.h:
14832         * Spacing.C: move spacing_string into class
14833
14834         * ToolbarDefaults.C: move stuff into namespace anon
14835
14836         * layout.h: update enum
14837
14838         * lyxfunc.C: use better debug
14839
14840         * minibuffer.h: fix typo
14841
14842         * debug.h:
14843         * debug.C:
14844         * WorkArea.C: add and use Debug::WORKAREA
14845
14846         * lyxtext.h:
14847         * text.C:
14848         * text2.C: code re-organisation, inline helpers
14849
14850 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14851
14852         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14853         std::vector.empty().
14854
14855 2001-11-09  Allan Rae  <rae@lyx.org>
14856
14857         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14858         '\n's after tables.  Tabular and ERT inset work now makes this no
14859         longer necessary.
14860
14861 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14862
14863         * minibuffer.h:
14864         * minibuffer.C: fix crash, improve drop-down completion
14865
14866 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14867
14868         * lyxserver.h:
14869         * lyxserver.C: invalidate fd's when doing endPipe()
14870
14871 2001-11-08  José Matos  <jamatos@fep.up.pt>
14872
14873         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14874         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14875
14876         * paragraph.h:
14877         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14878
14879 2001-11-07  José Matos  <jamatos@fep.up.pt>
14880
14881         * buffer.h:
14882         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14883         const qualifier.
14884
14885         * buffer.C (sgmlOpenTag):
14886         * buffer.C (sgmlCloseTag): removed debug info.
14887
14888         * buffer.h (sgmlOpenTag):
14889         * buffer.h (sgmlCloseTag): made public.
14890
14891 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14892
14893         * buffer.C (saveParamsAsDefaults):
14894         * lyx_cb.C (MenuLayoutSave): remove
14895
14896         * LyXAction.C (init):
14897         * commandtags.h:
14898         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14899
14900 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14901
14902         * buffer.C (setPaperStuff): removed from here...
14903
14904         * bufferparams.C (setPaperStuff): ... and moved there.
14905
14906 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14907
14908         * minibuffer.h:
14909         * minibuffer.C:
14910         * XFormsView.C: add support for drop-down completion
14911
14912 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14913
14914         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14915         commands.
14916
14917 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14918
14919         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14920         disabled.
14921
14922 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14923
14924         * lyx_main.C: change ref to known bugs
14925
14926 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14927
14928         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14929         to work around older babel problems.
14930
14931 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14932
14933         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14934
14935 2001-10-24  Juergen Vigna  <jug@sad.it>
14936
14937         * tabular-old.C (ReadOld): below variable changes reflected.
14938
14939         * tabular.[Ch]: added ltType struct for longtable header/footer
14940         defines and changed all instances where they are used. Added
14941         future support for double top/bottom rows.
14942
14943 2001-10-24  José Matos  <jamatos@fep.up.pt>
14944
14945         * buffer.h (docbookHandleCaption):
14946         * buffer.C (docbookHandleCaption): removed unused function.
14947         (makeDocBookFile): moved docbook supported version to v4.1.
14948
14949 2001-10-24  José Matos  <jamatos@fep.up.pt>
14950
14951         * tabular.h:
14952         * tabular.C (docbookRow): new function to export docbook code of a row.
14953         (DocBook): now honors the longtable flags.
14954
14955 2001-10-23  José Matos  <jamatos@fep.up.pt>
14956
14957         * LaTeXFeatures.h:
14958         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14959         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14960
14961         * buffer.C (makeLinuxDocFile):
14962         (makeDocBookFile): reworked the preamble, more clean, and with
14963         support for lyx defined entities. Changed the document declaration
14964         to be more XML friendly.
14965
14966         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14967         if we need to output XML that should be done with a filter.
14968
14969 2001-10-22  Juergen Vigna  <jug@sad.it>
14970
14971         * sp_pspell.h (class PSpell): add alive function needed in the
14972         controller to see if the spellchecker could be started.
14973
14974 2001-10-22  Juergen Vigna  <jug@sad.it>
14975
14976         * buffer.C (insertStringAsLines): modify the font for inserting
14977         chars in certain conditions by calling checkInsertChar(font).
14978
14979 2001-10-19  Juergen Vigna  <jug@sad.it>
14980
14981         * text.C (workWidth): use getRow instead of wrong algorithm.
14982         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14983
14984 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14985
14986         * lyxserver.h:
14987         * lyxserver.C:
14988         * lyx_main.h:
14989         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14990
14991 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14992
14993         * text.C (workWidth): do not search for the exact row when
14994         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14995         optimization for big documents.
14996
14997 2001-10-18  Juergen Vigna  <jug@sad.it>
14998
14999         * text.C (workWidth): new function with added Inset * parameter.
15000
15001 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15002
15003         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15004
15005         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15006         change return type of getColumnNearX.
15007
15008
15009         * text.C (changeRegionCase): use uppercase/lowercase instead of
15010         toupper/tolower.
15011         (leftMargin):
15012         (rightMargin): simplify code by factoring out the uses of
15013         textclasslist.
15014         (labelFill):
15015         (numberOfHfills):
15016         (setHeightOfRow):
15017         (appendParagraph): use Paragraph::size_type
15018
15019 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15020
15021         * vspace.C (asLatexString): add a missing break
15022
15023 2001-10-15  Herbert Voss  <voss@perce.de>
15024
15025         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15026
15027 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15028
15029         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15030         is not available.
15031
15032 2001-10-10  André Pönitz <poenitz@gmx.net>
15033
15034         * lyxfunc.C: removed greek_kb_flag.
15035
15036 2001-10-10  Herbert Voss  <voss@perce.de>
15037
15038         * lyx_main.C: delete global string help_lyxdir.
15039
15040 2001-10-09  Herbert Voss  <voss@perce.de>
15041
15042         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15043
15044         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15045
15046         * lyx_main.C: added global string help_lyxdir.
15047
15048         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15049
15050 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15051
15052         * lyxrc.C (set_font_norm_type): support iso8859-4
15053
15054 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15055
15056         * LaTeX.C (deplog): add another regex for MikTeX
15057
15058 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15059
15060         * lyxrc.C (set_font_norm_type): support iso8859-3
15061
15062 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15063
15064         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15065
15066         * LaTeXFeatures.C: remove special case of french and index
15067
15068         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15069         before \begin{document}). This solves several incompatibilities.
15070
15071 2001-10-03  Garst Reese  <reese@isn.net>
15072
15073         * lyx_cb.C: change CheckTex error msg.
15074
15075 2001-10-03  José Matos  <jamatos@fep.up.pt>
15076
15077         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15078
15079 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15080
15081         * .cvsignore: update
15082
15083         * lyx_main.C (commandLineVersionInfo): use new style version info.
15084
15085         * buffer.C (writeFile):
15086         (makeLaTeXFile):
15087         (makeLinuxDocFile):
15088         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15089
15090         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15091
15092         * version.h: update to use stuff in version.C
15093
15094         * version.C.in: new file. Contains version information determined
15095         at compile time. This is a merging of version.h and
15096         version_info.h.in.
15097
15098 2001-10-03  Juergen Vigna  <jug@sad.it>
15099
15100         * BufferView_pimpl.C (update): don't change "dirty" status in
15101         updateInset call.
15102
15103 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15104
15105         * WorkArea.C (c-tor): re-position version string slightly.
15106
15107 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15108
15109         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15110         revert to previous code.
15111
15112         WorkArea.[Ch]: (show, destroySplash): methods removed.
15113
15114         WorkArea.C: rework code so that it's an amalgam of the codes before and
15115         after the splash screen was moved to WorkArea.
15116
15117 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15118
15119         * lyxrc.C (read):
15120         * vspace.C (inPixels):
15121         (lyx_advance):
15122         * kbmap.C (bind):
15123         * buffer.C (insertStringAsLines):
15124         (asciiParagraph): fix types to be large enough
15125
15126         * lyxlex_pimpl.h: change member status from short to int
15127
15128         * layout.h: fix type of endlabeltype
15129
15130         * kbmap.C (bind):
15131         * kbsequence.C (parse): change return type to string::size_type
15132
15133         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15134         variable
15135
15136         * Bullet.C (bulletSize):
15137         (bulletEntry): do not use short ints as parameters
15138
15139         * BufferView2.C (insertLyXFile): change a char to an int.
15140
15141         * WorkArea.C (WorkArea): remove unneeded floats in computation
15142
15143 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15144
15145         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15146
15147         * paragraph.C (asString): Do not ignore newline/hfill chars when
15148         copying to the clipboard.
15149
15150 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15151
15152         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15153         after a multi-line inset.
15154
15155 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15156
15157         * paragraph.C (validate): Set NeedLyXFootnoteCode
15158
15159 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15160
15161         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15162         and decrease-error to decrease.
15163
15164 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15165
15166         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15167         it more readable (should be equivalent)
15168
15169 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15170
15171         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15172
15173 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15174
15175         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15176         of a cursor (row, etc.) after a character has been deleted
15177         (deleteEmptyParagraphMechanism): call the method above on _all_
15178         cursors held by the LyXText when a double space has been
15179         detected/deleted.
15180
15181 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15182
15183         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15184         pixmap.
15185         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15186
15187         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15188         background. Use greyOut() and the new show() methods to toggle between
15189         the foreground and background. Add code to remove the splash after
15190         its initial showing.
15191
15192         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15193         (create_forms): no longer call Dialogs::showSplash.
15194
15195 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15196
15197         * .cvsignore: add version_info.h
15198
15199 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15200
15201         * version_info.h.in: new file
15202
15203         * Makefile.am: add version_info.h.in
15204
15205         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15206         version_info.h instead of VERSION_INFO
15207
15208 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15209
15210         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15211         The ERT inset now returns string().
15212
15213 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15214
15215         * lyxtext.h, text.C (selectNextWord): renamed as
15216         selectNextWordToSpellcheck.
15217
15218         * text.C (selectNextWordToSpellcheck): Modified to not select
15219         words inside an ERT inset.
15220
15221 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15222
15223         * lyx_cb.C (MenuLayoutSave): change a bit the question
15224
15225         * sp_base.h: include <sys/types.h>
15226
15227 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15228
15229         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15230
15231 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15232
15233         * several files: fix typos in user-visible strings
15234
15235 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15236
15237         * text2.C (pasteSelection): do not set the selection, since it
15238         will be cleared later. Actually, the intent was to fix the way the
15239         selection was set, but I figured rmoving the code was just as good.
15240
15241 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15242
15243         * FontLoader.C (available): Check if font is available without
15244         loading the font.
15245
15246 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15247
15248         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15249
15250 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15251
15252         * lyxrc.[Ch]: added display_graphics variable and associated code.
15253
15254 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15255
15256         * bufferparams.C (hasClassDefaults): new method. Returns true if
15257         the buffer parameters correspond to known class defaults
15258
15259 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15260
15261         * XFormsView.C (show): set minimum size to the main window.
15262
15263 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15264
15265         * text2.C (copySelection):
15266         (cutSelection):
15267         * lyxfind.C (LyXReplace):
15268         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15269         LyXText::selectionAsString.
15270
15271         * paragraph.C (asString): add "label" argument to the second form
15272
15273         * text2.C (selectionAsString): add "label" argument and pass it to
15274         Paragraph::asString.
15275
15276 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15277
15278         * lyx_main.C (commandLineHelp): remove version information
15279
15280 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15281
15282         * lyx_main.C: add -version commandline option
15283
15284 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15285
15286         * paragraph.h: make the optional constructor arg required instead.
15287         some modifications to other files because of this.
15288
15289         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15290
15291         * lyxserver.C (C_LyXComm_callback): make it static
15292
15293         * lyx_main.C (error_handler): make it static
15294
15295         * lyx_gui.C (LyX_XErrHandler): make it static
15296
15297         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15298
15299         * WorkArea.C: make the extern "C" methods static.
15300
15301         * Makefile.am (lyx_LDADD): simplify
15302
15303 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15304
15305         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15306         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15307
15308         * LyXAction.C (init):
15309         * lyxfunc.C (dispatch): associated code removal.
15310
15311 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15312
15313         * lyxfont.h (isSymbolFont): shut off warning
15314
15315         * text.C (setHeightOfRow):
15316         (getVisibleRow): fix crash with empty paragraphs which have a
15317         bottom line
15318
15319 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15320
15321         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15322         code.
15323
15324 2001-09-04  José Matos  <jamatos@fep.up.pt>
15325         * buffer.C
15326         * buffer.h
15327         * tabular.C (docbook): rename docBook method to docbook.
15328
15329 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15330
15331         * Makefile.am: add dependencies to main.o.
15332
15333 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15334
15335         * FontLoader.C (available): Return false if !lyxrc.use_gui
15336
15337 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15338
15339         * FontInfo.C (query):
15340         * converter.C (view):
15341         * importer.C (Import):
15342         * exporter.C (Export): Can not -> cannot.
15343
15344 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15345
15346         * BufferView_pimpl.C: allow to create index inset even if
15347           string is empty
15348
15349 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15350
15351         * buffer.C (getLists): replace boost::tie code with an explicit pair
15352         as boost::tie can break some compilers.
15353
15354         * iterators.h: Added a std:: declaration to the return type of
15355         ParIterator::size.
15356
15357 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15358
15359         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15360           case.
15361
15362 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15363
15364         * iterators.[Ch]: New files. Provide paragraph iterators.
15365
15366         * buffer.C (changeLanguage): Use paragraph iterators.
15367         (isMultiLingual): ditto
15368
15369         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15370
15371 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15372
15373         * FontLoader.C: Support for cmr font.
15374
15375 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15376
15377         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15378         (available): New method.
15379
15380         * FontInfo.C (getFontname): Use scalable fonts even when
15381         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15382         found.
15383
15384 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15385
15386         * converter.C (Formats::view): reverted! Incorrect fix.
15387
15388 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15389
15390         * converter.C (Formats::view): only output the -paper option
15391         if the dvi viewer is xdvi, thereby fixing bug #233429.
15392
15393 2001-08-23  Herbert Voss  <voss@perce>
15394
15395         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15396
15397 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15398
15399         * Spacing.h (Spacing): Set space to Default on in the default
15400         constructor.
15401
15402 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15403
15404         * vc-backend.h (RCS::versionString): add RCS to version
15405         (CVS::versionString): add CVS to version
15406
15407         * vc-backend.C (scanMaster): do not add CVS to version.
15408         (scanMaster): do not add RCS to version
15409
15410         * lyxvc.C (versionString): new method
15411
15412         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15413
15414 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15415
15416         * Spacing.C (set): initialize fval
15417
15418 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15419
15420         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15421         " or \.
15422
15423 2001-08-16  Juergen Vigna  <jug@sad.it>
15424
15425         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15426
15427 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15428
15429         * BufferView_pimpl.C:
15430         * figureForm.C:
15431         * lyxtext.h:
15432         * text2.C: setParagraph takes linespacing now
15433
15434 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15435
15436         * LyxAction.C: add internal LFUN_CITATION_INSERT
15437
15438         * LyXView.C: actually apply fix
15439
15440         * bufferlist.C: fix open non-existent file
15441
15442         * lyxfind.C: fix indentation
15443
15444         * lyxfunc.C: remove unneeded assert, fix typo
15445
15446 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15447
15448         * MenuBackend.C: use "Floatname List"
15449
15450 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15451
15452         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15453         when converting LaTeX layout to insetERT.
15454         Generate a non-collapsed float when reading old float
15455
15456 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15457
15458         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15459         ERT insets.
15460
15461 2001-08-13  Juergen Vigna  <jug@sad.it>
15462
15463         * text.C (fill): return 0 instead of 20 as this seems to be the more
15464         correct value.
15465
15466 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15467
15468         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15469         lyxrc.font_norm.
15470
15471 2001-08-13  Juergen Vigna  <jug@sad.it>
15472
15473         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15474         casesensitive off.
15475         (SearchBackward): comment out the unlocking of the inset_owner this
15476         should not be needed!
15477
15478 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15479
15480         * Many files: Remove inherit_language, and add latex_language
15481
15482         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15483         collapsible insets.
15484
15485 2001-08-10  Juergen Vigna  <jug@sad.it>
15486
15487         * text.C (prepareToPrint): fixed hfill-width in draw!
15488
15489         * BufferView2.C (selectLastWord): save the selection cursor as this
15490         now is cleared in the function LyXText::clearSelection!
15491
15492 2001-08-08  Juergen Vigna  <jug@sad.it>
15493
15494         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15495         BACKSPACE type functions.
15496
15497         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15498         is only cutted from the document but not put in the cut-buffer, where
15499         still the old stuff should be.
15500
15501         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15502
15503         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15504
15505         * tabular.C (SetWidthOfCell): fixed special case where the width
15506         was not updated!
15507         (LeftLine): handle '|' in align_special.
15508         (RightLine): ditto
15509         (LeftAlreadyDrawed): ditto
15510         (SetWidthOfCell): ditto
15511
15512 2001-08-07  Juergen Vigna  <jug@sad.it>
15513
15514         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15515
15516 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15517
15518         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15519         * lyxlex.[hC]: ditto
15520
15521 2001-08-06  Juergen Vigna  <jug@sad.it>
15522
15523         * text.C (getVisibleRow): fix up row clearing a bit.
15524
15525 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15526
15527         * minibuffer.C: make sure the X server sees the changes in the input.
15528
15529 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15530
15531         * paragraph.C (getFont): split into...
15532         (getLabelFont): this
15533         (getLayoutFont): and this
15534         * paragraph_pimpl.C (realizeFont): calling this
15535
15536         * text2.C (getFont): split into...
15537         (getLayoutFont): this
15538         (getLabelFont): and this
15539         (realizeFont): all three calling this
15540
15541         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15542         files where used.
15543
15544 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15545
15546         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15547
15548 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15549
15550         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15551         layouts from the Quote inset insertion.
15552
15553 2001-08-03  Juergen Vigna  <jug@sad.it>
15554
15555         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15556
15557         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15558         only if status not is already CHANGED_IN_DRAW (second level).
15559
15560         * text.C (draw): don't set the need_break_row when inside an
15561         InsetText LyXText.
15562
15563 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15564
15565         * buffer.C (parseSingleLyXformat2Token): handle more latex
15566         conversion cases.
15567
15568         * bufferview_funcs.[hC]: change function names to
15569         begin with small char, adjust other files.
15570
15571 2001-08-02  André Pönitz <poenitz@gmx.net>
15572
15573         * lyxfunc.C:
15574         BufferView_pimpl.C: remove broken special code for math-greek
15575
15576 2001-08-02  Juergen Vigna  <jug@sad.it>
15577
15578         * BufferView_pimpl.C (update): redone this function so that we
15579         update the text again if there was a CHANGE_IN_DRAW.
15580
15581         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15582         (drawFromTo): added a new internal bool which is used by draw() and
15583         redraw() function.
15584         (general): some cursor drawing problems fixed.
15585
15586 2001-08-01  Juergen Vigna  <jug@sad.it>
15587
15588         * lyxfind.C (LyXFind): fixed
15589         (SearchForward): ditto
15590         (SearchBackward): ditto
15591
15592         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15593         spurius drawing of the cursor in the main area.
15594
15595         * text2.C (status): small fix which could lead to a segfault!
15596         (clearSelection): remove unneeded BufferView param.
15597
15598 2001-08-01  André Pönitz <poenitz@gmx.net>
15599
15600         * lyxfunc.C: small change due to changed mathed interface
15601
15602 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15603
15604         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15605
15606 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15607
15608         * lyxfunc.c: fail gracefully if file doesn't exist
15609
15610         * LyXSendto.C:
15611         * buffer.C:
15612         * lyxfunc.C:
15613         * BufferView_pimpl.C: IsDirWriteable() proto changed
15614
15615         * LyXView.C: fix updateWindowTitle() to store the last title
15616
15617 2001-07-31  Juergen Vigna  <jug@sad.it>
15618
15619         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15620         the font (wrong since using of Paragraph::highestFontInRange).
15621
15622         * paragraph.C (highestFontInRange): added a default_size parameter.
15623
15624         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15625         (setHeightOfRow): reformat
15626
15627 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15628
15629         * converter.[hC] + affected files: move to (inital-char)lowercase
15630         function names.
15631
15632         * ParagraphParameters.C (ParagraphParameters): remove commented code
15633
15634         * PainterBase.[Ch]: remove commented code
15635
15636         * LaTeXFeatures.h: add "bool floats" for float.sty
15637
15638         * LaTeXFeatures.C (LaTeXFeatures): init floats
15639         (require): handle float
15640         (getPackages): do it with floats
15641
15642 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15643
15644         * BufferView_pimpl.C (Dispatch): improve handling of
15645         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15646
15647         * commandtags.h: #include lyxfont.h here temporarily to avoid
15648         keybinding bug.
15649
15650         * bufferlist.h: include LString.h here.
15651
15652 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15653
15654         * text2.C (getStringToIndex): new method.
15655
15656 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15657
15658         * *: Reduced header file dependencies all over.
15659
15660 2001-07-30  Baruch Even  <baruch@lyx.org>
15661
15662         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15663
15664 2001-07-29  Baruch Even  <baruch@lyx.org>
15665
15666         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15667
15668 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15669
15670         * ParameterStruct.h (endif): add a default constructor to make
15671         sure that all variables is initialized.
15672
15673         * ParagraphParameters.C (ParagraphParameters): adjust
15674
15675 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15676
15677         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15678         index; also, check that there is something to index, and that it
15679         does not span over several paragraphs.
15680         (doubleClick): use WHOLE_WORD_STRICT for double click.
15681
15682         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15683
15684         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15685         scheme.
15686
15687 2001-07-26  Baruch Even  <baruch@lyx.org>
15688
15689         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15690         an InsetFig figure, backwards compatible reading of old figure code.
15691
15692 2001-07-27  Juergen Vigna  <jug@sad.it>
15693
15694         * text2.C: font.realize function adaption.
15695
15696         * text.C (draw): add a warnings lyxerr text if needed.
15697
15698         * layout.C: font.realize function adaption.
15699
15700         * language.C: add inherit_language and implement it's handlings
15701
15702         * bufferview_funcs.C (StyleReset): remove language parameter from
15703         font creation (should be language_inherit now).
15704
15705         * bufferparams.C (writeFile): handle ignore_language.
15706
15707         * paragraph.C (getFontSettings): the language has to be resolved
15708         otherwise we have problems in LyXFont!
15709
15710         * lyxfont.C (lyxWriteChanges): added document_language parameter
15711         (update): removed unneeded language parameter
15712
15713         * paragraph.C (validate): fixed wrong output of color-package when
15714         using interface colors for certain fonts in certain environments,
15715         which should not seen as that on the final output.
15716
15717 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15718
15719         * BufferView_pimpl.C:
15720         * Thesaurus.h:
15721         * Thesaurus.C:
15722         * Makefile.am:
15723         * commandtags.h:
15724         * LyXAction.C: add thesaurus support
15725
15726         * lyxfind.h:
15727         * lyxfind.C: add "once" parameter, for thesaurus, to not
15728           move to the next match
15729
15730 2001-07-26  Juergen Vigna  <jug@sad.it>
15731
15732         * lyxfont.C (realize): honor ignore_language too!
15733         (resolved): ditto.
15734
15735         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15736
15737         * text.C (draw): one place more for ignore_language to not draw
15738         itself!
15739
15740 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15741
15742         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15743
15744 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15745
15746         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15747         the minipage conversion problem.
15748
15749 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15750
15751         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15752         insert an inset.
15753
15754 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15755
15756         * BufferView.h: don't forward declare WorkArea
15757
15758         * BufferView.C: don't include WorkArea.h
15759
15760 2001-07-25  André Pönitz <poenitz@gmx.net>
15761
15762         * commandtags.h:
15763         * LyXAction.C:
15764         * lyxfunc.C:  new LFUN 'math-space'
15765
15766         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15767
15768 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15769
15770         * text2.C (toggleInset): call open/close
15771
15772 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15773
15774         * lyxfunc.C (dispatch): add debug for the disabled case
15775
15776         * font.C (buttonText): make similar to rectText
15777
15778         * buffer.C (readInset): comment out parsing of insetlist and
15779         insttheorem
15780
15781         * PainterBase.C (rectText): small correction
15782
15783         * BufferView_pimpl.C: comment out insettheorem and insetlist
15784         * LyXAction.C: ditto
15785         * commandtags.h: ditto
15786
15787 2001-07-24  Juergen Vigna  <jug@sad.it>
15788
15789         * text.C (draw): honor the ignore_language.
15790
15791         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15792
15793 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15794
15795         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15796         char inset.
15797
15798 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15799
15800         * lyxtext.h: remove unused (and unimplemented) methods
15801
15802 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15803
15804         * text.C (getVisibleRow): honor background color
15805
15806         * PainterBase.h:
15807         * Painter.h: remove default color argument for fillRectangle
15808
15809         * text.C (backgroundColor): new method
15810
15811 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15812
15813         * text.C (getVisibleRow): adjust
15814
15815         * font.[Ch] (rectText): new method, metrics
15816         (buttonText): new method, metrics
15817
15818         * PainterBase.[hC]: make rectText and buttonText always draw and take
15819         fewer paramteres.
15820
15821 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15822
15823         * ToolbarDefaults.C (read):
15824         * MenuBackend.C (read): allow escaping in all strings
15825
15826         * BufferView_pimpl.C (insertAndEditInset): new method.
15827         (Dispatch): use insertAndEditInset whenever appropriate.
15828
15829         * BufferView_pimpl.C (insertNote): removed
15830
15831         * BufferView_pimpl.C (smartQuote): new method, moved from
15832         BufferView; if an insetquote cannot be inserted, insert a '"'
15833         character instead.
15834
15835         * BufferView2.C: remove insertCorrectQuote();
15836
15837         * lyxfunc.C (getStatus): Add support for all remaingin
15838         inset-insert lfuns.
15839
15840         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15841
15842         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15843         command (necessary to pass " as parameter of self-insert.
15844
15845         * text.C (selectWordWhenUnderCursor):
15846         (selectWord): add word_location parameter
15847         (selectWordWhenUnderCursor): same + remove special code for word
15848         boundary.
15849         (selectNextWord): use kind() to guess type of insetspecialchar,
15850         not latex().
15851
15852         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15853         (insertErtContents): create ert insets as collapsed.
15854         (readInset): better compatibility code for Info inset.
15855
15856 2001-07-20  Juergen Vigna  <jug@sad.it>
15857
15858         * lyxfunc.C (dispatch): use always LyXFind now!
15859
15860         * text2.C (init): add a reinit flag so that the LyXText can be
15861         reinited instead of deleted and reallocated (used in InsetText).
15862
15863         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15864
15865         * text.C: ditto
15866
15867         * text2.C: ditto
15868
15869 2001-07-18  Juergen Vigna  <jug@sad.it>
15870
15871         * text.C (selectNextWord): handle insets inside inset by calling
15872         always the bv->text functions so that we can go up the_locking_inset!
15873
15874         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15875         in strange locations when inside an inset!
15876
15877         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15878         handling to include insets.
15879
15880         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15881
15882 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15883
15884         * LyXAction.C (init):
15885         * commandtags.h:
15886         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15887         LIGATURE_BREAK, since the name is so stupid.
15888
15889 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15890
15891         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15892         InsetInfos.
15893
15894         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15895
15896         * sp_form.[Ch]: remove.
15897
15898         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15899
15900         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15901         InsetInfo.
15902
15903         * src/buffer.C (readInset): ditto.
15904
15905 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15906
15907         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15908         menuSeparator(), endOfSentenceDot(), ldots() and
15909         hyphenationPoint(), which are therefore removed.
15910         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15911
15912         * LyXAction.C (init):
15913         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15914
15915         * paragraph.C (getWord): removed.
15916
15917         * BufferView_pimpl.C (Dispatch): use last word or selection for
15918         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15919
15920         * lyx_main.C (queryUserLyXDir): do not ask before creating
15921         user_dir, except if it has been named explicitely.
15922
15923 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15924
15925         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15926         a document of zero size.
15927
15928 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15929
15930         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15931         approriately in the c-tor and in require().
15932         (getPackages): output the appropriate LaTeX for natbib support.
15933
15934         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15935         variables "use_natbib" and "use_numerical_citations" when reading the
15936         LyX file.
15937         (readInset): read the various natbib cite commands.
15938         (validate): white-space change.
15939
15940         * bufferparams.[Ch]: new variables "bool use_natbib" and
15941         "bool use_numerical_citations".
15942         (writeFile): output them in the LyX file.
15943
15944 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15945
15946         * lyxfunc.C (getStatus): add support for all the inset insertion
15947         commands.
15948
15949         * text2.C (insertInset):
15950         * paragraph.C (insetAllowed):
15951         * BufferView_pimpl.C (insertInset): update to take in account the
15952         renaming of insertInsetAllowed
15953
15954         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15955
15956         * text2.C (getInset): new method. returns inset at cursor position.
15957
15958         * BufferView_pimpl.C (Dispatch): changes because of this.
15959
15960         * LyXAction.C (init): rename open-stuff to inset-toggle.
15961
15962         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15963
15964         * text2.C (toggleInset): renamed from openStuff; use
15965         Inset::open().
15966
15967 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15968
15969         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15970
15971         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15972
15973 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15974
15975         * buffer.C (readLyXformat2): Add filename to the error dialog
15976
15977 2001-07-18  Juergen Vigna  <jug@sad.it>
15978
15979         * tabular.C (GetCellNumber): put an assert here instead of the check!
15980
15981 2001-07-17  Juergen Vigna  <jug@sad.it>
15982
15983         * BufferView_pimpl.C (toggleSelection): adapted too.
15984
15985         * text.C (selectNextWord): adapted for use with insets.
15986         (selectSelectedWord): ditto
15987
15988 2001-07-17  Juergen Vigna  <jug@sad.it>
15989
15990         * sp_spell.C (PSpell): fix initialitation order.
15991
15992 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15993
15994         * paragraph.C: spacing
15995
15996 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15997
15998         * sp_spell.C: repair language selection for pspell
15999
16000 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16001
16002         * lyxfunc.h: change more methods to begin with lower char.
16003
16004 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16005
16006         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16007         for unknown layouts.
16008
16009 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16010
16011         * buffer.C (readLyXformat2): Generate an error dialog if there are
16012         unknown layouts.
16013
16014 2001-07-16  Juergen Vigna  <jug@sad.it>
16015
16016         * sp_spell.C: always compile ISpell part.
16017
16018         * lyxrc.C: added use_pspell entry and it's handling.
16019
16020 2001-07-13  Juergen Vigna  <jug@sad.it>
16021
16022         * sp_spell.C: removed double includes.
16023
16024 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16025
16026         Consistent use of Lsstream.h:
16027         * Lsstream.h: added using std::stringstream for consistencies sake.
16028
16029         * buffer.C: removed using std::stringstream
16030
16031         * lyxfont.C (stateText):
16032         * paragraph.C (asString):
16033         * text.C (selectNextWord, selectSelectedWord):
16034         * text2.C (setCounter):
16035         * vspace.C (asString, asLatexString):
16036         std::ostringstream -> ostringstream.
16037
16038 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16039
16040         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16041         * commandtags.h: add LFUN_HELP_ABOUTLYX
16042         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16043
16044 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16045
16046         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16047         cursorToggle()
16048         * lyx_gui_misc.C: remove spellchecker
16049         * lyxfunc.C: showSpellchecker
16050         * sp_base.h: added
16051         * sp_ispell.h: added
16052         * sp_pspell.h: added
16053         * sp_spell.C: added
16054         * sp_form.[Ch]: removed
16055         * spellchecker.[Ch]: removed
16056
16057 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16058
16059         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16060         is set.
16061         (simpleTeXSpecialChars): Simply print the input character without
16062         any special translation if pass_thru is set.
16063
16064         * layout.h: Added bool pass_thru to layout class for being able to
16065         implement pass through of a paragraph for Literate Programming.
16066
16067         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16068         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16069         * layout.C (Read): add "passthru" to list of layout tags and add
16070         code to set the pass_thru boolean when it is read.
16071
16072 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16073
16074         * trans_decl.h: remove allowed from KmodInfo
16075
16076         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16077         remove allowed code
16078         (Load): adjust
16079
16080         * paragraph_pimpl.C (erase): use boost::prior
16081
16082         * Painter.C (text): use data() instead of c_str() when length is
16083         also provided.
16084         * WorkArea.C (putClipboard): ditto
16085         * font.h (width): ditto
16086
16087         * BufferView2.C: use it-> instead of (*it). for iterators
16088         * texrow.C: ditto
16089         * paragraph_pimpl.C: ditto
16090         * paragraph.C: ditto
16091         * minibuffer.C: ditto
16092         * language.C: ditto
16093         * kbmap.C: ditto
16094         * encoding.C: ditto
16095         * counters.C: ditto
16096         * converter.C: ditto
16097         * chset.C: ditto
16098         * Variables.C: ditto
16099         * TextCache.C: ditto
16100         * MenuBackend.C: ditto
16101         * LyXAction.C: ditto
16102         * LColor.C: ditto
16103         * FloatList.C: ditto
16104         * DepTable.C: ditto
16105         * ColorHandler.C (LyXColorHandler): ditto
16106
16107 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16108
16109         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16110
16111         * text2.C (openStuff): reintroduce this method (which had been
16112         nuked in NEW_INSETS frenzy).
16113
16114         * lyxfunc.C (Dispatch): when an action has not been handled, use
16115         its name in the error message, not its number.
16116
16117         * paragraph.C (inInset): change method name to begin with lowercase.
16118
16119         * undo_funcs.C:
16120         * text2.C: updates because of this.
16121
16122 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16123
16124         * ToolbarDefaults.C (add): add spaces in error message
16125
16126 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16127
16128         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16129         (readLyXformat2): rename return_par to first_par, use lyxlex's
16130         pushToken and remove the manual push handling.
16131         (parseSingleLyXformat2Token): add another ert comp. variable:
16132         in_tabular, rename return_par to first_par. handle newlines better
16133
16134 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16135
16136         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16137
16138 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16139
16140         * text2.C (getParFromID): removed
16141
16142         * buffer.C (getParFromID): new method moved form lyxtext.
16143         * BufferView2.C (insertErrors): adjust
16144         (setCursorFromRow): adjust
16145         * BufferView_pimpl.C (restorePosition): adjust
16146         * lyxfunc.C (Dispatch): adjust
16147         * undo_funcs.C (textUndo): adjust
16148         (textRedo): adjust
16149         (textHandleUndo): adjust
16150         (textHandleUndo): adjust
16151
16152 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16153
16154         * buffer.C: up' the LYX_FORMAT
16155
16156         * lyxfont.h: turn NO_LATEX on as default
16157
16158         * buffer.C (insertErtContents): new methods of tex style compability.
16159         (parseSingleLyXformat2Token): use it several places.
16160         * tabular.C (OldFormatRead): and here
16161
16162 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16163
16164         * text2.C: remove some commented code.
16165         reindent file.
16166
16167         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16168         * trans.C: changes because of the above.
16169
16170 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16171
16172         * text2.C (setCounter): Fix counters bug with bibliography layout.
16173
16174 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16175
16176         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16177         own member functions
16178         (simpleTeXSpecialChars): ditto
16179
16180 2001-07-06  Juergen Vigna  <jug@sad.it>
16181
16182         * a lot of files: changed the access to LyXText::status and the
16183         call of undo-functions.
16184
16185         * undo.[Ch]: added a inset_id to the undo informations.
16186
16187         * undo_funcs.[Ch]: added and moved here all undo functions.
16188
16189         * lyxtext.h: give the status enum a weight, made status_ a private
16190         variable and made accessor functions for it, removed the whole bunch
16191         of undo-functions as they are now in their own file, make some
16192         functions publically available. Added function ownerParagraph with
16193         int parameter.
16194
16195         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16196         made InInset() a const function, added getParFromID() function.
16197
16198         * buffer.[Ch]: added const version for inset_iterator functions,
16199         added getInsetFromID() function.
16200
16201         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16202         changed undo functions for new version.
16203
16204 2001-07-05  Juergen Vigna  <jug@sad.it>
16205
16206         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16207         unknow mechanism does not call the proper constructor but only this
16208         one also if I request the other!?
16209
16210 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16211
16212         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16213
16214         * text2.C (LyXText): use initialization lists.
16215
16216         * lyxtext.h (Selection): initialize set_ and mark_
16217         (init): remove method
16218
16219 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16220
16221         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16222
16223 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16224
16225         * screen.[Ch]: change method names to begin with lowercase
16226
16227         * BufferView_pimpl.C (updateScrollbar): simplify further and
16228         hopefully make it a bit faster.
16229
16230 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16231
16232         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16233         calling directly xforms functions.
16234
16235         * Painter.C (Painter):
16236         * lyx_cb.C (MenuWrite):
16237         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16238         fl_display.
16239
16240         * lyx_gui.C: remove bogus guiruntime extern declaration.
16241
16242 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16243
16244         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16245         in NEW_INSETS
16246         (redoDrawingOfParagraph): ditto
16247         (redoParagraphs): ditto
16248         (cutSelection): don't create a object for CutAndPaste use the
16249         static method directly
16250         (pasteSelection): ditto
16251
16252         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16253         LyXview (+ rename)
16254
16255 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16256
16257         * modifications to some other files because of this.
16258
16259         * Makefile.am (lyx_SOURCES): add XFormsView
16260
16261         * XFormsView.[Ch]: new files
16262
16263         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16264         the main window. Move the gui dependent stuff to XFormsView
16265
16266 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16267
16268         * tabular.C (GetCellInset): update cur_cell also in the row/col
16269         version of this function.
16270
16271         * lyxfunc.C: no need to include figure_form.h here.
16272
16273         * FontLoader.h:
16274         * lyxfunc.h:
16275         * lyxscreen.h:
16276         * text2.C:
16277         * lyxvc.C: no need to include forms.h here.
16278
16279 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16280
16281         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16282
16283         * lyxfunc.C (Dispatch):
16284         * Spacing.C (set):
16285         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16286         constructor argument.
16287
16288 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16289
16290         * paragraph.C (Paragraph): dont't clear, and just set layout.
16291         (makeSameLayout): use params's copy contructor.
16292
16293         * ParagraphParameters.[Ch] (makeSame): delete method
16294
16295 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16296
16297         * Variables.[Ch]: fix indentation, rename set to isSet
16298
16299 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16300
16301         * lyxfunc.C (Dispatch): fix typo
16302
16303 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16304
16305         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16306         upper_bound.
16307
16308         * bufferlist.C: include assert.h for emergencyWrite().
16309
16310 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16311
16312         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16313           give up at last (bug #425202) !
16314
16315 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16316
16317         * lyx_gui_misc.C:
16318         * sp_form.h:
16319         * sp_form.C:
16320         * spellchecker.h:
16321         * spellchecker.C: strip spellchecker options and bring up
16322           preferences tab instead
16323
16324 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16325
16326         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16327         the istringstream constructor
16328
16329 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16330
16331         * paragraph.C (getLayout): fix return value
16332
16333         * paragraph.h: do not declare getLayout as inline.
16334
16335         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16336
16337 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16338
16339         * lyxcursor.h (operator<): new func
16340         (operator>): new func
16341         (operator>=): new func
16342         (operator<=): new func
16343
16344         * text.C (changeCase): use selection.start and selection.end
16345         (changeRegionCase): require from to be <= to. Require par to be a
16346         valid paragraph.
16347
16348         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16349
16350 2001-06-27  Juergen Vigna  <jug@sad.it>
16351
16352         * text.C (cursorLeftOneWord): changed to return the cursor and added
16353         overlay with BufferView * parameter which calls this one.
16354         (getWord): added
16355         (selectWord): use new getWord function.
16356         (changeCase): renamed from changeWordCase as and extended to work
16357         also on selections.
16358
16359         * lyxtext.h: added enum word_location
16360
16361         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16362         changeCase as this operates now also on selections.
16363
16364 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16365
16366         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16367
16368         * many files: send debug output to Debug::INFO instead of
16369         Debug::ANY.
16370
16371         * converter.C (View):
16372         (Convert):
16373         (Move): send debug output to Debug::FILES instead of console.
16374
16375 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16376
16377         * lyxfunc.C (getStatus): use func_status
16378
16379         * func_status.h: new header, describing the results of
16380         LyXFunc::getStatus;
16381
16382         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16383         LFUN_MATH_HALIGN.
16384
16385 2001-06-25  The LyX Project  <jug@sad.it>
16386
16387         * buffer.C (sgmlOpenTag):
16388         (sgmlCloseTag):
16389         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16390
16391 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16392
16393         * text2.C: remove some dead code
16394
16395         * tabular.C (GetCellInset): store the last cell checked (gotten)
16396
16397         * tabular.h: add the helper for the speedup
16398
16399         * lyxtext.h: remove some dead code
16400
16401 2001-06-26  The LyX Project  <Asger>
16402
16403         * paragraph.C: Change export to LaTeX of alignment to
16404         \begin{center} and family for better roundtrip work with reLyX.
16405
16406         * Tune the math drawing a bit.
16407
16408 2001-06-25  The LyX Project  <Asger>
16409
16410         * LColor.C (LColor): New color for math background. New color
16411         for buttons.
16412
16413 2001-06-25  The LyX Project  <jug@sad.it>
16414
16415         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16416
16417         * lyxfunc.C (Open):
16418         * bufferlist.C (newFile): do not restrict to files ending with
16419         .lyx
16420
16421         * BufferView_pimpl.C (MenuInsertLyXFile):
16422
16423 2001-06-24  The LyX Project  <jug@sad.it>
16424
16425         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16426         of compare_no_case
16427
16428 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16429
16430         * lyxtext.h: rename most methods to begin with a small char.
16431         Lots of changes because of this.
16432
16433         * paragraph.C (Paragraph): do not call fitToSize
16434         (erase): call Pimpl::erase
16435         (insertChar): call Pimpl::insertChar
16436         (insertInset): call Pipl::insertInset
16437         (breakParagraph): do not call fitToSize
16438         (breakParagraphConservative): do not call fitToSize
16439         (fitToSize): remove method
16440
16441         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16442
16443 2001-06-24  The LyX Project  <Asger>
16444
16445         * Fix Qt compilation^2
16446
16447 2001-06-24  The LyX Project  <jug@sad.it>
16448
16449         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16450         depthHook(getDepth()-1).
16451
16452         * paragraph.h:
16453         * ParagraphParameters.h:
16454         * ParameterStruct.h: change type of depth to unsigned int ==
16455         depth_type. Many adaptations to other files before of that.
16456
16457 2001-06-24  The LyX Project  <Asger>
16458
16459         * Fix Qt compilation.
16460
16461 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16462
16463         * paragraph.h: renamed several methods to begin with small letter.
16464         several changes to many parts of the code because of this.
16465
16466 2001-06-23  The LyX Project  <jug@sad.it>
16467
16468         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16469         rewritten to discard all double spaces when KeepEmpty is off
16470         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16471         to only handle newlines but not fiddle with spaces and friends.
16472
16473         * lyxfunc.C (MenuNew): when doing 'new from template', use
16474         template_path as default directory
16475
16476 2001-06-23  The LyX Project  <Asger>
16477
16478         * Clean-up of header file includes all over
16479         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16480
16481 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16482
16483         * paragraph.h: renamed from lyxparagraph.h
16484
16485 2001-06-23  Asger  <lyx@violet.home.sad.it>
16486
16487         * Buffer.h: Removed Buffer::resize
16488         * BufferList.h: Removed BufferList::resize
16489         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16490         the document lazily when we change the width, or the font settings.
16491
16492 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16493
16494         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16495
16496 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16497
16498         * buffer.h: remove out of date comment
16499
16500 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16501
16502         * lyxscreen.h:
16503         * screen.C: fix "theoretical" GC leak
16504
16505 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16506
16507         * LaTeX.C (scanAuxFile):
16508         (deplog): remove trailing \r when reading stream (useful under
16509         win32)
16510
16511 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16512
16513         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16514         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16515         and BufferView::theLockingInset(Inset*), so should use them and not
16516         access bv_->text->the_locking_inset directly.
16517
16518         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16519
16520 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16521
16522         * Makefile.am:
16523         * tex-defs.h: remove old unused file
16524
16525 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16526
16527         * BufferView_pimpl.C: fix typo, remove minibuffer message
16528           when buffer has loaded
16529
16530 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16531
16532         * lyxfunc.C (Dispatch): use stringstream
16533         (MenuNew): use stringstream
16534         (Open): use stringstream
16535
16536         * importer.C (Import): use stringstream
16537
16538         * bufferview_funcs.C (CurrentState): use stringstream
16539
16540         * LaTeX.C (run): use stringstream
16541
16542         * BufferView_pimpl.C (savePosition): use stringstream
16543         (restorePosition): use stringstream
16544         (MenuInsertLyXFile): use stringstream
16545
16546 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16547
16548         * BufferView.C:
16549         * Bullet.C:
16550         * ColorHandler.C:
16551         * FontInfo.C:
16552         * FontLoader.C:
16553         * LColor.C:
16554         * LaTeXFeatures.C:
16555         * Painter.C:
16556         * gettext.C:
16557         * lyx_gui_misc.C:
16558         * lyxserver.C:
16559         * vspace.C: removed // -*- C++ -*- as first line.
16560
16561         * lyxfind.h:
16562         * version.h: added // -*- C++ -*- as first line.
16563
16564 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16565
16566         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16567
16568         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16569         of string
16570
16571 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16572
16573         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16574         of floats.
16575
16576 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16577
16578         * gettext.C: include LString.h even when --disable-nls is on.
16579
16580 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16581
16582         * converter.h (Get): changed argument type from int to
16583         FormatList::size_type to avoid unnecessary conversion.
16584
16585         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16586         before using it.
16587
16588 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16589
16590         * gettext.h: include LString.h even when --disable-nls is on.
16591
16592 2001-06-07  Juergen Vigna  <jug@sad.it>
16593
16594         * text.C (BreakAgain): subst spaces with tabs.
16595
16596         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16597         (resizeInsetsLyXText): set force on resizeLyXText.
16598
16599 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16600
16601         * gettext.h (gettext_init):
16602         (locale_init): use a real definition instead of a macro
16603
16604 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16605
16606         * Bufferview_pimpl.C:
16607         * LColor.h:
16608         * LColor.C: further lcolor tidies
16609
16610 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16611
16612         * BufferView_pimpl.C (updateScrollbar): simplify.
16613
16614         * BufferView2.C: don't include insets/insetinfo.h, change
16615         prototype for insertInset and call the Pimpl version. let
16616         updateInset call Pimpl version.
16617
16618         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16619         gotoInset to BufferView::Pimpl
16620
16621 2001-06-01  Juergen Vigna  <jug@sad.it>
16622
16623         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16624         inside a LockingInset (is the update needed at all?).
16625
16626 2001-05-31  Juergen Vigna  <jug@sad.it>
16627
16628         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16629         here not the old one otherwise how should we compare it afterwards
16630         if it's the same!
16631
16632 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16633
16634         * lyxfont.C:
16635         * tabular.C:
16636         * tabular-old.C:
16637         * FontInfo.C: bring C functions into global namespace when
16638         necessary
16639
16640 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16641
16642         * LString.h: make sure config.h has been loaded before LString.h.
16643
16644         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16645         (one for each char read by EatLine!).
16646
16647         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16648         variables.
16649
16650 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16651
16652         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16653         to the same as the par we break from
16654
16655 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16656
16657         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16658
16659         * MenuBackend.C (expand): also create menu entries for wide
16660         versions of the floats.
16661
16662         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16663
16664         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16665
16666         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16667         frontends/Makefile.am
16668
16669         * text2.C: adjust
16670         * text.C: adjust
16671
16672
16673         * tabular.C (getTokenValue): add std::
16674
16675         * tabular-old.C (getTokenValue): add std::
16676         (getTokenValue): ditto
16677         (getTokenValue): ditto
16678
16679         * screen.C (ToggleSelection): adjust
16680
16681         * lyxtext.h: put selection cursors inside a Selection struct.
16682
16683         * lyxfunc.C (moveCursorUpdate): adjust
16684
16685         * lyxfont.C (latexWriteStartChanges): add std::
16686
16687         * lyxfind.C: adjust
16688
16689         * font.h: delete with(char const *, LyXFont const &)
16690
16691         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16692
16693         * FontInfo.C (getFontname): add std::
16694
16695         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16696         (workAreaButtonPress): adjust
16697         (tripleClick): adjust
16698         (update): adjust
16699         (moveCursorUpdate): adjust
16700         (Dispatch): adjust
16701
16702         * BufferView2.C (gotoInset): adjust
16703
16704 2001-05-30  Juergen Vigna  <jug@sad.it>
16705
16706         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16707         to check pspell I add this as default as I now have new pspell
16708         libraries and they seem to use this.
16709
16710 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16711
16712         * text2.C (CutSelection): make the cursor valid before the call to
16713         ClearSelection.
16714
16715 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16716
16717         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16718         relied on 0 terminated strings and other horrors. Bug found due to
16719         the new assert in lyxstring!
16720
16721         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16722         KP_ keys.
16723
16724 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16725
16726         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16727         to latinkeys.bind.
16728
16729         * lyxfunc.C (processKeySym): change method of getting to the
16730         self-insert char.
16731
16732         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16733         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16734         * BufferView_pimpl.[Ch]: here as private methods.
16735
16736 2001-05-28  Juergen Vigna  <jug@sad.it>
16737
16738         * text.C (SetHeightOfRow): added the update() call again as it is
16739         needed to initialize inset dimensions!
16740
16741 2001-05-16  Juergen Vigna  <jug@sad.it>
16742
16743         * text2.C (SetCharFont): Add new function with BufferView * and
16744         bool toggleall parameters for setting insets internal fonts.
16745         (SetFont): Freeze the undo as we may change fonts in Insets and
16746         all this change should be inside only one Undo!
16747
16748         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16749         setting font's in insets as for them we have the SetFont function!
16750
16751 2001-05-15  Juergen Vigna  <jug@sad.it>
16752
16753         * text2.C (ClearSelection): to be sure we REALLY don't have any
16754         selection anymore!
16755
16756         * tabular.C (TeXCellPreamble): fixed the left border problem for
16757         multicolumn cells.
16758
16759 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16760
16761         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16762         dependancy file
16763
16764 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16765
16766         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16767         LFUN_BREAKPARAGRAPH.
16768
16769         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16770         help test to "internal only", similar for LFUN_INSERT_URL
16771
16772         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16773         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16774         auto_region_delete and deadkeys.
16775
16776 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16777
16778         * LColor.h:
16779         * LColor.C: remove some dead entries, tidy a little
16780
16781 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16782
16783         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16784         commented code.
16785         (Dispatch): implement LFUN_ESCAPE
16786
16787         * commandtags.h: add LFUN_ESCAPE
16788
16789         * LyXAction.C (init): add entry for LFUN_ESCAPE
16790
16791         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16792         Remove commented code.
16793         (insertNote): moved here
16794         (open_new_inset): moved here
16795
16796         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16797         BufferView_pimpl
16798
16799 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16800
16801         * kbmap.C (findbinding): clean it up and make it work correctly.
16802
16803         * lyx_main.C (init): do not pass argc and argv as parameters
16804
16805 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16806
16807         * buffer.C: fix path for OS/2 & Win32
16808
16809         * lyx_gui.C:
16810         * lyx_main:
16811         * lyx_main.C: Added os:: class.
16812
16813         * os2_defines.h: update
16814
16815 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16816
16817         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16818         better by trying again with reduced state.
16819
16820 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16821
16822         * lyxrc.C (read): print error about invalid key sequence only when
16823         debugging (because not all latinX keysyms are known to some X
16824         servers)
16825
16826         * kbsequence.C (getiso): add a few std:: qualifiers
16827         (getiso): comment out extra return statement.
16828
16829 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16830
16831         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16832         handling.
16833         (Dispatch): enhance the accent inset a bit. (not perfect)
16834
16835 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16836
16837         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16838
16839 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16840
16841         * bufferlist.C (emergencyWrite): fix assert() call
16842
16843 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16844
16845         * text.C (InsertChar): Added trivial patch to only send the "you
16846         can not do multiple spaces this way" message once during a
16847         session.
16848
16849 2001-05-08  Baruch Even  <baruch@lyx.org>
16850
16851         * Makefile.am: Changed order of libraries to get LyX to link properly
16852         with the gnome frontend.
16853
16854 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16855
16856         * LaTeXFeatures.h: add a std:: qualifier
16857
16858 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16859
16860         * paragraph.C (String): use stringstream
16861
16862 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16863
16864         * paragraph.C (writeFile): remove footflag arg
16865
16866         * buffer.C (makeLaTeXFile): use stringstream
16867         (latexParagraphs): remove footnot gurba
16868
16869         * LaTeXFeatures.C (getPackages): use stringstream
16870         (getMacros): likewise
16871         (getTClassPreamble): likewise
16872         (getFloatDefinitions): new method
16873
16874         * paragraph.C (writeFile): reindent
16875         (Erase): reindent
16876
16877         * WorkArea.h: revert the xpos + etc changes.
16878
16879         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16880
16881         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16882
16883         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16884         (pasteSelection): likewise
16885         * text2.C (CreateUndo): likewise
16886
16887 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16888
16889         * minibuffer.C (peek_event): temporarily reduce the functionality
16890         of the minibuffer (to allow args on lfuns)
16891
16892         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16893         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16894
16895         * buffer.C (readInset): add compability reading of old float
16896         lists, add reading of new style float list.
16897         (readInset): avoid reevaluation of inscmd.getCmdName()
16898         (getLists): reindent
16899
16900         * MenuBackend.C (MenuItem): implement parsing of
16901         md_floatlistinsert and md_floatinsert.
16902         (expand::LastFiles): move initalizaton of iterators out of loop,
16903         avoid reevaluation.
16904         (expand::Documents): introduce typdedef vector<string> Strings,
16905         and use it.
16906         (expand::ExportFormats): introduce typedef vector<Format const *>
16907         Formats, and use it.
16908         (expand): implement FloatListInsert and FloatInsert.
16909
16910         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16911         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16912         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16913
16914         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16915         handling.
16916         (Dispatch::LFUN_FLOAT_LIST): implement
16917
16918 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16919
16920         * LaTeX.C (run): Fix problem with --export code.
16921
16922 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16923
16924         * BufferView.[Ch] (workarea): removed.
16925         (getClipboard) new method; wrapper for workarea()->getClipboard()
16926
16927         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16928         bug.
16929
16930         * WorkArea.h (width, height, xpos, ypos): These methods all
16931         returned the dimensions of the work_area sub-area of WorkArea,
16932         resulting in a position error if the WorkArea were resized. Now
16933         return the dimensions of the entire WorkArea.
16934
16935         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16936
16937 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16938
16939         * LaTeX.C (deplog): correct the syntax of regex reg1
16940
16941 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16942
16943         * undo.C: remove !NEW_INSETS cruft
16944
16945 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16946
16947         * text2.C: remove !NEW_INSETS cruft
16948
16949         * text.C: remove !NEW_INSETS cruft
16950
16951         * tabular.C: remove !NEW_INSETS cruft
16952
16953         * spellchecker.C: remove !NEW_INSETS cruft
16954
16955         * lyxtext.h: remove !NEW_INSETS cruft
16956
16957         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16958
16959         * lyxfunc.C: remove !NEW_INSETS cruft
16960
16961         * lyxfind.C: remove !NEW_INSETS cruft
16962
16963         * lyx_cb.C: remove !NEW_INSETS cruft
16964
16965         * figureForm.C: remove  !NEW_INSETS cruft
16966
16967         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16968
16969         * buffer.[Ch]: remove !NEW_INSETS cruft
16970
16971         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16972
16973         * CutAndPaste.C: remove !NEW_INSETS cruft
16974
16975         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16976
16977         * BufferView2.C: remove !NEW_INSETS cruft
16978
16979         * BufferView.h: remove !NEW_INSETS cruft
16980
16981 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16982
16983         * Lsstream.h: include LString.h before the sstream headers to
16984         fix problem with gcc 2.95.3 and lyxstring
16985
16986 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16987
16988         * lyx_main.C: add using directives when needed for C functions
16989         declared in std:: namespace.
16990
16991 2001-04-27  Juergen Vigna  <jug@sad.it>
16992
16993         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16994         (SetHeightOfRow): comment out the update call should not be needed!
16995
16996 2001-04-13  Juergen Vigna  <jug@sad.it>
16997
16998         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16999         (LyXTabular): tried to minimize operator= operations (and realized
17000         hopfully Lars wish).
17001
17002 2001-04-27  Juergen Vigna  <jug@sad.it>
17003
17004         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17005
17006 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17007
17008         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17009
17010         * buffer.C (readInset): hack to make listof algorithm work
17011
17012         * BufferView_pimpl.C: hack to make listof algorithm work
17013
17014 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17015
17016         * LyXAction.C: removed all !NEW_INSETS cruft
17017         (init): moved lfun_item in method
17018
17019         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17020
17021 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17022
17023         * BufferView2.C (theLockingInset): white space.
17024
17025 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17026
17027         * minibuffer.C: include <iostream>
17028
17029         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17030
17031         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17032
17033         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17034
17035         * text.[Ch] (TransposeChars): new method
17036
17037 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17038
17039         * call message directly through LyXView instead of through LyXFunc
17040         * BufferView2.C: adjust
17041         * BufferView_pimpl.C: adjust
17042         * FontLoader.C: adjust
17043         * buffer.C: adjust
17044         * bufferview_funcs.C: adjust
17045         * converter.C: adjust
17046         * figureForm.C: adjust
17047         * importer.C: adjust
17048         * lyx_cb.C: adjust
17049         * lyx_gui_misc.C: adjust
17050         * lyxfunc.C: adjust
17051         * lyxvc.C: adjust
17052         * text2.C: adjust
17053         + more files in subdirs
17054
17055         * lyxparagraph.h (size): move up int file
17056         (GetLayout): ditto
17057
17058         * adjust all uses of Assert to lyx::Assert.
17059
17060         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17061         lyxfunctional in namespace lyx
17062         * layout.C (hasLayout): ditto
17063         (GetLayout): ditto
17064         (GetLayout): ditto
17065         (delete_layout): ditto
17066         (NumberOfClass): ditto
17067         * converter.C (GetFormat): ditto
17068         (GetNumber): ditto
17069         (Add): ditto
17070         (Delete): ditto
17071         (SetViewer): ditto
17072         * bufferlist.C (getFileNames): ditto
17073         (emergencyWriteAll): ditto
17074         (exists): ditto
17075         (getBuffer): ditto
17076         * MenuBackend.C (hasSubmenu): ditto
17077         (hasMenu): ditto
17078         (getMenu): ditto
17079         * BufferView_pimpl.C (getInsetByCode): ditto
17080
17081 2001-04-18  Juergen Vigna  <jug@sad.it>
17082
17083         * vspace.C (asLatexString): fixed the 100% problem.
17084
17085 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17086
17087         * lyxfunc.C (Dispatch):
17088         * minibuffer.C:
17089         * minibuffer.h: add a few std:: qualifiers
17090
17091 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17092
17093         * minibuffer.[Ch]: reimplement so that commands is initiated and
17094         run from lyxfunc, simplified som handling, and made the completion
17095         and history code for complete. wip.
17096
17097         * lyxfunc.C (processKeySym): call message
17098         (miniDispatch): new temporary method
17099         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17100         (LFUN_MESSAGE): implement
17101         (LFUN_MESSAGE_PUSH): implement
17102         (LFUN_MESSAGE_POP): implement
17103         (initMiniBuffer): the initial/defualt minibuffer message.
17104
17105         * lyxfont.[Ch]: inline some more getters
17106
17107         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17108
17109         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17110
17111         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17112         (AutoSave): use LFUN_MESSAGE
17113         (Reconfigure): ditto
17114
17115         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17116
17117         * figureForm.C: use LFUN_MESSAGE
17118
17119         * converter.C (runLaTeX): use LFUN_MESSAGE
17120
17121         * bufferview_funcs.C: use LFUN_MESSAGE
17122         (Melt): ditto
17123         (changeDepth): ditto
17124
17125         * bufferparams.h: use boost::
17126
17127         * bufferlist.h: inherit privately from noncopyable
17128
17129         * bufferlist.C (loadLyXFile): remove some commented code.
17130
17131         * buffer.C (runChktex): use LFUN_MESSAGE
17132
17133         * ShareContainer.h: inherit privately from noncopyable
17134
17135         * ParagraphParameters.[hC] (depth): inline it.
17136
17137         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17138         methods.
17139         (message): new method
17140         (messagePush): ditto
17141         (messagePop): ditto
17142         (show): init minibuffer
17143         (showState): direct call
17144
17145         * LaTeX.[Ch]: inherit privately from noncopyable
17146         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17147         instead of WriteStatus.
17148
17149         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17150
17151         * BufferView_pimpl.C (buffer): don't init minibuffer
17152         (workAreaButtonPress): use LFUN_MESSAGE
17153         (workAreaButtonRelease): ditto
17154         (savePosition): ditto
17155         (restorePosition): ditto
17156         (MenuInsertLyXFile): ditto
17157         (workAreaExpose): don't init minibuffer
17158         (update): remove commented code, simplify
17159
17160         * BufferView2.C (openStuff): use LFUN_MESSAGE
17161         (toggleFloat): ditto
17162         (menuUndo): ditto
17163         (menuRedo): ditto
17164         (copyEnvironment): ditto
17165         (pasteEnvironment): ditto
17166         (copy): ditto
17167         (cut): ditto
17168         (paste): ditto
17169         (gotoInset): ditto
17170         (updateInset): remove some commented code
17171
17172         * lastfiles.h: inherit privately from noncopyable
17173         * layout.h: ditto
17174         * lyx_gui.h: ditto
17175         * lyx_main.h: ditto
17176         * lyxlex.h: ditto
17177         * lyxlex_pimpl.h: ditto
17178
17179         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17180         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17181         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17182
17183         * LyXAction.h: inherit privately from noncopyable, add methods
17184         func_begin, func_end, returning iterators to the func map.
17185
17186         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17187         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17188         (func_begin): new method
17189         (func_end): new method
17190
17191         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17192         and not)
17193         (copySelection): ditto
17194         (pasteSelection): ditto
17195
17196         * BufferView.C: whitespace change
17197         * BufferView.h: inherit privately from noncopyable
17198
17199 2001-04-16  Allan Rae  <rae@lyx.org>
17200
17201         * tabular-old.C (l_getline):
17202         * spellchecker.C (sc_check_word):
17203         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17204         an unrecognised preprocessor directive.  So ensure they're wrapped.
17205
17206 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17207
17208         * src/exporter.C (Export): Give an error message when path to file
17209         contains spaces.
17210
17211 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17212
17213         * LaTeX.C (deplog): Always check that foundfile exists.
17214
17215 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17216
17217         * lyx_main.h:
17218         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17219
17220 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17221
17222         * tabular.[Ch] (getLabelList): implement new method
17223
17224         * minibuffer.h: comment ouf setTiimer
17225
17226         * minibuffer.C (ExecutingCB): constify res
17227         (peek_event): constify s
17228         (Set): constify ntext
17229         (Init): constify nicename
17230
17231         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17232
17233         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17234         (savePosition): use two params to Minibuffer::Set
17235         (restorePosition): ditto
17236
17237 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17238
17239         * lyx_main.C: include language.h
17240
17241         * Makefile.am (lyx_main.o): add language.h
17242
17243 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17244
17245         * exporter.C:
17246         * paragraph.C:
17247         * screen.C:
17248         * tabular.C:
17249         * CutAndPaste.C: include gettext.h
17250
17251         * lyxfont.h: remove old hack with ON and OFF.
17252
17253         * lyxparagraph.h:
17254         * lyxfont.h: do not include language.h...
17255
17256         * BufferView2.C:
17257         * LaTeXFeatures.C:
17258         * Painter.C:
17259         * bufferview_funcs.C:
17260         * font.C:
17261         * lyxfont.C:
17262         * text.C:
17263         * text2.C:
17264         * trans_mgr.C:
17265         * paragraph.C: ... but do it here instead
17266
17267 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17268
17269         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17270
17271         * tabular.C: small reformat
17272
17273         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17274         NEW_INSETS version
17275         (GetChar): ditto
17276         (BreakParagraph): ditto
17277         (SetOnlyLayout): ditto
17278         (SetLayout): ditto
17279
17280         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17281         with one arg less.
17282
17283         * lastfiles.C: removed most using decl, add std:: where needed
17284
17285         * buffer.C: ws changes
17286
17287         * MenuBackend.C (class compare_format): put into anon namespace
17288         (expand): constify label, names, action, action2
17289         (expand):
17290
17291         * text.C (SingleWidth): constify font
17292         (IsBoundary): constify rtl2
17293         (GetVisibleRow): constify ww
17294
17295         * LaTeX.C (deplog): constify logfile
17296
17297         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17298         start_x, end_x
17299         (workAreaExpose): constify widthChange, heightChange
17300
17301         * lyxrow.C (par): moved
17302         (height): moved
17303         (next): moved
17304         * lyxrow.h: as inlines here
17305
17306         * lyxfont.h (shape): moved from lyxfont.C
17307         (emph): moved from lyxfont.C
17308
17309         * lyxfont.C (LyXFont): use initialization list for all
17310         constructors
17311         (shape): move to lyxfont.h as inline
17312         (emph): move to lyxfont.h as inline
17313
17314
17315 2001-04-04  Juergen Vigna  <jug@sad.it>
17316
17317         * vspace.C: had to include stdio.h for use of sscanf
17318
17319 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17320
17321         * BufferView.h:
17322         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17323         independent of xforms.
17324
17325 2001-04-02  Juergen Vigna  <jug@sad.it>
17326
17327         * spellchecker.C: fixed namespace placing!
17328
17329 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17330
17331         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17332         the LyXParagraph * is 0.
17333
17334 2001-03-29  Juergen Vigna  <jug@sad.it>
17335
17336         * vspace.C: added support for %, c%, p%, l%.
17337         (stringFromUnit): added helper function.
17338         (asLatexString): changed to give right results for the %-values.
17339
17340         * buffer.C: convert the widthp in a width%.
17341
17342 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17343
17344         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17345         figureForm.[Ch].
17346
17347         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17348         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17349
17350         * lyx_cb.[Ch]: see above.
17351
17352         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17353         form1.[Ch].
17354
17355         * form1.[Ch]:
17356         * lyx.[Ch]: replaced by figure_form.[Ch].
17357
17358         * lyx_gui.C:
17359         * lyx_gui_misc.C:
17360         * lyxfunc.C: changed headers associated with above changes.
17361
17362 2001-03-27  Juergen Vigna  <jug@sad.it>
17363
17364         * BufferView_pimpl.C: set the temporary cursor right!
17365
17366 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17367
17368         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17369
17370 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17371
17372         * LString.h: removed "using std::getline"!
17373
17374         * BufferView_pimpl.C (Dispatch): changes due to changes in
17375         InsetInclude::Params.
17376
17377         * buffer.C (tag_name): removed redundant break statements as they were
17378         producing lots of warnings with my compiler.
17379
17380 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17381
17382         * LString.h: add "using std::getline" when using the real <string>.
17383
17384 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17385
17386         * buffer.C: removed bitset usage.
17387         PAR_TAG moved to an anonymous name space.
17388         (tag_name): new funtion, also in the anonymous namespace.
17389         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17390         (makeDocBookFile): clean code. Completed transition from string arrays
17391         to string vectors.
17392         (SimpleDocBookOnePar): code clean.
17393
17394 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17395
17396         * tabular.C: add some comments.
17397
17398 2001-03-22  Juergen Vigna  <jug@sad.it>
17399
17400         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17401         compatibility read a bit and fixed bug with minipage in different
17402         depth.
17403
17404 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17405
17406         * buffer.C (pop_tag): removed.
17407         (push_tag): removed.
17408         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17409         array replaced with vector. Added support for CDATA sections.
17410         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17411         at any nest level.
17412         (makeDocBookFile): XML conformant declaration of CDATA section,
17413         fixed bug related to <emphasis> in the first paragraph char.
17414         (sgmlOpenTag): exclude empty tags.
17415         (sgmlCloseTag): ditto.
17416
17417         * buffer.h (pop_tag): removed.
17418         (push_tag): removed.
17419
17420 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17421
17422         * language.h (Languages): added size_type and size().
17423
17424 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17425
17426         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17427         response on compability reading of minipages. One probliem is that
17428         the old usage of minipages was flertydig
17429
17430         * several files here and in subdirs: don't use static at file
17431         scope use anon namespaces instead.
17432
17433 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17434
17435         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17436         LaTeX output. This is necessary for Literate document
17437         processing.
17438
17439 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17440
17441         * buffer.C: insert hfill when needed.
17442
17443         * tabular.C (l_getline): use string::erase, small whitespace change.
17444
17445         * BufferView_pimpl.C: try the anon namespace.
17446         * WorkArea.C: ditto
17447
17448 2001-03-16  Juergen Vigna  <jug@sad.it>
17449
17450         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17451         otherwise it won't open options-dialogs.
17452
17453         * buffer.C: honor pextraWidth(p) on converting minipages.
17454
17455         * tabular.C (l_getline): changed the functions to strip trailing \r.
17456
17457 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17458
17459         * BufferView_pimpl.C:
17460         * minibuffer..C: added "using SigC::slot" declaration.
17461
17462 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17463
17464         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17465
17466         * text2.C: ditto
17467
17468         * text.C: ditto
17469
17470         * paragraph.C: ditto
17471
17472         * lyxtext.h: NO_PEXTRA
17473
17474         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17475
17476         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17477         * ParameterStruct.h: ditto
17478         * ParagraphParameters.h: ditto
17479         * lyxparagraph.h: ditto
17480
17481 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17482
17483         * buffer.C: add compability for minipage alignment.
17484         (latexParagraphs): remove unwanted pextra check.
17485
17486         * several files: remove CXX_WORKING_NAMESPACES
17487
17488         * buffer.C (pop_tag): tie is in namespace boost
17489
17490         * BufferView.h: noncopyable is in namespace boost
17491         * lyxlex.h: ditto
17492         * lyx_main.h: ditto
17493         * lyx_gui.h: ditto
17494         * layout.h: ditto
17495         * lastfiles.h: ditto
17496         * bufferlist.h: ditto
17497         * ShareContainer.h: ditto
17498         * LyXView.h: ditto
17499         * LyXAction.h: ditto
17500         * LaTeX.h: ditto
17501
17502 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17503
17504         * Merging changes from BRANCH_MVC back into HEAD.
17505
17506         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17507
17508 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17509
17510         * BufferView_pimpl.C: change from intl.C
17511
17512         * combox.h:
17513         * combox.C:
17514         * Makefile.am: move combox.*
17515
17516         * form1.h:
17517         * form1.C:
17518         * lyx_gui.C:
17519         * intl.h:
17520         * intl.C: remove dialog (covered by prefs)
17521
17522 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17523
17524         * lyxfunc.C (Dispatch): removed redundant break statement.
17525
17526 2001-03-14  Juergen Vigna  <jug@sad.it>
17527
17528         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17529
17530 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17531
17532         * buffer.C: add hack to fix compability reading of minipages.
17533
17534 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17535
17536         * buffer.C (getLists): Cleanup.
17537
17538 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17539
17540         * lyxfont.C (update): don't honor toggleall on font size.
17541
17542 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17543
17544         * bmtable.c:
17545         * bmtable.h:
17546         * Makefile.am: moved to frontends/xforms/
17547
17548         * lyx_gui_misc.C:
17549         * lyxfunc.C:
17550         * BufferView_pimpl.C: changes for moved mathpanel
17551
17552 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17553
17554         * gettext.h: fix gettext_init() in --disable-nls
17555
17556 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17557
17558         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17559
17560 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17561
17562         * lyx.C:
17563         * lyx.h: strip external form
17564
17565 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17566
17567         * BufferView_pimpl.C: add comment, destroySplash()
17568
17569 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17570
17571         * BufferView_pimpl.C:
17572         * LyXAction.C:
17573         * buffer.C:
17574         * commandtags.h:
17575         * lyxfunc.C: use re-worked insetinclude
17576
17577 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17578
17579         * buffer.C: add using std::stringstream.
17580
17581         * lyx_cb.C: readd using std::ios.
17582
17583         * buffer.C: add using std::map.
17584
17585         * BufferView_pimpl.C: add using std::vector.
17586
17587         * ShareContainer.h: add std:: to swap.
17588
17589         * buffer.h: add some typedefs
17590         * buffer.C (getLists): use them
17591         (getLists): renamed from getTocList.
17592         add a counter for the different float types and use it in the
17593         generated string.
17594         (getLists): use the same counter for the NEW_INSETS and the "non"
17595         NEW_INSETS
17596
17597         * lyx_cb.h: remove unused items, includes, using etc.
17598
17599         * ShareContainer.h: remove some commented code, add more comments
17600         and "documentation".
17601
17602 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17603
17604         * buffer.C (getTocList): make the list also when NEW_INSETS is
17605         defined.
17606
17607         * buffer.h: remove TocType
17608
17609         * buffer.C (getTocList): change to return a map<string,
17610         vector<TocItem> >, implement for dynamic number of list.
17611
17612         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17613         * text2.C (PasteSelection): adjust
17614         * CutAndPaste.C (pasteSelection): adjust
17615
17616         * FloatList.C (FloatList): update from the new_insets branch.
17617         * Floating.[Ch]: ditto
17618         * LaTeXFeatures.C: ditto
17619         * buffer.C: ditto
17620         * lyxlex_pimpl.C: ditto
17621
17622         * paragraph.C (Last): remove when NEW_INSETS is defined.
17623
17624         * other file: changes because of the above.
17625
17626 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17627
17628         * lyxparagraph.h: rename next to next_, previous to previous_,
17629         make them private for NEW_INSETS. Rename Next() to next(),
17630         Previous() to previous().
17631
17632         * other files: changes because of the above.
17633
17634 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17635
17636         * BufferView.h:
17637         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17638         problem.
17639
17640 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17641
17642         * main.C (main): pass lyx_localedir to gettext_init().
17643
17644         * gettext.h: remove locale_init and gettext_init macros
17645
17646         * gettext.C (locale_init): new function
17647         (gettext_init): new function
17648
17649         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17650         setlocale().
17651
17652 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17653
17654         * Moved credits to frontends:
17655         * credits.[Ch]: removed
17656         * credits_form.[Ch]: removed
17657         * lyx_gui_misc.C: remove credits stuff
17658         * Makefile.am:
17659
17660 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17661
17662         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17663
17664         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17665         unneeded destructor.
17666
17667         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17668         a standalone pointer again.
17669
17670         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17671
17672 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17673
17674         * Makefile.am:
17675         * filedlg.h:
17676         * filedlg.C:
17677         * LyXAction.C:
17678         * ToolbarDefaults.C:
17679         * bufferlist.C:
17680         * commandtags.h:
17681         * form1.C:
17682         * form1.h:
17683         * lyx_cb.C:
17684         * lyx_cb.h:
17685         * lyxfunc.h:
17686         * lyxfunc.C:
17687         * BufferView_pimpl.C: use new file dialog in GUII
17688
17689         * lyx_cb.h:
17690         * lyx_cb.C: remove LayoutsCB to Toolbar
17691
17692 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17693
17694         * ShareContainer.h (get): add std:: qualifier
17695
17696 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17697
17698         * ShareContainer.h: define a proper ShareContainer::value_type
17699         type (and use typename to please compaq cxx)
17700
17701 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17702
17703         * lyxparagraph.h: move serveral local vars to
17704         ParameterStruct/ParagraphParameters., use ShareContainer in
17705         FontTable., make vars in FontTable private and add getter and
17706         setter.
17707
17708         * paragraph.C: changes because of the above.
17709
17710         * lyxfont.h: remove copy constructor and copy assignment. (the
17711         default ones is ok), move number inside FontBits. move inlines to
17712         lyxfont.C
17713
17714         * lyxfont.C: add number to initializaton of statics, move several
17715         inlines here. constify several local vars. some whitespace
17716         cleanup. Dont hide outerscope variables.
17717
17718         * Spacing.h: add two new constructors to match the set methods.
17719
17720         * ShareContainer.h: new file, will perhaps be moved to support
17721
17722         * ParameterStruct.h: new file
17723
17724         * ParagraphParameters.h: new file
17725
17726         * ParagraphParameters.C: new file
17727
17728         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17729         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17730
17731         * BufferView_pimpl.C: ParagraphParameter changes.
17732         * buffer.C: Likewise.
17733         * bufferview_funcs.C: Likewise.
17734         * text.C: Likewise.
17735         * text2.C: Likewise.
17736
17737 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17738
17739         * lyxfind.C (LyXReplace): do not redefine default argument in
17740         implementation.
17741         (IsStringInText): ditto
17742         (SearchForward): ditto
17743         (SearchBackward): ditto
17744
17745 2001-03-06  Juergen Vigna  <jug@sad.it>
17746
17747         * lyxfind.C (IsStringInText): put parentes around expressions.
17748
17749 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17750
17751         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17752
17753 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17754
17755         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17756
17757         * stl_string_fwd.h: add comment
17758
17759         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17760
17761         * tabular.h:
17762         * tabular.C: remove unused DocBook methods
17763
17764         * intl.C:
17765         * language.C:
17766         * paragraph.C:
17767         * buffer.C:
17768         killed DO_USE_DEFAULT_LANGUAGE
17769
17770 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17771
17772         * lyx_gui.C: do not include language.h.
17773
17774         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17775         arguments in function implementation.
17776
17777 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17778
17779         * BufferView_pimpl.C: add <ctime>
17780
17781 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17782
17783         * BufferView_pimpl.C: add using std::find_if
17784
17785 2001-02-27  José Matos  <jamatos@fep.up.pt>
17786
17787         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17788         by OnlyPath.
17789
17790 2001-02-11  José Matos  <jamatos@fep.up.pt>
17791
17792         * buffer.C (makeDocBookFile): command styles now have a parameter as
17793         "title" by default.
17794
17795 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17796
17797         * layout_forms.[Ch]: removed
17798         * lyx_cb.[Ch]: out character
17799         * lyx_gui.C: out character
17800         * lyx_gui_misc.C: out character
17801         * bufferview_funcs.C: : out character,
17802         added toggleall as parameter in ToggleAndShow
17803
17804 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17805
17806         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17807
17808         * text2.C (SetCurrentFont): Disable number property at boundary.
17809
17810 2001-02-26  Juergen Vigna  <jug@sad.it>
17811
17812         * lyxfunc.C (getStatus): added a string argument override function so
17813         that this is correctly called from LyXFunc::Dispatch if it contains a
17814         do_not_use_argument which is used!
17815         (Dispatch): added check for "custom" export and call appropriate func.
17816
17817 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17818
17819         * lyxrc.C: Add language_command_local, language_use_babel and
17820         language_global_options.
17821
17822         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17823
17824         * buffer.C (makeLaTeXFile): Use language_use_babel and
17825         language_global_options.
17826
17827 2001-02-23  Juergen Vigna  <jug@sad.it>
17828
17829         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17830         which works with LyXText and putted it inside BufferView. Here now we
17831         only call for that part the BufferView::Dispatch() function.
17832
17833         * BufferView.C (Dispatch): added.
17834
17835         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17836         functions which needs to use a LyXText over from LyXFunc.
17837         (MenuInsertLyXFile): added
17838         (getInsetByCode): added
17839         (moveCursorUpdate): added
17840         (static TEXT): added
17841
17842 2001-02-22  Juergen Vigna  <jug@sad.it>
17843
17844         * BufferView_pimpl.C (update): call a status update to see if LyXText
17845         needs it.
17846
17847 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17848
17849         * vc-backend.C (revert): implement for CVS
17850         (getLog): implement for CVS
17851
17852 2001-02-20  Juergen Vigna  <jug@sad.it>
17853
17854         * text2.C (ClearSelection): added BufferView param for inset_owner call
17855
17856         * lyxfunc.C (TEXT): added this function and use it instead of
17857         directly owner->view()-text of getLyXText().
17858
17859 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17860
17861         * src/layout_forms.C: out preamble
17862         * src/layout_forms.h: out preamble
17863         * src/lyx_cb.C: out preamble
17864         * src/lyx_cb.h: out preamble
17865         * src/lyx_gui.C: out preamble
17866         * src/lyx_gui_misc.C: out preamble
17867         * src/lyxfunc.C: connect with guii preamble
17868
17869 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17870
17871         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17872
17873 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17874
17875         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17876         whether to run bibtex.
17877
17878 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17879
17880         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17881
17882 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17883
17884         * Makefile.am (lyx_SOURCES): removed bibforms.h
17885
17886         * vspace.h: doxygen
17887
17888         * text.C (GetVisibleRow): make several local vars const
17889
17890         * tabular.C: small cleanup.
17891
17892         * lyxserver.C (callback): use compare instead of strncmp
17893
17894         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17895         inlines to after class or to paragraph.C
17896
17897         * lyxfont.h: remove friend operator!=
17898
17899         * converter.h: move friend bool operator< to non friend and after
17900         class def.
17901
17902         * combox.h: small cleanup
17903
17904         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17905         to inlines after class def.
17906
17907         * buffer.C (pop_tag): use string operations instead of strcmp
17908
17909         * bmtable.c: doxygen, small cleanup
17910
17911         * LaTeX.h: remove friend operator==
17912
17913 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17914
17915         * screen.C:
17916         * lyxrc.[Ch]:
17917         * lyxfunc.C:
17918         * lyxfont.[Ch]:
17919         * lyx_cb.C:
17920         * intl.[Ch]:
17921         * commandtags.h:
17922         * buffer.C:
17923         * WorkArea.[Ch]:
17924         * LyXAction.C:
17925         * BufferView_pimpl.C:
17926         * BufferView.[Ch]: remove cruft
17927
17928 2001-02-14  Juergen Vigna  <jug@sad.it>
17929
17930         * lyxfunc.C: removed #if 0 unused code
17931
17932         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17933
17934         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17935
17936         * text2.C (SetSelection): added a BufferView * parameter
17937
17938 2001-02-13  Juergen Vigna  <jug@sad.it>
17939
17940         * lyxfunc.C (Dispatch): fixed protected blank problem.
17941         * BufferView2.C (protectedBlank): added LyxText * parameter.
17942
17943         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17944         (AppendColumn): same as above for column_info.
17945
17946         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17947         (moveCursorUpdate): use a LyXText param for support of InsetText.
17948
17949         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17950         (tripleClick): ditto
17951
17952         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17953
17954         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17955
17956         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17957
17958         * text2.C (SetSelection): set correct update status if inset_owner
17959         (ToggleFree): ditto
17960
17961 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17962
17963         * tabular.C: remove some commented code.
17964
17965 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17966
17967         * BufferView_pimpl.C: call hideSplash()
17968
17969         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17970
17971         * include_form.h:
17972         * bibforms.h: remove
17973
17974         * lyxfunc.C:
17975         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17976           add LFUN_CHILD_CREATE
17977
17978         * counters.h: fix tiny typo
17979
17980         * lyx_cb.C:
17981         * lyx.h:
17982         * lyx_gui.C:
17983         * lyx.C: move splash to frontends/xforms/
17984
17985         * lyx_gui_misc.C: move Include and Bibform to frontends
17986
17987         * lyxvc.h: clarify comment
17988
17989         * vspace.C: tiny housekeeping
17990
17991 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17992
17993         * text.C (PrepareToPrint): RTL Fix.
17994
17995         * paragraph.C (GetUChar): New method.
17996         (String):  Use GetUChar.
17997
17998         * buffer.C (asciiParagraph): Use GetUChar.
17999
18000 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18001
18002         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18003
18004 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18005
18006         * buffer.h:
18007         * buffer.C: rename to getLogName(), handle
18008           build log / latex log nicely
18009
18010 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18011
18012         * MenuBackend.C:
18013         * MenuBackend.h: remove support for reference menuitem type.
18014
18015 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18016
18017         * BufferView_pimpl.C: housekeeping
18018         * BufferView_pimpl.h:
18019         * LyXView.h:
18020         * Makefile.am:
18021         * Timeout.C:
18022         * Timeout.h:
18023         * minibuffer.h: move Timeout GUI-I
18024
18025 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18026
18027         * lyxrc.C (read): Update converters data-structures.
18028
18029 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18030
18031         * LaTeX.h (operator!=): add operator != for Aux_Info
18032
18033 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18034
18035         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18036
18037         * LaTeXLog.C: deleted, useful code moved to Buffer
18038
18039         * buffer.h:
18040         * buffer.C: new function getLatexLogName()
18041
18042         * lyx_gui_misc.C:
18043         * lyx_gui.C:
18044         * lyxvc.C:
18045         * lyxvc.h:
18046         * lyxfunc.C: use frontends for LaTeX and VC logs
18047
18048 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18049
18050         * LaTeX.h: yet another std:: that Allan forgot.
18051
18052         * Variables.C (set): renamed from isset(), because this clashes
18053         with some HP-UX macros (grr).
18054
18055 2001-02-06  Allan Rae  <rae@lyx.org>
18056
18057         * LaTeX.h: Another bug fix.  Missing std:: this time.
18058
18059 2001-02-04  Allan Rae  <rae@lyx.org>
18060
18061         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18062         floats problem. I've left it commented out because it's not quite
18063         correct.  It should also test that the current object is a table or
18064         figure inset.  But I haven't gotten around to figuring out how to do
18065         that.  I *think* it'll be something like: "table" == inset.type()
18066
18067         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18068         bool.
18069
18070 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18071
18072         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18073         all the citation/databases/styles in the auxilary file.
18074         (run): Rerun latex if there was a babel language error.
18075
18076 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18077
18078         * text.C (Backspace): Preserve the font when changing newline char
18079         with a space.
18080         (BreakParagraph): If the cursor is before a space, delete the space.
18081
18082         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18083
18084 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18085
18086         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18087         new argument (code).
18088         (ChangeCitationsIfUnique): New method.
18089
18090         * paragraph.C (GetPositionOfInset): Handle bibkey.
18091
18092 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18093
18094         * BufferView_pimpl.h: change type of Position::par_pos to
18095         LyXParagraph::size_type.
18096
18097 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18098
18099         * BufferView_pimpl.C (savePosition, restorePosition): Write
18100         messages to minibuffer.
18101
18102 2001-01-28  José Matos  <jamatos@fep.up.pt>
18103
18104         * buffer.C (makeDocBookFile): adds support for document language.
18105         A silly restriction on the name of LatexCommand types where removed.
18106         Added support for CDATA sections, allows to chars unescaped, used
18107         among others in code, to avoid escape < and >.
18108
18109 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18110
18111         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18112         saved positions instrad of a stack. Furthermore, a position is
18113         stored using paragraph id/paragraph position.
18114
18115         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18116         Remove LFUN_REF_BACK.
18117
18118 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18119
18120         * converter.C (dvipdfm_options): New method.
18121
18122 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18123
18124         * vspace.C (isValidLength): Fix for empty input string.
18125
18126 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18127
18128         * LyXAction.C (init): change description of LFUN_FIGURE to
18129         "Insert Graphics"
18130
18131 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18132
18133         * LaTeX.C: add using directive
18134
18135 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18136
18137         * MenuBackend.C (expand): Fix the sorting of the formats.
18138
18139 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18140
18141         * lyx_main.C: tiny error message fix
18142
18143 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18144
18145         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18146         calling fl_initialize(). This fixes the problem with ',' as
18147         decimal separator in text files.
18148
18149 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18150
18151         * trans.C (process): Fix the keymap bug.
18152
18153 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18154
18155         * LaTeX.C (scanAuxFiles): New method. Provides support for
18156         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18157         (scanLogFile) Scan for "run BibTeX" messages.
18158
18159         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18160         OT1 font encoding. Also, load the aecompl package if the ae
18161         package is loaded.
18162
18163         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18164
18165 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18166
18167         * texrow.C (increasePos): turn two error messages into debug
18168         messages.
18169
18170 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18171
18172         * LaTeX.C (scanAux): Handle the \@input macro.
18173         (runBibTeX): Use scanAux().
18174
18175         * language.C (latex_options_): New field.
18176
18177         * LaTeXFeatures.C (getMacros): Add language macros.
18178
18179         * buffer.C (makeLaTeXFile): Small fix.
18180
18181 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18182
18183         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18184
18185         * text2.C: add a using directive.
18186
18187 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18188
18189         * BufferView2.C:
18190         * lyx_gui_misc.h:
18191         * lyxfr1.C:
18192         * lyxfunc.C: kill LyXBell.
18193
18194 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18195
18196         * text.C (IsBoundary): Remove the error message
18197
18198         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18199
18200         * lyxrc.C (setDefaults): Correct initialization value for
18201         font_norm_type.
18202
18203 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18204
18205         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18206         gotoError().
18207
18208         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18209         and GotoNextNote().
18210
18211         * src/LyXAction.C: Added reference-next.
18212
18213         * text.C (InsertChar): Use contains instead of strchr.
18214
18215         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18216
18217 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18218
18219         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18220         alignment commands (when needed).
18221
18222         * text.C (InsertChar): Add ':' to number separator chars.