]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix error message (bug 1963)
[lyx.git] / src / ChangeLog
1 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
4         inset. (bug 1963)
5
6 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
7
8         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
9
10 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11
12         * text.C (insertChar):
13         * text2.C (deleteEmptyParagraphMechanism): take care whether 
14         a blank has been deleted (in change tracking mode) (bug 1254).
15
16 2005-07-20  John Levon  <levon@movementarian.org>
17
18         * text2.C (insertStringAsLines): remove old dubious code,
19         fixing bug 1939.
20
21 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
22
23         * MenuBackend.C (expandToc): use Floating::listName() as title of
24         the floats submenus.
25
26 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
27
28         * toc.[Ch]: Do not use translatable strings (bug 1870).
29
30 2005-07-20  John Levon  <levon@movementarian.org>
31
32         * tabular.C: fix 1748 - setting multicolumn adds
33           left line to the first cell
34
35 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
36
37         bug 1920
38         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
39         pars in one go.
40
41 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
42
43         * messages.C: supress some lyxerr messages
44
45 2005-07-18  Juergen Vigna  <jug@lyx.org>
46
47         * text.C (drawSelection): honor boundary when asking for cursorX.
48
49 2005-07-17  José Matos  <jamatos@fc.up.pt>
50
51         * tabular.C (recalculateMulticolumns): fix handling of one column
52         tables.
53
54 2005-07-17  Juergen Vigna  <jug@lyx.org>
55
56         * text.C (Delete, backspace): fixed so that paragraph with the
57         same layout can be merged by Delete/Backspace.
58
59 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
60
61         * text.C (readParToken): fix spelling.
62
63 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
64
65         * text2.C: fix counter update for DEPM problem reported by
66         Georg Baum
67
68 2005-07-17  Juergen Vigna  <jug@lyx.org>
69
70         * BufferView_pimpl.C (setBuffer): save/restore the
71         cursor/selection when switching buffers
72
73         * buffer.h: 
74         * buffer.C (saveCursor): add saveDocumentIterators to save the
75         cursor when switching buffer.
76
77 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
78
79         * debug.C: fix typo
80         * buffer.C: clarify message
81         
82 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
83
84         * dociterator.C (DocIterator): fix initialization order
85
86 2005-07-17  Juergen Vigna  <jug@lyx.org>
87
88         * text2.C (cursorHome): 
89         * text.C (drawSelection, cursorX): 
90         * dociterator.C (textRow): add boundary to getRow() call
91
92         * paragraph.C (getRow): implementation of below
93
94         * paragraph.h: add parameter boundary for getRow() function
95
96 2005-07-17  José Matos  <jamatos@fc.up.pt>
97
98         * buffer.C:
99         * bufferparams.[Ch]:
100         * tex-strings.[Ch]: new file format, remove support for a4.sty,
101         a4wide.sty and a4widemargins.
102
103 2005-07-17  Juergen Vigna  <jug@lyx.org>
104
105         * text2.C (cursorLeft): fix one of error
106
107 2005-07-17  Juergen Vigna  <jug@lyx.org>
108
109         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
110                    cursorEnd):
111         more fixes for boundary handling
112
113         * text3.C (dispatch): don't reset cursor if boundary has changed
114         on cursor movement.
115
116 2005-07-16  Juergen Vigna  <jug@lyx.org>
117
118         * text2.C (getColumnNearX): hopefully got it right now,
119         check if we are on column 0 for special case.
120
121 2005-07-16  Juergen Vigna  <jug@lyx.org>
122
123         * text2.C (getColumnNearX): handle special case Newline Inset
124
125         * text.C (singleWidth): Just remove bogus check
126
127 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
128
129         * funcrequest.C (split): avoid reading uninitialized char c
130
131 2005-07-16  José Matos  <jamatos@fc.up.pt>
132
133         * buffer.C:
134         * converter.C:
135         * lyxrc.C:
136         * paper.h:
137         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
138         single papersize variable.
139
140 2005-07-16  Juergen Vigna  <jug@lyx.org>
141
142         * text3.C (dispatch): honor boundary when checking if a cursor
143         movement has been done
144
145         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
146         (setCursor, setCursorIntern): fix cursor movement with boundary
147
148 2005-07-16  Juergen Vigna  <jug@lyx.org>
149
150         * text.C (currentState): output the actual Boundary
151
152 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
153
154         * factory.C (createInset): fix bad logic for tabular creation
155
156 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
157
158         * lyx_main.C (init): change some reLyX reference to tex2lyx
159
160 2005-07-16  Juergen Vigna  <jug@lyx.org>
161
162         * dociterator.C (DocIterator): initialize boundary
163
164 2005-07-16  Juergen Vigna  <jug@lyx.org>
165
166         * text2.C (getColumnNearX): Consider rows without trailing blank.  
167
168 2005-07-16  André Pönitz  <poenitz@gmx.net>
169
170         * lyxfont.h: Change order of declarations to give the compiler
171         a better chance to inline things
172
173         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
174         questions on unsaved docs for better scritability
175
176 2005-07-16  André Pönitz  <poenitz@gmx.net>
177
178         * paragraph.h (getChar): remove asserts as the same kind of security
179         can be achieved by using a suitable standard library implementation
180         and the function was in the critical path (25.9% in profiler)
181
182 2005-07-16  Juergen Vigna  <jug@lyx.org>
183
184         * cursor.C (bruteFind2):
185         * bufferview_funcs.C (coordOffset): 
186         * text.C (cursorX,cursorY): Handle cursor position after last char
187         in row before a inset which uses a whole row.
188
189 2005-07-15  José Matos <jamatos@lyx.org>
190
191         * output_plaintext.[Ch] (writeFileAscii): control reference title
192         printing.
193         (asciiParagraph): noparbreak was already deal and was incorrectly
194         used.
195
196 2005-07-15  Juergen Vigna <jug@lyx.org>
197
198         * lyxfunc.C (dispatch): save and restore the cursor after a
199         textclass switch.
200
201 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
202
203         * text.C (backspace): bug 806 for empty keepempty paragraphs we
204         change the layout to default before letting DEPM do its thing.
205
206         * paragraph_funcs.C (breakParagraph): dont reset the layout on
207         keepEmpty paragraphs
208
209         * text.C (setCursorFromCoordinates): add a debug statement
210
211         * text2.C (getColumnNearX): bug 1825 make sure that we don't
212         return a pos that is not on the row
213
214         * output_latex.C (TeXDeeper): get rid of potential dereferencing
215         of past the end iterator
216
217 2005-07-14  André Pönitz  <poenitz@gmx.net>
218
219         * undo.C (recordUndoFullBuffer): implement undo for
220         textclass switches
221
222 2005-07-14  André Pönitz  <poenitz@gmx.net>
223
224         * cursor.C (setSelection): open insets when selection is set there
225         to avoid crashs with cold coord cache
226
227 2005-07-14  André Pönitz  <poenitz@gmx.net>
228
229         * trans_mgr.C (insert): move cursor to the right after inserting
230         a char.
231
232 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
233
234         * BufferView_pimpl.C (update): dampen some of the debug blabbering
235         * factory.C (readInset): ditto
236         * text.C, text2.C: ditto
237
238 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
239
240         * buffer.C: format incremented to 242. There is no file format per
241         se, but the "frenchb" language has been removed from lib/language
242         and has to be translated to "french" by lyx2lyx.
243
244 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
245
246         * cursor_slice.h, dociterator.h: add some documentation
247         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
248
249 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
250
251         * text.C (leftMargin): do not add identation to display() style
252         insets, because they are always centered (bug 1293).
253
254 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
255
256         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
257         formatted_time methods in support/lyxtime.
258
259 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
260
261         * toc.[Ch]: new method getGuiName, which is used by the frontends 
262         to set the toc combo (fixes bug 1870). Make TOC string translatable.
263
264 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
265
266         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
267         StableDocIterator const &)
268         * undo.C (recordUndo): use the above instead of cell.size() comparison
269         (fixes bug 1808; instructed by Andr�.
270
271 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
272
273         * cursor_slice.h: 
274         * dociterator.h: Fix the assert when copying rows/cols in math
275
276 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
277
278         * BufferView_pimpl.C:
279         * LyXAction.C:
280         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
281
282         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
283         (findInset): new functions, refactored from goto Inset that return 
284         the position of a certain inset without setting the buffer's cursor
285         (by Jean-Marc); 
286         (gotoInset): rewrite to call findInset and then set the cursor
287         (by Jean-Marc).
288
289 2005-06-16  Angus Leeming  <leeming@lyx.org>
290
291         * lyxrc.C (output, read): wrap all input and output of paths with
292         calls to os::internal_path and os::external_path, respectively.
293         (output): wrap bind_file inside quotes.
294
295         * format.C (view): enable the viewer to use the '$$s' placeholder.
296
297 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
298
299         * LColor.[Ch] (getFromLaTeXName): new
300
301 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
302
303         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
304
305 2005-06-14  Angus Leeming  <leeming@lyx.org>
306
307         * lyx_main.C (init): ensure that the LyX binary dir is the first
308         element in the PATH on non-POSIX builds.
309
310 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
311
312         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
313
314 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
315
316         * rowpainter.C (paintInset, paintHebrewComposeChar)
317         (paintArabicComposeChar, paintChars): add a LyXFont argument.
318         (paintChars): use getFontSpan to reduce calls to getFont to a
319         minimum; use Paragraph::lookupChange instead of isXXXText.
320         (paintForeignMark): rename LyXFont argument.
321         (paintFromPos): pass a LyXFont object to the various paintXXX
322         methods.
323
324         * FontIterator.C (FontIterator, operator++): use
325         Paragraph::getFontSpan
326
327         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
328         version that returns the font span as a pair.
329
330 2005-06-09  Angus Leeming  <leeming@lyx.org>
331
332         * converter.C (convert): Don't forget "outfile = real_outfile" as
333         the final step in a conversion where the input and output file names
334         are the same. Otherwise, future conversion steps won't work...
335
336 2005-06-09  Angus Leeming  <leeming@lyx.org>
337
338         * lyxsocket.C: remove stub code as it isn't needed by
339         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
340
341 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
342
343         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
344         effectively disabled -x
345
346 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
347
348         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
349         when it actually makes sense.
350
351 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
352
353         * BufferView_pimpl.C: revert to showCursor in connection with
354         Lars's front-end stack
355
356 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
357
358         * text.C (redoParagraph): move cursor right after a bibitem
359         has been inserted.
360
361         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
362
363 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
364
365         * buffer_funcs.C (bufferErrors): fix computation of the end of an
366         error range.
367
368 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
369
370         * BufferView.[Ch] (update):
371         * BufferView_pimpl.[Ch] (update, metrics):
372         * dimension.h (operator==):
373         * lyxfunc.C (dispatch):
374         * metricsinfo.h (ViewMetricsInfo):
375         * rowpainter.C (paintText):
376         * lyxtext.h:
377         * text.C (redoParagraph):
378         * text3.C (dispatch): Make LyX only repaint current paragraph in
379         case of character insert --> speedup. Also fix cursor draw
380         artifacts
381
382 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
383
384         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
385         avoid a crash (bug 1891)
386
387 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         Fix bug 1892:
390
391         * text2.C (getStringToIndex): constify cur argument.
392
393         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
394         argument has been given
395         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
396         try to invoke LFUN_INSET_APPLY).
397
398         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
399         if no inset was created by doInsertInset
400         (doInsertInset): return true if an inset has been inserted.
401
402 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
403
404         * vspace.C (asGUIName): new method. A version of the space
405         suitable for showing on screen.
406
407 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
408
409         * MenuBackend.C:
410         * lyxrc.C: rename "ASCII" to "Plain Text"
411
412 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
413
414         * buffer_funcs.C (expandLabel): take a Buffer as argument;
415         translate the labelstring.
416         (setCounter): translate labelstring as needed.
417
418         * output_docbook.C (makeCommand): fix expandLabel invokation
419
420 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
421
422         * BufferView.C: fix dialog title
423
424 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
425
426         * lyx_main.C (priv_exec): fix logic error with help from Angus
427         * lyx_main.C (parse_execute): set is_gui = false and remove now
428         obsolete comment about a segfault
429
430 2005-05-18  Angus Leeming  <leeming@lyx.org>
431
432         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
433
434 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
435
436         * tabular.[hC]: added setCellInset to fix tabular paste.
437
438 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
439
440         * buffer.C (save): check if destination is writable before trying
441         to copy a file
442
443 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
444
445         * BufferView_pimpl.C (update): fix processEvents -caused update
446         recursion bug
447
448 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
449
450         * buffer_funcs.C (setCounter): fix test for numbering of
451         environments.
452
453         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
454         depth correctly; use optional argument when it exists
455
456         * lyxtextclass.C: remove unused MaxCounterTags enum
457         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
458         (max_toclevel, min_toclevel): new methods.
459
460         * MenuBackend.C (expandToc2): fix case where depth is smaller than
461         the smallest depth in toc.
462
463         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
464         layouts that should not appear in a table of contents.
465
466 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
467
468         * cursor.h (undispatched, noUpdate): add comments from Andr�
469 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
470
471         * lfuns.h:
472         * LyXAction.C:
473         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
474
475 2005-05-07  André Pönitz  <poenitz@gmx.net>
476
477         * cursor.[Ch] (leaveInset): new function
478
479 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
480
481         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
482
483 2005-05-04  Angus Leeming  <leeming@lyx.org>
484
485         * lyxfunc.C (getStatus): disable the spell checker dialog if
486         none of USE_[AIP]SPELL are defined.
487
488 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
489
490         * tabular.C (setWidthOfCell): remove obsolete comment
491
492 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
493
494         * paragraph.C (bibitem):
495         * buffer_funcs.C (setCounter):
496         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
497
498 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
499
500         * text3.C (getStatus): immediately return after setOnOff
501
502         * rowpainter.C: fix drawing of appendix start
503
504 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
505
506         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
507         SwitchBetweenClasses and remove the unused return value.
508         Handle character styles, too
509
510 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
511
512         * factory.C (createInset): handle undefined character styles
513
514 2005-05-02  Angus Leeming  <leeming@lyx.org>
515
516         * buffer.C: protect the #include of utime.h with a preprocessor
517         guard.
518
519 2005-05-02  Angus Leeming  <leeming@lyx.org>
520
521         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
522         function so that auto-saving works, albeit in a blocking manner.
523
524         * Makefile.am: make compilation of the client sub directory, of
525         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
526         on conditionals set at configure time.
527
528         * SpellBase.[Ch]: no longer an abstract base class. Instead,
529         it can be compiled in its own right but has no-op functionality.
530
531         * aspell.C, pspell.C: remove preprocessor guards. The files should
532         be compiled only if the necessary functionality exists.
533
534         * lyxserver.C, lyxsocket.C: disable on Windows.
535
536 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
537
538         * text.C (leftMargin): Fix the parindent use bug (1764)
539         by dirty trick
540
541 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
542
543         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
544         argument.
545
546 2005-04-25  Angus Leeming  <leeming@lyx.org>
547
548         * Bidi.[Ch]:
549         * coordcache.[Ch]:
550         * ispell.C:
551         * lyxserver.C:
552         * mover.C:
553         * pch.h:
554         include <config.h> in .C files, not .h ones.
555         add licence blurb.
556         protect headers inside preprocessor guards.
557
558 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
559
560         * FuncStatus.h (StatusCodes): document
561
562 2005-04-21  André Pönitz  <poenitz@gmx.net>
563
564         * FuncStatus.h (enabled, onoff): document
565
566 2005-04-19  Angus Leeming  <leeming@lyx.org>
567
568         * BufferView_pimpl.C (cursorToggle): no longer test whether
569         any child processes have been reaped before calling
570         handleCompletedProcesses().
571
572 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
573
574         * text3.C (dispatch): fix, finally fix, the language problem in
575         new lyxtexts, without disabling on-the-fly font changes (Helge's
576         bug report)
577
578 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
579
580         * text3.C (dispatch): set cursor on double/triple click events
581         (bug 1811)
582
583 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
584
585         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
586         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
587
588         * rowpainter.C (paintFirst): simplify the code a little bit. In
589         particular, remove the test for secnumdepth.
590         * text.C (setHeightOfRow): only allocate space for chapter number
591         when updateCounters provided an actual label, instead of looking
592         at secnumdepth directly.
593
594         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
595
596         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
597         paragraphs when secnumdepth is large enough or, for environments,
598         when they are not the first in a sequence.
599
600 2005-04-17  Angus Leeming  <leeming@lyx.org>
601
602         * buffer.C (makeLaTeXFile): replace code to manipulate a path
603         containing space and '~' characters with a call to latex_path().
604
605 2005-04-17  Angus Leeming  <leeming@lyx.org>
606
607         * converter.C (convert): protect all args of convertDefault.sh
608         script with quotes.
609
610 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
611
612         * text3.C (dispatch): change the layout to "Caption" after inserting
613         a float.
614
615 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
616
617         * text3.C (dispatch): fix language problem in newly created
618         textinsets (and main text) in non-english docs
619
620 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
621
622         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
623         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
624         * text3.C (getStatus): disable LFUN_INSET_MODIFY
625
626 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
627
628         * lyxtext.h:
629         * text.C (metrics):
630         * text2.C (getFont):
631         * rowpainter.C (getFont): Fix metrics bug introduced by inset
632         fonts fix
633
634 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
635
636         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
637         output of \item arguments without trailing text.
638
639 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * FontIterator.C (operator*): avoid a copy of the font.
642
643 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
644
645         * rowpainter.C (getFont): fix language bug from previous fix
646
647 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
648
649         * rowpainter.C (RowPainter, getFont): fix font inside inset
650         (bugs 1766, 1809)
651
652 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
653
654         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
655         preventing inserted font, deco, delim insets jumping to start of
656         surrounding inset.
657
658 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
659
660         * lyxfunc.C (dispatch): translate message before sending it to the
661         minibuffer.
662
663 2005-03-29  Angus Leeming  <leeming@lyx.org>
664
665         * lyx_main.C (priv_exec): call os::internal_path on each file passed
666         to LyX on the command line.
667
668 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
669
670         * vc-backend.C: use QuoteName to protect file names wherever
671         necessary.
672
673 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
674
675         * buffer.[Ch]:
676         * BranchList.h: fix bugs 1844,1845: document settings don't
677         stick
678
679 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
680
681         * lyxrc.C (setDefaults, read, output, getDescription): add support
682         for tex_allows_spaces.
683
684         * exporter.C (Export): allows files in directory containing spaces
685         if tex_allows_spaces is true.
686
687         * buffer.C (makeLaTeXFile): if the document path contains spaces,
688         output it in double quotes.
689
690 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
691
692         * rowpainter.C: use default text height for drawing change tracker
693         strikeout lines.
694
695 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
696
697         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
698
699 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
700
701         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
702         directory is missing.
703
704 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
705
706         * text2.C: fixed the fix, extended to other case.
707
708 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
709
710         * text2.C: fix for cursor up/down stuck in math [bug 1792]
711
712 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
713
714         * text2.C (cursorUp): get rid of a crash
715         * text.C (x2pos): add an assert
716
717 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
718
719         * lyxfunc.C (getStatus): fix warning when assertions are disabled
720
721         * text3.C:
722         * lyxfunc.C:
723         * dociterator.C: include <boost/current_function.hpp>, which is
724         needed when assertions are disabled.
725
726 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
727
728         * text2.C: fix for stuck cursor when traversing two
729         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
730
731 2005-02-25  Andreas Vox  <avox@arcor.de>
732
733         * output_docbook.C (makeParagraph): suppress trailing newline
734         after a run of paragraphs
735
736 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
737
738         * paragraph.C: fix for confused change tracker when pasting
739         text that begins with a lineseparator. [bug 1827]
740         (setChange(0, Change::INSERTED);)
741
742         * paragraph_funcs.C: fix for lost changes on triple-paste
743         in change tracking mode [bug 1827] (par.setChange()).
744
745 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
746
747         * text2.C (updateCounters, setCounter, expandLabel): move to
748         buffer_funcs.
749
750         * buffer_funcs.C (updateCounters): turn into a free standing
751         function and add a buffer parameter. Remove dead code for tracking
752         labelstring change.
753         (setCounter): change into a free-standing function which gets a
754         dociterator as argument. Use this iterator to fix captions in a
755         simple way. When no float is found above the caption, use the
756         labelstring of the caption layout as default.
757
758         * text.C (breakParagraph, backspace):
759         * text2.C (init, setLayout, changeDepth):
760         * text3.C (dispatch):
761         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
762         updateCounters.
763
764         * dociterator.C (forwardPar): make it much faster by calling
765         forwardPos() only when really necessary.
766
767         * output_docbook.C (makeCommand): adapt to expandLabel move.
768
769         * cursor.C: remove unused variable
770
771 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
772
773         * paragraph_funcs.C: fix crash when pasting insets in change
774         tracking mode [bug 1277] (honour change type in moveItem).
775
776 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
777
778         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
779
780 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
781
782         * BufferView.C (setCursor): change to use a DocIterator.
783         (gotoLabel): use BufferView::setCursor (other part of bug 781).
784         (putSelectionAt): adapt to BufferView::setCursor change.
785
786         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
787         moved here from LyXText and rewritten to use proper cursor
788         methods. Fixes bug 1787, 616 and 835.
789
790         * BufferView_pimpl.C (restorePosition): set the cursor correctly
791         when inside an inset (part of bug 781).
792         (dispatch): adapt to change of BufferView::setCursor.
793         (getStatus, dispatch): handle LFUN_GOTOERROR,
794         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
795
796         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
797         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
798         * text3.C (gotoNextInset, gotoInset): removed.
799
800 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
801
802         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
803
804 2005-02-15  Angus Leeming  <leeming@lyx.org>
805
806         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
807         can be used meaningfully in a comparison.
808
809 2005-02-13  André Pönitz  <poenitz@gmx.net>
810
811         * bufferview_funcs.C (coordOffset): improve cursor drawing
812
813 2005-02-13  André Pönitz  <poenitz@gmx.net>
814
815         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
816         * Cursor.C (dispatch): use fixIfBroken
817         * lyxfunc.C (getStatus): use fixIfBroken
818
819 2005-02-15  Angus Leeming  <leeming@lyx.org>
820
821         * lyx_main.C (error_handler):
822         * lyxfunc.C:
823         * lyxrc.C (setDefaults):
824         s/GetEnv/getEnv/.
825         #include "environment.h".
826
827         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
828
829 2005-02-15  Angus Leeming  <leeming@lyx.org>
830
831         * lyxserver.C (startPipe): squash MSVC warning "local variable
832         'fd' used without having been initialized".
833
834 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
835
836         * BufferView_pimpl.C: revert accidental commit.
837
838 2005-02-14  André Pönitz  <poenitz@gmx.net>
839
840         * dociterator.[Ch]: new member forwardPosNoDescent(),
841         which doesn't enter nested insets.
842         * text2.C (setFont): use forwardPosNoDescent() instead
843         of ForwardPos() (fixes crash on font change).
844
845 2005-02-13  Angus Leeming  <leeming@lyx.org>
846
847         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
848         only if lyxrc.path_prefix is not empty.
849
850 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
851
852         * bufferparams.C (readGraphicsDriver): prevent crash
853
854 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
855
856         * text2.C (setCounter): check for inInset() == 0
857
858 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
859
860         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
861         but use update() to get correct screen display; use convert
862         instead of istringstream.
863         (getStatus): handle LFUN_GOTO_PARAGRAPH
864
865         * lyxfunc.C (dispatch, getStatus): do not handle
866         LFUN_GOTO_PARAGRAPH here.
867
868 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
869
870         * text3.C (dispatch): size() -> depth()
871
872         * text2.C: remove some debug output
873
874         * paragraph.C: ws changes only
875
876         * lyxfunc.C (getStatus): size() -> depth()
877
878         * dociterator.h (clear, push_back, pop_back, internalData,
879         operator[], resize, empty): new functions
880         Make StableDocIterator and operator== be friends. Don't inherit
881         from std::vector use a privat class variable slices_ instead.
882         Modify to fit.
883
884         * dociterator.C: update because of not inheriting from std::vector
885         anymore. Call explictly to slices_ instead. Use depth() instead of
886         size() and top() instead of back()
887
888         * cursor.C: chagne size() -> depth and back() -> top(). Also
889         remove some direct operator[](i) calls in favour of foo[i]
890         (getFont): remove some dead code
891
892         * bufferview_funcs.C (coordOffset): size() -> depth()
893
894         * buffer.C: ws changes only
895
896         * CutAndPaste.C (eraseSelection): back() -> top()
897
898         * BufferView_pimpl.C (selectionRequested): back() -> top()
899
900         * BufferView.C (setCursor): size() -> depth()
901
902 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
903
904         * text3.C (cursorPrevious): return true if depm changed something
905         (cursorNext): ditto
906         (dispatch): rename sl to oldTopSlice, remove moving use the new
907         NoUpdate func attrib instead. Make sure that needsUpdate is set
908         for function that have NoUpdate, but where depm might have changed
909         the buffer anyway.
910
911         * text2.C (cursorLeft): make us return true if depm changed
912         something
913         (cursorRight): ditto
914         (cursorUpParagraph): ditto
915         (curosrDownParagraph): ditto
916         (cursorUp, cursorDown): ditto, make sure to read comments in code
917         (deleteEmptyParagraphMechanism): remove an assert, also return
918         true if just a single char was deleted.
919
920         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
921         cursor that we modify, to avoid modifying an active cursor before
922         we call setCursor. This allows depm to run. Also return true if
923         depm deleted something.
924
925         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
926         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
927         cursorDownParagraph, cursorPrevious and cursorNext, return true if
928         something was changed in the buffer because of them (ie. depm run)
929
930         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
931         debug messages. Make update by default be false. Make sure that
932         the result of update is retained throught several calls down to
933         dispatch.
934
935         * LyXAction.h: add a new func_attrib: NoUpdate
936
937         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
938         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
939         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
940         and LFUN_WORDLEFT
941         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
942
943 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
944
945         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
946         bv_->owner(), bv_->buffer() by direct references to the private
947         members.
948         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
949         (getStatus): isSavedPosition() is in BufferView::Pimpl.
950         (fitCursor): center() is in BufferView::Pimpl.
951         (getStatus, trackChanges, dispatch): no need for a temporary buf
952         variable
953         (fitCursor, workAreaDispatch): use workarea().workheight()
954
955 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
956
957         * CutAndPaste.C (pasteSelectionHelper): fix a crash
958
959 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
960
961         * buffer.C: format up to 241.
962         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
963         break if pasting into ERT
964         * lyxfunc.C (getStatus): suppress mathpanel and
965         LFUN_DIALOG_SHOW_NEW_INSET in ERT
966
967 2005-02-01  Angus Leeming  <leeming@lyx.org>
968
969         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
970
971 2005-02-01  Angus Leeming  <leeming@lyx.org>
972
973         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
974         calling fs::is_directory().
975
976 2005-01-31  Angus Leeming  <leeming@lyx.org>
977
978         * lyx_main.C (priv_exec): specify explicitly the relative location
979         of the top level build directory when run in-place.
980
981 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
982
983         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
984         LyXText containing the cursor, not the top-level one.
985
986         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
987         true.
988         (insertStringAsLines): rename par to pit; use temporary variable
989         par to hold a Paragraph; do not store par.layout() in a variable,
990         since the pointer may die when breaking paragraphs; pass pars to
991         breakParagraph() instead of Buffer::paragraphs().
992
993 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
994
995         * lyxlex_pimpl.h: #include <fstream>.
996
997         * BufferView.[Ch] (getLyXText): add a const version.
998
999         * BufferView_pimpl.C: add debug aids.
1000
1001         * RowList_fwd.h:
1002         * buffer.h:
1003         * lyxrow.h:
1004         * paragraph_funcs.h: add commentary explaining what the class does.
1005
1006
1007         * coordcache.[Ch]: add lots of commentary.
1008         (startUpdating, doneUpdating): debug aids.
1009         (arrays, insets, parPos, getParPos): accessors to private data.
1010
1011         * cursor_slice.[Ch] (text): add a const version.
1012         * dociterator.[Ch] (text, innerText): add const versions.
1013
1014         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1015         bool.
1016
1017         * paragraph.C (getRow, pos2ros): add asserts.
1018
1019         * paragraph.h: add commentary. Lots of.
1020
1021         * paragraph.[Ch] (metrucs, draw): removed.
1022
1023         * cursor.C:
1024         * rowpainter.[Ch]: const-correct changes.
1025
1026         * text.C: various obvious clean-ups. Removal of ancient cruft.
1027         Bug fixes, even.
1028
1029 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1030
1031         * vc-backend.C (find_file): rewrite to use boost.filesystem
1032         (scanMaster): ditto
1033
1034         * main.C (main): set default name check for boost.filesystem to
1035         no check
1036
1037         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1038         (open): ditto
1039         (doImport): ditto
1040         (actOnUpdatedPrefs): ditto
1041
1042         * lyx_main.C (init): rewrite to use boost.filesystem
1043         (queryUserLyXDir): ditto
1044
1045         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1046         (getContentsOfAsciiFile): ditto
1047
1048         * lastfiles.C (readFile): rewrite to use boost.filesystem
1049
1050         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1051
1052         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1053         (loadLyXFile): ditto
1054
1055         * buffer.C (Buffer): adjust for destroydir
1056         (getLogName): rewrite to use boost.filesystem
1057         (setFileName): ditto
1058         (save): use fs::copy_file (from fs_extras)
1059
1060         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1061
1062         * LaTeX.C (run): rewrite to use boost.filesystem
1063         (scanAuxFiles): ditto
1064         (handleFoundFile): ditto
1065
1066 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1067
1068         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1069
1070         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1071
1072 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1073
1074         * lyxlayout.[Ch]: change some vars from float to double
1075
1076         * buffer.C (readFile): make a local var const
1077
1078         * Several files: use convert<> instead of atoi,strToXXX and friends
1079
1080 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1081
1082         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1083         holds the contents of packages.lst. New functions getAvailable
1084         and isAvailable to parse and check that list, resp.
1085
1086         * LyXAction.C:
1087         * lfuns.h:
1088         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1089
1090         * bufferparams.[Ch]: new param output_changes.
1091
1092         * Buffer.C: increase file format to 240.
1093         Use output_changes and isVailable.
1094
1095         * changes.[Ch]:
1096         * paragraph.C:
1097         * paragraph_pimpl.C: Use output_changes and isVailable.
1098
1099 2005-01-23  Angus Leeming  <leeming@lyx.org>
1100
1101         * output_latex.C: #include "insetbibitem.h", rather than
1102         forward declare function bibitemWidest.
1103
1104 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1105
1106         * lyx_main.C (init): make it compile on the Mac.
1107
1108 2005-01-20  Angus Leeming  <leeming@lyx.org>
1109
1110         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1111         (setLyXMisc): (char string literal) != (char string literal) is
1112         performing a comparison on the addresses. Convert one operand
1113         explicitly to string to guarantee expected behaviour.
1114         From MSVC warning.
1115
1116 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1117
1118         * buffer.C:
1119         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1120
1121         * output_plaintext.C: remove unneeded #include gzstream.h.
1122
1123 2005-01-20  Angus Leeming  <leeming@lyx.org>
1124
1125         * SpellBase.h: rename some of the elements of the Result enum.
1126
1127         * aspell_local.h:
1128         * ispell.h:
1129         * pspell.h:
1130         * aspell.C (check):
1131         * ispell.C (check):
1132         * pspell.C (check): ditto
1133
1134 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1135
1136         * buffer.C: add #include <fstream>.
1137
1138         * lyx_main.C (init): Compile fix.
1139
1140         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1141
1142 2005-01-20  Angus Leeming  <leeming@lyx.org>
1143
1144         * mover.h: change commentary to reflect the changed meaning of
1145         the $$s placeholder.
1146
1147 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1148
1149         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1150
1151         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1152
1153 2005-01-20  Angus Leeming  <leeming@lyx.org>
1154
1155         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1156         printing diagnostic data by not dereferecing an iterator past the
1157         end.
1158
1159 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1160
1161         * buffer.C (readHeader): use "&&" rather than "and".
1162
1163         * lyxserver.h (inPipeName, outPipeName): make these const.
1164
1165 2005-01-19  Angus Leeming  <leeming@lyx.org>
1166
1167         * lyx_main.C (error_handler, init): protect SIGHUP with
1168         #ifdef SIGHUP guards.
1169
1170 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1171
1172         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1173
1174 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1175
1176         * text.C (setHeightOfRow): add a margin at the top and bottom of
1177         the document (bug 1761)
1178
1179 2005-01-17  Angus Leeming  <leeming@lyx.org>
1180
1181         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1182         with "python ". Workaround for a brain-dead Windows.
1183
1184 2005-01-16  Angus Leeming  <leeming@lyx.org>
1185
1186         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1187         for MacOSX and Windows to use prependEnvPath.
1188         Strip out the hard-coded block to add elements to the PATH for
1189         MacOSX and replace it with a call to prependEnvPath using the
1190         contents of LyXRC::path_prefix.
1191         (queryUserLyXDir): strip out the code to run reconfigure, instead
1192         returning a boolean indicating the necessity to do so.
1193         (reconfigureUserLyXDir): contains the code to reconfigure the
1194         user support directory. Is now called after the various LyXRC data
1195         files have been read.
1196
1197         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1198
1199 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1200
1201         * converter.[Ch] (convert): take a new parameter try_default. Use
1202         a default converter (imagemagick) if try_default is true.
1203
1204 2005-01-13  Angus Leeming  <leeming@lyx.org>
1205
1206         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1207         os::cygwin_path_fix.
1208         (write): output LyXRC::cygwin_path_fix as necessary.
1209
1210 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1211
1212         * lyxrc.h:
1213         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1214
1215 2005-01-12  Angus Leeming  <leeming@lyx.org>
1216
1217         * lyx_main.C (init): set the PATH variable to include the
1218         directory containing the LyX binary when running on Mac or Windows.
1219
1220 2005-01-12  Angus Leeming  <leeming@lyx.org>
1221
1222         * lyx_main.C (init): remove cruft that purports to set the locale
1223         dir. It doesn't and is not needed anyway.
1224
1225 2005-01-10  Angus Leeming  <leeming@lyx.org>
1226
1227         * Makefile.am: remove the lyx_main.C special casing.
1228
1229         * BufferView_pimpl.C:
1230         * bufferlist.C:
1231         * exporter.C:
1232         * lyx_cb.C:
1233         * lyx_main.C:
1234         * lyxfunc.C:
1235         * messages.C: use support/package.h to provide the paths to the
1236         various directories used by LyX.
1237
1238 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1239
1240         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1241         layout if pasting into an empty paragraph)
1242
1243 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1244
1245         * tex-accent.C: add <string>
1246
1247 2005-01-06  José Matos  <jamatos@lyx.org>
1248
1249         * ParagraphParameters.C (write): put every parameter in its own line.
1250         * paragraph.C (write): reduce number of consecutive empty lines exported.
1251         * buffer.C (LYX_FORMAT): increase file format to 239.
1252
1253 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1254
1255         * everywhere: change support/tostr.h -> support/convert.h
1256
1257         * tabular.C: make all write_attributes templates, tostr -> convert
1258
1259         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1260         (emptyTag): and -> &&, and fix type for ret from getChar
1261         (getFirstWord): fix type for ret from getChar
1262         (onlyText): and -> &&
1263         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1264         getChar
1265
1266         * toc.C (goTo, action):
1267         * text3.C (dispatch):
1268         * text.C (currentState):
1269         * tex-accent.C (DoAccent):
1270         * sgml.C:
1271         * lyxrc.C:
1272         * lyxfunc.C (menuNew):
1273         * lyxfinc.C (replace):
1274         * counters.C (laberItem):
1275         * bufferview_funcs.C (font2string):
1276         * bufferparams.C (writeFile):
1277         * buffer.C (readFile):
1278         * Spacing.C (set):
1279         * MenuBackend.C: tostr -> convert
1280
1281         * LaTeX.C (runMessage): fix format
1282         (scanAuxFiles): tostr -> convert
1283
1284         * BufferView_pimpl.C (savePosition): fix format
1285         (restorePosition): ditto
1286         (dispatch): ditto
1287
1288 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1289
1290         * Spacing.[Ch]: New method getValueAsString().
1291
1292         * Spacing.[Ch]:
1293         * bufferparams.C:
1294         * ParagraphParameters.C:
1295         * lyxlayout.C:
1296         * text.C:
1297         * text3.C: store/read spacing value as string.
1298
1299         * rowpainter.C: change float value (spacing_val) to double.
1300
1301         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1302         broken custom document spacing).
1303
1304 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1305
1306         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1307         namespace, also more use of temp references and const
1308
1309         * cursor.[Ch] (getStatus): move to lyxfunc.C
1310
1311         * bufferparams.C: reformat slightly
1312
1313         * bufferview_funcs.C (font2string): constify arg
1314
1315         * changes.C:
1316         * converter.C:
1317         * counters.C:
1318         * bufferlist.C:
1319         * buffer_funcs.C: (many funcs): constify arg on function
1320         definitions, also make more local vars const, also add ASSERTS on
1321         pointer args.
1322
1323         * buffer.C (LYX_FORMAT): put const in correct place
1324         (many funcs): constify arg on function definitions, also make
1325         more local vars const
1326
1327         * aspell_local.h: remove "struct" from typdef setup
1328
1329         * aspell.C (check): make word_ok const
1330         (nextMiss): simplify slightly
1331         (error): ditto
1332
1333 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1334
1335         * lyxrc.[Ch]: store all float values as strings.
1336         use int (not float) for lyxrc.dpi.
1337
1338 2005-01-04  Angus Leeming  <leeming@lyx.org>
1339
1340         * lyx_cb.C (Reconfigure):
1341         * lyx_main.C (queryUserLyXDir):
1342         to run the <system_lyxdir>/configure correctly on Windows, prefix
1343         the path to the script with "sh " when generating the string that
1344         is passed to system().
1345
1346 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1347
1348         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1349
1350 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1351
1352         * lyxlength.C (asLatexString): get rid of setprecision
1353
1354 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1355
1356         * text2.C (setLayout): remove unused variable endpit.
1357         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1358
1359         * paragraph.C (onlyText): remove unused variable style.
1360
1361         * cursor.C (bruteFind): remove unused variables beg and end.
1362
1363         * Makefile.am (dist_noinset_DATA): not needed anymore
1364
1365         * cheaders/*: remove.
1366
1367 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1368
1369         * text3.C: fix LFUN_MATH_MODE.
1370
1371 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1372
1373         * buffer_funcs.C (countWords): new function. Counts words between
1374         two iterators.
1375
1376         * BufferView_pimpl.C (getStatus, dispatch): handle
1377         LFUN_WORDS_COUNT.
1378
1379         * LyXAction.C (init):
1380         * lfuns.h: add LFUN_WORDS_COUNT.
1381
1382 2004-12-19  Angus Leeming  <leeming@lyx.org>
1383
1384         * buffer.C (save): s/slashify_path/internal_path/.
1385
1386 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1387
1388         * lyxfind.C (findChange): do not search for end of pars, because
1389         the change tracker cannot handle this (fixes bug 1719).
1390
1391 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1392
1393         * paragraph.[Ch] (autoBreakRows): remove
1394
1395         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1396
1397         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1398         avoid using the paragraph one
1399
1400         * text2.C (LyXText, insertStringAsLines): adjust
1401
1402 2004-12-16  Angus Leeming  <leeming@lyx.org>
1403
1404         * bufferlist.C:
1405         * lyx_main.C:
1406         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1407
1408 2004-12-14  Angus Leeming  <leeming@lyx.org>
1409
1410         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1411
1412         * bufferlist.C (emergencyWrite):
1413         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1414         GetEnvPath("HOME").
1415
1416 2004-12-14  Angus Leeming  <leeming@lyx.org>
1417
1418         * main.C: (main): no longer pass pointers to os::init.
1419
1420 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1421
1422         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1423         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1424
1425 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1426
1427         * lyxfunc.C:
1428         * text3.C: remove selection_possible global flag
1429
1430 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1431
1432         * text2.C (getSelectionSpan): remove
1433         (changeDepth, changeDepthAllowed): adjust
1434
1435 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1436
1437         * Makefile.am (BOOST_LIBS): use boost variables
1438
1439 2004-12-03  José Matos  <jamatos@lyx.org>
1440
1441         * buffer.C: format up to 238.
1442
1443 2004-12-03  José Matos  <jamatos@lyx.org>
1444
1445         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1446
1447 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1448
1449         * cursor.C (goUpDown): remove call to idxUpDown2
1450
1451 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1452
1453         * tabular.[Ch]: use size_t-like types for cell, row and column
1454         indices
1455
1456 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1457
1458         * lyxfunc.C (getStatus): do not lose previous information when
1459         calling BufferView::getStatus; do not set a default "Command
1460         disabled" message at the beginning, but just before returning.
1461
1462 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1463
1464         * cursor.h (getStatus): add better comment from src/cursor.C
1465
1466 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1467
1468         * text3.C (getStatus): return false when the lfun is not handled
1469
1470 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1471
1472         * broken_headers.h: remove
1473
1474         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1475
1476 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1477
1478         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1479         offset_ref accessors
1480
1481         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1482         top_y_, merge fitcursor with update
1483         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1484         coord scheme
1485         (metrics): introduce
1486         (workAreaDispatch): adapt to new coord scheme
1487         (redoCurrentBuffer): remove
1488
1489         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1490
1491         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1492         CurStatus enum.
1493
1494         * coordcache.[Ch]: add paragraph cache and helpers
1495
1496         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1497         adjust everywhere
1498
1499         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1500         (targetX, setTargetX): introduce
1501
1502         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1503         baseline -> ascent, as the rest of lyx
1504
1505         * lyxtext.h: remove redoParagraphs, updateParPositions,
1506         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1507         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1508         have ascent/descent (ascent is ascent of first par)
1509
1510         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1511         step of BufferView
1512
1513         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1514
1515         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1516
1517         * pariterator.C: fix infinite loop introduced in par->pit renaming
1518
1519         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1520         in insets and LyXText, draw two off-screen paragraphs using
1521         NullPainter, and adapt to new coord scheme
1522
1523         * text.C:
1524         * text2.C:
1525         * text3.C: adapt lfun handlers to the new coord scheme, which
1526         means: there's only guaranteed coord information for onscreen pars
1527         plus one above and one below. This implies that one can do search
1528         from y coordinates in the range [-1,workHeight]
1529
1530 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1531
1532         * rename a lot of InsetOld to InsetBase
1533
1534 2004-11-25  Angus Leeming  <leeming@lyx.org>
1535
1536         * BufferView_pimpl.C:
1537         * lyx_cb.C:
1538         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1539
1540 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1541
1542         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1543         call BufferView::getStatus if LCursor::getStatus did nothing
1544         (setStatusMessage, getStatusMessage): removed.
1545
1546         * FuncStatus.C (message): new methods. Used to provide an error
1547         message indicating why a command is disabled.
1548         (clear, |=, FuncStatus): update for message.
1549
1550 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1551
1552         * lyxfunc.C (dispatch): always call sendDispatchMessage
1553
1554 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1555
1556         * BufferView.C:
1557         * BufferView_pimpl.C:
1558         * CutAndPaste.C:
1559         * FontIterator.C:
1560         * buffer.C:
1561         * cursor.C:
1562         * cursor_slice.[Ch]:
1563         * dociterator.[Ch]:
1564         * lyxfind.C:
1565         * paragraph_funcs.C:
1566         * pariterator.C:
1567         * rowpainter.C:
1568         * text.C:
1569         * text2.C:
1570         * text3.C:
1571         * undo.C: par->pit renaming
1572
1573 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1574
1575         * tabular.C (cellstruct): use initialization, store a shared_ptr
1576         to insettext instead of the insettext directly, adjust to fit.
1577         (operator=):  new function
1578         (swap): new function
1579         (rowstruct): use initialization
1580         (columnstruct): use initialization
1581         (ltType): use initialization
1582
1583
1584         * lyxlength.h (swap): new function
1585
1586         * LColor.[Ch] (operator=): use the common semantics
1587
1588 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1589
1590         * lyxfind.C (findNextChange): update the bufferview after setting
1591         the selection.
1592
1593 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1594
1595         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1596         number of InsetOptArgs has already been inserted.
1597
1598         * output_latex.C (latexOptArgInsets): new method. This outputs all
1599         the optarg insets, up to the limit defined in the layout file.
1600         (optArgInset): removed
1601         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1602
1603 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1604
1605         * paragraph.C (isLetter): remove special spellchecker-related
1606         code; return true also for digits
1607         (isWord, isKomma): remove
1608
1609         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1610         * lyxfind.C (MatchString()): use isLetter instead of isWord
1611
1612 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1613
1614         * pariterator.h (operatir=): comment out un-implemented member
1615         function.
1616
1617         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1618         static cast.
1619
1620 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1621
1622         * lyxfont.h: include LColor.h to satisfy concept checks.
1623
1624 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1625
1626         * pariterator.h: add typdefs for value_type, difference_type,
1627         pointer and reference to satisfy concept checks. Also add default
1628         constructor for same reason.
1629
1630         * pariterator.C (operator++): add post-increment operator to
1631         satisfy concept checks.
1632
1633         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1634         checks.
1635
1636         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1637
1638         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1639         checks. Also rename base_type to BaseType to follow naming
1640         standard better.
1641
1642         * FloatList.h: include Floating.h to satisfy concept checks.
1643
1644 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1645
1646         * lyxfunc.C (getStatus): when the origin of the request is menu or
1647         toolbar, and the LyXView does not have focus, do as if there was
1648         no buffer (bug 1720)
1649
1650         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1651         FuncRequest to individual entries of LFUN_SEQUENCE
1652
1653 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1654
1655         * output_latex.C (TeXOnePar): override runparams.moving_arg
1656         according to the needprotect value of the current paragraph (bug
1657         1739)
1658
1659         * paragraph.C (simpleTeXOnePar): no need to override
1660         runparams.moving_args here
1661
1662 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1663
1664         * vspace.C: fix off-by-one-error, related to fix #1682
1665
1666 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1667
1668         * lengthcommon.C: a more general fix for bug 1682
1669
1670 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1671
1672         * text.C (backspace): fix crash
1673
1674 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1675
1676         * format.[Ch] (getFormatFromFile): new method
1677         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1678
1679 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1680
1681         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1682
1683 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1684
1685         * lyxfunc.C (dispatch): remove the verbose argument
1686         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1687         instead
1688
1689         * kbmap.C (defkey): set the origin of func to KEYBOARD
1690
1691         * MenuBackend.C (MenuItem):
1692         * ToolbarBackend.C (add): set the origin of func to UI
1693
1694         * funcrequest.[Ch]: add origin member, which indicates which part
1695         of LyX requests an action
1696
1697 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1698
1699         * converter.C (move): don't lie in the error message
1700         * converter.h (isReachable, move): document
1701
1702 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1703
1704         * buffer.C: remove unused using lyx::support::atoi
1705         * paragraph_funcs.C: ditto
1706
1707 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1708
1709         * bufferlist.C (exists): use bind and equal_to instead of
1710         compare_memfun
1711         (getBuffer): ditto
1712         * lyxtextclasslist.C (NumberOfClass): ditto
1713
1714         * cursor.C (insert): use for_each instead of explicit for loop
1715
1716         * bufferlist.C (getFileNames): use std::transform and
1717         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1718
1719         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1720         for loop
1721
1722         * buffer.C (changeLanguage): use for_each instead of explicit for
1723         loop
1724         (hasParWithID): implement using getParFromID
1725
1726         * LaTeXFeatures.C: ws change only
1727
1728         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1729         to cleanup a bit.
1730
1731         * BufferView_pimpl.C (trackChanges): use for_each instead of
1732         expilicit for loop
1733
1734 2004-11-04  André Pönitz  <poenitz@gmx.net>
1735
1736         * undo.h:
1737         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1738
1739         * dociterator.C (asDocIterator): use hard assert again.
1740
1741 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1742
1743         * lyxlength.C (asLatexString): rewrite so that it does not use
1744         snprintf anymore
1745
1746 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1747
1748         * text3.C (specialChar, dispatch): make sure cursor moves to the
1749         right after inserting an inset
1750
1751 2004-11-02  José Matos  <jamatos@lyx.org>
1752
1753         * output_docbook.C (docbook):
1754         * paragraph.C (getID):
1755         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1756         garantee that the output is always legal.
1757
1758         * tabular.C (docbook):
1759         * outputprams.[Ch]: remove mixed contents.
1760
1761 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1762
1763         * text2.C (setCounter): prevent endless loop
1764
1765 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1766
1767         * exporter.C (copyFile): use the mover instead of support::copy()
1768         * exporter.C (Export): pass format and latex name to copyFile()
1769         * exporter.h (addExternalFile): document
1770         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1771
1772 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1773
1774         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1775
1776 2004-10-30  José Matos  <jamatos@lyx.org>
1777
1778         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1779         text and no inset or font change. This allows to use CDATA
1780         sections just for the whole paragraph.
1781
1782 2004-10-30  José Matos  <jamatos@lyx.org>
1783
1784         * paragraph.C (getFirstWord): remove unused variable.
1785
1786 2004-10-30  José Matos  <jamatos@lyx.org>
1787
1788         * paragraph.C (getFirstWord): the content should always be escaped
1789         there.
1790         (simpleDocBookOnePar):
1791         * output_docbook.C (makeEnvironment): replace reference to CDATA
1792         to style pass_thru.
1793
1794 2004-10-30  José Matos  <jamatos@lyx.org>
1795
1796         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1797
1798 2004-10-30  José Matos  <jamatos@lyx.org>
1799
1800         * output_docbook.C (makeParagraphs):
1801         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1802         standard paragraph has only a given type of content drop the wrapper.
1803
1804 2004-10-29  José Matos  <jamatos@lyx.org>
1805
1806         * output_docbook.C (makeEnvironment):
1807         * sgml.C (openTag):
1808         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1809
1810 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1811
1812         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1813         (cleanID): sanitize any id.
1814
1815 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1816
1817         * buffer.C, lyxlex_pimpl.C:
1818         * lyxlex_pimpl.C (setFile):
1819         s/getExtFromContents/getFormatFromContents/
1820
1821 2004-10-28  José Matos  <jamatos@lyx.org>
1822
1823         * output_docbook.C (makeEnvironment): move id to broadest possible
1824         scope.
1825
1826         * sgml.C (openTag): apply substitution of <> for all attributes.
1827
1828 2004-10-28  José Matos  <jamatos@lyx.org>
1829
1830         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1831         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1832         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1833
1834         * sgml.[Ch]: new version for open and closeTag for paragraph and
1835         for strings. Now they handle the ids of paragraphs.
1836
1837 2004-10-26  Angus Leeming  <leeming@lyx.org>
1838
1839         * Makefile.am: add mover.[Ch].
1840
1841         * converter.C (convert, move): use the new Movers to move external
1842         files to the temp directory.
1843
1844         * lyx_main.C (init): ensure that the global system_movers data
1845         is initialised.
1846
1847         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1848         preferences file.
1849
1850         * mover.[Ch]: new files, defining a Mover as a utility to move an
1851         external file between directories and, if necessary, manipulate this
1852         file using a helper script.
1853
1854 2004-10-25  José Matos  <jamatos@lyx.org>
1855
1856         * output_docbook.C (makeCommand): merge two if's that tested the
1857         same condition.
1858
1859 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1860
1861         * sgml.C (escapeString): fix warning in a better way
1862
1863 2004-10-25  José Matos  <jamatos@lyx.org>
1864
1865         * sgml.C (escapeString): import the require boosts header file for
1866         tie, and avoid a signed unsigned comparison.
1867
1868 2004-10-25  José Matos  <jamatos@lyx.org>
1869
1870         * sgml.h: add #include <string>
1871
1872 2004-10-25  José Matos  <jamatos@lyx.org>
1873
1874         * sgml.[Ch] (escapeString): new function to escape all the string.
1875
1876 2004-10-24  José Matos  <jamatos@lyx.org>
1877
1878         * paragraph.[Ch] (getFirstWord): new function to get the first
1879         word. Useful for description.
1880         (simpleDocBookOnePar): remove depth argument, add another that
1881         says where to start the paragraph.
1882
1883         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1884         use the new functions to fix cleanly the support for descriptions.
1885
1886 2004-10-24  José Matos  <jamatos@lyx.org>
1887
1888         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1889         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1890         * output_linuxdoc.C (linuxdocParagraphs):
1891         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1892         add buffer as argument.
1893
1894 2004-10-24  José Matos  <jamatos@lyx.org>
1895
1896         * output_docbook.C (makeEnvironment, searchEnvironment): place
1897         CDATA inside paragraphs and fix scope for listitems.
1898
1899 2004-10-24  José Matos  <jamatos@lyx.org>
1900
1901         * output_docbook.C: remove using statement for stack.
1902
1903 2004-10-23  José Matos  <jamatos@lyx.org>
1904
1905         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1906         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1907         docbook. The new scheme is recursive and makes use of iterators, the
1908         same as latex export works.
1909         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1910         directly with the paragraph contents. This code was moved up to
1911         output_docbook.C (docbookParagraphs).
1912         * sgml.C (openTag, closeTag): removed unneeded newlines.
1913         (closeEnvTags) removed.
1914
1915 2004-10-23  André Pönitz  <poenitz@gmx.net>
1916
1917         * undo.C (textUndoOrRedo):
1918         * dociterator.C (asDocIterator): work around crash
1919
1920         * cursor.C (getStatus): replace ASSERT by more verbose error message
1921           and manual correction of the problem. Should increase stability
1922           while providing more sensible information.
1923
1924 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1925
1926         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1927
1928         * bufferlist.C (previous, next): new methods
1929
1930         * lfuns.h:
1931         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1932
1933 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1934
1935         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1936         entities to preamble.
1937
1938 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1939
1940         * messages.C (Pimpl): strip off translation context information
1941
1942 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1943
1944         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1945         the cursor is correct (bug 1694)
1946
1947 2004-10-13  José Matos  <jamatos@lyx.org>
1948
1949         * output_docbook.C (docbookParagraphs): fix closing tags in the
1950         end of the document.
1951
1952 2004-10-09  José Matos  <jamatos@lyx.org>
1953
1954         * buffer.C: format up to 237.
1955         * bufferparams.C (write): use tostr to convert booleans to strings.
1956
1957 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1958
1959         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1960
1961 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1962
1963         * LaTeX.C: implement use of babel language in xindy.
1964
1965 2004-10-05  José Matos  <jamatos@lyx.org>
1966
1967         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1968         Add new translators to help reading and writing the lyx file.
1969
1970 2004-10-05  José Matos  <jamatos@lyx.org>
1971
1972         * ParagraphParameters.C (read):
1973         * text.C (readParToken): replace nexToken by more appropriate lex
1974         methods.
1975
1976 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1977
1978         * LaTeX.C (runMakeIndex):
1979         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1980         (usually 'makeindex') configurable.
1981
1982         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1983         with a variable rather than with a number.
1984
1985 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1986
1987         * output_latex.C (TeXOnePar): make sure font setting is the first
1988         thing that gets output (and the last at the end). Should fix bug
1989         1404.
1990
1991 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1992
1993         * pch.h: use proper signal include
1994
1995         * LaTeX.h: Use preferred calling of Boost.Signal
1996         * buffer.h: ditto
1997
1998 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1999
2000         * pch.h: dont include <boost/function/function0.hpp>
2001
2002         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2003
2004         * paragraph_pimpl.h: remove usage of ShareContainer
2005
2006         * paragraph_pimpl.C: remove initialization of ShareContainer.
2007
2008 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2009
2010         Fix bug #1666
2011
2012         * BufferView.C (putSelectionAt): change the semantics when
2013         backwards == true: now, this just swaps cursor and anchor wrt the
2014         forward case
2015
2016         * BufferView.h (putSelectionAt): add some documentation
2017
2018         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2019         make sure backwardChar is done at least once (to avoid getting
2020         stuck)
2021         (findNextChange): use putSelectionAt in the forward direction
2022         (operator()): use Paragraph::isWord
2023
2024 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2025
2026         * Spacing.C (set): c_str fix
2027
2028 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2029
2030         * lyx_cb.C (Reconfigure): quote the name of configure script in
2031         case it contains spaces
2032
2033 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2034
2035         * client: new dir
2036
2037         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2038         (BOOST_LIBS): use top_buildir when looking for the file
2039
2040 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2041
2042         * pch.h: do not use include boost/format.hpp, multiple symbols
2043                 will result (gcc bug)
2044
2045
2046 2004-08-23  José Matos  <jamatos@lyx.org>
2047
2048         * bufferparams.C (readToken): fix reading of the author field.
2049
2050 2004-08-20  José Matos  <jamatos@lyx.org>
2051
2052         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2053
2054 2004-08-20  José Matos  <jamatos@lyx.org>
2055
2056         * lyxlex.[Ch] (findToken): remove function.
2057
2058         * ParagraphParameters.C (findToken):
2059         * bufferparams.C (findToken): replace call for previous function
2060         with local copy. This local function has one more argument, the
2061         read string argument.
2062
2063 2004-08-16  José Matos  <jamatos@lyx.org>
2064
2065         * ParagraphParameters.C (write):
2066         * Spacing.C (writeFile):
2067         * bufferparams.C (writeLaTeX):
2068         * lyx_cb.C (Reconfigure):
2069         * paragraph.C (write):
2070         * tabular.C (write): remove unnecessary space at end of line.
2071
2072
2073 2004-08-16  José Matos  <jamatos@lyx.org>
2074
2075         * text.C (readParagraph): remove debug message.
2076
2077 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2078
2079         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2080         crash
2081
2082         * output_plaintext.C (asciiParagraph): set depth correctly
2083
2084         * outputparams.h: add member depth
2085
2086         * paragraph_funcs.C (ownerPar): remove.
2087
2088         * text2.C (setCounter): remove first_pit; comment out some
2089         non-working code that uses ownerPar
2090
2091         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2092         uses ownerPar
2093
2094 2004-08-16  José Matos  <jamatos@lyx.org>
2095
2096         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2097         For the same level of importance use the same chanel to report problems.
2098         (read): add code to deal with \begin_body and \end_body.
2099
2100
2101 2004-08-15  José Matos  <jamatos@lyx.org>
2102
2103         * lyxlex.C (getString): fix comment, buffer::readBody is now
2104         buffer:readDocument.
2105
2106         * tex-strings.C (string_papersize): Default -> default,
2107         Custom -> custom, for consistency with other options.
2108
2109 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2110
2111         * pch.h: new file
2112
2113         * Makefile.am: support pch
2114
2115 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2116
2117         * text.C (readParToken): remove the static LyXFont variable and
2118         pass it as a parameter instead. This fixes a nasty bug where an
2119         inset will be inserted with a bad font in some situations
2120         (readParagraph): adapt
2121
2122         * text2.C (setCounter): reduce number of calls to pars_[pit]
2123
2124         * text.C (singleWidth): add an assert, fix a test
2125
2126         * rowpainter.C (paintText): reduce number of calls to singleWidth
2127
2128         * paragraph.C (isHfill):
2129         (isNewline): ws only
2130
2131 2004-08-14  André Pönitz  <poenitz@gmx.net>
2132
2133         * text.C:
2134         * text2.C:
2135         * rowpainter.C:
2136         * lyxtext.h (several functions): use a Paragraph & argument
2137         instead of par_type
2138
2139 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2140
2141         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2142
2143         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2144
2145         * text.C (singleWidth): remove useless test
2146
2147 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2148
2149         * tabular.h: remove bogus comments
2150
2151         * tabular.C (getDescentOfRow):
2152         (isPartOfMultiColumn): add assertions
2153
2154         * lyxlength.C (inPixels): remove #warning
2155
2156 2004-08-14  André Pönitz  <poenitz@gmx.net>
2157
2158         * paragraph.h: inline getChar()
2159
2160         * BufferView.h: remove unused declarations
2161
2162 2004-08-14  José Matos  <jamatos@lyx.org>
2163
2164         * Buffer.[Ch] (readDocument): new name for old readBody.
2165         * Buffer.C: new file format, new keywords: \begin_document,
2166         \begin_header, \begin_body, \end_body.
2167
2168         * bufferparams.C (readToken): replace all calls to lex.nextToken
2169         by lex.next(). Do the same to eatLine except where really needed.
2170
2171         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2172         line when writing to the lyx file.
2173
2174         * output_plaintext.C (asciiParagraph): fix Bibliography style
2175         handling.
2176
2177         * text.C (read): fix end of file handling.
2178
2179 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2180
2181         * MenuBackend.C (Menu::operator[]): new method to access
2182         individual menu items
2183         (Menu::hasFunc): new method. search for an item that corresponds
2184         to a given func
2185         (MenuBackend::specialMenu): new method
2186         (MenuBackend::expand): if a special menu has been set, skip
2187         entries whose func() appears in this menu
2188
2189 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2190
2191         * text3.C: use Debug::DEBUG a bit more
2192
2193         * text.C (leftMargin): try to simplify a tiny bit change var x to
2194         l_margin. Dont output the wide margins always.
2195         (rightMargin): no margin in inner texts
2196
2197         * rowpainter.h (nestMargin): new func
2198         (changebarMargin): new func
2199         (rightMargin): new func
2200
2201         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2202         now functions.
2203         (paintLast): ditto
2204
2205         * factory.C (createInset): modify setDrawFrame
2206
2207         * cursor.C: use Debug::DEBUG a bit more
2208
2209 2004-08-14  André Pönitz  <poenitz@gmx.net>
2210
2211         * coordcache.[Ch]:
2212         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2213         cache for all insets in (at least partially) visible (top-level)
2214         paragraphs.
2215
2216         * BufferView_pimpl.C: reset external coord cache before every update.
2217         This means the coord cache only contains valid entries.
2218
2219 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2220
2221         bug 1096
2222         * BufferView_pimpl.C (getInsetByCode): move function out of class
2223         and change in to a template in anon namespace. Also fix to do what
2224         suits us better.
2225
2226 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2227
2228         bug 1305
2229         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2230         of char
2231         (breakParagraph): rename par to par_offset and use a local
2232         reference. Add code to keep the language over a rebreak.
2233         (breakParagraphConservative): rename par to par_offset, use a
2234         local reference
2235         (mergeParagraph): ditto
2236         (outerHook): ditto
2237         (isFirstInSequence): ditto
2238         (outerFont): rename pit to par_offset
2239
2240         * paragraph.C: ws change
2241         * paragraph.h: ditto
2242         * text3.C: ditto
2243         * text.C: ditto
2244
2245 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2246
2247         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2248         treatment for ']'
2249
2250         * paragraph.C (simpleTeXOnePar): when we have a \item with
2251         optional argument, enclose the argument with curly brackets (in
2252         case it contains a closing square bracket)
2253
2254         * text2.C (editXY):
2255         * text2.C (editXY):
2256         * text3.C (checkInsetHit): constify
2257
2258 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2259
2260         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2261         documents (bug 1629)
2262
2263 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2264
2265         Fix toggling of collapsable insets with the mouse (bug 1558)
2266
2267         * lyxfunc.C (dispatch): adapt to LCursor changes
2268
2269         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2270         make sure that dispatch is not invoked twice
2271
2272         * cursor.C (needsUpdate): new method
2273         (dispatch): return void
2274         (result): new method, to access the DispatchResult of the cursor.
2275
2276 2004-08-13  José Matos  <jamatos@lyx.org>
2277
2278         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2279
2280 2004-08-13  André Pönitz  <poenitz@gmx.net>
2281
2282         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2283
2284         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2285           multiple cells
2286
2287 2004-08-12  André Pönitz  <poenitz@gmx.net>
2288
2289         * text3.C: take out the 'cursor right' form insertInset and only
2290         do it in those places when it is really needed. Fixes crash on
2291         C-m...
2292
2293 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2294
2295         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2296
2297         * BufferView_pimpl.C (setBuffer): initialize the current font of
2298         the underlying LyXText
2299
2300 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2301
2302         * kbsequence.C (print): use UI native formatting for menu
2303         shortcuts
2304
2305         * text.C (insertChar): call Paragraph::insertChar with a font
2306         argument (cosmetic)
2307
2308         * paragraph.C (insertInset, insertChar): the version that takes a
2309         LyXFont argument is now a wrapper around the other one (the
2310         opposite used to be true).
2311
2312         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2313         argument. Font setting is done in Paragraph now.
2314
2315 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2316
2317         * outputparams.h: add new members intitle and lang.
2318
2319         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2320         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2321
2322 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2323
2324         * text3.C (dispatch): remove special handling of button 4 and 5,
2325         it is now taken care of in the frontend code.
2326
2327 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2328
2329         * Spacing.h: add <string> (STLPort compile fix)
2330
2331 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2332
2333         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2334
2335 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2336
2337         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2338         to bool.
2339
2340         * converter.C (showMessage): inherit from unary_function, make
2341         operator() const.
2342
2343         * buffer.C (writeFile): initialize retval
2344
2345         * InsetList.h: rename private variable list to list_
2346         * InsetList.[Ch]: adjust accordingly.
2347
2348 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2349
2350         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2351         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2352         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2353         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2354         * ParagraphParameters.C, LaTeXFeatures.C: replace
2355         "support/std_sstream.h" with <sstream>
2356
2357 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2358
2359         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2360         * lyxsocket.C (LyXServerSocket): ditto
2361         (serverCallback): ditto
2362
2363 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2364
2365         * LaTeXFeatures.C: check release date when loading jurabib.
2366
2367 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2368
2369         * lyxserver.C (startPipe): call register_socket_callback
2370         (endPipe): call unregister_socket_callback
2371
2372 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2373
2374         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2375         (LyXServerSocket): register the callback
2376         (LyXServerSocket): unregister the callback
2377         (fd): delete function
2378         (serverCallback): improve error checking and setup the callbacks.
2379         (dataCallback): change arg to fd.
2380         (writeln): new func (copied fro the client socket) used for server
2381         write to client.
2382         (LyXDataSocket): simplify
2383         (~LyXDataSocket): close ann unregiser callback
2384         (server): delete function
2385         (fd): delete function
2386         (readln): small changes, improve some std::string usage
2387         (writeln): constify a bit
2388
2389 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2390
2391         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2392         Qt frontend
2393
2394 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2395
2396         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2397         after it has been populated
2398
2399 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2400
2401         * text2.C (insertInset): move cursor when inserting inset.
2402
2403 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2404
2405         * kbmap.C (findbindings): a couple of new methods. returns a
2406         container of kb_sequence objects. The real work is done by the
2407         private recursive version
2408         (printbindings): uses findbindings to print out a bracketed list
2409         of bindings (renamed from findbinding).
2410
2411         * MenuBackend.C (binding): use kb_keymap::findbindings
2412
2413         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2414
2415 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2416
2417         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2418
2419 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2420
2421         * paragraph.C (isWord): return true on insets that report
2422         isLetter().
2423
2424         * text.C (getWord): use Paragraph::isWord to decide what is in a
2425         word and what is not; fix bug 1609.
2426
2427 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2428
2429         * tex-strings.C: add "none" to string_paperpackages[], fixes
2430         off-by-one-error in the paperpackage selection.
2431
2432         * lyxlex.[Ch]:
2433         * tex-strings.[Ch]: char const * string[n]
2434         -> char const * const string[]
2435
2436 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2437
2438         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2439         command, return early.
2440
2441 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2442
2443         * debug.h: add DEBUG to enum and fix size of ANY.
2444
2445         * debug.C: add support for Debug::DEBUG
2446         (showTags): cast errorTags.level to unsigned int
2447
2448         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2449         (redoCurrentBuffer): ditto
2450         (updateScrollbar): ditto
2451         * cursor.C (dispatch): ditto
2452         * text2.C (setLayout): ditto
2453         (setFont): ditto
2454         (updateCounters): ditto
2455         (editXY): ditto
2456         (deleteEmptyParagraphMechanism): ditto
2457
2458 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2459
2460         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2461         annotations to cleanup the Makefile slightly.
2462
2463 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2464
2465         * lyxrc.C: do not set user_email to a default value but use empty
2466         instead. The entry used to be translated, which does not work
2467         since at the point where lyxrc is constructed there is no
2468         translation service available
2469
2470         * messages.C (getLocaleDir): remove and use directly
2471         lyx_localedir() instead
2472
2473 2004-06-02  Angus Leeming  <leeming@lyx.org>
2474
2475         Fix crash caused by dereferencing null pointer 'exportdata' in
2476         OutputParams by creating a new ExportData variable on the heap,
2477         storing it in a boost::shared_ptr.
2478         The crash was triggered when generating an Instant Preview
2479         of an external inset.
2480
2481         * Makefile.am: add outputparams.C
2482
2483         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2484         (c-tor): allocate memory to it.
2485
2486         * exporter.C (c-tor): associated changes.
2487
2488 2004-06-01  Angus Leeming  <leeming@lyx.org>
2489
2490         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2491         contains data before calling isInset(0). (Bug 1513.)
2492
2493 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2494
2495         * exporter.C (checkOverwrite): new method
2496         * exporter.C (copyFile): new method
2497         * exporter.C (Export): copy referenced files to the document dir
2498         * exporter.[Ch]: new class ExportedFile
2499         * exporter.[Ch]: new class ExportData. Contains currently the
2500         names of referenced external files
2501         * outputparams.h: add exportdata member.
2502
2503 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2504
2505         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2506         version.C-tmp
2507
2508 2004-05-19  Angus Leeming  <leeming@lyx.org>
2509
2510         * LaTeXFeatures.C:
2511         * ToolbarBackend.C:
2512         * bufferparams.C:
2513         * lyxfunc.C: small changes due to the introduction of namespace
2514         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2515
2516 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2517
2518         * text3.C (dispatch): supress update when only moving the cursor
2519         * cursor.C (selHandle): remove commented code
2520
2521 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2522
2523         * paragraph.C (startTeXParParams): correct column count
2524         * CutAndPaste.C (pasteSelection): remove const_cast
2525         * output_docbook.C (docbookParagraphs): remove const_cast
2526         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2527         const_cast and return ParagraphList::const_iterator
2528         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2529         * output_plaintext.C (writeFileAscii): remove const_cast
2530         * paragraph.[Ch] (simpleTeXOnePar): make const
2531         * paragraph_funcs.C (outerPar): use const iterators
2532         * paragraph_pimpl.C (validate): use const iterators
2533         * text.C (setHeightOfRow): use const iterators
2534
2535 2004-05-17  Angus Leeming  <leeming@lyx.org>
2536
2537         * lfuns.h:
2538         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2539
2540         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2541         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2542         if the citation engine has changed.
2543
2544 2004-05-14  José Matos  <jamatos@lyx.org>
2545
2546         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2547         if the textclass does not provide it. Have it different for sgml and
2548         xml.
2549         support the language of document.
2550         * output_docbook.C (docbookParagraphs):
2551         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2552         first anchor as the id of the paragraph, remove special case code.
2553         * sgml.C (escapeChar): escape only < & >.
2554
2555 2004-05-14  Angus Leeming  <leeming@lyx.org>
2556
2557         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2558         dependencies on src/frontends/controllers/biblio.h. Define a
2559         CiteEngine_enum wrapper class to enable the enum to be forward
2560         declared.
2561
2562 2004-05-12  Angus Leeming  <leeming@lyx.org>
2563
2564         * buffer.C: up LYX_FORMAT to 234.
2565         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2566         use_numerical_citations with a single biblio::CiteEngine cite_engine
2567         variable.
2568         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2569
2570 2004-05-13  José Matos  <jamatos@lyx.org>
2571
2572         * converter.h:
2573         * converter.C (Converter, readFlags): add xml member.
2574         * outputparams.h: add XML flavor.
2575         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2576
2577 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2578
2579         * lyxfunc.C (dispatch):
2580         (getStatus): fix handling of LFUN_SEQUENCE
2581
2582 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2583
2584         * debug.C (showLevel): do not forget the end-of-line marker
2585
2586 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2587
2588         * kbmap.C (read): do not stop parsing a bind file when an error
2589         occurs (bug 1575)
2590
2591 2004-04-29  Angus Leeming  <leeming@lyx.org>
2592
2593         * cursor.C:
2594         * factory.C:
2595         * pariterator.C:
2596         * text2.C: wrap a bunch of #warning statements
2597         inside #ifdef WITH_WARNINGS blocks.
2598
2599 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2600
2601         * buffer.C: increment format to 233.
2602
2603 2004-04-28  Angus Leeming  <leeming@lyx.org>
2604
2605         * BufferView_pimpl.C:
2606         * lyxfunc.C:
2607         * text3.C:
2608         s/updateToolbar()/updateToolbars()/
2609         s/Toolbar.h/Toolbars.h/
2610
2611 2004-04-28  Angus Leeming  <leeming@lyx.org>
2612
2613         * BufferView.[Ch] (c-tor):
2614         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2615         No longer passes these data to the WorkArea generator.
2616
2617 2004-04-28  Angus Leeming  <leeming@lyx.org>
2618
2619         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2620
2621 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2622
2623         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2624
2625 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2626
2627         * output_latex.C (TeXEnvironment): make sure that there is a line
2628         break before \end{foo} for the last paragraph of a document
2629         (TeXOnePar): if the paragraph is at the end of the document (or
2630         inset) and the language has to be reset, then make sure that the
2631         line break is _before_ the language command, not after (fixes bug
2632         1225); also make sure that the language reset command is the first
2633         thing after the paragraph (to ensure proper nesting of
2634         environments and thus fix bug 1404)
2635
2636 2004-04-21  John Levon  <levon@movementarian.org>
2637
2638         * ToolbarBackend.h:
2639         * ToolbarBackend.C: make "name" be a programmatic name
2640         and a gui_name field.
2641
2642         * lyxfunc.C: display the minibuffer on M-x
2643
2644 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2645
2646         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2647         (bug 1526)
2648
2649 2004-04-19  Angus Leeming  <leeming@lyx.org>
2650
2651         * BufferView_pimpl.C (setBuffer): changed preview interface.
2652
2653         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2654         possible values.
2655
2656 2004-04-19  John Levon  <levon@movementarian.org>
2657
2658         * BufferView_pimpl.C:
2659         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2660
2661 2004-04-05  Angus Leeming  <leeming@lyx.org>
2662
2663         * text.C (redoParagraphs): add call to updateCounters(), thereby
2664         fixing the missing "Figure #:" label from the caption of a
2665         figure float.
2666
2667 2004-04-13  Angus Leeming  <leeming@lyx.org>
2668
2669         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2670         cursor is clicked out of an inset.
2671
2672 2004-04-13  Angus Leeming  <leeming@lyx.org>
2673
2674         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2675         than an InsetOld one.
2676
2677 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2678
2679         * format.[Ch]: add editor to Format
2680         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2681         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2682
2683 2004-04-08  André Pönitz  <poenitz@gmx.net>
2684
2685         * metricsinfo.h: remove PainterInfo::width member
2686
2687 2004-04-08  Angus Leeming  <leeming@lyx.org>
2688
2689         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2690         "\providecommand" rather than "\newcommand", thereby preventing
2691         clashes with packages that define "\boldsymbol" themselves.
2692         Eg, beamer.
2693
2694 2004-04-08  Angus Leeming  <leeming@lyx.org>
2695
2696         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2697         thereby squashing an unnecessary warning.
2698
2699 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2700
2701         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2702         setBuffer()
2703
2704 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2705
2706         * BufferView.C (setCursor): call redoParagraph (some insets could
2707         have been opened)
2708         (putSelectionAt): remove the 'double update' trick
2709
2710         * BufferView_pimpl.C (fitCursor): call refreshPar
2711         (workAreaDispatch): remove an uneeded update call
2712         (dispatch): remove some manual update calls
2713
2714         * cursor.[Ch]: remove cached_y_, updatePos
2715         (selHandle): set noUpdate when appropriate
2716
2717         * lyxfunc.C (dispatch): track if we need an update
2718
2719         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2720
2721         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2722         (paintSelection): cheap optimization, do not call cursorX when not
2723         needed
2724         (paintPars): change signature
2725         (refreshPar): add
2726         (paintText): adjust
2727         (paintTextInset): adjust
2728
2729         * text.C: adjust
2730
2731 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2732
2733         * lengthcommon.C: compilation fix: remove explicit array size from
2734         unit_name[] and friends
2735
2736 2004-04-05  Angus Leeming  <leeming@lyx.org>
2737
2738         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2739
2740         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2741         present only for the preferences dialog.
2742         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2743
2744 2004-04-05  Angus Leeming  <leeming@lyx.org>
2745
2746         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2747         to enable the frontends to export changes to lyxrc correctly.
2748
2749         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2750
2751 2004-04-07  André Pönitz  <poenitz@gmx.net>
2752
2753         * cursor.[Ch] (selClear, adjust): remove math
2754
2755         * cursor_slice.C: more agressive assert
2756
2757         * lyxfunc.C:
2758         * BufferView_pimpl.C: rework mouse event dispatch
2759
2760         * dociterator.C:
2761         * paragraph.C:
2762         * text2.C:
2763         * text3.C: adjust
2764
2765 2004-04-05  André Pönitz  <poenitz@gmx.net>
2766
2767         * cursor.[Ch] (valign, halign...): remove unneeded functions
2768
2769 2004-04-05  Angus Leeming  <leeming@lyx.org>
2770
2771         * lyxlength.[Ch] (unit_name et al.): const-correct.
2772
2773 2004-04-05  Angus Leeming  <leeming@lyx.org>
2774
2775         * BufferView_pimpl.C:
2776         * buffer.C:
2777         * counters.C:
2778         * cursor.C:
2779         * lyxfunc.C
2780         * paragraph.C:
2781         * pariterator.C:
2782         * text.C:
2783         * text2.C:
2784         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2785
2786 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2787
2788         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2789
2790 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2791
2792         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2793         * BufferView_pimpl.[Ch] (getStatus)
2794         * BufferView.[Ch] (getStatus): add
2795         * lyxfunc.C (getStatus): move lfuns handled in
2796         BufferView::dispatch to te function above
2797         * Cursor.C (setSelection): set selection() = true
2798
2799 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2800
2801         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2802
2803 2004-03-31  Angus Leeming  <leeming@lyx.org>
2804
2805         * lyxfunc.C (dispatch): Fall through to the generic
2806         Dialogs::show("preamble").
2807
2808 2004-03-31  Angus Leeming  <leeming@lyx.org>
2809
2810         * lyxfunc.C (dispatch): Fall through to the generic
2811         Dialogs::show("spellchecker").
2812
2813 2004-03-31  Angus Leeming  <leeming@lyx.org>
2814
2815         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2816         preferences dialog.
2817
2818 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2819
2820         * BufferView.C
2821         * cursor.[Ch]
2822         * dociterator.[Ch]:
2823         * insetiterator.[Ch]:
2824         * lyxfind.C:
2825         * lyxfunc.C:
2826         * pariterator.[Ch]:
2827         * text2.C:
2828         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2829
2830 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2831
2832         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2833         insets where we are putting the cursor.
2834
2835 2004-03-31  Angus Leeming  <leeming@lyx.org>
2836
2837         * lfuns.h:
2838         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2839
2840         * lyxrc.[Ch] (read, write): overloaded member functions taking
2841         a std::[io]stream arguments.
2842
2843         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2844
2845 2004-03-31  Angus Leeming  <leeming@lyx.org>
2846
2847         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2848         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2849
2850         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2851         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2852
2853 2004-03-31  Angus Leeming  <leeming@lyx.org>
2854
2855         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2856         the LFUN_ALL_INSETS_TOGGLE code.
2857
2858 2004-03-30  Angus Leeming  <leeming@lyx.org>
2859
2860         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2861         has died. Fall through to the generic Dialogs::show("document").
2862
2863 2004-03-30  Angus Leeming  <leeming@lyx.org>
2864
2865         * lfuns.h:
2866         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2867         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2868
2869         * lyxfunc.C (getStatus, dispatch): define the actions for these
2870         lfuns. Little more than a cut and pste job from ControlDocument.C
2871
2872         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2873
2874 2004-03-30  Angus Leeming  <leeming@lyx.org>
2875
2876         * lfuns.h:
2877         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2878         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2879
2880         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2881         open/closed state of ollapsable insets. Usage:
2882
2883         all-inset-toggle <state> <name>, where
2884         <state> == "open" || "closed" || "toggle" and
2885         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2886
2887         * lyxtext.h, text2.C (toggleInset): removed.
2888
2889         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2890         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2891         now passes LFUN_INSET_TOGGLE to the found inset.
2892
2893         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2894         is now invoked as "all-insets-toggle toggle branch".
2895
2896 2004-03-30  Angus Leeming  <leeming@lyx.org>
2897
2898         * dociterator.C:
2899         * insetiterator.C:
2900         * pariterator.[Ch]: added/corrected header blurb.
2901
2902 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2903
2904         * dociterator.[Ch]: add an inset_ member
2905         (backwardPos): implemented
2906         (backwardPos, forwardPos): use inset_ when the stack is empty.
2907         (doc_iterator_begin, doc_iterator_end): implemented
2908         * pariterator.[Ch]: adjust, add begin, end
2909         * insetiterator.[Ch]: adjust, add begin, end
2910         * cursor.C:
2911         * document.C:
2912         * BufferView.C:
2913         * BufferView_pimpl.C:
2914         * CutAndPaste.C: adjust
2915
2916 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2917
2918         * buffer.C: increment file format to 232.
2919         * LaTeXFeatures.C: add bibtopic package.
2920         * bufferparams.[Ch]: param \use_bibtopic.
2921
2922         * lyxrc.[Ch]: add lyxrc bibtex_command
2923         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2924
2925         * buffer.C: increment file format to 231.
2926
2927 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2928
2929         * dociterator.C: implement forwardPar
2930         * iterators.[Ch]: remove, replaced by
2931         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2932         * BufferView.C:
2933         * BufferView_pimpl.C:
2934         * CutAndPaste.C:
2935         * buffer.C:
2936         * bufferview_funcs.C:
2937         * cursor.C:
2938         * lyxfind.C
2939         * lyxfunc.C
2940         * paragraph_funcs.C
2941         * toc.C:
2942         * Makefile.am: adjust
2943
2944 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2945
2946         * CutAndPaste.C (pasteSelection): fix 2 crashes
2947         (eraseSelection): fix a crash
2948         * paragraph_funcs.C: remove a warning
2949
2950 2004-03-28  Angus Leeming  <leeming@lyx.org>
2951
2952         * lfuns.h:
2953         * LyXAction.C (init): new LFUN_PRINT.
2954
2955         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2956
2957 2004-03-27  Angus Leeming  <leeming@lyx.org>
2958
2959         * lfuns.h:
2960         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2961
2962         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2963
2964 2004-03-27  Angus Leeming  <leeming@lyx.org>
2965
2966         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2967         insetlist always contains non-null pointers to insets.
2968
2969 2004-03-26  Angus Leeming  <leeming@lyx.org>
2970
2971         * src/BufferView_pimpl.C:
2972         * src/CutAndPaste.C:
2973         * src/buffer.C:
2974         * src/iterators.C:
2975         * src/output_plaintext.C:
2976         * src/outputparams.h:
2977         * src/paragraph_funcs.C:
2978         * src/rowpainter.C:
2979         * src/text.C:
2980         * src/text2.C:
2981         * src/frontends/controllers/ControlErrorList.C:
2982         * src/frontends/gtk/FileDialogPrivate.C:
2983         * src/frontends/gtk/GPainter.C:
2984         * src/frontends/gtk/GToolbar.C:
2985         * src/frontends/qt2/QRef.C:
2986         * src/mathed/math_scriptinset.C: squash compiler warnings.
2987
2988 2004-03-26  Angus Leeming  <leeming@lyx.org>
2989
2990         * ispell.C (LaunchIspell::start):
2991         * lyx_cb.C (AutoSaveBuffer::start):
2992         invoke run(DontWait) rather than runNonBlocking().
2993
2994 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2995
2996         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2997
2998 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2999
3000         * kbsequence.C (print): adjust
3001
3002         * kbmap.C (printKeySym): rename and change signature
3003         (printKey): use LyXKeySym::print()
3004
3005 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3006
3007         * undo.C: add using std::advance to compile for stlport
3008
3009 2004-03-24  Angus Leeming  <leeming@lyx.org>
3010
3011         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3012         it leads to a crash when no buffer is present.
3013
3014 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3015             Martin Vermeer  <martin.vermeer@hut.fi>
3016
3017         * lyxfunc.C (dispatch):
3018         * bufferparams.C (readToken): use the new LColor::setColor
3019
3020         * LColor.[Ch] (setColor): new version that takes two strings as
3021         argument and creates a new color entry if necessary
3022
3023 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3024
3025         * buffer.C (makeLaTeXFile): if the main latex file that is
3026         processed is usually a subdocument of some master, then pretend
3027         for a while that it is actually the master
3028
3029 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3030
3031         * buffer.C (getLabelList):
3032         (getBibkeyList): use getMasterBuffer()
3033         (getMasterBuffer): new method. Returns the main document in the
3034         case where one is using included documents.
3035
3036 2004-03-25  André Pönitz  <poenitz@gmx.net>
3037
3038         * Makefile.am:
3039         * iterators.[Ch]:
3040         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3041
3042         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3043
3044         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3045         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3046
3047         * ParameterStruct.h: merge with ParagraphParameters
3048
3049         * lyxtext.h: remove LyXText::parOffset() and getPar()
3050
3051         * text3.C: Remove all 'manual' update calls. We do now one per user
3052         interaction which is completely sufficient.
3053
3054         * Bidi.C:
3055         * BufferView.[Ch]:
3056         * BufferView_pimpl.C:
3057         * FontIterator.[Ch]:
3058         * MenuBackend.C:
3059         * ParagraphParameters.[Ch]:
3060         * buffer.C:
3061         * buffer.h:
3062         * bufferlist.C:
3063         * cursor.[Ch]:
3064         * cursor_slice.[Ch]:
3065         * dociterator.[Ch]:
3066         * errorlist.[Ch]:
3067         * factory.C:
3068         * lfuns.h:
3069         * lyxfind.C:
3070         * lyxfunc.C:
3071         * output_docbook.[Ch]:
3072         * output_latex.[Ch]:
3073         * output_linuxdoc.[Ch]:
3074         * output_plaintext.[Ch]:
3075         * paragraph.[Ch]:
3076         * paragraph_funcs.[Ch]:
3077         * paragraph_pimpl.[Ch]:
3078         * rowpainter.C:
3079         * tabular.[Ch]:
3080         * text.C:
3081         * text2.C:
3082         * toc.C:
3083         * undo.[Ch]: adjust
3084
3085         * frontends/controllers/ControlDocument.C:
3086         * frontends/controllers/ControlErrorList.C:
3087         * frontends/controllers/ControlSpellchecker.C:
3088         * insets/inset.C:
3089         * insets/inset.h:
3090         * insets/insetbase.h:
3091         * insets/insetbibitem.C:
3092         * insets/insetbox.C:
3093         * insets/insetbranch.C:
3094         * insets/insetcaption.C:
3095         * insets/insetcharstyle.C:
3096         * insets/insetcharstyle.h:
3097         * insets/insetcollapsable.C:
3098         * insets/insetcollapsable.h:
3099         * insets/insetert.C:
3100         * insets/insetfloat.C:
3101         * insets/insetfoot.C:
3102         * insets/insetmarginal.C:
3103         * insets/insetnote.C:
3104         * insets/insetoptarg.C:
3105         * insets/insettabular.C:
3106         * insets/insettext.C:
3107         * insets/insettext.h:
3108         * insets/insetwrap.C:
3109         * mathed/math_mboxinset.C:
3110         * mathed/math_nestinset.C:
3111         * mathed/math_scriptinset.C:
3112         * mathed/math_scriptinset.h:
3113         * support/types.h:
3114
3115 2004-03-24  Angus Leeming  <leeming@lyx.org>
3116
3117         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3118         deal with any child processes that have finished but are waiting to
3119         communicate this fact to the rest of LyX.
3120
3121 2004-03-24  Angus Leeming  <leeming@lyx.org>
3122
3123         64-bit compile fixes.
3124
3125         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3126         (c-tor): pass lyx::pos_types rather than ints.
3127
3128         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3129         lyx::pos_type.
3130
3131         * text.C (Delete): compile fix.
3132         (getPar): ensure that function declaration is the same as that in
3133         the header file.
3134
3135 2004-03-23  Angus Leeming  <leeming@lyx.org>
3136
3137         * ispell.C (LaunchIspell):
3138         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3139         a boost::shred_ptr rather than a std::auto_ptr.
3140
3141 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3142
3143         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3144         handle LFUN_FILE_INSERT_*
3145
3146         * lyxrc.C (setDefaults, getDescription, output, read):
3147         * lyxrc.h: remove ps_command
3148
3149 2004-03-22  Angus Leeming  <leeming@lyx.org>
3150
3151         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3152         Ensure that error_handler is processed once only and that all data
3153         is saved before attempting to output any warning messages.
3154
3155         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3156
3157 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3158
3159         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3160
3161 2004-03-19  André Pönitz  <poenitz@gmx.net>
3162
3163         * cursor.[Ch] (reset): take main text inset as argument
3164
3165         * BufferView: adjust
3166         * BufferView_pimpl.C: adjust
3167
3168         * paragraph.[Ch]: fix completely broken operator=()
3169
3170 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3171
3172         * LColor.C (getFromLyXName): make sure that the color name is used
3173         as lowercase.
3174
3175 2004-03-17  Angus Leeming  <leeming@lyx.org>
3176
3177         * lfuns.h:
3178         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3179
3180         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3181         dialog and to kill a forked process.
3182
3183 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3184
3185         * text2.C (setCursorFromCoordinates): fix font problem
3186
3187 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3188
3189         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3190         bogus "rebuild cursor" code
3191
3192 2004-03-11  André Pönitz  <poenitz@gmx.net>
3193
3194         * buffer.[Ch]: use InsetText instead of LyXText as container for
3195         the main lyx text.
3196
3197         * dociterator.[Ch]: drop the BufferView * member which is not needed
3198         anymore after the change to buffer.C
3199
3200         * paragraph_funcs.C:
3201         * text.C:
3202         * text2.C:
3203         * BufferView.[Ch]:
3204         * BufferView_pimpl.[Ch]:
3205         * cursor.[Ch]:
3206         * cursor_slice.[Ch]: adjust
3207
3208         * text3.C: fix bug in mathDispatch
3209
3210 2004-03-08  André Pönitz  <poenitz@gmx.net>
3211
3212         * undo.[Ch]: use 'StableDocumentIterator' as base for
3213         the Undo struct.
3214
3215 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3216
3217         * LaTeXFeatures.C:
3218         * bufferparams.[Ch]: add jurabib support and param.
3219
3220         * LaTeX.C: add FIXME/comment.
3221
3222 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3223
3224         * buffer.C: increment file format to 230.
3225
3226 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3227
3228         * cursor.C (dispatch): avoid infinite loops
3229
3230 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3231
3232         * rowpainter.C (paintSelection): fix x coordinates
3233
3234 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3235
3236         * text.C (rowBreakPoint): fix breaking before displayed insets
3237
3238 2004-03-01  André Pönitz  <poenitz@gmx.net>
3239
3240         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3241
3242         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3243
3244         * Makefile.am:
3245         * BufferView.C:
3246         * BufferView_pimpl.C:
3247         * buffer.C:
3248         * lyxfind.C:
3249         * lyxfunc.C:
3250         * text.C:
3251         * text2.C:
3252         * text3.C: adjust
3253
3254 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3255
3256         * lyxtext.h:
3257         * text.C:
3258         * text2.C:
3259         * rowpainter.C:
3260         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3261         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3262
3263 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3264
3265         * Bidi.[Ch] (computeTables): const correctness
3266         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3267         fill_hfill, fill_label_hfill and x from Row
3268         * lyxtext.h: prepareToPrint returns a RowMetrics
3269         * rowPainter.C: adjust
3270         * text.C (prepareToPrint): use width, not textWidth. adjust
3271         (redoParagraphInternal, cursorX): adjust
3272         * text2.C (getColumnNearX): adjust
3273         (init): put a default value to the top LyXText::width
3274
3275 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3276
3277         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3278
3279 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3280
3281         * lyxtext.h: add FontIterator class
3282
3283         * text.C (FontIterator, operator*, operator->, operator++): add
3284         (rowBreakPoint, setRowWidth): adjust (fixing a
3285         rebreaking bug)
3286
3287 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3288
3289         * BufferView_pimpl.C (workAreaDispatch): allow also
3290         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3291
3292 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3293
3294         * text.C (rowBreakPoint): fix a bug showing with very large insets
3295
3296 2004-02-25  André Pönitz  <poenitz@gmx.net>
3297
3298         * text3.C:
3299         * cursor.[Ch]: move some mathed specific code to mathed
3300
3301 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3302
3303         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3304         use_tempdir in preferences
3305         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3306         tempfile creation
3307         * lyx_main.C: ensure that tempdir is valid
3308         * lyxlex.h: correct typo
3309         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3310         * paragraph.[Ch] (isMultiLingual): make const
3311         * cursor.[Ch] (openable): make const
3312
3313 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3314
3315         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3316
3317 2004-02-20  André Pönitz  <poenitz@gmx.net>
3318
3319         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3320
3321         * cursor.[Ch]: prepare for localized getStatus()
3322
3323         * lyxtext.h:
3324         * tabular.C:
3325         * text.C:
3326         * text2.C:
3327         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3328
3329 2004-02-20  André Pönitz  <poenitz@gmx.net>
3330
3331         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3332
3333 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3334
3335         * text2.C (setCursorFromCoordinates): switch to absolute coords
3336         (cursorUp): adjust
3337         (cursorDown): adjust
3338         * text3.C (dispatch): adjust
3339
3340 2004-02-16  André Pönitz  <poenitz@gmx.net>
3341
3342         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3343           insets/ChangeLog)
3344
3345         * cursor_slice.[Ch]: remove unneeded acessor function
3346
3347         * lyxtext.h: rename rtl() to isRTL()
3348
3349         * rowpainter.C:
3350         * tabular.C:
3351         * text.C:
3352         * text2.C:
3353         * text3.C: adjust
3354
3355 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3356
3357         * rowpainter.C (paintSelection): coord fix
3358
3359 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3360
3361         * Spacing.C: compile fix
3362
3363 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3364
3365         * cursor.C (dispatch): restore current_ before returning
3366
3367 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3368
3369         * text2.C (cursorUp, cursorDown): fix coords
3370         (moveUp): fix crash
3371
3372 2004-02-12  André Pönitz  <poenitz@gmx.net>
3373
3374         * lyxtext.h:
3375         * text.C:
3376         * text2.C:
3377         * text3.C: add LCursor & parameter to most cursor movement functions
3378           remove usage of LyXText::cursorRow() and cursorPar()
3379
3380         * cursor.[Ch]: add textRow() needed members
3381
3382         * BufferView.C:
3383         * BufferView_pimpl.C:
3384         * paragraph.[Ch]:
3385         * BufferView.C:
3386         * BufferView_pimpl.C: adjust
3387
3388 2004-02-11  André Pönitz  <poenitz@gmx.net>
3389
3390         * lyxfunc.C:
3391         * BufferView.[Ch]:
3392         * BufferView_pimpl.C: shift undo/redo handling
3393
3394         * cursor.[Ch]: fix mathed crash
3395
3396         * lyxfind.C:
3397         * lyxtext.h: move selectionAsText to LCursor
3398
3399         * output_latex.C:
3400         * paragraph.C:
3401         * text.C:
3402         * text2.C:
3403         * text3.C: adjust
3404
3405         * rowpainter.C: fix excessive drawing
3406
3407 2004-02-06  André Pönitz  <poenitz@gmx.net>
3408
3409         * BufferView.[Ch]:
3410         * BufferView_pimpl.[Ch]:
3411         * text3.C: move some text specific LFUN handling
3412
3413 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3414
3415         * text3.C (checkInsetHit): adjust coords
3416         * text2.C (getColumnNearX): adjust coords
3417         (edit): adjust coords
3418         * text.C (getRowNearY): add two asserts
3419
3420 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3421
3422         * converter.C:
3423         * format.C: add using std::distance to compile on gcc 2.95/stlport
3424
3425 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3426
3427         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3428
3429 2004-02-04  André Pönitz  <poenitz@gmx.net>
3430
3431         * BufferView.[Ch] (insertInset):
3432         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3433
3434         * text2.C:
3435         * text3.C: adjust
3436
3437 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3438
3439         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3440         on the default clause of the switch
3441         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3442         wasn't catched by LCursor::dispatch
3443
3444 2004-02-03  André Pönitz  <poenitz@gmx.net>
3445
3446         * BufferView.C:
3447         * cursor.[Ch]: some additional asserts
3448
3449         * undo.[Ch]: remove LyXText dependency in interface
3450
3451         * lyxfunc.C: adjust
3452
3453         * lyxtext.h (firstPar, lastPar): remove dead functions
3454
3455         * text.C:
3456         * text2.C:
3457         * text3.C:
3458         * paragraph.[Ch]: adjust
3459
3460 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3461
3462         * lyxfind.C (find): fix argument order in call to ::find
3463
3464 2004-02-02  André Pönitz  <poenitz@gmx.net>
3465
3466         * cursor.[Ch]: remove direct access to anchor
3467
3468         * text.C: remove findText() hack
3469
3470 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3471
3472         * iterators.[Ch] (lockPath): remove in favour of...
3473         * BufferView.[Ch] (setCursor): this addition
3474         * BufferView.C (putSelectionAt): adjust
3475         * undo.C (performUndoOrRedo): adjust
3476         * lyxfunc.C (dispatch): adjust
3477
3478 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3479
3480         * iterators.C (lockPath): add a missing slice
3481         * undo.C (performUndoOrRedo): remove redundant positioning code
3482
3483 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3484
3485         * vc-backend.C (scanMaster): ";" -> ';'
3486
3487 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3488
3489         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3490         std::binary_function
3491
3492         * lyxtextclass.C (compare_name): rename to...
3493         (LayoutNamesEqual): ...this
3494
3495         * lyxlex_pimpl.C (compare_tags): inherit from
3496         std::binary_function, put back into anon namespace
3497
3498         * lyxfind.C (MatchString): inherig from std::binary_function
3499         (findChange): use empty() istead of !size()
3500
3501         * format.C (FormatNamesEqual): new functor
3502         (getFormat): use it
3503         (getNumber): use it
3504         (add): use it
3505         (erase): use it
3506         (setViewer): use it
3507
3508         * converter.C (compare_Converter): rename to...
3509         (ConverterEqual): ...this, and fixup a bit.
3510         (getConverter): use it, and make function const
3511         (getNumber): use it, and make function const
3512         (add): use it
3513         (erase): use it:
3514
3515         * bufferlist.C: add using boost::bind
3516
3517         * MenuBackend.C (MenuNamesEqual): new functor
3518         (hasMenu): use it, and make function const
3519         (hasSubmenu): use nested bind to get rid of compare_memfun.
3520
3521 2004-01-30  André Pönitz  <poenitz@gmx.net>
3522
3523         * BufferView_pimpl.C:
3524         * cursor.C:
3525         * cursor.h:
3526         * cursor_slice.[Ch]:
3527         * lyxfunc.C:
3528         * lyxtext.h:
3529         * paragraph_funcs.C:
3530         * paragraph_funcs.h:
3531         * rowpainter.C:
3532         * text.C:
3533         * text2.C:
3534         * text3.C: move some of the edit(x,y) handling to the insets
3535         some coordinate changes.
3536
3537 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3538
3539         * text.C: add using statements for std::advance and std::distance
3540
3541         * paragraph.C: add using statement for std::distance
3542
3543         * lyxfind.C: add using statement for std::advance
3544
3545         * cursor.C (region): remove std:: from swap
3546         (openable): use nucleus in stead of operator->
3547
3548         * BufferView.C: add using statements for std::distance and std::swap
3549
3550 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3551
3552         * iterators.C: Remove the pimple, move the needed structures to
3553         the header file. Create accessor for the positions stack.
3554         (asPosIterator): remove function
3555
3556         * PosIterator.C (PosIterator): move constructors to top of file
3557         (PosIterator): reimplement the constructor taking a ParIterator in
3558         terms of setFrom.
3559         (setFrom): new function
3560         (operator!=): inline it
3561
3562 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3563
3564         * lyxfind.C (replaceAll): use std::advance
3565
3566         * iterators.h: inherit from std::iterator.
3567
3568         * PosIterator.C (advance, distance): remove
3569         * PosIterator.h: interit from std::iterator.
3570
3571 2004-01-26  André Pönitz  <poenitz@gmx.net>
3572
3573         * BufferView.[Ch]:
3574         * BufferView_pimpl.[Ch]:
3575         * InsetList.[Ch]:
3576         * PosIterator.[Ch]:
3577         * buffer.h:
3578         * bufferview_funcs.C:
3579         * cursor.[Ch]:
3580         * cursor_slice.h:
3581         * factory.[Ch]:
3582         * iterators.[Ch]:
3583         * lyxfind.C:
3584         * lyxfunc.C:
3585         * lyxtext.h:
3586         * output_docbook.C:
3587         * output_latex.C:
3588         * output_linuxdoc.C:
3589         * output_plaintext.C:
3590         * paragraph.[Ch]:
3591         * paragraph_funcs.[Ch]:
3592         * paragraph_pimpl.[Ch]:
3593         * rowpainter.C:
3594         * tabular.C:
3595         * tabular.h:
3596         * text.C:
3597         * text2.C:
3598         * text3.C: more IU:  dumps most of the rest of the mathcursor
3599     implementation into cursor.[Ch]; "globalize" a bit of it.
3600
3601 2004-01-25  Angus Leeming  <leeming@lyx.org>
3602
3603         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3604
3605 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3606
3607         * LaTeXFeatures.h: add nice_ and nice() const
3608         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3609
3610 2004-01-20  André Pönitz  <poenitz@gmx.net>
3611
3612         * BufferView.[Ch]:
3613         * BufferView_pimpl.C:
3614         * PosIterator.C:
3615         * bufferview_funcs.C:
3616         * cursor.[Ch]:
3617         * cursor_slice.[Ch]:
3618         * factory.C:
3619         * iterators.C:
3620         * lyx_cb.C:
3621         * lyxfind.C:
3622         * lyxfunc.C:
3623         * lyxtext.h:
3624         * rowpainter.C:
3625         * text.C:
3626         * text2.C:
3627         * text3.C:
3628         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3629           LCursor and mathcursor parts to LCursor and InsetBase.
3630
3631 2004-01-15  André Pönitz  <poenitz@gmx.net>
3632
3633         * cursor_slice.[Ch]: add a few covienience functions
3634
3635         * funcrequest.[Ch]: remove BufferView * member
3636
3637         * BufferView_pimpl.C:
3638         * cursor.C:
3639         * factory.[Ch]:
3640         * lyxfind.[Ch]:
3641         * lyxfunc.C:
3642         * lyxtext.h:
3643         * text3.C:
3644         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3645
3646 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3647
3648         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3649         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3650
3651 2004-01-13  André Pönitz  <poenitz@gmx.net>
3652
3653         * textcursor.[Ch]:
3654         * lyxtext.h: hide cursor and selection anchor behind accessor function
3655
3656         * BufferView.C:
3657         * BufferView_pimpl.[Ch]:
3658         * PosIterator.C:
3659         * bufferview_funcs.C:
3660         * cursor.h:
3661         * lyxfind.C:
3662         * lyxfunc.C:
3663         * text.C:
3664         * text2.C:
3665         * text3.C:
3666         * undo.C: adjust
3667
3668         * cursor.h:
3669         * cursor_slice.[Ch]: some integer type changes for inset unification
3670
3671         * lyxcursor.[hC]: remove, it's CursorSlice now.
3672
3673         * Makefile.am:
3674         * BufferView_pimpl.[Ch]:
3675         * bufferview_funcs.C:
3676         * cursor_slice.C:
3677         * lyxtext.h:
3678         * text.C:
3679         * text2.C:
3680         * text3.C:
3681         * textcursor.[Ch]: adjust
3682
3683 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3684
3685         * text2.C (undoSpan): add and use
3686         * text.C (breakParagraph): use undoSpan (fix bug 578)
3687         * lyxtext.h: adjust
3688
3689 2004-01-08  Angus Leeming  <leeming@lyx.org>
3690
3691         * BufferView_pimpl.C (MenuInsertLyXFile):
3692         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3693         * lyxfunc.C (menuNew, open, doImport):
3694         FileFilterList change to the FileDialog open and save functions.
3695
3696 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3697
3698         * ShareContainer.h: make isEqual and isUnique adaptable
3699
3700         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3701
3702 2004-01-07  Angus Leeming  <leeming@lyx.org>
3703
3704         * LyXAction.C:
3705         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3706
3707         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3708
3709         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3710         functions replacing find, replace and replaceAll.
3711
3712         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3713         LFUN_WORDFIND(FORWARD|BACKWARD).
3714
3715 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3716
3717         * text.C (breakParagraph): remove an outdated #warning
3718
3719 2004-01-07  André Pönitz  <poenitz@gmx.net>
3720
3721         * lyxfind.C: somewhat clearer logic
3722
3723         * text.C: prevent crash in cursorX on unitialized row cache
3724
3725 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3726
3727         * lyxcursor.[Ch] (operator>): add
3728         * textcursor.C (selStart, selEnd): use std::min and std::max
3729
3730 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3731
3732         * Chktex.C: include boost/format.hpp
3733
3734 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3735
3736         * InsetList.C: replace functor MathcIt with adaptable functor
3737         InsetTablePosLess
3738         (insetIterator): modify accordingly
3739
3740         * BranchList.h: move the BranchNamesEqual functor here from...
3741         * BranchList.C: ... to here
3742
3743         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3744         SameName and match.
3745         (add): replace a finding loop with std::find_if.
3746
3747 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3748
3749         * output_docbook.C: moving LatexParam functionality into
3750         .layout files
3751
3752 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3753
3754         * buffer.C: increment format to 229.
3755
3756 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3757
3758         * LaTeXFeatures.C:
3759         * lyx_sty.[Ch]: remove minipageindent_def
3760
3761         * LyXAction.C:
3762         * factory.C:
3763         * lfuns.h:
3764         * lyxfunc.C:
3765         * text3.C: remove LFUN_INSET_MINIPAGE
3766
3767 2003-12-28  Angus Leeming  <leeming@lyx.org>
3768
3769         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3770
3771 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3772
3773         * text2.C (setParagraph): fix off-by-one crash
3774
3775 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3776
3777         * output_docbook.C: header stuff for AGU
3778
3779 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3780
3781         * text2.C (redoCursor): remove
3782         * text.C:
3783         * text3.C:
3784         * BufferView_pimpl.C: remove calls to redoCursor and
3785         setCursor(cursor.par(), cursor.pos()) all around
3786
3787 2003-12-15  Angus Leeming  <leeming@lyx.org>
3788
3789         * buffer.C: up the format to 228.
3790
3791 2003-12-15  André Pönitz  <poenitz@gmx.net>
3792
3793         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3794         slices
3795
3796         * Makefile.am:
3797
3798         * BufferView_pimpl.C:
3799         * cursor.[Ch]:
3800         * lyxcursor.[Ch]:
3801         * rowpainter.[Ch]:
3802         * lyxtext.h:
3803         * text.C:
3804         * text2.C:
3805         * text3.C: adjust
3806
3807 2003-12-15  Angus Leeming  <leeming@lyx.org>
3808
3809         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3810         than getFromGUIName to manipulate the color.
3811
3812 2003-12-14  Angus Leeming  <leeming@lyx.org>
3813
3814         * BranchList.[Ch]: minimize the API.
3815         (Branch::getBranch, getColor): now return a 'const &'.
3816         (Branch::setSelected) now returns a bool set to true if the
3817         selection status changes.
3818         (BranchList::clear, size, getColor, setColor, setSelected,
3819         allBranches, allSelected, separator): removed.
3820         (BranchList::find): new functions, returning the Branch with
3821         the given name.
3822         (BranchList::add, remove): return a bool indicating that
3823         the operation was successful.
3824
3825         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3826         new InsetBranch::isBranchSlected member function.
3827
3828         * LColor.[Ch]: mimimize the API.
3829         (fill): renamed as addColor and made private.
3830         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3831         versions of these functions taking a string arg have been removed.
3832
3833         * bufferparams.C (readToken):
3834         * lyxfunc.C (dispatch):
3835         * lyxrc.C (read): changes due to the altered BranchList and
3836         LColor APIs.
3837
3838         * factory.C (createInset, readInset): changes due to altered
3839         InsetBranch c-tor.
3840
3841 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3842
3843         * factory.C:
3844         * lyxfunc.C: remove insetminipage. "minipage-insert"
3845         now produces a frameless minipage box inset.
3846
3847 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3848
3849         * textcursor.[Ch] (selStart,selEnd): add new methods
3850         remove selection::start, end, use LyXCursor::operator<
3851         * lyxcursor.[Ch] (operator<): add
3852         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3853         * BufferView.[Ch] (unsetXSel): add
3854         * text2.C (clearSelection): use unsetXSel,adjust
3855         * text.C: adjust
3856         * text3.C: adjust
3857         * rowpainter.C: adjust
3858         * bufferview_funcs.C (put_selection_at): adjust
3859
3860 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3861
3862         * BufferView_pimpl.C: small coord. correction
3863
3864 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3865
3866         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3867         dragging over the splash screen.
3868
3869 2003-12-11  Angus Leeming  <leeming@lyx.org>
3870
3871         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3872         as it is now handled in LyXText::dispatch.
3873
3874         * text3.C (doInsertInset): remove a level of nesting.
3875
3876 2003-12-11  Angus Leeming  <leeming@lyx.org>
3877
3878         * factory.C (createInset): changes due to the changed interface to
3879         InsetCommandMailer::string2params.
3880
3881 2003-12-10  Angus Leeming  <leeming@lyx.org>
3882
3883         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3884         'dialog-show-new-inset <inset name>'
3885
3886 2003-12-10  Angus Leeming  <leeming@lyx.org>
3887
3888         * buffer.C: up the format to 227.
3889
3890         * factory.C: the box inset is now identified simply by 'Box'.
3891
3892 2003-12-10  Angus Leeming  <leeming@lyx.org>
3893
3894         * buffer.C: up the format to 226.
3895
3896         * factory.C: the note inset is now identified simply by 'Note'.
3897
3898 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3899
3900         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3901         when a pit is enough. Standarize a couple of loops.
3902
3903 2003-12-05  Angus Leeming  <leeming@lyx.org>
3904
3905         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3906         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3907         data to the re-worked "log" dialog.
3908
3909 2003-12-03  André Pönitz  <poenitz@gmx.net>
3910
3911         * PosIterator.C:
3912         * iterators.C:
3913         * lyxtext.h:
3914         * output_latex.C:
3915         * paragraph_funcs.C:
3916         * text.C:
3917         * text2.C: use Inset::getText instead of Inset::getParagraph
3918
3919 2003-12-03  André Pönitz  <poenitz@gmx.net>
3920
3921         * buffer.[Ch]:
3922         * lyxtext.h:
3923         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3924         InsetText::read() as LyXText::read()
3925
3926 2003-12-02  Angus Leeming  <leeming@lyx.org>
3927
3928         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3929         type. Add a comment in the implementation that the function uses
3930         the stream's bad() function rather than fail() as the std::streams
3931         would do.
3932
3933 2003-12-02  André Pönitz  <poenitz@gmx.net>
3934
3935         * lyxlex.[Ch]: make interface more similar to std::stream
3936
3937         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3938
3939 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3940
3941         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3942
3943 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3944
3945         * vspace.[Ch]: remove VSpace::NONE
3946
3947 2003-12-01  André Pönitz  <poenitz@gmx.net>
3948
3949         * buffer.[Ch]:
3950         * lyxtext.h: move ParagraphList member to LyXText
3951         rename LyXText::ownerParagraphs to LyXText::paragraph
3952
3953         * CutAndPaste.C:
3954         * bufferview_funcs.C:
3955         * iterators.[Ch]:
3956         * lyx_cb.C:
3957         * paragraph.C:
3958         * rowpainter.C:
3959         * tabular.C:
3960         * text.C:
3961         * text2.C:
3962         * text3.C: adjust
3963
3964         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3965
3966         * undo.C: fix cursor positioning
3967
3968 2003-12-01  John Levon  <levon@movementarian.org>
3969
3970         * BufferView_pimpl.C: fix a crash on exit with
3971         a buffer open
3972
3973 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3974
3975         * BranchList.C: fix setSelected() method.
3976
3977 2003-11-28  André Pönitz  <poenitz@gmx.net>
3978
3979         * ParagraphParameters.[Ch]:
3980         * ParameterStruct.h: remove space above/below from Paragraph to
3981          InsetVSpace
3982
3983         * BufferView_pimpl.C:
3984         * factory.C:
3985         * lyxfunc.C:
3986         * lyxtext.h:
3987         * output_latex.C:
3988         * paragraph.C:
3989         * paragraph_funcs.C:
3990         * rowpainter.[Ch]:
3991         * text.C:
3992         * text2.C:
3993         * text3.C: adjust
3994
3995 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3996
3997         * factory.C: Syntax change for CharStyles
3998
3999 2003-11-28  André Pönitz  <poenitz@gmx.net>
4000
4001         * BufferView.[Ch]:
4002         * BufferView.[Ch]:
4003         * buffer.[Ch]:
4004         * buffer.[Ch]: move LyXText member
4005
4006 2003-11-28  André Pönitz  <poenitz@gmx.net>
4007
4008         * BufferView.[Ch]: make LyXText * text a private member
4009
4010         * BufferView_pimpl.C:
4011         * cursor.C:
4012         * iterators.C:
4013         * lyx_cb.C:
4014         * lyxfind.C:
4015         * lyxtext.h:
4016         * rowpainter.[Ch]:
4017         * text.C:
4018         * text2.C:
4019         * undo.C: adjust
4020
4021         * output_plaintext.C: cleanup
4022
4023 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4024
4025         * buffer.C:
4026         * lyxtextclass.[Ch]: parametrize SGML document header
4027
4028 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4029
4030         * converter.[Ch]:
4031         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4032         getFlavor().
4033
4034 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4035
4036         * text2.C (setFont): rework using PosIterator (no more recursive)
4037         (setCharFont): no more needed
4038         (setLayout): no more selection cursors fiddling (done by redoCursor)
4039         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4040         destroy remaining ones)
4041
4042 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4043
4044         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4045         * lyxtext.h: ditto
4046         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4047         selection cursors
4048         * lyxfunc.C: adjust
4049         * text3.C: adjust + re-allow multi par depth changes
4050         * textcursor.C: simplify a bit
4051
4052 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4053
4054         * src/buffer.C:
4055         * src/lyxlayout.C:
4056         * src/lyxlayout.h:
4057         * src/lyxtext.h:
4058         * src/output_docbook.C:
4059         * src/output_latex.C:
4060         * src/paragraph.C:
4061         * src/paragraph.h:
4062         * src/sgml.C:
4063         * src/sgml.h:
4064         * src/text2.C: Introducing a number of tags parametrizing various
4065         XML formats that we may want to support
4066
4067 2003-11-25  André Pönitz  <poenitz@gmx.net>
4068
4069         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4070
4071         * lyxtext.h (leftMargin/rightMargin): simplify interface
4072
4073         * rowpainter.C:
4074         * text.C:
4075         * text2.C:
4076         * text3.C: adjust
4077
4078 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4079
4080         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4081         master file to any child files. Fixes bug 546.
4082
4083 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4084
4085         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4086
4087 2003-11-24  André Pönitz  <poenitz@gmx.net>
4088
4089         * rowpainter.C: simplification
4090
4091         * text2.C (updateCounters): remove call to redoParagraph on
4092         changed labels as this is far too expensive.
4093
4094 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4095
4096         * converter.C (convert): fix a crash: this function gets
4097         called with buffer == 0 from importer code.
4098
4099 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4100
4101         * text3.C (cursorPrevious): make sure that we do not compare
4102         iterators form different containers.
4103         (cursorNext): ditto
4104
4105         * rowpainter.C (paintSelection): make sure that we do not compare
4106         iterators from different containers.
4107
4108         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4109         iterators from different ParagraphList containers.
4110         [NEXT] ditto
4111
4112         * text2.C (LyXText): change order of initialization slightly
4113         (operator=): new function. copy all variables except cache_par_
4114         (moveUp): make sure that we do not compare iterators from
4115         different ParagraphList constainers.
4116         (moveDown): ditto
4117
4118         * text.C (firstPar): new function
4119         (lastPar): new function
4120         (endPar): new function
4121
4122         * lyxtext.h: move things around and group public functions, public
4123         variables, private functions, private variables
4124
4125 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4126
4127         * factory.C: change call to InsetERT constructor to avoid
4128         additional invocation of method status
4129         * text2.C (toggleInset): remove redundant update() call
4130         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4131         instead of a Bufferview pointer
4132
4133 2003-11-21  André Pönitz  <poenitz@gmx.net>
4134
4135         * rowpainter.C: simplification
4136
4137 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4138
4139         * text3.C (dispatch): make possible to extend a word/row selection
4140         with the mouse
4141
4142 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4143
4144         * lyxtext.h: x0_,y0_ -> xo_,yo_
4145         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4146         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4147         * rowpainter.C (paintRows): paint full paragraphs
4148
4149 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4150
4151         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4152         screen coordinates)
4153
4154 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4155
4156         * lyxtext.h: add x0_, y0_
4157         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4158         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4159
4160 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4161
4162         * text2.C (setCursorIntern): move the x_target update here *
4163         * text3.C: change some bv() to true/false in calls to
4164         cursorUp/Down/Right/Left
4165         * cursor.C: use helper function.
4166
4167 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4168
4169         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4170         * paragraph_funcs.[Ch]: correct comment
4171         * rowpainter.C: do not paint selections away from bv->cursor()
4172         Fix a long standing selection painting bug.
4173         * text3.C: generalize mouse-selection code to LyXTexts other that
4174         top one
4175         * textcursor.C: do not use y coords if we can use par offsets
4176
4177 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4178
4179         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4180         cursor position after e.g. inset insert)
4181
4182 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4183
4184         * lyxfind.C (replace): adjust to locking removal + some
4185         code simplification
4186
4187 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4188
4189         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4190         of the path
4191
4192 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4193
4194         * lyxlayout.[Ch]:
4195         * output_docbook.C: XML sanitation: new layout
4196         parameters InnerTag and CommandDepth
4197
4198 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4199
4200         * BufferView_pimpl.C:
4201         * factory.C:
4202         * text3.C: Fix the insertion and modification of button-style
4203         insets
4204
4205 2003-11-13  André Pönitz  <poenitz@gmx.net>
4206
4207         * InsetList.[Ch]: remove deleteLyXText
4208
4209         * paragraph.[Ch]: cache beginOfBody position
4210
4211         * Bidi.C:
4212         * text.C:
4213         * text2.C:
4214         * text3.C: remove superfluous update() calls
4215
4216         * vspace.C: cleanup
4217
4218 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4219
4220         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4221         * BufferView.C (fitLockedInsetCursor): remove
4222         * cursor.[Ch] (getDim): add
4223         * text.C (getRowNearY): add faster version
4224         * text3.C: remove some update calls
4225
4226 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4227
4228         * LaTeXFeatures.C:
4229         * LyXAction.C:
4230         * MenuBackend.C:
4231         * MenuBackend.h:
4232         * dispatchresult.h:
4233         * factory.C:
4234         * lfuns.h:
4235         * lyxfunc.C:
4236         * lyxtextclass.C:
4237         * lyxtextclass.h:
4238         * text3.C: The Character Style /XML short element patch.
4239
4240 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4241
4242         * text3.C:
4243         * factory.C: Small step to solving 'unable to insert some insets'
4244         problem
4245
4246 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4247
4248         * cursor.[Ch] (updatePos): new function for updating the y
4249         position of the tip inset
4250         * bufferview_funcs.C (put_selection_at):
4251         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4252
4253 2003-11-11  André Pönitz  <poenitz@gmx.net>
4254
4255         * text.C: remove big comment on invalid Paragraph pointers as it is
4256         not valid anymore
4257
4258 2003-11-11  André Pönitz  <poenitz@gmx.net>
4259
4260         * text_funcs.[Ch]: merge with ...
4261
4262         * text.C: ... this
4263
4264         * lyxtext.h:
4265         * text2.C:
4266         * text3.C: adjust
4267
4268         * Makefile.am: remove text_funcs.[Ch]
4269
4270 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4271
4272         * cursor.C (getPos): return absolute cached y coord
4273
4274         * BufferView_pimpl.C (fitCursor): new simplistic code
4275         (workAreaDispatch): add a fitCursor call
4276
4277 2003-11-10  André Pönitz  <poenitz@gmx.net>
4278
4279         * BufferView.[Ch]:
4280         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4281
4282 2003-11-10  André Pönitz  <poenitz@gmx.net>
4283
4284         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4285         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4286         indicate that the cursor needs to leave an inset
4287
4288         * lyxtext.h: remove inset locking
4289
4290         * cursor.[Ch]: re-implement functionality provided by inset locking
4291
4292         * BufferView.[Ch]:
4293         * BufferView_pimpl.[Ch]:
4294         * LyXAction.C:
4295         * bufferview_funcs.[Ch]:
4296         * factory.C:
4297         * funcrequest.[Ch]:
4298         * iterators.C:
4299         * lyx_cb.C:
4300         * lyxfind.C:
4301         * lyxfunc.C:
4302         * text.C:
4303         * text2.C:
4304         * text3.C:
4305         * undo.C: adjust
4306
4307 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4308
4309         * PosIterator.[Ch]: replace the stack with a vector, add inset
4310         accesor
4311         * iterators.[C]: adjust
4312
4313 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4314
4315         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4316         replaced
4317         * paragraph_funcs.C (readParToken): put the correct id in the
4318         error item, not the id of the top paragraph
4319
4320 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4321
4322         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4323         * bufferview_funcs.C (put_selection_at): use the above
4324
4325 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4326
4327         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4328
4329 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4330
4331         * output_linuxdoc.h:
4332         * output_plaintext.h:
4333         * output.h:
4334         * output_docbook.h: add #include statements
4335
4336 2003-11-05  José Matos  <jamatos@lyx.org>
4337
4338         * output_docbook.[Ch]:
4339         * output_latex.[Ch]:
4340         * output_linuxdoc.[Ch]:
4341         * output_plaintext.[Ch]: New files for output formats.
4342         * output.[Ch]: New file for helper functions.
4343
4344         * buffer.[Ch]:
4345         * paragraph_funcs.[Ch]: output functions moved to new files.
4346
4347         * outputparams.h: rename of latexrunparams.h
4348
4349         * LaTeX.[Ch]:
4350         * buffer.[Ch]:
4351         * bufferlist.[Ch]:
4352         * converter.[Ch]:
4353         * exporter.C:
4354         * paragraph.[Ch]:
4355         * paragraph_funcs.[Ch]:
4356         * paragraph_pimpl.[Ch]:
4357         * tabular.[Ch]: rename ascii to plaintext
4358         and LatexRunParams to OutputParams.
4359
4360 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4361
4362         * iterators.[Ch] (text): require bv argument
4363         * undo.C (recordUndo):
4364         * lyxfunc.C (dispatch):
4365         * bufferview_funcs.C (put_selection_at): adjust
4366
4367 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4368
4369         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4370
4371 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4372
4373         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4374         nestings
4375
4376 2003-11-04  André Pönitz  <poenitz@gmx.net>
4377
4378         * cursor.[Ch]: restructure
4379
4380         * BufferView.[Ch]:
4381         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4382
4383         * iterators.[Ch] (asCursor): remove
4384
4385         * lfuns.h: remove LFUN_INSET_EDIT
4386
4387         * lyxfunc.C:
4388         * tabular.C:
4389         * text.C:
4390         * text2.C:
4391         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4392
4393 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4394
4395         * lyxfind.[Ch]: complete overhaul
4396         * BufferView_pimpl.C:
4397         * lyxfunc.C: adjust
4398         * paragraph.[Ch] (insert): add
4399
4400 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4401
4402         * BufferView.[Ch]:
4403         * lyxtext.h:
4404         * text.C: remove dead spellcheck code
4405
4406 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4407
4408         * dispatchresult.h: add a val setter
4409
4410         * cursor.C (dispatch): use a tempvar for data_[i]
4411
4412 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4413
4414         * PosIterator.[Ch]: compile fix
4415
4416 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4417
4418         * text.C (cursorPar): deactivate the cursor cache
4419
4420 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4421
4422         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4423
4424 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4425
4426         * text3.C (dispatch): adjust for new DisptchResult semantics.
4427
4428         * lyxfunc.C (dispatch): handle update when return from
4429         Cursor::dispatch, adjust for new DispatchResult semantics.
4430
4431         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4432         DispatchResult(true) mean to not update. Add class functions for
4433         setting dispatched and update, as well as reading.
4434
4435         * cursor.C (dispatch): don't handle update here
4436
4437 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4438
4439         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4440         * trans_mgr.C: adjust
4441
4442         * paragraph_funcs.C (readParToken): exception safety
4443
4444         * lyxvc.h: store the vcs pointer in a scoped_ptr
4445         * lyxvc.C: adjust
4446
4447         * lyxsocket.C (serverCallback): exception safety
4448
4449         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4450
4451         * ispell.C (clone): make it return a auto_ptr
4452
4453         * factory.C (createInset): exception safety
4454         (readInset): exception safety
4455
4456         * bufferlist.C (newBuffer): exception safety
4457
4458         * Thesaurus.C (Thesaurus): use initialization for aik_
4459
4460         * MenuBackend.C (expandToc): exception safety.
4461
4462 2003-11-03  André Pönitz  <poenitz@gmx.net>
4463
4464         * buffer.C:
4465         * buffer.h:
4466         * bufferview_funcs.C: remove getInsetFromId()
4467
4468         * lyxcursor.[Ch]:
4469         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4470
4471         * lyxfunc.C:
4472         * text2.C:
4473         * text3.C: adjust
4474
4475 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4476
4477         * PosIterator.C (distance, advance): new
4478         * bufferview_funcs.[Ch] (put_selection_at): new
4479         * iterators.[Ch] (lockPath): new
4480
4481 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4482
4483         * iterators.[Ch] (asPosIterator): added
4484         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4485         * PosIterator.[Ch]: added
4486
4487 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4488
4489         * text3.C:
4490         * lyxfunc.C:
4491         * cursor.C (dispatch):
4492         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4493
4494         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4495         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4496         contructor, add a class function dispatched. Remove operator>=
4497
4498 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4499
4500         * debug.C: only use the default constructor for debugstream
4501         (lyxerr) here.
4502
4503         * main.C (main): include debug.h and setup the lyxerr streambuf
4504         here.
4505
4506 2003-10-31  José Matos  <jamatos@lyx.org>
4507
4508         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4509
4510         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4511         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4512         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4513         * paragraph_pimpl.C (simpleTeXSpecialC):
4514         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4515         add LatexRunParams argument.
4516
4517         * exporter.C (Export): change call accordingly.
4518
4519         * latexrunparams.h: add new member to take care of the other backends.
4520 2003-10-30  José Matos  <jamatos@lyx.org>
4521
4522         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4523         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4524         factorise code for paragraph output.
4525         * buffer.[Ch]:
4526         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4527         move functions.
4528
4529 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4530
4531         * text3.C (dispatch):
4532         * lyxfunc.C (dispatch):
4533         * cursor.C (dispatch):
4534         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4535
4536         * dispatchresult.h: make the dispatch_result_t ctor explicit
4537
4538 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4539
4540         * sgml.[Ch]:
4541         * buffer.C: small refactoring of docbook stuff
4542
4543 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4544
4545         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4546         meaning.
4547
4548 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4549
4550         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4551         operator dispatch_result_t, and operators for == != and >=
4552
4553         * cursor.C (dispatch): adjust for operator dispatch_result_t
4554         removal. comment out call to update
4555
4556         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4557
4558 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4559
4560         * text3.C:
4561         * text2.C:
4562         * text.C:
4563         * lyxtext.h:
4564         * lyxfunc.C:
4565         * cursor.C:
4566         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4567         (dispatch):
4568
4569         * dispatchresult.h: new file, DispatchResult broken out of
4570         insets/insetbase.h
4571
4572         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4573
4574 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4575
4576         * text.C (rowBreakPoint): put a hack inside #if 0
4577
4578 2003-10-28  André Pönitz  <poenitz@gmx.net>
4579
4580         * lyxtext.h:
4581         * metricsinfo.C:
4582         * paragraph_funcs.C:
4583         * rowpainter.C:
4584         * text.C:
4585         * text2.C: general cleanup (lots of small stuff)
4586
4587 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4588
4589         * text2.C (cursorEnd): simple fix to the "end key goes to one
4590         before the end on last row" bug
4591
4592 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4593
4594         * text.C (backspace): fix the "zombie characters"
4595
4596 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4597
4598         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4599
4600 2003-10-27  André Pönitz  <poenitz@gmx.net>
4601
4602         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4603
4604         * factory.C: handle new InsetPagebreak, InsetLine
4605
4606         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4607         and move handling into new InsetPagebreak, InsetLine
4608
4609         * BufferView_pimpl.C:
4610         * LyXAction.C:
4611         * ParagraphParameters.C:
4612         * ParameterStruct.h:
4613         * lyxfunc.C:
4614         * lyxtext.h:
4615         * paragraph.C:
4616         * paragraph.h:
4617         * paragraph_funcs.C:
4618         * paragraph_pimpl.C:
4619         * rowpainter.C:
4620         * text.C:
4621         * text2.C:
4622         * text3.C: adjust
4623
4624 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4625
4626         * text.C:
4627         * lyxrow_funcs.[Ch]:
4628         * Bidi.C:
4629         * paragraph.C:
4630         * lyxtext.h:
4631         * rowpainter.C:
4632         * text2.C:
4633         * text3.C: remove lastPos uses in favour of Row::endpos
4634
4635 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4636
4637         * undo.C (performUndoOrRedo): fix two crashes by setting a
4638         cursor by hand and reordering some calls. Use bv->lockInset instead
4639         of inset->edit because the latter loses cursor information
4640
4641 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4642
4643         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4644         by Martin
4645         (rowBreakPoint): fix width. change point to point + 1.
4646         Add a missing check.
4647
4648 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4649
4650         * MenuBackend.C:
4651         * lyxfunc.C: fix (at least partly) the problems
4652         with the Nav menu and headers inside branch insets
4653         reported by Kayvan
4654
4655 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4656
4657         * paragraph.C (getChar): add strong asserts
4658
4659         * lyxrow_funcs.C (lastPos): remove hideous hack
4660
4661         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4662         (fill): adjust to that (avoid an infinite loop)
4663
4664 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4665
4666         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4667
4668 2003-10-23  André Pönitz  <poenitz@gmx.net>
4669
4670         * RowList_fwd.h: change list<> to vector<> to gain speed
4671         after suggestion from Alfredo
4672
4673 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4674
4675         * lyxtext.h: move the bidi stuff from here...
4676         * text.C: and here
4677         * text2.C: and here
4678         * Bidi.[Ch]: ... to here
4679
4680 2003-10-23  André Pönitz  <poenitz@gmx.net>
4681
4682         * lyxtext.h:
4683         * text.C (isLastRow, isFirstRow): new functions
4684
4685         * paragraph.h: new width cache member
4686
4687         * rowpainter.C: replace RowList::iterator with Row & where possible
4688
4689         * lyxfunc.C: replace several view()->text with a single call
4690
4691         * toc.C: fix 'unused' warning
4692
4693 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4694
4695         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4696         when woring with stream::pos_type
4697         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4698
4699 2003-10-22  André Pönitz  <poenitz@gmx.net>
4700
4701         * lyxtext.h:
4702         * text.C: use Row & instead of RowList::iterator
4703
4704         * lyxrow.h: rename end() to endpos()
4705
4706         * rowpainter.C:
4707         * text.C:
4708         * text2.C: adjust
4709
4710 2003-10-22  Angus Leeming  <leeming@lyx.org>
4711
4712         * buffer.[Ch] (fully_loaded): new member function, returning true
4713         only when the file has been loaded fully.
4714         Used to prevent the premature generation of previews and by the
4715         citation inset to prevent computation of the natbib-style label.
4716
4717         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4718         templates are all set up.
4719
4720         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4721
4722 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4723
4724         * text.C: fixed an "oops" in the "is a bit silly"
4725         bug fix
4726
4727 2003-10-21  André Pönitz  <poenitz@gmx.net>
4728
4729         * FuncStatus.[Ch]: small stuff, whitespace
4730
4731         * lyxfont.[Ch]: operator<<() for debug reasons
4732
4733         * lyxfunc.C:
4734         * lyxrow_funcs.C:
4735         * lyxtext.h: whitespace, spelling
4736
4737         * paragraph.C: naming of variables
4738
4739         * text.C:
4740         * text2.C: small stuff
4741
4742
4743 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4744
4745         * text.C: (1) finish off the inset display() work;
4746         (2) fix the "is a bit silly" bug (accessing char
4747         past end of par).
4748
4749 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4750
4751         * text.C: re-introduce display() for insets, fixing the
4752         various bugs (stretch of line above, math inset
4753         positioning, ...)
4754
4755 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4756
4757         * text.C (rightMargin): remove spurious semicolon
4758
4759         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4760         1415)
4761
4762 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4763
4764         * text3.C: fix one crash due to wrong cursor def
4765
4766 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4767
4768         * vc-backend.C (scanMaster): make the regex static
4769
4770         * LaTeX.C (scanAuxFile): make the regexs static
4771
4772         * text3.C (doInsertInset, dispatch, dispatch):
4773         * text2.C (cursorUp, cursorDown):
4774         * text.C (selectNextWordToSpellcheck):
4775         * BufferView_pimpl.C (dispatch):
4776         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4777
4778 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4779
4780         * lyxsocket.C: include <cerrno>
4781
4782 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4783
4784         * lyxfunc.C (dispatch): remove textcache stuff
4785
4786         * bufferlist.C (release): remove textcache stuff
4787         (closeAll): ditto
4788
4789         * TextCache.C: delete file
4790         * TextCache.h: delete file
4791
4792         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4793
4794         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4795         delete of the bv_->text.
4796         (resizeCurrentBuffer): remove texcache stuff
4797         (workAreaResize): ditto
4798
4799 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4800
4801         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4802         action.
4803
4804 2003-10-16  André Pönitz  <poenitz@gmx.net>
4805
4806         * lyxrow.[Ch]:
4807         * paragraph.h:
4808         * rowpainter.C:
4809         * text.C:
4810         * text2.C:
4811         * text3.C: speed up by storing y positions per paragraph plus per-row
4812         offset instead of having a 'full' y position in the row.
4813
4814 2003-10-15  André Pönitz  <poenitz@gmx.net>
4815
4816         * iterators.[Ch]:
4817         * iterators.[Ch]:
4818         * undo.[Ch]: make undo aware of inner insets
4819
4820 2003-10-14  Angus Leeming  <leeming@lyx.org>
4821
4822         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4823         static member functions LyX::ref() and LyX::cref.
4824         (lastfiles): new accessor functions for the new lastfiles_ member var.
4825         (addLyXView, views_): add a new LyXView to the list of views_.
4826         (updateInset): loop over all LyXViews to call their own updateInset
4827         member function, returning a pointer to the Buffer owning the inset.
4828
4829         * BufferView_pimpl.C (loadLyXFile):
4830         * MenuBackend.C (expandLastfiles):
4831         * bufferlist.C (MenuWrite, QuitLyX):
4832         lastfiles is no longer a global variable.
4833         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4834
4835         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4836         static function. Access through LyX::cref().emergencyCleanup().
4837
4838 2003-10-14  André Pönitz  <poenitz@gmx.net>
4839
4840         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4841
4842         * undo.[Ch]: restoring part of 'undo in insets'
4843
4844         * Makefile.am:
4845         * undo_funcs.[Ch]: merge with undo.[Ch]
4846
4847         * tabular.C: small cleansing stuff
4848
4849 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4850
4851         * paragraph_funcs.C (readParToken): report unknown insets as error
4852         boxes. Use the outer paragraph as location (also for unknown
4853         tokens).
4854
4855         * factory.C (readInset): do not abort on reading an unknown inset.
4856         Eat it and return 0.
4857
4858 2003-10-13  Angus Leeming  <leeming@lyx.org>
4859
4860         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4861
4862         * lyxrc.C: displayTranslator is now a function,
4863         declared in GraphicsTypes.h.
4864
4865 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4866
4867         * format.C: new placeholder $$a to pass the socket address.
4868
4869         * bufferlist.[Ch]: new function getBufferFromTmp.
4870
4871         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4872           files in the temporary dir.
4873
4874 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4875
4876         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4877
4878         * Makefile.am: add lyxsocket.[Ch].
4879
4880         * lyx_main.C (error_handler): handle SIGPIPE.
4881
4882 2003-10-13  André Pönitz  <poenitz@gmx.net>
4883
4884         * BufferView_pimpl.C:
4885         * lyxtext.h:
4886         * text.C:
4887         * text2.C:
4888         * text3.C:
4889         * undo_funcs.[Ch]: use paroffset_type instead of
4890           ParagraphList::iterators to prevent multiple conversion
4891           (and get a more robust interface)
4892
4893 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4894
4895         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4896         * lyxtext.h: ditto
4897         * text3.C (dispatch): ditto
4898
4899 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4900
4901         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4902         move the onlyfile, use onlyfile instead of foundfile in a couple
4903         of places.
4904
4905         * DepTable.C (update): flush the error stream a bit more
4906
4907 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4908
4909         * lyxserver.C (callback): adjust
4910
4911         * lyxfunc.C (getStatus): add a missing brace in commented code
4912         (ensureBufferClean): reindent
4913         (dispatch): delete version taking a string
4914
4915 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4916
4917         * LaTeX.C (deplog): move found file handlig from here...
4918         (handleFoundFile): .. to new function here.
4919         (deplog): make sure to discover several files mentioned on the
4920         same log line.
4921
4922 2003-10-10  André Pönitz  <poenitz@gmx.net>
4923
4924         * lyxfunc.C:
4925         * lyxtext.h:
4926         * tabular.C:
4927         * text.C:
4928         * text2.C:
4929         * text3.C: fix some of the tabular crashes
4930
4931 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4932
4933         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4934
4935         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4936
4937 2003-10-09  André Pönitz  <poenitz@gmx.net>
4938
4939         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4940
4941         * BufferView.C:
4942         * BufferView_pimpl.C:
4943         * bufferview_funcs.C:
4944         * lyx_cb.C:
4945         * lyxcursor.C:
4946         * lyxfind.C:
4947         * lyxfunc.C:
4948         * lyxtext.h:
4949         * text.C:
4950         * text2.C:
4951         * text3.C:
4952         * text_funcs.[Ch]:
4953         * textcursor.[Ch]:
4954         * undo_funcs.C: adjust
4955
4956 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4957
4958         * text2.C (incrementItemDepth): new function, use a backtracking
4959         algorithm to discover the correct item depth.
4960         (resetEnumCounterIfNeeded): new function, use a backtracking
4961         algorithm to discover if counter reset is needed.
4962         (setCounter): use them. Simplify a bit. Add different labels for
4963         different item depths for itemize.
4964
4965         * paragraph.C (Paragraph): remove initialization of enumdepth
4966         (operator=): ditto
4967
4968         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4969         enumerate and itemize. Change the type of itemdepth to signed char.
4970
4971 2003-10-08  André Pönitz  <poenitz@gmx.net>
4972
4973         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4974           thing assignable.
4975         * text.C:
4976         * text2.C: adjust
4977
4978         * tabular.[Ch]: fix crash after 'row-insert'
4979
4980 2003-10-08  Angus Leeming  <leeming@lyx.org>
4981
4982         Fix doxygen warnings.
4983
4984         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4985         Remove CutAndPaste:: prefix from header file declaration.
4986
4987         * LColor.h (fill): remove LColor:: prefix from declaration.
4988
4989         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4990         use lyx::depth_type rather than Paragraph::depth_type so that
4991         header file and .C file match.
4992
4993         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4994
4995         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4996         * aspell.C: \file aspell_local.C -> \file aspell.C
4997         * gettext.C: \file gettext.C -> \file src/gettext.C
4998         * gettext.h: \file gettext.h -> \file src/gettext.h
4999         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5000         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5001         * text.C: \file text.C -> \file src/text.C
5002
5003         * toc.C: move comment so that doxygen is not confused.
5004
5005 2003-10-07  Angus Leeming  <leeming@lyx.org>
5006
5007         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5008
5009 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5010
5011         * aspell.C:
5012         * aspell_local.h: add forgotten std::string's.
5013
5014 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5015
5016         * LaTeXFeatures.C:
5017         * LyXAction.C:
5018         * factory.C:
5019         * lfuns.h:
5020         * lyxfunc.C:
5021         * text3.C: The Box patch. Fancybox support, minipage, parbox
5022
5023 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5024
5025         * CutAndPaste.h:
5026         * DepTable.h:
5027         * FloatList.h:
5028         * LaTeXFeatures.h:
5029         * ParagraphParameters.h:
5030         * TextCache.h:
5031         * Thesaurus.h:
5032         * bufferlist.h:
5033         * exporter.h:
5034         * importer.h:
5035         * lastfiles.h:
5036         * lyxfind.h:
5037         * lyxfont.h:
5038         * lyxlex.h:
5039         * lyxtextclasslist.h:
5040         * messages.h:
5041         * paragraph.h:
5042         * paragraph_pimpl.C:
5043         * textcursor.h: add <string> and other small fixes to make Lars'
5044         std::string patch compile with STLport.
5045
5046 2003-10-06  Angus Leeming  <leeming@lyx.org>
5047
5048         * LColor.h: Add missing #include <string>.
5049
5050 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5051
5052         * All most all file in all subdirs: Make <string> be the prefered
5053         way of getting to std::string, add using declarations.
5054
5055 2003-10-06  André Pönitz  <poenitz@gmx.net>
5056
5057         * metricsinfo.C: initialize LyXFont before changing attribute.
5058         (fixes the 'math in \emph is upright' bug)
5059
5060 2003-10-06  André Pönitz  <poenitz@gmx.net>
5061
5062         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5063
5064 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5065
5066         * graph.C:
5067         * paragraph_pimpl.C: Small fixes to build using STLport
5068
5069 2003-10-02  André Pönitz  <poenitz@gmx.net>
5070
5071         * lyxfunc.C:
5072         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5073
5074 2003-10-01  André Pönitz  <poenitz@gmx.net>
5075
5076         * factory.C: assert early
5077
5078 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5079
5080         * lyx_main.C: remove the global debug object
5081
5082         * debug.h: adjust for new debugstream
5083
5084         * debug.C: adjust for new debugstream and keep the global debug
5085         object here.
5086
5087 2003-09-22  Angus Leeming  <leeming@lyx.org>
5088
5089         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5090         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5091         an incomplete class LyXFont.
5092
5093 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5094
5095         * factory.C: bug fix in branches
5096
5097 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5098
5099         * lyxfunc.C (processKeySym): adjust
5100         (dispatch): adjust
5101         (dispatch): change arg name from ev to func, adjust
5102         (sendDispatchMessage): ditto
5103
5104         * lyx_main.C (defaultKeyBindings): adjust keybindings
5105         (deadKeyBindings): ditto
5106
5107         * kbsequence.C (addkey): return a FuncRequest
5108
5109         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5110
5111         * kbmap.C (bind): take a FuncRequest as arg, adjust
5112         (read): adjust
5113         (lookup): adjust
5114         (defkey): change to take a FuncRequest as arg, adjust
5115         (findbinding): take a FuncRequest as arg, adjust.
5116
5117         * funcrequest.h (operator=): added
5118
5119         * funcrequest.C (FuncRequest): default kb_action changed from
5120         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5121
5122         * buffer.C (dispatch): simplify
5123         (dispatch): adjust to take a FuncRequest as arg, adjust
5124
5125         * boost.C (assertion_failed): change assertion message slightly
5126
5127         * ToolbarBackend.C (read): simplify
5128
5129         * MenuBackend.C (binding): adjust call to findbinding, add a
5130         message if no binding is found.
5131         (read): simplify
5132         (expandToc): correct by adding a empty FuncRequest
5133
5134         * LyXAction.C: include <boost/assert.hpp>
5135         (isPseudoAction): delete function
5136         (LookupFunc): change name to...
5137         (lookupFunc): this. change return type to FuncRequest.
5138         (getActionName): take kb_action as arg, simplify
5139         (funcHasFlag): add an assert, simplify.
5140
5141 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5142
5143         * toc.C (action): return a FuncRequest, simplify
5144
5145         * lyxfunc.C (processKeySym): adjust
5146         (getStatus): delete version that takes an int.
5147         (getStatus): adjust
5148         (dispatch): delete version that takes action as int
5149         (dispatch): adjust
5150         (sendDispatchMessage): simplify and adjust
5151
5152         * funcrequest.C (getArg): take unsigned int as arg
5153
5154         * ToolbarBackend.C (read): adjust
5155         (add): delete version that takes func as a string.
5156         (getIton): take a FuncRequest as arg
5157
5158         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5159         action.
5160
5161         * MenuBackend.C (MenuItem): add a new construct that only takes a
5162         Kind, simplify the constructor use for submenus.
5163         (add): adjust
5164         (expandLastfiles): adjust
5165         (expandDocuments): adjust
5166         (expandFormats): adjust
5167         (expandFloatListInsert): adjust
5168         (expandFloatInsert): adjust
5169         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5170
5171         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5172         Remove class variables lyx_pseudo_map and lyx_arg_map
5173
5174         * LyXAction.C (searchActionArg): delete function
5175         (getPseudoAction): delete function
5176         (retrieveActionArg): delete function
5177         (LookupFunc): make it return kb_action, simplify.
5178         (getActionName): simplify
5179
5180         * factory.C (createInset): fix new bug
5181
5182 2003-09-19  Angus Leeming  <leeming@lyx.org>
5183
5184         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5185         masterFilename_ parameter in the include inset.
5186
5187         * factory.C (createInset): changes due to the changes to InsetInclude.
5188
5189 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5190
5191         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5192
5193 2003-09-18  Angus Leeming  <leeming@lyx.org>
5194
5195         * buffer.C:
5196         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5197         Inset::fillWithBibKeys.
5198         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5199
5200 2003-09-18  Angus Leeming  <leeming@lyx.org>
5201
5202         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5203         variables.
5204         (ctor): pass and store a 'Buffer const &'
5205         (buffer): new member function.
5206
5207         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5208         '*this' to the LaTeXFeatures ctor.
5209
5210 2003-09-18  Angus Leeming  <leeming@lyx.org>
5211
5212         * LColor.h:
5213         * lyxfont.C:
5214         * lyxfont.h:
5215         * lyxtext.h:
5216         * text.C: rename EnumLColor as LColor_color.
5217
5218 2003-09-18  Angus Leeming  <leeming@lyx.org>
5219
5220         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5221         remove #include "insets/insetbase.h" from cursor.h.
5222
5223 2003-09-18  Angus Leeming  <leeming@lyx.org>
5224
5225         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5226         InsetOld_code to remove #include "inset.h".
5227
5228         * iterators.C: add #include "insets/inset.h"
5229
5230 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5231
5232         * BufferView.C: remove more locking stuff that apparently doesn't
5233         do anything sensible.
5234
5235 2003-09-16  André Pönitz  <poenitz@gmx.net>
5236
5237         * paragraph.[Ch]:
5238         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5239           performance boost.
5240
5241 2003-09-16  Angus Leeming  <leeming@lyx.org>
5242
5243         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5244
5245         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5246         arg/return type.
5247
5248         * paragraph.h: remove #include "lyxfont.h". Forward declare
5249         LyXFont_size.
5250
5251 2003-09-16  Angus Leeming  <leeming@lyx.org>
5252
5253         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5254         of support/textutils.h.
5255         (isWord): move the contents of support/textutils.h's IsWordChar here.
5256
5257         * buffer.C:
5258         * lyxfind.C:
5259         * rowpainter.C:
5260         * text.C:
5261         * text2.C: add #include "paragraph.h".
5262
5263         * rowpainter.C:
5264         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5265
5266 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5267
5268         * main.C:
5269         * lyx_main.C:
5270         * lyx_cb.C:
5271         * buffer.C:
5272         * LaTeX.C: use namespace alias for lyx::support::os
5273
5274 2003-09-16  Angus Leeming  <leeming@lyx.org>
5275
5276         * bufferparams.C:
5277         * bufferview_funcs.C:
5278         * factory.C:
5279         * lyxfunc.C:
5280         * paragraph_pimpl.C:
5281         * rowpainter.C:
5282         * text.C: add #include "LColor.h".
5283
5284 2003-09-16  Angus Leeming  <leeming@lyx.org>
5285
5286         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5287         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5288         return LyXFont &.
5289         Store the FontBits::color variable as an int rather than as an
5290         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5291         file.
5292
5293         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5294         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5295         string calls together.
5296
5297         * lyxrc.C: add #include "LColor.h".
5298
5299 2003-09-15  Angus Leeming  <leeming@lyx.org>
5300
5301         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5302         a cow_ptr.
5303
5304 2003-09-15  Angus Leeming  <leeming@lyx.org>
5305
5306         * LColor.h: add an EnumLColor wrapper for LColor::color.
5307
5308         * lyxfont.[Ch] (color, setColor, realColor):
5309         * lyxtext.h, text.C (backgroundColor):
5310         pass EnumLColor args to/from the functions, rather than LColor::color
5311         ones.
5312
5313         * lyxfont.h:
5314         * lyxtext.h: forward declare EnumLColor.
5315
5316         * lyx_main.C: add #include "LColor.h".
5317
5318 2003-09-15  Angus Leeming  <leeming@lyx.org>
5319
5320         * .cvsignore: add lyx-gtk.
5321
5322 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5323
5324         * Chktex.C
5325         * LaTeX.C
5326         * LaTeXFeatures.C
5327         * ParagraphParameters.C
5328         * Spacing.C
5329         * buffer.C
5330         * bufferparams.C
5331         * bufferview_funcs.C
5332         * chset.C
5333         * counters.C
5334         * funcrequest.C
5335         * lyxfont.C
5336         * lyxgluelength.C
5337         * lyxlength.C
5338         * paragraph.C
5339         * paragraph_funcs.C
5340         * text3.C
5341         * vc-backend.C: remove usage of STRCONV
5342
5343 2003-09-15  Angus Leeming  <leeming@lyx.org>
5344
5345         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5346         explicitly define the color passed to the painter.
5347
5348 2003-09-15  Angus Leeming  <leeming@lyx.org>
5349
5350         * bufferparams.C (BufferParams): reorder member initializers to avoid
5351         compiler warning.
5352
5353 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5354
5355         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5356         * text.C (updateRowPositions): remove an unusual nop
5357
5358 2003-09-12  André Pönitz  <poenitz@gmx.net>
5359
5360         * BufferView_pimpl.C:
5361         * Bullet.C:
5362         * layout.h:
5363         * lyxfunc.C:
5364         * lyxlayout.[Ch]:
5365         * lyxtextclass.C:
5366         * rowpainter.C:
5367         * text.C:
5368         * text2.C:
5369         * Counters.[Ch]: finish the 'automatic counters' job
5370
5371 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5372
5373         * aspell.C: include <boost/assert.cpp> (compile fix)
5374
5375 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5376
5377         * boost.C (assertion_failed): use lyx::support::abort instead of
5378         assert.
5379
5380 2003-09-10  Angus Leeming  <leeming@lyx.org>
5381
5382         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5383         with their _fwd progeny.
5384
5385 2003-09-09  Angus Leeming  <leeming@lyx.org>
5386
5387         134 files throughtout the source tree: replace 'using namespace abc;'
5388         directives with the appropriate 'using abc::xyz;' declarations.
5389
5390 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5391
5392         * boost.C (emergencyCleanup): moved here from LAssert.c
5393         (assertion_failed): new function, called by BOOST_ASSERT
5394
5395         * several files: change Assert to BOOST_ASSERT
5396
5397 2003-09-09  Angus Leeming  <leeming@lyx.org>
5398
5399         * buffer.[Ch]: Add an Impl class and move Buffer's member
5400         variables into it. As a result move several header files out of
5401         buffer.h.
5402
5403         Add header files to lots of .C files all over the tree as a result.
5404
5405 2003-09-09  Angus Leeming  <leeming@lyx.org>
5406
5407         * buffer.[Ch]: make Buffer's member variables private. Add
5408         accessor functions.
5409
5410         Lots of changes all over the tree as a result.
5411
5412 2003-09-08  Angus Leeming  <leeming@lyx.org>
5413
5414         * graph.C: #include <config.h>.
5415
5416 2003-09-08  Angus Leeming  <leeming@lyx.org>
5417
5418         * BranchList.C:
5419         * BufferView.C:
5420         * BufferView_pimpl.C:
5421         * CutAndPaste.C:
5422         * DepTable.C:
5423         * LaTeX.C:
5424         * LaTeXFeatures.C:
5425         * LyXAction.C:
5426         * MenuBackend.C:
5427         * TextCache.C:
5428         * aspell.C:
5429         * buffer.C:
5430         * bufferlist.C:
5431         * changes.C:
5432         * chset.C:
5433         * converter.C:
5434         * counters.C:
5435         * debug.C:
5436         * graph.C:
5437         * ispell.C:
5438         * lyx_cb.C:
5439         * lyxfind.C:
5440         * lyxfunc.C:
5441         * lyxlex_pimpl.C:
5442         * lyxrc.C:
5443         * lyxrow.C:
5444         * paragraph.C:
5445         * rowpainter.C:
5446         * texrow.C:
5447         * text.C:
5448         * text2.C:
5449         * toc.C: remove redundant using directives.
5450
5451 2003-09-07  Angus Leeming  <leeming@lyx.org>
5452
5453         * LaTeXFeatures.h: remove #include "support/types.h".
5454         * ToolbarBackend.h: remove #include <algorithm>.
5455         * changes.h: remove #include <ctime>.
5456         * debug.h: remove #include <iosfwd>.
5457         * graph.h: remove #include "support/std_string.h".
5458         * lyx_main.h: remove #include <csignal>.
5459         * lyxlex_pimpl.h: remove #include <fstream>.
5460         * sgml.h: remove #include <algorithm>, <utility>.
5461         * toc.h: remove #include "support/std_ostream.h".
5462         Add #include <iosfwd>.
5463
5464 2003-09-07  Angus Leeming  <leeming@lyx.org>
5465
5466         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5467
5468         * converter.h: forward declare LatexRunParams.
5469         * encoding.h: remove #include "lyxrc.h".
5470         * lyxtext.h: remove #include "LColor.h".
5471         * lyxtextclass.h: remove #include "support/types.h".
5472         * trans.h: remove #include "tex-accent.h".
5473         * trans_mgr.h: remove #include "tex-accent.h".
5474         * insets/inset.h: remove #include "support/types.h", <vector>.
5475         * insets/insetcollapsable.h: remove #include "LColor.h".
5476         * insets/insetinclude.h: remove #include "dimension.h".
5477         * insets/insetlatexaccent.h: remove #include "dimension.h".
5478         * insets/insetoptarg.h:: remove #include "insettext.h".
5479         * insets/insettext.h: remove #include "dimension.h",
5480         <boost/shared_ptr.hpp>
5481
5482         * insets/renderers.h: add #include "dimension.h".
5483         * insets/updatableinset.h: add #include "support/types.h".
5484
5485         * many .C files: Associated changes.
5486
5487 2003-09-06  Angus Leeming  <leeming@lyx.org>
5488
5489         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5490         one, inside testInvariant.
5491
5492         * PrinterParams.C: new file.
5493         * PrinterParams.[Ch]: move the function bodies out of line.
5494
5495 2003-09-06  Angus Leeming  <leeming@lyx.org>
5496
5497         * ParagraphParameters.h: forward declare ParameterStruct rather than
5498         including its header file.
5499         (depth): moved out-of-line.
5500
5501 2003-09-06  Angus Leeming  <leeming@lyx.org>
5502
5503         * BufferView_pimpl.h:
5504         * kbmap.h:
5505         * kbsequence.h:
5506         * lyxfunc.h: forward declare LyXKeySym rather than
5507         #include "frontends/LyXKeySym.h".
5508
5509         * BufferView_pimpl.C:
5510         * kbmap.C:
5511         * kbsequence.C:
5512         * lyxfunc.C: associated changes.
5513
5514 2003-09-06  Angus Leeming  <leeming@lyx.org>
5515
5516         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5517         As a result, can remove the #include "insets/inset.h" from BufferView.h
5518
5519 2003-09-06  Angus Leeming  <leeming@lyx.org>
5520
5521         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5522         As a result, can remove the #include "insets/inset.h" from BufferView.h
5523
5524 2003-09-06  Angus Leeming  <leeming@lyx.org>
5525
5526         * buffer_funcs.C:
5527         * buffer.h:
5528         * bufferlist.C:
5529         * BufferView.C:
5530         * bufferview_funcs.C:
5531         * BufferView_pimpl.C:
5532         * CutAndPaste.C:
5533         * lyx_cb.C:
5534         * lyxfunc.C:
5535         * paragraph.h:
5536         * ParagraphParameters.C:
5537         * tabular.C:
5538         * text3.C:
5539         * toc.C:
5540         * undo_funcs.C:
5541         * frontends/controllers/ControlDocument.C:
5542         * insets/insetcaption.C: rearrange the #includes into some sort of
5543         coherent order.
5544
5545         * buffer.h: remove #includes ErrorList.h, undo.h
5546
5547 2003-09-06  Angus Leeming  <leeming@lyx.org>
5548
5549         * support/types.h: add a 'depth_type' typedef, used to store the
5550         nesting depth of a paragraph.
5551
5552         * paragraph.h:
5553         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5554         defining explicitly.
5555
5556         * buffer.h:
5557         * paragraph_funcs.h:
5558         * ParagraphParameters.h:
5559         * sgml.h: use lyx::depth_type rather than Paragraph or
5560         ParameterStruct's depth_type.
5561
5562         * buffer.h
5563         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5564
5565         * BufferView.C:
5566         * BufferView_pimpl.C:
5567         * CutAndPaste.C:
5568         * ParagraphParameters.C:
5569         * buffer_funcs.C:
5570         * bufferlist.C:
5571         * bufferview_funcs.C:
5572         * lyx_cb.C:
5573         * lyxfunc.C:
5574         * tabular.C:
5575         * text3.C:
5576         * toc.C:
5577         * undo_funcs.C:
5578         * frontends/LyXView.C:
5579         * frontends/controllers/ControlDocument.C:
5580         * frontends/controllers/ControlErrorList.C:
5581         * insets/insetbibitem.C:
5582         * insets/insetbranch.C:
5583         * insets/insetcaption.C:
5584         * insets/insetcollapsable.C:
5585         * insets/insetenv.C:
5586         * insets/insetert.C:
5587         * insets/insetfloat.C:
5588         * insets/insetfoot.C:
5589         * insets/insetfootlike.C:
5590         * insets/insetnewline.C:
5591         * insets/insetquotes.C:
5592         * insets/insettabular.C:
5593         * insets/insettext.C:
5594         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5595
5596         * frontends/controllers/ControlChanges.C: #include "changes.h".
5597
5598 2003-09-06  Angus Leeming  <leeming@lyx.org>
5599
5600         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5601         than #including paragraph.h.
5602
5603         * ParagraphList.h:
5604         * RowList.h: deleted. Superfluous.
5605
5606         * CutAndPaste.h:
5607         * iterators.h:
5608         * lyxcursor.h:
5609         * lyxtext.h:
5610         * text_funcs.h:
5611         * undo.h:
5612         * undo_funcs.h:
5613         * insets/inset.h:
5614         * insets/insettext.h: use ParagraphList_fwd.h rather than
5615         ParagraphList.h.
5616
5617         * paragraph.h: don't forward declare ParagraphList.
5618
5619         * buffer.h:
5620         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5621         rather than ParagraphList.h. paragraph.h is still needed for the
5622         Paragraph::depth_type parameters.
5623
5624         * textcursor.h: enable it to compile stand-alone in light of the
5625         above changes.
5626
5627         * bufferview_funcs.C:
5628         * iterators.C:
5629         * lyxfunc.C:
5630         * lyxrow_funcs.C:
5631         * paragraph.C:
5632         * rowpainter.C:
5633         * text.C:
5634         * text2.C:
5635         * text3.C:
5636         * text_funcs.C:
5637         * textcursor.C:
5638         * undo.C:
5639         * frontends/controllers/ControlParagraph.C:
5640         * frontends/controllers/ControlTabular.C:
5641         * insets/insetmarginal.C:
5642         * insets/insetminipage.C:
5643         * insets/insetnote.C:
5644         * insets/insetoptarg.C: add header files needed to compile again.
5645
5646 2003-09-06  Angus Leeming  <leeming@lyx.org>
5647
5648         * RowList_fwd.h: new file, forward-declaring Row rather than
5649         #including lyxrow.h.
5650
5651         * lyxrow_funcs.h:
5652         * lyxtext.h:
5653         * paragraph.h:
5654         * insets/insettext.h: use it instead of RowList.h
5655
5656         * bufferview_funcs.C:
5657         * lyxfunc.C:
5658         * lyxrow_funcs.C:
5659         * paragraph.C:
5660         * rowpainter.C:
5661         * text.C:
5662         * text2.C:
5663         * text3.C: #include "RowList.h".
5664
5665 2003-09-05  Angus Leeming  <leeming@lyx.org>
5666
5667         * factory.C (createInset):
5668         * vspace.C (c-tor): replace sscanf call with an istringstream.
5669         * ispell.C: re-add missing HP/UX headers.
5670         * lyxserver.C: re-add missing  os2 headers.
5671
5672 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5673
5674         * BranchList.C:
5675         * graph.C:
5676         * ispell.C:
5677         * lastfiles.C:
5678         * lyx_cb.C:
5679         * lyxserver.C:
5680         * texrow.C:
5681         * text3.C: re-add missing system headers, needed for 2.95.2.
5682
5683 2003-09-05  Angus Leeming  <leeming@lyx.org>
5684
5685         Changes most place everywhere due to the removal of using directives
5686         from support/std_sstream.h.
5687
5688 2003-09-05  Angus Leeming  <leeming@lyx.org>
5689
5690         Replace LString.h with support/std_string.h,
5691         Lsstream.h with support/std_sstream.h,
5692         support/LIstream.h with support/std_istream.h,
5693         support/LOstream.h with support/std_ostream.h.
5694
5695         Changes resulting throughout the tree.
5696
5697 2003-09-05  Angus Leeming  <leeming@lyx.org>
5698
5699         * sgml.h: ensure that the header file can be compiled stand-alone.
5700         * *.C: strip out redundant #includes. (320 in total.)
5701
5702 2003-09-04  Angus Leeming  <leeming@lyx.org>
5703
5704         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5705         here (from getPackages).
5706
5707         * debug.[Ch]: add a new EXTERNAL tag.
5708
5709 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5710
5711         * text2.C (cursorEnd): simplify
5712         (setCursor): adjust
5713         (getColumnNearX): adjust
5714
5715         * text.C (computeBidiTables): adjust
5716         (fill): adjust
5717
5718         * rowpainter.C (paintChars): adjust
5719         (paintSelection): adjust
5720         (paintChangeBar): adjust
5721         (paintText): adjust
5722
5723         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5724         lastPos instead.
5725         (numberOfSeparators): adjust
5726
5727 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5728
5729         * LyXAction.C:
5730         * box.[Ch]:
5731         * lfuns.h:
5732         * lyxfunc.C:
5733         * text3.C: Restricts the mouse click functionality
5734         of insets like bibtex, include, toc and floatlist to the visible
5735         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5736         up the dialogs. Cursor has to be in front of the inset (i.e.
5737         start of row) for this to function.
5738
5739 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5740
5741         * bufferview_funcs.C (currentState): output row information
5742
5743 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5744
5745         * bufferview_funcs.C (currentState): output paragraph position
5746
5747 2003-09-04  Angus Leeming  <leeming@lyx.org>
5748
5749         * FloatList.h: move out #include "Floating.h".
5750         * LaTeX.h: move out #include "DepTable.h".
5751         * LyXAction.h: move out #include "funcrequest.h".
5752         * buffer.h: move out #include "author.h", "iterators.h".
5753         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5754         * lyx_main.h: move out #include "errorlist.h".
5755         * lyxfunc.h: move out #include "FuncStatus.h".
5756         * lyxtext: move out #include "lyxcursor.h".
5757         * paragraph_pimpl.h: move out #include "counters.h".
5758
5759 2003-09-03  Angus Leeming  <leeming@lyx.org>
5760
5761         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5762         preamble_snippets list, enabling us to add snippets to the preamble
5763         only if the snippet was not there already.
5764
5765 2003-09-04  Angus Leeming  <leeming@lyx.org>
5766
5767         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5768
5769 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5770
5771         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5772         update
5773
5774 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5775
5776         * BranchList.C: point fix, earlier forgotten
5777
5778 2003-09-02  Angus Leeming  <leeming@lyx.org>
5779
5780         * box.C (contains): renamed from 'contained' after a fantastic
5781         amount of hot air.
5782
5783 2003-09-02  John Levon  <levon@movementarian.org>
5784
5785         * BufferView.C:
5786         * lyxcursor.h:
5787         * lyxcursor.C:
5788         * lyxfunc.C:
5789         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5790
5791 2003-09-02  John Levon  <levon@movementarian.org>
5792
5793         * text2.C: simplification of cursorEnd(), including partial
5794         fix for bug 1376
5795
5796 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5797
5798         * buffer.C (readFile): add a space
5799
5800 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5801
5802         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5803
5804 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5805
5806         * buffer.C (readFile): new function, take a filename and a
5807         ParagraphList::iterator
5808         (readFile): adjust
5809         (readFile): adjust, make it private. don't use setStream, make
5810         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5811         always contain the filename.
5812
5813         * BufferView.C (insertLyXFile): simplify and make it work for
5814         gzipped files.
5815
5816 2003-08-30  John Levon  <levon@movementarian.org>
5817
5818         * Makefile.am: fix dist (from Kayvan)
5819
5820 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5821
5822         * most files: change to use const Buffer refs
5823
5824 2003-08-27  André Pönitz  <poenitz@gmx.net>
5825
5826         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5827         on top of ownerPar().
5828
5829 2003-08-27  John Levon  <levon@movementarian.org>
5830
5831         * funcrequest.C: properly initialise POD members
5832
5833 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5834
5835         * lyxtext.h (top_y): move top_y from here
5836         * text.C:
5837         * text2.C:
5838         * text3.C:
5839         * BufferView.[Ch]:
5840         * BufferView_pimpl.[Ch]: to here
5841         * frontends/screen.C:
5842         * insets/insettabular.C:
5843         * insets/insettext.C: adjust
5844         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5845
5846 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5847
5848         * BufferView.[Ch]:
5849         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5850
5851 2003-08-26  André Pönitz  <poenitz@gmx.net>
5852
5853         * paragraph_func.[Ch] (outerPar): new function
5854
5855         * paragraph.C:
5856         * paragraph_funcs.C:
5857         * paragraph_funcs.h:
5858         * paragraph_pimpl.C:
5859         * text2.C: remove Inset::par_owner
5860
5861 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5862
5863         * lyxrow_funcs.C:
5864         * lyxtext.h:
5865         * text.C:
5866         * text2.C: eliminates the needFullRow/display() stuff
5867         altogether, putting the logic in metrics/draw in the insets.
5868
5869 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5870
5871         * text2.C (redoParagraphInternal, redoParagraphs):
5872         * text.C (redoParagraph): add a call to updateRowPositions at the
5873         end of each 'metrics-like' call. Remove all others.
5874         (getRow): remove the 'y-computing' version.
5875         (getRowNearY): do not compute nor return the real y. Solve the
5876         'y < 0' problem and simplify.
5877
5878 2003-08-22  Angus Leeming  <leeming@lyx.org>
5879
5880         * *.[Ch]: clean-up of licence and author blurbs.
5881         Also move config.h out of a few .h files and into a few .C files.
5882
5883 2003-08-22  André Pönitz  <poenitz@gmx.net>
5884
5885         * lyxrow.[Ch]: add x_ and *fill_ members
5886
5887         * lyxtext.h:
5888         * text.C:
5889         * rowpainter.C:
5890         * text2.C: adjust/remove prepareToPrint() calls
5891
5892 2003-08-22  André Pönitz  <poenitz@gmx.net>
5893
5894         * lyxrow.[Ch]: add  end_ member
5895
5896         * lyxrow_funcs.C: use LyXRow::end_
5897
5898         * lyxtext.h (singleWidth): add LyXFont parameter
5899
5900         * rowpainter.C:
5901         * text2.C: adjust LyXText::singleWidth() calls
5902
5903         * text.C (redoParagraph): simplify row breaking logic
5904
5905
5906 2003-08-19  André Pönitz  <poenitz@gmx.net>
5907
5908         * funcrequest.C: initialize button_ member
5909
5910         * text3.C:
5911         * rowpainter.[Ch]: interface consolidation
5912
5913 2003-08-18  André Pönitz  <poenitz@gmx.net>
5914
5915         * BufferView.C:
5916         * BufferView_pimpl.C:
5917         * lyxfind.C:
5918         * paragraph_funcs.C:
5919         * rowpainter.C:
5920         * text3.C: remove LyXScreen::draw() and fitCursor calls
5921
5922         * BranchList.h: remove spurious semicolons
5923
5924         * MenuBackend.C: fix branchlist related crash
5925
5926 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5927
5928         * BranchList.[Ch]:
5929         * InsetList.[Ch]:
5930         * LColor.[Ch]:
5931         * LyXAction.C:
5932         * Makefile.am:
5933         * MenuBackend.[Ch]:
5934         * bufferparams.[Ch]:
5935         * factory.C:
5936         * lfuns.h:
5937         * lyxfunc.C:
5938         * text3.C: implements the 'branch inset'
5939         idea. This allows the output of various versions of a document
5940         from a single source version, selectively outputing or suppressing
5941         output of parts of the text.
5942         This implementation contains a 'branch list editor' in a separate
5943         tab of the document settings dialog. Branches are user definable
5944         and have a "display colour" to distinguish them on-screen.
5945
5946         ColorHandler was somewhat cleaned up.
5947         (1) make possible a dynamically growing LColor list by allowing
5948         the graphic context cache to grow along (vector);
5949         (2) eliminate an IMHO unnecessary step in colour allocation.
5950
5951 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5952
5953         * BufferView_pimpl.C: compile fix
5954
5955 2003-08-15  André Pönitz  <poenitz@gmx.net>
5956
5957         * rowpainter.C: remove extra metrics calls
5958
5959         * lyxtext.h: merge the two constructors into a single one,
5960           pass reference to owner's par list
5961
5962         * BufferView_pimpl.C:
5963         * text.C:
5964         * text2.C: adjust
5965
5966 2003-08-15  André Pönitz  <poenitz@gmx.net>
5967
5968         * lyxrow_funcs.[Ch]:
5969         * lyxtext.h:
5970         * paragraph.h:
5971         * paragraph_funcs.C:
5972         * rowpainter.C:
5973         * text.C:
5974         * text2.C:
5975         * text3.C:
5976         * text_funcs.C: split LyXText::rowlist_ into individual
5977         Paragraph::rows_ chunks
5978
5979         * BufferView.[Ch]:
5980         * BufferView_pimpl.[Ch]:
5981         * lyxfind.C:
5982         * lyxtext.h:
5983         * text3.C: remove toggleSelection()
5984
5985 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5986
5987         * bufferlist.C: beautify two alerts (shorter text of buttons)
5988         * buffer.C: Remove redundant ' ' from message
5989         * tabular.h:
5990         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5991         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5992         rename VALIGN_CENTER to VALIGN_MIDDLE
5993
5994 2003-08-11  André Pönitz  <poenitz@gmx.net>
5995
5996         * lyxtext.h (getPar):
5997         * text.C: new function
5998
5999 2003-08-11  André Pönitz  <poenitz@gmx.net>
6000
6001         * Makefile.am:
6002         * tracer.[Ch]: remove unneeded files
6003
6004         * InsetList.[Ch]: remove resizeInsetsLyXText()
6005
6006         * lyxtext.h:
6007         * text.C:
6008         * text2.C:
6009         * text3.C: merge insertParagraphs() and appendParagraph()
6010         remove breakAgain(), update()
6011
6012         * BufferView_pimpl.[Ch]:
6013         * bufferview_funcs.[Ch]:
6014         * lyxfunc.C:
6015         * paragraph.[Ch]:
6016         * rowpainter.C:
6017         * tabular.C: adjust after text & InsetList changes.
6018
6019 2003-08-08  André Pönitz  <poenitz@gmx.net>
6020
6021         * text.C (insertChar, backspace): replace rowlist fiddling
6022         with rebreak of full par
6023
6024         * lyxtext.h:
6025         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6026         checkParagraph, updateInset): removed
6027
6028 2003-08-07  André Pönitz  <poenitz@gmx.net>
6029
6030         * paragraph.C:
6031         * text3.C: merge some LFUN handlers, remove dead code
6032
6033 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6034
6035         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6036
6037 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6038
6039         * text2.C (DEPM): fix part of bug 1255 and 1256
6040
6041 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6042
6043         * BufferView_pimpl.C (workAreaDispatch): change to use
6044         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6045         that are no mouse related.
6046
6047 2003-08-05  André Pönitz  <poenitz@gmx.net>
6048
6049         * BufferView.[Ch]:
6050         * BufferView_pimpl.[Ch]:
6051         * bufferview_funcs.C:
6052         * text2.C:
6053         * text3.C: rip out "deep update"
6054
6055         * textcursor.[Ch] (last_sel_cursor): remove unused member
6056
6057 2003-08-04  André Pönitz  <poenitz@gmx.net>
6058
6059         * BufferView.[Ch]:
6060         * BufferView_pimpl.[Ch]:
6061         * ParagraphParameters.C:
6062         * bufferview_funcs.C:
6063         * lyx_cb.C:
6064         * lyxfind.C:
6065         * lyxfunc.C:
6066         * text.C:
6067         * text2.C:
6068         * text3.C: replace "complicated" BufferView::update(...) calls with
6069         simpler ones.
6070
6071         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6072
6073 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6074
6075         * Makefile.am (lyx_SOURCES): add paper.h
6076
6077 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6078
6079         * Makefile.am: move things around so that both lyx-qt and
6080         lyx-xforms can be built (according to --with-frontend). Then lyx
6081         is a symbolic link to lyx-[firstfrontend]
6082
6083 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6084
6085         * Always use std::endl with lyxerr
6086
6087 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6088
6089         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6090
6091 2003-08-01  André Pönitz  <poenitz@gmx.net>
6092
6093         * BufferView.[Ch]:
6094         * BufferView_pimpl.[Ch]:
6095         * lyxfunc.C:
6096         * text3.C: merge BufferView::repaint() and BufferView::update()
6097
6098 2003-08-01  José Matos  <jamatos@lyx.org>
6099
6100         * buffer.[Ch]: file_format is no longer a buffer data element.
6101
6102 2003-08-01  André Pönitz  <poenitz@gmx.net>
6103
6104         * BufferView.C:
6105         * lyxtext.h:
6106         * text.C:
6107         * text2.C: make redoParagraph more independent of current cursor
6108
6109         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6110         * text.C:
6111         * text2.C: remove unneeded members
6112
6113 2003-07-30  André Pönitz  <poenitz@gmx.net>
6114
6115         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6116
6117         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6118           create a single function...
6119
6120         * paragraph_funcs.C (moveItem): ... here.
6121
6122         * text.C:
6123           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6124
6125 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6126
6127         * LColor.[Ch]: Add comment and greyedout logical colors.
6128
6129 2003-07-30  André Pönitz  <poenitz@gmx.net>
6130
6131         * tabular.C: don't use Assert too heavily. This crashes where it
6132           shouldn't
6133
6134 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6135
6136         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6137         is disabled (bug 1232)
6138
6139 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6140
6141         * factory.C: limited 'arg' scope
6142
6143 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6144
6145         * factory.C: fixed Note submenu issues
6146
6147 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6148
6149         * factory.C: submenu for Note/Comment/Greyedout
6150
6151 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6152
6153         * lyx_main.C (LyX):
6154         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6155
6156 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6157
6158         * LaTeXFeatures.C:
6159         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6160         greyedout. Patch provided by Jürgen Spitzmüller.
6161
6162 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6163
6164         * kbmap.C (read): fix error message when reading bind files
6165
6166 2003-07-29  Angus Leeming  <leeming@lyx.org>
6167
6168         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6169         certainly does not do what it purports to do. I am doing it, and
6170         us, a favour by killing it.
6171
6172 2003-07-28  José Matos  <jamatos@lyx.org>
6173
6174         * buffer.C (readBody, do_writeFile):
6175         * paragraph.C(readParagraph): \end_document replaces \the_end.
6176
6177 2003-07-29  André Pönitz  <poenitz@gmx.net>
6178
6179         * BufferView.[Ch]:
6180         * BufferView_pimpl.[Ch]:
6181         * lyxfunc.C:
6182         * text2.C:
6183         * text3.C:
6184         * textcursor.[Ch]: remove toggleToggle & Co
6185
6186 2003-07-28  José Matos  <jamatos@fep.up.pt>
6187
6188         * buffer.C (readParagraph):
6189         * params_func (readParToken, readParagraph):
6190         * paragraph.C (write): \layout -> \begin_layout.
6191
6192 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6193
6194         * lyxlex_pimpl.C (setFile): clean up slightly.
6195
6196         * bufferparams.h: add compressed var
6197
6198         * buffer_funcs.C (readFile): adjust for LyXLex change
6199         (newFile): ditto + simplify
6200
6201         * buffer.C (writeFile): handle writing of compressed files
6202
6203         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6204         Check if the file is compressed and set a bufferparm if so.
6205
6206         * Makefile.am (lyx_LDADD): remove explicit -lz
6207
6208 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6209
6210         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6211         makeDocBookFile): put the real LyX version in the first line of
6212         the file
6213
6214         * version.h:
6215         * version.C.in: remove lyx_docversion
6216
6217         * tabular.C (write_attribute): add a template-based version to
6218         write enums properly
6219
6220 2003-07-28  André Pönitz  <poenitz@gmx.net>
6221
6222         * lyxtext.h:
6223         * text.C:
6224         * text2.C:
6225         * text3.C: use doubles again for x-coordinates. They are needed.
6226
6227 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6228
6229         * messages.C (getLocaleDir): use lyx_localedir()
6230
6231         * lyxlex_pimpl.C (setFile): compress stuff
6232
6233         * buffer.C (writeFile): add some compression stuff
6234         (do_writeFile): new func, dont call expliti close... will this
6235         breake anything?
6236
6237         * Makefile.am (lyx_LDADD): add -lz
6238
6239 2003-07-28  José Matos  <jamatos@fep.up.pt>
6240
6241         * buffer.C: increment file format.
6242         * paragraph_funcs (readParagraph, readParToken):
6243         * paragraph.C (readParagraph): add \end_layout.
6244
6245 2003-07-27  Angus Leeming  <leeming@lyx.org>
6246
6247         * Makefile.am: remove special casing for configure-time setting of
6248         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6249
6250         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6251         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6252
6253 2003-07-26  André Pönitz  <poenitz@gmx.net>
6254
6255         * paragraph_func.[Ch]:
6256         * paragraph.C (realizeFont): inline it whereever it is used
6257
6258         * rowpainter.C:
6259         * text.C:
6260         * text2.C:
6261         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6262
6263
6264 2003-07-26  André Pönitz  <poenitz@gmx.net>
6265
6266         *       lyxtext.h:
6267         * text.C:
6268         * text2.C: get rid of LyXText::need_break_row
6269
6270 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6271
6272         * toc.[Ch]: put namespace toc inside namespace lyx
6273
6274         * MenuBackend.C (expandToc2): adjust for lyx::toc
6275         (expandToc): ditto
6276
6277         * lyxfunc.C (dispatch): adjust for lyx::find
6278
6279         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6280         lyx::find instead. Reorganize a bit.
6281         (LyXReplace): rename to replace
6282         (LyXFind): rename to find
6283
6284         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6285         (dispatch): ditto
6286
6287 2003-07-26  André Pönitz  <poenitz@gmx.net>
6288
6289         * text.C (setHeightOfRow): restrict scope of temporary variable
6290
6291         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6292           code (never has been used?)
6293
6294 2003-07-27  Asger Alstrup  <alstrup@local>
6295
6296         * text.C (fill): Optimise algorithm to exploit that we can reuse
6297         the LyXFont for many characters.
6298         (setHeightOfRow): Same thing.
6299         (rowBreakPoint): Same thing.
6300
6301 2003-07-26  Asger Alstrup  <alstrup@local>
6302
6303         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6304
6305         * text.C (singleWidth): Spurious font copying in hot-spot
6306         singleWidth avoided. Reorder tests for arabic for efficiency.
6307
6308         * text.C (fill): handle empty paragraphs better.
6309
6310 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6311
6312         * ispell.C:
6313         * encoding.h: add includes
6314
6315         * lyxrc.C: remove reading of bind files
6316
6317         * lyx_main.C (init): setup bindings and menus only if we have a
6318         gui.
6319
6320         * kbmap.C (read): new method. Do the actual reading of bind
6321         files.
6322
6323         * converter.C (dvipdfm_options):
6324         * bufferparams.C:
6325         * lyxrc.C (read):
6326         (output): adapt PAPER_* enums.
6327
6328         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6329
6330         * bufferparams.h: remove paper-related enums from there
6331
6332         * paper.h: New file. A trivial header file to hold paper-related
6333         enums. It should later expand to contain many paper-related
6334         horrors access.
6335
6336         * lyxrc.C: declare extern displayTranslator
6337
6338 2003-07-27  José Matos  <jamatos@fep.up.pt>
6339
6340         * tabular.[Ch] (linuxdoc): add support for tables and figures
6341         (linuxdoc).
6342
6343 2003-07-27  José Matos  <jamatos@fep.up.pt>
6344
6345         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6346         consistency in both functions.
6347         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6348
6349 2003-07-26  Asger Alstrup  <alstrup@local>
6350
6351         * rowpainter.C (paintRows): Change algorithm to work directly on
6352         the insets rather than asking every character in the document
6353         whether its an inset.
6354
6355 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6356
6357         * buffer.C (openFileWrite): factorize some code
6358
6359 2003-07-26  Angus Leeming  <leeming@lyx.org>
6360
6361         * lyx_cb.C:
6362         * lyx_main.[Ch]: replace occurances of system_tempdir with
6363         os::getTmpDir().
6364
6365 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6366
6367         * rename Inset to InsetOld
6368
6369 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6370
6371         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6372         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6373         which I think is a bit clearer. EDIT is gone, since it was
6374         premature optimisation, and broken for mathed anyway.
6375         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6376         with cursor positioning in insets as well (math insets still do not
6377         work, but that's a different story anyway.) It mysteriously
6378         crashes sometimes with undo in the first paragraph, but I'm fairly
6379         confident that this is a compiler bug.
6380
6381 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6382
6383         * paragraph.C (Paragraph): adjust for new clone return type
6384         (operator==): ditto
6385         (copyIntoMinibuffer): ditto
6386
6387 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6388
6389         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6390         by not having a special case, and always doing a full rebreak of
6391         the document after undo.
6392
6393 2003-07-23  Angus Leeming  <leeming@lyx.org>
6394
6395         * factory.C (createInset): InsetExternal::setParams now takes a
6396         Buffer const * arg.
6397
6398 2003-07-23  Angus Leeming  <leeming@lyx.org>
6399
6400         * factory.C (createInset): changed interface to the external and
6401         graphics mailers' string2params functions.
6402
6403 2003-07-23  Angus Leeming  <leeming@lyx.org>
6404
6405         * factory.C (createInset): pass a
6406         Buffer const * parameter to InsetExternalMailer's string2params.
6407
6408 2003-07-22  John Levon  <levon@movementarian.org>
6409
6410         * Thesaurus.h: include the right aiksaurus header
6411
6412 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6413
6414         * MenuBackend.C (expand): check menu shortcuts unconditionally
6415
6416 2003-07-21  Angus Leeming  <leeming@lyx.org>
6417
6418         * factory.C (createInset): pass a
6419         buffer_path parameter to InsetGraphicsMailer's string2params.
6420
6421 2003-07-21  Angus Leeming  <leeming@lyx.org>
6422
6423         * BufferView_pimpl.C (buffer):
6424         * buffer.C (d-tor):
6425         * lyx_main.C (LyX):
6426         * lyxfunc.C (dispatch):
6427         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6428         rather than the grfx shortcut.
6429
6430 2003-07-21  André Pönitz  <poenitz@gmx.net>
6431
6432         * rowpainter.C: remove unused variables
6433
6434         * tabular_funcs.C:
6435         * tabular_funcs.h: move to tabular.C
6436         * Makefile.am: adjust
6437
6438         * tabular.[Ch]: basic optical cleaning
6439
6440         * author.h: pass references, not values
6441
6442 2003-07-18  André Pönitz  <poenitz@gmx.net>
6443
6444         * lyxtext.h:
6445         * metricsinfo.C:
6446         * metricsinfo.h:
6447         * rowpainter.C:
6448         * text.C:
6449         * text2.C:
6450         * text3.C: two-phase drawing for InsetText and InsetTabular
6451         some float -> int changes.
6452
6453 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6454
6455         * lyx_main.C: fix the fix
6456
6457 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6458
6459         * lyx_main.C: fix a crash in batch mode if no files specified
6460         * converter.C: ws
6461
6462 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6463
6464         * format.[Ch] (papersize): moved to BufferParams
6465         * converter.[Ch] (dvips_options): moved to BufferParams
6466         (dvipdfm_options): moved to anon namespace
6467         * bufferparams.[Ch]: added above functions.
6468
6469 2003-07-17  André Pönitz  <poenitz@gmx.net>
6470
6471         * lyxtext.h:
6472         * rowpainter.C:
6473         * text2.C: don't call inset->update() anymore
6474
6475         * metricsinfo.[Ch]: add convenience constructor
6476
6477 2003-07-16  André Pönitz  <poenitz@gmx.net>
6478
6479         * lyxcursor.[Ch]:
6480         * lyxfunc.[Ch]:
6481         * text.C:
6482         * text2.C: replace the LyXCursor::irow_ member with
6483          on-demand computation of the value
6484
6485 2003-07-16  John Levon  <levon@movementarian.org>
6486
6487         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6488
6489 2003-07-15  André Pönitz  <poenitz@gmx.net>
6490
6491         * text.C:
6492         * text2.C: remove no more needed refresh_row
6493
6494 2003-07-15  André Pönitz  <poenitz@gmx.net>
6495
6496         * lyxtext.h:
6497         * rowpainter.C:
6498         * text2.C:
6499         * text3.C: refresh_status tristate -> need_update bool
6500
6501 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6502
6503         * lyxtext.h (init): remove reinit argument (act as if always true)
6504         * text2.C: adjust to that
6505
6506 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6507
6508         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6509         * text3.C: use it to delete selections in some cases
6510         (bugs 441, 673, 702, 954).
6511
6512 2003-07-14  André Pönitz  <poenitz@gmx.net>
6513
6514         * rowpainter.[Ch]: reduce interface
6515
6516 2003-07-14  André Pönitz  <poenitz@gmx.net>
6517
6518         * BufferView_pimpl.C:
6519         * text2.C: adjust after removing unused BufferView * argument
6520
6521 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6522
6523         * text2.C (init): fix a crash fired on resize
6524
6525 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6526
6527         * buffer.[Ch]: added new closing signal
6528         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6529         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6530         BufferView::Pimpl via the closing the signal
6531
6532 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6533
6534         * buffer.[Ch]: take out all bv-related from buffer
6535         * BufferView.C:
6536         * BufferView_pimpl.[Ch]: connect to new signals
6537         * CutAndPaste.C: removed useless asserts
6538         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6539         * lyxvc.[Ch]:
6540         * vc-backend.[Ch]:
6541         * lyxfunc.C: moved view-related funciontality from vc here
6542         * paragraph.C: removed outdated comments
6543         * text.C: ws
6544
6545 2003-07-10  André Pönitz  <poenitz@gmx.net>
6546
6547         * BufferView_pimpl.C:
6548         * tabular.h:
6549         * tabular_funcs.C:
6550         * text.C:
6551         * text2.C: remove InsetText::InnerCache, clean up consequences
6552
6553 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6554
6555         * ispell.C: fix two typos in error messages
6556
6557 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6558
6559         * Extend Note inset to other forms of annotation like Comment
6560         and Greyedout. Right button click gives dialog.
6561
6562         Files modified or added (+):
6563
6564         * insetnote.[Ch]
6565         * FormNote.[Ch]      +
6566         * ControlNote.[Ch]   +
6567         * form_note.fd       +
6568         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6569         frontends/controllers
6570         * xforms/Dialogs.C
6571         * factory.C
6572
6573 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6574
6575         * aspell.C: add missing namespace lyx::support
6576
6577 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6578
6579         * BufferView.[Ch] (newFile): Add
6580         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6581         * LaTeX.[Ch] (message): added this signal and use it
6582         * buffer.[Ch] (busy, message): added these signals and use them
6583         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6584         * converter.C:
6585         * exporter.C:
6586         * format.C:
6587         * importer.C: use buffer signals instead of direct bv calling
6588         * lyx_cb.[Ch] (ShowMessage): removed
6589         * lyx_main.C:
6590         * lyxfunc.C:
6591         * paragraph_funcs.C:
6592         * text2.C: use buffer signals
6593
6594 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6595
6596         * introduce namespace lyx::graphics
6597
6598 2003-07-02  André Pönitz  <poenitz@gmx.net>
6599
6600         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6601
6602 2003-07-01  André Pönitz  <poenitz@gmx.net>
6603
6604         * text.C:
6605         * text2.C:
6606         * text3.C:
6607         * text_funcs.[Ch]:
6608         * textcursor.h:
6609         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6610           text*.C to text_func.C
6611
6612 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6613
6614         * introduce namespace lyx::support
6615
6616 2003-06-30  André Pönitz  <poenitz@gmx.net>
6617
6618         * Chktex.C:
6619         * funcrequest.C:
6620         * lyxtext.h:
6621         * text.C: re-enable --with-included-string
6622
6623 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6624
6625         * textcursor.C: add <config.h>
6626
6627         * text.C (getWord): remove const from word_location arg
6628
6629         * lyxvc.C (getLogFile): fix const type order
6630
6631         * lyxtext.h: remove const from word_location arg, add arg name
6632
6633         * lyxlayout.h: currect type on labeltype.
6634
6635         * importer.C: correct \file
6636
6637         * converter.C (intToFormat): use std:: on ret val, ws changes
6638
6639         * bufferlist.h: correct \file
6640
6641         * buffer.C (makeLinuxDocFile): fix const type order
6642         (makeDocBookFile): ditto
6643         (fillWithBibKeys): use std:: on stdlib args.
6644
6645         * CutAndPaste.C: fix authors.
6646         (availableSelections): use std:: on return vector
6647
6648 2003-06-27  André Pönitz  <poenitz@gmx.net>
6649
6650         * BufferView_pimpl.C:
6651         * bufferview_funcs.C:
6652         * lyxcursor.C:
6653         * lyxcursor.h:
6654         * lyxfunc.C:
6655         * lyxtext.h:
6656         * rowpainter.C:
6657         * text.C:
6658         * text2.C:
6659         * text3.C: remove LyXCursor::row_ member
6660
6661         * lyxtext.h:
6662         * text.C: rename fullRebreak() to partialRebreak() and implement
6663           a fullRebreak() that really bereks fully
6664
6665         * textcursor.h: new struct for cursor-related data
6666
6667 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6668
6669         * lyx_main.C (LyX): get full path of document loaded on the
6670         command line
6671
6672 2003-06-26  André Pönitz  <poenitz@gmx.net>
6673
6674         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6675           remove unused/broken operator>,<,>=.
6676
6677         *       text.C: remove only use of broken operator<= in an Assert().
6678
6679 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6680
6681         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6682         moved errorlist_.clear to showErrorList
6683
6684 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6685
6686         * converter.C (scanLog, runLaTeX):
6687         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6688         move the bv->showErrorList call to the callers
6689         * lyxfunc.C: i.e. here...
6690         * text2.C: and here
6691         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6692         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6693         namespace, the second to...
6694         * buffer_funcs (BufferFormat, parseErrors): added
6695         * errorlist.C (ErrorList(TeXErrors const &)): removed
6696
6697 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6698
6699         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6700
6701 2003-06-24  "Garst R. Reese" <reese@isn.net>
6702
6703         * debug.C: fix typo
6704
6705 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6706
6707         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6708
6709         * version.C.in: change docversion to 1.4
6710
6711 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6712
6713         * buffer.C: fix a bug just introduced
6714
6715 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6716
6717         * buffer.[Ch]: added the parseError signal and use it, removed
6718         sgmlError
6719         * BufferView.[Ch] (addError): moved to ...
6720         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6721         to the Buffer::parseError signal to catch (guess what) parse errors
6722         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6723
6724 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6725
6726         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6727         ability to create a buffer and to return an existing one from
6728         the list. Moved these functions to...
6729         * buffer_funcs.[Ch]: added
6730         * BufferView.[Ch] (loadLyXFile): added
6731         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6732         job removed from bufferlist::loadLyXFile.
6733         * buffer.C (setReadOnly): make it work without view
6734         (i.e added an if (users))
6735
6736 2003-06-19  Angus Leeming  <leeming@lyx.org>
6737
6738         * lfuns.h:
6739         * LyXAction.C (init):
6740         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6741         with LFUN_DIALOG_SHOW <name> <data>.
6742
6743 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6744
6745         * CutAndPaste.C (availableSelections): small compilation fix for
6746         ancient (gcc 2.9x) compilers
6747
6748 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6749
6750         * text3.C (cursorNext): add tmp var
6751
6752         * text2.C (updateCounters): for function calling out of for clause
6753         (replaceSelectionWithString): ditto
6754         (insertStringAsParagraphs): ditto
6755         (getColumnNearX): add tmp var
6756         (setCursorFromCoordinates): add tmp var
6757         (cursorDownParagraph): add tmp var
6758         (deleteEmptyParagraphMechanism): add tmp var
6759
6760         * text.C (insertChar): add tmp var
6761
6762         * rowpainter.C (paintDepthBar): add tmp var
6763
6764         * CutAndPaste.C (availableSelections): potentially check all
6765         paragraphs in a cut to fill the shown strings.
6766
6767 2003-06-18  André Pönitz  <poenitz@gmx.net>
6768
6769         * kbmap.[Ch]: use vector<> instead of list<>
6770
6771 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6772
6773         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6774         pasteSelection with index
6775
6776         * text2.C (pasteSelection): modify, call pasteSelection with index
6777
6778         * paragraph.C (asString): reimplement version with no interval to
6779         call the one with interval.
6780
6781         * lyxtext.h: add index arg to pasteSelection
6782
6783         * MenuBackend.C (MenuItem): handle PasteRecent
6784         (Menu::read::Menutags): add md_pasterecent
6785         (read): handle it
6786         (expandPasteRecent): new function
6787         (expand): use it
6788
6789         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6790
6791         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6792         the limited stack
6793         (availableSelections): new function
6794
6795 2003-06-17  Angus Leeming  <leeming@lyx.org>
6796
6797         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6798
6799 2003-06-17  Angus Leeming  <leeming@lyx.org>
6800
6801         * lfuns.h:
6802         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6803
6804         * lyxfunc.C (dispatch): invoke it.
6805
6806 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6807
6808         * iterators.C (operator++, ParPosition): reintroduce some
6809         const_cast for the benefit of older compilers.
6810
6811 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6812
6813         * text3.C (dispatch): do not modify clipboard when doing
6814         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6815         LFUN_DELETE_SKIP on a selection selection
6816
6817 2003-06-16  André Pönitz  <poenitz@gmx.net>
6818
6819         * BufferView.C:
6820         * buffer.C:
6821         * buffer.h:
6822         * paragraph.C:
6823         * tabular.[Ch]: IU of clone() and getLabelList();
6824
6825 2003-06-13  André Pönitz  <poenitz@gmx.net>
6826
6827         * tabular.h: compactification
6828
6829 2003-06-12  André Pönitz  <poenitz@gmx.net>
6830
6831         * tabular.C:
6832         * tabular.h:
6833         * tabular_funcs.h: some renaming plus whitespace
6834
6835 2003-06-12  André Pönitz  <poenitz@gmx.net>
6836
6837         * BufferView.C:
6838         * BufferView_pimpl.C:
6839         * CutAndPaste.C:
6840         * buffer.C:
6841         * iterators.[Ch]:
6842         * lyxfunc.C:
6843         * text.C:
6844         * toc.C: Return a Paragraph & for ParIterator::operator*()
6845
6846 2003-06-11  John Levon  <levon@movementarian.org>
6847
6848         * lyx_main.C:
6849         * ToolbarBackend.h:
6850         * ToolbarBackend.C: add "Toolbars" section and
6851         put the flags there
6852
6853 2003-06-10  Angus Leeming  <leeming@lyx.org>
6854
6855         * lfuns.h:
6856         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6857
6858         * lyxfunc.C (dispatch): invoke it.
6859
6860 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6861
6862         * main.C: protect <ios> with HAVE_IOS
6863         (main): protect sync_with_stdio with HAVE_IOS
6864
6865 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6866
6867         * text2.C (cutSelection): adjust
6868         (pasteSelection): adjust
6869
6870         * messages.C: handle get of empty string
6871
6872         * main.C (main): use sync_with_stdio(false)
6873
6874         * lyxfunc.C (dispatch): adjust
6875
6876         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6877         (WriteAs): remove unneeded BufferView arg.
6878
6879         * bufferparams.h: use correct types on papersize, papersize2 and
6880         paperpackage.
6881
6882         * bufferparams.C (readToken): adjust for type
6883         (writeLaTeX): add missing cases to switch.
6884
6885         * bufferlist.C (quitWriteBuffer): adjust
6886         (close): adjust
6887
6888         * buffer.C (asciiParagraph): remove some commented code.
6889
6890         * CutAndPaste.C: remove current_view extern variable.
6891         (cutSelection): add BufferParams arg.
6892         (eraseSelection): add BufferParams arg.
6893         (pasteSelection): add Buffer const & arg
6894
6895 2003-06-07  John Levon  <levon@movementarian.org>
6896
6897         * buffer.C:
6898         * paragraph_funcs.C:
6899         * paragraph_pimpl.C:
6900         * text.C:
6901         * text2.C:
6902         * paragraph.h:
6903         * paragraph.C: allow InsetERT to freely space lines,
6904         and some consolidation of code
6905
6906 2003-06-06  José Matos  <jamatos@fep.up.pt>
6907
6908         * buffer.C (makeDocBookFile): fix bug #821
6909
6910 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6911
6912         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6913
6914 2003-06-04  Angus Leeming  <leeming@lyx.org>
6915
6916         * buffer.C: bump format to 224.
6917
6918 2003-06-05  André Pönitz  <poenitz@gmx.net>
6919
6920         * text2.C (redoParagraphs): remove two const_cast<>
6921
6922 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6923
6924         * ParagraphList.h: remove last remnants of NO_STD_LIST
6925
6926 2003-06-03  Angus Leeming  <leeming@lyx.org>
6927
6928         * factory.C (createInset): small change to the way InsetExternal's params
6929         are set.
6930
6931 2003-06-04  André Pönitz  <poenitz@gmx.net>
6932
6933         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6934
6935         * paragraph_pimpl.h:
6936         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6937
6938         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6939
6940         * undo_funcs.C: make some simple cases of undo work again
6941
6942 2003-06-03  John Levon  <levon@movementarian.org>
6943
6944         * ispell.C: HPUX doesn't have sys/select.h
6945         (from Albert Chin)
6946
6947 2003-06-03  John Levon  <levon@movementarian.org>
6948
6949         * CutAndPaste.C: update tabular and include inset
6950         buffer references
6951
6952         * buffer.h:
6953         * paragraph.h:
6954         * paragraph.C: remove owningBuffer(), don't pass Buffer
6955         to clone()
6956
6957         * factory.C: insetGraphicsParams changed
6958
6959 2003-06-02  John Levon  <levon@movementarian.org>
6960
6961         * LyXAction.C:
6962         * factory.C:
6963         * lfuns.h:
6964         * lyxfunc.C:
6965         * text3.C: remove insetparent
6966
6967 2003-06-02  John Levon  <levon@movementarian.org>
6968
6969         * buffer.h:
6970         * buffer.C: fix inset_iterator.end(), move out of line
6971         (bug 1149)
6972
6973 2003-06-01  John Levon  <levon@movementarian.org>
6974
6975         * text3.C: use a proper cut/paste when doing inset
6976         insert (from Jürgen Spitzmüller)
6977
6978 2003-06-01  John Levon  <levon@movementarian.org>
6979
6980         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6981
6982 2003-05-30  André Pönitz  <poenitz@gmx.net>
6983
6984         * rowpainter.C: unify second drawing phase
6985
6986 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6987
6988         * trans_mgr.C: remove one case of current_view
6989
6990         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6991
6992         * paragraph_funcs.h: remove paragraph.h include
6993
6994         * paragraph.h: delete NO_STD_LIST stuff
6995
6996         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6997
6998         * buffer.h: remove paragraph.h include
6999
7000         * ParagraphList.C: delete file
7001
7002         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7003
7004         * toc.C (getTocList): adjust
7005
7006         * paragraph_pimpl.C (validate): adjust
7007
7008         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7009
7010         * paragraph.C (Paragraph): adjust
7011         (getPositionOfInset): use const_iterator, adjust
7012         (bibitem): use const_iterator, adjust
7013         (setInsetOwner): adjust
7014
7015         * iterators.C (operator++): adjust
7016
7017         * InsetList.[Ch]: Replace selfmade iterator with standard
7018         vector::iterator also introduce const_iterator. Remove getPos,
7019         getInset and setInset from InsetTable. Adjust accordingly.
7020
7021         * BufferView.C (lockInset): adjust
7022         (ChangeInsets): adjust
7023
7024         * tabular.[Ch]: delete commented same_id functions
7025
7026 2003-05-28  John Levon  <levon@movementarian.org>
7027
7028         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7029
7030 2003-05-28  André Pönitz  <poenitz@gmx.net>
7031
7032         * metricsinfo.[Ch]: remove 'fullredraw' member
7033
7034 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7035
7036         * lyxtextclass.C (operator): remove caching.
7037
7038 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7039
7040         * text3.C: adjust
7041
7042         * text2.C (cursorBottom): adjust
7043         (setCounter): use ParagraphList::find, adjust
7044
7045         * text.C (workWidth): use ParagraphList::find, adjust
7046
7047         * lyxcursor.C (LyXCursor): adjust
7048
7049         * buffer.C (inset_iterator): adjust
7050
7051         * ParagraphList.h: make iterator(value_type) private, make
7052         ParagraphList a friend of iterator.
7053
7054         * ParagraphList.C (find): new function
7055
7056         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7057
7058 2003-05-27  André Pönitz  <poenitz@gmx.net>
7059
7060         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7061
7062 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7063
7064         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7065
7066 2003-05-26  John Levon  <levon@movementarian.org>
7067
7068         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7069
7070 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7071
7072         * remove same_id from function signatures, adjust.
7073
7074 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7075
7076         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7077
7078         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7079
7080         * paragraph.C (Paragraph): get rid of same_ids parameter
7081
7082         * ParagraphList.C (insert): adjust
7083         (push_back): adjust
7084
7085 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7086
7087         * paragraph_funcs.C (breakParagraph): adjust
7088         (breakParagraphConservative): adjust
7089
7090         * buffer.C (readParagraph): adjust
7091
7092         * ParagraphList.C (insert): take a reference instead of a pointer
7093         (insert): adjust
7094
7095         * paragraph.[Ch] (id): new function
7096
7097         * bufferlist.C (newFile): adjust
7098
7099         * ParagraphList.C (ParagraphList): adjust
7100         (assign): adjust
7101         (push_back): take a reference instead of a pointer.
7102
7103         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7104
7105         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7106         instead.
7107
7108         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7109         set else use old code.
7110
7111         * ParagraphList.C: remove all NO_NEXT code and only compile this
7112         code of NO_STD_LIST is set.
7113
7114 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7115
7116         * BufferView_pimpl.C:
7117         * TextCache.C:
7118         * TextCache.h:
7119         * bufferlist.C:
7120         * errorlist.h:
7121         * format.C:
7122         * format.h:
7123         * graph.C:
7124         * lyxfunc.C:
7125         * lyxrc.C:
7126         * graphics/GraphicsConverter.C:
7127         * graphics/PreviewLoader.C: header adjustment
7128
7129 2003-05-23  Angus Leeming  <leeming@lyx.org>
7130
7131         * LaTeXFeatures.[Ch] (useBabel): new method.
7132         * bufferparams.C (writeLaTeX): use it.
7133
7134 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7135
7136         * ParagraphList.h (set): remove unused function.
7137
7138 2003-05-23  André Pönitz  <poenitz@gmx.net>
7139
7140         * BufferView.C:
7141         * BufferView_pimpl.C:
7142         * buffer.C:
7143         * buffer.h:
7144         * lyxfunc.C:
7145         * undo_funcs.C: setUndo reworked
7146
7147         * iterators.[Ch]: add access to topmost ParagraphList
7148
7149         * lyxtext.[Ch] (workWidth): add a const
7150
7151 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7152
7153         * texrow.[Ch] (increasePos): remove function
7154         * exporter.C (export): removed unused var and outdated comment
7155
7156 2003-05-23  Angus Leeming  <leeming@lyx.org>
7157
7158         * latexrunparams.h: rename fragile as moving_arg.
7159         * paragraph.C (simpleTeXOnePar): ditto.
7160         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7161
7162 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7163
7164         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7165         (createUndo): ditto
7166         (textUndoOrRedo): comment out a currently unused var.
7167
7168         * paragraph.h (NO_NEXT): enable NO_NEXT
7169
7170         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7171
7172         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7173
7174         * exporter.C (Export): adjust for removeAutoInsets removal.
7175
7176         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7177
7178         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7179
7180         * BufferView.[Ch] (removeAutoInsets): delete function
7181
7182 2003-05-22  Angus Leeming  <leeming@lyx.org>
7183
7184         * latexrunparams.h: add a free_spacing variable.
7185
7186         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7187         to pass moving_arg, as the data is stored in runparams.fragile.
7188
7189         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7190         to Inset::latexOptional or to simpleTeXOnePar.
7191
7192         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7193         free_spacing arg to Inset::latexOptional.
7194
7195         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7196         free_spacing arg.
7197
7198 2003-05-22  Angus Leeming  <leeming@lyx.org>
7199
7200         * latexrunparams.h: add fragile and use_babel variables.
7201
7202         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7203         * buffer.C (makeLaTeXFile): store this returned value in
7204         runparams.use_babel, thus passing it to the inset::latex methods.
7205
7206         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7207         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7208
7209         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7210         longer has a fragile arg, as it is stored in runparams.fragile.
7211
7212         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7213         moving_arg parameter as the data is stored in runparams.fragile.
7214
7215         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7216         a fragile parameter as the data is stored in runparams.fragile.
7217
7218 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7219
7220         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7221
7222 2003-05-22  Angus Leeming  <leeming@lyx.org>
7223
7224         * latexrunparams.h: add a 'bool nice' which defaults to false.
7225
7226         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7227         now encapsulated within runparams.
7228
7229         * bufferlist.C (updateIncludedTeXfiles):
7230         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7231
7232 2003-05-22  Angus Leeming  <leeming@lyx.org>
7233
7234         * latexrunparams.h: new file containing struct LatexRunParams.
7235         * Makefile.am: add new file.
7236
7237         * LaTeX.[Ch] (c-tor, run):
7238         * buffer.[Ch] (makeLaTeXFile):
7239         * bufferlist.[Ch] (updateIncludedTeXfiles):
7240         * converter.C (convert, scanLog):
7241         * converter.[Ch] (runLaTeX):
7242         * exporter.C (Export):
7243         * paragraph.[Ch] (simpleTeXOnePar):
7244         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7245         * paragraph_funcs.[Ch] (latexParagraphs):
7246         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7247         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7248         pass around a LatexRunParams parameter.
7249
7250 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7251
7252         * paragraph.[Ch]: remove unused constructor
7253
7254         * ParagraphList.C (erase): new function, taking two iterators
7255
7256 2003-05-22  André Pönitz  <poenitz@gmx.net>
7257
7258         * undo_funcs.C: remove duplicated code
7259
7260         * iterator.[Ch]: operator=
7261
7262 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7263
7264         * tabular.C (SetMultiColumn): ws changes
7265
7266         * rowpainter.C (paintFirst): get rid of a ->previous
7267
7268         * lyx_cb.C (getPossibleLabel): parlist simplification
7269
7270         * BufferView.C (ChangeInsets): simplify slightly.
7271
7272 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7273
7274         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7275         * lfuns.h: new LFUN_SPACE
7276         * lyxfunc.C: protected space has a new lfun
7277         * paragraph_funcs.C: read new space insets
7278         * text3.C:
7279         * factory.C: handle new space insets
7280
7281 2003-05-22  André Pönitz  <poenitz@gmx.net>
7282
7283         * BufferView.C:
7284         * BufferView_pimpl.C:
7285         * buffer.[Ch]:
7286         * lyxfunc.C:
7287         * undo_funcs.C: return a ParIterator from getParFromID.
7288
7289         * iterators.[Ch]: add two const's
7290
7291 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7292
7293         * toc.C (getTocList): adjust
7294
7295         * iterators.[Ch]: rework for parlist
7296
7297         * buffer.C (par_iterator_begin): adjust
7298         (par_iterator_end): adjust
7299
7300         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7301
7302         * BufferView.C (removeAutoInsets): adjust
7303         (ChangeInsets): adjust
7304
7305 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7306
7307         * text.C (top_y): fix bug 1110
7308
7309 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7310
7311         * errorlist.[Ch]: added
7312         * buffer.C:
7313         * BufferView.[Ch]:
7314         * BufferView_pimpl.C:
7315         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7316         instead
7317
7318 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7319
7320         * Makefile.am: ensure that lyx is relinked upon changes to the
7321         various "convenience" libs.
7322
7323 2003-05-20  Angus Leeming  <leeming@lyx.org>
7324
7325         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7326         files are compiled in alphabetical order again.
7327
7328         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7329
7330 2003-05-19  Angus Leeming  <leeming@lyx.org>
7331
7332         * gettext.[Ch]: remove "char const * _(char const *)".
7333
7334 2003-05-19  André Pönitz  <poenitz@gmx.net>
7335
7336         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7337
7338         * Makefile.am:
7339         * BufferView.C:
7340         * DepTable.h:
7341         * LaTeXFeatures.C:
7342         * buffer.C:
7343         * lyxfont.C:
7344         * lyxlex.h:
7345         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7346
7347 2003-05-19  André Pönitz  <poenitz@gmx.net>
7348
7349         * buffer.C:
7350         * lyxlayout.[Ch]:
7351         * lyxtextclass.[Ch]:
7352         * paragraph.C:
7353         * paragraph_funcs.[Ch]:
7354         * text2.C:
7355         * text3.C: more insetenv work
7356
7357 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7358
7359         * ParagraphParameters.C (params2string): small bug fixed
7360
7361 2003-05-16  André Pönitz  <poenitz@gmx.net>
7362
7363         * debug.C:
7364         * bufferview_funcs.C: patch from Kornel Benko to prevent
7365           crash when _(...) is called twice in a statement
7366
7367 2003-05-16  André Pönitz  <poenitz@gmx.net>
7368
7369         * BufferView.C:
7370         * lyxfunc.C:
7371         * text.C:
7372         * text2.C:
7373         * text3.C:
7374         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7375
7376 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7377
7378         * lyx_main.C (init): remove spurious static_cast
7379
7380 2003-05-14  André Pönitz  <poenitz@gmx.net>
7381
7382         * BufferView.C: fix format string
7383
7384 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7385
7386         * BufferView.[Ch] (insertErrors): removed
7387         * BufferView.[Ch] (showErrorList): added
7388         * buffer.C (runChkTeX):
7389         * converter.C (scanLog): call showErrorList instead of inserterrors
7390
7391 2003-05-13  André Pönitz  <poenitz@gmx.net>
7392
7393         * BufferView_pimpl.C:
7394         * buffer.C:
7395         * bufferview_func.C:
7396         * MenuBackend.C:
7397         * lyxfunc.C:
7398         * lyxrc.C:
7399         * tex-accent.C:
7400         * text3.C:
7401         * toc.C:
7402         * tabular_funcs.h: tostr() from its own header
7403
7404         * ParagraphParameters.C:
7405         * ToolbarBackend.C:
7406         * bufferparams.C:
7407         * format.C:
7408         * lyxlex_pimpl.C:
7409         * text3.C: STRCONV()
7410
7411 2003-05-12  André Pönitz  <poenitz@gmx.net>
7412
7413         * BufferView.C:
7414         * BufferView_pimpl.C:
7415         * CutAndPaste.C:
7416         * LaTeX.C:
7417         * LaTeXFeatures.C:
7418         * ParagraphParameters.C:
7419         * buffer.C:
7420         * bufferlist.C:
7421         * bufferparams.C:
7422         * bufferview_funcs.C:
7423         * converter.C:
7424         * counters.C:
7425         * debug.C:
7426         * exporter.C:
7427         * format.C:
7428         * importer.C:
7429         * lyx_cb.C:
7430         * lyx_main.C:
7431         * lyxfont.C:
7432         * lyxfunc.C:
7433         * lyxvc.C:
7434         * paragraph.C:
7435         * paragraph_funcs.C:
7436         * tabular.C:
7437         * tabular_funcs.C:
7438         * text2.C:
7439         * text3.C:  boost::format -> bformat  all over the place
7440
7441
7442 2003-05-09  André Pönitz  <poenitz@gmx.net>
7443
7444         * LColor.[Ch]: Pimpl the #include <map> away
7445
7446 2003-05-09  John Levon  <levon@movementarian.org>
7447
7448         * bufferlist.C: never remove emergency saves
7449
7450 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7451
7452         * Makefile.am: better lib building
7453
7454 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7455
7456         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7457         instead.
7458         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7459         (simpleTeXSpecialChars): adjust
7460         (simpleTeXSpecialChars): adjust
7461         * paragraph.C (simpleTeXOnePar): adjust
7462         * buffer.C (makeLaTeXFile): adjust
7463
7464         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7465
7466         * text2.C (changeDepth): parlist cleanup
7467         (getColumnNearX): ditto
7468
7469         * rowpainter.C (getLabelFont): parlist cleanup
7470
7471         * bufferlist.C (newFile): parlist cleanup
7472
7473         * CutAndPaste.C (eraseSelection): parlist cleanup
7474
7475         * BufferView_pimpl.C (trackChanges): parlist cleanup
7476         (dispatch): ditto
7477
7478         * BufferView.C (lockInset): parlist cleanup.
7479         (ChangeInsets): ditto
7480
7481 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7482
7483         * CutAndPaste.h: Update file header.
7484
7485         * CutAndPaste.C: Update file header.
7486         Store the parts cut out of the Document in a limited_stack.
7487         (copySelection): adjust
7488         (pasteSelection): new function, takes the index in the limited stack.
7489         (nrOfParagraphs): adjust
7490         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7491         simplify error inset insertion.
7492         (checkPastePossible): adjust
7493
7494 2003-05-06  John Levon  <levon@movementarian.org>
7495
7496         * text2.C: don't cast wrap inset to float
7497
7498 2003-05-05  André Pönitz  <poenitz@gmx.net>
7499
7500         * iterator.C:
7501         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7502
7503         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7504           few naked Paragraph *.
7505
7506 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7507
7508         * bufferparams.C: Output warning if a document with missing
7509         TeX document class is loaded
7510         * exporter.C: Disable TeX exports if the document class is missing
7511         * lyxtextclass.C:
7512         * lyxtextclass.h:
7513         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7514         isTeXClassAvailable()
7515
7516 2003-05-03  John Levon  <levon@movementarian.org>
7517
7518         * BufferView.h:
7519         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7520         explicit cursor show/hide
7521
7522         * BufferView_pimpl.h:
7523         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7524         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7525
7526         * lyxfunc.C: hide cursor before dispatching.
7527
7528         * lyx_cb.C:
7529         * lyxfind.C:
7530         * text.C:
7531         * text3.C: remove explicit cursor hides
7532
7533 2003-05-02  André Pönitz  <poenitz@gmx.net>
7534
7535         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7536
7537         * undo_funcs.C:
7538         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7539           linked lists
7540
7541         * text2.C: tiny whitespace
7542
7543 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7544
7545         * undo_funcs.C: almost only ws changes.
7546
7547         * ParagraphList.C (splice): just return if pl is empty.
7548
7549 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7550
7551         * ParagraphList.C (splice): new function.
7552
7553         * CutAndPaste.C (pasteSelection): use it
7554
7555 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7556
7557         * CutAndPaste.C (pasteSelection): remove the last next and
7558         previous from this file.
7559
7560 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7561
7562         * CutAndPaste.C (pasteSelection): more clean up, user proper
7563         ParagraphList functions for pasteing.
7564
7565         * ParagraphList.C (insert): new function, three arg insert
7566
7567 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7568
7569         * ParagraphList.C (insert): new function, three arg insert
7570
7571         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7572         not on paragraphs.
7573
7574 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7575
7576         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7577
7578 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7579
7580         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7581
7582 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7583
7584         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7585         (copySelection): clean up a bit.
7586         (pasteSelection): use make_pair
7587
7588         * ParagraphList.C (ParagraphList): implement copy constructor
7589         (operator=): implement, base on copy constructor.
7590         (assign): new func
7591
7592         * paragraph.C (erase): return a bool
7593
7594         * paragraph_pimpl.C (erasePos): remove function, move contents...
7595         (erase): ... here. Return a bool.
7596         (erase): call erase instead of erasePos.
7597
7598 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7599
7600         * ParagraphList.h: define PitPosPair
7601         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7602         ParagraphList, fix a bug on pasting multiple pars
7603         * text2.C: change interface to C&P
7604
7605 2003-04-30  André Pönitz  <poenitz@gmx.net>
7606
7607         * undo_func.C: revert part of yesterday's patch 2
7608
7609 2003-04-30  John Levon  <levon@movementarian.org>
7610
7611         * LColor.C: s/tabular/table/
7612
7613 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7614
7615         * text3.C (dispatch): do not convert iterator -> pointer
7616         * undo_funcs.C (setCursorParUndo): ditto
7617         * text_funcs.C (transposeChars): ditto
7618
7619         * text2.C (setLayout): ws changes only
7620
7621         * text.C (breakParagraph): do not convert iterator -> pointer
7622         (insertChar): ditto
7623         (acceptChange): ditto
7624         (rejectChange): ditto
7625         (changeCase): ditto
7626         (Delete): ditto
7627         (backspace): ditto
7628
7629         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7630         pointer
7631
7632 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7633
7634         * text3.C (gotoInset): YABG (yet another bad getChar)
7635
7636 2003-04-29  André Pönitz  <poenitz@gmx.net>
7637
7638         * paragraph.h: make operator= private unimplemented as long as
7639           it is unusable
7640
7641         * ParagraphList.C: whitespace
7642
7643         * paragraph.[Ch]:
7644         * paragraph_pimpl.[Ch]:
7645         * paragraph_funcs.C:
7646         * CutAndPaste.C:
7647         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7648
7649         * text2.C:
7650           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7651
7652 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7653
7654         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7655         * paragraph.[Ch] (erase):
7656         * paragraph_pimpl.[Ch] (erase): change return type and value
7657         * text2.C (cutSelection): some rework
7658
7659 2003-04-28  John Levon  <levon@movementarian.org>
7660
7661         * bufferlist.C: changes for unsaved changes dialog
7662
7663 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7664
7665         * bufferlist.C (newFile): set language (messages_) for new
7666         documents also.
7667
7668         * buffer.C (readFile): ws changes only.
7669
7670 2003-04-28  André Pönitz  <poenitz@gmx.net>
7671
7672         * undo_funcs.C:
7673         * lyxfunc.C:
7674         * buffer.[Ch]:
7675         * BufferView_pimpl.C:
7676         * BufferView.C: getParFromID related ParagraphList::iterator changes
7677
7678 2003-04-28  André Pönitz  <poenitz@gmx.net>
7679
7680         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7681           Changes
7682
7683 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7684
7685         * messages.C: remove one more localedir class variable.
7686
7687 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7688
7689         * messages.C (getLocaleDir): singleton generation function
7690         (Pimpl): use it.
7691         (Messages): add a default constructor.
7692
7693         * main.C (main): do not setup localedir here, do not call
7694         gettext_init.
7695
7696         * gettext.C (_): use it.
7697         (gettext_init): delete funciton
7698
7699 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7700
7701         * gettext.C (getLyXMessages): new singleton generating function.
7702
7703         * buffer.C (updateDocLang): adjust
7704
7705         * Makefile.am (messages.o): add target
7706         (main.o): remove target
7707
7708 2003-04-27  John Levon  <levon@movementarian.org>
7709
7710         * bufferlist.C:
7711         * lyx_cb.C:
7712         * lyxfunc.C:
7713         * lyxvc.C: specify cancel button in Alert::prompt
7714
7715 2003-04-26  John Levon  <levon@movementarian.org>
7716
7717         * text3.C:
7718         * lyxfunc.C:
7719         * lfuns.h:
7720         * LyXAction.C: add LFUN_INSET_SETTINGS
7721
7722         * lyxfunc.C: don't enable tabular-feature when there's
7723         just any locking inset
7724
7725 2003-04-26  John Levon  <levon@movementarian.org>
7726
7727         * bufferlist.C: re-add Cancel to buffer close question
7728
7729         * lyxfunc.C: fix import UI a bit
7730
7731 2003-04-25  John Levon  <levon@movementarian.org>
7732
7733         * gettext.C: remove the broken asserts for now
7734
7735 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7736
7737         * messages.C: make case where setlocale cannot comply work better.
7738
7739         * buffer.C (updateDocLang): new function
7740         (changeLanguage): use it
7741         (readFile): use it
7742
7743         * text2.C (setCounter): use B_ a bit.
7744
7745         * lyxlayout.C (Read): be sure to trim the label strings.
7746
7747         * messages.C (Messages): fix typo in comment
7748
7749         * buffer.C (readFile): set message_ after file is loaded.
7750         (makeDocBookFile): remove double return
7751         (changeLanguage): reset message_ upon language change.
7752         (B_): new func, use this to get translated buffer strings.
7753
7754         * main.C: add myself and Jean Marc as authors.
7755
7756 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7757
7758         * messages.[hC]: pimplify Messages, and three different pimpls to be
7759         used in different circumstances.
7760
7761         * gettext.[Ch]: change for use with new message code.
7762
7763 2003-04-24 André Pönitz <poenitz@gmx.net>
7764
7765         * factory.C: support for eqref
7766
7767 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7768
7769         * messages.[Ch]: add missing char
7770
7771         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7772
7773         * messages.[Ch]: New files
7774
7775 2003-04-18  John Levon  <levon@movementarian.org>
7776
7777         * BufferView.h:
7778         * BufferView.C:
7779         * BufferView_pimpl.C:
7780         * lfuns.h:
7781         * LyXAction.C:
7782         * lyxtext.h:
7783         * text2.C: remove layout-copy/paste (bug 778)
7784
7785 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7786
7787         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7788
7789 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7790
7791         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7792         if they succeed. Act accordingly.
7793
7794 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7795
7796         * text2.C (setCharFont): adjust
7797         (setCounter): adjust
7798         (insertStringAsLines): adjust
7799
7800         * text.C (leftMargin): adjust
7801         (setHeightOfRow): adjust
7802
7803         * rowpainter.C (paintFirst): adjust
7804         (paintLast): adjust
7805
7806         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7807         (outerHook): ditto
7808         (isFirstInSequence): ditto
7809         (getEndLabel): ditto
7810         (outerFont): adjust
7811
7812         * paragraph.C (getParLanguage): comment out some hard stuff.
7813
7814         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7815         (sgmlError): ditto
7816         (simpleDocBookOnePar): ditto
7817         (makeDocBookFile): use ParagraphList::iterator
7818
7819         * CutAndPaste.C (pasteSelection): adjust
7820
7821 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7822
7823         * text2.C (getFont): adjust
7824         (getLayoutFont): adjust
7825         (getLabelFont): adjust
7826
7827         * paragraph_funcs.C (TeXOnePar): adjust
7828
7829         * buffer.C (simpleLinuxDocOnePar): adjust
7830         (simpleDocBookOnePar): adjust
7831
7832         * CutAndPaste.C (pasteSelection): adjust
7833
7834         * BufferView.C (getEncoding): adjust
7835
7836         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7837
7838 2003-04-16  John Levon  <levon@movementarian.org>
7839
7840         * lyxfind.C: use parlist stuff for search/changes
7841
7842 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7843
7844         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7845
7846         * text2.C (deleteEmptyParagraphMechanism): adjust
7847
7848         * text2.[Ch] (ownerParagraph): delete func (both of them
7849
7850 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7851
7852         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7853
7854 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7855
7856         * ParagraphList.C: prepare for NO_NEXT
7857
7858 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7859
7860         * text2.C (getFont): adjust
7861         (getLayoutFont): adjust
7862         (getLabelFont): adjust
7863
7864         * paragraph.C (getFont): adjust
7865         (getLabelFont): adjust
7866         (getLayoutFont): adjust
7867
7868         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7869
7870 2003-04-15  John Levon  <levon@movementarian.org>
7871
7872         From Angus Leeming
7873
7874         * lyx_main.C: handle Include in .ui files
7875
7876 2003-04-15  John Levon  <levon@movementarian.org>
7877
7878         * MenuBackend.C: make the doc files length shorter
7879
7880         * ToolbarBackend.h:
7881         * ToolbarBackend.C: handle toolbar placement flags,
7882         Minibuffer
7883
7884 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7885
7886         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7887         adjust
7888
7889         * paragraph_funcs.C (TeXOnePar): adjust
7890
7891         * paragraph.C (getLabelFont): add outerfont arg, adjust
7892         (getLayoutFont): ditto
7893         (simpleTeXOnePar): adjust
7894
7895         * paragraph_pimpl.C (realizeFont): delete func
7896
7897 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7898
7899         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7900         row argument, constify cur argument.
7901
7902 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7903
7904         * text2.C (getFont): adjust
7905         (getLayoutFont): adjust
7906         (getLabelFont): adjust
7907
7908         * paragraph_funcs.C (TeXOnePar): adjust
7909         (outerFont): new func...
7910         (realizeFont): ...moved out from here, changed this to facilitate
7911         transition
7912
7913         * paragraph.C (getFont): take outerfont as arg, adjust
7914         (simpleTeXOnePar): add outerfont arg, adjust
7915
7916         * buffer.C (simpleLinuxDocOnePar): adjust
7917         (simpleDocBookOnePar): adjust
7918
7919         * CutAndPaste.C (pasteSelection): adjust
7920
7921         * BufferView.C (getEncoding): adjust
7922
7923 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7924
7925         * text2.C (setCharFont): adjust
7926         (setCounter): adjust
7927
7928         * text.C (leftMargin): adjust
7929         (setHeightOfRow): adjust
7930
7931         * rowpainter.C (paintFirst): adjust
7932         (paintLast): adjust
7933
7934         * paragraph_pimpl.C (realizeFont): adjust
7935
7936         * paragraph.C (isFirstInSequence): move from here...
7937         * paragraph_funcs.C (isFirstInSequence): ...to here
7938
7939         * paragraph.C (outerHook): move from here...
7940         * paragraph_funcs.C (outerHook): ...to here
7941
7942         * paragraph.C (depthHook): move from here...
7943         * paragraph_funcs.C (depthHook): ...to here
7944
7945         * paragraph.C (getEndLabel): move from here...
7946         * paragraph_funcs.C (getEndLabel): ...to here
7947
7948         * text2.C (realizeFont): move from here...
7949         * paragraph_funcs.C (realizeFont): ...to here
7950
7951 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7952
7953         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7954
7955 2003-04-14  Angus Leeming  <leeming@lyx.org>
7956
7957         * LColor.[Ch]: scrap LColor mathcursor.
7958
7959 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7960
7961         * lyxlex.[Ch] (text): delete function
7962         * trans.C (Load): adjust
7963         * paragraph_funcs.C (readParToken): adjust
7964
7965 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7966
7967         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7968         vector<char> instead of a char[].
7969
7970         * lyxlex_pimpl.C (getString): adjust
7971         (next): adjust
7972         (lex): use getString
7973         (eatLine): adjust
7974         (nextToken): adjust
7975
7976         * lyxlex.C (text): use pimpl_->getString()
7977         (getBool): ditto
7978         (findToken): ditto
7979
7980 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7981
7982         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7983         (makeFontEntriesLayoutSpecific): temp var for par.size()
7984         (setLayout): temp var for ownerParagraphs().end()
7985         (fullRebreak): temp var for rows().end()
7986         (selectionAsString): temp var for boost::next(startpit), realize
7987         that the while really is a regular for loop.
7988         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7989         setCursor in one place.
7990         (setParagraph): temp vr for ownerParagraphs().end()
7991         (updateCounters): make the while loop a for loop
7992         (cutSelection): temp var for ownerParagraphs().end()
7993         (updateInset): make the do {} while() a regular for loop
7994         (getCursorX): use temp vars
7995         (setCurrentFont): use temp vars
7996         (getColumnNearX): use temp vars
7997
7998 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7999
8000         * text.C (transformChar): use temp var for getChar
8001         (computeBidiTables): use temp var for row->par()
8002         (fill): move temp vars for row->par() and pit->layout() earlier in
8003         the function.
8004         (labelFill): use temp var for row->par()
8005         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8006         asc and desc, realize that pit never changes and that firstpit is
8007         just a duplicate and not needed. Exchange rit->par() with pit in a
8008         lot of places.
8009         (breakAgain): use a temp var for boost::next(rit)
8010         (breakAgainOneRow): ditto
8011         (breakParagraph): use a temp var for rows().begin()
8012         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8013         (cursorRightOneWord): use temp var for cursor.par() and
8014         cursor.pos(), remove usage of tmpcursor.
8015         (cursorLeftOneWord): use temp var for cursor.par() and
8016         cursor.pos() only set cur at end of function.
8017
8018 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8019
8020         * text.C, text2.C: exchange all usage of Paragraph::next with
8021         boost::next(ParagraphList::iterator)
8022
8023         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8024
8025         * text2.C (cursorTop): simplify implementation
8026         (cursorBottom): ditto
8027         (setParagraph): use ParagraphList::iterator
8028         (setCurrentFont): adjust
8029         (getColumnNearX): adjust
8030         (cursorRight): adjust
8031         (cursorLeft): remove usage of Paragraph::previous
8032         (cursorUpParagraph): ditto
8033         (deleteEmptyParagraphMechanism): slight cleanup
8034
8035         * text.C (isBoundary): take a Paragraph const & instead of a
8036         pointer as arg.
8037         (addressBreakPoint): ditto
8038         (leftMargin): remove usage of Paragraph::previous.
8039         (setHeightOfRow): ditto
8040         (cursorLeftOneWord): ditto
8041         (selectNextWordToSpellcheck): ditto
8042         (Delete): ditto
8043         (backspace): ditto
8044         (breakParagraph): remove one usage of Paragraph::next
8045         (redoParagraph): ditto
8046         (acceptChange): ditto
8047         (insertChar): adjust
8048         (rowBreakPoint): adjust
8049
8050         * bufferview_funcs.C (toggleAndShow): adjust
8051
8052 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8053
8054         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8055         methods to access it.
8056         * lyxtext.h:
8057         * text.C: Added updateRowPositions to compute all row positions.
8058         Make top_y and getRowNearY() to use the cached y position
8059
8060 2003-04-11  John Levon  <levon@movementarian.org>
8061
8062         * text.C (rowBreakPoint): reintroduce the labelEnd
8063         checks, code copied from the row fill stuff. Deep voodoo.
8064
8065         * text.C (fill): add a comment and debugging for the
8066         next poor soul.
8067
8068 2003-04-11  John Levon  <levon@movementarian.org>
8069
8070         * text.C: make sure fullrow insets get wrapped to the next line,
8071         even when they're in a manual label
8072
8073 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8074
8075         * text2.C (insertParagraph): make it take ParagraphList::iterator
8076         as arg.
8077         (setLayout): make it return ParagraphList::iterator
8078         (redoParagraphs): ditto
8079         (setCounter): ditto
8080         (checkParagraph): ditto
8081
8082         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8083
8084         * text2.C: adjust several funcs.
8085         (realizeFont): take a ParagraphList::iterator as arg.
8086         (getLayoutFont): ditto
8087         (getLabelFont): ditto
8088         (setCharFont): ditto
8089
8090         * text.C: adjust several funcs.
8091
8092 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8093
8094         * text.C (selectNextWordToSpellcheck): don't accidentally
8095         skip insets
8096
8097 2003-04-10  John Levon  <levon@movementarian.org>
8098
8099         * ToolbarBackend.C (getIcon): special handling for
8100         LFUN_MATH_DELIM
8101
8102 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8103
8104         * text2.C (cursorRight): a getChar assert fixed
8105
8106 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8107
8108         * text2.C (getFont): change to take a ParagraphList::iterator
8109         instead of Paragraph*
8110         Adjust several functions.
8111
8112         * text.C (transformChar): change to take a ParagraphList::iterator
8113         instead of Paragraph*
8114         (singleWidth): ditto
8115         Adjust several functions.
8116
8117         * rowpainter.C: adjust several functions
8118         * rowpainter.h:store a ParagraphList::iterator and not a
8119         Paragraph&.
8120
8121
8122 2003-04-09  John Levon  <levon@movementarian.org>
8123
8124         * lyxfunc.C:
8125         * lfuns.h:
8126         * LyXAction.h:
8127         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8128         and the "help" bits as well
8129
8130 2003-04-09  John Levon  <levon@movementarian.org>
8131
8132         * ToolbarBackend.h:
8133         * ToolbarBackend.C: allow multiple toolbars
8134
8135 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8136
8137         * undo_funcs.C (setCursorParUndo): adjust
8138
8139         * text_funcs.C (transposeChars): adjust
8140
8141         * text3.C (gotoNextInset): adjust
8142         (dispatch): adjust
8143
8144         * text2.C (setLayout): adjust
8145         (changeDepth): adjust
8146         (setFont): adjust
8147         (redoParagraphs): adjust
8148         (selectionAsString): adjust
8149         (setParagraph): adjust
8150         (insertInset): adjust
8151         (cutSelection): adjust
8152         (copySelection): adjust
8153         (pasteSelection): adjust
8154         (insertStringAsLines): adjust
8155         (updateInset): adjust
8156         (setCursor): change to take a ParagraphList::iterator parameter
8157         (setCursorIntern): change to take a ParagraphList::iterator parameter
8158         (setCurrentFont): adjust
8159         (cursorLeft): adjust
8160         (cursorRight): adjust
8161         (deleteEmptyParagraphMechanism): adjust
8162
8163         * text.C (breakParagraph): adjust
8164         (insertChar): adjust
8165         (acceptChange): adjust
8166         (rejectChange): adjust
8167         (selectNextWordToSpellcheck): adjust
8168         (changeCase): adjust
8169         (Delete): adjust
8170         (backspace): adjust
8171
8172         * lyxfind.C (SearchForward): adjust
8173         (SearchBackward): adjust
8174         (nextChange): adjust
8175
8176         * lyxcursor.C (par): adjust
8177
8178         * lyxcursor.h: store a ParagraphList::iterator instead of a
8179         Paragraph*
8180
8181         * lyx_cb.C (getPossibleLabel): adjust
8182
8183         * bufferview_funcs.C (toggleAndShow): adjust
8184
8185         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8186         (dispatch): adjust
8187
8188         * BufferView.C (removeAutoInsets): adjust
8189         (lockedInsetStoreUndo): adjust
8190
8191 2003-04-09  John Levon  <levon@movementarian.org>
8192
8193         * ToolbarBackend.C: try icon without argument
8194         if with argument fails
8195
8196 2003-04-08  John Levon  <levon@movementarian.org>
8197
8198         * ToolbarBackend.h:
8199         * ToolbarBackend.C: add getIcon(), handle tooltip,
8200         and change from "Icon" to "Item".
8201
8202 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8203
8204         * BufferView.C (lockInset): another bad getchar crunched
8205
8206 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8207
8208         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8209         again)
8210
8211 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8212
8213         * lyxfind.C (searchForward, searchBackwards): bug 782
8214
8215 2003-04-07  John Levon  <levon@movementarian.org>
8216
8217         * paragraph.C: remove dead comment
8218
8219         * text.C: remove troublesome depth-fiddling code
8220         in leftMargin() and rightMargin() (bug 1017)
8221
8222         * text.C: fix breaking of rows in nested lists
8223         (bug 1004)
8224
8225         * text2.C (updateCounters): fix up depth values
8226         (bug 1013)
8227
8228 2003-04-07  John Levon  <levon@movementarian.org>
8229
8230         * BufferView_pimpl.C: clear message when doc finishes resizing,
8231         and after a mouse event
8232
8233         * lyxfunc.C: clear message after exiting inset
8234
8235 2003-04-07  John Levon  <levon@movementarian.org>
8236
8237         * bufferview_funcs.C: show math status not outside
8238         status in the statusbar
8239
8240 2003-04-07  John Levon  <levon@movementarian.org>
8241
8242         * lyxfunc.C: note status changed after a depth change
8243
8244 2003-04-04  Angus Leeming  <leeming@lyx.org>
8245
8246         * LaTeX.h: move AuxInfo operator==, != out of line.
8247         Remove LaTeX virtual destructor; nothing derives from it.
8248         Move operator()() out of public area and rename it startscript().
8249         Change protected for private.
8250
8251 2003-04-04  Angus Leeming  <leeming@lyx.org>
8252
8253         * lyxfunc.C:
8254         * text2.C: remove unneeded #includes.
8255
8256 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8257
8258         * text2.C (dEPM): fix the heigth of the next row
8259
8260 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8261
8262         * text.C: squashed an invalid getChar requester + some ws changes
8263
8264 2003-04-03  John Levon  <levon@movementarian.org>
8265
8266         * bufferview_funcs.h:
8267         * bufferview_funcs.C:
8268         * lyxfunc.C:
8269         * lyxtext.h:
8270         * text2.C: make getStatus work for the env depth lfuns
8271
8272 2003-04-03  John Levon  <levon@movementarian.org>
8273
8274         * bufferview_funcs.h:
8275         * bufferview_funcs.C:
8276         * lyxfunc.C:
8277         * lyxtext.h:
8278         * text2.C: parlistize decDepth(), by merging it with incDepth()
8279
8280 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * lyxrow.h: store a ParagraphList::iterator instead of a
8283         Paragraph* and adjust other class functions to suit.
8284
8285         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8286         above.
8287
8288 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8289
8290         * text2.C (setCursor): do not anchor to cursor row for the time being
8291
8292 2003-04-02  John Levon  <levon@movementarian.org>
8293
8294         * LyXAction.C:
8295         * lfuns.h:
8296         * lyx_main.C:
8297         * lyxtext.h:
8298         * text.C:
8299         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8300
8301 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8302
8303         * paragraph.h: make ParagraphList and ParagraphList::iterator
8304         friends of Paragraph.
8305
8306         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8307
8308         * ParagraphList.C: Use the private next_ and previous_ from
8309         Paragraph.
8310
8311 2003-04-01  John Levon  <levon@movementarian.org>
8312
8313         * ToolbarBackend.h:
8314         * ToolbarBackend.C:
8315         * Makefile.am: rename, remove defaults gunk
8316
8317         * MenuBackend.h:
8318         * MenuBackend.C: remove defaults gunk
8319
8320         * Languages.h:
8321         * Languages.C: remove defaults gunk
8322
8323         * lyx_main.h:
8324         * lyx_main.C: error out if files couldn't be found.
8325
8326 2003-04-02  John Levon  <levon@movementarian.org>
8327
8328         * text2.C: make incDepth() use parlist
8329
8330 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8331
8332         * undo_funcs.C (firstUndoParagraph): adjust
8333
8334         * text3.C (gotoInset): adjust
8335         (dispatch): adjust, and rewrite loop.
8336
8337         * text2.C (init): adjust, and rewrite loop.
8338         (redoParagraphs): adjust
8339         (updateInset): adjust, and rewrite loop.
8340         (deleteEmptyParagraphMechanism): adjust
8341
8342         * tabular.C (LyXTabular): adjust
8343         (SetMultiColumn): adjust
8344         (TeXRow): adjust
8345
8346         * lyxtext.[Ch] (ownerParagraph): delete function
8347         (ownerParagraphs): new function returns a ParagraphList.
8348
8349         * BufferView.C (removeAutoInsets): adjust
8350         (insertErrors): adjust
8351         (setCursorFromRow): adjust
8352
8353 2003-04-01  Angus Leeming  <leeming@lyx.org>
8354
8355         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8356         in the frontends.
8357
8358 2003-04-02  John Levon  <levon@movementarian.org>
8359
8360         * lyxtext.h:
8361         * text.C:
8362         * Makefile.am:
8363         * text_funcs.h:
8364         * text_funcs.C: make transposeChars a free function
8365
8366         * lyxrow_funcs.C: remove wrong comment
8367
8368 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8369
8370         * lyxtext.h: adjust
8371         * rowpainter.C: adjust
8372         * text.C: adjust
8373         * text2.C: adjust
8374         * text3.C: adjust
8375
8376         * lyxrow_funcs. [Ch]: new files
8377
8378         * lyxrow.[Ch]: remove next and previous pointers
8379         (next,previous): remove accessor functions
8380         (isParEnd): move to lyxrow_funcs
8381         (lastPos): move to lyxrow_funcs
8382         (nextRowIsAllInset): move to lyxrow_funcs
8383         (lastPrintablePos): move to lyxrow_funcs
8384         (numberOfSeparators): move to lyxrow_funcs
8385         (numberOfHfills): move to lyxrow_funcs
8386         (numberOfLabelHfills): move to lyxrow_funcs
8387         (hfillExpansion): move to lyxrow_funcs
8388
8389         * lyxfunc.C: adjust
8390
8391         * bufferview_funcs.C (toggleAndShow): adjust
8392
8393         * RowList.h: Remove class RowList from file leave just a
8394         std::list<Row>.
8395
8396         * RowList.C: delete file
8397
8398         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8399         and lyxrow_funcs.h
8400
8401 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8402
8403         * text3.C (cursorPrevious): adjust
8404         (cursorNext): adjust
8405         (dispatch): adjust
8406
8407         * text2.C (redoHeightOfParagraph): adjust
8408         (redoDrawingOfParagraph): adjust
8409         (setCursor): adjust
8410
8411         * text.C (breakParagraph): adjust
8412         (insertChar): adjust
8413         (backspace): adjust
8414
8415         * rowpainter.C (RowPainter): adjust
8416         (leftMargin): simplify and adjust
8417         (most rowpainter functions): adjust.
8418
8419         * rowpainter.h: store the row as RowList::iterator not as Row*
8420
8421         * lyxcursor.C (row): taka RowList::iterator as arg
8422         (irow): ditto
8423
8424         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8425         of Row*.
8426
8427 2003-04-01  Angus Leeming  <leeming@lyx.org>
8428
8429         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8430         stuff like bool Bool.
8431
8432 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8433
8434         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8435         rewrite a loop
8436
8437 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8438
8439         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8440         RowList::iterator.
8441
8442         * lyxtext.h (rows): drop one version and leve a const variant that
8443         returns a RowList::iterator.
8444
8445 2003-03-31  Angus Leeming  <leeming@lyx.org>
8446
8447         * text.C (fill): ensure that the signature is the same as that in the
8448         header file.
8449
8450 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8451
8452         * text2.C (redoParagraphs): adjust
8453         (updateCounters): adjust
8454         (checkParagraph): adjust
8455         (getColumnNearX): adjust and reformat a bit.
8456
8457         * text.C (top_y): adjust
8458         (workWidth): adjust
8459         (leftMargin): adjust
8460         (prepareToPrint): adjust
8461         (getRow): adjust
8462         (getRowNearY): adjust
8463
8464         * lyxtext.h: make rowlist_ mutable.
8465
8466         * RowList.h: add const_iterator
8467         * RowList.C: adjust for RowList::const_iterator.
8468
8469         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8470         adjust.
8471
8472 2003-03-31  John Levon  <levon@movementarian.org>
8473
8474         * lyxrc.h:
8475         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8476
8477         * lyx_main.C: set default fonts from using lyx_gui funcs
8478
8479         * exporter.C: pdf_mode moved from lyxrc
8480
8481         * lyx_cb.C:
8482         * lyxfunc.C: changes from above
8483
8484 2003-03-31  John Levon  <levon@movementarian.org>
8485
8486         * lyx_main.C: fix to the last fix
8487
8488 2003-03-31  John Levon  <levon@movementarian.org>
8489
8490         * bufferlist.C: "Load original" -> "Load Original"
8491
8492         * converter.C:
8493         * exporter.C:
8494         * importer.C:
8495         * lyx_main.C:
8496         * format.C: more Alert cleanups
8497
8498 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8499
8500         * text2.C (removeParagraph): make it take a RowList::iterator as
8501         arg, adjust.
8502         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8503         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8504
8505         * text.C (anchor_row): make it take a RowList::iterator as arg,
8506         adjust.
8507         (computeBidiTables): make it take a const reference to Row instead
8508         of Row pointer, adjust.
8509         (leftMargin): make it take a RowList::iterator as arg, adjust.
8510         (rowBreakPoint): adjust
8511         (breakAgainOneRow): make it take a RowList::iterator as arg,
8512         adjust.
8513         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8514
8515         * bufferview_funcs.C (toggleAndShow): adjust
8516
8517 2003-03-30  John Levon  <levon@movementarian.org>
8518
8519         * Makefile.am:
8520         * BoostFormat.h:
8521         * boost-inst.C: moved to support
8522
8523         * several files: changes as a result
8524
8525 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8526
8527         * text2.C (LyXText): adjust.
8528         (init): adjust
8529         (removeRow): make it take a RowList::iterator as arg, adjust.
8530         (fullRebreak): adjust
8531         (deleteEmptyParagraphMechanism): adjust
8532         (clearPaint): adjust
8533         (postPaint): adjust
8534
8535         * text.C (top_y): adjust
8536         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8537         (breakAgain): make it take a RowList::iterator as arg, adjust.
8538         (breakParagraph): adjust
8539         (insertChar): adjust
8540         (backspace): adjust
8541
8542         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8543         need_break_row, and refresh_row.
8544
8545         * text3.C (dispatch): adjust
8546
8547         * text2.C (checkParagraph): adjust
8548         (setCursor): adjust
8549         (setCursorFromCoordinates): adjust
8550
8551         * text.C (top_y): adjust
8552         (workWidth): adjust
8553         (getRow): make it return a RowList::iterator, adjust
8554         (getRowNearY): make it return a RowList::iterator, adjust
8555
8556         * text2.C (init): adjust
8557         (insertRow): remove function
8558         (insertParagraph): adjust
8559         (redoParagraphs): adjust
8560         (fullRebreak): adjust
8561         (updateCounters): adjust
8562
8563         * text.C (top_y): rewrite to use RowList iterators.
8564         (top_y): adjust
8565         (setHeightOfRow): rewrite to sue RowList iterators.
8566         (appendParagraph): adjust
8567         (breakAgain): adjust
8568         (breakAgainOneRow): adjust
8569         (breakParagraph): adjust
8570         (getRow): adjust
8571         (getRowNearY): adjust, and remove commented code.
8572
8573         * lyxtext.h (firstRow): delete function
8574         (lastRow): delete function
8575         (rows): new function (const and non-const versions.)
8576         (insertRow): delete function
8577
8578         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8579
8580 2003-03-29  John Levon  <levon@movementarian.org>
8581
8582         * BufferView_pimpl.C: always update scrollbar top
8583         because pasting text when we're anchored could mean we
8584         miss an update altogether
8585
8586 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8587
8588         * text2.C (init): use rowlist_.end() and not 0.
8589         (insertRow): change to take a RowList::iterator as arg, adjust
8590         for this.
8591         (insertParagraph): change to take a RowList::iterator as arg,
8592         adjust for this.
8593         (redoParagraphs): remove some debug msgs.
8594
8595         * text.C (appendParagraph): change to take a RowList::iterator
8596         arg, adjust for this.
8597         (breakAgain): add an assert
8598         (breakAgainOneRow): ditto
8599
8600 2003-03-29  John Levon  <levon@movementarian.org>
8601
8602         * text2.C: do not clear selection after inc/decDepth
8603         (bug 550)
8604
8605 2003-03-29  John Levon  <levon@movementarian.org>
8606
8607         * BufferView.C:
8608         * buffer.C: fix broken strerrors according to Lars
8609
8610 2003-03-29  John Levon  <levon@movementarian.org>
8611
8612         * converters.C: more Alert cleanups
8613
8614 2003-03-29  John Levon  <levon@movementarian.org>
8615
8616         * bufferview_funcs.C: remove pointless Alert
8617
8618         * buffer.C: fix confusing error message when
8619         a template is chmoded 000
8620
8621 2003-03-29  John Levon  <levon@movementarian.org>
8622
8623         * BufferView.C:
8624         * BufferView.h:
8625         * BufferView_pimpl.C: Alert fixes
8626
8627         * Makefile.am:
8628         * tabular.C:
8629         * tabular-old.C: remove unused table compat reading
8630
8631 2003-03-29  John Levon  <levon@movementarian.org>
8632
8633         * BufferView.C:
8634         * buffer.C:
8635         * lyx_cb.h:
8636         * lyx_cb.C: more Alert cleanups
8637
8638         * lyxfunc.C: don't allow chktex if not latex document
8639
8640 2003-03-29  John Levon  <levon@movementarian.org>
8641
8642         * lyx_cb.C:
8643         * BufferView.C:
8644         * buffer.C: warnings pushed down from support/,
8645         kill err_alert
8646
8647 2003-03-29  John Levon  <levon@movementarian.org>
8648
8649         * lyxfunc.C: safety check for C-r (revert)
8650
8651 2003-03-29  John Levon  <levon@movementarian.org>
8652
8653         * bufferlist.h:
8654         * bufferlist.C: several UI fixes using Alert::prompt.
8655         Fix the pointless looping quit code. Fix stupid revert
8656         behaviour (bug 938)
8657
8658         * lyxvc.h:
8659         * lyxvc.C:
8660         * lyx_cb.C: use Alert::prompt
8661
8662         * lyx_main.C: remove a silly question
8663
8664         * lyxfunc.C: remove a couple of silly questions,
8665         use Alert::prompt
8666
8667 2003-03-28  John Levon  <levon@movementarian.org>
8668
8669         * text2.C: fix bug 974 (End on empty par)
8670
8671 2003-03-28  John Levon  <levon@movementarian.org>
8672
8673         * BufferView_pimpl.C:
8674         * LyXAction.C:
8675         * lfuns.h: remove do-nothing math greek lfuns
8676
8677 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8678
8679         * lyxgluelength.h (isValidGlueLength): add default arg on
8680         parameter 2. Remove default arg from friend in class.
8681
8682         * lyxlength.h (isValidLength): add default arg on parameter 2.
8683         Remove default arg from friend in class.
8684
8685         * text2.C (LyXText): adjust, initialize refresh_row.
8686         (init): adjust
8687         (removeRow): adjust
8688         (insertRow): adjust
8689         (insertParagraph): adjst
8690         (redoParagraphs): adjust
8691         (fullRebreak): adjust
8692         (updateCounters): adjust
8693         (deleteEmptyParagraphMechanism): first attempt at fixing a
8694         crashing bug.
8695
8696         * text.C (top_y): adjust
8697         (setHeightOfRow): adjust
8698         (getRow): adjust
8699         (getRowNearY): adjust
8700
8701         * lyxtext.h: include RowList.h
8702         (~LyXText): not needed anymore, deleted.
8703         (firstRow): modify for RowList
8704         (lastRow): new function
8705         Delete firstrow and lastrow class variables, add a Rowlist
8706         rowlist_ class variable.
8707
8708         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8709         paragraph is empty.
8710
8711         * RowList.C (insert): fix case where it == begin().
8712
8713 2003-03-26  Angus Leeming  <leeming@lyx.org>
8714
8715         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8716         the thesaurus dialog.
8717
8718 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8719
8720         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8721
8722         * RowList.[Ch]: new files
8723
8724         * ParagraphList.C (erase): handle the case where it == begin
8725         correctly.
8726
8727 2003-03-25  John Levon  <levon@movementarian.org>
8728
8729         * Makefile.am:
8730         * aspell_local.h:
8731         * aspell.C: add new aspell support
8732
8733         * lyxrc.h:
8734         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8735         have it accessible.
8736
8737 2003-03-25  Angus Leeming  <leeming@lyx.org>
8738
8739         * lfuns.h:
8740         * LyXAction.C (init): new LFUN_INSET_INSERT.
8741
8742         * BufferView_pimpl.C (dispatch): split out part of the
8743         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8744
8745         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8746         LFUN_INSET_APPLY.
8747
8748 2003-03-25  Angus Leeming  <leeming@lyx.org>
8749
8750         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8751
8752 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8753
8754         * text2.C:
8755         * text3.C: remove useless row->height(0)
8756
8757 2003-03-25  John Levon  <levon@movementarian.org>
8758
8759         * lyxtext.h:
8760         * text2.C:
8761         * text3.C: rename the refreshing stuff to better names
8762
8763 2003-03-24  John Levon  <levon@movementarian.org>
8764
8765         * BufferView_pimpl.h:
8766         * BufferView_pimpl.C: update layout choice on a mouse
8767         press/release
8768
8769 2003-03-23  John Levon  <levon@movementarian.org>
8770
8771         * Makefile.am: fix commandtags.h reference
8772
8773 2003-03-22  John Levon  <levon@movementarian.org>
8774
8775         * BufferView_pimpl.C:
8776         * lyxtext.h:
8777         * rowpainter.C:
8778         * rowpainter.h:
8779         * text.C:
8780         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8781
8782 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8783
8784         * lyxtext.h:
8785         * text.C: take the rtl methods out of line
8786
8787 2003-03-21 André Pönitz <poenitz@gmx.net>
8788
8789         * metricsinfo.[Ch]: new files containing structures to be passed around
8790         during the two-phase-drawing...
8791
8792 2003-03-21 André Pönitz <poenitz@gmx.net>
8793
8794         * lyxtextclass.C: read 'environment' tag.
8795
8796 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8797
8798         * text2.C (removeRow): fix bug 964
8799
8800 2003-03-20  John Levon  <levon@movementarian.org>
8801
8802         * rowpainter.C:
8803         * text.C:
8804         * text2.C: paint cleanups. Inset::update() dropped font
8805         parameter
8806
8807 2003-03-19  John Levon  <levon@movementarian.org>
8808
8809         * lyxfunc.C: only fitcursor/markDirty if available()
8810
8811 2003-03-19  John Levon  <levon@movementarian.org>
8812
8813         * commandtags.h: rename to ...
8814
8815         * lfuns.h: ... this, and renumber / cleanup
8816
8817 2003-03-19  John Levon  <levon@movementarian.org>
8818
8819         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8820         fit the cursor after an lfun
8821
8822         * BufferView.h:
8823         * BufferView.C:
8824         * BufferView_pimpl.h:
8825         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8826
8827         * LyXAction.C: layout-character should have ReadOnly
8828
8829         * ParagraphParameters.C:
8830         * buffer.C:
8831         * bufferview_funcs.C:
8832         * lyx_cb.C:
8833         * lyxfind.C:
8834         * lyxtext.h:
8835         * text.C:
8836         * text2.C:
8837         * text3.C:
8838         * undo_funcs.C: changes from above
8839
8840 2003-03-18  John Levon  <levon@movementarian.org>
8841
8842         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8843         remove it from update()
8844
8845         * lyxfunc.C: update layout choice after an lfun
8846
8847         * text3.C: remove extra updateLayoutChoice()s
8848
8849 2003-03-18  John Levon  <levon@movementarian.org>
8850
8851         * text.C: top_y change means full repaint, fix
8852         a drawing bug with cursor movement
8853
8854 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8855
8856         * lyxtext.h:
8857         * text.C:
8858         * text2.C: anchor row on setCursor
8859
8860 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8861
8862         * lyxtext.h: remove almost all mutable keywords
8863         * text.C:
8864         * text2.C:
8865         * text3.C: remove const keywords accordingly
8866
8867 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8868
8869         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8870         anon namespace
8871         (TeXEnvironment): ditto
8872         (TeXOnePar): ditto
8873
8874 2003-03-17  John Levon  <levon@movementarian.org>
8875
8876         * text.C (rowBreakPoint): remove attempt to fix displayed
8877         math insets inside a manual label
8878
8879 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8880
8881         * lyxtext.h: remove BufferView* as first arg from almost all class
8882         functions.
8883         * other files: adjust.
8884
8885 2003-03-17  John Levon  <levon@movementarian.org>
8886
8887         * lyxtext.h:
8888         * undo_funcs.C:
8889         * text2.C: more paint cleanups
8890
8891         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8892
8893         * rowpainter.h:
8894         * rowpainter.C: remove "smart" background painting code
8895
8896 2003-03-16  John Levon  <levon@movementarian.org>
8897
8898         * lyxtext.h:
8899         * text.C:
8900         * text2.C:
8901         * text3.C: add helper functions for setting refresh_row/y
8902
8903 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8904
8905         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8906         newline inset which *can* get inserted in the pass_thru layouts.
8907         This is primarily for literate documents.
8908
8909 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8910
8911         * buffer.C: increment LYX_FORMAT to 223
8912
8913 2003-03-14 André Pönitz <poenitz@gmx.net>
8914
8915         * textclass.h: prepare for environment handling, ws changes
8916         * lyxlayout.C: read latexheader and latexfooter tags
8917
8918 2003-03-14  John Levon  <levon@movementarian.org>
8919
8920         * text2.C: rewrite ::status() a bit
8921
8922 2003-03-13  John Levon  <levon@movementarian.org>
8923
8924         * lyxtext.h: add some docs
8925
8926 2003-03-13  John Levon  <levon@movementarian.org>
8927
8928         * lyxtext.h:
8929         * text.C:
8930         * text2.C:
8931         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8932
8933 2003-03-13  John Levon  <levon@movementarian.org>
8934
8935         * text3.C: fix appendix redrawing
8936
8937 2003-03-13  John Levon  <levon@movementarian.org>
8938
8939         * text.C (setHeightOfRow):
8940         * rowpainter.h:
8941         * rowpainter.C: make appendix mark have the text
8942           "Appendix" so the user knows what it is
8943
8944         * LColor.h:
8945         * LColor.C: s/appendixline/appendix/ from above
8946
8947 2003-03-13  John Levon  <levon@movementarian.org>
8948
8949         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8950
8951         * text.C: fix a getChar(pos) bug properly
8952
8953 2003-03-13  Angus Leeming  <leeming@lyx.org>
8954
8955         * commandtags.h:
8956         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8957         Probably only temporary. Let's see how things pan out.
8958
8959         * BufferView.C (unlockInset):
8960         * BufferView_pimpl.C (fitCursor):
8961         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8962
8963         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8964         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8965
8966         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8967         new functions that convert ParagraphParameters to and from a string.
8968
8969         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8970         BufferView::Pimpl's dispatch.
8971         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8972
8973 2003-03-13 André Pönitz <poenitz@gmx.net>
8974
8975         * lyxfunc.C:
8976         * text3.C:
8977         * factory.C: make it aware of InsetEnv
8978
8979 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8980
8981         * text2.C (setCursor): never ask for one past last
8982         (setCursor): add some debugging messages.
8983
8984         * text.C (singleWidth): never ask for one past last
8985         (singleWidth): ditto
8986         (leftMargin): ditto
8987         (rightMargin): ditto
8988         (rowBreakPoint): ditto
8989         (setHeightOfRow): ditto
8990         (prepareToPrint): ditto
8991
8992         * rowpainter.C (paintBackground): never ask for one past last
8993         (paintText): never ask for one past last
8994
8995         * paragraph_pimpl.C (getChar): make the assert stricter, never
8996         allow the one past last pos to be taken
8997
8998         * paragraph.C (getChar): ws changes only
8999
9000         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9001         (numberOfSeparators): ditto
9002         (numberOfHfills): ditto
9003
9004 2003-03-12  John Levon  <levon@movementarian.org>
9005
9006         * author.h:
9007         * author.C:
9008         * bufferparams.h:
9009         * bufferparams.C:
9010         * paragraph_funcs.C: fix per-buffer authorlists
9011
9012 2003-03-12  John Levon  <levon@movementarian.org>
9013
9014         * text.C: fix newline in right address
9015
9016 2003-03-12  Angus Leeming  <leeming@lyx.org>
9017
9018         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9019         duplicate those in LyXFunc::dispatch.
9020
9021         * commandtags.h:
9022         * LyXAction.C:
9023         * ToolbarDefaults.C:
9024         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9025         Add LFUN_FONTFREE_UPDATE.
9026
9027         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9028         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9029
9030         * bufferview_func.[Ch]: several new functions to facilliate
9031         transfer of data to and from the character dialog.
9032
9033 2003-03-12  John Levon  <levon@movementarian.org>
9034
9035         * buffer.C:
9036         * paragraph.h:
9037         * paragraph.C:
9038         * paragraph_funcs.C:
9039         * paragraph_pimpl.C:
9040         * sgml.C:
9041         * tabular.C:
9042         * text.C:
9043         * text3.C: remove META_NEWLINE in favour of an inset
9044
9045         * rowpainter.h:
9046         * rowpainter.C: remove paintNewline (done by inset)
9047
9048 2003-03-12  John Levon  <levon@movementarian.org>
9049
9050         * paragraph_pimpl.C: complain about bad getChar()s
9051         for a while at least
9052
9053 2003-03-12  John Levon  <levon@movementarian.org>
9054
9055         * buffer.h:
9056         * buffer.C: move paragraph read into a separate function,
9057         a little renaming to reflect that.
9058
9059         * bufferparams.h:
9060         * bufferparams.C: remove the author_ids map, not necessary now
9061
9062         * factory.h:
9063         * factory.C: moved Buffer::readInset to here
9064
9065         * paragraph_funcs.h:
9066         * paragraph_funcs.C: readParagraph free function moved from
9067         buffer.C
9068
9069         * tabular.C: name change
9070
9071 2003-03-12  John Levon  <levon@movementarian.org>
9072
9073         * buffer.C:
9074         * ParagraphParameters.C: move par params input to
9075         a read() method
9076
9077         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9078         behave like a normal read from the stream wrt reading
9079         a line vs. a \\token
9080
9081 2003-03-12  John Levon  <levon@movementarian.org>
9082
9083         * paragraph.C:
9084         * ParagraphParameters.h:
9085         * ParagraphParameters.C: move output code to a
9086         ::write() method
9087
9088 2003-03-12  John Levon  <levon@movementarian.org>
9089
9090         * BufferView.C (insertLyXFile):
9091         * buffer.h:
9092         * buffer.C:
9093         * tabular.C: use a parlist iterator for creating the
9094           document.
9095
9096 2003-03-12  John Levon  <levon@movementarian.org>
9097
9098         * buffer.C: make current_change static local not
9099           static file-scope
9100
9101 2003-03-12  John Levon  <levon@movementarian.org>
9102
9103         * buffer.C: fix insertStringAsLines for change tracking
9104
9105 2003-03-12  John Levon  <levon@movementarian.org>
9106
9107         * BufferView.C:
9108         * tabular.C:
9109         * buffer.h:
9110         * buffer.C:
9111         * bufferparams.h:
9112         * bufferparams.C: move author list into params. Rename some
9113           functions. Move the header reading into a separate token
9114           loop. Move the header token reading into BufferParams.
9115
9116 2003-03-12  John Levon  <levon@movementarian.org>
9117
9118         * changes.C: put debug inside lyxerr.debugging() checks
9119
9120 2003-03-11 André Pönitz <poenitz@gmx.net>
9121
9122         * factory.C: make it aware of InsetHFill
9123
9124 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9125
9126         * buffer.C (latexParagraphs): move function from here...
9127         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9128         args.
9129
9130 2003-03-10  Angus Leeming  <leeming@lyx.org>
9131
9132         * LyXAction.C (init): fix bug in poplating array with multiple entries
9133         with the same LFUN (spotted by JMarc).
9134
9135 2003-03-10  John Levon  <levon@movementarian.org>
9136
9137         * text.C:
9138         * text2.C: move getColumnNearX() near its
9139         only call site
9140
9141 2003-03-10  John Levon  <levon@movementarian.org>
9142
9143         * text.C: fix break before a minipage
9144
9145 2003-03-10  John Levon  <levon@movementarian.org>
9146
9147         * text.C: fix the last commit
9148
9149 2003-03-09  John Levon  <levon@movementarian.org>
9150
9151         * lyxtext.h:
9152         * text.C:
9153         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9154         bug 365 (don't break before insets unless needed). Don't
9155         return a value > last under any circumstances.
9156
9157 2003-03-09  Angus Leeming  <leeming@lyx.org>
9158
9159         * BufferView_pimpl.C (trackChanges, dispatch): call
9160         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9161
9162 2003-03-09  Angus Leeming  <leeming@lyx.org>
9163
9164         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9165         than Dialogs::showAboutlyx().
9166
9167 2003-03-09  Angus Leeming  <leeming@lyx.org>
9168
9169         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9170         than Dialogs::showTabularCreate().
9171
9172 2003-03-09  John Levon  <levon@movementarian.org>
9173
9174         * lyxtext.h:
9175         * text.C:
9176         * text2.C: 3rd arg to nextBreakPoint was always the same.
9177           Use references.
9178
9179 2003-03-08  John Levon  <levon@movementarian.org>
9180
9181         * lyxrow.C:
9182         * paragraph.C:
9183         * paragraph.h:
9184         * rowpainter.C:
9185         * text.C:
9186         * text2.C: Remove the "main" bit from the "main body"
9187           notion.
9188
9189 2003-03-08  John Levon  <levon@movementarian.org>
9190
9191         * text.C (leftMargin): The left margin of an empty
9192         manual label paragraph should not include the label width
9193         string length.
9194
9195         * text.C (prepareToPrint): don't attempt to measure hfills
9196         for empty manual label paragraphs - the answer should be 0
9197
9198 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9199
9200         * CutAndPaste.C: remove commented code and reindent.
9201
9202 2003-03-08  John Levon  <levon@movementarian.org>
9203
9204         * lyxfunc.h:
9205         * lyxfunc.C: move reloadBuffer()
9206
9207         * BufferView.h:
9208         * BufferView.C: to here
9209
9210         * lyxvc.C: add comment
9211
9212         * vc-backend.h:
9213         * vc-backend.C: call bv->reload() to avoid
9214           getStatus() check on MENURELOAD
9215
9216 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9217
9218         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9219         to an old format .dep file.
9220
9221 2003-03-07  Angus Leeming  <leeming@lyx.org>
9222
9223         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9224         when the LFUN_MOUSE_RELEASE should have been handled by
9225         inset->localDispatch.
9226
9227 2003-03-07  Angus Leeming  <leeming@lyx.org>
9228
9229         * BufferView_pimpl.C (dispatch):
9230         * LyXAction.C (init):
9231         * ToolbarDefaults.C (init):
9232         * commandtags.h:
9233         * lyxfunc.C (getStatus):
9234         remove LFUN_INSET_GRAPHICS.
9235
9236         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9237
9238 2003-03-07  Angus Leeming  <leeming@lyx.org>
9239
9240         * commandtags.h:
9241         * LyXAction.C (init):
9242         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9243
9244         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9245
9246         * commandtags.h:
9247         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9248
9249         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9250         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9251
9252 2003-03-07  Angus Leeming  <leeming@lyx.org>
9253
9254         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9255         remove "ert".
9256
9257 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9258
9259         * ParagraphList.C (front): new function
9260         (back): implement
9261
9262 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9263
9264         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9265         and top_row_offset_. removed var first_y.
9266         * text.C (top_y):
9267         * text2.C (LyXText, removeRow):
9268         * text3.C:
9269         * BufferView_pimpl.C:
9270         use these methods instead of using first_y
9271
9272 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9273
9274         * text2.C (pasteSelection): adjust for checkPastePossible
9275
9276         * CutAndPaste.C: remove Paragraph * buf and replace with
9277         ParagraphList paragraphs.
9278         (DeleteBuffer): delete
9279         (cutSelection): change the tc type to textclass_type
9280         (copySelection): change the tc type to textclass_type
9281         (copySelection): adjust for ParagraphList
9282         (pasteSelection): change the tc type to textclass_type
9283         (pasteSelection): adjust for Paragraphlist
9284         (nrOfParagraphs): simplify for ParagraphList
9285         (checkPastePossible): simplify for ParagraphList
9286         (checkPastePossible): remove unused arg
9287
9288         * ParagraphList.C (insert): handle the case where there are no
9289         paragraphs yet.
9290
9291         * CutAndPaste.h: make CutAndPaste a namespace.
9292
9293         * text3.C (dispatch): adjust
9294
9295         * text.C (breakParagraph): add a ParagraphList as arg
9296
9297         * paragraph_funcs.C (breakParagraph): change to take a
9298         BufferParams and a ParagraphList as args.
9299         (breakParagraphConservative): ditto
9300         (mergeParagraph): ditto
9301         (TeXDeeper): add a ParagraphList arg
9302         (TeXEnvironment): ditto
9303         (TeXOnePar): ditto
9304
9305         * buffer.C (readLyXformat2): adjust
9306         (insertStringAsLines): adjust
9307         (latexParagraphs): adjust
9308
9309         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9310         (cutSelection): adjust
9311         (pasteSelection): adjust
9312
9313         * BufferView_pimpl.C (insertInset): adjust
9314
9315 2003-03-05  Angus Leeming  <leeming@lyx.org>
9316
9317         * commandtags.h:
9318         * LyXAction.C (init):
9319         * BufferView_pimpl.C (dispatch):
9320         * lyxfunc.C (getStatus):
9321         remove LFUN_CHILD_INSERT.
9322
9323         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9324
9325 2003-03-05  Angus Leeming  <leeming@lyx.org>
9326
9327         * commandtags.h:
9328         * LyXAction.C (init):
9329         * src/factory.C (createInset):
9330         * lyxfunc.C (getStatus):
9331         * text3.C (dispatch):
9332         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9333
9334         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9335
9336 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9337
9338         * ParagraphList.C (insert): handle insert right before end()
9339         (erase): fix cases where it can be first or last paragraph.
9340
9341 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9342
9343         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9344         Paragraph::next and Paragraph::previous
9345         (TeXOnePar): ditto
9346
9347         * text.C (breakParagraph): adjust
9348
9349         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9350         BufferParams& as arg.
9351         (breakParagraph): use ParagraphList::insert
9352         (breakParagraphConservative): take a Buffer* instead of a
9353         BufferParams& as arg.
9354         (breakParagraphConservative): use ParagraphList::insert.
9355
9356         * buffer.C (insertStringAsLines): un-const it
9357         (insertStringAsLines): adjust
9358
9359         * ParagraphList.C (insert): new function
9360
9361         * CutAndPaste.C (pasteSelection): adjust
9362
9363         * text.C (backspace): adjust
9364
9365         * tabular.C (SetMultiColumn): adjust
9366
9367         * CutAndPaste.C (cutSelection): adjust
9368         (pasteSelection): adjust
9369
9370         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9371         Buffer const * as arg
9372
9373         * ParagraphList.C (erase): new function
9374         * paragraph_funcs.C (mergeParagraph): use it
9375         (mergeParagraph): make it take a Buffer* instead of a
9376         BufferParams* as arg
9377
9378         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9379         as arg
9380         (breakParagraphConservative): ditto
9381
9382         * paragraph.h: remove the breakParagraph friend
9383
9384         * paragraph.C (eraseIntern): new function
9385         (setChange): new function
9386
9387         * paragraph_funcs.C (mergeParagraph): make it take a
9388         ParagraphList::iterator instead of a Paragraph *, adjust
9389         accordingly.
9390
9391         * paragraph.h: move an #endif so that the change tracking stuff
9392         also works in the NO_NEXT case.
9393
9394 2003-03-04  Angus Leeming  <leeming@lyx.org>
9395
9396         * commandtags.h:
9397         * LyXAction.C: new LFUN_INSET_MODIFY.
9398
9399         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9400         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9401
9402 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9403
9404         * several files: ws changes only
9405
9406         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9407         (TeXEnvironment): ditto
9408         (TeXDeeper): ditto
9409
9410         * buffer.C (makeLaTeXFile): adjust
9411         (latexParagraphs): make it take ParagraphList::iterator as args
9412
9413 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9414
9415         * buffer.C (latexParagraphs): adjust
9416
9417         * paragraph.C (TeXOnePar): move function...
9418         (optArgInset): move function...
9419         (TeXEnvironment): move function...
9420         * paragraph_pimpl.C (TeXDeeper): move function...
9421         * paragraph_funcs.C: ...here
9422
9423         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9424
9425 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9426
9427         * buffer.C (readInset): remove compability code for old Figure and
9428         InsetInfo insets
9429
9430 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9431
9432         * buffer.C: ws changes
9433         (readInset):
9434
9435         * BufferView_pimpl.C: ditto
9436         * author.C: ditto
9437         * buffer.h: ditto
9438         * bufferlist.h: ditto
9439         * changes.h: ditto
9440         * lyxfunc.C: ditto
9441
9442 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9443
9444         * converter.[Ch]: split into itself +
9445         * graph.[Ch]
9446         * format.[Ch]
9447         * Makefile.am: += graph.[Ch] + format.[Ch]
9448         * MenuBackend.C
9449         * buffer.C
9450         * exporter.C
9451         * importer.C
9452         * lyx_main.C
9453         * lyxfunc.C
9454         * lyxrc.C: added #include "format.h"
9455
9456 2003-02-27  Angus Leeming  <leeming@lyx.org>
9457
9458         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9459           a label.
9460
9461         * factory.C (createInset): add "label" to the factory.
9462
9463         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9464           string and do no more.
9465
9466 2003-02-27  Angus Leeming  <leeming@lyx.org>
9467
9468         * commandtags.h:
9469         * LyXAction.C (init):
9470         * factory.C (createInset):
9471         * BufferView_pimpl.C (dispatch):
9472           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9473
9474         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9475
9476         * lyxfunc.C (dispatch):
9477         * text3.C (dispatch): pass name to params2string.
9478
9479 2003-02-26  Angus Leeming  <leeming@lyx.org>
9480
9481         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9482           blocks together.
9483           Rearrange the ~includes. Strip out the unnecessary ones.
9484
9485         * factory.C (createInset): reformat.
9486           create new insets for the various LFUN_XYZ_APPLY lfuns.
9487
9488 2003-02-26  John Levon  <levon@movementarian.org>
9489
9490         * lyxrow.h:
9491         * lyxrow.C: add isParStart,isParEnd helpers
9492
9493         * paragraph.h: make isInserted/DeletedText take refs
9494
9495         * paragraph_funcs.h:
9496         * paragraph_funcs.C: remove #if 0'd code
9497
9498         * lyxtext.h:
9499         * text3.C:
9500         * text2.C:
9501         * text.C: use lyxrow helpers above.
9502           Move draw and paint routines to RowPainter.
9503           Make several methods use refs not pointers.
9504           Make backgroundColor() const.
9505           Add markChangeInDraw(), isInInset().
9506           Merge changeRegionCase into changeCase.
9507           Make workWidth() shouldn't-happen code into an Assert.
9508
9509         * rowpainter.h:
9510         * rowpainter.C: new class for painting a row.
9511
9512         * vspace.h:
9513         * vspace.C: make inPixels take a ref
9514
9515 2003-02-26  Angus Leeming  <leeming@lyx.org>
9516
9517         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9518         LFUN_REF_APPLY.
9519
9520 2003-02-25  John Levon  <levon@movementarian.org>
9521
9522         * ispell.C: give the forked command a more accurate name
9523
9524 2003-02-22  John Levon  <levon@movementarian.org>
9525
9526         * toc.h:
9527         * toc.C: make TocItem store an id not a Paragraph *
9528           (bug #913)
9529
9530 2003-02-21  Angus Leeming  <leeming@lyx.org>
9531
9532         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9533           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9534           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9535           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9536           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9537           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9538
9539         * BufferView_pimpl.C (dispatch):
9540         * LyXAction.C (init):
9541         * factory.C (createInset):
9542         * lyxfunc.C (getStatus, dispatch):
9543         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9544
9545 2003-02-21  Angus Leeming  <leeming@lyx.org>
9546
9547         * BufferView_pimpl.C (MenuInsertLyXFile):
9548         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9549         * lyxfunc.C (menuNew, open, doImport):
9550           no longer pass a LyXView & to fileDlg.
9551
9552 2003-02-21  Angus Leeming  <leeming@lyx.org>
9553
9554         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9555         * LyXAction.C: change, BIBKEY to BIBITEM.
9556         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9557         Change InsetBibKey to InsetBibitem.
9558         Change BIBKEY_CODE to BIBITEM_CODE.
9559         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9560         * factory.C: replace insetbib.h with insetbibitem.h.
9561         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9562         * paragraph.C: replace insetbib.h with insetbibitem.h.
9563         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9564         Change bibkey() to bibitem().
9565         * text.C: remove insetbib.h.
9566         * text2.C: replace insetbib.h with insetbibitem.h.
9567         change bibkey() to bibitem().
9568         * text3.C: remove insetbib.h.
9569         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9570
9571 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9572
9573         * lyxrc.C (output): enclose user email in quotes (in case there are
9574         several words)
9575
9576 2003-02-18  John Levon  <levon@movementarian.org>
9577
9578         * buffer.h: add std::
9579
9580 2003-02-17  John Levon  <levon@movementarian.org>
9581
9582         * SpellBase.h:
9583         * ispell.h:
9584         * ispell.C:
9585         * pspell.h:
9586         * pspell.C: reworking. Especially in ispell, a large
9587           number of clean ups and bug fixes.
9588
9589         * lyxfunc.C: fix revert to behave sensibly
9590
9591 2003-02-17 André Pönitz <poenitz@gmx.net>
9592
9593         * LyXAction.C:
9594         * commandtags.h: new LFUN_INSERT_BIBKEY
9595
9596         * layout.h:
9597         * lyxlayout.C:
9598         * buffer.C:
9599         * factory.C:
9600         * text.C:
9601         * text2.C:
9602         * text3.C:
9603         * paragraph.[Ch]:
9604         * paragraph_func.C: remove special bibkey handling
9605
9606 2003-02-17  John Levon  <levon@movementarian.org>
9607
9608         * text.C (Delete): fix case where delete at the end of
9609           the very first paragraph would not merge the pars
9610
9611 2003-02-17  John Levon  <levon@movementarian.org>
9612
9613         * lyxrow.C: fix lastPrintablePos()
9614
9615 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9616
9617         * bufferparams.C (writeLaTeX): add a std:here
9618
9619         * buffer.C: and remove a using directive there
9620
9621 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9622
9623         * buffer.C (makeLaTeXFile): move the code that generates the
9624           preamble...
9625
9626         * bufferparams.C (writeLaTeX): ... in this new method
9627
9628         * LaTeXFeatures.C (getEncodingSet): make const
9629           (getLanguages): make const
9630
9631         * MenuBackend.C (binding): returns the binding associated to this
9632           action
9633           (add): sets the status of each item by calling getStatus. Adds
9634           some intelligence.
9635           (read): add support for OptSubMenu
9636           (expand): remove extra separator at the end of expanded menu
9637
9638 2003-02-15  John Levon  <levon@movementarian.org>
9639
9640         * BufferView.C:
9641         * BufferView_pimpl.C:
9642         * bufferlist.h:
9643         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9644           inset code that had no actual effect. Remove unneeded status
9645           code.
9646
9647 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9648
9649         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9650           in preamble
9651
9652 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9653
9654         * text.C (drawLengthMarker): also draw an arrow marker for
9655           symbolic lengths (medskip...)
9656
9657 2003-02-14  John Levon  <levon@movementarian.org>
9658
9659         * tabular.h:
9660         * tabular.C: better method names
9661
9662 2003-02-14  John Levon  <levon@movementarian.org>
9663
9664         * BufferView_pimpl.C:
9665         * bufferlist.C:
9666         * buffer.C:
9667         * converter.C:
9668         * lyx_cb.C:
9669         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9670           it's a more accurate name. Remove some pointless uses.
9671
9672 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9673
9674         * text2.C (LyXText): change order of initilizers to shut off
9675           warnings
9676
9677 2003-02-14  John Levon  <levon@movementarian.org>
9678
9679         * buffer.C: use ParIterator for getParFromID()
9680
9681         * paragraph.h:
9682         * paragraph.C:
9683         * paragraph_pimpl.h:
9684         * paragraph_pimpl.C: remove unused getParFromID()
9685
9686 2003-02-14  John Levon  <levon@movementarian.org>
9687
9688         * buffer.C: remove some very old #if 0'd parse code
9689
9690 2003-02-13  John Levon  <levon@movementarian.org>
9691
9692         * text.h:
9693         * text.C:
9694         * text2.C: move hfillExpansion(), numberOfSeparators(),
9695           rowLast(), rowLastPrintable(), numberofHfills(),
9696           numberOfLabelHfills() ...
9697
9698         * lyxrow.h:
9699         * lyxrow.C: ... to member functions here.
9700
9701         * paragraph.h:
9702         * paragraph.C:
9703         * lyxtext.h:
9704         * text.C: remove LyXText::beginningOfMainBody(), and call
9705           p->beginningOfMainBody() directly. Move the check for
9706           LABEL_MANUAL into the latter.
9707
9708         * text.h:
9709         * text.C:
9710         * text2.C:
9711         * vspace.C:
9712         * BufferView.h:
9713         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9714
9715         * text.h:
9716         * text.C:
9717         * text2.C:
9718         * text3.C:
9719         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9720           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9721
9722 2003-02-13  John Levon  <levon@movementarian.org>
9723
9724         * CutAndPaste.C: remove debug
9725
9726 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9727
9728         * paragraph.C (asString): remove two unused variables
9729
9730         * lyxtextclass.C (readTitleType):
9731           (Read):
9732           (LyXTextClass): handle new members titletype_ and titlename_
9733
9734         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9735
9736 2003-02-09  John Levon  <levon@movementarian.org>
9737
9738         * buffer.h:
9739         * buffer.C: replace hand-coded list with a map for the dep clean
9740
9741 2003-02-08  John Levon  <levon@movementarian.org>
9742
9743         * LaTeX.C: consolidate code into showRunMessage() helper
9744
9745 2003-02-08  John Levon  <levon@movementarian.org>
9746
9747         * lyxfind.C:
9748         * lyxtext.h:
9749         * text2.C:
9750         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9751           and pass the size in explicitly
9752
9753         * BufferView_pimpl.h:
9754         * BufferView_pimpl.C:
9755         * BufferView.h:
9756         * BufferView.C: add getCurrentChange()
9757
9758         * BufferView_pimpl.h:
9759         * BufferView_pimpl.C: handle change lfuns
9760
9761         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9762           for changes. Mark pasted paragraphs as new.
9763
9764         * support/lyxtime.h:
9765         * support/lyxtime.C:
9766         * DepTable.C: abstract time_t as lyx::time_type
9767
9768         * LColor.h:
9769         * LColor.C: add colours for new text, deleted text, changebars
9770
9771         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9772           package use "usenames" option.
9773
9774         * commandtags.h:
9775         * lyxfunc.C:
9776         * LyXAction.C: add change lfuns
9777
9778         * Makefile.am:
9779         * author.h:
9780         * author.C: author handling
9781
9782         * buffer.h:
9783         * buffer.C: add a per-buffer author list, with first entry as
9784           current author. Handle new .lyx tokens for change tracking. Output
9785           author list to .lyx file. Output dvipost stuff to .tex preamble.
9786           Bump lyx format to 222.
9787
9788         * bufferlist.h:
9789         * bufferlist.C: add setCurrentAuthor() to reset current author details
9790           in all buffers.
9791
9792         * bufferparams.h:
9793         * bufferparams.C: add param for tracking
9794
9795         * bufferview_funcs.C: output change info in minibuffer
9796
9797         * Makefile.am:
9798         * changes.h:
9799         * changes.C: add change-tracking structure
9800
9801         * debug.h:
9802         * debug.C: add CHANGES debug flag
9803
9804         * lyxfind.h:
9805         * lyxfind.C: add code for finding the next change piece
9806
9807         * lyxrc.h:
9808         * lyxrc.C: add user_name and user_email
9809
9810         * lyxrow.h:
9811         * lyxrow.C: add a metric for the top of the text line
9812
9813         * lyxtext.h:
9814         * text.C: implement accept/rejectChange()
9815
9816         * lyxtext.h:
9817         * text.C: paint changebars. Paint new/deleted text in the chosen
9818         colours. Strike through deleted text.
9819
9820         * paragraph.h:
9821         * paragraph.C:
9822         * paragraph_pimpl.h:
9823         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9824           in the current change to the insert functions. Rework erase to
9825           mark text as deleted, adding an eraseIntern() and a range-based
9826           erase(). Implement per-paragraph change lookup and
9827           accept/reject.
9828
9829         * paragraph_funcs.C: Fixup paste for change tracking.
9830
9831         * tabular.C: mark added row/columns as new.
9832
9833         * text.C: fix rowLast() to never return -1. Don't allow
9834           spellchecking of deleted text. Track transpose changes. Don't
9835           allow paragraph break or merge where appropriate.
9836
9837         * text2.C: leave cursor at end of selection after a cut.
9838
9839 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9840
9841         * text.C (getLengthMarkerHeight):
9842         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9843         visible on screen too.
9844
9845 2003-02-07  John Levon  <levon@movementarian.org>
9846
9847         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9848
9849 2003-02-05  Angus Leeming  <leeming@lyx.org>
9850
9851         * lyxserver.C (read_ready): revert my patch of 11 September last year
9852         as it sends PC cpu through the roof. Presumably this means that
9853         the lyxserver will no longer run on an Alpha...
9854
9855 2003-01-30  Angus Leeming  <leeming@lyx.org>
9856
9857         * factory.C (createInset): create an InsetCommandParam of type "index"
9858         and use it to 'do the right thing'.
9859
9860         * text2.C (getStringToIndex): ensure that cursor position is always
9861         reset to the reset_cursor position.
9862
9863 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9864
9865         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9866         disabled.
9867
9868 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9869
9870         * bufferview.C:
9871         * lyxcb.C:
9872         * lyxfunc.C: Output messages with identical spelling, punctuation,
9873         and spaces
9874
9875 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9876
9877         * MenuBackend.C (expandFormats): List only viewable export formats
9878         in "View" menu
9879
9880         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9881         message
9882
9883         * lyxfunc.C (getStatus): Make sure that formats other than
9884         "fax" can also be disabled
9885
9886 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9887
9888         * text3.C (dispatch): put the lfuns that insert insets in 3
9889         groups, and call doInsertInset with appropriate arguments.
9890         (doInsertInset): new function, that creates an inset and inserts
9891         it according to some boolean parameters.
9892
9893 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9894
9895         * buffer.C (readFile): remember to pass on 'par' when calling
9896         readFile recursively.
9897
9898 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9899
9900         * MenuBackend.C (expandFormats): add "..." to import formats.
9901
9902 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9903
9904         * paragraph.C (asString): Remove XForms RTL hacks.
9905
9906 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9907         * buffer.C: fix typo
9908
9909 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9910
9911         * Makefile.am (LIBS): delete var
9912         (lyx_LDADD): add @LIBS@ here instead.
9913
9914 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9915
9916         * Clarify the meaning of "wheel mouse jump"
9917
9918 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9919
9920         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9921         tabular in a float
9922
9923 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9924
9925         * importer.C (Loaders): do not preallocate 3 elements in the
9926         vector, since one ends up with 6 elements otherwise
9927
9928 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9929
9930         * DepTable.C (write): write the file name as last element of the
9931         .dep file (because it may contain spaces)
9932         (read): read info in the right order
9933
9934 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9935
9936         * paragraph_pimpl.C (simpleTeXBlanks):
9937         (simpleTeXSpecialChars):
9938         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9939
9940         * tabular.C (latex): add some missing case statements. Reindent.
9941
9942         * MenuBackend.C (expandToc): remove unused variable.
9943
9944 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9945
9946         * LColor.C:
9947         * LaTeX.C:
9948         * LyXAction.C:
9949         * MenuBackend.C:
9950         * buffer.C:
9951         * exporter.C:
9952         * lyxfunc.C:
9953         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9954         and the like.
9955
9956 2003-01-05  John Levon  <levon@movementarian.org>
9957
9958         * BufferView.h:
9959         * BufferView.C: add getEncoding()
9960
9961         * kbsequence.h:
9962         * kbsequence.C: do not store last keypress
9963
9964         * lyxfunc.h:
9965         * lyxfunc.C: store last keypress here instead. Pass encoding
9966           to getISOEncoded()
9967
9968 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9969
9970         * lyx_main.C (init): remove annoying error message when following
9971         symbolic links (bug #780)
9972
9973 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9974
9975         * text.C (insertChar):
9976         * lyxrc.C (getDescription): remove extra spaces
9977
9978 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9979
9980         * lyxrc.C (getDescription): remove extra spaces
9981
9982 2002-12-20  John Levon  <levon@movementarian.org>
9983
9984         * text3.C: hack fix for page up/down across tall rows
9985
9986 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9987
9988         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9989         not been invoked
9990
9991 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9992
9993         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9994         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9995         thesaurus is not compiled in
9996
9997 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9998
9999         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10000
10001 2002-12-16  Angus Leeming  <leeming@lyx.org>
10002
10003         * lyxrc.[Ch]:
10004         * lyx_main.C (init): remove override_x_deadkeys stuff.
10005
10006 2002-12-12  John Levon  <levon@movementarian.org>
10007
10008         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10009           insert. Only remove shift modifier under strict
10010           circumstances.
10011
10012 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10013
10014         * MenuBackend.C (expandToc): fix crash.
10015
10016 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10017
10018         * MenuBackend.C (expandToc): gettext on float names.
10019
10020 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10021
10022         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10023         implement bool empty() [bug 490]
10024
10025 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10026
10027         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10028
10029 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10030
10031         * several files: ws changes
10032
10033 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10034
10035         * text2.C (setCounter): clean up a bit, use boost.format.
10036         (updateCounters): initialize par upon declaration.
10037
10038         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10039         if the layout exists. We do not just store the layout any more.
10040         (SwitchLayoutsBetweenClasses): use boost.format
10041
10042 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10043
10044         * converter.C (convert): if from and to files are the same, use a
10045         temporary files as intermediary
10046
10047 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10048
10049         * commandtags.h:
10050         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10051
10052 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10053
10054         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10055
10056 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10057
10058         * tabular.C (asciiPrintCell): use string(size, char) instead of
10059         explicit loop.
10060
10061         * sgml.C (openTag): fix order of arguments to string constructor
10062         (closeTag): ditto
10063
10064         * lyxfunc.C (dispatch): use boost.format
10065
10066         * lots of files: change "c" -> 'c'
10067
10068 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10069
10070         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10071
10072 2002-11-25  Angus Leeming  <leeming@lyx.org>
10073
10074         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10075
10076         * lyx_main.C (init): compile fix.
10077
10078 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10079
10080         * lyx_cb.C (start): boost.formatify
10081         do not include <iostream>
10082
10083         * lengthcommon.C: ws only
10084
10085         * boost-inst.C,BoostFormat.h: add more explict instantations
10086
10087 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10088
10089         * lots of files: handle USE_BOOST_FORMAT
10090
10091 2002-11-21  John Levon  <levon@movementarian.org>
10092
10093         * pspell.C: fix compile
10094
10095 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10096
10097         * lyxfunc.C (dispatch): use boost::format
10098         (open): ditto
10099         (doImport): ditto
10100
10101         * lyxfont.C (stateText): use boost::format
10102
10103         * lyx_main.C (LyX): use boost::format
10104         (init): ditto
10105         (queryUserLyXDir): ditto
10106         (readRcFile): ditto
10107         (parse_dbg): ditto
10108         (typedef boost::function): use the recommened syntax.
10109
10110         * importer.C (Import): use boost::format
10111
10112         * debug.C (showLevel): use boost::format
10113
10114         * converter.C (view): use boost::format
10115         (convert): ditto
10116         (move): ditto
10117         (scanLog): ditto
10118
10119         * bufferview_funcs.C (currentState): use boost::format
10120
10121         * bufferlist.C (emergencyWrite): use boost::format
10122
10123         * buffer.C (readLyXformat2): use boost::format
10124         (parseSingleLyXformat2Token): ditto
10125
10126         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10127
10128         * LaTeX.C (run): use boost::format
10129
10130         * Chktex.C (scanLogFile): use boost::format
10131
10132         * BufferView_pimpl.C (savePosition): use boost::format
10133         (restorePosition): ditto
10134         (MenuInsertLyXFile): ditto
10135
10136         * BoostFormat.h: help file for explicit instation.
10137
10138 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10139
10140         * tabular.C (latex): Support for block alignment in fixed width
10141         columns.
10142
10143 2002-11-17  John Levon  <levon@movementarian.org>
10144
10145         * BufferView_pimpl.C:
10146         * lyx_cb.C:
10147         * lyxfunc.C: split filedialog into open/save
10148
10149 2002-11-08  Juergen Vigna  <jug@sad.it>
10150
10151         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10152         by my last patch (hopefully).
10153
10154 2002-11-08  John Levon  <levon@movementarian.org>
10155
10156         * iterators.h:
10157         * iterators.C:
10158         * buffer.h:
10159         * buffer.C:
10160         * paragraph.h:
10161         * paragraph.C:
10162         * toc.h:
10163         * toc.C: ParConstIterator, and use it (from Lars)
10164
10165 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10166
10167         * lyxtextclass.[Ch]: revise and add doxygen comments
10168
10169 2002-11-07  John Levon  <levon@movementarian.org>
10170
10171         * text.C: fix progress value for spellchecker
10172
10173         * toc.C: fix navigate menu for insetwrap inside minipage
10174
10175         * paragraph_funcs.C: added FIXME for suspect code
10176
10177 2002-11-07  John Levon  <levon@movementarian.org>
10178
10179         * BufferView_pimpl.C: fix redrawing of insets
10180           on buffer switch
10181
10182 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10183
10184         * text2.C (updateCounters): fix bug 668
10185
10186 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10187
10188         * text3.C (dispatch): Do not make the buffer dirty when moving the
10189         cursor.
10190
10191 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10192
10193         * vc-backend.C: STRCONV
10194         (scanMaster): ditto
10195
10196         * text2.C (setCounter): STRCONV
10197
10198         * paragraph.C (asString): STRCONV
10199
10200         * lyxlength.C (asString): STRCONV
10201         (asLatexString): ditto
10202
10203         * lyxgluelength.C (asString): STRCONV
10204         (asLatexString): ditto
10205
10206         * lyxfunc.C (dispatch): STRCONV
10207         (open): ditto
10208
10209         * lyxfont.C (stateText): STRCONV
10210
10211         * importer.C (Import): STRCONV
10212
10213         * counters.C (labelItem): STRCONV
10214         (numberLabel): ditto
10215         (numberLabel): remove unused ostringstream o
10216
10217         * chset.C: STRCONV
10218         (loadFile): ditto
10219
10220         * bufferview_funcs.C (currentState): STRCONV
10221
10222         * buffer.C (readFile): STRCONV
10223         (asciiParagraph): ditto
10224         (makeLaTeXFile): ditto
10225
10226         * Spacing.C (writeEnvirBegin): STRCONV
10227
10228         * LaTeXFeatures.C (getLanguages): STRCONV
10229         (getPackages): ditto
10230         (getMacros): ditto
10231         (getBabelOptions): ditto
10232         (getTClassPreamble): ditto
10233         (getLyXSGMLEntities): ditto
10234         (getIncludedFiles): ditto
10235
10236         * LaTeX.C: STRCONV
10237         (run): ditto
10238         (scanAuxFile): ditto
10239         (deplog): ditto
10240
10241         * LString.h: add the STRCONV macros
10242
10243         * BufferView_pimpl.C (savePosition): STRCONV
10244         (restorePosition): ditto
10245         (MenuInsertLyXFile): ditto
10246
10247         * vc-backend.C (scanMaster): change from submatch[...] to
10248         submatch.str(...)
10249
10250         * funcrequest.C: include config.h
10251
10252         * factory.C: include config.h
10253
10254         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10255
10256         * box.C: include config.h
10257
10258         * LaTeX.C (scanAuxFile): change from submatch[...] to
10259         submatch.str(...)
10260         (deplog): ditto
10261
10262 2002-10-25  Angus Leeming  <leeming@lyx.org>
10263
10264         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10265
10266         * ispell.[Ch] (setError): new method.
10267         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10268         Use setError() insetead of goto END.
10269
10270         * lyx_cb.C (AutoSave): move out child process into new class
10271         AutoSaveBuffer.
10272
10273 2002-10-30  John Levon  <levon@movementarian.org>
10274
10275         * text3.C: make start appendix undoable
10276
10277 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10278
10279         * lyxlength.C (inPixels): Fix returned value.
10280
10281         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10282         environment.
10283
10284 2002-10-24  Angus Leeming  <leeming@lyx.org>
10285
10286         * lyxgluelength.h: no need to forward declare BufferParams
10287         or BufferView, so don't.
10288
10289 2002-10-21  John Levon  <levon@movementarian.org>
10290
10291         * BufferView.C: menuUndo ->undo, redo
10292
10293         * BufferView.h: document, remove dead, make some methods private
10294
10295         * paragraph_funcs.h:
10296         * paragraph_funcs.C:
10297         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10298
10299         * buffer.h:
10300         * buffer.C:
10301         * sgml.h:
10302         * sgml.C: move sgml open/close tag into sgml.C
10303
10304         * bufferview_funcs.h: unused prototype
10305
10306         * lyxfunc.h:
10307         * lyxfunc.C: remove unused
10308
10309         * lyxtext.h:
10310         * text.C: remove unused
10311
10312 2002-10-21  John Levon  <levon@movementarian.org>
10313
10314         * BufferView.h:
10315         * BufferView.C:
10316         * BufferView_pimpl.h:
10317         * BufferView_pimpl.C: fix mouse wheel handling based on
10318           patch from Darren Freeman
10319
10320 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10321
10322         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10323
10324 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10325
10326         * lyxlength.C (inPixels): Fix hanfling of negative length.
10327         Fix LyXLength::MU case.
10328
10329 2002-10-16  John Levon  <levon@movementarian.org>
10330
10331         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10332
10333 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10334
10335         * converter.C (view): add support for $$i (file name) and $$p
10336         (file path) for the viewer command. If $$i is not specified, then
10337         it is appended to the command (for compatibility with old syntax)
10338
10339 2002-10-14  Juergen Vigna  <jug@sad.it>
10340
10341         * undo_funcs.C (textHandleUndo): alter the order in which the
10342         new undopar is added to the LyXText, as we have to set first
10343         the right prev/next and then add it as otherwise the rebuild of
10344         LyXText is not correct. Also reset the cursor to the right paragraph,
10345         with this IMO we could remove the hack in "redoParagraphs()".
10346
10347 2002-10-09  Angus Leeming  <leeming@lyx.org>
10348
10349         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10350         to turn off an optimisation if a new inset is to be inserted.
10351
10352 2002-10-11 André Pönitz <poenitz@gmx.net>
10353
10354         * lyxtext.h: make some functions public to allow access
10355         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10356
10357 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10358
10359         * text3.C (dispatch): when changing layout, avoid an infinite loop
10360         [bug #652]
10361
10362 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10363
10364         * lyxrc.C (read): treat a viewer or converter command of "none" as
10365         if it were empty.
10366
10367         * MenuBackend.C (expandFormats): for an update, also allow the
10368         formats that are not viewable
10369
10370         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10371         script if it is newer than the lyxrc.defaults in user directory
10372
10373 2002-10-07 André Pönitz <poenitz@gmx.net>
10374
10375         * text.C: Vitaly Lipatov's small i18n fix
10376
10377 2002-09-25  Angus Leeming  <leeming@lyx.org>
10378
10379         * ispell.h: doxygen fix.
10380
10381 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10382
10383         * buffer.h (readFile): Add a new argument to the method, to allow
10384         reading of old-format templates.
10385
10386 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10387
10388         * toc.C (getTocList): Get TOC from InsetWrap.
10389
10390 2002-09-16  John Levon  <levon@movementarian.org>
10391
10392         * lyxfunc.C: check tabular for cut/copy too
10393
10394 2002-09-12  John Levon  <levon@movementarian.org>
10395
10396         * LyXAction.C: tidy
10397
10398         * factory.h:
10399         * factory.C: add header
10400
10401         * paragraph_funcs.h:
10402         * paragraph_funcs.C: cleanup
10403
10404 2002-09-11  John Levon  <levon@movementarian.org>
10405
10406         * PrinterParams.h: odd/even default to true
10407
10408 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10409
10410         * PrinterParams.h: update printer parameters for new xforms dialog
10411
10412 2002-09-11  Angus Leeming  <leeming@lyx.org>
10413
10414         * lyxserver.C (read_ready): re-write to make it more transparent
10415         and to make it work in coherent fashion under Tru64 Unix.
10416
10417 2002-09-11  André Pönitz <poenitz@gmx.net>
10418
10419         * commandtags.h:
10420         * LyXAction.C:
10421         * text3.C: implement LFUN_WORDSEL
10422
10423 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10424
10425         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10426         make floatlist_ a boost::shared_ptr<FloatList>
10427
10428         * lyxtextclass.C: include FloatList.h
10429         (LyXTextClass): initialize floatlist_
10430         (TextClassTags): add TC_NOFLOAT
10431         (Read): match "nofloat" to TC_NOFLOAT and use it.
10432         (readFloat): modify call to floatlist_
10433         (floats): ditto
10434         (floats): ditto
10435
10436         * FloatList.[Ch] (FloatList): remove commented out float
10437         initialization.
10438         (erase): new function
10439
10440 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10441
10442         * MenuBackend.C (expandToc): fix crash when there is no document
10443         open
10444
10445 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10446
10447         * many files: Add insetwrap.
10448
10449 2002-09-09  John Levon  <levon@movementarian.org>
10450
10451         * text2.C: remove confusing and awkward depth wraparound
10452
10453 2002-09-09  John Levon  <levon@movementarian.org>
10454
10455         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10456
10457         * buffer.h:
10458         * buffer.C: remove getIncludeonlyList()
10459
10460         * paragraph.C:
10461         * lyxfunc.C: remove headers
10462
10463 2002-09-09  Juergen Vigna  <jug@sad.it>
10464
10465         * text.C (getColumnNearX): fix form Michael this is most
10466         probably a cut&paste bug.
10467
10468 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10469
10470         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10471
10472         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10473         references, ws changes.
10474
10475         * text2.C (init): update counters after init
10476         (insertParagraph): no need to set counter on idividual paragraphs.
10477         (setCounter): access the counters object in the textclass object
10478         on in the buffer object.
10479         (updateCounters): ditto
10480
10481         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10482         shared_ptr<Counters> to avoid loading counters.h in all
10483         compilation units.
10484         (LyXTextClass): initialize ctrs_
10485         (TextClassTags): add TC_COUNTER, and ...
10486         (Read): use it here.
10487         (CounterTags): new tags
10488         (readCounter): new function
10489         (counters): new funtion
10490         (defaultLayoutName): return a const reference
10491
10492         * counters.C (Counters): remove contructor
10493         (newCounter): remove a couple of unneeded statements.
10494         (newCounter): simplify a bit.
10495         (numberLabel): some small formatting changes.
10496
10497         * buffer.[Ch]: remove all traces of counters, move the Counters
10498         object to the LyXTextClass.
10499
10500 2002-09-06  Alain Castera  <castera@in2p3.fr>
10501
10502         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10503         package to set the horizontal alignment on fixed width columns.
10504
10505         * lyx_sty.C:
10506         * lyx_sty.h: added tabularnewline macro def.
10507
10508         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10509
10510 2002-09-06  John Levon  <levon@movementarian.org>
10511
10512         * LyXAction.C: tooltips for sub/superscript
10513
10514         * MenuBackend.C: a bit more verbose
10515
10516         * lyxfunc.C: tiny clean
10517
10518         * undo_funcs.C: document undo_frozen
10519
10520 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10521
10522         * counters.C (Counters): add missing algorithm counter.
10523
10524         * text2.C (setCounter): lookup the counter with layouts latexname
10525         instead of by section number.
10526         (setCounter): use a hackish way to lookup the correct enum
10527         counter.
10528         a float name->type change
10529         reset enum couners with counter name directly instead of depth value.
10530
10531         * counters.C (Counters): remove the push_backs, change to use the
10532         float type not the float name.
10533         (labelItem): remove unused string, float name->type change
10534
10535         * counters.h: don't include vector, loose the enums and sects vectors
10536
10537 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10538
10539         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10540         (Read): add float->TC_FLOAT to textclassTags
10541         (Read): and handle it in the switch
10542         (readFloat): new function
10543
10544         * FloatList.C (FloatList): comment out the hardcoded float
10545         definitions.
10546
10547         * lyxlayout.h: ws change.
10548
10549 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10550
10551         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10552
10553 2002-09-03  Angus Leeming  <leeming@lyx.org>
10554
10555         * BufferView_pimpl.h: qualified name is not allowed in member
10556         declaration: WorkArea & Pimpl::workarea() const;
10557
10558         * factory.C: added using std::endl directive.
10559
10560         * text3.C: added using std::find and std::vector directives.
10561
10562 2002-08-29  André Pönitz <poenitz@gmx.net>
10563
10564         * lyxtext.h:
10565         * text2.C: remove unused member number_of_rows
10566
10567         * Makefile.am:
10568         * BufferView2.C: remove file, move contents to...
10569         * BufferView.C: ... here
10570
10571         * BufferView_pimpl.C:
10572         * factory.C: move more inset creation to factory
10573
10574         * vspace.C: avoid direct usage of LyXText, ws changes
10575
10576         * BufferView.[Ch]:
10577                 don't provide direct access to WorkArea, use two simple
10578                 acessors haveSelction() and workHeight() instead
10579
10580
10581 2002-08-29  John Levon  <levon@movementarian.org>
10582
10583         * BufferView_pimpl.C (dispatch): do not continue when
10584           no buffer
10585
10586 2002-08-28  André Pönitz <poenitz@gmx.net>
10587
10588         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10589
10590         * BufferView.h:
10591         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10592
10593 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10594
10595         * buffer.C: increment LYX_FORMAT to 221
10596
10597         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10598         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10599
10600         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10601
10602         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10603
10604 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10605
10606         * factory.C (createInset): use LyXTextClass::floats
10607
10608         * MenuBackend.C (expandFloatListInsert):
10609         (expandFloatInsert):
10610         (expandToc):
10611
10612         * text2.C (setCounter):
10613
10614         * LaTeXFeatures.C (useFloat):
10615         (getFloatDefinitions):
10616
10617         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10618
10619         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10620         floatlist_, with accessor floats().
10621
10622         * FloatList.h: remove global FloatList
10623
10624 2002-08-26  André Pönitz <poenitz@gmx.net>
10625
10626         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10627
10628         * BufferView.h:
10629         * BufferView2.C:
10630         * BufferView_pimpl.C:
10631         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10632
10633 2002-08-25  John Levon  <levon@movementarian.org>
10634
10635         * LyXAction.C: fix margin note description
10636
10637 2002-08-24  John Levon  <levon@movementarian.org>
10638
10639         * buffer.C:
10640         * bufferlist.C:
10641         * bufferview_funcs.C:
10642         * lyxfont.C:
10643         * undo_funcs.C: cleanups
10644
10645         * lyxfunc.C: disable CUT/COPY when no selection
10646
10647 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10648
10649         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10650         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10651
10652         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10653         Add backward compatibility to "mono", "gray" and "no".
10654
10655 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10656
10657         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10658         (and file_format >= 200).
10659
10660 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10661
10662         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10663
10664 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10665
10666         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10667
10668 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10669
10670         * BufferView_pimpl.C:
10671         * LyXAction.C:
10672         * buffer.C:
10673         * commandtags.h:
10674         * lyxfunc.C:
10675         * paragraph.[Ch]:
10676         * text2.C:
10677         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10678         inset and code to make it  work with the paragraph code. The inset
10679         can be anywhere in the paragraph, but will only do the expected
10680         thing in LaTeX if the layout file contains the parameter line
10681                         OptionalArgs    1
10682         (or more generally, a nonzero value) for that layout.
10683
10684 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10685
10686         * paragraph.h: remove the declaration of undefined counters class
10687         function.
10688
10689 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10690
10691         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10692         Dr. Richard Hawkins.
10693
10694 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10695
10696         * paragraph_funcs.h: remove some unneeded includes
10697
10698         * text.C (backspace): pasteParagraph now in global scipe
10699
10700         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10701         (pasteSelection): ditto
10702
10703         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10704         * paragraph_funcs.C (pasteParagraph): ... here
10705
10706 2002-08-20  André Pönitz <poenitz@gmx.net>
10707
10708         * commandtags.h: new LFUNs for swapping/copying table row/colums
10709
10710         * LyXAction.C:
10711         * lyxfunc.C: support for new lfuns
10712
10713 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10714
10715         * tabular.C:
10716         * buffer.[Ch]: remove NO_COMPABILITY stuff
10717
10718 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10719
10720         * boost.C (throw_exception): new file, with helper function for
10721         boost compiled without exceptions.
10722
10723         * paragraph.h:
10724         * lyxlength.C:
10725         * buffer.C:
10726         * ParameterStruct.h:
10727         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10728
10729         * bufferlist.C (emergencyWriteAll): use boost bind
10730
10731         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10732
10733         * text.C: include paragraph_funcs.h
10734         (breakParagraph): breakParagraph is now in global scope
10735
10736         * paragraph_funcs.[Ch]: new files
10737
10738         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10739         global scope
10740
10741         * buffer.C: include paragraph_funcs.h
10742         (insertStringAsLines): breakParagraph is now in global scope
10743
10744         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10745         paragraph_funcs.C
10746
10747         * CutAndPaste.C: include paragraph_funcs.h
10748         (cutSelection): breakParagraphConservative is now in global scope
10749         (pasteSelection): ditto
10750
10751         * buffer.h: declare oprator== and operator!= for
10752         Buffer::inset_iterator
10753
10754         * bufferlist.C (emergencyWrite): don't use fmt(...)
10755
10756         * text3.C: add using std::endl
10757
10758         * BufferView.C (moveCursorUpdate): remove default arg
10759
10760 2002-08-20  André Pönitz <poenitz@gmx.net>
10761
10762         * buffer.[Ch]: move inline functions to .C
10763
10764         * BufferView2.C:
10765         * BufferView_pimpl.C:
10766         * text.C:
10767         * buffer.[Ch]: use improved inset_iterator
10768
10769         * buffer.C:
10770         * paragraph.[Ch]: write one paragraph at a time
10771
10772 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10773
10774         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10775         style if style is not specified.
10776
10777 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10778
10779         * text2.C (setCounter): when searching for right label for a
10780         caption, make sure to recurse to parent insets (so that a caption
10781         in a minipage in a figure float works) (bug #568)
10782
10783 2002-08-20  André Pönitz <poenitz@gmx.net>
10784
10785         * text3.C: new file for LyXText::dispatch() and helpers
10786
10787         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10788
10789         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10790
10791 2002-08-19  André Pönitz <poenitz@gmx.net>
10792
10793         * lyxtext.h:
10794         * text.C: new LyXText::dispatch()
10795
10796         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10797
10798 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10799
10800         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10801
10802         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10803         Hebrew text.
10804
10805 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10806
10807         * Makefile.am: use $(variables) instead of @substitutions@
10808
10809 2002-08-15  André Pönitz <poenitz@gmx.net>
10810
10811         * lyxfunc.C:
10812         * BufferView_pimpl.C: streamlining mathed <-> outer world
10813         interaction
10814
10815         * commandtags.h:
10816         * LyXAction.C: remove unused LFUN_MATH
10817
10818 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10819
10820         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10821
10822 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10823
10824         * paragraph.C (Paragraph): reformat a bit
10825         (cutIntoMinibuffer): use builtin InsetList function instad of
10826         doing it manually.
10827         (getInset): ditto
10828
10829         * buffer.C: include boost/bind.hpp, add using std::for_each
10830         (writeFileAscii): use ParagraphList iterators
10831         (validate): use for_each for validate traversal of paragraphs
10832         (getBibkeyList): use ParagraphList iterators
10833         (resizeInsets): use for_each to resizeInsetsLyXText for all
10834         paragraphs.
10835         (getParFromID): use ParagraphList iterators
10836
10837         * BufferView2.C (lockInset): use paragraph list and iterators
10838
10839 2002-08-14  John Levon  <levon@movementarian.org>
10840
10841         * lyxserver.C: remove spurious xforms include
10842
10843 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10844
10845         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10846
10847 2002-08-13  André Pönitz <poenitz@gmx.net>
10848
10849         * LyXAction.[Ch]:
10850         * lyxfunc.C: further cleaning
10851
10852 2002-08-13  André Pönitz <poenitz@gmx.net>
10853
10854         * funcrequest.h: new constructor
10855
10856         * funcrequest.C: move stuff here from .h
10857
10858         * Makefile.am:
10859         * BufferView_pimpl.C:
10860         * LyXAction.C:
10861         * toc.C:
10862         * lyxfunc.C: subsequent changes
10863
10864         * lyxfunc.h: new view() member function
10865
10866         * lyxfunc.C: subsequent changes
10867
10868 2002-08-13  Angus Leeming  <leeming@lyx.org>
10869
10870         * BufferView2.C:
10871         * BufferView_pimpl.C:
10872         * buffer.C:
10873         * converter.C:
10874         * importer.C:
10875         * lyxfunc.C:
10876         * lyxvc.C:
10877         * toc.C:
10878         * vc-backend.C:
10879         changes due to the changed LyXView interface that now returns references
10880         to member variables not pointers.
10881
10882 2002-08-13  Angus Leeming  <leeming@lyx.org>
10883
10884         * WordLangTuple (word, lang_code): return references to strings,
10885         not strings.
10886
10887         * BufferView.h:
10888         * SpellBase.h:
10889         * lyxtext.h: forward-declare WordLangTuple.
10890
10891         * BufferView2.C:
10892         * ispell.C:
10893         * pspell.C:
10894         * text.C: #include "WordLangTuple.h".
10895
10896         * lyxtext.h:
10897         * text.C: (selectNextWordToSpellcheck): constify return type.
10898
10899 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10900
10901         * buffer.C:
10902         * buffer.h:
10903         * lyxtext.h:
10904         * paragraph.C:
10905         * paragraph_pimpl.h:
10906         * text.C:
10907         * text2.C:
10908         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10909         suggested by Angus.
10910         Made updateCounter always count from start of buffer, and removed
10911         second argument (par).
10912         Reverted floats number display to '#'. Perhaps I'll try again when the
10913         code base is sanitized a bit.
10914
10915 2002-08-12  Angus Leeming  <leeming@lyx.org>
10916
10917         * buffer.[Ch] (getLabelList): constify.
10918
10919 2002-08-07  André Pönitz <poenitz@gmx.net>
10920
10921         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10922
10923         * funcrequest.h: extension to keep mouse (x,y) position
10924
10925 2002-08-12  Juergen Vigna  <jug@sad.it>
10926
10927         * BufferView2.C (insertErrors): forbid undo when inserting error
10928         insets.
10929
10930         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10931
10932 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10933
10934         * ParagraphList.[Ch]: new files
10935
10936         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10937
10938         * BufferView2.C (lockInset): ParagraphList changes
10939         * toc.C: ditto
10940         * text2.C: ditto
10941         * bufferlist.C: ditto
10942         * buffer.h: ditto
10943         * buffer.C: ditto
10944
10945 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10946
10947         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10948         unused class variable counter_,
10949
10950         * paragraph.[Ch] (getFirstCounter): delete unused function
10951
10952         * counters.C: include LAssert.h
10953         (reset): add a new function with no arg, change other version to
10954         not have def. arg and to not allow empty arg.
10955
10956         * text2.C (setCounter): remove empty arg from call to Counters::reset
10957
10958 2002-08-11  John Levon  <levon@movementarian.org>
10959
10960         * Makefile.am: add WordLangTuple.h
10961
10962 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10963
10964         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10965         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10966
10967         * insets/insettext.C: InsetList changes
10968
10969         * graphics/GraphicsSupport.C (operator()): InsetList changes
10970
10971         * toc.C (getTocList): InsetList changes
10972
10973         * paragraph_pimpl.[Ch]: InsetList changes
10974
10975         * paragraph.[Ch]: InsetList changes
10976
10977         * buffer.C (inset_iterator): InsetList changes
10978         (setParagraph): ditto
10979         * buffer.h (inset_iterator): ditto
10980         * iterators.C (operator++): ditto
10981         * iterators.h: ditto
10982
10983         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10984
10985         * InsetList.[Ch]: new files, most InsetList handling moved out of
10986         paragraph.C.
10987
10988         * BufferView2.C (removeAutoInsets): InsetList changes
10989         (lockInset): ditto
10990         (ChangeInsets): ditto
10991
10992 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10993
10994         * paragraph_pimpl.h (empty): new function
10995
10996         * paragraph.[Ch] (empty): new function
10997
10998         * other files: use the new Paragraph::empty function
10999
11000 2002-08-09  John Levon  <levon@movementarian.org>
11001
11002         * lyxtext.h: remove unused refresh_height
11003
11004 2002-08-09  John Levon  <levon@movementarian.org>
11005
11006         * Makefile.am:
11007         * sgml.h:
11008         * sgml.C:
11009         * buffer.C:
11010         * paragraph.h:
11011         * paragraph.C: move sgml char escaping out of paragraph
11012
11013         * paragraph.h:
11014         * paragraph.C: remove id setter
11015
11016         * buffer.C:
11017         * paragraph.C:
11018         * paragraph_pimpl.C: remove dead tex_code_break_column
11019
11020         * bufferview_funcs.C: small cleanup
11021
11022         * lyxfunc.C: remove dead proto
11023
11024         * lyxtext.h: make some stuff private. Remove some dead stuff.
11025
11026         * lyxgluelength.C: make as[LyX]String() readable
11027
11028 2002-08-08  John Levon  <levon@movementarian.org>
11029
11030         * LyXAction.h:
11031         * LyXAction.C:
11032         * MenuBackend.C:
11033         * ToolbarDefaults.C:
11034         * lyxfunc.C:
11035         * lyxrc.C:
11036         * toc.C: lyxaction cleanup
11037
11038 2002-08-08  John Levon  <levon@movementarian.org>
11039
11040         * BufferView2.C: small cleanup
11041
11042         * lyxfind.h:
11043         * lyxfind.C: move unnecessary header into the .C
11044
11045 2002-08-08  John Levon  <levon@movementarian.org>
11046
11047         * funcrequest.h: just tedious nonsense
11048
11049         * lyx_main.h:
11050         * lyx_main.C: cleanups
11051
11052         * buffer.C:
11053         * vspace.C: remove dead header lyx_main.h
11054
11055 2002-08-07  Angus Leeming  <leeming@lyx.org>
11056
11057         * Paragraph.[Ch]:
11058         * paragraph_pimpl.h:
11059         Forward declare class Counters in paragraph.h by moving the ctrs member
11060         variable into Paragraph::Pimpl.
11061         (counters): new method, returning a reference to pimpl_->ctrs.
11062
11063         * text2.C: ensuing changes.
11064
11065 2002-08-07  John Levon  <levon@movementarian.org>
11066
11067         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11068
11069         * BufferView_pimpl.C: announce X selection on double/triple
11070           click
11071
11072         * lyx_main.C: use correct bool in batch dispatch
11073
11074         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11075
11076 2002-08-07  André Pönitz <poenitz@gmx.net>
11077
11078         * funcrequest.h: new class to wrap a kb_action and its argument
11079
11080         * BufferView.[Ch]:
11081         * BufferView_pimpl[Ch]:
11082         * LaTeX.C:
11083         * LyXAction.[Ch]:
11084         * lyxfunc.[Ch]:
11085         * lyxrc.C: subsequent changes
11086
11087
11088 2002-08-07  John Levon  <levon@movementarian.org>
11089
11090         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11091           document options change.
11092
11093 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11094
11095         * counters.[Ch]
11096         * text2.C
11097         * paragraph.[Ch]
11098         * makefile.am: move counters functionality over from
11099         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11100
11101 2002-08-06  John Levon  <levon@movementarian.org>
11102
11103         * WordLangTuple.h: new file for word + language code tuple
11104
11105         * SpellBase.h:
11106         * pspell.h:
11107         * pspell.C:
11108         * ispell.h:
11109         * ispell.C:
11110         * lyxtext.h:
11111         * text.C:
11112         * text2.C:
11113         * BufferView.h:
11114         * BufferView2.C: use WordLangTuple
11115
11116         * layout.h:
11117         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11118
11119 2002-08-06  John Levon  <levon@movementarian.org>
11120
11121         * lyx_main.C: fix cmdline batch handling
11122
11123 2002-08-06  André Pönitz <poenitz@gmx.net>
11124
11125         * lyxrc.C: set default for show_banner to true
11126
11127 2002-08-06  John Levon  <levon@movementarian.org>
11128
11129         * pspell.C: fix a crash, and allow new aspell to work
11130
11131 2002-08-06  John Levon  <levon@movementarian.org>
11132
11133         * lyxfunc.C:
11134         * kbmap.C: small cleanup
11135
11136         * vspace.h:
11137         * vspace.C: add const
11138
11139 2002-08-05  John Levon  <levon@movementarian.org>
11140
11141         * LyXAction.C: back to tabular-insert
11142
11143 2002-08-04  John Levon  <levon@movementarian.org>
11144
11145         * BufferView.h:
11146         * BufferView.C: cosmetic change
11147
11148         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11149
11150         * bufferlist.C:
11151         * buffer.h:
11152         * buffer.C:
11153         * lyxcb.h:
11154         * lyxcb.C:
11155         * lyxserver.C:
11156         * lyxvc.C:
11157         * vc-backend.C:
11158         * BufferView2.C: purge all "Lyx" not "LyX" strings
11159
11160         * lyxcursor.h:
11161         * lyxcursor.C: attempt to add some documentation
11162
11163         * lyxfunc.C:
11164         * commandtags.h:
11165         * LyXAction.C:
11166         * ToolbarDefaults.C:
11167         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11168           merge with LFUN_TABULAR_INSERT
11169
11170         * Makefile.am:
11171         * SpellBase.h:
11172         * ispell.h:
11173         * ispell.C:
11174         * pspell.h:
11175         * pspell.C: split up i/pspell implementations into separate
11176           files, many cleanups
11177
11178         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11179
11180         * text2.C: some cleanup
11181
11182         * lyxfunc.C: don't check for isp_command == "none" any more, it
11183           didn't make any sense
11184
11185 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11186
11187         * counters.[Ch]
11188         * text2.C
11189         * paragraph.[Ch]
11190         * makefile.am: move counters functionality over
11191         from text2.C/paragraph.[Ch] to counters.[Ch], and
11192         make proper C++.
11193 2002-08-02  John Levon  <levon@movementarian.org>
11194
11195         * buffer.C: s/lyxconvert/lyx2lyx/
11196
11197 2002-08-02  Angus Leeming  <leeming@lyx.org>
11198
11199         * lyxlex.C: revert John's change as it breaks reading of the user
11200         preamble.
11201
11202 2002-08-02  Angus Leeming  <leeming@lyx.org>
11203
11204         * importer.C (Import):
11205         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11206         changes due to LyXView::view() now returning a boost::shared_ptr.
11207
11208 2002-08-02  John Levon  <levon@movementarian.org>
11209
11210         * lyxlex.C: small cleanup
11211
11212 2002-08-02  John Levon  <levon@movementarian.org>
11213
11214         * text2.C (status): small cleanup, no logic change
11215
11216 2002-08-01  John Levon  <levon@movementarian.org>
11217
11218         * buffer.h:
11219         * buffer.C (writeFile): don't output alerts, caller
11220           handles this
11221
11222         * bufferlist.C:
11223         * lyx_cb.C: from above
11224
11225         * lyxfunc.C: allow to open non-existent files
11226
11227 2002-07-31  John Levon  <levon@movementarian.org>
11228
11229         * lyxserver.C: don't let incidental errors get
11230           in the way (errno)
11231
11232 2002-07-30  John Levon  <levon@movementarian.org>
11233
11234         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11235
11236 2002-07-30  John Levon  <levon@movementarian.org>
11237
11238         * lyxserver.h:
11239         * lyxserver.C: remove I/O callback too
11240
11241 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11242
11243         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11244         log.
11245
11246 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11247
11248         * many files: strip,frontStrip -> trim,ltrim,rtrim
11249
11250 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11251
11252         * PrinterParams.h: remove extern containsOnly, and include
11253         support/lstrings.h instead.
11254
11255         * LaTeX.C (scanAuxFile): modify because of strip changes
11256         (deplog): ditto
11257         * buffer.C (makeLaTeXFile): ditto
11258         * bufferparams.C (writeFile): ditt
11259         * lyxfont.C (stateText): ditto
11260         * lyxserver.C (read_ready): ditto
11261         * vc-backend.C (scanMaster): ditto
11262
11263         * BufferView_pimpl.h: ws changes
11264
11265         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11266
11267 2002-07-26  André Pönitz <poenitz@gmx.net>
11268
11269         * kb_sequence.C: remove unnedred usings
11270
11271 2002-07-26  Juergen Vigna  <jug@sad.it>
11272
11273         * lyxfind.C (LyXReplace): we have to check better if the returned
11274         text is not of theLockingInset()->getLockingInset().
11275
11276 2002-07-25  Juergen Vigna  <jug@sad.it>
11277
11278         * lyxfind.C (LyXReplace): don't replace if we don't get the
11279         right LyXText.
11280
11281         * undo_funcs.C (createUndo): remove debugging code.
11282
11283 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11284
11285         * buffer.C (parseSingleLyXformat2Token): Use default placement
11286         when reading old floats.
11287
11288         * FloatList.C (FloatList): Change the default placement of figure
11289         and tables to "tbp".
11290
11291 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11292
11293         * MenuBackend.C: using std::max
11294
11295 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11296
11297         * MenuBackend.C (expandToc):
11298         (expandToc2): code moved from xforms menu frontend. It is now
11299         generic and TOCs are transparent to menu frontends.
11300
11301 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11302
11303         * toc.C (getTocList): protect against buf=0
11304
11305         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11306         Menu as first parameter. Now, this calls itself recursively to
11307         expand a whole tree (this will be useful for TOC handling)
11308         (expandFloatInsert): remove 'wide' version of floats
11309
11310         * MenuBackend.h (submenuname): returns the name of the submenu.
11311         (submenu): returns the submenu itself, provided it has been
11312         created by MenuBackend::expand
11313
11314 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11315
11316         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11317         insets which have noFontChange == true. (bug #172)
11318
11319 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11320
11321         * BufferView_pimpl.C: add connection objects and use them...
11322         (Pimpl): here.
11323
11324 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11325
11326         * MenuBackend.C (expandLastfiles):
11327         (expandDocuments):
11328         (expandFormats):
11329         (expandFloatListInsert):
11330         (expandFloatInsert):
11331         (expand): split expand in parts
11332
11333 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11334
11335         * lyx_gui.C: use lyx_gui::exit()
11336
11337 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11338
11339         * LyXAction.C: show the failing pseudo action
11340
11341 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11342
11343         * buffer.C (readFile): Run the lyxconvert script in order to read
11344         old files.
11345
11346 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11347
11348         * LyXAction.C:
11349         * commandtags.h:
11350         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11351
11352 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11353
11354         * LyXAction.C:
11355         * commandtags.h:
11356         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11357
11358 2002-07-22  Herbert Voss  <voss@lyx.org>
11359
11360         * lengthcommon.C:
11361         * lyxlength.[Ch]: add support for the vertical lengths
11362
11363 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11364
11365         * toc.[Ch]: std:: fixes
11366
11367 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11368
11369         * lyxrc.C: do not include lyx_main.h
11370
11371         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11372         for layouts
11373
11374         * lyxrc.C:
11375         * encoding.C:
11376         * bufferlist.C:
11377         * BufferView2.C: include "lyxlex.h"
11378
11379         * tabular.h:
11380         * bufferparams.h: do not #include "lyxlex.h"
11381
11382         * lyxtextclasslist.C (Add): remove method
11383         (classlist): renamed to classlist_
11384
11385         * paragraph_pimpl.C:
11386         * paragraph.C:
11387         * text2.C:
11388         * CutAndPaste.C:
11389         * bufferview_funcs.C:
11390         * bufferlist.C:
11391         * text.C:
11392         * LaTeXFeatures.C:
11393         * buffer.C:
11394         * toc.C (getTocList): use BufferParams::getLyXTextClass
11395
11396         * toc.C (getTocList): use InsetFloat::addToToc
11397
11398         * toc.[Ch]: new files, containing helper functions to handle table
11399         of contents
11400
11401         * lyxfunc.C (dispatch): no need to remove spaces around command
11402         given as a string
11403         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11404         first command of the sequence; it is not very clever, but I do not
11405         have a better idea, actually
11406
11407         * LyXAction.C (LookupFunc): make sure to remove space at the
11408         beginning and end of the command
11409
11410 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11411
11412         * MenuBackend.C (getMenubar): new method: return the menubar of
11413         this menu set
11414         (read): treat differently reading of menu and menubar (in
11415         particular, the menubar has no name now)
11416         (Menu::menubar): remove
11417
11418         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11419         saving is finished
11420
11421 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11422
11423         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11424         a bibitem inset in a RTL paragraph.
11425
11426 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11427
11428         * paragraph_pimpl.C: constify
11429
11430         * BufferView_pimpl.C:
11431         * LaTeX.C:
11432         * lyxfunc.C: fix dispatch in a nicer way
11433
11434 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11435
11436         * lyxfunc.C (dispatch):
11437         * BufferView_pimpl.C:
11438         * BufferView_pimpl.h:
11439         * BufferView.C:
11440         * BufferView.h: rename Dispatch() to dispatch()
11441
11442         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11443
11444         * lyxlayout.C (Read): honor DependsOn tag
11445
11446         * lyxlayout.[Ch] (depends_on): new method
11447
11448         * version.C.in: update lyx_docversion
11449
11450         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11451
11452         * paragraph.C (validate): remove from here...
11453         * paragraph_pimpl.C (validate): ... and move here
11454         (isTextAt): make it const
11455
11456         * buffer.C (getLists): ws cleanup
11457
11458 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11459
11460         * language.C (read): Use iso8859-1 encoding in latex_lang
11461         (this prevents LyX from crashing when using iso10646-1 encoding).
11462
11463 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11464
11465         * text2.C (toggleInset): if cursor is inside an inset, close the
11466         inset and leave cursor _after_ it
11467
11468 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11469
11470         * lyxfunc.C: move minibuffer completion handling out of here
11471
11472 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11473
11474         * BufferView_pimpl.C:
11475         * LaTeX.C: fix dispatch calls
11476
11477 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11478
11479         * text.C (drawChars): Fix Arabic text rendering.
11480
11481 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11482
11483         * LyXAction.C:
11484         * commandtags.h:
11485         * lyxfunc.C: remove message-push/pop
11486
11487         * lyxserver.C:
11488         * lyxfunc.h:
11489         * lyxfunc.C: rationalise some code by removing verboseDispatch
11490           in favour of a bool argument to dispatch()
11491
11492 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11493
11494         * lyx_main.C (init): make sure to read symlinks as absolute paths
11495
11496 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11497
11498         * lyxfunc.h:
11499         * lyxfunc.C: no need for commandshortcut to be a member
11500
11501 2002-07-15  André Pönitz <poenitz@gmx.net>
11502
11503         * converter.C: add support for $$s (scripts from lib/scripts dir)
11504         * lyx_main.C: white space
11505
11506 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11507
11508         * bufferlist.C:
11509         * lyxrc.h:
11510         * lyxrc.C: remove second exit confirmation
11511
11512 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11513
11514         * BufferView.h:
11515         * BufferView.C:
11516         * BufferView2.C:
11517         * BufferView_pimpl.h:
11518         * BufferView_pimpl.C:
11519         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11520
11521 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11522
11523         * MenuBackend.C (expand): add numeric shortcuts to document menu
11524
11525         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11526
11527 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11528
11529         * lyxfont.C (setLyXFamily):
11530         (setLyXSeries):
11531         (setLyXShape):
11532         (setLyXSize):
11533         (setLyXMisc):
11534         (lyxRead):
11535         * debug.C (value):
11536         * buffer.C (asciiParagraph): use ascii_lowercase
11537
11538 2002-07-15  Mike Fabian  <mfabian@suse.de>
11539
11540         * lyxlex_pimpl.C (search_kw):
11541         * lyxlex.C (getLongString):
11542         * converter.h (operator<):
11543         * converter.C (operator<):
11544         * buffer.C (parseSingleLyXformat2Token):
11545         (asciiParagraph):
11546         * ToolbarDefaults.C (read):
11547         * MenuBackend.C (checkShortcuts):
11548         (read):
11549         * LColor.C (getFromGUIName):
11550         (getFromLyXName): use the compare_ascii_no_case instead of
11551         compare_no_case, because in turkish, 'i' is not the lowercase
11552         version of 'I', and thus turkish locale breaks parsing of tags.
11553
11554 2002-07-16  Angus Leeming  <leeming@lyx.org>
11555
11556         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11557         now takes a Buffer const & argument.
11558
11559 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11560
11561         * BufferView.C (resize): check there's a buffer to resize
11562
11563 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11564
11565         * lyxfunc.C: remove dead code
11566
11567         * lyxserver.h:
11568         * lyxserver.C: use lyx_guii::set_read_callback
11569
11570 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11571
11572         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11573         an inset in a RTL paragraph.
11574
11575 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * lyxfunc.C: repaint after a font size update
11578
11579 2002-07-15  André Pönitz <poenitz@gmx.net>
11580
11581         * lyxlength.C: inBP should be able to return negative values
11582
11583 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11584
11585         * lyxfunc.C: use lyx_gui::update_fonts()
11586
11587 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11588
11589         * lyxfunc.C: use lyx_gui::update_color()
11590
11591 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11592
11593         * bufferlist.C:
11594         * lyxfunc.h:
11595         * lyxfunc.C:
11596         * lyxrc.h:
11597         * lyxrc.C: remove file->new asks for name option, and let
11598           buffer-new take an argument
11599
11600 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11601
11602         * BufferView_pimpl.C: remove unneeded extra repaint()
11603
11604 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11605
11606         * LyXAction.C: allow command-sequence with NoBuffer
11607
11608         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11609
11610 2002-07-10  Angus Leeming  <leeming@lyx.org>
11611
11612         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11613
11614 2002-07-09  Angus Leeming  <leeming@lyx.org>
11615
11616         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11617
11618 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11619
11620         * lengthcommon.h: whitespace
11621
11622         * lyxfunc.C: update scrollbar after goto paragraph
11623
11624         * lyxtext.h: factor out page break drawing, and fix it so
11625           page break/added space paints as selected nicely
11626
11627 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11628
11629         * BufferView_pimpl.C: add FIXMEs, clean up a little
11630
11631 2002-07-09  André Pönitz <poenitz@gmx.net>
11632
11633         * lyxfont.[Ch]: support for wasy symbols
11634
11635 2002-07-08  André Pönitz <poenitz@gmx.net>
11636
11637         * BufferView_pimpl.C: apply John's patch for #93.
11638
11639 2002-07-05  Angus Leeming  <leeming@lyx.org>
11640
11641         * BufferView_pimpl.C (buffer): generate previews if desired.
11642
11643         * LColor.h: add "preview" to the color enum.
11644
11645         * LColor.C (LColor): add a corresponding entry to the items array.
11646
11647         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11648         with this buffer.
11649
11650 2002-07-05  Angus Leeming  <leeming@lyx.org>
11651
11652         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11653         The body of the code is now in the method that is passed an ostream &
11654         rather than a file name.
11655         Pass an additional only_preamble parameter, useful for the forthcoming
11656         preview stuff.
11657
11658 2002-07-03  André Pönitz <poenitz@gmx.net>
11659
11660         * lyxfunc.C: simplify getStatus() a bit for math stuff
11661
11662 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11663
11664         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11665
11666 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11667
11668         * text.C (changeRegionCase): do not change case of all the
11669         document when region ends at paragraph end (bug #461)
11670
11671 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11672
11673         * paragraph.C (startTeXParParams):
11674         (endTeXParParams): add \protect when necessary
11675
11676 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11677
11678         * BufferView_pimpl.C (workAreaExpose): remove warning
11679
11680 2002-06-27  Angus Leeming  <leeming@lyx.org>
11681
11682         * Makefile.am: add lyxlayout_ptr_fwd.h.
11683
11684 2002-06-26  André Pönitz <poenitz@gmx.net>
11685
11686         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11687
11688 2002-06-25  Angus Leeming  <leeming@lyx.org>
11689
11690         * lyxfunc.C (dispatch): Comment out the call to
11691         grfx::GCache::changeDisplay. The method no longer exists now that the
11692         pixmap generation part of the graphics loader has been moved into
11693         InsetGraphics.
11694
11695 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11696
11697         * text2.C: layout as layout
11698
11699         * text.C: layout as layout
11700
11701         * tabular.C (OldFormatRead): layout as layout
11702
11703         * paragraph_pimpl.C (TeXDeeper): layout as layout
11704         (realizeFont): layout as layout
11705
11706         * paragraph.C (writeFile): layout as layout
11707         (validate): layout as layout
11708         (getFont): layout as layout
11709         (getLabelFont): layout as layout
11710         (getLayoutFont): layout as layout
11711         (breakParagraph): layout as layout
11712         (stripLeadingSpaces): layout as layout
11713         (getEndLabel): layout as layout
11714         (getMaxDepthAfter): layout as layout
11715         (applyLayout): layout as layout
11716         (TeXOnePar): layout as layout
11717         (simpleTeXOnePar): layout as layout
11718         (TeXEnvironment): layout as layout
11719         (layout): layout as layout
11720         (layout): layout as layout
11721
11722         * lyxtextclass.C (compare_name): new functor to work with
11723         shared_ptr, layout as layout
11724         (Read): layout as layout
11725         (hasLayout): layout as layout
11726         (operator): layout as layout
11727         (delete_layout): layout as layout
11728         (defaultLayout): layout as layout
11729
11730         * lyxlayout_ptr_fwd.h: new file
11731
11732         * lyxlayout.C (Read): layout as layout
11733
11734         * lyx_cb.C (MenuInsertLabel): layout as layout
11735
11736         * bufferlist.C (newFile): layout as layout
11737
11738         * buffer.C (readLyXformat2): layout as layout
11739         (parseSingleLyXformat2Token): layout as layout
11740         (insertStringAsLines): layout as layout
11741         (asciiParagraph): layout as layout
11742         (latexParagraphs): layout as layout
11743         (makeLinuxDocFile): layout as layout
11744         (simpleLinuxDocOnePar): layout as layout
11745         (makeDocBookFile): layout as layout
11746         (simpleDocBookOnePar): layout as layout
11747         (getLists): layout as layout
11748
11749         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11750
11751         * CutAndPaste.C (cutSelection): layout as layout
11752         (pasteSelection): layout as layout
11753         (SwitchLayoutsBetweenClasses): layout as layout
11754
11755         * BufferView_pimpl.C (Dispatch): layout as layout
11756         (smartQuote): layout as layout
11757
11758         * BufferView2.C (unlockInset): layout as layout
11759
11760 2002-06-24  André Pönitz <poenitz@gmx.net>
11761
11762         * lyxfunc.C: fix #487
11763
11764 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11765
11766         * lyxrc.h:
11767         * lyxrc.C:
11768         * lyxfunc.C: remove display_shortcuts, show_banner
11769
11770 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11771
11772         * Buffer_pimpl.C: oops, update on resize
11773
11774 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11775
11776         * buffer.C:
11777         * converter.C:
11778         * exporter.C:
11779         * lyxfunc.C:
11780         * BufferView.h:
11781         * BufferView.C: use repaint()
11782
11783         * BufferView_pimpl.h:
11784         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11785           as it's a clearer description. Remove superfluous
11786           redraws.
11787
11788 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11789
11790         * text.C: fix bug 488. Not ideal, but getting
11791           getWord() to work properly for the insets that
11792           matter is more difficult ...
11793
11794 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11795
11796         * BufferView_pimpl.C:
11797         * LyXAction.C:
11798         * commandtags.h:
11799         * lyxfunc.C: remove the six million index lyxfuncs to just
11800           one, and DTRT (bug 458)
11801
11802 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11803
11804         * BufferView.h:
11805         * BufferView.C:
11806         * BufferView_pimpl.h:
11807         * BufferView_pimpl.C: clean up resize() stuff,
11808           and unnecessary updateScreen()s
11809
11810 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11811
11812         * BufferView.h:
11813         * BufferView.C:
11814         * BufferView_pimpl.h:
11815         * BufferView_pimpl.C:
11816         * lyxfind.h:
11817         * lyxfind.C:
11818         * minibuffer.C: remove focus management of workarea,
11819           not needed. Use screen's greyOut()
11820
11821 2002-06-17  Herbert Voss  <voss@lyx.org>
11822
11823         * converter.C: (convert) do not post a message, when converting
11824         fails, let the calling function decide what to do in this case
11825
11826 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * lyxfunc.C: tidy up a little
11829
11830 2002-06-16    <alstrup@diku.dk>
11831
11832         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11833         Got rid of FORMS_H_LOCATION include. Now we are
11834         GUII.
11835
11836 2002-06-15  LyX Development team  <lyx@rilke>
11837
11838         * buffer.[Ch] (sgmlOpenTag):
11839         (sgmlCloseTag): Added support for avoiding pernicious mixed
11840         content. Return number of lines written.
11841
11842         (makeLinuxDocFile):
11843         (makeDocBookFile): Fixed calls to sgml*Tag.
11844         Simple white space clean.
11845
11846         (simpleDocBookOnePar): Simple white space clean.
11847
11848         * tabular.[Ch] (docBook): Renamed to docbook and got another
11849         argument to related with the pernicious mixed content.
11850
11851         (docbookRow): Fixed calls for docbook inset method.
11852
11853 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11854
11855         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11856         so it's X11 independent.
11857
11858         * kb*.[Ch]: ditto.
11859
11860         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11861
11862 2002-06-15  Lyx Development team  <lyx@electronia>
11863
11864         * intl.h: Renamed getTrans to getTransManager.
11865
11866 2002-06-14  Angus Leeming  <leeming@lyx.org>
11867
11868         * Makefile.am: nuke forgotten stl_string_fwd.h.
11869
11870 2002-06-12  Angus Leeming  <leeming@lyx.org>
11871
11872         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11873
11874 2002-06-13  Angus Leeming  <leeming@lyx.org>
11875
11876         * LaTeX.C:
11877         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11878
11879 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11880
11881         * kbmap.C (getiso): add support for cyrillic and greek
11882
11883 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11884
11885         * BufferView.h:
11886         * BufferView.C:
11887         * BufferView_pimpl.h:
11888         * BufferView_pimpl.C: move bogus scrolling logic
11889           to xforms
11890
11891 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11892
11893         * lyxfunc.C:
11894         * BufferView_pimpl.C: view->resize() change
11895
11896 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11897
11898         * BufferView_pimpl.C: topCursorVisible
11899           prototype change
11900
11901 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11902
11903         * Makefile.am:
11904         * lyx_gui.h:
11905         * lyx_gui.C: move to frontends/
11906
11907         * main.C:
11908         * lyx_main.h:
11909         * lyx_main.C: changes from above
11910
11911 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11912
11913         * intl.C:
11914         * intl.h:
11915         * kbmap.C:
11916         * kbsequence.C:
11917         * lyx_cb.C:
11918         * lyx_main.C: minor tidy
11919
11920 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11921
11922         * BufferView_pimpl.h:
11923         * BufferView_pimpl.C:
11924         * BufferView.h:
11925         * BufferView.C: make painter() const,
11926           remove dead code
11927
11928         * BufferView2.C: use screen() accessor
11929
11930         * lyx_main.h:
11931         * lyx_main.C: some minor cleanup
11932
11933 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11934
11935         * BufferView_pimpl.h:
11936         * BufferView_pimpl.C: remove enter/leaveView,
11937           use workHeight()
11938
11939 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11940
11941         * BufferView.h:
11942         * BufferView.C:
11943         * BufferView2.C:
11944         * BufferView_pimpl.h:
11945         * BufferView_pimpl.C: only construct screen once,
11946           rename
11947
11948         * lyxrc.C: remove pointless comment
11949
11950 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11951
11952         * BufferView.h:
11953         * BufferView.C: remove active() and belowMouse()
11954
11955         * BufferView_pimpl.h:
11956         * BufferView_pimpl.C: use workarea() not workarea_,
11957           and make it use a scoped_ptr instead
11958
11959 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11960
11961         * lyx_gui.C: add debug message on BadWindow
11962
11963 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11964
11965         * sp_spell.C: fdopen is not part of the C++ standard.
11966
11967         * paragraph.C (InsetIterator): use >= instead of ==
11968
11969 2002-06-07  Angus Leeming  <leeming@lyx.org>
11970
11971         Fixes needed to compile with Compaq cxx 6.5.
11972         * BufferView_pimpl.C:
11973         * DepTable.C:
11974         * buffer.C:
11975         * converter.C:
11976         * encoding.C:
11977         * lyx_gui.C:
11978         * lyx_main.C:
11979         * lyxtextclasslist.C:
11980         * minibuffer.C:
11981         * sp_spell.C:
11982         * tabular_funcs.C:
11983         * vc-backend.C:
11984         all c-library variables have been moved into namespace std. Wrap
11985         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11986
11987         * lyxlength.C:
11988         * tabular-old.C:
11989         * tabular.C:
11990         Add a using std::abs declaration.
11991
11992         * kbmap.h (modifier_pair):
11993         * paragraph.h (InsetTable, InsetList):
11994         * lyxfont.h (FontBits):
11995         type definition made public.
11996
11997         * bufferlist.C (emergencyWriteAll): the compiler complains that
11998         there is more than one possible lyx::class_fun template to choose from.
11999         I re-named the void specialisation as lyx::void_class_fun.
12000
12001         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12002
12003         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12004         the compiler is is unable to find tostr in write_attribute.
12005
12006 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12007
12008         * buffer.C (sgmlError): hide #warning
12009
12010 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12011
12012         * xtl/*: get rid of xtl, which is not in use anyway
12013
12014         * LyXAction.C (init):
12015         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12016         were unimplemented xtl experimentation
12017
12018 2002-06-04  André Pönitz <poenitz@gmx.net>
12019
12020         * lyxfunc.C: disable array operation on simple formulae
12021
12022 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12023
12024         * converter.C: constify a bit
12025
12026 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * lyx_gui.C: check xforms version correctly
12029
12030 2002-04-30  Herbert Voss  <voss@lyx.org>
12031
12032         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12033         "keep" option
12034
12035 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12038           attempt to register it with a VCS)
12039
12040 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12041
12042         * lyx_main.C (init): honor variables LYX_DIR_13x and
12043         LYX_USERDIR_13x
12044
12045 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12046
12047         * buffer.h:
12048         * buffer.C:
12049         * lyx_main.C: fix a crash on bad command line,
12050           and give a useful exit status on error
12051
12052         * lyxfunc.C (doImport): allow -i lyx to work
12053
12054 2002-03-30  André Pönitz <poenitz@gmx.net>
12055
12056         * lyxfunc.C: mathed font changes
12057
12058 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * LaTeX.C:
12061         * importer.h:
12062         * importer.C:
12063         * lyx_sty.h:
12064         * lyx_sty.C:
12065         * lyxlex.C:
12066         * lyxrow.h:
12067         * lyxtext.h:
12068         * paragraph.h:
12069         * paragraph.C:
12070         * texrow.h:
12071         * texrow.C:
12072         * text.C:
12073         * trans_mgr.h: srcdocs, and some minor cleanups
12074
12075 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12076
12077         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12078         call getFont all the time)
12079
12080 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12081
12082         * switch from SigC signals to boost::signals
12083
12084 2002-05-29  André Pönitz <poenitz@gmx.net>
12085
12086         * paragraph_pimpl.C (getChar): don't call size() too often...
12087
12088 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12089
12090         * paragraph_pimpl.C (insertChar): do not try to update tables when
12091         appending (pos == size())
12092
12093         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12094         in order to reduce drastically the number of comparisons needed to
12095         parse a large document
12096
12097 2002-05-29  André Pönitz <poenitz@gmx.net>
12098
12099         * text.C:
12100         * text2.C:
12101         * lyxtextclass.C:
12102         * sp_pspell.h:
12103         * textclasslist.[Ch]:
12104         * sp_ispell.h: whitespace change
12105
12106 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12107
12108         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12109         lyxaction directly now.
12110
12111 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12112
12113         * trans.C:
12114         * lyxfont.C:
12115         * lyxvc.C: remove unused headers
12116
12117 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12118
12119         * Makefile.am:
12120         * buffer.h:
12121         * undostack.h:
12122         * undostack.C:
12123         * undo_funcs.h:
12124         * undo_funcs.C: some cleanups. Use shared_ptr
12125           and a template for the undo stacks.
12126
12127 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12128
12129         * BufferView_pimpl.h:
12130         * BufferView_pimpl.C:
12131         * kbmap.h:
12132         * kbmap.C:
12133         * kbsequence.h:
12134         * kbsequence.C:
12135         * lyxfunc.h:
12136         * lyxfunc.C:
12137         * text2.C: use key_state/mouse_state
12138
12139 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12140
12141         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12142         and LSubstring
12143
12144         * chset.C: change include order
12145         (loadFile): use boost regex and get rid of LRegex and LSubstring
12146
12147         * Makefile.am (BOOST_LIBS): new variable
12148         (lyx_LDADD): use it
12149
12150         * LaTeX.C: change include order.
12151         (scanAuxFile): use boost regex and get rid of LRegex and
12152         LSubstring
12153         (deplog): ditto
12154
12155 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12156
12157         * ColorHandler.h:
12158         * ColorHandler.C:
12159         * FontInfo.h:
12160         * FontInfo.C: moved to frontends/xforms/
12161
12162         * FontLoader.h:
12163         * FontLoader.C: moved into frontends for GUIIzation
12164
12165         * Makefile.am:
12166         * lyx_gui.C:
12167         * lyxfont.C:
12168         * lyxfunc.C: changes from above
12169
12170 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12171
12172         * LColor.C: remove spurious X include
12173
12174         * BufferView_pimpl.C:
12175         * Makefile.am:
12176         * font.h:
12177         * font.C:
12178         * text.C:
12179         * text2.C: move font metrics to frontends/
12180
12181 2002-05-24  Juergen Vigna  <jug@sad.it>
12182
12183         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12184         setting the undo_cursor.
12185
12186         * ParagraphParameters.h: include local includes first.
12187
12188 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12189
12190         * BufferView_pimpl.C:
12191         * BufferView_pimpl.h:
12192         * Makefile.am:
12193         * WorkArea.h:
12194         * WorkArea.C:
12195         * screen.C: move WorkArea into frontends/
12196
12197         * lyxscreen.h:
12198         * screen.C:
12199         * text.C:
12200         * BufferView.C:
12201         * BufferView2.C: move LyXScreen into frontends/
12202
12203         * lyxlookup.h:
12204         * lyxlookup.C:
12205         * lyx_gui.C: move lyxlookup into frontends/xforms/
12206
12207 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12208
12209         * BufferView2.C:
12210         * BufferView_pimpl.C:
12211         * FontLoader.C:
12212         * LyXView.h:
12213         * LyXView.C:
12214         * Makefile.am:
12215         * WorkArea.C:
12216         * XFormsView.h:
12217         * XFormsView.C:
12218         * buffer.C:
12219         * bufferlist.C:
12220         * bufferview_funcs.C:
12221         * converter.C:
12222         * importer.C:
12223         * lyx_cb.C:
12224         * lyx_gui.C:
12225         * lyx_main.C:
12226         * lyx_find.C:
12227         * lyxfunc.C:
12228         * lyxvc.C:
12229         * minibuffer.C:
12230         * text.C:
12231         * text2.C:
12232         * trans.C:
12233         * vc-backend.C: move LyX/XFormsView into frontends/
12234
12235 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12236
12237         * Makefile.am:
12238         * PainterBase.C:
12239         * PainterBase.h:
12240         * Painter.C:
12241         * Painter.h:
12242         * WorkArea.C:
12243         * WorkArea.h:
12244         * screen.C:
12245         * tabular.C:
12246         * text.C:
12247         * text2.C: move Painter to frontends/
12248
12249 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12250
12251         * buffer.C: comment out some some code that depend upon lyx_format
12252         < 220
12253
12254         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12255         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12256
12257         * buffer.h (NO_COMPABILITY): turn off compability
12258
12259         * ColorHandler.C: include scoped_array.hpp
12260
12261         * font.C: Use more specific smart_ptr header.
12262         * Painter.C: ditto
12263         * gettext.C: ditto
12264         * ShareContainer.h: ditto
12265         * lyx_main.h: ditto
12266         * kbmap.h: ditto
12267         * FontInfo.h: ditto
12268         * BufferView_pimpl.h: ditto
12269         * ColorHandler.h: ditto
12270
12271         * kbmap.C (defkey): change call to shared_ptr::reset
12272
12273 2002-05-21  Juergen Vigna  <jug@sad.it>
12274
12275         * buffer.C (insertErtContents): fix to insert ert asis if it is
12276         non empty. Skip it completely if it contains only whitespaces.
12277
12278 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12279
12280         * BufferView_pimpl.C:
12281         * BufferView2.C: clear selection on paste (bug 393)
12282
12283 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12284
12285         * DepTable.C: include ctime
12286
12287 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12288
12289         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12290
12291 2002-05-14  Juergen Vigna  <jug@sad.it>
12292
12293         * text.C (breakParagraph): fixed function to honor the keepempty
12294         layout in the right maner and also to permit the right breaking
12295         algorithm on empty or non empyt keepempty paragraphs.
12296
12297         * paragraph.C (breakParagraph): we have to check also if the par
12298         is really empty (!size()) for isempty otherwise we do the wrong
12299         paragraph break.
12300
12301 2002-05-10  Juergen Vigna  <jug@sad.it>
12302
12303         * buffer.[Ch] : The following are only changes to the ert
12304         compatibility read reading old LaTeX layout and font stuff and
12305         convert it to ERTInsets.
12306
12307         * buffer.h: added isErtInset().
12308
12309         * buffer.C (struct ErtComp): add a fromlayout bool to check
12310         if we're inside a LaTeX layout.
12311         (isErtInset): new helper function.
12312         (insertErtContents): look for other ert insets before this one
12313         and insert the contents there, so that we don't have subsequent
12314         ERT insets with nothing between them. This way we create only one
12315         inset with multiple paragraphs. Also check if we don't insert only
12316         spaces ' ' as they are ignored anyway afterwards in the .tex file
12317         so if we have only spaces we will ignore this latex part in the
12318         new file.
12319         (parseSingleLyXformat2Token \\layout): better compatibility when
12320         reading layout-latex stuff.
12321         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12322         language tag.
12323         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12324         stuff after reading the inset only get the information back from
12325         the stack.
12326
12327 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12328
12329         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12330
12331         * LaTeXFeatures.C (getBabelOptions): New method.
12332
12333 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12334
12335         * BufferView_pimpl.C (Dispatch): work around missing argument for
12336         'layout'
12337
12338 2002-05-08  Juergen Vigna  <jug@sad.it>
12339
12340         * text.C (leftMargin): handle paragraph leftindent.
12341
12342         * paragraph.C (writeFile): write the new \\leftindent tag.
12343         (validate): handle leftindent code.
12344         (TeXEnvironment): handle paragraphleftindent code again.
12345
12346         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12347
12348         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12349         for paragrap_extra indent code and new token \\leftindent.
12350         (latexParagraphs): handle the leftindent as environment.
12351
12352         * ParameterStruct.h: added leftindent support.
12353
12354         * ParagraphParameters.C (leftIndent): added support functions for
12355         the paragraph left indent.
12356
12357         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12358         more appropriate.
12359
12360 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12361
12362         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12363         inside insetERT.
12364
12365         * text.C (computeBidiTables): No bidi in insetERT.
12366
12367         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12368         in RTL documents.
12369
12370 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12371
12372         * version.C.in: pre 5
12373
12374 2002-05-02  José Matos  <jamatos@fep.up.pt>
12375         * buffer.C (makeDocBookFile): white space changes, add newline to
12376         command styles.
12377         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12378
12379         * tabular.C (docBook): fix typo.
12380
12381 2002-05-03  Juergen Vigna  <jug@sad.it>
12382
12383         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12384         change in LyXText as we can not be sure it was not freed.
12385         (drawOneRow): remove unused code.
12386
12387         * text.C (drawInset): redo the calculation of the need_break_row as
12388         it could have a row which was already freed.
12389         (draw): look at the return value of drawInset and return false if
12390         it also returned false.
12391         (paintRowText): look at the return value of draw and return false if
12392         it also returned false.
12393
12394         * lyxtext.h: added bool return type to drawInset() and draw() so that
12395         if we have a change in the row so that the rowbreak has to be redone
12396         we abort drawing as it will be called again.
12397
12398 2002-05-02  Juergen Vigna  <jug@sad.it>
12399
12400         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12401         a change in the maintext also if we're inside an inset.
12402         (Dispatch): set the cursor again after a break line and after the
12403         screen has been updated as it could be we're in a different row.
12404
12405         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12406         to set the cursor behind the pargraph with > size().
12407         (setCursor): check also for the same paragraph when checking where
12408         to put the cursor if we have a NFR inset.
12409
12410         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12411         parts of layout read further up as it still was in the wrong
12412         position.
12413
12414 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12415
12416         * screen.C (drawFromTo): change sine fullRebreak always return
12417         true.
12418
12419         * buffer.C (parseSingleLyXformat2Token): reindent some
12420
12421         * BufferView_pimpl.C (update): change since fullRebreak always
12422         return true.
12423         (Dispatch): git rid of the last hardcoded "Standard"s.
12424
12425 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12426
12427         * text2.[Ch] (fullRebreak): make it return void now that we always
12428         returned true.
12429
12430 2002-04-30  Juergen Vigna  <jug@sad.it>
12431
12432         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12433         ert compatibility check for "latex" layout.
12434
12435 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12436
12437         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12438         minipages: use col% instead of p%, and also use the current font.
12439         (makeLaTeXFile): Fix use babel condition.
12440         (parseSingleLyXformat2Token): Correct font when reading old floats.
12441
12442 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12443
12444         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12445         inserting list of floats.
12446
12447 2002-04-25  Herbert Voss  <voss@lyx.org>
12448
12449         * MenuBackend.C (expand): don't add the graphics extensions to the
12450         export menu
12451
12452 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12453
12454         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12455         non-existing layout, do not complain if it was the default layout
12456         of the original class (bug #342)
12457
12458 2002-04-24  Juergen Vigna  <jug@sad.it>
12459
12460         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12461         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12462
12463 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12464
12465         * buffer.C (getBibkeyList): If using \bibliography, return the
12466         option field with the reference itself. Enables us to provide natbib
12467         support when using \bibliography.
12468
12469 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12470
12471         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12472
12473         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12474         natbib is provided by the LaTeX class.
12475
12476 2002-04-23  Juergen Vigna  <jug@sad.it>
12477
12478         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12479         Wakeup functions.
12480
12481         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12482
12483 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12484
12485         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12486
12487         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12488         ensuremath around textordmasculine, textordfeminine and
12489         textdegree.
12490
12491 2002-04-19  Juergen Vigna  <jug@sad.it>
12492
12493         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12494         reinitializing the buffer otherwise row-dimensions may be wrong.
12495         (update): reset also the selection cursors if they do exits otherwise
12496         their x/y positions may be wrong.
12497
12498         * text2.C (cursorDown): don't enter the inset if we came from a row
12499         above and are one row over the inset.
12500
12501         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12502         really leaving an inset.
12503
12504 2002-04-18  Juergen Vigna  <jug@sad.it>
12505
12506         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12507         of the selected paragraph does not have the selected layout also if
12508         the last one had!
12509
12510         * text2.C (setLayout): fixed bug which did not change last selected
12511         paragraph.
12512
12513         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12514         changed the read and substituted \\end_float with \\end_inset!
12515
12516         * BufferView_pimpl.C (cursorPrevious):
12517         (cursorNext): fixed to make it work with rows heigher than the work
12518         area without moving the cursor only the draw of the row.
12519         (workAreaMotionNotify): fix jumping over high rows.
12520
12521 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12522
12523         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12524         Ressler.
12525
12526 2002-04-16  Juergen Vigna  <jug@sad.it>
12527
12528         * text2.C (setCursor): set also the irow().
12529         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12530         (cursorUp):
12531         (cursorDown): support for locking an inset if the x_fix value goes
12532         inside it. That way I can transverse insets too with cursor up/down.
12533
12534         * lyxrow.h: added irow helper function same as other (i) functions.
12535
12536         * BufferView_pimpl.C (cursorPrevious):
12537         (cursorNext): fixed for insets!
12538
12539 2002-04-15  Juergen Vigna  <jug@sad.it>
12540
12541         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12542         position otherwise it is wrong in some cases.
12543
12544         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12545         inside the inset before the call.
12546
12547 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12548
12549         * buffer.[Ch] (getBibkeyList): make it const.
12550
12551 2002-04-12  Juergen Vigna  <jug@sad.it>
12552
12553         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12554
12555         * text2.C (getCursorX): new helper function
12556         (setCursor): compute also ix_
12557         (setCursorFromCoordinates): set also ix.
12558
12559         * lyxcursor.h: added ix_ and helper functions.
12560
12561         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12562
12563         * buffer.C (insertStringAsLines): dont break paragraph if the this
12564         paragraph is inside an inset which does not permit it!
12565
12566         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12567         also with no chars on this paragraph.
12568         (paintRowText): only paint stuff if it's inside the workarea!
12569
12570         * paragraph.C (breakParagraph): honor keepempty flag and break the
12571         paragraph always below not above.
12572
12573         * BufferView2.C (unlockInset): update the paragraph layout on inset
12574         unlock as we changed paragraph in such a case.
12575
12576         * lyxfind.C (LyXFind): clear the former selection if not found!
12577
12578         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12579         again called in insertChar().
12580
12581         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12582         an inset which uses the whole row!
12583         (rightMargin): ditto.
12584         (insertChar): force a rebreak if we inserted an inset!
12585
12586 2002-03-28  Herbert Voss  <voss@lyx.org>
12587
12588         * lyxlength.[Ch]: add inBP() to get the right PS-point
12589         units (BigPoint). With inPixels we have rounding errors
12590
12591 2002-04-11  Juergen Vigna  <jug@sad.it>
12592
12593         * text2.C (setCursorFromCoordinates): set iy to the right value.
12594         (setCursor): add check if row->previous exists!
12595
12596         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12597         an old float_type as this was the case in the old code!
12598
12599         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12600
12601         * BufferView2.C (showLockedInsetCursor): use iy
12602         (fitLockedInsetCursor): ditto
12603
12604         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12605         locked insets as there we have the right value now.
12606
12607         * lyxcursor.C: added iy_ variable and iy functions to set to the
12608         baseline of cursor-y of the locked inset.
12609
12610         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12611         (setCursor): fixed for insets which need a full row.
12612
12613         * text.C (rowLastPrintable): don't ignore the last space when before
12614         an inset which needs a full row.
12615         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12616         as last character of a row when before a inset which needs a full row.
12617
12618 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12619
12620         * version.C.in: update date
12621
12622         * text2.C (fullRebreak): try to always return true and see what
12623         happens...
12624
12625 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12626
12627         * MenuBackend.C (expand): use Floating::listName
12628
12629         * FloatList.C (FloatList): add listName argument to the built-in
12630         floats
12631
12632         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12633         text associated with the float.
12634
12635 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12636
12637         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12638
12639 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12640
12641         * ShareContainer.h: add a couple of missing typenames.
12642
12643 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12644
12645         * lyxrc.C (getDescription): use _() correctly rather than N_().
12646
12647 2002-03-28  Herbert Voss  <voss@lyx.org>
12648
12649         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12650         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12651
12652 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12653
12654         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12655         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12656
12657 2002-03-29  Juergen Vigna  <jug@sad.it>
12658
12659         * lyxfunc.C (dispatch): add a missing fitCursor call.
12660
12661         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12662         it was scrolled by a cursor move, so return the bool status.
12663
12664         * BufferView.C (fitCursor): return the bool flag also to the outside
12665         world as this is needed.
12666
12667         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12668
12669         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12670         call the edit() as it is not needed (and wrong) IMO.
12671         (workAreaButtonPress): set the screen_first variable before evt.
12672         unlock the inset as this may change screen_first and then we have
12673         a wrong y position for the click!
12674
12675 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12676
12677         * MenuBackend.C (expand): another translation that I missed
12678
12679 2002-03-28  Juergen Vigna  <jug@sad.it>
12680
12681         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12682
12683         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12684
12685 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12686
12687         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12688
12689         * MenuBackend.C (expand): fix export/view/update when there is no
12690         document open.
12691
12692 2002-03-27  Herbert Voss  <voss@lyx.org>
12693
12694         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12695         and text%
12696
12697 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12698
12699         * bufferview_funcs.C (currentState): only show paragraph number
12700         for is DEVEL_VERSION is set.
12701
12702         * lyxfunc.C (dispatch): put warning in INFO channel
12703
12704         * MenuBackend.C (expand): translate the name of floats
12705
12706         * FloatList.C (FloatList): mark the float names for translation
12707
12708         * converter.C (convert): use LibScriptSearch
12709
12710 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12711
12712         * MenuBackend.C (defaults): fix default menu (we might as well get
12713         rid of it...)
12714
12715 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12716
12717         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12718         directory.
12719
12720 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12721
12722         * lyxvc.C: reorder includes.
12723
12724 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12725
12726         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12727           properly
12728
12729 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12730
12731         * CutAndPaste.C: change layouts earlier on paste
12732           to avoid crashing when calling getFont()
12733
12734 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12735
12736         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12737         irritating #error.
12738
12739 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12740
12741         * WorkArea.C: remove 'Pending' debug message.
12742
12743         * most files: ws cleanup
12744
12745         * buffer.[Ch]: ws changes
12746
12747         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12748
12749 2002-03-21  Juergen Vigna  <jug@sad.it>
12750
12751         * tabular.C (SetMultiColumn): collapse also the contents of the
12752         cells and set the last border right. Added a Buffer const * param.
12753
12754 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12755
12756         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12757         linking or not.
12758
12759 2002-03-19  Juergen Vigna  <jug@sad.it>
12760
12761         * text2.C (clearSelection): reset also xsel_cache.
12762
12763         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12764         where it needs to be called (John tells us to do so too :)
12765         (selectionLost): reset sel_cache.
12766
12767         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12768
12769 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12770
12771         * text2.C (setCursorIntern): put debuging code in INSETS channel
12772
12773 2002-03-19  André Pönitz <poenitz@gmx.net>
12774
12775         * lyxfunc.C: tiny whitespace change
12776
12777 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12778
12779         * ToolbarDefaults.C (init):
12780         * LyXAction.C (init):
12781         * commandtags.h:
12782         * BufferView_pimpl.C (Dispatch):
12783         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12784
12785 2002-03-19  Allan Rae  <rae@lyx.org>
12786
12787         * exporter.C (Export): removeAutoInsets before doing anything else.
12788         While I've just introduced a dependency on BufferView this really is
12789         the best place to clean the buffer otherwise you need to cleanup in
12790         a dozen places before calling export or cleanup in a dozen functions
12791         that export calls.
12792
12793         * converter.C (runLaTeX):
12794         (scanLog): Better handling of removeAutoInsets and screen updates.
12795
12796         * lyxfunc.C (dispatch): small whitespace changes
12797
12798 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12799
12800         * WorkArea.C (C_WorkAreaEvent): return a value.
12801         (event_cb): return 1 if we handled the event, 0 otherwise.
12802
12803         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12804
12805 2002-03-18  Juergen Vigna  <jug@sad.it>
12806
12807         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12808         (GetAdditionalWidth): ditto.
12809         (RightLine): ditto.
12810         (LeftLine): ditto.
12811
12812         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12813         inset if we're there actually (probably not used right now but this
12814         is the direction to go for unifying code).
12815         (paste): disable code to clear the selection.
12816
12817         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12818         inside an InsetText and move the check further up as it is in the
12819         wrong place.
12820
12821         * text2.C (pasteSelection): set a selection over the pasted text.
12822
12823 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12824
12825         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12826         and libgraphics to build on Cygwin.
12827
12828 2002-03-15  Juergen Vigna  <jug@sad.it>
12829
12830         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12831         inserting an Inset into the paragraph. I know this is not the best
12832         fix but we already use current_view in CutAndPaste so we will remove
12833         all of it's using at the same time.
12834
12835         * buffer.C (sgmlError): deactivated function till it is rewritten in
12836         the right mode, now it can create problems.
12837
12838         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12839         before accessing it.
12840
12841 2002-03-14  Juergen Vigna  <jug@sad.it>
12842
12843         * undo_funcs.C (textHandleUndo): do the right thing when updating
12844         the inset after the undo/redo.
12845
12846         * text2.C (setCursor): just some testcode for #44 not ready yet.
12847
12848         * undo_funcs.C (textHandleUndo): set the next() and previous()
12849         pointers of the paragraph to 0 before deleting otherwise we have
12850         problems with the Paragraph::[destructor].
12851
12852         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12853         on a paragraph insertion.
12854
12855 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12856
12857         * buffer.C (asciiParagraph): use += operator for char append to
12858         string.
12859
12860         * paragraph.C (getFontSettings): compare >= not just >
12861         (highestFontInRange): ditto
12862         (setFont): ditto
12863
12864 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * paragraph.C: change several algorithm to be more appripriate for
12867         the problem domain. This is lookip in FontList and in the InsetList.
12868
12869 2002-03-13  André Pönitz <poenitz@gmx.net>
12870
12871         * commandtags.h:
12872         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12873
12874 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12875
12876         * commandtags.h:
12877         * LyXAction.C:
12878         * lyxfunc.C:
12879         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12880
12881 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12882
12883         * Painter.C (display): anon helper function, adjust code for this
12884         change.
12885         (pixmap): remove function.
12886
12887         * Painter.h: remove private display variable.
12888
12889         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12890
12891 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12892
12893         * WorkArea.[Ch]: remove figinset_canvas cruft.
12894
12895 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12896
12897         * lyxtextclass.C (operator): add one item cache optimization.
12898
12899         * bufferlist.h: doxy changes
12900
12901         * bufferlist.C: ws changes
12902
12903         * DepTable.[Ch] (ext_exist): place const in the right spot.
12904
12905         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12906         call resizeInsets.
12907         (workAreaExpose): call resizeInsets when the with BufferView changes.
12908         (Dispatch): adjust for protectedBlank removal
12909         (specialChar): call updateInset if the insert went ok.
12910
12911         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12912         specialChar instead.
12913
12914         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12915
12916         * BufferView.h: doxy change
12917
12918         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12919
12920         * lyxtextclass.C (operator[]): remove non-const version
12921         (defaultLayout): remove non-const version
12922
12923 2002-03-12  Juergen Vigna  <jug@sad.it>
12924
12925         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12926         did resize the LyXText too.
12927
12928         * buffer.C (readLyXformat2): set layout information on newly allocated
12929         paragraphs.
12930
12931         * tabular.C (OldFormatRead): set layout information on the paragraph.
12932
12933 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
12934
12935         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12936
12937 2002-03-11  Juergen Vigna  <jug@sad.it>
12938
12939         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12940         plainly wrong.
12941         (resizeCurrentBuffer): force also the insets to resize themselfes.
12942         (moveCursorUpdate): fixed up for InsetText.
12943
12944 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12945
12946         * commandtags.h:
12947         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12948         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12949         value of Dialogs::tooltipsEnabled().
12950         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12951
12952 2002-03-08  Juergen Vigna  <jug@sad.it>
12953
12954         * BufferView_pimpl.C (updateInset): update inset inside inset also
12955         if it isn't inside theLockingInset().
12956
12957 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12958
12959         * buffer.C (asciiParagraph): redo some of the word and line length
12960         handling.
12961         (getLists): look for Caption instead of caption.
12962
12963 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12964
12965         * buffer.C (Buffer): initialize niceFile to true
12966         (makeLaTeXFile):
12967         (makeLinuxDocFile):
12968         (makeDocBookFile): make sure niceFile is true on exit
12969
12970 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12971
12972         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12973
12974 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12975
12976         * LyXSendto.C: remove.
12977         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12978         * lyx_gui.C: remove now-redundant comment.
12979         * ColorHandler.h: remove forward declaration of class WorkArea.
12980         * lyxfunc.C: remove #include "WorkArea.h".
12981
12982 2002-03-07  Juergen Vigna  <jug@sad.it>
12983
12984         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12985         got moved away with the DEPM and also set the inset_owner always
12986         right which before could have been omitted.
12987
12988 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12989
12990         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12991         wanted layout is not found.
12992
12993 2002-03-07  Juergen Vigna  <jug@sad.it>
12994
12995         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12996
12997 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12998
12999         * paragraph.C (breakParagraph): use default layout not layout of
13000         prev paragraph.
13001         (Paragraph): clear ParagraphParameters.
13002
13003 2002-03-06  Juergen Vigna  <jug@sad.it>
13004
13005         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13006         otherwise it would not be a valid lenght. Fixed a special case in
13007         the minipage compatibility read where we end the document with a
13008         minipage.
13009
13010         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13011         was set as it could be 0 for InsetTexts first entry.
13012
13013 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13014
13015         * paragraph.C (writeFile): if layout is empty write out
13016         defaultLayoutName().
13017
13018         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13019         file without named layout we set layout to defaultLayoutName().
13020
13021 2002-03-06  Juergen Vigna  <jug@sad.it>
13022
13023         * CutAndPaste.C (copySelection): set layout for new paragraph.
13024
13025         * text.C (prepareToPrint): leave ERT inset left aligned
13026         (leftMargin): don't indent paragraphs inside ERT insets
13027
13028 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13029
13030         * paragraph.C (breakParagraph): dont call clear do the work manually
13031
13032         * paragraph.[Ch] (clear): remove function
13033
13034 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13035
13036         * paragraph.C (Paragraph): dont call clear, the work has already
13037         been done.
13038
13039         * lyxtextclass.C (operator): assert if n is empty
13040
13041         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13042         work manually instead.
13043
13044 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13045
13046         * BufferView_pimpl.C: protect selectionLost against text == 0
13047
13048 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13049
13050         * text.C (breakParagraph): fix a setting layout to '0' problem.
13051
13052 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13053
13054         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13055         final location of file, for the included files, and graphics.
13056
13057 2002-03-05  Juergen Vigna  <jug@sad.it>
13058
13059         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13060
13061 2002-03-04  Juergen Vigna  <jug@sad.it>
13062
13063         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13064
13065         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13066         last column of multicolumn cells.
13067         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13068
13069 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13070
13071         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13072         file if it doesn't go to a temporary file.
13073
13074         * buffer.C (sgmlOpenTag):
13075         (sgmlCloseTag):  remove extra newline insertion.
13076
13077 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13078
13079         * text.C (getRowNearY): comment out debug msg
13080
13081 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13082
13083         * text2.C: first -> first_y
13084
13085         * text.C (getRowNearY): add some attemts at a possible
13086         optimization, not working.
13087
13088         * tabular.[Ch]: add BufferParams to several function so that newly
13089         created paragraph can be initialized to he default layotu for the
13090         buffers textclass.
13091
13092         * tabular-old.C (ReadOld): add buf->params to call of Init
13093
13094         * screen.C: rename text->first to text->first_y
13095
13096         * paragraph.C (breakParagraph): always set layout in the broken
13097         paragraph
13098
13099         * lyxtextclass.C (Read): remove lowercase
13100         (hasLayout): ditto
13101         (operator): ditto
13102         (delete_layout): ditto
13103
13104         * lyxtext.h: rename first -> first_y
13105
13106         * lyxlayout.C (Read): remove lowercase
13107         (name): ditto
13108         (setName): ditto
13109         (obsoleted_by): ditto
13110
13111         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13112
13113         * buffer.C (insertErtContents): add params are to InsetERT
13114         (parseSingleLyXformat2Token): add code to check if a paragraphs
13115         layout really exist.
13116         (parseSingleLyXformat2Token): add params to several inset
13117         constructors
13118         (asciiParagraph): remove lowercase, do the layout comparisons with
13119         no_case
13120
13121         * BufferView_pimpl.C (cursorNext): first -> first_y
13122         (resizeCurrentBuffer): first -> first_y
13123         (updateScrollbar): first -> first_y
13124         (scrollCB): first -> first_y
13125         (workAreaMotionNotify): first -> first_y
13126         (workAreaButtonPress): first -> first_y
13127         (checkInsetHit): first -> first_y
13128         (cursorPrevious): first -> first_y
13129         (cursorNext): first -> first_y
13130         (Dispatch): add buffer_->params to severl inset contructors
13131
13132 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13133
13134         * lyxlayout.C (Read): remove some debug info that I forgot.
13135
13136         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13137         clean up the code slightly.
13138         (makeLinuxDocFile): ditto
13139         (makeDocBookFile): ditto
13140
13141         * text2.C: layout as string
13142
13143         * text.C: layout as string
13144
13145         * paragraph_pimpl.C: layout as string
13146
13147         * paragraph.[Ch]: layout as string
13148
13149         * lyxtextclasslist.[Ch]: layout as string
13150
13151         * lyxtextclass.[Ch]: layout as string
13152
13153         * lyxtext.h: layout as string
13154
13155         * lyxlayout.[Ch]: layout as string
13156
13157         * lyx_cb.C: layout as string
13158
13159         * bufferview_funcs.C: layout as string
13160
13161         * bufferparams.C: layout as string
13162
13163         * buffer.C: layout as string
13164
13165         * LyXView.[Ch]: layout as string
13166
13167         * LaTeXFeatures.[Ch]: layout as string
13168
13169         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13170
13171         * BufferView_pimpl.C: change current_layout to string, remove
13172         lyx::layout_type.
13173         (Dispatch):
13174         (smartQuote):
13175         (insertInset):
13176         (workAreaButtonRelease): layout as string
13177
13178         * BufferView2.C (unlockInset): adjust
13179
13180         * vspace.C (asLatexCommand): use an explict temp variable.
13181
13182 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13183
13184         * Makefile.am: use FRONTEND_*
13185
13186 2002-03-01  Juergen Vigna  <jug@sad.it>
13187
13188         * tabular.C (SetWidthOfMulticolCell): changed to something better
13189         I hope but still work in progress.
13190         (recalculateMulticolumnsOfColumn): renamed function from
13191         recalculateMulticolCells as it is more appropriate now.
13192         (SetWidthOfCell): calculate multicols better.
13193
13194 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13195
13196         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13197
13198         * lyxfunc.C (processKeySym): print sequence also if it is
13199         `deleted' (complete)
13200
13201         * kbsequence.C (print): print sequence even if it is deleted
13202         (complete would be a better word, actually).
13203
13204         * lyxfunc.C (dispatch): print complete options after a prefix key
13205
13206         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13207
13208 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13209
13210         * text2.C (setCharFont): eliminate setCharFont code duplication.
13211
13212 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13213
13214         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13215         LFUN_TABULAR_FEATURE (bug #177)
13216
13217 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13218
13219         * Makefile.am: remove figure.h
13220
13221 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13222
13223         * Bufferview_pimpl.C:
13224         * CutAndPasteC:
13225         * LaTeX.C:
13226         * LyXSendto.C:
13227         * buffer.C:
13228         * bufferlist.C:
13229         * converter.C:
13230         * language.C:
13231         * lyxfunc.C:
13232         * lyxvc.C:
13233         * paragraph.C:
13234         * text.C:
13235         * text2.C: remove #include "lyx_gui_misc.h".
13236
13237         * LaTeX.C: added #include <cstdio>
13238
13239 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13240
13241         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13242         that the paragraph following this one can have.
13243
13244         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13245
13246         * vspace.C (asLatexCommand): fix bogus gcc warning
13247
13248         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13249
13250 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13251
13252         * text2.C (setLayout): get rid of redundant code
13253
13254 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13255
13256         * text2.C (incDepth): make sure depth cannot be increased beyond
13257         reasonable values.
13258
13259 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13260
13261         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13262         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13263
13264         * PainterBase.h (image):
13265         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13266         a LyXImage const *.
13267
13268 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13269
13270         * BufferView.C:
13271         * BufferView.h:
13272         * BufferView_pimpl.C:
13273         * BufferView_pimpl.h:
13274         * LaTeXFeatures.C:
13275         * LyXAction.C:
13276         * LyXView.C:
13277         * Makefile.am:
13278         * UpdateList.h:
13279         * UpdateList.C:
13280         * buffer.C:
13281         * figure.h:
13282         * figureForm.C:
13283         * figureForm.h:
13284         * figure_form.C:
13285         * figure_form.h:
13286         * lyx_cb.C:
13287         * lyx_gui.C:
13288         * lyx_gui_misc.C:
13289         * lyxfunc.C:
13290         * sp_base.h:
13291         * sp_ispell.h:
13292         * sp_pspell.h:
13293         * sp_spell.C: remove fig inset, and the crap house of
13294           cards that follows it
13295
13296 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13297
13298         * Makefile.am:
13299         * lyxserver.C:
13300         * os2_defines.h:
13301         * os2_errortable.h:
13302         * nt_defines.h: move .h into support/
13303
13304         * vms_defines.h: remove
13305
13306         * WorkArea.C: add space in debug output
13307
13308         * text2.C:
13309         * paragraph.C:
13310         * buffer.C: add WITH_WARNINGS
13311
13312         * vc-backend.h:
13313         * vc-backend.C:
13314         * bufferlist.C: s/retrive/retrieve/, add docs
13315
13316         * vspace.h:
13317         * vspace.C:
13318         * kbmap.h:
13319         * lyxlength.h:
13320         * lyxgluelength.h:
13321         * length_common.h:
13322         * chset.h:
13323         * chset.C: add docs
13324
13325         * lyxgui.C: add ID to X error handler
13326
13327         * lyxtestclass.c: fix typo
13328
13329 2002-02-26  Juergen Vigna  <jug@sad.it>
13330
13331         * tabular_funcs.C (write_attribute): changed so that some default
13332         attributes are not written at all.
13333         (getTokenValue): set default values before trying to read the
13334         value so we have the return value always set as default if we don't
13335         find the token we search for.
13336
13337         * tabular.C (Write): write bools as bools not as strings!
13338
13339 2002-02-22  Juergen Vigna  <jug@sad.it>
13340
13341         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13342         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13343
13344         * text.C (leftMargin): don't add an indent for paragraphs inside
13345         tabular cells (fix #208).
13346
13347 2002-02-21  José Matos  <jamatos@fep.up.pt>
13348
13349         * tabular.C (docBook): fixed support for long tables.
13350
13351 2002-02-20  Juergen Vigna  <jug@sad.it>
13352
13353         * text2.C (getFont): get the drawing font of the Inset if this
13354         paragraph is inside an inset (only important for InsetERT for now).
13355
13356         * buffer.C (insertErtContents): use new lanugage params in ERT
13357         constructor.
13358
13359         * CutAndPaste.C: commenting out seemingly uneeded code.
13360
13361 2002-02-19  Allan Rae  <rae@lyx.org>
13362
13363         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13364         Iterators might be simple to use but they also get invalidated.
13365         (removeAutoInsets): renamed saved cursor tracking variables and added
13366         some comments to clarify what everything does.
13367
13368 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13369
13370         * Chktex.C:
13371         * LaTeX.C:
13372         * LyXSendto.C:
13373         * converter.C:
13374         * lyx_cb.C:
13375         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13376         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13377
13378         * lyxfunc.C:
13379         * vc-backend.h: remove #include "support/syscall.h"
13380
13381         * LaTeX.C:
13382         * LyXSendto.C:
13383         * converter.C: rearrange #includes in Lars' approved fashion.
13384
13385         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13386         forward declare class Timeout in the header file.
13387
13388         * XFormsView.C: changes due to the above.
13389
13390         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13391         similar to LyXView.
13392
13393         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13394         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13395
13396 2002-02-18  José Matos  <jamatos@fep.up.pt>
13397
13398         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13399         insets contents.
13400
13401 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13402
13403         * a lot of small ws changes
13404         * add a lot of using std::XXX
13405         * use std construcs some places where approp.
13406         * use some exisint stuff from lyxfunctional where approp.
13407         * Make file changes to use partial linking (lets test this now...)
13408
13409 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13410
13411         * Chktex.C:
13412         * buffer.C:
13413         remove #include "support/syscontr.h" as it's redundant. Always has been.
13414
13415         * Chktex.C:
13416         * LaTeX.C:
13417         * LyXSendto.C:
13418         * converter.C:
13419         * lyx_cb.C:
13420         * vc-backend.C:
13421         change Systemcalls::System to Systemcalls::Wait and
13422         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13423         No change of functionality, just reflects the stripped down Systemcalls
13424         class.
13425
13426 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13427
13428         * debug.[Ch]: add a GRAPHICS type to the enum.
13429
13430 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13431
13432         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13433
13434         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13435         there is an inset.
13436
13437 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13438
13439         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13440         match the changes below.
13441
13442         * text2.C (toggleInset): if there is not editable inset at cursor
13443         position, try to see if cursor is _inside_ a collapsable inset
13444         and close it.
13445
13446 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13447
13448         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13449         document menu has a nice checkbox
13450
13451 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13452
13453         * lyxlength.C (asLatexString): change PW to output as percent of
13454         \textwidth.
13455
13456         * lengthcommon.C: change '%' to 't%'
13457
13458         * lyxfunc.C (dispatch): a few comments from Martin
13459
13460 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13461
13462         * WorkArea.h:
13463         * WorkArea.C:
13464         * BufferView_pimpl.h:
13465         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13466           the X selection.
13467
13468 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13469
13470         * vspace.C (inPixels): fix compiler warning
13471
13472 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13473
13474         * lyxfunc.C (getStatus): fix status message for disabled commands.
13475
13476 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13477
13478         * BufferView_pimpl.C: fix crash on close buffer
13479         during selection (#227)
13480
13481 2002-01-27  Herbert Voss  <voss@lyx.org>
13482
13483         * buffer.C: link old Figure to new graphic inset
13484
13485 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13486
13487         * FontLoader.C (getFontinfo): Change the latex font names in order
13488         to match the names of type1inst.
13489
13490 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13491
13492         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13493
13494         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13495         (extchanged): ditto
13496         (ext_exist): ditto
13497         (remove_files_with_extension): ditto
13498         (remove_file): ditto
13499         (write): ditto
13500
13501         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13502         document is smaller than the work area height. Do not initialize
13503         static variables to 0.
13504
13505 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13506
13507         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13508
13509         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13510         LFUN_LAYOUT_PARAGRAPHS.
13511
13512         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13513         tabular. It is possible to provide a possible cell, which will
13514         typically be the actcell from the corresponding insettabular
13515
13516         * lyxfunc.C (getStatus): small cleanup; disable
13517         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13518         true
13519
13520 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13521
13522         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13523
13524         * paragraph.C (startTeXParParams):
13525         (endTeXParParams): new methods. The LaTeX code to
13526         start/end paragraph formatting
13527         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13528         empty (fixes bug #200)
13529
13530         * vspace.C (inPixels): adapt to the change below
13531         (inPixels): [later] more cleanups (remove unused variables)
13532
13533         * lyxlength.C (inPixels): change to use a width and a height as
13534         parameter.
13535
13536 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13537
13538         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13539         Replaced with \paperwidth
13540
13541         * DepTable.C (insert): add std:: qualifier
13542
13543 2002-01-18  Allan Rae  <rae@lyx.org>
13544
13545         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13546         updated also?
13547
13548         * text.C (drawInset): Turned out I didn't know enough about how
13549         rebreaking worked.  This fixes most of the redraw problems.  I see
13550         an occasional cursor trail when a line is broken now and the cursor
13551         placement can seem out by a few pixels also after a rebreak.
13552
13553 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13554
13555         * buffer.C (parseSingleLyXformat2Token): update because minipage
13556         width is now a LyXLength
13557
13558         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13559
13560         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13561         math insets
13562
13563 2002-01-17  Juergen Vigna  <jug@sad.it>
13564
13565         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13566
13567         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13568         is set correctly and the inset is updated correctly.
13569
13570 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13571
13572         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13573         the beginning of the loop.
13574
13575 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13576
13577         * lyxrc.C: improve help for use_scalable_fonts
13578
13579 2002-01-17  Allan Rae  <rae@lyx.org>
13580
13581         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13582
13583 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13584
13585         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13586         make sure to set their inset_owner to the right value (bug #171)
13587
13588 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13589
13590         * DepTable.h
13591         * DepTable.C: Implement mtime checking to reduce time spent doing
13592         CRCs.
13593
13594 2002-01-16  Juergen Vigna  <jug@sad.it>
13595
13596         * tabular.C (GetAdditionalHeight): one of error fixed.
13597
13598         * lyxrc.C (output): small fix in writing use_pspell.
13599
13600 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13601
13602         * sp_base.h: #include LString.h
13603
13604 2002-01-16  Allan Rae  <rae@lyx.org>
13605
13606         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13607         Can someone check this please?
13608
13609         * text.C (drawInset): It was possible that p.row would be removed by
13610         breakAgainOneRow upsetting a few other settings.  There may be another
13611         small tweak possible by setting need_break_row = 0 when p.row has been
13612         removed but I don't know enough about the logic here.
13613
13614 2002-01-15  Allan Rae  <rae@lyx.org>
13615
13616         * text.C (insertChar): removed conditional truism.
13617
13618         * BufferView2.C (removeAutoInsets): More tweaks.
13619         cur_par_prev could be a stray pointer.  Check for trailing empty line
13620         in case last line was cur_par and only had an error inset on it.
13621
13622 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13623
13624         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13625         absolute
13626
13627         * vc-backend.C (most methods):
13628         * exporter.C (Export):
13629         * converter.C (convert):
13630         (runLaTeX):
13631         * LyXSendto.C (SendtoApplyCB):
13632         * lyxfunc.C (dispatch):
13633         (menuNew):
13634         (open):
13635         (doImport):
13636         * lyx_cb.C (AutoSave):
13637         (InsertAsciiFile):
13638         * BufferView_pimpl.C (MenuInsertLyXFile):
13639         * buffer.C (runChktex): use Buffer::filePath().
13640
13641         * buffer.h: rename filename to filename_; rename filepath to
13642         filepath_ and make it private
13643         (filePath): new method
13644
13645         * buffer.C (writeFile): use fileName()
13646         (getLatexName):
13647
13648         * lyx_main.C (init): fix starting  of LyX when the binary is a
13649         link from so,ewhere else.
13650
13651         * minibuffer.C: include <cctype> for isprint
13652
13653 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13654
13655         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13656         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13657         name clash with InsetCollapsable's width function.
13658
13659 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13660
13661         * lastfiles.C: include <iterator>
13662
13663 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13664
13665         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13666         std::count.
13667
13668         * buffer.C (makeLaTeXFile): ditto.
13669         Also make loop operation more transparent.
13670
13671 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13672
13673         * ToolbarDefaults.C: remove trailing comma closing namespace.
13674
13675         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13676
13677         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13678         as in WorkArea.
13679
13680         * trans.C (Load): comment out unused variable, allowed.
13681
13682 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13683
13684         * minibuffer.[Ch] (append_char): new method to recieve input from the
13685         drop-down completion browser. If a key was pressed, then recieve this
13686         char and append it to the existing string.
13687         (peek_event): modify the positioning data passed to the completion
13688         browser so that it can be placed above the minibuffer rather than below.
13689 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13690
13691         * LyXAction.C (init): alloe error-next for readonly documents.
13692
13693         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13694         count.
13695
13696 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13697
13698         * bufferlist.C (readFile): create the buffer _after_ checking that
13699         the file exists.
13700
13701         * lyxfunc.C (verboseDispatch): fix handling of arguments
13702
13703         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13704
13705         * lyxrc.C: use string::erase() instead of initializing to "".
13706
13707
13708 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13709
13710         * BufferView_pimpl.h:
13711         * BufferView_pimpl.C:
13712         * WorkArea.h:
13713         * WorkArea.C:
13714         * text2.C: tell X when we have made a selection for copying
13715
13716 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13717
13718         * BufferView_pimpl.C (MenuInsertLyXFile):
13719         * lyxfunc.C (menuNew):
13720         (open):
13721         (doImport): add shortcuts to directory buttons
13722
13723         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13724         open a float)
13725
13726         * lyxfunc.C (setStatusMessage):
13727         (getStatusMessage): new methods
13728         (getStatus):use setStatusMessage instead of setErrorMessage
13729         (dispatch): when function is disabled, set error message here
13730         [instead of in getStatus previously]
13731
13732         * BufferView_pimpl.C (workAreaButtonRelease): update
13733         toolbar/menubar here too.
13734
13735 2002-01-13  Allan Rae  <rae@lyx.org>
13736
13737         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13738         Now seems indestructible.  Remaining task is to audit all other
13739         code affected by deleteEmptyParagraphMechanism.  One small quirk
13740         left is that an empty document with an error in the preamble can
13741         be made to report an error but no error box appears.  I don't know
13742         where it goes.
13743         (removeAutoInsets): Improved comments.
13744
13745 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13746
13747         * Thesaurus.h:
13748         * Thesaurus.C: update for Aiksaurus 0.14
13749
13750 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13751
13752         * text2.C (firstParagraph): removed member function, all uses
13753         replaces with ownerParagraph
13754         (redoParagraphs): here
13755         (updateInset): here
13756         (toggleAppendix): here
13757         * BufferView2.C (insertErrors): here
13758         (setCursorFromRow): here
13759
13760 2002-01-13  Allan Rae  <rae@lyx.org>
13761
13762         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13763         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13764         There is still a way to segfault this although you may have to do this
13765         multiple times: Have an InsetERT with an unknown command in it.
13766         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13767         <down-arrow>, <Enter> again, View->DVI, BANG!
13768
13769         * text2.C (setCursor):
13770         (deleteEmptyParagraphMechanism):
13771         * lyxtext.h (setCursor):
13772         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13773         Making use of the return value may help fix other bugs.
13774
13775 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13776
13777         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13778
13779         * LyXView.C (updateMenubar): call MenuBar::update here
13780         (updateToolbar): but not here
13781         (showState): do not update toolbar/menubar
13782
13783         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13784         should need to care about that.
13785
13786         * lyxfunc.C (verboseDispatch): simplify a bit
13787         (getStatus): have a version which takes a pseudoaction, and
13788         another which requires a (kb_action,string).
13789
13790         * LyXAction.C (retrieveActionArg): make it work also when action
13791         is not a pseudo-action.
13792         (getActionName): simplify a bit
13793         (helpText):
13794
13795 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13796
13797         * lyxfunc.C (verboseDispatch): new families of methods with
13798         several ways to specify a command and a bool to indicate whether
13799         the command name and shortcut should be displayed in minibuffer
13800         (eventually, we could extend that to a finer bitmask like
13801         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13802         (dispatch): the pristine dispatch command which just, well,
13803         dispatchs! Note it still sets its result to minibuffer; I'm not
13804         sure we want that.
13805
13806         * lyxfunc.h: remove setHintMessage
13807
13808         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13809
13810 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13811
13812         * BufferView_pimpl.C (specialChar): delete new inset if we have
13813         not been able to insert it.
13814
13815         * kbmap.C: revert to using int instead of kb_action, since all we
13816         are dealing with is pseudo-actions.
13817
13818         * LyXAction.C (searchActionArg): change to return int instead of
13819         kb_action, since the result is a pseudoaction.
13820
13821 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13822
13823         * buffer.C (insertErtContents): Fix (partially) the font bug.
13824
13825 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13826
13827         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13828         as the other one is broken on my machine!
13829
13830 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13831
13832         * commandtags.h:
13833         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13834
13835 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13836
13837         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13838         reflect their actual use. Provide compatibility code for older lyxrc
13839         files.
13840
13841         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13842         FL_NORMAL_STYLE.
13843         change names of popup font variables in line with the changes to lyxrc.C
13844
13845 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13846
13847         * buffer.C (asciiParagraph): avoid outputing a word twice after
13848         an inset.
13849
13850         * lyxrc.C (getDescription): document that document_path and
13851         template_path can be empty.
13852
13853 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13854
13855         * LaTeXFeatures.C (getMacros):
13856         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13857
13858         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13859
13860         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13861         getPackages.
13862         (getPackages): rename feature "floats" to "float". Use an array to
13863         iterate over 'simple' features (i.e. just a \usepackage). Add
13864         handling of "amsmath" (renamed from "amsstyle").
13865
13866 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13867
13868         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13869         features list.
13870
13871 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13872
13873         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13874         FuncStaus::FuncStatus & FuncStaus::some_method().
13875
13876 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13877
13878         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13879         of the func_satus stuff. Edited and massaged in various ways by
13880         JMarc.
13881
13882         * lyxfunc.C (getStatus): use FuncStatus
13883
13884 2002-01-08  Juergen Vigna  <jug@sad.it>
13885
13886         * text.C (nextBreakPoint): use function Inset::isChar().
13887
13888         * paragraph.C (TeXOnePar): use function
13889         Inset::forceDefaultParagraphs.
13890
13891         * buffer.C (latexParagraphs): use function
13892         Inset::forceDefaultParagraphs.
13893
13894 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13895
13896         * lyx_gui.C (init): set the style of the menu popups to
13897         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13898
13899 2002-01-07  Juergen Vigna  <jug@sad.it>
13900
13901         * text.C (setHeightOfRow): small fix
13902         (prepareToPrint): don't look at alignment if we don't have the place
13903         for doing it.
13904
13905 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13906
13907         * box.C: New file. Move the Box methods and functions out of box.h,
13908         following Lars' suggestion.
13909
13910 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13911
13912         * box.h: #include "support/LOstream.h", needed for inlined function.
13913
13914         * lyxtextclass.C:
13915         * lyxtextclasslist.C: added some using std declarations.
13916
13917 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13918
13919         * box.h: make signed dimensions to allow insets wider than
13920           the screen (bug #162)
13921
13922         * BufferView_pimpl.C: add some insetHit debug
13923
13924 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13925
13926         * vc-backend.C: add FIXME
13927
13928 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13929
13930         * lyxfunc.C (getStatus): enable code for showing math font status
13931         in toolbar/menu.
13932
13933 2002-01-07  Juergen Vigna  <jug@sad.it>
13934
13935         * text.C (nextBreakPoint): removed debug output not needed anymore.
13936
13937 2002-01-06  Juergen Vigna  <jug@sad.it>
13938
13939         * text.C (nextBreakPoint): fixed up this function we had this bug
13940         since ever but now hopefully we break row better.
13941         (insertChar): we have to check if an inset is the next char as it
13942         could now happen that a large inset is causing a break.
13943
13944 2002-01-05  Juergen Vigna  <jug@sad.it>
13945
13946         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13947         if it doesn't like to be drawed.
13948
13949 2002-01-04  Juergen Vigna  <jug@sad.it>
13950
13951         * BufferView2.C (lockInset): forgot to set a cursor.
13952
13953         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13954
13955 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13956
13957         * FormMathsPanel.C:
13958         * FormMathsPanel.h
13959         * MathsSymbols.C:
13960         * form_maths_panel.C:
13961         * form_maths_panel.h:
13962         * form_maths_panel.fd: implemented sub- and super- buttons in math
13963         panel.
13964
13965         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13966         (or ^ space) to be used as in TeX (req'd by Andr�.
13967
13968         * lyxfunc.C: Allow ^ and _ again to be used both as
13969         super/subscript (mathed) and as themselves (in text).
13970
13971 2002-01-03  Allan Rae  <rae@lyx.org>
13972
13973         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13974         "LyX" or the filename of the current buffer if it has one.  This is a
13975         modified form of John Levon's patch.
13976
13977         * XFormsView.C (setWindowTitle): also set icon title.
13978
13979         * LyXView.h (setWindowTitle): signature changed.
13980         * XFormsView.h (setWindowTitle): ditto.
13981
13982 2002-01-02  Juergen Vigna  <jug@sad.it>
13983
13984         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13985
13986 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13987
13988         * screen.C (topCursorVisible): introduce a temp var for
13989         text->cursor.row(), handle the case where this row is null. (kindo
13990         hachish)
13991
13992         * text2.C (setCursor): add a couple of asserts.
13993
13994         * paragraph.h (inset_iterator): add -> operator
13995
13996         * paragraph.[Ch] (autoDeleteInsets): remove member function
13997
13998         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13999         cursor pos correctly and handle inset deletion by itself.
14000         (insertErrors): move iterator declaration out of for expression
14001
14002         * lyxtextclass.C: add <algorithm>
14003
14004         * Makefile.am: added the new files to sources, removed layout.C
14005
14006         * layout.C: removed file
14007
14008         * layout.h: remove LYX_DUMMY_LAYOUT
14009
14010         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14011         layout.
14012
14013         * lyxlayout.[Ch]:
14014         * lyxtextclass.[Ch]:
14015         * lyxtextclasslist.[Ch]: new files
14016
14017         * include order changes to a lot of files, also changes because of
14018         the six new files.
14019
14020 2001-12-27  Juergen Vigna  <jug@sad.it>
14021
14022         * buffer.C (asciiParagraph): more fixes.
14023
14024         * tabular.C (ascii): make ascii export support export of only the
14025         data separated by a column-delimiter.
14026         (ascii): better support for ascii export.
14027
14028         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14029
14030 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14031
14032         * tabular_funcs.C: use a "using std::getline" instead of the
14033         previous fix from Angus (necessary for cxx + lyxstring)
14034
14035 2001-12-24  Juergen Vigna  <jug@sad.it>
14036
14037         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14038
14039         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14040         problems. First check a minipage also if we have some ert-contents
14041         (not only on par->size(), second set the right depth of the paragraph
14042         on the relink to the root-paragraph-list!
14043
14044         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14045         which then did not anymore update the main paragraphs on undo/redo!
14046
14047 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14048
14049         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14050         code. Support all font-changing funcs (even those which are not in
14051         menu currently). Support for reporting font settings in
14052         mathed (disabled until Andre provides a function on mathed's side).
14053
14054         * func_status.h (toggle): small helper function to set toggle
14055         state on a flag.
14056
14057 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14058
14059         * tabular_funcs.C: getline -> std::getline
14060
14061 2001-12-21  Juergen Vigna  <jug@sad.it>
14062
14063         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14064         accessed and could be 0 (I couldn't generate this but it seems
14065         Michael could!).
14066
14067 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14068
14069         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14070         * tabular_funcs.h: here and include iosfwd
14071
14072 2001-12-20  Juergen Vigna  <jug@sad.it>
14073
14074         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14075         inside inset but undo_par was.
14076
14077 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14078
14079         * Thesaurus.C: always include <config.h> in sources.
14080
14081         * Painter.h:
14082         * lyxlookup.h:
14083         * box.h: do not include <config.h> in header files
14084
14085         * text.C (paintLastRow): remove unused variable
14086
14087         * text.C (transformChar):
14088         (insertChar):
14089         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14090
14091         * Painter.C (text):
14092         * font.C (width): rewrite to use uppercase() instead of
14093         islower/toupper.
14094
14095         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14096
14097 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14098
14099         * lyxfind.C: clean up of find failure position change
14100
14101 2001-12-20  Juergen Vigna  <jug@sad.it>
14102
14103         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14104
14105         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14106         (TeXRow): added to LaTeX a single tabular row.
14107         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14108         (Latex): simplified and finally good LT-h/f support.
14109         (various_functions): just small adaptions for LT-h/f support.
14110
14111         * tabular_funcs.[hC]: added and moved here all not classfunctions
14112         of LyXTabular.
14113
14114 2001-12-19  Juergen Vigna  <jug@sad.it>
14115
14116         * tabular.[Ch]: better support for longtabular options (not finished
14117         yet!)
14118
14119 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14120
14121         * text.C (paintLastRow): use the label font instead of the font of
14122         the last character to compute the size of *_BOX. This makes more
14123         sense and avoids a crash with empty paragraphs.
14124         Use Painter::rectangle to draw EMPTY_BOX.
14125
14126 2001-12-19  Juergen Vigna  <jug@sad.it>
14127
14128         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14129         the paragraphs if the replaced paragraph is not the first one!
14130         Tried to delete not used paragraphs but does not work yet so for
14131         now it's inside #ifdef's and by default off!
14132
14133 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14134
14135         * MenuBackend.C: include "lyx_main.h" instead of declaring
14136         lastfiles (actually was declared as LastFiles* instead of a
14137         scoped_ptr).
14138
14139 2001-12-17  Juergen Vigna  <jug@sad.it>
14140
14141         * tabular.C (AppendColumn): applied John's fix
14142
14143 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14144
14145         * BufferView.h:
14146         * BufferView.C:
14147         * BufferView_pimpl.h:
14148         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14149
14150         * Makefile.am:
14151         * box.h: new start of class for above
14152
14153         * lyxfunc.C: ignore space-only minibuffer dispatches.
14154           Show the command name when it doesn't exist
14155
14156         * minibuffer.C: don't add empty lines to the history
14157
14158         * minibuffer.C: add a space on dropdown completion
14159
14160 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14161
14162         * text.C: fix line above/below drawing in insets
14163
14164 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14165
14166         * lyxlength.C (LyXLength): Initialize private variables.
14167
14168 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14169
14170         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14171         when inserting error insets.
14172
14173 2001-12-13  Juergen Vigna  <jug@sad.it>
14174
14175         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14176         actually sometimes the before-paragraph.
14177         (setUndo): don't clear the redostack if we're not actually undoing!
14178
14179 2001-12-06  Juergen Vigna  <jug@sad.it>
14180
14181         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14182         and fixed redoing of main paragraph, so we can use it now ;)
14183
14184         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14185
14186 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14187
14188         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14189         Juergen's request
14190
14191 2001-12-13  André Pönitz <poenitz@gmx.net>
14192
14193         * undostack.[Ch]:
14194         * undo_func.C: minor cleanup
14195
14196 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14197
14198         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14199         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14200         font in urw-fonts package which is marked as -urw-fontspecific and
14201         does not work (incidentally, changing the encoding in the
14202         fonts.dir of this package to -adobe-fontspecific fixes the
14203         problem).
14204
14205         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14206         is a crash when undoing first paragraph (Juergen, please take a
14207         look). THis does not mean the undo fix is wrong, just that it
14208         uncovers problems.
14209
14210         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14211         the (Paragraph*) version when needed instead of duplicating the
14212         code.
14213
14214         * text.C (workWidth): use Inset::parOwner to find out where the
14215         inset has been inserted. This is a huge performance gain for large
14216         documents with lots of insets. If Inset::parOwner is not set, fall
14217         back on the brute force method
14218
14219         * paragraph_pimpl.C (insertInset):
14220         * paragraph.C (Paragraph):
14221         (cutIntoMinibuffer): set parOwner of insets when
14222         inserting/removing them
14223
14224         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14225
14226 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14227
14228         * commandtags.h:
14229         * LyXAction.C:
14230         * lyx_main.C:
14231         * lyxfunc.C:
14232         * mathed/formulabase.C:
14233         * mathed/math_cursor.[Ch]:
14234         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14235
14236
14237 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14238
14239         * lyxlength.[Ch] (operator!=): new function
14240
14241 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14242
14243         * text.C (workWidth): use Inset::parOwner to find out where the
14244         inset has been inserted. This is a huge performance gain for large
14245         documents with lots of insets. If Inset::parOwner is not set, fall
14246         back on the brute force method
14247
14248         * paragraph_pimpl.C (insertInset):
14249         * paragraph.C (Paragraph):
14250         (cutIntoMinibuffer): set parOwner of insets when
14251         inserting/removing them
14252
14253         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14254
14255 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14256
14257         * tabular-old.C (getTokenValue):
14258         * tabular.C (getTokenValue):
14259         (write_attribute): new versions for LyXLength
14260         (everywhere): adjust the use of widths
14261
14262         * tabular.h: change the type of widths from string to LyXLength
14263
14264 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14265
14266         * paragraph.C: fixed missing line number count when exporting
14267         Environments to LaTeX file
14268
14269         * buffer.C: added informational message for checking line numbers.
14270
14271 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14272
14273         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14274         paragraph, do the 'double space' part, but not the 'empty
14275         paragraph' one.
14276
14277         * text.C (workWidth): small optimization
14278         (getLengthMarkerHeight): use minimal size for negative lengths.
14279
14280 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14281
14282         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14283
14284         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14285
14286 2001-12-11  André Pönitz <poenitz@gmx.net>
14287
14288         * FontLoader.C:
14289         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14290
14291 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14292
14293         * text2.C: keep selection on a setFont()
14294
14295 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14296
14297         * lyx_cb.C: another bv->text misuse, from insert label
14298
14299 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14300
14301         * kbsequence.h:
14302         * kbsequence.C: re-instate nmodifier mask
14303
14304 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14305
14306         * lyx_main.h: make lyxGUI private.
14307
14308 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14309
14310         * lyxfind.C: place the cursor correctly on failed search
14311
14312 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14313
14314         * text.C (getLengthMarkerHeight): for small heights, the arrows
14315         are not always on top/bottom of the text
14316         (drawLengthMarker): smaller arrows; take the left margin in
14317         account; draw also vfills.
14318         (paintFirstRow):
14319         (paintLastRow): remove special code for vfill and standard spaces,
14320         since everything is handled in drawLengthMarker now.
14321
14322 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14323
14324         * buffer.C (insertErtContents): try to handle font and language
14325         interaction a bit better.g
14326
14327         * ColorHandler.C (updateColor): change the hash to cover the whole
14328         LColor enum, ws cleanup
14329         (getGCLinepars): ditto
14330         (getGCLinepars): only lookup in the linecache once.
14331
14332 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14333
14334         * iterators.C (operator++): Make the iterator more robust
14335
14336         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14337         (John's patch)
14338         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14339
14340 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14341
14342         * lyxtext.h:
14343         * text.C: better added space drawing
14344
14345 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14346
14347         * LyXView.C:
14348         * BufferView2.C: fix layout combo update on inset unlock
14349
14350 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14351
14352         * Makefile.am: don't compile unused files
14353
14354 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14355
14356         * lyxfunc.C:
14357         * commandtags.h:
14358         * LyXAction.C: remove old LFUN_LAYOUTNO
14359
14360 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14361
14362         * paragraph_pimpl.h:
14363         * paragraph_pimpl.C: isTextAt() doesn't need font param
14364
14365 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14366
14367         * lyxlex.h:
14368         * lyxlex.C: little cleanup
14369
14370 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14371
14372         * BufferView_pimpl.C: fix insertAscii for insets
14373
14374 2001-12-05  Juergen Vigna  <jug@sad.it>
14375
14376         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14377         set the right font on the "multi" paragraph paste!
14378
14379 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14380
14381         * trans_decl.h:
14382         * trans_mgr.[Ch]:
14383         * trans.[Ch]:
14384         * lyxgluelength.C:
14385         * lyxlength.C: remove out-commented code.
14386
14387         * BufferView_pimpl:
14388         * CutAndPaste.C:
14389         * DepTable.C:
14390         * buffer.C:
14391         * chset.C:
14392         * lastfiles.C:
14393         * lyxlex.C:
14394         * lyxlex_pimpl.C:
14395         * lyxserver.C:
14396         * screen.C:
14397         * tabular-old.C:
14398         * tabular.C:
14399         * text.C:
14400         * trans_mgr.C:
14401         * vc-backend.C: change "while(" to "while ("
14402
14403         * lyxlength.[Ch]: add zero function to check if length is zero or
14404         not
14405         * lyxgluelength.C: use it
14406
14407 2001-12-05  Allan Rae  <rae@lyx.org>
14408
14409         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14410         Works for 2.95.3, from what I understand of Garst's reports this should
14411         work for other g++ versions.  We're screwed if the abs(int) definition
14412         changed between bugfix releases of gcc.
14413
14414 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14415
14416         * text.C: fix chapter label offset !
14417
14418 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14419
14420         * lyxtext.h:
14421         * text.C: fix hfill at end of line, clean up
14422
14423 2001-12-04  Juergen Vigna  <jug@sad.it>
14424
14425         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14426         that we force an update of the inset and it's owners if neccessary.
14427
14428 2001-12-03  Juergen Vigna  <jug@sad.it>
14429
14430         * text.C (rowLast): simplified code
14431
14432 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14433
14434         * lyxfunc.C: fix show options on timeout
14435
14436 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14437
14438         * screen.C (topCursorVisible): scroll half a page when the cursor
14439         reached top of bottom of screen
14440
14441 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14442
14443         * minibuffer.C: deactivate on loss of focus
14444
14445 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14446
14447         * vspace.[Ch] (operator!=): add operator.
14448
14449 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14450
14451         * BufferView_pimpl.C: refuse to open an inset when
14452         there's a selection.
14453
14454 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14455
14456         * BufferView_pimpl.C: allow to click on RHS of full row insets
14457
14458 2001-11-30  Juergen Vigna  <jug@sad.it>
14459
14460         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14461         insets for undo reasons.
14462
14463 2001-11-28  André Pönitz <poenitz@gmx.net>
14464
14465         * vspace.[Ch]: cosmetical changes
14466
14467 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14468
14469         * LyXAction.h:
14470         * LyXAction.C:
14471         * lyxfunc.h:
14472         * lyxfunc.C:
14473         * kbmap.h:
14474         * kbmap.C:
14475         * lyxrc.C:
14476         * kbsequence.h:
14477         * kbsequence.C: part re-write of old kb code
14478
14479         * Painter.C:
14480         * WorkArea.C: remove Lgb_bug_find_hack
14481
14482 2001-11-30  José Matos <jamatos@fep.up.pt>
14483
14484         * buffer.C (makeDocBookFile): add a comment to point a hack.
14485         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14486         Fixed a double write of labels.
14487
14488 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14489
14490         * LaTeX.C:
14491         * LaTeX.h Fixed bug in LaTeX class where it would not
14492         re-run latex if no depfiles were changed, but the .dvi was removed.
14493
14494 2001-11-28  André Pönitz <poenitz@gmx.net>
14495
14496         * all the files from the change on 2001/11/26:
14497         use lyx::layout_type instead of LyXTextClass::size_type
14498         use lyx::textclass_type instead of LyXTextClassList::size_type
14499
14500 2001-11-29  Juergen Vigna  <jug@sad.it>
14501
14502         * text.C: added support for paragraph::isFreeSpacing()
14503
14504         * buffer.C: same as above
14505
14506         * paragraph.h: inserted isFreeSpacing() function to enable
14507         FreeSpacing inside InsetERT.
14508
14509         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14510         of the paragraph's in the cut/copy buffer to 0!
14511
14512         * text2.C (removeRow): remove the assert as it can!
14513
14514         * lyxtext.h: added helper function firstRow returning firstrow and
14515         made firstrow private again.
14516
14517         * BufferView2.C (lockInset): don't relock if we're already locked!
14518
14519         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14520         the only paragraph.
14521         (removeRow): added Assert::(firstrow)
14522
14523         * debug.C: forgot to add INSETTEXT here.
14524
14525 2001-11-28  Juergen Vigna  <jug@sad.it>
14526
14527         * sp_spell.C (initialize): changed error text to more general
14528         spellchecker command use (not only ispell!)
14529
14530         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14531
14532         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14533
14534 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14535
14536         * vspace.C: initialise lyxgluelength on failure
14537
14538 2001-11-28  Allan Rae  <rae@lyx.org>
14539
14540         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14541         declaration & definition that looks like a function declaration.
14542
14543 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14544
14545         * BufferView2.C (copy):
14546         (copyEnvironment): do not clear the selection when doing a copy.
14547
14548         * text.C (paintFirstRow): compilation fix
14549
14550 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14551
14552         * tabular.C (Latex): correct line count when writing latex.
14553
14554 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14555
14556         * paragraph_pimpl.h:
14557         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14558           bug a bit
14559
14560 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14561
14562         * text.C:
14563         * LColor.h:
14564         * LColor.C: change vfillline->added_space
14565
14566         * text.C: add markers and text for added space
14567
14568         * vspace.C: fix comment
14569
14570 2001-11-28  André Pönitz <poenitz@gmx.net>
14571
14572         * paragraph.C: whitespace changes
14573         * all the other files from the change on 2001/11/26:
14574         change *::pos_type into lyx::pos_type
14575
14576 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14577
14578         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14579         language of the document when inserting error insets.
14580
14581 2001-11-26  André Pönitz <poenitz@gmx.net>
14582
14583         * BufferView_pimpl.[Ch]:
14584         *       CutAndPaste.C:
14585         * buffer.[Ch]:
14586         * lyxcursor.[Ch]:
14587         * lyxfind.C:
14588         * lyxfunc.C:
14589         * lyxrow.[Ch]:
14590         * paragraph.[Ch]:
14591         * paragraph_pimpl.[Ch]:
14592         * sp_spell.C:
14593         * text.C:
14594         * text2.C: reduce header dependencies, introduce type for positions
14595
14596 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14597
14598         * <various>: change to use Alert.h
14599
14600 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14601
14602         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14603         when encountering an unknown token.
14604         (readLyXformat2): Show an error message if there were unknown tokens.
14605
14606 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14607
14608         * BufferView2.C:
14609         * BufferView_pimpl.C:
14610         * buffer.C:
14611         * paragraph.h:
14612         * text.C:
14613         * text2.C: use par->isInset()
14614
14615 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14616
14617         * paragraph_pimpl.h:
14618         * paragraph_pimpl.C: cleanup
14619
14620 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14621
14622         * text2.C (removeRow):
14623         * text.C (setHeightOfRow): remove useless (and costly) call to
14624         getRow.
14625
14626 2001-11-20  Allan Rae  <rae@lyx.org>
14627
14628         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14629         Now need Inset*::checkInsertChar() to return true for appropriate
14630         cases so that the characters in the minibuffer will actually be
14631         inserted.
14632
14633 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14634
14635         * text.C: change the order of the includes.
14636         (workWidth): initialize it at once.
14637         (workWidth): make maxw unsigned
14638         (setHeightOfRow): remove unused variable (inset)
14639         (selectSelectedWord): remove unused variable (inset)
14640         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14641
14642 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14643
14644         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14645         server is not running.
14646         (openConnection):
14647         (closeConnection): add debug info when server is disabled.
14648
14649         * ColorHandler.C (getGCForeground): send debug message to GUI
14650         channel.
14651
14652         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14653
14654         * kbmap.C (bind): modify because return conventions of
14655         kb_sequence::parse have changed.
14656
14657         * kbsequence.C (parse): only ignore spaces and not any stupid
14658         control character. This avoids tests like s[i] <= ' ', which are
14659         guaranteed to fail with 8bit characters and signed chars.
14660         Change return code to string::npos when there have been no error
14661         (0 was a bad idea when error is at first character)
14662
14663 2001-11-14  José Matos  <jamatos@fep.up.pt>
14664
14665         * buffer.h:
14666         * buffer.C (simpleDocBookOnePar): removed unused argument.
14667
14668 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14669
14670         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14671         insets which are part of a word. Paragraph::isLetter takes care of
14672         that now. Use Paragraph::isInset to identify insets.
14673         (selectSelectedWord): do not test for hyphenation break.
14674
14675         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14676         that protected spaces are considered as spaces.
14677
14678         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14679         Inset::isLetter.
14680
14681 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14682
14683         * lyxserver.h:
14684         * lyxserver.C: fix it. and small cleanup.
14685
14686 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14687
14688         * BufferView_pimpl.C: use inline helpers
14689
14690         * LaTeXFeatures.h:
14691         * LaTeXFeatures.C: fix typos
14692
14693         * Spacing.h:
14694         * Spacing.C: move spacing_string into class
14695
14696         * ToolbarDefaults.C: move stuff into namespace anon
14697
14698         * layout.h: update enum
14699
14700         * lyxfunc.C: use better debug
14701
14702         * minibuffer.h: fix typo
14703
14704         * debug.h:
14705         * debug.C:
14706         * WorkArea.C: add and use Debug::WORKAREA
14707
14708         * lyxtext.h:
14709         * text.C:
14710         * text2.C: code re-organisation, inline helpers
14711
14712 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14713
14714         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14715         std::vector.empty().
14716
14717 2001-11-09  Allan Rae  <rae@lyx.org>
14718
14719         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14720         '\n's after tables.  Tabular and ERT inset work now makes this no
14721         longer necessary.
14722
14723 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14724
14725         * minibuffer.h:
14726         * minibuffer.C: fix crash, improve drop-down completion
14727
14728 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14729
14730         * lyxserver.h:
14731         * lyxserver.C: invalidate fd's when doing endPipe()
14732
14733 2001-11-08  José Matos  <jamatos@fep.up.pt>
14734
14735         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14736         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14737
14738         * paragraph.h:
14739         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14740
14741 2001-11-07  José Matos  <jamatos@fep.up.pt>
14742
14743         * buffer.h:
14744         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14745         const qualifier.
14746
14747         * buffer.C (sgmlOpenTag):
14748         * buffer.C (sgmlCloseTag): removed debug info.
14749
14750         * buffer.h (sgmlOpenTag):
14751         * buffer.h (sgmlCloseTag): made public.
14752
14753 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14754
14755         * buffer.C (saveParamsAsDefaults):
14756         * lyx_cb.C (MenuLayoutSave): remove
14757
14758         * LyXAction.C (init):
14759         * commandtags.h:
14760         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14761
14762 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14763
14764         * buffer.C (setPaperStuff): removed from here...
14765
14766         * bufferparams.C (setPaperStuff): ... and moved there.
14767
14768 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14769
14770         * minibuffer.h:
14771         * minibuffer.C:
14772         * XFormsView.C: add support for drop-down completion
14773
14774 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14775
14776         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14777         commands.
14778
14779 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14780
14781         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14782         disabled.
14783
14784 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14785
14786         * lyx_main.C: change ref to known bugs
14787
14788 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14789
14790         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14791         to work around older babel problems.
14792
14793 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14794
14795         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14796
14797 2001-10-24  Juergen Vigna  <jug@sad.it>
14798
14799         * tabular-old.C (ReadOld): below variable changes reflected.
14800
14801         * tabular.[Ch]: added ltType struct for longtable header/footer
14802         defines and changed all instances where they are used. Added
14803         future support for double top/bottom rows.
14804
14805 2001-10-24  José Matos  <jamatos@fep.up.pt>
14806
14807         * buffer.h (docbookHandleCaption):
14808         * buffer.C (docbookHandleCaption): removed unused function.
14809         (makeDocBookFile): moved docbook supported version to v4.1.
14810
14811 2001-10-24  José Matos  <jamatos@fep.up.pt>
14812
14813         * tabular.h:
14814         * tabular.C (docbookRow): new function to export docbook code of a row.
14815         (DocBook): now honors the longtable flags.
14816
14817 2001-10-23  José Matos  <jamatos@fep.up.pt>
14818
14819         * LaTeXFeatures.h:
14820         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14821         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14822
14823         * buffer.C (makeLinuxDocFile):
14824         (makeDocBookFile): reworked the preamble, more clean, and with
14825         support for lyx defined entities. Changed the document declaration
14826         to be more XML friendly.
14827
14828         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14829         if we need to output XML that should be done with a filter.
14830
14831 2001-10-22  Juergen Vigna  <jug@sad.it>
14832
14833         * sp_pspell.h (class PSpell): add alive function needed in the
14834         controller to see if the spellchecker could be started.
14835
14836 2001-10-22  Juergen Vigna  <jug@sad.it>
14837
14838         * buffer.C (insertStringAsLines): modify the font for inserting
14839         chars in certain conditions by calling checkInsertChar(font).
14840
14841 2001-10-19  Juergen Vigna  <jug@sad.it>
14842
14843         * text.C (workWidth): use getRow instead of wrong algorithm.
14844         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14845
14846 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14847
14848         * lyxserver.h:
14849         * lyxserver.C:
14850         * lyx_main.h:
14851         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14852
14853 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14854
14855         * text.C (workWidth): do not search for the exact row when
14856         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14857         optimization for big documents.
14858
14859 2001-10-18  Juergen Vigna  <jug@sad.it>
14860
14861         * text.C (workWidth): new function with added Inset * parameter.
14862
14863 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14864
14865         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14866
14867         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14868         change return type of getColumnNearX.
14869
14870
14871         * text.C (changeRegionCase): use uppercase/lowercase instead of
14872         toupper/tolower.
14873         (leftMargin):
14874         (rightMargin): simplify code by factoring out the uses of
14875         textclasslist.
14876         (labelFill):
14877         (numberOfHfills):
14878         (setHeightOfRow):
14879         (appendParagraph): use Paragraph::size_type
14880
14881 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14882
14883         * vspace.C (asLatexString): add a missing break
14884
14885 2001-10-15  Herbert Voss  <voss@perce.de>
14886
14887         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14888
14889 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14890
14891         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14892         is not available.
14893
14894 2001-10-10  André Pönitz <poenitz@gmx.net>
14895
14896         * lyxfunc.C: removed greek_kb_flag.
14897
14898 2001-10-10  Herbert Voss  <voss@perce.de>
14899
14900         * lyx_main.C: delete global string help_lyxdir.
14901
14902 2001-10-09  Herbert Voss  <voss@perce.de>
14903
14904         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14905
14906         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14907
14908         * lyx_main.C: added global string help_lyxdir.
14909
14910         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14911
14912 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14913
14914         * lyxrc.C (set_font_norm_type): support iso8859-4
14915
14916 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14917
14918         * LaTeX.C (deplog): add another regex for MikTeX
14919
14920 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14921
14922         * lyxrc.C (set_font_norm_type): support iso8859-3
14923
14924 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14925
14926         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14927
14928         * LaTeXFeatures.C: remove special case of french and index
14929
14930         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14931         before \begin{document}). This solves several incompatibilities.
14932
14933 2001-10-03  Garst Reese  <reese@isn.net>
14934
14935         * lyx_cb.C: change CheckTex error msg.
14936
14937 2001-10-03  José Matos  <jamatos@fep.up.pt>
14938
14939         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14940
14941 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14942
14943         * .cvsignore: update
14944
14945         * lyx_main.C (commandLineVersionInfo): use new style version info.
14946
14947         * buffer.C (writeFile):
14948         (makeLaTeXFile):
14949         (makeLinuxDocFile):
14950         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14951
14952         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14953
14954         * version.h: update to use stuff in version.C
14955
14956         * version.C.in: new file. Contains version information determined
14957         at compile time. This is a merging of version.h and
14958         version_info.h.in.
14959
14960 2001-10-03  Juergen Vigna  <jug@sad.it>
14961
14962         * BufferView_pimpl.C (update): don't change "dirty" status in
14963         updateInset call.
14964
14965 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14966
14967         * WorkArea.C (c-tor): re-position version string slightly.
14968
14969 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14970
14971         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14972         revert to previous code.
14973
14974         WorkArea.[Ch]: (show, destroySplash): methods removed.
14975
14976         WorkArea.C: rework code so that it's an amalgam of the codes before and
14977         after the splash screen was moved to WorkArea.
14978
14979 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14980
14981         * lyxrc.C (read):
14982         * vspace.C (inPixels):
14983         (lyx_advance):
14984         * kbmap.C (bind):
14985         * buffer.C (insertStringAsLines):
14986         (asciiParagraph): fix types to be large enough
14987
14988         * lyxlex_pimpl.h: change member status from short to int
14989
14990         * layout.h: fix type of endlabeltype
14991
14992         * kbmap.C (bind):
14993         * kbsequence.C (parse): change return type to string::size_type
14994
14995         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14996         variable
14997
14998         * Bullet.C (bulletSize):
14999         (bulletEntry): do not use short ints as parameters
15000
15001         * BufferView2.C (insertLyXFile): change a char to an int.
15002
15003         * WorkArea.C (WorkArea): remove unneeded floats in computation
15004
15005 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15006
15007         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15008
15009         * paragraph.C (asString): Do not ignore newline/hfill chars when
15010         copying to the clipboard.
15011
15012 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15013
15014         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15015         after a multi-line inset.
15016
15017 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15018
15019         * paragraph.C (validate): Set NeedLyXFootnoteCode
15020
15021 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15022
15023         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15024         and decrease-error to decrease.
15025
15026 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15027
15028         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15029         it more readable (should be equivalent)
15030
15031 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15032
15033         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15034
15035 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15036
15037         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15038         of a cursor (row, etc.) after a character has been deleted
15039         (deleteEmptyParagraphMechanism): call the method above on _all_
15040         cursors held by the LyXText when a double space has been
15041         detected/deleted.
15042
15043 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15044
15045         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15046         pixmap.
15047         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15048
15049         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15050         background. Use greyOut() and the new show() methods to toggle between
15051         the foreground and background. Add code to remove the splash after
15052         its initial showing.
15053
15054         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15055         (create_forms): no longer call Dialogs::showSplash.
15056
15057 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15058
15059         * .cvsignore: add version_info.h
15060
15061 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15062
15063         * version_info.h.in: new file
15064
15065         * Makefile.am: add version_info.h.in
15066
15067         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15068         version_info.h instead of VERSION_INFO
15069
15070 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15071
15072         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15073         The ERT inset now returns string().
15074
15075 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15076
15077         * lyxtext.h, text.C (selectNextWord): renamed as
15078         selectNextWordToSpellcheck.
15079
15080         * text.C (selectNextWordToSpellcheck): Modified to not select
15081         words inside an ERT inset.
15082
15083 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15084
15085         * lyx_cb.C (MenuLayoutSave): change a bit the question
15086
15087         * sp_base.h: include <sys/types.h>
15088
15089 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15090
15091         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15092
15093 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15094
15095         * several files: fix typos in user-visible strings
15096
15097 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15098
15099         * text2.C (pasteSelection): do not set the selection, since it
15100         will be cleared later. Actually, the intent was to fix the way the
15101         selection was set, but I figured rmoving the code was just as good.
15102
15103 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15104
15105         * FontLoader.C (available): Check if font is available without
15106         loading the font.
15107
15108 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15109
15110         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15111
15112 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15113
15114         * lyxrc.[Ch]: added display_graphics variable and associated code.
15115
15116 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15117
15118         * bufferparams.C (hasClassDefaults): new method. Returns true if
15119         the buffer parameters correspond to known class defaults
15120
15121 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15122
15123         * XFormsView.C (show): set minimum size to the main window.
15124
15125 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15126
15127         * text2.C (copySelection):
15128         (cutSelection):
15129         * lyxfind.C (LyXReplace):
15130         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15131         LyXText::selectionAsString.
15132
15133         * paragraph.C (asString): add "label" argument to the second form
15134
15135         * text2.C (selectionAsString): add "label" argument and pass it to
15136         Paragraph::asString.
15137
15138 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15139
15140         * lyx_main.C (commandLineHelp): remove version information
15141
15142 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15143
15144         * lyx_main.C: add -version commandline option
15145
15146 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15147
15148         * paragraph.h: make the optional constructor arg required instead.
15149         some modifications to other files because of this.
15150
15151         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15152
15153         * lyxserver.C (C_LyXComm_callback): make it static
15154
15155         * lyx_main.C (error_handler): make it static
15156
15157         * lyx_gui.C (LyX_XErrHandler): make it static
15158
15159         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15160
15161         * WorkArea.C: make the extern "C" methods static.
15162
15163         * Makefile.am (lyx_LDADD): simplify
15164
15165 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15166
15167         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15168         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15169
15170         * LyXAction.C (init):
15171         * lyxfunc.C (dispatch): associated code removal.
15172
15173 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15174
15175         * lyxfont.h (isSymbolFont): shut off warning
15176
15177         * text.C (setHeightOfRow):
15178         (getVisibleRow): fix crash with empty paragraphs which have a
15179         bottom line
15180
15181 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15182
15183         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15184         code.
15185
15186 2001-09-04  José Matos  <jamatos@fep.up.pt>
15187         * buffer.C
15188         * buffer.h
15189         * tabular.C (docbook): rename docBook method to docbook.
15190
15191 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15192
15193         * Makefile.am: add dependencies to main.o.
15194
15195 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15196
15197         * FontLoader.C (available): Return false if !lyxrc.use_gui
15198
15199 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15200
15201         * FontInfo.C (query):
15202         * converter.C (view):
15203         * importer.C (Import):
15204         * exporter.C (Export): Can not -> cannot.
15205
15206 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15207
15208         * BufferView_pimpl.C: allow to create index inset even if
15209           string is empty
15210
15211 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15212
15213         * buffer.C (getLists): replace boost::tie code with an explicit pair
15214         as boost::tie can break some compilers.
15215
15216         * iterators.h: Added a std:: declaration to the return type of
15217         ParIterator::size.
15218
15219 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15220
15221         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15222           case.
15223
15224 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15225
15226         * iterators.[Ch]: New files. Provide paragraph iterators.
15227
15228         * buffer.C (changeLanguage): Use paragraph iterators.
15229         (isMultiLingual): ditto
15230
15231         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15232
15233 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15234
15235         * FontLoader.C: Support for cmr font.
15236
15237 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15238
15239         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15240         (available): New method.
15241
15242         * FontInfo.C (getFontname): Use scalable fonts even when
15243         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15244         found.
15245
15246 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15247
15248         * converter.C (Formats::view): reverted! Incorrect fix.
15249
15250 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15251
15252         * converter.C (Formats::view): only output the -paper option
15253         if the dvi viewer is xdvi, thereby fixing bug #233429.
15254
15255 2001-08-23  Herbert Voss  <voss@perce>
15256
15257         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15258
15259 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15260
15261         * Spacing.h (Spacing): Set space to Default on in the default
15262         constructor.
15263
15264 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15265
15266         * vc-backend.h (RCS::versionString): add RCS to version
15267         (CVS::versionString): add CVS to version
15268
15269         * vc-backend.C (scanMaster): do not add CVS to version.
15270         (scanMaster): do not add RCS to version
15271
15272         * lyxvc.C (versionString): new method
15273
15274         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15275
15276 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15277
15278         * Spacing.C (set): initialize fval
15279
15280 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15281
15282         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15283         " or \.
15284
15285 2001-08-16  Juergen Vigna  <jug@sad.it>
15286
15287         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15288
15289 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15290
15291         * BufferView_pimpl.C:
15292         * figureForm.C:
15293         * lyxtext.h:
15294         * text2.C: setParagraph takes linespacing now
15295
15296 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15297
15298         * LyxAction.C: add internal LFUN_CITATION_INSERT
15299
15300         * LyXView.C: actually apply fix
15301
15302         * bufferlist.C: fix open non-existent file
15303
15304         * lyxfind.C: fix indentation
15305
15306         * lyxfunc.C: remove unneeded assert, fix typo
15307
15308 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15309
15310         * MenuBackend.C: use "Floatname List"
15311
15312 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15313
15314         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15315         when converting LaTeX layout to insetERT.
15316         Generate a non-collapsed float when reading old float
15317
15318 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15319
15320         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15321         ERT insets.
15322
15323 2001-08-13  Juergen Vigna  <jug@sad.it>
15324
15325         * text.C (fill): return 0 instead of 20 as this seems to be the more
15326         correct value.
15327
15328 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15329
15330         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15331         lyxrc.font_norm.
15332
15333 2001-08-13  Juergen Vigna  <jug@sad.it>
15334
15335         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15336         casesensitive off.
15337         (SearchBackward): comment out the unlocking of the inset_owner this
15338         should not be needed!
15339
15340 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15341
15342         * Many files: Remove inherit_language, and add latex_language
15343
15344         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15345         collapsible insets.
15346
15347 2001-08-10  Juergen Vigna  <jug@sad.it>
15348
15349         * text.C (prepareToPrint): fixed hfill-width in draw!
15350
15351         * BufferView2.C (selectLastWord): save the selection cursor as this
15352         now is cleared in the function LyXText::clearSelection!
15353
15354 2001-08-08  Juergen Vigna  <jug@sad.it>
15355
15356         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15357         BACKSPACE type functions.
15358
15359         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15360         is only cutted from the document but not put in the cut-buffer, where
15361         still the old stuff should be.
15362
15363         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15364
15365         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15366
15367         * tabular.C (SetWidthOfCell): fixed special case where the width
15368         was not updated!
15369         (LeftLine): handle '|' in align_special.
15370         (RightLine): ditto
15371         (LeftAlreadyDrawed): ditto
15372         (SetWidthOfCell): ditto
15373
15374 2001-08-07  Juergen Vigna  <jug@sad.it>
15375
15376         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15377
15378 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15379
15380         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15381         * lyxlex.[hC]: ditto
15382
15383 2001-08-06  Juergen Vigna  <jug@sad.it>
15384
15385         * text.C (getVisibleRow): fix up row clearing a bit.
15386
15387 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15388
15389         * minibuffer.C: make sure the X server sees the changes in the input.
15390
15391 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15392
15393         * paragraph.C (getFont): split into...
15394         (getLabelFont): this
15395         (getLayoutFont): and this
15396         * paragraph_pimpl.C (realizeFont): calling this
15397
15398         * text2.C (getFont): split into...
15399         (getLayoutFont): this
15400         (getLabelFont): and this
15401         (realizeFont): all three calling this
15402
15403         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15404         files where used.
15405
15406 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15407
15408         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15409
15410 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15411
15412         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15413         layouts from the Quote inset insertion.
15414
15415 2001-08-03  Juergen Vigna  <jug@sad.it>
15416
15417         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15418
15419         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15420         only if status not is already CHANGED_IN_DRAW (second level).
15421
15422         * text.C (draw): don't set the need_break_row when inside an
15423         InsetText LyXText.
15424
15425 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15426
15427         * buffer.C (parseSingleLyXformat2Token): handle more latex
15428         conversion cases.
15429
15430         * bufferview_funcs.[hC]: change function names to
15431         begin with small char, adjust other files.
15432
15433 2001-08-02  André Pönitz <poenitz@gmx.net>
15434
15435         * lyxfunc.C:
15436         BufferView_pimpl.C: remove broken special code for math-greek
15437
15438 2001-08-02  Juergen Vigna  <jug@sad.it>
15439
15440         * BufferView_pimpl.C (update): redone this function so that we
15441         update the text again if there was a CHANGE_IN_DRAW.
15442
15443         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15444         (drawFromTo): added a new internal bool which is used by draw() and
15445         redraw() function.
15446         (general): some cursor drawing problems fixed.
15447
15448 2001-08-01  Juergen Vigna  <jug@sad.it>
15449
15450         * lyxfind.C (LyXFind): fixed
15451         (SearchForward): ditto
15452         (SearchBackward): ditto
15453
15454         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15455         spurius drawing of the cursor in the main area.
15456
15457         * text2.C (status): small fix which could lead to a segfault!
15458         (clearSelection): remove unneeded BufferView param.
15459
15460 2001-08-01  André Pönitz <poenitz@gmx.net>
15461
15462         * lyxfunc.C: small change due to changed mathed interface
15463
15464 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15465
15466         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15467
15468 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15469
15470         * lyxfunc.c: fail gracefully if file doesn't exist
15471
15472         * LyXSendto.C:
15473         * buffer.C:
15474         * lyxfunc.C:
15475         * BufferView_pimpl.C: IsDirWriteable() proto changed
15476
15477         * LyXView.C: fix updateWindowTitle() to store the last title
15478
15479 2001-07-31  Juergen Vigna  <jug@sad.it>
15480
15481         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15482         the font (wrong since using of Paragraph::highestFontInRange).
15483
15484         * paragraph.C (highestFontInRange): added a default_size parameter.
15485
15486         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15487         (setHeightOfRow): reformat
15488
15489 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15490
15491         * converter.[hC] + affected files: move to (inital-char)lowercase
15492         function names.
15493
15494         * ParagraphParameters.C (ParagraphParameters): remove commented code
15495
15496         * PainterBase.[Ch]: remove commented code
15497
15498         * LaTeXFeatures.h: add "bool floats" for float.sty
15499
15500         * LaTeXFeatures.C (LaTeXFeatures): init floats
15501         (require): handle float
15502         (getPackages): do it with floats
15503
15504 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15505
15506         * BufferView_pimpl.C (Dispatch): improve handling of
15507         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15508
15509         * commandtags.h: #include lyxfont.h here temporarily to avoid
15510         keybinding bug.
15511
15512         * bufferlist.h: include LString.h here.
15513
15514 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15515
15516         * text2.C (getStringToIndex): new method.
15517
15518 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15519
15520         * *: Reduced header file dependencies all over.
15521
15522 2001-07-30  Baruch Even  <baruch@lyx.org>
15523
15524         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15525
15526 2001-07-29  Baruch Even  <baruch@lyx.org>
15527
15528         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15529
15530 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15531
15532         * ParameterStruct.h (endif): add a default constructor to make
15533         sure that all variables is initialized.
15534
15535         * ParagraphParameters.C (ParagraphParameters): adjust
15536
15537 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15538
15539         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15540         index; also, check that there is something to index, and that it
15541         does not span over several paragraphs.
15542         (doubleClick): use WHOLE_WORD_STRICT for double click.
15543
15544         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15545
15546         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15547         scheme.
15548
15549 2001-07-26  Baruch Even  <baruch@lyx.org>
15550
15551         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15552         an InsetFig figure, backwards compatible reading of old figure code.
15553
15554 2001-07-27  Juergen Vigna  <jug@sad.it>
15555
15556         * text2.C: font.realize function adaption.
15557
15558         * text.C (draw): add a warnings lyxerr text if needed.
15559
15560         * layout.C: font.realize function adaption.
15561
15562         * language.C: add inherit_language and implement it's handlings
15563
15564         * bufferview_funcs.C (StyleReset): remove language parameter from
15565         font creation (should be language_inherit now).
15566
15567         * bufferparams.C (writeFile): handle ignore_language.
15568
15569         * paragraph.C (getFontSettings): the language has to be resolved
15570         otherwise we have problems in LyXFont!
15571
15572         * lyxfont.C (lyxWriteChanges): added document_language parameter
15573         (update): removed unneeded language parameter
15574
15575         * paragraph.C (validate): fixed wrong output of color-package when
15576         using interface colors for certain fonts in certain environments,
15577         which should not seen as that on the final output.
15578
15579 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15580
15581         * BufferView_pimpl.C:
15582         * Thesaurus.h:
15583         * Thesaurus.C:
15584         * Makefile.am:
15585         * commandtags.h:
15586         * LyXAction.C: add thesaurus support
15587
15588         * lyxfind.h:
15589         * lyxfind.C: add "once" parameter, for thesaurus, to not
15590           move to the next match
15591
15592 2001-07-26  Juergen Vigna  <jug@sad.it>
15593
15594         * lyxfont.C (realize): honor ignore_language too!
15595         (resolved): ditto.
15596
15597         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15598
15599         * text.C (draw): one place more for ignore_language to not draw
15600         itself!
15601
15602 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15603
15604         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15605
15606 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15607
15608         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15609         the minipage conversion problem.
15610
15611 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15612
15613         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15614         insert an inset.
15615
15616 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15617
15618         * BufferView.h: don't forward declare WorkArea
15619
15620         * BufferView.C: don't include WorkArea.h
15621
15622 2001-07-25  André Pönitz <poenitz@gmx.net>
15623
15624         * commandtags.h:
15625         * LyXAction.C:
15626         * lyxfunc.C:  new LFUN 'math-space'
15627
15628         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15629
15630 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15631
15632         * text2.C (toggleInset): call open/close
15633
15634 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15635
15636         * lyxfunc.C (dispatch): add debug for the disabled case
15637
15638         * font.C (buttonText): make similar to rectText
15639
15640         * buffer.C (readInset): comment out parsing of insetlist and
15641         insttheorem
15642
15643         * PainterBase.C (rectText): small correction
15644
15645         * BufferView_pimpl.C: comment out insettheorem and insetlist
15646         * LyXAction.C: ditto
15647         * commandtags.h: ditto
15648
15649 2001-07-24  Juergen Vigna  <jug@sad.it>
15650
15651         * text.C (draw): honor the ignore_language.
15652
15653         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15654
15655 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15656
15657         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15658         char inset.
15659
15660 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15661
15662         * lyxtext.h: remove unused (and unimplemented) methods
15663
15664 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15665
15666         * text.C (getVisibleRow): honor background color
15667
15668         * PainterBase.h:
15669         * Painter.h: remove default color argument for fillRectangle
15670
15671         * text.C (backgroundColor): new method
15672
15673 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15674
15675         * text.C (getVisibleRow): adjust
15676
15677         * font.[Ch] (rectText): new method, metrics
15678         (buttonText): new method, metrics
15679
15680         * PainterBase.[hC]: make rectText and buttonText always draw and take
15681         fewer paramteres.
15682
15683 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15684
15685         * ToolbarDefaults.C (read):
15686         * MenuBackend.C (read): allow escaping in all strings
15687
15688         * BufferView_pimpl.C (insertAndEditInset): new method.
15689         (Dispatch): use insertAndEditInset whenever appropriate.
15690
15691         * BufferView_pimpl.C (insertNote): removed
15692
15693         * BufferView_pimpl.C (smartQuote): new method, moved from
15694         BufferView; if an insetquote cannot be inserted, insert a '"'
15695         character instead.
15696
15697         * BufferView2.C: remove insertCorrectQuote();
15698
15699         * lyxfunc.C (getStatus): Add support for all remaingin
15700         inset-insert lfuns.
15701
15702         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15703
15704         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15705         command (necessary to pass " as parameter of self-insert.
15706
15707         * text.C (selectWordWhenUnderCursor):
15708         (selectWord): add word_location parameter
15709         (selectWordWhenUnderCursor): same + remove special code for word
15710         boundary.
15711         (selectNextWord): use kind() to guess type of insetspecialchar,
15712         not latex().
15713
15714         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15715         (insertErtContents): create ert insets as collapsed.
15716         (readInset): better compatibility code for Info inset.
15717
15718 2001-07-20  Juergen Vigna  <jug@sad.it>
15719
15720         * lyxfunc.C (dispatch): use always LyXFind now!
15721
15722         * text2.C (init): add a reinit flag so that the LyXText can be
15723         reinited instead of deleted and reallocated (used in InsetText).
15724
15725         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15726
15727         * text.C: ditto
15728
15729         * text2.C: ditto
15730
15731 2001-07-18  Juergen Vigna  <jug@sad.it>
15732
15733         * text.C (selectNextWord): handle insets inside inset by calling
15734         always the bv->text functions so that we can go up the_locking_inset!
15735
15736         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15737         in strange locations when inside an inset!
15738
15739         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15740         handling to include insets.
15741
15742         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15743
15744 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15745
15746         * LyXAction.C (init):
15747         * commandtags.h:
15748         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15749         LIGATURE_BREAK, since the name is so stupid.
15750
15751 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15752
15753         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15754         InsetInfos.
15755
15756         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15757
15758         * sp_form.[Ch]: remove.
15759
15760         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15761
15762         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15763         InsetInfo.
15764
15765         * src/buffer.C (readInset): ditto.
15766
15767 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15768
15769         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15770         menuSeparator(), endOfSentenceDot(), ldots() and
15771         hyphenationPoint(), which are therefore removed.
15772         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15773
15774         * LyXAction.C (init):
15775         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15776
15777         * paragraph.C (getWord): removed.
15778
15779         * BufferView_pimpl.C (Dispatch): use last word or selection for
15780         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15781
15782         * lyx_main.C (queryUserLyXDir): do not ask before creating
15783         user_dir, except if it has been named explicitely.
15784
15785 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15786
15787         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15788         a document of zero size.
15789
15790 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15791
15792         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15793         approriately in the c-tor and in require().
15794         (getPackages): output the appropriate LaTeX for natbib support.
15795
15796         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15797         variables "use_natbib" and "use_numerical_citations" when reading the
15798         LyX file.
15799         (readInset): read the various natbib cite commands.
15800         (validate): white-space change.
15801
15802         * bufferparams.[Ch]: new variables "bool use_natbib" and
15803         "bool use_numerical_citations".
15804         (writeFile): output them in the LyX file.
15805
15806 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15807
15808         * lyxfunc.C (getStatus): add support for all the inset insertion
15809         commands.
15810
15811         * text2.C (insertInset):
15812         * paragraph.C (insetAllowed):
15813         * BufferView_pimpl.C (insertInset): update to take in account the
15814         renaming of insertInsetAllowed
15815
15816         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15817
15818         * text2.C (getInset): new method. returns inset at cursor position.
15819
15820         * BufferView_pimpl.C (Dispatch): changes because of this.
15821
15822         * LyXAction.C (init): rename open-stuff to inset-toggle.
15823
15824         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15825
15826         * text2.C (toggleInset): renamed from openStuff; use
15827         Inset::open().
15828
15829 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15830
15831         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15832
15833         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15834
15835 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15836
15837         * buffer.C (readLyXformat2): Add filename to the error dialog
15838
15839 2001-07-18  Juergen Vigna  <jug@sad.it>
15840
15841         * tabular.C (GetCellNumber): put an assert here instead of the check!
15842
15843 2001-07-17  Juergen Vigna  <jug@sad.it>
15844
15845         * BufferView_pimpl.C (toggleSelection): adapted too.
15846
15847         * text.C (selectNextWord): adapted for use with insets.
15848         (selectSelectedWord): ditto
15849
15850 2001-07-17  Juergen Vigna  <jug@sad.it>
15851
15852         * sp_spell.C (PSpell): fix initialitation order.
15853
15854 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15855
15856         * paragraph.C: spacing
15857
15858 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15859
15860         * sp_spell.C: repair language selection for pspell
15861
15862 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15863
15864         * lyxfunc.h: change more methods to begin with lower char.
15865
15866 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15867
15868         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15869         for unknown layouts.
15870
15871 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15872
15873         * buffer.C (readLyXformat2): Generate an error dialog if there are
15874         unknown layouts.
15875
15876 2001-07-16  Juergen Vigna  <jug@sad.it>
15877
15878         * sp_spell.C: always compile ISpell part.
15879
15880         * lyxrc.C: added use_pspell entry and it's handling.
15881
15882 2001-07-13  Juergen Vigna  <jug@sad.it>
15883
15884         * sp_spell.C: removed double includes.
15885
15886 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15887
15888         Consistent use of Lsstream.h:
15889         * Lsstream.h: added using std::stringstream for consistencies sake.
15890
15891         * buffer.C: removed using std::stringstream
15892
15893         * lyxfont.C (stateText):
15894         * paragraph.C (asString):
15895         * text.C (selectNextWord, selectSelectedWord):
15896         * text2.C (setCounter):
15897         * vspace.C (asString, asLatexString):
15898         std::ostringstream -> ostringstream.
15899
15900 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15901
15902         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15903         * commandtags.h: add LFUN_HELP_ABOUTLYX
15904         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15905
15906 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15907
15908         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15909         cursorToggle()
15910         * lyx_gui_misc.C: remove spellchecker
15911         * lyxfunc.C: showSpellchecker
15912         * sp_base.h: added
15913         * sp_ispell.h: added
15914         * sp_pspell.h: added
15915         * sp_spell.C: added
15916         * sp_form.[Ch]: removed
15917         * spellchecker.[Ch]: removed
15918
15919 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15920
15921         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15922         is set.
15923         (simpleTeXSpecialChars): Simply print the input character without
15924         any special translation if pass_thru is set.
15925
15926         * layout.h: Added bool pass_thru to layout class for being able to
15927         implement pass through of a paragraph for Literate Programming.
15928
15929         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15930         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15931         * layout.C (Read): add "passthru" to list of layout tags and add
15932         code to set the pass_thru boolean when it is read.
15933
15934 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15935
15936         * trans_decl.h: remove allowed from KmodInfo
15937
15938         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15939         remove allowed code
15940         (Load): adjust
15941
15942         * paragraph_pimpl.C (erase): use boost::prior
15943
15944         * Painter.C (text): use data() instead of c_str() when length is
15945         also provided.
15946         * WorkArea.C (putClipboard): ditto
15947         * font.h (width): ditto
15948
15949         * BufferView2.C: use it-> instead of (*it). for iterators
15950         * texrow.C: ditto
15951         * paragraph_pimpl.C: ditto
15952         * paragraph.C: ditto
15953         * minibuffer.C: ditto
15954         * language.C: ditto
15955         * kbmap.C: ditto
15956         * encoding.C: ditto
15957         * counters.C: ditto
15958         * converter.C: ditto
15959         * chset.C: ditto
15960         * Variables.C: ditto
15961         * TextCache.C: ditto
15962         * MenuBackend.C: ditto
15963         * LyXAction.C: ditto
15964         * LColor.C: ditto
15965         * FloatList.C: ditto
15966         * DepTable.C: ditto
15967         * ColorHandler.C (LyXColorHandler): ditto
15968
15969 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15970
15971         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15972
15973         * text2.C (openStuff): reintroduce this method (which had been
15974         nuked in NEW_INSETS frenzy).
15975
15976         * lyxfunc.C (Dispatch): when an action has not been handled, use
15977         its name in the error message, not its number.
15978
15979         * paragraph.C (inInset): change method name to begin with lowercase.
15980
15981         * undo_funcs.C:
15982         * text2.C: updates because of this.
15983
15984 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15985
15986         * ToolbarDefaults.C (add): add spaces in error message
15987
15988 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15989
15990         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15991         (readLyXformat2): rename return_par to first_par, use lyxlex's
15992         pushToken and remove the manual push handling.
15993         (parseSingleLyXformat2Token): add another ert comp. variable:
15994         in_tabular, rename return_par to first_par. handle newlines better
15995
15996 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15997
15998         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15999
16000 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16001
16002         * text2.C (getParFromID): removed
16003
16004         * buffer.C (getParFromID): new method moved form lyxtext.
16005         * BufferView2.C (insertErrors): adjust
16006         (setCursorFromRow): adjust
16007         * BufferView_pimpl.C (restorePosition): adjust
16008         * lyxfunc.C (Dispatch): adjust
16009         * undo_funcs.C (textUndo): adjust
16010         (textRedo): adjust
16011         (textHandleUndo): adjust
16012         (textHandleUndo): adjust
16013
16014 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16015
16016         * buffer.C: up' the LYX_FORMAT
16017
16018         * lyxfont.h: turn NO_LATEX on as default
16019
16020         * buffer.C (insertErtContents): new methods of tex style compability.
16021         (parseSingleLyXformat2Token): use it several places.
16022         * tabular.C (OldFormatRead): and here
16023
16024 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16025
16026         * text2.C: remove some commented code.
16027         reindent file.
16028
16029         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16030         * trans.C: changes because of the above.
16031
16032 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16033
16034         * text2.C (setCounter): Fix counters bug with bibliography layout.
16035
16036 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16037
16038         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16039         own member functions
16040         (simpleTeXSpecialChars): ditto
16041
16042 2001-07-06  Juergen Vigna  <jug@sad.it>
16043
16044         * a lot of files: changed the access to LyXText::status and the
16045         call of undo-functions.
16046
16047         * undo.[Ch]: added a inset_id to the undo informations.
16048
16049         * undo_funcs.[Ch]: added and moved here all undo functions.
16050
16051         * lyxtext.h: give the status enum a weight, made status_ a private
16052         variable and made accessor functions for it, removed the whole bunch
16053         of undo-functions as they are now in their own file, make some
16054         functions publically available. Added function ownerParagraph with
16055         int parameter.
16056
16057         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16058         made InInset() a const function, added getParFromID() function.
16059
16060         * buffer.[Ch]: added const version for inset_iterator functions,
16061         added getInsetFromID() function.
16062
16063         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16064         changed undo functions for new version.
16065
16066 2001-07-05  Juergen Vigna  <jug@sad.it>
16067
16068         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16069         unknow mechanism does not call the proper constructor but only this
16070         one also if I request the other!?
16071
16072 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16073
16074         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16075
16076         * text2.C (LyXText): use initialization lists.
16077
16078         * lyxtext.h (Selection): initialize set_ and mark_
16079         (init): remove method
16080
16081 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16082
16083         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16084
16085 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16086
16087         * screen.[Ch]: change method names to begin with lowercase
16088
16089         * BufferView_pimpl.C (updateScrollbar): simplify further and
16090         hopefully make it a bit faster.
16091
16092 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16093
16094         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16095         calling directly xforms functions.
16096
16097         * Painter.C (Painter):
16098         * lyx_cb.C (MenuWrite):
16099         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16100         fl_display.
16101
16102         * lyx_gui.C: remove bogus guiruntime extern declaration.
16103
16104 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16105
16106         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16107         in NEW_INSETS
16108         (redoDrawingOfParagraph): ditto
16109         (redoParagraphs): ditto
16110         (cutSelection): don't create a object for CutAndPaste use the
16111         static method directly
16112         (pasteSelection): ditto
16113
16114         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16115         LyXview (+ rename)
16116
16117 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16118
16119         * modifications to some other files because of this.
16120
16121         * Makefile.am (lyx_SOURCES): add XFormsView
16122
16123         * XFormsView.[Ch]: new files
16124
16125         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16126         the main window. Move the gui dependent stuff to XFormsView
16127
16128 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16129
16130         * tabular.C (GetCellInset): update cur_cell also in the row/col
16131         version of this function.
16132
16133         * lyxfunc.C: no need to include figure_form.h here.
16134
16135         * FontLoader.h:
16136         * lyxfunc.h:
16137         * lyxscreen.h:
16138         * text2.C:
16139         * lyxvc.C: no need to include forms.h here.
16140
16141 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16142
16143         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16144
16145         * lyxfunc.C (Dispatch):
16146         * Spacing.C (set):
16147         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16148         constructor argument.
16149
16150 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16151
16152         * paragraph.C (Paragraph): dont't clear, and just set layout.
16153         (makeSameLayout): use params's copy contructor.
16154
16155         * ParagraphParameters.[Ch] (makeSame): delete method
16156
16157 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16158
16159         * Variables.[Ch]: fix indentation, rename set to isSet
16160
16161 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16162
16163         * lyxfunc.C (Dispatch): fix typo
16164
16165 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16166
16167         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16168         upper_bound.
16169
16170         * bufferlist.C: include assert.h for emergencyWrite().
16171
16172 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16173
16174         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16175           give up at last (bug #425202) !
16176
16177 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16178
16179         * lyx_gui_misc.C:
16180         * sp_form.h:
16181         * sp_form.C:
16182         * spellchecker.h:
16183         * spellchecker.C: strip spellchecker options and bring up
16184           preferences tab instead
16185
16186 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16187
16188         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16189         the istringstream constructor
16190
16191 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16192
16193         * paragraph.C (getLayout): fix return value
16194
16195         * paragraph.h: do not declare getLayout as inline.
16196
16197         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16198
16199 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16200
16201         * lyxcursor.h (operator<): new func
16202         (operator>): new func
16203         (operator>=): new func
16204         (operator<=): new func
16205
16206         * text.C (changeCase): use selection.start and selection.end
16207         (changeRegionCase): require from to be <= to. Require par to be a
16208         valid paragraph.
16209
16210         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16211
16212 2001-06-27  Juergen Vigna  <jug@sad.it>
16213
16214         * text.C (cursorLeftOneWord): changed to return the cursor and added
16215         overlay with BufferView * parameter which calls this one.
16216         (getWord): added
16217         (selectWord): use new getWord function.
16218         (changeCase): renamed from changeWordCase as and extended to work
16219         also on selections.
16220
16221         * lyxtext.h: added enum word_location
16222
16223         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16224         changeCase as this operates now also on selections.
16225
16226 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16227
16228         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16229
16230         * many files: send debug output to Debug::INFO instead of
16231         Debug::ANY.
16232
16233         * converter.C (View):
16234         (Convert):
16235         (Move): send debug output to Debug::FILES instead of console.
16236
16237 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16238
16239         * lyxfunc.C (getStatus): use func_status
16240
16241         * func_status.h: new header, describing the results of
16242         LyXFunc::getStatus;
16243
16244         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16245         LFUN_MATH_HALIGN.
16246
16247 2001-06-25  The LyX Project  <jug@sad.it>
16248
16249         * buffer.C (sgmlOpenTag):
16250         (sgmlCloseTag):
16251         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16252
16253 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16254
16255         * text2.C: remove some dead code
16256
16257         * tabular.C (GetCellInset): store the last cell checked (gotten)
16258
16259         * tabular.h: add the helper for the speedup
16260
16261         * lyxtext.h: remove some dead code
16262
16263 2001-06-26  The LyX Project  <Asger>
16264
16265         * paragraph.C: Change export to LaTeX of alignment to
16266         \begin{center} and family for better roundtrip work with reLyX.
16267
16268         * Tune the math drawing a bit.
16269
16270 2001-06-25  The LyX Project  <Asger>
16271
16272         * LColor.C (LColor): New color for math background. New color
16273         for buttons.
16274
16275 2001-06-25  The LyX Project  <jug@sad.it>
16276
16277         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16278
16279         * lyxfunc.C (Open):
16280         * bufferlist.C (newFile): do not restrict to files ending with
16281         .lyx
16282
16283         * BufferView_pimpl.C (MenuInsertLyXFile):
16284
16285 2001-06-24  The LyX Project  <jug@sad.it>
16286
16287         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16288         of compare_no_case
16289
16290 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16291
16292         * lyxtext.h: rename most methods to begin with a small char.
16293         Lots of changes because of this.
16294
16295         * paragraph.C (Paragraph): do not call fitToSize
16296         (erase): call Pimpl::erase
16297         (insertChar): call Pimpl::insertChar
16298         (insertInset): call Pipl::insertInset
16299         (breakParagraph): do not call fitToSize
16300         (breakParagraphConservative): do not call fitToSize
16301         (fitToSize): remove method
16302
16303         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16304
16305 2001-06-24  The LyX Project  <Asger>
16306
16307         * Fix Qt compilation^2
16308
16309 2001-06-24  The LyX Project  <jug@sad.it>
16310
16311         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16312         depthHook(getDepth()-1).
16313
16314         * paragraph.h:
16315         * ParagraphParameters.h:
16316         * ParameterStruct.h: change type of depth to unsigned int ==
16317         depth_type. Many adaptations to other files before of that.
16318
16319 2001-06-24  The LyX Project  <Asger>
16320
16321         * Fix Qt compilation.
16322
16323 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16324
16325         * paragraph.h: renamed several methods to begin with small letter.
16326         several changes to many parts of the code because of this.
16327
16328 2001-06-23  The LyX Project  <jug@sad.it>
16329
16330         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16331         rewritten to discard all double spaces when KeepEmpty is off
16332         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16333         to only handle newlines but not fiddle with spaces and friends.
16334
16335         * lyxfunc.C (MenuNew): when doing 'new from template', use
16336         template_path as default directory
16337
16338 2001-06-23  The LyX Project  <Asger>
16339
16340         * Clean-up of header file includes all over
16341         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16342
16343 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16344
16345         * paragraph.h: renamed from lyxparagraph.h
16346
16347 2001-06-23  Asger  <lyx@violet.home.sad.it>
16348
16349         * Buffer.h: Removed Buffer::resize
16350         * BufferList.h: Removed BufferList::resize
16351         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16352         the document lazily when we change the width, or the font settings.
16353
16354 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16355
16356         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16357
16358 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16359
16360         * buffer.h: remove out of date comment
16361
16362 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16363
16364         * lyxscreen.h:
16365         * screen.C: fix "theoretical" GC leak
16366
16367 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16368
16369         * LaTeX.C (scanAuxFile):
16370         (deplog): remove trailing \r when reading stream (useful under
16371         win32)
16372
16373 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16374
16375         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16376         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16377         and BufferView::theLockingInset(Inset*), so should use them and not
16378         access bv_->text->the_locking_inset directly.
16379
16380         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16381
16382 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16383
16384         * Makefile.am:
16385         * tex-defs.h: remove old unused file
16386
16387 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16388
16389         * BufferView_pimpl.C: fix typo, remove minibuffer message
16390           when buffer has loaded
16391
16392 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16393
16394         * lyxfunc.C (Dispatch): use stringstream
16395         (MenuNew): use stringstream
16396         (Open): use stringstream
16397
16398         * importer.C (Import): use stringstream
16399
16400         * bufferview_funcs.C (CurrentState): use stringstream
16401
16402         * LaTeX.C (run): use stringstream
16403
16404         * BufferView_pimpl.C (savePosition): use stringstream
16405         (restorePosition): use stringstream
16406         (MenuInsertLyXFile): use stringstream
16407
16408 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16409
16410         * BufferView.C:
16411         * Bullet.C:
16412         * ColorHandler.C:
16413         * FontInfo.C:
16414         * FontLoader.C:
16415         * LColor.C:
16416         * LaTeXFeatures.C:
16417         * Painter.C:
16418         * gettext.C:
16419         * lyx_gui_misc.C:
16420         * lyxserver.C:
16421         * vspace.C: removed // -*- C++ -*- as first line.
16422
16423         * lyxfind.h:
16424         * version.h: added // -*- C++ -*- as first line.
16425
16426 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16427
16428         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16429
16430         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16431         of string
16432
16433 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16434
16435         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16436         of floats.
16437
16438 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16439
16440         * gettext.C: include LString.h even when --disable-nls is on.
16441
16442 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16443
16444         * converter.h (Get): changed argument type from int to
16445         FormatList::size_type to avoid unnecessary conversion.
16446
16447         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16448         before using it.
16449
16450 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16451
16452         * gettext.h: include LString.h even when --disable-nls is on.
16453
16454 2001-06-07  Juergen Vigna  <jug@sad.it>
16455
16456         * text.C (BreakAgain): subst spaces with tabs.
16457
16458         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16459         (resizeInsetsLyXText): set force on resizeLyXText.
16460
16461 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16462
16463         * gettext.h (gettext_init):
16464         (locale_init): use a real definition instead of a macro
16465
16466 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16467
16468         * Bufferview_pimpl.C:
16469         * LColor.h:
16470         * LColor.C: further lcolor tidies
16471
16472 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16473
16474         * BufferView_pimpl.C (updateScrollbar): simplify.
16475
16476         * BufferView2.C: don't include insets/insetinfo.h, change
16477         prototype for insertInset and call the Pimpl version. let
16478         updateInset call Pimpl version.
16479
16480         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16481         gotoInset to BufferView::Pimpl
16482
16483 2001-06-01  Juergen Vigna  <jug@sad.it>
16484
16485         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16486         inside a LockingInset (is the update needed at all?).
16487
16488 2001-05-31  Juergen Vigna  <jug@sad.it>
16489
16490         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16491         here not the old one otherwise how should we compare it afterwards
16492         if it's the same!
16493
16494 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16495
16496         * lyxfont.C:
16497         * tabular.C:
16498         * tabular-old.C:
16499         * FontInfo.C: bring C functions into global namespace when
16500         necessary
16501
16502 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16503
16504         * LString.h: make sure config.h has been loaded before LString.h.
16505
16506         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16507         (one for each char read by EatLine!).
16508
16509         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16510         variables.
16511
16512 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16513
16514         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16515         to the same as the par we break from
16516
16517 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16518
16519         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16520
16521         * MenuBackend.C (expand): also create menu entries for wide
16522         versions of the floats.
16523
16524         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16525
16526         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16527
16528         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16529         frontends/Makefile.am
16530
16531         * text2.C: adjust
16532         * text.C: adjust
16533
16534
16535         * tabular.C (getTokenValue): add std::
16536
16537         * tabular-old.C (getTokenValue): add std::
16538         (getTokenValue): ditto
16539         (getTokenValue): ditto
16540
16541         * screen.C (ToggleSelection): adjust
16542
16543         * lyxtext.h: put selection cursors inside a Selection struct.
16544
16545         * lyxfunc.C (moveCursorUpdate): adjust
16546
16547         * lyxfont.C (latexWriteStartChanges): add std::
16548
16549         * lyxfind.C: adjust
16550
16551         * font.h: delete with(char const *, LyXFont const &)
16552
16553         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16554
16555         * FontInfo.C (getFontname): add std::
16556
16557         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16558         (workAreaButtonPress): adjust
16559         (tripleClick): adjust
16560         (update): adjust
16561         (moveCursorUpdate): adjust
16562         (Dispatch): adjust
16563
16564         * BufferView2.C (gotoInset): adjust
16565
16566 2001-05-30  Juergen Vigna  <jug@sad.it>
16567
16568         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16569         to check pspell I add this as default as I now have new pspell
16570         libraries and they seem to use this.
16571
16572 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16573
16574         * text2.C (CutSelection): make the cursor valid before the call to
16575         ClearSelection.
16576
16577 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16578
16579         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16580         relied on 0 terminated strings and other horrors. Bug found due to
16581         the new assert in lyxstring!
16582
16583         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16584         KP_ keys.
16585
16586 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16587
16588         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16589         to latinkeys.bind.
16590
16591         * lyxfunc.C (processKeySym): change method of getting to the
16592         self-insert char.
16593
16594         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16595         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16596         * BufferView_pimpl.[Ch]: here as private methods.
16597
16598 2001-05-28  Juergen Vigna  <jug@sad.it>
16599
16600         * text.C (SetHeightOfRow): added the update() call again as it is
16601         needed to initialize inset dimensions!
16602
16603 2001-05-16  Juergen Vigna  <jug@sad.it>
16604
16605         * text2.C (SetCharFont): Add new function with BufferView * and
16606         bool toggleall parameters for setting insets internal fonts.
16607         (SetFont): Freeze the undo as we may change fonts in Insets and
16608         all this change should be inside only one Undo!
16609
16610         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16611         setting font's in insets as for them we have the SetFont function!
16612
16613 2001-05-15  Juergen Vigna  <jug@sad.it>
16614
16615         * text2.C (ClearSelection): to be sure we REALLY don't have any
16616         selection anymore!
16617
16618         * tabular.C (TeXCellPreamble): fixed the left border problem for
16619         multicolumn cells.
16620
16621 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16622
16623         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16624         dependancy file
16625
16626 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16627
16628         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16629         LFUN_BREAKPARAGRAPH.
16630
16631         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16632         help test to "internal only", similar for LFUN_INSERT_URL
16633
16634         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16635         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16636         auto_region_delete and deadkeys.
16637
16638 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16639
16640         * LColor.h:
16641         * LColor.C: remove some dead entries, tidy a little
16642
16643 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16644
16645         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16646         commented code.
16647         (Dispatch): implement LFUN_ESCAPE
16648
16649         * commandtags.h: add LFUN_ESCAPE
16650
16651         * LyXAction.C (init): add entry for LFUN_ESCAPE
16652
16653         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16654         Remove commented code.
16655         (insertNote): moved here
16656         (open_new_inset): moved here
16657
16658         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16659         BufferView_pimpl
16660
16661 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16662
16663         * kbmap.C (findbinding): clean it up and make it work correctly.
16664
16665         * lyx_main.C (init): do not pass argc and argv as parameters
16666
16667 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16668
16669         * buffer.C: fix path for OS/2 & Win32
16670
16671         * lyx_gui.C:
16672         * lyx_main:
16673         * lyx_main.C: Added os:: class.
16674
16675         * os2_defines.h: update
16676
16677 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16678
16679         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16680         better by trying again with reduced state.
16681
16682 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16683
16684         * lyxrc.C (read): print error about invalid key sequence only when
16685         debugging (because not all latinX keysyms are known to some X
16686         servers)
16687
16688         * kbsequence.C (getiso): add a few std:: qualifiers
16689         (getiso): comment out extra return statement.
16690
16691 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16692
16693         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16694         handling.
16695         (Dispatch): enhance the accent inset a bit. (not perfect)
16696
16697 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16698
16699         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16700
16701 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16702
16703         * bufferlist.C (emergencyWrite): fix assert() call
16704
16705 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16706
16707         * text.C (InsertChar): Added trivial patch to only send the "you
16708         can not do multiple spaces this way" message once during a
16709         session.
16710
16711 2001-05-08  Baruch Even  <baruch@lyx.org>
16712
16713         * Makefile.am: Changed order of libraries to get LyX to link properly
16714         with the gnome frontend.
16715
16716 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16717
16718         * LaTeXFeatures.h: add a std:: qualifier
16719
16720 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16721
16722         * paragraph.C (String): use stringstream
16723
16724 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16725
16726         * paragraph.C (writeFile): remove footflag arg
16727
16728         * buffer.C (makeLaTeXFile): use stringstream
16729         (latexParagraphs): remove footnot gurba
16730
16731         * LaTeXFeatures.C (getPackages): use stringstream
16732         (getMacros): likewise
16733         (getTClassPreamble): likewise
16734         (getFloatDefinitions): new method
16735
16736         * paragraph.C (writeFile): reindent
16737         (Erase): reindent
16738
16739         * WorkArea.h: revert the xpos + etc changes.
16740
16741         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16742
16743         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16744
16745         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16746         (pasteSelection): likewise
16747         * text2.C (CreateUndo): likewise
16748
16749 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16750
16751         * minibuffer.C (peek_event): temporarily reduce the functionality
16752         of the minibuffer (to allow args on lfuns)
16753
16754         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16755         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16756
16757         * buffer.C (readInset): add compability reading of old float
16758         lists, add reading of new style float list.
16759         (readInset): avoid reevaluation of inscmd.getCmdName()
16760         (getLists): reindent
16761
16762         * MenuBackend.C (MenuItem): implement parsing of
16763         md_floatlistinsert and md_floatinsert.
16764         (expand::LastFiles): move initalizaton of iterators out of loop,
16765         avoid reevaluation.
16766         (expand::Documents): introduce typdedef vector<string> Strings,
16767         and use it.
16768         (expand::ExportFormats): introduce typedef vector<Format const *>
16769         Formats, and use it.
16770         (expand): implement FloatListInsert and FloatInsert.
16771
16772         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16773         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16774         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16775
16776         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16777         handling.
16778         (Dispatch::LFUN_FLOAT_LIST): implement
16779
16780 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16781
16782         * LaTeX.C (run): Fix problem with --export code.
16783
16784 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16785
16786         * BufferView.[Ch] (workarea): removed.
16787         (getClipboard) new method; wrapper for workarea()->getClipboard()
16788
16789         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16790         bug.
16791
16792         * WorkArea.h (width, height, xpos, ypos): These methods all
16793         returned the dimensions of the work_area sub-area of WorkArea,
16794         resulting in a position error if the WorkArea were resized. Now
16795         return the dimensions of the entire WorkArea.
16796
16797         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16798
16799 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16800
16801         * LaTeX.C (deplog): correct the syntax of regex reg1
16802
16803 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16804
16805         * undo.C: remove !NEW_INSETS cruft
16806
16807 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16808
16809         * text2.C: remove !NEW_INSETS cruft
16810
16811         * text.C: remove !NEW_INSETS cruft
16812
16813         * tabular.C: remove !NEW_INSETS cruft
16814
16815         * spellchecker.C: remove !NEW_INSETS cruft
16816
16817         * lyxtext.h: remove !NEW_INSETS cruft
16818
16819         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16820
16821         * lyxfunc.C: remove !NEW_INSETS cruft
16822
16823         * lyxfind.C: remove !NEW_INSETS cruft
16824
16825         * lyx_cb.C: remove !NEW_INSETS cruft
16826
16827         * figureForm.C: remove  !NEW_INSETS cruft
16828
16829         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16830
16831         * buffer.[Ch]: remove !NEW_INSETS cruft
16832
16833         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16834
16835         * CutAndPaste.C: remove !NEW_INSETS cruft
16836
16837         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16838
16839         * BufferView2.C: remove !NEW_INSETS cruft
16840
16841         * BufferView.h: remove !NEW_INSETS cruft
16842
16843 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16844
16845         * Lsstream.h: include LString.h before the sstream headers to
16846         fix problem with gcc 2.95.3 and lyxstring
16847
16848 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16849
16850         * lyx_main.C: add using directives when needed for C functions
16851         declared in std:: namespace.
16852
16853 2001-04-27  Juergen Vigna  <jug@sad.it>
16854
16855         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16856         (SetHeightOfRow): comment out the update call should not be needed!
16857
16858 2001-04-13  Juergen Vigna  <jug@sad.it>
16859
16860         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16861         (LyXTabular): tried to minimize operator= operations (and realized
16862         hopfully Lars wish).
16863
16864 2001-04-27  Juergen Vigna  <jug@sad.it>
16865
16866         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16867
16868 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16869
16870         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16871
16872         * buffer.C (readInset): hack to make listof algorithm work
16873
16874         * BufferView_pimpl.C: hack to make listof algorithm work
16875
16876 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16877
16878         * LyXAction.C: removed all !NEW_INSETS cruft
16879         (init): moved lfun_item in method
16880
16881         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16882
16883 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16884
16885         * BufferView2.C (theLockingInset): white space.
16886
16887 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16888
16889         * minibuffer.C: include <iostream>
16890
16891         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16892
16893         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16894
16895         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16896
16897         * text.[Ch] (TransposeChars): new method
16898
16899 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16900
16901         * call message directly through LyXView instead of through LyXFunc
16902         * BufferView2.C: adjust
16903         * BufferView_pimpl.C: adjust
16904         * FontLoader.C: adjust
16905         * buffer.C: adjust
16906         * bufferview_funcs.C: adjust
16907         * converter.C: adjust
16908         * figureForm.C: adjust
16909         * importer.C: adjust
16910         * lyx_cb.C: adjust
16911         * lyx_gui_misc.C: adjust
16912         * lyxfunc.C: adjust
16913         * lyxvc.C: adjust
16914         * text2.C: adjust
16915         + more files in subdirs
16916
16917         * lyxparagraph.h (size): move up int file
16918         (GetLayout): ditto
16919
16920         * adjust all uses of Assert to lyx::Assert.
16921
16922         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16923         lyxfunctional in namespace lyx
16924         * layout.C (hasLayout): ditto
16925         (GetLayout): ditto
16926         (GetLayout): ditto
16927         (delete_layout): ditto
16928         (NumberOfClass): ditto
16929         * converter.C (GetFormat): ditto
16930         (GetNumber): ditto
16931         (Add): ditto
16932         (Delete): ditto
16933         (SetViewer): ditto
16934         * bufferlist.C (getFileNames): ditto
16935         (emergencyWriteAll): ditto
16936         (exists): ditto
16937         (getBuffer): ditto
16938         * MenuBackend.C (hasSubmenu): ditto
16939         (hasMenu): ditto
16940         (getMenu): ditto
16941         * BufferView_pimpl.C (getInsetByCode): ditto
16942
16943 2001-04-18  Juergen Vigna  <jug@sad.it>
16944
16945         * vspace.C (asLatexString): fixed the 100% problem.
16946
16947 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16948
16949         * lyxfunc.C (Dispatch):
16950         * minibuffer.C:
16951         * minibuffer.h: add a few std:: qualifiers
16952
16953 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16954
16955         * minibuffer.[Ch]: reimplement so that commands is initiated and
16956         run from lyxfunc, simplified som handling, and made the completion
16957         and history code for complete. wip.
16958
16959         * lyxfunc.C (processKeySym): call message
16960         (miniDispatch): new temporary method
16961         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16962         (LFUN_MESSAGE): implement
16963         (LFUN_MESSAGE_PUSH): implement
16964         (LFUN_MESSAGE_POP): implement
16965         (initMiniBuffer): the initial/defualt minibuffer message.
16966
16967         * lyxfont.[Ch]: inline some more getters
16968
16969         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16970
16971         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16972
16973         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16974         (AutoSave): use LFUN_MESSAGE
16975         (Reconfigure): ditto
16976
16977         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16978
16979         * figureForm.C: use LFUN_MESSAGE
16980
16981         * converter.C (runLaTeX): use LFUN_MESSAGE
16982
16983         * bufferview_funcs.C: use LFUN_MESSAGE
16984         (Melt): ditto
16985         (changeDepth): ditto
16986
16987         * bufferparams.h: use boost::
16988
16989         * bufferlist.h: inherit privately from noncopyable
16990
16991         * bufferlist.C (loadLyXFile): remove some commented code.
16992
16993         * buffer.C (runChktex): use LFUN_MESSAGE
16994
16995         * ShareContainer.h: inherit privately from noncopyable
16996
16997         * ParagraphParameters.[hC] (depth): inline it.
16998
16999         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17000         methods.
17001         (message): new method
17002         (messagePush): ditto
17003         (messagePop): ditto
17004         (show): init minibuffer
17005         (showState): direct call
17006
17007         * LaTeX.[Ch]: inherit privately from noncopyable
17008         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17009         instead of WriteStatus.
17010
17011         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17012
17013         * BufferView_pimpl.C (buffer): don't init minibuffer
17014         (workAreaButtonPress): use LFUN_MESSAGE
17015         (workAreaButtonRelease): ditto
17016         (savePosition): ditto
17017         (restorePosition): ditto
17018         (MenuInsertLyXFile): ditto
17019         (workAreaExpose): don't init minibuffer
17020         (update): remove commented code, simplify
17021
17022         * BufferView2.C (openStuff): use LFUN_MESSAGE
17023         (toggleFloat): ditto
17024         (menuUndo): ditto
17025         (menuRedo): ditto
17026         (copyEnvironment): ditto
17027         (pasteEnvironment): ditto
17028         (copy): ditto
17029         (cut): ditto
17030         (paste): ditto
17031         (gotoInset): ditto
17032         (updateInset): remove some commented code
17033
17034         * lastfiles.h: inherit privately from noncopyable
17035         * layout.h: ditto
17036         * lyx_gui.h: ditto
17037         * lyx_main.h: ditto
17038         * lyxlex.h: ditto
17039         * lyxlex_pimpl.h: ditto
17040
17041         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17042         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17043         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17044
17045         * LyXAction.h: inherit privately from noncopyable, add methods
17046         func_begin, func_end, returning iterators to the func map.
17047
17048         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17049         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17050         (func_begin): new method
17051         (func_end): new method
17052
17053         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17054         and not)
17055         (copySelection): ditto
17056         (pasteSelection): ditto
17057
17058         * BufferView.C: whitespace change
17059         * BufferView.h: inherit privately from noncopyable
17060
17061 2001-04-16  Allan Rae  <rae@lyx.org>
17062
17063         * tabular-old.C (l_getline):
17064         * spellchecker.C (sc_check_word):
17065         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17066         an unrecognised preprocessor directive.  So ensure they're wrapped.
17067
17068 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17069
17070         * src/exporter.C (Export): Give an error message when path to file
17071         contains spaces.
17072
17073 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17074
17075         * LaTeX.C (deplog): Always check that foundfile exists.
17076
17077 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17078
17079         * lyx_main.h:
17080         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17081
17082 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17083
17084         * tabular.[Ch] (getLabelList): implement new method
17085
17086         * minibuffer.h: comment ouf setTiimer
17087
17088         * minibuffer.C (ExecutingCB): constify res
17089         (peek_event): constify s
17090         (Set): constify ntext
17091         (Init): constify nicename
17092
17093         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17094
17095         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17096         (savePosition): use two params to Minibuffer::Set
17097         (restorePosition): ditto
17098
17099 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17100
17101         * lyx_main.C: include language.h
17102
17103         * Makefile.am (lyx_main.o): add language.h
17104
17105 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17106
17107         * exporter.C:
17108         * paragraph.C:
17109         * screen.C:
17110         * tabular.C:
17111         * CutAndPaste.C: include gettext.h
17112
17113         * lyxfont.h: remove old hack with ON and OFF.
17114
17115         * lyxparagraph.h:
17116         * lyxfont.h: do not include language.h...
17117
17118         * BufferView2.C:
17119         * LaTeXFeatures.C:
17120         * Painter.C:
17121         * bufferview_funcs.C:
17122         * font.C:
17123         * lyxfont.C:
17124         * text.C:
17125         * text2.C:
17126         * trans_mgr.C:
17127         * paragraph.C: ... but do it here instead
17128
17129 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17130
17131         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17132
17133         * tabular.C: small reformat
17134
17135         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17136         NEW_INSETS version
17137         (GetChar): ditto
17138         (BreakParagraph): ditto
17139         (SetOnlyLayout): ditto
17140         (SetLayout): ditto
17141
17142         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17143         with one arg less.
17144
17145         * lastfiles.C: removed most using decl, add std:: where needed
17146
17147         * buffer.C: ws changes
17148
17149         * MenuBackend.C (class compare_format): put into anon namespace
17150         (expand): constify label, names, action, action2
17151         (expand):
17152
17153         * text.C (SingleWidth): constify font
17154         (IsBoundary): constify rtl2
17155         (GetVisibleRow): constify ww
17156
17157         * LaTeX.C (deplog): constify logfile
17158
17159         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17160         start_x, end_x
17161         (workAreaExpose): constify widthChange, heightChange
17162
17163         * lyxrow.C (par): moved
17164         (height): moved
17165         (next): moved
17166         * lyxrow.h: as inlines here
17167
17168         * lyxfont.h (shape): moved from lyxfont.C
17169         (emph): moved from lyxfont.C
17170
17171         * lyxfont.C (LyXFont): use initialization list for all
17172         constructors
17173         (shape): move to lyxfont.h as inline
17174         (emph): move to lyxfont.h as inline
17175
17176
17177 2001-04-04  Juergen Vigna  <jug@sad.it>
17178
17179         * vspace.C: had to include stdio.h for use of sscanf
17180
17181 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17182
17183         * BufferView.h:
17184         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17185         independent of xforms.
17186
17187 2001-04-02  Juergen Vigna  <jug@sad.it>
17188
17189         * spellchecker.C: fixed namespace placing!
17190
17191 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17192
17193         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17194         the LyXParagraph * is 0.
17195
17196 2001-03-29  Juergen Vigna  <jug@sad.it>
17197
17198         * vspace.C: added support for %, c%, p%, l%.
17199         (stringFromUnit): added helper function.
17200         (asLatexString): changed to give right results for the %-values.
17201
17202         * buffer.C: convert the widthp in a width%.
17203
17204 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17205
17206         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17207         figureForm.[Ch].
17208
17209         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17210         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17211
17212         * lyx_cb.[Ch]: see above.
17213
17214         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17215         form1.[Ch].
17216
17217         * form1.[Ch]:
17218         * lyx.[Ch]: replaced by figure_form.[Ch].
17219
17220         * lyx_gui.C:
17221         * lyx_gui_misc.C:
17222         * lyxfunc.C: changed headers associated with above changes.
17223
17224 2001-03-27  Juergen Vigna  <jug@sad.it>
17225
17226         * BufferView_pimpl.C: set the temporary cursor right!
17227
17228 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17229
17230         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17231
17232 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17233
17234         * LString.h: removed "using std::getline"!
17235
17236         * BufferView_pimpl.C (Dispatch): changes due to changes in
17237         InsetInclude::Params.
17238
17239         * buffer.C (tag_name): removed redundant break statements as they were
17240         producing lots of warnings with my compiler.
17241
17242 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17243
17244         * LString.h: add "using std::getline" when using the real <string>.
17245
17246 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17247
17248         * buffer.C: removed bitset usage.
17249         PAR_TAG moved to an anonymous name space.
17250         (tag_name): new funtion, also in the anonymous namespace.
17251         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17252         (makeDocBookFile): clean code. Completed transition from string arrays
17253         to string vectors.
17254         (SimpleDocBookOnePar): code clean.
17255
17256 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17257
17258         * tabular.C: add some comments.
17259
17260 2001-03-22  Juergen Vigna  <jug@sad.it>
17261
17262         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17263         compatibility read a bit and fixed bug with minipage in different
17264         depth.
17265
17266 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17267
17268         * buffer.C (pop_tag): removed.
17269         (push_tag): removed.
17270         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17271         array replaced with vector. Added support for CDATA sections.
17272         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17273         at any nest level.
17274         (makeDocBookFile): XML conformant declaration of CDATA section,
17275         fixed bug related to <emphasis> in the first paragraph char.
17276         (sgmlOpenTag): exclude empty tags.
17277         (sgmlCloseTag): ditto.
17278
17279         * buffer.h (pop_tag): removed.
17280         (push_tag): removed.
17281
17282 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17283
17284         * language.h (Languages): added size_type and size().
17285
17286 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17287
17288         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17289         response on compability reading of minipages. One probliem is that
17290         the old usage of minipages was flertydig
17291
17292         * several files here and in subdirs: don't use static at file
17293         scope use anon namespaces instead.
17294
17295 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17296
17297         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17298         LaTeX output. This is necessary for Literate document
17299         processing.
17300
17301 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17302
17303         * buffer.C: insert hfill when needed.
17304
17305         * tabular.C (l_getline): use string::erase, small whitespace change.
17306
17307         * BufferView_pimpl.C: try the anon namespace.
17308         * WorkArea.C: ditto
17309
17310 2001-03-16  Juergen Vigna  <jug@sad.it>
17311
17312         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17313         otherwise it won't open options-dialogs.
17314
17315         * buffer.C: honor pextraWidth(p) on converting minipages.
17316
17317         * tabular.C (l_getline): changed the functions to strip trailing \r.
17318
17319 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17320
17321         * BufferView_pimpl.C:
17322         * minibuffer..C: added "using SigC::slot" declaration.
17323
17324 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17325
17326         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17327
17328         * text2.C: ditto
17329
17330         * text.C: ditto
17331
17332         * paragraph.C: ditto
17333
17334         * lyxtext.h: NO_PEXTRA
17335
17336         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17337
17338         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17339         * ParameterStruct.h: ditto
17340         * ParagraphParameters.h: ditto
17341         * lyxparagraph.h: ditto
17342
17343 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17344
17345         * buffer.C: add compability for minipage alignment.
17346         (latexParagraphs): remove unwanted pextra check.
17347
17348         * several files: remove CXX_WORKING_NAMESPACES
17349
17350         * buffer.C (pop_tag): tie is in namespace boost
17351
17352         * BufferView.h: noncopyable is in namespace boost
17353         * lyxlex.h: ditto
17354         * lyx_main.h: ditto
17355         * lyx_gui.h: ditto
17356         * layout.h: ditto
17357         * lastfiles.h: ditto
17358         * bufferlist.h: ditto
17359         * ShareContainer.h: ditto
17360         * LyXView.h: ditto
17361         * LyXAction.h: ditto
17362         * LaTeX.h: ditto
17363
17364 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17365
17366         * Merging changes from BRANCH_MVC back into HEAD.
17367
17368         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17369
17370 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17371
17372         * BufferView_pimpl.C: change from intl.C
17373
17374         * combox.h:
17375         * combox.C:
17376         * Makefile.am: move combox.*
17377
17378         * form1.h:
17379         * form1.C:
17380         * lyx_gui.C:
17381         * intl.h:
17382         * intl.C: remove dialog (covered by prefs)
17383
17384 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17385
17386         * lyxfunc.C (Dispatch): removed redundant break statement.
17387
17388 2001-03-14  Juergen Vigna  <jug@sad.it>
17389
17390         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17391
17392 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17393
17394         * buffer.C: add hack to fix compability reading of minipages.
17395
17396 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17397
17398         * buffer.C (getLists): Cleanup.
17399
17400 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17401
17402         * lyxfont.C (update): don't honor toggleall on font size.
17403
17404 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17405
17406         * bmtable.c:
17407         * bmtable.h:
17408         * Makefile.am: moved to frontends/xforms/
17409
17410         * lyx_gui_misc.C:
17411         * lyxfunc.C:
17412         * BufferView_pimpl.C: changes for moved mathpanel
17413
17414 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17415
17416         * gettext.h: fix gettext_init() in --disable-nls
17417
17418 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17419
17420         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17421
17422 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17423
17424         * lyx.C:
17425         * lyx.h: strip external form
17426
17427 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17428
17429         * BufferView_pimpl.C: add comment, destroySplash()
17430
17431 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17432
17433         * BufferView_pimpl.C:
17434         * LyXAction.C:
17435         * buffer.C:
17436         * commandtags.h:
17437         * lyxfunc.C: use re-worked insetinclude
17438
17439 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17440
17441         * buffer.C: add using std::stringstream.
17442
17443         * lyx_cb.C: readd using std::ios.
17444
17445         * buffer.C: add using std::map.
17446
17447         * BufferView_pimpl.C: add using std::vector.
17448
17449         * ShareContainer.h: add std:: to swap.
17450
17451         * buffer.h: add some typedefs
17452         * buffer.C (getLists): use them
17453         (getLists): renamed from getTocList.
17454         add a counter for the different float types and use it in the
17455         generated string.
17456         (getLists): use the same counter for the NEW_INSETS and the "non"
17457         NEW_INSETS
17458
17459         * lyx_cb.h: remove unused items, includes, using etc.
17460
17461         * ShareContainer.h: remove some commented code, add more comments
17462         and "documentation".
17463
17464 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17465
17466         * buffer.C (getTocList): make the list also when NEW_INSETS is
17467         defined.
17468
17469         * buffer.h: remove TocType
17470
17471         * buffer.C (getTocList): change to return a map<string,
17472         vector<TocItem> >, implement for dynamic number of list.
17473
17474         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17475         * text2.C (PasteSelection): adjust
17476         * CutAndPaste.C (pasteSelection): adjust
17477
17478         * FloatList.C (FloatList): update from the new_insets branch.
17479         * Floating.[Ch]: ditto
17480         * LaTeXFeatures.C: ditto
17481         * buffer.C: ditto
17482         * lyxlex_pimpl.C: ditto
17483
17484         * paragraph.C (Last): remove when NEW_INSETS is defined.
17485
17486         * other file: changes because of the above.
17487
17488 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17489
17490         * lyxparagraph.h: rename next to next_, previous to previous_,
17491         make them private for NEW_INSETS. Rename Next() to next(),
17492         Previous() to previous().
17493
17494         * other files: changes because of the above.
17495
17496 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17497
17498         * BufferView.h:
17499         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17500         problem.
17501
17502 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17503
17504         * main.C (main): pass lyx_localedir to gettext_init().
17505
17506         * gettext.h: remove locale_init and gettext_init macros
17507
17508         * gettext.C (locale_init): new function
17509         (gettext_init): new function
17510
17511         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17512         setlocale().
17513
17514 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17515
17516         * Moved credits to frontends:
17517         * credits.[Ch]: removed
17518         * credits_form.[Ch]: removed
17519         * lyx_gui_misc.C: remove credits stuff
17520         * Makefile.am:
17521
17522 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17523
17524         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17525
17526         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17527         unneeded destructor.
17528
17529         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17530         a standalone pointer again.
17531
17532         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17533
17534 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17535
17536         * Makefile.am:
17537         * filedlg.h:
17538         * filedlg.C:
17539         * LyXAction.C:
17540         * ToolbarDefaults.C:
17541         * bufferlist.C:
17542         * commandtags.h:
17543         * form1.C:
17544         * form1.h:
17545         * lyx_cb.C:
17546         * lyx_cb.h:
17547         * lyxfunc.h:
17548         * lyxfunc.C:
17549         * BufferView_pimpl.C: use new file dialog in GUII
17550
17551         * lyx_cb.h:
17552         * lyx_cb.C: remove LayoutsCB to Toolbar
17553
17554 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17555
17556         * ShareContainer.h (get): add std:: qualifier
17557
17558 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17559
17560         * ShareContainer.h: define a proper ShareContainer::value_type
17561         type (and use typename to please compaq cxx)
17562
17563 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17564
17565         * lyxparagraph.h: move serveral local vars to
17566         ParameterStruct/ParagraphParameters., use ShareContainer in
17567         FontTable., make vars in FontTable private and add getter and
17568         setter.
17569
17570         * paragraph.C: changes because of the above.
17571
17572         * lyxfont.h: remove copy constructor and copy assignment. (the
17573         default ones is ok), move number inside FontBits. move inlines to
17574         lyxfont.C
17575
17576         * lyxfont.C: add number to initializaton of statics, move several
17577         inlines here. constify several local vars. some whitespace
17578         cleanup. Dont hide outerscope variables.
17579
17580         * Spacing.h: add two new constructors to match the set methods.
17581
17582         * ShareContainer.h: new file, will perhaps be moved to support
17583
17584         * ParameterStruct.h: new file
17585
17586         * ParagraphParameters.h: new file
17587
17588         * ParagraphParameters.C: new file
17589
17590         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17591         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17592
17593         * BufferView_pimpl.C: ParagraphParameter changes.
17594         * buffer.C: Likewise.
17595         * bufferview_funcs.C: Likewise.
17596         * text.C: Likewise.
17597         * text2.C: Likewise.
17598
17599 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17600
17601         * lyxfind.C (LyXReplace): do not redefine default argument in
17602         implementation.
17603         (IsStringInText): ditto
17604         (SearchForward): ditto
17605         (SearchBackward): ditto
17606
17607 2001-03-06  Juergen Vigna  <jug@sad.it>
17608
17609         * lyxfind.C (IsStringInText): put parentes around expressions.
17610
17611 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17612
17613         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17614
17615 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17616
17617         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17618
17619         * stl_string_fwd.h: add comment
17620
17621         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17622
17623         * tabular.h:
17624         * tabular.C: remove unused DocBook methods
17625
17626         * intl.C:
17627         * language.C:
17628         * paragraph.C:
17629         * buffer.C:
17630         killed DO_USE_DEFAULT_LANGUAGE
17631
17632 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17633
17634         * lyx_gui.C: do not include language.h.
17635
17636         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17637         arguments in function implementation.
17638
17639 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17640
17641         * BufferView_pimpl.C: add <ctime>
17642
17643 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17644
17645         * BufferView_pimpl.C: add using std::find_if
17646
17647 2001-02-27  José Matos  <jamatos@fep.up.pt>
17648
17649         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17650         by OnlyPath.
17651
17652 2001-02-11  José Matos  <jamatos@fep.up.pt>
17653
17654         * buffer.C (makeDocBookFile): command styles now have a parameter as
17655         "title" by default.
17656
17657 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17658
17659         * layout_forms.[Ch]: removed
17660         * lyx_cb.[Ch]: out character
17661         * lyx_gui.C: out character
17662         * lyx_gui_misc.C: out character
17663         * bufferview_funcs.C: : out character,
17664         added toggleall as parameter in ToggleAndShow
17665
17666 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17667
17668         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17669
17670         * text2.C (SetCurrentFont): Disable number property at boundary.
17671
17672 2001-02-26  Juergen Vigna  <jug@sad.it>
17673
17674         * lyxfunc.C (getStatus): added a string argument override function so
17675         that this is correctly called from LyXFunc::Dispatch if it contains a
17676         do_not_use_argument which is used!
17677         (Dispatch): added check for "custom" export and call appropriate func.
17678
17679 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17680
17681         * lyxrc.C: Add language_command_local, language_use_babel and
17682         language_global_options.
17683
17684         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17685
17686         * buffer.C (makeLaTeXFile): Use language_use_babel and
17687         language_global_options.
17688
17689 2001-02-23  Juergen Vigna  <jug@sad.it>
17690
17691         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17692         which works with LyXText and putted it inside BufferView. Here now we
17693         only call for that part the BufferView::Dispatch() function.
17694
17695         * BufferView.C (Dispatch): added.
17696
17697         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17698         functions which needs to use a LyXText over from LyXFunc.
17699         (MenuInsertLyXFile): added
17700         (getInsetByCode): added
17701         (moveCursorUpdate): added
17702         (static TEXT): added
17703
17704 2001-02-22  Juergen Vigna  <jug@sad.it>
17705
17706         * BufferView_pimpl.C (update): call a status update to see if LyXText
17707         needs it.
17708
17709 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17710
17711         * vc-backend.C (revert): implement for CVS
17712         (getLog): implement for CVS
17713
17714 2001-02-20  Juergen Vigna  <jug@sad.it>
17715
17716         * text2.C (ClearSelection): added BufferView param for inset_owner call
17717
17718         * lyxfunc.C (TEXT): added this function and use it instead of
17719         directly owner->view()-text of getLyXText().
17720
17721 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17722
17723         * src/layout_forms.C: out preamble
17724         * src/layout_forms.h: out preamble
17725         * src/lyx_cb.C: out preamble
17726         * src/lyx_cb.h: out preamble
17727         * src/lyx_gui.C: out preamble
17728         * src/lyx_gui_misc.C: out preamble
17729         * src/lyxfunc.C: connect with guii preamble
17730
17731 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17732
17733         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17734
17735 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17736
17737         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17738         whether to run bibtex.
17739
17740 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17741
17742         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17743
17744 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17745
17746         * Makefile.am (lyx_SOURCES): removed bibforms.h
17747
17748         * vspace.h: doxygen
17749
17750         * text.C (GetVisibleRow): make several local vars const
17751
17752         * tabular.C: small cleanup.
17753
17754         * lyxserver.C (callback): use compare instead of strncmp
17755
17756         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17757         inlines to after class or to paragraph.C
17758
17759         * lyxfont.h: remove friend operator!=
17760
17761         * converter.h: move friend bool operator< to non friend and after
17762         class def.
17763
17764         * combox.h: small cleanup
17765
17766         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17767         to inlines after class def.
17768
17769         * buffer.C (pop_tag): use string operations instead of strcmp
17770
17771         * bmtable.c: doxygen, small cleanup
17772
17773         * LaTeX.h: remove friend operator==
17774
17775 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17776
17777         * screen.C:
17778         * lyxrc.[Ch]:
17779         * lyxfunc.C:
17780         * lyxfont.[Ch]:
17781         * lyx_cb.C:
17782         * intl.[Ch]:
17783         * commandtags.h:
17784         * buffer.C:
17785         * WorkArea.[Ch]:
17786         * LyXAction.C:
17787         * BufferView_pimpl.C:
17788         * BufferView.[Ch]: remove cruft
17789
17790 2001-02-14  Juergen Vigna  <jug@sad.it>
17791
17792         * lyxfunc.C: removed #if 0 unused code
17793
17794         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17795
17796         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17797
17798         * text2.C (SetSelection): added a BufferView * parameter
17799
17800 2001-02-13  Juergen Vigna  <jug@sad.it>
17801
17802         * lyxfunc.C (Dispatch): fixed protected blank problem.
17803         * BufferView2.C (protectedBlank): added LyxText * parameter.
17804
17805         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17806         (AppendColumn): same as above for column_info.
17807
17808         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17809         (moveCursorUpdate): use a LyXText param for support of InsetText.
17810
17811         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17812         (tripleClick): ditto
17813
17814         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17815
17816         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17817
17818         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17819
17820         * text2.C (SetSelection): set correct update status if inset_owner
17821         (ToggleFree): ditto
17822
17823 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17824
17825         * tabular.C: remove some commented code.
17826
17827 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17828
17829         * BufferView_pimpl.C: call hideSplash()
17830
17831         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17832
17833         * include_form.h:
17834         * bibforms.h: remove
17835
17836         * lyxfunc.C:
17837         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17838           add LFUN_CHILD_CREATE
17839
17840         * counters.h: fix tiny typo
17841
17842         * lyx_cb.C:
17843         * lyx.h:
17844         * lyx_gui.C:
17845         * lyx.C: move splash to frontends/xforms/
17846
17847         * lyx_gui_misc.C: move Include and Bibform to frontends
17848
17849         * lyxvc.h: clarify comment
17850
17851         * vspace.C: tiny housekeeping
17852
17853 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17854
17855         * text.C (PrepareToPrint): RTL Fix.
17856
17857         * paragraph.C (GetUChar): New method.
17858         (String):  Use GetUChar.
17859
17860         * buffer.C (asciiParagraph): Use GetUChar.
17861
17862 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17863
17864         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17865
17866 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17867
17868         * buffer.h:
17869         * buffer.C: rename to getLogName(), handle
17870           build log / latex log nicely
17871
17872 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17873
17874         * MenuBackend.C:
17875         * MenuBackend.h: remove support for reference menuitem type.
17876
17877 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17878
17879         * BufferView_pimpl.C: housekeeping
17880         * BufferView_pimpl.h:
17881         * LyXView.h:
17882         * Makefile.am:
17883         * Timeout.C:
17884         * Timeout.h:
17885         * minibuffer.h: move Timeout GUI-I
17886
17887 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17888
17889         * lyxrc.C (read): Update converters data-structures.
17890
17891 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17892
17893         * LaTeX.h (operator!=): add operator != for Aux_Info
17894
17895 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17896
17897         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17898
17899         * LaTeXLog.C: deleted, useful code moved to Buffer
17900
17901         * buffer.h:
17902         * buffer.C: new function getLatexLogName()
17903
17904         * lyx_gui_misc.C:
17905         * lyx_gui.C:
17906         * lyxvc.C:
17907         * lyxvc.h:
17908         * lyxfunc.C: use frontends for LaTeX and VC logs
17909
17910 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17911
17912         * LaTeX.h: yet another std:: that Allan forgot.
17913
17914         * Variables.C (set): renamed from isset(), because this clashes
17915         with some HP-UX macros (grr).
17916
17917 2001-02-06  Allan Rae  <rae@lyx.org>
17918
17919         * LaTeX.h: Another bug fix.  Missing std:: this time.
17920
17921 2001-02-04  Allan Rae  <rae@lyx.org>
17922
17923         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17924         floats problem. I've left it commented out because it's not quite
17925         correct.  It should also test that the current object is a table or
17926         figure inset.  But I haven't gotten around to figuring out how to do
17927         that.  I *think* it'll be something like: "table" == inset.type()
17928
17929         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17930         bool.
17931
17932 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17933
17934         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17935         all the citation/databases/styles in the auxilary file.
17936         (run): Rerun latex if there was a babel language error.
17937
17938 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17939
17940         * text.C (Backspace): Preserve the font when changing newline char
17941         with a space.
17942         (BreakParagraph): If the cursor is before a space, delete the space.
17943
17944         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17945
17946 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17947
17948         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17949         new argument (code).
17950         (ChangeCitationsIfUnique): New method.
17951
17952         * paragraph.C (GetPositionOfInset): Handle bibkey.
17953
17954 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17955
17956         * BufferView_pimpl.h: change type of Position::par_pos to
17957         LyXParagraph::size_type.
17958
17959 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17960
17961         * BufferView_pimpl.C (savePosition, restorePosition): Write
17962         messages to minibuffer.
17963
17964 2001-01-28  José Matos  <jamatos@fep.up.pt>
17965
17966         * buffer.C (makeDocBookFile): adds support for document language.
17967         A silly restriction on the name of LatexCommand types where removed.
17968         Added support for CDATA sections, allows to chars unescaped, used
17969         among others in code, to avoid escape < and >.
17970
17971 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17972
17973         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17974         saved positions instrad of a stack. Furthermore, a position is
17975         stored using paragraph id/paragraph position.
17976
17977         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17978         Remove LFUN_REF_BACK.
17979
17980 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17981
17982         * converter.C (dvipdfm_options): New method.
17983
17984 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17985
17986         * vspace.C (isValidLength): Fix for empty input string.
17987
17988 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17989
17990         * LyXAction.C (init): change description of LFUN_FIGURE to
17991         "Insert Graphics"
17992
17993 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17994
17995         * LaTeX.C: add using directive
17996
17997 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17998
17999         * MenuBackend.C (expand): Fix the sorting of the formats.
18000
18001 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18002
18003         * lyx_main.C: tiny error message fix
18004
18005 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18006
18007         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18008         calling fl_initialize(). This fixes the problem with ',' as
18009         decimal separator in text files.
18010
18011 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18012
18013         * trans.C (process): Fix the keymap bug.
18014
18015 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18016
18017         * LaTeX.C (scanAuxFiles): New method. Provides support for
18018         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18019         (scanLogFile) Scan for "run BibTeX" messages.
18020
18021         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18022         OT1 font encoding. Also, load the aecompl package if the ae
18023         package is loaded.
18024
18025         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18026
18027 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18028
18029         * texrow.C (increasePos): turn two error messages into debug
18030         messages.
18031
18032 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18033
18034         * LaTeX.C (scanAux): Handle the \@input macro.
18035         (runBibTeX): Use scanAux().
18036
18037         * language.C (latex_options_): New field.
18038
18039         * LaTeXFeatures.C (getMacros): Add language macros.
18040
18041         * buffer.C (makeLaTeXFile): Small fix.
18042
18043 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18044
18045         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18046
18047         * text2.C: add a using directive.
18048
18049 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18050
18051         * BufferView2.C:
18052         * lyx_gui_misc.h:
18053         * lyxfr1.C:
18054         * lyxfunc.C: kill LyXBell.
18055
18056 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18057
18058         * text.C (IsBoundary): Remove the error message
18059
18060         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18061
18062         * lyxrc.C (setDefaults): Correct initialization value for
18063         font_norm_type.
18064
18065 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18066
18067         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18068         gotoError().
18069
18070         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18071         and GotoNextNote().
18072
18073         * src/LyXAction.C: Added reference-next.
18074
18075         * text.C (InsertChar): Use contains instead of strchr.
18076
18077         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18078
18079 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18080
18081         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18082         alignment commands (when needed).
18083
18084         * text.C (InsertChar): Add ':' to number separator chars.