]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
39d240e13d2c28a9c8f24c4f6c3ff2e5347ba530
[lyx.git] / src / ChangeLog
1 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text.C (read): remove unused variable.
4         (readParToken): remove static Change variable (never good in
5         recursive settings...); add it as a parameter instead.
6
7         * paragraph_pimpl.C (acceptChange): make debug info conditional.
8
9         * metricsinfo.C (PainterInfo): add new member erased_.
10
11         * rowpainter.C (RowPainter): add erased_ member, initialized from
12         PainterInfo. 
13         (paintInset): pass erased_ to Inset::draw.
14
15         * lyxfunc.C (lookupChange): new function. Tells whether change 
16         tracking is disabled at a given postion.
17         (getStatus): disable some actions when in deleted text with change
18         tracking. 
19
20 2005-08-03  John Levon  <levon@movementarian.org>
21         
22         * tabular.C (appendColumn, setMultiColumn): adapt to change to
23         InsetText::clear().
24
25         * paragraph_pimpl.C (markErased): add bool argument and handle it.
26         Also make sure to mark insets recursively.
27         (rejectChange, erase): be recursive
28
29         * paragraph.C (markErased): add bool argument.
30 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
31
32         * lyxfind.C (findNextChange): tiny cleanup.
33
34         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
35         change tracking with the cursor in an inset; make sure the first
36         change is not skipped.
37
38 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
39
40         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
41         tabularStackDirty to work around bug 1919 (tabular needs
42         to know whether its own cell paste buffer or the one of 
43         texted is newer.
44         * CutAndPaste.C: mark tabular_stack_ clean after copy.
45
46 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
47
48         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
49
50 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
51
52         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
53         use old deleteion algorithm when changetracking is on.
54
55 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
56
57         * messages.C (get): add debug output.
58
59 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
60
61         * text.C (cursorX): fix bug 1965: cursor movement at
62         line end broken in RtL.
63         (drawSelection): fix bug 1970: drawing of single-line 
64         selection broken for RtL.
65
66 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         bug 465.
69
70         * dociterator.h (clear, push_back, pop_back): change from
71         protected to public.
72
73         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
74         and changed to just return the value of the item depth; take a
75         ParIterator as argument; take the itemdepth at outer nesting level
76         in account if necessary; cleanup and comment the code.
77         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
78         and changed to just return true if reset is needed; take a
79         ParIterator as argument; cleanup and comment the code.
80         (setCounter): adapt to above changes.
81
82 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
83
84         * text3.C (dispatch): make debug message optional
85
86 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
87
88         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
89         inset. (bug 1963)
90
91 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
92
93         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
94
95 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
96
97         * text.C (insertChar):
98         * text2.C (deleteEmptyParagraphMechanism): take care whether 
99         a blank has been deleted (in change tracking mode) (bug 1254).
100
101 2005-07-20  John Levon  <levon@movementarian.org>
102
103         * text2.C (insertStringAsLines): remove old dubious code,
104         fixing bug 1939.
105
106 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
107
108         * MenuBackend.C (expandToc): use Floating::listName() as title of
109         the floats submenus.
110
111 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
112
113         * toc.[Ch]: Do not use translatable strings (bug 1870).
114
115 2005-07-20  John Levon  <levon@movementarian.org>
116
117         * tabular.C: fix 1748 - setting multicolumn adds
118           left line to the first cell
119
120 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
121
122         bug 1920
123         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
124         pars in one go.
125
126 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
127
128         * messages.C: supress some lyxerr messages
129
130 2005-07-18  Juergen Vigna  <jug@lyx.org>
131
132         * text.C (drawSelection): honor boundary when asking for cursorX.
133
134 2005-07-17  José Matos  <jamatos@fc.up.pt>
135
136         * tabular.C (recalculateMulticolumns): fix handling of one column
137         tables.
138
139 2005-07-17  Juergen Vigna  <jug@lyx.org>
140
141         * text.C (Delete, backspace): fixed so that paragraph with the
142         same layout can be merged by Delete/Backspace.
143
144 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
145
146         * text.C (readParToken): fix spelling.
147
148 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
149
150         * text2.C: fix counter update for DEPM problem reported by
151         Georg Baum
152
153 2005-07-17  Juergen Vigna  <jug@lyx.org>
154
155         * BufferView_pimpl.C (setBuffer): save/restore the
156         cursor/selection when switching buffers
157
158         * buffer.h: 
159         * buffer.C (saveCursor): add saveDocumentIterators to save the
160         cursor when switching buffer.
161
162 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
163
164         * debug.C: fix typo
165         * buffer.C: clarify message
166         
167 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
168
169         * dociterator.C (DocIterator): fix initialization order
170
171 2005-07-17  Juergen Vigna  <jug@lyx.org>
172
173         * text2.C (cursorHome): 
174         * text.C (drawSelection, cursorX): 
175         * dociterator.C (textRow): add boundary to getRow() call
176
177         * paragraph.C (getRow): implementation of below
178
179         * paragraph.h: add parameter boundary for getRow() function
180
181 2005-07-17  José Matos  <jamatos@fc.up.pt>
182
183         * buffer.C:
184         * bufferparams.[Ch]:
185         * tex-strings.[Ch]: new file format, remove support for a4.sty,
186         a4wide.sty and a4widemargins.
187
188 2005-07-17  Juergen Vigna  <jug@lyx.org>
189
190         * text2.C (cursorLeft): fix one of error
191
192 2005-07-17  Juergen Vigna  <jug@lyx.org>
193
194         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
195                    cursorEnd):
196         more fixes for boundary handling
197
198         * text3.C (dispatch): don't reset cursor if boundary has changed
199         on cursor movement.
200
201 2005-07-16  Juergen Vigna  <jug@lyx.org>
202
203         * text2.C (getColumnNearX): hopefully got it right now,
204         check if we are on column 0 for special case.
205
206 2005-07-16  Juergen Vigna  <jug@lyx.org>
207
208         * text2.C (getColumnNearX): handle special case Newline Inset
209
210         * text.C (singleWidth): Just remove bogus check
211
212 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
213
214         * funcrequest.C (split): avoid reading uninitialized char c
215
216 2005-07-16  José Matos  <jamatos@fc.up.pt>
217
218         * buffer.C:
219         * converter.C:
220         * lyxrc.C:
221         * paper.h:
222         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
223         single papersize variable.
224
225 2005-07-16  Juergen Vigna  <jug@lyx.org>
226
227         * text3.C (dispatch): honor boundary when checking if a cursor
228         movement has been done
229
230         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
231         (setCursor, setCursorIntern): fix cursor movement with boundary
232
233 2005-07-16  Juergen Vigna  <jug@lyx.org>
234
235         * text.C (currentState): output the actual Boundary
236
237 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
238
239         * factory.C (createInset): fix bad logic for tabular creation
240
241 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
242
243         * lyx_main.C (init): change some reLyX reference to tex2lyx
244
245 2005-07-16  Juergen Vigna  <jug@lyx.org>
246
247         * dociterator.C (DocIterator): initialize boundary
248
249 2005-07-16  Juergen Vigna  <jug@lyx.org>
250
251         * text2.C (getColumnNearX): Consider rows without trailing blank.  
252
253 2005-07-16  André Pönitz  <poenitz@gmx.net>
254
255         * lyxfont.h: Change order of declarations to give the compiler
256         a better chance to inline things
257
258         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
259         questions on unsaved docs for better scritability
260
261 2005-07-16  André Pönitz  <poenitz@gmx.net>
262
263         * paragraph.h (getChar): remove asserts as the same kind of security
264         can be achieved by using a suitable standard library implementation
265         and the function was in the critical path (25.9% in profiler)
266
267 2005-07-16  Juergen Vigna  <jug@lyx.org>
268
269         * cursor.C (bruteFind2):
270         * bufferview_funcs.C (coordOffset): 
271         * text.C (cursorX,cursorY): Handle cursor position after last char
272         in row before a inset which uses a whole row.
273
274 2005-07-15  José Matos <jamatos@lyx.org>
275
276         * output_plaintext.[Ch] (writeFileAscii): control reference title
277         printing.
278         (asciiParagraph): noparbreak was already deal and was incorrectly
279         used.
280
281 2005-07-15  Juergen Vigna <jug@lyx.org>
282
283         * lyxfunc.C (dispatch): save and restore the cursor after a
284         textclass switch.
285
286 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
287
288         * text.C (backspace): bug 806 for empty keepempty paragraphs we
289         change the layout to default before letting DEPM do its thing.
290
291         * paragraph_funcs.C (breakParagraph): dont reset the layout on
292         keepEmpty paragraphs
293
294         * text.C (setCursorFromCoordinates): add a debug statement
295
296         * text2.C (getColumnNearX): bug 1825 make sure that we don't
297         return a pos that is not on the row
298
299         * output_latex.C (TeXDeeper): get rid of potential dereferencing
300         of past the end iterator
301
302 2005-07-14  André Pönitz  <poenitz@gmx.net>
303
304         * undo.C (recordUndoFullBuffer): implement undo for
305         textclass switches
306
307 2005-07-14  André Pönitz  <poenitz@gmx.net>
308
309         * cursor.C (setSelection): open insets when selection is set there
310         to avoid crashs with cold coord cache
311
312 2005-07-14  André Pönitz  <poenitz@gmx.net>
313
314         * trans_mgr.C (insert): move cursor to the right after inserting
315         a char.
316
317 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
318
319         * BufferView_pimpl.C (update): dampen some of the debug blabbering
320         * factory.C (readInset): ditto
321         * text.C, text2.C: ditto
322
323 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
324
325         * buffer.C: format incremented to 242. There is no file format per
326         se, but the "frenchb" language has been removed from lib/language
327         and has to be translated to "french" by lyx2lyx.
328
329 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
330
331         * cursor_slice.h, dociterator.h: add some documentation
332         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
333
334 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
335
336         * text.C (leftMargin): do not add identation to display() style
337         insets, because they are always centered (bug 1293).
338
339 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
340
341         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
342         formatted_time methods in support/lyxtime.
343
344 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
345
346         * toc.[Ch]: new method getGuiName, which is used by the frontends 
347         to set the toc combo (fixes bug 1870). Make TOC string translatable.
348
349 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
350
351         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
352         StableDocIterator const &)
353         * undo.C (recordUndo): use the above instead of cell.size() comparison
354         (fixes bug 1808; instructed by Andr�.
355
356 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
357
358         * cursor_slice.h: 
359         * dociterator.h: Fix the assert when copying rows/cols in math
360
361 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
362
363         * BufferView_pimpl.C:
364         * LyXAction.C:
365         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
366
367         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
368         (findInset): new functions, refactored from goto Inset that return 
369         the position of a certain inset without setting the buffer's cursor
370         (by Jean-Marc); 
371         (gotoInset): rewrite to call findInset and then set the cursor
372         (by Jean-Marc).
373
374 2005-06-16  Angus Leeming  <leeming@lyx.org>
375
376         * lyxrc.C (output, read): wrap all input and output of paths with
377         calls to os::internal_path and os::external_path, respectively.
378         (output): wrap bind_file inside quotes.
379
380         * format.C (view): enable the viewer to use the '$$s' placeholder.
381
382 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
383
384         * LColor.[Ch] (getFromLaTeXName): new
385
386 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
387
388         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
389
390 2005-06-14  Angus Leeming  <leeming@lyx.org>
391
392         * lyx_main.C (init): ensure that the LyX binary dir is the first
393         element in the PATH on non-POSIX builds.
394
395 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
396
397         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
398
399 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
400
401         * rowpainter.C (paintInset, paintHebrewComposeChar)
402         (paintArabicComposeChar, paintChars): add a LyXFont argument.
403         (paintChars): use getFontSpan to reduce calls to getFont to a
404         minimum; use Paragraph::lookupChange instead of isXXXText.
405         (paintForeignMark): rename LyXFont argument.
406         (paintFromPos): pass a LyXFont object to the various paintXXX
407         methods.
408
409         * FontIterator.C (FontIterator, operator++): use
410         Paragraph::getFontSpan
411
412         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
413         version that returns the font span as a pair.
414
415 2005-06-09  Angus Leeming  <leeming@lyx.org>
416
417         * converter.C (convert): Don't forget "outfile = real_outfile" as
418         the final step in a conversion where the input and output file names
419         are the same. Otherwise, future conversion steps won't work...
420
421 2005-06-09  Angus Leeming  <leeming@lyx.org>
422
423         * lyxsocket.C: remove stub code as it isn't needed by
424         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
425
426 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
427
428         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
429         effectively disabled -x
430
431 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
432
433         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
434         when it actually makes sense.
435
436 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
437
438         * BufferView_pimpl.C: revert to showCursor in connection with
439         Lars's front-end stack
440
441 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
442
443         * text.C (redoParagraph): move cursor right after a bibitem
444         has been inserted.
445
446         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
447
448 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
449
450         * buffer_funcs.C (bufferErrors): fix computation of the end of an
451         error range.
452
453 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
454
455         * BufferView.[Ch] (update):
456         * BufferView_pimpl.[Ch] (update, metrics):
457         * dimension.h (operator==):
458         * lyxfunc.C (dispatch):
459         * metricsinfo.h (ViewMetricsInfo):
460         * rowpainter.C (paintText):
461         * lyxtext.h:
462         * text.C (redoParagraph):
463         * text3.C (dispatch): Make LyX only repaint current paragraph in
464         case of character insert --> speedup. Also fix cursor draw
465         artifacts
466
467 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
468
469         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
470         avoid a crash (bug 1891)
471
472 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
473
474         Fix bug 1892:
475
476         * text2.C (getStringToIndex): constify cur argument.
477
478         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
479         argument has been given
480         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
481         try to invoke LFUN_INSET_APPLY).
482
483         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
484         if no inset was created by doInsertInset
485         (doInsertInset): return true if an inset has been inserted.
486
487 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
488
489         * vspace.C (asGUIName): new method. A version of the space
490         suitable for showing on screen.
491
492 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
493
494         * MenuBackend.C:
495         * lyxrc.C: rename "ASCII" to "Plain Text"
496
497 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
498
499         * buffer_funcs.C (expandLabel): take a Buffer as argument;
500         translate the labelstring.
501         (setCounter): translate labelstring as needed.
502
503         * output_docbook.C (makeCommand): fix expandLabel invokation
504
505 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
506
507         * BufferView.C: fix dialog title
508
509 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
510
511         * lyx_main.C (priv_exec): fix logic error with help from Angus
512         * lyx_main.C (parse_execute): set is_gui = false and remove now
513         obsolete comment about a segfault
514
515 2005-05-18  Angus Leeming  <leeming@lyx.org>
516
517         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
518
519 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
520
521         * tabular.[hC]: added setCellInset to fix tabular paste.
522
523 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
524
525         * buffer.C (save): check if destination is writable before trying
526         to copy a file
527
528 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
529
530         * BufferView_pimpl.C (update): fix processEvents -caused update
531         recursion bug
532
533 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
534
535         * buffer_funcs.C (setCounter): fix test for numbering of
536         environments.
537
538         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
539         depth correctly; use optional argument when it exists
540
541         * lyxtextclass.C: remove unused MaxCounterTags enum
542         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
543         (max_toclevel, min_toclevel): new methods.
544
545         * MenuBackend.C (expandToc2): fix case where depth is smaller than
546         the smallest depth in toc.
547
548         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
549         layouts that should not appear in a table of contents.
550
551 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
552
553         * cursor.h (undispatched, noUpdate): add comments from Andr�
554 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
555
556         * lfuns.h:
557         * LyXAction.C:
558         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
559
560 2005-05-07  André Pönitz  <poenitz@gmx.net>
561
562         * cursor.[Ch] (leaveInset): new function
563
564 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
565
566         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
567
568 2005-05-04  Angus Leeming  <leeming@lyx.org>
569
570         * lyxfunc.C (getStatus): disable the spell checker dialog if
571         none of USE_[AIP]SPELL are defined.
572
573 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
574
575         * tabular.C (setWidthOfCell): remove obsolete comment
576
577 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
578
579         * paragraph.C (bibitem):
580         * buffer_funcs.C (setCounter):
581         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
582
583 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
584
585         * text3.C (getStatus): immediately return after setOnOff
586
587         * rowpainter.C: fix drawing of appendix start
588
589 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
590
591         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
592         SwitchBetweenClasses and remove the unused return value.
593         Handle character styles, too
594
595 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
596
597         * factory.C (createInset): handle undefined character styles
598
599 2005-05-02  Angus Leeming  <leeming@lyx.org>
600
601         * buffer.C: protect the #include of utime.h with a preprocessor
602         guard.
603
604 2005-05-02  Angus Leeming  <leeming@lyx.org>
605
606         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
607         function so that auto-saving works, albeit in a blocking manner.
608
609         * Makefile.am: make compilation of the client sub directory, of
610         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
611         on conditionals set at configure time.
612
613         * SpellBase.[Ch]: no longer an abstract base class. Instead,
614         it can be compiled in its own right but has no-op functionality.
615
616         * aspell.C, pspell.C: remove preprocessor guards. The files should
617         be compiled only if the necessary functionality exists.
618
619         * lyxserver.C, lyxsocket.C: disable on Windows.
620
621 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
622
623         * text.C (leftMargin): Fix the parindent use bug (1764)
624         by dirty trick
625
626 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
627
628         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
629         argument.
630
631 2005-04-25  Angus Leeming  <leeming@lyx.org>
632
633         * Bidi.[Ch]:
634         * coordcache.[Ch]:
635         * ispell.C:
636         * lyxserver.C:
637         * mover.C:
638         * pch.h:
639         include <config.h> in .C files, not .h ones.
640         add licence blurb.
641         protect headers inside preprocessor guards.
642
643 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
644
645         * FuncStatus.h (StatusCodes): document
646
647 2005-04-21  André Pönitz  <poenitz@gmx.net>
648
649         * FuncStatus.h (enabled, onoff): document
650
651 2005-04-19  Angus Leeming  <leeming@lyx.org>
652
653         * BufferView_pimpl.C (cursorToggle): no longer test whether
654         any child processes have been reaped before calling
655         handleCompletedProcesses().
656
657 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
658
659         * text3.C (dispatch): fix, finally fix, the language problem in
660         new lyxtexts, without disabling on-the-fly font changes (Helge's
661         bug report)
662
663 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
664
665         * text3.C (dispatch): set cursor on double/triple click events
666         (bug 1811)
667
668 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
669
670         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
671         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
672
673         * rowpainter.C (paintFirst): simplify the code a little bit. In
674         particular, remove the test for secnumdepth.
675         * text.C (setHeightOfRow): only allocate space for chapter number
676         when updateCounters provided an actual label, instead of looking
677         at secnumdepth directly.
678
679         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
680
681         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
682         paragraphs when secnumdepth is large enough or, for environments,
683         when they are not the first in a sequence.
684
685 2005-04-17  Angus Leeming  <leeming@lyx.org>
686
687         * buffer.C (makeLaTeXFile): replace code to manipulate a path
688         containing space and '~' characters with a call to latex_path().
689
690 2005-04-17  Angus Leeming  <leeming@lyx.org>
691
692         * converter.C (convert): protect all args of convertDefault.sh
693         script with quotes.
694
695 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
696
697         * text3.C (dispatch): change the layout to "Caption" after inserting
698         a float.
699
700 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
701
702         * text3.C (dispatch): fix language problem in newly created
703         textinsets (and main text) in non-english docs
704
705 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
706
707         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
708         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
709         * text3.C (getStatus): disable LFUN_INSET_MODIFY
710
711 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
712
713         * lyxtext.h:
714         * text.C (metrics):
715         * text2.C (getFont):
716         * rowpainter.C (getFont): Fix metrics bug introduced by inset
717         fonts fix
718
719 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
720
721         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
722         output of \item arguments without trailing text.
723
724 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
725
726         * FontIterator.C (operator*): avoid a copy of the font.
727
728 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
729
730         * rowpainter.C (getFont): fix language bug from previous fix
731
732 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
733
734         * rowpainter.C (RowPainter, getFont): fix font inside inset
735         (bugs 1766, 1809)
736
737 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
738
739         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
740         preventing inserted font, deco, delim insets jumping to start of
741         surrounding inset.
742
743 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
744
745         * lyxfunc.C (dispatch): translate message before sending it to the
746         minibuffer.
747
748 2005-03-29  Angus Leeming  <leeming@lyx.org>
749
750         * lyx_main.C (priv_exec): call os::internal_path on each file passed
751         to LyX on the command line.
752
753 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
754
755         * vc-backend.C: use QuoteName to protect file names wherever
756         necessary.
757
758 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
759
760         * buffer.[Ch]:
761         * BranchList.h: fix bugs 1844,1845: document settings don't
762         stick
763
764 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
765
766         * lyxrc.C (setDefaults, read, output, getDescription): add support
767         for tex_allows_spaces.
768
769         * exporter.C (Export): allows files in directory containing spaces
770         if tex_allows_spaces is true.
771
772         * buffer.C (makeLaTeXFile): if the document path contains spaces,
773         output it in double quotes.
774
775 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
776
777         * rowpainter.C: use default text height for drawing change tracker
778         strikeout lines.
779
780 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
781
782         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
783
784 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
785
786         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
787         directory is missing.
788
789 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
790
791         * text2.C: fixed the fix, extended to other case.
792
793 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
794
795         * text2.C: fix for cursor up/down stuck in math [bug 1792]
796
797 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
798
799         * text2.C (cursorUp): get rid of a crash
800         * text.C (x2pos): add an assert
801
802 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
803
804         * lyxfunc.C (getStatus): fix warning when assertions are disabled
805
806         * text3.C:
807         * lyxfunc.C:
808         * dociterator.C: include <boost/current_function.hpp>, which is
809         needed when assertions are disabled.
810
811 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
812
813         * text2.C: fix for stuck cursor when traversing two
814         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
815
816 2005-02-25  Andreas Vox  <avox@arcor.de>
817
818         * output_docbook.C (makeParagraph): suppress trailing newline
819         after a run of paragraphs
820
821 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
822
823         * paragraph.C: fix for confused change tracker when pasting
824         text that begins with a lineseparator. [bug 1827]
825         (setChange(0, Change::INSERTED);)
826
827         * paragraph_funcs.C: fix for lost changes on triple-paste
828         in change tracking mode [bug 1827] (par.setChange()).
829
830 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
831
832         * text2.C (updateCounters, setCounter, expandLabel): move to
833         buffer_funcs.
834
835         * buffer_funcs.C (updateCounters): turn into a free standing
836         function and add a buffer parameter. Remove dead code for tracking
837         labelstring change.
838         (setCounter): change into a free-standing function which gets a
839         dociterator as argument. Use this iterator to fix captions in a
840         simple way. When no float is found above the caption, use the
841         labelstring of the caption layout as default.
842
843         * text.C (breakParagraph, backspace):
844         * text2.C (init, setLayout, changeDepth):
845         * text3.C (dispatch):
846         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
847         updateCounters.
848
849         * dociterator.C (forwardPar): make it much faster by calling
850         forwardPos() only when really necessary.
851
852         * output_docbook.C (makeCommand): adapt to expandLabel move.
853
854         * cursor.C: remove unused variable
855
856 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
857
858         * paragraph_funcs.C: fix crash when pasting insets in change
859         tracking mode [bug 1277] (honour change type in moveItem).
860
861 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
862
863         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
864
865 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
866
867         * BufferView.C (setCursor): change to use a DocIterator.
868         (gotoLabel): use BufferView::setCursor (other part of bug 781).
869         (putSelectionAt): adapt to BufferView::setCursor change.
870
871         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
872         moved here from LyXText and rewritten to use proper cursor
873         methods. Fixes bug 1787, 616 and 835.
874
875         * BufferView_pimpl.C (restorePosition): set the cursor correctly
876         when inside an inset (part of bug 781).
877         (dispatch): adapt to change of BufferView::setCursor.
878         (getStatus, dispatch): handle LFUN_GOTOERROR,
879         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
880
881         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
882         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
883         * text3.C (gotoNextInset, gotoInset): removed.
884
885 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
886
887         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
888
889 2005-02-15  Angus Leeming  <leeming@lyx.org>
890
891         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
892         can be used meaningfully in a comparison.
893
894 2005-02-13  André Pönitz  <poenitz@gmx.net>
895
896         * bufferview_funcs.C (coordOffset): improve cursor drawing
897
898 2005-02-13  André Pönitz  <poenitz@gmx.net>
899
900         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
901         * Cursor.C (dispatch): use fixIfBroken
902         * lyxfunc.C (getStatus): use fixIfBroken
903
904 2005-02-15  Angus Leeming  <leeming@lyx.org>
905
906         * lyx_main.C (error_handler):
907         * lyxfunc.C:
908         * lyxrc.C (setDefaults):
909         s/GetEnv/getEnv/.
910         #include "environment.h".
911
912         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
913
914 2005-02-15  Angus Leeming  <leeming@lyx.org>
915
916         * lyxserver.C (startPipe): squash MSVC warning "local variable
917         'fd' used without having been initialized".
918
919 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
920
921         * BufferView_pimpl.C: revert accidental commit.
922
923 2005-02-14  André Pönitz  <poenitz@gmx.net>
924
925         * dociterator.[Ch]: new member forwardPosNoDescent(),
926         which doesn't enter nested insets.
927         * text2.C (setFont): use forwardPosNoDescent() instead
928         of ForwardPos() (fixes crash on font change).
929
930 2005-02-13  Angus Leeming  <leeming@lyx.org>
931
932         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
933         only if lyxrc.path_prefix is not empty.
934
935 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
936
937         * bufferparams.C (readGraphicsDriver): prevent crash
938
939 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
940
941         * text2.C (setCounter): check for inInset() == 0
942
943 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
944
945         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
946         but use update() to get correct screen display; use convert
947         instead of istringstream.
948         (getStatus): handle LFUN_GOTO_PARAGRAPH
949
950         * lyxfunc.C (dispatch, getStatus): do not handle
951         LFUN_GOTO_PARAGRAPH here.
952
953 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
954
955         * text3.C (dispatch): size() -> depth()
956
957         * text2.C: remove some debug output
958
959         * paragraph.C: ws changes only
960
961         * lyxfunc.C (getStatus): size() -> depth()
962
963         * dociterator.h (clear, push_back, pop_back, internalData,
964         operator[], resize, empty): new functions
965         Make StableDocIterator and operator== be friends. Don't inherit
966         from std::vector use a privat class variable slices_ instead.
967         Modify to fit.
968
969         * dociterator.C: update because of not inheriting from std::vector
970         anymore. Call explictly to slices_ instead. Use depth() instead of
971         size() and top() instead of back()
972
973         * cursor.C: chagne size() -> depth and back() -> top(). Also
974         remove some direct operator[](i) calls in favour of foo[i]
975         (getFont): remove some dead code
976
977         * bufferview_funcs.C (coordOffset): size() -> depth()
978
979         * buffer.C: ws changes only
980
981         * CutAndPaste.C (eraseSelection): back() -> top()
982
983         * BufferView_pimpl.C (selectionRequested): back() -> top()
984
985         * BufferView.C (setCursor): size() -> depth()
986
987 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
988
989         * text3.C (cursorPrevious): return true if depm changed something
990         (cursorNext): ditto
991         (dispatch): rename sl to oldTopSlice, remove moving use the new
992         NoUpdate func attrib instead. Make sure that needsUpdate is set
993         for function that have NoUpdate, but where depm might have changed
994         the buffer anyway.
995
996         * text2.C (cursorLeft): make us return true if depm changed
997         something
998         (cursorRight): ditto
999         (cursorUpParagraph): ditto
1000         (curosrDownParagraph): ditto
1001         (cursorUp, cursorDown): ditto, make sure to read comments in code
1002         (deleteEmptyParagraphMechanism): remove an assert, also return
1003         true if just a single char was deleted.
1004
1005         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1006         cursor that we modify, to avoid modifying an active cursor before
1007         we call setCursor. This allows depm to run. Also return true if
1008         depm deleted something.
1009
1010         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1011         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1012         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1013         something was changed in the buffer because of them (ie. depm run)
1014
1015         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1016         debug messages. Make update by default be false. Make sure that
1017         the result of update is retained throught several calls down to
1018         dispatch.
1019
1020         * LyXAction.h: add a new func_attrib: NoUpdate
1021
1022         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1023         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1024         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1025         and LFUN_WORDLEFT
1026         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1027
1028 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1029
1030         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1031         bv_->owner(), bv_->buffer() by direct references to the private
1032         members.
1033         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1034         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1035         (fitCursor): center() is in BufferView::Pimpl.
1036         (getStatus, trackChanges, dispatch): no need for a temporary buf
1037         variable
1038         (fitCursor, workAreaDispatch): use workarea().workheight()
1039
1040 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1041
1042         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1043
1044 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1045
1046         * buffer.C: format up to 241.
1047         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1048         break if pasting into ERT
1049         * lyxfunc.C (getStatus): suppress mathpanel and
1050         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1051
1052 2005-02-01  Angus Leeming  <leeming@lyx.org>
1053
1054         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1055
1056 2005-02-01  Angus Leeming  <leeming@lyx.org>
1057
1058         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1059         calling fs::is_directory().
1060
1061 2005-01-31  Angus Leeming  <leeming@lyx.org>
1062
1063         * lyx_main.C (priv_exec): specify explicitly the relative location
1064         of the top level build directory when run in-place.
1065
1066 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1067
1068         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1069         LyXText containing the cursor, not the top-level one.
1070
1071         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1072         true.
1073         (insertStringAsLines): rename par to pit; use temporary variable
1074         par to hold a Paragraph; do not store par.layout() in a variable,
1075         since the pointer may die when breaking paragraphs; pass pars to
1076         breakParagraph() instead of Buffer::paragraphs().
1077
1078 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1079
1080         * lyxlex_pimpl.h: #include <fstream>.
1081
1082         * BufferView.[Ch] (getLyXText): add a const version.
1083
1084         * BufferView_pimpl.C: add debug aids.
1085
1086         * RowList_fwd.h:
1087         * buffer.h:
1088         * lyxrow.h:
1089         * paragraph_funcs.h: add commentary explaining what the class does.
1090
1091
1092         * coordcache.[Ch]: add lots of commentary.
1093         (startUpdating, doneUpdating): debug aids.
1094         (arrays, insets, parPos, getParPos): accessors to private data.
1095
1096         * cursor_slice.[Ch] (text): add a const version.
1097         * dociterator.[Ch] (text, innerText): add const versions.
1098
1099         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1100         bool.
1101
1102         * paragraph.C (getRow, pos2ros): add asserts.
1103
1104         * paragraph.h: add commentary. Lots of.
1105
1106         * paragraph.[Ch] (metrucs, draw): removed.
1107
1108         * cursor.C:
1109         * rowpainter.[Ch]: const-correct changes.
1110
1111         * text.C: various obvious clean-ups. Removal of ancient cruft.
1112         Bug fixes, even.
1113
1114 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1115
1116         * vc-backend.C (find_file): rewrite to use boost.filesystem
1117         (scanMaster): ditto
1118
1119         * main.C (main): set default name check for boost.filesystem to
1120         no check
1121
1122         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1123         (open): ditto
1124         (doImport): ditto
1125         (actOnUpdatedPrefs): ditto
1126
1127         * lyx_main.C (init): rewrite to use boost.filesystem
1128         (queryUserLyXDir): ditto
1129
1130         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1131         (getContentsOfAsciiFile): ditto
1132
1133         * lastfiles.C (readFile): rewrite to use boost.filesystem
1134
1135         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1136
1137         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1138         (loadLyXFile): ditto
1139
1140         * buffer.C (Buffer): adjust for destroydir
1141         (getLogName): rewrite to use boost.filesystem
1142         (setFileName): ditto
1143         (save): use fs::copy_file (from fs_extras)
1144
1145         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1146
1147         * LaTeX.C (run): rewrite to use boost.filesystem
1148         (scanAuxFiles): ditto
1149         (handleFoundFile): ditto
1150
1151 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1152
1153         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1154
1155         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1156
1157 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1158
1159         * lyxlayout.[Ch]: change some vars from float to double
1160
1161         * buffer.C (readFile): make a local var const
1162
1163         * Several files: use convert<> instead of atoi,strToXXX and friends
1164
1165 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1166
1167         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1168         holds the contents of packages.lst. New functions getAvailable
1169         and isAvailable to parse and check that list, resp.
1170
1171         * LyXAction.C:
1172         * lfuns.h:
1173         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1174
1175         * bufferparams.[Ch]: new param output_changes.
1176
1177         * Buffer.C: increase file format to 240.
1178         Use output_changes and isVailable.
1179
1180         * changes.[Ch]:
1181         * paragraph.C:
1182         * paragraph_pimpl.C: Use output_changes and isVailable.
1183
1184 2005-01-23  Angus Leeming  <leeming@lyx.org>
1185
1186         * output_latex.C: #include "insetbibitem.h", rather than
1187         forward declare function bibitemWidest.
1188
1189 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1190
1191         * lyx_main.C (init): make it compile on the Mac.
1192
1193 2005-01-20  Angus Leeming  <leeming@lyx.org>
1194
1195         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1196         (setLyXMisc): (char string literal) != (char string literal) is
1197         performing a comparison on the addresses. Convert one operand
1198         explicitly to string to guarantee expected behaviour.
1199         From MSVC warning.
1200
1201 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1202
1203         * buffer.C:
1204         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1205
1206         * output_plaintext.C: remove unneeded #include gzstream.h.
1207
1208 2005-01-20  Angus Leeming  <leeming@lyx.org>
1209
1210         * SpellBase.h: rename some of the elements of the Result enum.
1211
1212         * aspell_local.h:
1213         * ispell.h:
1214         * pspell.h:
1215         * aspell.C (check):
1216         * ispell.C (check):
1217         * pspell.C (check): ditto
1218
1219 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1220
1221         * buffer.C: add #include <fstream>.
1222
1223         * lyx_main.C (init): Compile fix.
1224
1225         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1226
1227 2005-01-20  Angus Leeming  <leeming@lyx.org>
1228
1229         * mover.h: change commentary to reflect the changed meaning of
1230         the $$s placeholder.
1231
1232 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1233
1234         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1235
1236         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1237
1238 2005-01-20  Angus Leeming  <leeming@lyx.org>
1239
1240         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1241         printing diagnostic data by not dereferecing an iterator past the
1242         end.
1243
1244 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1245
1246         * buffer.C (readHeader): use "&&" rather than "and".
1247
1248         * lyxserver.h (inPipeName, outPipeName): make these const.
1249
1250 2005-01-19  Angus Leeming  <leeming@lyx.org>
1251
1252         * lyx_main.C (error_handler, init): protect SIGHUP with
1253         #ifdef SIGHUP guards.
1254
1255 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1256
1257         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1258
1259 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1260
1261         * text.C (setHeightOfRow): add a margin at the top and bottom of
1262         the document (bug 1761)
1263
1264 2005-01-17  Angus Leeming  <leeming@lyx.org>
1265
1266         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1267         with "python ". Workaround for a brain-dead Windows.
1268
1269 2005-01-16  Angus Leeming  <leeming@lyx.org>
1270
1271         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1272         for MacOSX and Windows to use prependEnvPath.
1273         Strip out the hard-coded block to add elements to the PATH for
1274         MacOSX and replace it with a call to prependEnvPath using the
1275         contents of LyXRC::path_prefix.
1276         (queryUserLyXDir): strip out the code to run reconfigure, instead
1277         returning a boolean indicating the necessity to do so.
1278         (reconfigureUserLyXDir): contains the code to reconfigure the
1279         user support directory. Is now called after the various LyXRC data
1280         files have been read.
1281
1282         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1283
1284 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1285
1286         * converter.[Ch] (convert): take a new parameter try_default. Use
1287         a default converter (imagemagick) if try_default is true.
1288
1289 2005-01-13  Angus Leeming  <leeming@lyx.org>
1290
1291         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1292         os::cygwin_path_fix.
1293         (write): output LyXRC::cygwin_path_fix as necessary.
1294
1295 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1296
1297         * lyxrc.h:
1298         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1299
1300 2005-01-12  Angus Leeming  <leeming@lyx.org>
1301
1302         * lyx_main.C (init): set the PATH variable to include the
1303         directory containing the LyX binary when running on Mac or Windows.
1304
1305 2005-01-12  Angus Leeming  <leeming@lyx.org>
1306
1307         * lyx_main.C (init): remove cruft that purports to set the locale
1308         dir. It doesn't and is not needed anyway.
1309
1310 2005-01-10  Angus Leeming  <leeming@lyx.org>
1311
1312         * Makefile.am: remove the lyx_main.C special casing.
1313
1314         * BufferView_pimpl.C:
1315         * bufferlist.C:
1316         * exporter.C:
1317         * lyx_cb.C:
1318         * lyx_main.C:
1319         * lyxfunc.C:
1320         * messages.C: use support/package.h to provide the paths to the
1321         various directories used by LyX.
1322
1323 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1324
1325         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1326         layout if pasting into an empty paragraph)
1327
1328 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1329
1330         * tex-accent.C: add <string>
1331
1332 2005-01-06  José Matos  <jamatos@lyx.org>
1333
1334         * ParagraphParameters.C (write): put every parameter in its own line.
1335         * paragraph.C (write): reduce number of consecutive empty lines exported.
1336         * buffer.C (LYX_FORMAT): increase file format to 239.
1337
1338 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1339
1340         * everywhere: change support/tostr.h -> support/convert.h
1341
1342         * tabular.C: make all write_attributes templates, tostr -> convert
1343
1344         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1345         (emptyTag): and -> &&, and fix type for ret from getChar
1346         (getFirstWord): fix type for ret from getChar
1347         (onlyText): and -> &&
1348         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1349         getChar
1350
1351         * toc.C (goTo, action):
1352         * text3.C (dispatch):
1353         * text.C (currentState):
1354         * tex-accent.C (DoAccent):
1355         * sgml.C:
1356         * lyxrc.C:
1357         * lyxfunc.C (menuNew):
1358         * lyxfinc.C (replace):
1359         * counters.C (laberItem):
1360         * bufferview_funcs.C (font2string):
1361         * bufferparams.C (writeFile):
1362         * buffer.C (readFile):
1363         * Spacing.C (set):
1364         * MenuBackend.C: tostr -> convert
1365
1366         * LaTeX.C (runMessage): fix format
1367         (scanAuxFiles): tostr -> convert
1368
1369         * BufferView_pimpl.C (savePosition): fix format
1370         (restorePosition): ditto
1371         (dispatch): ditto
1372
1373 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1374
1375         * Spacing.[Ch]: New method getValueAsString().
1376
1377         * Spacing.[Ch]:
1378         * bufferparams.C:
1379         * ParagraphParameters.C:
1380         * lyxlayout.C:
1381         * text.C:
1382         * text3.C: store/read spacing value as string.
1383
1384         * rowpainter.C: change float value (spacing_val) to double.
1385
1386         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1387         broken custom document spacing).
1388
1389 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1390
1391         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1392         namespace, also more use of temp references and const
1393
1394         * cursor.[Ch] (getStatus): move to lyxfunc.C
1395
1396         * bufferparams.C: reformat slightly
1397
1398         * bufferview_funcs.C (font2string): constify arg
1399
1400         * changes.C:
1401         * converter.C:
1402         * counters.C:
1403         * bufferlist.C:
1404         * buffer_funcs.C: (many funcs): constify arg on function
1405         definitions, also make more local vars const, also add ASSERTS on
1406         pointer args.
1407
1408         * buffer.C (LYX_FORMAT): put const in correct place
1409         (many funcs): constify arg on function definitions, also make
1410         more local vars const
1411
1412         * aspell_local.h: remove "struct" from typdef setup
1413
1414         * aspell.C (check): make word_ok const
1415         (nextMiss): simplify slightly
1416         (error): ditto
1417
1418 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1419
1420         * lyxrc.[Ch]: store all float values as strings.
1421         use int (not float) for lyxrc.dpi.
1422
1423 2005-01-04  Angus Leeming  <leeming@lyx.org>
1424
1425         * lyx_cb.C (Reconfigure):
1426         * lyx_main.C (queryUserLyXDir):
1427         to run the <system_lyxdir>/configure correctly on Windows, prefix
1428         the path to the script with "sh " when generating the string that
1429         is passed to system().
1430
1431 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1432
1433         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1434
1435 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1436
1437         * lyxlength.C (asLatexString): get rid of setprecision
1438
1439 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1440
1441         * text2.C (setLayout): remove unused variable endpit.
1442         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1443
1444         * paragraph.C (onlyText): remove unused variable style.
1445
1446         * cursor.C (bruteFind): remove unused variables beg and end.
1447
1448         * Makefile.am (dist_noinset_DATA): not needed anymore
1449
1450         * cheaders/*: remove.
1451
1452 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1453
1454         * text3.C: fix LFUN_MATH_MODE.
1455
1456 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1457
1458         * buffer_funcs.C (countWords): new function. Counts words between
1459         two iterators.
1460
1461         * BufferView_pimpl.C (getStatus, dispatch): handle
1462         LFUN_WORDS_COUNT.
1463
1464         * LyXAction.C (init):
1465         * lfuns.h: add LFUN_WORDS_COUNT.
1466
1467 2004-12-19  Angus Leeming  <leeming@lyx.org>
1468
1469         * buffer.C (save): s/slashify_path/internal_path/.
1470
1471 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1472
1473         * lyxfind.C (findChange): do not search for end of pars, because
1474         the change tracker cannot handle this (fixes bug 1719).
1475
1476 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1477
1478         * paragraph.[Ch] (autoBreakRows): remove
1479
1480         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1481
1482         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1483         avoid using the paragraph one
1484
1485         * text2.C (LyXText, insertStringAsLines): adjust
1486
1487 2004-12-16  Angus Leeming  <leeming@lyx.org>
1488
1489         * bufferlist.C:
1490         * lyx_main.C:
1491         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1492
1493 2004-12-14  Angus Leeming  <leeming@lyx.org>
1494
1495         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1496
1497         * bufferlist.C (emergencyWrite):
1498         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1499         GetEnvPath("HOME").
1500
1501 2004-12-14  Angus Leeming  <leeming@lyx.org>
1502
1503         * main.C: (main): no longer pass pointers to os::init.
1504
1505 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1506
1507         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1508         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1509
1510 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1511
1512         * lyxfunc.C:
1513         * text3.C: remove selection_possible global flag
1514
1515 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1516
1517         * text2.C (getSelectionSpan): remove
1518         (changeDepth, changeDepthAllowed): adjust
1519
1520 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1521
1522         * Makefile.am (BOOST_LIBS): use boost variables
1523
1524 2004-12-03  José Matos  <jamatos@lyx.org>
1525
1526         * buffer.C: format up to 238.
1527
1528 2004-12-03  José Matos  <jamatos@lyx.org>
1529
1530         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1531
1532 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1533
1534         * cursor.C (goUpDown): remove call to idxUpDown2
1535
1536 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1537
1538         * tabular.[Ch]: use size_t-like types for cell, row and column
1539         indices
1540
1541 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1542
1543         * lyxfunc.C (getStatus): do not lose previous information when
1544         calling BufferView::getStatus; do not set a default "Command
1545         disabled" message at the beginning, but just before returning.
1546
1547 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1548
1549         * cursor.h (getStatus): add better comment from src/cursor.C
1550
1551 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1552
1553         * text3.C (getStatus): return false when the lfun is not handled
1554
1555 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1556
1557         * broken_headers.h: remove
1558
1559         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1560
1561 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1562
1563         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1564         offset_ref accessors
1565
1566         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1567         top_y_, merge fitcursor with update
1568         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1569         coord scheme
1570         (metrics): introduce
1571         (workAreaDispatch): adapt to new coord scheme
1572         (redoCurrentBuffer): remove
1573
1574         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1575
1576         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1577         CurStatus enum.
1578
1579         * coordcache.[Ch]: add paragraph cache and helpers
1580
1581         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1582         adjust everywhere
1583
1584         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1585         (targetX, setTargetX): introduce
1586
1587         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1588         baseline -> ascent, as the rest of lyx
1589
1590         * lyxtext.h: remove redoParagraphs, updateParPositions,
1591         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1592         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1593         have ascent/descent (ascent is ascent of first par)
1594
1595         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1596         step of BufferView
1597
1598         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1599
1600         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1601
1602         * pariterator.C: fix infinite loop introduced in par->pit renaming
1603
1604         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1605         in insets and LyXText, draw two off-screen paragraphs using
1606         NullPainter, and adapt to new coord scheme
1607
1608         * text.C:
1609         * text2.C:
1610         * text3.C: adapt lfun handlers to the new coord scheme, which
1611         means: there's only guaranteed coord information for onscreen pars
1612         plus one above and one below. This implies that one can do search
1613         from y coordinates in the range [-1,workHeight]
1614
1615 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1616
1617         * rename a lot of InsetOld to InsetBase
1618
1619 2004-11-25  Angus Leeming  <leeming@lyx.org>
1620
1621         * BufferView_pimpl.C:
1622         * lyx_cb.C:
1623         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1624
1625 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1626
1627         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1628         call BufferView::getStatus if LCursor::getStatus did nothing
1629         (setStatusMessage, getStatusMessage): removed.
1630
1631         * FuncStatus.C (message): new methods. Used to provide an error
1632         message indicating why a command is disabled.
1633         (clear, |=, FuncStatus): update for message.
1634
1635 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1636
1637         * lyxfunc.C (dispatch): always call sendDispatchMessage
1638
1639 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1640
1641         * BufferView.C:
1642         * BufferView_pimpl.C:
1643         * CutAndPaste.C:
1644         * FontIterator.C:
1645         * buffer.C:
1646         * cursor.C:
1647         * cursor_slice.[Ch]:
1648         * dociterator.[Ch]:
1649         * lyxfind.C:
1650         * paragraph_funcs.C:
1651         * pariterator.C:
1652         * rowpainter.C:
1653         * text.C:
1654         * text2.C:
1655         * text3.C:
1656         * undo.C: par->pit renaming
1657
1658 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1659
1660         * tabular.C (cellstruct): use initialization, store a shared_ptr
1661         to insettext instead of the insettext directly, adjust to fit.
1662         (operator=):  new function
1663         (swap): new function
1664         (rowstruct): use initialization
1665         (columnstruct): use initialization
1666         (ltType): use initialization
1667
1668
1669         * lyxlength.h (swap): new function
1670
1671         * LColor.[Ch] (operator=): use the common semantics
1672
1673 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1674
1675         * lyxfind.C (findNextChange): update the bufferview after setting
1676         the selection.
1677
1678 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1679
1680         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1681         number of InsetOptArgs has already been inserted.
1682
1683         * output_latex.C (latexOptArgInsets): new method. This outputs all
1684         the optarg insets, up to the limit defined in the layout file.
1685         (optArgInset): removed
1686         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1687
1688 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1689
1690         * paragraph.C (isLetter): remove special spellchecker-related
1691         code; return true also for digits
1692         (isWord, isKomma): remove
1693
1694         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1695         * lyxfind.C (MatchString()): use isLetter instead of isWord
1696
1697 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1698
1699         * pariterator.h (operatir=): comment out un-implemented member
1700         function.
1701
1702         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1703         static cast.
1704
1705 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1706
1707         * lyxfont.h: include LColor.h to satisfy concept checks.
1708
1709 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1710
1711         * pariterator.h: add typdefs for value_type, difference_type,
1712         pointer and reference to satisfy concept checks. Also add default
1713         constructor for same reason.
1714
1715         * pariterator.C (operator++): add post-increment operator to
1716         satisfy concept checks.
1717
1718         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1719         checks.
1720
1721         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1722
1723         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1724         checks. Also rename base_type to BaseType to follow naming
1725         standard better.
1726
1727         * FloatList.h: include Floating.h to satisfy concept checks.
1728
1729 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1730
1731         * lyxfunc.C (getStatus): when the origin of the request is menu or
1732         toolbar, and the LyXView does not have focus, do as if there was
1733         no buffer (bug 1720)
1734
1735         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1736         FuncRequest to individual entries of LFUN_SEQUENCE
1737
1738 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1739
1740         * output_latex.C (TeXOnePar): override runparams.moving_arg
1741         according to the needprotect value of the current paragraph (bug
1742         1739)
1743
1744         * paragraph.C (simpleTeXOnePar): no need to override
1745         runparams.moving_args here
1746
1747 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1748
1749         * vspace.C: fix off-by-one-error, related to fix #1682
1750
1751 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1752
1753         * lengthcommon.C: a more general fix for bug 1682
1754
1755 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1756
1757         * text.C (backspace): fix crash
1758
1759 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1760
1761         * format.[Ch] (getFormatFromFile): new method
1762         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1763
1764 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1765
1766         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1767
1768 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1769
1770         * lyxfunc.C (dispatch): remove the verbose argument
1771         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1772         instead
1773
1774         * kbmap.C (defkey): set the origin of func to KEYBOARD
1775
1776         * MenuBackend.C (MenuItem):
1777         * ToolbarBackend.C (add): set the origin of func to UI
1778
1779         * funcrequest.[Ch]: add origin member, which indicates which part
1780         of LyX requests an action
1781
1782 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1783
1784         * converter.C (move): don't lie in the error message
1785         * converter.h (isReachable, move): document
1786
1787 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1788
1789         * buffer.C: remove unused using lyx::support::atoi
1790         * paragraph_funcs.C: ditto
1791
1792 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1793
1794         * bufferlist.C (exists): use bind and equal_to instead of
1795         compare_memfun
1796         (getBuffer): ditto
1797         * lyxtextclasslist.C (NumberOfClass): ditto
1798
1799         * cursor.C (insert): use for_each instead of explicit for loop
1800
1801         * bufferlist.C (getFileNames): use std::transform and
1802         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1803
1804         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1805         for loop
1806
1807         * buffer.C (changeLanguage): use for_each instead of explicit for
1808         loop
1809         (hasParWithID): implement using getParFromID
1810
1811         * LaTeXFeatures.C: ws change only
1812
1813         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1814         to cleanup a bit.
1815
1816         * BufferView_pimpl.C (trackChanges): use for_each instead of
1817         expilicit for loop
1818
1819 2004-11-04  André Pönitz  <poenitz@gmx.net>
1820
1821         * undo.h:
1822         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1823
1824         * dociterator.C (asDocIterator): use hard assert again.
1825
1826 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1827
1828         * lyxlength.C (asLatexString): rewrite so that it does not use
1829         snprintf anymore
1830
1831 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1832
1833         * text3.C (specialChar, dispatch): make sure cursor moves to the
1834         right after inserting an inset
1835
1836 2004-11-02  José Matos  <jamatos@lyx.org>
1837
1838         * output_docbook.C (docbook):
1839         * paragraph.C (getID):
1840         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1841         garantee that the output is always legal.
1842
1843         * tabular.C (docbook):
1844         * outputprams.[Ch]: remove mixed contents.
1845
1846 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1847
1848         * text2.C (setCounter): prevent endless loop
1849
1850 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1851
1852         * exporter.C (copyFile): use the mover instead of support::copy()
1853         * exporter.C (Export): pass format and latex name to copyFile()
1854         * exporter.h (addExternalFile): document
1855         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1856
1857 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1858
1859         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1860
1861 2004-10-30  José Matos  <jamatos@lyx.org>
1862
1863         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1864         text and no inset or font change. This allows to use CDATA
1865         sections just for the whole paragraph.
1866
1867 2004-10-30  José Matos  <jamatos@lyx.org>
1868
1869         * paragraph.C (getFirstWord): remove unused variable.
1870
1871 2004-10-30  José Matos  <jamatos@lyx.org>
1872
1873         * paragraph.C (getFirstWord): the content should always be escaped
1874         there.
1875         (simpleDocBookOnePar):
1876         * output_docbook.C (makeEnvironment): replace reference to CDATA
1877         to style pass_thru.
1878
1879 2004-10-30  José Matos  <jamatos@lyx.org>
1880
1881         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1882
1883 2004-10-30  José Matos  <jamatos@lyx.org>
1884
1885         * output_docbook.C (makeParagraphs):
1886         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1887         standard paragraph has only a given type of content drop the wrapper.
1888
1889 2004-10-29  José Matos  <jamatos@lyx.org>
1890
1891         * output_docbook.C (makeEnvironment):
1892         * sgml.C (openTag):
1893         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1894
1895 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1896
1897         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1898         (cleanID): sanitize any id.
1899
1900 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1901
1902         * buffer.C, lyxlex_pimpl.C:
1903         * lyxlex_pimpl.C (setFile):
1904         s/getExtFromContents/getFormatFromContents/
1905
1906 2004-10-28  José Matos  <jamatos@lyx.org>
1907
1908         * output_docbook.C (makeEnvironment): move id to broadest possible
1909         scope.
1910
1911         * sgml.C (openTag): apply substitution of <> for all attributes.
1912
1913 2004-10-28  José Matos  <jamatos@lyx.org>
1914
1915         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1916         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1917         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1918
1919         * sgml.[Ch]: new version for open and closeTag for paragraph and
1920         for strings. Now they handle the ids of paragraphs.
1921
1922 2004-10-26  Angus Leeming  <leeming@lyx.org>
1923
1924         * Makefile.am: add mover.[Ch].
1925
1926         * converter.C (convert, move): use the new Movers to move external
1927         files to the temp directory.
1928
1929         * lyx_main.C (init): ensure that the global system_movers data
1930         is initialised.
1931
1932         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1933         preferences file.
1934
1935         * mover.[Ch]: new files, defining a Mover as a utility to move an
1936         external file between directories and, if necessary, manipulate this
1937         file using a helper script.
1938
1939 2004-10-25  José Matos  <jamatos@lyx.org>
1940
1941         * output_docbook.C (makeCommand): merge two if's that tested the
1942         same condition.
1943
1944 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1945
1946         * sgml.C (escapeString): fix warning in a better way
1947
1948 2004-10-25  José Matos  <jamatos@lyx.org>
1949
1950         * sgml.C (escapeString): import the require boosts header file for
1951         tie, and avoid a signed unsigned comparison.
1952
1953 2004-10-25  José Matos  <jamatos@lyx.org>
1954
1955         * sgml.h: add #include <string>
1956
1957 2004-10-25  José Matos  <jamatos@lyx.org>
1958
1959         * sgml.[Ch] (escapeString): new function to escape all the string.
1960
1961 2004-10-24  José Matos  <jamatos@lyx.org>
1962
1963         * paragraph.[Ch] (getFirstWord): new function to get the first
1964         word. Useful for description.
1965         (simpleDocBookOnePar): remove depth argument, add another that
1966         says where to start the paragraph.
1967
1968         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1969         use the new functions to fix cleanly the support for descriptions.
1970
1971 2004-10-24  José Matos  <jamatos@lyx.org>
1972
1973         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1974         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1975         * output_linuxdoc.C (linuxdocParagraphs):
1976         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1977         add buffer as argument.
1978
1979 2004-10-24  José Matos  <jamatos@lyx.org>
1980
1981         * output_docbook.C (makeEnvironment, searchEnvironment): place
1982         CDATA inside paragraphs and fix scope for listitems.
1983
1984 2004-10-24  José Matos  <jamatos@lyx.org>
1985
1986         * output_docbook.C: remove using statement for stack.
1987
1988 2004-10-23  José Matos  <jamatos@lyx.org>
1989
1990         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1991         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1992         docbook. The new scheme is recursive and makes use of iterators, the
1993         same as latex export works.
1994         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1995         directly with the paragraph contents. This code was moved up to
1996         output_docbook.C (docbookParagraphs).
1997         * sgml.C (openTag, closeTag): removed unneeded newlines.
1998         (closeEnvTags) removed.
1999
2000 2004-10-23  André Pönitz  <poenitz@gmx.net>
2001
2002         * undo.C (textUndoOrRedo):
2003         * dociterator.C (asDocIterator): work around crash
2004
2005         * cursor.C (getStatus): replace ASSERT by more verbose error message
2006           and manual correction of the problem. Should increase stability
2007           while providing more sensible information.
2008
2009 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2010
2011         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2012
2013         * bufferlist.C (previous, next): new methods
2014
2015         * lfuns.h:
2016         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2017
2018 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2019
2020         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2021         entities to preamble.
2022
2023 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2024
2025         * messages.C (Pimpl): strip off translation context information
2026
2027 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2028
2029         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2030         the cursor is correct (bug 1694)
2031
2032 2004-10-13  José Matos  <jamatos@lyx.org>
2033
2034         * output_docbook.C (docbookParagraphs): fix closing tags in the
2035         end of the document.
2036
2037 2004-10-09  José Matos  <jamatos@lyx.org>
2038
2039         * buffer.C: format up to 237.
2040         * bufferparams.C (write): use tostr to convert booleans to strings.
2041
2042 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2043
2044         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2045
2046 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2047
2048         * LaTeX.C: implement use of babel language in xindy.
2049
2050 2004-10-05  José Matos  <jamatos@lyx.org>
2051
2052         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2053         Add new translators to help reading and writing the lyx file.
2054
2055 2004-10-05  José Matos  <jamatos@lyx.org>
2056
2057         * ParagraphParameters.C (read):
2058         * text.C (readParToken): replace nexToken by more appropriate lex
2059         methods.
2060
2061 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2062
2063         * LaTeX.C (runMakeIndex):
2064         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2065         (usually 'makeindex') configurable.
2066
2067         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2068         with a variable rather than with a number.
2069
2070 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2071
2072         * output_latex.C (TeXOnePar): make sure font setting is the first
2073         thing that gets output (and the last at the end). Should fix bug
2074         1404.
2075
2076 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2077
2078         * pch.h: use proper signal include
2079
2080         * LaTeX.h: Use preferred calling of Boost.Signal
2081         * buffer.h: ditto
2082
2083 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2084
2085         * pch.h: dont include <boost/function/function0.hpp>
2086
2087         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2088
2089         * paragraph_pimpl.h: remove usage of ShareContainer
2090
2091         * paragraph_pimpl.C: remove initialization of ShareContainer.
2092
2093 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2094
2095         Fix bug #1666
2096
2097         * BufferView.C (putSelectionAt): change the semantics when
2098         backwards == true: now, this just swaps cursor and anchor wrt the
2099         forward case
2100
2101         * BufferView.h (putSelectionAt): add some documentation
2102
2103         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2104         make sure backwardChar is done at least once (to avoid getting
2105         stuck)
2106         (findNextChange): use putSelectionAt in the forward direction
2107         (operator()): use Paragraph::isWord
2108
2109 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2110
2111         * Spacing.C (set): c_str fix
2112
2113 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2114
2115         * lyx_cb.C (Reconfigure): quote the name of configure script in
2116         case it contains spaces
2117
2118 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2119
2120         * client: new dir
2121
2122         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2123         (BOOST_LIBS): use top_buildir when looking for the file
2124
2125 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2126
2127         * pch.h: do not use include boost/format.hpp, multiple symbols
2128                 will result (gcc bug)
2129
2130
2131 2004-08-23  José Matos  <jamatos@lyx.org>
2132
2133         * bufferparams.C (readToken): fix reading of the author field.
2134
2135 2004-08-20  José Matos  <jamatos@lyx.org>
2136
2137         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2138
2139 2004-08-20  José Matos  <jamatos@lyx.org>
2140
2141         * lyxlex.[Ch] (findToken): remove function.
2142
2143         * ParagraphParameters.C (findToken):
2144         * bufferparams.C (findToken): replace call for previous function
2145         with local copy. This local function has one more argument, the
2146         read string argument.
2147
2148 2004-08-16  José Matos  <jamatos@lyx.org>
2149
2150         * ParagraphParameters.C (write):
2151         * Spacing.C (writeFile):
2152         * bufferparams.C (writeLaTeX):
2153         * lyx_cb.C (Reconfigure):
2154         * paragraph.C (write):
2155         * tabular.C (write): remove unnecessary space at end of line.
2156
2157
2158 2004-08-16  José Matos  <jamatos@lyx.org>
2159
2160         * text.C (readParagraph): remove debug message.
2161
2162 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2163
2164         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2165         crash
2166
2167         * output_plaintext.C (asciiParagraph): set depth correctly
2168
2169         * outputparams.h: add member depth
2170
2171         * paragraph_funcs.C (ownerPar): remove.
2172
2173         * text2.C (setCounter): remove first_pit; comment out some
2174         non-working code that uses ownerPar
2175
2176         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2177         uses ownerPar
2178
2179 2004-08-16  José Matos  <jamatos@lyx.org>
2180
2181         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2182         For the same level of importance use the same chanel to report problems.
2183         (read): add code to deal with \begin_body and \end_body.
2184
2185
2186 2004-08-15  José Matos  <jamatos@lyx.org>
2187
2188         * lyxlex.C (getString): fix comment, buffer::readBody is now
2189         buffer:readDocument.
2190
2191         * tex-strings.C (string_papersize): Default -> default,
2192         Custom -> custom, for consistency with other options.
2193
2194 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2195
2196         * pch.h: new file
2197
2198         * Makefile.am: support pch
2199
2200 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2201
2202         * text.C (readParToken): remove the static LyXFont variable and
2203         pass it as a parameter instead. This fixes a nasty bug where an
2204         inset will be inserted with a bad font in some situations
2205         (readParagraph): adapt
2206
2207         * text2.C (setCounter): reduce number of calls to pars_[pit]
2208
2209         * text.C (singleWidth): add an assert, fix a test
2210
2211         * rowpainter.C (paintText): reduce number of calls to singleWidth
2212
2213         * paragraph.C (isHfill):
2214         (isNewline): ws only
2215
2216 2004-08-14  André Pönitz  <poenitz@gmx.net>
2217
2218         * text.C:
2219         * text2.C:
2220         * rowpainter.C:
2221         * lyxtext.h (several functions): use a Paragraph & argument
2222         instead of par_type
2223
2224 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2225
2226         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2227
2228         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2229
2230         * text.C (singleWidth): remove useless test
2231
2232 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2233
2234         * tabular.h: remove bogus comments
2235
2236         * tabular.C (getDescentOfRow):
2237         (isPartOfMultiColumn): add assertions
2238
2239         * lyxlength.C (inPixels): remove #warning
2240
2241 2004-08-14  André Pönitz  <poenitz@gmx.net>
2242
2243         * paragraph.h: inline getChar()
2244
2245         * BufferView.h: remove unused declarations
2246
2247 2004-08-14  José Matos  <jamatos@lyx.org>
2248
2249         * Buffer.[Ch] (readDocument): new name for old readBody.
2250         * Buffer.C: new file format, new keywords: \begin_document,
2251         \begin_header, \begin_body, \end_body.
2252
2253         * bufferparams.C (readToken): replace all calls to lex.nextToken
2254         by lex.next(). Do the same to eatLine except where really needed.
2255
2256         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2257         line when writing to the lyx file.
2258
2259         * output_plaintext.C (asciiParagraph): fix Bibliography style
2260         handling.
2261
2262         * text.C (read): fix end of file handling.
2263
2264 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2265
2266         * MenuBackend.C (Menu::operator[]): new method to access
2267         individual menu items
2268         (Menu::hasFunc): new method. search for an item that corresponds
2269         to a given func
2270         (MenuBackend::specialMenu): new method
2271         (MenuBackend::expand): if a special menu has been set, skip
2272         entries whose func() appears in this menu
2273
2274 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2275
2276         * text3.C: use Debug::DEBUG a bit more
2277
2278         * text.C (leftMargin): try to simplify a tiny bit change var x to
2279         l_margin. Dont output the wide margins always.
2280         (rightMargin): no margin in inner texts
2281
2282         * rowpainter.h (nestMargin): new func
2283         (changebarMargin): new func
2284         (rightMargin): new func
2285
2286         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2287         now functions.
2288         (paintLast): ditto
2289
2290         * factory.C (createInset): modify setDrawFrame
2291
2292         * cursor.C: use Debug::DEBUG a bit more
2293
2294 2004-08-14  André Pönitz  <poenitz@gmx.net>
2295
2296         * coordcache.[Ch]:
2297         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2298         cache for all insets in (at least partially) visible (top-level)
2299         paragraphs.
2300
2301         * BufferView_pimpl.C: reset external coord cache before every update.
2302         This means the coord cache only contains valid entries.
2303
2304 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2305
2306         bug 1096
2307         * BufferView_pimpl.C (getInsetByCode): move function out of class
2308         and change in to a template in anon namespace. Also fix to do what
2309         suits us better.
2310
2311 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2312
2313         bug 1305
2314         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2315         of char
2316         (breakParagraph): rename par to par_offset and use a local
2317         reference. Add code to keep the language over a rebreak.
2318         (breakParagraphConservative): rename par to par_offset, use a
2319         local reference
2320         (mergeParagraph): ditto
2321         (outerHook): ditto
2322         (isFirstInSequence): ditto
2323         (outerFont): rename pit to par_offset
2324
2325         * paragraph.C: ws change
2326         * paragraph.h: ditto
2327         * text3.C: ditto
2328         * text.C: ditto
2329
2330 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2331
2332         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2333         treatment for ']'
2334
2335         * paragraph.C (simpleTeXOnePar): when we have a \item with
2336         optional argument, enclose the argument with curly brackets (in
2337         case it contains a closing square bracket)
2338
2339         * text2.C (editXY):
2340         * text2.C (editXY):
2341         * text3.C (checkInsetHit): constify
2342
2343 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2344
2345         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2346         documents (bug 1629)
2347
2348 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2349
2350         Fix toggling of collapsable insets with the mouse (bug 1558)
2351
2352         * lyxfunc.C (dispatch): adapt to LCursor changes
2353
2354         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2355         make sure that dispatch is not invoked twice
2356
2357         * cursor.C (needsUpdate): new method
2358         (dispatch): return void
2359         (result): new method, to access the DispatchResult of the cursor.
2360
2361 2004-08-13  José Matos  <jamatos@lyx.org>
2362
2363         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2364
2365 2004-08-13  André Pönitz  <poenitz@gmx.net>
2366
2367         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2368
2369         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2370           multiple cells
2371
2372 2004-08-12  André Pönitz  <poenitz@gmx.net>
2373
2374         * text3.C: take out the 'cursor right' form insertInset and only
2375         do it in those places when it is really needed. Fixes crash on
2376         C-m...
2377
2378 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2379
2380         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2381
2382         * BufferView_pimpl.C (setBuffer): initialize the current font of
2383         the underlying LyXText
2384
2385 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2386
2387         * kbsequence.C (print): use UI native formatting for menu
2388         shortcuts
2389
2390         * text.C (insertChar): call Paragraph::insertChar with a font
2391         argument (cosmetic)
2392
2393         * paragraph.C (insertInset, insertChar): the version that takes a
2394         LyXFont argument is now a wrapper around the other one (the
2395         opposite used to be true).
2396
2397         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2398         argument. Font setting is done in Paragraph now.
2399
2400 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2401
2402         * outputparams.h: add new members intitle and lang.
2403
2404         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2405         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2406
2407 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2408
2409         * text3.C (dispatch): remove special handling of button 4 and 5,
2410         it is now taken care of in the frontend code.
2411
2412 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2413
2414         * Spacing.h: add <string> (STLPort compile fix)
2415
2416 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2417
2418         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2419
2420 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2421
2422         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2423         to bool.
2424
2425         * converter.C (showMessage): inherit from unary_function, make
2426         operator() const.
2427
2428         * buffer.C (writeFile): initialize retval
2429
2430         * InsetList.h: rename private variable list to list_
2431         * InsetList.[Ch]: adjust accordingly.
2432
2433 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2434
2435         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2436         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2437         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2438         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2439         * ParagraphParameters.C, LaTeXFeatures.C: replace
2440         "support/std_sstream.h" with <sstream>
2441
2442 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2443
2444         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2445         * lyxsocket.C (LyXServerSocket): ditto
2446         (serverCallback): ditto
2447
2448 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2449
2450         * LaTeXFeatures.C: check release date when loading jurabib.
2451
2452 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2453
2454         * lyxserver.C (startPipe): call register_socket_callback
2455         (endPipe): call unregister_socket_callback
2456
2457 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2458
2459         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2460         (LyXServerSocket): register the callback
2461         (LyXServerSocket): unregister the callback
2462         (fd): delete function
2463         (serverCallback): improve error checking and setup the callbacks.
2464         (dataCallback): change arg to fd.
2465         (writeln): new func (copied fro the client socket) used for server
2466         write to client.
2467         (LyXDataSocket): simplify
2468         (~LyXDataSocket): close ann unregiser callback
2469         (server): delete function
2470         (fd): delete function
2471         (readln): small changes, improve some std::string usage
2472         (writeln): constify a bit
2473
2474 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2475
2476         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2477         Qt frontend
2478
2479 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2480
2481         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2482         after it has been populated
2483
2484 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2485
2486         * text2.C (insertInset): move cursor when inserting inset.
2487
2488 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2489
2490         * kbmap.C (findbindings): a couple of new methods. returns a
2491         container of kb_sequence objects. The real work is done by the
2492         private recursive version
2493         (printbindings): uses findbindings to print out a bracketed list
2494         of bindings (renamed from findbinding).
2495
2496         * MenuBackend.C (binding): use kb_keymap::findbindings
2497
2498         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2499
2500 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2501
2502         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2503
2504 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2505
2506         * paragraph.C (isWord): return true on insets that report
2507         isLetter().
2508
2509         * text.C (getWord): use Paragraph::isWord to decide what is in a
2510         word and what is not; fix bug 1609.
2511
2512 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2513
2514         * tex-strings.C: add "none" to string_paperpackages[], fixes
2515         off-by-one-error in the paperpackage selection.
2516
2517         * lyxlex.[Ch]:
2518         * tex-strings.[Ch]: char const * string[n]
2519         -> char const * const string[]
2520
2521 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2522
2523         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2524         command, return early.
2525
2526 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2527
2528         * debug.h: add DEBUG to enum and fix size of ANY.
2529
2530         * debug.C: add support for Debug::DEBUG
2531         (showTags): cast errorTags.level to unsigned int
2532
2533         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2534         (redoCurrentBuffer): ditto
2535         (updateScrollbar): ditto
2536         * cursor.C (dispatch): ditto
2537         * text2.C (setLayout): ditto
2538         (setFont): ditto
2539         (updateCounters): ditto
2540         (editXY): ditto
2541         (deleteEmptyParagraphMechanism): ditto
2542
2543 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2544
2545         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2546         annotations to cleanup the Makefile slightly.
2547
2548 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2549
2550         * lyxrc.C: do not set user_email to a default value but use empty
2551         instead. The entry used to be translated, which does not work
2552         since at the point where lyxrc is constructed there is no
2553         translation service available
2554
2555         * messages.C (getLocaleDir): remove and use directly
2556         lyx_localedir() instead
2557
2558 2004-06-02  Angus Leeming  <leeming@lyx.org>
2559
2560         Fix crash caused by dereferencing null pointer 'exportdata' in
2561         OutputParams by creating a new ExportData variable on the heap,
2562         storing it in a boost::shared_ptr.
2563         The crash was triggered when generating an Instant Preview
2564         of an external inset.
2565
2566         * Makefile.am: add outputparams.C
2567
2568         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2569         (c-tor): allocate memory to it.
2570
2571         * exporter.C (c-tor): associated changes.
2572
2573 2004-06-01  Angus Leeming  <leeming@lyx.org>
2574
2575         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2576         contains data before calling isInset(0). (Bug 1513.)
2577
2578 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2579
2580         * exporter.C (checkOverwrite): new method
2581         * exporter.C (copyFile): new method
2582         * exporter.C (Export): copy referenced files to the document dir
2583         * exporter.[Ch]: new class ExportedFile
2584         * exporter.[Ch]: new class ExportData. Contains currently the
2585         names of referenced external files
2586         * outputparams.h: add exportdata member.
2587
2588 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2589
2590         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2591         version.C-tmp
2592
2593 2004-05-19  Angus Leeming  <leeming@lyx.org>
2594
2595         * LaTeXFeatures.C:
2596         * ToolbarBackend.C:
2597         * bufferparams.C:
2598         * lyxfunc.C: small changes due to the introduction of namespace
2599         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2600
2601 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2602
2603         * text3.C (dispatch): supress update when only moving the cursor
2604         * cursor.C (selHandle): remove commented code
2605
2606 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2607
2608         * paragraph.C (startTeXParParams): correct column count
2609         * CutAndPaste.C (pasteSelection): remove const_cast
2610         * output_docbook.C (docbookParagraphs): remove const_cast
2611         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2612         const_cast and return ParagraphList::const_iterator
2613         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2614         * output_plaintext.C (writeFileAscii): remove const_cast
2615         * paragraph.[Ch] (simpleTeXOnePar): make const
2616         * paragraph_funcs.C (outerPar): use const iterators
2617         * paragraph_pimpl.C (validate): use const iterators
2618         * text.C (setHeightOfRow): use const iterators
2619
2620 2004-05-17  Angus Leeming  <leeming@lyx.org>
2621
2622         * lfuns.h:
2623         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2624
2625         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2626         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2627         if the citation engine has changed.
2628
2629 2004-05-14  José Matos  <jamatos@lyx.org>
2630
2631         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2632         if the textclass does not provide it. Have it different for sgml and
2633         xml.
2634         support the language of document.
2635         * output_docbook.C (docbookParagraphs):
2636         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2637         first anchor as the id of the paragraph, remove special case code.
2638         * sgml.C (escapeChar): escape only < & >.
2639
2640 2004-05-14  Angus Leeming  <leeming@lyx.org>
2641
2642         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2643         dependencies on src/frontends/controllers/biblio.h. Define a
2644         CiteEngine_enum wrapper class to enable the enum to be forward
2645         declared.
2646
2647 2004-05-12  Angus Leeming  <leeming@lyx.org>
2648
2649         * buffer.C: up LYX_FORMAT to 234.
2650         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2651         use_numerical_citations with a single biblio::CiteEngine cite_engine
2652         variable.
2653         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2654
2655 2004-05-13  José Matos  <jamatos@lyx.org>
2656
2657         * converter.h:
2658         * converter.C (Converter, readFlags): add xml member.
2659         * outputparams.h: add XML flavor.
2660         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2661
2662 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2663
2664         * lyxfunc.C (dispatch):
2665         (getStatus): fix handling of LFUN_SEQUENCE
2666
2667 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2668
2669         * debug.C (showLevel): do not forget the end-of-line marker
2670
2671 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2672
2673         * kbmap.C (read): do not stop parsing a bind file when an error
2674         occurs (bug 1575)
2675
2676 2004-04-29  Angus Leeming  <leeming@lyx.org>
2677
2678         * cursor.C:
2679         * factory.C:
2680         * pariterator.C:
2681         * text2.C: wrap a bunch of #warning statements
2682         inside #ifdef WITH_WARNINGS blocks.
2683
2684 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2685
2686         * buffer.C: increment format to 233.
2687
2688 2004-04-28  Angus Leeming  <leeming@lyx.org>
2689
2690         * BufferView_pimpl.C:
2691         * lyxfunc.C:
2692         * text3.C:
2693         s/updateToolbar()/updateToolbars()/
2694         s/Toolbar.h/Toolbars.h/
2695
2696 2004-04-28  Angus Leeming  <leeming@lyx.org>
2697
2698         * BufferView.[Ch] (c-tor):
2699         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2700         No longer passes these data to the WorkArea generator.
2701
2702 2004-04-28  Angus Leeming  <leeming@lyx.org>
2703
2704         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2705
2706 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2707
2708         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2709
2710 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2711
2712         * output_latex.C (TeXEnvironment): make sure that there is a line
2713         break before \end{foo} for the last paragraph of a document
2714         (TeXOnePar): if the paragraph is at the end of the document (or
2715         inset) and the language has to be reset, then make sure that the
2716         line break is _before_ the language command, not after (fixes bug
2717         1225); also make sure that the language reset command is the first
2718         thing after the paragraph (to ensure proper nesting of
2719         environments and thus fix bug 1404)
2720
2721 2004-04-21  John Levon  <levon@movementarian.org>
2722
2723         * ToolbarBackend.h:
2724         * ToolbarBackend.C: make "name" be a programmatic name
2725         and a gui_name field.
2726
2727         * lyxfunc.C: display the minibuffer on M-x
2728
2729 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2730
2731         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2732         (bug 1526)
2733
2734 2004-04-19  Angus Leeming  <leeming@lyx.org>
2735
2736         * BufferView_pimpl.C (setBuffer): changed preview interface.
2737
2738         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2739         possible values.
2740
2741 2004-04-19  John Levon  <levon@movementarian.org>
2742
2743         * BufferView_pimpl.C:
2744         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2745
2746 2004-04-05  Angus Leeming  <leeming@lyx.org>
2747
2748         * text.C (redoParagraphs): add call to updateCounters(), thereby
2749         fixing the missing "Figure #:" label from the caption of a
2750         figure float.
2751
2752 2004-04-13  Angus Leeming  <leeming@lyx.org>
2753
2754         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2755         cursor is clicked out of an inset.
2756
2757 2004-04-13  Angus Leeming  <leeming@lyx.org>
2758
2759         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2760         than an InsetOld one.
2761
2762 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2763
2764         * format.[Ch]: add editor to Format
2765         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2766         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2767
2768 2004-04-08  André Pönitz  <poenitz@gmx.net>
2769
2770         * metricsinfo.h: remove PainterInfo::width member
2771
2772 2004-04-08  Angus Leeming  <leeming@lyx.org>
2773
2774         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2775         "\providecommand" rather than "\newcommand", thereby preventing
2776         clashes with packages that define "\boldsymbol" themselves.
2777         Eg, beamer.
2778
2779 2004-04-08  Angus Leeming  <leeming@lyx.org>
2780
2781         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2782         thereby squashing an unnecessary warning.
2783
2784 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2785
2786         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2787         setBuffer()
2788
2789 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2790
2791         * BufferView.C (setCursor): call redoParagraph (some insets could
2792         have been opened)
2793         (putSelectionAt): remove the 'double update' trick
2794
2795         * BufferView_pimpl.C (fitCursor): call refreshPar
2796         (workAreaDispatch): remove an uneeded update call
2797         (dispatch): remove some manual update calls
2798
2799         * cursor.[Ch]: remove cached_y_, updatePos
2800         (selHandle): set noUpdate when appropriate
2801
2802         * lyxfunc.C (dispatch): track if we need an update
2803
2804         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2805
2806         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2807         (paintSelection): cheap optimization, do not call cursorX when not
2808         needed
2809         (paintPars): change signature
2810         (refreshPar): add
2811         (paintText): adjust
2812         (paintTextInset): adjust
2813
2814         * text.C: adjust
2815
2816 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2817
2818         * lengthcommon.C: compilation fix: remove explicit array size from
2819         unit_name[] and friends
2820
2821 2004-04-05  Angus Leeming  <leeming@lyx.org>
2822
2823         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2824
2825         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2826         present only for the preferences dialog.
2827         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2828
2829 2004-04-05  Angus Leeming  <leeming@lyx.org>
2830
2831         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2832         to enable the frontends to export changes to lyxrc correctly.
2833
2834         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2835
2836 2004-04-07  André Pönitz  <poenitz@gmx.net>
2837
2838         * cursor.[Ch] (selClear, adjust): remove math
2839
2840         * cursor_slice.C: more agressive assert
2841
2842         * lyxfunc.C:
2843         * BufferView_pimpl.C: rework mouse event dispatch
2844
2845         * dociterator.C:
2846         * paragraph.C:
2847         * text2.C:
2848         * text3.C: adjust
2849
2850 2004-04-05  André Pönitz  <poenitz@gmx.net>
2851
2852         * cursor.[Ch] (valign, halign...): remove unneeded functions
2853
2854 2004-04-05  Angus Leeming  <leeming@lyx.org>
2855
2856         * lyxlength.[Ch] (unit_name et al.): const-correct.
2857
2858 2004-04-05  Angus Leeming  <leeming@lyx.org>
2859
2860         * BufferView_pimpl.C:
2861         * buffer.C:
2862         * counters.C:
2863         * cursor.C:
2864         * lyxfunc.C
2865         * paragraph.C:
2866         * pariterator.C:
2867         * text.C:
2868         * text2.C:
2869         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2870
2871 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2872
2873         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2874
2875 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2876
2877         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2878         * BufferView_pimpl.[Ch] (getStatus)
2879         * BufferView.[Ch] (getStatus): add
2880         * lyxfunc.C (getStatus): move lfuns handled in
2881         BufferView::dispatch to te function above
2882         * Cursor.C (setSelection): set selection() = true
2883
2884 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2885
2886         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2887
2888 2004-03-31  Angus Leeming  <leeming@lyx.org>
2889
2890         * lyxfunc.C (dispatch): Fall through to the generic
2891         Dialogs::show("preamble").
2892
2893 2004-03-31  Angus Leeming  <leeming@lyx.org>
2894
2895         * lyxfunc.C (dispatch): Fall through to the generic
2896         Dialogs::show("spellchecker").
2897
2898 2004-03-31  Angus Leeming  <leeming@lyx.org>
2899
2900         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2901         preferences dialog.
2902
2903 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2904
2905         * BufferView.C
2906         * cursor.[Ch]
2907         * dociterator.[Ch]:
2908         * insetiterator.[Ch]:
2909         * lyxfind.C:
2910         * lyxfunc.C:
2911         * pariterator.[Ch]:
2912         * text2.C:
2913         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2914
2915 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2916
2917         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2918         insets where we are putting the cursor.
2919
2920 2004-03-31  Angus Leeming  <leeming@lyx.org>
2921
2922         * lfuns.h:
2923         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2924
2925         * lyxrc.[Ch] (read, write): overloaded member functions taking
2926         a std::[io]stream arguments.
2927
2928         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2929
2930 2004-03-31  Angus Leeming  <leeming@lyx.org>
2931
2932         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2933         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2934
2935         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2936         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2937
2938 2004-03-31  Angus Leeming  <leeming@lyx.org>
2939
2940         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2941         the LFUN_ALL_INSETS_TOGGLE code.
2942
2943 2004-03-30  Angus Leeming  <leeming@lyx.org>
2944
2945         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2946         has died. Fall through to the generic Dialogs::show("document").
2947
2948 2004-03-30  Angus Leeming  <leeming@lyx.org>
2949
2950         * lfuns.h:
2951         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2952         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2953
2954         * lyxfunc.C (getStatus, dispatch): define the actions for these
2955         lfuns. Little more than a cut and pste job from ControlDocument.C
2956
2957         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2958
2959 2004-03-30  Angus Leeming  <leeming@lyx.org>
2960
2961         * lfuns.h:
2962         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2963         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2964
2965         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2966         open/closed state of ollapsable insets. Usage:
2967
2968         all-inset-toggle <state> <name>, where
2969         <state> == "open" || "closed" || "toggle" and
2970         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2971
2972         * lyxtext.h, text2.C (toggleInset): removed.
2973
2974         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2975         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2976         now passes LFUN_INSET_TOGGLE to the found inset.
2977
2978         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2979         is now invoked as "all-insets-toggle toggle branch".
2980
2981 2004-03-30  Angus Leeming  <leeming@lyx.org>
2982
2983         * dociterator.C:
2984         * insetiterator.C:
2985         * pariterator.[Ch]: added/corrected header blurb.
2986
2987 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2988
2989         * dociterator.[Ch]: add an inset_ member
2990         (backwardPos): implemented
2991         (backwardPos, forwardPos): use inset_ when the stack is empty.
2992         (doc_iterator_begin, doc_iterator_end): implemented
2993         * pariterator.[Ch]: adjust, add begin, end
2994         * insetiterator.[Ch]: adjust, add begin, end
2995         * cursor.C:
2996         * document.C:
2997         * BufferView.C:
2998         * BufferView_pimpl.C:
2999         * CutAndPaste.C: adjust
3000
3001 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3002
3003         * buffer.C: increment file format to 232.
3004         * LaTeXFeatures.C: add bibtopic package.
3005         * bufferparams.[Ch]: param \use_bibtopic.
3006
3007         * lyxrc.[Ch]: add lyxrc bibtex_command
3008         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3009
3010         * buffer.C: increment file format to 231.
3011
3012 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3013
3014         * dociterator.C: implement forwardPar
3015         * iterators.[Ch]: remove, replaced by
3016         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3017         * BufferView.C:
3018         * BufferView_pimpl.C:
3019         * CutAndPaste.C:
3020         * buffer.C:
3021         * bufferview_funcs.C:
3022         * cursor.C:
3023         * lyxfind.C
3024         * lyxfunc.C
3025         * paragraph_funcs.C
3026         * toc.C:
3027         * Makefile.am: adjust
3028
3029 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3030
3031         * CutAndPaste.C (pasteSelection): fix 2 crashes
3032         (eraseSelection): fix a crash
3033         * paragraph_funcs.C: remove a warning
3034
3035 2004-03-28  Angus Leeming  <leeming@lyx.org>
3036
3037         * lfuns.h:
3038         * LyXAction.C (init): new LFUN_PRINT.
3039
3040         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3041
3042 2004-03-27  Angus Leeming  <leeming@lyx.org>
3043
3044         * lfuns.h:
3045         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3046
3047         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3048
3049 2004-03-27  Angus Leeming  <leeming@lyx.org>
3050
3051         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3052         insetlist always contains non-null pointers to insets.
3053
3054 2004-03-26  Angus Leeming  <leeming@lyx.org>
3055
3056         * src/BufferView_pimpl.C:
3057         * src/CutAndPaste.C:
3058         * src/buffer.C:
3059         * src/iterators.C:
3060         * src/output_plaintext.C:
3061         * src/outputparams.h:
3062         * src/paragraph_funcs.C:
3063         * src/rowpainter.C:
3064         * src/text.C:
3065         * src/text2.C:
3066         * src/frontends/controllers/ControlErrorList.C:
3067         * src/frontends/gtk/FileDialogPrivate.C:
3068         * src/frontends/gtk/GPainter.C:
3069         * src/frontends/gtk/GToolbar.C:
3070         * src/frontends/qt2/QRef.C:
3071         * src/mathed/math_scriptinset.C: squash compiler warnings.
3072
3073 2004-03-26  Angus Leeming  <leeming@lyx.org>
3074
3075         * ispell.C (LaunchIspell::start):
3076         * lyx_cb.C (AutoSaveBuffer::start):
3077         invoke run(DontWait) rather than runNonBlocking().
3078
3079 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3080
3081         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3082
3083 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3084
3085         * kbsequence.C (print): adjust
3086
3087         * kbmap.C (printKeySym): rename and change signature
3088         (printKey): use LyXKeySym::print()
3089
3090 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3091
3092         * undo.C: add using std::advance to compile for stlport
3093
3094 2004-03-24  Angus Leeming  <leeming@lyx.org>
3095
3096         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3097         it leads to a crash when no buffer is present.
3098
3099 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3100             Martin Vermeer  <martin.vermeer@hut.fi>
3101
3102         * lyxfunc.C (dispatch):
3103         * bufferparams.C (readToken): use the new LColor::setColor
3104
3105         * LColor.[Ch] (setColor): new version that takes two strings as
3106         argument and creates a new color entry if necessary
3107
3108 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3109
3110         * buffer.C (makeLaTeXFile): if the main latex file that is
3111         processed is usually a subdocument of some master, then pretend
3112         for a while that it is actually the master
3113
3114 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3115
3116         * buffer.C (getLabelList):
3117         (getBibkeyList): use getMasterBuffer()
3118         (getMasterBuffer): new method. Returns the main document in the
3119         case where one is using included documents.
3120
3121 2004-03-25  André Pönitz  <poenitz@gmx.net>
3122
3123         * Makefile.am:
3124         * iterators.[Ch]:
3125         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3126
3127         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3128
3129         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3130         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3131
3132         * ParameterStruct.h: merge with ParagraphParameters
3133
3134         * lyxtext.h: remove LyXText::parOffset() and getPar()
3135
3136         * text3.C: Remove all 'manual' update calls. We do now one per user
3137         interaction which is completely sufficient.
3138
3139         * Bidi.C:
3140         * BufferView.[Ch]:
3141         * BufferView_pimpl.C:
3142         * FontIterator.[Ch]:
3143         * MenuBackend.C:
3144         * ParagraphParameters.[Ch]:
3145         * buffer.C:
3146         * buffer.h:
3147         * bufferlist.C:
3148         * cursor.[Ch]:
3149         * cursor_slice.[Ch]:
3150         * dociterator.[Ch]:
3151         * errorlist.[Ch]:
3152         * factory.C:
3153         * lfuns.h:
3154         * lyxfind.C:
3155         * lyxfunc.C:
3156         * output_docbook.[Ch]:
3157         * output_latex.[Ch]:
3158         * output_linuxdoc.[Ch]:
3159         * output_plaintext.[Ch]:
3160         * paragraph.[Ch]:
3161         * paragraph_funcs.[Ch]:
3162         * paragraph_pimpl.[Ch]:
3163         * rowpainter.C:
3164         * tabular.[Ch]:
3165         * text.C:
3166         * text2.C:
3167         * toc.C:
3168         * undo.[Ch]: adjust
3169
3170         * frontends/controllers/ControlDocument.C:
3171         * frontends/controllers/ControlErrorList.C:
3172         * frontends/controllers/ControlSpellchecker.C:
3173         * insets/inset.C:
3174         * insets/inset.h:
3175         * insets/insetbase.h:
3176         * insets/insetbibitem.C:
3177         * insets/insetbox.C:
3178         * insets/insetbranch.C:
3179         * insets/insetcaption.C:
3180         * insets/insetcharstyle.C:
3181         * insets/insetcharstyle.h:
3182         * insets/insetcollapsable.C:
3183         * insets/insetcollapsable.h:
3184         * insets/insetert.C:
3185         * insets/insetfloat.C:
3186         * insets/insetfoot.C:
3187         * insets/insetmarginal.C:
3188         * insets/insetnote.C:
3189         * insets/insetoptarg.C:
3190         * insets/insettabular.C:
3191         * insets/insettext.C:
3192         * insets/insettext.h:
3193         * insets/insetwrap.C:
3194         * mathed/math_mboxinset.C:
3195         * mathed/math_nestinset.C:
3196         * mathed/math_scriptinset.C:
3197         * mathed/math_scriptinset.h:
3198         * support/types.h:
3199
3200 2004-03-24  Angus Leeming  <leeming@lyx.org>
3201
3202         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3203         deal with any child processes that have finished but are waiting to
3204         communicate this fact to the rest of LyX.
3205
3206 2004-03-24  Angus Leeming  <leeming@lyx.org>
3207
3208         64-bit compile fixes.
3209
3210         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3211         (c-tor): pass lyx::pos_types rather than ints.
3212
3213         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3214         lyx::pos_type.
3215
3216         * text.C (Delete): compile fix.
3217         (getPar): ensure that function declaration is the same as that in
3218         the header file.
3219
3220 2004-03-23  Angus Leeming  <leeming@lyx.org>
3221
3222         * ispell.C (LaunchIspell):
3223         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3224         a boost::shred_ptr rather than a std::auto_ptr.
3225
3226 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3227
3228         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3229         handle LFUN_FILE_INSERT_*
3230
3231         * lyxrc.C (setDefaults, getDescription, output, read):
3232         * lyxrc.h: remove ps_command
3233
3234 2004-03-22  Angus Leeming  <leeming@lyx.org>
3235
3236         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3237         Ensure that error_handler is processed once only and that all data
3238         is saved before attempting to output any warning messages.
3239
3240         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3241
3242 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3243
3244         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3245
3246 2004-03-19  André Pönitz  <poenitz@gmx.net>
3247
3248         * cursor.[Ch] (reset): take main text inset as argument
3249
3250         * BufferView: adjust
3251         * BufferView_pimpl.C: adjust
3252
3253         * paragraph.[Ch]: fix completely broken operator=()
3254
3255 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3256
3257         * LColor.C (getFromLyXName): make sure that the color name is used
3258         as lowercase.
3259
3260 2004-03-17  Angus Leeming  <leeming@lyx.org>
3261
3262         * lfuns.h:
3263         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3264
3265         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3266         dialog and to kill a forked process.
3267
3268 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3269
3270         * text2.C (setCursorFromCoordinates): fix font problem
3271
3272 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3273
3274         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3275         bogus "rebuild cursor" code
3276
3277 2004-03-11  André Pönitz  <poenitz@gmx.net>
3278
3279         * buffer.[Ch]: use InsetText instead of LyXText as container for
3280         the main lyx text.
3281
3282         * dociterator.[Ch]: drop the BufferView * member which is not needed
3283         anymore after the change to buffer.C
3284
3285         * paragraph_funcs.C:
3286         * text.C:
3287         * text2.C:
3288         * BufferView.[Ch]:
3289         * BufferView_pimpl.[Ch]:
3290         * cursor.[Ch]:
3291         * cursor_slice.[Ch]: adjust
3292
3293         * text3.C: fix bug in mathDispatch
3294
3295 2004-03-08  André Pönitz  <poenitz@gmx.net>
3296
3297         * undo.[Ch]: use 'StableDocumentIterator' as base for
3298         the Undo struct.
3299
3300 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3301
3302         * LaTeXFeatures.C:
3303         * bufferparams.[Ch]: add jurabib support and param.
3304
3305         * LaTeX.C: add FIXME/comment.
3306
3307 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3308
3309         * buffer.C: increment file format to 230.
3310
3311 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3312
3313         * cursor.C (dispatch): avoid infinite loops
3314
3315 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3316
3317         * rowpainter.C (paintSelection): fix x coordinates
3318
3319 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3320
3321         * text.C (rowBreakPoint): fix breaking before displayed insets
3322
3323 2004-03-01  André Pönitz  <poenitz@gmx.net>
3324
3325         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3326
3327         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3328
3329         * Makefile.am:
3330         * BufferView.C:
3331         * BufferView_pimpl.C:
3332         * buffer.C:
3333         * lyxfind.C:
3334         * lyxfunc.C:
3335         * text.C:
3336         * text2.C:
3337         * text3.C: adjust
3338
3339 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3340
3341         * lyxtext.h:
3342         * text.C:
3343         * text2.C:
3344         * rowpainter.C:
3345         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3346         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3347
3348 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3349
3350         * Bidi.[Ch] (computeTables): const correctness
3351         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3352         fill_hfill, fill_label_hfill and x from Row
3353         * lyxtext.h: prepareToPrint returns a RowMetrics
3354         * rowPainter.C: adjust
3355         * text.C (prepareToPrint): use width, not textWidth. adjust
3356         (redoParagraphInternal, cursorX): adjust
3357         * text2.C (getColumnNearX): adjust
3358         (init): put a default value to the top LyXText::width
3359
3360 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3361
3362         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3363
3364 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3365
3366         * lyxtext.h: add FontIterator class
3367
3368         * text.C (FontIterator, operator*, operator->, operator++): add
3369         (rowBreakPoint, setRowWidth): adjust (fixing a
3370         rebreaking bug)
3371
3372 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3373
3374         * BufferView_pimpl.C (workAreaDispatch): allow also
3375         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3376
3377 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3378
3379         * text.C (rowBreakPoint): fix a bug showing with very large insets
3380
3381 2004-02-25  André Pönitz  <poenitz@gmx.net>
3382
3383         * text3.C:
3384         * cursor.[Ch]: move some mathed specific code to mathed
3385
3386 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3387
3388         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3389         use_tempdir in preferences
3390         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3391         tempfile creation
3392         * lyx_main.C: ensure that tempdir is valid
3393         * lyxlex.h: correct typo
3394         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3395         * paragraph.[Ch] (isMultiLingual): make const
3396         * cursor.[Ch] (openable): make const
3397
3398 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3399
3400         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3401
3402 2004-02-20  André Pönitz  <poenitz@gmx.net>
3403
3404         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3405
3406         * cursor.[Ch]: prepare for localized getStatus()
3407
3408         * lyxtext.h:
3409         * tabular.C:
3410         * text.C:
3411         * text2.C:
3412         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3413
3414 2004-02-20  André Pönitz  <poenitz@gmx.net>
3415
3416         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3417
3418 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3419
3420         * text2.C (setCursorFromCoordinates): switch to absolute coords
3421         (cursorUp): adjust
3422         (cursorDown): adjust
3423         * text3.C (dispatch): adjust
3424
3425 2004-02-16  André Pönitz  <poenitz@gmx.net>
3426
3427         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3428           insets/ChangeLog)
3429
3430         * cursor_slice.[Ch]: remove unneeded acessor function
3431
3432         * lyxtext.h: rename rtl() to isRTL()
3433
3434         * rowpainter.C:
3435         * tabular.C:
3436         * text.C:
3437         * text2.C:
3438         * text3.C: adjust
3439
3440 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3441
3442         * rowpainter.C (paintSelection): coord fix
3443
3444 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3445
3446         * Spacing.C: compile fix
3447
3448 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3449
3450         * cursor.C (dispatch): restore current_ before returning
3451
3452 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3453
3454         * text2.C (cursorUp, cursorDown): fix coords
3455         (moveUp): fix crash
3456
3457 2004-02-12  André Pönitz  <poenitz@gmx.net>
3458
3459         * lyxtext.h:
3460         * text.C:
3461         * text2.C:
3462         * text3.C: add LCursor & parameter to most cursor movement functions
3463           remove usage of LyXText::cursorRow() and cursorPar()
3464
3465         * cursor.[Ch]: add textRow() needed members
3466
3467         * BufferView.C:
3468         * BufferView_pimpl.C:
3469         * paragraph.[Ch]:
3470         * BufferView.C:
3471         * BufferView_pimpl.C: adjust
3472
3473 2004-02-11  André Pönitz  <poenitz@gmx.net>
3474
3475         * lyxfunc.C:
3476         * BufferView.[Ch]:
3477         * BufferView_pimpl.C: shift undo/redo handling
3478
3479         * cursor.[Ch]: fix mathed crash
3480
3481         * lyxfind.C:
3482         * lyxtext.h: move selectionAsText to LCursor
3483
3484         * output_latex.C:
3485         * paragraph.C:
3486         * text.C:
3487         * text2.C:
3488         * text3.C: adjust
3489
3490         * rowpainter.C: fix excessive drawing
3491
3492 2004-02-06  André Pönitz  <poenitz@gmx.net>
3493
3494         * BufferView.[Ch]:
3495         * BufferView_pimpl.[Ch]:
3496         * text3.C: move some text specific LFUN handling
3497
3498 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3499
3500         * text3.C (checkInsetHit): adjust coords
3501         * text2.C (getColumnNearX): adjust coords
3502         (edit): adjust coords
3503         * text.C (getRowNearY): add two asserts
3504
3505 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3506
3507         * converter.C:
3508         * format.C: add using std::distance to compile on gcc 2.95/stlport
3509
3510 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3511
3512         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3513
3514 2004-02-04  André Pönitz  <poenitz@gmx.net>
3515
3516         * BufferView.[Ch] (insertInset):
3517         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3518
3519         * text2.C:
3520         * text3.C: adjust
3521
3522 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3523
3524         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3525         on the default clause of the switch
3526         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3527         wasn't catched by LCursor::dispatch
3528
3529 2004-02-03  André Pönitz  <poenitz@gmx.net>
3530
3531         * BufferView.C:
3532         * cursor.[Ch]: some additional asserts
3533
3534         * undo.[Ch]: remove LyXText dependency in interface
3535
3536         * lyxfunc.C: adjust
3537
3538         * lyxtext.h (firstPar, lastPar): remove dead functions
3539
3540         * text.C:
3541         * text2.C:
3542         * text3.C:
3543         * paragraph.[Ch]: adjust
3544
3545 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3546
3547         * lyxfind.C (find): fix argument order in call to ::find
3548
3549 2004-02-02  André Pönitz  <poenitz@gmx.net>
3550
3551         * cursor.[Ch]: remove direct access to anchor
3552
3553         * text.C: remove findText() hack
3554
3555 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3556
3557         * iterators.[Ch] (lockPath): remove in favour of...
3558         * BufferView.[Ch] (setCursor): this addition
3559         * BufferView.C (putSelectionAt): adjust
3560         * undo.C (performUndoOrRedo): adjust
3561         * lyxfunc.C (dispatch): adjust
3562
3563 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3564
3565         * iterators.C (lockPath): add a missing slice
3566         * undo.C (performUndoOrRedo): remove redundant positioning code
3567
3568 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3569
3570         * vc-backend.C (scanMaster): ";" -> ';'
3571
3572 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3573
3574         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3575         std::binary_function
3576
3577         * lyxtextclass.C (compare_name): rename to...
3578         (LayoutNamesEqual): ...this
3579
3580         * lyxlex_pimpl.C (compare_tags): inherit from
3581         std::binary_function, put back into anon namespace
3582
3583         * lyxfind.C (MatchString): inherig from std::binary_function
3584         (findChange): use empty() istead of !size()
3585
3586         * format.C (FormatNamesEqual): new functor
3587         (getFormat): use it
3588         (getNumber): use it
3589         (add): use it
3590         (erase): use it
3591         (setViewer): use it
3592
3593         * converter.C (compare_Converter): rename to...
3594         (ConverterEqual): ...this, and fixup a bit.
3595         (getConverter): use it, and make function const
3596         (getNumber): use it, and make function const
3597         (add): use it
3598         (erase): use it:
3599
3600         * bufferlist.C: add using boost::bind
3601
3602         * MenuBackend.C (MenuNamesEqual): new functor
3603         (hasMenu): use it, and make function const
3604         (hasSubmenu): use nested bind to get rid of compare_memfun.
3605
3606 2004-01-30  André Pönitz  <poenitz@gmx.net>
3607
3608         * BufferView_pimpl.C:
3609         * cursor.C:
3610         * cursor.h:
3611         * cursor_slice.[Ch]:
3612         * lyxfunc.C:
3613         * lyxtext.h:
3614         * paragraph_funcs.C:
3615         * paragraph_funcs.h:
3616         * rowpainter.C:
3617         * text.C:
3618         * text2.C:
3619         * text3.C: move some of the edit(x,y) handling to the insets
3620         some coordinate changes.
3621
3622 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3623
3624         * text.C: add using statements for std::advance and std::distance
3625
3626         * paragraph.C: add using statement for std::distance
3627
3628         * lyxfind.C: add using statement for std::advance
3629
3630         * cursor.C (region): remove std:: from swap
3631         (openable): use nucleus in stead of operator->
3632
3633         * BufferView.C: add using statements for std::distance and std::swap
3634
3635 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3636
3637         * iterators.C: Remove the pimple, move the needed structures to
3638         the header file. Create accessor for the positions stack.
3639         (asPosIterator): remove function
3640
3641         * PosIterator.C (PosIterator): move constructors to top of file
3642         (PosIterator): reimplement the constructor taking a ParIterator in
3643         terms of setFrom.
3644         (setFrom): new function
3645         (operator!=): inline it
3646
3647 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * lyxfind.C (replaceAll): use std::advance
3650
3651         * iterators.h: inherit from std::iterator.
3652
3653         * PosIterator.C (advance, distance): remove
3654         * PosIterator.h: interit from std::iterator.
3655
3656 2004-01-26  André Pönitz  <poenitz@gmx.net>
3657
3658         * BufferView.[Ch]:
3659         * BufferView_pimpl.[Ch]:
3660         * InsetList.[Ch]:
3661         * PosIterator.[Ch]:
3662         * buffer.h:
3663         * bufferview_funcs.C:
3664         * cursor.[Ch]:
3665         * cursor_slice.h:
3666         * factory.[Ch]:
3667         * iterators.[Ch]:
3668         * lyxfind.C:
3669         * lyxfunc.C:
3670         * lyxtext.h:
3671         * output_docbook.C:
3672         * output_latex.C:
3673         * output_linuxdoc.C:
3674         * output_plaintext.C:
3675         * paragraph.[Ch]:
3676         * paragraph_funcs.[Ch]:
3677         * paragraph_pimpl.[Ch]:
3678         * rowpainter.C:
3679         * tabular.C:
3680         * tabular.h:
3681         * text.C:
3682         * text2.C:
3683         * text3.C: more IU:  dumps most of the rest of the mathcursor
3684     implementation into cursor.[Ch]; "globalize" a bit of it.
3685
3686 2004-01-25  Angus Leeming  <leeming@lyx.org>
3687
3688         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3689
3690 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3691
3692         * LaTeXFeatures.h: add nice_ and nice() const
3693         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3694
3695 2004-01-20  André Pönitz  <poenitz@gmx.net>
3696
3697         * BufferView.[Ch]:
3698         * BufferView_pimpl.C:
3699         * PosIterator.C:
3700         * bufferview_funcs.C:
3701         * cursor.[Ch]:
3702         * cursor_slice.[Ch]:
3703         * factory.C:
3704         * iterators.C:
3705         * lyx_cb.C:
3706         * lyxfind.C:
3707         * lyxfunc.C:
3708         * lyxtext.h:
3709         * rowpainter.C:
3710         * text.C:
3711         * text2.C:
3712         * text3.C:
3713         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3714           LCursor and mathcursor parts to LCursor and InsetBase.
3715
3716 2004-01-15  André Pönitz  <poenitz@gmx.net>
3717
3718         * cursor_slice.[Ch]: add a few covienience functions
3719
3720         * funcrequest.[Ch]: remove BufferView * member
3721
3722         * BufferView_pimpl.C:
3723         * cursor.C:
3724         * factory.[Ch]:
3725         * lyxfind.[Ch]:
3726         * lyxfunc.C:
3727         * lyxtext.h:
3728         * text3.C:
3729         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3730
3731 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3732
3733         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3734         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3735
3736 2004-01-13  André Pönitz  <poenitz@gmx.net>
3737
3738         * textcursor.[Ch]:
3739         * lyxtext.h: hide cursor and selection anchor behind accessor function
3740
3741         * BufferView.C:
3742         * BufferView_pimpl.[Ch]:
3743         * PosIterator.C:
3744         * bufferview_funcs.C:
3745         * cursor.h:
3746         * lyxfind.C:
3747         * lyxfunc.C:
3748         * text.C:
3749         * text2.C:
3750         * text3.C:
3751         * undo.C: adjust
3752
3753         * cursor.h:
3754         * cursor_slice.[Ch]: some integer type changes for inset unification
3755
3756         * lyxcursor.[hC]: remove, it's CursorSlice now.
3757
3758         * Makefile.am:
3759         * BufferView_pimpl.[Ch]:
3760         * bufferview_funcs.C:
3761         * cursor_slice.C:
3762         * lyxtext.h:
3763         * text.C:
3764         * text2.C:
3765         * text3.C:
3766         * textcursor.[Ch]: adjust
3767
3768 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3769
3770         * text2.C (undoSpan): add and use
3771         * text.C (breakParagraph): use undoSpan (fix bug 578)
3772         * lyxtext.h: adjust
3773
3774 2004-01-08  Angus Leeming  <leeming@lyx.org>
3775
3776         * BufferView_pimpl.C (MenuInsertLyXFile):
3777         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3778         * lyxfunc.C (menuNew, open, doImport):
3779         FileFilterList change to the FileDialog open and save functions.
3780
3781 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3782
3783         * ShareContainer.h: make isEqual and isUnique adaptable
3784
3785         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3786
3787 2004-01-07  Angus Leeming  <leeming@lyx.org>
3788
3789         * LyXAction.C:
3790         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3791
3792         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3793
3794         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3795         functions replacing find, replace and replaceAll.
3796
3797         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3798         LFUN_WORDFIND(FORWARD|BACKWARD).
3799
3800 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3801
3802         * text.C (breakParagraph): remove an outdated #warning
3803
3804 2004-01-07  André Pönitz  <poenitz@gmx.net>
3805
3806         * lyxfind.C: somewhat clearer logic
3807
3808         * text.C: prevent crash in cursorX on unitialized row cache
3809
3810 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3811
3812         * lyxcursor.[Ch] (operator>): add
3813         * textcursor.C (selStart, selEnd): use std::min and std::max
3814
3815 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3816
3817         * Chktex.C: include boost/format.hpp
3818
3819 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3820
3821         * InsetList.C: replace functor MathcIt with adaptable functor
3822         InsetTablePosLess
3823         (insetIterator): modify accordingly
3824
3825         * BranchList.h: move the BranchNamesEqual functor here from...
3826         * BranchList.C: ... to here
3827
3828         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3829         SameName and match.
3830         (add): replace a finding loop with std::find_if.
3831
3832 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3833
3834         * output_docbook.C: moving LatexParam functionality into
3835         .layout files
3836
3837 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3838
3839         * buffer.C: increment format to 229.
3840
3841 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3842
3843         * LaTeXFeatures.C:
3844         * lyx_sty.[Ch]: remove minipageindent_def
3845
3846         * LyXAction.C:
3847         * factory.C:
3848         * lfuns.h:
3849         * lyxfunc.C:
3850         * text3.C: remove LFUN_INSET_MINIPAGE
3851
3852 2003-12-28  Angus Leeming  <leeming@lyx.org>
3853
3854         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3855
3856 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3857
3858         * text2.C (setParagraph): fix off-by-one crash
3859
3860 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3861
3862         * output_docbook.C: header stuff for AGU
3863
3864 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3865
3866         * text2.C (redoCursor): remove
3867         * text.C:
3868         * text3.C:
3869         * BufferView_pimpl.C: remove calls to redoCursor and
3870         setCursor(cursor.par(), cursor.pos()) all around
3871
3872 2003-12-15  Angus Leeming  <leeming@lyx.org>
3873
3874         * buffer.C: up the format to 228.
3875
3876 2003-12-15  André Pönitz  <poenitz@gmx.net>
3877
3878         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3879         slices
3880
3881         * Makefile.am:
3882
3883         * BufferView_pimpl.C:
3884         * cursor.[Ch]:
3885         * lyxcursor.[Ch]:
3886         * rowpainter.[Ch]:
3887         * lyxtext.h:
3888         * text.C:
3889         * text2.C:
3890         * text3.C: adjust
3891
3892 2003-12-15  Angus Leeming  <leeming@lyx.org>
3893
3894         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3895         than getFromGUIName to manipulate the color.
3896
3897 2003-12-14  Angus Leeming  <leeming@lyx.org>
3898
3899         * BranchList.[Ch]: minimize the API.
3900         (Branch::getBranch, getColor): now return a 'const &'.
3901         (Branch::setSelected) now returns a bool set to true if the
3902         selection status changes.
3903         (BranchList::clear, size, getColor, setColor, setSelected,
3904         allBranches, allSelected, separator): removed.
3905         (BranchList::find): new functions, returning the Branch with
3906         the given name.
3907         (BranchList::add, remove): return a bool indicating that
3908         the operation was successful.
3909
3910         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3911         new InsetBranch::isBranchSlected member function.
3912
3913         * LColor.[Ch]: mimimize the API.
3914         (fill): renamed as addColor and made private.
3915         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3916         versions of these functions taking a string arg have been removed.
3917
3918         * bufferparams.C (readToken):
3919         * lyxfunc.C (dispatch):
3920         * lyxrc.C (read): changes due to the altered BranchList and
3921         LColor APIs.
3922
3923         * factory.C (createInset, readInset): changes due to altered
3924         InsetBranch c-tor.
3925
3926 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3927
3928         * factory.C:
3929         * lyxfunc.C: remove insetminipage. "minipage-insert"
3930         now produces a frameless minipage box inset.
3931
3932 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3933
3934         * textcursor.[Ch] (selStart,selEnd): add new methods
3935         remove selection::start, end, use LyXCursor::operator<
3936         * lyxcursor.[Ch] (operator<): add
3937         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3938         * BufferView.[Ch] (unsetXSel): add
3939         * text2.C (clearSelection): use unsetXSel,adjust
3940         * text.C: adjust
3941         * text3.C: adjust
3942         * rowpainter.C: adjust
3943         * bufferview_funcs.C (put_selection_at): adjust
3944
3945 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3946
3947         * BufferView_pimpl.C: small coord. correction
3948
3949 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3950
3951         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3952         dragging over the splash screen.
3953
3954 2003-12-11  Angus Leeming  <leeming@lyx.org>
3955
3956         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3957         as it is now handled in LyXText::dispatch.
3958
3959         * text3.C (doInsertInset): remove a level of nesting.
3960
3961 2003-12-11  Angus Leeming  <leeming@lyx.org>
3962
3963         * factory.C (createInset): changes due to the changed interface to
3964         InsetCommandMailer::string2params.
3965
3966 2003-12-10  Angus Leeming  <leeming@lyx.org>
3967
3968         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3969         'dialog-show-new-inset <inset name>'
3970
3971 2003-12-10  Angus Leeming  <leeming@lyx.org>
3972
3973         * buffer.C: up the format to 227.
3974
3975         * factory.C: the box inset is now identified simply by 'Box'.
3976
3977 2003-12-10  Angus Leeming  <leeming@lyx.org>
3978
3979         * buffer.C: up the format to 226.
3980
3981         * factory.C: the note inset is now identified simply by 'Note'.
3982
3983 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3984
3985         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3986         when a pit is enough. Standarize a couple of loops.
3987
3988 2003-12-05  Angus Leeming  <leeming@lyx.org>
3989
3990         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3991         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3992         data to the re-worked "log" dialog.
3993
3994 2003-12-03  André Pönitz  <poenitz@gmx.net>
3995
3996         * PosIterator.C:
3997         * iterators.C:
3998         * lyxtext.h:
3999         * output_latex.C:
4000         * paragraph_funcs.C:
4001         * text.C:
4002         * text2.C: use Inset::getText instead of Inset::getParagraph
4003
4004 2003-12-03  André Pönitz  <poenitz@gmx.net>
4005
4006         * buffer.[Ch]:
4007         * lyxtext.h:
4008         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4009         InsetText::read() as LyXText::read()
4010
4011 2003-12-02  Angus Leeming  <leeming@lyx.org>
4012
4013         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4014         type. Add a comment in the implementation that the function uses
4015         the stream's bad() function rather than fail() as the std::streams
4016         would do.
4017
4018 2003-12-02  André Pönitz  <poenitz@gmx.net>
4019
4020         * lyxlex.[Ch]: make interface more similar to std::stream
4021
4022         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4023
4024 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4025
4026         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4027
4028 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4029
4030         * vspace.[Ch]: remove VSpace::NONE
4031
4032 2003-12-01  André Pönitz  <poenitz@gmx.net>
4033
4034         * buffer.[Ch]:
4035         * lyxtext.h: move ParagraphList member to LyXText
4036         rename LyXText::ownerParagraphs to LyXText::paragraph
4037
4038         * CutAndPaste.C:
4039         * bufferview_funcs.C:
4040         * iterators.[Ch]:
4041         * lyx_cb.C:
4042         * paragraph.C:
4043         * rowpainter.C:
4044         * tabular.C:
4045         * text.C:
4046         * text2.C:
4047         * text3.C: adjust
4048
4049         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4050
4051         * undo.C: fix cursor positioning
4052
4053 2003-12-01  John Levon  <levon@movementarian.org>
4054
4055         * BufferView_pimpl.C: fix a crash on exit with
4056         a buffer open
4057
4058 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4059
4060         * BranchList.C: fix setSelected() method.
4061
4062 2003-11-28  André Pönitz  <poenitz@gmx.net>
4063
4064         * ParagraphParameters.[Ch]:
4065         * ParameterStruct.h: remove space above/below from Paragraph to
4066          InsetVSpace
4067
4068         * BufferView_pimpl.C:
4069         * factory.C:
4070         * lyxfunc.C:
4071         * lyxtext.h:
4072         * output_latex.C:
4073         * paragraph.C:
4074         * paragraph_funcs.C:
4075         * rowpainter.[Ch]:
4076         * text.C:
4077         * text2.C:
4078         * text3.C: adjust
4079
4080 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4081
4082         * factory.C: Syntax change for CharStyles
4083
4084 2003-11-28  André Pönitz  <poenitz@gmx.net>
4085
4086         * BufferView.[Ch]:
4087         * BufferView.[Ch]:
4088         * buffer.[Ch]:
4089         * buffer.[Ch]: move LyXText member
4090
4091 2003-11-28  André Pönitz  <poenitz@gmx.net>
4092
4093         * BufferView.[Ch]: make LyXText * text a private member
4094
4095         * BufferView_pimpl.C:
4096         * cursor.C:
4097         * iterators.C:
4098         * lyx_cb.C:
4099         * lyxfind.C:
4100         * lyxtext.h:
4101         * rowpainter.[Ch]:
4102         * text.C:
4103         * text2.C:
4104         * undo.C: adjust
4105
4106         * output_plaintext.C: cleanup
4107
4108 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4109
4110         * buffer.C:
4111         * lyxtextclass.[Ch]: parametrize SGML document header
4112
4113 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4114
4115         * converter.[Ch]:
4116         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4117         getFlavor().
4118
4119 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4120
4121         * text2.C (setFont): rework using PosIterator (no more recursive)
4122         (setCharFont): no more needed
4123         (setLayout): no more selection cursors fiddling (done by redoCursor)
4124         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4125         destroy remaining ones)
4126
4127 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4128
4129         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4130         * lyxtext.h: ditto
4131         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4132         selection cursors
4133         * lyxfunc.C: adjust
4134         * text3.C: adjust + re-allow multi par depth changes
4135         * textcursor.C: simplify a bit
4136
4137 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4138
4139         * src/buffer.C:
4140         * src/lyxlayout.C:
4141         * src/lyxlayout.h:
4142         * src/lyxtext.h:
4143         * src/output_docbook.C:
4144         * src/output_latex.C:
4145         * src/paragraph.C:
4146         * src/paragraph.h:
4147         * src/sgml.C:
4148         * src/sgml.h:
4149         * src/text2.C: Introducing a number of tags parametrizing various
4150         XML formats that we may want to support
4151
4152 2003-11-25  André Pönitz  <poenitz@gmx.net>
4153
4154         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4155
4156         * lyxtext.h (leftMargin/rightMargin): simplify interface
4157
4158         * rowpainter.C:
4159         * text.C:
4160         * text2.C:
4161         * text3.C: adjust
4162
4163 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4164
4165         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4166         master file to any child files. Fixes bug 546.
4167
4168 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4169
4170         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4171
4172 2003-11-24  André Pönitz  <poenitz@gmx.net>
4173
4174         * rowpainter.C: simplification
4175
4176         * text2.C (updateCounters): remove call to redoParagraph on
4177         changed labels as this is far too expensive.
4178
4179 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4180
4181         * converter.C (convert): fix a crash: this function gets
4182         called with buffer == 0 from importer code.
4183
4184 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4185
4186         * text3.C (cursorPrevious): make sure that we do not compare
4187         iterators form different containers.
4188         (cursorNext): ditto
4189
4190         * rowpainter.C (paintSelection): make sure that we do not compare
4191         iterators from different containers.
4192
4193         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4194         iterators from different ParagraphList containers.
4195         [NEXT] ditto
4196
4197         * text2.C (LyXText): change order of initialization slightly
4198         (operator=): new function. copy all variables except cache_par_
4199         (moveUp): make sure that we do not compare iterators from
4200         different ParagraphList constainers.
4201         (moveDown): ditto
4202
4203         * text.C (firstPar): new function
4204         (lastPar): new function
4205         (endPar): new function
4206
4207         * lyxtext.h: move things around and group public functions, public
4208         variables, private functions, private variables
4209
4210 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4211
4212         * factory.C: change call to InsetERT constructor to avoid
4213         additional invocation of method status
4214         * text2.C (toggleInset): remove redundant update() call
4215         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4216         instead of a Bufferview pointer
4217
4218 2003-11-21  André Pönitz  <poenitz@gmx.net>
4219
4220         * rowpainter.C: simplification
4221
4222 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4223
4224         * text3.C (dispatch): make possible to extend a word/row selection
4225         with the mouse
4226
4227 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4228
4229         * lyxtext.h: x0_,y0_ -> xo_,yo_
4230         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4231         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4232         * rowpainter.C (paintRows): paint full paragraphs
4233
4234 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4235
4236         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4237         screen coordinates)
4238
4239 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4240
4241         * lyxtext.h: add x0_, y0_
4242         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4243         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4244
4245 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4246
4247         * text2.C (setCursorIntern): move the x_target update here *
4248         * text3.C: change some bv() to true/false in calls to
4249         cursorUp/Down/Right/Left
4250         * cursor.C: use helper function.
4251
4252 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4253
4254         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4255         * paragraph_funcs.[Ch]: correct comment
4256         * rowpainter.C: do not paint selections away from bv->cursor()
4257         Fix a long standing selection painting bug.
4258         * text3.C: generalize mouse-selection code to LyXTexts other that
4259         top one
4260         * textcursor.C: do not use y coords if we can use par offsets
4261
4262 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4263
4264         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4265         cursor position after e.g. inset insert)
4266
4267 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4268
4269         * lyxfind.C (replace): adjust to locking removal + some
4270         code simplification
4271
4272 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4273
4274         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4275         of the path
4276
4277 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4278
4279         * lyxlayout.[Ch]:
4280         * output_docbook.C: XML sanitation: new layout
4281         parameters InnerTag and CommandDepth
4282
4283 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4284
4285         * BufferView_pimpl.C:
4286         * factory.C:
4287         * text3.C: Fix the insertion and modification of button-style
4288         insets
4289
4290 2003-11-13  André Pönitz  <poenitz@gmx.net>
4291
4292         * InsetList.[Ch]: remove deleteLyXText
4293
4294         * paragraph.[Ch]: cache beginOfBody position
4295
4296         * Bidi.C:
4297         * text.C:
4298         * text2.C:
4299         * text3.C: remove superfluous update() calls
4300
4301         * vspace.C: cleanup
4302
4303 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4304
4305         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4306         * BufferView.C (fitLockedInsetCursor): remove
4307         * cursor.[Ch] (getDim): add
4308         * text.C (getRowNearY): add faster version
4309         * text3.C: remove some update calls
4310
4311 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4312
4313         * LaTeXFeatures.C:
4314         * LyXAction.C:
4315         * MenuBackend.C:
4316         * MenuBackend.h:
4317         * dispatchresult.h:
4318         * factory.C:
4319         * lfuns.h:
4320         * lyxfunc.C:
4321         * lyxtextclass.C:
4322         * lyxtextclass.h:
4323         * text3.C: The Character Style /XML short element patch.
4324
4325 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4326
4327         * text3.C:
4328         * factory.C: Small step to solving 'unable to insert some insets'
4329         problem
4330
4331 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4332
4333         * cursor.[Ch] (updatePos): new function for updating the y
4334         position of the tip inset
4335         * bufferview_funcs.C (put_selection_at):
4336         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4337
4338 2003-11-11  André Pönitz  <poenitz@gmx.net>
4339
4340         * text.C: remove big comment on invalid Paragraph pointers as it is
4341         not valid anymore
4342
4343 2003-11-11  André Pönitz  <poenitz@gmx.net>
4344
4345         * text_funcs.[Ch]: merge with ...
4346
4347         * text.C: ... this
4348
4349         * lyxtext.h:
4350         * text2.C:
4351         * text3.C: adjust
4352
4353         * Makefile.am: remove text_funcs.[Ch]
4354
4355 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4356
4357         * cursor.C (getPos): return absolute cached y coord
4358
4359         * BufferView_pimpl.C (fitCursor): new simplistic code
4360         (workAreaDispatch): add a fitCursor call
4361
4362 2003-11-10  André Pönitz  <poenitz@gmx.net>
4363
4364         * BufferView.[Ch]:
4365         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4366
4367 2003-11-10  André Pönitz  <poenitz@gmx.net>
4368
4369         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4370         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4371         indicate that the cursor needs to leave an inset
4372
4373         * lyxtext.h: remove inset locking
4374
4375         * cursor.[Ch]: re-implement functionality provided by inset locking
4376
4377         * BufferView.[Ch]:
4378         * BufferView_pimpl.[Ch]:
4379         * LyXAction.C:
4380         * bufferview_funcs.[Ch]:
4381         * factory.C:
4382         * funcrequest.[Ch]:
4383         * iterators.C:
4384         * lyx_cb.C:
4385         * lyxfind.C:
4386         * lyxfunc.C:
4387         * text.C:
4388         * text2.C:
4389         * text3.C:
4390         * undo.C: adjust
4391
4392 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4393
4394         * PosIterator.[Ch]: replace the stack with a vector, add inset
4395         accesor
4396         * iterators.[C]: adjust
4397
4398 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4399
4400         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4401         replaced
4402         * paragraph_funcs.C (readParToken): put the correct id in the
4403         error item, not the id of the top paragraph
4404
4405 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4406
4407         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4408         * bufferview_funcs.C (put_selection_at): use the above
4409
4410 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4411
4412         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4413
4414 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4415
4416         * output_linuxdoc.h:
4417         * output_plaintext.h:
4418         * output.h:
4419         * output_docbook.h: add #include statements
4420
4421 2003-11-05  José Matos  <jamatos@lyx.org>
4422
4423         * output_docbook.[Ch]:
4424         * output_latex.[Ch]:
4425         * output_linuxdoc.[Ch]:
4426         * output_plaintext.[Ch]: New files for output formats.
4427         * output.[Ch]: New file for helper functions.
4428
4429         * buffer.[Ch]:
4430         * paragraph_funcs.[Ch]: output functions moved to new files.
4431
4432         * outputparams.h: rename of latexrunparams.h
4433
4434         * LaTeX.[Ch]:
4435         * buffer.[Ch]:
4436         * bufferlist.[Ch]:
4437         * converter.[Ch]:
4438         * exporter.C:
4439         * paragraph.[Ch]:
4440         * paragraph_funcs.[Ch]:
4441         * paragraph_pimpl.[Ch]:
4442         * tabular.[Ch]: rename ascii to plaintext
4443         and LatexRunParams to OutputParams.
4444
4445 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4446
4447         * iterators.[Ch] (text): require bv argument
4448         * undo.C (recordUndo):
4449         * lyxfunc.C (dispatch):
4450         * bufferview_funcs.C (put_selection_at): adjust
4451
4452 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4453
4454         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4455
4456 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4457
4458         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4459         nestings
4460
4461 2003-11-04  André Pönitz  <poenitz@gmx.net>
4462
4463         * cursor.[Ch]: restructure
4464
4465         * BufferView.[Ch]:
4466         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4467
4468         * iterators.[Ch] (asCursor): remove
4469
4470         * lfuns.h: remove LFUN_INSET_EDIT
4471
4472         * lyxfunc.C:
4473         * tabular.C:
4474         * text.C:
4475         * text2.C:
4476         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4477
4478 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4479
4480         * lyxfind.[Ch]: complete overhaul
4481         * BufferView_pimpl.C:
4482         * lyxfunc.C: adjust
4483         * paragraph.[Ch] (insert): add
4484
4485 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4486
4487         * BufferView.[Ch]:
4488         * lyxtext.h:
4489         * text.C: remove dead spellcheck code
4490
4491 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4492
4493         * dispatchresult.h: add a val setter
4494
4495         * cursor.C (dispatch): use a tempvar for data_[i]
4496
4497 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4498
4499         * PosIterator.[Ch]: compile fix
4500
4501 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4502
4503         * text.C (cursorPar): deactivate the cursor cache
4504
4505 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4506
4507         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4508
4509 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4510
4511         * text3.C (dispatch): adjust for new DisptchResult semantics.
4512
4513         * lyxfunc.C (dispatch): handle update when return from
4514         Cursor::dispatch, adjust for new DispatchResult semantics.
4515
4516         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4517         DispatchResult(true) mean to not update. Add class functions for
4518         setting dispatched and update, as well as reading.
4519
4520         * cursor.C (dispatch): don't handle update here
4521
4522 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4523
4524         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4525         * trans_mgr.C: adjust
4526
4527         * paragraph_funcs.C (readParToken): exception safety
4528
4529         * lyxvc.h: store the vcs pointer in a scoped_ptr
4530         * lyxvc.C: adjust
4531
4532         * lyxsocket.C (serverCallback): exception safety
4533
4534         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4535
4536         * ispell.C (clone): make it return a auto_ptr
4537
4538         * factory.C (createInset): exception safety
4539         (readInset): exception safety
4540
4541         * bufferlist.C (newBuffer): exception safety
4542
4543         * Thesaurus.C (Thesaurus): use initialization for aik_
4544
4545         * MenuBackend.C (expandToc): exception safety.
4546
4547 2003-11-03  André Pönitz  <poenitz@gmx.net>
4548
4549         * buffer.C:
4550         * buffer.h:
4551         * bufferview_funcs.C: remove getInsetFromId()
4552
4553         * lyxcursor.[Ch]:
4554         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4555
4556         * lyxfunc.C:
4557         * text2.C:
4558         * text3.C: adjust
4559
4560 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4561
4562         * PosIterator.C (distance, advance): new
4563         * bufferview_funcs.[Ch] (put_selection_at): new
4564         * iterators.[Ch] (lockPath): new
4565
4566 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4567
4568         * iterators.[Ch] (asPosIterator): added
4569         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4570         * PosIterator.[Ch]: added
4571
4572 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4573
4574         * text3.C:
4575         * lyxfunc.C:
4576         * cursor.C (dispatch):
4577         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4578
4579         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4580         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4581         contructor, add a class function dispatched. Remove operator>=
4582
4583 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4584
4585         * debug.C: only use the default constructor for debugstream
4586         (lyxerr) here.
4587
4588         * main.C (main): include debug.h and setup the lyxerr streambuf
4589         here.
4590
4591 2003-10-31  José Matos  <jamatos@lyx.org>
4592
4593         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4594
4595         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4596         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4597         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4598         * paragraph_pimpl.C (simpleTeXSpecialC):
4599         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4600         add LatexRunParams argument.
4601
4602         * exporter.C (Export): change call accordingly.
4603
4604         * latexrunparams.h: add new member to take care of the other backends.
4605 2003-10-30  José Matos  <jamatos@lyx.org>
4606
4607         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4608         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4609         factorise code for paragraph output.
4610         * buffer.[Ch]:
4611         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4612         move functions.
4613
4614 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4615
4616         * text3.C (dispatch):
4617         * lyxfunc.C (dispatch):
4618         * cursor.C (dispatch):
4619         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4620
4621         * dispatchresult.h: make the dispatch_result_t ctor explicit
4622
4623 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4624
4625         * sgml.[Ch]:
4626         * buffer.C: small refactoring of docbook stuff
4627
4628 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4629
4630         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4631         meaning.
4632
4633 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4634
4635         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4636         operator dispatch_result_t, and operators for == != and >=
4637
4638         * cursor.C (dispatch): adjust for operator dispatch_result_t
4639         removal. comment out call to update
4640
4641         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4642
4643 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4644
4645         * text3.C:
4646         * text2.C:
4647         * text.C:
4648         * lyxtext.h:
4649         * lyxfunc.C:
4650         * cursor.C:
4651         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4652         (dispatch):
4653
4654         * dispatchresult.h: new file, DispatchResult broken out of
4655         insets/insetbase.h
4656
4657         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4658
4659 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4660
4661         * text.C (rowBreakPoint): put a hack inside #if 0
4662
4663 2003-10-28  André Pönitz  <poenitz@gmx.net>
4664
4665         * lyxtext.h:
4666         * metricsinfo.C:
4667         * paragraph_funcs.C:
4668         * rowpainter.C:
4669         * text.C:
4670         * text2.C: general cleanup (lots of small stuff)
4671
4672 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4673
4674         * text2.C (cursorEnd): simple fix to the "end key goes to one
4675         before the end on last row" bug
4676
4677 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4678
4679         * text.C (backspace): fix the "zombie characters"
4680
4681 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4682
4683         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4684
4685 2003-10-27  André Pönitz  <poenitz@gmx.net>
4686
4687         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4688
4689         * factory.C: handle new InsetPagebreak, InsetLine
4690
4691         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4692         and move handling into new InsetPagebreak, InsetLine
4693
4694         * BufferView_pimpl.C:
4695         * LyXAction.C:
4696         * ParagraphParameters.C:
4697         * ParameterStruct.h:
4698         * lyxfunc.C:
4699         * lyxtext.h:
4700         * paragraph.C:
4701         * paragraph.h:
4702         * paragraph_funcs.C:
4703         * paragraph_pimpl.C:
4704         * rowpainter.C:
4705         * text.C:
4706         * text2.C:
4707         * text3.C: adjust
4708
4709 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4710
4711         * text.C:
4712         * lyxrow_funcs.[Ch]:
4713         * Bidi.C:
4714         * paragraph.C:
4715         * lyxtext.h:
4716         * rowpainter.C:
4717         * text2.C:
4718         * text3.C: remove lastPos uses in favour of Row::endpos
4719
4720 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4721
4722         * undo.C (performUndoOrRedo): fix two crashes by setting a
4723         cursor by hand and reordering some calls. Use bv->lockInset instead
4724         of inset->edit because the latter loses cursor information
4725
4726 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4727
4728         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4729         by Martin
4730         (rowBreakPoint): fix width. change point to point + 1.
4731         Add a missing check.
4732
4733 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4734
4735         * MenuBackend.C:
4736         * lyxfunc.C: fix (at least partly) the problems
4737         with the Nav menu and headers inside branch insets
4738         reported by Kayvan
4739
4740 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4741
4742         * paragraph.C (getChar): add strong asserts
4743
4744         * lyxrow_funcs.C (lastPos): remove hideous hack
4745
4746         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4747         (fill): adjust to that (avoid an infinite loop)
4748
4749 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4750
4751         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4752
4753 2003-10-23  André Pönitz  <poenitz@gmx.net>
4754
4755         * RowList_fwd.h: change list<> to vector<> to gain speed
4756         after suggestion from Alfredo
4757
4758 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4759
4760         * lyxtext.h: move the bidi stuff from here...
4761         * text.C: and here
4762         * text2.C: and here
4763         * Bidi.[Ch]: ... to here
4764
4765 2003-10-23  André Pönitz  <poenitz@gmx.net>
4766
4767         * lyxtext.h:
4768         * text.C (isLastRow, isFirstRow): new functions
4769
4770         * paragraph.h: new width cache member
4771
4772         * rowpainter.C: replace RowList::iterator with Row & where possible
4773
4774         * lyxfunc.C: replace several view()->text with a single call
4775
4776         * toc.C: fix 'unused' warning
4777
4778 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4779
4780         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4781         when woring with stream::pos_type
4782         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4783
4784 2003-10-22  André Pönitz  <poenitz@gmx.net>
4785
4786         * lyxtext.h:
4787         * text.C: use Row & instead of RowList::iterator
4788
4789         * lyxrow.h: rename end() to endpos()
4790
4791         * rowpainter.C:
4792         * text.C:
4793         * text2.C: adjust
4794
4795 2003-10-22  Angus Leeming  <leeming@lyx.org>
4796
4797         * buffer.[Ch] (fully_loaded): new member function, returning true
4798         only when the file has been loaded fully.
4799         Used to prevent the premature generation of previews and by the
4800         citation inset to prevent computation of the natbib-style label.
4801
4802         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4803         templates are all set up.
4804
4805         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4806
4807 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4808
4809         * text.C: fixed an "oops" in the "is a bit silly"
4810         bug fix
4811
4812 2003-10-21  André Pönitz  <poenitz@gmx.net>
4813
4814         * FuncStatus.[Ch]: small stuff, whitespace
4815
4816         * lyxfont.[Ch]: operator<<() for debug reasons
4817
4818         * lyxfunc.C:
4819         * lyxrow_funcs.C:
4820         * lyxtext.h: whitespace, spelling
4821
4822         * paragraph.C: naming of variables
4823
4824         * text.C:
4825         * text2.C: small stuff
4826
4827
4828 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4829
4830         * text.C: (1) finish off the inset display() work;
4831         (2) fix the "is a bit silly" bug (accessing char
4832         past end of par).
4833
4834 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4835
4836         * text.C: re-introduce display() for insets, fixing the
4837         various bugs (stretch of line above, math inset
4838         positioning, ...)
4839
4840 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4841
4842         * text.C (rightMargin): remove spurious semicolon
4843
4844         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4845         1415)
4846
4847 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4848
4849         * text3.C: fix one crash due to wrong cursor def
4850
4851 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4852
4853         * vc-backend.C (scanMaster): make the regex static
4854
4855         * LaTeX.C (scanAuxFile): make the regexs static
4856
4857         * text3.C (doInsertInset, dispatch, dispatch):
4858         * text2.C (cursorUp, cursorDown):
4859         * text.C (selectNextWordToSpellcheck):
4860         * BufferView_pimpl.C (dispatch):
4861         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4862
4863 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4864
4865         * lyxsocket.C: include <cerrno>
4866
4867 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4868
4869         * lyxfunc.C (dispatch): remove textcache stuff
4870
4871         * bufferlist.C (release): remove textcache stuff
4872         (closeAll): ditto
4873
4874         * TextCache.C: delete file
4875         * TextCache.h: delete file
4876
4877         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4878
4879         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4880         delete of the bv_->text.
4881         (resizeCurrentBuffer): remove texcache stuff
4882         (workAreaResize): ditto
4883
4884 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4885
4886         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4887         action.
4888
4889 2003-10-16  André Pönitz  <poenitz@gmx.net>
4890
4891         * lyxrow.[Ch]:
4892         * paragraph.h:
4893         * rowpainter.C:
4894         * text.C:
4895         * text2.C:
4896         * text3.C: speed up by storing y positions per paragraph plus per-row
4897         offset instead of having a 'full' y position in the row.
4898
4899 2003-10-15  André Pönitz  <poenitz@gmx.net>
4900
4901         * iterators.[Ch]:
4902         * iterators.[Ch]:
4903         * undo.[Ch]: make undo aware of inner insets
4904
4905 2003-10-14  Angus Leeming  <leeming@lyx.org>
4906
4907         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4908         static member functions LyX::ref() and LyX::cref.
4909         (lastfiles): new accessor functions for the new lastfiles_ member var.
4910         (addLyXView, views_): add a new LyXView to the list of views_.
4911         (updateInset): loop over all LyXViews to call their own updateInset
4912         member function, returning a pointer to the Buffer owning the inset.
4913
4914         * BufferView_pimpl.C (loadLyXFile):
4915         * MenuBackend.C (expandLastfiles):
4916         * bufferlist.C (MenuWrite, QuitLyX):
4917         lastfiles is no longer a global variable.
4918         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4919
4920         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4921         static function. Access through LyX::cref().emergencyCleanup().
4922
4923 2003-10-14  André Pönitz  <poenitz@gmx.net>
4924
4925         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4926
4927         * undo.[Ch]: restoring part of 'undo in insets'
4928
4929         * Makefile.am:
4930         * undo_funcs.[Ch]: merge with undo.[Ch]
4931
4932         * tabular.C: small cleansing stuff
4933
4934 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4935
4936         * paragraph_funcs.C (readParToken): report unknown insets as error
4937         boxes. Use the outer paragraph as location (also for unknown
4938         tokens).
4939
4940         * factory.C (readInset): do not abort on reading an unknown inset.
4941         Eat it and return 0.
4942
4943 2003-10-13  Angus Leeming  <leeming@lyx.org>
4944
4945         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4946
4947         * lyxrc.C: displayTranslator is now a function,
4948         declared in GraphicsTypes.h.
4949
4950 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4951
4952         * format.C: new placeholder $$a to pass the socket address.
4953
4954         * bufferlist.[Ch]: new function getBufferFromTmp.
4955
4956         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4957           files in the temporary dir.
4958
4959 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4960
4961         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4962
4963         * Makefile.am: add lyxsocket.[Ch].
4964
4965         * lyx_main.C (error_handler): handle SIGPIPE.
4966
4967 2003-10-13  André Pönitz  <poenitz@gmx.net>
4968
4969         * BufferView_pimpl.C:
4970         * lyxtext.h:
4971         * text.C:
4972         * text2.C:
4973         * text3.C:
4974         * undo_funcs.[Ch]: use paroffset_type instead of
4975           ParagraphList::iterators to prevent multiple conversion
4976           (and get a more robust interface)
4977
4978 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4979
4980         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4981         * lyxtext.h: ditto
4982         * text3.C (dispatch): ditto
4983
4984 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4985
4986         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4987         move the onlyfile, use onlyfile instead of foundfile in a couple
4988         of places.
4989
4990         * DepTable.C (update): flush the error stream a bit more
4991
4992 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * lyxserver.C (callback): adjust
4995
4996         * lyxfunc.C (getStatus): add a missing brace in commented code
4997         (ensureBufferClean): reindent
4998         (dispatch): delete version taking a string
4999
5000 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5001
5002         * LaTeX.C (deplog): move found file handlig from here...
5003         (handleFoundFile): .. to new function here.
5004         (deplog): make sure to discover several files mentioned on the
5005         same log line.
5006
5007 2003-10-10  André Pönitz  <poenitz@gmx.net>
5008
5009         * lyxfunc.C:
5010         * lyxtext.h:
5011         * tabular.C:
5012         * text.C:
5013         * text2.C:
5014         * text3.C: fix some of the tabular crashes
5015
5016 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5017
5018         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5019
5020         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5021
5022 2003-10-09  André Pönitz  <poenitz@gmx.net>
5023
5024         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5025
5026         * BufferView.C:
5027         * BufferView_pimpl.C:
5028         * bufferview_funcs.C:
5029         * lyx_cb.C:
5030         * lyxcursor.C:
5031         * lyxfind.C:
5032         * lyxfunc.C:
5033         * lyxtext.h:
5034         * text.C:
5035         * text2.C:
5036         * text3.C:
5037         * text_funcs.[Ch]:
5038         * textcursor.[Ch]:
5039         * undo_funcs.C: adjust
5040
5041 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5042
5043         * text2.C (incrementItemDepth): new function, use a backtracking
5044         algorithm to discover the correct item depth.
5045         (resetEnumCounterIfNeeded): new function, use a backtracking
5046         algorithm to discover if counter reset is needed.
5047         (setCounter): use them. Simplify a bit. Add different labels for
5048         different item depths for itemize.
5049
5050         * paragraph.C (Paragraph): remove initialization of enumdepth
5051         (operator=): ditto
5052
5053         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5054         enumerate and itemize. Change the type of itemdepth to signed char.
5055
5056 2003-10-08  André Pönitz  <poenitz@gmx.net>
5057
5058         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5059           thing assignable.
5060         * text.C:
5061         * text2.C: adjust
5062
5063         * tabular.[Ch]: fix crash after 'row-insert'
5064
5065 2003-10-08  Angus Leeming  <leeming@lyx.org>
5066
5067         Fix doxygen warnings.
5068
5069         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5070         Remove CutAndPaste:: prefix from header file declaration.
5071
5072         * LColor.h (fill): remove LColor:: prefix from declaration.
5073
5074         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5075         use lyx::depth_type rather than Paragraph::depth_type so that
5076         header file and .C file match.
5077
5078         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5079
5080         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5081         * aspell.C: \file aspell_local.C -> \file aspell.C
5082         * gettext.C: \file gettext.C -> \file src/gettext.C
5083         * gettext.h: \file gettext.h -> \file src/gettext.h
5084         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5085         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5086         * text.C: \file text.C -> \file src/text.C
5087
5088         * toc.C: move comment so that doxygen is not confused.
5089
5090 2003-10-07  Angus Leeming  <leeming@lyx.org>
5091
5092         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5093
5094 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5095
5096         * aspell.C:
5097         * aspell_local.h: add forgotten std::string's.
5098
5099 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5100
5101         * LaTeXFeatures.C:
5102         * LyXAction.C:
5103         * factory.C:
5104         * lfuns.h:
5105         * lyxfunc.C:
5106         * text3.C: The Box patch. Fancybox support, minipage, parbox
5107
5108 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5109
5110         * CutAndPaste.h:
5111         * DepTable.h:
5112         * FloatList.h:
5113         * LaTeXFeatures.h:
5114         * ParagraphParameters.h:
5115         * TextCache.h:
5116         * Thesaurus.h:
5117         * bufferlist.h:
5118         * exporter.h:
5119         * importer.h:
5120         * lastfiles.h:
5121         * lyxfind.h:
5122         * lyxfont.h:
5123         * lyxlex.h:
5124         * lyxtextclasslist.h:
5125         * messages.h:
5126         * paragraph.h:
5127         * paragraph_pimpl.C:
5128         * textcursor.h: add <string> and other small fixes to make Lars'
5129         std::string patch compile with STLport.
5130
5131 2003-10-06  Angus Leeming  <leeming@lyx.org>
5132
5133         * LColor.h: Add missing #include <string>.
5134
5135 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5136
5137         * All most all file in all subdirs: Make <string> be the prefered
5138         way of getting to std::string, add using declarations.
5139
5140 2003-10-06  André Pönitz  <poenitz@gmx.net>
5141
5142         * metricsinfo.C: initialize LyXFont before changing attribute.
5143         (fixes the 'math in \emph is upright' bug)
5144
5145 2003-10-06  André Pönitz  <poenitz@gmx.net>
5146
5147         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5148
5149 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5150
5151         * graph.C:
5152         * paragraph_pimpl.C: Small fixes to build using STLport
5153
5154 2003-10-02  André Pönitz  <poenitz@gmx.net>
5155
5156         * lyxfunc.C:
5157         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5158
5159 2003-10-01  André Pönitz  <poenitz@gmx.net>
5160
5161         * factory.C: assert early
5162
5163 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5164
5165         * lyx_main.C: remove the global debug object
5166
5167         * debug.h: adjust for new debugstream
5168
5169         * debug.C: adjust for new debugstream and keep the global debug
5170         object here.
5171
5172 2003-09-22  Angus Leeming  <leeming@lyx.org>
5173
5174         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5175         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5176         an incomplete class LyXFont.
5177
5178 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5179
5180         * factory.C: bug fix in branches
5181
5182 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5183
5184         * lyxfunc.C (processKeySym): adjust
5185         (dispatch): adjust
5186         (dispatch): change arg name from ev to func, adjust
5187         (sendDispatchMessage): ditto
5188
5189         * lyx_main.C (defaultKeyBindings): adjust keybindings
5190         (deadKeyBindings): ditto
5191
5192         * kbsequence.C (addkey): return a FuncRequest
5193
5194         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5195
5196         * kbmap.C (bind): take a FuncRequest as arg, adjust
5197         (read): adjust
5198         (lookup): adjust
5199         (defkey): change to take a FuncRequest as arg, adjust
5200         (findbinding): take a FuncRequest as arg, adjust.
5201
5202         * funcrequest.h (operator=): added
5203
5204         * funcrequest.C (FuncRequest): default kb_action changed from
5205         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5206
5207         * buffer.C (dispatch): simplify
5208         (dispatch): adjust to take a FuncRequest as arg, adjust
5209
5210         * boost.C (assertion_failed): change assertion message slightly
5211
5212         * ToolbarBackend.C (read): simplify
5213
5214         * MenuBackend.C (binding): adjust call to findbinding, add a
5215         message if no binding is found.
5216         (read): simplify
5217         (expandToc): correct by adding a empty FuncRequest
5218
5219         * LyXAction.C: include <boost/assert.hpp>
5220         (isPseudoAction): delete function
5221         (LookupFunc): change name to...
5222         (lookupFunc): this. change return type to FuncRequest.
5223         (getActionName): take kb_action as arg, simplify
5224         (funcHasFlag): add an assert, simplify.
5225
5226 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5227
5228         * toc.C (action): return a FuncRequest, simplify
5229
5230         * lyxfunc.C (processKeySym): adjust
5231         (getStatus): delete version that takes an int.
5232         (getStatus): adjust
5233         (dispatch): delete version that takes action as int
5234         (dispatch): adjust
5235         (sendDispatchMessage): simplify and adjust
5236
5237         * funcrequest.C (getArg): take unsigned int as arg
5238
5239         * ToolbarBackend.C (read): adjust
5240         (add): delete version that takes func as a string.
5241         (getIton): take a FuncRequest as arg
5242
5243         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5244         action.
5245
5246         * MenuBackend.C (MenuItem): add a new construct that only takes a
5247         Kind, simplify the constructor use for submenus.
5248         (add): adjust
5249         (expandLastfiles): adjust
5250         (expandDocuments): adjust
5251         (expandFormats): adjust
5252         (expandFloatListInsert): adjust
5253         (expandFloatInsert): adjust
5254         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5255
5256         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5257         Remove class variables lyx_pseudo_map and lyx_arg_map
5258
5259         * LyXAction.C (searchActionArg): delete function
5260         (getPseudoAction): delete function
5261         (retrieveActionArg): delete function
5262         (LookupFunc): make it return kb_action, simplify.
5263         (getActionName): simplify
5264
5265         * factory.C (createInset): fix new bug
5266
5267 2003-09-19  Angus Leeming  <leeming@lyx.org>
5268
5269         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5270         masterFilename_ parameter in the include inset.
5271
5272         * factory.C (createInset): changes due to the changes to InsetInclude.
5273
5274 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5275
5276         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5277
5278 2003-09-18  Angus Leeming  <leeming@lyx.org>
5279
5280         * buffer.C:
5281         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5282         Inset::fillWithBibKeys.
5283         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5284
5285 2003-09-18  Angus Leeming  <leeming@lyx.org>
5286
5287         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5288         variables.
5289         (ctor): pass and store a 'Buffer const &'
5290         (buffer): new member function.
5291
5292         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5293         '*this' to the LaTeXFeatures ctor.
5294
5295 2003-09-18  Angus Leeming  <leeming@lyx.org>
5296
5297         * LColor.h:
5298         * lyxfont.C:
5299         * lyxfont.h:
5300         * lyxtext.h:
5301         * text.C: rename EnumLColor as LColor_color.
5302
5303 2003-09-18  Angus Leeming  <leeming@lyx.org>
5304
5305         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5306         remove #include "insets/insetbase.h" from cursor.h.
5307
5308 2003-09-18  Angus Leeming  <leeming@lyx.org>
5309
5310         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5311         InsetOld_code to remove #include "inset.h".
5312
5313         * iterators.C: add #include "insets/inset.h"
5314
5315 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5316
5317         * BufferView.C: remove more locking stuff that apparently doesn't
5318         do anything sensible.
5319
5320 2003-09-16  André Pönitz  <poenitz@gmx.net>
5321
5322         * paragraph.[Ch]:
5323         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5324           performance boost.
5325
5326 2003-09-16  Angus Leeming  <leeming@lyx.org>
5327
5328         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5329
5330         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5331         arg/return type.
5332
5333         * paragraph.h: remove #include "lyxfont.h". Forward declare
5334         LyXFont_size.
5335
5336 2003-09-16  Angus Leeming  <leeming@lyx.org>
5337
5338         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5339         of support/textutils.h.
5340         (isWord): move the contents of support/textutils.h's IsWordChar here.
5341
5342         * buffer.C:
5343         * lyxfind.C:
5344         * rowpainter.C:
5345         * text.C:
5346         * text2.C: add #include "paragraph.h".
5347
5348         * rowpainter.C:
5349         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5350
5351 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5352
5353         * main.C:
5354         * lyx_main.C:
5355         * lyx_cb.C:
5356         * buffer.C:
5357         * LaTeX.C: use namespace alias for lyx::support::os
5358
5359 2003-09-16  Angus Leeming  <leeming@lyx.org>
5360
5361         * bufferparams.C:
5362         * bufferview_funcs.C:
5363         * factory.C:
5364         * lyxfunc.C:
5365         * paragraph_pimpl.C:
5366         * rowpainter.C:
5367         * text.C: add #include "LColor.h".
5368
5369 2003-09-16  Angus Leeming  <leeming@lyx.org>
5370
5371         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5372         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5373         return LyXFont &.
5374         Store the FontBits::color variable as an int rather than as an
5375         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5376         file.
5377
5378         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5379         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5380         string calls together.
5381
5382         * lyxrc.C: add #include "LColor.h".
5383
5384 2003-09-15  Angus Leeming  <leeming@lyx.org>
5385
5386         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5387         a cow_ptr.
5388
5389 2003-09-15  Angus Leeming  <leeming@lyx.org>
5390
5391         * LColor.h: add an EnumLColor wrapper for LColor::color.
5392
5393         * lyxfont.[Ch] (color, setColor, realColor):
5394         * lyxtext.h, text.C (backgroundColor):
5395         pass EnumLColor args to/from the functions, rather than LColor::color
5396         ones.
5397
5398         * lyxfont.h:
5399         * lyxtext.h: forward declare EnumLColor.
5400
5401         * lyx_main.C: add #include "LColor.h".
5402
5403 2003-09-15  Angus Leeming  <leeming@lyx.org>
5404
5405         * .cvsignore: add lyx-gtk.
5406
5407 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5408
5409         * Chktex.C
5410         * LaTeX.C
5411         * LaTeXFeatures.C
5412         * ParagraphParameters.C
5413         * Spacing.C
5414         * buffer.C
5415         * bufferparams.C
5416         * bufferview_funcs.C
5417         * chset.C
5418         * counters.C
5419         * funcrequest.C
5420         * lyxfont.C
5421         * lyxgluelength.C
5422         * lyxlength.C
5423         * paragraph.C
5424         * paragraph_funcs.C
5425         * text3.C
5426         * vc-backend.C: remove usage of STRCONV
5427
5428 2003-09-15  Angus Leeming  <leeming@lyx.org>
5429
5430         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5431         explicitly define the color passed to the painter.
5432
5433 2003-09-15  Angus Leeming  <leeming@lyx.org>
5434
5435         * bufferparams.C (BufferParams): reorder member initializers to avoid
5436         compiler warning.
5437
5438 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5439
5440         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5441         * text.C (updateRowPositions): remove an unusual nop
5442
5443 2003-09-12  André Pönitz  <poenitz@gmx.net>
5444
5445         * BufferView_pimpl.C:
5446         * Bullet.C:
5447         * layout.h:
5448         * lyxfunc.C:
5449         * lyxlayout.[Ch]:
5450         * lyxtextclass.C:
5451         * rowpainter.C:
5452         * text.C:
5453         * text2.C:
5454         * Counters.[Ch]: finish the 'automatic counters' job
5455
5456 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5457
5458         * aspell.C: include <boost/assert.cpp> (compile fix)
5459
5460 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5461
5462         * boost.C (assertion_failed): use lyx::support::abort instead of
5463         assert.
5464
5465 2003-09-10  Angus Leeming  <leeming@lyx.org>
5466
5467         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5468         with their _fwd progeny.
5469
5470 2003-09-09  Angus Leeming  <leeming@lyx.org>
5471
5472         134 files throughtout the source tree: replace 'using namespace abc;'
5473         directives with the appropriate 'using abc::xyz;' declarations.
5474
5475 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5476
5477         * boost.C (emergencyCleanup): moved here from LAssert.c
5478         (assertion_failed): new function, called by BOOST_ASSERT
5479
5480         * several files: change Assert to BOOST_ASSERT
5481
5482 2003-09-09  Angus Leeming  <leeming@lyx.org>
5483
5484         * buffer.[Ch]: Add an Impl class and move Buffer's member
5485         variables into it. As a result move several header files out of
5486         buffer.h.
5487
5488         Add header files to lots of .C files all over the tree as a result.
5489
5490 2003-09-09  Angus Leeming  <leeming@lyx.org>
5491
5492         * buffer.[Ch]: make Buffer's member variables private. Add
5493         accessor functions.
5494
5495         Lots of changes all over the tree as a result.
5496
5497 2003-09-08  Angus Leeming  <leeming@lyx.org>
5498
5499         * graph.C: #include <config.h>.
5500
5501 2003-09-08  Angus Leeming  <leeming@lyx.org>
5502
5503         * BranchList.C:
5504         * BufferView.C:
5505         * BufferView_pimpl.C:
5506         * CutAndPaste.C:
5507         * DepTable.C:
5508         * LaTeX.C:
5509         * LaTeXFeatures.C:
5510         * LyXAction.C:
5511         * MenuBackend.C:
5512         * TextCache.C:
5513         * aspell.C:
5514         * buffer.C:
5515         * bufferlist.C:
5516         * changes.C:
5517         * chset.C:
5518         * converter.C:
5519         * counters.C:
5520         * debug.C:
5521         * graph.C:
5522         * ispell.C:
5523         * lyx_cb.C:
5524         * lyxfind.C:
5525         * lyxfunc.C:
5526         * lyxlex_pimpl.C:
5527         * lyxrc.C:
5528         * lyxrow.C:
5529         * paragraph.C:
5530         * rowpainter.C:
5531         * texrow.C:
5532         * text.C:
5533         * text2.C:
5534         * toc.C: remove redundant using directives.
5535
5536 2003-09-07  Angus Leeming  <leeming@lyx.org>
5537
5538         * LaTeXFeatures.h: remove #include "support/types.h".
5539         * ToolbarBackend.h: remove #include <algorithm>.
5540         * changes.h: remove #include <ctime>.
5541         * debug.h: remove #include <iosfwd>.
5542         * graph.h: remove #include "support/std_string.h".
5543         * lyx_main.h: remove #include <csignal>.
5544         * lyxlex_pimpl.h: remove #include <fstream>.
5545         * sgml.h: remove #include <algorithm>, <utility>.
5546         * toc.h: remove #include "support/std_ostream.h".
5547         Add #include <iosfwd>.
5548
5549 2003-09-07  Angus Leeming  <leeming@lyx.org>
5550
5551         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5552
5553         * converter.h: forward declare LatexRunParams.
5554         * encoding.h: remove #include "lyxrc.h".
5555         * lyxtext.h: remove #include "LColor.h".
5556         * lyxtextclass.h: remove #include "support/types.h".
5557         * trans.h: remove #include "tex-accent.h".
5558         * trans_mgr.h: remove #include "tex-accent.h".
5559         * insets/inset.h: remove #include "support/types.h", <vector>.
5560         * insets/insetcollapsable.h: remove #include "LColor.h".
5561         * insets/insetinclude.h: remove #include "dimension.h".
5562         * insets/insetlatexaccent.h: remove #include "dimension.h".
5563         * insets/insetoptarg.h:: remove #include "insettext.h".
5564         * insets/insettext.h: remove #include "dimension.h",
5565         <boost/shared_ptr.hpp>
5566
5567         * insets/renderers.h: add #include "dimension.h".
5568         * insets/updatableinset.h: add #include "support/types.h".
5569
5570         * many .C files: Associated changes.
5571
5572 2003-09-06  Angus Leeming  <leeming@lyx.org>
5573
5574         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5575         one, inside testInvariant.
5576
5577         * PrinterParams.C: new file.
5578         * PrinterParams.[Ch]: move the function bodies out of line.
5579
5580 2003-09-06  Angus Leeming  <leeming@lyx.org>
5581
5582         * ParagraphParameters.h: forward declare ParameterStruct rather than
5583         including its header file.
5584         (depth): moved out-of-line.
5585
5586 2003-09-06  Angus Leeming  <leeming@lyx.org>
5587
5588         * BufferView_pimpl.h:
5589         * kbmap.h:
5590         * kbsequence.h:
5591         * lyxfunc.h: forward declare LyXKeySym rather than
5592         #include "frontends/LyXKeySym.h".
5593
5594         * BufferView_pimpl.C:
5595         * kbmap.C:
5596         * kbsequence.C:
5597         * lyxfunc.C: associated changes.
5598
5599 2003-09-06  Angus Leeming  <leeming@lyx.org>
5600
5601         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5602         As a result, can remove the #include "insets/inset.h" from BufferView.h
5603
5604 2003-09-06  Angus Leeming  <leeming@lyx.org>
5605
5606         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5607         As a result, can remove the #include "insets/inset.h" from BufferView.h
5608
5609 2003-09-06  Angus Leeming  <leeming@lyx.org>
5610
5611         * buffer_funcs.C:
5612         * buffer.h:
5613         * bufferlist.C:
5614         * BufferView.C:
5615         * bufferview_funcs.C:
5616         * BufferView_pimpl.C:
5617         * CutAndPaste.C:
5618         * lyx_cb.C:
5619         * lyxfunc.C:
5620         * paragraph.h:
5621         * ParagraphParameters.C:
5622         * tabular.C:
5623         * text3.C:
5624         * toc.C:
5625         * undo_funcs.C:
5626         * frontends/controllers/ControlDocument.C:
5627         * insets/insetcaption.C: rearrange the #includes into some sort of
5628         coherent order.
5629
5630         * buffer.h: remove #includes ErrorList.h, undo.h
5631
5632 2003-09-06  Angus Leeming  <leeming@lyx.org>
5633
5634         * support/types.h: add a 'depth_type' typedef, used to store the
5635         nesting depth of a paragraph.
5636
5637         * paragraph.h:
5638         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5639         defining explicitly.
5640
5641         * buffer.h:
5642         * paragraph_funcs.h:
5643         * ParagraphParameters.h:
5644         * sgml.h: use lyx::depth_type rather than Paragraph or
5645         ParameterStruct's depth_type.
5646
5647         * buffer.h
5648         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5649
5650         * BufferView.C:
5651         * BufferView_pimpl.C:
5652         * CutAndPaste.C:
5653         * ParagraphParameters.C:
5654         * buffer_funcs.C:
5655         * bufferlist.C:
5656         * bufferview_funcs.C:
5657         * lyx_cb.C:
5658         * lyxfunc.C:
5659         * tabular.C:
5660         * text3.C:
5661         * toc.C:
5662         * undo_funcs.C:
5663         * frontends/LyXView.C:
5664         * frontends/controllers/ControlDocument.C:
5665         * frontends/controllers/ControlErrorList.C:
5666         * insets/insetbibitem.C:
5667         * insets/insetbranch.C:
5668         * insets/insetcaption.C:
5669         * insets/insetcollapsable.C:
5670         * insets/insetenv.C:
5671         * insets/insetert.C:
5672         * insets/insetfloat.C:
5673         * insets/insetfoot.C:
5674         * insets/insetfootlike.C:
5675         * insets/insetnewline.C:
5676         * insets/insetquotes.C:
5677         * insets/insettabular.C:
5678         * insets/insettext.C:
5679         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5680
5681         * frontends/controllers/ControlChanges.C: #include "changes.h".
5682
5683 2003-09-06  Angus Leeming  <leeming@lyx.org>
5684
5685         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5686         than #including paragraph.h.
5687
5688         * ParagraphList.h:
5689         * RowList.h: deleted. Superfluous.
5690
5691         * CutAndPaste.h:
5692         * iterators.h:
5693         * lyxcursor.h:
5694         * lyxtext.h:
5695         * text_funcs.h:
5696         * undo.h:
5697         * undo_funcs.h:
5698         * insets/inset.h:
5699         * insets/insettext.h: use ParagraphList_fwd.h rather than
5700         ParagraphList.h.
5701
5702         * paragraph.h: don't forward declare ParagraphList.
5703
5704         * buffer.h:
5705         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5706         rather than ParagraphList.h. paragraph.h is still needed for the
5707         Paragraph::depth_type parameters.
5708
5709         * textcursor.h: enable it to compile stand-alone in light of the
5710         above changes.
5711
5712         * bufferview_funcs.C:
5713         * iterators.C:
5714         * lyxfunc.C:
5715         * lyxrow_funcs.C:
5716         * paragraph.C:
5717         * rowpainter.C:
5718         * text.C:
5719         * text2.C:
5720         * text3.C:
5721         * text_funcs.C:
5722         * textcursor.C:
5723         * undo.C:
5724         * frontends/controllers/ControlParagraph.C:
5725         * frontends/controllers/ControlTabular.C:
5726         * insets/insetmarginal.C:
5727         * insets/insetminipage.C:
5728         * insets/insetnote.C:
5729         * insets/insetoptarg.C: add header files needed to compile again.
5730
5731 2003-09-06  Angus Leeming  <leeming@lyx.org>
5732
5733         * RowList_fwd.h: new file, forward-declaring Row rather than
5734         #including lyxrow.h.
5735
5736         * lyxrow_funcs.h:
5737         * lyxtext.h:
5738         * paragraph.h:
5739         * insets/insettext.h: use it instead of RowList.h
5740
5741         * bufferview_funcs.C:
5742         * lyxfunc.C:
5743         * lyxrow_funcs.C:
5744         * paragraph.C:
5745         * rowpainter.C:
5746         * text.C:
5747         * text2.C:
5748         * text3.C: #include "RowList.h".
5749
5750 2003-09-05  Angus Leeming  <leeming@lyx.org>
5751
5752         * factory.C (createInset):
5753         * vspace.C (c-tor): replace sscanf call with an istringstream.
5754         * ispell.C: re-add missing HP/UX headers.
5755         * lyxserver.C: re-add missing  os2 headers.
5756
5757 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5758
5759         * BranchList.C:
5760         * graph.C:
5761         * ispell.C:
5762         * lastfiles.C:
5763         * lyx_cb.C:
5764         * lyxserver.C:
5765         * texrow.C:
5766         * text3.C: re-add missing system headers, needed for 2.95.2.
5767
5768 2003-09-05  Angus Leeming  <leeming@lyx.org>
5769
5770         Changes most place everywhere due to the removal of using directives
5771         from support/std_sstream.h.
5772
5773 2003-09-05  Angus Leeming  <leeming@lyx.org>
5774
5775         Replace LString.h with support/std_string.h,
5776         Lsstream.h with support/std_sstream.h,
5777         support/LIstream.h with support/std_istream.h,
5778         support/LOstream.h with support/std_ostream.h.
5779
5780         Changes resulting throughout the tree.
5781
5782 2003-09-05  Angus Leeming  <leeming@lyx.org>
5783
5784         * sgml.h: ensure that the header file can be compiled stand-alone.
5785         * *.C: strip out redundant #includes. (320 in total.)
5786
5787 2003-09-04  Angus Leeming  <leeming@lyx.org>
5788
5789         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5790         here (from getPackages).
5791
5792         * debug.[Ch]: add a new EXTERNAL tag.
5793
5794 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5795
5796         * text2.C (cursorEnd): simplify
5797         (setCursor): adjust
5798         (getColumnNearX): adjust
5799
5800         * text.C (computeBidiTables): adjust
5801         (fill): adjust
5802
5803         * rowpainter.C (paintChars): adjust
5804         (paintSelection): adjust
5805         (paintChangeBar): adjust
5806         (paintText): adjust
5807
5808         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5809         lastPos instead.
5810         (numberOfSeparators): adjust
5811
5812 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5813
5814         * LyXAction.C:
5815         * box.[Ch]:
5816         * lfuns.h:
5817         * lyxfunc.C:
5818         * text3.C: Restricts the mouse click functionality
5819         of insets like bibtex, include, toc and floatlist to the visible
5820         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5821         up the dialogs. Cursor has to be in front of the inset (i.e.
5822         start of row) for this to function.
5823
5824 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5825
5826         * bufferview_funcs.C (currentState): output row information
5827
5828 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5829
5830         * bufferview_funcs.C (currentState): output paragraph position
5831
5832 2003-09-04  Angus Leeming  <leeming@lyx.org>
5833
5834         * FloatList.h: move out #include "Floating.h".
5835         * LaTeX.h: move out #include "DepTable.h".
5836         * LyXAction.h: move out #include "funcrequest.h".
5837         * buffer.h: move out #include "author.h", "iterators.h".
5838         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5839         * lyx_main.h: move out #include "errorlist.h".
5840         * lyxfunc.h: move out #include "FuncStatus.h".
5841         * lyxtext: move out #include "lyxcursor.h".
5842         * paragraph_pimpl.h: move out #include "counters.h".
5843
5844 2003-09-03  Angus Leeming  <leeming@lyx.org>
5845
5846         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5847         preamble_snippets list, enabling us to add snippets to the preamble
5848         only if the snippet was not there already.
5849
5850 2003-09-04  Angus Leeming  <leeming@lyx.org>
5851
5852         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5853
5854 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5855
5856         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5857         update
5858
5859 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5860
5861         * BranchList.C: point fix, earlier forgotten
5862
5863 2003-09-02  Angus Leeming  <leeming@lyx.org>
5864
5865         * box.C (contains): renamed from 'contained' after a fantastic
5866         amount of hot air.
5867
5868 2003-09-02  John Levon  <levon@movementarian.org>
5869
5870         * BufferView.C:
5871         * lyxcursor.h:
5872         * lyxcursor.C:
5873         * lyxfunc.C:
5874         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5875
5876 2003-09-02  John Levon  <levon@movementarian.org>
5877
5878         * text2.C: simplification of cursorEnd(), including partial
5879         fix for bug 1376
5880
5881 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5882
5883         * buffer.C (readFile): add a space
5884
5885 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5886
5887         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5888
5889 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5890
5891         * buffer.C (readFile): new function, take a filename and a
5892         ParagraphList::iterator
5893         (readFile): adjust
5894         (readFile): adjust, make it private. don't use setStream, make
5895         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5896         always contain the filename.
5897
5898         * BufferView.C (insertLyXFile): simplify and make it work for
5899         gzipped files.
5900
5901 2003-08-30  John Levon  <levon@movementarian.org>
5902
5903         * Makefile.am: fix dist (from Kayvan)
5904
5905 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5906
5907         * most files: change to use const Buffer refs
5908
5909 2003-08-27  André Pönitz  <poenitz@gmx.net>
5910
5911         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5912         on top of ownerPar().
5913
5914 2003-08-27  John Levon  <levon@movementarian.org>
5915
5916         * funcrequest.C: properly initialise POD members
5917
5918 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5919
5920         * lyxtext.h (top_y): move top_y from here
5921         * text.C:
5922         * text2.C:
5923         * text3.C:
5924         * BufferView.[Ch]:
5925         * BufferView_pimpl.[Ch]: to here
5926         * frontends/screen.C:
5927         * insets/insettabular.C:
5928         * insets/insettext.C: adjust
5929         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5930
5931 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5932
5933         * BufferView.[Ch]:
5934         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5935
5936 2003-08-26  André Pönitz  <poenitz@gmx.net>
5937
5938         * paragraph_func.[Ch] (outerPar): new function
5939
5940         * paragraph.C:
5941         * paragraph_funcs.C:
5942         * paragraph_funcs.h:
5943         * paragraph_pimpl.C:
5944         * text2.C: remove Inset::par_owner
5945
5946 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5947
5948         * lyxrow_funcs.C:
5949         * lyxtext.h:
5950         * text.C:
5951         * text2.C: eliminates the needFullRow/display() stuff
5952         altogether, putting the logic in metrics/draw in the insets.
5953
5954 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5955
5956         * text2.C (redoParagraphInternal, redoParagraphs):
5957         * text.C (redoParagraph): add a call to updateRowPositions at the
5958         end of each 'metrics-like' call. Remove all others.
5959         (getRow): remove the 'y-computing' version.
5960         (getRowNearY): do not compute nor return the real y. Solve the
5961         'y < 0' problem and simplify.
5962
5963 2003-08-22  Angus Leeming  <leeming@lyx.org>
5964
5965         * *.[Ch]: clean-up of licence and author blurbs.
5966         Also move config.h out of a few .h files and into a few .C files.
5967
5968 2003-08-22  André Pönitz  <poenitz@gmx.net>
5969
5970         * lyxrow.[Ch]: add x_ and *fill_ members
5971
5972         * lyxtext.h:
5973         * text.C:
5974         * rowpainter.C:
5975         * text2.C: adjust/remove prepareToPrint() calls
5976
5977 2003-08-22  André Pönitz  <poenitz@gmx.net>
5978
5979         * lyxrow.[Ch]: add  end_ member
5980
5981         * lyxrow_funcs.C: use LyXRow::end_
5982
5983         * lyxtext.h (singleWidth): add LyXFont parameter
5984
5985         * rowpainter.C:
5986         * text2.C: adjust LyXText::singleWidth() calls
5987
5988         * text.C (redoParagraph): simplify row breaking logic
5989
5990
5991 2003-08-19  André Pönitz  <poenitz@gmx.net>
5992
5993         * funcrequest.C: initialize button_ member
5994
5995         * text3.C:
5996         * rowpainter.[Ch]: interface consolidation
5997
5998 2003-08-18  André Pönitz  <poenitz@gmx.net>
5999
6000         * BufferView.C:
6001         * BufferView_pimpl.C:
6002         * lyxfind.C:
6003         * paragraph_funcs.C:
6004         * rowpainter.C:
6005         * text3.C: remove LyXScreen::draw() and fitCursor calls
6006
6007         * BranchList.h: remove spurious semicolons
6008
6009         * MenuBackend.C: fix branchlist related crash
6010
6011 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6012
6013         * BranchList.[Ch]:
6014         * InsetList.[Ch]:
6015         * LColor.[Ch]:
6016         * LyXAction.C:
6017         * Makefile.am:
6018         * MenuBackend.[Ch]:
6019         * bufferparams.[Ch]:
6020         * factory.C:
6021         * lfuns.h:
6022         * lyxfunc.C:
6023         * text3.C: implements the 'branch inset'
6024         idea. This allows the output of various versions of a document
6025         from a single source version, selectively outputing or suppressing
6026         output of parts of the text.
6027         This implementation contains a 'branch list editor' in a separate
6028         tab of the document settings dialog. Branches are user definable
6029         and have a "display colour" to distinguish them on-screen.
6030
6031         ColorHandler was somewhat cleaned up.
6032         (1) make possible a dynamically growing LColor list by allowing
6033         the graphic context cache to grow along (vector);
6034         (2) eliminate an IMHO unnecessary step in colour allocation.
6035
6036 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6037
6038         * BufferView_pimpl.C: compile fix
6039
6040 2003-08-15  André Pönitz  <poenitz@gmx.net>
6041
6042         * rowpainter.C: remove extra metrics calls
6043
6044         * lyxtext.h: merge the two constructors into a single one,
6045           pass reference to owner's par list
6046
6047         * BufferView_pimpl.C:
6048         * text.C:
6049         * text2.C: adjust
6050
6051 2003-08-15  André Pönitz  <poenitz@gmx.net>
6052
6053         * lyxrow_funcs.[Ch]:
6054         * lyxtext.h:
6055         * paragraph.h:
6056         * paragraph_funcs.C:
6057         * rowpainter.C:
6058         * text.C:
6059         * text2.C:
6060         * text3.C:
6061         * text_funcs.C: split LyXText::rowlist_ into individual
6062         Paragraph::rows_ chunks
6063
6064         * BufferView.[Ch]:
6065         * BufferView_pimpl.[Ch]:
6066         * lyxfind.C:
6067         * lyxtext.h:
6068         * text3.C: remove toggleSelection()
6069
6070 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6071
6072         * bufferlist.C: beautify two alerts (shorter text of buttons)
6073         * buffer.C: Remove redundant ' ' from message
6074         * tabular.h:
6075         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6076         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6077         rename VALIGN_CENTER to VALIGN_MIDDLE
6078
6079 2003-08-11  André Pönitz  <poenitz@gmx.net>
6080
6081         * lyxtext.h (getPar):
6082         * text.C: new function
6083
6084 2003-08-11  André Pönitz  <poenitz@gmx.net>
6085
6086         * Makefile.am:
6087         * tracer.[Ch]: remove unneeded files
6088
6089         * InsetList.[Ch]: remove resizeInsetsLyXText()
6090
6091         * lyxtext.h:
6092         * text.C:
6093         * text2.C:
6094         * text3.C: merge insertParagraphs() and appendParagraph()
6095         remove breakAgain(), update()
6096
6097         * BufferView_pimpl.[Ch]:
6098         * bufferview_funcs.[Ch]:
6099         * lyxfunc.C:
6100         * paragraph.[Ch]:
6101         * rowpainter.C:
6102         * tabular.C: adjust after text & InsetList changes.
6103
6104 2003-08-08  André Pönitz  <poenitz@gmx.net>
6105
6106         * text.C (insertChar, backspace): replace rowlist fiddling
6107         with rebreak of full par
6108
6109         * lyxtext.h:
6110         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6111         checkParagraph, updateInset): removed
6112
6113 2003-08-07  André Pönitz  <poenitz@gmx.net>
6114
6115         * paragraph.C:
6116         * text3.C: merge some LFUN handlers, remove dead code
6117
6118 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6119
6120         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6121
6122 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6123
6124         * text2.C (DEPM): fix part of bug 1255 and 1256
6125
6126 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6127
6128         * BufferView_pimpl.C (workAreaDispatch): change to use
6129         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6130         that are no mouse related.
6131
6132 2003-08-05  André Pönitz  <poenitz@gmx.net>
6133
6134         * BufferView.[Ch]:
6135         * BufferView_pimpl.[Ch]:
6136         * bufferview_funcs.C:
6137         * text2.C:
6138         * text3.C: rip out "deep update"
6139
6140         * textcursor.[Ch] (last_sel_cursor): remove unused member
6141
6142 2003-08-04  André Pönitz  <poenitz@gmx.net>
6143
6144         * BufferView.[Ch]:
6145         * BufferView_pimpl.[Ch]:
6146         * ParagraphParameters.C:
6147         * bufferview_funcs.C:
6148         * lyx_cb.C:
6149         * lyxfind.C:
6150         * lyxfunc.C:
6151         * text.C:
6152         * text2.C:
6153         * text3.C: replace "complicated" BufferView::update(...) calls with
6154         simpler ones.
6155
6156         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6157
6158 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6159
6160         * Makefile.am (lyx_SOURCES): add paper.h
6161
6162 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6163
6164         * Makefile.am: move things around so that both lyx-qt and
6165         lyx-xforms can be built (according to --with-frontend). Then lyx
6166         is a symbolic link to lyx-[firstfrontend]
6167
6168 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6169
6170         * Always use std::endl with lyxerr
6171
6172 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6173
6174         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6175
6176 2003-08-01  André Pönitz  <poenitz@gmx.net>
6177
6178         * BufferView.[Ch]:
6179         * BufferView_pimpl.[Ch]:
6180         * lyxfunc.C:
6181         * text3.C: merge BufferView::repaint() and BufferView::update()
6182
6183 2003-08-01  José Matos  <jamatos@lyx.org>
6184
6185         * buffer.[Ch]: file_format is no longer a buffer data element.
6186
6187 2003-08-01  André Pönitz  <poenitz@gmx.net>
6188
6189         * BufferView.C:
6190         * lyxtext.h:
6191         * text.C:
6192         * text2.C: make redoParagraph more independent of current cursor
6193
6194         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6195         * text.C:
6196         * text2.C: remove unneeded members
6197
6198 2003-07-30  André Pönitz  <poenitz@gmx.net>
6199
6200         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6201
6202         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6203           create a single function...
6204
6205         * paragraph_funcs.C (moveItem): ... here.
6206
6207         * text.C:
6208           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6209
6210 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6211
6212         * LColor.[Ch]: Add comment and greyedout logical colors.
6213
6214 2003-07-30  André Pönitz  <poenitz@gmx.net>
6215
6216         * tabular.C: don't use Assert too heavily. This crashes where it
6217           shouldn't
6218
6219 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6220
6221         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6222         is disabled (bug 1232)
6223
6224 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6225
6226         * factory.C: limited 'arg' scope
6227
6228 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6229
6230         * factory.C: fixed Note submenu issues
6231
6232 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6233
6234         * factory.C: submenu for Note/Comment/Greyedout
6235
6236 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6237
6238         * lyx_main.C (LyX):
6239         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6240
6241 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6242
6243         * LaTeXFeatures.C:
6244         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6245         greyedout. Patch provided by Jürgen Spitzmüller.
6246
6247 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6248
6249         * kbmap.C (read): fix error message when reading bind files
6250
6251 2003-07-29  Angus Leeming  <leeming@lyx.org>
6252
6253         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6254         certainly does not do what it purports to do. I am doing it, and
6255         us, a favour by killing it.
6256
6257 2003-07-28  José Matos  <jamatos@lyx.org>
6258
6259         * buffer.C (readBody, do_writeFile):
6260         * paragraph.C(readParagraph): \end_document replaces \the_end.
6261
6262 2003-07-29  André Pönitz  <poenitz@gmx.net>
6263
6264         * BufferView.[Ch]:
6265         * BufferView_pimpl.[Ch]:
6266         * lyxfunc.C:
6267         * text2.C:
6268         * text3.C:
6269         * textcursor.[Ch]: remove toggleToggle & Co
6270
6271 2003-07-28  José Matos  <jamatos@fep.up.pt>
6272
6273         * buffer.C (readParagraph):
6274         * params_func (readParToken, readParagraph):
6275         * paragraph.C (write): \layout -> \begin_layout.
6276
6277 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6278
6279         * lyxlex_pimpl.C (setFile): clean up slightly.
6280
6281         * bufferparams.h: add compressed var
6282
6283         * buffer_funcs.C (readFile): adjust for LyXLex change
6284         (newFile): ditto + simplify
6285
6286         * buffer.C (writeFile): handle writing of compressed files
6287
6288         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6289         Check if the file is compressed and set a bufferparm if so.
6290
6291         * Makefile.am (lyx_LDADD): remove explicit -lz
6292
6293 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6294
6295         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6296         makeDocBookFile): put the real LyX version in the first line of
6297         the file
6298
6299         * version.h:
6300         * version.C.in: remove lyx_docversion
6301
6302         * tabular.C (write_attribute): add a template-based version to
6303         write enums properly
6304
6305 2003-07-28  André Pönitz  <poenitz@gmx.net>
6306
6307         * lyxtext.h:
6308         * text.C:
6309         * text2.C:
6310         * text3.C: use doubles again for x-coordinates. They are needed.
6311
6312 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6313
6314         * messages.C (getLocaleDir): use lyx_localedir()
6315
6316         * lyxlex_pimpl.C (setFile): compress stuff
6317
6318         * buffer.C (writeFile): add some compression stuff
6319         (do_writeFile): new func, dont call expliti close... will this
6320         breake anything?
6321
6322         * Makefile.am (lyx_LDADD): add -lz
6323
6324 2003-07-28  José Matos  <jamatos@fep.up.pt>
6325
6326         * buffer.C: increment file format.
6327         * paragraph_funcs (readParagraph, readParToken):
6328         * paragraph.C (readParagraph): add \end_layout.
6329
6330 2003-07-27  Angus Leeming  <leeming@lyx.org>
6331
6332         * Makefile.am: remove special casing for configure-time setting of
6333         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6334
6335         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6336         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6337
6338 2003-07-26  André Pönitz  <poenitz@gmx.net>
6339
6340         * paragraph_func.[Ch]:
6341         * paragraph.C (realizeFont): inline it whereever it is used
6342
6343         * rowpainter.C:
6344         * text.C:
6345         * text2.C:
6346         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6347
6348
6349 2003-07-26  André Pönitz  <poenitz@gmx.net>
6350
6351         *       lyxtext.h:
6352         * text.C:
6353         * text2.C: get rid of LyXText::need_break_row
6354
6355 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6356
6357         * toc.[Ch]: put namespace toc inside namespace lyx
6358
6359         * MenuBackend.C (expandToc2): adjust for lyx::toc
6360         (expandToc): ditto
6361
6362         * lyxfunc.C (dispatch): adjust for lyx::find
6363
6364         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6365         lyx::find instead. Reorganize a bit.
6366         (LyXReplace): rename to replace
6367         (LyXFind): rename to find
6368
6369         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6370         (dispatch): ditto
6371
6372 2003-07-26  André Pönitz  <poenitz@gmx.net>
6373
6374         * text.C (setHeightOfRow): restrict scope of temporary variable
6375
6376         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6377           code (never has been used?)
6378
6379 2003-07-27  Asger Alstrup  <alstrup@local>
6380
6381         * text.C (fill): Optimise algorithm to exploit that we can reuse
6382         the LyXFont for many characters.
6383         (setHeightOfRow): Same thing.
6384         (rowBreakPoint): Same thing.
6385
6386 2003-07-26  Asger Alstrup  <alstrup@local>
6387
6388         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6389
6390         * text.C (singleWidth): Spurious font copying in hot-spot
6391         singleWidth avoided. Reorder tests for arabic for efficiency.
6392
6393         * text.C (fill): handle empty paragraphs better.
6394
6395 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6396
6397         * ispell.C:
6398         * encoding.h: add includes
6399
6400         * lyxrc.C: remove reading of bind files
6401
6402         * lyx_main.C (init): setup bindings and menus only if we have a
6403         gui.
6404
6405         * kbmap.C (read): new method. Do the actual reading of bind
6406         files.
6407
6408         * converter.C (dvipdfm_options):
6409         * bufferparams.C:
6410         * lyxrc.C (read):
6411         (output): adapt PAPER_* enums.
6412
6413         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6414
6415         * bufferparams.h: remove paper-related enums from there
6416
6417         * paper.h: New file. A trivial header file to hold paper-related
6418         enums. It should later expand to contain many paper-related
6419         horrors access.
6420
6421         * lyxrc.C: declare extern displayTranslator
6422
6423 2003-07-27  José Matos  <jamatos@fep.up.pt>
6424
6425         * tabular.[Ch] (linuxdoc): add support for tables and figures
6426         (linuxdoc).
6427
6428 2003-07-27  José Matos  <jamatos@fep.up.pt>
6429
6430         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6431         consistency in both functions.
6432         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6433
6434 2003-07-26  Asger Alstrup  <alstrup@local>
6435
6436         * rowpainter.C (paintRows): Change algorithm to work directly on
6437         the insets rather than asking every character in the document
6438         whether its an inset.
6439
6440 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6441
6442         * buffer.C (openFileWrite): factorize some code
6443
6444 2003-07-26  Angus Leeming  <leeming@lyx.org>
6445
6446         * lyx_cb.C:
6447         * lyx_main.[Ch]: replace occurances of system_tempdir with
6448         os::getTmpDir().
6449
6450 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6451
6452         * rename Inset to InsetOld
6453
6454 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6455
6456         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6457         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6458         which I think is a bit clearer. EDIT is gone, since it was
6459         premature optimisation, and broken for mathed anyway.
6460         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6461         with cursor positioning in insets as well (math insets still do not
6462         work, but that's a different story anyway.) It mysteriously
6463         crashes sometimes with undo in the first paragraph, but I'm fairly
6464         confident that this is a compiler bug.
6465
6466 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6467
6468         * paragraph.C (Paragraph): adjust for new clone return type
6469         (operator==): ditto
6470         (copyIntoMinibuffer): ditto
6471
6472 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6473
6474         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6475         by not having a special case, and always doing a full rebreak of
6476         the document after undo.
6477
6478 2003-07-23  Angus Leeming  <leeming@lyx.org>
6479
6480         * factory.C (createInset): InsetExternal::setParams now takes a
6481         Buffer const * arg.
6482
6483 2003-07-23  Angus Leeming  <leeming@lyx.org>
6484
6485         * factory.C (createInset): changed interface to the external and
6486         graphics mailers' string2params functions.
6487
6488 2003-07-23  Angus Leeming  <leeming@lyx.org>
6489
6490         * factory.C (createInset): pass a
6491         Buffer const * parameter to InsetExternalMailer's string2params.
6492
6493 2003-07-22  John Levon  <levon@movementarian.org>
6494
6495         * Thesaurus.h: include the right aiksaurus header
6496
6497 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6498
6499         * MenuBackend.C (expand): check menu shortcuts unconditionally
6500
6501 2003-07-21  Angus Leeming  <leeming@lyx.org>
6502
6503         * factory.C (createInset): pass a
6504         buffer_path parameter to InsetGraphicsMailer's string2params.
6505
6506 2003-07-21  Angus Leeming  <leeming@lyx.org>
6507
6508         * BufferView_pimpl.C (buffer):
6509         * buffer.C (d-tor):
6510         * lyx_main.C (LyX):
6511         * lyxfunc.C (dispatch):
6512         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6513         rather than the grfx shortcut.
6514
6515 2003-07-21  André Pönitz  <poenitz@gmx.net>
6516
6517         * rowpainter.C: remove unused variables
6518
6519         * tabular_funcs.C:
6520         * tabular_funcs.h: move to tabular.C
6521         * Makefile.am: adjust
6522
6523         * tabular.[Ch]: basic optical cleaning
6524
6525         * author.h: pass references, not values
6526
6527 2003-07-18  André Pönitz  <poenitz@gmx.net>
6528
6529         * lyxtext.h:
6530         * metricsinfo.C:
6531         * metricsinfo.h:
6532         * rowpainter.C:
6533         * text.C:
6534         * text2.C:
6535         * text3.C: two-phase drawing for InsetText and InsetTabular
6536         some float -> int changes.
6537
6538 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6539
6540         * lyx_main.C: fix the fix
6541
6542 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6543
6544         * lyx_main.C: fix a crash in batch mode if no files specified
6545         * converter.C: ws
6546
6547 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6548
6549         * format.[Ch] (papersize): moved to BufferParams
6550         * converter.[Ch] (dvips_options): moved to BufferParams
6551         (dvipdfm_options): moved to anon namespace
6552         * bufferparams.[Ch]: added above functions.
6553
6554 2003-07-17  André Pönitz  <poenitz@gmx.net>
6555
6556         * lyxtext.h:
6557         * rowpainter.C:
6558         * text2.C: don't call inset->update() anymore
6559
6560         * metricsinfo.[Ch]: add convenience constructor
6561
6562 2003-07-16  André Pönitz  <poenitz@gmx.net>
6563
6564         * lyxcursor.[Ch]:
6565         * lyxfunc.[Ch]:
6566         * text.C:
6567         * text2.C: replace the LyXCursor::irow_ member with
6568          on-demand computation of the value
6569
6570 2003-07-16  John Levon  <levon@movementarian.org>
6571
6572         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6573
6574 2003-07-15  André Pönitz  <poenitz@gmx.net>
6575
6576         * text.C:
6577         * text2.C: remove no more needed refresh_row
6578
6579 2003-07-15  André Pönitz  <poenitz@gmx.net>
6580
6581         * lyxtext.h:
6582         * rowpainter.C:
6583         * text2.C:
6584         * text3.C: refresh_status tristate -> need_update bool
6585
6586 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6587
6588         * lyxtext.h (init): remove reinit argument (act as if always true)
6589         * text2.C: adjust to that
6590
6591 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6592
6593         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6594         * text3.C: use it to delete selections in some cases
6595         (bugs 441, 673, 702, 954).
6596
6597 2003-07-14  André Pönitz  <poenitz@gmx.net>
6598
6599         * rowpainter.[Ch]: reduce interface
6600
6601 2003-07-14  André Pönitz  <poenitz@gmx.net>
6602
6603         * BufferView_pimpl.C:
6604         * text2.C: adjust after removing unused BufferView * argument
6605
6606 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6607
6608         * text2.C (init): fix a crash fired on resize
6609
6610 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6611
6612         * buffer.[Ch]: added new closing signal
6613         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6614         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6615         BufferView::Pimpl via the closing the signal
6616
6617 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6618
6619         * buffer.[Ch]: take out all bv-related from buffer
6620         * BufferView.C:
6621         * BufferView_pimpl.[Ch]: connect to new signals
6622         * CutAndPaste.C: removed useless asserts
6623         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6624         * lyxvc.[Ch]:
6625         * vc-backend.[Ch]:
6626         * lyxfunc.C: moved view-related funciontality from vc here
6627         * paragraph.C: removed outdated comments
6628         * text.C: ws
6629
6630 2003-07-10  André Pönitz  <poenitz@gmx.net>
6631
6632         * BufferView_pimpl.C:
6633         * tabular.h:
6634         * tabular_funcs.C:
6635         * text.C:
6636         * text2.C: remove InsetText::InnerCache, clean up consequences
6637
6638 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6639
6640         * ispell.C: fix two typos in error messages
6641
6642 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6643
6644         * Extend Note inset to other forms of annotation like Comment
6645         and Greyedout. Right button click gives dialog.
6646
6647         Files modified or added (+):
6648
6649         * insetnote.[Ch]
6650         * FormNote.[Ch]      +
6651         * ControlNote.[Ch]   +
6652         * form_note.fd       +
6653         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6654         frontends/controllers
6655         * xforms/Dialogs.C
6656         * factory.C
6657
6658 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6659
6660         * aspell.C: add missing namespace lyx::support
6661
6662 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6663
6664         * BufferView.[Ch] (newFile): Add
6665         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6666         * LaTeX.[Ch] (message): added this signal and use it
6667         * buffer.[Ch] (busy, message): added these signals and use them
6668         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6669         * converter.C:
6670         * exporter.C:
6671         * format.C:
6672         * importer.C: use buffer signals instead of direct bv calling
6673         * lyx_cb.[Ch] (ShowMessage): removed
6674         * lyx_main.C:
6675         * lyxfunc.C:
6676         * paragraph_funcs.C:
6677         * text2.C: use buffer signals
6678
6679 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6680
6681         * introduce namespace lyx::graphics
6682
6683 2003-07-02  André Pönitz  <poenitz@gmx.net>
6684
6685         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6686
6687 2003-07-01  André Pönitz  <poenitz@gmx.net>
6688
6689         * text.C:
6690         * text2.C:
6691         * text3.C:
6692         * text_funcs.[Ch]:
6693         * textcursor.h:
6694         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6695           text*.C to text_func.C
6696
6697 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6698
6699         * introduce namespace lyx::support
6700
6701 2003-06-30  André Pönitz  <poenitz@gmx.net>
6702
6703         * Chktex.C:
6704         * funcrequest.C:
6705         * lyxtext.h:
6706         * text.C: re-enable --with-included-string
6707
6708 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6709
6710         * textcursor.C: add <config.h>
6711
6712         * text.C (getWord): remove const from word_location arg
6713
6714         * lyxvc.C (getLogFile): fix const type order
6715
6716         * lyxtext.h: remove const from word_location arg, add arg name
6717
6718         * lyxlayout.h: currect type on labeltype.
6719
6720         * importer.C: correct \file
6721
6722         * converter.C (intToFormat): use std:: on ret val, ws changes
6723
6724         * bufferlist.h: correct \file
6725
6726         * buffer.C (makeLinuxDocFile): fix const type order
6727         (makeDocBookFile): ditto
6728         (fillWithBibKeys): use std:: on stdlib args.
6729
6730         * CutAndPaste.C: fix authors.
6731         (availableSelections): use std:: on return vector
6732
6733 2003-06-27  André Pönitz  <poenitz@gmx.net>
6734
6735         * BufferView_pimpl.C:
6736         * bufferview_funcs.C:
6737         * lyxcursor.C:
6738         * lyxcursor.h:
6739         * lyxfunc.C:
6740         * lyxtext.h:
6741         * rowpainter.C:
6742         * text.C:
6743         * text2.C:
6744         * text3.C: remove LyXCursor::row_ member
6745
6746         * lyxtext.h:
6747         * text.C: rename fullRebreak() to partialRebreak() and implement
6748           a fullRebreak() that really bereks fully
6749
6750         * textcursor.h: new struct for cursor-related data
6751
6752 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6753
6754         * lyx_main.C (LyX): get full path of document loaded on the
6755         command line
6756
6757 2003-06-26  André Pönitz  <poenitz@gmx.net>
6758
6759         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6760           remove unused/broken operator>,<,>=.
6761
6762         *       text.C: remove only use of broken operator<= in an Assert().
6763
6764 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6765
6766         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6767         moved errorlist_.clear to showErrorList
6768
6769 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6770
6771         * converter.C (scanLog, runLaTeX):
6772         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6773         move the bv->showErrorList call to the callers
6774         * lyxfunc.C: i.e. here...
6775         * text2.C: and here
6776         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6777         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6778         namespace, the second to...
6779         * buffer_funcs (BufferFormat, parseErrors): added
6780         * errorlist.C (ErrorList(TeXErrors const &)): removed
6781
6782 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6783
6784         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6785
6786 2003-06-24  "Garst R. Reese" <reese@isn.net>
6787
6788         * debug.C: fix typo
6789
6790 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6791
6792         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6793
6794         * version.C.in: change docversion to 1.4
6795
6796 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6797
6798         * buffer.C: fix a bug just introduced
6799
6800 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6801
6802         * buffer.[Ch]: added the parseError signal and use it, removed
6803         sgmlError
6804         * BufferView.[Ch] (addError): moved to ...
6805         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6806         to the Buffer::parseError signal to catch (guess what) parse errors
6807         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6808
6809 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6810
6811         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6812         ability to create a buffer and to return an existing one from
6813         the list. Moved these functions to...
6814         * buffer_funcs.[Ch]: added
6815         * BufferView.[Ch] (loadLyXFile): added
6816         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6817         job removed from bufferlist::loadLyXFile.
6818         * buffer.C (setReadOnly): make it work without view
6819         (i.e added an if (users))
6820
6821 2003-06-19  Angus Leeming  <leeming@lyx.org>
6822
6823         * lfuns.h:
6824         * LyXAction.C (init):
6825         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6826         with LFUN_DIALOG_SHOW <name> <data>.
6827
6828 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6829
6830         * CutAndPaste.C (availableSelections): small compilation fix for
6831         ancient (gcc 2.9x) compilers
6832
6833 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6834
6835         * text3.C (cursorNext): add tmp var
6836
6837         * text2.C (updateCounters): for function calling out of for clause
6838         (replaceSelectionWithString): ditto
6839         (insertStringAsParagraphs): ditto
6840         (getColumnNearX): add tmp var
6841         (setCursorFromCoordinates): add tmp var
6842         (cursorDownParagraph): add tmp var
6843         (deleteEmptyParagraphMechanism): add tmp var
6844
6845         * text.C (insertChar): add tmp var
6846
6847         * rowpainter.C (paintDepthBar): add tmp var
6848
6849         * CutAndPaste.C (availableSelections): potentially check all
6850         paragraphs in a cut to fill the shown strings.
6851
6852 2003-06-18  André Pönitz  <poenitz@gmx.net>
6853
6854         * kbmap.[Ch]: use vector<> instead of list<>
6855
6856 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6857
6858         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6859         pasteSelection with index
6860
6861         * text2.C (pasteSelection): modify, call pasteSelection with index
6862
6863         * paragraph.C (asString): reimplement version with no interval to
6864         call the one with interval.
6865
6866         * lyxtext.h: add index arg to pasteSelection
6867
6868         * MenuBackend.C (MenuItem): handle PasteRecent
6869         (Menu::read::Menutags): add md_pasterecent
6870         (read): handle it
6871         (expandPasteRecent): new function
6872         (expand): use it
6873
6874         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6875
6876         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6877         the limited stack
6878         (availableSelections): new function
6879
6880 2003-06-17  Angus Leeming  <leeming@lyx.org>
6881
6882         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6883
6884 2003-06-17  Angus Leeming  <leeming@lyx.org>
6885
6886         * lfuns.h:
6887         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6888
6889         * lyxfunc.C (dispatch): invoke it.
6890
6891 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6892
6893         * iterators.C (operator++, ParPosition): reintroduce some
6894         const_cast for the benefit of older compilers.
6895
6896 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6897
6898         * text3.C (dispatch): do not modify clipboard when doing
6899         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6900         LFUN_DELETE_SKIP on a selection selection
6901
6902 2003-06-16  André Pönitz  <poenitz@gmx.net>
6903
6904         * BufferView.C:
6905         * buffer.C:
6906         * buffer.h:
6907         * paragraph.C:
6908         * tabular.[Ch]: IU of clone() and getLabelList();
6909
6910 2003-06-13  André Pönitz  <poenitz@gmx.net>
6911
6912         * tabular.h: compactification
6913
6914 2003-06-12  André Pönitz  <poenitz@gmx.net>
6915
6916         * tabular.C:
6917         * tabular.h:
6918         * tabular_funcs.h: some renaming plus whitespace
6919
6920 2003-06-12  André Pönitz  <poenitz@gmx.net>
6921
6922         * BufferView.C:
6923         * BufferView_pimpl.C:
6924         * CutAndPaste.C:
6925         * buffer.C:
6926         * iterators.[Ch]:
6927         * lyxfunc.C:
6928         * text.C:
6929         * toc.C: Return a Paragraph & for ParIterator::operator*()
6930
6931 2003-06-11  John Levon  <levon@movementarian.org>
6932
6933         * lyx_main.C:
6934         * ToolbarBackend.h:
6935         * ToolbarBackend.C: add "Toolbars" section and
6936         put the flags there
6937
6938 2003-06-10  Angus Leeming  <leeming@lyx.org>
6939
6940         * lfuns.h:
6941         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6942
6943         * lyxfunc.C (dispatch): invoke it.
6944
6945 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6946
6947         * main.C: protect <ios> with HAVE_IOS
6948         (main): protect sync_with_stdio with HAVE_IOS
6949
6950 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6951
6952         * text2.C (cutSelection): adjust
6953         (pasteSelection): adjust
6954
6955         * messages.C: handle get of empty string
6956
6957         * main.C (main): use sync_with_stdio(false)
6958
6959         * lyxfunc.C (dispatch): adjust
6960
6961         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6962         (WriteAs): remove unneeded BufferView arg.
6963
6964         * bufferparams.h: use correct types on papersize, papersize2 and
6965         paperpackage.
6966
6967         * bufferparams.C (readToken): adjust for type
6968         (writeLaTeX): add missing cases to switch.
6969
6970         * bufferlist.C (quitWriteBuffer): adjust
6971         (close): adjust
6972
6973         * buffer.C (asciiParagraph): remove some commented code.
6974
6975         * CutAndPaste.C: remove current_view extern variable.
6976         (cutSelection): add BufferParams arg.
6977         (eraseSelection): add BufferParams arg.
6978         (pasteSelection): add Buffer const & arg
6979
6980 2003-06-07  John Levon  <levon@movementarian.org>
6981
6982         * buffer.C:
6983         * paragraph_funcs.C:
6984         * paragraph_pimpl.C:
6985         * text.C:
6986         * text2.C:
6987         * paragraph.h:
6988         * paragraph.C: allow InsetERT to freely space lines,
6989         and some consolidation of code
6990
6991 2003-06-06  José Matos  <jamatos@fep.up.pt>
6992
6993         * buffer.C (makeDocBookFile): fix bug #821
6994
6995 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6996
6997         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6998
6999 2003-06-04  Angus Leeming  <leeming@lyx.org>
7000
7001         * buffer.C: bump format to 224.
7002
7003 2003-06-05  André Pönitz  <poenitz@gmx.net>
7004
7005         * text2.C (redoParagraphs): remove two const_cast<>
7006
7007 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7008
7009         * ParagraphList.h: remove last remnants of NO_STD_LIST
7010
7011 2003-06-03  Angus Leeming  <leeming@lyx.org>
7012
7013         * factory.C (createInset): small change to the way InsetExternal's params
7014         are set.
7015
7016 2003-06-04  André Pönitz  <poenitz@gmx.net>
7017
7018         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7019
7020         * paragraph_pimpl.h:
7021         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7022
7023         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7024
7025         * undo_funcs.C: make some simple cases of undo work again
7026
7027 2003-06-03  John Levon  <levon@movementarian.org>
7028
7029         * ispell.C: HPUX doesn't have sys/select.h
7030         (from Albert Chin)
7031
7032 2003-06-03  John Levon  <levon@movementarian.org>
7033
7034         * CutAndPaste.C: update tabular and include inset
7035         buffer references
7036
7037         * buffer.h:
7038         * paragraph.h:
7039         * paragraph.C: remove owningBuffer(), don't pass Buffer
7040         to clone()
7041
7042         * factory.C: insetGraphicsParams changed
7043
7044 2003-06-02  John Levon  <levon@movementarian.org>
7045
7046         * LyXAction.C:
7047         * factory.C:
7048         * lfuns.h:
7049         * lyxfunc.C:
7050         * text3.C: remove insetparent
7051
7052 2003-06-02  John Levon  <levon@movementarian.org>
7053
7054         * buffer.h:
7055         * buffer.C: fix inset_iterator.end(), move out of line
7056         (bug 1149)
7057
7058 2003-06-01  John Levon  <levon@movementarian.org>
7059
7060         * text3.C: use a proper cut/paste when doing inset
7061         insert (from Jürgen Spitzmüller)
7062
7063 2003-06-01  John Levon  <levon@movementarian.org>
7064
7065         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7066
7067 2003-05-30  André Pönitz  <poenitz@gmx.net>
7068
7069         * rowpainter.C: unify second drawing phase
7070
7071 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7072
7073         * trans_mgr.C: remove one case of current_view
7074
7075         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7076
7077         * paragraph_funcs.h: remove paragraph.h include
7078
7079         * paragraph.h: delete NO_STD_LIST stuff
7080
7081         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7082
7083         * buffer.h: remove paragraph.h include
7084
7085         * ParagraphList.C: delete file
7086
7087         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7088
7089         * toc.C (getTocList): adjust
7090
7091         * paragraph_pimpl.C (validate): adjust
7092
7093         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7094
7095         * paragraph.C (Paragraph): adjust
7096         (getPositionOfInset): use const_iterator, adjust
7097         (bibitem): use const_iterator, adjust
7098         (setInsetOwner): adjust
7099
7100         * iterators.C (operator++): adjust
7101
7102         * InsetList.[Ch]: Replace selfmade iterator with standard
7103         vector::iterator also introduce const_iterator. Remove getPos,
7104         getInset and setInset from InsetTable. Adjust accordingly.
7105
7106         * BufferView.C (lockInset): adjust
7107         (ChangeInsets): adjust
7108
7109         * tabular.[Ch]: delete commented same_id functions
7110
7111 2003-05-28  John Levon  <levon@movementarian.org>
7112
7113         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7114
7115 2003-05-28  André Pönitz  <poenitz@gmx.net>
7116
7117         * metricsinfo.[Ch]: remove 'fullredraw' member
7118
7119 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7120
7121         * lyxtextclass.C (operator): remove caching.
7122
7123 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7124
7125         * text3.C: adjust
7126
7127         * text2.C (cursorBottom): adjust
7128         (setCounter): use ParagraphList::find, adjust
7129
7130         * text.C (workWidth): use ParagraphList::find, adjust
7131
7132         * lyxcursor.C (LyXCursor): adjust
7133
7134         * buffer.C (inset_iterator): adjust
7135
7136         * ParagraphList.h: make iterator(value_type) private, make
7137         ParagraphList a friend of iterator.
7138
7139         * ParagraphList.C (find): new function
7140
7141         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7142
7143 2003-05-27  André Pönitz  <poenitz@gmx.net>
7144
7145         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7146
7147 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7148
7149         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7150
7151 2003-05-26  John Levon  <levon@movementarian.org>
7152
7153         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7154
7155 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7156
7157         * remove same_id from function signatures, adjust.
7158
7159 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7160
7161         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7162
7163         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7164
7165         * paragraph.C (Paragraph): get rid of same_ids parameter
7166
7167         * ParagraphList.C (insert): adjust
7168         (push_back): adjust
7169
7170 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7171
7172         * paragraph_funcs.C (breakParagraph): adjust
7173         (breakParagraphConservative): adjust
7174
7175         * buffer.C (readParagraph): adjust
7176
7177         * ParagraphList.C (insert): take a reference instead of a pointer
7178         (insert): adjust
7179
7180         * paragraph.[Ch] (id): new function
7181
7182         * bufferlist.C (newFile): adjust
7183
7184         * ParagraphList.C (ParagraphList): adjust
7185         (assign): adjust
7186         (push_back): take a reference instead of a pointer.
7187
7188         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7189
7190         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7191         instead.
7192
7193         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7194         set else use old code.
7195
7196         * ParagraphList.C: remove all NO_NEXT code and only compile this
7197         code of NO_STD_LIST is set.
7198
7199 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7200
7201         * BufferView_pimpl.C:
7202         * TextCache.C:
7203         * TextCache.h:
7204         * bufferlist.C:
7205         * errorlist.h:
7206         * format.C:
7207         * format.h:
7208         * graph.C:
7209         * lyxfunc.C:
7210         * lyxrc.C:
7211         * graphics/GraphicsConverter.C:
7212         * graphics/PreviewLoader.C: header adjustment
7213
7214 2003-05-23  Angus Leeming  <leeming@lyx.org>
7215
7216         * LaTeXFeatures.[Ch] (useBabel): new method.
7217         * bufferparams.C (writeLaTeX): use it.
7218
7219 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7220
7221         * ParagraphList.h (set): remove unused function.
7222
7223 2003-05-23  André Pönitz  <poenitz@gmx.net>
7224
7225         * BufferView.C:
7226         * BufferView_pimpl.C:
7227         * buffer.C:
7228         * buffer.h:
7229         * lyxfunc.C:
7230         * undo_funcs.C: setUndo reworked
7231
7232         * iterators.[Ch]: add access to topmost ParagraphList
7233
7234         * lyxtext.[Ch] (workWidth): add a const
7235
7236 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7237
7238         * texrow.[Ch] (increasePos): remove function
7239         * exporter.C (export): removed unused var and outdated comment
7240
7241 2003-05-23  Angus Leeming  <leeming@lyx.org>
7242
7243         * latexrunparams.h: rename fragile as moving_arg.
7244         * paragraph.C (simpleTeXOnePar): ditto.
7245         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7246
7247 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7248
7249         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7250         (createUndo): ditto
7251         (textUndoOrRedo): comment out a currently unused var.
7252
7253         * paragraph.h (NO_NEXT): enable NO_NEXT
7254
7255         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7256
7257         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7258
7259         * exporter.C (Export): adjust for removeAutoInsets removal.
7260
7261         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7262
7263         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7264
7265         * BufferView.[Ch] (removeAutoInsets): delete function
7266
7267 2003-05-22  Angus Leeming  <leeming@lyx.org>
7268
7269         * latexrunparams.h: add a free_spacing variable.
7270
7271         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7272         to pass moving_arg, as the data is stored in runparams.fragile.
7273
7274         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7275         to Inset::latexOptional or to simpleTeXOnePar.
7276
7277         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7278         free_spacing arg to Inset::latexOptional.
7279
7280         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7281         free_spacing arg.
7282
7283 2003-05-22  Angus Leeming  <leeming@lyx.org>
7284
7285         * latexrunparams.h: add fragile and use_babel variables.
7286
7287         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7288         * buffer.C (makeLaTeXFile): store this returned value in
7289         runparams.use_babel, thus passing it to the inset::latex methods.
7290
7291         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7292         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7293
7294         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7295         longer has a fragile arg, as it is stored in runparams.fragile.
7296
7297         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7298         moving_arg parameter as the data is stored in runparams.fragile.
7299
7300         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7301         a fragile parameter as the data is stored in runparams.fragile.
7302
7303 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7304
7305         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7306
7307 2003-05-22  Angus Leeming  <leeming@lyx.org>
7308
7309         * latexrunparams.h: add a 'bool nice' which defaults to false.
7310
7311         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7312         now encapsulated within runparams.
7313
7314         * bufferlist.C (updateIncludedTeXfiles):
7315         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7316
7317 2003-05-22  Angus Leeming  <leeming@lyx.org>
7318
7319         * latexrunparams.h: new file containing struct LatexRunParams.
7320         * Makefile.am: add new file.
7321
7322         * LaTeX.[Ch] (c-tor, run):
7323         * buffer.[Ch] (makeLaTeXFile):
7324         * bufferlist.[Ch] (updateIncludedTeXfiles):
7325         * converter.C (convert, scanLog):
7326         * converter.[Ch] (runLaTeX):
7327         * exporter.C (Export):
7328         * paragraph.[Ch] (simpleTeXOnePar):
7329         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7330         * paragraph_funcs.[Ch] (latexParagraphs):
7331         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7332         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7333         pass around a LatexRunParams parameter.
7334
7335 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7336
7337         * paragraph.[Ch]: remove unused constructor
7338
7339         * ParagraphList.C (erase): new function, taking two iterators
7340
7341 2003-05-22  André Pönitz  <poenitz@gmx.net>
7342
7343         * undo_funcs.C: remove duplicated code
7344
7345         * iterator.[Ch]: operator=
7346
7347 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * tabular.C (SetMultiColumn): ws changes
7350
7351         * rowpainter.C (paintFirst): get rid of a ->previous
7352
7353         * lyx_cb.C (getPossibleLabel): parlist simplification
7354
7355         * BufferView.C (ChangeInsets): simplify slightly.
7356
7357 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7358
7359         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7360         * lfuns.h: new LFUN_SPACE
7361         * lyxfunc.C: protected space has a new lfun
7362         * paragraph_funcs.C: read new space insets
7363         * text3.C:
7364         * factory.C: handle new space insets
7365
7366 2003-05-22  André Pönitz  <poenitz@gmx.net>
7367
7368         * BufferView.C:
7369         * BufferView_pimpl.C:
7370         * buffer.[Ch]:
7371         * lyxfunc.C:
7372         * undo_funcs.C: return a ParIterator from getParFromID.
7373
7374         * iterators.[Ch]: add two const's
7375
7376 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7377
7378         * toc.C (getTocList): adjust
7379
7380         * iterators.[Ch]: rework for parlist
7381
7382         * buffer.C (par_iterator_begin): adjust
7383         (par_iterator_end): adjust
7384
7385         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7386
7387         * BufferView.C (removeAutoInsets): adjust
7388         (ChangeInsets): adjust
7389
7390 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7391
7392         * text.C (top_y): fix bug 1110
7393
7394 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7395
7396         * errorlist.[Ch]: added
7397         * buffer.C:
7398         * BufferView.[Ch]:
7399         * BufferView_pimpl.C:
7400         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7401         instead
7402
7403 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7404
7405         * Makefile.am: ensure that lyx is relinked upon changes to the
7406         various "convenience" libs.
7407
7408 2003-05-20  Angus Leeming  <leeming@lyx.org>
7409
7410         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7411         files are compiled in alphabetical order again.
7412
7413         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7414
7415 2003-05-19  Angus Leeming  <leeming@lyx.org>
7416
7417         * gettext.[Ch]: remove "char const * _(char const *)".
7418
7419 2003-05-19  André Pönitz  <poenitz@gmx.net>
7420
7421         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7422
7423         * Makefile.am:
7424         * BufferView.C:
7425         * DepTable.h:
7426         * LaTeXFeatures.C:
7427         * buffer.C:
7428         * lyxfont.C:
7429         * lyxlex.h:
7430         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7431
7432 2003-05-19  André Pönitz  <poenitz@gmx.net>
7433
7434         * buffer.C:
7435         * lyxlayout.[Ch]:
7436         * lyxtextclass.[Ch]:
7437         * paragraph.C:
7438         * paragraph_funcs.[Ch]:
7439         * text2.C:
7440         * text3.C: more insetenv work
7441
7442 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7443
7444         * ParagraphParameters.C (params2string): small bug fixed
7445
7446 2003-05-16  André Pönitz  <poenitz@gmx.net>
7447
7448         * debug.C:
7449         * bufferview_funcs.C: patch from Kornel Benko to prevent
7450           crash when _(...) is called twice in a statement
7451
7452 2003-05-16  André Pönitz  <poenitz@gmx.net>
7453
7454         * BufferView.C:
7455         * lyxfunc.C:
7456         * text.C:
7457         * text2.C:
7458         * text3.C:
7459         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7460
7461 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7462
7463         * lyx_main.C (init): remove spurious static_cast
7464
7465 2003-05-14  André Pönitz  <poenitz@gmx.net>
7466
7467         * BufferView.C: fix format string
7468
7469 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7470
7471         * BufferView.[Ch] (insertErrors): removed
7472         * BufferView.[Ch] (showErrorList): added
7473         * buffer.C (runChkTeX):
7474         * converter.C (scanLog): call showErrorList instead of inserterrors
7475
7476 2003-05-13  André Pönitz  <poenitz@gmx.net>
7477
7478         * BufferView_pimpl.C:
7479         * buffer.C:
7480         * bufferview_func.C:
7481         * MenuBackend.C:
7482         * lyxfunc.C:
7483         * lyxrc.C:
7484         * tex-accent.C:
7485         * text3.C:
7486         * toc.C:
7487         * tabular_funcs.h: tostr() from its own header
7488
7489         * ParagraphParameters.C:
7490         * ToolbarBackend.C:
7491         * bufferparams.C:
7492         * format.C:
7493         * lyxlex_pimpl.C:
7494         * text3.C: STRCONV()
7495
7496 2003-05-12  André Pönitz  <poenitz@gmx.net>
7497
7498         * BufferView.C:
7499         * BufferView_pimpl.C:
7500         * CutAndPaste.C:
7501         * LaTeX.C:
7502         * LaTeXFeatures.C:
7503         * ParagraphParameters.C:
7504         * buffer.C:
7505         * bufferlist.C:
7506         * bufferparams.C:
7507         * bufferview_funcs.C:
7508         * converter.C:
7509         * counters.C:
7510         * debug.C:
7511         * exporter.C:
7512         * format.C:
7513         * importer.C:
7514         * lyx_cb.C:
7515         * lyx_main.C:
7516         * lyxfont.C:
7517         * lyxfunc.C:
7518         * lyxvc.C:
7519         * paragraph.C:
7520         * paragraph_funcs.C:
7521         * tabular.C:
7522         * tabular_funcs.C:
7523         * text2.C:
7524         * text3.C:  boost::format -> bformat  all over the place
7525
7526
7527 2003-05-09  André Pönitz  <poenitz@gmx.net>
7528
7529         * LColor.[Ch]: Pimpl the #include <map> away
7530
7531 2003-05-09  John Levon  <levon@movementarian.org>
7532
7533         * bufferlist.C: never remove emergency saves
7534
7535 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7536
7537         * Makefile.am: better lib building
7538
7539 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7540
7541         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7542         instead.
7543         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7544         (simpleTeXSpecialChars): adjust
7545         (simpleTeXSpecialChars): adjust
7546         * paragraph.C (simpleTeXOnePar): adjust
7547         * buffer.C (makeLaTeXFile): adjust
7548
7549         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7550
7551         * text2.C (changeDepth): parlist cleanup
7552         (getColumnNearX): ditto
7553
7554         * rowpainter.C (getLabelFont): parlist cleanup
7555
7556         * bufferlist.C (newFile): parlist cleanup
7557
7558         * CutAndPaste.C (eraseSelection): parlist cleanup
7559
7560         * BufferView_pimpl.C (trackChanges): parlist cleanup
7561         (dispatch): ditto
7562
7563         * BufferView.C (lockInset): parlist cleanup.
7564         (ChangeInsets): ditto
7565
7566 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7567
7568         * CutAndPaste.h: Update file header.
7569
7570         * CutAndPaste.C: Update file header.
7571         Store the parts cut out of the Document in a limited_stack.
7572         (copySelection): adjust
7573         (pasteSelection): new function, takes the index in the limited stack.
7574         (nrOfParagraphs): adjust
7575         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7576         simplify error inset insertion.
7577         (checkPastePossible): adjust
7578
7579 2003-05-06  John Levon  <levon@movementarian.org>
7580
7581         * text2.C: don't cast wrap inset to float
7582
7583 2003-05-05  André Pönitz  <poenitz@gmx.net>
7584
7585         * iterator.C:
7586         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7587
7588         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7589           few naked Paragraph *.
7590
7591 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7592
7593         * bufferparams.C: Output warning if a document with missing
7594         TeX document class is loaded
7595         * exporter.C: Disable TeX exports if the document class is missing
7596         * lyxtextclass.C:
7597         * lyxtextclass.h:
7598         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7599         isTeXClassAvailable()
7600
7601 2003-05-03  John Levon  <levon@movementarian.org>
7602
7603         * BufferView.h:
7604         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7605         explicit cursor show/hide
7606
7607         * BufferView_pimpl.h:
7608         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7609         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7610
7611         * lyxfunc.C: hide cursor before dispatching.
7612
7613         * lyx_cb.C:
7614         * lyxfind.C:
7615         * text.C:
7616         * text3.C: remove explicit cursor hides
7617
7618 2003-05-02  André Pönitz  <poenitz@gmx.net>
7619
7620         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7621
7622         * undo_funcs.C:
7623         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7624           linked lists
7625
7626         * text2.C: tiny whitespace
7627
7628 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7629
7630         * undo_funcs.C: almost only ws changes.
7631
7632         * ParagraphList.C (splice): just return if pl is empty.
7633
7634 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7635
7636         * ParagraphList.C (splice): new function.
7637
7638         * CutAndPaste.C (pasteSelection): use it
7639
7640 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7641
7642         * CutAndPaste.C (pasteSelection): remove the last next and
7643         previous from this file.
7644
7645 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7646
7647         * CutAndPaste.C (pasteSelection): more clean up, user proper
7648         ParagraphList functions for pasteing.
7649
7650         * ParagraphList.C (insert): new function, three arg insert
7651
7652 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7653
7654         * ParagraphList.C (insert): new function, three arg insert
7655
7656         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7657         not on paragraphs.
7658
7659 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7660
7661         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7662
7663 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7664
7665         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7666
7667 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7668
7669         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7670         (copySelection): clean up a bit.
7671         (pasteSelection): use make_pair
7672
7673         * ParagraphList.C (ParagraphList): implement copy constructor
7674         (operator=): implement, base on copy constructor.
7675         (assign): new func
7676
7677         * paragraph.C (erase): return a bool
7678
7679         * paragraph_pimpl.C (erasePos): remove function, move contents...
7680         (erase): ... here. Return a bool.
7681         (erase): call erase instead of erasePos.
7682
7683 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7684
7685         * ParagraphList.h: define PitPosPair
7686         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7687         ParagraphList, fix a bug on pasting multiple pars
7688         * text2.C: change interface to C&P
7689
7690 2003-04-30  André Pönitz  <poenitz@gmx.net>
7691
7692         * undo_func.C: revert part of yesterday's patch 2
7693
7694 2003-04-30  John Levon  <levon@movementarian.org>
7695
7696         * LColor.C: s/tabular/table/
7697
7698 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7699
7700         * text3.C (dispatch): do not convert iterator -> pointer
7701         * undo_funcs.C (setCursorParUndo): ditto
7702         * text_funcs.C (transposeChars): ditto
7703
7704         * text2.C (setLayout): ws changes only
7705
7706         * text.C (breakParagraph): do not convert iterator -> pointer
7707         (insertChar): ditto
7708         (acceptChange): ditto
7709         (rejectChange): ditto
7710         (changeCase): ditto
7711         (Delete): ditto
7712         (backspace): ditto
7713
7714         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7715         pointer
7716
7717 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7718
7719         * text3.C (gotoInset): YABG (yet another bad getChar)
7720
7721 2003-04-29  André Pönitz  <poenitz@gmx.net>
7722
7723         * paragraph.h: make operator= private unimplemented as long as
7724           it is unusable
7725
7726         * ParagraphList.C: whitespace
7727
7728         * paragraph.[Ch]:
7729         * paragraph_pimpl.[Ch]:
7730         * paragraph_funcs.C:
7731         * CutAndPaste.C:
7732         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7733
7734         * text2.C:
7735           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7736
7737 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7738
7739         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7740         * paragraph.[Ch] (erase):
7741         * paragraph_pimpl.[Ch] (erase): change return type and value
7742         * text2.C (cutSelection): some rework
7743
7744 2003-04-28  John Levon  <levon@movementarian.org>
7745
7746         * bufferlist.C: changes for unsaved changes dialog
7747
7748 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7749
7750         * bufferlist.C (newFile): set language (messages_) for new
7751         documents also.
7752
7753         * buffer.C (readFile): ws changes only.
7754
7755 2003-04-28  André Pönitz  <poenitz@gmx.net>
7756
7757         * undo_funcs.C:
7758         * lyxfunc.C:
7759         * buffer.[Ch]:
7760         * BufferView_pimpl.C:
7761         * BufferView.C: getParFromID related ParagraphList::iterator changes
7762
7763 2003-04-28  André Pönitz  <poenitz@gmx.net>
7764
7765         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7766           Changes
7767
7768 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7769
7770         * messages.C: remove one more localedir class variable.
7771
7772 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7773
7774         * messages.C (getLocaleDir): singleton generation function
7775         (Pimpl): use it.
7776         (Messages): add a default constructor.
7777
7778         * main.C (main): do not setup localedir here, do not call
7779         gettext_init.
7780
7781         * gettext.C (_): use it.
7782         (gettext_init): delete funciton
7783
7784 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7785
7786         * gettext.C (getLyXMessages): new singleton generating function.
7787
7788         * buffer.C (updateDocLang): adjust
7789
7790         * Makefile.am (messages.o): add target
7791         (main.o): remove target
7792
7793 2003-04-27  John Levon  <levon@movementarian.org>
7794
7795         * bufferlist.C:
7796         * lyx_cb.C:
7797         * lyxfunc.C:
7798         * lyxvc.C: specify cancel button in Alert::prompt
7799
7800 2003-04-26  John Levon  <levon@movementarian.org>
7801
7802         * text3.C:
7803         * lyxfunc.C:
7804         * lfuns.h:
7805         * LyXAction.C: add LFUN_INSET_SETTINGS
7806
7807         * lyxfunc.C: don't enable tabular-feature when there's
7808         just any locking inset
7809
7810 2003-04-26  John Levon  <levon@movementarian.org>
7811
7812         * bufferlist.C: re-add Cancel to buffer close question
7813
7814         * lyxfunc.C: fix import UI a bit
7815
7816 2003-04-25  John Levon  <levon@movementarian.org>
7817
7818         * gettext.C: remove the broken asserts for now
7819
7820 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7821
7822         * messages.C: make case where setlocale cannot comply work better.
7823
7824         * buffer.C (updateDocLang): new function
7825         (changeLanguage): use it
7826         (readFile): use it
7827
7828         * text2.C (setCounter): use B_ a bit.
7829
7830         * lyxlayout.C (Read): be sure to trim the label strings.
7831
7832         * messages.C (Messages): fix typo in comment
7833
7834         * buffer.C (readFile): set message_ after file is loaded.
7835         (makeDocBookFile): remove double return
7836         (changeLanguage): reset message_ upon language change.
7837         (B_): new func, use this to get translated buffer strings.
7838
7839         * main.C: add myself and Jean Marc as authors.
7840
7841 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7842
7843         * messages.[hC]: pimplify Messages, and three different pimpls to be
7844         used in different circumstances.
7845
7846         * gettext.[Ch]: change for use with new message code.
7847
7848 2003-04-24 André Pönitz <poenitz@gmx.net>
7849
7850         * factory.C: support for eqref
7851
7852 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7853
7854         * messages.[Ch]: add missing char
7855
7856         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7857
7858         * messages.[Ch]: New files
7859
7860 2003-04-18  John Levon  <levon@movementarian.org>
7861
7862         * BufferView.h:
7863         * BufferView.C:
7864         * BufferView_pimpl.C:
7865         * lfuns.h:
7866         * LyXAction.C:
7867         * lyxtext.h:
7868         * text2.C: remove layout-copy/paste (bug 778)
7869
7870 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7871
7872         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7873
7874 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7875
7876         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7877         if they succeed. Act accordingly.
7878
7879 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7880
7881         * text2.C (setCharFont): adjust
7882         (setCounter): adjust
7883         (insertStringAsLines): adjust
7884
7885         * text.C (leftMargin): adjust
7886         (setHeightOfRow): adjust
7887
7888         * rowpainter.C (paintFirst): adjust
7889         (paintLast): adjust
7890
7891         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7892         (outerHook): ditto
7893         (isFirstInSequence): ditto
7894         (getEndLabel): ditto
7895         (outerFont): adjust
7896
7897         * paragraph.C (getParLanguage): comment out some hard stuff.
7898
7899         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7900         (sgmlError): ditto
7901         (simpleDocBookOnePar): ditto
7902         (makeDocBookFile): use ParagraphList::iterator
7903
7904         * CutAndPaste.C (pasteSelection): adjust
7905
7906 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7907
7908         * text2.C (getFont): adjust
7909         (getLayoutFont): adjust
7910         (getLabelFont): adjust
7911
7912         * paragraph_funcs.C (TeXOnePar): adjust
7913
7914         * buffer.C (simpleLinuxDocOnePar): adjust
7915         (simpleDocBookOnePar): adjust
7916
7917         * CutAndPaste.C (pasteSelection): adjust
7918
7919         * BufferView.C (getEncoding): adjust
7920
7921         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7922
7923 2003-04-16  John Levon  <levon@movementarian.org>
7924
7925         * lyxfind.C: use parlist stuff for search/changes
7926
7927 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7928
7929         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7930
7931         * text2.C (deleteEmptyParagraphMechanism): adjust
7932
7933         * text2.[Ch] (ownerParagraph): delete func (both of them
7934
7935 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7936
7937         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7938
7939 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7940
7941         * ParagraphList.C: prepare for NO_NEXT
7942
7943 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7944
7945         * text2.C (getFont): adjust
7946         (getLayoutFont): adjust
7947         (getLabelFont): adjust
7948
7949         * paragraph.C (getFont): adjust
7950         (getLabelFont): adjust
7951         (getLayoutFont): adjust
7952
7953         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7954
7955 2003-04-15  John Levon  <levon@movementarian.org>
7956
7957         From Angus Leeming
7958
7959         * lyx_main.C: handle Include in .ui files
7960
7961 2003-04-15  John Levon  <levon@movementarian.org>
7962
7963         * MenuBackend.C: make the doc files length shorter
7964
7965         * ToolbarBackend.h:
7966         * ToolbarBackend.C: handle toolbar placement flags,
7967         Minibuffer
7968
7969 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7970
7971         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7972         adjust
7973
7974         * paragraph_funcs.C (TeXOnePar): adjust
7975
7976         * paragraph.C (getLabelFont): add outerfont arg, adjust
7977         (getLayoutFont): ditto
7978         (simpleTeXOnePar): adjust
7979
7980         * paragraph_pimpl.C (realizeFont): delete func
7981
7982 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7983
7984         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7985         row argument, constify cur argument.
7986
7987 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * text2.C (getFont): adjust
7990         (getLayoutFont): adjust
7991         (getLabelFont): adjust
7992
7993         * paragraph_funcs.C (TeXOnePar): adjust
7994         (outerFont): new func...
7995         (realizeFont): ...moved out from here, changed this to facilitate
7996         transition
7997
7998         * paragraph.C (getFont): take outerfont as arg, adjust
7999         (simpleTeXOnePar): add outerfont arg, adjust
8000
8001         * buffer.C (simpleLinuxDocOnePar): adjust
8002         (simpleDocBookOnePar): adjust
8003
8004         * CutAndPaste.C (pasteSelection): adjust
8005
8006         * BufferView.C (getEncoding): adjust
8007
8008 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8009
8010         * text2.C (setCharFont): adjust
8011         (setCounter): adjust
8012
8013         * text.C (leftMargin): adjust
8014         (setHeightOfRow): adjust
8015
8016         * rowpainter.C (paintFirst): adjust
8017         (paintLast): adjust
8018
8019         * paragraph_pimpl.C (realizeFont): adjust
8020
8021         * paragraph.C (isFirstInSequence): move from here...
8022         * paragraph_funcs.C (isFirstInSequence): ...to here
8023
8024         * paragraph.C (outerHook): move from here...
8025         * paragraph_funcs.C (outerHook): ...to here
8026
8027         * paragraph.C (depthHook): move from here...
8028         * paragraph_funcs.C (depthHook): ...to here
8029
8030         * paragraph.C (getEndLabel): move from here...
8031         * paragraph_funcs.C (getEndLabel): ...to here
8032
8033         * text2.C (realizeFont): move from here...
8034         * paragraph_funcs.C (realizeFont): ...to here
8035
8036 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8037
8038         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8039
8040 2003-04-14  Angus Leeming  <leeming@lyx.org>
8041
8042         * LColor.[Ch]: scrap LColor mathcursor.
8043
8044 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8045
8046         * lyxlex.[Ch] (text): delete function
8047         * trans.C (Load): adjust
8048         * paragraph_funcs.C (readParToken): adjust
8049
8050 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8051
8052         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8053         vector<char> instead of a char[].
8054
8055         * lyxlex_pimpl.C (getString): adjust
8056         (next): adjust
8057         (lex): use getString
8058         (eatLine): adjust
8059         (nextToken): adjust
8060
8061         * lyxlex.C (text): use pimpl_->getString()
8062         (getBool): ditto
8063         (findToken): ditto
8064
8065 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8066
8067         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8068         (makeFontEntriesLayoutSpecific): temp var for par.size()
8069         (setLayout): temp var for ownerParagraphs().end()
8070         (fullRebreak): temp var for rows().end()
8071         (selectionAsString): temp var for boost::next(startpit), realize
8072         that the while really is a regular for loop.
8073         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8074         setCursor in one place.
8075         (setParagraph): temp vr for ownerParagraphs().end()
8076         (updateCounters): make the while loop a for loop
8077         (cutSelection): temp var for ownerParagraphs().end()
8078         (updateInset): make the do {} while() a regular for loop
8079         (getCursorX): use temp vars
8080         (setCurrentFont): use temp vars
8081         (getColumnNearX): use temp vars
8082
8083 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8084
8085         * text.C (transformChar): use temp var for getChar
8086         (computeBidiTables): use temp var for row->par()
8087         (fill): move temp vars for row->par() and pit->layout() earlier in
8088         the function.
8089         (labelFill): use temp var for row->par()
8090         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8091         asc and desc, realize that pit never changes and that firstpit is
8092         just a duplicate and not needed. Exchange rit->par() with pit in a
8093         lot of places.
8094         (breakAgain): use a temp var for boost::next(rit)
8095         (breakAgainOneRow): ditto
8096         (breakParagraph): use a temp var for rows().begin()
8097         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8098         (cursorRightOneWord): use temp var for cursor.par() and
8099         cursor.pos(), remove usage of tmpcursor.
8100         (cursorLeftOneWord): use temp var for cursor.par() and
8101         cursor.pos() only set cur at end of function.
8102
8103 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8104
8105         * text.C, text2.C: exchange all usage of Paragraph::next with
8106         boost::next(ParagraphList::iterator)
8107
8108         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8109
8110         * text2.C (cursorTop): simplify implementation
8111         (cursorBottom): ditto
8112         (setParagraph): use ParagraphList::iterator
8113         (setCurrentFont): adjust
8114         (getColumnNearX): adjust
8115         (cursorRight): adjust
8116         (cursorLeft): remove usage of Paragraph::previous
8117         (cursorUpParagraph): ditto
8118         (deleteEmptyParagraphMechanism): slight cleanup
8119
8120         * text.C (isBoundary): take a Paragraph const & instead of a
8121         pointer as arg.
8122         (addressBreakPoint): ditto
8123         (leftMargin): remove usage of Paragraph::previous.
8124         (setHeightOfRow): ditto
8125         (cursorLeftOneWord): ditto
8126         (selectNextWordToSpellcheck): ditto
8127         (Delete): ditto
8128         (backspace): ditto
8129         (breakParagraph): remove one usage of Paragraph::next
8130         (redoParagraph): ditto
8131         (acceptChange): ditto
8132         (insertChar): adjust
8133         (rowBreakPoint): adjust
8134
8135         * bufferview_funcs.C (toggleAndShow): adjust
8136
8137 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8138
8139         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8140         methods to access it.
8141         * lyxtext.h:
8142         * text.C: Added updateRowPositions to compute all row positions.
8143         Make top_y and getRowNearY() to use the cached y position
8144
8145 2003-04-11  John Levon  <levon@movementarian.org>
8146
8147         * text.C (rowBreakPoint): reintroduce the labelEnd
8148         checks, code copied from the row fill stuff. Deep voodoo.
8149
8150         * text.C (fill): add a comment and debugging for the
8151         next poor soul.
8152
8153 2003-04-11  John Levon  <levon@movementarian.org>
8154
8155         * text.C: make sure fullrow insets get wrapped to the next line,
8156         even when they're in a manual label
8157
8158 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8159
8160         * text2.C (insertParagraph): make it take ParagraphList::iterator
8161         as arg.
8162         (setLayout): make it return ParagraphList::iterator
8163         (redoParagraphs): ditto
8164         (setCounter): ditto
8165         (checkParagraph): ditto
8166
8167         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8168
8169         * text2.C: adjust several funcs.
8170         (realizeFont): take a ParagraphList::iterator as arg.
8171         (getLayoutFont): ditto
8172         (getLabelFont): ditto
8173         (setCharFont): ditto
8174
8175         * text.C: adjust several funcs.
8176
8177 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8178
8179         * text.C (selectNextWordToSpellcheck): don't accidentally
8180         skip insets
8181
8182 2003-04-10  John Levon  <levon@movementarian.org>
8183
8184         * ToolbarBackend.C (getIcon): special handling for
8185         LFUN_MATH_DELIM
8186
8187 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8188
8189         * text2.C (cursorRight): a getChar assert fixed
8190
8191 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8192
8193         * text2.C (getFont): change to take a ParagraphList::iterator
8194         instead of Paragraph*
8195         Adjust several functions.
8196
8197         * text.C (transformChar): change to take a ParagraphList::iterator
8198         instead of Paragraph*
8199         (singleWidth): ditto
8200         Adjust several functions.
8201
8202         * rowpainter.C: adjust several functions
8203         * rowpainter.h:store a ParagraphList::iterator and not a
8204         Paragraph&.
8205
8206
8207 2003-04-09  John Levon  <levon@movementarian.org>
8208
8209         * lyxfunc.C:
8210         * lfuns.h:
8211         * LyXAction.h:
8212         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8213         and the "help" bits as well
8214
8215 2003-04-09  John Levon  <levon@movementarian.org>
8216
8217         * ToolbarBackend.h:
8218         * ToolbarBackend.C: allow multiple toolbars
8219
8220 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8221
8222         * undo_funcs.C (setCursorParUndo): adjust
8223
8224         * text_funcs.C (transposeChars): adjust
8225
8226         * text3.C (gotoNextInset): adjust
8227         (dispatch): adjust
8228
8229         * text2.C (setLayout): adjust
8230         (changeDepth): adjust
8231         (setFont): adjust
8232         (redoParagraphs): adjust
8233         (selectionAsString): adjust
8234         (setParagraph): adjust
8235         (insertInset): adjust
8236         (cutSelection): adjust
8237         (copySelection): adjust
8238         (pasteSelection): adjust
8239         (insertStringAsLines): adjust
8240         (updateInset): adjust
8241         (setCursor): change to take a ParagraphList::iterator parameter
8242         (setCursorIntern): change to take a ParagraphList::iterator parameter
8243         (setCurrentFont): adjust
8244         (cursorLeft): adjust
8245         (cursorRight): adjust
8246         (deleteEmptyParagraphMechanism): adjust
8247
8248         * text.C (breakParagraph): adjust
8249         (insertChar): adjust
8250         (acceptChange): adjust
8251         (rejectChange): adjust
8252         (selectNextWordToSpellcheck): adjust
8253         (changeCase): adjust
8254         (Delete): adjust
8255         (backspace): adjust
8256
8257         * lyxfind.C (SearchForward): adjust
8258         (SearchBackward): adjust
8259         (nextChange): adjust
8260
8261         * lyxcursor.C (par): adjust
8262
8263         * lyxcursor.h: store a ParagraphList::iterator instead of a
8264         Paragraph*
8265
8266         * lyx_cb.C (getPossibleLabel): adjust
8267
8268         * bufferview_funcs.C (toggleAndShow): adjust
8269
8270         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8271         (dispatch): adjust
8272
8273         * BufferView.C (removeAutoInsets): adjust
8274         (lockedInsetStoreUndo): adjust
8275
8276 2003-04-09  John Levon  <levon@movementarian.org>
8277
8278         * ToolbarBackend.C: try icon without argument
8279         if with argument fails
8280
8281 2003-04-08  John Levon  <levon@movementarian.org>
8282
8283         * ToolbarBackend.h:
8284         * ToolbarBackend.C: add getIcon(), handle tooltip,
8285         and change from "Icon" to "Item".
8286
8287 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8288
8289         * BufferView.C (lockInset): another bad getchar crunched
8290
8291 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8292
8293         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8294         again)
8295
8296 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8297
8298         * lyxfind.C (searchForward, searchBackwards): bug 782
8299
8300 2003-04-07  John Levon  <levon@movementarian.org>
8301
8302         * paragraph.C: remove dead comment
8303
8304         * text.C: remove troublesome depth-fiddling code
8305         in leftMargin() and rightMargin() (bug 1017)
8306
8307         * text.C: fix breaking of rows in nested lists
8308         (bug 1004)
8309
8310         * text2.C (updateCounters): fix up depth values
8311         (bug 1013)
8312
8313 2003-04-07  John Levon  <levon@movementarian.org>
8314
8315         * BufferView_pimpl.C: clear message when doc finishes resizing,
8316         and after a mouse event
8317
8318         * lyxfunc.C: clear message after exiting inset
8319
8320 2003-04-07  John Levon  <levon@movementarian.org>
8321
8322         * bufferview_funcs.C: show math status not outside
8323         status in the statusbar
8324
8325 2003-04-07  John Levon  <levon@movementarian.org>
8326
8327         * lyxfunc.C: note status changed after a depth change
8328
8329 2003-04-04  Angus Leeming  <leeming@lyx.org>
8330
8331         * LaTeX.h: move AuxInfo operator==, != out of line.
8332         Remove LaTeX virtual destructor; nothing derives from it.
8333         Move operator()() out of public area and rename it startscript().
8334         Change protected for private.
8335
8336 2003-04-04  Angus Leeming  <leeming@lyx.org>
8337
8338         * lyxfunc.C:
8339         * text2.C: remove unneeded #includes.
8340
8341 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8342
8343         * text2.C (dEPM): fix the heigth of the next row
8344
8345 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8346
8347         * text.C: squashed an invalid getChar requester + some ws changes
8348
8349 2003-04-03  John Levon  <levon@movementarian.org>
8350
8351         * bufferview_funcs.h:
8352         * bufferview_funcs.C:
8353         * lyxfunc.C:
8354         * lyxtext.h:
8355         * text2.C: make getStatus work for the env depth lfuns
8356
8357 2003-04-03  John Levon  <levon@movementarian.org>
8358
8359         * bufferview_funcs.h:
8360         * bufferview_funcs.C:
8361         * lyxfunc.C:
8362         * lyxtext.h:
8363         * text2.C: parlistize decDepth(), by merging it with incDepth()
8364
8365 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8366
8367         * lyxrow.h: store a ParagraphList::iterator instead of a
8368         Paragraph* and adjust other class functions to suit.
8369
8370         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8371         above.
8372
8373 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8374
8375         * text2.C (setCursor): do not anchor to cursor row for the time being
8376
8377 2003-04-02  John Levon  <levon@movementarian.org>
8378
8379         * LyXAction.C:
8380         * lfuns.h:
8381         * lyx_main.C:
8382         * lyxtext.h:
8383         * text.C:
8384         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8385
8386 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8387
8388         * paragraph.h: make ParagraphList and ParagraphList::iterator
8389         friends of Paragraph.
8390
8391         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8392
8393         * ParagraphList.C: Use the private next_ and previous_ from
8394         Paragraph.
8395
8396 2003-04-01  John Levon  <levon@movementarian.org>
8397
8398         * ToolbarBackend.h:
8399         * ToolbarBackend.C:
8400         * Makefile.am: rename, remove defaults gunk
8401
8402         * MenuBackend.h:
8403         * MenuBackend.C: remove defaults gunk
8404
8405         * Languages.h:
8406         * Languages.C: remove defaults gunk
8407
8408         * lyx_main.h:
8409         * lyx_main.C: error out if files couldn't be found.
8410
8411 2003-04-02  John Levon  <levon@movementarian.org>
8412
8413         * text2.C: make incDepth() use parlist
8414
8415 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8416
8417         * undo_funcs.C (firstUndoParagraph): adjust
8418
8419         * text3.C (gotoInset): adjust
8420         (dispatch): adjust, and rewrite loop.
8421
8422         * text2.C (init): adjust, and rewrite loop.
8423         (redoParagraphs): adjust
8424         (updateInset): adjust, and rewrite loop.
8425         (deleteEmptyParagraphMechanism): adjust
8426
8427         * tabular.C (LyXTabular): adjust
8428         (SetMultiColumn): adjust
8429         (TeXRow): adjust
8430
8431         * lyxtext.[Ch] (ownerParagraph): delete function
8432         (ownerParagraphs): new function returns a ParagraphList.
8433
8434         * BufferView.C (removeAutoInsets): adjust
8435         (insertErrors): adjust
8436         (setCursorFromRow): adjust
8437
8438 2003-04-01  Angus Leeming  <leeming@lyx.org>
8439
8440         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8441         in the frontends.
8442
8443 2003-04-02  John Levon  <levon@movementarian.org>
8444
8445         * lyxtext.h:
8446         * text.C:
8447         * Makefile.am:
8448         * text_funcs.h:
8449         * text_funcs.C: make transposeChars a free function
8450
8451         * lyxrow_funcs.C: remove wrong comment
8452
8453 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8454
8455         * lyxtext.h: adjust
8456         * rowpainter.C: adjust
8457         * text.C: adjust
8458         * text2.C: adjust
8459         * text3.C: adjust
8460
8461         * lyxrow_funcs. [Ch]: new files
8462
8463         * lyxrow.[Ch]: remove next and previous pointers
8464         (next,previous): remove accessor functions
8465         (isParEnd): move to lyxrow_funcs
8466         (lastPos): move to lyxrow_funcs
8467         (nextRowIsAllInset): move to lyxrow_funcs
8468         (lastPrintablePos): move to lyxrow_funcs
8469         (numberOfSeparators): move to lyxrow_funcs
8470         (numberOfHfills): move to lyxrow_funcs
8471         (numberOfLabelHfills): move to lyxrow_funcs
8472         (hfillExpansion): move to lyxrow_funcs
8473
8474         * lyxfunc.C: adjust
8475
8476         * bufferview_funcs.C (toggleAndShow): adjust
8477
8478         * RowList.h: Remove class RowList from file leave just a
8479         std::list<Row>.
8480
8481         * RowList.C: delete file
8482
8483         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8484         and lyxrow_funcs.h
8485
8486 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8487
8488         * text3.C (cursorPrevious): adjust
8489         (cursorNext): adjust
8490         (dispatch): adjust
8491
8492         * text2.C (redoHeightOfParagraph): adjust
8493         (redoDrawingOfParagraph): adjust
8494         (setCursor): adjust
8495
8496         * text.C (breakParagraph): adjust
8497         (insertChar): adjust
8498         (backspace): adjust
8499
8500         * rowpainter.C (RowPainter): adjust
8501         (leftMargin): simplify and adjust
8502         (most rowpainter functions): adjust.
8503
8504         * rowpainter.h: store the row as RowList::iterator not as Row*
8505
8506         * lyxcursor.C (row): taka RowList::iterator as arg
8507         (irow): ditto
8508
8509         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8510         of Row*.
8511
8512 2003-04-01  Angus Leeming  <leeming@lyx.org>
8513
8514         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8515         stuff like bool Bool.
8516
8517 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8518
8519         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8520         rewrite a loop
8521
8522 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8523
8524         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8525         RowList::iterator.
8526
8527         * lyxtext.h (rows): drop one version and leve a const variant that
8528         returns a RowList::iterator.
8529
8530 2003-03-31  Angus Leeming  <leeming@lyx.org>
8531
8532         * text.C (fill): ensure that the signature is the same as that in the
8533         header file.
8534
8535 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8536
8537         * text2.C (redoParagraphs): adjust
8538         (updateCounters): adjust
8539         (checkParagraph): adjust
8540         (getColumnNearX): adjust and reformat a bit.
8541
8542         * text.C (top_y): adjust
8543         (workWidth): adjust
8544         (leftMargin): adjust
8545         (prepareToPrint): adjust
8546         (getRow): adjust
8547         (getRowNearY): adjust
8548
8549         * lyxtext.h: make rowlist_ mutable.
8550
8551         * RowList.h: add const_iterator
8552         * RowList.C: adjust for RowList::const_iterator.
8553
8554         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8555         adjust.
8556
8557 2003-03-31  John Levon  <levon@movementarian.org>
8558
8559         * lyxrc.h:
8560         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8561
8562         * lyx_main.C: set default fonts from using lyx_gui funcs
8563
8564         * exporter.C: pdf_mode moved from lyxrc
8565
8566         * lyx_cb.C:
8567         * lyxfunc.C: changes from above
8568
8569 2003-03-31  John Levon  <levon@movementarian.org>
8570
8571         * lyx_main.C: fix to the last fix
8572
8573 2003-03-31  John Levon  <levon@movementarian.org>
8574
8575         * bufferlist.C: "Load original" -> "Load Original"
8576
8577         * converter.C:
8578         * exporter.C:
8579         * importer.C:
8580         * lyx_main.C:
8581         * format.C: more Alert cleanups
8582
8583 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8584
8585         * text2.C (removeParagraph): make it take a RowList::iterator as
8586         arg, adjust.
8587         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8588         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8589
8590         * text.C (anchor_row): make it take a RowList::iterator as arg,
8591         adjust.
8592         (computeBidiTables): make it take a const reference to Row instead
8593         of Row pointer, adjust.
8594         (leftMargin): make it take a RowList::iterator as arg, adjust.
8595         (rowBreakPoint): adjust
8596         (breakAgainOneRow): make it take a RowList::iterator as arg,
8597         adjust.
8598         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8599
8600         * bufferview_funcs.C (toggleAndShow): adjust
8601
8602 2003-03-30  John Levon  <levon@movementarian.org>
8603
8604         * Makefile.am:
8605         * BoostFormat.h:
8606         * boost-inst.C: moved to support
8607
8608         * several files: changes as a result
8609
8610 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8611
8612         * text2.C (LyXText): adjust.
8613         (init): adjust
8614         (removeRow): make it take a RowList::iterator as arg, adjust.
8615         (fullRebreak): adjust
8616         (deleteEmptyParagraphMechanism): adjust
8617         (clearPaint): adjust
8618         (postPaint): adjust
8619
8620         * text.C (top_y): adjust
8621         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8622         (breakAgain): make it take a RowList::iterator as arg, adjust.
8623         (breakParagraph): adjust
8624         (insertChar): adjust
8625         (backspace): adjust
8626
8627         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8628         need_break_row, and refresh_row.
8629
8630         * text3.C (dispatch): adjust
8631
8632         * text2.C (checkParagraph): adjust
8633         (setCursor): adjust
8634         (setCursorFromCoordinates): adjust
8635
8636         * text.C (top_y): adjust
8637         (workWidth): adjust
8638         (getRow): make it return a RowList::iterator, adjust
8639         (getRowNearY): make it return a RowList::iterator, adjust
8640
8641         * text2.C (init): adjust
8642         (insertRow): remove function
8643         (insertParagraph): adjust
8644         (redoParagraphs): adjust
8645         (fullRebreak): adjust
8646         (updateCounters): adjust
8647
8648         * text.C (top_y): rewrite to use RowList iterators.
8649         (top_y): adjust
8650         (setHeightOfRow): rewrite to sue RowList iterators.
8651         (appendParagraph): adjust
8652         (breakAgain): adjust
8653         (breakAgainOneRow): adjust
8654         (breakParagraph): adjust
8655         (getRow): adjust
8656         (getRowNearY): adjust, and remove commented code.
8657
8658         * lyxtext.h (firstRow): delete function
8659         (lastRow): delete function
8660         (rows): new function (const and non-const versions.)
8661         (insertRow): delete function
8662
8663         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8664
8665 2003-03-29  John Levon  <levon@movementarian.org>
8666
8667         * BufferView_pimpl.C: always update scrollbar top
8668         because pasting text when we're anchored could mean we
8669         miss an update altogether
8670
8671 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8672
8673         * text2.C (init): use rowlist_.end() and not 0.
8674         (insertRow): change to take a RowList::iterator as arg, adjust
8675         for this.
8676         (insertParagraph): change to take a RowList::iterator as arg,
8677         adjust for this.
8678         (redoParagraphs): remove some debug msgs.
8679
8680         * text.C (appendParagraph): change to take a RowList::iterator
8681         arg, adjust for this.
8682         (breakAgain): add an assert
8683         (breakAgainOneRow): ditto
8684
8685 2003-03-29  John Levon  <levon@movementarian.org>
8686
8687         * text2.C: do not clear selection after inc/decDepth
8688         (bug 550)
8689
8690 2003-03-29  John Levon  <levon@movementarian.org>
8691
8692         * BufferView.C:
8693         * buffer.C: fix broken strerrors according to Lars
8694
8695 2003-03-29  John Levon  <levon@movementarian.org>
8696
8697         * converters.C: more Alert cleanups
8698
8699 2003-03-29  John Levon  <levon@movementarian.org>
8700
8701         * bufferview_funcs.C: remove pointless Alert
8702
8703         * buffer.C: fix confusing error message when
8704         a template is chmoded 000
8705
8706 2003-03-29  John Levon  <levon@movementarian.org>
8707
8708         * BufferView.C:
8709         * BufferView.h:
8710         * BufferView_pimpl.C: Alert fixes
8711
8712         * Makefile.am:
8713         * tabular.C:
8714         * tabular-old.C: remove unused table compat reading
8715
8716 2003-03-29  John Levon  <levon@movementarian.org>
8717
8718         * BufferView.C:
8719         * buffer.C:
8720         * lyx_cb.h:
8721         * lyx_cb.C: more Alert cleanups
8722
8723         * lyxfunc.C: don't allow chktex if not latex document
8724
8725 2003-03-29  John Levon  <levon@movementarian.org>
8726
8727         * lyx_cb.C:
8728         * BufferView.C:
8729         * buffer.C: warnings pushed down from support/,
8730         kill err_alert
8731
8732 2003-03-29  John Levon  <levon@movementarian.org>
8733
8734         * lyxfunc.C: safety check for C-r (revert)
8735
8736 2003-03-29  John Levon  <levon@movementarian.org>
8737
8738         * bufferlist.h:
8739         * bufferlist.C: several UI fixes using Alert::prompt.
8740         Fix the pointless looping quit code. Fix stupid revert
8741         behaviour (bug 938)
8742
8743         * lyxvc.h:
8744         * lyxvc.C:
8745         * lyx_cb.C: use Alert::prompt
8746
8747         * lyx_main.C: remove a silly question
8748
8749         * lyxfunc.C: remove a couple of silly questions,
8750         use Alert::prompt
8751
8752 2003-03-28  John Levon  <levon@movementarian.org>
8753
8754         * text2.C: fix bug 974 (End on empty par)
8755
8756 2003-03-28  John Levon  <levon@movementarian.org>
8757
8758         * BufferView_pimpl.C:
8759         * LyXAction.C:
8760         * lfuns.h: remove do-nothing math greek lfuns
8761
8762 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8763
8764         * lyxgluelength.h (isValidGlueLength): add default arg on
8765         parameter 2. Remove default arg from friend in class.
8766
8767         * lyxlength.h (isValidLength): add default arg on parameter 2.
8768         Remove default arg from friend in class.
8769
8770         * text2.C (LyXText): adjust, initialize refresh_row.
8771         (init): adjust
8772         (removeRow): adjust
8773         (insertRow): adjust
8774         (insertParagraph): adjst
8775         (redoParagraphs): adjust
8776         (fullRebreak): adjust
8777         (updateCounters): adjust
8778         (deleteEmptyParagraphMechanism): first attempt at fixing a
8779         crashing bug.
8780
8781         * text.C (top_y): adjust
8782         (setHeightOfRow): adjust
8783         (getRow): adjust
8784         (getRowNearY): adjust
8785
8786         * lyxtext.h: include RowList.h
8787         (~LyXText): not needed anymore, deleted.
8788         (firstRow): modify for RowList
8789         (lastRow): new function
8790         Delete firstrow and lastrow class variables, add a Rowlist
8791         rowlist_ class variable.
8792
8793         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8794         paragraph is empty.
8795
8796         * RowList.C (insert): fix case where it == begin().
8797
8798 2003-03-26  Angus Leeming  <leeming@lyx.org>
8799
8800         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8801         the thesaurus dialog.
8802
8803 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8804
8805         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8806
8807         * RowList.[Ch]: new files
8808
8809         * ParagraphList.C (erase): handle the case where it == begin
8810         correctly.
8811
8812 2003-03-25  John Levon  <levon@movementarian.org>
8813
8814         * Makefile.am:
8815         * aspell_local.h:
8816         * aspell.C: add new aspell support
8817
8818         * lyxrc.h:
8819         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8820         have it accessible.
8821
8822 2003-03-25  Angus Leeming  <leeming@lyx.org>
8823
8824         * lfuns.h:
8825         * LyXAction.C (init): new LFUN_INSET_INSERT.
8826
8827         * BufferView_pimpl.C (dispatch): split out part of the
8828         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8829
8830         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8831         LFUN_INSET_APPLY.
8832
8833 2003-03-25  Angus Leeming  <leeming@lyx.org>
8834
8835         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8836
8837 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8838
8839         * text2.C:
8840         * text3.C: remove useless row->height(0)
8841
8842 2003-03-25  John Levon  <levon@movementarian.org>
8843
8844         * lyxtext.h:
8845         * text2.C:
8846         * text3.C: rename the refreshing stuff to better names
8847
8848 2003-03-24  John Levon  <levon@movementarian.org>
8849
8850         * BufferView_pimpl.h:
8851         * BufferView_pimpl.C: update layout choice on a mouse
8852         press/release
8853
8854 2003-03-23  John Levon  <levon@movementarian.org>
8855
8856         * Makefile.am: fix commandtags.h reference
8857
8858 2003-03-22  John Levon  <levon@movementarian.org>
8859
8860         * BufferView_pimpl.C:
8861         * lyxtext.h:
8862         * rowpainter.C:
8863         * rowpainter.h:
8864         * text.C:
8865         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8866
8867 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8868
8869         * lyxtext.h:
8870         * text.C: take the rtl methods out of line
8871
8872 2003-03-21 André Pönitz <poenitz@gmx.net>
8873
8874         * metricsinfo.[Ch]: new files containing structures to be passed around
8875         during the two-phase-drawing...
8876
8877 2003-03-21 André Pönitz <poenitz@gmx.net>
8878
8879         * lyxtextclass.C: read 'environment' tag.
8880
8881 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8882
8883         * text2.C (removeRow): fix bug 964
8884
8885 2003-03-20  John Levon  <levon@movementarian.org>
8886
8887         * rowpainter.C:
8888         * text.C:
8889         * text2.C: paint cleanups. Inset::update() dropped font
8890         parameter
8891
8892 2003-03-19  John Levon  <levon@movementarian.org>
8893
8894         * lyxfunc.C: only fitcursor/markDirty if available()
8895
8896 2003-03-19  John Levon  <levon@movementarian.org>
8897
8898         * commandtags.h: rename to ...
8899
8900         * lfuns.h: ... this, and renumber / cleanup
8901
8902 2003-03-19  John Levon  <levon@movementarian.org>
8903
8904         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8905         fit the cursor after an lfun
8906
8907         * BufferView.h:
8908         * BufferView.C:
8909         * BufferView_pimpl.h:
8910         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8911
8912         * LyXAction.C: layout-character should have ReadOnly
8913
8914         * ParagraphParameters.C:
8915         * buffer.C:
8916         * bufferview_funcs.C:
8917         * lyx_cb.C:
8918         * lyxfind.C:
8919         * lyxtext.h:
8920         * text.C:
8921         * text2.C:
8922         * text3.C:
8923         * undo_funcs.C: changes from above
8924
8925 2003-03-18  John Levon  <levon@movementarian.org>
8926
8927         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8928         remove it from update()
8929
8930         * lyxfunc.C: update layout choice after an lfun
8931
8932         * text3.C: remove extra updateLayoutChoice()s
8933
8934 2003-03-18  John Levon  <levon@movementarian.org>
8935
8936         * text.C: top_y change means full repaint, fix
8937         a drawing bug with cursor movement
8938
8939 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8940
8941         * lyxtext.h:
8942         * text.C:
8943         * text2.C: anchor row on setCursor
8944
8945 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8946
8947         * lyxtext.h: remove almost all mutable keywords
8948         * text.C:
8949         * text2.C:
8950         * text3.C: remove const keywords accordingly
8951
8952 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8953
8954         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8955         anon namespace
8956         (TeXEnvironment): ditto
8957         (TeXOnePar): ditto
8958
8959 2003-03-17  John Levon  <levon@movementarian.org>
8960
8961         * text.C (rowBreakPoint): remove attempt to fix displayed
8962         math insets inside a manual label
8963
8964 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8965
8966         * lyxtext.h: remove BufferView* as first arg from almost all class
8967         functions.
8968         * other files: adjust.
8969
8970 2003-03-17  John Levon  <levon@movementarian.org>
8971
8972         * lyxtext.h:
8973         * undo_funcs.C:
8974         * text2.C: more paint cleanups
8975
8976         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8977
8978         * rowpainter.h:
8979         * rowpainter.C: remove "smart" background painting code
8980
8981 2003-03-16  John Levon  <levon@movementarian.org>
8982
8983         * lyxtext.h:
8984         * text.C:
8985         * text2.C:
8986         * text3.C: add helper functions for setting refresh_row/y
8987
8988 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8989
8990         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8991         newline inset which *can* get inserted in the pass_thru layouts.
8992         This is primarily for literate documents.
8993
8994 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8995
8996         * buffer.C: increment LYX_FORMAT to 223
8997
8998 2003-03-14 André Pönitz <poenitz@gmx.net>
8999
9000         * textclass.h: prepare for environment handling, ws changes
9001         * lyxlayout.C: read latexheader and latexfooter tags
9002
9003 2003-03-14  John Levon  <levon@movementarian.org>
9004
9005         * text2.C: rewrite ::status() a bit
9006
9007 2003-03-13  John Levon  <levon@movementarian.org>
9008
9009         * lyxtext.h: add some docs
9010
9011 2003-03-13  John Levon  <levon@movementarian.org>
9012
9013         * lyxtext.h:
9014         * text.C:
9015         * text2.C:
9016         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9017
9018 2003-03-13  John Levon  <levon@movementarian.org>
9019
9020         * text3.C: fix appendix redrawing
9021
9022 2003-03-13  John Levon  <levon@movementarian.org>
9023
9024         * text.C (setHeightOfRow):
9025         * rowpainter.h:
9026         * rowpainter.C: make appendix mark have the text
9027           "Appendix" so the user knows what it is
9028
9029         * LColor.h:
9030         * LColor.C: s/appendixline/appendix/ from above
9031
9032 2003-03-13  John Levon  <levon@movementarian.org>
9033
9034         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9035
9036         * text.C: fix a getChar(pos) bug properly
9037
9038 2003-03-13  Angus Leeming  <leeming@lyx.org>
9039
9040         * commandtags.h:
9041         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9042         Probably only temporary. Let's see how things pan out.
9043
9044         * BufferView.C (unlockInset):
9045         * BufferView_pimpl.C (fitCursor):
9046         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9047
9048         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9049         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9050
9051         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9052         new functions that convert ParagraphParameters to and from a string.
9053
9054         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9055         BufferView::Pimpl's dispatch.
9056         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9057
9058 2003-03-13 André Pönitz <poenitz@gmx.net>
9059
9060         * lyxfunc.C:
9061         * text3.C:
9062         * factory.C: make it aware of InsetEnv
9063
9064 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9065
9066         * text2.C (setCursor): never ask for one past last
9067         (setCursor): add some debugging messages.
9068
9069         * text.C (singleWidth): never ask for one past last
9070         (singleWidth): ditto
9071         (leftMargin): ditto
9072         (rightMargin): ditto
9073         (rowBreakPoint): ditto
9074         (setHeightOfRow): ditto
9075         (prepareToPrint): ditto
9076
9077         * rowpainter.C (paintBackground): never ask for one past last
9078         (paintText): never ask for one past last
9079
9080         * paragraph_pimpl.C (getChar): make the assert stricter, never
9081         allow the one past last pos to be taken
9082
9083         * paragraph.C (getChar): ws changes only
9084
9085         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9086         (numberOfSeparators): ditto
9087         (numberOfHfills): ditto
9088
9089 2003-03-12  John Levon  <levon@movementarian.org>
9090
9091         * author.h:
9092         * author.C:
9093         * bufferparams.h:
9094         * bufferparams.C:
9095         * paragraph_funcs.C: fix per-buffer authorlists
9096
9097 2003-03-12  John Levon  <levon@movementarian.org>
9098
9099         * text.C: fix newline in right address
9100
9101 2003-03-12  Angus Leeming  <leeming@lyx.org>
9102
9103         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9104         duplicate those in LyXFunc::dispatch.
9105
9106         * commandtags.h:
9107         * LyXAction.C:
9108         * ToolbarDefaults.C:
9109         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9110         Add LFUN_FONTFREE_UPDATE.
9111
9112         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9113         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9114
9115         * bufferview_func.[Ch]: several new functions to facilliate
9116         transfer of data to and from the character dialog.
9117
9118 2003-03-12  John Levon  <levon@movementarian.org>
9119
9120         * buffer.C:
9121         * paragraph.h:
9122         * paragraph.C:
9123         * paragraph_funcs.C:
9124         * paragraph_pimpl.C:
9125         * sgml.C:
9126         * tabular.C:
9127         * text.C:
9128         * text3.C: remove META_NEWLINE in favour of an inset
9129
9130         * rowpainter.h:
9131         * rowpainter.C: remove paintNewline (done by inset)
9132
9133 2003-03-12  John Levon  <levon@movementarian.org>
9134
9135         * paragraph_pimpl.C: complain about bad getChar()s
9136         for a while at least
9137
9138 2003-03-12  John Levon  <levon@movementarian.org>
9139
9140         * buffer.h:
9141         * buffer.C: move paragraph read into a separate function,
9142         a little renaming to reflect that.
9143
9144         * bufferparams.h:
9145         * bufferparams.C: remove the author_ids map, not necessary now
9146
9147         * factory.h:
9148         * factory.C: moved Buffer::readInset to here
9149
9150         * paragraph_funcs.h:
9151         * paragraph_funcs.C: readParagraph free function moved from
9152         buffer.C
9153
9154         * tabular.C: name change
9155
9156 2003-03-12  John Levon  <levon@movementarian.org>
9157
9158         * buffer.C:
9159         * ParagraphParameters.C: move par params input to
9160         a read() method
9161
9162         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9163         behave like a normal read from the stream wrt reading
9164         a line vs. a \\token
9165
9166 2003-03-12  John Levon  <levon@movementarian.org>
9167
9168         * paragraph.C:
9169         * ParagraphParameters.h:
9170         * ParagraphParameters.C: move output code to a
9171         ::write() method
9172
9173 2003-03-12  John Levon  <levon@movementarian.org>
9174
9175         * BufferView.C (insertLyXFile):
9176         * buffer.h:
9177         * buffer.C:
9178         * tabular.C: use a parlist iterator for creating the
9179           document.
9180
9181 2003-03-12  John Levon  <levon@movementarian.org>
9182
9183         * buffer.C: make current_change static local not
9184           static file-scope
9185
9186 2003-03-12  John Levon  <levon@movementarian.org>
9187
9188         * buffer.C: fix insertStringAsLines for change tracking
9189
9190 2003-03-12  John Levon  <levon@movementarian.org>
9191
9192         * BufferView.C:
9193         * tabular.C:
9194         * buffer.h:
9195         * buffer.C:
9196         * bufferparams.h:
9197         * bufferparams.C: move author list into params. Rename some
9198           functions. Move the header reading into a separate token
9199           loop. Move the header token reading into BufferParams.
9200
9201 2003-03-12  John Levon  <levon@movementarian.org>
9202
9203         * changes.C: put debug inside lyxerr.debugging() checks
9204
9205 2003-03-11 André Pönitz <poenitz@gmx.net>
9206
9207         * factory.C: make it aware of InsetHFill
9208
9209 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9210
9211         * buffer.C (latexParagraphs): move function from here...
9212         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9213         args.
9214
9215 2003-03-10  Angus Leeming  <leeming@lyx.org>
9216
9217         * LyXAction.C (init): fix bug in poplating array with multiple entries
9218         with the same LFUN (spotted by JMarc).
9219
9220 2003-03-10  John Levon  <levon@movementarian.org>
9221
9222         * text.C:
9223         * text2.C: move getColumnNearX() near its
9224         only call site
9225
9226 2003-03-10  John Levon  <levon@movementarian.org>
9227
9228         * text.C: fix break before a minipage
9229
9230 2003-03-10  John Levon  <levon@movementarian.org>
9231
9232         * text.C: fix the last commit
9233
9234 2003-03-09  John Levon  <levon@movementarian.org>
9235
9236         * lyxtext.h:
9237         * text.C:
9238         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9239         bug 365 (don't break before insets unless needed). Don't
9240         return a value > last under any circumstances.
9241
9242 2003-03-09  Angus Leeming  <leeming@lyx.org>
9243
9244         * BufferView_pimpl.C (trackChanges, dispatch): call
9245         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9246
9247 2003-03-09  Angus Leeming  <leeming@lyx.org>
9248
9249         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9250         than Dialogs::showAboutlyx().
9251
9252 2003-03-09  Angus Leeming  <leeming@lyx.org>
9253
9254         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9255         than Dialogs::showTabularCreate().
9256
9257 2003-03-09  John Levon  <levon@movementarian.org>
9258
9259         * lyxtext.h:
9260         * text.C:
9261         * text2.C: 3rd arg to nextBreakPoint was always the same.
9262           Use references.
9263
9264 2003-03-08  John Levon  <levon@movementarian.org>
9265
9266         * lyxrow.C:
9267         * paragraph.C:
9268         * paragraph.h:
9269         * rowpainter.C:
9270         * text.C:
9271         * text2.C: Remove the "main" bit from the "main body"
9272           notion.
9273
9274 2003-03-08  John Levon  <levon@movementarian.org>
9275
9276         * text.C (leftMargin): The left margin of an empty
9277         manual label paragraph should not include the label width
9278         string length.
9279
9280         * text.C (prepareToPrint): don't attempt to measure hfills
9281         for empty manual label paragraphs - the answer should be 0
9282
9283 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9284
9285         * CutAndPaste.C: remove commented code and reindent.
9286
9287 2003-03-08  John Levon  <levon@movementarian.org>
9288
9289         * lyxfunc.h:
9290         * lyxfunc.C: move reloadBuffer()
9291
9292         * BufferView.h:
9293         * BufferView.C: to here
9294
9295         * lyxvc.C: add comment
9296
9297         * vc-backend.h:
9298         * vc-backend.C: call bv->reload() to avoid
9299           getStatus() check on MENURELOAD
9300
9301 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9302
9303         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9304         to an old format .dep file.
9305
9306 2003-03-07  Angus Leeming  <leeming@lyx.org>
9307
9308         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9309         when the LFUN_MOUSE_RELEASE should have been handled by
9310         inset->localDispatch.
9311
9312 2003-03-07  Angus Leeming  <leeming@lyx.org>
9313
9314         * BufferView_pimpl.C (dispatch):
9315         * LyXAction.C (init):
9316         * ToolbarDefaults.C (init):
9317         * commandtags.h:
9318         * lyxfunc.C (getStatus):
9319         remove LFUN_INSET_GRAPHICS.
9320
9321         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9322
9323 2003-03-07  Angus Leeming  <leeming@lyx.org>
9324
9325         * commandtags.h:
9326         * LyXAction.C (init):
9327         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9328
9329         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9330
9331         * commandtags.h:
9332         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9333
9334         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9335         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9336
9337 2003-03-07  Angus Leeming  <leeming@lyx.org>
9338
9339         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9340         remove "ert".
9341
9342 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9343
9344         * ParagraphList.C (front): new function
9345         (back): implement
9346
9347 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9348
9349         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9350         and top_row_offset_. removed var first_y.
9351         * text.C (top_y):
9352         * text2.C (LyXText, removeRow):
9353         * text3.C:
9354         * BufferView_pimpl.C:
9355         use these methods instead of using first_y
9356
9357 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9358
9359         * text2.C (pasteSelection): adjust for checkPastePossible
9360
9361         * CutAndPaste.C: remove Paragraph * buf and replace with
9362         ParagraphList paragraphs.
9363         (DeleteBuffer): delete
9364         (cutSelection): change the tc type to textclass_type
9365         (copySelection): change the tc type to textclass_type
9366         (copySelection): adjust for ParagraphList
9367         (pasteSelection): change the tc type to textclass_type
9368         (pasteSelection): adjust for Paragraphlist
9369         (nrOfParagraphs): simplify for ParagraphList
9370         (checkPastePossible): simplify for ParagraphList
9371         (checkPastePossible): remove unused arg
9372
9373         * ParagraphList.C (insert): handle the case where there are no
9374         paragraphs yet.
9375
9376         * CutAndPaste.h: make CutAndPaste a namespace.
9377
9378         * text3.C (dispatch): adjust
9379
9380         * text.C (breakParagraph): add a ParagraphList as arg
9381
9382         * paragraph_funcs.C (breakParagraph): change to take a
9383         BufferParams and a ParagraphList as args.
9384         (breakParagraphConservative): ditto
9385         (mergeParagraph): ditto
9386         (TeXDeeper): add a ParagraphList arg
9387         (TeXEnvironment): ditto
9388         (TeXOnePar): ditto
9389
9390         * buffer.C (readLyXformat2): adjust
9391         (insertStringAsLines): adjust
9392         (latexParagraphs): adjust
9393
9394         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9395         (cutSelection): adjust
9396         (pasteSelection): adjust
9397
9398         * BufferView_pimpl.C (insertInset): adjust
9399
9400 2003-03-05  Angus Leeming  <leeming@lyx.org>
9401
9402         * commandtags.h:
9403         * LyXAction.C (init):
9404         * BufferView_pimpl.C (dispatch):
9405         * lyxfunc.C (getStatus):
9406         remove LFUN_CHILD_INSERT.
9407
9408         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9409
9410 2003-03-05  Angus Leeming  <leeming@lyx.org>
9411
9412         * commandtags.h:
9413         * LyXAction.C (init):
9414         * src/factory.C (createInset):
9415         * lyxfunc.C (getStatus):
9416         * text3.C (dispatch):
9417         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9418
9419         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9420
9421 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9422
9423         * ParagraphList.C (insert): handle insert right before end()
9424         (erase): fix cases where it can be first or last paragraph.
9425
9426 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9427
9428         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9429         Paragraph::next and Paragraph::previous
9430         (TeXOnePar): ditto
9431
9432         * text.C (breakParagraph): adjust
9433
9434         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9435         BufferParams& as arg.
9436         (breakParagraph): use ParagraphList::insert
9437         (breakParagraphConservative): take a Buffer* instead of a
9438         BufferParams& as arg.
9439         (breakParagraphConservative): use ParagraphList::insert.
9440
9441         * buffer.C (insertStringAsLines): un-const it
9442         (insertStringAsLines): adjust
9443
9444         * ParagraphList.C (insert): new function
9445
9446         * CutAndPaste.C (pasteSelection): adjust
9447
9448         * text.C (backspace): adjust
9449
9450         * tabular.C (SetMultiColumn): adjust
9451
9452         * CutAndPaste.C (cutSelection): adjust
9453         (pasteSelection): adjust
9454
9455         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9456         Buffer const * as arg
9457
9458         * ParagraphList.C (erase): new function
9459         * paragraph_funcs.C (mergeParagraph): use it
9460         (mergeParagraph): make it take a Buffer* instead of a
9461         BufferParams* as arg
9462
9463         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9464         as arg
9465         (breakParagraphConservative): ditto
9466
9467         * paragraph.h: remove the breakParagraph friend
9468
9469         * paragraph.C (eraseIntern): new function
9470         (setChange): new function
9471
9472         * paragraph_funcs.C (mergeParagraph): make it take a
9473         ParagraphList::iterator instead of a Paragraph *, adjust
9474         accordingly.
9475
9476         * paragraph.h: move an #endif so that the change tracking stuff
9477         also works in the NO_NEXT case.
9478
9479 2003-03-04  Angus Leeming  <leeming@lyx.org>
9480
9481         * commandtags.h:
9482         * LyXAction.C: new LFUN_INSET_MODIFY.
9483
9484         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9485         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9486
9487 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9488
9489         * several files: ws changes only
9490
9491         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9492         (TeXEnvironment): ditto
9493         (TeXDeeper): ditto
9494
9495         * buffer.C (makeLaTeXFile): adjust
9496         (latexParagraphs): make it take ParagraphList::iterator as args
9497
9498 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9499
9500         * buffer.C (latexParagraphs): adjust
9501
9502         * paragraph.C (TeXOnePar): move function...
9503         (optArgInset): move function...
9504         (TeXEnvironment): move function...
9505         * paragraph_pimpl.C (TeXDeeper): move function...
9506         * paragraph_funcs.C: ...here
9507
9508         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9509
9510 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9511
9512         * buffer.C (readInset): remove compability code for old Figure and
9513         InsetInfo insets
9514
9515 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9516
9517         * buffer.C: ws changes
9518         (readInset):
9519
9520         * BufferView_pimpl.C: ditto
9521         * author.C: ditto
9522         * buffer.h: ditto
9523         * bufferlist.h: ditto
9524         * changes.h: ditto
9525         * lyxfunc.C: ditto
9526
9527 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9528
9529         * converter.[Ch]: split into itself +
9530         * graph.[Ch]
9531         * format.[Ch]
9532         * Makefile.am: += graph.[Ch] + format.[Ch]
9533         * MenuBackend.C
9534         * buffer.C
9535         * exporter.C
9536         * importer.C
9537         * lyx_main.C
9538         * lyxfunc.C
9539         * lyxrc.C: added #include "format.h"
9540
9541 2003-02-27  Angus Leeming  <leeming@lyx.org>
9542
9543         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9544           a label.
9545
9546         * factory.C (createInset): add "label" to the factory.
9547
9548         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9549           string and do no more.
9550
9551 2003-02-27  Angus Leeming  <leeming@lyx.org>
9552
9553         * commandtags.h:
9554         * LyXAction.C (init):
9555         * factory.C (createInset):
9556         * BufferView_pimpl.C (dispatch):
9557           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9558
9559         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9560
9561         * lyxfunc.C (dispatch):
9562         * text3.C (dispatch): pass name to params2string.
9563
9564 2003-02-26  Angus Leeming  <leeming@lyx.org>
9565
9566         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9567           blocks together.
9568           Rearrange the ~includes. Strip out the unnecessary ones.
9569
9570         * factory.C (createInset): reformat.
9571           create new insets for the various LFUN_XYZ_APPLY lfuns.
9572
9573 2003-02-26  John Levon  <levon@movementarian.org>
9574
9575         * lyxrow.h:
9576         * lyxrow.C: add isParStart,isParEnd helpers
9577
9578         * paragraph.h: make isInserted/DeletedText take refs
9579
9580         * paragraph_funcs.h:
9581         * paragraph_funcs.C: remove #if 0'd code
9582
9583         * lyxtext.h:
9584         * text3.C:
9585         * text2.C:
9586         * text.C: use lyxrow helpers above.
9587           Move draw and paint routines to RowPainter.
9588           Make several methods use refs not pointers.
9589           Make backgroundColor() const.
9590           Add markChangeInDraw(), isInInset().
9591           Merge changeRegionCase into changeCase.
9592           Make workWidth() shouldn't-happen code into an Assert.
9593
9594         * rowpainter.h:
9595         * rowpainter.C: new class for painting a row.
9596
9597         * vspace.h:
9598         * vspace.C: make inPixels take a ref
9599
9600 2003-02-26  Angus Leeming  <leeming@lyx.org>
9601
9602         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9603         LFUN_REF_APPLY.
9604
9605 2003-02-25  John Levon  <levon@movementarian.org>
9606
9607         * ispell.C: give the forked command a more accurate name
9608
9609 2003-02-22  John Levon  <levon@movementarian.org>
9610
9611         * toc.h:
9612         * toc.C: make TocItem store an id not a Paragraph *
9613           (bug #913)
9614
9615 2003-02-21  Angus Leeming  <leeming@lyx.org>
9616
9617         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9618           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9619           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9620           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9621           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9622           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9623
9624         * BufferView_pimpl.C (dispatch):
9625         * LyXAction.C (init):
9626         * factory.C (createInset):
9627         * lyxfunc.C (getStatus, dispatch):
9628         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9629
9630 2003-02-21  Angus Leeming  <leeming@lyx.org>
9631
9632         * BufferView_pimpl.C (MenuInsertLyXFile):
9633         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9634         * lyxfunc.C (menuNew, open, doImport):
9635           no longer pass a LyXView & to fileDlg.
9636
9637 2003-02-21  Angus Leeming  <leeming@lyx.org>
9638
9639         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9640         * LyXAction.C: change, BIBKEY to BIBITEM.
9641         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9642         Change InsetBibKey to InsetBibitem.
9643         Change BIBKEY_CODE to BIBITEM_CODE.
9644         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9645         * factory.C: replace insetbib.h with insetbibitem.h.
9646         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9647         * paragraph.C: replace insetbib.h with insetbibitem.h.
9648         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9649         Change bibkey() to bibitem().
9650         * text.C: remove insetbib.h.
9651         * text2.C: replace insetbib.h with insetbibitem.h.
9652         change bibkey() to bibitem().
9653         * text3.C: remove insetbib.h.
9654         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9655
9656 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9657
9658         * lyxrc.C (output): enclose user email in quotes (in case there are
9659         several words)
9660
9661 2003-02-18  John Levon  <levon@movementarian.org>
9662
9663         * buffer.h: add std::
9664
9665 2003-02-17  John Levon  <levon@movementarian.org>
9666
9667         * SpellBase.h:
9668         * ispell.h:
9669         * ispell.C:
9670         * pspell.h:
9671         * pspell.C: reworking. Especially in ispell, a large
9672           number of clean ups and bug fixes.
9673
9674         * lyxfunc.C: fix revert to behave sensibly
9675
9676 2003-02-17 André Pönitz <poenitz@gmx.net>
9677
9678         * LyXAction.C:
9679         * commandtags.h: new LFUN_INSERT_BIBKEY
9680
9681         * layout.h:
9682         * lyxlayout.C:
9683         * buffer.C:
9684         * factory.C:
9685         * text.C:
9686         * text2.C:
9687         * text3.C:
9688         * paragraph.[Ch]:
9689         * paragraph_func.C: remove special bibkey handling
9690
9691 2003-02-17  John Levon  <levon@movementarian.org>
9692
9693         * text.C (Delete): fix case where delete at the end of
9694           the very first paragraph would not merge the pars
9695
9696 2003-02-17  John Levon  <levon@movementarian.org>
9697
9698         * lyxrow.C: fix lastPrintablePos()
9699
9700 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9701
9702         * bufferparams.C (writeLaTeX): add a std:here
9703
9704         * buffer.C: and remove a using directive there
9705
9706 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9707
9708         * buffer.C (makeLaTeXFile): move the code that generates the
9709           preamble...
9710
9711         * bufferparams.C (writeLaTeX): ... in this new method
9712
9713         * LaTeXFeatures.C (getEncodingSet): make const
9714           (getLanguages): make const
9715
9716         * MenuBackend.C (binding): returns the binding associated to this
9717           action
9718           (add): sets the status of each item by calling getStatus. Adds
9719           some intelligence.
9720           (read): add support for OptSubMenu
9721           (expand): remove extra separator at the end of expanded menu
9722
9723 2003-02-15  John Levon  <levon@movementarian.org>
9724
9725         * BufferView.C:
9726         * BufferView_pimpl.C:
9727         * bufferlist.h:
9728         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9729           inset code that had no actual effect. Remove unneeded status
9730           code.
9731
9732 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9733
9734         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9735           in preamble
9736
9737 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9738
9739         * text.C (drawLengthMarker): also draw an arrow marker for
9740           symbolic lengths (medskip...)
9741
9742 2003-02-14  John Levon  <levon@movementarian.org>
9743
9744         * tabular.h:
9745         * tabular.C: better method names
9746
9747 2003-02-14  John Levon  <levon@movementarian.org>
9748
9749         * BufferView_pimpl.C:
9750         * bufferlist.C:
9751         * buffer.C:
9752         * converter.C:
9753         * lyx_cb.C:
9754         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9755           it's a more accurate name. Remove some pointless uses.
9756
9757 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9758
9759         * text2.C (LyXText): change order of initilizers to shut off
9760           warnings
9761
9762 2003-02-14  John Levon  <levon@movementarian.org>
9763
9764         * buffer.C: use ParIterator for getParFromID()
9765
9766         * paragraph.h:
9767         * paragraph.C:
9768         * paragraph_pimpl.h:
9769         * paragraph_pimpl.C: remove unused getParFromID()
9770
9771 2003-02-14  John Levon  <levon@movementarian.org>
9772
9773         * buffer.C: remove some very old #if 0'd parse code
9774
9775 2003-02-13  John Levon  <levon@movementarian.org>
9776
9777         * text.h:
9778         * text.C:
9779         * text2.C: move hfillExpansion(), numberOfSeparators(),
9780           rowLast(), rowLastPrintable(), numberofHfills(),
9781           numberOfLabelHfills() ...
9782
9783         * lyxrow.h:
9784         * lyxrow.C: ... to member functions here.
9785
9786         * paragraph.h:
9787         * paragraph.C:
9788         * lyxtext.h:
9789         * text.C: remove LyXText::beginningOfMainBody(), and call
9790           p->beginningOfMainBody() directly. Move the check for
9791           LABEL_MANUAL into the latter.
9792
9793         * text.h:
9794         * text.C:
9795         * text2.C:
9796         * vspace.C:
9797         * BufferView.h:
9798         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9799
9800         * text.h:
9801         * text.C:
9802         * text2.C:
9803         * text3.C:
9804         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9805           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9806
9807 2003-02-13  John Levon  <levon@movementarian.org>
9808
9809         * CutAndPaste.C: remove debug
9810
9811 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9812
9813         * paragraph.C (asString): remove two unused variables
9814
9815         * lyxtextclass.C (readTitleType):
9816           (Read):
9817           (LyXTextClass): handle new members titletype_ and titlename_
9818
9819         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9820
9821 2003-02-09  John Levon  <levon@movementarian.org>
9822
9823         * buffer.h:
9824         * buffer.C: replace hand-coded list with a map for the dep clean
9825
9826 2003-02-08  John Levon  <levon@movementarian.org>
9827
9828         * LaTeX.C: consolidate code into showRunMessage() helper
9829
9830 2003-02-08  John Levon  <levon@movementarian.org>
9831
9832         * lyxfind.C:
9833         * lyxtext.h:
9834         * text2.C:
9835         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9836           and pass the size in explicitly
9837
9838         * BufferView_pimpl.h:
9839         * BufferView_pimpl.C:
9840         * BufferView.h:
9841         * BufferView.C: add getCurrentChange()
9842
9843         * BufferView_pimpl.h:
9844         * BufferView_pimpl.C: handle change lfuns
9845
9846         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9847           for changes. Mark pasted paragraphs as new.
9848
9849         * support/lyxtime.h:
9850         * support/lyxtime.C:
9851         * DepTable.C: abstract time_t as lyx::time_type
9852
9853         * LColor.h:
9854         * LColor.C: add colours for new text, deleted text, changebars
9855
9856         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9857           package use "usenames" option.
9858
9859         * commandtags.h:
9860         * lyxfunc.C:
9861         * LyXAction.C: add change lfuns
9862
9863         * Makefile.am:
9864         * author.h:
9865         * author.C: author handling
9866
9867         * buffer.h:
9868         * buffer.C: add a per-buffer author list, with first entry as
9869           current author. Handle new .lyx tokens for change tracking. Output
9870           author list to .lyx file. Output dvipost stuff to .tex preamble.
9871           Bump lyx format to 222.
9872
9873         * bufferlist.h:
9874         * bufferlist.C: add setCurrentAuthor() to reset current author details
9875           in all buffers.
9876
9877         * bufferparams.h:
9878         * bufferparams.C: add param for tracking
9879
9880         * bufferview_funcs.C: output change info in minibuffer
9881
9882         * Makefile.am:
9883         * changes.h:
9884         * changes.C: add change-tracking structure
9885
9886         * debug.h:
9887         * debug.C: add CHANGES debug flag
9888
9889         * lyxfind.h:
9890         * lyxfind.C: add code for finding the next change piece
9891
9892         * lyxrc.h:
9893         * lyxrc.C: add user_name and user_email
9894
9895         * lyxrow.h:
9896         * lyxrow.C: add a metric for the top of the text line
9897
9898         * lyxtext.h:
9899         * text.C: implement accept/rejectChange()
9900
9901         * lyxtext.h:
9902         * text.C: paint changebars. Paint new/deleted text in the chosen
9903         colours. Strike through deleted text.
9904
9905         * paragraph.h:
9906         * paragraph.C:
9907         * paragraph_pimpl.h:
9908         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9909           in the current change to the insert functions. Rework erase to
9910           mark text as deleted, adding an eraseIntern() and a range-based
9911           erase(). Implement per-paragraph change lookup and
9912           accept/reject.
9913
9914         * paragraph_funcs.C: Fixup paste for change tracking.
9915
9916         * tabular.C: mark added row/columns as new.
9917
9918         * text.C: fix rowLast() to never return -1. Don't allow
9919           spellchecking of deleted text. Track transpose changes. Don't
9920           allow paragraph break or merge where appropriate.
9921
9922         * text2.C: leave cursor at end of selection after a cut.
9923
9924 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9925
9926         * text.C (getLengthMarkerHeight):
9927         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9928         visible on screen too.
9929
9930 2003-02-07  John Levon  <levon@movementarian.org>
9931
9932         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9933
9934 2003-02-05  Angus Leeming  <leeming@lyx.org>
9935
9936         * lyxserver.C (read_ready): revert my patch of 11 September last year
9937         as it sends PC cpu through the roof. Presumably this means that
9938         the lyxserver will no longer run on an Alpha...
9939
9940 2003-01-30  Angus Leeming  <leeming@lyx.org>
9941
9942         * factory.C (createInset): create an InsetCommandParam of type "index"
9943         and use it to 'do the right thing'.
9944
9945         * text2.C (getStringToIndex): ensure that cursor position is always
9946         reset to the reset_cursor position.
9947
9948 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9949
9950         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9951         disabled.
9952
9953 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9954
9955         * bufferview.C:
9956         * lyxcb.C:
9957         * lyxfunc.C: Output messages with identical spelling, punctuation,
9958         and spaces
9959
9960 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9961
9962         * MenuBackend.C (expandFormats): List only viewable export formats
9963         in "View" menu
9964
9965         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9966         message
9967
9968         * lyxfunc.C (getStatus): Make sure that formats other than
9969         "fax" can also be disabled
9970
9971 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9972
9973         * text3.C (dispatch): put the lfuns that insert insets in 3
9974         groups, and call doInsertInset with appropriate arguments.
9975         (doInsertInset): new function, that creates an inset and inserts
9976         it according to some boolean parameters.
9977
9978 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9979
9980         * buffer.C (readFile): remember to pass on 'par' when calling
9981         readFile recursively.
9982
9983 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9984
9985         * MenuBackend.C (expandFormats): add "..." to import formats.
9986
9987 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9988
9989         * paragraph.C (asString): Remove XForms RTL hacks.
9990
9991 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9992         * buffer.C: fix typo
9993
9994 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9995
9996         * Makefile.am (LIBS): delete var
9997         (lyx_LDADD): add @LIBS@ here instead.
9998
9999 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10000
10001         * Clarify the meaning of "wheel mouse jump"
10002
10003 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10004
10005         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10006         tabular in a float
10007
10008 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10009
10010         * importer.C (Loaders): do not preallocate 3 elements in the
10011         vector, since one ends up with 6 elements otherwise
10012
10013 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10014
10015         * DepTable.C (write): write the file name as last element of the
10016         .dep file (because it may contain spaces)
10017         (read): read info in the right order
10018
10019 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10020
10021         * paragraph_pimpl.C (simpleTeXBlanks):
10022         (simpleTeXSpecialChars):
10023         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10024
10025         * tabular.C (latex): add some missing case statements. Reindent.
10026
10027         * MenuBackend.C (expandToc): remove unused variable.
10028
10029 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10030
10031         * LColor.C:
10032         * LaTeX.C:
10033         * LyXAction.C:
10034         * MenuBackend.C:
10035         * buffer.C:
10036         * exporter.C:
10037         * lyxfunc.C:
10038         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10039         and the like.
10040
10041 2003-01-05  John Levon  <levon@movementarian.org>
10042
10043         * BufferView.h:
10044         * BufferView.C: add getEncoding()
10045
10046         * kbsequence.h:
10047         * kbsequence.C: do not store last keypress
10048
10049         * lyxfunc.h:
10050         * lyxfunc.C: store last keypress here instead. Pass encoding
10051           to getISOEncoded()
10052
10053 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10054
10055         * lyx_main.C (init): remove annoying error message when following
10056         symbolic links (bug #780)
10057
10058 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10059
10060         * text.C (insertChar):
10061         * lyxrc.C (getDescription): remove extra spaces
10062
10063 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10064
10065         * lyxrc.C (getDescription): remove extra spaces
10066
10067 2002-12-20  John Levon  <levon@movementarian.org>
10068
10069         * text3.C: hack fix for page up/down across tall rows
10070
10071 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10072
10073         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10074         not been invoked
10075
10076 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10077
10078         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10079         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10080         thesaurus is not compiled in
10081
10082 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10083
10084         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10085
10086 2002-12-16  Angus Leeming  <leeming@lyx.org>
10087
10088         * lyxrc.[Ch]:
10089         * lyx_main.C (init): remove override_x_deadkeys stuff.
10090
10091 2002-12-12  John Levon  <levon@movementarian.org>
10092
10093         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10094           insert. Only remove shift modifier under strict
10095           circumstances.
10096
10097 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10098
10099         * MenuBackend.C (expandToc): fix crash.
10100
10101 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10102
10103         * MenuBackend.C (expandToc): gettext on float names.
10104
10105 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10106
10107         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10108         implement bool empty() [bug 490]
10109
10110 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10111
10112         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10113
10114 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10115
10116         * several files: ws changes
10117
10118 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10119
10120         * text2.C (setCounter): clean up a bit, use boost.format.
10121         (updateCounters): initialize par upon declaration.
10122
10123         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10124         if the layout exists. We do not just store the layout any more.
10125         (SwitchLayoutsBetweenClasses): use boost.format
10126
10127 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10128
10129         * converter.C (convert): if from and to files are the same, use a
10130         temporary files as intermediary
10131
10132 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10133
10134         * commandtags.h:
10135         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10136
10137 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10138
10139         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10140
10141 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10142
10143         * tabular.C (asciiPrintCell): use string(size, char) instead of
10144         explicit loop.
10145
10146         * sgml.C (openTag): fix order of arguments to string constructor
10147         (closeTag): ditto
10148
10149         * lyxfunc.C (dispatch): use boost.format
10150
10151         * lots of files: change "c" -> 'c'
10152
10153 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10154
10155         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10156
10157 2002-11-25  Angus Leeming  <leeming@lyx.org>
10158
10159         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10160
10161         * lyx_main.C (init): compile fix.
10162
10163 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10164
10165         * lyx_cb.C (start): boost.formatify
10166         do not include <iostream>
10167
10168         * lengthcommon.C: ws only
10169
10170         * boost-inst.C,BoostFormat.h: add more explict instantations
10171
10172 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10173
10174         * lots of files: handle USE_BOOST_FORMAT
10175
10176 2002-11-21  John Levon  <levon@movementarian.org>
10177
10178         * pspell.C: fix compile
10179
10180 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10181
10182         * lyxfunc.C (dispatch): use boost::format
10183         (open): ditto
10184         (doImport): ditto
10185
10186         * lyxfont.C (stateText): use boost::format
10187
10188         * lyx_main.C (LyX): use boost::format
10189         (init): ditto
10190         (queryUserLyXDir): ditto
10191         (readRcFile): ditto
10192         (parse_dbg): ditto
10193         (typedef boost::function): use the recommened syntax.
10194
10195         * importer.C (Import): use boost::format
10196
10197         * debug.C (showLevel): use boost::format
10198
10199         * converter.C (view): use boost::format
10200         (convert): ditto
10201         (move): ditto
10202         (scanLog): ditto
10203
10204         * bufferview_funcs.C (currentState): use boost::format
10205
10206         * bufferlist.C (emergencyWrite): use boost::format
10207
10208         * buffer.C (readLyXformat2): use boost::format
10209         (parseSingleLyXformat2Token): ditto
10210
10211         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10212
10213         * LaTeX.C (run): use boost::format
10214
10215         * Chktex.C (scanLogFile): use boost::format
10216
10217         * BufferView_pimpl.C (savePosition): use boost::format
10218         (restorePosition): ditto
10219         (MenuInsertLyXFile): ditto
10220
10221         * BoostFormat.h: help file for explicit instation.
10222
10223 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10224
10225         * tabular.C (latex): Support for block alignment in fixed width
10226         columns.
10227
10228 2002-11-17  John Levon  <levon@movementarian.org>
10229
10230         * BufferView_pimpl.C:
10231         * lyx_cb.C:
10232         * lyxfunc.C: split filedialog into open/save
10233
10234 2002-11-08  Juergen Vigna  <jug@sad.it>
10235
10236         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10237         by my last patch (hopefully).
10238
10239 2002-11-08  John Levon  <levon@movementarian.org>
10240
10241         * iterators.h:
10242         * iterators.C:
10243         * buffer.h:
10244         * buffer.C:
10245         * paragraph.h:
10246         * paragraph.C:
10247         * toc.h:
10248         * toc.C: ParConstIterator, and use it (from Lars)
10249
10250 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10251
10252         * lyxtextclass.[Ch]: revise and add doxygen comments
10253
10254 2002-11-07  John Levon  <levon@movementarian.org>
10255
10256         * text.C: fix progress value for spellchecker
10257
10258         * toc.C: fix navigate menu for insetwrap inside minipage
10259
10260         * paragraph_funcs.C: added FIXME for suspect code
10261
10262 2002-11-07  John Levon  <levon@movementarian.org>
10263
10264         * BufferView_pimpl.C: fix redrawing of insets
10265           on buffer switch
10266
10267 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10268
10269         * text2.C (updateCounters): fix bug 668
10270
10271 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10272
10273         * text3.C (dispatch): Do not make the buffer dirty when moving the
10274         cursor.
10275
10276 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10277
10278         * vc-backend.C: STRCONV
10279         (scanMaster): ditto
10280
10281         * text2.C (setCounter): STRCONV
10282
10283         * paragraph.C (asString): STRCONV
10284
10285         * lyxlength.C (asString): STRCONV
10286         (asLatexString): ditto
10287
10288         * lyxgluelength.C (asString): STRCONV
10289         (asLatexString): ditto
10290
10291         * lyxfunc.C (dispatch): STRCONV
10292         (open): ditto
10293
10294         * lyxfont.C (stateText): STRCONV
10295
10296         * importer.C (Import): STRCONV
10297
10298         * counters.C (labelItem): STRCONV
10299         (numberLabel): ditto
10300         (numberLabel): remove unused ostringstream o
10301
10302         * chset.C: STRCONV
10303         (loadFile): ditto
10304
10305         * bufferview_funcs.C (currentState): STRCONV
10306
10307         * buffer.C (readFile): STRCONV
10308         (asciiParagraph): ditto
10309         (makeLaTeXFile): ditto
10310
10311         * Spacing.C (writeEnvirBegin): STRCONV
10312
10313         * LaTeXFeatures.C (getLanguages): STRCONV
10314         (getPackages): ditto
10315         (getMacros): ditto
10316         (getBabelOptions): ditto
10317         (getTClassPreamble): ditto
10318         (getLyXSGMLEntities): ditto
10319         (getIncludedFiles): ditto
10320
10321         * LaTeX.C: STRCONV
10322         (run): ditto
10323         (scanAuxFile): ditto
10324         (deplog): ditto
10325
10326         * LString.h: add the STRCONV macros
10327
10328         * BufferView_pimpl.C (savePosition): STRCONV
10329         (restorePosition): ditto
10330         (MenuInsertLyXFile): ditto
10331
10332         * vc-backend.C (scanMaster): change from submatch[...] to
10333         submatch.str(...)
10334
10335         * funcrequest.C: include config.h
10336
10337         * factory.C: include config.h
10338
10339         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10340
10341         * box.C: include config.h
10342
10343         * LaTeX.C (scanAuxFile): change from submatch[...] to
10344         submatch.str(...)
10345         (deplog): ditto
10346
10347 2002-10-25  Angus Leeming  <leeming@lyx.org>
10348
10349         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10350
10351         * ispell.[Ch] (setError): new method.
10352         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10353         Use setError() insetead of goto END.
10354
10355         * lyx_cb.C (AutoSave): move out child process into new class
10356         AutoSaveBuffer.
10357
10358 2002-10-30  John Levon  <levon@movementarian.org>
10359
10360         * text3.C: make start appendix undoable
10361
10362 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10363
10364         * lyxlength.C (inPixels): Fix returned value.
10365
10366         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10367         environment.
10368
10369 2002-10-24  Angus Leeming  <leeming@lyx.org>
10370
10371         * lyxgluelength.h: no need to forward declare BufferParams
10372         or BufferView, so don't.
10373
10374 2002-10-21  John Levon  <levon@movementarian.org>
10375
10376         * BufferView.C: menuUndo ->undo, redo
10377
10378         * BufferView.h: document, remove dead, make some methods private
10379
10380         * paragraph_funcs.h:
10381         * paragraph_funcs.C:
10382         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10383
10384         * buffer.h:
10385         * buffer.C:
10386         * sgml.h:
10387         * sgml.C: move sgml open/close tag into sgml.C
10388
10389         * bufferview_funcs.h: unused prototype
10390
10391         * lyxfunc.h:
10392         * lyxfunc.C: remove unused
10393
10394         * lyxtext.h:
10395         * text.C: remove unused
10396
10397 2002-10-21  John Levon  <levon@movementarian.org>
10398
10399         * BufferView.h:
10400         * BufferView.C:
10401         * BufferView_pimpl.h:
10402         * BufferView_pimpl.C: fix mouse wheel handling based on
10403           patch from Darren Freeman
10404
10405 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10406
10407         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10408
10409 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10410
10411         * lyxlength.C (inPixels): Fix hanfling of negative length.
10412         Fix LyXLength::MU case.
10413
10414 2002-10-16  John Levon  <levon@movementarian.org>
10415
10416         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10417
10418 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10419
10420         * converter.C (view): add support for $$i (file name) and $$p
10421         (file path) for the viewer command. If $$i is not specified, then
10422         it is appended to the command (for compatibility with old syntax)
10423
10424 2002-10-14  Juergen Vigna  <jug@sad.it>
10425
10426         * undo_funcs.C (textHandleUndo): alter the order in which the
10427         new undopar is added to the LyXText, as we have to set first
10428         the right prev/next and then add it as otherwise the rebuild of
10429         LyXText is not correct. Also reset the cursor to the right paragraph,
10430         with this IMO we could remove the hack in "redoParagraphs()".
10431
10432 2002-10-09  Angus Leeming  <leeming@lyx.org>
10433
10434         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10435         to turn off an optimisation if a new inset is to be inserted.
10436
10437 2002-10-11 André Pönitz <poenitz@gmx.net>
10438
10439         * lyxtext.h: make some functions public to allow access
10440         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10441
10442 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10443
10444         * text3.C (dispatch): when changing layout, avoid an infinite loop
10445         [bug #652]
10446
10447 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10448
10449         * lyxrc.C (read): treat a viewer or converter command of "none" as
10450         if it were empty.
10451
10452         * MenuBackend.C (expandFormats): for an update, also allow the
10453         formats that are not viewable
10454
10455         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10456         script if it is newer than the lyxrc.defaults in user directory
10457
10458 2002-10-07 André Pönitz <poenitz@gmx.net>
10459
10460         * text.C: Vitaly Lipatov's small i18n fix
10461
10462 2002-09-25  Angus Leeming  <leeming@lyx.org>
10463
10464         * ispell.h: doxygen fix.
10465
10466 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10467
10468         * buffer.h (readFile): Add a new argument to the method, to allow
10469         reading of old-format templates.
10470
10471 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10472
10473         * toc.C (getTocList): Get TOC from InsetWrap.
10474
10475 2002-09-16  John Levon  <levon@movementarian.org>
10476
10477         * lyxfunc.C: check tabular for cut/copy too
10478
10479 2002-09-12  John Levon  <levon@movementarian.org>
10480
10481         * LyXAction.C: tidy
10482
10483         * factory.h:
10484         * factory.C: add header
10485
10486         * paragraph_funcs.h:
10487         * paragraph_funcs.C: cleanup
10488
10489 2002-09-11  John Levon  <levon@movementarian.org>
10490
10491         * PrinterParams.h: odd/even default to true
10492
10493 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10494
10495         * PrinterParams.h: update printer parameters for new xforms dialog
10496
10497 2002-09-11  Angus Leeming  <leeming@lyx.org>
10498
10499         * lyxserver.C (read_ready): re-write to make it more transparent
10500         and to make it work in coherent fashion under Tru64 Unix.
10501
10502 2002-09-11  André Pönitz <poenitz@gmx.net>
10503
10504         * commandtags.h:
10505         * LyXAction.C:
10506         * text3.C: implement LFUN_WORDSEL
10507
10508 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10509
10510         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10511         make floatlist_ a boost::shared_ptr<FloatList>
10512
10513         * lyxtextclass.C: include FloatList.h
10514         (LyXTextClass): initialize floatlist_
10515         (TextClassTags): add TC_NOFLOAT
10516         (Read): match "nofloat" to TC_NOFLOAT and use it.
10517         (readFloat): modify call to floatlist_
10518         (floats): ditto
10519         (floats): ditto
10520
10521         * FloatList.[Ch] (FloatList): remove commented out float
10522         initialization.
10523         (erase): new function
10524
10525 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10526
10527         * MenuBackend.C (expandToc): fix crash when there is no document
10528         open
10529
10530 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10531
10532         * many files: Add insetwrap.
10533
10534 2002-09-09  John Levon  <levon@movementarian.org>
10535
10536         * text2.C: remove confusing and awkward depth wraparound
10537
10538 2002-09-09  John Levon  <levon@movementarian.org>
10539
10540         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10541
10542         * buffer.h:
10543         * buffer.C: remove getIncludeonlyList()
10544
10545         * paragraph.C:
10546         * lyxfunc.C: remove headers
10547
10548 2002-09-09  Juergen Vigna  <jug@sad.it>
10549
10550         * text.C (getColumnNearX): fix form Michael this is most
10551         probably a cut&paste bug.
10552
10553 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10554
10555         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10556
10557         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10558         references, ws changes.
10559
10560         * text2.C (init): update counters after init
10561         (insertParagraph): no need to set counter on idividual paragraphs.
10562         (setCounter): access the counters object in the textclass object
10563         on in the buffer object.
10564         (updateCounters): ditto
10565
10566         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10567         shared_ptr<Counters> to avoid loading counters.h in all
10568         compilation units.
10569         (LyXTextClass): initialize ctrs_
10570         (TextClassTags): add TC_COUNTER, and ...
10571         (Read): use it here.
10572         (CounterTags): new tags
10573         (readCounter): new function
10574         (counters): new funtion
10575         (defaultLayoutName): return a const reference
10576
10577         * counters.C (Counters): remove contructor
10578         (newCounter): remove a couple of unneeded statements.
10579         (newCounter): simplify a bit.
10580         (numberLabel): some small formatting changes.
10581
10582         * buffer.[Ch]: remove all traces of counters, move the Counters
10583         object to the LyXTextClass.
10584
10585 2002-09-06  Alain Castera  <castera@in2p3.fr>
10586
10587         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10588         package to set the horizontal alignment on fixed width columns.
10589
10590         * lyx_sty.C:
10591         * lyx_sty.h: added tabularnewline macro def.
10592
10593         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10594
10595 2002-09-06  John Levon  <levon@movementarian.org>
10596
10597         * LyXAction.C: tooltips for sub/superscript
10598
10599         * MenuBackend.C: a bit more verbose
10600
10601         * lyxfunc.C: tiny clean
10602
10603         * undo_funcs.C: document undo_frozen
10604
10605 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10606
10607         * counters.C (Counters): add missing algorithm counter.
10608
10609         * text2.C (setCounter): lookup the counter with layouts latexname
10610         instead of by section number.
10611         (setCounter): use a hackish way to lookup the correct enum
10612         counter.
10613         a float name->type change
10614         reset enum couners with counter name directly instead of depth value.
10615
10616         * counters.C (Counters): remove the push_backs, change to use the
10617         float type not the float name.
10618         (labelItem): remove unused string, float name->type change
10619
10620         * counters.h: don't include vector, loose the enums and sects vectors
10621
10622 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10623
10624         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10625         (Read): add float->TC_FLOAT to textclassTags
10626         (Read): and handle it in the switch
10627         (readFloat): new function
10628
10629         * FloatList.C (FloatList): comment out the hardcoded float
10630         definitions.
10631
10632         * lyxlayout.h: ws change.
10633
10634 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10635
10636         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10637
10638 2002-09-03  Angus Leeming  <leeming@lyx.org>
10639
10640         * BufferView_pimpl.h: qualified name is not allowed in member
10641         declaration: WorkArea & Pimpl::workarea() const;
10642
10643         * factory.C: added using std::endl directive.
10644
10645         * text3.C: added using std::find and std::vector directives.
10646
10647 2002-08-29  André Pönitz <poenitz@gmx.net>
10648
10649         * lyxtext.h:
10650         * text2.C: remove unused member number_of_rows
10651
10652         * Makefile.am:
10653         * BufferView2.C: remove file, move contents to...
10654         * BufferView.C: ... here
10655
10656         * BufferView_pimpl.C:
10657         * factory.C: move more inset creation to factory
10658
10659         * vspace.C: avoid direct usage of LyXText, ws changes
10660
10661         * BufferView.[Ch]:
10662                 don't provide direct access to WorkArea, use two simple
10663                 acessors haveSelction() and workHeight() instead
10664
10665
10666 2002-08-29  John Levon  <levon@movementarian.org>
10667
10668         * BufferView_pimpl.C (dispatch): do not continue when
10669           no buffer
10670
10671 2002-08-28  André Pönitz <poenitz@gmx.net>
10672
10673         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10674
10675         * BufferView.h:
10676         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10677
10678 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10679
10680         * buffer.C: increment LYX_FORMAT to 221
10681
10682         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10683         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10684
10685         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10686
10687         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10688
10689 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10690
10691         * factory.C (createInset): use LyXTextClass::floats
10692
10693         * MenuBackend.C (expandFloatListInsert):
10694         (expandFloatInsert):
10695         (expandToc):
10696
10697         * text2.C (setCounter):
10698
10699         * LaTeXFeatures.C (useFloat):
10700         (getFloatDefinitions):
10701
10702         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10703
10704         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10705         floatlist_, with accessor floats().
10706
10707         * FloatList.h: remove global FloatList
10708
10709 2002-08-26  André Pönitz <poenitz@gmx.net>
10710
10711         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10712
10713         * BufferView.h:
10714         * BufferView2.C:
10715         * BufferView_pimpl.C:
10716         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10717
10718 2002-08-25  John Levon  <levon@movementarian.org>
10719
10720         * LyXAction.C: fix margin note description
10721
10722 2002-08-24  John Levon  <levon@movementarian.org>
10723
10724         * buffer.C:
10725         * bufferlist.C:
10726         * bufferview_funcs.C:
10727         * lyxfont.C:
10728         * undo_funcs.C: cleanups
10729
10730         * lyxfunc.C: disable CUT/COPY when no selection
10731
10732 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10733
10734         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10735         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10736
10737         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10738         Add backward compatibility to "mono", "gray" and "no".
10739
10740 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10741
10742         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10743         (and file_format >= 200).
10744
10745 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10746
10747         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10748
10749 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10750
10751         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10752
10753 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10754
10755         * BufferView_pimpl.C:
10756         * LyXAction.C:
10757         * buffer.C:
10758         * commandtags.h:
10759         * lyxfunc.C:
10760         * paragraph.[Ch]:
10761         * text2.C:
10762         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10763         inset and code to make it  work with the paragraph code. The inset
10764         can be anywhere in the paragraph, but will only do the expected
10765         thing in LaTeX if the layout file contains the parameter line
10766                         OptionalArgs    1
10767         (or more generally, a nonzero value) for that layout.
10768
10769 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10770
10771         * paragraph.h: remove the declaration of undefined counters class
10772         function.
10773
10774 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10775
10776         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10777         Dr. Richard Hawkins.
10778
10779 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10780
10781         * paragraph_funcs.h: remove some unneeded includes
10782
10783         * text.C (backspace): pasteParagraph now in global scipe
10784
10785         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10786         (pasteSelection): ditto
10787
10788         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10789         * paragraph_funcs.C (pasteParagraph): ... here
10790
10791 2002-08-20  André Pönitz <poenitz@gmx.net>
10792
10793         * commandtags.h: new LFUNs for swapping/copying table row/colums
10794
10795         * LyXAction.C:
10796         * lyxfunc.C: support for new lfuns
10797
10798 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10799
10800         * tabular.C:
10801         * buffer.[Ch]: remove NO_COMPABILITY stuff
10802
10803 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10804
10805         * boost.C (throw_exception): new file, with helper function for
10806         boost compiled without exceptions.
10807
10808         * paragraph.h:
10809         * lyxlength.C:
10810         * buffer.C:
10811         * ParameterStruct.h:
10812         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10813
10814         * bufferlist.C (emergencyWriteAll): use boost bind
10815
10816         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10817
10818         * text.C: include paragraph_funcs.h
10819         (breakParagraph): breakParagraph is now in global scope
10820
10821         * paragraph_funcs.[Ch]: new files
10822
10823         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10824         global scope
10825
10826         * buffer.C: include paragraph_funcs.h
10827         (insertStringAsLines): breakParagraph is now in global scope
10828
10829         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10830         paragraph_funcs.C
10831
10832         * CutAndPaste.C: include paragraph_funcs.h
10833         (cutSelection): breakParagraphConservative is now in global scope
10834         (pasteSelection): ditto
10835
10836         * buffer.h: declare oprator== and operator!= for
10837         Buffer::inset_iterator
10838
10839         * bufferlist.C (emergencyWrite): don't use fmt(...)
10840
10841         * text3.C: add using std::endl
10842
10843         * BufferView.C (moveCursorUpdate): remove default arg
10844
10845 2002-08-20  André Pönitz <poenitz@gmx.net>
10846
10847         * buffer.[Ch]: move inline functions to .C
10848
10849         * BufferView2.C:
10850         * BufferView_pimpl.C:
10851         * text.C:
10852         * buffer.[Ch]: use improved inset_iterator
10853
10854         * buffer.C:
10855         * paragraph.[Ch]: write one paragraph at a time
10856
10857 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10858
10859         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10860         style if style is not specified.
10861
10862 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10863
10864         * text2.C (setCounter): when searching for right label for a
10865         caption, make sure to recurse to parent insets (so that a caption
10866         in a minipage in a figure float works) (bug #568)
10867
10868 2002-08-20  André Pönitz <poenitz@gmx.net>
10869
10870         * text3.C: new file for LyXText::dispatch() and helpers
10871
10872         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10873
10874         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10875
10876 2002-08-19  André Pönitz <poenitz@gmx.net>
10877
10878         * lyxtext.h:
10879         * text.C: new LyXText::dispatch()
10880
10881         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10882
10883 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10884
10885         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10886
10887         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10888         Hebrew text.
10889
10890 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10891
10892         * Makefile.am: use $(variables) instead of @substitutions@
10893
10894 2002-08-15  André Pönitz <poenitz@gmx.net>
10895
10896         * lyxfunc.C:
10897         * BufferView_pimpl.C: streamlining mathed <-> outer world
10898         interaction
10899
10900         * commandtags.h:
10901         * LyXAction.C: remove unused LFUN_MATH
10902
10903 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10904
10905         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10906
10907 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10908
10909         * paragraph.C (Paragraph): reformat a bit
10910         (cutIntoMinibuffer): use builtin InsetList function instad of
10911         doing it manually.
10912         (getInset): ditto
10913
10914         * buffer.C: include boost/bind.hpp, add using std::for_each
10915         (writeFileAscii): use ParagraphList iterators
10916         (validate): use for_each for validate traversal of paragraphs
10917         (getBibkeyList): use ParagraphList iterators
10918         (resizeInsets): use for_each to resizeInsetsLyXText for all
10919         paragraphs.
10920         (getParFromID): use ParagraphList iterators
10921
10922         * BufferView2.C (lockInset): use paragraph list and iterators
10923
10924 2002-08-14  John Levon  <levon@movementarian.org>
10925
10926         * lyxserver.C: remove spurious xforms include
10927
10928 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10929
10930         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10931
10932 2002-08-13  André Pönitz <poenitz@gmx.net>
10933
10934         * LyXAction.[Ch]:
10935         * lyxfunc.C: further cleaning
10936
10937 2002-08-13  André Pönitz <poenitz@gmx.net>
10938
10939         * funcrequest.h: new constructor
10940
10941         * funcrequest.C: move stuff here from .h
10942
10943         * Makefile.am:
10944         * BufferView_pimpl.C:
10945         * LyXAction.C:
10946         * toc.C:
10947         * lyxfunc.C: subsequent changes
10948
10949         * lyxfunc.h: new view() member function
10950
10951         * lyxfunc.C: subsequent changes
10952
10953 2002-08-13  Angus Leeming  <leeming@lyx.org>
10954
10955         * BufferView2.C:
10956         * BufferView_pimpl.C:
10957         * buffer.C:
10958         * converter.C:
10959         * importer.C:
10960         * lyxfunc.C:
10961         * lyxvc.C:
10962         * toc.C:
10963         * vc-backend.C:
10964         changes due to the changed LyXView interface that now returns references
10965         to member variables not pointers.
10966
10967 2002-08-13  Angus Leeming  <leeming@lyx.org>
10968
10969         * WordLangTuple (word, lang_code): return references to strings,
10970         not strings.
10971
10972         * BufferView.h:
10973         * SpellBase.h:
10974         * lyxtext.h: forward-declare WordLangTuple.
10975
10976         * BufferView2.C:
10977         * ispell.C:
10978         * pspell.C:
10979         * text.C: #include "WordLangTuple.h".
10980
10981         * lyxtext.h:
10982         * text.C: (selectNextWordToSpellcheck): constify return type.
10983
10984 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10985
10986         * buffer.C:
10987         * buffer.h:
10988         * lyxtext.h:
10989         * paragraph.C:
10990         * paragraph_pimpl.h:
10991         * text.C:
10992         * text2.C:
10993         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10994         suggested by Angus.
10995         Made updateCounter always count from start of buffer, and removed
10996         second argument (par).
10997         Reverted floats number display to '#'. Perhaps I'll try again when the
10998         code base is sanitized a bit.
10999
11000 2002-08-12  Angus Leeming  <leeming@lyx.org>
11001
11002         * buffer.[Ch] (getLabelList): constify.
11003
11004 2002-08-07  André Pönitz <poenitz@gmx.net>
11005
11006         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11007
11008         * funcrequest.h: extension to keep mouse (x,y) position
11009
11010 2002-08-12  Juergen Vigna  <jug@sad.it>
11011
11012         * BufferView2.C (insertErrors): forbid undo when inserting error
11013         insets.
11014
11015         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11016
11017 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11018
11019         * ParagraphList.[Ch]: new files
11020
11021         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11022
11023         * BufferView2.C (lockInset): ParagraphList changes
11024         * toc.C: ditto
11025         * text2.C: ditto
11026         * bufferlist.C: ditto
11027         * buffer.h: ditto
11028         * buffer.C: ditto
11029
11030 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11031
11032         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11033         unused class variable counter_,
11034
11035         * paragraph.[Ch] (getFirstCounter): delete unused function
11036
11037         * counters.C: include LAssert.h
11038         (reset): add a new function with no arg, change other version to
11039         not have def. arg and to not allow empty arg.
11040
11041         * text2.C (setCounter): remove empty arg from call to Counters::reset
11042
11043 2002-08-11  John Levon  <levon@movementarian.org>
11044
11045         * Makefile.am: add WordLangTuple.h
11046
11047 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11048
11049         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11050         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11051
11052         * insets/insettext.C: InsetList changes
11053
11054         * graphics/GraphicsSupport.C (operator()): InsetList changes
11055
11056         * toc.C (getTocList): InsetList changes
11057
11058         * paragraph_pimpl.[Ch]: InsetList changes
11059
11060         * paragraph.[Ch]: InsetList changes
11061
11062         * buffer.C (inset_iterator): InsetList changes
11063         (setParagraph): ditto
11064         * buffer.h (inset_iterator): ditto
11065         * iterators.C (operator++): ditto
11066         * iterators.h: ditto
11067
11068         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11069
11070         * InsetList.[Ch]: new files, most InsetList handling moved out of
11071         paragraph.C.
11072
11073         * BufferView2.C (removeAutoInsets): InsetList changes
11074         (lockInset): ditto
11075         (ChangeInsets): ditto
11076
11077 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11078
11079         * paragraph_pimpl.h (empty): new function
11080
11081         * paragraph.[Ch] (empty): new function
11082
11083         * other files: use the new Paragraph::empty function
11084
11085 2002-08-09  John Levon  <levon@movementarian.org>
11086
11087         * lyxtext.h: remove unused refresh_height
11088
11089 2002-08-09  John Levon  <levon@movementarian.org>
11090
11091         * Makefile.am:
11092         * sgml.h:
11093         * sgml.C:
11094         * buffer.C:
11095         * paragraph.h:
11096         * paragraph.C: move sgml char escaping out of paragraph
11097
11098         * paragraph.h:
11099         * paragraph.C: remove id setter
11100
11101         * buffer.C:
11102         * paragraph.C:
11103         * paragraph_pimpl.C: remove dead tex_code_break_column
11104
11105         * bufferview_funcs.C: small cleanup
11106
11107         * lyxfunc.C: remove dead proto
11108
11109         * lyxtext.h: make some stuff private. Remove some dead stuff.
11110
11111         * lyxgluelength.C: make as[LyX]String() readable
11112
11113 2002-08-08  John Levon  <levon@movementarian.org>
11114
11115         * LyXAction.h:
11116         * LyXAction.C:
11117         * MenuBackend.C:
11118         * ToolbarDefaults.C:
11119         * lyxfunc.C:
11120         * lyxrc.C:
11121         * toc.C: lyxaction cleanup
11122
11123 2002-08-08  John Levon  <levon@movementarian.org>
11124
11125         * BufferView2.C: small cleanup
11126
11127         * lyxfind.h:
11128         * lyxfind.C: move unnecessary header into the .C
11129
11130 2002-08-08  John Levon  <levon@movementarian.org>
11131
11132         * funcrequest.h: just tedious nonsense
11133
11134         * lyx_main.h:
11135         * lyx_main.C: cleanups
11136
11137         * buffer.C:
11138         * vspace.C: remove dead header lyx_main.h
11139
11140 2002-08-07  Angus Leeming  <leeming@lyx.org>
11141
11142         * Paragraph.[Ch]:
11143         * paragraph_pimpl.h:
11144         Forward declare class Counters in paragraph.h by moving the ctrs member
11145         variable into Paragraph::Pimpl.
11146         (counters): new method, returning a reference to pimpl_->ctrs.
11147
11148         * text2.C: ensuing changes.
11149
11150 2002-08-07  John Levon  <levon@movementarian.org>
11151
11152         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11153
11154         * BufferView_pimpl.C: announce X selection on double/triple
11155           click
11156
11157         * lyx_main.C: use correct bool in batch dispatch
11158
11159         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11160
11161 2002-08-07  André Pönitz <poenitz@gmx.net>
11162
11163         * funcrequest.h: new class to wrap a kb_action and its argument
11164
11165         * BufferView.[Ch]:
11166         * BufferView_pimpl[Ch]:
11167         * LaTeX.C:
11168         * LyXAction.[Ch]:
11169         * lyxfunc.[Ch]:
11170         * lyxrc.C: subsequent changes
11171
11172
11173 2002-08-07  John Levon  <levon@movementarian.org>
11174
11175         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11176           document options change.
11177
11178 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11179
11180         * counters.[Ch]
11181         * text2.C
11182         * paragraph.[Ch]
11183         * makefile.am: move counters functionality over from
11184         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11185
11186 2002-08-06  John Levon  <levon@movementarian.org>
11187
11188         * WordLangTuple.h: new file for word + language code tuple
11189
11190         * SpellBase.h:
11191         * pspell.h:
11192         * pspell.C:
11193         * ispell.h:
11194         * ispell.C:
11195         * lyxtext.h:
11196         * text.C:
11197         * text2.C:
11198         * BufferView.h:
11199         * BufferView2.C: use WordLangTuple
11200
11201         * layout.h:
11202         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11203
11204 2002-08-06  John Levon  <levon@movementarian.org>
11205
11206         * lyx_main.C: fix cmdline batch handling
11207
11208 2002-08-06  André Pönitz <poenitz@gmx.net>
11209
11210         * lyxrc.C: set default for show_banner to true
11211
11212 2002-08-06  John Levon  <levon@movementarian.org>
11213
11214         * pspell.C: fix a crash, and allow new aspell to work
11215
11216 2002-08-06  John Levon  <levon@movementarian.org>
11217
11218         * lyxfunc.C:
11219         * kbmap.C: small cleanup
11220
11221         * vspace.h:
11222         * vspace.C: add const
11223
11224 2002-08-05  John Levon  <levon@movementarian.org>
11225
11226         * LyXAction.C: back to tabular-insert
11227
11228 2002-08-04  John Levon  <levon@movementarian.org>
11229
11230         * BufferView.h:
11231         * BufferView.C: cosmetic change
11232
11233         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11234
11235         * bufferlist.C:
11236         * buffer.h:
11237         * buffer.C:
11238         * lyxcb.h:
11239         * lyxcb.C:
11240         * lyxserver.C:
11241         * lyxvc.C:
11242         * vc-backend.C:
11243         * BufferView2.C: purge all "Lyx" not "LyX" strings
11244
11245         * lyxcursor.h:
11246         * lyxcursor.C: attempt to add some documentation
11247
11248         * lyxfunc.C:
11249         * commandtags.h:
11250         * LyXAction.C:
11251         * ToolbarDefaults.C:
11252         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11253           merge with LFUN_TABULAR_INSERT
11254
11255         * Makefile.am:
11256         * SpellBase.h:
11257         * ispell.h:
11258         * ispell.C:
11259         * pspell.h:
11260         * pspell.C: split up i/pspell implementations into separate
11261           files, many cleanups
11262
11263         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11264
11265         * text2.C: some cleanup
11266
11267         * lyxfunc.C: don't check for isp_command == "none" any more, it
11268           didn't make any sense
11269
11270 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11271
11272         * counters.[Ch]
11273         * text2.C
11274         * paragraph.[Ch]
11275         * makefile.am: move counters functionality over
11276         from text2.C/paragraph.[Ch] to counters.[Ch], and
11277         make proper C++.
11278 2002-08-02  John Levon  <levon@movementarian.org>
11279
11280         * buffer.C: s/lyxconvert/lyx2lyx/
11281
11282 2002-08-02  Angus Leeming  <leeming@lyx.org>
11283
11284         * lyxlex.C: revert John's change as it breaks reading of the user
11285         preamble.
11286
11287 2002-08-02  Angus Leeming  <leeming@lyx.org>
11288
11289         * importer.C (Import):
11290         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11291         changes due to LyXView::view() now returning a boost::shared_ptr.
11292
11293 2002-08-02  John Levon  <levon@movementarian.org>
11294
11295         * lyxlex.C: small cleanup
11296
11297 2002-08-02  John Levon  <levon@movementarian.org>
11298
11299         * text2.C (status): small cleanup, no logic change
11300
11301 2002-08-01  John Levon  <levon@movementarian.org>
11302
11303         * buffer.h:
11304         * buffer.C (writeFile): don't output alerts, caller
11305           handles this
11306
11307         * bufferlist.C:
11308         * lyx_cb.C: from above
11309
11310         * lyxfunc.C: allow to open non-existent files
11311
11312 2002-07-31  John Levon  <levon@movementarian.org>
11313
11314         * lyxserver.C: don't let incidental errors get
11315           in the way (errno)
11316
11317 2002-07-30  John Levon  <levon@movementarian.org>
11318
11319         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11320
11321 2002-07-30  John Levon  <levon@movementarian.org>
11322
11323         * lyxserver.h:
11324         * lyxserver.C: remove I/O callback too
11325
11326 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11327
11328         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11329         log.
11330
11331 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11332
11333         * many files: strip,frontStrip -> trim,ltrim,rtrim
11334
11335 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11336
11337         * PrinterParams.h: remove extern containsOnly, and include
11338         support/lstrings.h instead.
11339
11340         * LaTeX.C (scanAuxFile): modify because of strip changes
11341         (deplog): ditto
11342         * buffer.C (makeLaTeXFile): ditto
11343         * bufferparams.C (writeFile): ditt
11344         * lyxfont.C (stateText): ditto
11345         * lyxserver.C (read_ready): ditto
11346         * vc-backend.C (scanMaster): ditto
11347
11348         * BufferView_pimpl.h: ws changes
11349
11350         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11351
11352 2002-07-26  André Pönitz <poenitz@gmx.net>
11353
11354         * kb_sequence.C: remove unnedred usings
11355
11356 2002-07-26  Juergen Vigna  <jug@sad.it>
11357
11358         * lyxfind.C (LyXReplace): we have to check better if the returned
11359         text is not of theLockingInset()->getLockingInset().
11360
11361 2002-07-25  Juergen Vigna  <jug@sad.it>
11362
11363         * lyxfind.C (LyXReplace): don't replace if we don't get the
11364         right LyXText.
11365
11366         * undo_funcs.C (createUndo): remove debugging code.
11367
11368 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11369
11370         * buffer.C (parseSingleLyXformat2Token): Use default placement
11371         when reading old floats.
11372
11373         * FloatList.C (FloatList): Change the default placement of figure
11374         and tables to "tbp".
11375
11376 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * MenuBackend.C: using std::max
11379
11380 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11381
11382         * MenuBackend.C (expandToc):
11383         (expandToc2): code moved from xforms menu frontend. It is now
11384         generic and TOCs are transparent to menu frontends.
11385
11386 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11387
11388         * toc.C (getTocList): protect against buf=0
11389
11390         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11391         Menu as first parameter. Now, this calls itself recursively to
11392         expand a whole tree (this will be useful for TOC handling)
11393         (expandFloatInsert): remove 'wide' version of floats
11394
11395         * MenuBackend.h (submenuname): returns the name of the submenu.
11396         (submenu): returns the submenu itself, provided it has been
11397         created by MenuBackend::expand
11398
11399 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11400
11401         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11402         insets which have noFontChange == true. (bug #172)
11403
11404 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11405
11406         * BufferView_pimpl.C: add connection objects and use them...
11407         (Pimpl): here.
11408
11409 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11410
11411         * MenuBackend.C (expandLastfiles):
11412         (expandDocuments):
11413         (expandFormats):
11414         (expandFloatListInsert):
11415         (expandFloatInsert):
11416         (expand): split expand in parts
11417
11418 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11419
11420         * lyx_gui.C: use lyx_gui::exit()
11421
11422 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11423
11424         * LyXAction.C: show the failing pseudo action
11425
11426 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11427
11428         * buffer.C (readFile): Run the lyxconvert script in order to read
11429         old files.
11430
11431 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11432
11433         * LyXAction.C:
11434         * commandtags.h:
11435         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11436
11437 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * LyXAction.C:
11440         * commandtags.h:
11441         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11442
11443 2002-07-22  Herbert Voss  <voss@lyx.org>
11444
11445         * lengthcommon.C:
11446         * lyxlength.[Ch]: add support for the vertical lengths
11447
11448 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11449
11450         * toc.[Ch]: std:: fixes
11451
11452 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11453
11454         * lyxrc.C: do not include lyx_main.h
11455
11456         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11457         for layouts
11458
11459         * lyxrc.C:
11460         * encoding.C:
11461         * bufferlist.C:
11462         * BufferView2.C: include "lyxlex.h"
11463
11464         * tabular.h:
11465         * bufferparams.h: do not #include "lyxlex.h"
11466
11467         * lyxtextclasslist.C (Add): remove method
11468         (classlist): renamed to classlist_
11469
11470         * paragraph_pimpl.C:
11471         * paragraph.C:
11472         * text2.C:
11473         * CutAndPaste.C:
11474         * bufferview_funcs.C:
11475         * bufferlist.C:
11476         * text.C:
11477         * LaTeXFeatures.C:
11478         * buffer.C:
11479         * toc.C (getTocList): use BufferParams::getLyXTextClass
11480
11481         * toc.C (getTocList): use InsetFloat::addToToc
11482
11483         * toc.[Ch]: new files, containing helper functions to handle table
11484         of contents
11485
11486         * lyxfunc.C (dispatch): no need to remove spaces around command
11487         given as a string
11488         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11489         first command of the sequence; it is not very clever, but I do not
11490         have a better idea, actually
11491
11492         * LyXAction.C (LookupFunc): make sure to remove space at the
11493         beginning and end of the command
11494
11495 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11496
11497         * MenuBackend.C (getMenubar): new method: return the menubar of
11498         this menu set
11499         (read): treat differently reading of menu and menubar (in
11500         particular, the menubar has no name now)
11501         (Menu::menubar): remove
11502
11503         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11504         saving is finished
11505
11506 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11507
11508         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11509         a bibitem inset in a RTL paragraph.
11510
11511 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11512
11513         * paragraph_pimpl.C: constify
11514
11515         * BufferView_pimpl.C:
11516         * LaTeX.C:
11517         * lyxfunc.C: fix dispatch in a nicer way
11518
11519 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11520
11521         * lyxfunc.C (dispatch):
11522         * BufferView_pimpl.C:
11523         * BufferView_pimpl.h:
11524         * BufferView.C:
11525         * BufferView.h: rename Dispatch() to dispatch()
11526
11527         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11528
11529         * lyxlayout.C (Read): honor DependsOn tag
11530
11531         * lyxlayout.[Ch] (depends_on): new method
11532
11533         * version.C.in: update lyx_docversion
11534
11535         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11536
11537         * paragraph.C (validate): remove from here...
11538         * paragraph_pimpl.C (validate): ... and move here
11539         (isTextAt): make it const
11540
11541         * buffer.C (getLists): ws cleanup
11542
11543 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11544
11545         * language.C (read): Use iso8859-1 encoding in latex_lang
11546         (this prevents LyX from crashing when using iso10646-1 encoding).
11547
11548 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11549
11550         * text2.C (toggleInset): if cursor is inside an inset, close the
11551         inset and leave cursor _after_ it
11552
11553 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11554
11555         * lyxfunc.C: move minibuffer completion handling out of here
11556
11557 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11558
11559         * BufferView_pimpl.C:
11560         * LaTeX.C: fix dispatch calls
11561
11562 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11563
11564         * text.C (drawChars): Fix Arabic text rendering.
11565
11566 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11567
11568         * LyXAction.C:
11569         * commandtags.h:
11570         * lyxfunc.C: remove message-push/pop
11571
11572         * lyxserver.C:
11573         * lyxfunc.h:
11574         * lyxfunc.C: rationalise some code by removing verboseDispatch
11575           in favour of a bool argument to dispatch()
11576
11577 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11578
11579         * lyx_main.C (init): make sure to read symlinks as absolute paths
11580
11581 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11582
11583         * lyxfunc.h:
11584         * lyxfunc.C: no need for commandshortcut to be a member
11585
11586 2002-07-15  André Pönitz <poenitz@gmx.net>
11587
11588         * converter.C: add support for $$s (scripts from lib/scripts dir)
11589         * lyx_main.C: white space
11590
11591 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11592
11593         * bufferlist.C:
11594         * lyxrc.h:
11595         * lyxrc.C: remove second exit confirmation
11596
11597 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11598
11599         * BufferView.h:
11600         * BufferView.C:
11601         * BufferView2.C:
11602         * BufferView_pimpl.h:
11603         * BufferView_pimpl.C:
11604         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11605
11606 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11607
11608         * MenuBackend.C (expand): add numeric shortcuts to document menu
11609
11610         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11611
11612 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11613
11614         * lyxfont.C (setLyXFamily):
11615         (setLyXSeries):
11616         (setLyXShape):
11617         (setLyXSize):
11618         (setLyXMisc):
11619         (lyxRead):
11620         * debug.C (value):
11621         * buffer.C (asciiParagraph): use ascii_lowercase
11622
11623 2002-07-15  Mike Fabian  <mfabian@suse.de>
11624
11625         * lyxlex_pimpl.C (search_kw):
11626         * lyxlex.C (getLongString):
11627         * converter.h (operator<):
11628         * converter.C (operator<):
11629         * buffer.C (parseSingleLyXformat2Token):
11630         (asciiParagraph):
11631         * ToolbarDefaults.C (read):
11632         * MenuBackend.C (checkShortcuts):
11633         (read):
11634         * LColor.C (getFromGUIName):
11635         (getFromLyXName): use the compare_ascii_no_case instead of
11636         compare_no_case, because in turkish, 'i' is not the lowercase
11637         version of 'I', and thus turkish locale breaks parsing of tags.
11638
11639 2002-07-16  Angus Leeming  <leeming@lyx.org>
11640
11641         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11642         now takes a Buffer const & argument.
11643
11644 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11645
11646         * BufferView.C (resize): check there's a buffer to resize
11647
11648 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11649
11650         * lyxfunc.C: remove dead code
11651
11652         * lyxserver.h:
11653         * lyxserver.C: use lyx_guii::set_read_callback
11654
11655 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11656
11657         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11658         an inset in a RTL paragraph.
11659
11660 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11661
11662         * lyxfunc.C: repaint after a font size update
11663
11664 2002-07-15  André Pönitz <poenitz@gmx.net>
11665
11666         * lyxlength.C: inBP should be able to return negative values
11667
11668 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11669
11670         * lyxfunc.C: use lyx_gui::update_fonts()
11671
11672 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11673
11674         * lyxfunc.C: use lyx_gui::update_color()
11675
11676 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11677
11678         * bufferlist.C:
11679         * lyxfunc.h:
11680         * lyxfunc.C:
11681         * lyxrc.h:
11682         * lyxrc.C: remove file->new asks for name option, and let
11683           buffer-new take an argument
11684
11685 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11686
11687         * BufferView_pimpl.C: remove unneeded extra repaint()
11688
11689 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11690
11691         * LyXAction.C: allow command-sequence with NoBuffer
11692
11693         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11694
11695 2002-07-10  Angus Leeming  <leeming@lyx.org>
11696
11697         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11698
11699 2002-07-09  Angus Leeming  <leeming@lyx.org>
11700
11701         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11702
11703 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11704
11705         * lengthcommon.h: whitespace
11706
11707         * lyxfunc.C: update scrollbar after goto paragraph
11708
11709         * lyxtext.h: factor out page break drawing, and fix it so
11710           page break/added space paints as selected nicely
11711
11712 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11713
11714         * BufferView_pimpl.C: add FIXMEs, clean up a little
11715
11716 2002-07-09  André Pönitz <poenitz@gmx.net>
11717
11718         * lyxfont.[Ch]: support for wasy symbols
11719
11720 2002-07-08  André Pönitz <poenitz@gmx.net>
11721
11722         * BufferView_pimpl.C: apply John's patch for #93.
11723
11724 2002-07-05  Angus Leeming  <leeming@lyx.org>
11725
11726         * BufferView_pimpl.C (buffer): generate previews if desired.
11727
11728         * LColor.h: add "preview" to the color enum.
11729
11730         * LColor.C (LColor): add a corresponding entry to the items array.
11731
11732         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11733         with this buffer.
11734
11735 2002-07-05  Angus Leeming  <leeming@lyx.org>
11736
11737         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11738         The body of the code is now in the method that is passed an ostream &
11739         rather than a file name.
11740         Pass an additional only_preamble parameter, useful for the forthcoming
11741         preview stuff.
11742
11743 2002-07-03  André Pönitz <poenitz@gmx.net>
11744
11745         * lyxfunc.C: simplify getStatus() a bit for math stuff
11746
11747 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11748
11749         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11750
11751 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11752
11753         * text.C (changeRegionCase): do not change case of all the
11754         document when region ends at paragraph end (bug #461)
11755
11756 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11757
11758         * paragraph.C (startTeXParParams):
11759         (endTeXParParams): add \protect when necessary
11760
11761 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11762
11763         * BufferView_pimpl.C (workAreaExpose): remove warning
11764
11765 2002-06-27  Angus Leeming  <leeming@lyx.org>
11766
11767         * Makefile.am: add lyxlayout_ptr_fwd.h.
11768
11769 2002-06-26  André Pönitz <poenitz@gmx.net>
11770
11771         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11772
11773 2002-06-25  Angus Leeming  <leeming@lyx.org>
11774
11775         * lyxfunc.C (dispatch): Comment out the call to
11776         grfx::GCache::changeDisplay. The method no longer exists now that the
11777         pixmap generation part of the graphics loader has been moved into
11778         InsetGraphics.
11779
11780 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11781
11782         * text2.C: layout as layout
11783
11784         * text.C: layout as layout
11785
11786         * tabular.C (OldFormatRead): layout as layout
11787
11788         * paragraph_pimpl.C (TeXDeeper): layout as layout
11789         (realizeFont): layout as layout
11790
11791         * paragraph.C (writeFile): layout as layout
11792         (validate): layout as layout
11793         (getFont): layout as layout
11794         (getLabelFont): layout as layout
11795         (getLayoutFont): layout as layout
11796         (breakParagraph): layout as layout
11797         (stripLeadingSpaces): layout as layout
11798         (getEndLabel): layout as layout
11799         (getMaxDepthAfter): layout as layout
11800         (applyLayout): layout as layout
11801         (TeXOnePar): layout as layout
11802         (simpleTeXOnePar): layout as layout
11803         (TeXEnvironment): layout as layout
11804         (layout): layout as layout
11805         (layout): layout as layout
11806
11807         * lyxtextclass.C (compare_name): new functor to work with
11808         shared_ptr, layout as layout
11809         (Read): layout as layout
11810         (hasLayout): layout as layout
11811         (operator): layout as layout
11812         (delete_layout): layout as layout
11813         (defaultLayout): layout as layout
11814
11815         * lyxlayout_ptr_fwd.h: new file
11816
11817         * lyxlayout.C (Read): layout as layout
11818
11819         * lyx_cb.C (MenuInsertLabel): layout as layout
11820
11821         * bufferlist.C (newFile): layout as layout
11822
11823         * buffer.C (readLyXformat2): layout as layout
11824         (parseSingleLyXformat2Token): layout as layout
11825         (insertStringAsLines): layout as layout
11826         (asciiParagraph): layout as layout
11827         (latexParagraphs): layout as layout
11828         (makeLinuxDocFile): layout as layout
11829         (simpleLinuxDocOnePar): layout as layout
11830         (makeDocBookFile): layout as layout
11831         (simpleDocBookOnePar): layout as layout
11832         (getLists): layout as layout
11833
11834         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11835
11836         * CutAndPaste.C (cutSelection): layout as layout
11837         (pasteSelection): layout as layout
11838         (SwitchLayoutsBetweenClasses): layout as layout
11839
11840         * BufferView_pimpl.C (Dispatch): layout as layout
11841         (smartQuote): layout as layout
11842
11843         * BufferView2.C (unlockInset): layout as layout
11844
11845 2002-06-24  André Pönitz <poenitz@gmx.net>
11846
11847         * lyxfunc.C: fix #487
11848
11849 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11850
11851         * lyxrc.h:
11852         * lyxrc.C:
11853         * lyxfunc.C: remove display_shortcuts, show_banner
11854
11855 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11856
11857         * Buffer_pimpl.C: oops, update on resize
11858
11859 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11860
11861         * buffer.C:
11862         * converter.C:
11863         * exporter.C:
11864         * lyxfunc.C:
11865         * BufferView.h:
11866         * BufferView.C: use repaint()
11867
11868         * BufferView_pimpl.h:
11869         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11870           as it's a clearer description. Remove superfluous
11871           redraws.
11872
11873 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11874
11875         * text.C: fix bug 488. Not ideal, but getting
11876           getWord() to work properly for the insets that
11877           matter is more difficult ...
11878
11879 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11880
11881         * BufferView_pimpl.C:
11882         * LyXAction.C:
11883         * commandtags.h:
11884         * lyxfunc.C: remove the six million index lyxfuncs to just
11885           one, and DTRT (bug 458)
11886
11887 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * BufferView.h:
11890         * BufferView.C:
11891         * BufferView_pimpl.h:
11892         * BufferView_pimpl.C: clean up resize() stuff,
11893           and unnecessary updateScreen()s
11894
11895 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11896
11897         * BufferView.h:
11898         * BufferView.C:
11899         * BufferView_pimpl.h:
11900         * BufferView_pimpl.C:
11901         * lyxfind.h:
11902         * lyxfind.C:
11903         * minibuffer.C: remove focus management of workarea,
11904           not needed. Use screen's greyOut()
11905
11906 2002-06-17  Herbert Voss  <voss@lyx.org>
11907
11908         * converter.C: (convert) do not post a message, when converting
11909         fails, let the calling function decide what to do in this case
11910
11911 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11912
11913         * lyxfunc.C: tidy up a little
11914
11915 2002-06-16    <alstrup@diku.dk>
11916
11917         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11918         Got rid of FORMS_H_LOCATION include. Now we are
11919         GUII.
11920
11921 2002-06-15  LyX Development team  <lyx@rilke>
11922
11923         * buffer.[Ch] (sgmlOpenTag):
11924         (sgmlCloseTag): Added support for avoiding pernicious mixed
11925         content. Return number of lines written.
11926
11927         (makeLinuxDocFile):
11928         (makeDocBookFile): Fixed calls to sgml*Tag.
11929         Simple white space clean.
11930
11931         (simpleDocBookOnePar): Simple white space clean.
11932
11933         * tabular.[Ch] (docBook): Renamed to docbook and got another
11934         argument to related with the pernicious mixed content.
11935
11936         (docbookRow): Fixed calls for docbook inset method.
11937
11938 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11939
11940         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11941         so it's X11 independent.
11942
11943         * kb*.[Ch]: ditto.
11944
11945         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11946
11947 2002-06-15  Lyx Development team  <lyx@electronia>
11948
11949         * intl.h: Renamed getTrans to getTransManager.
11950
11951 2002-06-14  Angus Leeming  <leeming@lyx.org>
11952
11953         * Makefile.am: nuke forgotten stl_string_fwd.h.
11954
11955 2002-06-12  Angus Leeming  <leeming@lyx.org>
11956
11957         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11958
11959 2002-06-13  Angus Leeming  <leeming@lyx.org>
11960
11961         * LaTeX.C:
11962         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11963
11964 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11965
11966         * kbmap.C (getiso): add support for cyrillic and greek
11967
11968 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11969
11970         * BufferView.h:
11971         * BufferView.C:
11972         * BufferView_pimpl.h:
11973         * BufferView_pimpl.C: move bogus scrolling logic
11974           to xforms
11975
11976 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11977
11978         * lyxfunc.C:
11979         * BufferView_pimpl.C: view->resize() change
11980
11981 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11982
11983         * BufferView_pimpl.C: topCursorVisible
11984           prototype change
11985
11986 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11987
11988         * Makefile.am:
11989         * lyx_gui.h:
11990         * lyx_gui.C: move to frontends/
11991
11992         * main.C:
11993         * lyx_main.h:
11994         * lyx_main.C: changes from above
11995
11996 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11997
11998         * intl.C:
11999         * intl.h:
12000         * kbmap.C:
12001         * kbsequence.C:
12002         * lyx_cb.C:
12003         * lyx_main.C: minor tidy
12004
12005 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12006
12007         * BufferView_pimpl.h:
12008         * BufferView_pimpl.C:
12009         * BufferView.h:
12010         * BufferView.C: make painter() const,
12011           remove dead code
12012
12013         * BufferView2.C: use screen() accessor
12014
12015         * lyx_main.h:
12016         * lyx_main.C: some minor cleanup
12017
12018 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12019
12020         * BufferView_pimpl.h:
12021         * BufferView_pimpl.C: remove enter/leaveView,
12022           use workHeight()
12023
12024 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12025
12026         * BufferView.h:
12027         * BufferView.C:
12028         * BufferView2.C:
12029         * BufferView_pimpl.h:
12030         * BufferView_pimpl.C: only construct screen once,
12031           rename
12032
12033         * lyxrc.C: remove pointless comment
12034
12035 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * BufferView.h:
12038         * BufferView.C: remove active() and belowMouse()
12039
12040         * BufferView_pimpl.h:
12041         * BufferView_pimpl.C: use workarea() not workarea_,
12042           and make it use a scoped_ptr instead
12043
12044 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12045
12046         * lyx_gui.C: add debug message on BadWindow
12047
12048 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12049
12050         * sp_spell.C: fdopen is not part of the C++ standard.
12051
12052         * paragraph.C (InsetIterator): use >= instead of ==
12053
12054 2002-06-07  Angus Leeming  <leeming@lyx.org>
12055
12056         Fixes needed to compile with Compaq cxx 6.5.
12057         * BufferView_pimpl.C:
12058         * DepTable.C:
12059         * buffer.C:
12060         * converter.C:
12061         * encoding.C:
12062         * lyx_gui.C:
12063         * lyx_main.C:
12064         * lyxtextclasslist.C:
12065         * minibuffer.C:
12066         * sp_spell.C:
12067         * tabular_funcs.C:
12068         * vc-backend.C:
12069         all c-library variables have been moved into namespace std. Wrap
12070         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12071
12072         * lyxlength.C:
12073         * tabular-old.C:
12074         * tabular.C:
12075         Add a using std::abs declaration.
12076
12077         * kbmap.h (modifier_pair):
12078         * paragraph.h (InsetTable, InsetList):
12079         * lyxfont.h (FontBits):
12080         type definition made public.
12081
12082         * bufferlist.C (emergencyWriteAll): the compiler complains that
12083         there is more than one possible lyx::class_fun template to choose from.
12084         I re-named the void specialisation as lyx::void_class_fun.
12085
12086         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12087
12088         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12089         the compiler is is unable to find tostr in write_attribute.
12090
12091 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12092
12093         * buffer.C (sgmlError): hide #warning
12094
12095 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12096
12097         * xtl/*: get rid of xtl, which is not in use anyway
12098
12099         * LyXAction.C (init):
12100         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12101         were unimplemented xtl experimentation
12102
12103 2002-06-04  André Pönitz <poenitz@gmx.net>
12104
12105         * lyxfunc.C: disable array operation on simple formulae
12106
12107 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12108
12109         * converter.C: constify a bit
12110
12111 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12112
12113         * lyx_gui.C: check xforms version correctly
12114
12115 2002-04-30  Herbert Voss  <voss@lyx.org>
12116
12117         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12118         "keep" option
12119
12120 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12121
12122         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12123           attempt to register it with a VCS)
12124
12125 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12126
12127         * lyx_main.C (init): honor variables LYX_DIR_13x and
12128         LYX_USERDIR_13x
12129
12130 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12131
12132         * buffer.h:
12133         * buffer.C:
12134         * lyx_main.C: fix a crash on bad command line,
12135           and give a useful exit status on error
12136
12137         * lyxfunc.C (doImport): allow -i lyx to work
12138
12139 2002-03-30  André Pönitz <poenitz@gmx.net>
12140
12141         * lyxfunc.C: mathed font changes
12142
12143 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12144
12145         * LaTeX.C:
12146         * importer.h:
12147         * importer.C:
12148         * lyx_sty.h:
12149         * lyx_sty.C:
12150         * lyxlex.C:
12151         * lyxrow.h:
12152         * lyxtext.h:
12153         * paragraph.h:
12154         * paragraph.C:
12155         * texrow.h:
12156         * texrow.C:
12157         * text.C:
12158         * trans_mgr.h: srcdocs, and some minor cleanups
12159
12160 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12161
12162         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12163         call getFont all the time)
12164
12165 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12166
12167         * switch from SigC signals to boost::signals
12168
12169 2002-05-29  André Pönitz <poenitz@gmx.net>
12170
12171         * paragraph_pimpl.C (getChar): don't call size() too often...
12172
12173 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12174
12175         * paragraph_pimpl.C (insertChar): do not try to update tables when
12176         appending (pos == size())
12177
12178         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12179         in order to reduce drastically the number of comparisons needed to
12180         parse a large document
12181
12182 2002-05-29  André Pönitz <poenitz@gmx.net>
12183
12184         * text.C:
12185         * text2.C:
12186         * lyxtextclass.C:
12187         * sp_pspell.h:
12188         * textclasslist.[Ch]:
12189         * sp_ispell.h: whitespace change
12190
12191 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12192
12193         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12194         lyxaction directly now.
12195
12196 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12197
12198         * trans.C:
12199         * lyxfont.C:
12200         * lyxvc.C: remove unused headers
12201
12202 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12203
12204         * Makefile.am:
12205         * buffer.h:
12206         * undostack.h:
12207         * undostack.C:
12208         * undo_funcs.h:
12209         * undo_funcs.C: some cleanups. Use shared_ptr
12210           and a template for the undo stacks.
12211
12212 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12213
12214         * BufferView_pimpl.h:
12215         * BufferView_pimpl.C:
12216         * kbmap.h:
12217         * kbmap.C:
12218         * kbsequence.h:
12219         * kbsequence.C:
12220         * lyxfunc.h:
12221         * lyxfunc.C:
12222         * text2.C: use key_state/mouse_state
12223
12224 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12225
12226         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12227         and LSubstring
12228
12229         * chset.C: change include order
12230         (loadFile): use boost regex and get rid of LRegex and LSubstring
12231
12232         * Makefile.am (BOOST_LIBS): new variable
12233         (lyx_LDADD): use it
12234
12235         * LaTeX.C: change include order.
12236         (scanAuxFile): use boost regex and get rid of LRegex and
12237         LSubstring
12238         (deplog): ditto
12239
12240 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12241
12242         * ColorHandler.h:
12243         * ColorHandler.C:
12244         * FontInfo.h:
12245         * FontInfo.C: moved to frontends/xforms/
12246
12247         * FontLoader.h:
12248         * FontLoader.C: moved into frontends for GUIIzation
12249
12250         * Makefile.am:
12251         * lyx_gui.C:
12252         * lyxfont.C:
12253         * lyxfunc.C: changes from above
12254
12255 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12256
12257         * LColor.C: remove spurious X include
12258
12259         * BufferView_pimpl.C:
12260         * Makefile.am:
12261         * font.h:
12262         * font.C:
12263         * text.C:
12264         * text2.C: move font metrics to frontends/
12265
12266 2002-05-24  Juergen Vigna  <jug@sad.it>
12267
12268         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12269         setting the undo_cursor.
12270
12271         * ParagraphParameters.h: include local includes first.
12272
12273 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12274
12275         * BufferView_pimpl.C:
12276         * BufferView_pimpl.h:
12277         * Makefile.am:
12278         * WorkArea.h:
12279         * WorkArea.C:
12280         * screen.C: move WorkArea into frontends/
12281
12282         * lyxscreen.h:
12283         * screen.C:
12284         * text.C:
12285         * BufferView.C:
12286         * BufferView2.C: move LyXScreen into frontends/
12287
12288         * lyxlookup.h:
12289         * lyxlookup.C:
12290         * lyx_gui.C: move lyxlookup into frontends/xforms/
12291
12292 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * BufferView2.C:
12295         * BufferView_pimpl.C:
12296         * FontLoader.C:
12297         * LyXView.h:
12298         * LyXView.C:
12299         * Makefile.am:
12300         * WorkArea.C:
12301         * XFormsView.h:
12302         * XFormsView.C:
12303         * buffer.C:
12304         * bufferlist.C:
12305         * bufferview_funcs.C:
12306         * converter.C:
12307         * importer.C:
12308         * lyx_cb.C:
12309         * lyx_gui.C:
12310         * lyx_main.C:
12311         * lyx_find.C:
12312         * lyxfunc.C:
12313         * lyxvc.C:
12314         * minibuffer.C:
12315         * text.C:
12316         * text2.C:
12317         * trans.C:
12318         * vc-backend.C: move LyX/XFormsView into frontends/
12319
12320 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12321
12322         * Makefile.am:
12323         * PainterBase.C:
12324         * PainterBase.h:
12325         * Painter.C:
12326         * Painter.h:
12327         * WorkArea.C:
12328         * WorkArea.h:
12329         * screen.C:
12330         * tabular.C:
12331         * text.C:
12332         * text2.C: move Painter to frontends/
12333
12334 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12335
12336         * buffer.C: comment out some some code that depend upon lyx_format
12337         < 220
12338
12339         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12340         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12341
12342         * buffer.h (NO_COMPABILITY): turn off compability
12343
12344         * ColorHandler.C: include scoped_array.hpp
12345
12346         * font.C: Use more specific smart_ptr header.
12347         * Painter.C: ditto
12348         * gettext.C: ditto
12349         * ShareContainer.h: ditto
12350         * lyx_main.h: ditto
12351         * kbmap.h: ditto
12352         * FontInfo.h: ditto
12353         * BufferView_pimpl.h: ditto
12354         * ColorHandler.h: ditto
12355
12356         * kbmap.C (defkey): change call to shared_ptr::reset
12357
12358 2002-05-21  Juergen Vigna  <jug@sad.it>
12359
12360         * buffer.C (insertErtContents): fix to insert ert asis if it is
12361         non empty. Skip it completely if it contains only whitespaces.
12362
12363 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12364
12365         * BufferView_pimpl.C:
12366         * BufferView2.C: clear selection on paste (bug 393)
12367
12368 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12369
12370         * DepTable.C: include ctime
12371
12372 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12373
12374         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12375
12376 2002-05-14  Juergen Vigna  <jug@sad.it>
12377
12378         * text.C (breakParagraph): fixed function to honor the keepempty
12379         layout in the right maner and also to permit the right breaking
12380         algorithm on empty or non empyt keepempty paragraphs.
12381
12382         * paragraph.C (breakParagraph): we have to check also if the par
12383         is really empty (!size()) for isempty otherwise we do the wrong
12384         paragraph break.
12385
12386 2002-05-10  Juergen Vigna  <jug@sad.it>
12387
12388         * buffer.[Ch] : The following are only changes to the ert
12389         compatibility read reading old LaTeX layout and font stuff and
12390         convert it to ERTInsets.
12391
12392         * buffer.h: added isErtInset().
12393
12394         * buffer.C (struct ErtComp): add a fromlayout bool to check
12395         if we're inside a LaTeX layout.
12396         (isErtInset): new helper function.
12397         (insertErtContents): look for other ert insets before this one
12398         and insert the contents there, so that we don't have subsequent
12399         ERT insets with nothing between them. This way we create only one
12400         inset with multiple paragraphs. Also check if we don't insert only
12401         spaces ' ' as they are ignored anyway afterwards in the .tex file
12402         so if we have only spaces we will ignore this latex part in the
12403         new file.
12404         (parseSingleLyXformat2Token \\layout): better compatibility when
12405         reading layout-latex stuff.
12406         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12407         language tag.
12408         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12409         stuff after reading the inset only get the information back from
12410         the stack.
12411
12412 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12413
12414         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12415
12416         * LaTeXFeatures.C (getBabelOptions): New method.
12417
12418 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12419
12420         * BufferView_pimpl.C (Dispatch): work around missing argument for
12421         'layout'
12422
12423 2002-05-08  Juergen Vigna  <jug@sad.it>
12424
12425         * text.C (leftMargin): handle paragraph leftindent.
12426
12427         * paragraph.C (writeFile): write the new \\leftindent tag.
12428         (validate): handle leftindent code.
12429         (TeXEnvironment): handle paragraphleftindent code again.
12430
12431         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12432
12433         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12434         for paragrap_extra indent code and new token \\leftindent.
12435         (latexParagraphs): handle the leftindent as environment.
12436
12437         * ParameterStruct.h: added leftindent support.
12438
12439         * ParagraphParameters.C (leftIndent): added support functions for
12440         the paragraph left indent.
12441
12442         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12443         more appropriate.
12444
12445 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12446
12447         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12448         inside insetERT.
12449
12450         * text.C (computeBidiTables): No bidi in insetERT.
12451
12452         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12453         in RTL documents.
12454
12455 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12456
12457         * version.C.in: pre 5
12458
12459 2002-05-02  José Matos  <jamatos@fep.up.pt>
12460         * buffer.C (makeDocBookFile): white space changes, add newline to
12461         command styles.
12462         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12463
12464         * tabular.C (docBook): fix typo.
12465
12466 2002-05-03  Juergen Vigna  <jug@sad.it>
12467
12468         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12469         change in LyXText as we can not be sure it was not freed.
12470         (drawOneRow): remove unused code.
12471
12472         * text.C (drawInset): redo the calculation of the need_break_row as
12473         it could have a row which was already freed.
12474         (draw): look at the return value of drawInset and return false if
12475         it also returned false.
12476         (paintRowText): look at the return value of draw and return false if
12477         it also returned false.
12478
12479         * lyxtext.h: added bool return type to drawInset() and draw() so that
12480         if we have a change in the row so that the rowbreak has to be redone
12481         we abort drawing as it will be called again.
12482
12483 2002-05-02  Juergen Vigna  <jug@sad.it>
12484
12485         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12486         a change in the maintext also if we're inside an inset.
12487         (Dispatch): set the cursor again after a break line and after the
12488         screen has been updated as it could be we're in a different row.
12489
12490         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12491         to set the cursor behind the pargraph with > size().
12492         (setCursor): check also for the same paragraph when checking where
12493         to put the cursor if we have a NFR inset.
12494
12495         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12496         parts of layout read further up as it still was in the wrong
12497         position.
12498
12499 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12500
12501         * screen.C (drawFromTo): change sine fullRebreak always return
12502         true.
12503
12504         * buffer.C (parseSingleLyXformat2Token): reindent some
12505
12506         * BufferView_pimpl.C (update): change since fullRebreak always
12507         return true.
12508         (Dispatch): git rid of the last hardcoded "Standard"s.
12509
12510 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12511
12512         * text2.[Ch] (fullRebreak): make it return void now that we always
12513         returned true.
12514
12515 2002-04-30  Juergen Vigna  <jug@sad.it>
12516
12517         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12518         ert compatibility check for "latex" layout.
12519
12520 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12521
12522         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12523         minipages: use col% instead of p%, and also use the current font.
12524         (makeLaTeXFile): Fix use babel condition.
12525         (parseSingleLyXformat2Token): Correct font when reading old floats.
12526
12527 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12528
12529         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12530         inserting list of floats.
12531
12532 2002-04-25  Herbert Voss  <voss@lyx.org>
12533
12534         * MenuBackend.C (expand): don't add the graphics extensions to the
12535         export menu
12536
12537 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12538
12539         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12540         non-existing layout, do not complain if it was the default layout
12541         of the original class (bug #342)
12542
12543 2002-04-24  Juergen Vigna  <jug@sad.it>
12544
12545         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12546         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12547
12548 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12549
12550         * buffer.C (getBibkeyList): If using \bibliography, return the
12551         option field with the reference itself. Enables us to provide natbib
12552         support when using \bibliography.
12553
12554 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12555
12556         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12557
12558         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12559         natbib is provided by the LaTeX class.
12560
12561 2002-04-23  Juergen Vigna  <jug@sad.it>
12562
12563         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12564         Wakeup functions.
12565
12566         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12567
12568 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12569
12570         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12571
12572         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12573         ensuremath around textordmasculine, textordfeminine and
12574         textdegree.
12575
12576 2002-04-19  Juergen Vigna  <jug@sad.it>
12577
12578         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12579         reinitializing the buffer otherwise row-dimensions may be wrong.
12580         (update): reset also the selection cursors if they do exits otherwise
12581         their x/y positions may be wrong.
12582
12583         * text2.C (cursorDown): don't enter the inset if we came from a row
12584         above and are one row over the inset.
12585
12586         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12587         really leaving an inset.
12588
12589 2002-04-18  Juergen Vigna  <jug@sad.it>
12590
12591         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12592         of the selected paragraph does not have the selected layout also if
12593         the last one had!
12594
12595         * text2.C (setLayout): fixed bug which did not change last selected
12596         paragraph.
12597
12598         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12599         changed the read and substituted \\end_float with \\end_inset!
12600
12601         * BufferView_pimpl.C (cursorPrevious):
12602         (cursorNext): fixed to make it work with rows heigher than the work
12603         area without moving the cursor only the draw of the row.
12604         (workAreaMotionNotify): fix jumping over high rows.
12605
12606 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12607
12608         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12609         Ressler.
12610
12611 2002-04-16  Juergen Vigna  <jug@sad.it>
12612
12613         * text2.C (setCursor): set also the irow().
12614         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12615         (cursorUp):
12616         (cursorDown): support for locking an inset if the x_fix value goes
12617         inside it. That way I can transverse insets too with cursor up/down.
12618
12619         * lyxrow.h: added irow helper function same as other (i) functions.
12620
12621         * BufferView_pimpl.C (cursorPrevious):
12622         (cursorNext): fixed for insets!
12623
12624 2002-04-15  Juergen Vigna  <jug@sad.it>
12625
12626         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12627         position otherwise it is wrong in some cases.
12628
12629         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12630         inside the inset before the call.
12631
12632 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12633
12634         * buffer.[Ch] (getBibkeyList): make it const.
12635
12636 2002-04-12  Juergen Vigna  <jug@sad.it>
12637
12638         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12639
12640         * text2.C (getCursorX): new helper function
12641         (setCursor): compute also ix_
12642         (setCursorFromCoordinates): set also ix.
12643
12644         * lyxcursor.h: added ix_ and helper functions.
12645
12646         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12647
12648         * buffer.C (insertStringAsLines): dont break paragraph if the this
12649         paragraph is inside an inset which does not permit it!
12650
12651         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12652         also with no chars on this paragraph.
12653         (paintRowText): only paint stuff if it's inside the workarea!
12654
12655         * paragraph.C (breakParagraph): honor keepempty flag and break the
12656         paragraph always below not above.
12657
12658         * BufferView2.C (unlockInset): update the paragraph layout on inset
12659         unlock as we changed paragraph in such a case.
12660
12661         * lyxfind.C (LyXFind): clear the former selection if not found!
12662
12663         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12664         again called in insertChar().
12665
12666         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12667         an inset which uses the whole row!
12668         (rightMargin): ditto.
12669         (insertChar): force a rebreak if we inserted an inset!
12670
12671 2002-03-28  Herbert Voss  <voss@lyx.org>
12672
12673         * lyxlength.[Ch]: add inBP() to get the right PS-point
12674         units (BigPoint). With inPixels we have rounding errors
12675
12676 2002-04-11  Juergen Vigna  <jug@sad.it>
12677
12678         * text2.C (setCursorFromCoordinates): set iy to the right value.
12679         (setCursor): add check if row->previous exists!
12680
12681         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12682         an old float_type as this was the case in the old code!
12683
12684         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12685
12686         * BufferView2.C (showLockedInsetCursor): use iy
12687         (fitLockedInsetCursor): ditto
12688
12689         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12690         locked insets as there we have the right value now.
12691
12692         * lyxcursor.C: added iy_ variable and iy functions to set to the
12693         baseline of cursor-y of the locked inset.
12694
12695         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12696         (setCursor): fixed for insets which need a full row.
12697
12698         * text.C (rowLastPrintable): don't ignore the last space when before
12699         an inset which needs a full row.
12700         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12701         as last character of a row when before a inset which needs a full row.
12702
12703 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12704
12705         * version.C.in: update date
12706
12707         * text2.C (fullRebreak): try to always return true and see what
12708         happens...
12709
12710 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12711
12712         * MenuBackend.C (expand): use Floating::listName
12713
12714         * FloatList.C (FloatList): add listName argument to the built-in
12715         floats
12716
12717         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12718         text associated with the float.
12719
12720 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12721
12722         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12723
12724 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12725
12726         * ShareContainer.h: add a couple of missing typenames.
12727
12728 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12729
12730         * lyxrc.C (getDescription): use _() correctly rather than N_().
12731
12732 2002-03-28  Herbert Voss  <voss@lyx.org>
12733
12734         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12735         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12736
12737 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12738
12739         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12740         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12741
12742 2002-03-29  Juergen Vigna  <jug@sad.it>
12743
12744         * lyxfunc.C (dispatch): add a missing fitCursor call.
12745
12746         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12747         it was scrolled by a cursor move, so return the bool status.
12748
12749         * BufferView.C (fitCursor): return the bool flag also to the outside
12750         world as this is needed.
12751
12752         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12753
12754         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12755         call the edit() as it is not needed (and wrong) IMO.
12756         (workAreaButtonPress): set the screen_first variable before evt.
12757         unlock the inset as this may change screen_first and then we have
12758         a wrong y position for the click!
12759
12760 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12761
12762         * MenuBackend.C (expand): another translation that I missed
12763
12764 2002-03-28  Juergen Vigna  <jug@sad.it>
12765
12766         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12767
12768         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12769
12770 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12771
12772         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12773
12774         * MenuBackend.C (expand): fix export/view/update when there is no
12775         document open.
12776
12777 2002-03-27  Herbert Voss  <voss@lyx.org>
12778
12779         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12780         and text%
12781
12782 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12783
12784         * bufferview_funcs.C (currentState): only show paragraph number
12785         for is DEVEL_VERSION is set.
12786
12787         * lyxfunc.C (dispatch): put warning in INFO channel
12788
12789         * MenuBackend.C (expand): translate the name of floats
12790
12791         * FloatList.C (FloatList): mark the float names for translation
12792
12793         * converter.C (convert): use LibScriptSearch
12794
12795 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12796
12797         * MenuBackend.C (defaults): fix default menu (we might as well get
12798         rid of it...)
12799
12800 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12801
12802         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12803         directory.
12804
12805 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12806
12807         * lyxvc.C: reorder includes.
12808
12809 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12810
12811         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12812           properly
12813
12814 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12815
12816         * CutAndPaste.C: change layouts earlier on paste
12817           to avoid crashing when calling getFont()
12818
12819 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12820
12821         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12822         irritating #error.
12823
12824 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12825
12826         * WorkArea.C: remove 'Pending' debug message.
12827
12828         * most files: ws cleanup
12829
12830         * buffer.[Ch]: ws changes
12831
12832         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12833
12834 2002-03-21  Juergen Vigna  <jug@sad.it>
12835
12836         * tabular.C (SetMultiColumn): collapse also the contents of the
12837         cells and set the last border right. Added a Buffer const * param.
12838
12839 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12840
12841         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12842         linking or not.
12843
12844 2002-03-19  Juergen Vigna  <jug@sad.it>
12845
12846         * text2.C (clearSelection): reset also xsel_cache.
12847
12848         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12849         where it needs to be called (John tells us to do so too :)
12850         (selectionLost): reset sel_cache.
12851
12852         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12853
12854 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12855
12856         * text2.C (setCursorIntern): put debuging code in INSETS channel
12857
12858 2002-03-19  André Pönitz <poenitz@gmx.net>
12859
12860         * lyxfunc.C: tiny whitespace change
12861
12862 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12863
12864         * ToolbarDefaults.C (init):
12865         * LyXAction.C (init):
12866         * commandtags.h:
12867         * BufferView_pimpl.C (Dispatch):
12868         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12869
12870 2002-03-19  Allan Rae  <rae@lyx.org>
12871
12872         * exporter.C (Export): removeAutoInsets before doing anything else.
12873         While I've just introduced a dependency on BufferView this really is
12874         the best place to clean the buffer otherwise you need to cleanup in
12875         a dozen places before calling export or cleanup in a dozen functions
12876         that export calls.
12877
12878         * converter.C (runLaTeX):
12879         (scanLog): Better handling of removeAutoInsets and screen updates.
12880
12881         * lyxfunc.C (dispatch): small whitespace changes
12882
12883 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12884
12885         * WorkArea.C (C_WorkAreaEvent): return a value.
12886         (event_cb): return 1 if we handled the event, 0 otherwise.
12887
12888         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12889
12890 2002-03-18  Juergen Vigna  <jug@sad.it>
12891
12892         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12893         (GetAdditionalWidth): ditto.
12894         (RightLine): ditto.
12895         (LeftLine): ditto.
12896
12897         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12898         inset if we're there actually (probably not used right now but this
12899         is the direction to go for unifying code).
12900         (paste): disable code to clear the selection.
12901
12902         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12903         inside an InsetText and move the check further up as it is in the
12904         wrong place.
12905
12906         * text2.C (pasteSelection): set a selection over the pasted text.
12907
12908 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12909
12910         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12911         and libgraphics to build on Cygwin.
12912
12913 2002-03-15  Juergen Vigna  <jug@sad.it>
12914
12915         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12916         inserting an Inset into the paragraph. I know this is not the best
12917         fix but we already use current_view in CutAndPaste so we will remove
12918         all of it's using at the same time.
12919
12920         * buffer.C (sgmlError): deactivated function till it is rewritten in
12921         the right mode, now it can create problems.
12922
12923         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12924         before accessing it.
12925
12926 2002-03-14  Juergen Vigna  <jug@sad.it>
12927
12928         * undo_funcs.C (textHandleUndo): do the right thing when updating
12929         the inset after the undo/redo.
12930
12931         * text2.C (setCursor): just some testcode for #44 not ready yet.
12932
12933         * undo_funcs.C (textHandleUndo): set the next() and previous()
12934         pointers of the paragraph to 0 before deleting otherwise we have
12935         problems with the Paragraph::[destructor].
12936
12937         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12938         on a paragraph insertion.
12939
12940 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12941
12942         * buffer.C (asciiParagraph): use += operator for char append to
12943         string.
12944
12945         * paragraph.C (getFontSettings): compare >= not just >
12946         (highestFontInRange): ditto
12947         (setFont): ditto
12948
12949 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12950
12951         * paragraph.C: change several algorithm to be more appripriate for
12952         the problem domain. This is lookip in FontList and in the InsetList.
12953
12954 2002-03-13  André Pönitz <poenitz@gmx.net>
12955
12956         * commandtags.h:
12957         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12958
12959 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12960
12961         * commandtags.h:
12962         * LyXAction.C:
12963         * lyxfunc.C:
12964         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12965
12966 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12967
12968         * Painter.C (display): anon helper function, adjust code for this
12969         change.
12970         (pixmap): remove function.
12971
12972         * Painter.h: remove private display variable.
12973
12974         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12975
12976 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12977
12978         * WorkArea.[Ch]: remove figinset_canvas cruft.
12979
12980 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12981
12982         * lyxtextclass.C (operator): add one item cache optimization.
12983
12984         * bufferlist.h: doxy changes
12985
12986         * bufferlist.C: ws changes
12987
12988         * DepTable.[Ch] (ext_exist): place const in the right spot.
12989
12990         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12991         call resizeInsets.
12992         (workAreaExpose): call resizeInsets when the with BufferView changes.
12993         (Dispatch): adjust for protectedBlank removal
12994         (specialChar): call updateInset if the insert went ok.
12995
12996         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12997         specialChar instead.
12998
12999         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13000
13001         * BufferView.h: doxy change
13002
13003         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13004
13005         * lyxtextclass.C (operator[]): remove non-const version
13006         (defaultLayout): remove non-const version
13007
13008 2002-03-12  Juergen Vigna  <jug@sad.it>
13009
13010         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13011         did resize the LyXText too.
13012
13013         * buffer.C (readLyXformat2): set layout information on newly allocated
13014         paragraphs.
13015
13016         * tabular.C (OldFormatRead): set layout information on the paragraph.
13017
13018 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13019
13020         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13021
13022 2002-03-11  Juergen Vigna  <jug@sad.it>
13023
13024         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13025         plainly wrong.
13026         (resizeCurrentBuffer): force also the insets to resize themselfes.
13027         (moveCursorUpdate): fixed up for InsetText.
13028
13029 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13030
13031         * commandtags.h:
13032         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13033         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13034         value of Dialogs::tooltipsEnabled().
13035         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13036
13037 2002-03-08  Juergen Vigna  <jug@sad.it>
13038
13039         * BufferView_pimpl.C (updateInset): update inset inside inset also
13040         if it isn't inside theLockingInset().
13041
13042 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13043
13044         * buffer.C (asciiParagraph): redo some of the word and line length
13045         handling.
13046         (getLists): look for Caption instead of caption.
13047
13048 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13049
13050         * buffer.C (Buffer): initialize niceFile to true
13051         (makeLaTeXFile):
13052         (makeLinuxDocFile):
13053         (makeDocBookFile): make sure niceFile is true on exit
13054
13055 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13056
13057         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13058
13059 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13060
13061         * LyXSendto.C: remove.
13062         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13063         * lyx_gui.C: remove now-redundant comment.
13064         * ColorHandler.h: remove forward declaration of class WorkArea.
13065         * lyxfunc.C: remove #include "WorkArea.h".
13066
13067 2002-03-07  Juergen Vigna  <jug@sad.it>
13068
13069         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13070         got moved away with the DEPM and also set the inset_owner always
13071         right which before could have been omitted.
13072
13073 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13074
13075         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13076         wanted layout is not found.
13077
13078 2002-03-07  Juergen Vigna  <jug@sad.it>
13079
13080         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13081
13082 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13083
13084         * paragraph.C (breakParagraph): use default layout not layout of
13085         prev paragraph.
13086         (Paragraph): clear ParagraphParameters.
13087
13088 2002-03-06  Juergen Vigna  <jug@sad.it>
13089
13090         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13091         otherwise it would not be a valid lenght. Fixed a special case in
13092         the minipage compatibility read where we end the document with a
13093         minipage.
13094
13095         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13096         was set as it could be 0 for InsetTexts first entry.
13097
13098 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13099
13100         * paragraph.C (writeFile): if layout is empty write out
13101         defaultLayoutName().
13102
13103         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13104         file without named layout we set layout to defaultLayoutName().
13105
13106 2002-03-06  Juergen Vigna  <jug@sad.it>
13107
13108         * CutAndPaste.C (copySelection): set layout for new paragraph.
13109
13110         * text.C (prepareToPrint): leave ERT inset left aligned
13111         (leftMargin): don't indent paragraphs inside ERT insets
13112
13113 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13114
13115         * paragraph.C (breakParagraph): dont call clear do the work manually
13116
13117         * paragraph.[Ch] (clear): remove function
13118
13119 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13120
13121         * paragraph.C (Paragraph): dont call clear, the work has already
13122         been done.
13123
13124         * lyxtextclass.C (operator): assert if n is empty
13125
13126         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13127         work manually instead.
13128
13129 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13130
13131         * BufferView_pimpl.C: protect selectionLost against text == 0
13132
13133 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13134
13135         * text.C (breakParagraph): fix a setting layout to '0' problem.
13136
13137 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13138
13139         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13140         final location of file, for the included files, and graphics.
13141
13142 2002-03-05  Juergen Vigna  <jug@sad.it>
13143
13144         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13145
13146 2002-03-04  Juergen Vigna  <jug@sad.it>
13147
13148         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13149
13150         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13151         last column of multicolumn cells.
13152         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13153
13154 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13155
13156         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13157         file if it doesn't go to a temporary file.
13158
13159         * buffer.C (sgmlOpenTag):
13160         (sgmlCloseTag):  remove extra newline insertion.
13161
13162 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * text.C (getRowNearY): comment out debug msg
13165
13166 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13167
13168         * text2.C: first -> first_y
13169
13170         * text.C (getRowNearY): add some attemts at a possible
13171         optimization, not working.
13172
13173         * tabular.[Ch]: add BufferParams to several function so that newly
13174         created paragraph can be initialized to he default layotu for the
13175         buffers textclass.
13176
13177         * tabular-old.C (ReadOld): add buf->params to call of Init
13178
13179         * screen.C: rename text->first to text->first_y
13180
13181         * paragraph.C (breakParagraph): always set layout in the broken
13182         paragraph
13183
13184         * lyxtextclass.C (Read): remove lowercase
13185         (hasLayout): ditto
13186         (operator): ditto
13187         (delete_layout): ditto
13188
13189         * lyxtext.h: rename first -> first_y
13190
13191         * lyxlayout.C (Read): remove lowercase
13192         (name): ditto
13193         (setName): ditto
13194         (obsoleted_by): ditto
13195
13196         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13197
13198         * buffer.C (insertErtContents): add params are to InsetERT
13199         (parseSingleLyXformat2Token): add code to check if a paragraphs
13200         layout really exist.
13201         (parseSingleLyXformat2Token): add params to several inset
13202         constructors
13203         (asciiParagraph): remove lowercase, do the layout comparisons with
13204         no_case
13205
13206         * BufferView_pimpl.C (cursorNext): first -> first_y
13207         (resizeCurrentBuffer): first -> first_y
13208         (updateScrollbar): first -> first_y
13209         (scrollCB): first -> first_y
13210         (workAreaMotionNotify): first -> first_y
13211         (workAreaButtonPress): first -> first_y
13212         (checkInsetHit): first -> first_y
13213         (cursorPrevious): first -> first_y
13214         (cursorNext): first -> first_y
13215         (Dispatch): add buffer_->params to severl inset contructors
13216
13217 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13218
13219         * lyxlayout.C (Read): remove some debug info that I forgot.
13220
13221         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13222         clean up the code slightly.
13223         (makeLinuxDocFile): ditto
13224         (makeDocBookFile): ditto
13225
13226         * text2.C: layout as string
13227
13228         * text.C: layout as string
13229
13230         * paragraph_pimpl.C: layout as string
13231
13232         * paragraph.[Ch]: layout as string
13233
13234         * lyxtextclasslist.[Ch]: layout as string
13235
13236         * lyxtextclass.[Ch]: layout as string
13237
13238         * lyxtext.h: layout as string
13239
13240         * lyxlayout.[Ch]: layout as string
13241
13242         * lyx_cb.C: layout as string
13243
13244         * bufferview_funcs.C: layout as string
13245
13246         * bufferparams.C: layout as string
13247
13248         * buffer.C: layout as string
13249
13250         * LyXView.[Ch]: layout as string
13251
13252         * LaTeXFeatures.[Ch]: layout as string
13253
13254         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13255
13256         * BufferView_pimpl.C: change current_layout to string, remove
13257         lyx::layout_type.
13258         (Dispatch):
13259         (smartQuote):
13260         (insertInset):
13261         (workAreaButtonRelease): layout as string
13262
13263         * BufferView2.C (unlockInset): adjust
13264
13265         * vspace.C (asLatexCommand): use an explict temp variable.
13266
13267 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13268
13269         * Makefile.am: use FRONTEND_*
13270
13271 2002-03-01  Juergen Vigna  <jug@sad.it>
13272
13273         * tabular.C (SetWidthOfMulticolCell): changed to something better
13274         I hope but still work in progress.
13275         (recalculateMulticolumnsOfColumn): renamed function from
13276         recalculateMulticolCells as it is more appropriate now.
13277         (SetWidthOfCell): calculate multicols better.
13278
13279 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13280
13281         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13282
13283         * lyxfunc.C (processKeySym): print sequence also if it is
13284         `deleted' (complete)
13285
13286         * kbsequence.C (print): print sequence even if it is deleted
13287         (complete would be a better word, actually).
13288
13289         * lyxfunc.C (dispatch): print complete options after a prefix key
13290
13291         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13292
13293 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13294
13295         * text2.C (setCharFont): eliminate setCharFont code duplication.
13296
13297 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13298
13299         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13300         LFUN_TABULAR_FEATURE (bug #177)
13301
13302 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13303
13304         * Makefile.am: remove figure.h
13305
13306 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13307
13308         * Bufferview_pimpl.C:
13309         * CutAndPasteC:
13310         * LaTeX.C:
13311         * LyXSendto.C:
13312         * buffer.C:
13313         * bufferlist.C:
13314         * converter.C:
13315         * language.C:
13316         * lyxfunc.C:
13317         * lyxvc.C:
13318         * paragraph.C:
13319         * text.C:
13320         * text2.C: remove #include "lyx_gui_misc.h".
13321
13322         * LaTeX.C: added #include <cstdio>
13323
13324 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13325
13326         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13327         that the paragraph following this one can have.
13328
13329         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13330
13331         * vspace.C (asLatexCommand): fix bogus gcc warning
13332
13333         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13334
13335 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13336
13337         * text2.C (setLayout): get rid of redundant code
13338
13339 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13340
13341         * text2.C (incDepth): make sure depth cannot be increased beyond
13342         reasonable values.
13343
13344 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13345
13346         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13347         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13348
13349         * PainterBase.h (image):
13350         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13351         a LyXImage const *.
13352
13353 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13354
13355         * BufferView.C:
13356         * BufferView.h:
13357         * BufferView_pimpl.C:
13358         * BufferView_pimpl.h:
13359         * LaTeXFeatures.C:
13360         * LyXAction.C:
13361         * LyXView.C:
13362         * Makefile.am:
13363         * UpdateList.h:
13364         * UpdateList.C:
13365         * buffer.C:
13366         * figure.h:
13367         * figureForm.C:
13368         * figureForm.h:
13369         * figure_form.C:
13370         * figure_form.h:
13371         * lyx_cb.C:
13372         * lyx_gui.C:
13373         * lyx_gui_misc.C:
13374         * lyxfunc.C:
13375         * sp_base.h:
13376         * sp_ispell.h:
13377         * sp_pspell.h:
13378         * sp_spell.C: remove fig inset, and the crap house of
13379           cards that follows it
13380
13381 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13382
13383         * Makefile.am:
13384         * lyxserver.C:
13385         * os2_defines.h:
13386         * os2_errortable.h:
13387         * nt_defines.h: move .h into support/
13388
13389         * vms_defines.h: remove
13390
13391         * WorkArea.C: add space in debug output
13392
13393         * text2.C:
13394         * paragraph.C:
13395         * buffer.C: add WITH_WARNINGS
13396
13397         * vc-backend.h:
13398         * vc-backend.C:
13399         * bufferlist.C: s/retrive/retrieve/, add docs
13400
13401         * vspace.h:
13402         * vspace.C:
13403         * kbmap.h:
13404         * lyxlength.h:
13405         * lyxgluelength.h:
13406         * length_common.h:
13407         * chset.h:
13408         * chset.C: add docs
13409
13410         * lyxgui.C: add ID to X error handler
13411
13412         * lyxtestclass.c: fix typo
13413
13414 2002-02-26  Juergen Vigna  <jug@sad.it>
13415
13416         * tabular_funcs.C (write_attribute): changed so that some default
13417         attributes are not written at all.
13418         (getTokenValue): set default values before trying to read the
13419         value so we have the return value always set as default if we don't
13420         find the token we search for.
13421
13422         * tabular.C (Write): write bools as bools not as strings!
13423
13424 2002-02-22  Juergen Vigna  <jug@sad.it>
13425
13426         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13427         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13428
13429         * text.C (leftMargin): don't add an indent for paragraphs inside
13430         tabular cells (fix #208).
13431
13432 2002-02-21  José Matos  <jamatos@fep.up.pt>
13433
13434         * tabular.C (docBook): fixed support for long tables.
13435
13436 2002-02-20  Juergen Vigna  <jug@sad.it>
13437
13438         * text2.C (getFont): get the drawing font of the Inset if this
13439         paragraph is inside an inset (only important for InsetERT for now).
13440
13441         * buffer.C (insertErtContents): use new lanugage params in ERT
13442         constructor.
13443
13444         * CutAndPaste.C: commenting out seemingly uneeded code.
13445
13446 2002-02-19  Allan Rae  <rae@lyx.org>
13447
13448         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13449         Iterators might be simple to use but they also get invalidated.
13450         (removeAutoInsets): renamed saved cursor tracking variables and added
13451         some comments to clarify what everything does.
13452
13453 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13454
13455         * Chktex.C:
13456         * LaTeX.C:
13457         * LyXSendto.C:
13458         * converter.C:
13459         * lyx_cb.C:
13460         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13461         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13462
13463         * lyxfunc.C:
13464         * vc-backend.h: remove #include "support/syscall.h"
13465
13466         * LaTeX.C:
13467         * LyXSendto.C:
13468         * converter.C: rearrange #includes in Lars' approved fashion.
13469
13470         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13471         forward declare class Timeout in the header file.
13472
13473         * XFormsView.C: changes due to the above.
13474
13475         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13476         similar to LyXView.
13477
13478         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13479         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13480
13481 2002-02-18  José Matos  <jamatos@fep.up.pt>
13482
13483         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13484         insets contents.
13485
13486 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13487
13488         * a lot of small ws changes
13489         * add a lot of using std::XXX
13490         * use std construcs some places where approp.
13491         * use some exisint stuff from lyxfunctional where approp.
13492         * Make file changes to use partial linking (lets test this now...)
13493
13494 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13495
13496         * Chktex.C:
13497         * buffer.C:
13498         remove #include "support/syscontr.h" as it's redundant. Always has been.
13499
13500         * Chktex.C:
13501         * LaTeX.C:
13502         * LyXSendto.C:
13503         * converter.C:
13504         * lyx_cb.C:
13505         * vc-backend.C:
13506         change Systemcalls::System to Systemcalls::Wait and
13507         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13508         No change of functionality, just reflects the stripped down Systemcalls
13509         class.
13510
13511 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13512
13513         * debug.[Ch]: add a GRAPHICS type to the enum.
13514
13515 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13516
13517         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13518
13519         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13520         there is an inset.
13521
13522 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13523
13524         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13525         match the changes below.
13526
13527         * text2.C (toggleInset): if there is not editable inset at cursor
13528         position, try to see if cursor is _inside_ a collapsable inset
13529         and close it.
13530
13531 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13532
13533         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13534         document menu has a nice checkbox
13535
13536 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13537
13538         * lyxlength.C (asLatexString): change PW to output as percent of
13539         \textwidth.
13540
13541         * lengthcommon.C: change '%' to 't%'
13542
13543         * lyxfunc.C (dispatch): a few comments from Martin
13544
13545 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13546
13547         * WorkArea.h:
13548         * WorkArea.C:
13549         * BufferView_pimpl.h:
13550         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13551           the X selection.
13552
13553 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13554
13555         * vspace.C (inPixels): fix compiler warning
13556
13557 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13558
13559         * lyxfunc.C (getStatus): fix status message for disabled commands.
13560
13561 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13562
13563         * BufferView_pimpl.C: fix crash on close buffer
13564         during selection (#227)
13565
13566 2002-01-27  Herbert Voss  <voss@lyx.org>
13567
13568         * buffer.C: link old Figure to new graphic inset
13569
13570 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13571
13572         * FontLoader.C (getFontinfo): Change the latex font names in order
13573         to match the names of type1inst.
13574
13575 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13576
13577         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13578
13579         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13580         (extchanged): ditto
13581         (ext_exist): ditto
13582         (remove_files_with_extension): ditto
13583         (remove_file): ditto
13584         (write): ditto
13585
13586         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13587         document is smaller than the work area height. Do not initialize
13588         static variables to 0.
13589
13590 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13591
13592         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13593
13594         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13595         LFUN_LAYOUT_PARAGRAPHS.
13596
13597         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13598         tabular. It is possible to provide a possible cell, which will
13599         typically be the actcell from the corresponding insettabular
13600
13601         * lyxfunc.C (getStatus): small cleanup; disable
13602         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13603         true
13604
13605 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13606
13607         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13608
13609         * paragraph.C (startTeXParParams):
13610         (endTeXParParams): new methods. The LaTeX code to
13611         start/end paragraph formatting
13612         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13613         empty (fixes bug #200)
13614
13615         * vspace.C (inPixels): adapt to the change below
13616         (inPixels): [later] more cleanups (remove unused variables)
13617
13618         * lyxlength.C (inPixels): change to use a width and a height as
13619         parameter.
13620
13621 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13622
13623         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13624         Replaced with \paperwidth
13625
13626         * DepTable.C (insert): add std:: qualifier
13627
13628 2002-01-18  Allan Rae  <rae@lyx.org>
13629
13630         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13631         updated also?
13632
13633         * text.C (drawInset): Turned out I didn't know enough about how
13634         rebreaking worked.  This fixes most of the redraw problems.  I see
13635         an occasional cursor trail when a line is broken now and the cursor
13636         placement can seem out by a few pixels also after a rebreak.
13637
13638 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13639
13640         * buffer.C (parseSingleLyXformat2Token): update because minipage
13641         width is now a LyXLength
13642
13643         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13644
13645         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13646         math insets
13647
13648 2002-01-17  Juergen Vigna  <jug@sad.it>
13649
13650         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13651
13652         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13653         is set correctly and the inset is updated correctly.
13654
13655 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13656
13657         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13658         the beginning of the loop.
13659
13660 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13661
13662         * lyxrc.C: improve help for use_scalable_fonts
13663
13664 2002-01-17  Allan Rae  <rae@lyx.org>
13665
13666         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13667
13668 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13669
13670         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13671         make sure to set their inset_owner to the right value (bug #171)
13672
13673 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13674
13675         * DepTable.h
13676         * DepTable.C: Implement mtime checking to reduce time spent doing
13677         CRCs.
13678
13679 2002-01-16  Juergen Vigna  <jug@sad.it>
13680
13681         * tabular.C (GetAdditionalHeight): one of error fixed.
13682
13683         * lyxrc.C (output): small fix in writing use_pspell.
13684
13685 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13686
13687         * sp_base.h: #include LString.h
13688
13689 2002-01-16  Allan Rae  <rae@lyx.org>
13690
13691         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13692         Can someone check this please?
13693
13694         * text.C (drawInset): It was possible that p.row would be removed by
13695         breakAgainOneRow upsetting a few other settings.  There may be another
13696         small tweak possible by setting need_break_row = 0 when p.row has been
13697         removed but I don't know enough about the logic here.
13698
13699 2002-01-15  Allan Rae  <rae@lyx.org>
13700
13701         * text.C (insertChar): removed conditional truism.
13702
13703         * BufferView2.C (removeAutoInsets): More tweaks.
13704         cur_par_prev could be a stray pointer.  Check for trailing empty line
13705         in case last line was cur_par and only had an error inset on it.
13706
13707 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13708
13709         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13710         absolute
13711
13712         * vc-backend.C (most methods):
13713         * exporter.C (Export):
13714         * converter.C (convert):
13715         (runLaTeX):
13716         * LyXSendto.C (SendtoApplyCB):
13717         * lyxfunc.C (dispatch):
13718         (menuNew):
13719         (open):
13720         (doImport):
13721         * lyx_cb.C (AutoSave):
13722         (InsertAsciiFile):
13723         * BufferView_pimpl.C (MenuInsertLyXFile):
13724         * buffer.C (runChktex): use Buffer::filePath().
13725
13726         * buffer.h: rename filename to filename_; rename filepath to
13727         filepath_ and make it private
13728         (filePath): new method
13729
13730         * buffer.C (writeFile): use fileName()
13731         (getLatexName):
13732
13733         * lyx_main.C (init): fix starting  of LyX when the binary is a
13734         link from so,ewhere else.
13735
13736         * minibuffer.C: include <cctype> for isprint
13737
13738 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13739
13740         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13741         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13742         name clash with InsetCollapsable's width function.
13743
13744 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13745
13746         * lastfiles.C: include <iterator>
13747
13748 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13749
13750         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13751         std::count.
13752
13753         * buffer.C (makeLaTeXFile): ditto.
13754         Also make loop operation more transparent.
13755
13756 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13757
13758         * ToolbarDefaults.C: remove trailing comma closing namespace.
13759
13760         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13761
13762         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13763         as in WorkArea.
13764
13765         * trans.C (Load): comment out unused variable, allowed.
13766
13767 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13768
13769         * minibuffer.[Ch] (append_char): new method to recieve input from the
13770         drop-down completion browser. If a key was pressed, then recieve this
13771         char and append it to the existing string.
13772         (peek_event): modify the positioning data passed to the completion
13773         browser so that it can be placed above the minibuffer rather than below.
13774 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13775
13776         * LyXAction.C (init): alloe error-next for readonly documents.
13777
13778         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13779         count.
13780
13781 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13782
13783         * bufferlist.C (readFile): create the buffer _after_ checking that
13784         the file exists.
13785
13786         * lyxfunc.C (verboseDispatch): fix handling of arguments
13787
13788         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13789
13790         * lyxrc.C: use string::erase() instead of initializing to "".
13791
13792
13793 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13794
13795         * BufferView_pimpl.h:
13796         * BufferView_pimpl.C:
13797         * WorkArea.h:
13798         * WorkArea.C:
13799         * text2.C: tell X when we have made a selection for copying
13800
13801 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13802
13803         * BufferView_pimpl.C (MenuInsertLyXFile):
13804         * lyxfunc.C (menuNew):
13805         (open):
13806         (doImport): add shortcuts to directory buttons
13807
13808         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13809         open a float)
13810
13811         * lyxfunc.C (setStatusMessage):
13812         (getStatusMessage): new methods
13813         (getStatus):use setStatusMessage instead of setErrorMessage
13814         (dispatch): when function is disabled, set error message here
13815         [instead of in getStatus previously]
13816
13817         * BufferView_pimpl.C (workAreaButtonRelease): update
13818         toolbar/menubar here too.
13819
13820 2002-01-13  Allan Rae  <rae@lyx.org>
13821
13822         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13823         Now seems indestructible.  Remaining task is to audit all other
13824         code affected by deleteEmptyParagraphMechanism.  One small quirk
13825         left is that an empty document with an error in the preamble can
13826         be made to report an error but no error box appears.  I don't know
13827         where it goes.
13828         (removeAutoInsets): Improved comments.
13829
13830 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13831
13832         * Thesaurus.h:
13833         * Thesaurus.C: update for Aiksaurus 0.14
13834
13835 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13836
13837         * text2.C (firstParagraph): removed member function, all uses
13838         replaces with ownerParagraph
13839         (redoParagraphs): here
13840         (updateInset): here
13841         (toggleAppendix): here
13842         * BufferView2.C (insertErrors): here
13843         (setCursorFromRow): here
13844
13845 2002-01-13  Allan Rae  <rae@lyx.org>
13846
13847         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13848         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13849         There is still a way to segfault this although you may have to do this
13850         multiple times: Have an InsetERT with an unknown command in it.
13851         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13852         <down-arrow>, <Enter> again, View->DVI, BANG!
13853
13854         * text2.C (setCursor):
13855         (deleteEmptyParagraphMechanism):
13856         * lyxtext.h (setCursor):
13857         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13858         Making use of the return value may help fix other bugs.
13859
13860 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13861
13862         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13863
13864         * LyXView.C (updateMenubar): call MenuBar::update here
13865         (updateToolbar): but not here
13866         (showState): do not update toolbar/menubar
13867
13868         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13869         should need to care about that.
13870
13871         * lyxfunc.C (verboseDispatch): simplify a bit
13872         (getStatus): have a version which takes a pseudoaction, and
13873         another which requires a (kb_action,string).
13874
13875         * LyXAction.C (retrieveActionArg): make it work also when action
13876         is not a pseudo-action.
13877         (getActionName): simplify a bit
13878         (helpText):
13879
13880 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13881
13882         * lyxfunc.C (verboseDispatch): new families of methods with
13883         several ways to specify a command and a bool to indicate whether
13884         the command name and shortcut should be displayed in minibuffer
13885         (eventually, we could extend that to a finer bitmask like
13886         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13887         (dispatch): the pristine dispatch command which just, well,
13888         dispatchs! Note it still sets its result to minibuffer; I'm not
13889         sure we want that.
13890
13891         * lyxfunc.h: remove setHintMessage
13892
13893         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13894
13895 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13896
13897         * BufferView_pimpl.C (specialChar): delete new inset if we have
13898         not been able to insert it.
13899
13900         * kbmap.C: revert to using int instead of kb_action, since all we
13901         are dealing with is pseudo-actions.
13902
13903         * LyXAction.C (searchActionArg): change to return int instead of
13904         kb_action, since the result is a pseudoaction.
13905
13906 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13907
13908         * buffer.C (insertErtContents): Fix (partially) the font bug.
13909
13910 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13911
13912         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13913         as the other one is broken on my machine!
13914
13915 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13916
13917         * commandtags.h:
13918         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13919
13920 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13921
13922         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13923         reflect their actual use. Provide compatibility code for older lyxrc
13924         files.
13925
13926         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13927         FL_NORMAL_STYLE.
13928         change names of popup font variables in line with the changes to lyxrc.C
13929
13930 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13931
13932         * buffer.C (asciiParagraph): avoid outputing a word twice after
13933         an inset.
13934
13935         * lyxrc.C (getDescription): document that document_path and
13936         template_path can be empty.
13937
13938 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13939
13940         * LaTeXFeatures.C (getMacros):
13941         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13942
13943         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13944
13945         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13946         getPackages.
13947         (getPackages): rename feature "floats" to "float". Use an array to
13948         iterate over 'simple' features (i.e. just a \usepackage). Add
13949         handling of "amsmath" (renamed from "amsstyle").
13950
13951 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13952
13953         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13954         features list.
13955
13956 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13957
13958         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13959         FuncStaus::FuncStatus & FuncStaus::some_method().
13960
13961 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13962
13963         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13964         of the func_satus stuff. Edited and massaged in various ways by
13965         JMarc.
13966
13967         * lyxfunc.C (getStatus): use FuncStatus
13968
13969 2002-01-08  Juergen Vigna  <jug@sad.it>
13970
13971         * text.C (nextBreakPoint): use function Inset::isChar().
13972
13973         * paragraph.C (TeXOnePar): use function
13974         Inset::forceDefaultParagraphs.
13975
13976         * buffer.C (latexParagraphs): use function
13977         Inset::forceDefaultParagraphs.
13978
13979 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13980
13981         * lyx_gui.C (init): set the style of the menu popups to
13982         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13983
13984 2002-01-07  Juergen Vigna  <jug@sad.it>
13985
13986         * text.C (setHeightOfRow): small fix
13987         (prepareToPrint): don't look at alignment if we don't have the place
13988         for doing it.
13989
13990 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13991
13992         * box.C: New file. Move the Box methods and functions out of box.h,
13993         following Lars' suggestion.
13994
13995 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13996
13997         * box.h: #include "support/LOstream.h", needed for inlined function.
13998
13999         * lyxtextclass.C:
14000         * lyxtextclasslist.C: added some using std declarations.
14001
14002 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14003
14004         * box.h: make signed dimensions to allow insets wider than
14005           the screen (bug #162)
14006
14007         * BufferView_pimpl.C: add some insetHit debug
14008
14009 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14010
14011         * vc-backend.C: add FIXME
14012
14013 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14014
14015         * lyxfunc.C (getStatus): enable code for showing math font status
14016         in toolbar/menu.
14017
14018 2002-01-07  Juergen Vigna  <jug@sad.it>
14019
14020         * text.C (nextBreakPoint): removed debug output not needed anymore.
14021
14022 2002-01-06  Juergen Vigna  <jug@sad.it>
14023
14024         * text.C (nextBreakPoint): fixed up this function we had this bug
14025         since ever but now hopefully we break row better.
14026         (insertChar): we have to check if an inset is the next char as it
14027         could now happen that a large inset is causing a break.
14028
14029 2002-01-05  Juergen Vigna  <jug@sad.it>
14030
14031         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14032         if it doesn't like to be drawed.
14033
14034 2002-01-04  Juergen Vigna  <jug@sad.it>
14035
14036         * BufferView2.C (lockInset): forgot to set a cursor.
14037
14038         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14039
14040 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14041
14042         * FormMathsPanel.C:
14043         * FormMathsPanel.h
14044         * MathsSymbols.C:
14045         * form_maths_panel.C:
14046         * form_maths_panel.h:
14047         * form_maths_panel.fd: implemented sub- and super- buttons in math
14048         panel.
14049
14050         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14051         (or ^ space) to be used as in TeX (req'd by Andr�.
14052
14053         * lyxfunc.C: Allow ^ and _ again to be used both as
14054         super/subscript (mathed) and as themselves (in text).
14055
14056 2002-01-03  Allan Rae  <rae@lyx.org>
14057
14058         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14059         "LyX" or the filename of the current buffer if it has one.  This is a
14060         modified form of John Levon's patch.
14061
14062         * XFormsView.C (setWindowTitle): also set icon title.
14063
14064         * LyXView.h (setWindowTitle): signature changed.
14065         * XFormsView.h (setWindowTitle): ditto.
14066
14067 2002-01-02  Juergen Vigna  <jug@sad.it>
14068
14069         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14070
14071 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14072
14073         * screen.C (topCursorVisible): introduce a temp var for
14074         text->cursor.row(), handle the case where this row is null. (kindo
14075         hachish)
14076
14077         * text2.C (setCursor): add a couple of asserts.
14078
14079         * paragraph.h (inset_iterator): add -> operator
14080
14081         * paragraph.[Ch] (autoDeleteInsets): remove member function
14082
14083         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14084         cursor pos correctly and handle inset deletion by itself.
14085         (insertErrors): move iterator declaration out of for expression
14086
14087         * lyxtextclass.C: add <algorithm>
14088
14089         * Makefile.am: added the new files to sources, removed layout.C
14090
14091         * layout.C: removed file
14092
14093         * layout.h: remove LYX_DUMMY_LAYOUT
14094
14095         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14096         layout.
14097
14098         * lyxlayout.[Ch]:
14099         * lyxtextclass.[Ch]:
14100         * lyxtextclasslist.[Ch]: new files
14101
14102         * include order changes to a lot of files, also changes because of
14103         the six new files.
14104
14105 2001-12-27  Juergen Vigna  <jug@sad.it>
14106
14107         * buffer.C (asciiParagraph): more fixes.
14108
14109         * tabular.C (ascii): make ascii export support export of only the
14110         data separated by a column-delimiter.
14111         (ascii): better support for ascii export.
14112
14113         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14114
14115 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14116
14117         * tabular_funcs.C: use a "using std::getline" instead of the
14118         previous fix from Angus (necessary for cxx + lyxstring)
14119
14120 2001-12-24  Juergen Vigna  <jug@sad.it>
14121
14122         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14123
14124         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14125         problems. First check a minipage also if we have some ert-contents
14126         (not only on par->size(), second set the right depth of the paragraph
14127         on the relink to the root-paragraph-list!
14128
14129         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14130         which then did not anymore update the main paragraphs on undo/redo!
14131
14132 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14133
14134         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14135         code. Support all font-changing funcs (even those which are not in
14136         menu currently). Support for reporting font settings in
14137         mathed (disabled until Andre provides a function on mathed's side).
14138
14139         * func_status.h (toggle): small helper function to set toggle
14140         state on a flag.
14141
14142 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14143
14144         * tabular_funcs.C: getline -> std::getline
14145
14146 2001-12-21  Juergen Vigna  <jug@sad.it>
14147
14148         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14149         accessed and could be 0 (I couldn't generate this but it seems
14150         Michael could!).
14151
14152 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14153
14154         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14155         * tabular_funcs.h: here and include iosfwd
14156
14157 2001-12-20  Juergen Vigna  <jug@sad.it>
14158
14159         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14160         inside inset but undo_par was.
14161
14162 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14163
14164         * Thesaurus.C: always include <config.h> in sources.
14165
14166         * Painter.h:
14167         * lyxlookup.h:
14168         * box.h: do not include <config.h> in header files
14169
14170         * text.C (paintLastRow): remove unused variable
14171
14172         * text.C (transformChar):
14173         (insertChar):
14174         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14175
14176         * Painter.C (text):
14177         * font.C (width): rewrite to use uppercase() instead of
14178         islower/toupper.
14179
14180         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14181
14182 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14183
14184         * lyxfind.C: clean up of find failure position change
14185
14186 2001-12-20  Juergen Vigna  <jug@sad.it>
14187
14188         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14189
14190         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14191         (TeXRow): added to LaTeX a single tabular row.
14192         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14193         (Latex): simplified and finally good LT-h/f support.
14194         (various_functions): just small adaptions for LT-h/f support.
14195
14196         * tabular_funcs.[hC]: added and moved here all not classfunctions
14197         of LyXTabular.
14198
14199 2001-12-19  Juergen Vigna  <jug@sad.it>
14200
14201         * tabular.[Ch]: better support for longtabular options (not finished
14202         yet!)
14203
14204 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14205
14206         * text.C (paintLastRow): use the label font instead of the font of
14207         the last character to compute the size of *_BOX. This makes more
14208         sense and avoids a crash with empty paragraphs.
14209         Use Painter::rectangle to draw EMPTY_BOX.
14210
14211 2001-12-19  Juergen Vigna  <jug@sad.it>
14212
14213         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14214         the paragraphs if the replaced paragraph is not the first one!
14215         Tried to delete not used paragraphs but does not work yet so for
14216         now it's inside #ifdef's and by default off!
14217
14218 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14219
14220         * MenuBackend.C: include "lyx_main.h" instead of declaring
14221         lastfiles (actually was declared as LastFiles* instead of a
14222         scoped_ptr).
14223
14224 2001-12-17  Juergen Vigna  <jug@sad.it>
14225
14226         * tabular.C (AppendColumn): applied John's fix
14227
14228 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14229
14230         * BufferView.h:
14231         * BufferView.C:
14232         * BufferView_pimpl.h:
14233         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14234
14235         * Makefile.am:
14236         * box.h: new start of class for above
14237
14238         * lyxfunc.C: ignore space-only minibuffer dispatches.
14239           Show the command name when it doesn't exist
14240
14241         * minibuffer.C: don't add empty lines to the history
14242
14243         * minibuffer.C: add a space on dropdown completion
14244
14245 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14246
14247         * text.C: fix line above/below drawing in insets
14248
14249 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14250
14251         * lyxlength.C (LyXLength): Initialize private variables.
14252
14253 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14254
14255         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14256         when inserting error insets.
14257
14258 2001-12-13  Juergen Vigna  <jug@sad.it>
14259
14260         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14261         actually sometimes the before-paragraph.
14262         (setUndo): don't clear the redostack if we're not actually undoing!
14263
14264 2001-12-06  Juergen Vigna  <jug@sad.it>
14265
14266         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14267         and fixed redoing of main paragraph, so we can use it now ;)
14268
14269         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14270
14271 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14272
14273         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14274         Juergen's request
14275
14276 2001-12-13  André Pönitz <poenitz@gmx.net>
14277
14278         * undostack.[Ch]:
14279         * undo_func.C: minor cleanup
14280
14281 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14282
14283         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14284         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14285         font in urw-fonts package which is marked as -urw-fontspecific and
14286         does not work (incidentally, changing the encoding in the
14287         fonts.dir of this package to -adobe-fontspecific fixes the
14288         problem).
14289
14290         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14291         is a crash when undoing first paragraph (Juergen, please take a
14292         look). THis does not mean the undo fix is wrong, just that it
14293         uncovers problems.
14294
14295         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14296         the (Paragraph*) version when needed instead of duplicating the
14297         code.
14298
14299         * text.C (workWidth): use Inset::parOwner to find out where the
14300         inset has been inserted. This is a huge performance gain for large
14301         documents with lots of insets. If Inset::parOwner is not set, fall
14302         back on the brute force method
14303
14304         * paragraph_pimpl.C (insertInset):
14305         * paragraph.C (Paragraph):
14306         (cutIntoMinibuffer): set parOwner of insets when
14307         inserting/removing them
14308
14309         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14310
14311 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14312
14313         * commandtags.h:
14314         * LyXAction.C:
14315         * lyx_main.C:
14316         * lyxfunc.C:
14317         * mathed/formulabase.C:
14318         * mathed/math_cursor.[Ch]:
14319         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14320
14321
14322 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14323
14324         * lyxlength.[Ch] (operator!=): new function
14325
14326 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14327
14328         * text.C (workWidth): use Inset::parOwner to find out where the
14329         inset has been inserted. This is a huge performance gain for large
14330         documents with lots of insets. If Inset::parOwner is not set, fall
14331         back on the brute force method
14332
14333         * paragraph_pimpl.C (insertInset):
14334         * paragraph.C (Paragraph):
14335         (cutIntoMinibuffer): set parOwner of insets when
14336         inserting/removing them
14337
14338         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14339
14340 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14341
14342         * tabular-old.C (getTokenValue):
14343         * tabular.C (getTokenValue):
14344         (write_attribute): new versions for LyXLength
14345         (everywhere): adjust the use of widths
14346
14347         * tabular.h: change the type of widths from string to LyXLength
14348
14349 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14350
14351         * paragraph.C: fixed missing line number count when exporting
14352         Environments to LaTeX file
14353
14354         * buffer.C: added informational message for checking line numbers.
14355
14356 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14357
14358         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14359         paragraph, do the 'double space' part, but not the 'empty
14360         paragraph' one.
14361
14362         * text.C (workWidth): small optimization
14363         (getLengthMarkerHeight): use minimal size for negative lengths.
14364
14365 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14366
14367         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14368
14369         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14370
14371 2001-12-11  André Pönitz <poenitz@gmx.net>
14372
14373         * FontLoader.C:
14374         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14375
14376 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14377
14378         * text2.C: keep selection on a setFont()
14379
14380 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14381
14382         * lyx_cb.C: another bv->text misuse, from insert label
14383
14384 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14385
14386         * kbsequence.h:
14387         * kbsequence.C: re-instate nmodifier mask
14388
14389 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14390
14391         * lyx_main.h: make lyxGUI private.
14392
14393 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14394
14395         * lyxfind.C: place the cursor correctly on failed search
14396
14397 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14398
14399         * text.C (getLengthMarkerHeight): for small heights, the arrows
14400         are not always on top/bottom of the text
14401         (drawLengthMarker): smaller arrows; take the left margin in
14402         account; draw also vfills.
14403         (paintFirstRow):
14404         (paintLastRow): remove special code for vfill and standard spaces,
14405         since everything is handled in drawLengthMarker now.
14406
14407 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14408
14409         * buffer.C (insertErtContents): try to handle font and language
14410         interaction a bit better.g
14411
14412         * ColorHandler.C (updateColor): change the hash to cover the whole
14413         LColor enum, ws cleanup
14414         (getGCLinepars): ditto
14415         (getGCLinepars): only lookup in the linecache once.
14416
14417 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14418
14419         * iterators.C (operator++): Make the iterator more robust
14420
14421         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14422         (John's patch)
14423         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14424
14425 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14426
14427         * lyxtext.h:
14428         * text.C: better added space drawing
14429
14430 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14431
14432         * LyXView.C:
14433         * BufferView2.C: fix layout combo update on inset unlock
14434
14435 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14436
14437         * Makefile.am: don't compile unused files
14438
14439 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14440
14441         * lyxfunc.C:
14442         * commandtags.h:
14443         * LyXAction.C: remove old LFUN_LAYOUTNO
14444
14445 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14446
14447         * paragraph_pimpl.h:
14448         * paragraph_pimpl.C: isTextAt() doesn't need font param
14449
14450 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14451
14452         * lyxlex.h:
14453         * lyxlex.C: little cleanup
14454
14455 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14456
14457         * BufferView_pimpl.C: fix insertAscii for insets
14458
14459 2001-12-05  Juergen Vigna  <jug@sad.it>
14460
14461         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14462         set the right font on the "multi" paragraph paste!
14463
14464 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14465
14466         * trans_decl.h:
14467         * trans_mgr.[Ch]:
14468         * trans.[Ch]:
14469         * lyxgluelength.C:
14470         * lyxlength.C: remove out-commented code.
14471
14472         * BufferView_pimpl:
14473         * CutAndPaste.C:
14474         * DepTable.C:
14475         * buffer.C:
14476         * chset.C:
14477         * lastfiles.C:
14478         * lyxlex.C:
14479         * lyxlex_pimpl.C:
14480         * lyxserver.C:
14481         * screen.C:
14482         * tabular-old.C:
14483         * tabular.C:
14484         * text.C:
14485         * trans_mgr.C:
14486         * vc-backend.C: change "while(" to "while ("
14487
14488         * lyxlength.[Ch]: add zero function to check if length is zero or
14489         not
14490         * lyxgluelength.C: use it
14491
14492 2001-12-05  Allan Rae  <rae@lyx.org>
14493
14494         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14495         Works for 2.95.3, from what I understand of Garst's reports this should
14496         work for other g++ versions.  We're screwed if the abs(int) definition
14497         changed between bugfix releases of gcc.
14498
14499 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14500
14501         * text.C: fix chapter label offset !
14502
14503 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14504
14505         * lyxtext.h:
14506         * text.C: fix hfill at end of line, clean up
14507
14508 2001-12-04  Juergen Vigna  <jug@sad.it>
14509
14510         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14511         that we force an update of the inset and it's owners if neccessary.
14512
14513 2001-12-03  Juergen Vigna  <jug@sad.it>
14514
14515         * text.C (rowLast): simplified code
14516
14517 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14518
14519         * lyxfunc.C: fix show options on timeout
14520
14521 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14522
14523         * screen.C (topCursorVisible): scroll half a page when the cursor
14524         reached top of bottom of screen
14525
14526 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14527
14528         * minibuffer.C: deactivate on loss of focus
14529
14530 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14531
14532         * vspace.[Ch] (operator!=): add operator.
14533
14534 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14535
14536         * BufferView_pimpl.C: refuse to open an inset when
14537         there's a selection.
14538
14539 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14540
14541         * BufferView_pimpl.C: allow to click on RHS of full row insets
14542
14543 2001-11-30  Juergen Vigna  <jug@sad.it>
14544
14545         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14546         insets for undo reasons.
14547
14548 2001-11-28  André Pönitz <poenitz@gmx.net>
14549
14550         * vspace.[Ch]: cosmetical changes
14551
14552 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14553
14554         * LyXAction.h:
14555         * LyXAction.C:
14556         * lyxfunc.h:
14557         * lyxfunc.C:
14558         * kbmap.h:
14559         * kbmap.C:
14560         * lyxrc.C:
14561         * kbsequence.h:
14562         * kbsequence.C: part re-write of old kb code
14563
14564         * Painter.C:
14565         * WorkArea.C: remove Lgb_bug_find_hack
14566
14567 2001-11-30  José Matos <jamatos@fep.up.pt>
14568
14569         * buffer.C (makeDocBookFile): add a comment to point a hack.
14570         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14571         Fixed a double write of labels.
14572
14573 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14574
14575         * LaTeX.C:
14576         * LaTeX.h Fixed bug in LaTeX class where it would not
14577         re-run latex if no depfiles were changed, but the .dvi was removed.
14578
14579 2001-11-28  André Pönitz <poenitz@gmx.net>
14580
14581         * all the files from the change on 2001/11/26:
14582         use lyx::layout_type instead of LyXTextClass::size_type
14583         use lyx::textclass_type instead of LyXTextClassList::size_type
14584
14585 2001-11-29  Juergen Vigna  <jug@sad.it>
14586
14587         * text.C: added support for paragraph::isFreeSpacing()
14588
14589         * buffer.C: same as above
14590
14591         * paragraph.h: inserted isFreeSpacing() function to enable
14592         FreeSpacing inside InsetERT.
14593
14594         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14595         of the paragraph's in the cut/copy buffer to 0!
14596
14597         * text2.C (removeRow): remove the assert as it can!
14598
14599         * lyxtext.h: added helper function firstRow returning firstrow and
14600         made firstrow private again.
14601
14602         * BufferView2.C (lockInset): don't relock if we're already locked!
14603
14604         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14605         the only paragraph.
14606         (removeRow): added Assert::(firstrow)
14607
14608         * debug.C: forgot to add INSETTEXT here.
14609
14610 2001-11-28  Juergen Vigna  <jug@sad.it>
14611
14612         * sp_spell.C (initialize): changed error text to more general
14613         spellchecker command use (not only ispell!)
14614
14615         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14616
14617         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14618
14619 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14620
14621         * vspace.C: initialise lyxgluelength on failure
14622
14623 2001-11-28  Allan Rae  <rae@lyx.org>
14624
14625         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14626         declaration & definition that looks like a function declaration.
14627
14628 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14629
14630         * BufferView2.C (copy):
14631         (copyEnvironment): do not clear the selection when doing a copy.
14632
14633         * text.C (paintFirstRow): compilation fix
14634
14635 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14636
14637         * tabular.C (Latex): correct line count when writing latex.
14638
14639 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14640
14641         * paragraph_pimpl.h:
14642         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14643           bug a bit
14644
14645 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14646
14647         * text.C:
14648         * LColor.h:
14649         * LColor.C: change vfillline->added_space
14650
14651         * text.C: add markers and text for added space
14652
14653         * vspace.C: fix comment
14654
14655 2001-11-28  André Pönitz <poenitz@gmx.net>
14656
14657         * paragraph.C: whitespace changes
14658         * all the other files from the change on 2001/11/26:
14659         change *::pos_type into lyx::pos_type
14660
14661 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14662
14663         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14664         language of the document when inserting error insets.
14665
14666 2001-11-26  André Pönitz <poenitz@gmx.net>
14667
14668         * BufferView_pimpl.[Ch]:
14669         *       CutAndPaste.C:
14670         * buffer.[Ch]:
14671         * lyxcursor.[Ch]:
14672         * lyxfind.C:
14673         * lyxfunc.C:
14674         * lyxrow.[Ch]:
14675         * paragraph.[Ch]:
14676         * paragraph_pimpl.[Ch]:
14677         * sp_spell.C:
14678         * text.C:
14679         * text2.C: reduce header dependencies, introduce type for positions
14680
14681 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14682
14683         * <various>: change to use Alert.h
14684
14685 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14686
14687         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14688         when encountering an unknown token.
14689         (readLyXformat2): Show an error message if there were unknown tokens.
14690
14691 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14692
14693         * BufferView2.C:
14694         * BufferView_pimpl.C:
14695         * buffer.C:
14696         * paragraph.h:
14697         * text.C:
14698         * text2.C: use par->isInset()
14699
14700 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14701
14702         * paragraph_pimpl.h:
14703         * paragraph_pimpl.C: cleanup
14704
14705 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14706
14707         * text2.C (removeRow):
14708         * text.C (setHeightOfRow): remove useless (and costly) call to
14709         getRow.
14710
14711 2001-11-20  Allan Rae  <rae@lyx.org>
14712
14713         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14714         Now need Inset*::checkInsertChar() to return true for appropriate
14715         cases so that the characters in the minibuffer will actually be
14716         inserted.
14717
14718 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14719
14720         * text.C: change the order of the includes.
14721         (workWidth): initialize it at once.
14722         (workWidth): make maxw unsigned
14723         (setHeightOfRow): remove unused variable (inset)
14724         (selectSelectedWord): remove unused variable (inset)
14725         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14726
14727 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14728
14729         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14730         server is not running.
14731         (openConnection):
14732         (closeConnection): add debug info when server is disabled.
14733
14734         * ColorHandler.C (getGCForeground): send debug message to GUI
14735         channel.
14736
14737         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14738
14739         * kbmap.C (bind): modify because return conventions of
14740         kb_sequence::parse have changed.
14741
14742         * kbsequence.C (parse): only ignore spaces and not any stupid
14743         control character. This avoids tests like s[i] <= ' ', which are
14744         guaranteed to fail with 8bit characters and signed chars.
14745         Change return code to string::npos when there have been no error
14746         (0 was a bad idea when error is at first character)
14747
14748 2001-11-14  José Matos  <jamatos@fep.up.pt>
14749
14750         * buffer.h:
14751         * buffer.C (simpleDocBookOnePar): removed unused argument.
14752
14753 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14754
14755         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14756         insets which are part of a word. Paragraph::isLetter takes care of
14757         that now. Use Paragraph::isInset to identify insets.
14758         (selectSelectedWord): do not test for hyphenation break.
14759
14760         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14761         that protected spaces are considered as spaces.
14762
14763         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14764         Inset::isLetter.
14765
14766 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14767
14768         * lyxserver.h:
14769         * lyxserver.C: fix it. and small cleanup.
14770
14771 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14772
14773         * BufferView_pimpl.C: use inline helpers
14774
14775         * LaTeXFeatures.h:
14776         * LaTeXFeatures.C: fix typos
14777
14778         * Spacing.h:
14779         * Spacing.C: move spacing_string into class
14780
14781         * ToolbarDefaults.C: move stuff into namespace anon
14782
14783         * layout.h: update enum
14784
14785         * lyxfunc.C: use better debug
14786
14787         * minibuffer.h: fix typo
14788
14789         * debug.h:
14790         * debug.C:
14791         * WorkArea.C: add and use Debug::WORKAREA
14792
14793         * lyxtext.h:
14794         * text.C:
14795         * text2.C: code re-organisation, inline helpers
14796
14797 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14798
14799         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14800         std::vector.empty().
14801
14802 2001-11-09  Allan Rae  <rae@lyx.org>
14803
14804         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14805         '\n's after tables.  Tabular and ERT inset work now makes this no
14806         longer necessary.
14807
14808 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14809
14810         * minibuffer.h:
14811         * minibuffer.C: fix crash, improve drop-down completion
14812
14813 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14814
14815         * lyxserver.h:
14816         * lyxserver.C: invalidate fd's when doing endPipe()
14817
14818 2001-11-08  José Matos  <jamatos@fep.up.pt>
14819
14820         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14821         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14822
14823         * paragraph.h:
14824         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14825
14826 2001-11-07  José Matos  <jamatos@fep.up.pt>
14827
14828         * buffer.h:
14829         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14830         const qualifier.
14831
14832         * buffer.C (sgmlOpenTag):
14833         * buffer.C (sgmlCloseTag): removed debug info.
14834
14835         * buffer.h (sgmlOpenTag):
14836         * buffer.h (sgmlCloseTag): made public.
14837
14838 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14839
14840         * buffer.C (saveParamsAsDefaults):
14841         * lyx_cb.C (MenuLayoutSave): remove
14842
14843         * LyXAction.C (init):
14844         * commandtags.h:
14845         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14846
14847 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14848
14849         * buffer.C (setPaperStuff): removed from here...
14850
14851         * bufferparams.C (setPaperStuff): ... and moved there.
14852
14853 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14854
14855         * minibuffer.h:
14856         * minibuffer.C:
14857         * XFormsView.C: add support for drop-down completion
14858
14859 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14860
14861         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14862         commands.
14863
14864 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14865
14866         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14867         disabled.
14868
14869 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14870
14871         * lyx_main.C: change ref to known bugs
14872
14873 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14874
14875         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14876         to work around older babel problems.
14877
14878 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14879
14880         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14881
14882 2001-10-24  Juergen Vigna  <jug@sad.it>
14883
14884         * tabular-old.C (ReadOld): below variable changes reflected.
14885
14886         * tabular.[Ch]: added ltType struct for longtable header/footer
14887         defines and changed all instances where they are used. Added
14888         future support for double top/bottom rows.
14889
14890 2001-10-24  José Matos  <jamatos@fep.up.pt>
14891
14892         * buffer.h (docbookHandleCaption):
14893         * buffer.C (docbookHandleCaption): removed unused function.
14894         (makeDocBookFile): moved docbook supported version to v4.1.
14895
14896 2001-10-24  José Matos  <jamatos@fep.up.pt>
14897
14898         * tabular.h:
14899         * tabular.C (docbookRow): new function to export docbook code of a row.
14900         (DocBook): now honors the longtable flags.
14901
14902 2001-10-23  José Matos  <jamatos@fep.up.pt>
14903
14904         * LaTeXFeatures.h:
14905         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14906         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14907
14908         * buffer.C (makeLinuxDocFile):
14909         (makeDocBookFile): reworked the preamble, more clean, and with
14910         support for lyx defined entities. Changed the document declaration
14911         to be more XML friendly.
14912
14913         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14914         if we need to output XML that should be done with a filter.
14915
14916 2001-10-22  Juergen Vigna  <jug@sad.it>
14917
14918         * sp_pspell.h (class PSpell): add alive function needed in the
14919         controller to see if the spellchecker could be started.
14920
14921 2001-10-22  Juergen Vigna  <jug@sad.it>
14922
14923         * buffer.C (insertStringAsLines): modify the font for inserting
14924         chars in certain conditions by calling checkInsertChar(font).
14925
14926 2001-10-19  Juergen Vigna  <jug@sad.it>
14927
14928         * text.C (workWidth): use getRow instead of wrong algorithm.
14929         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14930
14931 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14932
14933         * lyxserver.h:
14934         * lyxserver.C:
14935         * lyx_main.h:
14936         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14937
14938 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14939
14940         * text.C (workWidth): do not search for the exact row when
14941         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14942         optimization for big documents.
14943
14944 2001-10-18  Juergen Vigna  <jug@sad.it>
14945
14946         * text.C (workWidth): new function with added Inset * parameter.
14947
14948 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14949
14950         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14951
14952         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14953         change return type of getColumnNearX.
14954
14955
14956         * text.C (changeRegionCase): use uppercase/lowercase instead of
14957         toupper/tolower.
14958         (leftMargin):
14959         (rightMargin): simplify code by factoring out the uses of
14960         textclasslist.
14961         (labelFill):
14962         (numberOfHfills):
14963         (setHeightOfRow):
14964         (appendParagraph): use Paragraph::size_type
14965
14966 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14967
14968         * vspace.C (asLatexString): add a missing break
14969
14970 2001-10-15  Herbert Voss  <voss@perce.de>
14971
14972         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14973
14974 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14975
14976         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14977         is not available.
14978
14979 2001-10-10  André Pönitz <poenitz@gmx.net>
14980
14981         * lyxfunc.C: removed greek_kb_flag.
14982
14983 2001-10-10  Herbert Voss  <voss@perce.de>
14984
14985         * lyx_main.C: delete global string help_lyxdir.
14986
14987 2001-10-09  Herbert Voss  <voss@perce.de>
14988
14989         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14990
14991         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14992
14993         * lyx_main.C: added global string help_lyxdir.
14994
14995         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14996
14997 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14998
14999         * lyxrc.C (set_font_norm_type): support iso8859-4
15000
15001 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15002
15003         * LaTeX.C (deplog): add another regex for MikTeX
15004
15005 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15006
15007         * lyxrc.C (set_font_norm_type): support iso8859-3
15008
15009 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15010
15011         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15012
15013         * LaTeXFeatures.C: remove special case of french and index
15014
15015         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15016         before \begin{document}). This solves several incompatibilities.
15017
15018 2001-10-03  Garst Reese  <reese@isn.net>
15019
15020         * lyx_cb.C: change CheckTex error msg.
15021
15022 2001-10-03  José Matos  <jamatos@fep.up.pt>
15023
15024         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15025
15026 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15027
15028         * .cvsignore: update
15029
15030         * lyx_main.C (commandLineVersionInfo): use new style version info.
15031
15032         * buffer.C (writeFile):
15033         (makeLaTeXFile):
15034         (makeLinuxDocFile):
15035         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15036
15037         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15038
15039         * version.h: update to use stuff in version.C
15040
15041         * version.C.in: new file. Contains version information determined
15042         at compile time. This is a merging of version.h and
15043         version_info.h.in.
15044
15045 2001-10-03  Juergen Vigna  <jug@sad.it>
15046
15047         * BufferView_pimpl.C (update): don't change "dirty" status in
15048         updateInset call.
15049
15050 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15051
15052         * WorkArea.C (c-tor): re-position version string slightly.
15053
15054 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15055
15056         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15057         revert to previous code.
15058
15059         WorkArea.[Ch]: (show, destroySplash): methods removed.
15060
15061         WorkArea.C: rework code so that it's an amalgam of the codes before and
15062         after the splash screen was moved to WorkArea.
15063
15064 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15065
15066         * lyxrc.C (read):
15067         * vspace.C (inPixels):
15068         (lyx_advance):
15069         * kbmap.C (bind):
15070         * buffer.C (insertStringAsLines):
15071         (asciiParagraph): fix types to be large enough
15072
15073         * lyxlex_pimpl.h: change member status from short to int
15074
15075         * layout.h: fix type of endlabeltype
15076
15077         * kbmap.C (bind):
15078         * kbsequence.C (parse): change return type to string::size_type
15079
15080         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15081         variable
15082
15083         * Bullet.C (bulletSize):
15084         (bulletEntry): do not use short ints as parameters
15085
15086         * BufferView2.C (insertLyXFile): change a char to an int.
15087
15088         * WorkArea.C (WorkArea): remove unneeded floats in computation
15089
15090 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15091
15092         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15093
15094         * paragraph.C (asString): Do not ignore newline/hfill chars when
15095         copying to the clipboard.
15096
15097 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15098
15099         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15100         after a multi-line inset.
15101
15102 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15103
15104         * paragraph.C (validate): Set NeedLyXFootnoteCode
15105
15106 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15107
15108         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15109         and decrease-error to decrease.
15110
15111 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15112
15113         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15114         it more readable (should be equivalent)
15115
15116 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15117
15118         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15119
15120 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15121
15122         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15123         of a cursor (row, etc.) after a character has been deleted
15124         (deleteEmptyParagraphMechanism): call the method above on _all_
15125         cursors held by the LyXText when a double space has been
15126         detected/deleted.
15127
15128 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15129
15130         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15131         pixmap.
15132         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15133
15134         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15135         background. Use greyOut() and the new show() methods to toggle between
15136         the foreground and background. Add code to remove the splash after
15137         its initial showing.
15138
15139         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15140         (create_forms): no longer call Dialogs::showSplash.
15141
15142 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15143
15144         * .cvsignore: add version_info.h
15145
15146 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15147
15148         * version_info.h.in: new file
15149
15150         * Makefile.am: add version_info.h.in
15151
15152         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15153         version_info.h instead of VERSION_INFO
15154
15155 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15156
15157         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15158         The ERT inset now returns string().
15159
15160 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15161
15162         * lyxtext.h, text.C (selectNextWord): renamed as
15163         selectNextWordToSpellcheck.
15164
15165         * text.C (selectNextWordToSpellcheck): Modified to not select
15166         words inside an ERT inset.
15167
15168 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15169
15170         * lyx_cb.C (MenuLayoutSave): change a bit the question
15171
15172         * sp_base.h: include <sys/types.h>
15173
15174 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15175
15176         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15177
15178 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15179
15180         * several files: fix typos in user-visible strings
15181
15182 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15183
15184         * text2.C (pasteSelection): do not set the selection, since it
15185         will be cleared later. Actually, the intent was to fix the way the
15186         selection was set, but I figured rmoving the code was just as good.
15187
15188 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15189
15190         * FontLoader.C (available): Check if font is available without
15191         loading the font.
15192
15193 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15194
15195         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15196
15197 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15198
15199         * lyxrc.[Ch]: added display_graphics variable and associated code.
15200
15201 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15202
15203         * bufferparams.C (hasClassDefaults): new method. Returns true if
15204         the buffer parameters correspond to known class defaults
15205
15206 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15207
15208         * XFormsView.C (show): set minimum size to the main window.
15209
15210 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15211
15212         * text2.C (copySelection):
15213         (cutSelection):
15214         * lyxfind.C (LyXReplace):
15215         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15216         LyXText::selectionAsString.
15217
15218         * paragraph.C (asString): add "label" argument to the second form
15219
15220         * text2.C (selectionAsString): add "label" argument and pass it to
15221         Paragraph::asString.
15222
15223 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15224
15225         * lyx_main.C (commandLineHelp): remove version information
15226
15227 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15228
15229         * lyx_main.C: add -version commandline option
15230
15231 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15232
15233         * paragraph.h: make the optional constructor arg required instead.
15234         some modifications to other files because of this.
15235
15236         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15237
15238         * lyxserver.C (C_LyXComm_callback): make it static
15239
15240         * lyx_main.C (error_handler): make it static
15241
15242         * lyx_gui.C (LyX_XErrHandler): make it static
15243
15244         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15245
15246         * WorkArea.C: make the extern "C" methods static.
15247
15248         * Makefile.am (lyx_LDADD): simplify
15249
15250 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15251
15252         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15253         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15254
15255         * LyXAction.C (init):
15256         * lyxfunc.C (dispatch): associated code removal.
15257
15258 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15259
15260         * lyxfont.h (isSymbolFont): shut off warning
15261
15262         * text.C (setHeightOfRow):
15263         (getVisibleRow): fix crash with empty paragraphs which have a
15264         bottom line
15265
15266 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15267
15268         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15269         code.
15270
15271 2001-09-04  José Matos  <jamatos@fep.up.pt>
15272         * buffer.C
15273         * buffer.h
15274         * tabular.C (docbook): rename docBook method to docbook.
15275
15276 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15277
15278         * Makefile.am: add dependencies to main.o.
15279
15280 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15281
15282         * FontLoader.C (available): Return false if !lyxrc.use_gui
15283
15284 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15285
15286         * FontInfo.C (query):
15287         * converter.C (view):
15288         * importer.C (Import):
15289         * exporter.C (Export): Can not -> cannot.
15290
15291 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15292
15293         * BufferView_pimpl.C: allow to create index inset even if
15294           string is empty
15295
15296 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15297
15298         * buffer.C (getLists): replace boost::tie code with an explicit pair
15299         as boost::tie can break some compilers.
15300
15301         * iterators.h: Added a std:: declaration to the return type of
15302         ParIterator::size.
15303
15304 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15305
15306         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15307           case.
15308
15309 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15310
15311         * iterators.[Ch]: New files. Provide paragraph iterators.
15312
15313         * buffer.C (changeLanguage): Use paragraph iterators.
15314         (isMultiLingual): ditto
15315
15316         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15317
15318 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15319
15320         * FontLoader.C: Support for cmr font.
15321
15322 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15323
15324         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15325         (available): New method.
15326
15327         * FontInfo.C (getFontname): Use scalable fonts even when
15328         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15329         found.
15330
15331 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15332
15333         * converter.C (Formats::view): reverted! Incorrect fix.
15334
15335 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15336
15337         * converter.C (Formats::view): only output the -paper option
15338         if the dvi viewer is xdvi, thereby fixing bug #233429.
15339
15340 2001-08-23  Herbert Voss  <voss@perce>
15341
15342         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15343
15344 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15345
15346         * Spacing.h (Spacing): Set space to Default on in the default
15347         constructor.
15348
15349 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15350
15351         * vc-backend.h (RCS::versionString): add RCS to version
15352         (CVS::versionString): add CVS to version
15353
15354         * vc-backend.C (scanMaster): do not add CVS to version.
15355         (scanMaster): do not add RCS to version
15356
15357         * lyxvc.C (versionString): new method
15358
15359         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15360
15361 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15362
15363         * Spacing.C (set): initialize fval
15364
15365 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15366
15367         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15368         " or \.
15369
15370 2001-08-16  Juergen Vigna  <jug@sad.it>
15371
15372         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15373
15374 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15375
15376         * BufferView_pimpl.C:
15377         * figureForm.C:
15378         * lyxtext.h:
15379         * text2.C: setParagraph takes linespacing now
15380
15381 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15382
15383         * LyxAction.C: add internal LFUN_CITATION_INSERT
15384
15385         * LyXView.C: actually apply fix
15386
15387         * bufferlist.C: fix open non-existent file
15388
15389         * lyxfind.C: fix indentation
15390
15391         * lyxfunc.C: remove unneeded assert, fix typo
15392
15393 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15394
15395         * MenuBackend.C: use "Floatname List"
15396
15397 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15398
15399         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15400         when converting LaTeX layout to insetERT.
15401         Generate a non-collapsed float when reading old float
15402
15403 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15404
15405         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15406         ERT insets.
15407
15408 2001-08-13  Juergen Vigna  <jug@sad.it>
15409
15410         * text.C (fill): return 0 instead of 20 as this seems to be the more
15411         correct value.
15412
15413 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15414
15415         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15416         lyxrc.font_norm.
15417
15418 2001-08-13  Juergen Vigna  <jug@sad.it>
15419
15420         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15421         casesensitive off.
15422         (SearchBackward): comment out the unlocking of the inset_owner this
15423         should not be needed!
15424
15425 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15426
15427         * Many files: Remove inherit_language, and add latex_language
15428
15429         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15430         collapsible insets.
15431
15432 2001-08-10  Juergen Vigna  <jug@sad.it>
15433
15434         * text.C (prepareToPrint): fixed hfill-width in draw!
15435
15436         * BufferView2.C (selectLastWord): save the selection cursor as this
15437         now is cleared in the function LyXText::clearSelection!
15438
15439 2001-08-08  Juergen Vigna  <jug@sad.it>
15440
15441         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15442         BACKSPACE type functions.
15443
15444         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15445         is only cutted from the document but not put in the cut-buffer, where
15446         still the old stuff should be.
15447
15448         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15449
15450         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15451
15452         * tabular.C (SetWidthOfCell): fixed special case where the width
15453         was not updated!
15454         (LeftLine): handle '|' in align_special.
15455         (RightLine): ditto
15456         (LeftAlreadyDrawed): ditto
15457         (SetWidthOfCell): ditto
15458
15459 2001-08-07  Juergen Vigna  <jug@sad.it>
15460
15461         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15462
15463 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15464
15465         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15466         * lyxlex.[hC]: ditto
15467
15468 2001-08-06  Juergen Vigna  <jug@sad.it>
15469
15470         * text.C (getVisibleRow): fix up row clearing a bit.
15471
15472 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15473
15474         * minibuffer.C: make sure the X server sees the changes in the input.
15475
15476 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15477
15478         * paragraph.C (getFont): split into...
15479         (getLabelFont): this
15480         (getLayoutFont): and this
15481         * paragraph_pimpl.C (realizeFont): calling this
15482
15483         * text2.C (getFont): split into...
15484         (getLayoutFont): this
15485         (getLabelFont): and this
15486         (realizeFont): all three calling this
15487
15488         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15489         files where used.
15490
15491 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15492
15493         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15494
15495 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15496
15497         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15498         layouts from the Quote inset insertion.
15499
15500 2001-08-03  Juergen Vigna  <jug@sad.it>
15501
15502         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15503
15504         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15505         only if status not is already CHANGED_IN_DRAW (second level).
15506
15507         * text.C (draw): don't set the need_break_row when inside an
15508         InsetText LyXText.
15509
15510 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15511
15512         * buffer.C (parseSingleLyXformat2Token): handle more latex
15513         conversion cases.
15514
15515         * bufferview_funcs.[hC]: change function names to
15516         begin with small char, adjust other files.
15517
15518 2001-08-02  André Pönitz <poenitz@gmx.net>
15519
15520         * lyxfunc.C:
15521         BufferView_pimpl.C: remove broken special code for math-greek
15522
15523 2001-08-02  Juergen Vigna  <jug@sad.it>
15524
15525         * BufferView_pimpl.C (update): redone this function so that we
15526         update the text again if there was a CHANGE_IN_DRAW.
15527
15528         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15529         (drawFromTo): added a new internal bool which is used by draw() and
15530         redraw() function.
15531         (general): some cursor drawing problems fixed.
15532
15533 2001-08-01  Juergen Vigna  <jug@sad.it>
15534
15535         * lyxfind.C (LyXFind): fixed
15536         (SearchForward): ditto
15537         (SearchBackward): ditto
15538
15539         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15540         spurius drawing of the cursor in the main area.
15541
15542         * text2.C (status): small fix which could lead to a segfault!
15543         (clearSelection): remove unneeded BufferView param.
15544
15545 2001-08-01  André Pönitz <poenitz@gmx.net>
15546
15547         * lyxfunc.C: small change due to changed mathed interface
15548
15549 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15550
15551         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15552
15553 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15554
15555         * lyxfunc.c: fail gracefully if file doesn't exist
15556
15557         * LyXSendto.C:
15558         * buffer.C:
15559         * lyxfunc.C:
15560         * BufferView_pimpl.C: IsDirWriteable() proto changed
15561
15562         * LyXView.C: fix updateWindowTitle() to store the last title
15563
15564 2001-07-31  Juergen Vigna  <jug@sad.it>
15565
15566         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15567         the font (wrong since using of Paragraph::highestFontInRange).
15568
15569         * paragraph.C (highestFontInRange): added a default_size parameter.
15570
15571         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15572         (setHeightOfRow): reformat
15573
15574 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15575
15576         * converter.[hC] + affected files: move to (inital-char)lowercase
15577         function names.
15578
15579         * ParagraphParameters.C (ParagraphParameters): remove commented code
15580
15581         * PainterBase.[Ch]: remove commented code
15582
15583         * LaTeXFeatures.h: add "bool floats" for float.sty
15584
15585         * LaTeXFeatures.C (LaTeXFeatures): init floats
15586         (require): handle float
15587         (getPackages): do it with floats
15588
15589 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15590
15591         * BufferView_pimpl.C (Dispatch): improve handling of
15592         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15593
15594         * commandtags.h: #include lyxfont.h here temporarily to avoid
15595         keybinding bug.
15596
15597         * bufferlist.h: include LString.h here.
15598
15599 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15600
15601         * text2.C (getStringToIndex): new method.
15602
15603 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15604
15605         * *: Reduced header file dependencies all over.
15606
15607 2001-07-30  Baruch Even  <baruch@lyx.org>
15608
15609         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15610
15611 2001-07-29  Baruch Even  <baruch@lyx.org>
15612
15613         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15614
15615 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15616
15617         * ParameterStruct.h (endif): add a default constructor to make
15618         sure that all variables is initialized.
15619
15620         * ParagraphParameters.C (ParagraphParameters): adjust
15621
15622 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15623
15624         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15625         index; also, check that there is something to index, and that it
15626         does not span over several paragraphs.
15627         (doubleClick): use WHOLE_WORD_STRICT for double click.
15628
15629         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15630
15631         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15632         scheme.
15633
15634 2001-07-26  Baruch Even  <baruch@lyx.org>
15635
15636         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15637         an InsetFig figure, backwards compatible reading of old figure code.
15638
15639 2001-07-27  Juergen Vigna  <jug@sad.it>
15640
15641         * text2.C: font.realize function adaption.
15642
15643         * text.C (draw): add a warnings lyxerr text if needed.
15644
15645         * layout.C: font.realize function adaption.
15646
15647         * language.C: add inherit_language and implement it's handlings
15648
15649         * bufferview_funcs.C (StyleReset): remove language parameter from
15650         font creation (should be language_inherit now).
15651
15652         * bufferparams.C (writeFile): handle ignore_language.
15653
15654         * paragraph.C (getFontSettings): the language has to be resolved
15655         otherwise we have problems in LyXFont!
15656
15657         * lyxfont.C (lyxWriteChanges): added document_language parameter
15658         (update): removed unneeded language parameter
15659
15660         * paragraph.C (validate): fixed wrong output of color-package when
15661         using interface colors for certain fonts in certain environments,
15662         which should not seen as that on the final output.
15663
15664 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15665
15666         * BufferView_pimpl.C:
15667         * Thesaurus.h:
15668         * Thesaurus.C:
15669         * Makefile.am:
15670         * commandtags.h:
15671         * LyXAction.C: add thesaurus support
15672
15673         * lyxfind.h:
15674         * lyxfind.C: add "once" parameter, for thesaurus, to not
15675           move to the next match
15676
15677 2001-07-26  Juergen Vigna  <jug@sad.it>
15678
15679         * lyxfont.C (realize): honor ignore_language too!
15680         (resolved): ditto.
15681
15682         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15683
15684         * text.C (draw): one place more for ignore_language to not draw
15685         itself!
15686
15687 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15688
15689         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15690
15691 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15692
15693         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15694         the minipage conversion problem.
15695
15696 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15697
15698         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15699         insert an inset.
15700
15701 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15702
15703         * BufferView.h: don't forward declare WorkArea
15704
15705         * BufferView.C: don't include WorkArea.h
15706
15707 2001-07-25  André Pönitz <poenitz@gmx.net>
15708
15709         * commandtags.h:
15710         * LyXAction.C:
15711         * lyxfunc.C:  new LFUN 'math-space'
15712
15713         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15714
15715 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15716
15717         * text2.C (toggleInset): call open/close
15718
15719 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15720
15721         * lyxfunc.C (dispatch): add debug for the disabled case
15722
15723         * font.C (buttonText): make similar to rectText
15724
15725         * buffer.C (readInset): comment out parsing of insetlist and
15726         insttheorem
15727
15728         * PainterBase.C (rectText): small correction
15729
15730         * BufferView_pimpl.C: comment out insettheorem and insetlist
15731         * LyXAction.C: ditto
15732         * commandtags.h: ditto
15733
15734 2001-07-24  Juergen Vigna  <jug@sad.it>
15735
15736         * text.C (draw): honor the ignore_language.
15737
15738         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15739
15740 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15741
15742         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15743         char inset.
15744
15745 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15746
15747         * lyxtext.h: remove unused (and unimplemented) methods
15748
15749 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15750
15751         * text.C (getVisibleRow): honor background color
15752
15753         * PainterBase.h:
15754         * Painter.h: remove default color argument for fillRectangle
15755
15756         * text.C (backgroundColor): new method
15757
15758 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15759
15760         * text.C (getVisibleRow): adjust
15761
15762         * font.[Ch] (rectText): new method, metrics
15763         (buttonText): new method, metrics
15764
15765         * PainterBase.[hC]: make rectText and buttonText always draw and take
15766         fewer paramteres.
15767
15768 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15769
15770         * ToolbarDefaults.C (read):
15771         * MenuBackend.C (read): allow escaping in all strings
15772
15773         * BufferView_pimpl.C (insertAndEditInset): new method.
15774         (Dispatch): use insertAndEditInset whenever appropriate.
15775
15776         * BufferView_pimpl.C (insertNote): removed
15777
15778         * BufferView_pimpl.C (smartQuote): new method, moved from
15779         BufferView; if an insetquote cannot be inserted, insert a '"'
15780         character instead.
15781
15782         * BufferView2.C: remove insertCorrectQuote();
15783
15784         * lyxfunc.C (getStatus): Add support for all remaingin
15785         inset-insert lfuns.
15786
15787         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15788
15789         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15790         command (necessary to pass " as parameter of self-insert.
15791
15792         * text.C (selectWordWhenUnderCursor):
15793         (selectWord): add word_location parameter
15794         (selectWordWhenUnderCursor): same + remove special code for word
15795         boundary.
15796         (selectNextWord): use kind() to guess type of insetspecialchar,
15797         not latex().
15798
15799         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15800         (insertErtContents): create ert insets as collapsed.
15801         (readInset): better compatibility code for Info inset.
15802
15803 2001-07-20  Juergen Vigna  <jug@sad.it>
15804
15805         * lyxfunc.C (dispatch): use always LyXFind now!
15806
15807         * text2.C (init): add a reinit flag so that the LyXText can be
15808         reinited instead of deleted and reallocated (used in InsetText).
15809
15810         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15811
15812         * text.C: ditto
15813
15814         * text2.C: ditto
15815
15816 2001-07-18  Juergen Vigna  <jug@sad.it>
15817
15818         * text.C (selectNextWord): handle insets inside inset by calling
15819         always the bv->text functions so that we can go up the_locking_inset!
15820
15821         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15822         in strange locations when inside an inset!
15823
15824         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15825         handling to include insets.
15826
15827         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15828
15829 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15830
15831         * LyXAction.C (init):
15832         * commandtags.h:
15833         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15834         LIGATURE_BREAK, since the name is so stupid.
15835
15836 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15837
15838         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15839         InsetInfos.
15840
15841         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15842
15843         * sp_form.[Ch]: remove.
15844
15845         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15846
15847         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15848         InsetInfo.
15849
15850         * src/buffer.C (readInset): ditto.
15851
15852 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15853
15854         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15855         menuSeparator(), endOfSentenceDot(), ldots() and
15856         hyphenationPoint(), which are therefore removed.
15857         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15858
15859         * LyXAction.C (init):
15860         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15861
15862         * paragraph.C (getWord): removed.
15863
15864         * BufferView_pimpl.C (Dispatch): use last word or selection for
15865         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15866
15867         * lyx_main.C (queryUserLyXDir): do not ask before creating
15868         user_dir, except if it has been named explicitely.
15869
15870 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15871
15872         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15873         a document of zero size.
15874
15875 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15876
15877         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15878         approriately in the c-tor and in require().
15879         (getPackages): output the appropriate LaTeX for natbib support.
15880
15881         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15882         variables "use_natbib" and "use_numerical_citations" when reading the
15883         LyX file.
15884         (readInset): read the various natbib cite commands.
15885         (validate): white-space change.
15886
15887         * bufferparams.[Ch]: new variables "bool use_natbib" and
15888         "bool use_numerical_citations".
15889         (writeFile): output them in the LyX file.
15890
15891 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15892
15893         * lyxfunc.C (getStatus): add support for all the inset insertion
15894         commands.
15895
15896         * text2.C (insertInset):
15897         * paragraph.C (insetAllowed):
15898         * BufferView_pimpl.C (insertInset): update to take in account the
15899         renaming of insertInsetAllowed
15900
15901         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15902
15903         * text2.C (getInset): new method. returns inset at cursor position.
15904
15905         * BufferView_pimpl.C (Dispatch): changes because of this.
15906
15907         * LyXAction.C (init): rename open-stuff to inset-toggle.
15908
15909         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15910
15911         * text2.C (toggleInset): renamed from openStuff; use
15912         Inset::open().
15913
15914 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15915
15916         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15917
15918         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15919
15920 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15921
15922         * buffer.C (readLyXformat2): Add filename to the error dialog
15923
15924 2001-07-18  Juergen Vigna  <jug@sad.it>
15925
15926         * tabular.C (GetCellNumber): put an assert here instead of the check!
15927
15928 2001-07-17  Juergen Vigna  <jug@sad.it>
15929
15930         * BufferView_pimpl.C (toggleSelection): adapted too.
15931
15932         * text.C (selectNextWord): adapted for use with insets.
15933         (selectSelectedWord): ditto
15934
15935 2001-07-17  Juergen Vigna  <jug@sad.it>
15936
15937         * sp_spell.C (PSpell): fix initialitation order.
15938
15939 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15940
15941         * paragraph.C: spacing
15942
15943 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15944
15945         * sp_spell.C: repair language selection for pspell
15946
15947 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15948
15949         * lyxfunc.h: change more methods to begin with lower char.
15950
15951 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15952
15953         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15954         for unknown layouts.
15955
15956 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15957
15958         * buffer.C (readLyXformat2): Generate an error dialog if there are
15959         unknown layouts.
15960
15961 2001-07-16  Juergen Vigna  <jug@sad.it>
15962
15963         * sp_spell.C: always compile ISpell part.
15964
15965         * lyxrc.C: added use_pspell entry and it's handling.
15966
15967 2001-07-13  Juergen Vigna  <jug@sad.it>
15968
15969         * sp_spell.C: removed double includes.
15970
15971 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15972
15973         Consistent use of Lsstream.h:
15974         * Lsstream.h: added using std::stringstream for consistencies sake.
15975
15976         * buffer.C: removed using std::stringstream
15977
15978         * lyxfont.C (stateText):
15979         * paragraph.C (asString):
15980         * text.C (selectNextWord, selectSelectedWord):
15981         * text2.C (setCounter):
15982         * vspace.C (asString, asLatexString):
15983         std::ostringstream -> ostringstream.
15984
15985 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15986
15987         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15988         * commandtags.h: add LFUN_HELP_ABOUTLYX
15989         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15990
15991 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15992
15993         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15994         cursorToggle()
15995         * lyx_gui_misc.C: remove spellchecker
15996         * lyxfunc.C: showSpellchecker
15997         * sp_base.h: added
15998         * sp_ispell.h: added
15999         * sp_pspell.h: added
16000         * sp_spell.C: added
16001         * sp_form.[Ch]: removed
16002         * spellchecker.[Ch]: removed
16003
16004 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16005
16006         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16007         is set.
16008         (simpleTeXSpecialChars): Simply print the input character without
16009         any special translation if pass_thru is set.
16010
16011         * layout.h: Added bool pass_thru to layout class for being able to
16012         implement pass through of a paragraph for Literate Programming.
16013
16014         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16015         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16016         * layout.C (Read): add "passthru" to list of layout tags and add
16017         code to set the pass_thru boolean when it is read.
16018
16019 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16020
16021         * trans_decl.h: remove allowed from KmodInfo
16022
16023         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16024         remove allowed code
16025         (Load): adjust
16026
16027         * paragraph_pimpl.C (erase): use boost::prior
16028
16029         * Painter.C (text): use data() instead of c_str() when length is
16030         also provided.
16031         * WorkArea.C (putClipboard): ditto
16032         * font.h (width): ditto
16033
16034         * BufferView2.C: use it-> instead of (*it). for iterators
16035         * texrow.C: ditto
16036         * paragraph_pimpl.C: ditto
16037         * paragraph.C: ditto
16038         * minibuffer.C: ditto
16039         * language.C: ditto
16040         * kbmap.C: ditto
16041         * encoding.C: ditto
16042         * counters.C: ditto
16043         * converter.C: ditto
16044         * chset.C: ditto
16045         * Variables.C: ditto
16046         * TextCache.C: ditto
16047         * MenuBackend.C: ditto
16048         * LyXAction.C: ditto
16049         * LColor.C: ditto
16050         * FloatList.C: ditto
16051         * DepTable.C: ditto
16052         * ColorHandler.C (LyXColorHandler): ditto
16053
16054 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16055
16056         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16057
16058         * text2.C (openStuff): reintroduce this method (which had been
16059         nuked in NEW_INSETS frenzy).
16060
16061         * lyxfunc.C (Dispatch): when an action has not been handled, use
16062         its name in the error message, not its number.
16063
16064         * paragraph.C (inInset): change method name to begin with lowercase.
16065
16066         * undo_funcs.C:
16067         * text2.C: updates because of this.
16068
16069 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16070
16071         * ToolbarDefaults.C (add): add spaces in error message
16072
16073 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16074
16075         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16076         (readLyXformat2): rename return_par to first_par, use lyxlex's
16077         pushToken and remove the manual push handling.
16078         (parseSingleLyXformat2Token): add another ert comp. variable:
16079         in_tabular, rename return_par to first_par. handle newlines better
16080
16081 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16082
16083         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16084
16085 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16086
16087         * text2.C (getParFromID): removed
16088
16089         * buffer.C (getParFromID): new method moved form lyxtext.
16090         * BufferView2.C (insertErrors): adjust
16091         (setCursorFromRow): adjust
16092         * BufferView_pimpl.C (restorePosition): adjust
16093         * lyxfunc.C (Dispatch): adjust
16094         * undo_funcs.C (textUndo): adjust
16095         (textRedo): adjust
16096         (textHandleUndo): adjust
16097         (textHandleUndo): adjust
16098
16099 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16100
16101         * buffer.C: up' the LYX_FORMAT
16102
16103         * lyxfont.h: turn NO_LATEX on as default
16104
16105         * buffer.C (insertErtContents): new methods of tex style compability.
16106         (parseSingleLyXformat2Token): use it several places.
16107         * tabular.C (OldFormatRead): and here
16108
16109 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16110
16111         * text2.C: remove some commented code.
16112         reindent file.
16113
16114         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16115         * trans.C: changes because of the above.
16116
16117 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16118
16119         * text2.C (setCounter): Fix counters bug with bibliography layout.
16120
16121 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16122
16123         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16124         own member functions
16125         (simpleTeXSpecialChars): ditto
16126
16127 2001-07-06  Juergen Vigna  <jug@sad.it>
16128
16129         * a lot of files: changed the access to LyXText::status and the
16130         call of undo-functions.
16131
16132         * undo.[Ch]: added a inset_id to the undo informations.
16133
16134         * undo_funcs.[Ch]: added and moved here all undo functions.
16135
16136         * lyxtext.h: give the status enum a weight, made status_ a private
16137         variable and made accessor functions for it, removed the whole bunch
16138         of undo-functions as they are now in their own file, make some
16139         functions publically available. Added function ownerParagraph with
16140         int parameter.
16141
16142         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16143         made InInset() a const function, added getParFromID() function.
16144
16145         * buffer.[Ch]: added const version for inset_iterator functions,
16146         added getInsetFromID() function.
16147
16148         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16149         changed undo functions for new version.
16150
16151 2001-07-05  Juergen Vigna  <jug@sad.it>
16152
16153         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16154         unknow mechanism does not call the proper constructor but only this
16155         one also if I request the other!?
16156
16157 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16158
16159         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16160
16161         * text2.C (LyXText): use initialization lists.
16162
16163         * lyxtext.h (Selection): initialize set_ and mark_
16164         (init): remove method
16165
16166 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16167
16168         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16169
16170 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16171
16172         * screen.[Ch]: change method names to begin with lowercase
16173
16174         * BufferView_pimpl.C (updateScrollbar): simplify further and
16175         hopefully make it a bit faster.
16176
16177 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16178
16179         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16180         calling directly xforms functions.
16181
16182         * Painter.C (Painter):
16183         * lyx_cb.C (MenuWrite):
16184         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16185         fl_display.
16186
16187         * lyx_gui.C: remove bogus guiruntime extern declaration.
16188
16189 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16190
16191         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16192         in NEW_INSETS
16193         (redoDrawingOfParagraph): ditto
16194         (redoParagraphs): ditto
16195         (cutSelection): don't create a object for CutAndPaste use the
16196         static method directly
16197         (pasteSelection): ditto
16198
16199         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16200         LyXview (+ rename)
16201
16202 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16203
16204         * modifications to some other files because of this.
16205
16206         * Makefile.am (lyx_SOURCES): add XFormsView
16207
16208         * XFormsView.[Ch]: new files
16209
16210         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16211         the main window. Move the gui dependent stuff to XFormsView
16212
16213 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16214
16215         * tabular.C (GetCellInset): update cur_cell also in the row/col
16216         version of this function.
16217
16218         * lyxfunc.C: no need to include figure_form.h here.
16219
16220         * FontLoader.h:
16221         * lyxfunc.h:
16222         * lyxscreen.h:
16223         * text2.C:
16224         * lyxvc.C: no need to include forms.h here.
16225
16226 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16227
16228         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16229
16230         * lyxfunc.C (Dispatch):
16231         * Spacing.C (set):
16232         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16233         constructor argument.
16234
16235 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16236
16237         * paragraph.C (Paragraph): dont't clear, and just set layout.
16238         (makeSameLayout): use params's copy contructor.
16239
16240         * ParagraphParameters.[Ch] (makeSame): delete method
16241
16242 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16243
16244         * Variables.[Ch]: fix indentation, rename set to isSet
16245
16246 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16247
16248         * lyxfunc.C (Dispatch): fix typo
16249
16250 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16251
16252         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16253         upper_bound.
16254
16255         * bufferlist.C: include assert.h for emergencyWrite().
16256
16257 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16258
16259         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16260           give up at last (bug #425202) !
16261
16262 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16263
16264         * lyx_gui_misc.C:
16265         * sp_form.h:
16266         * sp_form.C:
16267         * spellchecker.h:
16268         * spellchecker.C: strip spellchecker options and bring up
16269           preferences tab instead
16270
16271 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16272
16273         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16274         the istringstream constructor
16275
16276 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16277
16278         * paragraph.C (getLayout): fix return value
16279
16280         * paragraph.h: do not declare getLayout as inline.
16281
16282         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16283
16284 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16285
16286         * lyxcursor.h (operator<): new func
16287         (operator>): new func
16288         (operator>=): new func
16289         (operator<=): new func
16290
16291         * text.C (changeCase): use selection.start and selection.end
16292         (changeRegionCase): require from to be <= to. Require par to be a
16293         valid paragraph.
16294
16295         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16296
16297 2001-06-27  Juergen Vigna  <jug@sad.it>
16298
16299         * text.C (cursorLeftOneWord): changed to return the cursor and added
16300         overlay with BufferView * parameter which calls this one.
16301         (getWord): added
16302         (selectWord): use new getWord function.
16303         (changeCase): renamed from changeWordCase as and extended to work
16304         also on selections.
16305
16306         * lyxtext.h: added enum word_location
16307
16308         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16309         changeCase as this operates now also on selections.
16310
16311 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16312
16313         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16314
16315         * many files: send debug output to Debug::INFO instead of
16316         Debug::ANY.
16317
16318         * converter.C (View):
16319         (Convert):
16320         (Move): send debug output to Debug::FILES instead of console.
16321
16322 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16323
16324         * lyxfunc.C (getStatus): use func_status
16325
16326         * func_status.h: new header, describing the results of
16327         LyXFunc::getStatus;
16328
16329         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16330         LFUN_MATH_HALIGN.
16331
16332 2001-06-25  The LyX Project  <jug@sad.it>
16333
16334         * buffer.C (sgmlOpenTag):
16335         (sgmlCloseTag):
16336         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16337
16338 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16339
16340         * text2.C: remove some dead code
16341
16342         * tabular.C (GetCellInset): store the last cell checked (gotten)
16343
16344         * tabular.h: add the helper for the speedup
16345
16346         * lyxtext.h: remove some dead code
16347
16348 2001-06-26  The LyX Project  <Asger>
16349
16350         * paragraph.C: Change export to LaTeX of alignment to
16351         \begin{center} and family for better roundtrip work with reLyX.
16352
16353         * Tune the math drawing a bit.
16354
16355 2001-06-25  The LyX Project  <Asger>
16356
16357         * LColor.C (LColor): New color for math background. New color
16358         for buttons.
16359
16360 2001-06-25  The LyX Project  <jug@sad.it>
16361
16362         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16363
16364         * lyxfunc.C (Open):
16365         * bufferlist.C (newFile): do not restrict to files ending with
16366         .lyx
16367
16368         * BufferView_pimpl.C (MenuInsertLyXFile):
16369
16370 2001-06-24  The LyX Project  <jug@sad.it>
16371
16372         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16373         of compare_no_case
16374
16375 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16376
16377         * lyxtext.h: rename most methods to begin with a small char.
16378         Lots of changes because of this.
16379
16380         * paragraph.C (Paragraph): do not call fitToSize
16381         (erase): call Pimpl::erase
16382         (insertChar): call Pimpl::insertChar
16383         (insertInset): call Pipl::insertInset
16384         (breakParagraph): do not call fitToSize
16385         (breakParagraphConservative): do not call fitToSize
16386         (fitToSize): remove method
16387
16388         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16389
16390 2001-06-24  The LyX Project  <Asger>
16391
16392         * Fix Qt compilation^2
16393
16394 2001-06-24  The LyX Project  <jug@sad.it>
16395
16396         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16397         depthHook(getDepth()-1).
16398
16399         * paragraph.h:
16400         * ParagraphParameters.h:
16401         * ParameterStruct.h: change type of depth to unsigned int ==
16402         depth_type. Many adaptations to other files before of that.
16403
16404 2001-06-24  The LyX Project  <Asger>
16405
16406         * Fix Qt compilation.
16407
16408 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16409
16410         * paragraph.h: renamed several methods to begin with small letter.
16411         several changes to many parts of the code because of this.
16412
16413 2001-06-23  The LyX Project  <jug@sad.it>
16414
16415         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16416         rewritten to discard all double spaces when KeepEmpty is off
16417         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16418         to only handle newlines but not fiddle with spaces and friends.
16419
16420         * lyxfunc.C (MenuNew): when doing 'new from template', use
16421         template_path as default directory
16422
16423 2001-06-23  The LyX Project  <Asger>
16424
16425         * Clean-up of header file includes all over
16426         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16427
16428 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16429
16430         * paragraph.h: renamed from lyxparagraph.h
16431
16432 2001-06-23  Asger  <lyx@violet.home.sad.it>
16433
16434         * Buffer.h: Removed Buffer::resize
16435         * BufferList.h: Removed BufferList::resize
16436         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16437         the document lazily when we change the width, or the font settings.
16438
16439 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16440
16441         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16442
16443 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16444
16445         * buffer.h: remove out of date comment
16446
16447 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16448
16449         * lyxscreen.h:
16450         * screen.C: fix "theoretical" GC leak
16451
16452 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16453
16454         * LaTeX.C (scanAuxFile):
16455         (deplog): remove trailing \r when reading stream (useful under
16456         win32)
16457
16458 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16459
16460         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16461         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16462         and BufferView::theLockingInset(Inset*), so should use them and not
16463         access bv_->text->the_locking_inset directly.
16464
16465         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16466
16467 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16468
16469         * Makefile.am:
16470         * tex-defs.h: remove old unused file
16471
16472 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16473
16474         * BufferView_pimpl.C: fix typo, remove minibuffer message
16475           when buffer has loaded
16476
16477 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16478
16479         * lyxfunc.C (Dispatch): use stringstream
16480         (MenuNew): use stringstream
16481         (Open): use stringstream
16482
16483         * importer.C (Import): use stringstream
16484
16485         * bufferview_funcs.C (CurrentState): use stringstream
16486
16487         * LaTeX.C (run): use stringstream
16488
16489         * BufferView_pimpl.C (savePosition): use stringstream
16490         (restorePosition): use stringstream
16491         (MenuInsertLyXFile): use stringstream
16492
16493 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16494
16495         * BufferView.C:
16496         * Bullet.C:
16497         * ColorHandler.C:
16498         * FontInfo.C:
16499         * FontLoader.C:
16500         * LColor.C:
16501         * LaTeXFeatures.C:
16502         * Painter.C:
16503         * gettext.C:
16504         * lyx_gui_misc.C:
16505         * lyxserver.C:
16506         * vspace.C: removed // -*- C++ -*- as first line.
16507
16508         * lyxfind.h:
16509         * version.h: added // -*- C++ -*- as first line.
16510
16511 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16512
16513         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16514
16515         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16516         of string
16517
16518 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16519
16520         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16521         of floats.
16522
16523 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16524
16525         * gettext.C: include LString.h even when --disable-nls is on.
16526
16527 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16528
16529         * converter.h (Get): changed argument type from int to
16530         FormatList::size_type to avoid unnecessary conversion.
16531
16532         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16533         before using it.
16534
16535 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16536
16537         * gettext.h: include LString.h even when --disable-nls is on.
16538
16539 2001-06-07  Juergen Vigna  <jug@sad.it>
16540
16541         * text.C (BreakAgain): subst spaces with tabs.
16542
16543         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16544         (resizeInsetsLyXText): set force on resizeLyXText.
16545
16546 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16547
16548         * gettext.h (gettext_init):
16549         (locale_init): use a real definition instead of a macro
16550
16551 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16552
16553         * Bufferview_pimpl.C:
16554         * LColor.h:
16555         * LColor.C: further lcolor tidies
16556
16557 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16558
16559         * BufferView_pimpl.C (updateScrollbar): simplify.
16560
16561         * BufferView2.C: don't include insets/insetinfo.h, change
16562         prototype for insertInset and call the Pimpl version. let
16563         updateInset call Pimpl version.
16564
16565         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16566         gotoInset to BufferView::Pimpl
16567
16568 2001-06-01  Juergen Vigna  <jug@sad.it>
16569
16570         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16571         inside a LockingInset (is the update needed at all?).
16572
16573 2001-05-31  Juergen Vigna  <jug@sad.it>
16574
16575         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16576         here not the old one otherwise how should we compare it afterwards
16577         if it's the same!
16578
16579 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16580
16581         * lyxfont.C:
16582         * tabular.C:
16583         * tabular-old.C:
16584         * FontInfo.C: bring C functions into global namespace when
16585         necessary
16586
16587 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16588
16589         * LString.h: make sure config.h has been loaded before LString.h.
16590
16591         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16592         (one for each char read by EatLine!).
16593
16594         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16595         variables.
16596
16597 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16598
16599         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16600         to the same as the par we break from
16601
16602 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16603
16604         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16605
16606         * MenuBackend.C (expand): also create menu entries for wide
16607         versions of the floats.
16608
16609         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16610
16611         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16612
16613         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16614         frontends/Makefile.am
16615
16616         * text2.C: adjust
16617         * text.C: adjust
16618
16619
16620         * tabular.C (getTokenValue): add std::
16621
16622         * tabular-old.C (getTokenValue): add std::
16623         (getTokenValue): ditto
16624         (getTokenValue): ditto
16625
16626         * screen.C (ToggleSelection): adjust
16627
16628         * lyxtext.h: put selection cursors inside a Selection struct.
16629
16630         * lyxfunc.C (moveCursorUpdate): adjust
16631
16632         * lyxfont.C (latexWriteStartChanges): add std::
16633
16634         * lyxfind.C: adjust
16635
16636         * font.h: delete with(char const *, LyXFont const &)
16637
16638         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16639
16640         * FontInfo.C (getFontname): add std::
16641
16642         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16643         (workAreaButtonPress): adjust
16644         (tripleClick): adjust
16645         (update): adjust
16646         (moveCursorUpdate): adjust
16647         (Dispatch): adjust
16648
16649         * BufferView2.C (gotoInset): adjust
16650
16651 2001-05-30  Juergen Vigna  <jug@sad.it>
16652
16653         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16654         to check pspell I add this as default as I now have new pspell
16655         libraries and they seem to use this.
16656
16657 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16658
16659         * text2.C (CutSelection): make the cursor valid before the call to
16660         ClearSelection.
16661
16662 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16663
16664         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16665         relied on 0 terminated strings and other horrors. Bug found due to
16666         the new assert in lyxstring!
16667
16668         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16669         KP_ keys.
16670
16671 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16672
16673         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16674         to latinkeys.bind.
16675
16676         * lyxfunc.C (processKeySym): change method of getting to the
16677         self-insert char.
16678
16679         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16680         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16681         * BufferView_pimpl.[Ch]: here as private methods.
16682
16683 2001-05-28  Juergen Vigna  <jug@sad.it>
16684
16685         * text.C (SetHeightOfRow): added the update() call again as it is
16686         needed to initialize inset dimensions!
16687
16688 2001-05-16  Juergen Vigna  <jug@sad.it>
16689
16690         * text2.C (SetCharFont): Add new function with BufferView * and
16691         bool toggleall parameters for setting insets internal fonts.
16692         (SetFont): Freeze the undo as we may change fonts in Insets and
16693         all this change should be inside only one Undo!
16694
16695         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16696         setting font's in insets as for them we have the SetFont function!
16697
16698 2001-05-15  Juergen Vigna  <jug@sad.it>
16699
16700         * text2.C (ClearSelection): to be sure we REALLY don't have any
16701         selection anymore!
16702
16703         * tabular.C (TeXCellPreamble): fixed the left border problem for
16704         multicolumn cells.
16705
16706 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16707
16708         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16709         dependancy file
16710
16711 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16712
16713         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16714         LFUN_BREAKPARAGRAPH.
16715
16716         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16717         help test to "internal only", similar for LFUN_INSERT_URL
16718
16719         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16720         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16721         auto_region_delete and deadkeys.
16722
16723 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16724
16725         * LColor.h:
16726         * LColor.C: remove some dead entries, tidy a little
16727
16728 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16729
16730         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16731         commented code.
16732         (Dispatch): implement LFUN_ESCAPE
16733
16734         * commandtags.h: add LFUN_ESCAPE
16735
16736         * LyXAction.C (init): add entry for LFUN_ESCAPE
16737
16738         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16739         Remove commented code.
16740         (insertNote): moved here
16741         (open_new_inset): moved here
16742
16743         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16744         BufferView_pimpl
16745
16746 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16747
16748         * kbmap.C (findbinding): clean it up and make it work correctly.
16749
16750         * lyx_main.C (init): do not pass argc and argv as parameters
16751
16752 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16753
16754         * buffer.C: fix path for OS/2 & Win32
16755
16756         * lyx_gui.C:
16757         * lyx_main:
16758         * lyx_main.C: Added os:: class.
16759
16760         * os2_defines.h: update
16761
16762 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16763
16764         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16765         better by trying again with reduced state.
16766
16767 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16768
16769         * lyxrc.C (read): print error about invalid key sequence only when
16770         debugging (because not all latinX keysyms are known to some X
16771         servers)
16772
16773         * kbsequence.C (getiso): add a few std:: qualifiers
16774         (getiso): comment out extra return statement.
16775
16776 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16777
16778         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16779         handling.
16780         (Dispatch): enhance the accent inset a bit. (not perfect)
16781
16782 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16783
16784         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16785
16786 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16787
16788         * bufferlist.C (emergencyWrite): fix assert() call
16789
16790 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16791
16792         * text.C (InsertChar): Added trivial patch to only send the "you
16793         can not do multiple spaces this way" message once during a
16794         session.
16795
16796 2001-05-08  Baruch Even  <baruch@lyx.org>
16797
16798         * Makefile.am: Changed order of libraries to get LyX to link properly
16799         with the gnome frontend.
16800
16801 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16802
16803         * LaTeXFeatures.h: add a std:: qualifier
16804
16805 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16806
16807         * paragraph.C (String): use stringstream
16808
16809 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16810
16811         * paragraph.C (writeFile): remove footflag arg
16812
16813         * buffer.C (makeLaTeXFile): use stringstream
16814         (latexParagraphs): remove footnot gurba
16815
16816         * LaTeXFeatures.C (getPackages): use stringstream
16817         (getMacros): likewise
16818         (getTClassPreamble): likewise
16819         (getFloatDefinitions): new method
16820
16821         * paragraph.C (writeFile): reindent
16822         (Erase): reindent
16823
16824         * WorkArea.h: revert the xpos + etc changes.
16825
16826         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16827
16828         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16829
16830         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16831         (pasteSelection): likewise
16832         * text2.C (CreateUndo): likewise
16833
16834 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16835
16836         * minibuffer.C (peek_event): temporarily reduce the functionality
16837         of the minibuffer (to allow args on lfuns)
16838
16839         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16840         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16841
16842         * buffer.C (readInset): add compability reading of old float
16843         lists, add reading of new style float list.
16844         (readInset): avoid reevaluation of inscmd.getCmdName()
16845         (getLists): reindent
16846
16847         * MenuBackend.C (MenuItem): implement parsing of
16848         md_floatlistinsert and md_floatinsert.
16849         (expand::LastFiles): move initalizaton of iterators out of loop,
16850         avoid reevaluation.
16851         (expand::Documents): introduce typdedef vector<string> Strings,
16852         and use it.
16853         (expand::ExportFormats): introduce typedef vector<Format const *>
16854         Formats, and use it.
16855         (expand): implement FloatListInsert and FloatInsert.
16856
16857         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16858         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16859         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16860
16861         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16862         handling.
16863         (Dispatch::LFUN_FLOAT_LIST): implement
16864
16865 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16866
16867         * LaTeX.C (run): Fix problem with --export code.
16868
16869 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16870
16871         * BufferView.[Ch] (workarea): removed.
16872         (getClipboard) new method; wrapper for workarea()->getClipboard()
16873
16874         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16875         bug.
16876
16877         * WorkArea.h (width, height, xpos, ypos): These methods all
16878         returned the dimensions of the work_area sub-area of WorkArea,
16879         resulting in a position error if the WorkArea were resized. Now
16880         return the dimensions of the entire WorkArea.
16881
16882         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16883
16884 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16885
16886         * LaTeX.C (deplog): correct the syntax of regex reg1
16887
16888 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16889
16890         * undo.C: remove !NEW_INSETS cruft
16891
16892 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16893
16894         * text2.C: remove !NEW_INSETS cruft
16895
16896         * text.C: remove !NEW_INSETS cruft
16897
16898         * tabular.C: remove !NEW_INSETS cruft
16899
16900         * spellchecker.C: remove !NEW_INSETS cruft
16901
16902         * lyxtext.h: remove !NEW_INSETS cruft
16903
16904         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16905
16906         * lyxfunc.C: remove !NEW_INSETS cruft
16907
16908         * lyxfind.C: remove !NEW_INSETS cruft
16909
16910         * lyx_cb.C: remove !NEW_INSETS cruft
16911
16912         * figureForm.C: remove  !NEW_INSETS cruft
16913
16914         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16915
16916         * buffer.[Ch]: remove !NEW_INSETS cruft
16917
16918         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16919
16920         * CutAndPaste.C: remove !NEW_INSETS cruft
16921
16922         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16923
16924         * BufferView2.C: remove !NEW_INSETS cruft
16925
16926         * BufferView.h: remove !NEW_INSETS cruft
16927
16928 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16929
16930         * Lsstream.h: include LString.h before the sstream headers to
16931         fix problem with gcc 2.95.3 and lyxstring
16932
16933 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16934
16935         * lyx_main.C: add using directives when needed for C functions
16936         declared in std:: namespace.
16937
16938 2001-04-27  Juergen Vigna  <jug@sad.it>
16939
16940         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16941         (SetHeightOfRow): comment out the update call should not be needed!
16942
16943 2001-04-13  Juergen Vigna  <jug@sad.it>
16944
16945         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16946         (LyXTabular): tried to minimize operator= operations (and realized
16947         hopfully Lars wish).
16948
16949 2001-04-27  Juergen Vigna  <jug@sad.it>
16950
16951         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16952
16953 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16954
16955         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16956
16957         * buffer.C (readInset): hack to make listof algorithm work
16958
16959         * BufferView_pimpl.C: hack to make listof algorithm work
16960
16961 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16962
16963         * LyXAction.C: removed all !NEW_INSETS cruft
16964         (init): moved lfun_item in method
16965
16966         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16967
16968 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16969
16970         * BufferView2.C (theLockingInset): white space.
16971
16972 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16973
16974         * minibuffer.C: include <iostream>
16975
16976         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16977
16978         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16979
16980         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16981
16982         * text.[Ch] (TransposeChars): new method
16983
16984 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16985
16986         * call message directly through LyXView instead of through LyXFunc
16987         * BufferView2.C: adjust
16988         * BufferView_pimpl.C: adjust
16989         * FontLoader.C: adjust
16990         * buffer.C: adjust
16991         * bufferview_funcs.C: adjust
16992         * converter.C: adjust
16993         * figureForm.C: adjust
16994         * importer.C: adjust
16995         * lyx_cb.C: adjust
16996         * lyx_gui_misc.C: adjust
16997         * lyxfunc.C: adjust
16998         * lyxvc.C: adjust
16999         * text2.C: adjust
17000         + more files in subdirs
17001
17002         * lyxparagraph.h (size): move up int file
17003         (GetLayout): ditto
17004
17005         * adjust all uses of Assert to lyx::Assert.
17006
17007         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17008         lyxfunctional in namespace lyx
17009         * layout.C (hasLayout): ditto
17010         (GetLayout): ditto
17011         (GetLayout): ditto
17012         (delete_layout): ditto
17013         (NumberOfClass): ditto
17014         * converter.C (GetFormat): ditto
17015         (GetNumber): ditto
17016         (Add): ditto
17017         (Delete): ditto
17018         (SetViewer): ditto
17019         * bufferlist.C (getFileNames): ditto
17020         (emergencyWriteAll): ditto
17021         (exists): ditto
17022         (getBuffer): ditto
17023         * MenuBackend.C (hasSubmenu): ditto
17024         (hasMenu): ditto
17025         (getMenu): ditto
17026         * BufferView_pimpl.C (getInsetByCode): ditto
17027
17028 2001-04-18  Juergen Vigna  <jug@sad.it>
17029
17030         * vspace.C (asLatexString): fixed the 100% problem.
17031
17032 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17033
17034         * lyxfunc.C (Dispatch):
17035         * minibuffer.C:
17036         * minibuffer.h: add a few std:: qualifiers
17037
17038 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17039
17040         * minibuffer.[Ch]: reimplement so that commands is initiated and
17041         run from lyxfunc, simplified som handling, and made the completion
17042         and history code for complete. wip.
17043
17044         * lyxfunc.C (processKeySym): call message
17045         (miniDispatch): new temporary method
17046         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17047         (LFUN_MESSAGE): implement
17048         (LFUN_MESSAGE_PUSH): implement
17049         (LFUN_MESSAGE_POP): implement
17050         (initMiniBuffer): the initial/defualt minibuffer message.
17051
17052         * lyxfont.[Ch]: inline some more getters
17053
17054         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17055
17056         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17057
17058         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17059         (AutoSave): use LFUN_MESSAGE
17060         (Reconfigure): ditto
17061
17062         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17063
17064         * figureForm.C: use LFUN_MESSAGE
17065
17066         * converter.C (runLaTeX): use LFUN_MESSAGE
17067
17068         * bufferview_funcs.C: use LFUN_MESSAGE
17069         (Melt): ditto
17070         (changeDepth): ditto
17071
17072         * bufferparams.h: use boost::
17073
17074         * bufferlist.h: inherit privately from noncopyable
17075
17076         * bufferlist.C (loadLyXFile): remove some commented code.
17077
17078         * buffer.C (runChktex): use LFUN_MESSAGE
17079
17080         * ShareContainer.h: inherit privately from noncopyable
17081
17082         * ParagraphParameters.[hC] (depth): inline it.
17083
17084         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17085         methods.
17086         (message): new method
17087         (messagePush): ditto
17088         (messagePop): ditto
17089         (show): init minibuffer
17090         (showState): direct call
17091
17092         * LaTeX.[Ch]: inherit privately from noncopyable
17093         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17094         instead of WriteStatus.
17095
17096         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17097
17098         * BufferView_pimpl.C (buffer): don't init minibuffer
17099         (workAreaButtonPress): use LFUN_MESSAGE
17100         (workAreaButtonRelease): ditto
17101         (savePosition): ditto
17102         (restorePosition): ditto
17103         (MenuInsertLyXFile): ditto
17104         (workAreaExpose): don't init minibuffer
17105         (update): remove commented code, simplify
17106
17107         * BufferView2.C (openStuff): use LFUN_MESSAGE
17108         (toggleFloat): ditto
17109         (menuUndo): ditto
17110         (menuRedo): ditto
17111         (copyEnvironment): ditto
17112         (pasteEnvironment): ditto
17113         (copy): ditto
17114         (cut): ditto
17115         (paste): ditto
17116         (gotoInset): ditto
17117         (updateInset): remove some commented code
17118
17119         * lastfiles.h: inherit privately from noncopyable
17120         * layout.h: ditto
17121         * lyx_gui.h: ditto
17122         * lyx_main.h: ditto
17123         * lyxlex.h: ditto
17124         * lyxlex_pimpl.h: ditto
17125
17126         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17127         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17128         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17129
17130         * LyXAction.h: inherit privately from noncopyable, add methods
17131         func_begin, func_end, returning iterators to the func map.
17132
17133         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17134         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17135         (func_begin): new method
17136         (func_end): new method
17137
17138         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17139         and not)
17140         (copySelection): ditto
17141         (pasteSelection): ditto
17142
17143         * BufferView.C: whitespace change
17144         * BufferView.h: inherit privately from noncopyable
17145
17146 2001-04-16  Allan Rae  <rae@lyx.org>
17147
17148         * tabular-old.C (l_getline):
17149         * spellchecker.C (sc_check_word):
17150         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17151         an unrecognised preprocessor directive.  So ensure they're wrapped.
17152
17153 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17154
17155         * src/exporter.C (Export): Give an error message when path to file
17156         contains spaces.
17157
17158 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17159
17160         * LaTeX.C (deplog): Always check that foundfile exists.
17161
17162 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17163
17164         * lyx_main.h:
17165         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17166
17167 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17168
17169         * tabular.[Ch] (getLabelList): implement new method
17170
17171         * minibuffer.h: comment ouf setTiimer
17172
17173         * minibuffer.C (ExecutingCB): constify res
17174         (peek_event): constify s
17175         (Set): constify ntext
17176         (Init): constify nicename
17177
17178         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17179
17180         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17181         (savePosition): use two params to Minibuffer::Set
17182         (restorePosition): ditto
17183
17184 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17185
17186         * lyx_main.C: include language.h
17187
17188         * Makefile.am (lyx_main.o): add language.h
17189
17190 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17191
17192         * exporter.C:
17193         * paragraph.C:
17194         * screen.C:
17195         * tabular.C:
17196         * CutAndPaste.C: include gettext.h
17197
17198         * lyxfont.h: remove old hack with ON and OFF.
17199
17200         * lyxparagraph.h:
17201         * lyxfont.h: do not include language.h...
17202
17203         * BufferView2.C:
17204         * LaTeXFeatures.C:
17205         * Painter.C:
17206         * bufferview_funcs.C:
17207         * font.C:
17208         * lyxfont.C:
17209         * text.C:
17210         * text2.C:
17211         * trans_mgr.C:
17212         * paragraph.C: ... but do it here instead
17213
17214 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17215
17216         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17217
17218         * tabular.C: small reformat
17219
17220         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17221         NEW_INSETS version
17222         (GetChar): ditto
17223         (BreakParagraph): ditto
17224         (SetOnlyLayout): ditto
17225         (SetLayout): ditto
17226
17227         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17228         with one arg less.
17229
17230         * lastfiles.C: removed most using decl, add std:: where needed
17231
17232         * buffer.C: ws changes
17233
17234         * MenuBackend.C (class compare_format): put into anon namespace
17235         (expand): constify label, names, action, action2
17236         (expand):
17237
17238         * text.C (SingleWidth): constify font
17239         (IsBoundary): constify rtl2
17240         (GetVisibleRow): constify ww
17241
17242         * LaTeX.C (deplog): constify logfile
17243
17244         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17245         start_x, end_x
17246         (workAreaExpose): constify widthChange, heightChange
17247
17248         * lyxrow.C (par): moved
17249         (height): moved
17250         (next): moved
17251         * lyxrow.h: as inlines here
17252
17253         * lyxfont.h (shape): moved from lyxfont.C
17254         (emph): moved from lyxfont.C
17255
17256         * lyxfont.C (LyXFont): use initialization list for all
17257         constructors
17258         (shape): move to lyxfont.h as inline
17259         (emph): move to lyxfont.h as inline
17260
17261
17262 2001-04-04  Juergen Vigna  <jug@sad.it>
17263
17264         * vspace.C: had to include stdio.h for use of sscanf
17265
17266 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17267
17268         * BufferView.h:
17269         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17270         independent of xforms.
17271
17272 2001-04-02  Juergen Vigna  <jug@sad.it>
17273
17274         * spellchecker.C: fixed namespace placing!
17275
17276 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17277
17278         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17279         the LyXParagraph * is 0.
17280
17281 2001-03-29  Juergen Vigna  <jug@sad.it>
17282
17283         * vspace.C: added support for %, c%, p%, l%.
17284         (stringFromUnit): added helper function.
17285         (asLatexString): changed to give right results for the %-values.
17286
17287         * buffer.C: convert the widthp in a width%.
17288
17289 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17290
17291         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17292         figureForm.[Ch].
17293
17294         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17295         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17296
17297         * lyx_cb.[Ch]: see above.
17298
17299         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17300         form1.[Ch].
17301
17302         * form1.[Ch]:
17303         * lyx.[Ch]: replaced by figure_form.[Ch].
17304
17305         * lyx_gui.C:
17306         * lyx_gui_misc.C:
17307         * lyxfunc.C: changed headers associated with above changes.
17308
17309 2001-03-27  Juergen Vigna  <jug@sad.it>
17310
17311         * BufferView_pimpl.C: set the temporary cursor right!
17312
17313 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17314
17315         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17316
17317 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17318
17319         * LString.h: removed "using std::getline"!
17320
17321         * BufferView_pimpl.C (Dispatch): changes due to changes in
17322         InsetInclude::Params.
17323
17324         * buffer.C (tag_name): removed redundant break statements as they were
17325         producing lots of warnings with my compiler.
17326
17327 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17328
17329         * LString.h: add "using std::getline" when using the real <string>.
17330
17331 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17332
17333         * buffer.C: removed bitset usage.
17334         PAR_TAG moved to an anonymous name space.
17335         (tag_name): new funtion, also in the anonymous namespace.
17336         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17337         (makeDocBookFile): clean code. Completed transition from string arrays
17338         to string vectors.
17339         (SimpleDocBookOnePar): code clean.
17340
17341 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17342
17343         * tabular.C: add some comments.
17344
17345 2001-03-22  Juergen Vigna  <jug@sad.it>
17346
17347         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17348         compatibility read a bit and fixed bug with minipage in different
17349         depth.
17350
17351 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17352
17353         * buffer.C (pop_tag): removed.
17354         (push_tag): removed.
17355         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17356         array replaced with vector. Added support for CDATA sections.
17357         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17358         at any nest level.
17359         (makeDocBookFile): XML conformant declaration of CDATA section,
17360         fixed bug related to <emphasis> in the first paragraph char.
17361         (sgmlOpenTag): exclude empty tags.
17362         (sgmlCloseTag): ditto.
17363
17364         * buffer.h (pop_tag): removed.
17365         (push_tag): removed.
17366
17367 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17368
17369         * language.h (Languages): added size_type and size().
17370
17371 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17372
17373         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17374         response on compability reading of minipages. One probliem is that
17375         the old usage of minipages was flertydig
17376
17377         * several files here and in subdirs: don't use static at file
17378         scope use anon namespaces instead.
17379
17380 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17381
17382         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17383         LaTeX output. This is necessary for Literate document
17384         processing.
17385
17386 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17387
17388         * buffer.C: insert hfill when needed.
17389
17390         * tabular.C (l_getline): use string::erase, small whitespace change.
17391
17392         * BufferView_pimpl.C: try the anon namespace.
17393         * WorkArea.C: ditto
17394
17395 2001-03-16  Juergen Vigna  <jug@sad.it>
17396
17397         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17398         otherwise it won't open options-dialogs.
17399
17400         * buffer.C: honor pextraWidth(p) on converting minipages.
17401
17402         * tabular.C (l_getline): changed the functions to strip trailing \r.
17403
17404 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17405
17406         * BufferView_pimpl.C:
17407         * minibuffer..C: added "using SigC::slot" declaration.
17408
17409 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17410
17411         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17412
17413         * text2.C: ditto
17414
17415         * text.C: ditto
17416
17417         * paragraph.C: ditto
17418
17419         * lyxtext.h: NO_PEXTRA
17420
17421         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17422
17423         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17424         * ParameterStruct.h: ditto
17425         * ParagraphParameters.h: ditto
17426         * lyxparagraph.h: ditto
17427
17428 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17429
17430         * buffer.C: add compability for minipage alignment.
17431         (latexParagraphs): remove unwanted pextra check.
17432
17433         * several files: remove CXX_WORKING_NAMESPACES
17434
17435         * buffer.C (pop_tag): tie is in namespace boost
17436
17437         * BufferView.h: noncopyable is in namespace boost
17438         * lyxlex.h: ditto
17439         * lyx_main.h: ditto
17440         * lyx_gui.h: ditto
17441         * layout.h: ditto
17442         * lastfiles.h: ditto
17443         * bufferlist.h: ditto
17444         * ShareContainer.h: ditto
17445         * LyXView.h: ditto
17446         * LyXAction.h: ditto
17447         * LaTeX.h: ditto
17448
17449 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17450
17451         * Merging changes from BRANCH_MVC back into HEAD.
17452
17453         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17454
17455 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17456
17457         * BufferView_pimpl.C: change from intl.C
17458
17459         * combox.h:
17460         * combox.C:
17461         * Makefile.am: move combox.*
17462
17463         * form1.h:
17464         * form1.C:
17465         * lyx_gui.C:
17466         * intl.h:
17467         * intl.C: remove dialog (covered by prefs)
17468
17469 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17470
17471         * lyxfunc.C (Dispatch): removed redundant break statement.
17472
17473 2001-03-14  Juergen Vigna  <jug@sad.it>
17474
17475         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17476
17477 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17478
17479         * buffer.C: add hack to fix compability reading of minipages.
17480
17481 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17482
17483         * buffer.C (getLists): Cleanup.
17484
17485 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17486
17487         * lyxfont.C (update): don't honor toggleall on font size.
17488
17489 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17490
17491         * bmtable.c:
17492         * bmtable.h:
17493         * Makefile.am: moved to frontends/xforms/
17494
17495         * lyx_gui_misc.C:
17496         * lyxfunc.C:
17497         * BufferView_pimpl.C: changes for moved mathpanel
17498
17499 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17500
17501         * gettext.h: fix gettext_init() in --disable-nls
17502
17503 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17504
17505         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17506
17507 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17508
17509         * lyx.C:
17510         * lyx.h: strip external form
17511
17512 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17513
17514         * BufferView_pimpl.C: add comment, destroySplash()
17515
17516 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17517
17518         * BufferView_pimpl.C:
17519         * LyXAction.C:
17520         * buffer.C:
17521         * commandtags.h:
17522         * lyxfunc.C: use re-worked insetinclude
17523
17524 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17525
17526         * buffer.C: add using std::stringstream.
17527
17528         * lyx_cb.C: readd using std::ios.
17529
17530         * buffer.C: add using std::map.
17531
17532         * BufferView_pimpl.C: add using std::vector.
17533
17534         * ShareContainer.h: add std:: to swap.
17535
17536         * buffer.h: add some typedefs
17537         * buffer.C (getLists): use them
17538         (getLists): renamed from getTocList.
17539         add a counter for the different float types and use it in the
17540         generated string.
17541         (getLists): use the same counter for the NEW_INSETS and the "non"
17542         NEW_INSETS
17543
17544         * lyx_cb.h: remove unused items, includes, using etc.
17545
17546         * ShareContainer.h: remove some commented code, add more comments
17547         and "documentation".
17548
17549 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17550
17551         * buffer.C (getTocList): make the list also when NEW_INSETS is
17552         defined.
17553
17554         * buffer.h: remove TocType
17555
17556         * buffer.C (getTocList): change to return a map<string,
17557         vector<TocItem> >, implement for dynamic number of list.
17558
17559         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17560         * text2.C (PasteSelection): adjust
17561         * CutAndPaste.C (pasteSelection): adjust
17562
17563         * FloatList.C (FloatList): update from the new_insets branch.
17564         * Floating.[Ch]: ditto
17565         * LaTeXFeatures.C: ditto
17566         * buffer.C: ditto
17567         * lyxlex_pimpl.C: ditto
17568
17569         * paragraph.C (Last): remove when NEW_INSETS is defined.
17570
17571         * other file: changes because of the above.
17572
17573 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17574
17575         * lyxparagraph.h: rename next to next_, previous to previous_,
17576         make them private for NEW_INSETS. Rename Next() to next(),
17577         Previous() to previous().
17578
17579         * other files: changes because of the above.
17580
17581 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17582
17583         * BufferView.h:
17584         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17585         problem.
17586
17587 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17588
17589         * main.C (main): pass lyx_localedir to gettext_init().
17590
17591         * gettext.h: remove locale_init and gettext_init macros
17592
17593         * gettext.C (locale_init): new function
17594         (gettext_init): new function
17595
17596         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17597         setlocale().
17598
17599 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17600
17601         * Moved credits to frontends:
17602         * credits.[Ch]: removed
17603         * credits_form.[Ch]: removed
17604         * lyx_gui_misc.C: remove credits stuff
17605         * Makefile.am:
17606
17607 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17608
17609         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17610
17611         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17612         unneeded destructor.
17613
17614         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17615         a standalone pointer again.
17616
17617         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17618
17619 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17620
17621         * Makefile.am:
17622         * filedlg.h:
17623         * filedlg.C:
17624         * LyXAction.C:
17625         * ToolbarDefaults.C:
17626         * bufferlist.C:
17627         * commandtags.h:
17628         * form1.C:
17629         * form1.h:
17630         * lyx_cb.C:
17631         * lyx_cb.h:
17632         * lyxfunc.h:
17633         * lyxfunc.C:
17634         * BufferView_pimpl.C: use new file dialog in GUII
17635
17636         * lyx_cb.h:
17637         * lyx_cb.C: remove LayoutsCB to Toolbar
17638
17639 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17640
17641         * ShareContainer.h (get): add std:: qualifier
17642
17643 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17644
17645         * ShareContainer.h: define a proper ShareContainer::value_type
17646         type (and use typename to please compaq cxx)
17647
17648 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17649
17650         * lyxparagraph.h: move serveral local vars to
17651         ParameterStruct/ParagraphParameters., use ShareContainer in
17652         FontTable., make vars in FontTable private and add getter and
17653         setter.
17654
17655         * paragraph.C: changes because of the above.
17656
17657         * lyxfont.h: remove copy constructor and copy assignment. (the
17658         default ones is ok), move number inside FontBits. move inlines to
17659         lyxfont.C
17660
17661         * lyxfont.C: add number to initializaton of statics, move several
17662         inlines here. constify several local vars. some whitespace
17663         cleanup. Dont hide outerscope variables.
17664
17665         * Spacing.h: add two new constructors to match the set methods.
17666
17667         * ShareContainer.h: new file, will perhaps be moved to support
17668
17669         * ParameterStruct.h: new file
17670
17671         * ParagraphParameters.h: new file
17672
17673         * ParagraphParameters.C: new file
17674
17675         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17676         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17677
17678         * BufferView_pimpl.C: ParagraphParameter changes.
17679         * buffer.C: Likewise.
17680         * bufferview_funcs.C: Likewise.
17681         * text.C: Likewise.
17682         * text2.C: Likewise.
17683
17684 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17685
17686         * lyxfind.C (LyXReplace): do not redefine default argument in
17687         implementation.
17688         (IsStringInText): ditto
17689         (SearchForward): ditto
17690         (SearchBackward): ditto
17691
17692 2001-03-06  Juergen Vigna  <jug@sad.it>
17693
17694         * lyxfind.C (IsStringInText): put parentes around expressions.
17695
17696 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17697
17698         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17699
17700 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17701
17702         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17703
17704         * stl_string_fwd.h: add comment
17705
17706         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17707
17708         * tabular.h:
17709         * tabular.C: remove unused DocBook methods
17710
17711         * intl.C:
17712         * language.C:
17713         * paragraph.C:
17714         * buffer.C:
17715         killed DO_USE_DEFAULT_LANGUAGE
17716
17717 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17718
17719         * lyx_gui.C: do not include language.h.
17720
17721         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17722         arguments in function implementation.
17723
17724 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17725
17726         * BufferView_pimpl.C: add <ctime>
17727
17728 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17729
17730         * BufferView_pimpl.C: add using std::find_if
17731
17732 2001-02-27  José Matos  <jamatos@fep.up.pt>
17733
17734         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17735         by OnlyPath.
17736
17737 2001-02-11  José Matos  <jamatos@fep.up.pt>
17738
17739         * buffer.C (makeDocBookFile): command styles now have a parameter as
17740         "title" by default.
17741
17742 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17743
17744         * layout_forms.[Ch]: removed
17745         * lyx_cb.[Ch]: out character
17746         * lyx_gui.C: out character
17747         * lyx_gui_misc.C: out character
17748         * bufferview_funcs.C: : out character,
17749         added toggleall as parameter in ToggleAndShow
17750
17751 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17752
17753         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17754
17755         * text2.C (SetCurrentFont): Disable number property at boundary.
17756
17757 2001-02-26  Juergen Vigna  <jug@sad.it>
17758
17759         * lyxfunc.C (getStatus): added a string argument override function so
17760         that this is correctly called from LyXFunc::Dispatch if it contains a
17761         do_not_use_argument which is used!
17762         (Dispatch): added check for "custom" export and call appropriate func.
17763
17764 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17765
17766         * lyxrc.C: Add language_command_local, language_use_babel and
17767         language_global_options.
17768
17769         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17770
17771         * buffer.C (makeLaTeXFile): Use language_use_babel and
17772         language_global_options.
17773
17774 2001-02-23  Juergen Vigna  <jug@sad.it>
17775
17776         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17777         which works with LyXText and putted it inside BufferView. Here now we
17778         only call for that part the BufferView::Dispatch() function.
17779
17780         * BufferView.C (Dispatch): added.
17781
17782         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17783         functions which needs to use a LyXText over from LyXFunc.
17784         (MenuInsertLyXFile): added
17785         (getInsetByCode): added
17786         (moveCursorUpdate): added
17787         (static TEXT): added
17788
17789 2001-02-22  Juergen Vigna  <jug@sad.it>
17790
17791         * BufferView_pimpl.C (update): call a status update to see if LyXText
17792         needs it.
17793
17794 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17795
17796         * vc-backend.C (revert): implement for CVS
17797         (getLog): implement for CVS
17798
17799 2001-02-20  Juergen Vigna  <jug@sad.it>
17800
17801         * text2.C (ClearSelection): added BufferView param for inset_owner call
17802
17803         * lyxfunc.C (TEXT): added this function and use it instead of
17804         directly owner->view()-text of getLyXText().
17805
17806 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17807
17808         * src/layout_forms.C: out preamble
17809         * src/layout_forms.h: out preamble
17810         * src/lyx_cb.C: out preamble
17811         * src/lyx_cb.h: out preamble
17812         * src/lyx_gui.C: out preamble
17813         * src/lyx_gui_misc.C: out preamble
17814         * src/lyxfunc.C: connect with guii preamble
17815
17816 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17817
17818         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17819
17820 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17821
17822         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17823         whether to run bibtex.
17824
17825 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17826
17827         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17828
17829 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17830
17831         * Makefile.am (lyx_SOURCES): removed bibforms.h
17832
17833         * vspace.h: doxygen
17834
17835         * text.C (GetVisibleRow): make several local vars const
17836
17837         * tabular.C: small cleanup.
17838
17839         * lyxserver.C (callback): use compare instead of strncmp
17840
17841         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17842         inlines to after class or to paragraph.C
17843
17844         * lyxfont.h: remove friend operator!=
17845
17846         * converter.h: move friend bool operator< to non friend and after
17847         class def.
17848
17849         * combox.h: small cleanup
17850
17851         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17852         to inlines after class def.
17853
17854         * buffer.C (pop_tag): use string operations instead of strcmp
17855
17856         * bmtable.c: doxygen, small cleanup
17857
17858         * LaTeX.h: remove friend operator==
17859
17860 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17861
17862         * screen.C:
17863         * lyxrc.[Ch]:
17864         * lyxfunc.C:
17865         * lyxfont.[Ch]:
17866         * lyx_cb.C:
17867         * intl.[Ch]:
17868         * commandtags.h:
17869         * buffer.C:
17870         * WorkArea.[Ch]:
17871         * LyXAction.C:
17872         * BufferView_pimpl.C:
17873         * BufferView.[Ch]: remove cruft
17874
17875 2001-02-14  Juergen Vigna  <jug@sad.it>
17876
17877         * lyxfunc.C: removed #if 0 unused code
17878
17879         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17880
17881         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17882
17883         * text2.C (SetSelection): added a BufferView * parameter
17884
17885 2001-02-13  Juergen Vigna  <jug@sad.it>
17886
17887         * lyxfunc.C (Dispatch): fixed protected blank problem.
17888         * BufferView2.C (protectedBlank): added LyxText * parameter.
17889
17890         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17891         (AppendColumn): same as above for column_info.
17892
17893         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17894         (moveCursorUpdate): use a LyXText param for support of InsetText.
17895
17896         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17897         (tripleClick): ditto
17898
17899         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17900
17901         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17902
17903         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17904
17905         * text2.C (SetSelection): set correct update status if inset_owner
17906         (ToggleFree): ditto
17907
17908 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17909
17910         * tabular.C: remove some commented code.
17911
17912 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17913
17914         * BufferView_pimpl.C: call hideSplash()
17915
17916         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17917
17918         * include_form.h:
17919         * bibforms.h: remove
17920
17921         * lyxfunc.C:
17922         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17923           add LFUN_CHILD_CREATE
17924
17925         * counters.h: fix tiny typo
17926
17927         * lyx_cb.C:
17928         * lyx.h:
17929         * lyx_gui.C:
17930         * lyx.C: move splash to frontends/xforms/
17931
17932         * lyx_gui_misc.C: move Include and Bibform to frontends
17933
17934         * lyxvc.h: clarify comment
17935
17936         * vspace.C: tiny housekeeping
17937
17938 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17939
17940         * text.C (PrepareToPrint): RTL Fix.
17941
17942         * paragraph.C (GetUChar): New method.
17943         (String):  Use GetUChar.
17944
17945         * buffer.C (asciiParagraph): Use GetUChar.
17946
17947 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17948
17949         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17950
17951 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17952
17953         * buffer.h:
17954         * buffer.C: rename to getLogName(), handle
17955           build log / latex log nicely
17956
17957 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17958
17959         * MenuBackend.C:
17960         * MenuBackend.h: remove support for reference menuitem type.
17961
17962 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17963
17964         * BufferView_pimpl.C: housekeeping
17965         * BufferView_pimpl.h:
17966         * LyXView.h:
17967         * Makefile.am:
17968         * Timeout.C:
17969         * Timeout.h:
17970         * minibuffer.h: move Timeout GUI-I
17971
17972 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17973
17974         * lyxrc.C (read): Update converters data-structures.
17975
17976 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17977
17978         * LaTeX.h (operator!=): add operator != for Aux_Info
17979
17980 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17981
17982         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17983
17984         * LaTeXLog.C: deleted, useful code moved to Buffer
17985
17986         * buffer.h:
17987         * buffer.C: new function getLatexLogName()
17988
17989         * lyx_gui_misc.C:
17990         * lyx_gui.C:
17991         * lyxvc.C:
17992         * lyxvc.h:
17993         * lyxfunc.C: use frontends for LaTeX and VC logs
17994
17995 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17996
17997         * LaTeX.h: yet another std:: that Allan forgot.
17998
17999         * Variables.C (set): renamed from isset(), because this clashes
18000         with some HP-UX macros (grr).
18001
18002 2001-02-06  Allan Rae  <rae@lyx.org>
18003
18004         * LaTeX.h: Another bug fix.  Missing std:: this time.
18005
18006 2001-02-04  Allan Rae  <rae@lyx.org>
18007
18008         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18009         floats problem. I've left it commented out because it's not quite
18010         correct.  It should also test that the current object is a table or
18011         figure inset.  But I haven't gotten around to figuring out how to do
18012         that.  I *think* it'll be something like: "table" == inset.type()
18013
18014         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18015         bool.
18016
18017 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18018
18019         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18020         all the citation/databases/styles in the auxilary file.
18021         (run): Rerun latex if there was a babel language error.
18022
18023 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18024
18025         * text.C (Backspace): Preserve the font when changing newline char
18026         with a space.
18027         (BreakParagraph): If the cursor is before a space, delete the space.
18028
18029         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18030
18031 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18032
18033         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18034         new argument (code).
18035         (ChangeCitationsIfUnique): New method.
18036
18037         * paragraph.C (GetPositionOfInset): Handle bibkey.
18038
18039 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18040
18041         * BufferView_pimpl.h: change type of Position::par_pos to
18042         LyXParagraph::size_type.
18043
18044 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18045
18046         * BufferView_pimpl.C (savePosition, restorePosition): Write
18047         messages to minibuffer.
18048
18049 2001-01-28  José Matos  <jamatos@fep.up.pt>
18050
18051         * buffer.C (makeDocBookFile): adds support for document language.
18052         A silly restriction on the name of LatexCommand types where removed.
18053         Added support for CDATA sections, allows to chars unescaped, used
18054         among others in code, to avoid escape < and >.
18055
18056 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18057
18058         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18059         saved positions instrad of a stack. Furthermore, a position is
18060         stored using paragraph id/paragraph position.
18061
18062         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18063         Remove LFUN_REF_BACK.
18064
18065 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18066
18067         * converter.C (dvipdfm_options): New method.
18068
18069 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18070
18071         * vspace.C (isValidLength): Fix for empty input string.
18072
18073 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18074
18075         * LyXAction.C (init): change description of LFUN_FIGURE to
18076         "Insert Graphics"
18077
18078 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18079
18080         * LaTeX.C: add using directive
18081
18082 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18083
18084         * MenuBackend.C (expand): Fix the sorting of the formats.
18085
18086 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18087
18088         * lyx_main.C: tiny error message fix
18089
18090 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18091
18092         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18093         calling fl_initialize(). This fixes the problem with ',' as
18094         decimal separator in text files.
18095
18096 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18097
18098         * trans.C (process): Fix the keymap bug.
18099
18100 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18101
18102         * LaTeX.C (scanAuxFiles): New method. Provides support for
18103         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18104         (scanLogFile) Scan for "run BibTeX" messages.
18105
18106         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18107         OT1 font encoding. Also, load the aecompl package if the ae
18108         package is loaded.
18109
18110         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18111
18112 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18113
18114         * texrow.C (increasePos): turn two error messages into debug
18115         messages.
18116
18117 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18118
18119         * LaTeX.C (scanAux): Handle the \@input macro.
18120         (runBibTeX): Use scanAux().
18121
18122         * language.C (latex_options_): New field.
18123
18124         * LaTeXFeatures.C (getMacros): Add language macros.
18125
18126         * buffer.C (makeLaTeXFile): Small fix.
18127
18128 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18129
18130         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18131
18132         * text2.C: add a using directive.
18133
18134 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18135
18136         * BufferView2.C:
18137         * lyx_gui_misc.h:
18138         * lyxfr1.C:
18139         * lyxfunc.C: kill LyXBell.
18140
18141 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18142
18143         * text.C (IsBoundary): Remove the error message
18144
18145         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18146
18147         * lyxrc.C (setDefaults): Correct initialization value for
18148         font_norm_type.
18149
18150 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18151
18152         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18153         gotoError().
18154
18155         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18156         and GotoNextNote().
18157
18158         * src/LyXAction.C: Added reference-next.
18159
18160         * text.C (InsertChar): Use contains instead of strchr.
18161
18162         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18163
18164 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18165
18166         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18167         alignment commands (when needed).
18168
18169         * text.C (InsertChar): Add ':' to number separator chars.