]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
updated format to 243, fix bug 1382, bug 22
[lyx.git] / src / ChangeLog
1 2005-07-18  Juergen Vigna  <jug@lyx.org>
2
3         * text.C (drawSelection): honor boundary when asking for cursorX.
4
5 2005-07-17  José Matos  <jamatos@fc.up.pt>
6
7         * tabular.C (recalculateMulticolumns): fix handling of one column
8         tables.
9
10 2005-07-17  Juergen Vigna  <jug@lyx.org>
11
12         * text.C (Delete, backspace): fixed so that paragraph with the
13         same layout can be merged by Delete/Backspace.
14
15 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
16
17         * text.C (readParToken): fix spelling.
18
19 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
20
21         * text2.C: fix counter update for DEPM problem reported by
22         Georg Baum
23
24 2005-07-17  Juergen Vigna  <jug@lyx.org>
25
26         * BufferView_pimpl.C (setBuffer): save/restore the
27         cursor/selection when switching buffers
28
29         * buffer.h: 
30         * buffer.C (saveCursor): add saveDocumentIterators to save the
31         cursor when switching buffer.
32
33 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
34
35         * debug.C: fix typo
36         * buffer.C: clarify message
37         
38 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
39
40         * dociterator.C (DocIterator): fix initialization order
41
42 2005-07-17  Juergen Vigna  <jug@lyx.org>
43
44         * text2.C (cursorHome): 
45         * text.C (drawSelection, cursorX): 
46         * dociterator.C (textRow): add boundary to getRow() call
47
48         * paragraph.C (getRow): implementation of below
49
50         * paragraph.h: add parameter boundary for getRow() function
51
52 2005-07-17  José Matos  <jamatos@fc.up.pt>
53
54         * buffer.C:
55         * bufferparams.[Ch]:
56         * tex-strings.[Ch]: new file format, remove support for a4.sty,
57         a4wide.sty and a4widemargins.
58
59 2005-07-17  Juergen Vigna  <jug@lyx.org>
60
61         * text2.C (cursorLeft): fix one of error
62
63 2005-07-17  Juergen Vigna  <jug@lyx.org>
64
65         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
66                    cursorEnd):
67         more fixes for boundary handling
68
69         * text3.C (dispatch): don't reset cursor if boundary has changed
70         on cursor movement.
71
72 2005-07-16  Juergen Vigna  <jug@lyx.org>
73
74         * text2.C (getColumnNearX): hopefully got it right now,
75         check if we are on column 0 for special case.
76
77 2005-07-16  Juergen Vigna  <jug@lyx.org>
78
79         * text2.C (getColumnNearX): handle special case Newline Inset
80
81         * text.C (singleWidth): Just remove bogus check
82
83 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
84
85         * funcrequest.C (split): avoid reading uninitialized char c
86
87 2005-07-16  José Matos  <jamatos@fc.up.pt>
88
89         * buffer.C:
90         * converter.C:
91         * lyxrc.C:
92         * paper.h:
93         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
94         single papersize variable.
95
96 2005-07-16  Juergen Vigna  <jug@lyx.org>
97
98         * text3.C (dispatch): honor boundary when checking if a cursor
99         movement has been done
100
101         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
102         (setCursor, setCursorIntern): fix cursor movement with boundary
103
104 2005-07-16  Juergen Vigna  <jug@lyx.org>
105
106         * text.C (currentState): output the actual Boundary
107
108 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
109
110         * factory.C (createInset): fix bad logic for tabular creation
111
112 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
113
114         * lyx_main.C (init): change some reLyX reference to tex2lyx
115
116 2005-07-16  Juergen Vigna  <jug@lyx.org>
117
118         * dociterator.C (DocIterator): initialize boundary
119
120 2005-07-16  Juergen Vigna  <jug@lyx.org>
121
122         * text2.C (getColumnNearX): Consider rows without trailing blank.  
123
124 2005-07-16  André Pönitz  <poenitz@gmx.net>
125
126         * lyxfont.h: Change order of declarations to give the compiler
127         a better chance to inline things
128
129         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
130         questions on unsaved docs for better scritability
131
132 2005-07-16  André Pönitz  <poenitz@gmx.net>
133
134         * paragraph.h (getChar): remove asserts as the same kind of security
135         can be achieved by using a suitable standard library implementation
136         and the function was in the critical path (25.9% in profiler)
137
138 2005-07-16  Juergen Vigna  <jug@lyx.org>
139
140         * cursor.C (bruteFind2):
141         * bufferview_funcs.C (coordOffset): 
142         * text.C (cursorX,cursorY): Handle cursor position after last char
143         in row before a inset which uses a whole row.
144
145 2005-07-15  José Matos <jamatos@lyx.org>
146
147         * output_plaintext.[Ch] (writeFileAscii): control reference title
148         printing.
149         (asciiParagraph): noparbreak was already deal and was incorrectly
150         used.
151
152 2005-07-15  Juergen Vigna <jug@lyx.org>
153
154         * lyxfunc.C (dispatch): save and restore the cursor after a
155         textclass switch.
156
157 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
158
159         * text.C (backspace): bug 806 for empty keepempty paragraphs we
160         change the layout to default before letting DEPM do its thing.
161
162         * paragraph_funcs.C (breakParagraph): dont reset the layout on
163         keepEmpty paragraphs
164
165         * text.C (setCursorFromCoordinates): add a debug statement
166
167         * text2.C (getColumnNearX): bug 1825 make sure that we don't
168         return a pos that is not on the row
169
170         * output_latex.C (TeXDeeper): get rid of potential dereferencing
171         of past the end iterator
172
173 2005-07-14  André Pönitz  <poenitz@gmx.net>
174
175         * undo.C (recordUndoFullBuffer): implement undo for
176         textclass switches
177
178 2005-07-14  André Pönitz  <poenitz@gmx.net>
179
180         * cursor.C (setSelection): open insets when selection is set there
181         to avoid crashs with cold coord cache
182
183 2005-07-14  André Pönitz  <poenitz@gmx.net>
184
185         * trans_mgr.C (insert): move cursor to the right after inserting
186         a char.
187
188 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
189
190         * BufferView_pimpl.C (update): dampen some of the debug blabbering
191         * factory.C (readInset): ditto
192         * text.C, text2.C: ditto
193
194 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
195
196         * buffer.C: format incremented to 242. There is no file format per
197         se, but the "frenchb" language has been removed from lib/language
198         and has to be translated to "french" by lyx2lyx.
199
200 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
201
202         * cursor_slice.h, dociterator.h: add some documentation
203         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
204
205 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
206
207         * text.C (leftMargin): do not add identation to display() style
208         insets, because they are always centered (bug 1293).
209
210 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
211
212         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
213         formatted_time methods in support/lyxtime.
214
215 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
216
217         * toc.[Ch]: new method getGuiName, which is used by the frontends 
218         to set the toc combo (fixes bug 1870). Make TOC string translatable.
219
220 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
221
222         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
223         StableDocIterator const &)
224         * undo.C (recordUndo): use the above instead of cell.size() comparison
225         (fixes bug 1808; instructed by André).
226
227 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
228
229         * cursor_slice.h: 
230         * dociterator.h: Fix the assert when copying rows/cols in math
231
232 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
233
234         * BufferView_pimpl.C:
235         * LyXAction.C:
236         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
237
238         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
239         (findInset): new functions, refactored from goto Inset that return 
240         the position of a certain inset without setting the buffer's cursor
241         (by Jean-Marc); 
242         (gotoInset): rewrite to call findInset and then set the cursor
243         (by Jean-Marc).
244
245 2005-06-16  Angus Leeming  <leeming@lyx.org>
246
247         * lyxrc.C (output, read): wrap all input and output of paths with
248         calls to os::internal_path and os::external_path, respectively.
249         (output): wrap bind_file inside quotes.
250
251         * format.C (view): enable the viewer to use the '$$s' placeholder.
252
253 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
254
255         * LColor.[Ch] (getFromLaTeXName): new
256
257 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
258
259         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
260
261 2005-06-14  Angus Leeming  <leeming@lyx.org>
262
263         * lyx_main.C (init): ensure that the LyX binary dir is the first
264         element in the PATH on non-POSIX builds.
265
266 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
267
268         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
269
270 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
271
272         * rowpainter.C (paintInset, paintHebrewComposeChar)
273         (paintArabicComposeChar, paintChars): add a LyXFont argument.
274         (paintChars): use getFontSpan to reduce calls to getFont to a
275         minimum; use Paragraph::lookupChange instead of isXXXText.
276         (paintForeignMark): rename LyXFont argument.
277         (paintFromPos): pass a LyXFont object to the various paintXXX
278         methods.
279
280         * FontIterator.C (FontIterator, operator++): use
281         Paragraph::getFontSpan
282
283         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
284         version that returns the font span as a pair.
285
286 2005-06-09  Angus Leeming  <leeming@lyx.org>
287
288         * converter.C (convert): Don't forget "outfile = real_outfile" as
289         the final step in a conversion where the input and output file names
290         are the same. Otherwise, future conversion steps won't work...
291
292 2005-06-09  Angus Leeming  <leeming@lyx.org>
293
294         * lyxsocket.C: remove stub code as it isn't needed by
295         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
296
297 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
298
299         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
300         effectively disabled -x
301
302 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
303
304         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
305         when it actually makes sense.
306
307 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
308
309         * BufferView_pimpl.C: revert to showCursor in connection with
310         Lars's front-end stack
311
312 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
313
314         * text.C (redoParagraph): move cursor right after a bibitem
315         has been inserted.
316
317         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
318
319 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
320
321         * buffer_funcs.C (bufferErrors): fix computation of the end of an
322         error range.
323
324 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
325
326         * BufferView.[Ch] (update):
327         * BufferView_pimpl.[Ch] (update, metrics):
328         * dimension.h (operator==):
329         * lyxfunc.C (dispatch):
330         * metricsinfo.h (ViewMetricsInfo):
331         * rowpainter.C (paintText):
332         * lyxtext.h:
333         * text.C (redoParagraph):
334         * text3.C (dispatch): Make LyX only repaint current paragraph in
335         case of character insert --> speedup. Also fix cursor draw
336         artifacts
337
338 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
339
340         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
341         avoid a crash (bug 1891)
342
343 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
344
345         Fix bug 1892:
346
347         * text2.C (getStringToIndex): constify cur argument.
348
349         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
350         argument has been given
351         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
352         try to invoke LFUN_INSET_APPLY).
353
354         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
355         if no inset was created by doInsertInset
356         (doInsertInset): return true if an inset has been inserted.
357
358 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
359
360         * vspace.C (asGUIName): new method. A version of the space
361         suitable for showing on screen.
362
363 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
364
365         * MenuBackend.C:
366         * lyxrc.C: rename "ASCII" to "Plain Text"
367
368 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
369
370         * buffer_funcs.C (expandLabel): take a Buffer as argument;
371         translate the labelstring.
372         (setCounter): translate labelstring as needed.
373
374         * output_docbook.C (makeCommand): fix expandLabel invokation
375
376 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
377
378         * BufferView.C: fix dialog title
379
380 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
381
382         * lyx_main.C (priv_exec): fix logic error with help from Angus
383         * lyx_main.C (parse_execute): set is_gui = false and remove now
384         obsolete comment about a segfault
385
386 2005-05-18  Angus Leeming  <leeming@lyx.org>
387
388         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
389
390 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
391
392         * tabular.[hC]: added setCellInset to fix tabular paste.
393
394 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
395
396         * buffer.C (save): check if destination is writable before trying
397         to copy a file
398
399 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
400
401         * BufferView_pimpl.C (update): fix processEvents -caused update
402         recursion bug
403
404 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
405
406         * buffer_funcs.C (setCounter): fix test for numbering of
407         environments.
408
409         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
410         depth correctly; use optional argument when it exists
411
412         * lyxtextclass.C: remove unused MaxCounterTags enum
413         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
414         (max_toclevel, min_toclevel): new methods.
415
416         * MenuBackend.C (expandToc2): fix case where depth is smaller than
417         the smallest depth in toc.
418
419         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
420         layouts that should not appear in a table of contents.
421
422 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
423
424         * cursor.h (undispatched, noUpdate): add comments from André
425
426 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
427
428         * lfuns.h:
429         * LyXAction.C:
430         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
431
432 2005-05-07  André Pönitz  <poenitz@gmx.net>
433
434         * cursor.[Ch] (leaveInset): new function
435
436 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
437
438         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
439
440 2005-05-04  Angus Leeming  <leeming@lyx.org>
441
442         * lyxfunc.C (getStatus): disable the spell checker dialog if
443         none of USE_[AIP]SPELL are defined.
444
445 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
446
447         * tabular.C (setWidthOfCell): remove obsolete comment
448
449 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
450
451         * paragraph.C (bibitem):
452         * buffer_funcs.C (setCounter):
453         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
454
455 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
456
457         * text3.C (getStatus): immediately return after setOnOff
458
459         * rowpainter.C: fix drawing of appendix start
460
461 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
462
463         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
464         SwitchBetweenClasses and remove the unused return value.
465         Handle character styles, too
466
467 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
468
469         * factory.C (createInset): handle undefined character styles
470
471 2005-05-02  Angus Leeming  <leeming@lyx.org>
472
473         * buffer.C: protect the #include of utime.h with a preprocessor
474         guard.
475
476 2005-05-02  Angus Leeming  <leeming@lyx.org>
477
478         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
479         function so that auto-saving works, albeit in a blocking manner.
480
481         * Makefile.am: make compilation of the client sub directory, of
482         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
483         on conditionals set at configure time.
484
485         * SpellBase.[Ch]: no longer an abstract base class. Instead,
486         it can be compiled in its own right but has no-op functionality.
487
488         * aspell.C, pspell.C: remove preprocessor guards. The files should
489         be compiled only if the necessary functionality exists.
490
491         * lyxserver.C, lyxsocket.C: disable on Windows.
492
493 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
494
495         * text.C (leftMargin): Fix the parindent use bug (1764)
496         by dirty trick
497
498 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
499
500         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
501         argument.
502
503 2005-04-25  Angus Leeming  <leeming@lyx.org>
504
505         * Bidi.[Ch]:
506         * coordcache.[Ch]:
507         * ispell.C:
508         * lyxserver.C:
509         * mover.C:
510         * pch.h:
511         include <config.h> in .C files, not .h ones.
512         add licence blurb.
513         protect headers inside preprocessor guards.
514
515 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
516
517         * FuncStatus.h (StatusCodes): document
518
519 2005-04-21  André Pönitz  <poenitz@gmx.net>
520
521         * FuncStatus.h (enabled, onoff): document
522
523 2005-04-19  Angus Leeming  <leeming@lyx.org>
524
525         * BufferView_pimpl.C (cursorToggle): no longer test whether
526         any child processes have been reaped before calling
527         handleCompletedProcesses().
528
529 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
530
531         * text3.C (dispatch): fix, finally fix, the language problem in
532         new lyxtexts, without disabling on-the-fly font changes (Helge's
533         bug report)
534
535 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
536
537         * text3.C (dispatch): set cursor on double/triple click events
538         (bug 1811)
539
540 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
541
542         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
543         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
544
545         * rowpainter.C (paintFirst): simplify the code a little bit. In
546         particular, remove the test for secnumdepth.
547         * text.C (setHeightOfRow): only allocate space for chapter number
548         when updateCounters provided an actual label, instead of looking
549         at secnumdepth directly.
550
551         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
552
553         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
554         paragraphs when secnumdepth is large enough or, for environments,
555         when they are not the first in a sequence.
556
557 2005-04-17  Angus Leeming  <leeming@lyx.org>
558
559         * buffer.C (makeLaTeXFile): replace code to manipulate a path
560         containing space and '~' characters with a call to latex_path().
561
562 2005-04-17  Angus Leeming  <leeming@lyx.org>
563
564         * converter.C (convert): protect all args of convertDefault.sh
565         script with quotes.
566
567 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
568
569         * text3.C (dispatch): change the layout to "Caption" after inserting
570         a float.
571
572 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
573
574         * text3.C (dispatch): fix language problem in newly created
575         textinsets (and main text) in non-english docs
576
577 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
578
579         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
580         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
581         * text3.C (getStatus): disable LFUN_INSET_MODIFY
582
583 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
584
585         * lyxtext.h:
586         * text.C (metrics):
587         * text2.C (getFont):
588         * rowpainter.C (getFont): Fix metrics bug introduced by inset
589         fonts fix
590
591 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
592
593         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
594         output of \item arguments without trailing text.
595
596 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
597
598         * FontIterator.C (operator*): avoid a copy of the font.
599
600 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
601
602         * rowpainter.C (getFont): fix language bug from previous fix
603
604 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
605
606         * rowpainter.C (RowPainter, getFont): fix font inside inset
607         (bugs 1766, 1809)
608
609 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
610
611         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
612         preventing inserted font, deco, delim insets jumping to start of
613         surrounding inset.
614
615 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
616
617         * lyxfunc.C (dispatch): translate message before sending it to the
618         minibuffer.
619
620 2005-03-29  Angus Leeming  <leeming@lyx.org>
621
622         * lyx_main.C (priv_exec): call os::internal_path on each file passed
623         to LyX on the command line.
624
625 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
626
627         * vc-backend.C: use QuoteName to protect file names wherever
628         necessary.
629
630 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
631
632         * buffer.[Ch]:
633         * BranchList.h: fix bugs 1844,1845: document settings don't
634         stick
635
636 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
637
638         * lyxrc.C (setDefaults, read, output, getDescription): add support
639         for tex_allows_spaces.
640
641         * exporter.C (Export): allows files in directory containing spaces
642         if tex_allows_spaces is true.
643
644         * buffer.C (makeLaTeXFile): if the document path contains spaces,
645         output it in double quotes.
646
647 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
648
649         * rowpainter.C: use default text height for drawing change tracker
650         strikeout lines.
651
652 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
653
654         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
655
656 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
657
658         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
659         directory is missing.
660
661 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
662
663         * text2.C: fixed the fix, extended to other case.
664
665 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
666
667         * text2.C: fix for cursor up/down stuck in math [bug 1792]
668
669 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
670
671         * text2.C (cursorUp): get rid of a crash
672         * text.C (x2pos): add an assert
673
674 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
675
676         * lyxfunc.C (getStatus): fix warning when assertions are disabled
677
678         * text3.C:
679         * lyxfunc.C:
680         * dociterator.C: include <boost/current_function.hpp>, which is
681         needed when assertions are disabled.
682
683 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
684
685         * text2.C: fix for stuck cursor when traversing two
686         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
687
688 2005-02-25  Andreas Vox  <avox@arcor.de>
689
690         * output_docbook.C (makeParagraph): suppress trailing newline
691         after a run of paragraphs
692
693 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
694
695         * paragraph.C: fix for confused change tracker when pasting
696         text that begins with a lineseparator. [bug 1827]
697         (setChange(0, Change::INSERTED);)
698
699         * paragraph_funcs.C: fix for lost changes on triple-paste
700         in change tracking mode [bug 1827] (par.setChange()).
701
702 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
703
704         * text2.C (updateCounters, setCounter, expandLabel): move to
705         buffer_funcs.
706
707         * buffer_funcs.C (updateCounters): turn into a free standing
708         function and add a buffer parameter. Remove dead code for tracking
709         labelstring change.
710         (setCounter): change into a free-standing function which gets a
711         dociterator as argument. Use this iterator to fix captions in a
712         simple way. When no float is found above the caption, use the
713         labelstring of the caption layout as default.
714
715         * text.C (breakParagraph, backspace):
716         * text2.C (init, setLayout, changeDepth):
717         * text3.C (dispatch):
718         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
719         updateCounters.
720
721         * dociterator.C (forwardPar): make it much faster by calling
722         forwardPos() only when really necessary.
723
724         * output_docbook.C (makeCommand): adapt to expandLabel move.
725
726         * cursor.C: remove unused variable
727
728 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
729
730         * paragraph_funcs.C: fix crash when pasting insets in change
731         tracking mode [bug 1277] (honour change type in moveItem).
732
733 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
734
735         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
736
737 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
738
739         * BufferView.C (setCursor): change to use a DocIterator.
740         (gotoLabel): use BufferView::setCursor (other part of bug 781).
741         (putSelectionAt): adapt to BufferView::setCursor change.
742
743         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
744         moved here from LyXText and rewritten to use proper cursor
745         methods. Fixes bug 1787, 616 and 835.
746
747         * BufferView_pimpl.C (restorePosition): set the cursor correctly
748         when inside an inset (part of bug 781).
749         (dispatch): adapt to change of BufferView::setCursor.
750         (getStatus, dispatch): handle LFUN_GOTOERROR,
751         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
752
753         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
754         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
755         * text3.C (gotoNextInset, gotoInset): removed.
756
757 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
758
759         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
760
761 2005-02-15  Angus Leeming  <leeming@lyx.org>
762
763         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
764         can be used meaningfully in a comparison.
765
766 2005-02-13  André Pönitz  <poenitz@gmx.net>
767
768         * bufferview_funcs.C (coordOffset): improve cursor drawing
769
770 2005-02-13  André Pönitz  <poenitz@gmx.net>
771
772         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
773         * Cursor.C (dispatch): use fixIfBroken
774         * lyxfunc.C (getStatus): use fixIfBroken
775
776 2005-02-15  Angus Leeming  <leeming@lyx.org>
777
778         * lyx_main.C (error_handler):
779         * lyxfunc.C:
780         * lyxrc.C (setDefaults):
781         s/GetEnv/getEnv/.
782         #include "environment.h".
783
784         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
785
786 2005-02-15  Angus Leeming  <leeming@lyx.org>
787
788         * lyxserver.C (startPipe): squash MSVC warning "local variable
789         'fd' used without having been initialized".
790
791 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
792
793         * BufferView_pimpl.C: revert accidental commit.
794
795 2005-02-14  André Pönitz  <poenitz@gmx.net>
796
797         * dociterator.[Ch]: new member forwardPosNoDescent(),
798         which doesn't enter nested insets.
799         * text2.C (setFont): use forwardPosNoDescent() instead
800         of ForwardPos() (fixes crash on font change).
801
802 2005-02-13  Angus Leeming  <leeming@lyx.org>
803
804         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
805         only if lyxrc.path_prefix is not empty.
806
807 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
808
809         * bufferparams.C (readGraphicsDriver): prevent crash
810
811 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
812
813         * text2.C (setCounter): check for inInset() == 0
814
815 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
816
817         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
818         but use update() to get correct screen display; use convert
819         instead of istringstream.
820         (getStatus): handle LFUN_GOTO_PARAGRAPH
821
822         * lyxfunc.C (dispatch, getStatus): do not handle
823         LFUN_GOTO_PARAGRAPH here.
824
825 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
826
827         * text3.C (dispatch): size() -> depth()
828
829         * text2.C: remove some debug output
830
831         * paragraph.C: ws changes only
832
833         * lyxfunc.C (getStatus): size() -> depth()
834
835         * dociterator.h (clear, push_back, pop_back, internalData,
836         operator[], resize, empty): new functions
837         Make StableDocIterator and operator== be friends. Don't inherit
838         from std::vector use a privat class variable slices_ instead.
839         Modify to fit.
840
841         * dociterator.C: update because of not inheriting from std::vector
842         anymore. Call explictly to slices_ instead. Use depth() instead of
843         size() and top() instead of back()
844
845         * cursor.C: chagne size() -> depth and back() -> top(). Also
846         remove some direct operator[](i) calls in favour of foo[i]
847         (getFont): remove some dead code
848
849         * bufferview_funcs.C (coordOffset): size() -> depth()
850
851         * buffer.C: ws changes only
852
853         * CutAndPaste.C (eraseSelection): back() -> top()
854
855         * BufferView_pimpl.C (selectionRequested): back() -> top()
856
857         * BufferView.C (setCursor): size() -> depth()
858
859 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
860
861         * text3.C (cursorPrevious): return true if depm changed something
862         (cursorNext): ditto
863         (dispatch): rename sl to oldTopSlice, remove moving use the new
864         NoUpdate func attrib instead. Make sure that needsUpdate is set
865         for function that have NoUpdate, but where depm might have changed
866         the buffer anyway.
867
868         * text2.C (cursorLeft): make us return true if depm changed
869         something
870         (cursorRight): ditto
871         (cursorUpParagraph): ditto
872         (curosrDownParagraph): ditto
873         (cursorUp, cursorDown): ditto, make sure to read comments in code
874         (deleteEmptyParagraphMechanism): remove an assert, also return
875         true if just a single char was deleted.
876
877         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
878         cursor that we modify, to avoid modifying an active cursor before
879         we call setCursor. This allows depm to run. Also return true if
880         depm deleted something.
881
882         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
883         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
884         cursorDownParagraph, cursorPrevious and cursorNext, return true if
885         something was changed in the buffer because of them (ie. depm run)
886
887         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
888         debug messages. Make update by default be false. Make sure that
889         the result of update is retained throught several calls down to
890         dispatch.
891
892         * LyXAction.h: add a new func_attrib: NoUpdate
893
894         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
895         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
896         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
897         and LFUN_WORDLEFT
898         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
899
900 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
901
902         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
903         bv_->owner(), bv_->buffer() by direct references to the private
904         members.
905         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
906         (getStatus): isSavedPosition() is in BufferView::Pimpl.
907         (fitCursor): center() is in BufferView::Pimpl.
908         (getStatus, trackChanges, dispatch): no need for a temporary buf
909         variable
910         (fitCursor, workAreaDispatch): use workarea().workheight()
911
912 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
913
914         * CutAndPaste.C (pasteSelectionHelper): fix a crash
915
916 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
917
918         * buffer.C: format up to 241.
919         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
920         break if pasting into ERT
921         * lyxfunc.C (getStatus): suppress mathpanel and
922         LFUN_DIALOG_SHOW_NEW_INSET in ERT
923
924 2005-02-01  Angus Leeming  <leeming@lyx.org>
925
926         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
927
928 2005-02-01  Angus Leeming  <leeming@lyx.org>
929
930         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
931         calling fs::is_directory().
932
933 2005-01-31  Angus Leeming  <leeming@lyx.org>
934
935         * lyx_main.C (priv_exec): specify explicitly the relative location
936         of the top level build directory when run in-place.
937
938 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
939
940         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
941         LyXText containing the cursor, not the top-level one.
942
943         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
944         true.
945         (insertStringAsLines): rename par to pit; use temporary variable
946         par to hold a Paragraph; do not store par.layout() in a variable,
947         since the pointer may die when breaking paragraphs; pass pars to
948         breakParagraph() instead of Buffer::paragraphs().
949
950 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
951
952         * lyxlex_pimpl.h: #include <fstream>.
953
954         * BufferView.[Ch] (getLyXText): add a const version.
955
956         * BufferView_pimpl.C: add debug aids.
957
958         * RowList_fwd.h:
959         * buffer.h:
960         * lyxrow.h:
961         * paragraph_funcs.h: add commentary explaining what the class does.
962
963
964         * coordcache.[Ch]: add lots of commentary.
965         (startUpdating, doneUpdating): debug aids.
966         (arrays, insets, parPos, getParPos): accessors to private data.
967
968         * cursor_slice.[Ch] (text): add a const version.
969         * dociterator.[Ch] (text, innerText): add const versions.
970
971         * lyxtext.h (breakParagraph): change the keep_layout arg to a
972         bool.
973
974         * paragraph.C (getRow, pos2ros): add asserts.
975
976         * paragraph.h: add commentary. Lots of.
977
978         * paragraph.[Ch] (metrucs, draw): removed.
979
980         * cursor.C:
981         * rowpainter.[Ch]: const-correct changes.
982
983         * text.C: various obvious clean-ups. Removal of ancient cruft.
984         Bug fixes, even.
985
986 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
987
988         * vc-backend.C (find_file): rewrite to use boost.filesystem
989         (scanMaster): ditto
990
991         * main.C (main): set default name check for boost.filesystem to
992         no check
993
994         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
995         (open): ditto
996         (doImport): ditto
997         (actOnUpdatedPrefs): ditto
998
999         * lyx_main.C (init): rewrite to use boost.filesystem
1000         (queryUserLyXDir): ditto
1001
1002         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1003         (getContentsOfAsciiFile): ditto
1004
1005         * lastfiles.C (readFile): rewrite to use boost.filesystem
1006
1007         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1008
1009         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1010         (loadLyXFile): ditto
1011
1012         * buffer.C (Buffer): adjust for destroydir
1013         (getLogName): rewrite to use boost.filesystem
1014         (setFileName): ditto
1015         (save): use fs::copy_file (from fs_extras)
1016
1017         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1018
1019         * LaTeX.C (run): rewrite to use boost.filesystem
1020         (scanAuxFiles): ditto
1021         (handleFoundFile): ditto
1022
1023 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1024
1025         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1026
1027         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1028
1029 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1030
1031         * lyxlayout.[Ch]: change some vars from float to double
1032
1033         * buffer.C (readFile): make a local var const
1034
1035         * Several files: use convert<> instead of atoi,strToXXX and friends
1036
1037 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1038
1039         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1040         holds the contents of packages.lst. New functions getAvailable
1041         and isAvailable to parse and check that list, resp.
1042
1043         * LyXAction.C:
1044         * lfuns.h:
1045         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1046
1047         * bufferparams.[Ch]: new param output_changes.
1048
1049         * Buffer.C: increase file format to 240.
1050         Use output_changes and isVailable.
1051
1052         * changes.[Ch]:
1053         * paragraph.C:
1054         * paragraph_pimpl.C: Use output_changes and isVailable.
1055
1056 2005-01-23  Angus Leeming  <leeming@lyx.org>
1057
1058         * output_latex.C: #include "insetbibitem.h", rather than
1059         forward declare function bibitemWidest.
1060
1061 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1062
1063         * lyx_main.C (init): make it compile on the Mac.
1064
1065 2005-01-20  Angus Leeming  <leeming@lyx.org>
1066
1067         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1068         (setLyXMisc): (char string literal) != (char string literal) is
1069         performing a comparison on the addresses. Convert one operand
1070         explicitly to string to guarantee expected behaviour.
1071         From MSVC warning.
1072
1073 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1074
1075         * buffer.C:
1076         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1077
1078         * output_plaintext.C: remove unneeded #include gzstream.h.
1079
1080 2005-01-20  Angus Leeming  <leeming@lyx.org>
1081
1082         * SpellBase.h: rename some of the elements of the Result enum.
1083
1084         * aspell_local.h:
1085         * ispell.h:
1086         * pspell.h:
1087         * aspell.C (check):
1088         * ispell.C (check):
1089         * pspell.C (check): ditto
1090
1091 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1092
1093         * buffer.C: add #include <fstream>.
1094
1095         * lyx_main.C (init): Compile fix.
1096
1097         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1098
1099 2005-01-20  Angus Leeming  <leeming@lyx.org>
1100
1101         * mover.h: change commentary to reflect the changed meaning of
1102         the $$s placeholder.
1103
1104 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1105
1106         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1107
1108         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1109
1110 2005-01-20  Angus Leeming  <leeming@lyx.org>
1111
1112         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1113         printing diagnostic data by not dereferecing an iterator past the
1114         end.
1115
1116 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1117
1118         * buffer.C (readHeader): use "&&" rather than "and".
1119
1120         * lyxserver.h (inPipeName, outPipeName): make these const.
1121
1122 2005-01-19  Angus Leeming  <leeming@lyx.org>
1123
1124         * lyx_main.C (error_handler, init): protect SIGHUP with
1125         #ifdef SIGHUP guards.
1126
1127 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1128
1129         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1130
1131 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1132
1133         * text.C (setHeightOfRow): add a margin at the top and bottom of
1134         the document (bug 1761)
1135
1136 2005-01-17  Angus Leeming  <leeming@lyx.org>
1137
1138         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1139         with "python ". Workaround for a brain-dead Windows.
1140
1141 2005-01-16  Angus Leeming  <leeming@lyx.org>
1142
1143         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1144         for MacOSX and Windows to use prependEnvPath.
1145         Strip out the hard-coded block to add elements to the PATH for
1146         MacOSX and replace it with a call to prependEnvPath using the
1147         contents of LyXRC::path_prefix.
1148         (queryUserLyXDir): strip out the code to run reconfigure, instead
1149         returning a boolean indicating the necessity to do so.
1150         (reconfigureUserLyXDir): contains the code to reconfigure the
1151         user support directory. Is now called after the various LyXRC data
1152         files have been read.
1153
1154         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1155
1156 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1157
1158         * converter.[Ch] (convert): take a new parameter try_default. Use
1159         a default converter (imagemagick) if try_default is true.
1160
1161 2005-01-13  Angus Leeming  <leeming@lyx.org>
1162
1163         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1164         os::cygwin_path_fix.
1165         (write): output LyXRC::cygwin_path_fix as necessary.
1166
1167 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1168
1169         * lyxrc.h:
1170         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1171
1172 2005-01-12  Angus Leeming  <leeming@lyx.org>
1173
1174         * lyx_main.C (init): set the PATH variable to include the
1175         directory containing the LyX binary when running on Mac or Windows.
1176
1177 2005-01-12  Angus Leeming  <leeming@lyx.org>
1178
1179         * lyx_main.C (init): remove cruft that purports to set the locale
1180         dir. It doesn't and is not needed anyway.
1181
1182 2005-01-10  Angus Leeming  <leeming@lyx.org>
1183
1184         * Makefile.am: remove the lyx_main.C special casing.
1185
1186         * BufferView_pimpl.C:
1187         * bufferlist.C:
1188         * exporter.C:
1189         * lyx_cb.C:
1190         * lyx_main.C:
1191         * lyxfunc.C:
1192         * messages.C: use support/package.h to provide the paths to the
1193         various directories used by LyX.
1194
1195 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1196
1197         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1198         layout if pasting into an empty paragraph)
1199
1200 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1201
1202         * tex-accent.C: add <string>
1203
1204 2005-01-06  José Matos  <jamatos@lyx.org>
1205
1206         * ParagraphParameters.C (write): put every parameter in its own line.
1207         * paragraph.C (write): reduce number of consecutive empty lines exported.
1208         * buffer.C (LYX_FORMAT): increase file format to 239.
1209
1210 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1211
1212         * everywhere: change support/tostr.h -> support/convert.h
1213
1214         * tabular.C: make all write_attributes templates, tostr -> convert
1215
1216         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1217         (emptyTag): and -> &&, and fix type for ret from getChar
1218         (getFirstWord): fix type for ret from getChar
1219         (onlyText): and -> &&
1220         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1221         getChar
1222
1223         * toc.C (goTo, action):
1224         * text3.C (dispatch):
1225         * text.C (currentState):
1226         * tex-accent.C (DoAccent):
1227         * sgml.C:
1228         * lyxrc.C:
1229         * lyxfunc.C (menuNew):
1230         * lyxfinc.C (replace):
1231         * counters.C (laberItem):
1232         * bufferview_funcs.C (font2string):
1233         * bufferparams.C (writeFile):
1234         * buffer.C (readFile):
1235         * Spacing.C (set):
1236         * MenuBackend.C: tostr -> convert
1237
1238         * LaTeX.C (runMessage): fix format
1239         (scanAuxFiles): tostr -> convert
1240
1241         * BufferView_pimpl.C (savePosition): fix format
1242         (restorePosition): ditto
1243         (dispatch): ditto
1244
1245 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1246
1247         * Spacing.[Ch]: New method getValueAsString().
1248
1249         * Spacing.[Ch]:
1250         * bufferparams.C:
1251         * ParagraphParameters.C:
1252         * lyxlayout.C:
1253         * text.C:
1254         * text3.C: store/read spacing value as string.
1255
1256         * rowpainter.C: change float value (spacing_val) to double.
1257
1258         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1259         broken custom document spacing).
1260
1261 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1262
1263         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1264         namespace, also more use of temp references and const
1265
1266         * cursor.[Ch] (getStatus): move to lyxfunc.C
1267
1268         * bufferparams.C: reformat slightly
1269
1270         * bufferview_funcs.C (font2string): constify arg
1271
1272         * changes.C:
1273         * converter.C:
1274         * counters.C:
1275         * bufferlist.C:
1276         * buffer_funcs.C: (many funcs): constify arg on function
1277         definitions, also make more local vars const, also add ASSERTS on
1278         pointer args.
1279
1280         * buffer.C (LYX_FORMAT): put const in correct place
1281         (many funcs): constify arg on function definitions, also make
1282         more local vars const
1283
1284         * aspell_local.h: remove "struct" from typdef setup
1285
1286         * aspell.C (check): make word_ok const
1287         (nextMiss): simplify slightly
1288         (error): ditto
1289
1290 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1291
1292         * lyxrc.[Ch]: store all float values as strings.
1293         use int (not float) for lyxrc.dpi.
1294
1295 2005-01-04  Angus Leeming  <leeming@lyx.org>
1296
1297         * lyx_cb.C (Reconfigure):
1298         * lyx_main.C (queryUserLyXDir):
1299         to run the <system_lyxdir>/configure correctly on Windows, prefix
1300         the path to the script with "sh " when generating the string that
1301         is passed to system().
1302
1303 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1304
1305         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1306
1307 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1308
1309         * lyxlength.C (asLatexString): get rid of setprecision
1310
1311 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1312
1313         * text2.C (setLayout): remove unused variable endpit.
1314         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1315
1316         * paragraph.C (onlyText): remove unused variable style.
1317
1318         * cursor.C (bruteFind): remove unused variables beg and end.
1319
1320         * Makefile.am (dist_noinset_DATA): not needed anymore
1321
1322         * cheaders/*: remove.
1323
1324 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1325
1326         * text3.C: fix LFUN_MATH_MODE.
1327
1328 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1329
1330         * buffer_funcs.C (countWords): new function. Counts words between
1331         two iterators.
1332
1333         * BufferView_pimpl.C (getStatus, dispatch): handle
1334         LFUN_WORDS_COUNT.
1335
1336         * LyXAction.C (init):
1337         * lfuns.h: add LFUN_WORDS_COUNT.
1338
1339 2004-12-19  Angus Leeming  <leeming@lyx.org>
1340
1341         * buffer.C (save): s/slashify_path/internal_path/.
1342
1343 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1344
1345         * lyxfind.C (findChange): do not search for end of pars, because
1346         the change tracker cannot handle this (fixes bug 1719).
1347
1348 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1349
1350         * paragraph.[Ch] (autoBreakRows): remove
1351
1352         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1353
1354         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1355         avoid using the paragraph one
1356
1357         * text2.C (LyXText, insertStringAsLines): adjust
1358
1359 2004-12-16  Angus Leeming  <leeming@lyx.org>
1360
1361         * bufferlist.C:
1362         * lyx_main.C:
1363         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1364
1365 2004-12-14  Angus Leeming  <leeming@lyx.org>
1366
1367         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1368
1369         * bufferlist.C (emergencyWrite):
1370         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1371         GetEnvPath("HOME").
1372
1373 2004-12-14  Angus Leeming  <leeming@lyx.org>
1374
1375         * main.C: (main): no longer pass pointers to os::init.
1376
1377 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1378
1379         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1380         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1381
1382 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1383
1384         * lyxfunc.C:
1385         * text3.C: remove selection_possible global flag
1386
1387 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1388
1389         * text2.C (getSelectionSpan): remove
1390         (changeDepth, changeDepthAllowed): adjust
1391
1392 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1393
1394         * Makefile.am (BOOST_LIBS): use boost variables
1395
1396 2004-12-03  José Matos  <jamatos@lyx.org>
1397
1398         * buffer.C: format up to 238.
1399
1400 2004-12-03  José Matos  <jamatos@lyx.org>
1401
1402         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1403
1404 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1405
1406         * cursor.C (goUpDown): remove call to idxUpDown2
1407
1408 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1409
1410         * tabular.[Ch]: use size_t-like types for cell, row and column
1411         indices
1412
1413 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1414
1415         * lyxfunc.C (getStatus): do not lose previous information when
1416         calling BufferView::getStatus; do not set a default "Command
1417         disabled" message at the beginning, but just before returning.
1418
1419 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1420
1421         * cursor.h (getStatus): add better comment from src/cursor.C
1422
1423 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1424
1425         * text3.C (getStatus): return false when the lfun is not handled
1426
1427 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1428
1429         * broken_headers.h: remove
1430
1431         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1432
1433 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1434
1435         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1436         offset_ref accessors
1437
1438         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1439         top_y_, merge fitcursor with update
1440         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1441         coord scheme
1442         (metrics): introduce
1443         (workAreaDispatch): adapt to new coord scheme
1444         (redoCurrentBuffer): remove
1445
1446         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1447
1448         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1449         CurStatus enum.
1450
1451         * coordcache.[Ch]: add paragraph cache and helpers
1452
1453         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1454         adjust everywhere
1455
1456         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1457         (targetX, setTargetX): introduce
1458
1459         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1460         baseline -> ascent, as the rest of lyx
1461
1462         * lyxtext.h: remove redoParagraphs, updateParPositions,
1463         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1464         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1465         have ascent/descent (ascent is ascent of first par)
1466
1467         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1468         step of BufferView
1469
1470         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1471
1472         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1473
1474         * pariterator.C: fix infinite loop introduced in par->pit renaming
1475
1476         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1477         in insets and LyXText, draw two off-screen paragraphs using
1478         NullPainter, and adapt to new coord scheme
1479
1480         * text.C:
1481         * text2.C:
1482         * text3.C: adapt lfun handlers to the new coord scheme, which
1483         means: there's only guaranteed coord information for onscreen pars
1484         plus one above and one below. This implies that one can do search
1485         from y coordinates in the range [-1,workHeight]
1486
1487 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1488
1489         * rename a lot of InsetOld to InsetBase
1490
1491 2004-11-25  Angus Leeming  <leeming@lyx.org>
1492
1493         * BufferView_pimpl.C:
1494         * lyx_cb.C:
1495         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1496
1497 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1498
1499         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1500         call BufferView::getStatus if LCursor::getStatus did nothing
1501         (setStatusMessage, getStatusMessage): removed.
1502
1503         * FuncStatus.C (message): new methods. Used to provide an error
1504         message indicating why a command is disabled.
1505         (clear, |=, FuncStatus): update for message.
1506
1507 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1508
1509         * lyxfunc.C (dispatch): always call sendDispatchMessage
1510
1511 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1512
1513         * BufferView.C:
1514         * BufferView_pimpl.C:
1515         * CutAndPaste.C:
1516         * FontIterator.C:
1517         * buffer.C:
1518         * cursor.C:
1519         * cursor_slice.[Ch]:
1520         * dociterator.[Ch]:
1521         * lyxfind.C:
1522         * paragraph_funcs.C:
1523         * pariterator.C:
1524         * rowpainter.C:
1525         * text.C:
1526         * text2.C:
1527         * text3.C:
1528         * undo.C: par->pit renaming
1529
1530 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1531
1532         * tabular.C (cellstruct): use initialization, store a shared_ptr
1533         to insettext instead of the insettext directly, adjust to fit.
1534         (operator=):  new function
1535         (swap): new function
1536         (rowstruct): use initialization
1537         (columnstruct): use initialization
1538         (ltType): use initialization
1539
1540
1541         * lyxlength.h (swap): new function
1542
1543         * LColor.[Ch] (operator=): use the common semantics
1544
1545 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1546
1547         * lyxfind.C (findNextChange): update the bufferview after setting
1548         the selection.
1549
1550 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1551
1552         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1553         number of InsetOptArgs has already been inserted.
1554
1555         * output_latex.C (latexOptArgInsets): new method. This outputs all
1556         the optarg insets, up to the limit defined in the layout file.
1557         (optArgInset): removed
1558         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1559
1560 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1561
1562         * paragraph.C (isLetter): remove special spellchecker-related
1563         code; return true also for digits
1564         (isWord, isKomma): remove
1565
1566         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1567         * lyxfind.C (MatchString()): use isLetter instead of isWord
1568
1569 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1570
1571         * pariterator.h (operatir=): comment out un-implemented member
1572         function.
1573
1574         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1575         static cast.
1576
1577 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1578
1579         * lyxfont.h: include LColor.h to satisfy concept checks.
1580
1581 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1582
1583         * pariterator.h: add typdefs for value_type, difference_type,
1584         pointer and reference to satisfy concept checks. Also add default
1585         constructor for same reason.
1586
1587         * pariterator.C (operator++): add post-increment operator to
1588         satisfy concept checks.
1589
1590         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1591         checks.
1592
1593         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1594
1595         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1596         checks. Also rename base_type to BaseType to follow naming
1597         standard better.
1598
1599         * FloatList.h: include Floating.h to satisfy concept checks.
1600
1601 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1602
1603         * lyxfunc.C (getStatus): when the origin of the request is menu or
1604         toolbar, and the LyXView does not have focus, do as if there was
1605         no buffer (bug 1720)
1606
1607         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1608         FuncRequest to individual entries of LFUN_SEQUENCE
1609
1610 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1611
1612         * output_latex.C (TeXOnePar): override runparams.moving_arg
1613         according to the needprotect value of the current paragraph (bug
1614         1739)
1615
1616         * paragraph.C (simpleTeXOnePar): no need to override
1617         runparams.moving_args here
1618
1619 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1620
1621         * vspace.C: fix off-by-one-error, related to fix #1682
1622
1623 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1624
1625         * lengthcommon.C: a more general fix for bug 1682
1626
1627 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1628
1629         * text.C (backspace): fix crash
1630
1631 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1632
1633         * format.[Ch] (getFormatFromFile): new method
1634         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1635
1636 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1637
1638         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1639
1640 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1641
1642         * lyxfunc.C (dispatch): remove the verbose argument
1643         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1644         instead
1645
1646         * kbmap.C (defkey): set the origin of func to KEYBOARD
1647
1648         * MenuBackend.C (MenuItem):
1649         * ToolbarBackend.C (add): set the origin of func to UI
1650
1651         * funcrequest.[Ch]: add origin member, which indicates which part
1652         of LyX requests an action
1653
1654 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1655
1656         * converter.C (move): don't lie in the error message
1657         * converter.h (isReachable, move): document
1658
1659 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1660
1661         * buffer.C: remove unused using lyx::support::atoi
1662         * paragraph_funcs.C: ditto
1663
1664 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1665
1666         * bufferlist.C (exists): use bind and equal_to instead of
1667         compare_memfun
1668         (getBuffer): ditto
1669         * lyxtextclasslist.C (NumberOfClass): ditto
1670
1671         * cursor.C (insert): use for_each instead of explicit for loop
1672
1673         * bufferlist.C (getFileNames): use std::transform and
1674         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1675
1676         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1677         for loop
1678
1679         * buffer.C (changeLanguage): use for_each instead of explicit for
1680         loop
1681         (hasParWithID): implement using getParFromID
1682
1683         * LaTeXFeatures.C: ws change only
1684
1685         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1686         to cleanup a bit.
1687
1688         * BufferView_pimpl.C (trackChanges): use for_each instead of
1689         expilicit for loop
1690
1691 2004-11-04  André Pönitz  <poenitz@gmx.net>
1692
1693         * undo.h:
1694         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1695
1696         * dociterator.C (asDocIterator): use hard assert again.
1697
1698 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1699
1700         * lyxlength.C (asLatexString): rewrite so that it does not use
1701         snprintf anymore
1702
1703 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1704
1705         * text3.C (specialChar, dispatch): make sure cursor moves to the
1706         right after inserting an inset
1707
1708 2004-11-02  José Matos  <jamatos@lyx.org>
1709
1710         * output_docbook.C (docbook):
1711         * paragraph.C (getID):
1712         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1713         garantee that the output is always legal.
1714
1715         * tabular.C (docbook):
1716         * outputprams.[Ch]: remove mixed contents.
1717
1718 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1719
1720         * text2.C (setCounter): prevent endless loop
1721
1722 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1723
1724         * exporter.C (copyFile): use the mover instead of support::copy()
1725         * exporter.C (Export): pass format and latex name to copyFile()
1726         * exporter.h (addExternalFile): document
1727         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1728
1729 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1730
1731         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1732
1733 2004-10-30  José Matos  <jamatos@lyx.org>
1734
1735         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1736         text and no inset or font change. This allows to use CDATA
1737         sections just for the whole paragraph.
1738
1739 2004-10-30  José Matos  <jamatos@lyx.org>
1740
1741         * paragraph.C (getFirstWord): remove unused variable.
1742
1743 2004-10-30  José Matos  <jamatos@lyx.org>
1744
1745         * paragraph.C (getFirstWord): the content should always be escaped
1746         there.
1747         (simpleDocBookOnePar):
1748         * output_docbook.C (makeEnvironment): replace reference to CDATA
1749         to style pass_thru.
1750
1751 2004-10-30  José Matos  <jamatos@lyx.org>
1752
1753         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1754
1755 2004-10-30  José Matos  <jamatos@lyx.org>
1756
1757         * output_docbook.C (makeParagraphs):
1758         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1759         standard paragraph has only a given type of content drop the wrapper.
1760
1761 2004-10-29  José Matos  <jamatos@lyx.org>
1762
1763         * output_docbook.C (makeEnvironment):
1764         * sgml.C (openTag):
1765         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1766
1767 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1768
1769         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1770         (cleanID): sanitize any id.
1771
1772 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1773
1774         * buffer.C, lyxlex_pimpl.C:
1775         * lyxlex_pimpl.C (setFile):
1776         s/getExtFromContents/getFormatFromContents/
1777
1778 2004-10-28  José Matos  <jamatos@lyx.org>
1779
1780         * output_docbook.C (makeEnvironment): move id to broadest possible
1781         scope.
1782
1783         * sgml.C (openTag): apply substitution of <> for all attributes.
1784
1785 2004-10-28  José Matos  <jamatos@lyx.org>
1786
1787         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1788         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1789         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1790
1791         * sgml.[Ch]: new version for open and closeTag for paragraph and
1792         for strings. Now they handle the ids of paragraphs.
1793
1794 2004-10-26  Angus Leeming  <leeming@lyx.org>
1795
1796         * Makefile.am: add mover.[Ch].
1797
1798         * converter.C (convert, move): use the new Movers to move external
1799         files to the temp directory.
1800
1801         * lyx_main.C (init): ensure that the global system_movers data
1802         is initialised.
1803
1804         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1805         preferences file.
1806
1807         * mover.[Ch]: new files, defining a Mover as a utility to move an
1808         external file between directories and, if necessary, manipulate this
1809         file using a helper script.
1810
1811 2004-10-25  José Matos  <jamatos@lyx.org>
1812
1813         * output_docbook.C (makeCommand): merge two if's that tested the
1814         same condition.
1815
1816 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1817
1818         * sgml.C (escapeString): fix warning in a better way
1819
1820 2004-10-25  José Matos  <jamatos@lyx.org>
1821
1822         * sgml.C (escapeString): import the require boosts header file for
1823         tie, and avoid a signed unsigned comparison.
1824
1825 2004-10-25  José Matos  <jamatos@lyx.org>
1826
1827         * sgml.h: add #include <string>
1828
1829 2004-10-25  José Matos  <jamatos@lyx.org>
1830
1831         * sgml.[Ch] (escapeString): new function to escape all the string.
1832
1833 2004-10-24  José Matos  <jamatos@lyx.org>
1834
1835         * paragraph.[Ch] (getFirstWord): new function to get the first
1836         word. Useful for description.
1837         (simpleDocBookOnePar): remove depth argument, add another that
1838         says where to start the paragraph.
1839
1840         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1841         use the new functions to fix cleanly the support for descriptions.
1842
1843 2004-10-24  José Matos  <jamatos@lyx.org>
1844
1845         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1846         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1847         * output_linuxdoc.C (linuxdocParagraphs):
1848         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1849         add buffer as argument.
1850
1851 2004-10-24  José Matos  <jamatos@lyx.org>
1852
1853         * output_docbook.C (makeEnvironment, searchEnvironment): place
1854         CDATA inside paragraphs and fix scope for listitems.
1855
1856 2004-10-24  José Matos  <jamatos@lyx.org>
1857
1858         * output_docbook.C: remove using statement for stack.
1859
1860 2004-10-23  José Matos  <jamatos@lyx.org>
1861
1862         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1863         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1864         docbook. The new scheme is recursive and makes use of iterators, the
1865         same as latex export works.
1866         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1867         directly with the paragraph contents. This code was moved up to
1868         output_docbook.C (docbookParagraphs).
1869         * sgml.C (openTag, closeTag): removed unneeded newlines.
1870         (closeEnvTags) removed.
1871
1872 2004-10-23  André Pönitz  <poenitz@gmx.net>
1873
1874         * undo.C (textUndoOrRedo):
1875         * dociterator.C (asDocIterator): work around crash
1876
1877         * cursor.C (getStatus): replace ASSERT by more verbose error message
1878           and manual correction of the problem. Should increase stability
1879           while providing more sensible information.
1880
1881 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1882
1883         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1884
1885         * bufferlist.C (previous, next): new methods
1886
1887         * lfuns.h:
1888         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1889
1890 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1891
1892         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1893         entities to preamble.
1894
1895 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1896
1897         * messages.C (Pimpl): strip off translation context information
1898
1899 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1900
1901         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1902         the cursor is correct (bug 1694)
1903
1904 2004-10-13  José Matos  <jamatos@lyx.org>
1905
1906         * output_docbook.C (docbookParagraphs): fix closing tags in the
1907         end of the document.
1908
1909 2004-10-09  José Matos  <jamatos@lyx.org>
1910
1911         * buffer.C: format up to 237.
1912         * bufferparams.C (write): use tostr to convert booleans to strings.
1913
1914 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1915
1916         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1917
1918 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1919
1920         * LaTeX.C: implement use of babel language in xindy.
1921
1922 2004-10-05  José Matos  <jamatos@lyx.org>
1923
1924         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1925         Add new translators to help reading and writing the lyx file.
1926
1927 2004-10-05  José Matos  <jamatos@lyx.org>
1928
1929         * ParagraphParameters.C (read):
1930         * text.C (readParToken): replace nexToken by more appropriate lex
1931         methods.
1932
1933 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1934
1935         * LaTeX.C (runMakeIndex):
1936         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1937         (usually 'makeindex') configurable.
1938
1939         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1940         with a variable rather than with a number.
1941
1942 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1943
1944         * output_latex.C (TeXOnePar): make sure font setting is the first
1945         thing that gets output (and the last at the end). Should fix bug
1946         1404.
1947
1948 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1949
1950         * pch.h: use proper signal include
1951
1952         * LaTeX.h: Use preferred calling of Boost.Signal
1953         * buffer.h: ditto
1954
1955 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1956
1957         * pch.h: dont include <boost/function/function0.hpp>
1958
1959         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1960
1961         * paragraph_pimpl.h: remove usage of ShareContainer
1962
1963         * paragraph_pimpl.C: remove initialization of ShareContainer.
1964
1965 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1966
1967         Fix bug #1666
1968
1969         * BufferView.C (putSelectionAt): change the semantics when
1970         backwards == true: now, this just swaps cursor and anchor wrt the
1971         forward case
1972
1973         * BufferView.h (putSelectionAt): add some documentation
1974
1975         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1976         make sure backwardChar is done at least once (to avoid getting
1977         stuck)
1978         (findNextChange): use putSelectionAt in the forward direction
1979         (operator()): use Paragraph::isWord
1980
1981 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1982
1983         * Spacing.C (set): c_str fix
1984
1985 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1986
1987         * lyx_cb.C (Reconfigure): quote the name of configure script in
1988         case it contains spaces
1989
1990 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1991
1992         * client: new dir
1993
1994         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1995         (BOOST_LIBS): use top_buildir when looking for the file
1996
1997 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1998
1999         * pch.h: do not use include boost/format.hpp, multiple symbols
2000                 will result (gcc bug)
2001
2002
2003 2004-08-23  José Matos  <jamatos@lyx.org>
2004
2005         * bufferparams.C (readToken): fix reading of the author field.
2006
2007 2004-08-20  José Matos  <jamatos@lyx.org>
2008
2009         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2010
2011 2004-08-20  José Matos  <jamatos@lyx.org>
2012
2013         * lyxlex.[Ch] (findToken): remove function.
2014
2015         * ParagraphParameters.C (findToken):
2016         * bufferparams.C (findToken): replace call for previous function
2017         with local copy. This local function has one more argument, the
2018         read string argument.
2019
2020 2004-08-16  José Matos  <jamatos@lyx.org>
2021
2022         * ParagraphParameters.C (write):
2023         * Spacing.C (writeFile):
2024         * bufferparams.C (writeLaTeX):
2025         * lyx_cb.C (Reconfigure):
2026         * paragraph.C (write):
2027         * tabular.C (write): remove unnecessary space at end of line.
2028
2029
2030 2004-08-16  José Matos  <jamatos@lyx.org>
2031
2032         * text.C (readParagraph): remove debug message.
2033
2034 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2035
2036         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2037         crash
2038
2039         * output_plaintext.C (asciiParagraph): set depth correctly
2040
2041         * outputparams.h: add member depth
2042
2043         * paragraph_funcs.C (ownerPar): remove.
2044
2045         * text2.C (setCounter): remove first_pit; comment out some
2046         non-working code that uses ownerPar
2047
2048         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2049         uses ownerPar
2050
2051 2004-08-16  José Matos  <jamatos@lyx.org>
2052
2053         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2054         For the same level of importance use the same chanel to report problems.
2055         (read): add code to deal with \begin_body and \end_body.
2056
2057
2058 2004-08-15  José Matos  <jamatos@lyx.org>
2059
2060         * lyxlex.C (getString): fix comment, buffer::readBody is now
2061         buffer:readDocument.
2062
2063         * tex-strings.C (string_papersize): Default -> default,
2064         Custom -> custom, for consistency with other options.
2065
2066 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2067
2068         * pch.h: new file
2069
2070         * Makefile.am: support pch
2071
2072 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2073
2074         * text.C (readParToken): remove the static LyXFont variable and
2075         pass it as a parameter instead. This fixes a nasty bug where an
2076         inset will be inserted with a bad font in some situations
2077         (readParagraph): adapt
2078
2079         * text2.C (setCounter): reduce number of calls to pars_[pit]
2080
2081         * text.C (singleWidth): add an assert, fix a test
2082
2083         * rowpainter.C (paintText): reduce number of calls to singleWidth
2084
2085         * paragraph.C (isHfill):
2086         (isNewline): ws only
2087
2088 2004-08-14  André Pönitz  <poenitz@gmx.net>
2089
2090         * text.C:
2091         * text2.C:
2092         * rowpainter.C:
2093         * lyxtext.h (several functions): use a Paragraph & argument
2094         instead of par_type
2095
2096 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2097
2098         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2099
2100         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2101
2102         * text.C (singleWidth): remove useless test
2103
2104 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2105
2106         * tabular.h: remove bogus comments
2107
2108         * tabular.C (getDescentOfRow):
2109         (isPartOfMultiColumn): add assertions
2110
2111         * lyxlength.C (inPixels): remove #warning
2112
2113 2004-08-14  André Pönitz  <poenitz@gmx.net>
2114
2115         * paragraph.h: inline getChar()
2116
2117         * BufferView.h: remove unused declarations
2118
2119 2004-08-14  José Matos  <jamatos@lyx.org>
2120
2121         * Buffer.[Ch] (readDocument): new name for old readBody.
2122         * Buffer.C: new file format, new keywords: \begin_document,
2123         \begin_header, \begin_body, \end_body.
2124
2125         * bufferparams.C (readToken): replace all calls to lex.nextToken
2126         by lex.next(). Do the same to eatLine except where really needed.
2127
2128         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2129         line when writing to the lyx file.
2130
2131         * output_plaintext.C (asciiParagraph): fix Bibliography style
2132         handling.
2133
2134         * text.C (read): fix end of file handling.
2135
2136 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2137
2138         * MenuBackend.C (Menu::operator[]): new method to access
2139         individual menu items
2140         (Menu::hasFunc): new method. search for an item that corresponds
2141         to a given func
2142         (MenuBackend::specialMenu): new method
2143         (MenuBackend::expand): if a special menu has been set, skip
2144         entries whose func() appears in this menu
2145
2146 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2147
2148         * text3.C: use Debug::DEBUG a bit more
2149
2150         * text.C (leftMargin): try to simplify a tiny bit change var x to
2151         l_margin. Dont output the wide margins always.
2152         (rightMargin): no margin in inner texts
2153
2154         * rowpainter.h (nestMargin): new func
2155         (changebarMargin): new func
2156         (rightMargin): new func
2157
2158         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2159         now functions.
2160         (paintLast): ditto
2161
2162         * factory.C (createInset): modify setDrawFrame
2163
2164         * cursor.C: use Debug::DEBUG a bit more
2165
2166 2004-08-14  André Pönitz  <poenitz@gmx.net>
2167
2168         * coordcache.[Ch]:
2169         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2170         cache for all insets in (at least partially) visible (top-level)
2171         paragraphs.
2172
2173         * BufferView_pimpl.C: reset external coord cache before every update.
2174         This means the coord cache only contains valid entries.
2175
2176 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2177
2178         bug 1096
2179         * BufferView_pimpl.C (getInsetByCode): move function out of class
2180         and change in to a template in anon namespace. Also fix to do what
2181         suits us better.
2182
2183 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2184
2185         bug 1305
2186         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2187         of char
2188         (breakParagraph): rename par to par_offset and use a local
2189         reference. Add code to keep the language over a rebreak.
2190         (breakParagraphConservative): rename par to par_offset, use a
2191         local reference
2192         (mergeParagraph): ditto
2193         (outerHook): ditto
2194         (isFirstInSequence): ditto
2195         (outerFont): rename pit to par_offset
2196
2197         * paragraph.C: ws change
2198         * paragraph.h: ditto
2199         * text3.C: ditto
2200         * text.C: ditto
2201
2202 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2203
2204         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2205         treatment for ']'
2206
2207         * paragraph.C (simpleTeXOnePar): when we have a \item with
2208         optional argument, enclose the argument with curly brackets (in
2209         case it contains a closing square bracket)
2210
2211         * text2.C (editXY):
2212         * text2.C (editXY):
2213         * text3.C (checkInsetHit): constify
2214
2215 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2216
2217         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2218         documents (bug 1629)
2219
2220 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2221
2222         Fix toggling of collapsable insets with the mouse (bug 1558)
2223
2224         * lyxfunc.C (dispatch): adapt to LCursor changes
2225
2226         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2227         make sure that dispatch is not invoked twice
2228
2229         * cursor.C (needsUpdate): new method
2230         (dispatch): return void
2231         (result): new method, to access the DispatchResult of the cursor.
2232
2233 2004-08-13  José Matos  <jamatos@lyx.org>
2234
2235         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2236
2237 2004-08-13  André Pönitz  <poenitz@gmx.net>
2238
2239         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2240
2241         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2242           multiple cells
2243
2244 2004-08-12  André Pönitz  <poenitz@gmx.net>
2245
2246         * text3.C: take out the 'cursor right' form insertInset and only
2247         do it in those places when it is really needed. Fixes crash on
2248         C-m...
2249
2250 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2251
2252         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2253
2254         * BufferView_pimpl.C (setBuffer): initialize the current font of
2255         the underlying LyXText
2256
2257 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2258
2259         * kbsequence.C (print): use UI native formatting for menu
2260         shortcuts
2261
2262         * text.C (insertChar): call Paragraph::insertChar with a font
2263         argument (cosmetic)
2264
2265         * paragraph.C (insertInset, insertChar): the version that takes a
2266         LyXFont argument is now a wrapper around the other one (the
2267         opposite used to be true).
2268
2269         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2270         argument. Font setting is done in Paragraph now.
2271
2272 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2273
2274         * outputparams.h: add new members intitle and lang.
2275
2276         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2277         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2278
2279 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2280
2281         * text3.C (dispatch): remove special handling of button 4 and 5,
2282         it is now taken care of in the frontend code.
2283
2284 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2285
2286         * Spacing.h: add <string> (STLPort compile fix)
2287
2288 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2289
2290         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2291
2292 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2293
2294         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2295         to bool.
2296
2297         * converter.C (showMessage): inherit from unary_function, make
2298         operator() const.
2299
2300         * buffer.C (writeFile): initialize retval
2301
2302         * InsetList.h: rename private variable list to list_
2303         * InsetList.[Ch]: adjust accordingly.
2304
2305 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2306
2307         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2308         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2309         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2310         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2311         * ParagraphParameters.C, LaTeXFeatures.C: replace
2312         "support/std_sstream.h" with <sstream>
2313
2314 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2315
2316         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2317         * lyxsocket.C (LyXServerSocket): ditto
2318         (serverCallback): ditto
2319
2320 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2321
2322         * LaTeXFeatures.C: check release date when loading jurabib.
2323
2324 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2325
2326         * lyxserver.C (startPipe): call register_socket_callback
2327         (endPipe): call unregister_socket_callback
2328
2329 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2330
2331         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2332         (LyXServerSocket): register the callback
2333         (LyXServerSocket): unregister the callback
2334         (fd): delete function
2335         (serverCallback): improve error checking and setup the callbacks.
2336         (dataCallback): change arg to fd.
2337         (writeln): new func (copied fro the client socket) used for server
2338         write to client.
2339         (LyXDataSocket): simplify
2340         (~LyXDataSocket): close ann unregiser callback
2341         (server): delete function
2342         (fd): delete function
2343         (readln): small changes, improve some std::string usage
2344         (writeln): constify a bit
2345
2346 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2347
2348         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2349         Qt frontend
2350
2351 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2352
2353         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2354         after it has been populated
2355
2356 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2357
2358         * text2.C (insertInset): move cursor when inserting inset.
2359
2360 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2361
2362         * kbmap.C (findbindings): a couple of new methods. returns a
2363         container of kb_sequence objects. The real work is done by the
2364         private recursive version
2365         (printbindings): uses findbindings to print out a bracketed list
2366         of bindings (renamed from findbinding).
2367
2368         * MenuBackend.C (binding): use kb_keymap::findbindings
2369
2370         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2371
2372 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2373
2374         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2375
2376 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2377
2378         * paragraph.C (isWord): return true on insets that report
2379         isLetter().
2380
2381         * text.C (getWord): use Paragraph::isWord to decide what is in a
2382         word and what is not; fix bug 1609.
2383
2384 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2385
2386         * tex-strings.C: add "none" to string_paperpackages[], fixes
2387         off-by-one-error in the paperpackage selection.
2388
2389         * lyxlex.[Ch]:
2390         * tex-strings.[Ch]: char const * string[n]
2391         -> char const * const string[]
2392
2393 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2394
2395         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2396         command, return early.
2397
2398 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2399
2400         * debug.h: add DEBUG to enum and fix size of ANY.
2401
2402         * debug.C: add support for Debug::DEBUG
2403         (showTags): cast errorTags.level to unsigned int
2404
2405         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2406         (redoCurrentBuffer): ditto
2407         (updateScrollbar): ditto
2408         * cursor.C (dispatch): ditto
2409         * text2.C (setLayout): ditto
2410         (setFont): ditto
2411         (updateCounters): ditto
2412         (editXY): ditto
2413         (deleteEmptyParagraphMechanism): ditto
2414
2415 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2416
2417         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2418         annotations to cleanup the Makefile slightly.
2419
2420 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2421
2422         * lyxrc.C: do not set user_email to a default value but use empty
2423         instead. The entry used to be translated, which does not work
2424         since at the point where lyxrc is constructed there is no
2425         translation service available
2426
2427         * messages.C (getLocaleDir): remove and use directly
2428         lyx_localedir() instead
2429
2430 2004-06-02  Angus Leeming  <leeming@lyx.org>
2431
2432         Fix crash caused by dereferencing null pointer 'exportdata' in
2433         OutputParams by creating a new ExportData variable on the heap,
2434         storing it in a boost::shared_ptr.
2435         The crash was triggered when generating an Instant Preview
2436         of an external inset.
2437
2438         * Makefile.am: add outputparams.C
2439
2440         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2441         (c-tor): allocate memory to it.
2442
2443         * exporter.C (c-tor): associated changes.
2444
2445 2004-06-01  Angus Leeming  <leeming@lyx.org>
2446
2447         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2448         contains data before calling isInset(0). (Bug 1513.)
2449
2450 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2451
2452         * exporter.C (checkOverwrite): new method
2453         * exporter.C (copyFile): new method
2454         * exporter.C (Export): copy referenced files to the document dir
2455         * exporter.[Ch]: new class ExportedFile
2456         * exporter.[Ch]: new class ExportData. Contains currently the
2457         names of referenced external files
2458         * outputparams.h: add exportdata member.
2459
2460 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2461
2462         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2463         version.C-tmp
2464
2465 2004-05-19  Angus Leeming  <leeming@lyx.org>
2466
2467         * LaTeXFeatures.C:
2468         * ToolbarBackend.C:
2469         * bufferparams.C:
2470         * lyxfunc.C: small changes due to the introduction of namespace
2471         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2472
2473 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2474
2475         * text3.C (dispatch): supress update when only moving the cursor
2476         * cursor.C (selHandle): remove commented code
2477
2478 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2479
2480         * paragraph.C (startTeXParParams): correct column count
2481         * CutAndPaste.C (pasteSelection): remove const_cast
2482         * output_docbook.C (docbookParagraphs): remove const_cast
2483         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2484         const_cast and return ParagraphList::const_iterator
2485         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2486         * output_plaintext.C (writeFileAscii): remove const_cast
2487         * paragraph.[Ch] (simpleTeXOnePar): make const
2488         * paragraph_funcs.C (outerPar): use const iterators
2489         * paragraph_pimpl.C (validate): use const iterators
2490         * text.C (setHeightOfRow): use const iterators
2491
2492 2004-05-17  Angus Leeming  <leeming@lyx.org>
2493
2494         * lfuns.h:
2495         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2496
2497         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2498         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2499         if the citation engine has changed.
2500
2501 2004-05-14  José Matos  <jamatos@lyx.org>
2502
2503         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2504         if the textclass does not provide it. Have it different for sgml and
2505         xml.
2506         support the language of document.
2507         * output_docbook.C (docbookParagraphs):
2508         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2509         first anchor as the id of the paragraph, remove special case code.
2510         * sgml.C (escapeChar): escape only < & >.
2511
2512 2004-05-14  Angus Leeming  <leeming@lyx.org>
2513
2514         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2515         dependencies on src/frontends/controllers/biblio.h. Define a
2516         CiteEngine_enum wrapper class to enable the enum to be forward
2517         declared.
2518
2519 2004-05-12  Angus Leeming  <leeming@lyx.org>
2520
2521         * buffer.C: up LYX_FORMAT to 234.
2522         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2523         use_numerical_citations with a single biblio::CiteEngine cite_engine
2524         variable.
2525         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2526
2527 2004-05-13  José Matos  <jamatos@lyx.org>
2528
2529         * converter.h:
2530         * converter.C (Converter, readFlags): add xml member.
2531         * outputparams.h: add XML flavor.
2532         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2533
2534 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2535
2536         * lyxfunc.C (dispatch):
2537         (getStatus): fix handling of LFUN_SEQUENCE
2538
2539 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2540
2541         * debug.C (showLevel): do not forget the end-of-line marker
2542
2543 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2544
2545         * kbmap.C (read): do not stop parsing a bind file when an error
2546         occurs (bug 1575)
2547
2548 2004-04-29  Angus Leeming  <leeming@lyx.org>
2549
2550         * cursor.C:
2551         * factory.C:
2552         * pariterator.C:
2553         * text2.C: wrap a bunch of #warning statements
2554         inside #ifdef WITH_WARNINGS blocks.
2555
2556 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2557
2558         * buffer.C: increment format to 233.
2559
2560 2004-04-28  Angus Leeming  <leeming@lyx.org>
2561
2562         * BufferView_pimpl.C:
2563         * lyxfunc.C:
2564         * text3.C:
2565         s/updateToolbar()/updateToolbars()/
2566         s/Toolbar.h/Toolbars.h/
2567
2568 2004-04-28  Angus Leeming  <leeming@lyx.org>
2569
2570         * BufferView.[Ch] (c-tor):
2571         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2572         No longer passes these data to the WorkArea generator.
2573
2574 2004-04-28  Angus Leeming  <leeming@lyx.org>
2575
2576         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2577
2578 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2579
2580         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2581
2582 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2583
2584         * output_latex.C (TeXEnvironment): make sure that there is a line
2585         break before \end{foo} for the last paragraph of a document
2586         (TeXOnePar): if the paragraph is at the end of the document (or
2587         inset) and the language has to be reset, then make sure that the
2588         line break is _before_ the language command, not after (fixes bug
2589         1225); also make sure that the language reset command is the first
2590         thing after the paragraph (to ensure proper nesting of
2591         environments and thus fix bug 1404)
2592
2593 2004-04-21  John Levon  <levon@movementarian.org>
2594
2595         * ToolbarBackend.h:
2596         * ToolbarBackend.C: make "name" be a programmatic name
2597         and a gui_name field.
2598
2599         * lyxfunc.C: display the minibuffer on M-x
2600
2601 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2602
2603         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2604         (bug 1526)
2605
2606 2004-04-19  Angus Leeming  <leeming@lyx.org>
2607
2608         * BufferView_pimpl.C (setBuffer): changed preview interface.
2609
2610         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2611         possible values.
2612
2613 2004-04-19  John Levon  <levon@movementarian.org>
2614
2615         * BufferView_pimpl.C:
2616         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2617
2618 2004-04-05  Angus Leeming  <leeming@lyx.org>
2619
2620         * text.C (redoParagraphs): add call to updateCounters(), thereby
2621         fixing the missing "Figure #:" label from the caption of a
2622         figure float.
2623
2624 2004-04-13  Angus Leeming  <leeming@lyx.org>
2625
2626         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2627         cursor is clicked out of an inset.
2628
2629 2004-04-13  Angus Leeming  <leeming@lyx.org>
2630
2631         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2632         than an InsetOld one.
2633
2634 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2635
2636         * format.[Ch]: add editor to Format
2637         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2638         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2639
2640 2004-04-08  André Pönitz  <poenitz@gmx.net>
2641
2642         * metricsinfo.h: remove PainterInfo::width member
2643
2644 2004-04-08  Angus Leeming  <leeming@lyx.org>
2645
2646         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2647         "\providecommand" rather than "\newcommand", thereby preventing
2648         clashes with packages that define "\boldsymbol" themselves.
2649         Eg, beamer.
2650
2651 2004-04-08  Angus Leeming  <leeming@lyx.org>
2652
2653         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2654         thereby squashing an unnecessary warning.
2655
2656 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2657
2658         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2659         setBuffer()
2660
2661 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2662
2663         * BufferView.C (setCursor): call redoParagraph (some insets could
2664         have been opened)
2665         (putSelectionAt): remove the 'double update' trick
2666
2667         * BufferView_pimpl.C (fitCursor): call refreshPar
2668         (workAreaDispatch): remove an uneeded update call
2669         (dispatch): remove some manual update calls
2670
2671         * cursor.[Ch]: remove cached_y_, updatePos
2672         (selHandle): set noUpdate when appropriate
2673
2674         * lyxfunc.C (dispatch): track if we need an update
2675
2676         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2677
2678         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2679         (paintSelection): cheap optimization, do not call cursorX when not
2680         needed
2681         (paintPars): change signature
2682         (refreshPar): add
2683         (paintText): adjust
2684         (paintTextInset): adjust
2685
2686         * text.C: adjust
2687
2688 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2689
2690         * lengthcommon.C: compilation fix: remove explicit array size from
2691         unit_name[] and friends
2692
2693 2004-04-05  Angus Leeming  <leeming@lyx.org>
2694
2695         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2696
2697         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2698         present only for the preferences dialog.
2699         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2700
2701 2004-04-05  Angus Leeming  <leeming@lyx.org>
2702
2703         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2704         to enable the frontends to export changes to lyxrc correctly.
2705
2706         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2707
2708 2004-04-07  André Pönitz  <poenitz@gmx.net>
2709
2710         * cursor.[Ch] (selClear, adjust): remove math
2711
2712         * cursor_slice.C: more agressive assert
2713
2714         * lyxfunc.C:
2715         * BufferView_pimpl.C: rework mouse event dispatch
2716
2717         * dociterator.C:
2718         * paragraph.C:
2719         * text2.C:
2720         * text3.C: adjust
2721
2722 2004-04-05  André Pönitz  <poenitz@gmx.net>
2723
2724         * cursor.[Ch] (valign, halign...): remove unneeded functions
2725
2726 2004-04-05  Angus Leeming  <leeming@lyx.org>
2727
2728         * lyxlength.[Ch] (unit_name et al.): const-correct.
2729
2730 2004-04-05  Angus Leeming  <leeming@lyx.org>
2731
2732         * BufferView_pimpl.C:
2733         * buffer.C:
2734         * counters.C:
2735         * cursor.C:
2736         * lyxfunc.C
2737         * paragraph.C:
2738         * pariterator.C:
2739         * text.C:
2740         * text2.C:
2741         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2742
2743 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2744
2745         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2746
2747 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2748
2749         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2750         * BufferView_pimpl.[Ch] (getStatus)
2751         * BufferView.[Ch] (getStatus): add
2752         * lyxfunc.C (getStatus): move lfuns handled in
2753         BufferView::dispatch to te function above
2754         * Cursor.C (setSelection): set selection() = true
2755
2756 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2757
2758         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2759
2760 2004-03-31  Angus Leeming  <leeming@lyx.org>
2761
2762         * lyxfunc.C (dispatch): Fall through to the generic
2763         Dialogs::show("preamble").
2764
2765 2004-03-31  Angus Leeming  <leeming@lyx.org>
2766
2767         * lyxfunc.C (dispatch): Fall through to the generic
2768         Dialogs::show("spellchecker").
2769
2770 2004-03-31  Angus Leeming  <leeming@lyx.org>
2771
2772         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2773         preferences dialog.
2774
2775 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2776
2777         * BufferView.C
2778         * cursor.[Ch]
2779         * dociterator.[Ch]:
2780         * insetiterator.[Ch]:
2781         * lyxfind.C:
2782         * lyxfunc.C:
2783         * pariterator.[Ch]:
2784         * text2.C:
2785         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2786
2787 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2788
2789         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2790         insets where we are putting the cursor.
2791
2792 2004-03-31  Angus Leeming  <leeming@lyx.org>
2793
2794         * lfuns.h:
2795         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2796
2797         * lyxrc.[Ch] (read, write): overloaded member functions taking
2798         a std::[io]stream arguments.
2799
2800         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2801
2802 2004-03-31  Angus Leeming  <leeming@lyx.org>
2803
2804         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2805         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2806
2807         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2808         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2809
2810 2004-03-31  Angus Leeming  <leeming@lyx.org>
2811
2812         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2813         the LFUN_ALL_INSETS_TOGGLE code.
2814
2815 2004-03-30  Angus Leeming  <leeming@lyx.org>
2816
2817         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2818         has died. Fall through to the generic Dialogs::show("document").
2819
2820 2004-03-30  Angus Leeming  <leeming@lyx.org>
2821
2822         * lfuns.h:
2823         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2824         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2825
2826         * lyxfunc.C (getStatus, dispatch): define the actions for these
2827         lfuns. Little more than a cut and pste job from ControlDocument.C
2828
2829         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2830
2831 2004-03-30  Angus Leeming  <leeming@lyx.org>
2832
2833         * lfuns.h:
2834         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2835         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2836
2837         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2838         open/closed state of ollapsable insets. Usage:
2839
2840         all-inset-toggle <state> <name>, where
2841         <state> == "open" || "closed" || "toggle" and
2842         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2843
2844         * lyxtext.h, text2.C (toggleInset): removed.
2845
2846         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2847         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2848         now passes LFUN_INSET_TOGGLE to the found inset.
2849
2850         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2851         is now invoked as "all-insets-toggle toggle branch".
2852
2853 2004-03-30  Angus Leeming  <leeming@lyx.org>
2854
2855         * dociterator.C:
2856         * insetiterator.C:
2857         * pariterator.[Ch]: added/corrected header blurb.
2858
2859 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2860
2861         * dociterator.[Ch]: add an inset_ member
2862         (backwardPos): implemented
2863         (backwardPos, forwardPos): use inset_ when the stack is empty.
2864         (doc_iterator_begin, doc_iterator_end): implemented
2865         * pariterator.[Ch]: adjust, add begin, end
2866         * insetiterator.[Ch]: adjust, add begin, end
2867         * cursor.C:
2868         * document.C:
2869         * BufferView.C:
2870         * BufferView_pimpl.C:
2871         * CutAndPaste.C: adjust
2872
2873 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2874
2875         * buffer.C: increment file format to 232.
2876         * LaTeXFeatures.C: add bibtopic package.
2877         * bufferparams.[Ch]: param \use_bibtopic.
2878
2879         * lyxrc.[Ch]: add lyxrc bibtex_command
2880         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2881
2882         * buffer.C: increment file format to 231.
2883
2884 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2885
2886         * dociterator.C: implement forwardPar
2887         * iterators.[Ch]: remove, replaced by
2888         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2889         * BufferView.C:
2890         * BufferView_pimpl.C:
2891         * CutAndPaste.C:
2892         * buffer.C:
2893         * bufferview_funcs.C:
2894         * cursor.C:
2895         * lyxfind.C
2896         * lyxfunc.C
2897         * paragraph_funcs.C
2898         * toc.C:
2899         * Makefile.am: adjust
2900
2901 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2902
2903         * CutAndPaste.C (pasteSelection): fix 2 crashes
2904         (eraseSelection): fix a crash
2905         * paragraph_funcs.C: remove a warning
2906
2907 2004-03-28  Angus Leeming  <leeming@lyx.org>
2908
2909         * lfuns.h:
2910         * LyXAction.C (init): new LFUN_PRINT.
2911
2912         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2913
2914 2004-03-27  Angus Leeming  <leeming@lyx.org>
2915
2916         * lfuns.h:
2917         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2918
2919         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2920
2921 2004-03-27  Angus Leeming  <leeming@lyx.org>
2922
2923         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2924         insetlist always contains non-null pointers to insets.
2925
2926 2004-03-26  Angus Leeming  <leeming@lyx.org>
2927
2928         * src/BufferView_pimpl.C:
2929         * src/CutAndPaste.C:
2930         * src/buffer.C:
2931         * src/iterators.C:
2932         * src/output_plaintext.C:
2933         * src/outputparams.h:
2934         * src/paragraph_funcs.C:
2935         * src/rowpainter.C:
2936         * src/text.C:
2937         * src/text2.C:
2938         * src/frontends/controllers/ControlErrorList.C:
2939         * src/frontends/gtk/FileDialogPrivate.C:
2940         * src/frontends/gtk/GPainter.C:
2941         * src/frontends/gtk/GToolbar.C:
2942         * src/frontends/qt2/QRef.C:
2943         * src/mathed/math_scriptinset.C: squash compiler warnings.
2944
2945 2004-03-26  Angus Leeming  <leeming@lyx.org>
2946
2947         * ispell.C (LaunchIspell::start):
2948         * lyx_cb.C (AutoSaveBuffer::start):
2949         invoke run(DontWait) rather than runNonBlocking().
2950
2951 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2952
2953         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2954
2955 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2956
2957         * kbsequence.C (print): adjust
2958
2959         * kbmap.C (printKeySym): rename and change signature
2960         (printKey): use LyXKeySym::print()
2961
2962 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2963
2964         * undo.C: add using std::advance to compile for stlport
2965
2966 2004-03-24  Angus Leeming  <leeming@lyx.org>
2967
2968         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2969         it leads to a crash when no buffer is present.
2970
2971 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2972             Martin Vermeer  <martin.vermeer@hut.fi>
2973
2974         * lyxfunc.C (dispatch):
2975         * bufferparams.C (readToken): use the new LColor::setColor
2976
2977         * LColor.[Ch] (setColor): new version that takes two strings as
2978         argument and creates a new color entry if necessary
2979
2980 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2981
2982         * buffer.C (makeLaTeXFile): if the main latex file that is
2983         processed is usually a subdocument of some master, then pretend
2984         for a while that it is actually the master
2985
2986 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2987
2988         * buffer.C (getLabelList):
2989         (getBibkeyList): use getMasterBuffer()
2990         (getMasterBuffer): new method. Returns the main document in the
2991         case where one is using included documents.
2992
2993 2004-03-25  André Pönitz  <poenitz@gmx.net>
2994
2995         * Makefile.am:
2996         * iterators.[Ch]:
2997         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2998
2999         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3000
3001         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3002         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3003
3004         * ParameterStruct.h: merge with ParagraphParameters
3005
3006         * lyxtext.h: remove LyXText::parOffset() and getPar()
3007
3008         * text3.C: Remove all 'manual' update calls. We do now one per user
3009         interaction which is completely sufficient.
3010
3011         * Bidi.C:
3012         * BufferView.[Ch]:
3013         * BufferView_pimpl.C:
3014         * FontIterator.[Ch]:
3015         * MenuBackend.C:
3016         * ParagraphParameters.[Ch]:
3017         * buffer.C:
3018         * buffer.h:
3019         * bufferlist.C:
3020         * cursor.[Ch]:
3021         * cursor_slice.[Ch]:
3022         * dociterator.[Ch]:
3023         * errorlist.[Ch]:
3024         * factory.C:
3025         * lfuns.h:
3026         * lyxfind.C:
3027         * lyxfunc.C:
3028         * output_docbook.[Ch]:
3029         * output_latex.[Ch]:
3030         * output_linuxdoc.[Ch]:
3031         * output_plaintext.[Ch]:
3032         * paragraph.[Ch]:
3033         * paragraph_funcs.[Ch]:
3034         * paragraph_pimpl.[Ch]:
3035         * rowpainter.C:
3036         * tabular.[Ch]:
3037         * text.C:
3038         * text2.C:
3039         * toc.C:
3040         * undo.[Ch]: adjust
3041
3042         * frontends/controllers/ControlDocument.C:
3043         * frontends/controllers/ControlErrorList.C:
3044         * frontends/controllers/ControlSpellchecker.C:
3045         * insets/inset.C:
3046         * insets/inset.h:
3047         * insets/insetbase.h:
3048         * insets/insetbibitem.C:
3049         * insets/insetbox.C:
3050         * insets/insetbranch.C:
3051         * insets/insetcaption.C:
3052         * insets/insetcharstyle.C:
3053         * insets/insetcharstyle.h:
3054         * insets/insetcollapsable.C:
3055         * insets/insetcollapsable.h:
3056         * insets/insetert.C:
3057         * insets/insetfloat.C:
3058         * insets/insetfoot.C:
3059         * insets/insetmarginal.C:
3060         * insets/insetnote.C:
3061         * insets/insetoptarg.C:
3062         * insets/insettabular.C:
3063         * insets/insettext.C:
3064         * insets/insettext.h:
3065         * insets/insetwrap.C:
3066         * mathed/math_mboxinset.C:
3067         * mathed/math_nestinset.C:
3068         * mathed/math_scriptinset.C:
3069         * mathed/math_scriptinset.h:
3070         * support/types.h:
3071
3072 2004-03-24  Angus Leeming  <leeming@lyx.org>
3073
3074         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3075         deal with any child processes that have finished but are waiting to
3076         communicate this fact to the rest of LyX.
3077
3078 2004-03-24  Angus Leeming  <leeming@lyx.org>
3079
3080         64-bit compile fixes.
3081
3082         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3083         (c-tor): pass lyx::pos_types rather than ints.
3084
3085         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3086         lyx::pos_type.
3087
3088         * text.C (Delete): compile fix.
3089         (getPar): ensure that function declaration is the same as that in
3090         the header file.
3091
3092 2004-03-23  Angus Leeming  <leeming@lyx.org>
3093
3094         * ispell.C (LaunchIspell):
3095         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3096         a boost::shred_ptr rather than a std::auto_ptr.
3097
3098 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3099
3100         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3101         handle LFUN_FILE_INSERT_*
3102
3103         * lyxrc.C (setDefaults, getDescription, output, read):
3104         * lyxrc.h: remove ps_command
3105
3106 2004-03-22  Angus Leeming  <leeming@lyx.org>
3107
3108         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3109         Ensure that error_handler is processed once only and that all data
3110         is saved before attempting to output any warning messages.
3111
3112         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3113
3114 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3115
3116         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3117
3118 2004-03-19  André Pönitz  <poenitz@gmx.net>
3119
3120         * cursor.[Ch] (reset): take main text inset as argument
3121
3122         * BufferView: adjust
3123         * BufferView_pimpl.C: adjust
3124
3125         * paragraph.[Ch]: fix completely broken operator=()
3126
3127 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3128
3129         * LColor.C (getFromLyXName): make sure that the color name is used
3130         as lowercase.
3131
3132 2004-03-17  Angus Leeming  <leeming@lyx.org>
3133
3134         * lfuns.h:
3135         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3136
3137         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3138         dialog and to kill a forked process.
3139
3140 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3141
3142         * text2.C (setCursorFromCoordinates): fix font problem
3143
3144 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3145
3146         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3147         bogus "rebuild cursor" code
3148
3149 2004-03-11  André Pönitz  <poenitz@gmx.net>
3150
3151         * buffer.[Ch]: use InsetText instead of LyXText as container for
3152         the main lyx text.
3153
3154         * dociterator.[Ch]: drop the BufferView * member which is not needed
3155         anymore after the change to buffer.C
3156
3157         * paragraph_funcs.C:
3158         * text.C:
3159         * text2.C:
3160         * BufferView.[Ch]:
3161         * BufferView_pimpl.[Ch]:
3162         * cursor.[Ch]:
3163         * cursor_slice.[Ch]: adjust
3164
3165         * text3.C: fix bug in mathDispatch
3166
3167 2004-03-08  André Pönitz  <poenitz@gmx.net>
3168
3169         * undo.[Ch]: use 'StableDocumentIterator' as base for
3170         the Undo struct.
3171
3172 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3173
3174         * LaTeXFeatures.C:
3175         * bufferparams.[Ch]: add jurabib support and param.
3176
3177         * LaTeX.C: add FIXME/comment.
3178
3179 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3180
3181         * buffer.C: increment file format to 230.
3182
3183 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3184
3185         * cursor.C (dispatch): avoid infinite loops
3186
3187 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3188
3189         * rowpainter.C (paintSelection): fix x coordinates
3190
3191 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3192
3193         * text.C (rowBreakPoint): fix breaking before displayed insets
3194
3195 2004-03-01  André Pönitz  <poenitz@gmx.net>
3196
3197         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3198
3199         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3200
3201         * Makefile.am:
3202         * BufferView.C:
3203         * BufferView_pimpl.C:
3204         * buffer.C:
3205         * lyxfind.C:
3206         * lyxfunc.C:
3207         * text.C:
3208         * text2.C:
3209         * text3.C: adjust
3210
3211 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3212
3213         * lyxtext.h:
3214         * text.C:
3215         * text2.C:
3216         * rowpainter.C:
3217         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3218         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3219
3220 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3221
3222         * Bidi.[Ch] (computeTables): const correctness
3223         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3224         fill_hfill, fill_label_hfill and x from Row
3225         * lyxtext.h: prepareToPrint returns a RowMetrics
3226         * rowPainter.C: adjust
3227         * text.C (prepareToPrint): use width, not textWidth. adjust
3228         (redoParagraphInternal, cursorX): adjust
3229         * text2.C (getColumnNearX): adjust
3230         (init): put a default value to the top LyXText::width
3231
3232 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3233
3234         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3235
3236 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3237
3238         * lyxtext.h: add FontIterator class
3239
3240         * text.C (FontIterator, operator*, operator->, operator++): add
3241         (rowBreakPoint, setRowWidth): adjust (fixing a
3242         rebreaking bug)
3243
3244 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3245
3246         * BufferView_pimpl.C (workAreaDispatch): allow also
3247         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3248
3249 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3250
3251         * text.C (rowBreakPoint): fix a bug showing with very large insets
3252
3253 2004-02-25  André Pönitz  <poenitz@gmx.net>
3254
3255         * text3.C:
3256         * cursor.[Ch]: move some mathed specific code to mathed
3257
3258 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3259
3260         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3261         use_tempdir in preferences
3262         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3263         tempfile creation
3264         * lyx_main.C: ensure that tempdir is valid
3265         * lyxlex.h: correct typo
3266         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3267         * paragraph.[Ch] (isMultiLingual): make const
3268         * cursor.[Ch] (openable): make const
3269
3270 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3271
3272         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3273
3274 2004-02-20  André Pönitz  <poenitz@gmx.net>
3275
3276         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3277
3278         * cursor.[Ch]: prepare for localized getStatus()
3279
3280         * lyxtext.h:
3281         * tabular.C:
3282         * text.C:
3283         * text2.C:
3284         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3285
3286 2004-02-20  André Pönitz  <poenitz@gmx.net>
3287
3288         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3289
3290 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3291
3292         * text2.C (setCursorFromCoordinates): switch to absolute coords
3293         (cursorUp): adjust
3294         (cursorDown): adjust
3295         * text3.C (dispatch): adjust
3296
3297 2004-02-16  André Pönitz  <poenitz@gmx.net>
3298
3299         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3300           insets/ChangeLog)
3301
3302         * cursor_slice.[Ch]: remove unneeded acessor function
3303
3304         * lyxtext.h: rename rtl() to isRTL()
3305
3306         * rowpainter.C:
3307         * tabular.C:
3308         * text.C:
3309         * text2.C:
3310         * text3.C: adjust
3311
3312 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3313
3314         * rowpainter.C (paintSelection): coord fix
3315
3316 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3317
3318         * Spacing.C: compile fix
3319
3320 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3321
3322         * cursor.C (dispatch): restore current_ before returning
3323
3324 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3325
3326         * text2.C (cursorUp, cursorDown): fix coords
3327         (moveUp): fix crash
3328
3329 2004-02-12  André Pönitz  <poenitz@gmx.net>
3330
3331         * lyxtext.h:
3332         * text.C:
3333         * text2.C:
3334         * text3.C: add LCursor & parameter to most cursor movement functions
3335           remove usage of LyXText::cursorRow() and cursorPar()
3336
3337         * cursor.[Ch]: add textRow() needed members
3338
3339         * BufferView.C:
3340         * BufferView_pimpl.C:
3341         * paragraph.[Ch]:
3342         * BufferView.C:
3343         * BufferView_pimpl.C: adjust
3344
3345 2004-02-11  André Pönitz  <poenitz@gmx.net>
3346
3347         * lyxfunc.C:
3348         * BufferView.[Ch]:
3349         * BufferView_pimpl.C: shift undo/redo handling
3350
3351         * cursor.[Ch]: fix mathed crash
3352
3353         * lyxfind.C:
3354         * lyxtext.h: move selectionAsText to LCursor
3355
3356         * output_latex.C:
3357         * paragraph.C:
3358         * text.C:
3359         * text2.C:
3360         * text3.C: adjust
3361
3362         * rowpainter.C: fix excessive drawing
3363
3364 2004-02-06  André Pönitz  <poenitz@gmx.net>
3365
3366         * BufferView.[Ch]:
3367         * BufferView_pimpl.[Ch]:
3368         * text3.C: move some text specific LFUN handling
3369
3370 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3371
3372         * text3.C (checkInsetHit): adjust coords
3373         * text2.C (getColumnNearX): adjust coords
3374         (edit): adjust coords
3375         * text.C (getRowNearY): add two asserts
3376
3377 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3378
3379         * converter.C:
3380         * format.C: add using std::distance to compile on gcc 2.95/stlport
3381
3382 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3383
3384         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3385
3386 2004-02-04  André Pönitz  <poenitz@gmx.net>
3387
3388         * BufferView.[Ch] (insertInset):
3389         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3390
3391         * text2.C:
3392         * text3.C: adjust
3393
3394 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3395
3396         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3397         on the default clause of the switch
3398         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3399         wasn't catched by LCursor::dispatch
3400
3401 2004-02-03  André Pönitz  <poenitz@gmx.net>
3402
3403         * BufferView.C:
3404         * cursor.[Ch]: some additional asserts
3405
3406         * undo.[Ch]: remove LyXText dependency in interface
3407
3408         * lyxfunc.C: adjust
3409
3410         * lyxtext.h (firstPar, lastPar): remove dead functions
3411
3412         * text.C:
3413         * text2.C:
3414         * text3.C:
3415         * paragraph.[Ch]: adjust
3416
3417 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3418
3419         * lyxfind.C (find): fix argument order in call to ::find
3420
3421 2004-02-02  André Pönitz  <poenitz@gmx.net>
3422
3423         * cursor.[Ch]: remove direct access to anchor
3424
3425         * text.C: remove findText() hack
3426
3427 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3428
3429         * iterators.[Ch] (lockPath): remove in favour of...
3430         * BufferView.[Ch] (setCursor): this addition
3431         * BufferView.C (putSelectionAt): adjust
3432         * undo.C (performUndoOrRedo): adjust
3433         * lyxfunc.C (dispatch): adjust
3434
3435 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3436
3437         * iterators.C (lockPath): add a missing slice
3438         * undo.C (performUndoOrRedo): remove redundant positioning code
3439
3440 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3441
3442         * vc-backend.C (scanMaster): ";" -> ';'
3443
3444 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3445
3446         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3447         std::binary_function
3448
3449         * lyxtextclass.C (compare_name): rename to...
3450         (LayoutNamesEqual): ...this
3451
3452         * lyxlex_pimpl.C (compare_tags): inherit from
3453         std::binary_function, put back into anon namespace
3454
3455         * lyxfind.C (MatchString): inherig from std::binary_function
3456         (findChange): use empty() istead of !size()
3457
3458         * format.C (FormatNamesEqual): new functor
3459         (getFormat): use it
3460         (getNumber): use it
3461         (add): use it
3462         (erase): use it
3463         (setViewer): use it
3464
3465         * converter.C (compare_Converter): rename to...
3466         (ConverterEqual): ...this, and fixup a bit.
3467         (getConverter): use it, and make function const
3468         (getNumber): use it, and make function const
3469         (add): use it
3470         (erase): use it:
3471
3472         * bufferlist.C: add using boost::bind
3473
3474         * MenuBackend.C (MenuNamesEqual): new functor
3475         (hasMenu): use it, and make function const
3476         (hasSubmenu): use nested bind to get rid of compare_memfun.
3477
3478 2004-01-30  André Pönitz  <poenitz@gmx.net>
3479
3480         * BufferView_pimpl.C:
3481         * cursor.C:
3482         * cursor.h:
3483         * cursor_slice.[Ch]:
3484         * lyxfunc.C:
3485         * lyxtext.h:
3486         * paragraph_funcs.C:
3487         * paragraph_funcs.h:
3488         * rowpainter.C:
3489         * text.C:
3490         * text2.C:
3491         * text3.C: move some of the edit(x,y) handling to the insets
3492         some coordinate changes.
3493
3494 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3495
3496         * text.C: add using statements for std::advance and std::distance
3497
3498         * paragraph.C: add using statement for std::distance
3499
3500         * lyxfind.C: add using statement for std::advance
3501
3502         * cursor.C (region): remove std:: from swap
3503         (openable): use nucleus in stead of operator->
3504
3505         * BufferView.C: add using statements for std::distance and std::swap
3506
3507 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3508
3509         * iterators.C: Remove the pimple, move the needed structures to
3510         the header file. Create accessor for the positions stack.
3511         (asPosIterator): remove function
3512
3513         * PosIterator.C (PosIterator): move constructors to top of file
3514         (PosIterator): reimplement the constructor taking a ParIterator in
3515         terms of setFrom.
3516         (setFrom): new function
3517         (operator!=): inline it
3518
3519 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3520
3521         * lyxfind.C (replaceAll): use std::advance
3522
3523         * iterators.h: inherit from std::iterator.
3524
3525         * PosIterator.C (advance, distance): remove
3526         * PosIterator.h: interit from std::iterator.
3527
3528 2004-01-26  André Pönitz  <poenitz@gmx.net>
3529
3530         * BufferView.[Ch]:
3531         * BufferView_pimpl.[Ch]:
3532         * InsetList.[Ch]:
3533         * PosIterator.[Ch]:
3534         * buffer.h:
3535         * bufferview_funcs.C:
3536         * cursor.[Ch]:
3537         * cursor_slice.h:
3538         * factory.[Ch]:
3539         * iterators.[Ch]:
3540         * lyxfind.C:
3541         * lyxfunc.C:
3542         * lyxtext.h:
3543         * output_docbook.C:
3544         * output_latex.C:
3545         * output_linuxdoc.C:
3546         * output_plaintext.C:
3547         * paragraph.[Ch]:
3548         * paragraph_funcs.[Ch]:
3549         * paragraph_pimpl.[Ch]:
3550         * rowpainter.C:
3551         * tabular.C:
3552         * tabular.h:
3553         * text.C:
3554         * text2.C:
3555         * text3.C: more IU:  dumps most of the rest of the mathcursor
3556     implementation into cursor.[Ch]; "globalize" a bit of it.
3557
3558 2004-01-25  Angus Leeming  <leeming@lyx.org>
3559
3560         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3561
3562 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3563
3564         * LaTeXFeatures.h: add nice_ and nice() const
3565         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3566
3567 2004-01-20  André Pönitz  <poenitz@gmx.net>
3568
3569         * BufferView.[Ch]:
3570         * BufferView_pimpl.C:
3571         * PosIterator.C:
3572         * bufferview_funcs.C:
3573         * cursor.[Ch]:
3574         * cursor_slice.[Ch]:
3575         * factory.C:
3576         * iterators.C:
3577         * lyx_cb.C:
3578         * lyxfind.C:
3579         * lyxfunc.C:
3580         * lyxtext.h:
3581         * rowpainter.C:
3582         * text.C:
3583         * text2.C:
3584         * text3.C:
3585         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3586           LCursor and mathcursor parts to LCursor and InsetBase.
3587
3588 2004-01-15  André Pönitz  <poenitz@gmx.net>
3589
3590         * cursor_slice.[Ch]: add a few covienience functions
3591
3592         * funcrequest.[Ch]: remove BufferView * member
3593
3594         * BufferView_pimpl.C:
3595         * cursor.C:
3596         * factory.[Ch]:
3597         * lyxfind.[Ch]:
3598         * lyxfunc.C:
3599         * lyxtext.h:
3600         * text3.C:
3601         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3602
3603 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3604
3605         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3606         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3607
3608 2004-01-13  André Pönitz  <poenitz@gmx.net>
3609
3610         * textcursor.[Ch]:
3611         * lyxtext.h: hide cursor and selection anchor behind accessor function
3612
3613         * BufferView.C:
3614         * BufferView_pimpl.[Ch]:
3615         * PosIterator.C:
3616         * bufferview_funcs.C:
3617         * cursor.h:
3618         * lyxfind.C:
3619         * lyxfunc.C:
3620         * text.C:
3621         * text2.C:
3622         * text3.C:
3623         * undo.C: adjust
3624
3625         * cursor.h:
3626         * cursor_slice.[Ch]: some integer type changes for inset unification
3627
3628         * lyxcursor.[hC]: remove, it's CursorSlice now.
3629
3630         * Makefile.am:
3631         * BufferView_pimpl.[Ch]:
3632         * bufferview_funcs.C:
3633         * cursor_slice.C:
3634         * lyxtext.h:
3635         * text.C:
3636         * text2.C:
3637         * text3.C:
3638         * textcursor.[Ch]: adjust
3639
3640 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3641
3642         * text2.C (undoSpan): add and use
3643         * text.C (breakParagraph): use undoSpan (fix bug 578)
3644         * lyxtext.h: adjust
3645
3646 2004-01-08  Angus Leeming  <leeming@lyx.org>
3647
3648         * BufferView_pimpl.C (MenuInsertLyXFile):
3649         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3650         * lyxfunc.C (menuNew, open, doImport):
3651         FileFilterList change to the FileDialog open and save functions.
3652
3653 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3654
3655         * ShareContainer.h: make isEqual and isUnique adaptable
3656
3657         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3658
3659 2004-01-07  Angus Leeming  <leeming@lyx.org>
3660
3661         * LyXAction.C:
3662         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3663
3664         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3665
3666         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3667         functions replacing find, replace and replaceAll.
3668
3669         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3670         LFUN_WORDFIND(FORWARD|BACKWARD).
3671
3672 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3673
3674         * text.C (breakParagraph): remove an outdated #warning
3675
3676 2004-01-07  André Pönitz  <poenitz@gmx.net>
3677
3678         * lyxfind.C: somewhat clearer logic
3679
3680         * text.C: prevent crash in cursorX on unitialized row cache
3681
3682 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3683
3684         * lyxcursor.[Ch] (operator>): add
3685         * textcursor.C (selStart, selEnd): use std::min and std::max
3686
3687 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3688
3689         * Chktex.C: include boost/format.hpp
3690
3691 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * InsetList.C: replace functor MathcIt with adaptable functor
3694         InsetTablePosLess
3695         (insetIterator): modify accordingly
3696
3697         * BranchList.h: move the BranchNamesEqual functor here from...
3698         * BranchList.C: ... to here
3699
3700         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3701         SameName and match.
3702         (add): replace a finding loop with std::find_if.
3703
3704 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3705
3706         * output_docbook.C: moving LatexParam functionality into
3707         .layout files
3708
3709 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3710
3711         * buffer.C: increment format to 229.
3712
3713 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3714
3715         * LaTeXFeatures.C:
3716         * lyx_sty.[Ch]: remove minipageindent_def
3717
3718         * LyXAction.C:
3719         * factory.C:
3720         * lfuns.h:
3721         * lyxfunc.C:
3722         * text3.C: remove LFUN_INSET_MINIPAGE
3723
3724 2003-12-28  Angus Leeming  <leeming@lyx.org>
3725
3726         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3727
3728 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3729
3730         * text2.C (setParagraph): fix off-by-one crash
3731
3732 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3733
3734         * output_docbook.C: header stuff for AGU
3735
3736 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3737
3738         * text2.C (redoCursor): remove
3739         * text.C:
3740         * text3.C:
3741         * BufferView_pimpl.C: remove calls to redoCursor and
3742         setCursor(cursor.par(), cursor.pos()) all around
3743
3744 2003-12-15  Angus Leeming  <leeming@lyx.org>
3745
3746         * buffer.C: up the format to 228.
3747
3748 2003-12-15  André Pönitz  <poenitz@gmx.net>
3749
3750         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3751         slices
3752
3753         * Makefile.am:
3754
3755         * BufferView_pimpl.C:
3756         * cursor.[Ch]:
3757         * lyxcursor.[Ch]:
3758         * rowpainter.[Ch]:
3759         * lyxtext.h:
3760         * text.C:
3761         * text2.C:
3762         * text3.C: adjust
3763
3764 2003-12-15  Angus Leeming  <leeming@lyx.org>
3765
3766         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3767         than getFromGUIName to manipulate the color.
3768
3769 2003-12-14  Angus Leeming  <leeming@lyx.org>
3770
3771         * BranchList.[Ch]: minimize the API.
3772         (Branch::getBranch, getColor): now return a 'const &'.
3773         (Branch::setSelected) now returns a bool set to true if the
3774         selection status changes.
3775         (BranchList::clear, size, getColor, setColor, setSelected,
3776         allBranches, allSelected, separator): removed.
3777         (BranchList::find): new functions, returning the Branch with
3778         the given name.
3779         (BranchList::add, remove): return a bool indicating that
3780         the operation was successful.
3781
3782         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3783         new InsetBranch::isBranchSlected member function.
3784
3785         * LColor.[Ch]: mimimize the API.
3786         (fill): renamed as addColor and made private.
3787         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3788         versions of these functions taking a string arg have been removed.
3789
3790         * bufferparams.C (readToken):
3791         * lyxfunc.C (dispatch):
3792         * lyxrc.C (read): changes due to the altered BranchList and
3793         LColor APIs.
3794
3795         * factory.C (createInset, readInset): changes due to altered
3796         InsetBranch c-tor.
3797
3798 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3799
3800         * factory.C:
3801         * lyxfunc.C: remove insetminipage. "minipage-insert"
3802         now produces a frameless minipage box inset.
3803
3804 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3805
3806         * textcursor.[Ch] (selStart,selEnd): add new methods
3807         remove selection::start, end, use LyXCursor::operator<
3808         * lyxcursor.[Ch] (operator<): add
3809         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3810         * BufferView.[Ch] (unsetXSel): add
3811         * text2.C (clearSelection): use unsetXSel,adjust
3812         * text.C: adjust
3813         * text3.C: adjust
3814         * rowpainter.C: adjust
3815         * bufferview_funcs.C (put_selection_at): adjust
3816
3817 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3818
3819         * BufferView_pimpl.C: small coord. correction
3820
3821 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3822
3823         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3824         dragging over the splash screen.
3825
3826 2003-12-11  Angus Leeming  <leeming@lyx.org>
3827
3828         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3829         as it is now handled in LyXText::dispatch.
3830
3831         * text3.C (doInsertInset): remove a level of nesting.
3832
3833 2003-12-11  Angus Leeming  <leeming@lyx.org>
3834
3835         * factory.C (createInset): changes due to the changed interface to
3836         InsetCommandMailer::string2params.
3837
3838 2003-12-10  Angus Leeming  <leeming@lyx.org>
3839
3840         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3841         'dialog-show-new-inset <inset name>'
3842
3843 2003-12-10  Angus Leeming  <leeming@lyx.org>
3844
3845         * buffer.C: up the format to 227.
3846
3847         * factory.C: the box inset is now identified simply by 'Box'.
3848
3849 2003-12-10  Angus Leeming  <leeming@lyx.org>
3850
3851         * buffer.C: up the format to 226.
3852
3853         * factory.C: the note inset is now identified simply by 'Note'.
3854
3855 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3856
3857         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3858         when a pit is enough. Standarize a couple of loops.
3859
3860 2003-12-05  Angus Leeming  <leeming@lyx.org>
3861
3862         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3863         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3864         data to the re-worked "log" dialog.
3865
3866 2003-12-03  André Pönitz  <poenitz@gmx.net>
3867
3868         * PosIterator.C:
3869         * iterators.C:
3870         * lyxtext.h:
3871         * output_latex.C:
3872         * paragraph_funcs.C:
3873         * text.C:
3874         * text2.C: use Inset::getText instead of Inset::getParagraph
3875
3876 2003-12-03  André Pönitz  <poenitz@gmx.net>
3877
3878         * buffer.[Ch]:
3879         * lyxtext.h:
3880         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3881         InsetText::read() as LyXText::read()
3882
3883 2003-12-02  Angus Leeming  <leeming@lyx.org>
3884
3885         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3886         type. Add a comment in the implementation that the function uses
3887         the stream's bad() function rather than fail() as the std::streams
3888         would do.
3889
3890 2003-12-02  André Pönitz  <poenitz@gmx.net>
3891
3892         * lyxlex.[Ch]: make interface more similar to std::stream
3893
3894         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3895
3896 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3897
3898         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3899
3900 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3901
3902         * vspace.[Ch]: remove VSpace::NONE
3903
3904 2003-12-01  André Pönitz  <poenitz@gmx.net>
3905
3906         * buffer.[Ch]:
3907         * lyxtext.h: move ParagraphList member to LyXText
3908         rename LyXText::ownerParagraphs to LyXText::paragraph
3909
3910         * CutAndPaste.C:
3911         * bufferview_funcs.C:
3912         * iterators.[Ch]:
3913         * lyx_cb.C:
3914         * paragraph.C:
3915         * rowpainter.C:
3916         * tabular.C:
3917         * text.C:
3918         * text2.C:
3919         * text3.C: adjust
3920
3921         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3922
3923         * undo.C: fix cursor positioning
3924
3925 2003-12-01  John Levon  <levon@movementarian.org>
3926
3927         * BufferView_pimpl.C: fix a crash on exit with
3928         a buffer open
3929
3930 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3931
3932         * BranchList.C: fix setSelected() method.
3933
3934 2003-11-28  André Pönitz  <poenitz@gmx.net>
3935
3936         * ParagraphParameters.[Ch]:
3937         * ParameterStruct.h: remove space above/below from Paragraph to
3938          InsetVSpace
3939
3940         * BufferView_pimpl.C:
3941         * factory.C:
3942         * lyxfunc.C:
3943         * lyxtext.h:
3944         * output_latex.C:
3945         * paragraph.C:
3946         * paragraph_funcs.C:
3947         * rowpainter.[Ch]:
3948         * text.C:
3949         * text2.C:
3950         * text3.C: adjust
3951
3952 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3953
3954         * factory.C: Syntax change for CharStyles
3955
3956 2003-11-28  André Pönitz  <poenitz@gmx.net>
3957
3958         * BufferView.[Ch]:
3959         * BufferView.[Ch]:
3960         * buffer.[Ch]:
3961         * buffer.[Ch]: move LyXText member
3962
3963 2003-11-28  André Pönitz  <poenitz@gmx.net>
3964
3965         * BufferView.[Ch]: make LyXText * text a private member
3966
3967         * BufferView_pimpl.C:
3968         * cursor.C:
3969         * iterators.C:
3970         * lyx_cb.C:
3971         * lyxfind.C:
3972         * lyxtext.h:
3973         * rowpainter.[Ch]:
3974         * text.C:
3975         * text2.C:
3976         * undo.C: adjust
3977
3978         * output_plaintext.C: cleanup
3979
3980 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3981
3982         * buffer.C:
3983         * lyxtextclass.[Ch]: parametrize SGML document header
3984
3985 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3986
3987         * converter.[Ch]:
3988         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3989         getFlavor().
3990
3991 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3992
3993         * text2.C (setFont): rework using PosIterator (no more recursive)
3994         (setCharFont): no more needed
3995         (setLayout): no more selection cursors fiddling (done by redoCursor)
3996         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3997         destroy remaining ones)
3998
3999 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4000
4001         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4002         * lyxtext.h: ditto
4003         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4004         selection cursors
4005         * lyxfunc.C: adjust
4006         * text3.C: adjust + re-allow multi par depth changes
4007         * textcursor.C: simplify a bit
4008
4009 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4010
4011         * src/buffer.C:
4012         * src/lyxlayout.C:
4013         * src/lyxlayout.h:
4014         * src/lyxtext.h:
4015         * src/output_docbook.C:
4016         * src/output_latex.C:
4017         * src/paragraph.C:
4018         * src/paragraph.h:
4019         * src/sgml.C:
4020         * src/sgml.h:
4021         * src/text2.C: Introducing a number of tags parametrizing various
4022         XML formats that we may want to support
4023
4024 2003-11-25  André Pönitz  <poenitz@gmx.net>
4025
4026         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4027
4028         * lyxtext.h (leftMargin/rightMargin): simplify interface
4029
4030         * rowpainter.C:
4031         * text.C:
4032         * text2.C:
4033         * text3.C: adjust
4034
4035 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4036
4037         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4038         master file to any child files. Fixes bug 546.
4039
4040 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4041
4042         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4043
4044 2003-11-24  André Pönitz  <poenitz@gmx.net>
4045
4046         * rowpainter.C: simplification
4047
4048         * text2.C (updateCounters): remove call to redoParagraph on
4049         changed labels as this is far too expensive.
4050
4051 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4052
4053         * converter.C (convert): fix a crash: this function gets
4054         called with buffer == 0 from importer code.
4055
4056 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4057
4058         * text3.C (cursorPrevious): make sure that we do not compare
4059         iterators form different containers.
4060         (cursorNext): ditto
4061
4062         * rowpainter.C (paintSelection): make sure that we do not compare
4063         iterators from different containers.
4064
4065         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4066         iterators from different ParagraphList containers.
4067         [NEXT] ditto
4068
4069         * text2.C (LyXText): change order of initialization slightly
4070         (operator=): new function. copy all variables except cache_par_
4071         (moveUp): make sure that we do not compare iterators from
4072         different ParagraphList constainers.
4073         (moveDown): ditto
4074
4075         * text.C (firstPar): new function
4076         (lastPar): new function
4077         (endPar): new function
4078
4079         * lyxtext.h: move things around and group public functions, public
4080         variables, private functions, private variables
4081
4082 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4083
4084         * factory.C: change call to InsetERT constructor to avoid
4085         additional invocation of method status
4086         * text2.C (toggleInset): remove redundant update() call
4087         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4088         instead of a Bufferview pointer
4089
4090 2003-11-21  André Pönitz  <poenitz@gmx.net>
4091
4092         * rowpainter.C: simplification
4093
4094 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4095
4096         * text3.C (dispatch): make possible to extend a word/row selection
4097         with the mouse
4098
4099 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4100
4101         * lyxtext.h: x0_,y0_ -> xo_,yo_
4102         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4103         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4104         * rowpainter.C (paintRows): paint full paragraphs
4105
4106 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4107
4108         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4109         screen coordinates)
4110
4111 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4112
4113         * lyxtext.h: add x0_, y0_
4114         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4115         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4116
4117 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4118
4119         * text2.C (setCursorIntern): move the x_target update here *
4120         * text3.C: change some bv() to true/false in calls to
4121         cursorUp/Down/Right/Left
4122         * cursor.C: use helper function.
4123
4124 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4125
4126         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4127         * paragraph_funcs.[Ch]: correct comment
4128         * rowpainter.C: do not paint selections away from bv->cursor()
4129         Fix a long standing selection painting bug.
4130         * text3.C: generalize mouse-selection code to LyXTexts other that
4131         top one
4132         * textcursor.C: do not use y coords if we can use par offsets
4133
4134 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4135
4136         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4137         cursor position after e.g. inset insert)
4138
4139 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4140
4141         * lyxfind.C (replace): adjust to locking removal + some
4142         code simplification
4143
4144 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4145
4146         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4147         of the path
4148
4149 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4150
4151         * lyxlayout.[Ch]:
4152         * output_docbook.C: XML sanitation: new layout
4153         parameters InnerTag and CommandDepth
4154
4155 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4156
4157         * BufferView_pimpl.C:
4158         * factory.C:
4159         * text3.C: Fix the insertion and modification of button-style
4160         insets
4161
4162 2003-11-13  André Pönitz  <poenitz@gmx.net>
4163
4164         * InsetList.[Ch]: remove deleteLyXText
4165
4166         * paragraph.[Ch]: cache beginOfBody position
4167
4168         * Bidi.C:
4169         * text.C:
4170         * text2.C:
4171         * text3.C: remove superfluous update() calls
4172
4173         * vspace.C: cleanup
4174
4175 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4176
4177         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4178         * BufferView.C (fitLockedInsetCursor): remove
4179         * cursor.[Ch] (getDim): add
4180         * text.C (getRowNearY): add faster version
4181         * text3.C: remove some update calls
4182
4183 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4184
4185         * LaTeXFeatures.C:
4186         * LyXAction.C:
4187         * MenuBackend.C:
4188         * MenuBackend.h:
4189         * dispatchresult.h:
4190         * factory.C:
4191         * lfuns.h:
4192         * lyxfunc.C:
4193         * lyxtextclass.C:
4194         * lyxtextclass.h:
4195         * text3.C: The Character Style /XML short element patch.
4196
4197 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4198
4199         * text3.C:
4200         * factory.C: Small step to solving 'unable to insert some insets'
4201         problem
4202
4203 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4204
4205         * cursor.[Ch] (updatePos): new function for updating the y
4206         position of the tip inset
4207         * bufferview_funcs.C (put_selection_at):
4208         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4209
4210 2003-11-11  André Pönitz  <poenitz@gmx.net>
4211
4212         * text.C: remove big comment on invalid Paragraph pointers as it is
4213         not valid anymore
4214
4215 2003-11-11  André Pönitz  <poenitz@gmx.net>
4216
4217         * text_funcs.[Ch]: merge with ...
4218
4219         * text.C: ... this
4220
4221         * lyxtext.h:
4222         * text2.C:
4223         * text3.C: adjust
4224
4225         * Makefile.am: remove text_funcs.[Ch]
4226
4227 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4228
4229         * cursor.C (getPos): return absolute cached y coord
4230
4231         * BufferView_pimpl.C (fitCursor): new simplistic code
4232         (workAreaDispatch): add a fitCursor call
4233
4234 2003-11-10  André Pönitz  <poenitz@gmx.net>
4235
4236         * BufferView.[Ch]:
4237         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4238
4239 2003-11-10  André Pönitz  <poenitz@gmx.net>
4240
4241         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4242         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4243         indicate that the cursor needs to leave an inset
4244
4245         * lyxtext.h: remove inset locking
4246
4247         * cursor.[Ch]: re-implement functionality provided by inset locking
4248
4249         * BufferView.[Ch]:
4250         * BufferView_pimpl.[Ch]:
4251         * LyXAction.C:
4252         * bufferview_funcs.[Ch]:
4253         * factory.C:
4254         * funcrequest.[Ch]:
4255         * iterators.C:
4256         * lyx_cb.C:
4257         * lyxfind.C:
4258         * lyxfunc.C:
4259         * text.C:
4260         * text2.C:
4261         * text3.C:
4262         * undo.C: adjust
4263
4264 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4265
4266         * PosIterator.[Ch]: replace the stack with a vector, add inset
4267         accesor
4268         * iterators.[C]: adjust
4269
4270 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4271
4272         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4273         replaced
4274         * paragraph_funcs.C (readParToken): put the correct id in the
4275         error item, not the id of the top paragraph
4276
4277 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4278
4279         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4280         * bufferview_funcs.C (put_selection_at): use the above
4281
4282 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4283
4284         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4285
4286 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4287
4288         * output_linuxdoc.h:
4289         * output_plaintext.h:
4290         * output.h:
4291         * output_docbook.h: add #include statements
4292
4293 2003-11-05  José Matos  <jamatos@lyx.org>
4294
4295         * output_docbook.[Ch]:
4296         * output_latex.[Ch]:
4297         * output_linuxdoc.[Ch]:
4298         * output_plaintext.[Ch]: New files for output formats.
4299         * output.[Ch]: New file for helper functions.
4300
4301         * buffer.[Ch]:
4302         * paragraph_funcs.[Ch]: output functions moved to new files.
4303
4304         * outputparams.h: rename of latexrunparams.h
4305
4306         * LaTeX.[Ch]:
4307         * buffer.[Ch]:
4308         * bufferlist.[Ch]:
4309         * converter.[Ch]:
4310         * exporter.C:
4311         * paragraph.[Ch]:
4312         * paragraph_funcs.[Ch]:
4313         * paragraph_pimpl.[Ch]:
4314         * tabular.[Ch]: rename ascii to plaintext
4315         and LatexRunParams to OutputParams.
4316
4317 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4318
4319         * iterators.[Ch] (text): require bv argument
4320         * undo.C (recordUndo):
4321         * lyxfunc.C (dispatch):
4322         * bufferview_funcs.C (put_selection_at): adjust
4323
4324 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4325
4326         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4327
4328 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4329
4330         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4331         nestings
4332
4333 2003-11-04  André Pönitz  <poenitz@gmx.net>
4334
4335         * cursor.[Ch]: restructure
4336
4337         * BufferView.[Ch]:
4338         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4339
4340         * iterators.[Ch] (asCursor): remove
4341
4342         * lfuns.h: remove LFUN_INSET_EDIT
4343
4344         * lyxfunc.C:
4345         * tabular.C:
4346         * text.C:
4347         * text2.C:
4348         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4349
4350 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4351
4352         * lyxfind.[Ch]: complete overhaul
4353         * BufferView_pimpl.C:
4354         * lyxfunc.C: adjust
4355         * paragraph.[Ch] (insert): add
4356
4357 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4358
4359         * BufferView.[Ch]:
4360         * lyxtext.h:
4361         * text.C: remove dead spellcheck code
4362
4363 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4364
4365         * dispatchresult.h: add a val setter
4366
4367         * cursor.C (dispatch): use a tempvar for data_[i]
4368
4369 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4370
4371         * PosIterator.[Ch]: compile fix
4372
4373 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4374
4375         * text.C (cursorPar): deactivate the cursor cache
4376
4377 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4378
4379         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4380
4381 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4382
4383         * text3.C (dispatch): adjust for new DisptchResult semantics.
4384
4385         * lyxfunc.C (dispatch): handle update when return from
4386         Cursor::dispatch, adjust for new DispatchResult semantics.
4387
4388         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4389         DispatchResult(true) mean to not update. Add class functions for
4390         setting dispatched and update, as well as reading.
4391
4392         * cursor.C (dispatch): don't handle update here
4393
4394 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4395
4396         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4397         * trans_mgr.C: adjust
4398
4399         * paragraph_funcs.C (readParToken): exception safety
4400
4401         * lyxvc.h: store the vcs pointer in a scoped_ptr
4402         * lyxvc.C: adjust
4403
4404         * lyxsocket.C (serverCallback): exception safety
4405
4406         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4407
4408         * ispell.C (clone): make it return a auto_ptr
4409
4410         * factory.C (createInset): exception safety
4411         (readInset): exception safety
4412
4413         * bufferlist.C (newBuffer): exception safety
4414
4415         * Thesaurus.C (Thesaurus): use initialization for aik_
4416
4417         * MenuBackend.C (expandToc): exception safety.
4418
4419 2003-11-03  André Pönitz  <poenitz@gmx.net>
4420
4421         * buffer.C:
4422         * buffer.h:
4423         * bufferview_funcs.C: remove getInsetFromId()
4424
4425         * lyxcursor.[Ch]:
4426         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4427
4428         * lyxfunc.C:
4429         * text2.C:
4430         * text3.C: adjust
4431
4432 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4433
4434         * PosIterator.C (distance, advance): new
4435         * bufferview_funcs.[Ch] (put_selection_at): new
4436         * iterators.[Ch] (lockPath): new
4437
4438 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4439
4440         * iterators.[Ch] (asPosIterator): added
4441         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4442         * PosIterator.[Ch]: added
4443
4444 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4445
4446         * text3.C:
4447         * lyxfunc.C:
4448         * cursor.C (dispatch):
4449         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4450
4451         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4452         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4453         contructor, add a class function dispatched. Remove operator>=
4454
4455 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4456
4457         * debug.C: only use the default constructor for debugstream
4458         (lyxerr) here.
4459
4460         * main.C (main): include debug.h and setup the lyxerr streambuf
4461         here.
4462
4463 2003-10-31  José Matos  <jamatos@lyx.org>
4464
4465         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4466
4467         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4468         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4469         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4470         * paragraph_pimpl.C (simpleTeXSpecialC):
4471         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4472         add LatexRunParams argument.
4473
4474         * exporter.C (Export): change call accordingly.
4475
4476         * latexrunparams.h: add new member to take care of the other backends.
4477 2003-10-30  José Matos  <jamatos@lyx.org>
4478
4479         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4480         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4481         factorise code for paragraph output.
4482         * buffer.[Ch]:
4483         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4484         move functions.
4485
4486 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4487
4488         * text3.C (dispatch):
4489         * lyxfunc.C (dispatch):
4490         * cursor.C (dispatch):
4491         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4492
4493         * dispatchresult.h: make the dispatch_result_t ctor explicit
4494
4495 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4496
4497         * sgml.[Ch]:
4498         * buffer.C: small refactoring of docbook stuff
4499
4500 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4501
4502         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4503         meaning.
4504
4505 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4506
4507         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4508         operator dispatch_result_t, and operators for == != and >=
4509
4510         * cursor.C (dispatch): adjust for operator dispatch_result_t
4511         removal. comment out call to update
4512
4513         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4514
4515 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4516
4517         * text3.C:
4518         * text2.C:
4519         * text.C:
4520         * lyxtext.h:
4521         * lyxfunc.C:
4522         * cursor.C:
4523         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4524         (dispatch):
4525
4526         * dispatchresult.h: new file, DispatchResult broken out of
4527         insets/insetbase.h
4528
4529         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4530
4531 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4532
4533         * text.C (rowBreakPoint): put a hack inside #if 0
4534
4535 2003-10-28  André Pönitz  <poenitz@gmx.net>
4536
4537         * lyxtext.h:
4538         * metricsinfo.C:
4539         * paragraph_funcs.C:
4540         * rowpainter.C:
4541         * text.C:
4542         * text2.C: general cleanup (lots of small stuff)
4543
4544 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4545
4546         * text2.C (cursorEnd): simple fix to the "end key goes to one
4547         before the end on last row" bug
4548
4549 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4550
4551         * text.C (backspace): fix the "zombie characters"
4552
4553 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4554
4555         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4556
4557 2003-10-27  André Pönitz  <poenitz@gmx.net>
4558
4559         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4560
4561         * factory.C: handle new InsetPagebreak, InsetLine
4562
4563         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4564         and move handling into new InsetPagebreak, InsetLine
4565
4566         * BufferView_pimpl.C:
4567         * LyXAction.C:
4568         * ParagraphParameters.C:
4569         * ParameterStruct.h:
4570         * lyxfunc.C:
4571         * lyxtext.h:
4572         * paragraph.C:
4573         * paragraph.h:
4574         * paragraph_funcs.C:
4575         * paragraph_pimpl.C:
4576         * rowpainter.C:
4577         * text.C:
4578         * text2.C:
4579         * text3.C: adjust
4580
4581 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4582
4583         * text.C:
4584         * lyxrow_funcs.[Ch]:
4585         * Bidi.C:
4586         * paragraph.C:
4587         * lyxtext.h:
4588         * rowpainter.C:
4589         * text2.C:
4590         * text3.C: remove lastPos uses in favour of Row::endpos
4591
4592 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4593
4594         * undo.C (performUndoOrRedo): fix two crashes by setting a
4595         cursor by hand and reordering some calls. Use bv->lockInset instead
4596         of inset->edit because the latter loses cursor information
4597
4598 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4599
4600         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4601         by Martin
4602         (rowBreakPoint): fix width. change point to point + 1.
4603         Add a missing check.
4604
4605 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4606
4607         * MenuBackend.C:
4608         * lyxfunc.C: fix (at least partly) the problems
4609         with the Nav menu and headers inside branch insets
4610         reported by Kayvan
4611
4612 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4613
4614         * paragraph.C (getChar): add strong asserts
4615
4616         * lyxrow_funcs.C (lastPos): remove hideous hack
4617
4618         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4619         (fill): adjust to that (avoid an infinite loop)
4620
4621 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4622
4623         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4624
4625 2003-10-23  André Pönitz  <poenitz@gmx.net>
4626
4627         * RowList_fwd.h: change list<> to vector<> to gain speed
4628         after suggestion from Alfredo
4629
4630 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4631
4632         * lyxtext.h: move the bidi stuff from here...
4633         * text.C: and here
4634         * text2.C: and here
4635         * Bidi.[Ch]: ... to here
4636
4637 2003-10-23  André Pönitz  <poenitz@gmx.net>
4638
4639         * lyxtext.h:
4640         * text.C (isLastRow, isFirstRow): new functions
4641
4642         * paragraph.h: new width cache member
4643
4644         * rowpainter.C: replace RowList::iterator with Row & where possible
4645
4646         * lyxfunc.C: replace several view()->text with a single call
4647
4648         * toc.C: fix 'unused' warning
4649
4650 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4651
4652         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4653         when woring with stream::pos_type
4654         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4655
4656 2003-10-22  André Pönitz  <poenitz@gmx.net>
4657
4658         * lyxtext.h:
4659         * text.C: use Row & instead of RowList::iterator
4660
4661         * lyxrow.h: rename end() to endpos()
4662
4663         * rowpainter.C:
4664         * text.C:
4665         * text2.C: adjust
4666
4667 2003-10-22  Angus Leeming  <leeming@lyx.org>
4668
4669         * buffer.[Ch] (fully_loaded): new member function, returning true
4670         only when the file has been loaded fully.
4671         Used to prevent the premature generation of previews and by the
4672         citation inset to prevent computation of the natbib-style label.
4673
4674         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4675         templates are all set up.
4676
4677         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4678
4679 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4680
4681         * text.C: fixed an "oops" in the "is a bit silly"
4682         bug fix
4683
4684 2003-10-21  André Pönitz  <poenitz@gmx.net>
4685
4686         * FuncStatus.[Ch]: small stuff, whitespace
4687
4688         * lyxfont.[Ch]: operator<<() for debug reasons
4689
4690         * lyxfunc.C:
4691         * lyxrow_funcs.C:
4692         * lyxtext.h: whitespace, spelling
4693
4694         * paragraph.C: naming of variables
4695
4696         * text.C:
4697         * text2.C: small stuff
4698
4699
4700 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4701
4702         * text.C: (1) finish off the inset display() work;
4703         (2) fix the "is a bit silly" bug (accessing char
4704         past end of par).
4705
4706 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4707
4708         * text.C: re-introduce display() for insets, fixing the
4709         various bugs (stretch of line above, math inset
4710         positioning, ...)
4711
4712 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4713
4714         * text.C (rightMargin): remove spurious semicolon
4715
4716         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4717         1415)
4718
4719 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4720
4721         * text3.C: fix one crash due to wrong cursor def
4722
4723 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4724
4725         * vc-backend.C (scanMaster): make the regex static
4726
4727         * LaTeX.C (scanAuxFile): make the regexs static
4728
4729         * text3.C (doInsertInset, dispatch, dispatch):
4730         * text2.C (cursorUp, cursorDown):
4731         * text.C (selectNextWordToSpellcheck):
4732         * BufferView_pimpl.C (dispatch):
4733         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4734
4735 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4736
4737         * lyxsocket.C: include <cerrno>
4738
4739 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4740
4741         * lyxfunc.C (dispatch): remove textcache stuff
4742
4743         * bufferlist.C (release): remove textcache stuff
4744         (closeAll): ditto
4745
4746         * TextCache.C: delete file
4747         * TextCache.h: delete file
4748
4749         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4750
4751         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4752         delete of the bv_->text.
4753         (resizeCurrentBuffer): remove texcache stuff
4754         (workAreaResize): ditto
4755
4756 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4757
4758         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4759         action.
4760
4761 2003-10-16  André Pönitz  <poenitz@gmx.net>
4762
4763         * lyxrow.[Ch]:
4764         * paragraph.h:
4765         * rowpainter.C:
4766         * text.C:
4767         * text2.C:
4768         * text3.C: speed up by storing y positions per paragraph plus per-row
4769         offset instead of having a 'full' y position in the row.
4770
4771 2003-10-15  André Pönitz  <poenitz@gmx.net>
4772
4773         * iterators.[Ch]:
4774         * iterators.[Ch]:
4775         * undo.[Ch]: make undo aware of inner insets
4776
4777 2003-10-14  Angus Leeming  <leeming@lyx.org>
4778
4779         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4780         static member functions LyX::ref() and LyX::cref.
4781         (lastfiles): new accessor functions for the new lastfiles_ member var.
4782         (addLyXView, views_): add a new LyXView to the list of views_.
4783         (updateInset): loop over all LyXViews to call their own updateInset
4784         member function, returning a pointer to the Buffer owning the inset.
4785
4786         * BufferView_pimpl.C (loadLyXFile):
4787         * MenuBackend.C (expandLastfiles):
4788         * bufferlist.C (MenuWrite, QuitLyX):
4789         lastfiles is no longer a global variable.
4790         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4791
4792         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4793         static function. Access through LyX::cref().emergencyCleanup().
4794
4795 2003-10-14  André Pönitz  <poenitz@gmx.net>
4796
4797         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4798
4799         * undo.[Ch]: restoring part of 'undo in insets'
4800
4801         * Makefile.am:
4802         * undo_funcs.[Ch]: merge with undo.[Ch]
4803
4804         * tabular.C: small cleansing stuff
4805
4806 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4807
4808         * paragraph_funcs.C (readParToken): report unknown insets as error
4809         boxes. Use the outer paragraph as location (also for unknown
4810         tokens).
4811
4812         * factory.C (readInset): do not abort on reading an unknown inset.
4813         Eat it and return 0.
4814
4815 2003-10-13  Angus Leeming  <leeming@lyx.org>
4816
4817         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4818
4819         * lyxrc.C: displayTranslator is now a function,
4820         declared in GraphicsTypes.h.
4821
4822 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4823
4824         * format.C: new placeholder $$a to pass the socket address.
4825
4826         * bufferlist.[Ch]: new function getBufferFromTmp.
4827
4828         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4829           files in the temporary dir.
4830
4831 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4832
4833         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4834
4835         * Makefile.am: add lyxsocket.[Ch].
4836
4837         * lyx_main.C (error_handler): handle SIGPIPE.
4838
4839 2003-10-13  André Pönitz  <poenitz@gmx.net>
4840
4841         * BufferView_pimpl.C:
4842         * lyxtext.h:
4843         * text.C:
4844         * text2.C:
4845         * text3.C:
4846         * undo_funcs.[Ch]: use paroffset_type instead of
4847           ParagraphList::iterators to prevent multiple conversion
4848           (and get a more robust interface)
4849
4850 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4851
4852         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4853         * lyxtext.h: ditto
4854         * text3.C (dispatch): ditto
4855
4856 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4857
4858         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4859         move the onlyfile, use onlyfile instead of foundfile in a couple
4860         of places.
4861
4862         * DepTable.C (update): flush the error stream a bit more
4863
4864 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4865
4866         * lyxserver.C (callback): adjust
4867
4868         * lyxfunc.C (getStatus): add a missing brace in commented code
4869         (ensureBufferClean): reindent
4870         (dispatch): delete version taking a string
4871
4872 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4873
4874         * LaTeX.C (deplog): move found file handlig from here...
4875         (handleFoundFile): .. to new function here.
4876         (deplog): make sure to discover several files mentioned on the
4877         same log line.
4878
4879 2003-10-10  André Pönitz  <poenitz@gmx.net>
4880
4881         * lyxfunc.C:
4882         * lyxtext.h:
4883         * tabular.C:
4884         * text.C:
4885         * text2.C:
4886         * text3.C: fix some of the tabular crashes
4887
4888 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4889
4890         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4891
4892         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4893
4894 2003-10-09  André Pönitz  <poenitz@gmx.net>
4895
4896         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4897
4898         * BufferView.C:
4899         * BufferView_pimpl.C:
4900         * bufferview_funcs.C:
4901         * lyx_cb.C:
4902         * lyxcursor.C:
4903         * lyxfind.C:
4904         * lyxfunc.C:
4905         * lyxtext.h:
4906         * text.C:
4907         * text2.C:
4908         * text3.C:
4909         * text_funcs.[Ch]:
4910         * textcursor.[Ch]:
4911         * undo_funcs.C: adjust
4912
4913 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4914
4915         * text2.C (incrementItemDepth): new function, use a backtracking
4916         algorithm to discover the correct item depth.
4917         (resetEnumCounterIfNeeded): new function, use a backtracking
4918         algorithm to discover if counter reset is needed.
4919         (setCounter): use them. Simplify a bit. Add different labels for
4920         different item depths for itemize.
4921
4922         * paragraph.C (Paragraph): remove initialization of enumdepth
4923         (operator=): ditto
4924
4925         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4926         enumerate and itemize. Change the type of itemdepth to signed char.
4927
4928 2003-10-08  André Pönitz  <poenitz@gmx.net>
4929
4930         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4931           thing assignable.
4932         * text.C:
4933         * text2.C: adjust
4934
4935         * tabular.[Ch]: fix crash after 'row-insert'
4936
4937 2003-10-08  Angus Leeming  <leeming@lyx.org>
4938
4939         Fix doxygen warnings.
4940
4941         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4942         Remove CutAndPaste:: prefix from header file declaration.
4943
4944         * LColor.h (fill): remove LColor:: prefix from declaration.
4945
4946         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4947         use lyx::depth_type rather than Paragraph::depth_type so that
4948         header file and .C file match.
4949
4950         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4951
4952         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4953         * aspell.C: \file aspell_local.C -> \file aspell.C
4954         * gettext.C: \file gettext.C -> \file src/gettext.C
4955         * gettext.h: \file gettext.h -> \file src/gettext.h
4956         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4957         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4958         * text.C: \file text.C -> \file src/text.C
4959
4960         * toc.C: move comment so that doxygen is not confused.
4961
4962 2003-10-07  Angus Leeming  <leeming@lyx.org>
4963
4964         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4965
4966 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4967
4968         * aspell.C:
4969         * aspell_local.h: add forgotten std::string's.
4970
4971 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4972
4973         * LaTeXFeatures.C:
4974         * LyXAction.C:
4975         * factory.C:
4976         * lfuns.h:
4977         * lyxfunc.C:
4978         * text3.C: The Box patch. Fancybox support, minipage, parbox
4979
4980 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4981
4982         * CutAndPaste.h:
4983         * DepTable.h:
4984         * FloatList.h:
4985         * LaTeXFeatures.h:
4986         * ParagraphParameters.h:
4987         * TextCache.h:
4988         * Thesaurus.h:
4989         * bufferlist.h:
4990         * exporter.h:
4991         * importer.h:
4992         * lastfiles.h:
4993         * lyxfind.h:
4994         * lyxfont.h:
4995         * lyxlex.h:
4996         * lyxtextclasslist.h:
4997         * messages.h:
4998         * paragraph.h:
4999         * paragraph_pimpl.C:
5000         * textcursor.h: add <string> and other small fixes to make Lars'
5001         std::string patch compile with STLport.
5002
5003 2003-10-06  Angus Leeming  <leeming@lyx.org>
5004
5005         * LColor.h: Add missing #include <string>.
5006
5007 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5008
5009         * All most all file in all subdirs: Make <string> be the prefered
5010         way of getting to std::string, add using declarations.
5011
5012 2003-10-06  André Pönitz  <poenitz@gmx.net>
5013
5014         * metricsinfo.C: initialize LyXFont before changing attribute.
5015         (fixes the 'math in \emph is upright' bug)
5016
5017 2003-10-06  André Pönitz  <poenitz@gmx.net>
5018
5019         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5020
5021 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5022
5023         * graph.C:
5024         * paragraph_pimpl.C: Small fixes to build using STLport
5025
5026 2003-10-02  André Pönitz  <poenitz@gmx.net>
5027
5028         * lyxfunc.C:
5029         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5030
5031 2003-10-01  André Pönitz  <poenitz@gmx.net>
5032
5033         * factory.C: assert early
5034
5035 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5036
5037         * lyx_main.C: remove the global debug object
5038
5039         * debug.h: adjust for new debugstream
5040
5041         * debug.C: adjust for new debugstream and keep the global debug
5042         object here.
5043
5044 2003-09-22  Angus Leeming  <leeming@lyx.org>
5045
5046         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5047         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5048         an incomplete class LyXFont.
5049
5050 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5051
5052         * factory.C: bug fix in branches
5053
5054 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5055
5056         * lyxfunc.C (processKeySym): adjust
5057         (dispatch): adjust
5058         (dispatch): change arg name from ev to func, adjust
5059         (sendDispatchMessage): ditto
5060
5061         * lyx_main.C (defaultKeyBindings): adjust keybindings
5062         (deadKeyBindings): ditto
5063
5064         * kbsequence.C (addkey): return a FuncRequest
5065
5066         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5067
5068         * kbmap.C (bind): take a FuncRequest as arg, adjust
5069         (read): adjust
5070         (lookup): adjust
5071         (defkey): change to take a FuncRequest as arg, adjust
5072         (findbinding): take a FuncRequest as arg, adjust.
5073
5074         * funcrequest.h (operator=): added
5075
5076         * funcrequest.C (FuncRequest): default kb_action changed from
5077         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5078
5079         * buffer.C (dispatch): simplify
5080         (dispatch): adjust to take a FuncRequest as arg, adjust
5081
5082         * boost.C (assertion_failed): change assertion message slightly
5083
5084         * ToolbarBackend.C (read): simplify
5085
5086         * MenuBackend.C (binding): adjust call to findbinding, add a
5087         message if no binding is found.
5088         (read): simplify
5089         (expandToc): correct by adding a empty FuncRequest
5090
5091         * LyXAction.C: include <boost/assert.hpp>
5092         (isPseudoAction): delete function
5093         (LookupFunc): change name to...
5094         (lookupFunc): this. change return type to FuncRequest.
5095         (getActionName): take kb_action as arg, simplify
5096         (funcHasFlag): add an assert, simplify.
5097
5098 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5099
5100         * toc.C (action): return a FuncRequest, simplify
5101
5102         * lyxfunc.C (processKeySym): adjust
5103         (getStatus): delete version that takes an int.
5104         (getStatus): adjust
5105         (dispatch): delete version that takes action as int
5106         (dispatch): adjust
5107         (sendDispatchMessage): simplify and adjust
5108
5109         * funcrequest.C (getArg): take unsigned int as arg
5110
5111         * ToolbarBackend.C (read): adjust
5112         (add): delete version that takes func as a string.
5113         (getIton): take a FuncRequest as arg
5114
5115         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5116         action.
5117
5118         * MenuBackend.C (MenuItem): add a new construct that only takes a
5119         Kind, simplify the constructor use for submenus.
5120         (add): adjust
5121         (expandLastfiles): adjust
5122         (expandDocuments): adjust
5123         (expandFormats): adjust
5124         (expandFloatListInsert): adjust
5125         (expandFloatInsert): adjust
5126         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5127
5128         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5129         Remove class variables lyx_pseudo_map and lyx_arg_map
5130
5131         * LyXAction.C (searchActionArg): delete function
5132         (getPseudoAction): delete function
5133         (retrieveActionArg): delete function
5134         (LookupFunc): make it return kb_action, simplify.
5135         (getActionName): simplify
5136
5137         * factory.C (createInset): fix new bug
5138
5139 2003-09-19  Angus Leeming  <leeming@lyx.org>
5140
5141         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5142         masterFilename_ parameter in the include inset.
5143
5144         * factory.C (createInset): changes due to the changes to InsetInclude.
5145
5146 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5147
5148         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5149
5150 2003-09-18  Angus Leeming  <leeming@lyx.org>
5151
5152         * buffer.C:
5153         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5154         Inset::fillWithBibKeys.
5155         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5156
5157 2003-09-18  Angus Leeming  <leeming@lyx.org>
5158
5159         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5160         variables.
5161         (ctor): pass and store a 'Buffer const &'
5162         (buffer): new member function.
5163
5164         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5165         '*this' to the LaTeXFeatures ctor.
5166
5167 2003-09-18  Angus Leeming  <leeming@lyx.org>
5168
5169         * LColor.h:
5170         * lyxfont.C:
5171         * lyxfont.h:
5172         * lyxtext.h:
5173         * text.C: rename EnumLColor as LColor_color.
5174
5175 2003-09-18  Angus Leeming  <leeming@lyx.org>
5176
5177         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5178         remove #include "insets/insetbase.h" from cursor.h.
5179
5180 2003-09-18  Angus Leeming  <leeming@lyx.org>
5181
5182         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5183         InsetOld_code to remove #include "inset.h".
5184
5185         * iterators.C: add #include "insets/inset.h"
5186
5187 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5188
5189         * BufferView.C: remove more locking stuff that apparently doesn't
5190         do anything sensible.
5191
5192 2003-09-16  André Pönitz  <poenitz@gmx.net>
5193
5194         * paragraph.[Ch]:
5195         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5196           performance boost.
5197
5198 2003-09-16  Angus Leeming  <leeming@lyx.org>
5199
5200         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5201
5202         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5203         arg/return type.
5204
5205         * paragraph.h: remove #include "lyxfont.h". Forward declare
5206         LyXFont_size.
5207
5208 2003-09-16  Angus Leeming  <leeming@lyx.org>
5209
5210         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5211         of support/textutils.h.
5212         (isWord): move the contents of support/textutils.h's IsWordChar here.
5213
5214         * buffer.C:
5215         * lyxfind.C:
5216         * rowpainter.C:
5217         * text.C:
5218         * text2.C: add #include "paragraph.h".
5219
5220         * rowpainter.C:
5221         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5222
5223 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5224
5225         * main.C:
5226         * lyx_main.C:
5227         * lyx_cb.C:
5228         * buffer.C:
5229         * LaTeX.C: use namespace alias for lyx::support::os
5230
5231 2003-09-16  Angus Leeming  <leeming@lyx.org>
5232
5233         * bufferparams.C:
5234         * bufferview_funcs.C:
5235         * factory.C:
5236         * lyxfunc.C:
5237         * paragraph_pimpl.C:
5238         * rowpainter.C:
5239         * text.C: add #include "LColor.h".
5240
5241 2003-09-16  Angus Leeming  <leeming@lyx.org>
5242
5243         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5244         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5245         return LyXFont &.
5246         Store the FontBits::color variable as an int rather than as an
5247         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5248         file.
5249
5250         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5251         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5252         string calls together.
5253
5254         * lyxrc.C: add #include "LColor.h".
5255
5256 2003-09-15  Angus Leeming  <leeming@lyx.org>
5257
5258         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5259         a cow_ptr.
5260
5261 2003-09-15  Angus Leeming  <leeming@lyx.org>
5262
5263         * LColor.h: add an EnumLColor wrapper for LColor::color.
5264
5265         * lyxfont.[Ch] (color, setColor, realColor):
5266         * lyxtext.h, text.C (backgroundColor):
5267         pass EnumLColor args to/from the functions, rather than LColor::color
5268         ones.
5269
5270         * lyxfont.h:
5271         * lyxtext.h: forward declare EnumLColor.
5272
5273         * lyx_main.C: add #include "LColor.h".
5274
5275 2003-09-15  Angus Leeming  <leeming@lyx.org>
5276
5277         * .cvsignore: add lyx-gtk.
5278
5279 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5280
5281         * Chktex.C
5282         * LaTeX.C
5283         * LaTeXFeatures.C
5284         * ParagraphParameters.C
5285         * Spacing.C
5286         * buffer.C
5287         * bufferparams.C
5288         * bufferview_funcs.C
5289         * chset.C
5290         * counters.C
5291         * funcrequest.C
5292         * lyxfont.C
5293         * lyxgluelength.C
5294         * lyxlength.C
5295         * paragraph.C
5296         * paragraph_funcs.C
5297         * text3.C
5298         * vc-backend.C: remove usage of STRCONV
5299
5300 2003-09-15  Angus Leeming  <leeming@lyx.org>
5301
5302         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5303         explicitly define the color passed to the painter.
5304
5305 2003-09-15  Angus Leeming  <leeming@lyx.org>
5306
5307         * bufferparams.C (BufferParams): reorder member initializers to avoid
5308         compiler warning.
5309
5310 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5311
5312         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5313         * text.C (updateRowPositions): remove an unusual nop
5314
5315 2003-09-12  André Pönitz  <poenitz@gmx.net>
5316
5317         * BufferView_pimpl.C:
5318         * Bullet.C:
5319         * layout.h:
5320         * lyxfunc.C:
5321         * lyxlayout.[Ch]:
5322         * lyxtextclass.C:
5323         * rowpainter.C:
5324         * text.C:
5325         * text2.C:
5326         * Counters.[Ch]: finish the 'automatic counters' job
5327
5328 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5329
5330         * aspell.C: include <boost/assert.cpp> (compile fix)
5331
5332 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5333
5334         * boost.C (assertion_failed): use lyx::support::abort instead of
5335         assert.
5336
5337 2003-09-10  Angus Leeming  <leeming@lyx.org>
5338
5339         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5340         with their _fwd progeny.
5341
5342 2003-09-09  Angus Leeming  <leeming@lyx.org>
5343
5344         134 files throughtout the source tree: replace 'using namespace abc;'
5345         directives with the appropriate 'using abc::xyz;' declarations.
5346
5347 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5348
5349         * boost.C (emergencyCleanup): moved here from LAssert.c
5350         (assertion_failed): new function, called by BOOST_ASSERT
5351
5352         * several files: change Assert to BOOST_ASSERT
5353
5354 2003-09-09  Angus Leeming  <leeming@lyx.org>
5355
5356         * buffer.[Ch]: Add an Impl class and move Buffer's member
5357         variables into it. As a result move several header files out of
5358         buffer.h.
5359
5360         Add header files to lots of .C files all over the tree as a result.
5361
5362 2003-09-09  Angus Leeming  <leeming@lyx.org>
5363
5364         * buffer.[Ch]: make Buffer's member variables private. Add
5365         accessor functions.
5366
5367         Lots of changes all over the tree as a result.
5368
5369 2003-09-08  Angus Leeming  <leeming@lyx.org>
5370
5371         * graph.C: #include <config.h>.
5372
5373 2003-09-08  Angus Leeming  <leeming@lyx.org>
5374
5375         * BranchList.C:
5376         * BufferView.C:
5377         * BufferView_pimpl.C:
5378         * CutAndPaste.C:
5379         * DepTable.C:
5380         * LaTeX.C:
5381         * LaTeXFeatures.C:
5382         * LyXAction.C:
5383         * MenuBackend.C:
5384         * TextCache.C:
5385         * aspell.C:
5386         * buffer.C:
5387         * bufferlist.C:
5388         * changes.C:
5389         * chset.C:
5390         * converter.C:
5391         * counters.C:
5392         * debug.C:
5393         * graph.C:
5394         * ispell.C:
5395         * lyx_cb.C:
5396         * lyxfind.C:
5397         * lyxfunc.C:
5398         * lyxlex_pimpl.C:
5399         * lyxrc.C:
5400         * lyxrow.C:
5401         * paragraph.C:
5402         * rowpainter.C:
5403         * texrow.C:
5404         * text.C:
5405         * text2.C:
5406         * toc.C: remove redundant using directives.
5407
5408 2003-09-07  Angus Leeming  <leeming@lyx.org>
5409
5410         * LaTeXFeatures.h: remove #include "support/types.h".
5411         * ToolbarBackend.h: remove #include <algorithm>.
5412         * changes.h: remove #include <ctime>.
5413         * debug.h: remove #include <iosfwd>.
5414         * graph.h: remove #include "support/std_string.h".
5415         * lyx_main.h: remove #include <csignal>.
5416         * lyxlex_pimpl.h: remove #include <fstream>.
5417         * sgml.h: remove #include <algorithm>, <utility>.
5418         * toc.h: remove #include "support/std_ostream.h".
5419         Add #include <iosfwd>.
5420
5421 2003-09-07  Angus Leeming  <leeming@lyx.org>
5422
5423         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5424
5425         * converter.h: forward declare LatexRunParams.
5426         * encoding.h: remove #include "lyxrc.h".
5427         * lyxtext.h: remove #include "LColor.h".
5428         * lyxtextclass.h: remove #include "support/types.h".
5429         * trans.h: remove #include "tex-accent.h".
5430         * trans_mgr.h: remove #include "tex-accent.h".
5431         * insets/inset.h: remove #include "support/types.h", <vector>.
5432         * insets/insetcollapsable.h: remove #include "LColor.h".
5433         * insets/insetinclude.h: remove #include "dimension.h".
5434         * insets/insetlatexaccent.h: remove #include "dimension.h".
5435         * insets/insetoptarg.h:: remove #include "insettext.h".
5436         * insets/insettext.h: remove #include "dimension.h",
5437         <boost/shared_ptr.hpp>
5438
5439         * insets/renderers.h: add #include "dimension.h".
5440         * insets/updatableinset.h: add #include "support/types.h".
5441
5442         * many .C files: Associated changes.
5443
5444 2003-09-06  Angus Leeming  <leeming@lyx.org>
5445
5446         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5447         one, inside testInvariant.
5448
5449         * PrinterParams.C: new file.
5450         * PrinterParams.[Ch]: move the function bodies out of line.
5451
5452 2003-09-06  Angus Leeming  <leeming@lyx.org>
5453
5454         * ParagraphParameters.h: forward declare ParameterStruct rather than
5455         including its header file.
5456         (depth): moved out-of-line.
5457
5458 2003-09-06  Angus Leeming  <leeming@lyx.org>
5459
5460         * BufferView_pimpl.h:
5461         * kbmap.h:
5462         * kbsequence.h:
5463         * lyxfunc.h: forward declare LyXKeySym rather than
5464         #include "frontends/LyXKeySym.h".
5465
5466         * BufferView_pimpl.C:
5467         * kbmap.C:
5468         * kbsequence.C:
5469         * lyxfunc.C: associated changes.
5470
5471 2003-09-06  Angus Leeming  <leeming@lyx.org>
5472
5473         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5474         As a result, can remove the #include "insets/inset.h" from BufferView.h
5475
5476 2003-09-06  Angus Leeming  <leeming@lyx.org>
5477
5478         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5479         As a result, can remove the #include "insets/inset.h" from BufferView.h
5480
5481 2003-09-06  Angus Leeming  <leeming@lyx.org>
5482
5483         * buffer_funcs.C:
5484         * buffer.h:
5485         * bufferlist.C:
5486         * BufferView.C:
5487         * bufferview_funcs.C:
5488         * BufferView_pimpl.C:
5489         * CutAndPaste.C:
5490         * lyx_cb.C:
5491         * lyxfunc.C:
5492         * paragraph.h:
5493         * ParagraphParameters.C:
5494         * tabular.C:
5495         * text3.C:
5496         * toc.C:
5497         * undo_funcs.C:
5498         * frontends/controllers/ControlDocument.C:
5499         * insets/insetcaption.C: rearrange the #includes into some sort of
5500         coherent order.
5501
5502         * buffer.h: remove #includes ErrorList.h, undo.h
5503
5504 2003-09-06  Angus Leeming  <leeming@lyx.org>
5505
5506         * support/types.h: add a 'depth_type' typedef, used to store the
5507         nesting depth of a paragraph.
5508
5509         * paragraph.h:
5510         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5511         defining explicitly.
5512
5513         * buffer.h:
5514         * paragraph_funcs.h:
5515         * ParagraphParameters.h:
5516         * sgml.h: use lyx::depth_type rather than Paragraph or
5517         ParameterStruct's depth_type.
5518
5519         * buffer.h
5520         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5521
5522         * BufferView.C:
5523         * BufferView_pimpl.C:
5524         * CutAndPaste.C:
5525         * ParagraphParameters.C:
5526         * buffer_funcs.C:
5527         * bufferlist.C:
5528         * bufferview_funcs.C:
5529         * lyx_cb.C:
5530         * lyxfunc.C:
5531         * tabular.C:
5532         * text3.C:
5533         * toc.C:
5534         * undo_funcs.C:
5535         * frontends/LyXView.C:
5536         * frontends/controllers/ControlDocument.C:
5537         * frontends/controllers/ControlErrorList.C:
5538         * insets/insetbibitem.C:
5539         * insets/insetbranch.C:
5540         * insets/insetcaption.C:
5541         * insets/insetcollapsable.C:
5542         * insets/insetenv.C:
5543         * insets/insetert.C:
5544         * insets/insetfloat.C:
5545         * insets/insetfoot.C:
5546         * insets/insetfootlike.C:
5547         * insets/insetnewline.C:
5548         * insets/insetquotes.C:
5549         * insets/insettabular.C:
5550         * insets/insettext.C:
5551         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5552
5553         * frontends/controllers/ControlChanges.C: #include "changes.h".
5554
5555 2003-09-06  Angus Leeming  <leeming@lyx.org>
5556
5557         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5558         than #including paragraph.h.
5559
5560         * ParagraphList.h:
5561         * RowList.h: deleted. Superfluous.
5562
5563         * CutAndPaste.h:
5564         * iterators.h:
5565         * lyxcursor.h:
5566         * lyxtext.h:
5567         * text_funcs.h:
5568         * undo.h:
5569         * undo_funcs.h:
5570         * insets/inset.h:
5571         * insets/insettext.h: use ParagraphList_fwd.h rather than
5572         ParagraphList.h.
5573
5574         * paragraph.h: don't forward declare ParagraphList.
5575
5576         * buffer.h:
5577         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5578         rather than ParagraphList.h. paragraph.h is still needed for the
5579         Paragraph::depth_type parameters.
5580
5581         * textcursor.h: enable it to compile stand-alone in light of the
5582         above changes.
5583
5584         * bufferview_funcs.C:
5585         * iterators.C:
5586         * lyxfunc.C:
5587         * lyxrow_funcs.C:
5588         * paragraph.C:
5589         * rowpainter.C:
5590         * text.C:
5591         * text2.C:
5592         * text3.C:
5593         * text_funcs.C:
5594         * textcursor.C:
5595         * undo.C:
5596         * frontends/controllers/ControlParagraph.C:
5597         * frontends/controllers/ControlTabular.C:
5598         * insets/insetmarginal.C:
5599         * insets/insetminipage.C:
5600         * insets/insetnote.C:
5601         * insets/insetoptarg.C: add header files needed to compile again.
5602
5603 2003-09-06  Angus Leeming  <leeming@lyx.org>
5604
5605         * RowList_fwd.h: new file, forward-declaring Row rather than
5606         #including lyxrow.h.
5607
5608         * lyxrow_funcs.h:
5609         * lyxtext.h:
5610         * paragraph.h:
5611         * insets/insettext.h: use it instead of RowList.h
5612
5613         * bufferview_funcs.C:
5614         * lyxfunc.C:
5615         * lyxrow_funcs.C:
5616         * paragraph.C:
5617         * rowpainter.C:
5618         * text.C:
5619         * text2.C:
5620         * text3.C: #include "RowList.h".
5621
5622 2003-09-05  Angus Leeming  <leeming@lyx.org>
5623
5624         * factory.C (createInset):
5625         * vspace.C (c-tor): replace sscanf call with an istringstream.
5626         * ispell.C: re-add missing HP/UX headers.
5627         * lyxserver.C: re-add missing  os2 headers.
5628
5629 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5630
5631         * BranchList.C:
5632         * graph.C:
5633         * ispell.C:
5634         * lastfiles.C:
5635         * lyx_cb.C:
5636         * lyxserver.C:
5637         * texrow.C:
5638         * text3.C: re-add missing system headers, needed for 2.95.2.
5639
5640 2003-09-05  Angus Leeming  <leeming@lyx.org>
5641
5642         Changes most place everywhere due to the removal of using directives
5643         from support/std_sstream.h.
5644
5645 2003-09-05  Angus Leeming  <leeming@lyx.org>
5646
5647         Replace LString.h with support/std_string.h,
5648         Lsstream.h with support/std_sstream.h,
5649         support/LIstream.h with support/std_istream.h,
5650         support/LOstream.h with support/std_ostream.h.
5651
5652         Changes resulting throughout the tree.
5653
5654 2003-09-05  Angus Leeming  <leeming@lyx.org>
5655
5656         * sgml.h: ensure that the header file can be compiled stand-alone.
5657         * *.C: strip out redundant #includes. (320 in total.)
5658
5659 2003-09-04  Angus Leeming  <leeming@lyx.org>
5660
5661         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5662         here (from getPackages).
5663
5664         * debug.[Ch]: add a new EXTERNAL tag.
5665
5666 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5667
5668         * text2.C (cursorEnd): simplify
5669         (setCursor): adjust
5670         (getColumnNearX): adjust
5671
5672         * text.C (computeBidiTables): adjust
5673         (fill): adjust
5674
5675         * rowpainter.C (paintChars): adjust
5676         (paintSelection): adjust
5677         (paintChangeBar): adjust
5678         (paintText): adjust
5679
5680         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5681         lastPos instead.
5682         (numberOfSeparators): adjust
5683
5684 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5685
5686         * LyXAction.C:
5687         * box.[Ch]:
5688         * lfuns.h:
5689         * lyxfunc.C:
5690         * text3.C: Restricts the mouse click functionality
5691         of insets like bibtex, include, toc and floatlist to the visible
5692         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5693         up the dialogs. Cursor has to be in front of the inset (i.e.
5694         start of row) for this to function.
5695
5696 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5697
5698         * bufferview_funcs.C (currentState): output row information
5699
5700 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5701
5702         * bufferview_funcs.C (currentState): output paragraph position
5703
5704 2003-09-04  Angus Leeming  <leeming@lyx.org>
5705
5706         * FloatList.h: move out #include "Floating.h".
5707         * LaTeX.h: move out #include "DepTable.h".
5708         * LyXAction.h: move out #include "funcrequest.h".
5709         * buffer.h: move out #include "author.h", "iterators.h".
5710         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5711         * lyx_main.h: move out #include "errorlist.h".
5712         * lyxfunc.h: move out #include "FuncStatus.h".
5713         * lyxtext: move out #include "lyxcursor.h".
5714         * paragraph_pimpl.h: move out #include "counters.h".
5715
5716 2003-09-03  Angus Leeming  <leeming@lyx.org>
5717
5718         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5719         preamble_snippets list, enabling us to add snippets to the preamble
5720         only if the snippet was not there already.
5721
5722 2003-09-04  Angus Leeming  <leeming@lyx.org>
5723
5724         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5725
5726 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5727
5728         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5729         update
5730
5731 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5732
5733         * BranchList.C: point fix, earlier forgotten
5734
5735 2003-09-02  Angus Leeming  <leeming@lyx.org>
5736
5737         * box.C (contains): renamed from 'contained' after a fantastic
5738         amount of hot air.
5739
5740 2003-09-02  John Levon  <levon@movementarian.org>
5741
5742         * BufferView.C:
5743         * lyxcursor.h:
5744         * lyxcursor.C:
5745         * lyxfunc.C:
5746         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5747
5748 2003-09-02  John Levon  <levon@movementarian.org>
5749
5750         * text2.C: simplification of cursorEnd(), including partial
5751         fix for bug 1376
5752
5753 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5754
5755         * buffer.C (readFile): add a space
5756
5757 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5758
5759         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5760
5761 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5762
5763         * buffer.C (readFile): new function, take a filename and a
5764         ParagraphList::iterator
5765         (readFile): adjust
5766         (readFile): adjust, make it private. don't use setStream, make
5767         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5768         always contain the filename.
5769
5770         * BufferView.C (insertLyXFile): simplify and make it work for
5771         gzipped files.
5772
5773 2003-08-30  John Levon  <levon@movementarian.org>
5774
5775         * Makefile.am: fix dist (from Kayvan)
5776
5777 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5778
5779         * most files: change to use const Buffer refs
5780
5781 2003-08-27  André Pönitz  <poenitz@gmx.net>
5782
5783         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5784         on top of ownerPar().
5785
5786 2003-08-27  John Levon  <levon@movementarian.org>
5787
5788         * funcrequest.C: properly initialise POD members
5789
5790 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5791
5792         * lyxtext.h (top_y): move top_y from here
5793         * text.C:
5794         * text2.C:
5795         * text3.C:
5796         * BufferView.[Ch]:
5797         * BufferView_pimpl.[Ch]: to here
5798         * frontends/screen.C:
5799         * insets/insettabular.C:
5800         * insets/insettext.C: adjust
5801         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5802
5803 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5804
5805         * BufferView.[Ch]:
5806         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5807
5808 2003-08-26  André Pönitz  <poenitz@gmx.net>
5809
5810         * paragraph_func.[Ch] (outerPar): new function
5811
5812         * paragraph.C:
5813         * paragraph_funcs.C:
5814         * paragraph_funcs.h:
5815         * paragraph_pimpl.C:
5816         * text2.C: remove Inset::par_owner
5817
5818 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5819
5820         * lyxrow_funcs.C:
5821         * lyxtext.h:
5822         * text.C:
5823         * text2.C: eliminates the needFullRow/display() stuff
5824         altogether, putting the logic in metrics/draw in the insets.
5825
5826 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5827
5828         * text2.C (redoParagraphInternal, redoParagraphs):
5829         * text.C (redoParagraph): add a call to updateRowPositions at the
5830         end of each 'metrics-like' call. Remove all others.
5831         (getRow): remove the 'y-computing' version.
5832         (getRowNearY): do not compute nor return the real y. Solve the
5833         'y < 0' problem and simplify.
5834
5835 2003-08-22  Angus Leeming  <leeming@lyx.org>
5836
5837         * *.[Ch]: clean-up of licence and author blurbs.
5838         Also move config.h out of a few .h files and into a few .C files.
5839
5840 2003-08-22  André Pönitz  <poenitz@gmx.net>
5841
5842         * lyxrow.[Ch]: add x_ and *fill_ members
5843
5844         * lyxtext.h:
5845         * text.C:
5846         * rowpainter.C:
5847         * text2.C: adjust/remove prepareToPrint() calls
5848
5849 2003-08-22  André Pönitz  <poenitz@gmx.net>
5850
5851         * lyxrow.[Ch]: add  end_ member
5852
5853         * lyxrow_funcs.C: use LyXRow::end_
5854
5855         * lyxtext.h (singleWidth): add LyXFont parameter
5856
5857         * rowpainter.C:
5858         * text2.C: adjust LyXText::singleWidth() calls
5859
5860         * text.C (redoParagraph): simplify row breaking logic
5861
5862
5863 2003-08-19  André Pönitz  <poenitz@gmx.net>
5864
5865         * funcrequest.C: initialize button_ member
5866
5867         * text3.C:
5868         * rowpainter.[Ch]: interface consolidation
5869
5870 2003-08-18  André Pönitz  <poenitz@gmx.net>
5871
5872         * BufferView.C:
5873         * BufferView_pimpl.C:
5874         * lyxfind.C:
5875         * paragraph_funcs.C:
5876         * rowpainter.C:
5877         * text3.C: remove LyXScreen::draw() and fitCursor calls
5878
5879         * BranchList.h: remove spurious semicolons
5880
5881         * MenuBackend.C: fix branchlist related crash
5882
5883 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5884
5885         * BranchList.[Ch]:
5886         * InsetList.[Ch]:
5887         * LColor.[Ch]:
5888         * LyXAction.C:
5889         * Makefile.am:
5890         * MenuBackend.[Ch]:
5891         * bufferparams.[Ch]:
5892         * factory.C:
5893         * lfuns.h:
5894         * lyxfunc.C:
5895         * text3.C: implements the 'branch inset'
5896         idea. This allows the output of various versions of a document
5897         from a single source version, selectively outputing or suppressing
5898         output of parts of the text.
5899         This implementation contains a 'branch list editor' in a separate
5900         tab of the document settings dialog. Branches are user definable
5901         and have a "display colour" to distinguish them on-screen.
5902
5903         ColorHandler was somewhat cleaned up.
5904         (1) make possible a dynamically growing LColor list by allowing
5905         the graphic context cache to grow along (vector);
5906         (2) eliminate an IMHO unnecessary step in colour allocation.
5907
5908 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5909
5910         * BufferView_pimpl.C: compile fix
5911
5912 2003-08-15  André Pönitz  <poenitz@gmx.net>
5913
5914         * rowpainter.C: remove extra metrics calls
5915
5916         * lyxtext.h: merge the two constructors into a single one,
5917           pass reference to owner's par list
5918
5919         * BufferView_pimpl.C:
5920         * text.C:
5921         * text2.C: adjust
5922
5923 2003-08-15  André Pönitz  <poenitz@gmx.net>
5924
5925         * lyxrow_funcs.[Ch]:
5926         * lyxtext.h:
5927         * paragraph.h:
5928         * paragraph_funcs.C:
5929         * rowpainter.C:
5930         * text.C:
5931         * text2.C:
5932         * text3.C:
5933         * text_funcs.C: split LyXText::rowlist_ into individual
5934         Paragraph::rows_ chunks
5935
5936         * BufferView.[Ch]:
5937         * BufferView_pimpl.[Ch]:
5938         * lyxfind.C:
5939         * lyxtext.h:
5940         * text3.C: remove toggleSelection()
5941
5942 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5943
5944         * bufferlist.C: beautify two alerts (shorter text of buttons)
5945         * buffer.C: Remove redundant ' ' from message
5946         * tabular.h:
5947         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5948         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5949         rename VALIGN_CENTER to VALIGN_MIDDLE
5950
5951 2003-08-11  André Pönitz  <poenitz@gmx.net>
5952
5953         * lyxtext.h (getPar):
5954         * text.C: new function
5955
5956 2003-08-11  André Pönitz  <poenitz@gmx.net>
5957
5958         * Makefile.am:
5959         * tracer.[Ch]: remove unneeded files
5960
5961         * InsetList.[Ch]: remove resizeInsetsLyXText()
5962
5963         * lyxtext.h:
5964         * text.C:
5965         * text2.C:
5966         * text3.C: merge insertParagraphs() and appendParagraph()
5967         remove breakAgain(), update()
5968
5969         * BufferView_pimpl.[Ch]:
5970         * bufferview_funcs.[Ch]:
5971         * lyxfunc.C:
5972         * paragraph.[Ch]:
5973         * rowpainter.C:
5974         * tabular.C: adjust after text & InsetList changes.
5975
5976 2003-08-08  André Pönitz  <poenitz@gmx.net>
5977
5978         * text.C (insertChar, backspace): replace rowlist fiddling
5979         with rebreak of full par
5980
5981         * lyxtext.h:
5982         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5983         checkParagraph, updateInset): removed
5984
5985 2003-08-07  André Pönitz  <poenitz@gmx.net>
5986
5987         * paragraph.C:
5988         * text3.C: merge some LFUN handlers, remove dead code
5989
5990 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5991
5992         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5993
5994 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5995
5996         * text2.C (DEPM): fix part of bug 1255 and 1256
5997
5998 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5999
6000         * BufferView_pimpl.C (workAreaDispatch): change to use
6001         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6002         that are no mouse related.
6003
6004 2003-08-05  André Pönitz  <poenitz@gmx.net>
6005
6006         * BufferView.[Ch]:
6007         * BufferView_pimpl.[Ch]:
6008         * bufferview_funcs.C:
6009         * text2.C:
6010         * text3.C: rip out "deep update"
6011
6012         * textcursor.[Ch] (last_sel_cursor): remove unused member
6013
6014 2003-08-04  André Pönitz  <poenitz@gmx.net>
6015
6016         * BufferView.[Ch]:
6017         * BufferView_pimpl.[Ch]:
6018         * ParagraphParameters.C:
6019         * bufferview_funcs.C:
6020         * lyx_cb.C:
6021         * lyxfind.C:
6022         * lyxfunc.C:
6023         * text.C:
6024         * text2.C:
6025         * text3.C: replace "complicated" BufferView::update(...) calls with
6026         simpler ones.
6027
6028         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6029
6030 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6031
6032         * Makefile.am (lyx_SOURCES): add paper.h
6033
6034 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6035
6036         * Makefile.am: move things around so that both lyx-qt and
6037         lyx-xforms can be built (according to --with-frontend). Then lyx
6038         is a symbolic link to lyx-[firstfrontend]
6039
6040 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6041
6042         * Always use std::endl with lyxerr
6043
6044 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6045
6046         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6047
6048 2003-08-01  André Pönitz  <poenitz@gmx.net>
6049
6050         * BufferView.[Ch]:
6051         * BufferView_pimpl.[Ch]:
6052         * lyxfunc.C:
6053         * text3.C: merge BufferView::repaint() and BufferView::update()
6054
6055 2003-08-01  José Matos  <jamatos@lyx.org>
6056
6057         * buffer.[Ch]: file_format is no longer a buffer data element.
6058
6059 2003-08-01  André Pönitz  <poenitz@gmx.net>
6060
6061         * BufferView.C:
6062         * lyxtext.h:
6063         * text.C:
6064         * text2.C: make redoParagraph more independent of current cursor
6065
6066         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6067         * text.C:
6068         * text2.C: remove unneeded members
6069
6070 2003-07-30  André Pönitz  <poenitz@gmx.net>
6071
6072         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6073
6074         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6075           create a single function...
6076
6077         * paragraph_funcs.C (moveItem): ... here.
6078
6079         * text.C:
6080           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6081
6082 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6083
6084         * LColor.[Ch]: Add comment and greyedout logical colors.
6085
6086 2003-07-30  André Pönitz  <poenitz@gmx.net>
6087
6088         * tabular.C: don't use Assert too heavily. This crashes where it
6089           shouldn't
6090
6091 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6092
6093         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6094         is disabled (bug 1232)
6095
6096 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6097
6098         * factory.C: limited 'arg' scope
6099
6100 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6101
6102         * factory.C: fixed Note submenu issues
6103
6104 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6105
6106         * factory.C: submenu for Note/Comment/Greyedout
6107
6108 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6109
6110         * lyx_main.C (LyX):
6111         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6112
6113 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6114
6115         * LaTeXFeatures.C:
6116         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6117         greyedout. Patch provided by Jürgen Spitzmüller.
6118
6119 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6120
6121         * kbmap.C (read): fix error message when reading bind files
6122
6123 2003-07-29  Angus Leeming  <leeming@lyx.org>
6124
6125         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6126         certainly does not do what it purports to do. I am doing it, and
6127         us, a favour by killing it.
6128
6129 2003-07-28  José Matos  <jamatos@lyx.org>
6130
6131         * buffer.C (readBody, do_writeFile):
6132         * paragraph.C(readParagraph): \end_document replaces \the_end.
6133
6134 2003-07-29  André Pönitz  <poenitz@gmx.net>
6135
6136         * BufferView.[Ch]:
6137         * BufferView_pimpl.[Ch]:
6138         * lyxfunc.C:
6139         * text2.C:
6140         * text3.C:
6141         * textcursor.[Ch]: remove toggleToggle & Co
6142
6143 2003-07-28  José Matos  <jamatos@fep.up.pt>
6144
6145         * buffer.C (readParagraph):
6146         * params_func (readParToken, readParagraph):
6147         * paragraph.C (write): \layout -> \begin_layout.
6148
6149 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * lyxlex_pimpl.C (setFile): clean up slightly.
6152
6153         * bufferparams.h: add compressed var
6154
6155         * buffer_funcs.C (readFile): adjust for LyXLex change
6156         (newFile): ditto + simplify
6157
6158         * buffer.C (writeFile): handle writing of compressed files
6159
6160         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6161         Check if the file is compressed and set a bufferparm if so.
6162
6163         * Makefile.am (lyx_LDADD): remove explicit -lz
6164
6165 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6166
6167         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6168         makeDocBookFile): put the real LyX version in the first line of
6169         the file
6170
6171         * version.h:
6172         * version.C.in: remove lyx_docversion
6173
6174         * tabular.C (write_attribute): add a template-based version to
6175         write enums properly
6176
6177 2003-07-28  André Pönitz  <poenitz@gmx.net>
6178
6179         * lyxtext.h:
6180         * text.C:
6181         * text2.C:
6182         * text3.C: use doubles again for x-coordinates. They are needed.
6183
6184 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6185
6186         * messages.C (getLocaleDir): use lyx_localedir()
6187
6188         * lyxlex_pimpl.C (setFile): compress stuff
6189
6190         * buffer.C (writeFile): add some compression stuff
6191         (do_writeFile): new func, dont call expliti close... will this
6192         breake anything?
6193
6194         * Makefile.am (lyx_LDADD): add -lz
6195
6196 2003-07-28  José Matos  <jamatos@fep.up.pt>
6197
6198         * buffer.C: increment file format.
6199         * paragraph_funcs (readParagraph, readParToken):
6200         * paragraph.C (readParagraph): add \end_layout.
6201
6202 2003-07-27  Angus Leeming  <leeming@lyx.org>
6203
6204         * Makefile.am: remove special casing for configure-time setting of
6205         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6206
6207         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6208         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6209
6210 2003-07-26  André Pönitz  <poenitz@gmx.net>
6211
6212         * paragraph_func.[Ch]:
6213         * paragraph.C (realizeFont): inline it whereever it is used
6214
6215         * rowpainter.C:
6216         * text.C:
6217         * text2.C:
6218         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6219
6220
6221 2003-07-26  André Pönitz  <poenitz@gmx.net>
6222
6223         *       lyxtext.h:
6224         * text.C:
6225         * text2.C: get rid of LyXText::need_break_row
6226
6227 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6228
6229         * toc.[Ch]: put namespace toc inside namespace lyx
6230
6231         * MenuBackend.C (expandToc2): adjust for lyx::toc
6232         (expandToc): ditto
6233
6234         * lyxfunc.C (dispatch): adjust for lyx::find
6235
6236         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6237         lyx::find instead. Reorganize a bit.
6238         (LyXReplace): rename to replace
6239         (LyXFind): rename to find
6240
6241         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6242         (dispatch): ditto
6243
6244 2003-07-26  André Pönitz  <poenitz@gmx.net>
6245
6246         * text.C (setHeightOfRow): restrict scope of temporary variable
6247
6248         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6249           code (never has been used?)
6250
6251 2003-07-27  Asger Alstrup  <alstrup@local>
6252
6253         * text.C (fill): Optimise algorithm to exploit that we can reuse
6254         the LyXFont for many characters.
6255         (setHeightOfRow): Same thing.
6256         (rowBreakPoint): Same thing.
6257
6258 2003-07-26  Asger Alstrup  <alstrup@local>
6259
6260         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6261
6262         * text.C (singleWidth): Spurious font copying in hot-spot
6263         singleWidth avoided. Reorder tests for arabic for efficiency.
6264
6265         * text.C (fill): handle empty paragraphs better.
6266
6267 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6268
6269         * ispell.C:
6270         * encoding.h: add includes
6271
6272         * lyxrc.C: remove reading of bind files
6273
6274         * lyx_main.C (init): setup bindings and menus only if we have a
6275         gui.
6276
6277         * kbmap.C (read): new method. Do the actual reading of bind
6278         files.
6279
6280         * converter.C (dvipdfm_options):
6281         * bufferparams.C:
6282         * lyxrc.C (read):
6283         (output): adapt PAPER_* enums.
6284
6285         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6286
6287         * bufferparams.h: remove paper-related enums from there
6288
6289         * paper.h: New file. A trivial header file to hold paper-related
6290         enums. It should later expand to contain many paper-related
6291         horrors access.
6292
6293         * lyxrc.C: declare extern displayTranslator
6294
6295 2003-07-27  José Matos  <jamatos@fep.up.pt>
6296
6297         * tabular.[Ch] (linuxdoc): add support for tables and figures
6298         (linuxdoc).
6299
6300 2003-07-27  José Matos  <jamatos@fep.up.pt>
6301
6302         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6303         consistency in both functions.
6304         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6305
6306 2003-07-26  Asger Alstrup  <alstrup@local>
6307
6308         * rowpainter.C (paintRows): Change algorithm to work directly on
6309         the insets rather than asking every character in the document
6310         whether its an inset.
6311
6312 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6313
6314         * buffer.C (openFileWrite): factorize some code
6315
6316 2003-07-26  Angus Leeming  <leeming@lyx.org>
6317
6318         * lyx_cb.C:
6319         * lyx_main.[Ch]: replace occurances of system_tempdir with
6320         os::getTmpDir().
6321
6322 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6323
6324         * rename Inset to InsetOld
6325
6326 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6327
6328         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6329         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6330         which I think is a bit clearer. EDIT is gone, since it was
6331         premature optimisation, and broken for mathed anyway.
6332         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6333         with cursor positioning in insets as well (math insets still do not
6334         work, but that's a different story anyway.) It mysteriously
6335         crashes sometimes with undo in the first paragraph, but I'm fairly
6336         confident that this is a compiler bug.
6337
6338 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6339
6340         * paragraph.C (Paragraph): adjust for new clone return type
6341         (operator==): ditto
6342         (copyIntoMinibuffer): ditto
6343
6344 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6345
6346         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6347         by not having a special case, and always doing a full rebreak of
6348         the document after undo.
6349
6350 2003-07-23  Angus Leeming  <leeming@lyx.org>
6351
6352         * factory.C (createInset): InsetExternal::setParams now takes a
6353         Buffer const * arg.
6354
6355 2003-07-23  Angus Leeming  <leeming@lyx.org>
6356
6357         * factory.C (createInset): changed interface to the external and
6358         graphics mailers' string2params functions.
6359
6360 2003-07-23  Angus Leeming  <leeming@lyx.org>
6361
6362         * factory.C (createInset): pass a
6363         Buffer const * parameter to InsetExternalMailer's string2params.
6364
6365 2003-07-22  John Levon  <levon@movementarian.org>
6366
6367         * Thesaurus.h: include the right aiksaurus header
6368
6369 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6370
6371         * MenuBackend.C (expand): check menu shortcuts unconditionally
6372
6373 2003-07-21  Angus Leeming  <leeming@lyx.org>
6374
6375         * factory.C (createInset): pass a
6376         buffer_path parameter to InsetGraphicsMailer's string2params.
6377
6378 2003-07-21  Angus Leeming  <leeming@lyx.org>
6379
6380         * BufferView_pimpl.C (buffer):
6381         * buffer.C (d-tor):
6382         * lyx_main.C (LyX):
6383         * lyxfunc.C (dispatch):
6384         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6385         rather than the grfx shortcut.
6386
6387 2003-07-21  André Pönitz  <poenitz@gmx.net>
6388
6389         * rowpainter.C: remove unused variables
6390
6391         * tabular_funcs.C:
6392         * tabular_funcs.h: move to tabular.C
6393         * Makefile.am: adjust
6394
6395         * tabular.[Ch]: basic optical cleaning
6396
6397         * author.h: pass references, not values
6398
6399 2003-07-18  André Pönitz  <poenitz@gmx.net>
6400
6401         * lyxtext.h:
6402         * metricsinfo.C:
6403         * metricsinfo.h:
6404         * rowpainter.C:
6405         * text.C:
6406         * text2.C:
6407         * text3.C: two-phase drawing for InsetText and InsetTabular
6408         some float -> int changes.
6409
6410 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6411
6412         * lyx_main.C: fix the fix
6413
6414 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6415
6416         * lyx_main.C: fix a crash in batch mode if no files specified
6417         * converter.C: ws
6418
6419 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6420
6421         * format.[Ch] (papersize): moved to BufferParams
6422         * converter.[Ch] (dvips_options): moved to BufferParams
6423         (dvipdfm_options): moved to anon namespace
6424         * bufferparams.[Ch]: added above functions.
6425
6426 2003-07-17  André Pönitz  <poenitz@gmx.net>
6427
6428         * lyxtext.h:
6429         * rowpainter.C:
6430         * text2.C: don't call inset->update() anymore
6431
6432         * metricsinfo.[Ch]: add convenience constructor
6433
6434 2003-07-16  André Pönitz  <poenitz@gmx.net>
6435
6436         * lyxcursor.[Ch]:
6437         * lyxfunc.[Ch]:
6438         * text.C:
6439         * text2.C: replace the LyXCursor::irow_ member with
6440          on-demand computation of the value
6441
6442 2003-07-16  John Levon  <levon@movementarian.org>
6443
6444         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6445
6446 2003-07-15  André Pönitz  <poenitz@gmx.net>
6447
6448         * text.C:
6449         * text2.C: remove no more needed refresh_row
6450
6451 2003-07-15  André Pönitz  <poenitz@gmx.net>
6452
6453         * lyxtext.h:
6454         * rowpainter.C:
6455         * text2.C:
6456         * text3.C: refresh_status tristate -> need_update bool
6457
6458 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6459
6460         * lyxtext.h (init): remove reinit argument (act as if always true)
6461         * text2.C: adjust to that
6462
6463 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6464
6465         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6466         * text3.C: use it to delete selections in some cases
6467         (bugs 441, 673, 702, 954).
6468
6469 2003-07-14  André Pönitz  <poenitz@gmx.net>
6470
6471         * rowpainter.[Ch]: reduce interface
6472
6473 2003-07-14  André Pönitz  <poenitz@gmx.net>
6474
6475         * BufferView_pimpl.C:
6476         * text2.C: adjust after removing unused BufferView * argument
6477
6478 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6479
6480         * text2.C (init): fix a crash fired on resize
6481
6482 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6483
6484         * buffer.[Ch]: added new closing signal
6485         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6486         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6487         BufferView::Pimpl via the closing the signal
6488
6489 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6490
6491         * buffer.[Ch]: take out all bv-related from buffer
6492         * BufferView.C:
6493         * BufferView_pimpl.[Ch]: connect to new signals
6494         * CutAndPaste.C: removed useless asserts
6495         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6496         * lyxvc.[Ch]:
6497         * vc-backend.[Ch]:
6498         * lyxfunc.C: moved view-related funciontality from vc here
6499         * paragraph.C: removed outdated comments
6500         * text.C: ws
6501
6502 2003-07-10  André Pönitz  <poenitz@gmx.net>
6503
6504         * BufferView_pimpl.C:
6505         * tabular.h:
6506         * tabular_funcs.C:
6507         * text.C:
6508         * text2.C: remove InsetText::InnerCache, clean up consequences
6509
6510 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6511
6512         * ispell.C: fix two typos in error messages
6513
6514 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6515
6516         * Extend Note inset to other forms of annotation like Comment
6517         and Greyedout. Right button click gives dialog.
6518
6519         Files modified or added (+):
6520
6521         * insetnote.[Ch]
6522         * FormNote.[Ch]      +
6523         * ControlNote.[Ch]   +
6524         * form_note.fd       +
6525         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6526         frontends/controllers
6527         * xforms/Dialogs.C
6528         * factory.C
6529
6530 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6531
6532         * aspell.C: add missing namespace lyx::support
6533
6534 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6535
6536         * BufferView.[Ch] (newFile): Add
6537         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6538         * LaTeX.[Ch] (message): added this signal and use it
6539         * buffer.[Ch] (busy, message): added these signals and use them
6540         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6541         * converter.C:
6542         * exporter.C:
6543         * format.C:
6544         * importer.C: use buffer signals instead of direct bv calling
6545         * lyx_cb.[Ch] (ShowMessage): removed
6546         * lyx_main.C:
6547         * lyxfunc.C:
6548         * paragraph_funcs.C:
6549         * text2.C: use buffer signals
6550
6551 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6552
6553         * introduce namespace lyx::graphics
6554
6555 2003-07-02  André Pönitz  <poenitz@gmx.net>
6556
6557         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6558
6559 2003-07-01  André Pönitz  <poenitz@gmx.net>
6560
6561         * text.C:
6562         * text2.C:
6563         * text3.C:
6564         * text_funcs.[Ch]:
6565         * textcursor.h:
6566         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6567           text*.C to text_func.C
6568
6569 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6570
6571         * introduce namespace lyx::support
6572
6573 2003-06-30  André Pönitz  <poenitz@gmx.net>
6574
6575         * Chktex.C:
6576         * funcrequest.C:
6577         * lyxtext.h:
6578         * text.C: re-enable --with-included-string
6579
6580 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6581
6582         * textcursor.C: add <config.h>
6583
6584         * text.C (getWord): remove const from word_location arg
6585
6586         * lyxvc.C (getLogFile): fix const type order
6587
6588         * lyxtext.h: remove const from word_location arg, add arg name
6589
6590         * lyxlayout.h: currect type on labeltype.
6591
6592         * importer.C: correct \file
6593
6594         * converter.C (intToFormat): use std:: on ret val, ws changes
6595
6596         * bufferlist.h: correct \file
6597
6598         * buffer.C (makeLinuxDocFile): fix const type order
6599         (makeDocBookFile): ditto
6600         (fillWithBibKeys): use std:: on stdlib args.
6601
6602         * CutAndPaste.C: fix authors.
6603         (availableSelections): use std:: on return vector
6604
6605 2003-06-27  André Pönitz  <poenitz@gmx.net>
6606
6607         * BufferView_pimpl.C:
6608         * bufferview_funcs.C:
6609         * lyxcursor.C:
6610         * lyxcursor.h:
6611         * lyxfunc.C:
6612         * lyxtext.h:
6613         * rowpainter.C:
6614         * text.C:
6615         * text2.C:
6616         * text3.C: remove LyXCursor::row_ member
6617
6618         * lyxtext.h:
6619         * text.C: rename fullRebreak() to partialRebreak() and implement
6620           a fullRebreak() that really bereks fully
6621
6622         * textcursor.h: new struct for cursor-related data
6623
6624 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6625
6626         * lyx_main.C (LyX): get full path of document loaded on the
6627         command line
6628
6629 2003-06-26  André Pönitz  <poenitz@gmx.net>
6630
6631         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6632           remove unused/broken operator>,<,>=.
6633
6634         *       text.C: remove only use of broken operator<= in an Assert().
6635
6636 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6637
6638         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6639         moved errorlist_.clear to showErrorList
6640
6641 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6642
6643         * converter.C (scanLog, runLaTeX):
6644         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6645         move the bv->showErrorList call to the callers
6646         * lyxfunc.C: i.e. here...
6647         * text2.C: and here
6648         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6649         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6650         namespace, the second to...
6651         * buffer_funcs (BufferFormat, parseErrors): added
6652         * errorlist.C (ErrorList(TeXErrors const &)): removed
6653
6654 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6655
6656         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6657
6658 2003-06-24  "Garst R. Reese" <reese@isn.net>
6659
6660         * debug.C: fix typo
6661
6662 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6663
6664         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6665
6666         * version.C.in: change docversion to 1.4
6667
6668 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6669
6670         * buffer.C: fix a bug just introduced
6671
6672 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6673
6674         * buffer.[Ch]: added the parseError signal and use it, removed
6675         sgmlError
6676         * BufferView.[Ch] (addError): moved to ...
6677         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6678         to the Buffer::parseError signal to catch (guess what) parse errors
6679         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6680
6681 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6682
6683         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6684         ability to create a buffer and to return an existing one from
6685         the list. Moved these functions to...
6686         * buffer_funcs.[Ch]: added
6687         * BufferView.[Ch] (loadLyXFile): added
6688         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6689         job removed from bufferlist::loadLyXFile.
6690         * buffer.C (setReadOnly): make it work without view
6691         (i.e added an if (users))
6692
6693 2003-06-19  Angus Leeming  <leeming@lyx.org>
6694
6695         * lfuns.h:
6696         * LyXAction.C (init):
6697         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6698         with LFUN_DIALOG_SHOW <name> <data>.
6699
6700 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6701
6702         * CutAndPaste.C (availableSelections): small compilation fix for
6703         ancient (gcc 2.9x) compilers
6704
6705 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6706
6707         * text3.C (cursorNext): add tmp var
6708
6709         * text2.C (updateCounters): for function calling out of for clause
6710         (replaceSelectionWithString): ditto
6711         (insertStringAsParagraphs): ditto
6712         (getColumnNearX): add tmp var
6713         (setCursorFromCoordinates): add tmp var
6714         (cursorDownParagraph): add tmp var
6715         (deleteEmptyParagraphMechanism): add tmp var
6716
6717         * text.C (insertChar): add tmp var
6718
6719         * rowpainter.C (paintDepthBar): add tmp var
6720
6721         * CutAndPaste.C (availableSelections): potentially check all
6722         paragraphs in a cut to fill the shown strings.
6723
6724 2003-06-18  André Pönitz  <poenitz@gmx.net>
6725
6726         * kbmap.[Ch]: use vector<> instead of list<>
6727
6728 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6729
6730         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6731         pasteSelection with index
6732
6733         * text2.C (pasteSelection): modify, call pasteSelection with index
6734
6735         * paragraph.C (asString): reimplement version with no interval to
6736         call the one with interval.
6737
6738         * lyxtext.h: add index arg to pasteSelection
6739
6740         * MenuBackend.C (MenuItem): handle PasteRecent
6741         (Menu::read::Menutags): add md_pasterecent
6742         (read): handle it
6743         (expandPasteRecent): new function
6744         (expand): use it
6745
6746         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6747
6748         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6749         the limited stack
6750         (availableSelections): new function
6751
6752 2003-06-17  Angus Leeming  <leeming@lyx.org>
6753
6754         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6755
6756 2003-06-17  Angus Leeming  <leeming@lyx.org>
6757
6758         * lfuns.h:
6759         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6760
6761         * lyxfunc.C (dispatch): invoke it.
6762
6763 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6764
6765         * iterators.C (operator++, ParPosition): reintroduce some
6766         const_cast for the benefit of older compilers.
6767
6768 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6769
6770         * text3.C (dispatch): do not modify clipboard when doing
6771         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6772         LFUN_DELETE_SKIP on a selection selection
6773
6774 2003-06-16  André Pönitz  <poenitz@gmx.net>
6775
6776         * BufferView.C:
6777         * buffer.C:
6778         * buffer.h:
6779         * paragraph.C:
6780         * tabular.[Ch]: IU of clone() and getLabelList();
6781
6782 2003-06-13  André Pönitz  <poenitz@gmx.net>
6783
6784         * tabular.h: compactification
6785
6786 2003-06-12  André Pönitz  <poenitz@gmx.net>
6787
6788         * tabular.C:
6789         * tabular.h:
6790         * tabular_funcs.h: some renaming plus whitespace
6791
6792 2003-06-12  André Pönitz  <poenitz@gmx.net>
6793
6794         * BufferView.C:
6795         * BufferView_pimpl.C:
6796         * CutAndPaste.C:
6797         * buffer.C:
6798         * iterators.[Ch]:
6799         * lyxfunc.C:
6800         * text.C:
6801         * toc.C: Return a Paragraph & for ParIterator::operator*()
6802
6803 2003-06-11  John Levon  <levon@movementarian.org>
6804
6805         * lyx_main.C:
6806         * ToolbarBackend.h:
6807         * ToolbarBackend.C: add "Toolbars" section and
6808         put the flags there
6809
6810 2003-06-10  Angus Leeming  <leeming@lyx.org>
6811
6812         * lfuns.h:
6813         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6814
6815         * lyxfunc.C (dispatch): invoke it.
6816
6817 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6818
6819         * main.C: protect <ios> with HAVE_IOS
6820         (main): protect sync_with_stdio with HAVE_IOS
6821
6822 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6823
6824         * text2.C (cutSelection): adjust
6825         (pasteSelection): adjust
6826
6827         * messages.C: handle get of empty string
6828
6829         * main.C (main): use sync_with_stdio(false)
6830
6831         * lyxfunc.C (dispatch): adjust
6832
6833         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6834         (WriteAs): remove unneeded BufferView arg.
6835
6836         * bufferparams.h: use correct types on papersize, papersize2 and
6837         paperpackage.
6838
6839         * bufferparams.C (readToken): adjust for type
6840         (writeLaTeX): add missing cases to switch.
6841
6842         * bufferlist.C (quitWriteBuffer): adjust
6843         (close): adjust
6844
6845         * buffer.C (asciiParagraph): remove some commented code.
6846
6847         * CutAndPaste.C: remove current_view extern variable.
6848         (cutSelection): add BufferParams arg.
6849         (eraseSelection): add BufferParams arg.
6850         (pasteSelection): add Buffer const & arg
6851
6852 2003-06-07  John Levon  <levon@movementarian.org>
6853
6854         * buffer.C:
6855         * paragraph_funcs.C:
6856         * paragraph_pimpl.C:
6857         * text.C:
6858         * text2.C:
6859         * paragraph.h:
6860         * paragraph.C: allow InsetERT to freely space lines,
6861         and some consolidation of code
6862
6863 2003-06-06  José Matos  <jamatos@fep.up.pt>
6864
6865         * buffer.C (makeDocBookFile): fix bug #821
6866
6867 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6868
6869         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6870
6871 2003-06-04  Angus Leeming  <leeming@lyx.org>
6872
6873         * buffer.C: bump format to 224.
6874
6875 2003-06-05  André Pönitz  <poenitz@gmx.net>
6876
6877         * text2.C (redoParagraphs): remove two const_cast<>
6878
6879 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6880
6881         * ParagraphList.h: remove last remnants of NO_STD_LIST
6882
6883 2003-06-03  Angus Leeming  <leeming@lyx.org>
6884
6885         * factory.C (createInset): small change to the way InsetExternal's params
6886         are set.
6887
6888 2003-06-04  André Pönitz  <poenitz@gmx.net>
6889
6890         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6891
6892         * paragraph_pimpl.h:
6893         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6894
6895         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6896
6897         * undo_funcs.C: make some simple cases of undo work again
6898
6899 2003-06-03  John Levon  <levon@movementarian.org>
6900
6901         * ispell.C: HPUX doesn't have sys/select.h
6902         (from Albert Chin)
6903
6904 2003-06-03  John Levon  <levon@movementarian.org>
6905
6906         * CutAndPaste.C: update tabular and include inset
6907         buffer references
6908
6909         * buffer.h:
6910         * paragraph.h:
6911         * paragraph.C: remove owningBuffer(), don't pass Buffer
6912         to clone()
6913
6914         * factory.C: insetGraphicsParams changed
6915
6916 2003-06-02  John Levon  <levon@movementarian.org>
6917
6918         * LyXAction.C:
6919         * factory.C:
6920         * lfuns.h:
6921         * lyxfunc.C:
6922         * text3.C: remove insetparent
6923
6924 2003-06-02  John Levon  <levon@movementarian.org>
6925
6926         * buffer.h:
6927         * buffer.C: fix inset_iterator.end(), move out of line
6928         (bug 1149)
6929
6930 2003-06-01  John Levon  <levon@movementarian.org>
6931
6932         * text3.C: use a proper cut/paste when doing inset
6933         insert (from Jürgen Spitzmüller)
6934
6935 2003-06-01  John Levon  <levon@movementarian.org>
6936
6937         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6938
6939 2003-05-30  André Pönitz  <poenitz@gmx.net>
6940
6941         * rowpainter.C: unify second drawing phase
6942
6943 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6944
6945         * trans_mgr.C: remove one case of current_view
6946
6947         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6948
6949         * paragraph_funcs.h: remove paragraph.h include
6950
6951         * paragraph.h: delete NO_STD_LIST stuff
6952
6953         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6954
6955         * buffer.h: remove paragraph.h include
6956
6957         * ParagraphList.C: delete file
6958
6959         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6960
6961         * toc.C (getTocList): adjust
6962
6963         * paragraph_pimpl.C (validate): adjust
6964
6965         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6966
6967         * paragraph.C (Paragraph): adjust
6968         (getPositionOfInset): use const_iterator, adjust
6969         (bibitem): use const_iterator, adjust
6970         (setInsetOwner): adjust
6971
6972         * iterators.C (operator++): adjust
6973
6974         * InsetList.[Ch]: Replace selfmade iterator with standard
6975         vector::iterator also introduce const_iterator. Remove getPos,
6976         getInset and setInset from InsetTable. Adjust accordingly.
6977
6978         * BufferView.C (lockInset): adjust
6979         (ChangeInsets): adjust
6980
6981         * tabular.[Ch]: delete commented same_id functions
6982
6983 2003-05-28  John Levon  <levon@movementarian.org>
6984
6985         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6986
6987 2003-05-28  André Pönitz  <poenitz@gmx.net>
6988
6989         * metricsinfo.[Ch]: remove 'fullredraw' member
6990
6991 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6992
6993         * lyxtextclass.C (operator): remove caching.
6994
6995 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6996
6997         * text3.C: adjust
6998
6999         * text2.C (cursorBottom): adjust
7000         (setCounter): use ParagraphList::find, adjust
7001
7002         * text.C (workWidth): use ParagraphList::find, adjust
7003
7004         * lyxcursor.C (LyXCursor): adjust
7005
7006         * buffer.C (inset_iterator): adjust
7007
7008         * ParagraphList.h: make iterator(value_type) private, make
7009         ParagraphList a friend of iterator.
7010
7011         * ParagraphList.C (find): new function
7012
7013         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7014
7015 2003-05-27  André Pönitz  <poenitz@gmx.net>
7016
7017         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7018
7019 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7020
7021         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7022
7023 2003-05-26  John Levon  <levon@movementarian.org>
7024
7025         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7026
7027 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7028
7029         * remove same_id from function signatures, adjust.
7030
7031 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7032
7033         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7034
7035         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7036
7037         * paragraph.C (Paragraph): get rid of same_ids parameter
7038
7039         * ParagraphList.C (insert): adjust
7040         (push_back): adjust
7041
7042 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7043
7044         * paragraph_funcs.C (breakParagraph): adjust
7045         (breakParagraphConservative): adjust
7046
7047         * buffer.C (readParagraph): adjust
7048
7049         * ParagraphList.C (insert): take a reference instead of a pointer
7050         (insert): adjust
7051
7052         * paragraph.[Ch] (id): new function
7053
7054         * bufferlist.C (newFile): adjust
7055
7056         * ParagraphList.C (ParagraphList): adjust
7057         (assign): adjust
7058         (push_back): take a reference instead of a pointer.
7059
7060         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7061
7062         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7063         instead.
7064
7065         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7066         set else use old code.
7067
7068         * ParagraphList.C: remove all NO_NEXT code and only compile this
7069         code of NO_STD_LIST is set.
7070
7071 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7072
7073         * BufferView_pimpl.C:
7074         * TextCache.C:
7075         * TextCache.h:
7076         * bufferlist.C:
7077         * errorlist.h:
7078         * format.C:
7079         * format.h:
7080         * graph.C:
7081         * lyxfunc.C:
7082         * lyxrc.C:
7083         * graphics/GraphicsConverter.C:
7084         * graphics/PreviewLoader.C: header adjustment
7085
7086 2003-05-23  Angus Leeming  <leeming@lyx.org>
7087
7088         * LaTeXFeatures.[Ch] (useBabel): new method.
7089         * bufferparams.C (writeLaTeX): use it.
7090
7091 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7092
7093         * ParagraphList.h (set): remove unused function.
7094
7095 2003-05-23  André Pönitz  <poenitz@gmx.net>
7096
7097         * BufferView.C:
7098         * BufferView_pimpl.C:
7099         * buffer.C:
7100         * buffer.h:
7101         * lyxfunc.C:
7102         * undo_funcs.C: setUndo reworked
7103
7104         * iterators.[Ch]: add access to topmost ParagraphList
7105
7106         * lyxtext.[Ch] (workWidth): add a const
7107
7108 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7109
7110         * texrow.[Ch] (increasePos): remove function
7111         * exporter.C (export): removed unused var and outdated comment
7112
7113 2003-05-23  Angus Leeming  <leeming@lyx.org>
7114
7115         * latexrunparams.h: rename fragile as moving_arg.
7116         * paragraph.C (simpleTeXOnePar): ditto.
7117         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7118
7119 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7120
7121         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7122         (createUndo): ditto
7123         (textUndoOrRedo): comment out a currently unused var.
7124
7125         * paragraph.h (NO_NEXT): enable NO_NEXT
7126
7127         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7128
7129         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7130
7131         * exporter.C (Export): adjust for removeAutoInsets removal.
7132
7133         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7134
7135         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7136
7137         * BufferView.[Ch] (removeAutoInsets): delete function
7138
7139 2003-05-22  Angus Leeming  <leeming@lyx.org>
7140
7141         * latexrunparams.h: add a free_spacing variable.
7142
7143         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7144         to pass moving_arg, as the data is stored in runparams.fragile.
7145
7146         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7147         to Inset::latexOptional or to simpleTeXOnePar.
7148
7149         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7150         free_spacing arg to Inset::latexOptional.
7151
7152         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7153         free_spacing arg.
7154
7155 2003-05-22  Angus Leeming  <leeming@lyx.org>
7156
7157         * latexrunparams.h: add fragile and use_babel variables.
7158
7159         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7160         * buffer.C (makeLaTeXFile): store this returned value in
7161         runparams.use_babel, thus passing it to the inset::latex methods.
7162
7163         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7164         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7165
7166         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7167         longer has a fragile arg, as it is stored in runparams.fragile.
7168
7169         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7170         moving_arg parameter as the data is stored in runparams.fragile.
7171
7172         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7173         a fragile parameter as the data is stored in runparams.fragile.
7174
7175 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7176
7177         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7178
7179 2003-05-22  Angus Leeming  <leeming@lyx.org>
7180
7181         * latexrunparams.h: add a 'bool nice' which defaults to false.
7182
7183         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7184         now encapsulated within runparams.
7185
7186         * bufferlist.C (updateIncludedTeXfiles):
7187         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7188
7189 2003-05-22  Angus Leeming  <leeming@lyx.org>
7190
7191         * latexrunparams.h: new file containing struct LatexRunParams.
7192         * Makefile.am: add new file.
7193
7194         * LaTeX.[Ch] (c-tor, run):
7195         * buffer.[Ch] (makeLaTeXFile):
7196         * bufferlist.[Ch] (updateIncludedTeXfiles):
7197         * converter.C (convert, scanLog):
7198         * converter.[Ch] (runLaTeX):
7199         * exporter.C (Export):
7200         * paragraph.[Ch] (simpleTeXOnePar):
7201         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7202         * paragraph_funcs.[Ch] (latexParagraphs):
7203         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7204         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7205         pass around a LatexRunParams parameter.
7206
7207 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7208
7209         * paragraph.[Ch]: remove unused constructor
7210
7211         * ParagraphList.C (erase): new function, taking two iterators
7212
7213 2003-05-22  André Pönitz  <poenitz@gmx.net>
7214
7215         * undo_funcs.C: remove duplicated code
7216
7217         * iterator.[Ch]: operator=
7218
7219 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7220
7221         * tabular.C (SetMultiColumn): ws changes
7222
7223         * rowpainter.C (paintFirst): get rid of a ->previous
7224
7225         * lyx_cb.C (getPossibleLabel): parlist simplification
7226
7227         * BufferView.C (ChangeInsets): simplify slightly.
7228
7229 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7230
7231         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7232         * lfuns.h: new LFUN_SPACE
7233         * lyxfunc.C: protected space has a new lfun
7234         * paragraph_funcs.C: read new space insets
7235         * text3.C:
7236         * factory.C: handle new space insets
7237
7238 2003-05-22  André Pönitz  <poenitz@gmx.net>
7239
7240         * BufferView.C:
7241         * BufferView_pimpl.C:
7242         * buffer.[Ch]:
7243         * lyxfunc.C:
7244         * undo_funcs.C: return a ParIterator from getParFromID.
7245
7246         * iterators.[Ch]: add two const's
7247
7248 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7249
7250         * toc.C (getTocList): adjust
7251
7252         * iterators.[Ch]: rework for parlist
7253
7254         * buffer.C (par_iterator_begin): adjust
7255         (par_iterator_end): adjust
7256
7257         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7258
7259         * BufferView.C (removeAutoInsets): adjust
7260         (ChangeInsets): adjust
7261
7262 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7263
7264         * text.C (top_y): fix bug 1110
7265
7266 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7267
7268         * errorlist.[Ch]: added
7269         * buffer.C:
7270         * BufferView.[Ch]:
7271         * BufferView_pimpl.C:
7272         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7273         instead
7274
7275 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7276
7277         * Makefile.am: ensure that lyx is relinked upon changes to the
7278         various "convenience" libs.
7279
7280 2003-05-20  Angus Leeming  <leeming@lyx.org>
7281
7282         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7283         files are compiled in alphabetical order again.
7284
7285         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7286
7287 2003-05-19  Angus Leeming  <leeming@lyx.org>
7288
7289         * gettext.[Ch]: remove "char const * _(char const *)".
7290
7291 2003-05-19  André Pönitz  <poenitz@gmx.net>
7292
7293         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7294
7295         * Makefile.am:
7296         * BufferView.C:
7297         * DepTable.h:
7298         * LaTeXFeatures.C:
7299         * buffer.C:
7300         * lyxfont.C:
7301         * lyxlex.h:
7302         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7303
7304 2003-05-19  André Pönitz  <poenitz@gmx.net>
7305
7306         * buffer.C:
7307         * lyxlayout.[Ch]:
7308         * lyxtextclass.[Ch]:
7309         * paragraph.C:
7310         * paragraph_funcs.[Ch]:
7311         * text2.C:
7312         * text3.C: more insetenv work
7313
7314 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7315
7316         * ParagraphParameters.C (params2string): small bug fixed
7317
7318 2003-05-16  André Pönitz  <poenitz@gmx.net>
7319
7320         * debug.C:
7321         * bufferview_funcs.C: patch from Kornel Benko to prevent
7322           crash when _(...) is called twice in a statement
7323
7324 2003-05-16  André Pönitz  <poenitz@gmx.net>
7325
7326         * BufferView.C:
7327         * lyxfunc.C:
7328         * text.C:
7329         * text2.C:
7330         * text3.C:
7331         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7332
7333 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7334
7335         * lyx_main.C (init): remove spurious static_cast
7336
7337 2003-05-14  André Pönitz  <poenitz@gmx.net>
7338
7339         * BufferView.C: fix format string
7340
7341 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7342
7343         * BufferView.[Ch] (insertErrors): removed
7344         * BufferView.[Ch] (showErrorList): added
7345         * buffer.C (runChkTeX):
7346         * converter.C (scanLog): call showErrorList instead of inserterrors
7347
7348 2003-05-13  André Pönitz  <poenitz@gmx.net>
7349
7350         * BufferView_pimpl.C:
7351         * buffer.C:
7352         * bufferview_func.C:
7353         * MenuBackend.C:
7354         * lyxfunc.C:
7355         * lyxrc.C:
7356         * tex-accent.C:
7357         * text3.C:
7358         * toc.C:
7359         * tabular_funcs.h: tostr() from its own header
7360
7361         * ParagraphParameters.C:
7362         * ToolbarBackend.C:
7363         * bufferparams.C:
7364         * format.C:
7365         * lyxlex_pimpl.C:
7366         * text3.C: STRCONV()
7367
7368 2003-05-12  André Pönitz  <poenitz@gmx.net>
7369
7370         * BufferView.C:
7371         * BufferView_pimpl.C:
7372         * CutAndPaste.C:
7373         * LaTeX.C:
7374         * LaTeXFeatures.C:
7375         * ParagraphParameters.C:
7376         * buffer.C:
7377         * bufferlist.C:
7378         * bufferparams.C:
7379         * bufferview_funcs.C:
7380         * converter.C:
7381         * counters.C:
7382         * debug.C:
7383         * exporter.C:
7384         * format.C:
7385         * importer.C:
7386         * lyx_cb.C:
7387         * lyx_main.C:
7388         * lyxfont.C:
7389         * lyxfunc.C:
7390         * lyxvc.C:
7391         * paragraph.C:
7392         * paragraph_funcs.C:
7393         * tabular.C:
7394         * tabular_funcs.C:
7395         * text2.C:
7396         * text3.C:  boost::format -> bformat  all over the place
7397
7398
7399 2003-05-09  André Pönitz  <poenitz@gmx.net>
7400
7401         * LColor.[Ch]: Pimpl the #include <map> away
7402
7403 2003-05-09  John Levon  <levon@movementarian.org>
7404
7405         * bufferlist.C: never remove emergency saves
7406
7407 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7408
7409         * Makefile.am: better lib building
7410
7411 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7412
7413         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7414         instead.
7415         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7416         (simpleTeXSpecialChars): adjust
7417         (simpleTeXSpecialChars): adjust
7418         * paragraph.C (simpleTeXOnePar): adjust
7419         * buffer.C (makeLaTeXFile): adjust
7420
7421         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7422
7423         * text2.C (changeDepth): parlist cleanup
7424         (getColumnNearX): ditto
7425
7426         * rowpainter.C (getLabelFont): parlist cleanup
7427
7428         * bufferlist.C (newFile): parlist cleanup
7429
7430         * CutAndPaste.C (eraseSelection): parlist cleanup
7431
7432         * BufferView_pimpl.C (trackChanges): parlist cleanup
7433         (dispatch): ditto
7434
7435         * BufferView.C (lockInset): parlist cleanup.
7436         (ChangeInsets): ditto
7437
7438 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7439
7440         * CutAndPaste.h: Update file header.
7441
7442         * CutAndPaste.C: Update file header.
7443         Store the parts cut out of the Document in a limited_stack.
7444         (copySelection): adjust
7445         (pasteSelection): new function, takes the index in the limited stack.
7446         (nrOfParagraphs): adjust
7447         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7448         simplify error inset insertion.
7449         (checkPastePossible): adjust
7450
7451 2003-05-06  John Levon  <levon@movementarian.org>
7452
7453         * text2.C: don't cast wrap inset to float
7454
7455 2003-05-05  André Pönitz  <poenitz@gmx.net>
7456
7457         * iterator.C:
7458         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7459
7460         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7461           few naked Paragraph *.
7462
7463 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7464
7465         * bufferparams.C: Output warning if a document with missing
7466         TeX document class is loaded
7467         * exporter.C: Disable TeX exports if the document class is missing
7468         * lyxtextclass.C:
7469         * lyxtextclass.h:
7470         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7471         isTeXClassAvailable()
7472
7473 2003-05-03  John Levon  <levon@movementarian.org>
7474
7475         * BufferView.h:
7476         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7477         explicit cursor show/hide
7478
7479         * BufferView_pimpl.h:
7480         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7481         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7482
7483         * lyxfunc.C: hide cursor before dispatching.
7484
7485         * lyx_cb.C:
7486         * lyxfind.C:
7487         * text.C:
7488         * text3.C: remove explicit cursor hides
7489
7490 2003-05-02  André Pönitz  <poenitz@gmx.net>
7491
7492         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7493
7494         * undo_funcs.C:
7495         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7496           linked lists
7497
7498         * text2.C: tiny whitespace
7499
7500 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7501
7502         * undo_funcs.C: almost only ws changes.
7503
7504         * ParagraphList.C (splice): just return if pl is empty.
7505
7506 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7507
7508         * ParagraphList.C (splice): new function.
7509
7510         * CutAndPaste.C (pasteSelection): use it
7511
7512 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7513
7514         * CutAndPaste.C (pasteSelection): remove the last next and
7515         previous from this file.
7516
7517 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7518
7519         * CutAndPaste.C (pasteSelection): more clean up, user proper
7520         ParagraphList functions for pasteing.
7521
7522         * ParagraphList.C (insert): new function, three arg insert
7523
7524 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7525
7526         * ParagraphList.C (insert): new function, three arg insert
7527
7528         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7529         not on paragraphs.
7530
7531 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7532
7533         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7534
7535 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7536
7537         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7538
7539 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7540
7541         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7542         (copySelection): clean up a bit.
7543         (pasteSelection): use make_pair
7544
7545         * ParagraphList.C (ParagraphList): implement copy constructor
7546         (operator=): implement, base on copy constructor.
7547         (assign): new func
7548
7549         * paragraph.C (erase): return a bool
7550
7551         * paragraph_pimpl.C (erasePos): remove function, move contents...
7552         (erase): ... here. Return a bool.
7553         (erase): call erase instead of erasePos.
7554
7555 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7556
7557         * ParagraphList.h: define PitPosPair
7558         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7559         ParagraphList, fix a bug on pasting multiple pars
7560         * text2.C: change interface to C&P
7561
7562 2003-04-30  André Pönitz  <poenitz@gmx.net>
7563
7564         * undo_func.C: revert part of yesterday's patch 2
7565
7566 2003-04-30  John Levon  <levon@movementarian.org>
7567
7568         * LColor.C: s/tabular/table/
7569
7570 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7571
7572         * text3.C (dispatch): do not convert iterator -> pointer
7573         * undo_funcs.C (setCursorParUndo): ditto
7574         * text_funcs.C (transposeChars): ditto
7575
7576         * text2.C (setLayout): ws changes only
7577
7578         * text.C (breakParagraph): do not convert iterator -> pointer
7579         (insertChar): ditto
7580         (acceptChange): ditto
7581         (rejectChange): ditto
7582         (changeCase): ditto
7583         (Delete): ditto
7584         (backspace): ditto
7585
7586         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7587         pointer
7588
7589 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7590
7591         * text3.C (gotoInset): YABG (yet another bad getChar)
7592
7593 2003-04-29  André Pönitz  <poenitz@gmx.net>
7594
7595         * paragraph.h: make operator= private unimplemented as long as
7596           it is unusable
7597
7598         * ParagraphList.C: whitespace
7599
7600         * paragraph.[Ch]:
7601         * paragraph_pimpl.[Ch]:
7602         * paragraph_funcs.C:
7603         * CutAndPaste.C:
7604         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7605
7606         * text2.C:
7607           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7608
7609 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7610
7611         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7612         * paragraph.[Ch] (erase):
7613         * paragraph_pimpl.[Ch] (erase): change return type and value
7614         * text2.C (cutSelection): some rework
7615
7616 2003-04-28  John Levon  <levon@movementarian.org>
7617
7618         * bufferlist.C: changes for unsaved changes dialog
7619
7620 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7621
7622         * bufferlist.C (newFile): set language (messages_) for new
7623         documents also.
7624
7625         * buffer.C (readFile): ws changes only.
7626
7627 2003-04-28  André Pönitz  <poenitz@gmx.net>
7628
7629         * undo_funcs.C:
7630         * lyxfunc.C:
7631         * buffer.[Ch]:
7632         * BufferView_pimpl.C:
7633         * BufferView.C: getParFromID related ParagraphList::iterator changes
7634
7635 2003-04-28  André Pönitz  <poenitz@gmx.net>
7636
7637         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7638           Changes
7639
7640 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7641
7642         * messages.C: remove one more localedir class variable.
7643
7644 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7645
7646         * messages.C (getLocaleDir): singleton generation function
7647         (Pimpl): use it.
7648         (Messages): add a default constructor.
7649
7650         * main.C (main): do not setup localedir here, do not call
7651         gettext_init.
7652
7653         * gettext.C (_): use it.
7654         (gettext_init): delete funciton
7655
7656 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7657
7658         * gettext.C (getLyXMessages): new singleton generating function.
7659
7660         * buffer.C (updateDocLang): adjust
7661
7662         * Makefile.am (messages.o): add target
7663         (main.o): remove target
7664
7665 2003-04-27  John Levon  <levon@movementarian.org>
7666
7667         * bufferlist.C:
7668         * lyx_cb.C:
7669         * lyxfunc.C:
7670         * lyxvc.C: specify cancel button in Alert::prompt
7671
7672 2003-04-26  John Levon  <levon@movementarian.org>
7673
7674         * text3.C:
7675         * lyxfunc.C:
7676         * lfuns.h:
7677         * LyXAction.C: add LFUN_INSET_SETTINGS
7678
7679         * lyxfunc.C: don't enable tabular-feature when there's
7680         just any locking inset
7681
7682 2003-04-26  John Levon  <levon@movementarian.org>
7683
7684         * bufferlist.C: re-add Cancel to buffer close question
7685
7686         * lyxfunc.C: fix import UI a bit
7687
7688 2003-04-25  John Levon  <levon@movementarian.org>
7689
7690         * gettext.C: remove the broken asserts for now
7691
7692 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7693
7694         * messages.C: make case where setlocale cannot comply work better.
7695
7696         * buffer.C (updateDocLang): new function
7697         (changeLanguage): use it
7698         (readFile): use it
7699
7700         * text2.C (setCounter): use B_ a bit.
7701
7702         * lyxlayout.C (Read): be sure to trim the label strings.
7703
7704         * messages.C (Messages): fix typo in comment
7705
7706         * buffer.C (readFile): set message_ after file is loaded.
7707         (makeDocBookFile): remove double return
7708         (changeLanguage): reset message_ upon language change.
7709         (B_): new func, use this to get translated buffer strings.
7710
7711         * main.C: add myself and Jean Marc as authors.
7712
7713 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7714
7715         * messages.[hC]: pimplify Messages, and three different pimpls to be
7716         used in different circumstances.
7717
7718         * gettext.[Ch]: change for use with new message code.
7719
7720 2003-04-24 André Pönitz <poenitz@gmx.net>
7721
7722         * factory.C: support for eqref
7723
7724 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7725
7726         * messages.[Ch]: add missing char
7727
7728         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7729
7730         * messages.[Ch]: New files
7731
7732 2003-04-18  John Levon  <levon@movementarian.org>
7733
7734         * BufferView.h:
7735         * BufferView.C:
7736         * BufferView_pimpl.C:
7737         * lfuns.h:
7738         * LyXAction.C:
7739         * lyxtext.h:
7740         * text2.C: remove layout-copy/paste (bug 778)
7741
7742 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7743
7744         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7745
7746 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7747
7748         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7749         if they succeed. Act accordingly.
7750
7751 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7752
7753         * text2.C (setCharFont): adjust
7754         (setCounter): adjust
7755         (insertStringAsLines): adjust
7756
7757         * text.C (leftMargin): adjust
7758         (setHeightOfRow): adjust
7759
7760         * rowpainter.C (paintFirst): adjust
7761         (paintLast): adjust
7762
7763         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7764         (outerHook): ditto
7765         (isFirstInSequence): ditto
7766         (getEndLabel): ditto
7767         (outerFont): adjust
7768
7769         * paragraph.C (getParLanguage): comment out some hard stuff.
7770
7771         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7772         (sgmlError): ditto
7773         (simpleDocBookOnePar): ditto
7774         (makeDocBookFile): use ParagraphList::iterator
7775
7776         * CutAndPaste.C (pasteSelection): adjust
7777
7778 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7779
7780         * text2.C (getFont): adjust
7781         (getLayoutFont): adjust
7782         (getLabelFont): adjust
7783
7784         * paragraph_funcs.C (TeXOnePar): adjust
7785
7786         * buffer.C (simpleLinuxDocOnePar): adjust
7787         (simpleDocBookOnePar): adjust
7788
7789         * CutAndPaste.C (pasteSelection): adjust
7790
7791         * BufferView.C (getEncoding): adjust
7792
7793         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7794
7795 2003-04-16  John Levon  <levon@movementarian.org>
7796
7797         * lyxfind.C: use parlist stuff for search/changes
7798
7799 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7800
7801         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7802
7803         * text2.C (deleteEmptyParagraphMechanism): adjust
7804
7805         * text2.[Ch] (ownerParagraph): delete func (both of them
7806
7807 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7808
7809         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7810
7811 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7812
7813         * ParagraphList.C: prepare for NO_NEXT
7814
7815 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7816
7817         * text2.C (getFont): adjust
7818         (getLayoutFont): adjust
7819         (getLabelFont): adjust
7820
7821         * paragraph.C (getFont): adjust
7822         (getLabelFont): adjust
7823         (getLayoutFont): adjust
7824
7825         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7826
7827 2003-04-15  John Levon  <levon@movementarian.org>
7828
7829         From Angus Leeming
7830
7831         * lyx_main.C: handle Include in .ui files
7832
7833 2003-04-15  John Levon  <levon@movementarian.org>
7834
7835         * MenuBackend.C: make the doc files length shorter
7836
7837         * ToolbarBackend.h:
7838         * ToolbarBackend.C: handle toolbar placement flags,
7839         Minibuffer
7840
7841 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7842
7843         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7844         adjust
7845
7846         * paragraph_funcs.C (TeXOnePar): adjust
7847
7848         * paragraph.C (getLabelFont): add outerfont arg, adjust
7849         (getLayoutFont): ditto
7850         (simpleTeXOnePar): adjust
7851
7852         * paragraph_pimpl.C (realizeFont): delete func
7853
7854 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7855
7856         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7857         row argument, constify cur argument.
7858
7859 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7860
7861         * text2.C (getFont): adjust
7862         (getLayoutFont): adjust
7863         (getLabelFont): adjust
7864
7865         * paragraph_funcs.C (TeXOnePar): adjust
7866         (outerFont): new func...
7867         (realizeFont): ...moved out from here, changed this to facilitate
7868         transition
7869
7870         * paragraph.C (getFont): take outerfont as arg, adjust
7871         (simpleTeXOnePar): add outerfont arg, adjust
7872
7873         * buffer.C (simpleLinuxDocOnePar): adjust
7874         (simpleDocBookOnePar): adjust
7875
7876         * CutAndPaste.C (pasteSelection): adjust
7877
7878         * BufferView.C (getEncoding): adjust
7879
7880 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7881
7882         * text2.C (setCharFont): adjust
7883         (setCounter): adjust
7884
7885         * text.C (leftMargin): adjust
7886         (setHeightOfRow): adjust
7887
7888         * rowpainter.C (paintFirst): adjust
7889         (paintLast): adjust
7890
7891         * paragraph_pimpl.C (realizeFont): adjust
7892
7893         * paragraph.C (isFirstInSequence): move from here...
7894         * paragraph_funcs.C (isFirstInSequence): ...to here
7895
7896         * paragraph.C (outerHook): move from here...
7897         * paragraph_funcs.C (outerHook): ...to here
7898
7899         * paragraph.C (depthHook): move from here...
7900         * paragraph_funcs.C (depthHook): ...to here
7901
7902         * paragraph.C (getEndLabel): move from here...
7903         * paragraph_funcs.C (getEndLabel): ...to here
7904
7905         * text2.C (realizeFont): move from here...
7906         * paragraph_funcs.C (realizeFont): ...to here
7907
7908 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7909
7910         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7911
7912 2003-04-14  Angus Leeming  <leeming@lyx.org>
7913
7914         * LColor.[Ch]: scrap LColor mathcursor.
7915
7916 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7917
7918         * lyxlex.[Ch] (text): delete function
7919         * trans.C (Load): adjust
7920         * paragraph_funcs.C (readParToken): adjust
7921
7922 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7923
7924         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7925         vector<char> instead of a char[].
7926
7927         * lyxlex_pimpl.C (getString): adjust
7928         (next): adjust
7929         (lex): use getString
7930         (eatLine): adjust
7931         (nextToken): adjust
7932
7933         * lyxlex.C (text): use pimpl_->getString()
7934         (getBool): ditto
7935         (findToken): ditto
7936
7937 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7938
7939         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7940         (makeFontEntriesLayoutSpecific): temp var for par.size()
7941         (setLayout): temp var for ownerParagraphs().end()
7942         (fullRebreak): temp var for rows().end()
7943         (selectionAsString): temp var for boost::next(startpit), realize
7944         that the while really is a regular for loop.
7945         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7946         setCursor in one place.
7947         (setParagraph): temp vr for ownerParagraphs().end()
7948         (updateCounters): make the while loop a for loop
7949         (cutSelection): temp var for ownerParagraphs().end()
7950         (updateInset): make the do {} while() a regular for loop
7951         (getCursorX): use temp vars
7952         (setCurrentFont): use temp vars
7953         (getColumnNearX): use temp vars
7954
7955 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7956
7957         * text.C (transformChar): use temp var for getChar
7958         (computeBidiTables): use temp var for row->par()
7959         (fill): move temp vars for row->par() and pit->layout() earlier in
7960         the function.
7961         (labelFill): use temp var for row->par()
7962         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7963         asc and desc, realize that pit never changes and that firstpit is
7964         just a duplicate and not needed. Exchange rit->par() with pit in a
7965         lot of places.
7966         (breakAgain): use a temp var for boost::next(rit)
7967         (breakAgainOneRow): ditto
7968         (breakParagraph): use a temp var for rows().begin()
7969         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7970         (cursorRightOneWord): use temp var for cursor.par() and
7971         cursor.pos(), remove usage of tmpcursor.
7972         (cursorLeftOneWord): use temp var for cursor.par() and
7973         cursor.pos() only set cur at end of function.
7974
7975 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7976
7977         * text.C, text2.C: exchange all usage of Paragraph::next with
7978         boost::next(ParagraphList::iterator)
7979
7980         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7981
7982         * text2.C (cursorTop): simplify implementation
7983         (cursorBottom): ditto
7984         (setParagraph): use ParagraphList::iterator
7985         (setCurrentFont): adjust
7986         (getColumnNearX): adjust
7987         (cursorRight): adjust
7988         (cursorLeft): remove usage of Paragraph::previous
7989         (cursorUpParagraph): ditto
7990         (deleteEmptyParagraphMechanism): slight cleanup
7991
7992         * text.C (isBoundary): take a Paragraph const & instead of a
7993         pointer as arg.
7994         (addressBreakPoint): ditto
7995         (leftMargin): remove usage of Paragraph::previous.
7996         (setHeightOfRow): ditto
7997         (cursorLeftOneWord): ditto
7998         (selectNextWordToSpellcheck): ditto
7999         (Delete): ditto
8000         (backspace): ditto
8001         (breakParagraph): remove one usage of Paragraph::next
8002         (redoParagraph): ditto
8003         (acceptChange): ditto
8004         (insertChar): adjust
8005         (rowBreakPoint): adjust
8006
8007         * bufferview_funcs.C (toggleAndShow): adjust
8008
8009 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8010
8011         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8012         methods to access it.
8013         * lyxtext.h:
8014         * text.C: Added updateRowPositions to compute all row positions.
8015         Make top_y and getRowNearY() to use the cached y position
8016
8017 2003-04-11  John Levon  <levon@movementarian.org>
8018
8019         * text.C (rowBreakPoint): reintroduce the labelEnd
8020         checks, code copied from the row fill stuff. Deep voodoo.
8021
8022         * text.C (fill): add a comment and debugging for the
8023         next poor soul.
8024
8025 2003-04-11  John Levon  <levon@movementarian.org>
8026
8027         * text.C: make sure fullrow insets get wrapped to the next line,
8028         even when they're in a manual label
8029
8030 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8031
8032         * text2.C (insertParagraph): make it take ParagraphList::iterator
8033         as arg.
8034         (setLayout): make it return ParagraphList::iterator
8035         (redoParagraphs): ditto
8036         (setCounter): ditto
8037         (checkParagraph): ditto
8038
8039         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8040
8041         * text2.C: adjust several funcs.
8042         (realizeFont): take a ParagraphList::iterator as arg.
8043         (getLayoutFont): ditto
8044         (getLabelFont): ditto
8045         (setCharFont): ditto
8046
8047         * text.C: adjust several funcs.
8048
8049 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8050
8051         * text.C (selectNextWordToSpellcheck): don't accidentally
8052         skip insets
8053
8054 2003-04-10  John Levon  <levon@movementarian.org>
8055
8056         * ToolbarBackend.C (getIcon): special handling for
8057         LFUN_MATH_DELIM
8058
8059 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8060
8061         * text2.C (cursorRight): a getChar assert fixed
8062
8063 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8064
8065         * text2.C (getFont): change to take a ParagraphList::iterator
8066         instead of Paragraph*
8067         Adjust several functions.
8068
8069         * text.C (transformChar): change to take a ParagraphList::iterator
8070         instead of Paragraph*
8071         (singleWidth): ditto
8072         Adjust several functions.
8073
8074         * rowpainter.C: adjust several functions
8075         * rowpainter.h:store a ParagraphList::iterator and not a
8076         Paragraph&.
8077
8078
8079 2003-04-09  John Levon  <levon@movementarian.org>
8080
8081         * lyxfunc.C:
8082         * lfuns.h:
8083         * LyXAction.h:
8084         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8085         and the "help" bits as well
8086
8087 2003-04-09  John Levon  <levon@movementarian.org>
8088
8089         * ToolbarBackend.h:
8090         * ToolbarBackend.C: allow multiple toolbars
8091
8092 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8093
8094         * undo_funcs.C (setCursorParUndo): adjust
8095
8096         * text_funcs.C (transposeChars): adjust
8097
8098         * text3.C (gotoNextInset): adjust
8099         (dispatch): adjust
8100
8101         * text2.C (setLayout): adjust
8102         (changeDepth): adjust
8103         (setFont): adjust
8104         (redoParagraphs): adjust
8105         (selectionAsString): adjust
8106         (setParagraph): adjust
8107         (insertInset): adjust
8108         (cutSelection): adjust
8109         (copySelection): adjust
8110         (pasteSelection): adjust
8111         (insertStringAsLines): adjust
8112         (updateInset): adjust
8113         (setCursor): change to take a ParagraphList::iterator parameter
8114         (setCursorIntern): change to take a ParagraphList::iterator parameter
8115         (setCurrentFont): adjust
8116         (cursorLeft): adjust
8117         (cursorRight): adjust
8118         (deleteEmptyParagraphMechanism): adjust
8119
8120         * text.C (breakParagraph): adjust
8121         (insertChar): adjust
8122         (acceptChange): adjust
8123         (rejectChange): adjust
8124         (selectNextWordToSpellcheck): adjust
8125         (changeCase): adjust
8126         (Delete): adjust
8127         (backspace): adjust
8128
8129         * lyxfind.C (SearchForward): adjust
8130         (SearchBackward): adjust
8131         (nextChange): adjust
8132
8133         * lyxcursor.C (par): adjust
8134
8135         * lyxcursor.h: store a ParagraphList::iterator instead of a
8136         Paragraph*
8137
8138         * lyx_cb.C (getPossibleLabel): adjust
8139
8140         * bufferview_funcs.C (toggleAndShow): adjust
8141
8142         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8143         (dispatch): adjust
8144
8145         * BufferView.C (removeAutoInsets): adjust
8146         (lockedInsetStoreUndo): adjust
8147
8148 2003-04-09  John Levon  <levon@movementarian.org>
8149
8150         * ToolbarBackend.C: try icon without argument
8151         if with argument fails
8152
8153 2003-04-08  John Levon  <levon@movementarian.org>
8154
8155         * ToolbarBackend.h:
8156         * ToolbarBackend.C: add getIcon(), handle tooltip,
8157         and change from "Icon" to "Item".
8158
8159 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8160
8161         * BufferView.C (lockInset): another bad getchar crunched
8162
8163 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8164
8165         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8166         again)
8167
8168 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8169
8170         * lyxfind.C (searchForward, searchBackwards): bug 782
8171
8172 2003-04-07  John Levon  <levon@movementarian.org>
8173
8174         * paragraph.C: remove dead comment
8175
8176         * text.C: remove troublesome depth-fiddling code
8177         in leftMargin() and rightMargin() (bug 1017)
8178
8179         * text.C: fix breaking of rows in nested lists
8180         (bug 1004)
8181
8182         * text2.C (updateCounters): fix up depth values
8183         (bug 1013)
8184
8185 2003-04-07  John Levon  <levon@movementarian.org>
8186
8187         * BufferView_pimpl.C: clear message when doc finishes resizing,
8188         and after a mouse event
8189
8190         * lyxfunc.C: clear message after exiting inset
8191
8192 2003-04-07  John Levon  <levon@movementarian.org>
8193
8194         * bufferview_funcs.C: show math status not outside
8195         status in the statusbar
8196
8197 2003-04-07  John Levon  <levon@movementarian.org>
8198
8199         * lyxfunc.C: note status changed after a depth change
8200
8201 2003-04-04  Angus Leeming  <leeming@lyx.org>
8202
8203         * LaTeX.h: move AuxInfo operator==, != out of line.
8204         Remove LaTeX virtual destructor; nothing derives from it.
8205         Move operator()() out of public area and rename it startscript().
8206         Change protected for private.
8207
8208 2003-04-04  Angus Leeming  <leeming@lyx.org>
8209
8210         * lyxfunc.C:
8211         * text2.C: remove unneeded #includes.
8212
8213 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8214
8215         * text2.C (dEPM): fix the heigth of the next row
8216
8217 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8218
8219         * text.C: squashed an invalid getChar requester + some ws changes
8220
8221 2003-04-03  John Levon  <levon@movementarian.org>
8222
8223         * bufferview_funcs.h:
8224         * bufferview_funcs.C:
8225         * lyxfunc.C:
8226         * lyxtext.h:
8227         * text2.C: make getStatus work for the env depth lfuns
8228
8229 2003-04-03  John Levon  <levon@movementarian.org>
8230
8231         * bufferview_funcs.h:
8232         * bufferview_funcs.C:
8233         * lyxfunc.C:
8234         * lyxtext.h:
8235         * text2.C: parlistize decDepth(), by merging it with incDepth()
8236
8237 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8238
8239         * lyxrow.h: store a ParagraphList::iterator instead of a
8240         Paragraph* and adjust other class functions to suit.
8241
8242         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8243         above.
8244
8245 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8246
8247         * text2.C (setCursor): do not anchor to cursor row for the time being
8248
8249 2003-04-02  John Levon  <levon@movementarian.org>
8250
8251         * LyXAction.C:
8252         * lfuns.h:
8253         * lyx_main.C:
8254         * lyxtext.h:
8255         * text.C:
8256         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8257
8258 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8259
8260         * paragraph.h: make ParagraphList and ParagraphList::iterator
8261         friends of Paragraph.
8262
8263         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8264
8265         * ParagraphList.C: Use the private next_ and previous_ from
8266         Paragraph.
8267
8268 2003-04-01  John Levon  <levon@movementarian.org>
8269
8270         * ToolbarBackend.h:
8271         * ToolbarBackend.C:
8272         * Makefile.am: rename, remove defaults gunk
8273
8274         * MenuBackend.h:
8275         * MenuBackend.C: remove defaults gunk
8276
8277         * Languages.h:
8278         * Languages.C: remove defaults gunk
8279
8280         * lyx_main.h:
8281         * lyx_main.C: error out if files couldn't be found.
8282
8283 2003-04-02  John Levon  <levon@movementarian.org>
8284
8285         * text2.C: make incDepth() use parlist
8286
8287 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8288
8289         * undo_funcs.C (firstUndoParagraph): adjust
8290
8291         * text3.C (gotoInset): adjust
8292         (dispatch): adjust, and rewrite loop.
8293
8294         * text2.C (init): adjust, and rewrite loop.
8295         (redoParagraphs): adjust
8296         (updateInset): adjust, and rewrite loop.
8297         (deleteEmptyParagraphMechanism): adjust
8298
8299         * tabular.C (LyXTabular): adjust
8300         (SetMultiColumn): adjust
8301         (TeXRow): adjust
8302
8303         * lyxtext.[Ch] (ownerParagraph): delete function
8304         (ownerParagraphs): new function returns a ParagraphList.
8305
8306         * BufferView.C (removeAutoInsets): adjust
8307         (insertErrors): adjust
8308         (setCursorFromRow): adjust
8309
8310 2003-04-01  Angus Leeming  <leeming@lyx.org>
8311
8312         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8313         in the frontends.
8314
8315 2003-04-02  John Levon  <levon@movementarian.org>
8316
8317         * lyxtext.h:
8318         * text.C:
8319         * Makefile.am:
8320         * text_funcs.h:
8321         * text_funcs.C: make transposeChars a free function
8322
8323         * lyxrow_funcs.C: remove wrong comment
8324
8325 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8326
8327         * lyxtext.h: adjust
8328         * rowpainter.C: adjust
8329         * text.C: adjust
8330         * text2.C: adjust
8331         * text3.C: adjust
8332
8333         * lyxrow_funcs. [Ch]: new files
8334
8335         * lyxrow.[Ch]: remove next and previous pointers
8336         (next,previous): remove accessor functions
8337         (isParEnd): move to lyxrow_funcs
8338         (lastPos): move to lyxrow_funcs
8339         (nextRowIsAllInset): move to lyxrow_funcs
8340         (lastPrintablePos): move to lyxrow_funcs
8341         (numberOfSeparators): move to lyxrow_funcs
8342         (numberOfHfills): move to lyxrow_funcs
8343         (numberOfLabelHfills): move to lyxrow_funcs
8344         (hfillExpansion): move to lyxrow_funcs
8345
8346         * lyxfunc.C: adjust
8347
8348         * bufferview_funcs.C (toggleAndShow): adjust
8349
8350         * RowList.h: Remove class RowList from file leave just a
8351         std::list<Row>.
8352
8353         * RowList.C: delete file
8354
8355         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8356         and lyxrow_funcs.h
8357
8358 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8359
8360         * text3.C (cursorPrevious): adjust
8361         (cursorNext): adjust
8362         (dispatch): adjust
8363
8364         * text2.C (redoHeightOfParagraph): adjust
8365         (redoDrawingOfParagraph): adjust
8366         (setCursor): adjust
8367
8368         * text.C (breakParagraph): adjust
8369         (insertChar): adjust
8370         (backspace): adjust
8371
8372         * rowpainter.C (RowPainter): adjust
8373         (leftMargin): simplify and adjust
8374         (most rowpainter functions): adjust.
8375
8376         * rowpainter.h: store the row as RowList::iterator not as Row*
8377
8378         * lyxcursor.C (row): taka RowList::iterator as arg
8379         (irow): ditto
8380
8381         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8382         of Row*.
8383
8384 2003-04-01  Angus Leeming  <leeming@lyx.org>
8385
8386         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8387         stuff like bool Bool.
8388
8389 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8390
8391         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8392         rewrite a loop
8393
8394 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8395
8396         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8397         RowList::iterator.
8398
8399         * lyxtext.h (rows): drop one version and leve a const variant that
8400         returns a RowList::iterator.
8401
8402 2003-03-31  Angus Leeming  <leeming@lyx.org>
8403
8404         * text.C (fill): ensure that the signature is the same as that in the
8405         header file.
8406
8407 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8408
8409         * text2.C (redoParagraphs): adjust
8410         (updateCounters): adjust
8411         (checkParagraph): adjust
8412         (getColumnNearX): adjust and reformat a bit.
8413
8414         * text.C (top_y): adjust
8415         (workWidth): adjust
8416         (leftMargin): adjust
8417         (prepareToPrint): adjust
8418         (getRow): adjust
8419         (getRowNearY): adjust
8420
8421         * lyxtext.h: make rowlist_ mutable.
8422
8423         * RowList.h: add const_iterator
8424         * RowList.C: adjust for RowList::const_iterator.
8425
8426         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8427         adjust.
8428
8429 2003-03-31  John Levon  <levon@movementarian.org>
8430
8431         * lyxrc.h:
8432         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8433
8434         * lyx_main.C: set default fonts from using lyx_gui funcs
8435
8436         * exporter.C: pdf_mode moved from lyxrc
8437
8438         * lyx_cb.C:
8439         * lyxfunc.C: changes from above
8440
8441 2003-03-31  John Levon  <levon@movementarian.org>
8442
8443         * lyx_main.C: fix to the last fix
8444
8445 2003-03-31  John Levon  <levon@movementarian.org>
8446
8447         * bufferlist.C: "Load original" -> "Load Original"
8448
8449         * converter.C:
8450         * exporter.C:
8451         * importer.C:
8452         * lyx_main.C:
8453         * format.C: more Alert cleanups
8454
8455 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8456
8457         * text2.C (removeParagraph): make it take a RowList::iterator as
8458         arg, adjust.
8459         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8460         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8461
8462         * text.C (anchor_row): make it take a RowList::iterator as arg,
8463         adjust.
8464         (computeBidiTables): make it take a const reference to Row instead
8465         of Row pointer, adjust.
8466         (leftMargin): make it take a RowList::iterator as arg, adjust.
8467         (rowBreakPoint): adjust
8468         (breakAgainOneRow): make it take a RowList::iterator as arg,
8469         adjust.
8470         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8471
8472         * bufferview_funcs.C (toggleAndShow): adjust
8473
8474 2003-03-30  John Levon  <levon@movementarian.org>
8475
8476         * Makefile.am:
8477         * BoostFormat.h:
8478         * boost-inst.C: moved to support
8479
8480         * several files: changes as a result
8481
8482 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8483
8484         * text2.C (LyXText): adjust.
8485         (init): adjust
8486         (removeRow): make it take a RowList::iterator as arg, adjust.
8487         (fullRebreak): adjust
8488         (deleteEmptyParagraphMechanism): adjust
8489         (clearPaint): adjust
8490         (postPaint): adjust
8491
8492         * text.C (top_y): adjust
8493         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8494         (breakAgain): make it take a RowList::iterator as arg, adjust.
8495         (breakParagraph): adjust
8496         (insertChar): adjust
8497         (backspace): adjust
8498
8499         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8500         need_break_row, and refresh_row.
8501
8502         * text3.C (dispatch): adjust
8503
8504         * text2.C (checkParagraph): adjust
8505         (setCursor): adjust
8506         (setCursorFromCoordinates): adjust
8507
8508         * text.C (top_y): adjust
8509         (workWidth): adjust
8510         (getRow): make it return a RowList::iterator, adjust
8511         (getRowNearY): make it return a RowList::iterator, adjust
8512
8513         * text2.C (init): adjust
8514         (insertRow): remove function
8515         (insertParagraph): adjust
8516         (redoParagraphs): adjust
8517         (fullRebreak): adjust
8518         (updateCounters): adjust
8519
8520         * text.C (top_y): rewrite to use RowList iterators.
8521         (top_y): adjust
8522         (setHeightOfRow): rewrite to sue RowList iterators.
8523         (appendParagraph): adjust
8524         (breakAgain): adjust
8525         (breakAgainOneRow): adjust
8526         (breakParagraph): adjust
8527         (getRow): adjust
8528         (getRowNearY): adjust, and remove commented code.
8529
8530         * lyxtext.h (firstRow): delete function
8531         (lastRow): delete function
8532         (rows): new function (const and non-const versions.)
8533         (insertRow): delete function
8534
8535         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8536
8537 2003-03-29  John Levon  <levon@movementarian.org>
8538
8539         * BufferView_pimpl.C: always update scrollbar top
8540         because pasting text when we're anchored could mean we
8541         miss an update altogether
8542
8543 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8544
8545         * text2.C (init): use rowlist_.end() and not 0.
8546         (insertRow): change to take a RowList::iterator as arg, adjust
8547         for this.
8548         (insertParagraph): change to take a RowList::iterator as arg,
8549         adjust for this.
8550         (redoParagraphs): remove some debug msgs.
8551
8552         * text.C (appendParagraph): change to take a RowList::iterator
8553         arg, adjust for this.
8554         (breakAgain): add an assert
8555         (breakAgainOneRow): ditto
8556
8557 2003-03-29  John Levon  <levon@movementarian.org>
8558
8559         * text2.C: do not clear selection after inc/decDepth
8560         (bug 550)
8561
8562 2003-03-29  John Levon  <levon@movementarian.org>
8563
8564         * BufferView.C:
8565         * buffer.C: fix broken strerrors according to Lars
8566
8567 2003-03-29  John Levon  <levon@movementarian.org>
8568
8569         * converters.C: more Alert cleanups
8570
8571 2003-03-29  John Levon  <levon@movementarian.org>
8572
8573         * bufferview_funcs.C: remove pointless Alert
8574
8575         * buffer.C: fix confusing error message when
8576         a template is chmoded 000
8577
8578 2003-03-29  John Levon  <levon@movementarian.org>
8579
8580         * BufferView.C:
8581         * BufferView.h:
8582         * BufferView_pimpl.C: Alert fixes
8583
8584         * Makefile.am:
8585         * tabular.C:
8586         * tabular-old.C: remove unused table compat reading
8587
8588 2003-03-29  John Levon  <levon@movementarian.org>
8589
8590         * BufferView.C:
8591         * buffer.C:
8592         * lyx_cb.h:
8593         * lyx_cb.C: more Alert cleanups
8594
8595         * lyxfunc.C: don't allow chktex if not latex document
8596
8597 2003-03-29  John Levon  <levon@movementarian.org>
8598
8599         * lyx_cb.C:
8600         * BufferView.C:
8601         * buffer.C: warnings pushed down from support/,
8602         kill err_alert
8603
8604 2003-03-29  John Levon  <levon@movementarian.org>
8605
8606         * lyxfunc.C: safety check for C-r (revert)
8607
8608 2003-03-29  John Levon  <levon@movementarian.org>
8609
8610         * bufferlist.h:
8611         * bufferlist.C: several UI fixes using Alert::prompt.
8612         Fix the pointless looping quit code. Fix stupid revert
8613         behaviour (bug 938)
8614
8615         * lyxvc.h:
8616         * lyxvc.C:
8617         * lyx_cb.C: use Alert::prompt
8618
8619         * lyx_main.C: remove a silly question
8620
8621         * lyxfunc.C: remove a couple of silly questions,
8622         use Alert::prompt
8623
8624 2003-03-28  John Levon  <levon@movementarian.org>
8625
8626         * text2.C: fix bug 974 (End on empty par)
8627
8628 2003-03-28  John Levon  <levon@movementarian.org>
8629
8630         * BufferView_pimpl.C:
8631         * LyXAction.C:
8632         * lfuns.h: remove do-nothing math greek lfuns
8633
8634 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8635
8636         * lyxgluelength.h (isValidGlueLength): add default arg on
8637         parameter 2. Remove default arg from friend in class.
8638
8639         * lyxlength.h (isValidLength): add default arg on parameter 2.
8640         Remove default arg from friend in class.
8641
8642         * text2.C (LyXText): adjust, initialize refresh_row.
8643         (init): adjust
8644         (removeRow): adjust
8645         (insertRow): adjust
8646         (insertParagraph): adjst
8647         (redoParagraphs): adjust
8648         (fullRebreak): adjust
8649         (updateCounters): adjust
8650         (deleteEmptyParagraphMechanism): first attempt at fixing a
8651         crashing bug.
8652
8653         * text.C (top_y): adjust
8654         (setHeightOfRow): adjust
8655         (getRow): adjust
8656         (getRowNearY): adjust
8657
8658         * lyxtext.h: include RowList.h
8659         (~LyXText): not needed anymore, deleted.
8660         (firstRow): modify for RowList
8661         (lastRow): new function
8662         Delete firstrow and lastrow class variables, add a Rowlist
8663         rowlist_ class variable.
8664
8665         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8666         paragraph is empty.
8667
8668         * RowList.C (insert): fix case where it == begin().
8669
8670 2003-03-26  Angus Leeming  <leeming@lyx.org>
8671
8672         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8673         the thesaurus dialog.
8674
8675 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8676
8677         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8678
8679         * RowList.[Ch]: new files
8680
8681         * ParagraphList.C (erase): handle the case where it == begin
8682         correctly.
8683
8684 2003-03-25  John Levon  <levon@movementarian.org>
8685
8686         * Makefile.am:
8687         * aspell_local.h:
8688         * aspell.C: add new aspell support
8689
8690         * lyxrc.h:
8691         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8692         have it accessible.
8693
8694 2003-03-25  Angus Leeming  <leeming@lyx.org>
8695
8696         * lfuns.h:
8697         * LyXAction.C (init): new LFUN_INSET_INSERT.
8698
8699         * BufferView_pimpl.C (dispatch): split out part of the
8700         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8701
8702         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8703         LFUN_INSET_APPLY.
8704
8705 2003-03-25  Angus Leeming  <leeming@lyx.org>
8706
8707         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8708
8709 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8710
8711         * text2.C:
8712         * text3.C: remove useless row->height(0)
8713
8714 2003-03-25  John Levon  <levon@movementarian.org>
8715
8716         * lyxtext.h:
8717         * text2.C:
8718         * text3.C: rename the refreshing stuff to better names
8719
8720 2003-03-24  John Levon  <levon@movementarian.org>
8721
8722         * BufferView_pimpl.h:
8723         * BufferView_pimpl.C: update layout choice on a mouse
8724         press/release
8725
8726 2003-03-23  John Levon  <levon@movementarian.org>
8727
8728         * Makefile.am: fix commandtags.h reference
8729
8730 2003-03-22  John Levon  <levon@movementarian.org>
8731
8732         * BufferView_pimpl.C:
8733         * lyxtext.h:
8734         * rowpainter.C:
8735         * rowpainter.h:
8736         * text.C:
8737         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8738
8739 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8740
8741         * lyxtext.h:
8742         * text.C: take the rtl methods out of line
8743
8744 2003-03-21 André Pönitz <poenitz@gmx.net>
8745
8746         * metricsinfo.[Ch]: new files containing structures to be passed around
8747         during the two-phase-drawing...
8748
8749 2003-03-21 André Pönitz <poenitz@gmx.net>
8750
8751         * lyxtextclass.C: read 'environment' tag.
8752
8753 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8754
8755         * text2.C (removeRow): fix bug 964
8756
8757 2003-03-20  John Levon  <levon@movementarian.org>
8758
8759         * rowpainter.C:
8760         * text.C:
8761         * text2.C: paint cleanups. Inset::update() dropped font
8762         parameter
8763
8764 2003-03-19  John Levon  <levon@movementarian.org>
8765
8766         * lyxfunc.C: only fitcursor/markDirty if available()
8767
8768 2003-03-19  John Levon  <levon@movementarian.org>
8769
8770         * commandtags.h: rename to ...
8771
8772         * lfuns.h: ... this, and renumber / cleanup
8773
8774 2003-03-19  John Levon  <levon@movementarian.org>
8775
8776         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8777         fit the cursor after an lfun
8778
8779         * BufferView.h:
8780         * BufferView.C:
8781         * BufferView_pimpl.h:
8782         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8783
8784         * LyXAction.C: layout-character should have ReadOnly
8785
8786         * ParagraphParameters.C:
8787         * buffer.C:
8788         * bufferview_funcs.C:
8789         * lyx_cb.C:
8790         * lyxfind.C:
8791         * lyxtext.h:
8792         * text.C:
8793         * text2.C:
8794         * text3.C:
8795         * undo_funcs.C: changes from above
8796
8797 2003-03-18  John Levon  <levon@movementarian.org>
8798
8799         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8800         remove it from update()
8801
8802         * lyxfunc.C: update layout choice after an lfun
8803
8804         * text3.C: remove extra updateLayoutChoice()s
8805
8806 2003-03-18  John Levon  <levon@movementarian.org>
8807
8808         * text.C: top_y change means full repaint, fix
8809         a drawing bug with cursor movement
8810
8811 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8812
8813         * lyxtext.h:
8814         * text.C:
8815         * text2.C: anchor row on setCursor
8816
8817 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8818
8819         * lyxtext.h: remove almost all mutable keywords
8820         * text.C:
8821         * text2.C:
8822         * text3.C: remove const keywords accordingly
8823
8824 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8825
8826         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8827         anon namespace
8828         (TeXEnvironment): ditto
8829         (TeXOnePar): ditto
8830
8831 2003-03-17  John Levon  <levon@movementarian.org>
8832
8833         * text.C (rowBreakPoint): remove attempt to fix displayed
8834         math insets inside a manual label
8835
8836 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8837
8838         * lyxtext.h: remove BufferView* as first arg from almost all class
8839         functions.
8840         * other files: adjust.
8841
8842 2003-03-17  John Levon  <levon@movementarian.org>
8843
8844         * lyxtext.h:
8845         * undo_funcs.C:
8846         * text2.C: more paint cleanups
8847
8848         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8849
8850         * rowpainter.h:
8851         * rowpainter.C: remove "smart" background painting code
8852
8853 2003-03-16  John Levon  <levon@movementarian.org>
8854
8855         * lyxtext.h:
8856         * text.C:
8857         * text2.C:
8858         * text3.C: add helper functions for setting refresh_row/y
8859
8860 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8861
8862         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8863         newline inset which *can* get inserted in the pass_thru layouts.
8864         This is primarily for literate documents.
8865
8866 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8867
8868         * buffer.C: increment LYX_FORMAT to 223
8869
8870 2003-03-14 André Pönitz <poenitz@gmx.net>
8871
8872         * textclass.h: prepare for environment handling, ws changes
8873         * lyxlayout.C: read latexheader and latexfooter tags
8874
8875 2003-03-14  John Levon  <levon@movementarian.org>
8876
8877         * text2.C: rewrite ::status() a bit
8878
8879 2003-03-13  John Levon  <levon@movementarian.org>
8880
8881         * lyxtext.h: add some docs
8882
8883 2003-03-13  John Levon  <levon@movementarian.org>
8884
8885         * lyxtext.h:
8886         * text.C:
8887         * text2.C:
8888         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8889
8890 2003-03-13  John Levon  <levon@movementarian.org>
8891
8892         * text3.C: fix appendix redrawing
8893
8894 2003-03-13  John Levon  <levon@movementarian.org>
8895
8896         * text.C (setHeightOfRow):
8897         * rowpainter.h:
8898         * rowpainter.C: make appendix mark have the text
8899           "Appendix" so the user knows what it is
8900
8901         * LColor.h:
8902         * LColor.C: s/appendixline/appendix/ from above
8903
8904 2003-03-13  John Levon  <levon@movementarian.org>
8905
8906         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8907
8908         * text.C: fix a getChar(pos) bug properly
8909
8910 2003-03-13  Angus Leeming  <leeming@lyx.org>
8911
8912         * commandtags.h:
8913         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8914         Probably only temporary. Let's see how things pan out.
8915
8916         * BufferView.C (unlockInset):
8917         * BufferView_pimpl.C (fitCursor):
8918         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8919
8920         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8921         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8922
8923         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8924         new functions that convert ParagraphParameters to and from a string.
8925
8926         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8927         BufferView::Pimpl's dispatch.
8928         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8929
8930 2003-03-13 André Pönitz <poenitz@gmx.net>
8931
8932         * lyxfunc.C:
8933         * text3.C:
8934         * factory.C: make it aware of InsetEnv
8935
8936 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8937
8938         * text2.C (setCursor): never ask for one past last
8939         (setCursor): add some debugging messages.
8940
8941         * text.C (singleWidth): never ask for one past last
8942         (singleWidth): ditto
8943         (leftMargin): ditto
8944         (rightMargin): ditto
8945         (rowBreakPoint): ditto
8946         (setHeightOfRow): ditto
8947         (prepareToPrint): ditto
8948
8949         * rowpainter.C (paintBackground): never ask for one past last
8950         (paintText): never ask for one past last
8951
8952         * paragraph_pimpl.C (getChar): make the assert stricter, never
8953         allow the one past last pos to be taken
8954
8955         * paragraph.C (getChar): ws changes only
8956
8957         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8958         (numberOfSeparators): ditto
8959         (numberOfHfills): ditto
8960
8961 2003-03-12  John Levon  <levon@movementarian.org>
8962
8963         * author.h:
8964         * author.C:
8965         * bufferparams.h:
8966         * bufferparams.C:
8967         * paragraph_funcs.C: fix per-buffer authorlists
8968
8969 2003-03-12  John Levon  <levon@movementarian.org>
8970
8971         * text.C: fix newline in right address
8972
8973 2003-03-12  Angus Leeming  <leeming@lyx.org>
8974
8975         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8976         duplicate those in LyXFunc::dispatch.
8977
8978         * commandtags.h:
8979         * LyXAction.C:
8980         * ToolbarDefaults.C:
8981         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8982         Add LFUN_FONTFREE_UPDATE.
8983
8984         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8985         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8986
8987         * bufferview_func.[Ch]: several new functions to facilliate
8988         transfer of data to and from the character dialog.
8989
8990 2003-03-12  John Levon  <levon@movementarian.org>
8991
8992         * buffer.C:
8993         * paragraph.h:
8994         * paragraph.C:
8995         * paragraph_funcs.C:
8996         * paragraph_pimpl.C:
8997         * sgml.C:
8998         * tabular.C:
8999         * text.C:
9000         * text3.C: remove META_NEWLINE in favour of an inset
9001
9002         * rowpainter.h:
9003         * rowpainter.C: remove paintNewline (done by inset)
9004
9005 2003-03-12  John Levon  <levon@movementarian.org>
9006
9007         * paragraph_pimpl.C: complain about bad getChar()s
9008         for a while at least
9009
9010 2003-03-12  John Levon  <levon@movementarian.org>
9011
9012         * buffer.h:
9013         * buffer.C: move paragraph read into a separate function,
9014         a little renaming to reflect that.
9015
9016         * bufferparams.h:
9017         * bufferparams.C: remove the author_ids map, not necessary now
9018
9019         * factory.h:
9020         * factory.C: moved Buffer::readInset to here
9021
9022         * paragraph_funcs.h:
9023         * paragraph_funcs.C: readParagraph free function moved from
9024         buffer.C
9025
9026         * tabular.C: name change
9027
9028 2003-03-12  John Levon  <levon@movementarian.org>
9029
9030         * buffer.C:
9031         * ParagraphParameters.C: move par params input to
9032         a read() method
9033
9034         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9035         behave like a normal read from the stream wrt reading
9036         a line vs. a \\token
9037
9038 2003-03-12  John Levon  <levon@movementarian.org>
9039
9040         * paragraph.C:
9041         * ParagraphParameters.h:
9042         * ParagraphParameters.C: move output code to a
9043         ::write() method
9044
9045 2003-03-12  John Levon  <levon@movementarian.org>
9046
9047         * BufferView.C (insertLyXFile):
9048         * buffer.h:
9049         * buffer.C:
9050         * tabular.C: use a parlist iterator for creating the
9051           document.
9052
9053 2003-03-12  John Levon  <levon@movementarian.org>
9054
9055         * buffer.C: make current_change static local not
9056           static file-scope
9057
9058 2003-03-12  John Levon  <levon@movementarian.org>
9059
9060         * buffer.C: fix insertStringAsLines for change tracking
9061
9062 2003-03-12  John Levon  <levon@movementarian.org>
9063
9064         * BufferView.C:
9065         * tabular.C:
9066         * buffer.h:
9067         * buffer.C:
9068         * bufferparams.h:
9069         * bufferparams.C: move author list into params. Rename some
9070           functions. Move the header reading into a separate token
9071           loop. Move the header token reading into BufferParams.
9072
9073 2003-03-12  John Levon  <levon@movementarian.org>
9074
9075         * changes.C: put debug inside lyxerr.debugging() checks
9076
9077 2003-03-11 André Pönitz <poenitz@gmx.net>
9078
9079         * factory.C: make it aware of InsetHFill
9080
9081 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9082
9083         * buffer.C (latexParagraphs): move function from here...
9084         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9085         args.
9086
9087 2003-03-10  Angus Leeming  <leeming@lyx.org>
9088
9089         * LyXAction.C (init): fix bug in poplating array with multiple entries
9090         with the same LFUN (spotted by JMarc).
9091
9092 2003-03-10  John Levon  <levon@movementarian.org>
9093
9094         * text.C:
9095         * text2.C: move getColumnNearX() near its
9096         only call site
9097
9098 2003-03-10  John Levon  <levon@movementarian.org>
9099
9100         * text.C: fix break before a minipage
9101
9102 2003-03-10  John Levon  <levon@movementarian.org>
9103
9104         * text.C: fix the last commit
9105
9106 2003-03-09  John Levon  <levon@movementarian.org>
9107
9108         * lyxtext.h:
9109         * text.C:
9110         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9111         bug 365 (don't break before insets unless needed). Don't
9112         return a value > last under any circumstances.
9113
9114 2003-03-09  Angus Leeming  <leeming@lyx.org>
9115
9116         * BufferView_pimpl.C (trackChanges, dispatch): call
9117         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9118
9119 2003-03-09  Angus Leeming  <leeming@lyx.org>
9120
9121         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9122         than Dialogs::showAboutlyx().
9123
9124 2003-03-09  Angus Leeming  <leeming@lyx.org>
9125
9126         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9127         than Dialogs::showTabularCreate().
9128
9129 2003-03-09  John Levon  <levon@movementarian.org>
9130
9131         * lyxtext.h:
9132         * text.C:
9133         * text2.C: 3rd arg to nextBreakPoint was always the same.
9134           Use references.
9135
9136 2003-03-08  John Levon  <levon@movementarian.org>
9137
9138         * lyxrow.C:
9139         * paragraph.C:
9140         * paragraph.h:
9141         * rowpainter.C:
9142         * text.C:
9143         * text2.C: Remove the "main" bit from the "main body"
9144           notion.
9145
9146 2003-03-08  John Levon  <levon@movementarian.org>
9147
9148         * text.C (leftMargin): The left margin of an empty
9149         manual label paragraph should not include the label width
9150         string length.
9151
9152         * text.C (prepareToPrint): don't attempt to measure hfills
9153         for empty manual label paragraphs - the answer should be 0
9154
9155 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9156
9157         * CutAndPaste.C: remove commented code and reindent.
9158
9159 2003-03-08  John Levon  <levon@movementarian.org>
9160
9161         * lyxfunc.h:
9162         * lyxfunc.C: move reloadBuffer()
9163
9164         * BufferView.h:
9165         * BufferView.C: to here
9166
9167         * lyxvc.C: add comment
9168
9169         * vc-backend.h:
9170         * vc-backend.C: call bv->reload() to avoid
9171           getStatus() check on MENURELOAD
9172
9173 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9174
9175         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9176         to an old format .dep file.
9177
9178 2003-03-07  Angus Leeming  <leeming@lyx.org>
9179
9180         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9181         when the LFUN_MOUSE_RELEASE should have been handled by
9182         inset->localDispatch.
9183
9184 2003-03-07  Angus Leeming  <leeming@lyx.org>
9185
9186         * BufferView_pimpl.C (dispatch):
9187         * LyXAction.C (init):
9188         * ToolbarDefaults.C (init):
9189         * commandtags.h:
9190         * lyxfunc.C (getStatus):
9191         remove LFUN_INSET_GRAPHICS.
9192
9193         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9194
9195 2003-03-07  Angus Leeming  <leeming@lyx.org>
9196
9197         * commandtags.h:
9198         * LyXAction.C (init):
9199         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9200
9201         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9202
9203         * commandtags.h:
9204         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9205
9206         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9207         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9208
9209 2003-03-07  Angus Leeming  <leeming@lyx.org>
9210
9211         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9212         remove "ert".
9213
9214 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9215
9216         * ParagraphList.C (front): new function
9217         (back): implement
9218
9219 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9220
9221         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9222         and top_row_offset_. removed var first_y.
9223         * text.C (top_y):
9224         * text2.C (LyXText, removeRow):
9225         * text3.C:
9226         * BufferView_pimpl.C:
9227         use these methods instead of using first_y
9228
9229 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9230
9231         * text2.C (pasteSelection): adjust for checkPastePossible
9232
9233         * CutAndPaste.C: remove Paragraph * buf and replace with
9234         ParagraphList paragraphs.
9235         (DeleteBuffer): delete
9236         (cutSelection): change the tc type to textclass_type
9237         (copySelection): change the tc type to textclass_type
9238         (copySelection): adjust for ParagraphList
9239         (pasteSelection): change the tc type to textclass_type
9240         (pasteSelection): adjust for Paragraphlist
9241         (nrOfParagraphs): simplify for ParagraphList
9242         (checkPastePossible): simplify for ParagraphList
9243         (checkPastePossible): remove unused arg
9244
9245         * ParagraphList.C (insert): handle the case where there are no
9246         paragraphs yet.
9247
9248         * CutAndPaste.h: make CutAndPaste a namespace.
9249
9250         * text3.C (dispatch): adjust
9251
9252         * text.C (breakParagraph): add a ParagraphList as arg
9253
9254         * paragraph_funcs.C (breakParagraph): change to take a
9255         BufferParams and a ParagraphList as args.
9256         (breakParagraphConservative): ditto
9257         (mergeParagraph): ditto
9258         (TeXDeeper): add a ParagraphList arg
9259         (TeXEnvironment): ditto
9260         (TeXOnePar): ditto
9261
9262         * buffer.C (readLyXformat2): adjust
9263         (insertStringAsLines): adjust
9264         (latexParagraphs): adjust
9265
9266         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9267         (cutSelection): adjust
9268         (pasteSelection): adjust
9269
9270         * BufferView_pimpl.C (insertInset): adjust
9271
9272 2003-03-05  Angus Leeming  <leeming@lyx.org>
9273
9274         * commandtags.h:
9275         * LyXAction.C (init):
9276         * BufferView_pimpl.C (dispatch):
9277         * lyxfunc.C (getStatus):
9278         remove LFUN_CHILD_INSERT.
9279
9280         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9281
9282 2003-03-05  Angus Leeming  <leeming@lyx.org>
9283
9284         * commandtags.h:
9285         * LyXAction.C (init):
9286         * src/factory.C (createInset):
9287         * lyxfunc.C (getStatus):
9288         * text3.C (dispatch):
9289         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9290
9291         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9292
9293 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9294
9295         * ParagraphList.C (insert): handle insert right before end()
9296         (erase): fix cases where it can be first or last paragraph.
9297
9298 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9299
9300         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9301         Paragraph::next and Paragraph::previous
9302         (TeXOnePar): ditto
9303
9304         * text.C (breakParagraph): adjust
9305
9306         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9307         BufferParams& as arg.
9308         (breakParagraph): use ParagraphList::insert
9309         (breakParagraphConservative): take a Buffer* instead of a
9310         BufferParams& as arg.
9311         (breakParagraphConservative): use ParagraphList::insert.
9312
9313         * buffer.C (insertStringAsLines): un-const it
9314         (insertStringAsLines): adjust
9315
9316         * ParagraphList.C (insert): new function
9317
9318         * CutAndPaste.C (pasteSelection): adjust
9319
9320         * text.C (backspace): adjust
9321
9322         * tabular.C (SetMultiColumn): adjust
9323
9324         * CutAndPaste.C (cutSelection): adjust
9325         (pasteSelection): adjust
9326
9327         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9328         Buffer const * as arg
9329
9330         * ParagraphList.C (erase): new function
9331         * paragraph_funcs.C (mergeParagraph): use it
9332         (mergeParagraph): make it take a Buffer* instead of a
9333         BufferParams* as arg
9334
9335         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9336         as arg
9337         (breakParagraphConservative): ditto
9338
9339         * paragraph.h: remove the breakParagraph friend
9340
9341         * paragraph.C (eraseIntern): new function
9342         (setChange): new function
9343
9344         * paragraph_funcs.C (mergeParagraph): make it take a
9345         ParagraphList::iterator instead of a Paragraph *, adjust
9346         accordingly.
9347
9348         * paragraph.h: move an #endif so that the change tracking stuff
9349         also works in the NO_NEXT case.
9350
9351 2003-03-04  Angus Leeming  <leeming@lyx.org>
9352
9353         * commandtags.h:
9354         * LyXAction.C: new LFUN_INSET_MODIFY.
9355
9356         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9357         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9358
9359 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9360
9361         * several files: ws changes only
9362
9363         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9364         (TeXEnvironment): ditto
9365         (TeXDeeper): ditto
9366
9367         * buffer.C (makeLaTeXFile): adjust
9368         (latexParagraphs): make it take ParagraphList::iterator as args
9369
9370 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9371
9372         * buffer.C (latexParagraphs): adjust
9373
9374         * paragraph.C (TeXOnePar): move function...
9375         (optArgInset): move function...
9376         (TeXEnvironment): move function...
9377         * paragraph_pimpl.C (TeXDeeper): move function...
9378         * paragraph_funcs.C: ...here
9379
9380         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9381
9382 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9383
9384         * buffer.C (readInset): remove compability code for old Figure and
9385         InsetInfo insets
9386
9387 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9388
9389         * buffer.C: ws changes
9390         (readInset):
9391
9392         * BufferView_pimpl.C: ditto
9393         * author.C: ditto
9394         * buffer.h: ditto
9395         * bufferlist.h: ditto
9396         * changes.h: ditto
9397         * lyxfunc.C: ditto
9398
9399 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9400
9401         * converter.[Ch]: split into itself +
9402         * graph.[Ch]
9403         * format.[Ch]
9404         * Makefile.am: += graph.[Ch] + format.[Ch]
9405         * MenuBackend.C
9406         * buffer.C
9407         * exporter.C
9408         * importer.C
9409         * lyx_main.C
9410         * lyxfunc.C
9411         * lyxrc.C: added #include "format.h"
9412
9413 2003-02-27  Angus Leeming  <leeming@lyx.org>
9414
9415         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9416           a label.
9417
9418         * factory.C (createInset): add "label" to the factory.
9419
9420         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9421           string and do no more.
9422
9423 2003-02-27  Angus Leeming  <leeming@lyx.org>
9424
9425         * commandtags.h:
9426         * LyXAction.C (init):
9427         * factory.C (createInset):
9428         * BufferView_pimpl.C (dispatch):
9429           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9430
9431         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9432
9433         * lyxfunc.C (dispatch):
9434         * text3.C (dispatch): pass name to params2string.
9435
9436 2003-02-26  Angus Leeming  <leeming@lyx.org>
9437
9438         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9439           blocks together.
9440           Rearrange the ~includes. Strip out the unnecessary ones.
9441
9442         * factory.C (createInset): reformat.
9443           create new insets for the various LFUN_XYZ_APPLY lfuns.
9444
9445 2003-02-26  John Levon  <levon@movementarian.org>
9446
9447         * lyxrow.h:
9448         * lyxrow.C: add isParStart,isParEnd helpers
9449
9450         * paragraph.h: make isInserted/DeletedText take refs
9451
9452         * paragraph_funcs.h:
9453         * paragraph_funcs.C: remove #if 0'd code
9454
9455         * lyxtext.h:
9456         * text3.C:
9457         * text2.C:
9458         * text.C: use lyxrow helpers above.
9459           Move draw and paint routines to RowPainter.
9460           Make several methods use refs not pointers.
9461           Make backgroundColor() const.
9462           Add markChangeInDraw(), isInInset().
9463           Merge changeRegionCase into changeCase.
9464           Make workWidth() shouldn't-happen code into an Assert.
9465
9466         * rowpainter.h:
9467         * rowpainter.C: new class for painting a row.
9468
9469         * vspace.h:
9470         * vspace.C: make inPixels take a ref
9471
9472 2003-02-26  Angus Leeming  <leeming@lyx.org>
9473
9474         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9475         LFUN_REF_APPLY.
9476
9477 2003-02-25  John Levon  <levon@movementarian.org>
9478
9479         * ispell.C: give the forked command a more accurate name
9480
9481 2003-02-22  John Levon  <levon@movementarian.org>
9482
9483         * toc.h:
9484         * toc.C: make TocItem store an id not a Paragraph *
9485           (bug #913)
9486
9487 2003-02-21  Angus Leeming  <leeming@lyx.org>
9488
9489         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9490           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9491           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9492           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9493           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9494           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9495
9496         * BufferView_pimpl.C (dispatch):
9497         * LyXAction.C (init):
9498         * factory.C (createInset):
9499         * lyxfunc.C (getStatus, dispatch):
9500         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9501
9502 2003-02-21  Angus Leeming  <leeming@lyx.org>
9503
9504         * BufferView_pimpl.C (MenuInsertLyXFile):
9505         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9506         * lyxfunc.C (menuNew, open, doImport):
9507           no longer pass a LyXView & to fileDlg.
9508
9509 2003-02-21  Angus Leeming  <leeming@lyx.org>
9510
9511         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9512         * LyXAction.C: change, BIBKEY to BIBITEM.
9513         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9514         Change InsetBibKey to InsetBibitem.
9515         Change BIBKEY_CODE to BIBITEM_CODE.
9516         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9517         * factory.C: replace insetbib.h with insetbibitem.h.
9518         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9519         * paragraph.C: replace insetbib.h with insetbibitem.h.
9520         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9521         Change bibkey() to bibitem().
9522         * text.C: remove insetbib.h.
9523         * text2.C: replace insetbib.h with insetbibitem.h.
9524         change bibkey() to bibitem().
9525         * text3.C: remove insetbib.h.
9526         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9527
9528 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9529
9530         * lyxrc.C (output): enclose user email in quotes (in case there are
9531         several words)
9532
9533 2003-02-18  John Levon  <levon@movementarian.org>
9534
9535         * buffer.h: add std::
9536
9537 2003-02-17  John Levon  <levon@movementarian.org>
9538
9539         * SpellBase.h:
9540         * ispell.h:
9541         * ispell.C:
9542         * pspell.h:
9543         * pspell.C: reworking. Especially in ispell, a large
9544           number of clean ups and bug fixes.
9545
9546         * lyxfunc.C: fix revert to behave sensibly
9547
9548 2003-02-17 André Pönitz <poenitz@gmx.net>
9549
9550         * LyXAction.C:
9551         * commandtags.h: new LFUN_INSERT_BIBKEY
9552
9553         * layout.h:
9554         * lyxlayout.C:
9555         * buffer.C:
9556         * factory.C:
9557         * text.C:
9558         * text2.C:
9559         * text3.C:
9560         * paragraph.[Ch]:
9561         * paragraph_func.C: remove special bibkey handling
9562
9563 2003-02-17  John Levon  <levon@movementarian.org>
9564
9565         * text.C (Delete): fix case where delete at the end of
9566           the very first paragraph would not merge the pars
9567
9568 2003-02-17  John Levon  <levon@movementarian.org>
9569
9570         * lyxrow.C: fix lastPrintablePos()
9571
9572 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9573
9574         * bufferparams.C (writeLaTeX): add a std:here
9575
9576         * buffer.C: and remove a using directive there
9577
9578 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9579
9580         * buffer.C (makeLaTeXFile): move the code that generates the
9581           preamble...
9582
9583         * bufferparams.C (writeLaTeX): ... in this new method
9584
9585         * LaTeXFeatures.C (getEncodingSet): make const
9586           (getLanguages): make const
9587
9588         * MenuBackend.C (binding): returns the binding associated to this
9589           action
9590           (add): sets the status of each item by calling getStatus. Adds
9591           some intelligence.
9592           (read): add support for OptSubMenu
9593           (expand): remove extra separator at the end of expanded menu
9594
9595 2003-02-15  John Levon  <levon@movementarian.org>
9596
9597         * BufferView.C:
9598         * BufferView_pimpl.C:
9599         * bufferlist.h:
9600         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9601           inset code that had no actual effect. Remove unneeded status
9602           code.
9603
9604 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9605
9606         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9607           in preamble
9608
9609 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9610
9611         * text.C (drawLengthMarker): also draw an arrow marker for
9612           symbolic lengths (medskip...)
9613
9614 2003-02-14  John Levon  <levon@movementarian.org>
9615
9616         * tabular.h:
9617         * tabular.C: better method names
9618
9619 2003-02-14  John Levon  <levon@movementarian.org>
9620
9621         * BufferView_pimpl.C:
9622         * bufferlist.C:
9623         * buffer.C:
9624         * converter.C:
9625         * lyx_cb.C:
9626         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9627           it's a more accurate name. Remove some pointless uses.
9628
9629 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9630
9631         * text2.C (LyXText): change order of initilizers to shut off
9632           warnings
9633
9634 2003-02-14  John Levon  <levon@movementarian.org>
9635
9636         * buffer.C: use ParIterator for getParFromID()
9637
9638         * paragraph.h:
9639         * paragraph.C:
9640         * paragraph_pimpl.h:
9641         * paragraph_pimpl.C: remove unused getParFromID()
9642
9643 2003-02-14  John Levon  <levon@movementarian.org>
9644
9645         * buffer.C: remove some very old #if 0'd parse code
9646
9647 2003-02-13  John Levon  <levon@movementarian.org>
9648
9649         * text.h:
9650         * text.C:
9651         * text2.C: move hfillExpansion(), numberOfSeparators(),
9652           rowLast(), rowLastPrintable(), numberofHfills(),
9653           numberOfLabelHfills() ...
9654
9655         * lyxrow.h:
9656         * lyxrow.C: ... to member functions here.
9657
9658         * paragraph.h:
9659         * paragraph.C:
9660         * lyxtext.h:
9661         * text.C: remove LyXText::beginningOfMainBody(), and call
9662           p->beginningOfMainBody() directly. Move the check for
9663           LABEL_MANUAL into the latter.
9664
9665         * text.h:
9666         * text.C:
9667         * text2.C:
9668         * vspace.C:
9669         * BufferView.h:
9670         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9671
9672         * text.h:
9673         * text.C:
9674         * text2.C:
9675         * text3.C:
9676         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9677           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9678
9679 2003-02-13  John Levon  <levon@movementarian.org>
9680
9681         * CutAndPaste.C: remove debug
9682
9683 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9684
9685         * paragraph.C (asString): remove two unused variables
9686
9687         * lyxtextclass.C (readTitleType):
9688           (Read):
9689           (LyXTextClass): handle new members titletype_ and titlename_
9690
9691         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9692
9693 2003-02-09  John Levon  <levon@movementarian.org>
9694
9695         * buffer.h:
9696         * buffer.C: replace hand-coded list with a map for the dep clean
9697
9698 2003-02-08  John Levon  <levon@movementarian.org>
9699
9700         * LaTeX.C: consolidate code into showRunMessage() helper
9701
9702 2003-02-08  John Levon  <levon@movementarian.org>
9703
9704         * lyxfind.C:
9705         * lyxtext.h:
9706         * text2.C:
9707         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9708           and pass the size in explicitly
9709
9710         * BufferView_pimpl.h:
9711         * BufferView_pimpl.C:
9712         * BufferView.h:
9713         * BufferView.C: add getCurrentChange()
9714
9715         * BufferView_pimpl.h:
9716         * BufferView_pimpl.C: handle change lfuns
9717
9718         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9719           for changes. Mark pasted paragraphs as new.
9720
9721         * support/lyxtime.h:
9722         * support/lyxtime.C:
9723         * DepTable.C: abstract time_t as lyx::time_type
9724
9725         * LColor.h:
9726         * LColor.C: add colours for new text, deleted text, changebars
9727
9728         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9729           package use "usenames" option.
9730
9731         * commandtags.h:
9732         * lyxfunc.C:
9733         * LyXAction.C: add change lfuns
9734
9735         * Makefile.am:
9736         * author.h:
9737         * author.C: author handling
9738
9739         * buffer.h:
9740         * buffer.C: add a per-buffer author list, with first entry as
9741           current author. Handle new .lyx tokens for change tracking. Output
9742           author list to .lyx file. Output dvipost stuff to .tex preamble.
9743           Bump lyx format to 222.
9744
9745         * bufferlist.h:
9746         * bufferlist.C: add setCurrentAuthor() to reset current author details
9747           in all buffers.
9748
9749         * bufferparams.h:
9750         * bufferparams.C: add param for tracking
9751
9752         * bufferview_funcs.C: output change info in minibuffer
9753
9754         * Makefile.am:
9755         * changes.h:
9756         * changes.C: add change-tracking structure
9757
9758         * debug.h:
9759         * debug.C: add CHANGES debug flag
9760
9761         * lyxfind.h:
9762         * lyxfind.C: add code for finding the next change piece
9763
9764         * lyxrc.h:
9765         * lyxrc.C: add user_name and user_email
9766
9767         * lyxrow.h:
9768         * lyxrow.C: add a metric for the top of the text line
9769
9770         * lyxtext.h:
9771         * text.C: implement accept/rejectChange()
9772
9773         * lyxtext.h:
9774         * text.C: paint changebars. Paint new/deleted text in the chosen
9775         colours. Strike through deleted text.
9776
9777         * paragraph.h:
9778         * paragraph.C:
9779         * paragraph_pimpl.h:
9780         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9781           in the current change to the insert functions. Rework erase to
9782           mark text as deleted, adding an eraseIntern() and a range-based
9783           erase(). Implement per-paragraph change lookup and
9784           accept/reject.
9785
9786         * paragraph_funcs.C: Fixup paste for change tracking.
9787
9788         * tabular.C: mark added row/columns as new.
9789
9790         * text.C: fix rowLast() to never return -1. Don't allow
9791           spellchecking of deleted text. Track transpose changes. Don't
9792           allow paragraph break or merge where appropriate.
9793
9794         * text2.C: leave cursor at end of selection after a cut.
9795
9796 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9797
9798         * text.C (getLengthMarkerHeight):
9799         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9800         visible on screen too.
9801
9802 2003-02-07  John Levon  <levon@movementarian.org>
9803
9804         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9805
9806 2003-02-05  Angus Leeming  <leeming@lyx.org>
9807
9808         * lyxserver.C (read_ready): revert my patch of 11 September last year
9809         as it sends PC cpu through the roof. Presumably this means that
9810         the lyxserver will no longer run on an Alpha...
9811
9812 2003-01-30  Angus Leeming  <leeming@lyx.org>
9813
9814         * factory.C (createInset): create an InsetCommandParam of type "index"
9815         and use it to 'do the right thing'.
9816
9817         * text2.C (getStringToIndex): ensure that cursor position is always
9818         reset to the reset_cursor position.
9819
9820 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9821
9822         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9823         disabled.
9824
9825 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9826
9827         * bufferview.C:
9828         * lyxcb.C:
9829         * lyxfunc.C: Output messages with identical spelling, punctuation,
9830         and spaces
9831
9832 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9833
9834         * MenuBackend.C (expandFormats): List only viewable export formats
9835         in "View" menu
9836
9837         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9838         message
9839
9840         * lyxfunc.C (getStatus): Make sure that formats other than
9841         "fax" can also be disabled
9842
9843 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9844
9845         * text3.C (dispatch): put the lfuns that insert insets in 3
9846         groups, and call doInsertInset with appropriate arguments.
9847         (doInsertInset): new function, that creates an inset and inserts
9848         it according to some boolean parameters.
9849
9850 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9851
9852         * buffer.C (readFile): remember to pass on 'par' when calling
9853         readFile recursively.
9854
9855 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9856
9857         * MenuBackend.C (expandFormats): add "..." to import formats.
9858
9859 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9860
9861         * paragraph.C (asString): Remove XForms RTL hacks.
9862
9863 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9864         * buffer.C: fix typo
9865
9866 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9867
9868         * Makefile.am (LIBS): delete var
9869         (lyx_LDADD): add @LIBS@ here instead.
9870
9871 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9872
9873         * Clarify the meaning of "wheel mouse jump"
9874
9875 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9876
9877         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9878         tabular in a float
9879
9880 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9881
9882         * importer.C (Loaders): do not preallocate 3 elements in the
9883         vector, since one ends up with 6 elements otherwise
9884
9885 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9886
9887         * DepTable.C (write): write the file name as last element of the
9888         .dep file (because it may contain spaces)
9889         (read): read info in the right order
9890
9891 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9892
9893         * paragraph_pimpl.C (simpleTeXBlanks):
9894         (simpleTeXSpecialChars):
9895         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9896
9897         * tabular.C (latex): add some missing case statements. Reindent.
9898
9899         * MenuBackend.C (expandToc): remove unused variable.
9900
9901 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9902
9903         * LColor.C:
9904         * LaTeX.C:
9905         * LyXAction.C:
9906         * MenuBackend.C:
9907         * buffer.C:
9908         * exporter.C:
9909         * lyxfunc.C:
9910         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9911         and the like.
9912
9913 2003-01-05  John Levon  <levon@movementarian.org>
9914
9915         * BufferView.h:
9916         * BufferView.C: add getEncoding()
9917
9918         * kbsequence.h:
9919         * kbsequence.C: do not store last keypress
9920
9921         * lyxfunc.h:
9922         * lyxfunc.C: store last keypress here instead. Pass encoding
9923           to getISOEncoded()
9924
9925 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9926
9927         * lyx_main.C (init): remove annoying error message when following
9928         symbolic links (bug #780)
9929
9930 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9931
9932         * text.C (insertChar):
9933         * lyxrc.C (getDescription): remove extra spaces
9934
9935 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9936
9937         * lyxrc.C (getDescription): remove extra spaces
9938
9939 2002-12-20  John Levon  <levon@movementarian.org>
9940
9941         * text3.C: hack fix for page up/down across tall rows
9942
9943 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9944
9945         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9946         not been invoked
9947
9948 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9949
9950         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9951         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9952         thesaurus is not compiled in
9953
9954 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9955
9956         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9957
9958 2002-12-16  Angus Leeming  <leeming@lyx.org>
9959
9960         * lyxrc.[Ch]:
9961         * lyx_main.C (init): remove override_x_deadkeys stuff.
9962
9963 2002-12-12  John Levon  <levon@movementarian.org>
9964
9965         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9966           insert. Only remove shift modifier under strict
9967           circumstances.
9968
9969 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9970
9971         * MenuBackend.C (expandToc): fix crash.
9972
9973 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9974
9975         * MenuBackend.C (expandToc): gettext on float names.
9976
9977 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9978
9979         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9980         implement bool empty() [bug 490]
9981
9982 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9983
9984         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9985
9986 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9987
9988         * several files: ws changes
9989
9990 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9991
9992         * text2.C (setCounter): clean up a bit, use boost.format.
9993         (updateCounters): initialize par upon declaration.
9994
9995         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9996         if the layout exists. We do not just store the layout any more.
9997         (SwitchLayoutsBetweenClasses): use boost.format
9998
9999 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10000
10001         * converter.C (convert): if from and to files are the same, use a
10002         temporary files as intermediary
10003
10004 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10005
10006         * commandtags.h:
10007         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10008
10009 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10010
10011         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10012
10013 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10014
10015         * tabular.C (asciiPrintCell): use string(size, char) instead of
10016         explicit loop.
10017
10018         * sgml.C (openTag): fix order of arguments to string constructor
10019         (closeTag): ditto
10020
10021         * lyxfunc.C (dispatch): use boost.format
10022
10023         * lots of files: change "c" -> 'c'
10024
10025 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10026
10027         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10028
10029 2002-11-25  Angus Leeming  <leeming@lyx.org>
10030
10031         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10032
10033         * lyx_main.C (init): compile fix.
10034
10035 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10036
10037         * lyx_cb.C (start): boost.formatify
10038         do not include <iostream>
10039
10040         * lengthcommon.C: ws only
10041
10042         * boost-inst.C,BoostFormat.h: add more explict instantations
10043
10044 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10045
10046         * lots of files: handle USE_BOOST_FORMAT
10047
10048 2002-11-21  John Levon  <levon@movementarian.org>
10049
10050         * pspell.C: fix compile
10051
10052 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10053
10054         * lyxfunc.C (dispatch): use boost::format
10055         (open): ditto
10056         (doImport): ditto
10057
10058         * lyxfont.C (stateText): use boost::format
10059
10060         * lyx_main.C (LyX): use boost::format
10061         (init): ditto
10062         (queryUserLyXDir): ditto
10063         (readRcFile): ditto
10064         (parse_dbg): ditto
10065         (typedef boost::function): use the recommened syntax.
10066
10067         * importer.C (Import): use boost::format
10068
10069         * debug.C (showLevel): use boost::format
10070
10071         * converter.C (view): use boost::format
10072         (convert): ditto
10073         (move): ditto
10074         (scanLog): ditto
10075
10076         * bufferview_funcs.C (currentState): use boost::format
10077
10078         * bufferlist.C (emergencyWrite): use boost::format
10079
10080         * buffer.C (readLyXformat2): use boost::format
10081         (parseSingleLyXformat2Token): ditto
10082
10083         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10084
10085         * LaTeX.C (run): use boost::format
10086
10087         * Chktex.C (scanLogFile): use boost::format
10088
10089         * BufferView_pimpl.C (savePosition): use boost::format
10090         (restorePosition): ditto
10091         (MenuInsertLyXFile): ditto
10092
10093         * BoostFormat.h: help file for explicit instation.
10094
10095 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10096
10097         * tabular.C (latex): Support for block alignment in fixed width
10098         columns.
10099
10100 2002-11-17  John Levon  <levon@movementarian.org>
10101
10102         * BufferView_pimpl.C:
10103         * lyx_cb.C:
10104         * lyxfunc.C: split filedialog into open/save
10105
10106 2002-11-08  Juergen Vigna  <jug@sad.it>
10107
10108         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10109         by my last patch (hopefully).
10110
10111 2002-11-08  John Levon  <levon@movementarian.org>
10112
10113         * iterators.h:
10114         * iterators.C:
10115         * buffer.h:
10116         * buffer.C:
10117         * paragraph.h:
10118         * paragraph.C:
10119         * toc.h:
10120         * toc.C: ParConstIterator, and use it (from Lars)
10121
10122 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10123
10124         * lyxtextclass.[Ch]: revise and add doxygen comments
10125
10126 2002-11-07  John Levon  <levon@movementarian.org>
10127
10128         * text.C: fix progress value for spellchecker
10129
10130         * toc.C: fix navigate menu for insetwrap inside minipage
10131
10132         * paragraph_funcs.C: added FIXME for suspect code
10133
10134 2002-11-07  John Levon  <levon@movementarian.org>
10135
10136         * BufferView_pimpl.C: fix redrawing of insets
10137           on buffer switch
10138
10139 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10140
10141         * text2.C (updateCounters): fix bug 668
10142
10143 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10144
10145         * text3.C (dispatch): Do not make the buffer dirty when moving the
10146         cursor.
10147
10148 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10149
10150         * vc-backend.C: STRCONV
10151         (scanMaster): ditto
10152
10153         * text2.C (setCounter): STRCONV
10154
10155         * paragraph.C (asString): STRCONV
10156
10157         * lyxlength.C (asString): STRCONV
10158         (asLatexString): ditto
10159
10160         * lyxgluelength.C (asString): STRCONV
10161         (asLatexString): ditto
10162
10163         * lyxfunc.C (dispatch): STRCONV
10164         (open): ditto
10165
10166         * lyxfont.C (stateText): STRCONV
10167
10168         * importer.C (Import): STRCONV
10169
10170         * counters.C (labelItem): STRCONV
10171         (numberLabel): ditto
10172         (numberLabel): remove unused ostringstream o
10173
10174         * chset.C: STRCONV
10175         (loadFile): ditto
10176
10177         * bufferview_funcs.C (currentState): STRCONV
10178
10179         * buffer.C (readFile): STRCONV
10180         (asciiParagraph): ditto
10181         (makeLaTeXFile): ditto
10182
10183         * Spacing.C (writeEnvirBegin): STRCONV
10184
10185         * LaTeXFeatures.C (getLanguages): STRCONV
10186         (getPackages): ditto
10187         (getMacros): ditto
10188         (getBabelOptions): ditto
10189         (getTClassPreamble): ditto
10190         (getLyXSGMLEntities): ditto
10191         (getIncludedFiles): ditto
10192
10193         * LaTeX.C: STRCONV
10194         (run): ditto
10195         (scanAuxFile): ditto
10196         (deplog): ditto
10197
10198         * LString.h: add the STRCONV macros
10199
10200         * BufferView_pimpl.C (savePosition): STRCONV
10201         (restorePosition): ditto
10202         (MenuInsertLyXFile): ditto
10203
10204         * vc-backend.C (scanMaster): change from submatch[...] to
10205         submatch.str(...)
10206
10207         * funcrequest.C: include config.h
10208
10209         * factory.C: include config.h
10210
10211         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10212
10213         * box.C: include config.h
10214
10215         * LaTeX.C (scanAuxFile): change from submatch[...] to
10216         submatch.str(...)
10217         (deplog): ditto
10218
10219 2002-10-25  Angus Leeming  <leeming@lyx.org>
10220
10221         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10222
10223         * ispell.[Ch] (setError): new method.
10224         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10225         Use setError() insetead of goto END.
10226
10227         * lyx_cb.C (AutoSave): move out child process into new class
10228         AutoSaveBuffer.
10229
10230 2002-10-30  John Levon  <levon@movementarian.org>
10231
10232         * text3.C: make start appendix undoable
10233
10234 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10235
10236         * lyxlength.C (inPixels): Fix returned value.
10237
10238         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10239         environment.
10240
10241 2002-10-24  Angus Leeming  <leeming@lyx.org>
10242
10243         * lyxgluelength.h: no need to forward declare BufferParams
10244         or BufferView, so don't.
10245
10246 2002-10-21  John Levon  <levon@movementarian.org>
10247
10248         * BufferView.C: menuUndo ->undo, redo
10249
10250         * BufferView.h: document, remove dead, make some methods private
10251
10252         * paragraph_funcs.h:
10253         * paragraph_funcs.C:
10254         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10255
10256         * buffer.h:
10257         * buffer.C:
10258         * sgml.h:
10259         * sgml.C: move sgml open/close tag into sgml.C
10260
10261         * bufferview_funcs.h: unused prototype
10262
10263         * lyxfunc.h:
10264         * lyxfunc.C: remove unused
10265
10266         * lyxtext.h:
10267         * text.C: remove unused
10268
10269 2002-10-21  John Levon  <levon@movementarian.org>
10270
10271         * BufferView.h:
10272         * BufferView.C:
10273         * BufferView_pimpl.h:
10274         * BufferView_pimpl.C: fix mouse wheel handling based on
10275           patch from Darren Freeman
10276
10277 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10278
10279         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10280
10281 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10282
10283         * lyxlength.C (inPixels): Fix hanfling of negative length.
10284         Fix LyXLength::MU case.
10285
10286 2002-10-16  John Levon  <levon@movementarian.org>
10287
10288         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10289
10290 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10291
10292         * converter.C (view): add support for $$i (file name) and $$p
10293         (file path) for the viewer command. If $$i is not specified, then
10294         it is appended to the command (for compatibility with old syntax)
10295
10296 2002-10-14  Juergen Vigna  <jug@sad.it>
10297
10298         * undo_funcs.C (textHandleUndo): alter the order in which the
10299         new undopar is added to the LyXText, as we have to set first
10300         the right prev/next and then add it as otherwise the rebuild of
10301         LyXText is not correct. Also reset the cursor to the right paragraph,
10302         with this IMO we could remove the hack in "redoParagraphs()".
10303
10304 2002-10-09  Angus Leeming  <leeming@lyx.org>
10305
10306         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10307         to turn off an optimisation if a new inset is to be inserted.
10308
10309 2002-10-11 André Pönitz <poenitz@gmx.net>
10310
10311         * lyxtext.h: make some functions public to allow access
10312         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10313
10314 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10315
10316         * text3.C (dispatch): when changing layout, avoid an infinite loop
10317         [bug #652]
10318
10319 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10320
10321         * lyxrc.C (read): treat a viewer or converter command of "none" as
10322         if it were empty.
10323
10324         * MenuBackend.C (expandFormats): for an update, also allow the
10325         formats that are not viewable
10326
10327         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10328         script if it is newer than the lyxrc.defaults in user directory
10329
10330 2002-10-07 André Pönitz <poenitz@gmx.net>
10331
10332         * text.C: Vitaly Lipatov's small i18n fix
10333
10334 2002-09-25  Angus Leeming  <leeming@lyx.org>
10335
10336         * ispell.h: doxygen fix.
10337
10338 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10339
10340         * buffer.h (readFile): Add a new argument to the method, to allow
10341         reading of old-format templates.
10342
10343 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10344
10345         * toc.C (getTocList): Get TOC from InsetWrap.
10346
10347 2002-09-16  John Levon  <levon@movementarian.org>
10348
10349         * lyxfunc.C: check tabular for cut/copy too
10350
10351 2002-09-12  John Levon  <levon@movementarian.org>
10352
10353         * LyXAction.C: tidy
10354
10355         * factory.h:
10356         * factory.C: add header
10357
10358         * paragraph_funcs.h:
10359         * paragraph_funcs.C: cleanup
10360
10361 2002-09-11  John Levon  <levon@movementarian.org>
10362
10363         * PrinterParams.h: odd/even default to true
10364
10365 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10366
10367         * PrinterParams.h: update printer parameters for new xforms dialog
10368
10369 2002-09-11  Angus Leeming  <leeming@lyx.org>
10370
10371         * lyxserver.C (read_ready): re-write to make it more transparent
10372         and to make it work in coherent fashion under Tru64 Unix.
10373
10374 2002-09-11  André Pönitz <poenitz@gmx.net>
10375
10376         * commandtags.h:
10377         * LyXAction.C:
10378         * text3.C: implement LFUN_WORDSEL
10379
10380 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10381
10382         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10383         make floatlist_ a boost::shared_ptr<FloatList>
10384
10385         * lyxtextclass.C: include FloatList.h
10386         (LyXTextClass): initialize floatlist_
10387         (TextClassTags): add TC_NOFLOAT
10388         (Read): match "nofloat" to TC_NOFLOAT and use it.
10389         (readFloat): modify call to floatlist_
10390         (floats): ditto
10391         (floats): ditto
10392
10393         * FloatList.[Ch] (FloatList): remove commented out float
10394         initialization.
10395         (erase): new function
10396
10397 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10398
10399         * MenuBackend.C (expandToc): fix crash when there is no document
10400         open
10401
10402 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10403
10404         * many files: Add insetwrap.
10405
10406 2002-09-09  John Levon  <levon@movementarian.org>
10407
10408         * text2.C: remove confusing and awkward depth wraparound
10409
10410 2002-09-09  John Levon  <levon@movementarian.org>
10411
10412         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10413
10414         * buffer.h:
10415         * buffer.C: remove getIncludeonlyList()
10416
10417         * paragraph.C:
10418         * lyxfunc.C: remove headers
10419
10420 2002-09-09  Juergen Vigna  <jug@sad.it>
10421
10422         * text.C (getColumnNearX): fix form Michael this is most
10423         probably a cut&paste bug.
10424
10425 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10426
10427         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10428
10429         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10430         references, ws changes.
10431
10432         * text2.C (init): update counters after init
10433         (insertParagraph): no need to set counter on idividual paragraphs.
10434         (setCounter): access the counters object in the textclass object
10435         on in the buffer object.
10436         (updateCounters): ditto
10437
10438         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10439         shared_ptr<Counters> to avoid loading counters.h in all
10440         compilation units.
10441         (LyXTextClass): initialize ctrs_
10442         (TextClassTags): add TC_COUNTER, and ...
10443         (Read): use it here.
10444         (CounterTags): new tags
10445         (readCounter): new function
10446         (counters): new funtion
10447         (defaultLayoutName): return a const reference
10448
10449         * counters.C (Counters): remove contructor
10450         (newCounter): remove a couple of unneeded statements.
10451         (newCounter): simplify a bit.
10452         (numberLabel): some small formatting changes.
10453
10454         * buffer.[Ch]: remove all traces of counters, move the Counters
10455         object to the LyXTextClass.
10456
10457 2002-09-06  Alain Castera  <castera@in2p3.fr>
10458
10459         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10460         package to set the horizontal alignment on fixed width columns.
10461
10462         * lyx_sty.C:
10463         * lyx_sty.h: added tabularnewline macro def.
10464
10465         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10466
10467 2002-09-06  John Levon  <levon@movementarian.org>
10468
10469         * LyXAction.C: tooltips for sub/superscript
10470
10471         * MenuBackend.C: a bit more verbose
10472
10473         * lyxfunc.C: tiny clean
10474
10475         * undo_funcs.C: document undo_frozen
10476
10477 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10478
10479         * counters.C (Counters): add missing algorithm counter.
10480
10481         * text2.C (setCounter): lookup the counter with layouts latexname
10482         instead of by section number.
10483         (setCounter): use a hackish way to lookup the correct enum
10484         counter.
10485         a float name->type change
10486         reset enum couners with counter name directly instead of depth value.
10487
10488         * counters.C (Counters): remove the push_backs, change to use the
10489         float type not the float name.
10490         (labelItem): remove unused string, float name->type change
10491
10492         * counters.h: don't include vector, loose the enums and sects vectors
10493
10494 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10495
10496         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10497         (Read): add float->TC_FLOAT to textclassTags
10498         (Read): and handle it in the switch
10499         (readFloat): new function
10500
10501         * FloatList.C (FloatList): comment out the hardcoded float
10502         definitions.
10503
10504         * lyxlayout.h: ws change.
10505
10506 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10507
10508         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10509
10510 2002-09-03  Angus Leeming  <leeming@lyx.org>
10511
10512         * BufferView_pimpl.h: qualified name is not allowed in member
10513         declaration: WorkArea & Pimpl::workarea() const;
10514
10515         * factory.C: added using std::endl directive.
10516
10517         * text3.C: added using std::find and std::vector directives.
10518
10519 2002-08-29  André Pönitz <poenitz@gmx.net>
10520
10521         * lyxtext.h:
10522         * text2.C: remove unused member number_of_rows
10523
10524         * Makefile.am:
10525         * BufferView2.C: remove file, move contents to...
10526         * BufferView.C: ... here
10527
10528         * BufferView_pimpl.C:
10529         * factory.C: move more inset creation to factory
10530
10531         * vspace.C: avoid direct usage of LyXText, ws changes
10532
10533         * BufferView.[Ch]:
10534                 don't provide direct access to WorkArea, use two simple
10535                 acessors haveSelction() and workHeight() instead
10536
10537
10538 2002-08-29  John Levon  <levon@movementarian.org>
10539
10540         * BufferView_pimpl.C (dispatch): do not continue when
10541           no buffer
10542
10543 2002-08-28  André Pönitz <poenitz@gmx.net>
10544
10545         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10546
10547         * BufferView.h:
10548         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10549
10550 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10551
10552         * buffer.C: increment LYX_FORMAT to 221
10553
10554         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10555         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10556
10557         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10558
10559         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10560
10561 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10562
10563         * factory.C (createInset): use LyXTextClass::floats
10564
10565         * MenuBackend.C (expandFloatListInsert):
10566         (expandFloatInsert):
10567         (expandToc):
10568
10569         * text2.C (setCounter):
10570
10571         * LaTeXFeatures.C (useFloat):
10572         (getFloatDefinitions):
10573
10574         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10575
10576         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10577         floatlist_, with accessor floats().
10578
10579         * FloatList.h: remove global FloatList
10580
10581 2002-08-26  André Pönitz <poenitz@gmx.net>
10582
10583         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10584
10585         * BufferView.h:
10586         * BufferView2.C:
10587         * BufferView_pimpl.C:
10588         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10589
10590 2002-08-25  John Levon  <levon@movementarian.org>
10591
10592         * LyXAction.C: fix margin note description
10593
10594 2002-08-24  John Levon  <levon@movementarian.org>
10595
10596         * buffer.C:
10597         * bufferlist.C:
10598         * bufferview_funcs.C:
10599         * lyxfont.C:
10600         * undo_funcs.C: cleanups
10601
10602         * lyxfunc.C: disable CUT/COPY when no selection
10603
10604 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10605
10606         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10607         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10608
10609         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10610         Add backward compatibility to "mono", "gray" and "no".
10611
10612 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10613
10614         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10615         (and file_format >= 200).
10616
10617 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10618
10619         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10620
10621 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10622
10623         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10624
10625 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10626
10627         * BufferView_pimpl.C:
10628         * LyXAction.C:
10629         * buffer.C:
10630         * commandtags.h:
10631         * lyxfunc.C:
10632         * paragraph.[Ch]:
10633         * text2.C:
10634         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10635         inset and code to make it  work with the paragraph code. The inset
10636         can be anywhere in the paragraph, but will only do the expected
10637         thing in LaTeX if the layout file contains the parameter line
10638                         OptionalArgs    1
10639         (or more generally, a nonzero value) for that layout.
10640
10641 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10642
10643         * paragraph.h: remove the declaration of undefined counters class
10644         function.
10645
10646 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10647
10648         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10649         Dr. Richard Hawkins.
10650
10651 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10652
10653         * paragraph_funcs.h: remove some unneeded includes
10654
10655         * text.C (backspace): pasteParagraph now in global scipe
10656
10657         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10658         (pasteSelection): ditto
10659
10660         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10661         * paragraph_funcs.C (pasteParagraph): ... here
10662
10663 2002-08-20  André Pönitz <poenitz@gmx.net>
10664
10665         * commandtags.h: new LFUNs for swapping/copying table row/colums
10666
10667         * LyXAction.C:
10668         * lyxfunc.C: support for new lfuns
10669
10670 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10671
10672         * tabular.C:
10673         * buffer.[Ch]: remove NO_COMPABILITY stuff
10674
10675 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10676
10677         * boost.C (throw_exception): new file, with helper function for
10678         boost compiled without exceptions.
10679
10680         * paragraph.h:
10681         * lyxlength.C:
10682         * buffer.C:
10683         * ParameterStruct.h:
10684         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10685
10686         * bufferlist.C (emergencyWriteAll): use boost bind
10687
10688         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10689
10690         * text.C: include paragraph_funcs.h
10691         (breakParagraph): breakParagraph is now in global scope
10692
10693         * paragraph_funcs.[Ch]: new files
10694
10695         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10696         global scope
10697
10698         * buffer.C: include paragraph_funcs.h
10699         (insertStringAsLines): breakParagraph is now in global scope
10700
10701         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10702         paragraph_funcs.C
10703
10704         * CutAndPaste.C: include paragraph_funcs.h
10705         (cutSelection): breakParagraphConservative is now in global scope
10706         (pasteSelection): ditto
10707
10708         * buffer.h: declare oprator== and operator!= for
10709         Buffer::inset_iterator
10710
10711         * bufferlist.C (emergencyWrite): don't use fmt(...)
10712
10713         * text3.C: add using std::endl
10714
10715         * BufferView.C (moveCursorUpdate): remove default arg
10716
10717 2002-08-20  André Pönitz <poenitz@gmx.net>
10718
10719         * buffer.[Ch]: move inline functions to .C
10720
10721         * BufferView2.C:
10722         * BufferView_pimpl.C:
10723         * text.C:
10724         * buffer.[Ch]: use improved inset_iterator
10725
10726         * buffer.C:
10727         * paragraph.[Ch]: write one paragraph at a time
10728
10729 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10730
10731         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10732         style if style is not specified.
10733
10734 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10735
10736         * text2.C (setCounter): when searching for right label for a
10737         caption, make sure to recurse to parent insets (so that a caption
10738         in a minipage in a figure float works) (bug #568)
10739
10740 2002-08-20  André Pönitz <poenitz@gmx.net>
10741
10742         * text3.C: new file for LyXText::dispatch() and helpers
10743
10744         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10745
10746         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10747
10748 2002-08-19  André Pönitz <poenitz@gmx.net>
10749
10750         * lyxtext.h:
10751         * text.C: new LyXText::dispatch()
10752
10753         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10754
10755 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10756
10757         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10758
10759         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10760         Hebrew text.
10761
10762 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10763
10764         * Makefile.am: use $(variables) instead of @substitutions@
10765
10766 2002-08-15  André Pönitz <poenitz@gmx.net>
10767
10768         * lyxfunc.C:
10769         * BufferView_pimpl.C: streamlining mathed <-> outer world
10770         interaction
10771
10772         * commandtags.h:
10773         * LyXAction.C: remove unused LFUN_MATH
10774
10775 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10776
10777         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10778
10779 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10780
10781         * paragraph.C (Paragraph): reformat a bit
10782         (cutIntoMinibuffer): use builtin InsetList function instad of
10783         doing it manually.
10784         (getInset): ditto
10785
10786         * buffer.C: include boost/bind.hpp, add using std::for_each
10787         (writeFileAscii): use ParagraphList iterators
10788         (validate): use for_each for validate traversal of paragraphs
10789         (getBibkeyList): use ParagraphList iterators
10790         (resizeInsets): use for_each to resizeInsetsLyXText for all
10791         paragraphs.
10792         (getParFromID): use ParagraphList iterators
10793
10794         * BufferView2.C (lockInset): use paragraph list and iterators
10795
10796 2002-08-14  John Levon  <levon@movementarian.org>
10797
10798         * lyxserver.C: remove spurious xforms include
10799
10800 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10801
10802         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10803
10804 2002-08-13  André Pönitz <poenitz@gmx.net>
10805
10806         * LyXAction.[Ch]:
10807         * lyxfunc.C: further cleaning
10808
10809 2002-08-13  André Pönitz <poenitz@gmx.net>
10810
10811         * funcrequest.h: new constructor
10812
10813         * funcrequest.C: move stuff here from .h
10814
10815         * Makefile.am:
10816         * BufferView_pimpl.C:
10817         * LyXAction.C:
10818         * toc.C:
10819         * lyxfunc.C: subsequent changes
10820
10821         * lyxfunc.h: new view() member function
10822
10823         * lyxfunc.C: subsequent changes
10824
10825 2002-08-13  Angus Leeming  <leeming@lyx.org>
10826
10827         * BufferView2.C:
10828         * BufferView_pimpl.C:
10829         * buffer.C:
10830         * converter.C:
10831         * importer.C:
10832         * lyxfunc.C:
10833         * lyxvc.C:
10834         * toc.C:
10835         * vc-backend.C:
10836         changes due to the changed LyXView interface that now returns references
10837         to member variables not pointers.
10838
10839 2002-08-13  Angus Leeming  <leeming@lyx.org>
10840
10841         * WordLangTuple (word, lang_code): return references to strings,
10842         not strings.
10843
10844         * BufferView.h:
10845         * SpellBase.h:
10846         * lyxtext.h: forward-declare WordLangTuple.
10847
10848         * BufferView2.C:
10849         * ispell.C:
10850         * pspell.C:
10851         * text.C: #include "WordLangTuple.h".
10852
10853         * lyxtext.h:
10854         * text.C: (selectNextWordToSpellcheck): constify return type.
10855
10856 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10857
10858         * buffer.C:
10859         * buffer.h:
10860         * lyxtext.h:
10861         * paragraph.C:
10862         * paragraph_pimpl.h:
10863         * text.C:
10864         * text2.C:
10865         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10866         suggested by Angus.
10867         Made updateCounter always count from start of buffer, and removed
10868         second argument (par).
10869         Reverted floats number display to '#'. Perhaps I'll try again when the
10870         code base is sanitized a bit.
10871
10872 2002-08-12  Angus Leeming  <leeming@lyx.org>
10873
10874         * buffer.[Ch] (getLabelList): constify.
10875
10876 2002-08-07  André Pönitz <poenitz@gmx.net>
10877
10878         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10879
10880         * funcrequest.h: extension to keep mouse (x,y) position
10881
10882 2002-08-12  Juergen Vigna  <jug@sad.it>
10883
10884         * BufferView2.C (insertErrors): forbid undo when inserting error
10885         insets.
10886
10887         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10888
10889 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10890
10891         * ParagraphList.[Ch]: new files
10892
10893         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10894
10895         * BufferView2.C (lockInset): ParagraphList changes
10896         * toc.C: ditto
10897         * text2.C: ditto
10898         * bufferlist.C: ditto
10899         * buffer.h: ditto
10900         * buffer.C: ditto
10901
10902 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10903
10904         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10905         unused class variable counter_,
10906
10907         * paragraph.[Ch] (getFirstCounter): delete unused function
10908
10909         * counters.C: include LAssert.h
10910         (reset): add a new function with no arg, change other version to
10911         not have def. arg and to not allow empty arg.
10912
10913         * text2.C (setCounter): remove empty arg from call to Counters::reset
10914
10915 2002-08-11  John Levon  <levon@movementarian.org>
10916
10917         * Makefile.am: add WordLangTuple.h
10918
10919 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10920
10921         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10922         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10923
10924         * insets/insettext.C: InsetList changes
10925
10926         * graphics/GraphicsSupport.C (operator()): InsetList changes
10927
10928         * toc.C (getTocList): InsetList changes
10929
10930         * paragraph_pimpl.[Ch]: InsetList changes
10931
10932         * paragraph.[Ch]: InsetList changes
10933
10934         * buffer.C (inset_iterator): InsetList changes
10935         (setParagraph): ditto
10936         * buffer.h (inset_iterator): ditto
10937         * iterators.C (operator++): ditto
10938         * iterators.h: ditto
10939
10940         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10941
10942         * InsetList.[Ch]: new files, most InsetList handling moved out of
10943         paragraph.C.
10944
10945         * BufferView2.C (removeAutoInsets): InsetList changes
10946         (lockInset): ditto
10947         (ChangeInsets): ditto
10948
10949 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10950
10951         * paragraph_pimpl.h (empty): new function
10952
10953         * paragraph.[Ch] (empty): new function
10954
10955         * other files: use the new Paragraph::empty function
10956
10957 2002-08-09  John Levon  <levon@movementarian.org>
10958
10959         * lyxtext.h: remove unused refresh_height
10960
10961 2002-08-09  John Levon  <levon@movementarian.org>
10962
10963         * Makefile.am:
10964         * sgml.h:
10965         * sgml.C:
10966         * buffer.C:
10967         * paragraph.h:
10968         * paragraph.C: move sgml char escaping out of paragraph
10969
10970         * paragraph.h:
10971         * paragraph.C: remove id setter
10972
10973         * buffer.C:
10974         * paragraph.C:
10975         * paragraph_pimpl.C: remove dead tex_code_break_column
10976
10977         * bufferview_funcs.C: small cleanup
10978
10979         * lyxfunc.C: remove dead proto
10980
10981         * lyxtext.h: make some stuff private. Remove some dead stuff.
10982
10983         * lyxgluelength.C: make as[LyX]String() readable
10984
10985 2002-08-08  John Levon  <levon@movementarian.org>
10986
10987         * LyXAction.h:
10988         * LyXAction.C:
10989         * MenuBackend.C:
10990         * ToolbarDefaults.C:
10991         * lyxfunc.C:
10992         * lyxrc.C:
10993         * toc.C: lyxaction cleanup
10994
10995 2002-08-08  John Levon  <levon@movementarian.org>
10996
10997         * BufferView2.C: small cleanup
10998
10999         * lyxfind.h:
11000         * lyxfind.C: move unnecessary header into the .C
11001
11002 2002-08-08  John Levon  <levon@movementarian.org>
11003
11004         * funcrequest.h: just tedious nonsense
11005
11006         * lyx_main.h:
11007         * lyx_main.C: cleanups
11008
11009         * buffer.C:
11010         * vspace.C: remove dead header lyx_main.h
11011
11012 2002-08-07  Angus Leeming  <leeming@lyx.org>
11013
11014         * Paragraph.[Ch]:
11015         * paragraph_pimpl.h:
11016         Forward declare class Counters in paragraph.h by moving the ctrs member
11017         variable into Paragraph::Pimpl.
11018         (counters): new method, returning a reference to pimpl_->ctrs.
11019
11020         * text2.C: ensuing changes.
11021
11022 2002-08-07  John Levon  <levon@movementarian.org>
11023
11024         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11025
11026         * BufferView_pimpl.C: announce X selection on double/triple
11027           click
11028
11029         * lyx_main.C: use correct bool in batch dispatch
11030
11031         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11032
11033 2002-08-07  André Pönitz <poenitz@gmx.net>
11034
11035         * funcrequest.h: new class to wrap a kb_action and its argument
11036
11037         * BufferView.[Ch]:
11038         * BufferView_pimpl[Ch]:
11039         * LaTeX.C:
11040         * LyXAction.[Ch]:
11041         * lyxfunc.[Ch]:
11042         * lyxrc.C: subsequent changes
11043
11044
11045 2002-08-07  John Levon  <levon@movementarian.org>
11046
11047         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11048           document options change.
11049
11050 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11051
11052         * counters.[Ch]
11053         * text2.C
11054         * paragraph.[Ch]
11055         * makefile.am: move counters functionality over from
11056         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11057
11058 2002-08-06  John Levon  <levon@movementarian.org>
11059
11060         * WordLangTuple.h: new file for word + language code tuple
11061
11062         * SpellBase.h:
11063         * pspell.h:
11064         * pspell.C:
11065         * ispell.h:
11066         * ispell.C:
11067         * lyxtext.h:
11068         * text.C:
11069         * text2.C:
11070         * BufferView.h:
11071         * BufferView2.C: use WordLangTuple
11072
11073         * layout.h:
11074         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11075
11076 2002-08-06  John Levon  <levon@movementarian.org>
11077
11078         * lyx_main.C: fix cmdline batch handling
11079
11080 2002-08-06  André Pönitz <poenitz@gmx.net>
11081
11082         * lyxrc.C: set default for show_banner to true
11083
11084 2002-08-06  John Levon  <levon@movementarian.org>
11085
11086         * pspell.C: fix a crash, and allow new aspell to work
11087
11088 2002-08-06  John Levon  <levon@movementarian.org>
11089
11090         * lyxfunc.C:
11091         * kbmap.C: small cleanup
11092
11093         * vspace.h:
11094         * vspace.C: add const
11095
11096 2002-08-05  John Levon  <levon@movementarian.org>
11097
11098         * LyXAction.C: back to tabular-insert
11099
11100 2002-08-04  John Levon  <levon@movementarian.org>
11101
11102         * BufferView.h:
11103         * BufferView.C: cosmetic change
11104
11105         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11106
11107         * bufferlist.C:
11108         * buffer.h:
11109         * buffer.C:
11110         * lyxcb.h:
11111         * lyxcb.C:
11112         * lyxserver.C:
11113         * lyxvc.C:
11114         * vc-backend.C:
11115         * BufferView2.C: purge all "Lyx" not "LyX" strings
11116
11117         * lyxcursor.h:
11118         * lyxcursor.C: attempt to add some documentation
11119
11120         * lyxfunc.C:
11121         * commandtags.h:
11122         * LyXAction.C:
11123         * ToolbarDefaults.C:
11124         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11125           merge with LFUN_TABULAR_INSERT
11126
11127         * Makefile.am:
11128         * SpellBase.h:
11129         * ispell.h:
11130         * ispell.C:
11131         * pspell.h:
11132         * pspell.C: split up i/pspell implementations into separate
11133           files, many cleanups
11134
11135         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11136
11137         * text2.C: some cleanup
11138
11139         * lyxfunc.C: don't check for isp_command == "none" any more, it
11140           didn't make any sense
11141
11142 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11143
11144         * counters.[Ch]
11145         * text2.C
11146         * paragraph.[Ch]
11147         * makefile.am: move counters functionality over
11148         from text2.C/paragraph.[Ch] to counters.[Ch], and
11149         make proper C++.
11150 2002-08-02  John Levon  <levon@movementarian.org>
11151
11152         * buffer.C: s/lyxconvert/lyx2lyx/
11153
11154 2002-08-02  Angus Leeming  <leeming@lyx.org>
11155
11156         * lyxlex.C: revert John's change as it breaks reading of the user
11157         preamble.
11158
11159 2002-08-02  Angus Leeming  <leeming@lyx.org>
11160
11161         * importer.C (Import):
11162         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11163         changes due to LyXView::view() now returning a boost::shared_ptr.
11164
11165 2002-08-02  John Levon  <levon@movementarian.org>
11166
11167         * lyxlex.C: small cleanup
11168
11169 2002-08-02  John Levon  <levon@movementarian.org>
11170
11171         * text2.C (status): small cleanup, no logic change
11172
11173 2002-08-01  John Levon  <levon@movementarian.org>
11174
11175         * buffer.h:
11176         * buffer.C (writeFile): don't output alerts, caller
11177           handles this
11178
11179         * bufferlist.C:
11180         * lyx_cb.C: from above
11181
11182         * lyxfunc.C: allow to open non-existent files
11183
11184 2002-07-31  John Levon  <levon@movementarian.org>
11185
11186         * lyxserver.C: don't let incidental errors get
11187           in the way (errno)
11188
11189 2002-07-30  John Levon  <levon@movementarian.org>
11190
11191         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11192
11193 2002-07-30  John Levon  <levon@movementarian.org>
11194
11195         * lyxserver.h:
11196         * lyxserver.C: remove I/O callback too
11197
11198 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11199
11200         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11201         log.
11202
11203 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11204
11205         * many files: strip,frontStrip -> trim,ltrim,rtrim
11206
11207 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11208
11209         * PrinterParams.h: remove extern containsOnly, and include
11210         support/lstrings.h instead.
11211
11212         * LaTeX.C (scanAuxFile): modify because of strip changes
11213         (deplog): ditto
11214         * buffer.C (makeLaTeXFile): ditto
11215         * bufferparams.C (writeFile): ditt
11216         * lyxfont.C (stateText): ditto
11217         * lyxserver.C (read_ready): ditto
11218         * vc-backend.C (scanMaster): ditto
11219
11220         * BufferView_pimpl.h: ws changes
11221
11222         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11223
11224 2002-07-26  André Pönitz <poenitz@gmx.net>
11225
11226         * kb_sequence.C: remove unnedred usings
11227
11228 2002-07-26  Juergen Vigna  <jug@sad.it>
11229
11230         * lyxfind.C (LyXReplace): we have to check better if the returned
11231         text is not of theLockingInset()->getLockingInset().
11232
11233 2002-07-25  Juergen Vigna  <jug@sad.it>
11234
11235         * lyxfind.C (LyXReplace): don't replace if we don't get the
11236         right LyXText.
11237
11238         * undo_funcs.C (createUndo): remove debugging code.
11239
11240 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11241
11242         * buffer.C (parseSingleLyXformat2Token): Use default placement
11243         when reading old floats.
11244
11245         * FloatList.C (FloatList): Change the default placement of figure
11246         and tables to "tbp".
11247
11248 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11249
11250         * MenuBackend.C: using std::max
11251
11252 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11253
11254         * MenuBackend.C (expandToc):
11255         (expandToc2): code moved from xforms menu frontend. It is now
11256         generic and TOCs are transparent to menu frontends.
11257
11258 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11259
11260         * toc.C (getTocList): protect against buf=0
11261
11262         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11263         Menu as first parameter. Now, this calls itself recursively to
11264         expand a whole tree (this will be useful for TOC handling)
11265         (expandFloatInsert): remove 'wide' version of floats
11266
11267         * MenuBackend.h (submenuname): returns the name of the submenu.
11268         (submenu): returns the submenu itself, provided it has been
11269         created by MenuBackend::expand
11270
11271 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11272
11273         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11274         insets which have noFontChange == true. (bug #172)
11275
11276 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11277
11278         * BufferView_pimpl.C: add connection objects and use them...
11279         (Pimpl): here.
11280
11281 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11282
11283         * MenuBackend.C (expandLastfiles):
11284         (expandDocuments):
11285         (expandFormats):
11286         (expandFloatListInsert):
11287         (expandFloatInsert):
11288         (expand): split expand in parts
11289
11290 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11291
11292         * lyx_gui.C: use lyx_gui::exit()
11293
11294 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11295
11296         * LyXAction.C: show the failing pseudo action
11297
11298 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11299
11300         * buffer.C (readFile): Run the lyxconvert script in order to read
11301         old files.
11302
11303 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11304
11305         * LyXAction.C:
11306         * commandtags.h:
11307         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11308
11309 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11310
11311         * LyXAction.C:
11312         * commandtags.h:
11313         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11314
11315 2002-07-22  Herbert Voss  <voss@lyx.org>
11316
11317         * lengthcommon.C:
11318         * lyxlength.[Ch]: add support for the vertical lengths
11319
11320 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11321
11322         * toc.[Ch]: std:: fixes
11323
11324 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11325
11326         * lyxrc.C: do not include lyx_main.h
11327
11328         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11329         for layouts
11330
11331         * lyxrc.C:
11332         * encoding.C:
11333         * bufferlist.C:
11334         * BufferView2.C: include "lyxlex.h"
11335
11336         * tabular.h:
11337         * bufferparams.h: do not #include "lyxlex.h"
11338
11339         * lyxtextclasslist.C (Add): remove method
11340         (classlist): renamed to classlist_
11341
11342         * paragraph_pimpl.C:
11343         * paragraph.C:
11344         * text2.C:
11345         * CutAndPaste.C:
11346         * bufferview_funcs.C:
11347         * bufferlist.C:
11348         * text.C:
11349         * LaTeXFeatures.C:
11350         * buffer.C:
11351         * toc.C (getTocList): use BufferParams::getLyXTextClass
11352
11353         * toc.C (getTocList): use InsetFloat::addToToc
11354
11355         * toc.[Ch]: new files, containing helper functions to handle table
11356         of contents
11357
11358         * lyxfunc.C (dispatch): no need to remove spaces around command
11359         given as a string
11360         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11361         first command of the sequence; it is not very clever, but I do not
11362         have a better idea, actually
11363
11364         * LyXAction.C (LookupFunc): make sure to remove space at the
11365         beginning and end of the command
11366
11367 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11368
11369         * MenuBackend.C (getMenubar): new method: return the menubar of
11370         this menu set
11371         (read): treat differently reading of menu and menubar (in
11372         particular, the menubar has no name now)
11373         (Menu::menubar): remove
11374
11375         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11376         saving is finished
11377
11378 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11379
11380         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11381         a bibitem inset in a RTL paragraph.
11382
11383 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11384
11385         * paragraph_pimpl.C: constify
11386
11387         * BufferView_pimpl.C:
11388         * LaTeX.C:
11389         * lyxfunc.C: fix dispatch in a nicer way
11390
11391 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11392
11393         * lyxfunc.C (dispatch):
11394         * BufferView_pimpl.C:
11395         * BufferView_pimpl.h:
11396         * BufferView.C:
11397         * BufferView.h: rename Dispatch() to dispatch()
11398
11399         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11400
11401         * lyxlayout.C (Read): honor DependsOn tag
11402
11403         * lyxlayout.[Ch] (depends_on): new method
11404
11405         * version.C.in: update lyx_docversion
11406
11407         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11408
11409         * paragraph.C (validate): remove from here...
11410         * paragraph_pimpl.C (validate): ... and move here
11411         (isTextAt): make it const
11412
11413         * buffer.C (getLists): ws cleanup
11414
11415 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11416
11417         * language.C (read): Use iso8859-1 encoding in latex_lang
11418         (this prevents LyX from crashing when using iso10646-1 encoding).
11419
11420 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11421
11422         * text2.C (toggleInset): if cursor is inside an inset, close the
11423         inset and leave cursor _after_ it
11424
11425 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11426
11427         * lyxfunc.C: move minibuffer completion handling out of here
11428
11429 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11430
11431         * BufferView_pimpl.C:
11432         * LaTeX.C: fix dispatch calls
11433
11434 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11435
11436         * text.C (drawChars): Fix Arabic text rendering.
11437
11438 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11439
11440         * LyXAction.C:
11441         * commandtags.h:
11442         * lyxfunc.C: remove message-push/pop
11443
11444         * lyxserver.C:
11445         * lyxfunc.h:
11446         * lyxfunc.C: rationalise some code by removing verboseDispatch
11447           in favour of a bool argument to dispatch()
11448
11449 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11450
11451         * lyx_main.C (init): make sure to read symlinks as absolute paths
11452
11453 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11454
11455         * lyxfunc.h:
11456         * lyxfunc.C: no need for commandshortcut to be a member
11457
11458 2002-07-15  André Pönitz <poenitz@gmx.net>
11459
11460         * converter.C: add support for $$s (scripts from lib/scripts dir)
11461         * lyx_main.C: white space
11462
11463 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11464
11465         * bufferlist.C:
11466         * lyxrc.h:
11467         * lyxrc.C: remove second exit confirmation
11468
11469 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11470
11471         * BufferView.h:
11472         * BufferView.C:
11473         * BufferView2.C:
11474         * BufferView_pimpl.h:
11475         * BufferView_pimpl.C:
11476         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11477
11478 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11479
11480         * MenuBackend.C (expand): add numeric shortcuts to document menu
11481
11482         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11483
11484 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11485
11486         * lyxfont.C (setLyXFamily):
11487         (setLyXSeries):
11488         (setLyXShape):
11489         (setLyXSize):
11490         (setLyXMisc):
11491         (lyxRead):
11492         * debug.C (value):
11493         * buffer.C (asciiParagraph): use ascii_lowercase
11494
11495 2002-07-15  Mike Fabian  <mfabian@suse.de>
11496
11497         * lyxlex_pimpl.C (search_kw):
11498         * lyxlex.C (getLongString):
11499         * converter.h (operator<):
11500         * converter.C (operator<):
11501         * buffer.C (parseSingleLyXformat2Token):
11502         (asciiParagraph):
11503         * ToolbarDefaults.C (read):
11504         * MenuBackend.C (checkShortcuts):
11505         (read):
11506         * LColor.C (getFromGUIName):
11507         (getFromLyXName): use the compare_ascii_no_case instead of
11508         compare_no_case, because in turkish, 'i' is not the lowercase
11509         version of 'I', and thus turkish locale breaks parsing of tags.
11510
11511 2002-07-16  Angus Leeming  <leeming@lyx.org>
11512
11513         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11514         now takes a Buffer const & argument.
11515
11516 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11517
11518         * BufferView.C (resize): check there's a buffer to resize
11519
11520 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11521
11522         * lyxfunc.C: remove dead code
11523
11524         * lyxserver.h:
11525         * lyxserver.C: use lyx_guii::set_read_callback
11526
11527 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11528
11529         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11530         an inset in a RTL paragraph.
11531
11532 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11533
11534         * lyxfunc.C: repaint after a font size update
11535
11536 2002-07-15  André Pönitz <poenitz@gmx.net>
11537
11538         * lyxlength.C: inBP should be able to return negative values
11539
11540 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11541
11542         * lyxfunc.C: use lyx_gui::update_fonts()
11543
11544 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11545
11546         * lyxfunc.C: use lyx_gui::update_color()
11547
11548 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11549
11550         * bufferlist.C:
11551         * lyxfunc.h:
11552         * lyxfunc.C:
11553         * lyxrc.h:
11554         * lyxrc.C: remove file->new asks for name option, and let
11555           buffer-new take an argument
11556
11557 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11558
11559         * BufferView_pimpl.C: remove unneeded extra repaint()
11560
11561 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11562
11563         * LyXAction.C: allow command-sequence with NoBuffer
11564
11565         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11566
11567 2002-07-10  Angus Leeming  <leeming@lyx.org>
11568
11569         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11570
11571 2002-07-09  Angus Leeming  <leeming@lyx.org>
11572
11573         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11574
11575 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * lengthcommon.h: whitespace
11578
11579         * lyxfunc.C: update scrollbar after goto paragraph
11580
11581         * lyxtext.h: factor out page break drawing, and fix it so
11582           page break/added space paints as selected nicely
11583
11584 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * BufferView_pimpl.C: add FIXMEs, clean up a little
11587
11588 2002-07-09  André Pönitz <poenitz@gmx.net>
11589
11590         * lyxfont.[Ch]: support for wasy symbols
11591
11592 2002-07-08  André Pönitz <poenitz@gmx.net>
11593
11594         * BufferView_pimpl.C: apply John's patch for #93.
11595
11596 2002-07-05  Angus Leeming  <leeming@lyx.org>
11597
11598         * BufferView_pimpl.C (buffer): generate previews if desired.
11599
11600         * LColor.h: add "preview" to the color enum.
11601
11602         * LColor.C (LColor): add a corresponding entry to the items array.
11603
11604         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11605         with this buffer.
11606
11607 2002-07-05  Angus Leeming  <leeming@lyx.org>
11608
11609         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11610         The body of the code is now in the method that is passed an ostream &
11611         rather than a file name.
11612         Pass an additional only_preamble parameter, useful for the forthcoming
11613         preview stuff.
11614
11615 2002-07-03  André Pönitz <poenitz@gmx.net>
11616
11617         * lyxfunc.C: simplify getStatus() a bit for math stuff
11618
11619 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11620
11621         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11622
11623 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11624
11625         * text.C (changeRegionCase): do not change case of all the
11626         document when region ends at paragraph end (bug #461)
11627
11628 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11629
11630         * paragraph.C (startTeXParParams):
11631         (endTeXParParams): add \protect when necessary
11632
11633 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11634
11635         * BufferView_pimpl.C (workAreaExpose): remove warning
11636
11637 2002-06-27  Angus Leeming  <leeming@lyx.org>
11638
11639         * Makefile.am: add lyxlayout_ptr_fwd.h.
11640
11641 2002-06-26  André Pönitz <poenitz@gmx.net>
11642
11643         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11644
11645 2002-06-25  Angus Leeming  <leeming@lyx.org>
11646
11647         * lyxfunc.C (dispatch): Comment out the call to
11648         grfx::GCache::changeDisplay. The method no longer exists now that the
11649         pixmap generation part of the graphics loader has been moved into
11650         InsetGraphics.
11651
11652 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11653
11654         * text2.C: layout as layout
11655
11656         * text.C: layout as layout
11657
11658         * tabular.C (OldFormatRead): layout as layout
11659
11660         * paragraph_pimpl.C (TeXDeeper): layout as layout
11661         (realizeFont): layout as layout
11662
11663         * paragraph.C (writeFile): layout as layout
11664         (validate): layout as layout
11665         (getFont): layout as layout
11666         (getLabelFont): layout as layout
11667         (getLayoutFont): layout as layout
11668         (breakParagraph): layout as layout
11669         (stripLeadingSpaces): layout as layout
11670         (getEndLabel): layout as layout
11671         (getMaxDepthAfter): layout as layout
11672         (applyLayout): layout as layout
11673         (TeXOnePar): layout as layout
11674         (simpleTeXOnePar): layout as layout
11675         (TeXEnvironment): layout as layout
11676         (layout): layout as layout
11677         (layout): layout as layout
11678
11679         * lyxtextclass.C (compare_name): new functor to work with
11680         shared_ptr, layout as layout
11681         (Read): layout as layout
11682         (hasLayout): layout as layout
11683         (operator): layout as layout
11684         (delete_layout): layout as layout
11685         (defaultLayout): layout as layout
11686
11687         * lyxlayout_ptr_fwd.h: new file
11688
11689         * lyxlayout.C (Read): layout as layout
11690
11691         * lyx_cb.C (MenuInsertLabel): layout as layout
11692
11693         * bufferlist.C (newFile): layout as layout
11694
11695         * buffer.C (readLyXformat2): layout as layout
11696         (parseSingleLyXformat2Token): layout as layout
11697         (insertStringAsLines): layout as layout
11698         (asciiParagraph): layout as layout
11699         (latexParagraphs): layout as layout
11700         (makeLinuxDocFile): layout as layout
11701         (simpleLinuxDocOnePar): layout as layout
11702         (makeDocBookFile): layout as layout
11703         (simpleDocBookOnePar): layout as layout
11704         (getLists): layout as layout
11705
11706         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11707
11708         * CutAndPaste.C (cutSelection): layout as layout
11709         (pasteSelection): layout as layout
11710         (SwitchLayoutsBetweenClasses): layout as layout
11711
11712         * BufferView_pimpl.C (Dispatch): layout as layout
11713         (smartQuote): layout as layout
11714
11715         * BufferView2.C (unlockInset): layout as layout
11716
11717 2002-06-24  André Pönitz <poenitz@gmx.net>
11718
11719         * lyxfunc.C: fix #487
11720
11721 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11722
11723         * lyxrc.h:
11724         * lyxrc.C:
11725         * lyxfunc.C: remove display_shortcuts, show_banner
11726
11727 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11728
11729         * Buffer_pimpl.C: oops, update on resize
11730
11731 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11732
11733         * buffer.C:
11734         * converter.C:
11735         * exporter.C:
11736         * lyxfunc.C:
11737         * BufferView.h:
11738         * BufferView.C: use repaint()
11739
11740         * BufferView_pimpl.h:
11741         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11742           as it's a clearer description. Remove superfluous
11743           redraws.
11744
11745 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11746
11747         * text.C: fix bug 488. Not ideal, but getting
11748           getWord() to work properly for the insets that
11749           matter is more difficult ...
11750
11751 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11752
11753         * BufferView_pimpl.C:
11754         * LyXAction.C:
11755         * commandtags.h:
11756         * lyxfunc.C: remove the six million index lyxfuncs to just
11757           one, and DTRT (bug 458)
11758
11759 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11760
11761         * BufferView.h:
11762         * BufferView.C:
11763         * BufferView_pimpl.h:
11764         * BufferView_pimpl.C: clean up resize() stuff,
11765           and unnecessary updateScreen()s
11766
11767 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11768
11769         * BufferView.h:
11770         * BufferView.C:
11771         * BufferView_pimpl.h:
11772         * BufferView_pimpl.C:
11773         * lyxfind.h:
11774         * lyxfind.C:
11775         * minibuffer.C: remove focus management of workarea,
11776           not needed. Use screen's greyOut()
11777
11778 2002-06-17  Herbert Voss  <voss@lyx.org>
11779
11780         * converter.C: (convert) do not post a message, when converting
11781         fails, let the calling function decide what to do in this case
11782
11783 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11784
11785         * lyxfunc.C: tidy up a little
11786
11787 2002-06-16    <alstrup@diku.dk>
11788
11789         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11790         Got rid of FORMS_H_LOCATION include. Now we are
11791         GUII.
11792
11793 2002-06-15  LyX Development team  <lyx@rilke>
11794
11795         * buffer.[Ch] (sgmlOpenTag):
11796         (sgmlCloseTag): Added support for avoiding pernicious mixed
11797         content. Return number of lines written.
11798
11799         (makeLinuxDocFile):
11800         (makeDocBookFile): Fixed calls to sgml*Tag.
11801         Simple white space clean.
11802
11803         (simpleDocBookOnePar): Simple white space clean.
11804
11805         * tabular.[Ch] (docBook): Renamed to docbook and got another
11806         argument to related with the pernicious mixed content.
11807
11808         (docbookRow): Fixed calls for docbook inset method.
11809
11810 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11811
11812         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11813         so it's X11 independent.
11814
11815         * kb*.[Ch]: ditto.
11816
11817         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11818
11819 2002-06-15  Lyx Development team  <lyx@electronia>
11820
11821         * intl.h: Renamed getTrans to getTransManager.
11822
11823 2002-06-14  Angus Leeming  <leeming@lyx.org>
11824
11825         * Makefile.am: nuke forgotten stl_string_fwd.h.
11826
11827 2002-06-12  Angus Leeming  <leeming@lyx.org>
11828
11829         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11830
11831 2002-06-13  Angus Leeming  <leeming@lyx.org>
11832
11833         * LaTeX.C:
11834         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11835
11836 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11837
11838         * kbmap.C (getiso): add support for cyrillic and greek
11839
11840 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11841
11842         * BufferView.h:
11843         * BufferView.C:
11844         * BufferView_pimpl.h:
11845         * BufferView_pimpl.C: move bogus scrolling logic
11846           to xforms
11847
11848 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11849
11850         * lyxfunc.C:
11851         * BufferView_pimpl.C: view->resize() change
11852
11853 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11854
11855         * BufferView_pimpl.C: topCursorVisible
11856           prototype change
11857
11858 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11859
11860         * Makefile.am:
11861         * lyx_gui.h:
11862         * lyx_gui.C: move to frontends/
11863
11864         * main.C:
11865         * lyx_main.h:
11866         * lyx_main.C: changes from above
11867
11868 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * intl.C:
11871         * intl.h:
11872         * kbmap.C:
11873         * kbsequence.C:
11874         * lyx_cb.C:
11875         * lyx_main.C: minor tidy
11876
11877 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11878
11879         * BufferView_pimpl.h:
11880         * BufferView_pimpl.C:
11881         * BufferView.h:
11882         * BufferView.C: make painter() const,
11883           remove dead code
11884
11885         * BufferView2.C: use screen() accessor
11886
11887         * lyx_main.h:
11888         * lyx_main.C: some minor cleanup
11889
11890 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11891
11892         * BufferView_pimpl.h:
11893         * BufferView_pimpl.C: remove enter/leaveView,
11894           use workHeight()
11895
11896 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11897
11898         * BufferView.h:
11899         * BufferView.C:
11900         * BufferView2.C:
11901         * BufferView_pimpl.h:
11902         * BufferView_pimpl.C: only construct screen once,
11903           rename
11904
11905         * lyxrc.C: remove pointless comment
11906
11907 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11908
11909         * BufferView.h:
11910         * BufferView.C: remove active() and belowMouse()
11911
11912         * BufferView_pimpl.h:
11913         * BufferView_pimpl.C: use workarea() not workarea_,
11914           and make it use a scoped_ptr instead
11915
11916 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11917
11918         * lyx_gui.C: add debug message on BadWindow
11919
11920 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11921
11922         * sp_spell.C: fdopen is not part of the C++ standard.
11923
11924         * paragraph.C (InsetIterator): use >= instead of ==
11925
11926 2002-06-07  Angus Leeming  <leeming@lyx.org>
11927
11928         Fixes needed to compile with Compaq cxx 6.5.
11929         * BufferView_pimpl.C:
11930         * DepTable.C:
11931         * buffer.C:
11932         * converter.C:
11933         * encoding.C:
11934         * lyx_gui.C:
11935         * lyx_main.C:
11936         * lyxtextclasslist.C:
11937         * minibuffer.C:
11938         * sp_spell.C:
11939         * tabular_funcs.C:
11940         * vc-backend.C:
11941         all c-library variables have been moved into namespace std. Wrap
11942         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11943
11944         * lyxlength.C:
11945         * tabular-old.C:
11946         * tabular.C:
11947         Add a using std::abs declaration.
11948
11949         * kbmap.h (modifier_pair):
11950         * paragraph.h (InsetTable, InsetList):
11951         * lyxfont.h (FontBits):
11952         type definition made public.
11953
11954         * bufferlist.C (emergencyWriteAll): the compiler complains that
11955         there is more than one possible lyx::class_fun template to choose from.
11956         I re-named the void specialisation as lyx::void_class_fun.
11957
11958         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11959
11960         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11961         the compiler is is unable to find tostr in write_attribute.
11962
11963 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11964
11965         * buffer.C (sgmlError): hide #warning
11966
11967 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11968
11969         * xtl/*: get rid of xtl, which is not in use anyway
11970
11971         * LyXAction.C (init):
11972         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11973         were unimplemented xtl experimentation
11974
11975 2002-06-04  André Pönitz <poenitz@gmx.net>
11976
11977         * lyxfunc.C: disable array operation on simple formulae
11978
11979 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11980
11981         * converter.C: constify a bit
11982
11983 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11984
11985         * lyx_gui.C: check xforms version correctly
11986
11987 2002-04-30  Herbert Voss  <voss@lyx.org>
11988
11989         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11990         "keep" option
11991
11992 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11993
11994         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11995           attempt to register it with a VCS)
11996
11997 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11998
11999         * lyx_main.C (init): honor variables LYX_DIR_13x and
12000         LYX_USERDIR_13x
12001
12002 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12003
12004         * buffer.h:
12005         * buffer.C:
12006         * lyx_main.C: fix a crash on bad command line,
12007           and give a useful exit status on error
12008
12009         * lyxfunc.C (doImport): allow -i lyx to work
12010
12011 2002-03-30  André Pönitz <poenitz@gmx.net>
12012
12013         * lyxfunc.C: mathed font changes
12014
12015 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12016
12017         * LaTeX.C:
12018         * importer.h:
12019         * importer.C:
12020         * lyx_sty.h:
12021         * lyx_sty.C:
12022         * lyxlex.C:
12023         * lyxrow.h:
12024         * lyxtext.h:
12025         * paragraph.h:
12026         * paragraph.C:
12027         * texrow.h:
12028         * texrow.C:
12029         * text.C:
12030         * trans_mgr.h: srcdocs, and some minor cleanups
12031
12032 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12033
12034         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12035         call getFont all the time)
12036
12037 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12038
12039         * switch from SigC signals to boost::signals
12040
12041 2002-05-29  André Pönitz <poenitz@gmx.net>
12042
12043         * paragraph_pimpl.C (getChar): don't call size() too often...
12044
12045 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12046
12047         * paragraph_pimpl.C (insertChar): do not try to update tables when
12048         appending (pos == size())
12049
12050         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12051         in order to reduce drastically the number of comparisons needed to
12052         parse a large document
12053
12054 2002-05-29  André Pönitz <poenitz@gmx.net>
12055
12056         * text.C:
12057         * text2.C:
12058         * lyxtextclass.C:
12059         * sp_pspell.h:
12060         * textclasslist.[Ch]:
12061         * sp_ispell.h: whitespace change
12062
12063 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12064
12065         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12066         lyxaction directly now.
12067
12068 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12069
12070         * trans.C:
12071         * lyxfont.C:
12072         * lyxvc.C: remove unused headers
12073
12074 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12075
12076         * Makefile.am:
12077         * buffer.h:
12078         * undostack.h:
12079         * undostack.C:
12080         * undo_funcs.h:
12081         * undo_funcs.C: some cleanups. Use shared_ptr
12082           and a template for the undo stacks.
12083
12084 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12085
12086         * BufferView_pimpl.h:
12087         * BufferView_pimpl.C:
12088         * kbmap.h:
12089         * kbmap.C:
12090         * kbsequence.h:
12091         * kbsequence.C:
12092         * lyxfunc.h:
12093         * lyxfunc.C:
12094         * text2.C: use key_state/mouse_state
12095
12096 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12097
12098         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12099         and LSubstring
12100
12101         * chset.C: change include order
12102         (loadFile): use boost regex and get rid of LRegex and LSubstring
12103
12104         * Makefile.am (BOOST_LIBS): new variable
12105         (lyx_LDADD): use it
12106
12107         * LaTeX.C: change include order.
12108         (scanAuxFile): use boost regex and get rid of LRegex and
12109         LSubstring
12110         (deplog): ditto
12111
12112 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12113
12114         * ColorHandler.h:
12115         * ColorHandler.C:
12116         * FontInfo.h:
12117         * FontInfo.C: moved to frontends/xforms/
12118
12119         * FontLoader.h:
12120         * FontLoader.C: moved into frontends for GUIIzation
12121
12122         * Makefile.am:
12123         * lyx_gui.C:
12124         * lyxfont.C:
12125         * lyxfunc.C: changes from above
12126
12127 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12128
12129         * LColor.C: remove spurious X include
12130
12131         * BufferView_pimpl.C:
12132         * Makefile.am:
12133         * font.h:
12134         * font.C:
12135         * text.C:
12136         * text2.C: move font metrics to frontends/
12137
12138 2002-05-24  Juergen Vigna  <jug@sad.it>
12139
12140         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12141         setting the undo_cursor.
12142
12143         * ParagraphParameters.h: include local includes first.
12144
12145 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12146
12147         * BufferView_pimpl.C:
12148         * BufferView_pimpl.h:
12149         * Makefile.am:
12150         * WorkArea.h:
12151         * WorkArea.C:
12152         * screen.C: move WorkArea into frontends/
12153
12154         * lyxscreen.h:
12155         * screen.C:
12156         * text.C:
12157         * BufferView.C:
12158         * BufferView2.C: move LyXScreen into frontends/
12159
12160         * lyxlookup.h:
12161         * lyxlookup.C:
12162         * lyx_gui.C: move lyxlookup into frontends/xforms/
12163
12164 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12165
12166         * BufferView2.C:
12167         * BufferView_pimpl.C:
12168         * FontLoader.C:
12169         * LyXView.h:
12170         * LyXView.C:
12171         * Makefile.am:
12172         * WorkArea.C:
12173         * XFormsView.h:
12174         * XFormsView.C:
12175         * buffer.C:
12176         * bufferlist.C:
12177         * bufferview_funcs.C:
12178         * converter.C:
12179         * importer.C:
12180         * lyx_cb.C:
12181         * lyx_gui.C:
12182         * lyx_main.C:
12183         * lyx_find.C:
12184         * lyxfunc.C:
12185         * lyxvc.C:
12186         * minibuffer.C:
12187         * text.C:
12188         * text2.C:
12189         * trans.C:
12190         * vc-backend.C: move LyX/XFormsView into frontends/
12191
12192 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12193
12194         * Makefile.am:
12195         * PainterBase.C:
12196         * PainterBase.h:
12197         * Painter.C:
12198         * Painter.h:
12199         * WorkArea.C:
12200         * WorkArea.h:
12201         * screen.C:
12202         * tabular.C:
12203         * text.C:
12204         * text2.C: move Painter to frontends/
12205
12206 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12207
12208         * buffer.C: comment out some some code that depend upon lyx_format
12209         < 220
12210
12211         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12212         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12213
12214         * buffer.h (NO_COMPABILITY): turn off compability
12215
12216         * ColorHandler.C: include scoped_array.hpp
12217
12218         * font.C: Use more specific smart_ptr header.
12219         * Painter.C: ditto
12220         * gettext.C: ditto
12221         * ShareContainer.h: ditto
12222         * lyx_main.h: ditto
12223         * kbmap.h: ditto
12224         * FontInfo.h: ditto
12225         * BufferView_pimpl.h: ditto
12226         * ColorHandler.h: ditto
12227
12228         * kbmap.C (defkey): change call to shared_ptr::reset
12229
12230 2002-05-21  Juergen Vigna  <jug@sad.it>
12231
12232         * buffer.C (insertErtContents): fix to insert ert asis if it is
12233         non empty. Skip it completely if it contains only whitespaces.
12234
12235 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12236
12237         * BufferView_pimpl.C:
12238         * BufferView2.C: clear selection on paste (bug 393)
12239
12240 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12241
12242         * DepTable.C: include ctime
12243
12244 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12245
12246         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12247
12248 2002-05-14  Juergen Vigna  <jug@sad.it>
12249
12250         * text.C (breakParagraph): fixed function to honor the keepempty
12251         layout in the right maner and also to permit the right breaking
12252         algorithm on empty or non empyt keepempty paragraphs.
12253
12254         * paragraph.C (breakParagraph): we have to check also if the par
12255         is really empty (!size()) for isempty otherwise we do the wrong
12256         paragraph break.
12257
12258 2002-05-10  Juergen Vigna  <jug@sad.it>
12259
12260         * buffer.[Ch] : The following are only changes to the ert
12261         compatibility read reading old LaTeX layout and font stuff and
12262         convert it to ERTInsets.
12263
12264         * buffer.h: added isErtInset().
12265
12266         * buffer.C (struct ErtComp): add a fromlayout bool to check
12267         if we're inside a LaTeX layout.
12268         (isErtInset): new helper function.
12269         (insertErtContents): look for other ert insets before this one
12270         and insert the contents there, so that we don't have subsequent
12271         ERT insets with nothing between them. This way we create only one
12272         inset with multiple paragraphs. Also check if we don't insert only
12273         spaces ' ' as they are ignored anyway afterwards in the .tex file
12274         so if we have only spaces we will ignore this latex part in the
12275         new file.
12276         (parseSingleLyXformat2Token \\layout): better compatibility when
12277         reading layout-latex stuff.
12278         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12279         language tag.
12280         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12281         stuff after reading the inset only get the information back from
12282         the stack.
12283
12284 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12285
12286         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12287
12288         * LaTeXFeatures.C (getBabelOptions): New method.
12289
12290 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12291
12292         * BufferView_pimpl.C (Dispatch): work around missing argument for
12293         'layout'
12294
12295 2002-05-08  Juergen Vigna  <jug@sad.it>
12296
12297         * text.C (leftMargin): handle paragraph leftindent.
12298
12299         * paragraph.C (writeFile): write the new \\leftindent tag.
12300         (validate): handle leftindent code.
12301         (TeXEnvironment): handle paragraphleftindent code again.
12302
12303         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12304
12305         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12306         for paragrap_extra indent code and new token \\leftindent.
12307         (latexParagraphs): handle the leftindent as environment.
12308
12309         * ParameterStruct.h: added leftindent support.
12310
12311         * ParagraphParameters.C (leftIndent): added support functions for
12312         the paragraph left indent.
12313
12314         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12315         more appropriate.
12316
12317 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12318
12319         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12320         inside insetERT.
12321
12322         * text.C (computeBidiTables): No bidi in insetERT.
12323
12324         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12325         in RTL documents.
12326
12327 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * version.C.in: pre 5
12330
12331 2002-05-02  José Matos  <jamatos@fep.up.pt>
12332         * buffer.C (makeDocBookFile): white space changes, add newline to
12333         command styles.
12334         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12335
12336         * tabular.C (docBook): fix typo.
12337
12338 2002-05-03  Juergen Vigna  <jug@sad.it>
12339
12340         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12341         change in LyXText as we can not be sure it was not freed.
12342         (drawOneRow): remove unused code.
12343
12344         * text.C (drawInset): redo the calculation of the need_break_row as
12345         it could have a row which was already freed.
12346         (draw): look at the return value of drawInset and return false if
12347         it also returned false.
12348         (paintRowText): look at the return value of draw and return false if
12349         it also returned false.
12350
12351         * lyxtext.h: added bool return type to drawInset() and draw() so that
12352         if we have a change in the row so that the rowbreak has to be redone
12353         we abort drawing as it will be called again.
12354
12355 2002-05-02  Juergen Vigna  <jug@sad.it>
12356
12357         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12358         a change in the maintext also if we're inside an inset.
12359         (Dispatch): set the cursor again after a break line and after the
12360         screen has been updated as it could be we're in a different row.
12361
12362         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12363         to set the cursor behind the pargraph with > size().
12364         (setCursor): check also for the same paragraph when checking where
12365         to put the cursor if we have a NFR inset.
12366
12367         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12368         parts of layout read further up as it still was in the wrong
12369         position.
12370
12371 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * screen.C (drawFromTo): change sine fullRebreak always return
12374         true.
12375
12376         * buffer.C (parseSingleLyXformat2Token): reindent some
12377
12378         * BufferView_pimpl.C (update): change since fullRebreak always
12379         return true.
12380         (Dispatch): git rid of the last hardcoded "Standard"s.
12381
12382 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12383
12384         * text2.[Ch] (fullRebreak): make it return void now that we always
12385         returned true.
12386
12387 2002-04-30  Juergen Vigna  <jug@sad.it>
12388
12389         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12390         ert compatibility check for "latex" layout.
12391
12392 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12393
12394         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12395         minipages: use col% instead of p%, and also use the current font.
12396         (makeLaTeXFile): Fix use babel condition.
12397         (parseSingleLyXformat2Token): Correct font when reading old floats.
12398
12399 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12400
12401         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12402         inserting list of floats.
12403
12404 2002-04-25  Herbert Voss  <voss@lyx.org>
12405
12406         * MenuBackend.C (expand): don't add the graphics extensions to the
12407         export menu
12408
12409 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12410
12411         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12412         non-existing layout, do not complain if it was the default layout
12413         of the original class (bug #342)
12414
12415 2002-04-24  Juergen Vigna  <jug@sad.it>
12416
12417         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12418         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12419
12420 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12421
12422         * buffer.C (getBibkeyList): If using \bibliography, return the
12423         option field with the reference itself. Enables us to provide natbib
12424         support when using \bibliography.
12425
12426 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12427
12428         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12429
12430         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12431         natbib is provided by the LaTeX class.
12432
12433 2002-04-23  Juergen Vigna  <jug@sad.it>
12434
12435         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12436         Wakeup functions.
12437
12438         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12439
12440 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12441
12442         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12443
12444         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12445         ensuremath around textordmasculine, textordfeminine and
12446         textdegree.
12447
12448 2002-04-19  Juergen Vigna  <jug@sad.it>
12449
12450         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12451         reinitializing the buffer otherwise row-dimensions may be wrong.
12452         (update): reset also the selection cursors if they do exits otherwise
12453         their x/y positions may be wrong.
12454
12455         * text2.C (cursorDown): don't enter the inset if we came from a row
12456         above and are one row over the inset.
12457
12458         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12459         really leaving an inset.
12460
12461 2002-04-18  Juergen Vigna  <jug@sad.it>
12462
12463         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12464         of the selected paragraph does not have the selected layout also if
12465         the last one had!
12466
12467         * text2.C (setLayout): fixed bug which did not change last selected
12468         paragraph.
12469
12470         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12471         changed the read and substituted \\end_float with \\end_inset!
12472
12473         * BufferView_pimpl.C (cursorPrevious):
12474         (cursorNext): fixed to make it work with rows heigher than the work
12475         area without moving the cursor only the draw of the row.
12476         (workAreaMotionNotify): fix jumping over high rows.
12477
12478 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12479
12480         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12481         Ressler.
12482
12483 2002-04-16  Juergen Vigna  <jug@sad.it>
12484
12485         * text2.C (setCursor): set also the irow().
12486         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12487         (cursorUp):
12488         (cursorDown): support for locking an inset if the x_fix value goes
12489         inside it. That way I can transverse insets too with cursor up/down.
12490
12491         * lyxrow.h: added irow helper function same as other (i) functions.
12492
12493         * BufferView_pimpl.C (cursorPrevious):
12494         (cursorNext): fixed for insets!
12495
12496 2002-04-15  Juergen Vigna  <jug@sad.it>
12497
12498         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12499         position otherwise it is wrong in some cases.
12500
12501         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12502         inside the inset before the call.
12503
12504 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12505
12506         * buffer.[Ch] (getBibkeyList): make it const.
12507
12508 2002-04-12  Juergen Vigna  <jug@sad.it>
12509
12510         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12511
12512         * text2.C (getCursorX): new helper function
12513         (setCursor): compute also ix_
12514         (setCursorFromCoordinates): set also ix.
12515
12516         * lyxcursor.h: added ix_ and helper functions.
12517
12518         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12519
12520         * buffer.C (insertStringAsLines): dont break paragraph if the this
12521         paragraph is inside an inset which does not permit it!
12522
12523         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12524         also with no chars on this paragraph.
12525         (paintRowText): only paint stuff if it's inside the workarea!
12526
12527         * paragraph.C (breakParagraph): honor keepempty flag and break the
12528         paragraph always below not above.
12529
12530         * BufferView2.C (unlockInset): update the paragraph layout on inset
12531         unlock as we changed paragraph in such a case.
12532
12533         * lyxfind.C (LyXFind): clear the former selection if not found!
12534
12535         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12536         again called in insertChar().
12537
12538         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12539         an inset which uses the whole row!
12540         (rightMargin): ditto.
12541         (insertChar): force a rebreak if we inserted an inset!
12542
12543 2002-03-28  Herbert Voss  <voss@lyx.org>
12544
12545         * lyxlength.[Ch]: add inBP() to get the right PS-point
12546         units (BigPoint). With inPixels we have rounding errors
12547
12548 2002-04-11  Juergen Vigna  <jug@sad.it>
12549
12550         * text2.C (setCursorFromCoordinates): set iy to the right value.
12551         (setCursor): add check if row->previous exists!
12552
12553         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12554         an old float_type as this was the case in the old code!
12555
12556         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12557
12558         * BufferView2.C (showLockedInsetCursor): use iy
12559         (fitLockedInsetCursor): ditto
12560
12561         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12562         locked insets as there we have the right value now.
12563
12564         * lyxcursor.C: added iy_ variable and iy functions to set to the
12565         baseline of cursor-y of the locked inset.
12566
12567         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12568         (setCursor): fixed for insets which need a full row.
12569
12570         * text.C (rowLastPrintable): don't ignore the last space when before
12571         an inset which needs a full row.
12572         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12573         as last character of a row when before a inset which needs a full row.
12574
12575 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12576
12577         * version.C.in: update date
12578
12579         * text2.C (fullRebreak): try to always return true and see what
12580         happens...
12581
12582 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12583
12584         * MenuBackend.C (expand): use Floating::listName
12585
12586         * FloatList.C (FloatList): add listName argument to the built-in
12587         floats
12588
12589         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12590         text associated with the float.
12591
12592 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12593
12594         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12595
12596 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12597
12598         * ShareContainer.h: add a couple of missing typenames.
12599
12600 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12601
12602         * lyxrc.C (getDescription): use _() correctly rather than N_().
12603
12604 2002-03-28  Herbert Voss  <voss@lyx.org>
12605
12606         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12607         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12608
12609 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12610
12611         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12612         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12613
12614 2002-03-29  Juergen Vigna  <jug@sad.it>
12615
12616         * lyxfunc.C (dispatch): add a missing fitCursor call.
12617
12618         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12619         it was scrolled by a cursor move, so return the bool status.
12620
12621         * BufferView.C (fitCursor): return the bool flag also to the outside
12622         world as this is needed.
12623
12624         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12625
12626         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12627         call the edit() as it is not needed (and wrong) IMO.
12628         (workAreaButtonPress): set the screen_first variable before evt.
12629         unlock the inset as this may change screen_first and then we have
12630         a wrong y position for the click!
12631
12632 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12633
12634         * MenuBackend.C (expand): another translation that I missed
12635
12636 2002-03-28  Juergen Vigna  <jug@sad.it>
12637
12638         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12639
12640         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12641
12642 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12643
12644         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12645
12646         * MenuBackend.C (expand): fix export/view/update when there is no
12647         document open.
12648
12649 2002-03-27  Herbert Voss  <voss@lyx.org>
12650
12651         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12652         and text%
12653
12654 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12655
12656         * bufferview_funcs.C (currentState): only show paragraph number
12657         for is DEVEL_VERSION is set.
12658
12659         * lyxfunc.C (dispatch): put warning in INFO channel
12660
12661         * MenuBackend.C (expand): translate the name of floats
12662
12663         * FloatList.C (FloatList): mark the float names for translation
12664
12665         * converter.C (convert): use LibScriptSearch
12666
12667 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12668
12669         * MenuBackend.C (defaults): fix default menu (we might as well get
12670         rid of it...)
12671
12672 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12673
12674         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12675         directory.
12676
12677 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12678
12679         * lyxvc.C: reorder includes.
12680
12681 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12682
12683         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12684           properly
12685
12686 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12687
12688         * CutAndPaste.C: change layouts earlier on paste
12689           to avoid crashing when calling getFont()
12690
12691 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12692
12693         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12694         irritating #error.
12695
12696 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12697
12698         * WorkArea.C: remove 'Pending' debug message.
12699
12700         * most files: ws cleanup
12701
12702         * buffer.[Ch]: ws changes
12703
12704         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12705
12706 2002-03-21  Juergen Vigna  <jug@sad.it>
12707
12708         * tabular.C (SetMultiColumn): collapse also the contents of the
12709         cells and set the last border right. Added a Buffer const * param.
12710
12711 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12712
12713         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12714         linking or not.
12715
12716 2002-03-19  Juergen Vigna  <jug@sad.it>
12717
12718         * text2.C (clearSelection): reset also xsel_cache.
12719
12720         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12721         where it needs to be called (John tells us to do so too :)
12722         (selectionLost): reset sel_cache.
12723
12724         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12725
12726 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12727
12728         * text2.C (setCursorIntern): put debuging code in INSETS channel
12729
12730 2002-03-19  André Pönitz <poenitz@gmx.net>
12731
12732         * lyxfunc.C: tiny whitespace change
12733
12734 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12735
12736         * ToolbarDefaults.C (init):
12737         * LyXAction.C (init):
12738         * commandtags.h:
12739         * BufferView_pimpl.C (Dispatch):
12740         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12741
12742 2002-03-19  Allan Rae  <rae@lyx.org>
12743
12744         * exporter.C (Export): removeAutoInsets before doing anything else.
12745         While I've just introduced a dependency on BufferView this really is
12746         the best place to clean the buffer otherwise you need to cleanup in
12747         a dozen places before calling export or cleanup in a dozen functions
12748         that export calls.
12749
12750         * converter.C (runLaTeX):
12751         (scanLog): Better handling of removeAutoInsets and screen updates.
12752
12753         * lyxfunc.C (dispatch): small whitespace changes
12754
12755 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12756
12757         * WorkArea.C (C_WorkAreaEvent): return a value.
12758         (event_cb): return 1 if we handled the event, 0 otherwise.
12759
12760         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12761
12762 2002-03-18  Juergen Vigna  <jug@sad.it>
12763
12764         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12765         (GetAdditionalWidth): ditto.
12766         (RightLine): ditto.
12767         (LeftLine): ditto.
12768
12769         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12770         inset if we're there actually (probably not used right now but this
12771         is the direction to go for unifying code).
12772         (paste): disable code to clear the selection.
12773
12774         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12775         inside an InsetText and move the check further up as it is in the
12776         wrong place.
12777
12778         * text2.C (pasteSelection): set a selection over the pasted text.
12779
12780 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12781
12782         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12783         and libgraphics to build on Cygwin.
12784
12785 2002-03-15  Juergen Vigna  <jug@sad.it>
12786
12787         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12788         inserting an Inset into the paragraph. I know this is not the best
12789         fix but we already use current_view in CutAndPaste so we will remove
12790         all of it's using at the same time.
12791
12792         * buffer.C (sgmlError): deactivated function till it is rewritten in
12793         the right mode, now it can create problems.
12794
12795         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12796         before accessing it.
12797
12798 2002-03-14  Juergen Vigna  <jug@sad.it>
12799
12800         * undo_funcs.C (textHandleUndo): do the right thing when updating
12801         the inset after the undo/redo.
12802
12803         * text2.C (setCursor): just some testcode for #44 not ready yet.
12804
12805         * undo_funcs.C (textHandleUndo): set the next() and previous()
12806         pointers of the paragraph to 0 before deleting otherwise we have
12807         problems with the Paragraph::[destructor].
12808
12809         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12810         on a paragraph insertion.
12811
12812 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12813
12814         * buffer.C (asciiParagraph): use += operator for char append to
12815         string.
12816
12817         * paragraph.C (getFontSettings): compare >= not just >
12818         (highestFontInRange): ditto
12819         (setFont): ditto
12820
12821 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12822
12823         * paragraph.C: change several algorithm to be more appripriate for
12824         the problem domain. This is lookip in FontList and in the InsetList.
12825
12826 2002-03-13  André Pönitz <poenitz@gmx.net>
12827
12828         * commandtags.h:
12829         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12830
12831 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12832
12833         * commandtags.h:
12834         * LyXAction.C:
12835         * lyxfunc.C:
12836         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12837
12838 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12839
12840         * Painter.C (display): anon helper function, adjust code for this
12841         change.
12842         (pixmap): remove function.
12843
12844         * Painter.h: remove private display variable.
12845
12846         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12847
12848 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12849
12850         * WorkArea.[Ch]: remove figinset_canvas cruft.
12851
12852 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * lyxtextclass.C (operator): add one item cache optimization.
12855
12856         * bufferlist.h: doxy changes
12857
12858         * bufferlist.C: ws changes
12859
12860         * DepTable.[Ch] (ext_exist): place const in the right spot.
12861
12862         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12863         call resizeInsets.
12864         (workAreaExpose): call resizeInsets when the with BufferView changes.
12865         (Dispatch): adjust for protectedBlank removal
12866         (specialChar): call updateInset if the insert went ok.
12867
12868         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12869         specialChar instead.
12870
12871         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12872
12873         * BufferView.h: doxy change
12874
12875         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12876
12877         * lyxtextclass.C (operator[]): remove non-const version
12878         (defaultLayout): remove non-const version
12879
12880 2002-03-12  Juergen Vigna  <jug@sad.it>
12881
12882         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12883         did resize the LyXText too.
12884
12885         * buffer.C (readLyXformat2): set layout information on newly allocated
12886         paragraphs.
12887
12888         * tabular.C (OldFormatRead): set layout information on the paragraph.
12889
12890 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12891
12892         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12893
12894 2002-03-11  Juergen Vigna  <jug@sad.it>
12895
12896         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12897         plainly wrong.
12898         (resizeCurrentBuffer): force also the insets to resize themselfes.
12899         (moveCursorUpdate): fixed up for InsetText.
12900
12901 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12902
12903         * commandtags.h:
12904         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12905         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12906         value of Dialogs::tooltipsEnabled().
12907         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12908
12909 2002-03-08  Juergen Vigna  <jug@sad.it>
12910
12911         * BufferView_pimpl.C (updateInset): update inset inside inset also
12912         if it isn't inside theLockingInset().
12913
12914 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12915
12916         * buffer.C (asciiParagraph): redo some of the word and line length
12917         handling.
12918         (getLists): look for Caption instead of caption.
12919
12920 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12921
12922         * buffer.C (Buffer): initialize niceFile to true
12923         (makeLaTeXFile):
12924         (makeLinuxDocFile):
12925         (makeDocBookFile): make sure niceFile is true on exit
12926
12927 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12928
12929         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12930
12931 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12932
12933         * LyXSendto.C: remove.
12934         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12935         * lyx_gui.C: remove now-redundant comment.
12936         * ColorHandler.h: remove forward declaration of class WorkArea.
12937         * lyxfunc.C: remove #include "WorkArea.h".
12938
12939 2002-03-07  Juergen Vigna  <jug@sad.it>
12940
12941         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12942         got moved away with the DEPM and also set the inset_owner always
12943         right which before could have been omitted.
12944
12945 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12946
12947         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12948         wanted layout is not found.
12949
12950 2002-03-07  Juergen Vigna  <jug@sad.it>
12951
12952         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12953
12954 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12955
12956         * paragraph.C (breakParagraph): use default layout not layout of
12957         prev paragraph.
12958         (Paragraph): clear ParagraphParameters.
12959
12960 2002-03-06  Juergen Vigna  <jug@sad.it>
12961
12962         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12963         otherwise it would not be a valid lenght. Fixed a special case in
12964         the minipage compatibility read where we end the document with a
12965         minipage.
12966
12967         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12968         was set as it could be 0 for InsetTexts first entry.
12969
12970 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12971
12972         * paragraph.C (writeFile): if layout is empty write out
12973         defaultLayoutName().
12974
12975         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12976         file without named layout we set layout to defaultLayoutName().
12977
12978 2002-03-06  Juergen Vigna  <jug@sad.it>
12979
12980         * CutAndPaste.C (copySelection): set layout for new paragraph.
12981
12982         * text.C (prepareToPrint): leave ERT inset left aligned
12983         (leftMargin): don't indent paragraphs inside ERT insets
12984
12985 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12986
12987         * paragraph.C (breakParagraph): dont call clear do the work manually
12988
12989         * paragraph.[Ch] (clear): remove function
12990
12991 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12992
12993         * paragraph.C (Paragraph): dont call clear, the work has already
12994         been done.
12995
12996         * lyxtextclass.C (operator): assert if n is empty
12997
12998         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12999         work manually instead.
13000
13001 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13002
13003         * BufferView_pimpl.C: protect selectionLost against text == 0
13004
13005 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13006
13007         * text.C (breakParagraph): fix a setting layout to '0' problem.
13008
13009 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13010
13011         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13012         final location of file, for the included files, and graphics.
13013
13014 2002-03-05  Juergen Vigna  <jug@sad.it>
13015
13016         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13017
13018 2002-03-04  Juergen Vigna  <jug@sad.it>
13019
13020         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13021
13022         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13023         last column of multicolumn cells.
13024         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13025
13026 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13027
13028         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13029         file if it doesn't go to a temporary file.
13030
13031         * buffer.C (sgmlOpenTag):
13032         (sgmlCloseTag):  remove extra newline insertion.
13033
13034 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13035
13036         * text.C (getRowNearY): comment out debug msg
13037
13038 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13039
13040         * text2.C: first -> first_y
13041
13042         * text.C (getRowNearY): add some attemts at a possible
13043         optimization, not working.
13044
13045         * tabular.[Ch]: add BufferParams to several function so that newly
13046         created paragraph can be initialized to he default layotu for the
13047         buffers textclass.
13048
13049         * tabular-old.C (ReadOld): add buf->params to call of Init
13050
13051         * screen.C: rename text->first to text->first_y
13052
13053         * paragraph.C (breakParagraph): always set layout in the broken
13054         paragraph
13055
13056         * lyxtextclass.C (Read): remove lowercase
13057         (hasLayout): ditto
13058         (operator): ditto
13059         (delete_layout): ditto
13060
13061         * lyxtext.h: rename first -> first_y
13062
13063         * lyxlayout.C (Read): remove lowercase
13064         (name): ditto
13065         (setName): ditto
13066         (obsoleted_by): ditto
13067
13068         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13069
13070         * buffer.C (insertErtContents): add params are to InsetERT
13071         (parseSingleLyXformat2Token): add code to check if a paragraphs
13072         layout really exist.
13073         (parseSingleLyXformat2Token): add params to several inset
13074         constructors
13075         (asciiParagraph): remove lowercase, do the layout comparisons with
13076         no_case
13077
13078         * BufferView_pimpl.C (cursorNext): first -> first_y
13079         (resizeCurrentBuffer): first -> first_y
13080         (updateScrollbar): first -> first_y
13081         (scrollCB): first -> first_y
13082         (workAreaMotionNotify): first -> first_y
13083         (workAreaButtonPress): first -> first_y
13084         (checkInsetHit): first -> first_y
13085         (cursorPrevious): first -> first_y
13086         (cursorNext): first -> first_y
13087         (Dispatch): add buffer_->params to severl inset contructors
13088
13089 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13090
13091         * lyxlayout.C (Read): remove some debug info that I forgot.
13092
13093         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13094         clean up the code slightly.
13095         (makeLinuxDocFile): ditto
13096         (makeDocBookFile): ditto
13097
13098         * text2.C: layout as string
13099
13100         * text.C: layout as string
13101
13102         * paragraph_pimpl.C: layout as string
13103
13104         * paragraph.[Ch]: layout as string
13105
13106         * lyxtextclasslist.[Ch]: layout as string
13107
13108         * lyxtextclass.[Ch]: layout as string
13109
13110         * lyxtext.h: layout as string
13111
13112         * lyxlayout.[Ch]: layout as string
13113
13114         * lyx_cb.C: layout as string
13115
13116         * bufferview_funcs.C: layout as string
13117
13118         * bufferparams.C: layout as string
13119
13120         * buffer.C: layout as string
13121
13122         * LyXView.[Ch]: layout as string
13123
13124         * LaTeXFeatures.[Ch]: layout as string
13125
13126         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13127
13128         * BufferView_pimpl.C: change current_layout to string, remove
13129         lyx::layout_type.
13130         (Dispatch):
13131         (smartQuote):
13132         (insertInset):
13133         (workAreaButtonRelease): layout as string
13134
13135         * BufferView2.C (unlockInset): adjust
13136
13137         * vspace.C (asLatexCommand): use an explict temp variable.
13138
13139 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13140
13141         * Makefile.am: use FRONTEND_*
13142
13143 2002-03-01  Juergen Vigna  <jug@sad.it>
13144
13145         * tabular.C (SetWidthOfMulticolCell): changed to something better
13146         I hope but still work in progress.
13147         (recalculateMulticolumnsOfColumn): renamed function from
13148         recalculateMulticolCells as it is more appropriate now.
13149         (SetWidthOfCell): calculate multicols better.
13150
13151 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13152
13153         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13154
13155         * lyxfunc.C (processKeySym): print sequence also if it is
13156         `deleted' (complete)
13157
13158         * kbsequence.C (print): print sequence even if it is deleted
13159         (complete would be a better word, actually).
13160
13161         * lyxfunc.C (dispatch): print complete options after a prefix key
13162
13163         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13164
13165 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13166
13167         * text2.C (setCharFont): eliminate setCharFont code duplication.
13168
13169 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13170
13171         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13172         LFUN_TABULAR_FEATURE (bug #177)
13173
13174 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13175
13176         * Makefile.am: remove figure.h
13177
13178 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13179
13180         * Bufferview_pimpl.C:
13181         * CutAndPasteC:
13182         * LaTeX.C:
13183         * LyXSendto.C:
13184         * buffer.C:
13185         * bufferlist.C:
13186         * converter.C:
13187         * language.C:
13188         * lyxfunc.C:
13189         * lyxvc.C:
13190         * paragraph.C:
13191         * text.C:
13192         * text2.C: remove #include "lyx_gui_misc.h".
13193
13194         * LaTeX.C: added #include <cstdio>
13195
13196 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13197
13198         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13199         that the paragraph following this one can have.
13200
13201         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13202
13203         * vspace.C (asLatexCommand): fix bogus gcc warning
13204
13205         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13206
13207 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13208
13209         * text2.C (setLayout): get rid of redundant code
13210
13211 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13212
13213         * text2.C (incDepth): make sure depth cannot be increased beyond
13214         reasonable values.
13215
13216 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13217
13218         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13219         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13220
13221         * PainterBase.h (image):
13222         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13223         a LyXImage const *.
13224
13225 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13226
13227         * BufferView.C:
13228         * BufferView.h:
13229         * BufferView_pimpl.C:
13230         * BufferView_pimpl.h:
13231         * LaTeXFeatures.C:
13232         * LyXAction.C:
13233         * LyXView.C:
13234         * Makefile.am:
13235         * UpdateList.h:
13236         * UpdateList.C:
13237         * buffer.C:
13238         * figure.h:
13239         * figureForm.C:
13240         * figureForm.h:
13241         * figure_form.C:
13242         * figure_form.h:
13243         * lyx_cb.C:
13244         * lyx_gui.C:
13245         * lyx_gui_misc.C:
13246         * lyxfunc.C:
13247         * sp_base.h:
13248         * sp_ispell.h:
13249         * sp_pspell.h:
13250         * sp_spell.C: remove fig inset, and the crap house of
13251           cards that follows it
13252
13253 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13254
13255         * Makefile.am:
13256         * lyxserver.C:
13257         * os2_defines.h:
13258         * os2_errortable.h:
13259         * nt_defines.h: move .h into support/
13260
13261         * vms_defines.h: remove
13262
13263         * WorkArea.C: add space in debug output
13264
13265         * text2.C:
13266         * paragraph.C:
13267         * buffer.C: add WITH_WARNINGS
13268
13269         * vc-backend.h:
13270         * vc-backend.C:
13271         * bufferlist.C: s/retrive/retrieve/, add docs
13272
13273         * vspace.h:
13274         * vspace.C:
13275         * kbmap.h:
13276         * lyxlength.h:
13277         * lyxgluelength.h:
13278         * length_common.h:
13279         * chset.h:
13280         * chset.C: add docs
13281
13282         * lyxgui.C: add ID to X error handler
13283
13284         * lyxtestclass.c: fix typo
13285
13286 2002-02-26  Juergen Vigna  <jug@sad.it>
13287
13288         * tabular_funcs.C (write_attribute): changed so that some default
13289         attributes are not written at all.
13290         (getTokenValue): set default values before trying to read the
13291         value so we have the return value always set as default if we don't
13292         find the token we search for.
13293
13294         * tabular.C (Write): write bools as bools not as strings!
13295
13296 2002-02-22  Juergen Vigna  <jug@sad.it>
13297
13298         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13299         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13300
13301         * text.C (leftMargin): don't add an indent for paragraphs inside
13302         tabular cells (fix #208).
13303
13304 2002-02-21  José Matos  <jamatos@fep.up.pt>
13305
13306         * tabular.C (docBook): fixed support for long tables.
13307
13308 2002-02-20  Juergen Vigna  <jug@sad.it>
13309
13310         * text2.C (getFont): get the drawing font of the Inset if this
13311         paragraph is inside an inset (only important for InsetERT for now).
13312
13313         * buffer.C (insertErtContents): use new lanugage params in ERT
13314         constructor.
13315
13316         * CutAndPaste.C: commenting out seemingly uneeded code.
13317
13318 2002-02-19  Allan Rae  <rae@lyx.org>
13319
13320         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13321         Iterators might be simple to use but they also get invalidated.
13322         (removeAutoInsets): renamed saved cursor tracking variables and added
13323         some comments to clarify what everything does.
13324
13325 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13326
13327         * Chktex.C:
13328         * LaTeX.C:
13329         * LyXSendto.C:
13330         * converter.C:
13331         * lyx_cb.C:
13332         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13333         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13334
13335         * lyxfunc.C:
13336         * vc-backend.h: remove #include "support/syscall.h"
13337
13338         * LaTeX.C:
13339         * LyXSendto.C:
13340         * converter.C: rearrange #includes in Lars' approved fashion.
13341
13342         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13343         forward declare class Timeout in the header file.
13344
13345         * XFormsView.C: changes due to the above.
13346
13347         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13348         similar to LyXView.
13349
13350         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13351         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13352
13353 2002-02-18  José Matos  <jamatos@fep.up.pt>
13354
13355         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13356         insets contents.
13357
13358 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13359
13360         * a lot of small ws changes
13361         * add a lot of using std::XXX
13362         * use std construcs some places where approp.
13363         * use some exisint stuff from lyxfunctional where approp.
13364         * Make file changes to use partial linking (lets test this now...)
13365
13366 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13367
13368         * Chktex.C:
13369         * buffer.C:
13370         remove #include "support/syscontr.h" as it's redundant. Always has been.
13371
13372         * Chktex.C:
13373         * LaTeX.C:
13374         * LyXSendto.C:
13375         * converter.C:
13376         * lyx_cb.C:
13377         * vc-backend.C:
13378         change Systemcalls::System to Systemcalls::Wait and
13379         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13380         No change of functionality, just reflects the stripped down Systemcalls
13381         class.
13382
13383 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13384
13385         * debug.[Ch]: add a GRAPHICS type to the enum.
13386
13387 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13388
13389         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13390
13391         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13392         there is an inset.
13393
13394 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13395
13396         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13397         match the changes below.
13398
13399         * text2.C (toggleInset): if there is not editable inset at cursor
13400         position, try to see if cursor is _inside_ a collapsable inset
13401         and close it.
13402
13403 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13404
13405         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13406         document menu has a nice checkbox
13407
13408 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13409
13410         * lyxlength.C (asLatexString): change PW to output as percent of
13411         \textwidth.
13412
13413         * lengthcommon.C: change '%' to 't%'
13414
13415         * lyxfunc.C (dispatch): a few comments from Martin
13416
13417 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13418
13419         * WorkArea.h:
13420         * WorkArea.C:
13421         * BufferView_pimpl.h:
13422         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13423           the X selection.
13424
13425 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13426
13427         * vspace.C (inPixels): fix compiler warning
13428
13429 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13430
13431         * lyxfunc.C (getStatus): fix status message for disabled commands.
13432
13433 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13434
13435         * BufferView_pimpl.C: fix crash on close buffer
13436         during selection (#227)
13437
13438 2002-01-27  Herbert Voss  <voss@lyx.org>
13439
13440         * buffer.C: link old Figure to new graphic inset
13441
13442 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13443
13444         * FontLoader.C (getFontinfo): Change the latex font names in order
13445         to match the names of type1inst.
13446
13447 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13448
13449         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13450
13451         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13452         (extchanged): ditto
13453         (ext_exist): ditto
13454         (remove_files_with_extension): ditto
13455         (remove_file): ditto
13456         (write): ditto
13457
13458         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13459         document is smaller than the work area height. Do not initialize
13460         static variables to 0.
13461
13462 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13463
13464         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13465
13466         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13467         LFUN_LAYOUT_PARAGRAPHS.
13468
13469         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13470         tabular. It is possible to provide a possible cell, which will
13471         typically be the actcell from the corresponding insettabular
13472
13473         * lyxfunc.C (getStatus): small cleanup; disable
13474         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13475         true
13476
13477 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13478
13479         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13480
13481         * paragraph.C (startTeXParParams):
13482         (endTeXParParams): new methods. The LaTeX code to
13483         start/end paragraph formatting
13484         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13485         empty (fixes bug #200)
13486
13487         * vspace.C (inPixels): adapt to the change below
13488         (inPixels): [later] more cleanups (remove unused variables)
13489
13490         * lyxlength.C (inPixels): change to use a width and a height as
13491         parameter.
13492
13493 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13494
13495         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13496         Replaced with \paperwidth
13497
13498         * DepTable.C (insert): add std:: qualifier
13499
13500 2002-01-18  Allan Rae  <rae@lyx.org>
13501
13502         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13503         updated also?
13504
13505         * text.C (drawInset): Turned out I didn't know enough about how
13506         rebreaking worked.  This fixes most of the redraw problems.  I see
13507         an occasional cursor trail when a line is broken now and the cursor
13508         placement can seem out by a few pixels also after a rebreak.
13509
13510 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13511
13512         * buffer.C (parseSingleLyXformat2Token): update because minipage
13513         width is now a LyXLength
13514
13515         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13516
13517         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13518         math insets
13519
13520 2002-01-17  Juergen Vigna  <jug@sad.it>
13521
13522         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13523
13524         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13525         is set correctly and the inset is updated correctly.
13526
13527 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13528
13529         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13530         the beginning of the loop.
13531
13532 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13533
13534         * lyxrc.C: improve help for use_scalable_fonts
13535
13536 2002-01-17  Allan Rae  <rae@lyx.org>
13537
13538         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13539
13540 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13541
13542         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13543         make sure to set their inset_owner to the right value (bug #171)
13544
13545 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13546
13547         * DepTable.h
13548         * DepTable.C: Implement mtime checking to reduce time spent doing
13549         CRCs.
13550
13551 2002-01-16  Juergen Vigna  <jug@sad.it>
13552
13553         * tabular.C (GetAdditionalHeight): one of error fixed.
13554
13555         * lyxrc.C (output): small fix in writing use_pspell.
13556
13557 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13558
13559         * sp_base.h: #include LString.h
13560
13561 2002-01-16  Allan Rae  <rae@lyx.org>
13562
13563         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13564         Can someone check this please?
13565
13566         * text.C (drawInset): It was possible that p.row would be removed by
13567         breakAgainOneRow upsetting a few other settings.  There may be another
13568         small tweak possible by setting need_break_row = 0 when p.row has been
13569         removed but I don't know enough about the logic here.
13570
13571 2002-01-15  Allan Rae  <rae@lyx.org>
13572
13573         * text.C (insertChar): removed conditional truism.
13574
13575         * BufferView2.C (removeAutoInsets): More tweaks.
13576         cur_par_prev could be a stray pointer.  Check for trailing empty line
13577         in case last line was cur_par and only had an error inset on it.
13578
13579 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13580
13581         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13582         absolute
13583
13584         * vc-backend.C (most methods):
13585         * exporter.C (Export):
13586         * converter.C (convert):
13587         (runLaTeX):
13588         * LyXSendto.C (SendtoApplyCB):
13589         * lyxfunc.C (dispatch):
13590         (menuNew):
13591         (open):
13592         (doImport):
13593         * lyx_cb.C (AutoSave):
13594         (InsertAsciiFile):
13595         * BufferView_pimpl.C (MenuInsertLyXFile):
13596         * buffer.C (runChktex): use Buffer::filePath().
13597
13598         * buffer.h: rename filename to filename_; rename filepath to
13599         filepath_ and make it private
13600         (filePath): new method
13601
13602         * buffer.C (writeFile): use fileName()
13603         (getLatexName):
13604
13605         * lyx_main.C (init): fix starting  of LyX when the binary is a
13606         link from so,ewhere else.
13607
13608         * minibuffer.C: include <cctype> for isprint
13609
13610 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13611
13612         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13613         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13614         name clash with InsetCollapsable's width function.
13615
13616 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13617
13618         * lastfiles.C: include <iterator>
13619
13620 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13621
13622         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13623         std::count.
13624
13625         * buffer.C (makeLaTeXFile): ditto.
13626         Also make loop operation more transparent.
13627
13628 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13629
13630         * ToolbarDefaults.C: remove trailing comma closing namespace.
13631
13632         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13633
13634         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13635         as in WorkArea.
13636
13637         * trans.C (Load): comment out unused variable, allowed.
13638
13639 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13640
13641         * minibuffer.[Ch] (append_char): new method to recieve input from the
13642         drop-down completion browser. If a key was pressed, then recieve this
13643         char and append it to the existing string.
13644         (peek_event): modify the positioning data passed to the completion
13645         browser so that it can be placed above the minibuffer rather than below.
13646 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13647
13648         * LyXAction.C (init): alloe error-next for readonly documents.
13649
13650         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13651         count.
13652
13653 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13654
13655         * bufferlist.C (readFile): create the buffer _after_ checking that
13656         the file exists.
13657
13658         * lyxfunc.C (verboseDispatch): fix handling of arguments
13659
13660         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13661
13662         * lyxrc.C: use string::erase() instead of initializing to "".
13663
13664
13665 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13666
13667         * BufferView_pimpl.h:
13668         * BufferView_pimpl.C:
13669         * WorkArea.h:
13670         * WorkArea.C:
13671         * text2.C: tell X when we have made a selection for copying
13672
13673 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13674
13675         * BufferView_pimpl.C (MenuInsertLyXFile):
13676         * lyxfunc.C (menuNew):
13677         (open):
13678         (doImport): add shortcuts to directory buttons
13679
13680         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13681         open a float)
13682
13683         * lyxfunc.C (setStatusMessage):
13684         (getStatusMessage): new methods
13685         (getStatus):use setStatusMessage instead of setErrorMessage
13686         (dispatch): when function is disabled, set error message here
13687         [instead of in getStatus previously]
13688
13689         * BufferView_pimpl.C (workAreaButtonRelease): update
13690         toolbar/menubar here too.
13691
13692 2002-01-13  Allan Rae  <rae@lyx.org>
13693
13694         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13695         Now seems indestructible.  Remaining task is to audit all other
13696         code affected by deleteEmptyParagraphMechanism.  One small quirk
13697         left is that an empty document with an error in the preamble can
13698         be made to report an error but no error box appears.  I don't know
13699         where it goes.
13700         (removeAutoInsets): Improved comments.
13701
13702 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13703
13704         * Thesaurus.h:
13705         * Thesaurus.C: update for Aiksaurus 0.14
13706
13707 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13708
13709         * text2.C (firstParagraph): removed member function, all uses
13710         replaces with ownerParagraph
13711         (redoParagraphs): here
13712         (updateInset): here
13713         (toggleAppendix): here
13714         * BufferView2.C (insertErrors): here
13715         (setCursorFromRow): here
13716
13717 2002-01-13  Allan Rae  <rae@lyx.org>
13718
13719         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13720         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13721         There is still a way to segfault this although you may have to do this
13722         multiple times: Have an InsetERT with an unknown command in it.
13723         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13724         <down-arrow>, <Enter> again, View->DVI, BANG!
13725
13726         * text2.C (setCursor):
13727         (deleteEmptyParagraphMechanism):
13728         * lyxtext.h (setCursor):
13729         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13730         Making use of the return value may help fix other bugs.
13731
13732 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13733
13734         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13735
13736         * LyXView.C (updateMenubar): call MenuBar::update here
13737         (updateToolbar): but not here
13738         (showState): do not update toolbar/menubar
13739
13740         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13741         should need to care about that.
13742
13743         * lyxfunc.C (verboseDispatch): simplify a bit
13744         (getStatus): have a version which takes a pseudoaction, and
13745         another which requires a (kb_action,string).
13746
13747         * LyXAction.C (retrieveActionArg): make it work also when action
13748         is not a pseudo-action.
13749         (getActionName): simplify a bit
13750         (helpText):
13751
13752 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13753
13754         * lyxfunc.C (verboseDispatch): new families of methods with
13755         several ways to specify a command and a bool to indicate whether
13756         the command name and shortcut should be displayed in minibuffer
13757         (eventually, we could extend that to a finer bitmask like
13758         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13759         (dispatch): the pristine dispatch command which just, well,
13760         dispatchs! Note it still sets its result to minibuffer; I'm not
13761         sure we want that.
13762
13763         * lyxfunc.h: remove setHintMessage
13764
13765         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13766
13767 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13768
13769         * BufferView_pimpl.C (specialChar): delete new inset if we have
13770         not been able to insert it.
13771
13772         * kbmap.C: revert to using int instead of kb_action, since all we
13773         are dealing with is pseudo-actions.
13774
13775         * LyXAction.C (searchActionArg): change to return int instead of
13776         kb_action, since the result is a pseudoaction.
13777
13778 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13779
13780         * buffer.C (insertErtContents): Fix (partially) the font bug.
13781
13782 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13783
13784         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13785         as the other one is broken on my machine!
13786
13787 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13788
13789         * commandtags.h:
13790         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13791
13792 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13793
13794         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13795         reflect their actual use. Provide compatibility code for older lyxrc
13796         files.
13797
13798         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13799         FL_NORMAL_STYLE.
13800         change names of popup font variables in line with the changes to lyxrc.C
13801
13802 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13803
13804         * buffer.C (asciiParagraph): avoid outputing a word twice after
13805         an inset.
13806
13807         * lyxrc.C (getDescription): document that document_path and
13808         template_path can be empty.
13809
13810 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13811
13812         * LaTeXFeatures.C (getMacros):
13813         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13814
13815         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13816
13817         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13818         getPackages.
13819         (getPackages): rename feature "floats" to "float". Use an array to
13820         iterate over 'simple' features (i.e. just a \usepackage). Add
13821         handling of "amsmath" (renamed from "amsstyle").
13822
13823 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13824
13825         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13826         features list.
13827
13828 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13829
13830         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13831         FuncStaus::FuncStatus & FuncStaus::some_method().
13832
13833 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13834
13835         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13836         of the func_satus stuff. Edited and massaged in various ways by
13837         JMarc.
13838
13839         * lyxfunc.C (getStatus): use FuncStatus
13840
13841 2002-01-08  Juergen Vigna  <jug@sad.it>
13842
13843         * text.C (nextBreakPoint): use function Inset::isChar().
13844
13845         * paragraph.C (TeXOnePar): use function
13846         Inset::forceDefaultParagraphs.
13847
13848         * buffer.C (latexParagraphs): use function
13849         Inset::forceDefaultParagraphs.
13850
13851 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13852
13853         * lyx_gui.C (init): set the style of the menu popups to
13854         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13855
13856 2002-01-07  Juergen Vigna  <jug@sad.it>
13857
13858         * text.C (setHeightOfRow): small fix
13859         (prepareToPrint): don't look at alignment if we don't have the place
13860         for doing it.
13861
13862 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13863
13864         * box.C: New file. Move the Box methods and functions out of box.h,
13865         following Lars' suggestion.
13866
13867 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13868
13869         * box.h: #include "support/LOstream.h", needed for inlined function.
13870
13871         * lyxtextclass.C:
13872         * lyxtextclasslist.C: added some using std declarations.
13873
13874 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13875
13876         * box.h: make signed dimensions to allow insets wider than
13877           the screen (bug #162)
13878
13879         * BufferView_pimpl.C: add some insetHit debug
13880
13881 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13882
13883         * vc-backend.C: add FIXME
13884
13885 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13886
13887         * lyxfunc.C (getStatus): enable code for showing math font status
13888         in toolbar/menu.
13889
13890 2002-01-07  Juergen Vigna  <jug@sad.it>
13891
13892         * text.C (nextBreakPoint): removed debug output not needed anymore.
13893
13894 2002-01-06  Juergen Vigna  <jug@sad.it>
13895
13896         * text.C (nextBreakPoint): fixed up this function we had this bug
13897         since ever but now hopefully we break row better.
13898         (insertChar): we have to check if an inset is the next char as it
13899         could now happen that a large inset is causing a break.
13900
13901 2002-01-05  Juergen Vigna  <jug@sad.it>
13902
13903         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13904         if it doesn't like to be drawed.
13905
13906 2002-01-04  Juergen Vigna  <jug@sad.it>
13907
13908         * BufferView2.C (lockInset): forgot to set a cursor.
13909
13910         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13911
13912 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13913
13914         * FormMathsPanel.C:
13915         * FormMathsPanel.h
13916         * MathsSymbols.C:
13917         * form_maths_panel.C:
13918         * form_maths_panel.h:
13919         * form_maths_panel.fd: implemented sub- and super- buttons in math
13920         panel.
13921
13922         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13923         (or ^ space) to be used as in TeX (req'd by André).
13924
13925         * lyxfunc.C: Allow ^ and _ again to be used both as
13926         super/subscript (mathed) and as themselves (in text).
13927
13928 2002-01-03  Allan Rae  <rae@lyx.org>
13929
13930         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13931         "LyX" or the filename of the current buffer if it has one.  This is a
13932         modified form of John Levon's patch.
13933
13934         * XFormsView.C (setWindowTitle): also set icon title.
13935
13936         * LyXView.h (setWindowTitle): signature changed.
13937         * XFormsView.h (setWindowTitle): ditto.
13938
13939 2002-01-02  Juergen Vigna  <jug@sad.it>
13940
13941         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13942
13943 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13944
13945         * screen.C (topCursorVisible): introduce a temp var for
13946         text->cursor.row(), handle the case where this row is null. (kindo
13947         hachish)
13948
13949         * text2.C (setCursor): add a couple of asserts.
13950
13951         * paragraph.h (inset_iterator): add -> operator
13952
13953         * paragraph.[Ch] (autoDeleteInsets): remove member function
13954
13955         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13956         cursor pos correctly and handle inset deletion by itself.
13957         (insertErrors): move iterator declaration out of for expression
13958
13959         * lyxtextclass.C: add <algorithm>
13960
13961         * Makefile.am: added the new files to sources, removed layout.C
13962
13963         * layout.C: removed file
13964
13965         * layout.h: remove LYX_DUMMY_LAYOUT
13966
13967         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13968         layout.
13969
13970         * lyxlayout.[Ch]:
13971         * lyxtextclass.[Ch]:
13972         * lyxtextclasslist.[Ch]: new files
13973
13974         * include order changes to a lot of files, also changes because of
13975         the six new files.
13976
13977 2001-12-27  Juergen Vigna  <jug@sad.it>
13978
13979         * buffer.C (asciiParagraph): more fixes.
13980
13981         * tabular.C (ascii): make ascii export support export of only the
13982         data separated by a column-delimiter.
13983         (ascii): better support for ascii export.
13984
13985         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13986
13987 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13988
13989         * tabular_funcs.C: use a "using std::getline" instead of the
13990         previous fix from Angus (necessary for cxx + lyxstring)
13991
13992 2001-12-24  Juergen Vigna  <jug@sad.it>
13993
13994         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13995
13996         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13997         problems. First check a minipage also if we have some ert-contents
13998         (not only on par->size(), second set the right depth of the paragraph
13999         on the relink to the root-paragraph-list!
14000
14001         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14002         which then did not anymore update the main paragraphs on undo/redo!
14003
14004 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14005
14006         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14007         code. Support all font-changing funcs (even those which are not in
14008         menu currently). Support for reporting font settings in
14009         mathed (disabled until Andre provides a function on mathed's side).
14010
14011         * func_status.h (toggle): small helper function to set toggle
14012         state on a flag.
14013
14014 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14015
14016         * tabular_funcs.C: getline -> std::getline
14017
14018 2001-12-21  Juergen Vigna  <jug@sad.it>
14019
14020         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14021         accessed and could be 0 (I couldn't generate this but it seems
14022         Michael could!).
14023
14024 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14025
14026         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14027         * tabular_funcs.h: here and include iosfwd
14028
14029 2001-12-20  Juergen Vigna  <jug@sad.it>
14030
14031         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14032         inside inset but undo_par was.
14033
14034 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14035
14036         * Thesaurus.C: always include <config.h> in sources.
14037
14038         * Painter.h:
14039         * lyxlookup.h:
14040         * box.h: do not include <config.h> in header files
14041
14042         * text.C (paintLastRow): remove unused variable
14043
14044         * text.C (transformChar):
14045         (insertChar):
14046         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14047
14048         * Painter.C (text):
14049         * font.C (width): rewrite to use uppercase() instead of
14050         islower/toupper.
14051
14052         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14053
14054 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14055
14056         * lyxfind.C: clean up of find failure position change
14057
14058 2001-12-20  Juergen Vigna  <jug@sad.it>
14059
14060         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14061
14062         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14063         (TeXRow): added to LaTeX a single tabular row.
14064         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14065         (Latex): simplified and finally good LT-h/f support.
14066         (various_functions): just small adaptions for LT-h/f support.
14067
14068         * tabular_funcs.[hC]: added and moved here all not classfunctions
14069         of LyXTabular.
14070
14071 2001-12-19  Juergen Vigna  <jug@sad.it>
14072
14073         * tabular.[Ch]: better support for longtabular options (not finished
14074         yet!)
14075
14076 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14077
14078         * text.C (paintLastRow): use the label font instead of the font of
14079         the last character to compute the size of *_BOX. This makes more
14080         sense and avoids a crash with empty paragraphs.
14081         Use Painter::rectangle to draw EMPTY_BOX.
14082
14083 2001-12-19  Juergen Vigna  <jug@sad.it>
14084
14085         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14086         the paragraphs if the replaced paragraph is not the first one!
14087         Tried to delete not used paragraphs but does not work yet so for
14088         now it's inside #ifdef's and by default off!
14089
14090 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14091
14092         * MenuBackend.C: include "lyx_main.h" instead of declaring
14093         lastfiles (actually was declared as LastFiles* instead of a
14094         scoped_ptr).
14095
14096 2001-12-17  Juergen Vigna  <jug@sad.it>
14097
14098         * tabular.C (AppendColumn): applied John's fix
14099
14100 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14101
14102         * BufferView.h:
14103         * BufferView.C:
14104         * BufferView_pimpl.h:
14105         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14106
14107         * Makefile.am:
14108         * box.h: new start of class for above
14109
14110         * lyxfunc.C: ignore space-only minibuffer dispatches.
14111           Show the command name when it doesn't exist
14112
14113         * minibuffer.C: don't add empty lines to the history
14114
14115         * minibuffer.C: add a space on dropdown completion
14116
14117 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14118
14119         * text.C: fix line above/below drawing in insets
14120
14121 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14122
14123         * lyxlength.C (LyXLength): Initialize private variables.
14124
14125 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14126
14127         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14128         when inserting error insets.
14129
14130 2001-12-13  Juergen Vigna  <jug@sad.it>
14131
14132         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14133         actually sometimes the before-paragraph.
14134         (setUndo): don't clear the redostack if we're not actually undoing!
14135
14136 2001-12-06  Juergen Vigna  <jug@sad.it>
14137
14138         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14139         and fixed redoing of main paragraph, so we can use it now ;)
14140
14141         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14142
14143 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14144
14145         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14146         Juergen's request
14147
14148 2001-12-13  André Pönitz <poenitz@gmx.net>
14149
14150         * undostack.[Ch]:
14151         * undo_func.C: minor cleanup
14152
14153 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14154
14155         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14156         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14157         font in urw-fonts package which is marked as -urw-fontspecific and
14158         does not work (incidentally, changing the encoding in the
14159         fonts.dir of this package to -adobe-fontspecific fixes the
14160         problem).
14161
14162         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14163         is a crash when undoing first paragraph (Juergen, please take a
14164         look). THis does not mean the undo fix is wrong, just that it
14165         uncovers problems.
14166
14167         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14168         the (Paragraph*) version when needed instead of duplicating the
14169         code.
14170
14171         * text.C (workWidth): use Inset::parOwner to find out where the
14172         inset has been inserted. This is a huge performance gain for large
14173         documents with lots of insets. If Inset::parOwner is not set, fall
14174         back on the brute force method
14175
14176         * paragraph_pimpl.C (insertInset):
14177         * paragraph.C (Paragraph):
14178         (cutIntoMinibuffer): set parOwner of insets when
14179         inserting/removing them
14180
14181         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14182
14183 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14184
14185         * commandtags.h:
14186         * LyXAction.C:
14187         * lyx_main.C:
14188         * lyxfunc.C:
14189         * mathed/formulabase.C:
14190         * mathed/math_cursor.[Ch]:
14191         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14192
14193
14194 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14195
14196         * lyxlength.[Ch] (operator!=): new function
14197
14198 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14199
14200         * text.C (workWidth): use Inset::parOwner to find out where the
14201         inset has been inserted. This is a huge performance gain for large
14202         documents with lots of insets. If Inset::parOwner is not set, fall
14203         back on the brute force method
14204
14205         * paragraph_pimpl.C (insertInset):
14206         * paragraph.C (Paragraph):
14207         (cutIntoMinibuffer): set parOwner of insets when
14208         inserting/removing them
14209
14210         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14211
14212 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14213
14214         * tabular-old.C (getTokenValue):
14215         * tabular.C (getTokenValue):
14216         (write_attribute): new versions for LyXLength
14217         (everywhere): adjust the use of widths
14218
14219         * tabular.h: change the type of widths from string to LyXLength
14220
14221 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14222
14223         * paragraph.C: fixed missing line number count when exporting
14224         Environments to LaTeX file
14225
14226         * buffer.C: added informational message for checking line numbers.
14227
14228 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14229
14230         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14231         paragraph, do the 'double space' part, but not the 'empty
14232         paragraph' one.
14233
14234         * text.C (workWidth): small optimization
14235         (getLengthMarkerHeight): use minimal size for negative lengths.
14236
14237 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14238
14239         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14240
14241         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14242
14243 2001-12-11  André Pönitz <poenitz@gmx.net>
14244
14245         * FontLoader.C:
14246         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14247
14248 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14249
14250         * text2.C: keep selection on a setFont()
14251
14252 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14253
14254         * lyx_cb.C: another bv->text misuse, from insert label
14255
14256 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14257
14258         * kbsequence.h:
14259         * kbsequence.C: re-instate nmodifier mask
14260
14261 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14262
14263         * lyx_main.h: make lyxGUI private.
14264
14265 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14266
14267         * lyxfind.C: place the cursor correctly on failed search
14268
14269 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14270
14271         * text.C (getLengthMarkerHeight): for small heights, the arrows
14272         are not always on top/bottom of the text
14273         (drawLengthMarker): smaller arrows; take the left margin in
14274         account; draw also vfills.
14275         (paintFirstRow):
14276         (paintLastRow): remove special code for vfill and standard spaces,
14277         since everything is handled in drawLengthMarker now.
14278
14279 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14280
14281         * buffer.C (insertErtContents): try to handle font and language
14282         interaction a bit better.g
14283
14284         * ColorHandler.C (updateColor): change the hash to cover the whole
14285         LColor enum, ws cleanup
14286         (getGCLinepars): ditto
14287         (getGCLinepars): only lookup in the linecache once.
14288
14289 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14290
14291         * iterators.C (operator++): Make the iterator more robust
14292
14293         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14294         (John's patch)
14295         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14296
14297 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14298
14299         * lyxtext.h:
14300         * text.C: better added space drawing
14301
14302 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14303
14304         * LyXView.C:
14305         * BufferView2.C: fix layout combo update on inset unlock
14306
14307 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14308
14309         * Makefile.am: don't compile unused files
14310
14311 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14312
14313         * lyxfunc.C:
14314         * commandtags.h:
14315         * LyXAction.C: remove old LFUN_LAYOUTNO
14316
14317 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14318
14319         * paragraph_pimpl.h:
14320         * paragraph_pimpl.C: isTextAt() doesn't need font param
14321
14322 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14323
14324         * lyxlex.h:
14325         * lyxlex.C: little cleanup
14326
14327 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14328
14329         * BufferView_pimpl.C: fix insertAscii for insets
14330
14331 2001-12-05  Juergen Vigna  <jug@sad.it>
14332
14333         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14334         set the right font on the "multi" paragraph paste!
14335
14336 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14337
14338         * trans_decl.h:
14339         * trans_mgr.[Ch]:
14340         * trans.[Ch]:
14341         * lyxgluelength.C:
14342         * lyxlength.C: remove out-commented code.
14343
14344         * BufferView_pimpl:
14345         * CutAndPaste.C:
14346         * DepTable.C:
14347         * buffer.C:
14348         * chset.C:
14349         * lastfiles.C:
14350         * lyxlex.C:
14351         * lyxlex_pimpl.C:
14352         * lyxserver.C:
14353         * screen.C:
14354         * tabular-old.C:
14355         * tabular.C:
14356         * text.C:
14357         * trans_mgr.C:
14358         * vc-backend.C: change "while(" to "while ("
14359
14360         * lyxlength.[Ch]: add zero function to check if length is zero or
14361         not
14362         * lyxgluelength.C: use it
14363
14364 2001-12-05  Allan Rae  <rae@lyx.org>
14365
14366         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14367         Works for 2.95.3, from what I understand of Garst's reports this should
14368         work for other g++ versions.  We're screwed if the abs(int) definition
14369         changed between bugfix releases of gcc.
14370
14371 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14372
14373         * text.C: fix chapter label offset !
14374
14375 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14376
14377         * lyxtext.h:
14378         * text.C: fix hfill at end of line, clean up
14379
14380 2001-12-04  Juergen Vigna  <jug@sad.it>
14381
14382         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14383         that we force an update of the inset and it's owners if neccessary.
14384
14385 2001-12-03  Juergen Vigna  <jug@sad.it>
14386
14387         * text.C (rowLast): simplified code
14388
14389 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14390
14391         * lyxfunc.C: fix show options on timeout
14392
14393 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14394
14395         * screen.C (topCursorVisible): scroll half a page when the cursor
14396         reached top of bottom of screen
14397
14398 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14399
14400         * minibuffer.C: deactivate on loss of focus
14401
14402 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14403
14404         * vspace.[Ch] (operator!=): add operator.
14405
14406 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14407
14408         * BufferView_pimpl.C: refuse to open an inset when
14409         there's a selection.
14410
14411 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14412
14413         * BufferView_pimpl.C: allow to click on RHS of full row insets
14414
14415 2001-11-30  Juergen Vigna  <jug@sad.it>
14416
14417         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14418         insets for undo reasons.
14419
14420 2001-11-28  André Pönitz <poenitz@gmx.net>
14421
14422         * vspace.[Ch]: cosmetical changes
14423
14424 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14425
14426         * LyXAction.h:
14427         * LyXAction.C:
14428         * lyxfunc.h:
14429         * lyxfunc.C:
14430         * kbmap.h:
14431         * kbmap.C:
14432         * lyxrc.C:
14433         * kbsequence.h:
14434         * kbsequence.C: part re-write of old kb code
14435
14436         * Painter.C:
14437         * WorkArea.C: remove Lgb_bug_find_hack
14438
14439 2001-11-30  José Matos <jamatos@fep.up.pt>
14440
14441         * buffer.C (makeDocBookFile): add a comment to point a hack.
14442         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14443         Fixed a double write of labels.
14444
14445 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14446
14447         * LaTeX.C:
14448         * LaTeX.h Fixed bug in LaTeX class where it would not
14449         re-run latex if no depfiles were changed, but the .dvi was removed.
14450
14451 2001-11-28  André Pönitz <poenitz@gmx.net>
14452
14453         * all the files from the change on 2001/11/26:
14454         use lyx::layout_type instead of LyXTextClass::size_type
14455         use lyx::textclass_type instead of LyXTextClassList::size_type
14456
14457 2001-11-29  Juergen Vigna  <jug@sad.it>
14458
14459         * text.C: added support for paragraph::isFreeSpacing()
14460
14461         * buffer.C: same as above
14462
14463         * paragraph.h: inserted isFreeSpacing() function to enable
14464         FreeSpacing inside InsetERT.
14465
14466         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14467         of the paragraph's in the cut/copy buffer to 0!
14468
14469         * text2.C (removeRow): remove the assert as it can!
14470
14471         * lyxtext.h: added helper function firstRow returning firstrow and
14472         made firstrow private again.
14473
14474         * BufferView2.C (lockInset): don't relock if we're already locked!
14475
14476         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14477         the only paragraph.
14478         (removeRow): added Assert::(firstrow)
14479
14480         * debug.C: forgot to add INSETTEXT here.
14481
14482 2001-11-28  Juergen Vigna  <jug@sad.it>
14483
14484         * sp_spell.C (initialize): changed error text to more general
14485         spellchecker command use (not only ispell!)
14486
14487         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14488
14489         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14490
14491 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14492
14493         * vspace.C: initialise lyxgluelength on failure
14494
14495 2001-11-28  Allan Rae  <rae@lyx.org>
14496
14497         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14498         declaration & definition that looks like a function declaration.
14499
14500 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14501
14502         * BufferView2.C (copy):
14503         (copyEnvironment): do not clear the selection when doing a copy.
14504
14505         * text.C (paintFirstRow): compilation fix
14506
14507 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14508
14509         * tabular.C (Latex): correct line count when writing latex.
14510
14511 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14512
14513         * paragraph_pimpl.h:
14514         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14515           bug a bit
14516
14517 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14518
14519         * text.C:
14520         * LColor.h:
14521         * LColor.C: change vfillline->added_space
14522
14523         * text.C: add markers and text for added space
14524
14525         * vspace.C: fix comment
14526
14527 2001-11-28  André Pönitz <poenitz@gmx.net>
14528
14529         * paragraph.C: whitespace changes
14530         * all the other files from the change on 2001/11/26:
14531         change *::pos_type into lyx::pos_type
14532
14533 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14534
14535         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14536         language of the document when inserting error insets.
14537
14538 2001-11-26  André Pönitz <poenitz@gmx.net>
14539
14540         * BufferView_pimpl.[Ch]:
14541         *       CutAndPaste.C:
14542         * buffer.[Ch]:
14543         * lyxcursor.[Ch]:
14544         * lyxfind.C:
14545         * lyxfunc.C:
14546         * lyxrow.[Ch]:
14547         * paragraph.[Ch]:
14548         * paragraph_pimpl.[Ch]:
14549         * sp_spell.C:
14550         * text.C:
14551         * text2.C: reduce header dependencies, introduce type for positions
14552
14553 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14554
14555         * <various>: change to use Alert.h
14556
14557 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14558
14559         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14560         when encountering an unknown token.
14561         (readLyXformat2): Show an error message if there were unknown tokens.
14562
14563 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14564
14565         * BufferView2.C:
14566         * BufferView_pimpl.C:
14567         * buffer.C:
14568         * paragraph.h:
14569         * text.C:
14570         * text2.C: use par->isInset()
14571
14572 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14573
14574         * paragraph_pimpl.h:
14575         * paragraph_pimpl.C: cleanup
14576
14577 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14578
14579         * text2.C (removeRow):
14580         * text.C (setHeightOfRow): remove useless (and costly) call to
14581         getRow.
14582
14583 2001-11-20  Allan Rae  <rae@lyx.org>
14584
14585         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14586         Now need Inset*::checkInsertChar() to return true for appropriate
14587         cases so that the characters in the minibuffer will actually be
14588         inserted.
14589
14590 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14591
14592         * text.C: change the order of the includes.
14593         (workWidth): initialize it at once.
14594         (workWidth): make maxw unsigned
14595         (setHeightOfRow): remove unused variable (inset)
14596         (selectSelectedWord): remove unused variable (inset)
14597         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14598
14599 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14600
14601         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14602         server is not running.
14603         (openConnection):
14604         (closeConnection): add debug info when server is disabled.
14605
14606         * ColorHandler.C (getGCForeground): send debug message to GUI
14607         channel.
14608
14609         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14610
14611         * kbmap.C (bind): modify because return conventions of
14612         kb_sequence::parse have changed.
14613
14614         * kbsequence.C (parse): only ignore spaces and not any stupid
14615         control character. This avoids tests like s[i] <= ' ', which are
14616         guaranteed to fail with 8bit characters and signed chars.
14617         Change return code to string::npos when there have been no error
14618         (0 was a bad idea when error is at first character)
14619
14620 2001-11-14  José Matos  <jamatos@fep.up.pt>
14621
14622         * buffer.h:
14623         * buffer.C (simpleDocBookOnePar): removed unused argument.
14624
14625 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14626
14627         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14628         insets which are part of a word. Paragraph::isLetter takes care of
14629         that now. Use Paragraph::isInset to identify insets.
14630         (selectSelectedWord): do not test for hyphenation break.
14631
14632         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14633         that protected spaces are considered as spaces.
14634
14635         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14636         Inset::isLetter.
14637
14638 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14639
14640         * lyxserver.h:
14641         * lyxserver.C: fix it. and small cleanup.
14642
14643 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14644
14645         * BufferView_pimpl.C: use inline helpers
14646
14647         * LaTeXFeatures.h:
14648         * LaTeXFeatures.C: fix typos
14649
14650         * Spacing.h:
14651         * Spacing.C: move spacing_string into class
14652
14653         * ToolbarDefaults.C: move stuff into namespace anon
14654
14655         * layout.h: update enum
14656
14657         * lyxfunc.C: use better debug
14658
14659         * minibuffer.h: fix typo
14660
14661         * debug.h:
14662         * debug.C:
14663         * WorkArea.C: add and use Debug::WORKAREA
14664
14665         * lyxtext.h:
14666         * text.C:
14667         * text2.C: code re-organisation, inline helpers
14668
14669 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14670
14671         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14672         std::vector.empty().
14673
14674 2001-11-09  Allan Rae  <rae@lyx.org>
14675
14676         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14677         '\n's after tables.  Tabular and ERT inset work now makes this no
14678         longer necessary.
14679
14680 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14681
14682         * minibuffer.h:
14683         * minibuffer.C: fix crash, improve drop-down completion
14684
14685 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14686
14687         * lyxserver.h:
14688         * lyxserver.C: invalidate fd's when doing endPipe()
14689
14690 2001-11-08  José Matos  <jamatos@fep.up.pt>
14691
14692         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14693         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14694
14695         * paragraph.h:
14696         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14697
14698 2001-11-07  José Matos  <jamatos@fep.up.pt>
14699
14700         * buffer.h:
14701         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14702         const qualifier.
14703
14704         * buffer.C (sgmlOpenTag):
14705         * buffer.C (sgmlCloseTag): removed debug info.
14706
14707         * buffer.h (sgmlOpenTag):
14708         * buffer.h (sgmlCloseTag): made public.
14709
14710 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14711
14712         * buffer.C (saveParamsAsDefaults):
14713         * lyx_cb.C (MenuLayoutSave): remove
14714
14715         * LyXAction.C (init):
14716         * commandtags.h:
14717         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14718
14719 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14720
14721         * buffer.C (setPaperStuff): removed from here...
14722
14723         * bufferparams.C (setPaperStuff): ... and moved there.
14724
14725 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14726
14727         * minibuffer.h:
14728         * minibuffer.C:
14729         * XFormsView.C: add support for drop-down completion
14730
14731 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14732
14733         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14734         commands.
14735
14736 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14737
14738         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14739         disabled.
14740
14741 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14742
14743         * lyx_main.C: change ref to known bugs
14744
14745 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14746
14747         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14748         to work around older babel problems.
14749
14750 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14751
14752         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14753
14754 2001-10-24  Juergen Vigna  <jug@sad.it>
14755
14756         * tabular-old.C (ReadOld): below variable changes reflected.
14757
14758         * tabular.[Ch]: added ltType struct for longtable header/footer
14759         defines and changed all instances where they are used. Added
14760         future support for double top/bottom rows.
14761
14762 2001-10-24  José Matos  <jamatos@fep.up.pt>
14763
14764         * buffer.h (docbookHandleCaption):
14765         * buffer.C (docbookHandleCaption): removed unused function.
14766         (makeDocBookFile): moved docbook supported version to v4.1.
14767
14768 2001-10-24  José Matos  <jamatos@fep.up.pt>
14769
14770         * tabular.h:
14771         * tabular.C (docbookRow): new function to export docbook code of a row.
14772         (DocBook): now honors the longtable flags.
14773
14774 2001-10-23  José Matos  <jamatos@fep.up.pt>
14775
14776         * LaTeXFeatures.h:
14777         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14778         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14779
14780         * buffer.C (makeLinuxDocFile):
14781         (makeDocBookFile): reworked the preamble, more clean, and with
14782         support for lyx defined entities. Changed the document declaration
14783         to be more XML friendly.
14784
14785         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14786         if we need to output XML that should be done with a filter.
14787
14788 2001-10-22  Juergen Vigna  <jug@sad.it>
14789
14790         * sp_pspell.h (class PSpell): add alive function needed in the
14791         controller to see if the spellchecker could be started.
14792
14793 2001-10-22  Juergen Vigna  <jug@sad.it>
14794
14795         * buffer.C (insertStringAsLines): modify the font for inserting
14796         chars in certain conditions by calling checkInsertChar(font).
14797
14798 2001-10-19  Juergen Vigna  <jug@sad.it>
14799
14800         * text.C (workWidth): use getRow instead of wrong algorithm.
14801         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14802
14803 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14804
14805         * lyxserver.h:
14806         * lyxserver.C:
14807         * lyx_main.h:
14808         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14809
14810 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14811
14812         * text.C (workWidth): do not search for the exact row when
14813         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14814         optimization for big documents.
14815
14816 2001-10-18  Juergen Vigna  <jug@sad.it>
14817
14818         * text.C (workWidth): new function with added Inset * parameter.
14819
14820 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14823
14824         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14825         change return type of getColumnNearX.
14826
14827
14828         * text.C (changeRegionCase): use uppercase/lowercase instead of
14829         toupper/tolower.
14830         (leftMargin):
14831         (rightMargin): simplify code by factoring out the uses of
14832         textclasslist.
14833         (labelFill):
14834         (numberOfHfills):
14835         (setHeightOfRow):
14836         (appendParagraph): use Paragraph::size_type
14837
14838 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14839
14840         * vspace.C (asLatexString): add a missing break
14841
14842 2001-10-15  Herbert Voss  <voss@perce.de>
14843
14844         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14845
14846 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14847
14848         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14849         is not available.
14850
14851 2001-10-10  André Pönitz <poenitz@gmx.net>
14852
14853         * lyxfunc.C: removed greek_kb_flag.
14854
14855 2001-10-10  Herbert Voss  <voss@perce.de>
14856
14857         * lyx_main.C: delete global string help_lyxdir.
14858
14859 2001-10-09  Herbert Voss  <voss@perce.de>
14860
14861         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14862
14863         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14864
14865         * lyx_main.C: added global string help_lyxdir.
14866
14867         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14868
14869 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14870
14871         * lyxrc.C (set_font_norm_type): support iso8859-4
14872
14873 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14874
14875         * LaTeX.C (deplog): add another regex for MikTeX
14876
14877 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14878
14879         * lyxrc.C (set_font_norm_type): support iso8859-3
14880
14881 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14882
14883         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14884
14885         * LaTeXFeatures.C: remove special case of french and index
14886
14887         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14888         before \begin{document}). This solves several incompatibilities.
14889
14890 2001-10-03  Garst Reese  <reese@isn.net>
14891
14892         * lyx_cb.C: change CheckTex error msg.
14893
14894 2001-10-03  José Matos  <jamatos@fep.up.pt>
14895
14896         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14897
14898 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14899
14900         * .cvsignore: update
14901
14902         * lyx_main.C (commandLineVersionInfo): use new style version info.
14903
14904         * buffer.C (writeFile):
14905         (makeLaTeXFile):
14906         (makeLinuxDocFile):
14907         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14908
14909         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14910
14911         * version.h: update to use stuff in version.C
14912
14913         * version.C.in: new file. Contains version information determined
14914         at compile time. This is a merging of version.h and
14915         version_info.h.in.
14916
14917 2001-10-03  Juergen Vigna  <jug@sad.it>
14918
14919         * BufferView_pimpl.C (update): don't change "dirty" status in
14920         updateInset call.
14921
14922 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14923
14924         * WorkArea.C (c-tor): re-position version string slightly.
14925
14926 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14927
14928         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14929         revert to previous code.
14930
14931         WorkArea.[Ch]: (show, destroySplash): methods removed.
14932
14933         WorkArea.C: rework code so that it's an amalgam of the codes before and
14934         after the splash screen was moved to WorkArea.
14935
14936 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14937
14938         * lyxrc.C (read):
14939         * vspace.C (inPixels):
14940         (lyx_advance):
14941         * kbmap.C (bind):
14942         * buffer.C (insertStringAsLines):
14943         (asciiParagraph): fix types to be large enough
14944
14945         * lyxlex_pimpl.h: change member status from short to int
14946
14947         * layout.h: fix type of endlabeltype
14948
14949         * kbmap.C (bind):
14950         * kbsequence.C (parse): change return type to string::size_type
14951
14952         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14953         variable
14954
14955         * Bullet.C (bulletSize):
14956         (bulletEntry): do not use short ints as parameters
14957
14958         * BufferView2.C (insertLyXFile): change a char to an int.
14959
14960         * WorkArea.C (WorkArea): remove unneeded floats in computation
14961
14962 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14963
14964         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14965
14966         * paragraph.C (asString): Do not ignore newline/hfill chars when
14967         copying to the clipboard.
14968
14969 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14970
14971         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14972         after a multi-line inset.
14973
14974 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14975
14976         * paragraph.C (validate): Set NeedLyXFootnoteCode
14977
14978 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14979
14980         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14981         and decrease-error to decrease.
14982
14983 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14984
14985         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14986         it more readable (should be equivalent)
14987
14988 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14989
14990         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14991
14992 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14993
14994         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14995         of a cursor (row, etc.) after a character has been deleted
14996         (deleteEmptyParagraphMechanism): call the method above on _all_
14997         cursors held by the LyXText when a double space has been
14998         detected/deleted.
14999
15000 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15001
15002         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15003         pixmap.
15004         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15005
15006         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15007         background. Use greyOut() and the new show() methods to toggle between
15008         the foreground and background. Add code to remove the splash after
15009         its initial showing.
15010
15011         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15012         (create_forms): no longer call Dialogs::showSplash.
15013
15014 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15015
15016         * .cvsignore: add version_info.h
15017
15018 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15019
15020         * version_info.h.in: new file
15021
15022         * Makefile.am: add version_info.h.in
15023
15024         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15025         version_info.h instead of VERSION_INFO
15026
15027 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15028
15029         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15030         The ERT inset now returns string().
15031
15032 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15033
15034         * lyxtext.h, text.C (selectNextWord): renamed as
15035         selectNextWordToSpellcheck.
15036
15037         * text.C (selectNextWordToSpellcheck): Modified to not select
15038         words inside an ERT inset.
15039
15040 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15041
15042         * lyx_cb.C (MenuLayoutSave): change a bit the question
15043
15044         * sp_base.h: include <sys/types.h>
15045
15046 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15047
15048         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15049
15050 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15051
15052         * several files: fix typos in user-visible strings
15053
15054 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15055
15056         * text2.C (pasteSelection): do not set the selection, since it
15057         will be cleared later. Actually, the intent was to fix the way the
15058         selection was set, but I figured rmoving the code was just as good.
15059
15060 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15061
15062         * FontLoader.C (available): Check if font is available without
15063         loading the font.
15064
15065 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15066
15067         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15068
15069 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15070
15071         * lyxrc.[Ch]: added display_graphics variable and associated code.
15072
15073 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15074
15075         * bufferparams.C (hasClassDefaults): new method. Returns true if
15076         the buffer parameters correspond to known class defaults
15077
15078 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15079
15080         * XFormsView.C (show): set minimum size to the main window.
15081
15082 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15083
15084         * text2.C (copySelection):
15085         (cutSelection):
15086         * lyxfind.C (LyXReplace):
15087         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15088         LyXText::selectionAsString.
15089
15090         * paragraph.C (asString): add "label" argument to the second form
15091
15092         * text2.C (selectionAsString): add "label" argument and pass it to
15093         Paragraph::asString.
15094
15095 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15096
15097         * lyx_main.C (commandLineHelp): remove version information
15098
15099 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15100
15101         * lyx_main.C: add -version commandline option
15102
15103 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15104
15105         * paragraph.h: make the optional constructor arg required instead.
15106         some modifications to other files because of this.
15107
15108         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15109
15110         * lyxserver.C (C_LyXComm_callback): make it static
15111
15112         * lyx_main.C (error_handler): make it static
15113
15114         * lyx_gui.C (LyX_XErrHandler): make it static
15115
15116         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15117
15118         * WorkArea.C: make the extern "C" methods static.
15119
15120         * Makefile.am (lyx_LDADD): simplify
15121
15122 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15123
15124         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15125         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15126
15127         * LyXAction.C (init):
15128         * lyxfunc.C (dispatch): associated code removal.
15129
15130 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15131
15132         * lyxfont.h (isSymbolFont): shut off warning
15133
15134         * text.C (setHeightOfRow):
15135         (getVisibleRow): fix crash with empty paragraphs which have a
15136         bottom line
15137
15138 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15139
15140         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15141         code.
15142
15143 2001-09-04  José Matos  <jamatos@fep.up.pt>
15144         * buffer.C
15145         * buffer.h
15146         * tabular.C (docbook): rename docBook method to docbook.
15147
15148 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15149
15150         * Makefile.am: add dependencies to main.o.
15151
15152 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15153
15154         * FontLoader.C (available): Return false if !lyxrc.use_gui
15155
15156 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15157
15158         * FontInfo.C (query):
15159         * converter.C (view):
15160         * importer.C (Import):
15161         * exporter.C (Export): Can not -> cannot.
15162
15163 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15164
15165         * BufferView_pimpl.C: allow to create index inset even if
15166           string is empty
15167
15168 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15169
15170         * buffer.C (getLists): replace boost::tie code with an explicit pair
15171         as boost::tie can break some compilers.
15172
15173         * iterators.h: Added a std:: declaration to the return type of
15174         ParIterator::size.
15175
15176 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15177
15178         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15179           case.
15180
15181 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15182
15183         * iterators.[Ch]: New files. Provide paragraph iterators.
15184
15185         * buffer.C (changeLanguage): Use paragraph iterators.
15186         (isMultiLingual): ditto
15187
15188         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15189
15190 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15191
15192         * FontLoader.C: Support for cmr font.
15193
15194 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15195
15196         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15197         (available): New method.
15198
15199         * FontInfo.C (getFontname): Use scalable fonts even when
15200         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15201         found.
15202
15203 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15204
15205         * converter.C (Formats::view): reverted! Incorrect fix.
15206
15207 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15208
15209         * converter.C (Formats::view): only output the -paper option
15210         if the dvi viewer is xdvi, thereby fixing bug #233429.
15211
15212 2001-08-23  Herbert Voss  <voss@perce>
15213
15214         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15215
15216 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15217
15218         * Spacing.h (Spacing): Set space to Default on in the default
15219         constructor.
15220
15221 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15222
15223         * vc-backend.h (RCS::versionString): add RCS to version
15224         (CVS::versionString): add CVS to version
15225
15226         * vc-backend.C (scanMaster): do not add CVS to version.
15227         (scanMaster): do not add RCS to version
15228
15229         * lyxvc.C (versionString): new method
15230
15231         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15232
15233 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15234
15235         * Spacing.C (set): initialize fval
15236
15237 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15238
15239         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15240         " or \.
15241
15242 2001-08-16  Juergen Vigna  <jug@sad.it>
15243
15244         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15245
15246 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15247
15248         * BufferView_pimpl.C:
15249         * figureForm.C:
15250         * lyxtext.h:
15251         * text2.C: setParagraph takes linespacing now
15252
15253 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15254
15255         * LyxAction.C: add internal LFUN_CITATION_INSERT
15256
15257         * LyXView.C: actually apply fix
15258
15259         * bufferlist.C: fix open non-existent file
15260
15261         * lyxfind.C: fix indentation
15262
15263         * lyxfunc.C: remove unneeded assert, fix typo
15264
15265 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15266
15267         * MenuBackend.C: use "Floatname List"
15268
15269 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15270
15271         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15272         when converting LaTeX layout to insetERT.
15273         Generate a non-collapsed float when reading old float
15274
15275 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15276
15277         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15278         ERT insets.
15279
15280 2001-08-13  Juergen Vigna  <jug@sad.it>
15281
15282         * text.C (fill): return 0 instead of 20 as this seems to be the more
15283         correct value.
15284
15285 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15286
15287         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15288         lyxrc.font_norm.
15289
15290 2001-08-13  Juergen Vigna  <jug@sad.it>
15291
15292         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15293         casesensitive off.
15294         (SearchBackward): comment out the unlocking of the inset_owner this
15295         should not be needed!
15296
15297 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15298
15299         * Many files: Remove inherit_language, and add latex_language
15300
15301         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15302         collapsible insets.
15303
15304 2001-08-10  Juergen Vigna  <jug@sad.it>
15305
15306         * text.C (prepareToPrint): fixed hfill-width in draw!
15307
15308         * BufferView2.C (selectLastWord): save the selection cursor as this
15309         now is cleared in the function LyXText::clearSelection!
15310
15311 2001-08-08  Juergen Vigna  <jug@sad.it>
15312
15313         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15314         BACKSPACE type functions.
15315
15316         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15317         is only cutted from the document but not put in the cut-buffer, where
15318         still the old stuff should be.
15319
15320         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15321
15322         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15323
15324         * tabular.C (SetWidthOfCell): fixed special case where the width
15325         was not updated!
15326         (LeftLine): handle '|' in align_special.
15327         (RightLine): ditto
15328         (LeftAlreadyDrawed): ditto
15329         (SetWidthOfCell): ditto
15330
15331 2001-08-07  Juergen Vigna  <jug@sad.it>
15332
15333         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15334
15335 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15336
15337         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15338         * lyxlex.[hC]: ditto
15339
15340 2001-08-06  Juergen Vigna  <jug@sad.it>
15341
15342         * text.C (getVisibleRow): fix up row clearing a bit.
15343
15344 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15345
15346         * minibuffer.C: make sure the X server sees the changes in the input.
15347
15348 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15349
15350         * paragraph.C (getFont): split into...
15351         (getLabelFont): this
15352         (getLayoutFont): and this
15353         * paragraph_pimpl.C (realizeFont): calling this
15354
15355         * text2.C (getFont): split into...
15356         (getLayoutFont): this
15357         (getLabelFont): and this
15358         (realizeFont): all three calling this
15359
15360         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15361         files where used.
15362
15363 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15364
15365         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15366
15367 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15368
15369         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15370         layouts from the Quote inset insertion.
15371
15372 2001-08-03  Juergen Vigna  <jug@sad.it>
15373
15374         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15375
15376         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15377         only if status not is already CHANGED_IN_DRAW (second level).
15378
15379         * text.C (draw): don't set the need_break_row when inside an
15380         InsetText LyXText.
15381
15382 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15383
15384         * buffer.C (parseSingleLyXformat2Token): handle more latex
15385         conversion cases.
15386
15387         * bufferview_funcs.[hC]: change function names to
15388         begin with small char, adjust other files.
15389
15390 2001-08-02  André Pönitz <poenitz@gmx.net>
15391
15392         * lyxfunc.C:
15393         BufferView_pimpl.C: remove broken special code for math-greek
15394
15395 2001-08-02  Juergen Vigna  <jug@sad.it>
15396
15397         * BufferView_pimpl.C (update): redone this function so that we
15398         update the text again if there was a CHANGE_IN_DRAW.
15399
15400         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15401         (drawFromTo): added a new internal bool which is used by draw() and
15402         redraw() function.
15403         (general): some cursor drawing problems fixed.
15404
15405 2001-08-01  Juergen Vigna  <jug@sad.it>
15406
15407         * lyxfind.C (LyXFind): fixed
15408         (SearchForward): ditto
15409         (SearchBackward): ditto
15410
15411         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15412         spurius drawing of the cursor in the main area.
15413
15414         * text2.C (status): small fix which could lead to a segfault!
15415         (clearSelection): remove unneeded BufferView param.
15416
15417 2001-08-01  André Pönitz <poenitz@gmx.net>
15418
15419         * lyxfunc.C: small change due to changed mathed interface
15420
15421 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15422
15423         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15424
15425 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15426
15427         * lyxfunc.c: fail gracefully if file doesn't exist
15428
15429         * LyXSendto.C:
15430         * buffer.C:
15431         * lyxfunc.C:
15432         * BufferView_pimpl.C: IsDirWriteable() proto changed
15433
15434         * LyXView.C: fix updateWindowTitle() to store the last title
15435
15436 2001-07-31  Juergen Vigna  <jug@sad.it>
15437
15438         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15439         the font (wrong since using of Paragraph::highestFontInRange).
15440
15441         * paragraph.C (highestFontInRange): added a default_size parameter.
15442
15443         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15444         (setHeightOfRow): reformat
15445
15446 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15447
15448         * converter.[hC] + affected files: move to (inital-char)lowercase
15449         function names.
15450
15451         * ParagraphParameters.C (ParagraphParameters): remove commented code
15452
15453         * PainterBase.[Ch]: remove commented code
15454
15455         * LaTeXFeatures.h: add "bool floats" for float.sty
15456
15457         * LaTeXFeatures.C (LaTeXFeatures): init floats
15458         (require): handle float
15459         (getPackages): do it with floats
15460
15461 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15462
15463         * BufferView_pimpl.C (Dispatch): improve handling of
15464         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15465
15466         * commandtags.h: #include lyxfont.h here temporarily to avoid
15467         keybinding bug.
15468
15469         * bufferlist.h: include LString.h here.
15470
15471 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15472
15473         * text2.C (getStringToIndex): new method.
15474
15475 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15476
15477         * *: Reduced header file dependencies all over.
15478
15479 2001-07-30  Baruch Even  <baruch@lyx.org>
15480
15481         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15482
15483 2001-07-29  Baruch Even  <baruch@lyx.org>
15484
15485         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15486
15487 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15488
15489         * ParameterStruct.h (endif): add a default constructor to make
15490         sure that all variables is initialized.
15491
15492         * ParagraphParameters.C (ParagraphParameters): adjust
15493
15494 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15495
15496         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15497         index; also, check that there is something to index, and that it
15498         does not span over several paragraphs.
15499         (doubleClick): use WHOLE_WORD_STRICT for double click.
15500
15501         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15502
15503         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15504         scheme.
15505
15506 2001-07-26  Baruch Even  <baruch@lyx.org>
15507
15508         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15509         an InsetFig figure, backwards compatible reading of old figure code.
15510
15511 2001-07-27  Juergen Vigna  <jug@sad.it>
15512
15513         * text2.C: font.realize function adaption.
15514
15515         * text.C (draw): add a warnings lyxerr text if needed.
15516
15517         * layout.C: font.realize function adaption.
15518
15519         * language.C: add inherit_language and implement it's handlings
15520
15521         * bufferview_funcs.C (StyleReset): remove language parameter from
15522         font creation (should be language_inherit now).
15523
15524         * bufferparams.C (writeFile): handle ignore_language.
15525
15526         * paragraph.C (getFontSettings): the language has to be resolved
15527         otherwise we have problems in LyXFont!
15528
15529         * lyxfont.C (lyxWriteChanges): added document_language parameter
15530         (update): removed unneeded language parameter
15531
15532         * paragraph.C (validate): fixed wrong output of color-package when
15533         using interface colors for certain fonts in certain environments,
15534         which should not seen as that on the final output.
15535
15536 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15537
15538         * BufferView_pimpl.C:
15539         * Thesaurus.h:
15540         * Thesaurus.C:
15541         * Makefile.am:
15542         * commandtags.h:
15543         * LyXAction.C: add thesaurus support
15544
15545         * lyxfind.h:
15546         * lyxfind.C: add "once" parameter, for thesaurus, to not
15547           move to the next match
15548
15549 2001-07-26  Juergen Vigna  <jug@sad.it>
15550
15551         * lyxfont.C (realize): honor ignore_language too!
15552         (resolved): ditto.
15553
15554         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15555
15556         * text.C (draw): one place more for ignore_language to not draw
15557         itself!
15558
15559 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15560
15561         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15562
15563 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15564
15565         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15566         the minipage conversion problem.
15567
15568 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15569
15570         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15571         insert an inset.
15572
15573 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15574
15575         * BufferView.h: don't forward declare WorkArea
15576
15577         * BufferView.C: don't include WorkArea.h
15578
15579 2001-07-25  André Pönitz <poenitz@gmx.net>
15580
15581         * commandtags.h:
15582         * LyXAction.C:
15583         * lyxfunc.C:  new LFUN 'math-space'
15584
15585         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15586
15587 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15588
15589         * text2.C (toggleInset): call open/close
15590
15591 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15592
15593         * lyxfunc.C (dispatch): add debug for the disabled case
15594
15595         * font.C (buttonText): make similar to rectText
15596
15597         * buffer.C (readInset): comment out parsing of insetlist and
15598         insttheorem
15599
15600         * PainterBase.C (rectText): small correction
15601
15602         * BufferView_pimpl.C: comment out insettheorem and insetlist
15603         * LyXAction.C: ditto
15604         * commandtags.h: ditto
15605
15606 2001-07-24  Juergen Vigna  <jug@sad.it>
15607
15608         * text.C (draw): honor the ignore_language.
15609
15610         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15611
15612 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15613
15614         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15615         char inset.
15616
15617 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15618
15619         * lyxtext.h: remove unused (and unimplemented) methods
15620
15621 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15622
15623         * text.C (getVisibleRow): honor background color
15624
15625         * PainterBase.h:
15626         * Painter.h: remove default color argument for fillRectangle
15627
15628         * text.C (backgroundColor): new method
15629
15630 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15631
15632         * text.C (getVisibleRow): adjust
15633
15634         * font.[Ch] (rectText): new method, metrics
15635         (buttonText): new method, metrics
15636
15637         * PainterBase.[hC]: make rectText and buttonText always draw and take
15638         fewer paramteres.
15639
15640 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15641
15642         * ToolbarDefaults.C (read):
15643         * MenuBackend.C (read): allow escaping in all strings
15644
15645         * BufferView_pimpl.C (insertAndEditInset): new method.
15646         (Dispatch): use insertAndEditInset whenever appropriate.
15647
15648         * BufferView_pimpl.C (insertNote): removed
15649
15650         * BufferView_pimpl.C (smartQuote): new method, moved from
15651         BufferView; if an insetquote cannot be inserted, insert a '"'
15652         character instead.
15653
15654         * BufferView2.C: remove insertCorrectQuote();
15655
15656         * lyxfunc.C (getStatus): Add support for all remaingin
15657         inset-insert lfuns.
15658
15659         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15660
15661         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15662         command (necessary to pass " as parameter of self-insert.
15663
15664         * text.C (selectWordWhenUnderCursor):
15665         (selectWord): add word_location parameter
15666         (selectWordWhenUnderCursor): same + remove special code for word
15667         boundary.
15668         (selectNextWord): use kind() to guess type of insetspecialchar,
15669         not latex().
15670
15671         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15672         (insertErtContents): create ert insets as collapsed.
15673         (readInset): better compatibility code for Info inset.
15674
15675 2001-07-20  Juergen Vigna  <jug@sad.it>
15676
15677         * lyxfunc.C (dispatch): use always LyXFind now!
15678
15679         * text2.C (init): add a reinit flag so that the LyXText can be
15680         reinited instead of deleted and reallocated (used in InsetText).
15681
15682         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15683
15684         * text.C: ditto
15685
15686         * text2.C: ditto
15687
15688 2001-07-18  Juergen Vigna  <jug@sad.it>
15689
15690         * text.C (selectNextWord): handle insets inside inset by calling
15691         always the bv->text functions so that we can go up the_locking_inset!
15692
15693         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15694         in strange locations when inside an inset!
15695
15696         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15697         handling to include insets.
15698
15699         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15700
15701 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15702
15703         * LyXAction.C (init):
15704         * commandtags.h:
15705         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15706         LIGATURE_BREAK, since the name is so stupid.
15707
15708 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15709
15710         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15711         InsetInfos.
15712
15713         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15714
15715         * sp_form.[Ch]: remove.
15716
15717         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15718
15719         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15720         InsetInfo.
15721
15722         * src/buffer.C (readInset): ditto.
15723
15724 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15725
15726         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15727         menuSeparator(), endOfSentenceDot(), ldots() and
15728         hyphenationPoint(), which are therefore removed.
15729         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15730
15731         * LyXAction.C (init):
15732         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15733
15734         * paragraph.C (getWord): removed.
15735
15736         * BufferView_pimpl.C (Dispatch): use last word or selection for
15737         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15738
15739         * lyx_main.C (queryUserLyXDir): do not ask before creating
15740         user_dir, except if it has been named explicitely.
15741
15742 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15743
15744         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15745         a document of zero size.
15746
15747 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15748
15749         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15750         approriately in the c-tor and in require().
15751         (getPackages): output the appropriate LaTeX for natbib support.
15752
15753         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15754         variables "use_natbib" and "use_numerical_citations" when reading the
15755         LyX file.
15756         (readInset): read the various natbib cite commands.
15757         (validate): white-space change.
15758
15759         * bufferparams.[Ch]: new variables "bool use_natbib" and
15760         "bool use_numerical_citations".
15761         (writeFile): output them in the LyX file.
15762
15763 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15764
15765         * lyxfunc.C (getStatus): add support for all the inset insertion
15766         commands.
15767
15768         * text2.C (insertInset):
15769         * paragraph.C (insetAllowed):
15770         * BufferView_pimpl.C (insertInset): update to take in account the
15771         renaming of insertInsetAllowed
15772
15773         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15774
15775         * text2.C (getInset): new method. returns inset at cursor position.
15776
15777         * BufferView_pimpl.C (Dispatch): changes because of this.
15778
15779         * LyXAction.C (init): rename open-stuff to inset-toggle.
15780
15781         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15782
15783         * text2.C (toggleInset): renamed from openStuff; use
15784         Inset::open().
15785
15786 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15787
15788         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15789
15790         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15791
15792 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15793
15794         * buffer.C (readLyXformat2): Add filename to the error dialog
15795
15796 2001-07-18  Juergen Vigna  <jug@sad.it>
15797
15798         * tabular.C (GetCellNumber): put an assert here instead of the check!
15799
15800 2001-07-17  Juergen Vigna  <jug@sad.it>
15801
15802         * BufferView_pimpl.C (toggleSelection): adapted too.
15803
15804         * text.C (selectNextWord): adapted for use with insets.
15805         (selectSelectedWord): ditto
15806
15807 2001-07-17  Juergen Vigna  <jug@sad.it>
15808
15809         * sp_spell.C (PSpell): fix initialitation order.
15810
15811 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15812
15813         * paragraph.C: spacing
15814
15815 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15816
15817         * sp_spell.C: repair language selection for pspell
15818
15819 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15820
15821         * lyxfunc.h: change more methods to begin with lower char.
15822
15823 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15824
15825         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15826         for unknown layouts.
15827
15828 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15829
15830         * buffer.C (readLyXformat2): Generate an error dialog if there are
15831         unknown layouts.
15832
15833 2001-07-16  Juergen Vigna  <jug@sad.it>
15834
15835         * sp_spell.C: always compile ISpell part.
15836
15837         * lyxrc.C: added use_pspell entry and it's handling.
15838
15839 2001-07-13  Juergen Vigna  <jug@sad.it>
15840
15841         * sp_spell.C: removed double includes.
15842
15843 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15844
15845         Consistent use of Lsstream.h:
15846         * Lsstream.h: added using std::stringstream for consistencies sake.
15847
15848         * buffer.C: removed using std::stringstream
15849
15850         * lyxfont.C (stateText):
15851         * paragraph.C (asString):
15852         * text.C (selectNextWord, selectSelectedWord):
15853         * text2.C (setCounter):
15854         * vspace.C (asString, asLatexString):
15855         std::ostringstream -> ostringstream.
15856
15857 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15858
15859         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15860         * commandtags.h: add LFUN_HELP_ABOUTLYX
15861         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15862
15863 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15864
15865         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15866         cursorToggle()
15867         * lyx_gui_misc.C: remove spellchecker
15868         * lyxfunc.C: showSpellchecker
15869         * sp_base.h: added
15870         * sp_ispell.h: added
15871         * sp_pspell.h: added
15872         * sp_spell.C: added
15873         * sp_form.[Ch]: removed
15874         * spellchecker.[Ch]: removed
15875
15876 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15877
15878         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15879         is set.
15880         (simpleTeXSpecialChars): Simply print the input character without
15881         any special translation if pass_thru is set.
15882
15883         * layout.h: Added bool pass_thru to layout class for being able to
15884         implement pass through of a paragraph for Literate Programming.
15885
15886         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15887         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15888         * layout.C (Read): add "passthru" to list of layout tags and add
15889         code to set the pass_thru boolean when it is read.
15890
15891 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15892
15893         * trans_decl.h: remove allowed from KmodInfo
15894
15895         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15896         remove allowed code
15897         (Load): adjust
15898
15899         * paragraph_pimpl.C (erase): use boost::prior
15900
15901         * Painter.C (text): use data() instead of c_str() when length is
15902         also provided.
15903         * WorkArea.C (putClipboard): ditto
15904         * font.h (width): ditto
15905
15906         * BufferView2.C: use it-> instead of (*it). for iterators
15907         * texrow.C: ditto
15908         * paragraph_pimpl.C: ditto
15909         * paragraph.C: ditto
15910         * minibuffer.C: ditto
15911         * language.C: ditto
15912         * kbmap.C: ditto
15913         * encoding.C: ditto
15914         * counters.C: ditto
15915         * converter.C: ditto
15916         * chset.C: ditto
15917         * Variables.C: ditto
15918         * TextCache.C: ditto
15919         * MenuBackend.C: ditto
15920         * LyXAction.C: ditto
15921         * LColor.C: ditto
15922         * FloatList.C: ditto
15923         * DepTable.C: ditto
15924         * ColorHandler.C (LyXColorHandler): ditto
15925
15926 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15927
15928         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15929
15930         * text2.C (openStuff): reintroduce this method (which had been
15931         nuked in NEW_INSETS frenzy).
15932
15933         * lyxfunc.C (Dispatch): when an action has not been handled, use
15934         its name in the error message, not its number.
15935
15936         * paragraph.C (inInset): change method name to begin with lowercase.
15937
15938         * undo_funcs.C:
15939         * text2.C: updates because of this.
15940
15941 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15942
15943         * ToolbarDefaults.C (add): add spaces in error message
15944
15945 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15946
15947         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15948         (readLyXformat2): rename return_par to first_par, use lyxlex's
15949         pushToken and remove the manual push handling.
15950         (parseSingleLyXformat2Token): add another ert comp. variable:
15951         in_tabular, rename return_par to first_par. handle newlines better
15952
15953 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15954
15955         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15956
15957 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15958
15959         * text2.C (getParFromID): removed
15960
15961         * buffer.C (getParFromID): new method moved form lyxtext.
15962         * BufferView2.C (insertErrors): adjust
15963         (setCursorFromRow): adjust
15964         * BufferView_pimpl.C (restorePosition): adjust
15965         * lyxfunc.C (Dispatch): adjust
15966         * undo_funcs.C (textUndo): adjust
15967         (textRedo): adjust
15968         (textHandleUndo): adjust
15969         (textHandleUndo): adjust
15970
15971 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15972
15973         * buffer.C: up' the LYX_FORMAT
15974
15975         * lyxfont.h: turn NO_LATEX on as default
15976
15977         * buffer.C (insertErtContents): new methods of tex style compability.
15978         (parseSingleLyXformat2Token): use it several places.
15979         * tabular.C (OldFormatRead): and here
15980
15981 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15982
15983         * text2.C: remove some commented code.
15984         reindent file.
15985
15986         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15987         * trans.C: changes because of the above.
15988
15989 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15990
15991         * text2.C (setCounter): Fix counters bug with bibliography layout.
15992
15993 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15994
15995         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15996         own member functions
15997         (simpleTeXSpecialChars): ditto
15998
15999 2001-07-06  Juergen Vigna  <jug@sad.it>
16000
16001         * a lot of files: changed the access to LyXText::status and the
16002         call of undo-functions.
16003
16004         * undo.[Ch]: added a inset_id to the undo informations.
16005
16006         * undo_funcs.[Ch]: added and moved here all undo functions.
16007
16008         * lyxtext.h: give the status enum a weight, made status_ a private
16009         variable and made accessor functions for it, removed the whole bunch
16010         of undo-functions as they are now in their own file, make some
16011         functions publically available. Added function ownerParagraph with
16012         int parameter.
16013
16014         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16015         made InInset() a const function, added getParFromID() function.
16016
16017         * buffer.[Ch]: added const version for inset_iterator functions,
16018         added getInsetFromID() function.
16019
16020         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16021         changed undo functions for new version.
16022
16023 2001-07-05  Juergen Vigna  <jug@sad.it>
16024
16025         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16026         unknow mechanism does not call the proper constructor but only this
16027         one also if I request the other!?
16028
16029 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16030
16031         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16032
16033         * text2.C (LyXText): use initialization lists.
16034
16035         * lyxtext.h (Selection): initialize set_ and mark_
16036         (init): remove method
16037
16038 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16039
16040         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16041
16042 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16043
16044         * screen.[Ch]: change method names to begin with lowercase
16045
16046         * BufferView_pimpl.C (updateScrollbar): simplify further and
16047         hopefully make it a bit faster.
16048
16049 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16050
16051         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16052         calling directly xforms functions.
16053
16054         * Painter.C (Painter):
16055         * lyx_cb.C (MenuWrite):
16056         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16057         fl_display.
16058
16059         * lyx_gui.C: remove bogus guiruntime extern declaration.
16060
16061 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16062
16063         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16064         in NEW_INSETS
16065         (redoDrawingOfParagraph): ditto
16066         (redoParagraphs): ditto
16067         (cutSelection): don't create a object for CutAndPaste use the
16068         static method directly
16069         (pasteSelection): ditto
16070
16071         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16072         LyXview (+ rename)
16073
16074 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16075
16076         * modifications to some other files because of this.
16077
16078         * Makefile.am (lyx_SOURCES): add XFormsView
16079
16080         * XFormsView.[Ch]: new files
16081
16082         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16083         the main window. Move the gui dependent stuff to XFormsView
16084
16085 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16086
16087         * tabular.C (GetCellInset): update cur_cell also in the row/col
16088         version of this function.
16089
16090         * lyxfunc.C: no need to include figure_form.h here.
16091
16092         * FontLoader.h:
16093         * lyxfunc.h:
16094         * lyxscreen.h:
16095         * text2.C:
16096         * lyxvc.C: no need to include forms.h here.
16097
16098 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16099
16100         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16101
16102         * lyxfunc.C (Dispatch):
16103         * Spacing.C (set):
16104         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16105         constructor argument.
16106
16107 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16108
16109         * paragraph.C (Paragraph): dont't clear, and just set layout.
16110         (makeSameLayout): use params's copy contructor.
16111
16112         * ParagraphParameters.[Ch] (makeSame): delete method
16113
16114 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16115
16116         * Variables.[Ch]: fix indentation, rename set to isSet
16117
16118 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16119
16120         * lyxfunc.C (Dispatch): fix typo
16121
16122 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16123
16124         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16125         upper_bound.
16126
16127         * bufferlist.C: include assert.h for emergencyWrite().
16128
16129 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16130
16131         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16132           give up at last (bug #425202) !
16133
16134 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16135
16136         * lyx_gui_misc.C:
16137         * sp_form.h:
16138         * sp_form.C:
16139         * spellchecker.h:
16140         * spellchecker.C: strip spellchecker options and bring up
16141           preferences tab instead
16142
16143 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16144
16145         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16146         the istringstream constructor
16147
16148 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16149
16150         * paragraph.C (getLayout): fix return value
16151
16152         * paragraph.h: do not declare getLayout as inline.
16153
16154         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16155
16156 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16157
16158         * lyxcursor.h (operator<): new func
16159         (operator>): new func
16160         (operator>=): new func
16161         (operator<=): new func
16162
16163         * text.C (changeCase): use selection.start and selection.end
16164         (changeRegionCase): require from to be <= to. Require par to be a
16165         valid paragraph.
16166
16167         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16168
16169 2001-06-27  Juergen Vigna  <jug@sad.it>
16170
16171         * text.C (cursorLeftOneWord): changed to return the cursor and added
16172         overlay with BufferView * parameter which calls this one.
16173         (getWord): added
16174         (selectWord): use new getWord function.
16175         (changeCase): renamed from changeWordCase as and extended to work
16176         also on selections.
16177
16178         * lyxtext.h: added enum word_location
16179
16180         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16181         changeCase as this operates now also on selections.
16182
16183 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16184
16185         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16186
16187         * many files: send debug output to Debug::INFO instead of
16188         Debug::ANY.
16189
16190         * converter.C (View):
16191         (Convert):
16192         (Move): send debug output to Debug::FILES instead of console.
16193
16194 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16195
16196         * lyxfunc.C (getStatus): use func_status
16197
16198         * func_status.h: new header, describing the results of
16199         LyXFunc::getStatus;
16200
16201         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16202         LFUN_MATH_HALIGN.
16203
16204 2001-06-25  The LyX Project  <jug@sad.it>
16205
16206         * buffer.C (sgmlOpenTag):
16207         (sgmlCloseTag):
16208         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16209
16210 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16211
16212         * text2.C: remove some dead code
16213
16214         * tabular.C (GetCellInset): store the last cell checked (gotten)
16215
16216         * tabular.h: add the helper for the speedup
16217
16218         * lyxtext.h: remove some dead code
16219
16220 2001-06-26  The LyX Project  <Asger>
16221
16222         * paragraph.C: Change export to LaTeX of alignment to
16223         \begin{center} and family for better roundtrip work with reLyX.
16224
16225         * Tune the math drawing a bit.
16226
16227 2001-06-25  The LyX Project  <Asger>
16228
16229         * LColor.C (LColor): New color for math background. New color
16230         for buttons.
16231
16232 2001-06-25  The LyX Project  <jug@sad.it>
16233
16234         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16235
16236         * lyxfunc.C (Open):
16237         * bufferlist.C (newFile): do not restrict to files ending with
16238         .lyx
16239
16240         * BufferView_pimpl.C (MenuInsertLyXFile):
16241
16242 2001-06-24  The LyX Project  <jug@sad.it>
16243
16244         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16245         of compare_no_case
16246
16247 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16248
16249         * lyxtext.h: rename most methods to begin with a small char.
16250         Lots of changes because of this.
16251
16252         * paragraph.C (Paragraph): do not call fitToSize
16253         (erase): call Pimpl::erase
16254         (insertChar): call Pimpl::insertChar
16255         (insertInset): call Pipl::insertInset
16256         (breakParagraph): do not call fitToSize
16257         (breakParagraphConservative): do not call fitToSize
16258         (fitToSize): remove method
16259
16260         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16261
16262 2001-06-24  The LyX Project  <Asger>
16263
16264         * Fix Qt compilation^2
16265
16266 2001-06-24  The LyX Project  <jug@sad.it>
16267
16268         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16269         depthHook(getDepth()-1).
16270
16271         * paragraph.h:
16272         * ParagraphParameters.h:
16273         * ParameterStruct.h: change type of depth to unsigned int ==
16274         depth_type. Many adaptations to other files before of that.
16275
16276 2001-06-24  The LyX Project  <Asger>
16277
16278         * Fix Qt compilation.
16279
16280 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16281
16282         * paragraph.h: renamed several methods to begin with small letter.
16283         several changes to many parts of the code because of this.
16284
16285 2001-06-23  The LyX Project  <jug@sad.it>
16286
16287         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16288         rewritten to discard all double spaces when KeepEmpty is off
16289         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16290         to only handle newlines but not fiddle with spaces and friends.
16291
16292         * lyxfunc.C (MenuNew): when doing 'new from template', use
16293         template_path as default directory
16294
16295 2001-06-23  The LyX Project  <Asger>
16296
16297         * Clean-up of header file includes all over
16298         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16299
16300 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16301
16302         * paragraph.h: renamed from lyxparagraph.h
16303
16304 2001-06-23  Asger  <lyx@violet.home.sad.it>
16305
16306         * Buffer.h: Removed Buffer::resize
16307         * BufferList.h: Removed BufferList::resize
16308         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16309         the document lazily when we change the width, or the font settings.
16310
16311 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16312
16313         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16314
16315 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16316
16317         * buffer.h: remove out of date comment
16318
16319 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16320
16321         * lyxscreen.h:
16322         * screen.C: fix "theoretical" GC leak
16323
16324 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16325
16326         * LaTeX.C (scanAuxFile):
16327         (deplog): remove trailing \r when reading stream (useful under
16328         win32)
16329
16330 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16331
16332         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16333         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16334         and BufferView::theLockingInset(Inset*), so should use them and not
16335         access bv_->text->the_locking_inset directly.
16336
16337         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16338
16339 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16340
16341         * Makefile.am:
16342         * tex-defs.h: remove old unused file
16343
16344 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16345
16346         * BufferView_pimpl.C: fix typo, remove minibuffer message
16347           when buffer has loaded
16348
16349 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16350
16351         * lyxfunc.C (Dispatch): use stringstream
16352         (MenuNew): use stringstream
16353         (Open): use stringstream
16354
16355         * importer.C (Import): use stringstream
16356
16357         * bufferview_funcs.C (CurrentState): use stringstream
16358
16359         * LaTeX.C (run): use stringstream
16360
16361         * BufferView_pimpl.C (savePosition): use stringstream
16362         (restorePosition): use stringstream
16363         (MenuInsertLyXFile): use stringstream
16364
16365 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16366
16367         * BufferView.C:
16368         * Bullet.C:
16369         * ColorHandler.C:
16370         * FontInfo.C:
16371         * FontLoader.C:
16372         * LColor.C:
16373         * LaTeXFeatures.C:
16374         * Painter.C:
16375         * gettext.C:
16376         * lyx_gui_misc.C:
16377         * lyxserver.C:
16378         * vspace.C: removed // -*- C++ -*- as first line.
16379
16380         * lyxfind.h:
16381         * version.h: added // -*- C++ -*- as first line.
16382
16383 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16384
16385         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16386
16387         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16388         of string
16389
16390 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16391
16392         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16393         of floats.
16394
16395 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16396
16397         * gettext.C: include LString.h even when --disable-nls is on.
16398
16399 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16400
16401         * converter.h (Get): changed argument type from int to
16402         FormatList::size_type to avoid unnecessary conversion.
16403
16404         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16405         before using it.
16406
16407 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16408
16409         * gettext.h: include LString.h even when --disable-nls is on.
16410
16411 2001-06-07  Juergen Vigna  <jug@sad.it>
16412
16413         * text.C (BreakAgain): subst spaces with tabs.
16414
16415         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16416         (resizeInsetsLyXText): set force on resizeLyXText.
16417
16418 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16419
16420         * gettext.h (gettext_init):
16421         (locale_init): use a real definition instead of a macro
16422
16423 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16424
16425         * Bufferview_pimpl.C:
16426         * LColor.h:
16427         * LColor.C: further lcolor tidies
16428
16429 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16430
16431         * BufferView_pimpl.C (updateScrollbar): simplify.
16432
16433         * BufferView2.C: don't include insets/insetinfo.h, change
16434         prototype for insertInset and call the Pimpl version. let
16435         updateInset call Pimpl version.
16436
16437         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16438         gotoInset to BufferView::Pimpl
16439
16440 2001-06-01  Juergen Vigna  <jug@sad.it>
16441
16442         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16443         inside a LockingInset (is the update needed at all?).
16444
16445 2001-05-31  Juergen Vigna  <jug@sad.it>
16446
16447         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16448         here not the old one otherwise how should we compare it afterwards
16449         if it's the same!
16450
16451 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16452
16453         * lyxfont.C:
16454         * tabular.C:
16455         * tabular-old.C:
16456         * FontInfo.C: bring C functions into global namespace when
16457         necessary
16458
16459 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16460
16461         * LString.h: make sure config.h has been loaded before LString.h.
16462
16463         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16464         (one for each char read by EatLine!).
16465
16466         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16467         variables.
16468
16469 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16470
16471         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16472         to the same as the par we break from
16473
16474 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16475
16476         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16477
16478         * MenuBackend.C (expand): also create menu entries for wide
16479         versions of the floats.
16480
16481         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16482
16483         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16484
16485         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16486         frontends/Makefile.am
16487
16488         * text2.C: adjust
16489         * text.C: adjust
16490
16491
16492         * tabular.C (getTokenValue): add std::
16493
16494         * tabular-old.C (getTokenValue): add std::
16495         (getTokenValue): ditto
16496         (getTokenValue): ditto
16497
16498         * screen.C (ToggleSelection): adjust
16499
16500         * lyxtext.h: put selection cursors inside a Selection struct.
16501
16502         * lyxfunc.C (moveCursorUpdate): adjust
16503
16504         * lyxfont.C (latexWriteStartChanges): add std::
16505
16506         * lyxfind.C: adjust
16507
16508         * font.h: delete with(char const *, LyXFont const &)
16509
16510         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16511
16512         * FontInfo.C (getFontname): add std::
16513
16514         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16515         (workAreaButtonPress): adjust
16516         (tripleClick): adjust
16517         (update): adjust
16518         (moveCursorUpdate): adjust
16519         (Dispatch): adjust
16520
16521         * BufferView2.C (gotoInset): adjust
16522
16523 2001-05-30  Juergen Vigna  <jug@sad.it>
16524
16525         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16526         to check pspell I add this as default as I now have new pspell
16527         libraries and they seem to use this.
16528
16529 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16530
16531         * text2.C (CutSelection): make the cursor valid before the call to
16532         ClearSelection.
16533
16534 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16535
16536         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16537         relied on 0 terminated strings and other horrors. Bug found due to
16538         the new assert in lyxstring!
16539
16540         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16541         KP_ keys.
16542
16543 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16544
16545         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16546         to latinkeys.bind.
16547
16548         * lyxfunc.C (processKeySym): change method of getting to the
16549         self-insert char.
16550
16551         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16552         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16553         * BufferView_pimpl.[Ch]: here as private methods.
16554
16555 2001-05-28  Juergen Vigna  <jug@sad.it>
16556
16557         * text.C (SetHeightOfRow): added the update() call again as it is
16558         needed to initialize inset dimensions!
16559
16560 2001-05-16  Juergen Vigna  <jug@sad.it>
16561
16562         * text2.C (SetCharFont): Add new function with BufferView * and
16563         bool toggleall parameters for setting insets internal fonts.
16564         (SetFont): Freeze the undo as we may change fonts in Insets and
16565         all this change should be inside only one Undo!
16566
16567         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16568         setting font's in insets as for them we have the SetFont function!
16569
16570 2001-05-15  Juergen Vigna  <jug@sad.it>
16571
16572         * text2.C (ClearSelection): to be sure we REALLY don't have any
16573         selection anymore!
16574
16575         * tabular.C (TeXCellPreamble): fixed the left border problem for
16576         multicolumn cells.
16577
16578 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16579
16580         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16581         dependancy file
16582
16583 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16584
16585         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16586         LFUN_BREAKPARAGRAPH.
16587
16588         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16589         help test to "internal only", similar for LFUN_INSERT_URL
16590
16591         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16592         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16593         auto_region_delete and deadkeys.
16594
16595 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16596
16597         * LColor.h:
16598         * LColor.C: remove some dead entries, tidy a little
16599
16600 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16601
16602         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16603         commented code.
16604         (Dispatch): implement LFUN_ESCAPE
16605
16606         * commandtags.h: add LFUN_ESCAPE
16607
16608         * LyXAction.C (init): add entry for LFUN_ESCAPE
16609
16610         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16611         Remove commented code.
16612         (insertNote): moved here
16613         (open_new_inset): moved here
16614
16615         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16616         BufferView_pimpl
16617
16618 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16619
16620         * kbmap.C (findbinding): clean it up and make it work correctly.
16621
16622         * lyx_main.C (init): do not pass argc and argv as parameters
16623
16624 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16625
16626         * buffer.C: fix path for OS/2 & Win32
16627
16628         * lyx_gui.C:
16629         * lyx_main:
16630         * lyx_main.C: Added os:: class.
16631
16632         * os2_defines.h: update
16633
16634 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16635
16636         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16637         better by trying again with reduced state.
16638
16639 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16640
16641         * lyxrc.C (read): print error about invalid key sequence only when
16642         debugging (because not all latinX keysyms are known to some X
16643         servers)
16644
16645         * kbsequence.C (getiso): add a few std:: qualifiers
16646         (getiso): comment out extra return statement.
16647
16648 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16649
16650         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16651         handling.
16652         (Dispatch): enhance the accent inset a bit. (not perfect)
16653
16654 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16655
16656         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16657
16658 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16659
16660         * bufferlist.C (emergencyWrite): fix assert() call
16661
16662 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16663
16664         * text.C (InsertChar): Added trivial patch to only send the "you
16665         can not do multiple spaces this way" message once during a
16666         session.
16667
16668 2001-05-08  Baruch Even  <baruch@lyx.org>
16669
16670         * Makefile.am: Changed order of libraries to get LyX to link properly
16671         with the gnome frontend.
16672
16673 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16674
16675         * LaTeXFeatures.h: add a std:: qualifier
16676
16677 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16678
16679         * paragraph.C (String): use stringstream
16680
16681 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16682
16683         * paragraph.C (writeFile): remove footflag arg
16684
16685         * buffer.C (makeLaTeXFile): use stringstream
16686         (latexParagraphs): remove footnot gurba
16687
16688         * LaTeXFeatures.C (getPackages): use stringstream
16689         (getMacros): likewise
16690         (getTClassPreamble): likewise
16691         (getFloatDefinitions): new method
16692
16693         * paragraph.C (writeFile): reindent
16694         (Erase): reindent
16695
16696         * WorkArea.h: revert the xpos + etc changes.
16697
16698         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16699
16700         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16701
16702         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16703         (pasteSelection): likewise
16704         * text2.C (CreateUndo): likewise
16705
16706 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16707
16708         * minibuffer.C (peek_event): temporarily reduce the functionality
16709         of the minibuffer (to allow args on lfuns)
16710
16711         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16712         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16713
16714         * buffer.C (readInset): add compability reading of old float
16715         lists, add reading of new style float list.
16716         (readInset): avoid reevaluation of inscmd.getCmdName()
16717         (getLists): reindent
16718
16719         * MenuBackend.C (MenuItem): implement parsing of
16720         md_floatlistinsert and md_floatinsert.
16721         (expand::LastFiles): move initalizaton of iterators out of loop,
16722         avoid reevaluation.
16723         (expand::Documents): introduce typdedef vector<string> Strings,
16724         and use it.
16725         (expand::ExportFormats): introduce typedef vector<Format const *>
16726         Formats, and use it.
16727         (expand): implement FloatListInsert and FloatInsert.
16728
16729         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16730         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16731         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16732
16733         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16734         handling.
16735         (Dispatch::LFUN_FLOAT_LIST): implement
16736
16737 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16738
16739         * LaTeX.C (run): Fix problem with --export code.
16740
16741 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16742
16743         * BufferView.[Ch] (workarea): removed.
16744         (getClipboard) new method; wrapper for workarea()->getClipboard()
16745
16746         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16747         bug.
16748
16749         * WorkArea.h (width, height, xpos, ypos): These methods all
16750         returned the dimensions of the work_area sub-area of WorkArea,
16751         resulting in a position error if the WorkArea were resized. Now
16752         return the dimensions of the entire WorkArea.
16753
16754         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16755
16756 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16757
16758         * LaTeX.C (deplog): correct the syntax of regex reg1
16759
16760 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16761
16762         * undo.C: remove !NEW_INSETS cruft
16763
16764 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16765
16766         * text2.C: remove !NEW_INSETS cruft
16767
16768         * text.C: remove !NEW_INSETS cruft
16769
16770         * tabular.C: remove !NEW_INSETS cruft
16771
16772         * spellchecker.C: remove !NEW_INSETS cruft
16773
16774         * lyxtext.h: remove !NEW_INSETS cruft
16775
16776         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16777
16778         * lyxfunc.C: remove !NEW_INSETS cruft
16779
16780         * lyxfind.C: remove !NEW_INSETS cruft
16781
16782         * lyx_cb.C: remove !NEW_INSETS cruft
16783
16784         * figureForm.C: remove  !NEW_INSETS cruft
16785
16786         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16787
16788         * buffer.[Ch]: remove !NEW_INSETS cruft
16789
16790         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16791
16792         * CutAndPaste.C: remove !NEW_INSETS cruft
16793
16794         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16795
16796         * BufferView2.C: remove !NEW_INSETS cruft
16797
16798         * BufferView.h: remove !NEW_INSETS cruft
16799
16800 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16801
16802         * Lsstream.h: include LString.h before the sstream headers to
16803         fix problem with gcc 2.95.3 and lyxstring
16804
16805 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16806
16807         * lyx_main.C: add using directives when needed for C functions
16808         declared in std:: namespace.
16809
16810 2001-04-27  Juergen Vigna  <jug@sad.it>
16811
16812         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16813         (SetHeightOfRow): comment out the update call should not be needed!
16814
16815 2001-04-13  Juergen Vigna  <jug@sad.it>
16816
16817         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16818         (LyXTabular): tried to minimize operator= operations (and realized
16819         hopfully Lars wish).
16820
16821 2001-04-27  Juergen Vigna  <jug@sad.it>
16822
16823         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16824
16825 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16826
16827         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16828
16829         * buffer.C (readInset): hack to make listof algorithm work
16830
16831         * BufferView_pimpl.C: hack to make listof algorithm work
16832
16833 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16834
16835         * LyXAction.C: removed all !NEW_INSETS cruft
16836         (init): moved lfun_item in method
16837
16838         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16839
16840 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16841
16842         * BufferView2.C (theLockingInset): white space.
16843
16844 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16845
16846         * minibuffer.C: include <iostream>
16847
16848         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16849
16850         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16851
16852         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16853
16854         * text.[Ch] (TransposeChars): new method
16855
16856 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16857
16858         * call message directly through LyXView instead of through LyXFunc
16859         * BufferView2.C: adjust
16860         * BufferView_pimpl.C: adjust
16861         * FontLoader.C: adjust
16862         * buffer.C: adjust
16863         * bufferview_funcs.C: adjust
16864         * converter.C: adjust
16865         * figureForm.C: adjust
16866         * importer.C: adjust
16867         * lyx_cb.C: adjust
16868         * lyx_gui_misc.C: adjust
16869         * lyxfunc.C: adjust
16870         * lyxvc.C: adjust
16871         * text2.C: adjust
16872         + more files in subdirs
16873
16874         * lyxparagraph.h (size): move up int file
16875         (GetLayout): ditto
16876
16877         * adjust all uses of Assert to lyx::Assert.
16878
16879         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16880         lyxfunctional in namespace lyx
16881         * layout.C (hasLayout): ditto
16882         (GetLayout): ditto
16883         (GetLayout): ditto
16884         (delete_layout): ditto
16885         (NumberOfClass): ditto
16886         * converter.C (GetFormat): ditto
16887         (GetNumber): ditto
16888         (Add): ditto
16889         (Delete): ditto
16890         (SetViewer): ditto
16891         * bufferlist.C (getFileNames): ditto
16892         (emergencyWriteAll): ditto
16893         (exists): ditto
16894         (getBuffer): ditto
16895         * MenuBackend.C (hasSubmenu): ditto
16896         (hasMenu): ditto
16897         (getMenu): ditto
16898         * BufferView_pimpl.C (getInsetByCode): ditto
16899
16900 2001-04-18  Juergen Vigna  <jug@sad.it>
16901
16902         * vspace.C (asLatexString): fixed the 100% problem.
16903
16904 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16905
16906         * lyxfunc.C (Dispatch):
16907         * minibuffer.C:
16908         * minibuffer.h: add a few std:: qualifiers
16909
16910 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16911
16912         * minibuffer.[Ch]: reimplement so that commands is initiated and
16913         run from lyxfunc, simplified som handling, and made the completion
16914         and history code for complete. wip.
16915
16916         * lyxfunc.C (processKeySym): call message
16917         (miniDispatch): new temporary method
16918         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16919         (LFUN_MESSAGE): implement
16920         (LFUN_MESSAGE_PUSH): implement
16921         (LFUN_MESSAGE_POP): implement
16922         (initMiniBuffer): the initial/defualt minibuffer message.
16923
16924         * lyxfont.[Ch]: inline some more getters
16925
16926         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16927
16928         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16929
16930         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16931         (AutoSave): use LFUN_MESSAGE
16932         (Reconfigure): ditto
16933
16934         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16935
16936         * figureForm.C: use LFUN_MESSAGE
16937
16938         * converter.C (runLaTeX): use LFUN_MESSAGE
16939
16940         * bufferview_funcs.C: use LFUN_MESSAGE
16941         (Melt): ditto
16942         (changeDepth): ditto
16943
16944         * bufferparams.h: use boost::
16945
16946         * bufferlist.h: inherit privately from noncopyable
16947
16948         * bufferlist.C (loadLyXFile): remove some commented code.
16949
16950         * buffer.C (runChktex): use LFUN_MESSAGE
16951
16952         * ShareContainer.h: inherit privately from noncopyable
16953
16954         * ParagraphParameters.[hC] (depth): inline it.
16955
16956         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16957         methods.
16958         (message): new method
16959         (messagePush): ditto
16960         (messagePop): ditto
16961         (show): init minibuffer
16962         (showState): direct call
16963
16964         * LaTeX.[Ch]: inherit privately from noncopyable
16965         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16966         instead of WriteStatus.
16967
16968         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16969
16970         * BufferView_pimpl.C (buffer): don't init minibuffer
16971         (workAreaButtonPress): use LFUN_MESSAGE
16972         (workAreaButtonRelease): ditto
16973         (savePosition): ditto
16974         (restorePosition): ditto
16975         (MenuInsertLyXFile): ditto
16976         (workAreaExpose): don't init minibuffer
16977         (update): remove commented code, simplify
16978
16979         * BufferView2.C (openStuff): use LFUN_MESSAGE
16980         (toggleFloat): ditto
16981         (menuUndo): ditto
16982         (menuRedo): ditto
16983         (copyEnvironment): ditto
16984         (pasteEnvironment): ditto
16985         (copy): ditto
16986         (cut): ditto
16987         (paste): ditto
16988         (gotoInset): ditto
16989         (updateInset): remove some commented code
16990
16991         * lastfiles.h: inherit privately from noncopyable
16992         * layout.h: ditto
16993         * lyx_gui.h: ditto
16994         * lyx_main.h: ditto
16995         * lyxlex.h: ditto
16996         * lyxlex_pimpl.h: ditto
16997
16998         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16999         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17000         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17001
17002         * LyXAction.h: inherit privately from noncopyable, add methods
17003         func_begin, func_end, returning iterators to the func map.
17004
17005         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17006         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17007         (func_begin): new method
17008         (func_end): new method
17009
17010         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17011         and not)
17012         (copySelection): ditto
17013         (pasteSelection): ditto
17014
17015         * BufferView.C: whitespace change
17016         * BufferView.h: inherit privately from noncopyable
17017
17018 2001-04-16  Allan Rae  <rae@lyx.org>
17019
17020         * tabular-old.C (l_getline):
17021         * spellchecker.C (sc_check_word):
17022         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17023         an unrecognised preprocessor directive.  So ensure they're wrapped.
17024
17025 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17026
17027         * src/exporter.C (Export): Give an error message when path to file
17028         contains spaces.
17029
17030 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17031
17032         * LaTeX.C (deplog): Always check that foundfile exists.
17033
17034 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17035
17036         * lyx_main.h:
17037         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17038
17039 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17040
17041         * tabular.[Ch] (getLabelList): implement new method
17042
17043         * minibuffer.h: comment ouf setTiimer
17044
17045         * minibuffer.C (ExecutingCB): constify res
17046         (peek_event): constify s
17047         (Set): constify ntext
17048         (Init): constify nicename
17049
17050         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17051
17052         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17053         (savePosition): use two params to Minibuffer::Set
17054         (restorePosition): ditto
17055
17056 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17057
17058         * lyx_main.C: include language.h
17059
17060         * Makefile.am (lyx_main.o): add language.h
17061
17062 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17063
17064         * exporter.C:
17065         * paragraph.C:
17066         * screen.C:
17067         * tabular.C:
17068         * CutAndPaste.C: include gettext.h
17069
17070         * lyxfont.h: remove old hack with ON and OFF.
17071
17072         * lyxparagraph.h:
17073         * lyxfont.h: do not include language.h...
17074
17075         * BufferView2.C:
17076         * LaTeXFeatures.C:
17077         * Painter.C:
17078         * bufferview_funcs.C:
17079         * font.C:
17080         * lyxfont.C:
17081         * text.C:
17082         * text2.C:
17083         * trans_mgr.C:
17084         * paragraph.C: ... but do it here instead
17085
17086 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17087
17088         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17089
17090         * tabular.C: small reformat
17091
17092         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17093         NEW_INSETS version
17094         (GetChar): ditto
17095         (BreakParagraph): ditto
17096         (SetOnlyLayout): ditto
17097         (SetLayout): ditto
17098
17099         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17100         with one arg less.
17101
17102         * lastfiles.C: removed most using decl, add std:: where needed
17103
17104         * buffer.C: ws changes
17105
17106         * MenuBackend.C (class compare_format): put into anon namespace
17107         (expand): constify label, names, action, action2
17108         (expand):
17109
17110         * text.C (SingleWidth): constify font
17111         (IsBoundary): constify rtl2
17112         (GetVisibleRow): constify ww
17113
17114         * LaTeX.C (deplog): constify logfile
17115
17116         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17117         start_x, end_x
17118         (workAreaExpose): constify widthChange, heightChange
17119
17120         * lyxrow.C (par): moved
17121         (height): moved
17122         (next): moved
17123         * lyxrow.h: as inlines here
17124
17125         * lyxfont.h (shape): moved from lyxfont.C
17126         (emph): moved from lyxfont.C
17127
17128         * lyxfont.C (LyXFont): use initialization list for all
17129         constructors
17130         (shape): move to lyxfont.h as inline
17131         (emph): move to lyxfont.h as inline
17132
17133
17134 2001-04-04  Juergen Vigna  <jug@sad.it>
17135
17136         * vspace.C: had to include stdio.h for use of sscanf
17137
17138 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17139
17140         * BufferView.h:
17141         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17142         independent of xforms.
17143
17144 2001-04-02  Juergen Vigna  <jug@sad.it>
17145
17146         * spellchecker.C: fixed namespace placing!
17147
17148 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17149
17150         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17151         the LyXParagraph * is 0.
17152
17153 2001-03-29  Juergen Vigna  <jug@sad.it>
17154
17155         * vspace.C: added support for %, c%, p%, l%.
17156         (stringFromUnit): added helper function.
17157         (asLatexString): changed to give right results for the %-values.
17158
17159         * buffer.C: convert the widthp in a width%.
17160
17161 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17162
17163         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17164         figureForm.[Ch].
17165
17166         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17167         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17168
17169         * lyx_cb.[Ch]: see above.
17170
17171         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17172         form1.[Ch].
17173
17174         * form1.[Ch]:
17175         * lyx.[Ch]: replaced by figure_form.[Ch].
17176
17177         * lyx_gui.C:
17178         * lyx_gui_misc.C:
17179         * lyxfunc.C: changed headers associated with above changes.
17180
17181 2001-03-27  Juergen Vigna  <jug@sad.it>
17182
17183         * BufferView_pimpl.C: set the temporary cursor right!
17184
17185 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17186
17187         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17188
17189 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17190
17191         * LString.h: removed "using std::getline"!
17192
17193         * BufferView_pimpl.C (Dispatch): changes due to changes in
17194         InsetInclude::Params.
17195
17196         * buffer.C (tag_name): removed redundant break statements as they were
17197         producing lots of warnings with my compiler.
17198
17199 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17200
17201         * LString.h: add "using std::getline" when using the real <string>.
17202
17203 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17204
17205         * buffer.C: removed bitset usage.
17206         PAR_TAG moved to an anonymous name space.
17207         (tag_name): new funtion, also in the anonymous namespace.
17208         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17209         (makeDocBookFile): clean code. Completed transition from string arrays
17210         to string vectors.
17211         (SimpleDocBookOnePar): code clean.
17212
17213 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17214
17215         * tabular.C: add some comments.
17216
17217 2001-03-22  Juergen Vigna  <jug@sad.it>
17218
17219         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17220         compatibility read a bit and fixed bug with minipage in different
17221         depth.
17222
17223 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17224
17225         * buffer.C (pop_tag): removed.
17226         (push_tag): removed.
17227         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17228         array replaced with vector. Added support for CDATA sections.
17229         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17230         at any nest level.
17231         (makeDocBookFile): XML conformant declaration of CDATA section,
17232         fixed bug related to <emphasis> in the first paragraph char.
17233         (sgmlOpenTag): exclude empty tags.
17234         (sgmlCloseTag): ditto.
17235
17236         * buffer.h (pop_tag): removed.
17237         (push_tag): removed.
17238
17239 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17240
17241         * language.h (Languages): added size_type and size().
17242
17243 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17244
17245         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17246         response on compability reading of minipages. One probliem is that
17247         the old usage of minipages was «flertydig»
17248
17249         * several files here and in subdirs: don't use static at file
17250         scope use anon namespaces instead.
17251
17252 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17253
17254         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17255         LaTeX output. This is necessary for Literate document
17256         processing.
17257
17258 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17259
17260         * buffer.C: insert hfill when needed.
17261
17262         * tabular.C (l_getline): use string::erase, small whitespace change.
17263
17264         * BufferView_pimpl.C: try the anon namespace.
17265         * WorkArea.C: ditto
17266
17267 2001-03-16  Juergen Vigna  <jug@sad.it>
17268
17269         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17270         otherwise it won't open options-dialogs.
17271
17272         * buffer.C: honor pextraWidth(p) on converting minipages.
17273
17274         * tabular.C (l_getline): changed the functions to strip trailing \r.
17275
17276 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17277
17278         * BufferView_pimpl.C:
17279         * minibuffer..C: added "using SigC::slot" declaration.
17280
17281 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17282
17283         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17284
17285         * text2.C: ditto
17286
17287         * text.C: ditto
17288
17289         * paragraph.C: ditto
17290
17291         * lyxtext.h: NO_PEXTRA
17292
17293         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17294
17295         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17296         * ParameterStruct.h: ditto
17297         * ParagraphParameters.h: ditto
17298         * lyxparagraph.h: ditto
17299
17300 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17301
17302         * buffer.C: add compability for minipage alignment.
17303         (latexParagraphs): remove unwanted pextra check.
17304
17305         * several files: remove CXX_WORKING_NAMESPACES
17306
17307         * buffer.C (pop_tag): tie is in namespace boost
17308
17309         * BufferView.h: noncopyable is in namespace boost
17310         * lyxlex.h: ditto
17311         * lyx_main.h: ditto
17312         * lyx_gui.h: ditto
17313         * layout.h: ditto
17314         * lastfiles.h: ditto
17315         * bufferlist.h: ditto
17316         * ShareContainer.h: ditto
17317         * LyXView.h: ditto
17318         * LyXAction.h: ditto
17319         * LaTeX.h: ditto
17320
17321 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17322
17323         * Merging changes from BRANCH_MVC back into HEAD.
17324
17325         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17326
17327 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17328
17329         * BufferView_pimpl.C: change from intl.C
17330
17331         * combox.h:
17332         * combox.C:
17333         * Makefile.am: move combox.*
17334
17335         * form1.h:
17336         * form1.C:
17337         * lyx_gui.C:
17338         * intl.h:
17339         * intl.C: remove dialog (covered by prefs)
17340
17341 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17342
17343         * lyxfunc.C (Dispatch): removed redundant break statement.
17344
17345 2001-03-14  Juergen Vigna  <jug@sad.it>
17346
17347         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17348
17349 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17350
17351         * buffer.C: add hack to fix compability reading of minipages.
17352
17353 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17354
17355         * buffer.C (getLists): Cleanup.
17356
17357 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17358
17359         * lyxfont.C (update): don't honor toggleall on font size.
17360
17361 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17362
17363         * bmtable.c:
17364         * bmtable.h:
17365         * Makefile.am: moved to frontends/xforms/
17366
17367         * lyx_gui_misc.C:
17368         * lyxfunc.C:
17369         * BufferView_pimpl.C: changes for moved mathpanel
17370
17371 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17372
17373         * gettext.h: fix gettext_init() in --disable-nls
17374
17375 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17376
17377         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17378
17379 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17380
17381         * lyx.C:
17382         * lyx.h: strip external form
17383
17384 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17385
17386         * BufferView_pimpl.C: add comment, destroySplash()
17387
17388 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17389
17390         * BufferView_pimpl.C:
17391         * LyXAction.C:
17392         * buffer.C:
17393         * commandtags.h:
17394         * lyxfunc.C: use re-worked insetinclude
17395
17396 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17397
17398         * buffer.C: add using std::stringstream.
17399
17400         * lyx_cb.C: readd using std::ios.
17401
17402         * buffer.C: add using std::map.
17403
17404         * BufferView_pimpl.C: add using std::vector.
17405
17406         * ShareContainer.h: add std:: to swap.
17407
17408         * buffer.h: add some typedefs
17409         * buffer.C (getLists): use them
17410         (getLists): renamed from getTocList.
17411         add a counter for the different float types and use it in the
17412         generated string.
17413         (getLists): use the same counter for the NEW_INSETS and the "non"
17414         NEW_INSETS
17415
17416         * lyx_cb.h: remove unused items, includes, using etc.
17417
17418         * ShareContainer.h: remove some commented code, add more comments
17419         and "documentation".
17420
17421 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17422
17423         * buffer.C (getTocList): make the list also when NEW_INSETS is
17424         defined.
17425
17426         * buffer.h: remove TocType
17427
17428         * buffer.C (getTocList): change to return a map<string,
17429         vector<TocItem> >, implement for dynamic number of list.
17430
17431         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17432         * text2.C (PasteSelection): adjust
17433         * CutAndPaste.C (pasteSelection): adjust
17434
17435         * FloatList.C (FloatList): update from the new_insets branch.
17436         * Floating.[Ch]: ditto
17437         * LaTeXFeatures.C: ditto
17438         * buffer.C: ditto
17439         * lyxlex_pimpl.C: ditto
17440
17441         * paragraph.C (Last): remove when NEW_INSETS is defined.
17442
17443         * other file: changes because of the above.
17444
17445 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17446
17447         * lyxparagraph.h: rename next to next_, previous to previous_,
17448         make them private for NEW_INSETS. Rename Next() to next(),
17449         Previous() to previous().
17450
17451         * other files: changes because of the above.
17452
17453 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17454
17455         * BufferView.h:
17456         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17457         problem.
17458
17459 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17460
17461         * main.C (main): pass lyx_localedir to gettext_init().
17462
17463         * gettext.h: remove locale_init and gettext_init macros
17464
17465         * gettext.C (locale_init): new function
17466         (gettext_init): new function
17467
17468         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17469         setlocale().
17470
17471 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17472
17473         * Moved credits to frontends:
17474         * credits.[Ch]: removed
17475         * credits_form.[Ch]: removed
17476         * lyx_gui_misc.C: remove credits stuff
17477         * Makefile.am:
17478
17479 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17480
17481         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17482
17483         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17484         unneeded destructor.
17485
17486         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17487         a standalone pointer again.
17488
17489         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17490
17491 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17492
17493         * Makefile.am:
17494         * filedlg.h:
17495         * filedlg.C:
17496         * LyXAction.C:
17497         * ToolbarDefaults.C:
17498         * bufferlist.C:
17499         * commandtags.h:
17500         * form1.C:
17501         * form1.h:
17502         * lyx_cb.C:
17503         * lyx_cb.h:
17504         * lyxfunc.h:
17505         * lyxfunc.C:
17506         * BufferView_pimpl.C: use new file dialog in GUII
17507
17508         * lyx_cb.h:
17509         * lyx_cb.C: remove LayoutsCB to Toolbar
17510
17511 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17512
17513         * ShareContainer.h (get): add std:: qualifier
17514
17515 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17516
17517         * ShareContainer.h: define a proper ShareContainer::value_type
17518         type (and use typename to please compaq cxx)
17519
17520 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17521
17522         * lyxparagraph.h: move serveral local vars to
17523         ParameterStruct/ParagraphParameters., use ShareContainer in
17524         FontTable., make vars in FontTable private and add getter and
17525         setter.
17526
17527         * paragraph.C: changes because of the above.
17528
17529         * lyxfont.h: remove copy constructor and copy assignment. (the
17530         default ones is ok), move number inside FontBits. move inlines to
17531         lyxfont.C
17532
17533         * lyxfont.C: add number to initializaton of statics, move several
17534         inlines here. constify several local vars. some whitespace
17535         cleanup. Dont hide outerscope variables.
17536
17537         * Spacing.h: add two new constructors to match the set methods.
17538
17539         * ShareContainer.h: new file, will perhaps be moved to support
17540
17541         * ParameterStruct.h: new file
17542
17543         * ParagraphParameters.h: new file
17544
17545         * ParagraphParameters.C: new file
17546
17547         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17548         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17549
17550         * BufferView_pimpl.C: ParagraphParameter changes.
17551         * buffer.C: Likewise.
17552         * bufferview_funcs.C: Likewise.
17553         * text.C: Likewise.
17554         * text2.C: Likewise.
17555
17556 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17557
17558         * lyxfind.C (LyXReplace): do not redefine default argument in
17559         implementation.
17560         (IsStringInText): ditto
17561         (SearchForward): ditto
17562         (SearchBackward): ditto
17563
17564 2001-03-06  Juergen Vigna  <jug@sad.it>
17565
17566         * lyxfind.C (IsStringInText): put parentes around expressions.
17567
17568 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17569
17570         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17571
17572 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17573
17574         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17575
17576         * stl_string_fwd.h: add comment
17577
17578         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17579
17580         * tabular.h:
17581         * tabular.C: remove unused DocBook methods
17582
17583         * intl.C:
17584         * language.C:
17585         * paragraph.C:
17586         * buffer.C:
17587         killed DO_USE_DEFAULT_LANGUAGE
17588
17589 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17590
17591         * lyx_gui.C: do not include language.h.
17592
17593         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17594         arguments in function implementation.
17595
17596 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17597
17598         * BufferView_pimpl.C: add <ctime>
17599
17600 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17601
17602         * BufferView_pimpl.C: add using std::find_if
17603
17604 2001-02-27  José Matos  <jamatos@fep.up.pt>
17605
17606         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17607         by OnlyPath.
17608
17609 2001-02-11  José Matos  <jamatos@fep.up.pt>
17610
17611         * buffer.C (makeDocBookFile): command styles now have a parameter as
17612         "title" by default.
17613
17614 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17615
17616         * layout_forms.[Ch]: removed
17617         * lyx_cb.[Ch]: out character
17618         * lyx_gui.C: out character
17619         * lyx_gui_misc.C: out character
17620         * bufferview_funcs.C: : out character,
17621         added toggleall as parameter in ToggleAndShow
17622
17623 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17624
17625         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17626
17627         * text2.C (SetCurrentFont): Disable number property at boundary.
17628
17629 2001-02-26  Juergen Vigna  <jug@sad.it>
17630
17631         * lyxfunc.C (getStatus): added a string argument override function so
17632         that this is correctly called from LyXFunc::Dispatch if it contains a
17633         do_not_use_argument which is used!
17634         (Dispatch): added check for "custom" export and call appropriate func.
17635
17636 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17637
17638         * lyxrc.C: Add language_command_local, language_use_babel and
17639         language_global_options.
17640
17641         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17642
17643         * buffer.C (makeLaTeXFile): Use language_use_babel and
17644         language_global_options.
17645
17646 2001-02-23  Juergen Vigna  <jug@sad.it>
17647
17648         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17649         which works with LyXText and putted it inside BufferView. Here now we
17650         only call for that part the BufferView::Dispatch() function.
17651
17652         * BufferView.C (Dispatch): added.
17653
17654         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17655         functions which needs to use a LyXText over from LyXFunc.
17656         (MenuInsertLyXFile): added
17657         (getInsetByCode): added
17658         (moveCursorUpdate): added
17659         (static TEXT): added
17660
17661 2001-02-22  Juergen Vigna  <jug@sad.it>
17662
17663         * BufferView_pimpl.C (update): call a status update to see if LyXText
17664         needs it.
17665
17666 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17667
17668         * vc-backend.C (revert): implement for CVS
17669         (getLog): implement for CVS
17670
17671 2001-02-20  Juergen Vigna  <jug@sad.it>
17672
17673         * text2.C (ClearSelection): added BufferView param for inset_owner call
17674
17675         * lyxfunc.C (TEXT): added this function and use it instead of
17676         directly owner->view()-text of getLyXText().
17677
17678 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17679
17680         * src/layout_forms.C: out preamble
17681         * src/layout_forms.h: out preamble
17682         * src/lyx_cb.C: out preamble
17683         * src/lyx_cb.h: out preamble
17684         * src/lyx_gui.C: out preamble
17685         * src/lyx_gui_misc.C: out preamble
17686         * src/lyxfunc.C: connect with guii preamble
17687
17688 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17689
17690         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17691
17692 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17693
17694         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17695         whether to run bibtex.
17696
17697 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17698
17699         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17700
17701 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17702
17703         * Makefile.am (lyx_SOURCES): removed bibforms.h
17704
17705         * vspace.h: doxygen
17706
17707         * text.C (GetVisibleRow): make several local vars const
17708
17709         * tabular.C: small cleanup.
17710
17711         * lyxserver.C (callback): use compare instead of strncmp
17712
17713         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17714         inlines to after class or to paragraph.C
17715
17716         * lyxfont.h: remove friend operator!=
17717
17718         * converter.h: move friend bool operator< to non friend and after
17719         class def.
17720
17721         * combox.h: small cleanup
17722
17723         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17724         to inlines after class def.
17725
17726         * buffer.C (pop_tag): use string operations instead of strcmp
17727
17728         * bmtable.c: doxygen, small cleanup
17729
17730         * LaTeX.h: remove friend operator==
17731
17732 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17733
17734         * screen.C:
17735         * lyxrc.[Ch]:
17736         * lyxfunc.C:
17737         * lyxfont.[Ch]:
17738         * lyx_cb.C:
17739         * intl.[Ch]:
17740         * commandtags.h:
17741         * buffer.C:
17742         * WorkArea.[Ch]:
17743         * LyXAction.C:
17744         * BufferView_pimpl.C:
17745         * BufferView.[Ch]: remove cruft
17746
17747 2001-02-14  Juergen Vigna  <jug@sad.it>
17748
17749         * lyxfunc.C: removed #if 0 unused code
17750
17751         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17752
17753         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17754
17755         * text2.C (SetSelection): added a BufferView * parameter
17756
17757 2001-02-13  Juergen Vigna  <jug@sad.it>
17758
17759         * lyxfunc.C (Dispatch): fixed protected blank problem.
17760         * BufferView2.C (protectedBlank): added LyxText * parameter.
17761
17762         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17763         (AppendColumn): same as above for column_info.
17764
17765         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17766         (moveCursorUpdate): use a LyXText param for support of InsetText.
17767
17768         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17769         (tripleClick): ditto
17770
17771         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17772
17773         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17774
17775         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17776
17777         * text2.C (SetSelection): set correct update status if inset_owner
17778         (ToggleFree): ditto
17779
17780 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17781
17782         * tabular.C: remove some commented code.
17783
17784 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17785
17786         * BufferView_pimpl.C: call hideSplash()
17787
17788         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17789
17790         * include_form.h:
17791         * bibforms.h: remove
17792
17793         * lyxfunc.C:
17794         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17795           add LFUN_CHILD_CREATE
17796
17797         * counters.h: fix tiny typo
17798
17799         * lyx_cb.C:
17800         * lyx.h:
17801         * lyx_gui.C:
17802         * lyx.C: move splash to frontends/xforms/
17803
17804         * lyx_gui_misc.C: move Include and Bibform to frontends
17805
17806         * lyxvc.h: clarify comment
17807
17808         * vspace.C: tiny housekeeping
17809
17810 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17811
17812         * text.C (PrepareToPrint): RTL Fix.
17813
17814         * paragraph.C (GetUChar): New method.
17815         (String):  Use GetUChar.
17816
17817         * buffer.C (asciiParagraph): Use GetUChar.
17818
17819 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17820
17821         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17822
17823 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17824
17825         * buffer.h:
17826         * buffer.C: rename to getLogName(), handle
17827           build log / latex log nicely
17828
17829 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17830
17831         * MenuBackend.C:
17832         * MenuBackend.h: remove support for reference menuitem type.
17833
17834 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17835
17836         * BufferView_pimpl.C: housekeeping
17837         * BufferView_pimpl.h:
17838         * LyXView.h:
17839         * Makefile.am:
17840         * Timeout.C:
17841         * Timeout.h:
17842         * minibuffer.h: move Timeout GUI-I
17843
17844 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17845
17846         * lyxrc.C (read): Update converters data-structures.
17847
17848 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17849
17850         * LaTeX.h (operator!=): add operator != for Aux_Info
17851
17852 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17853
17854         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17855
17856         * LaTeXLog.C: deleted, useful code moved to Buffer
17857
17858         * buffer.h:
17859         * buffer.C: new function getLatexLogName()
17860
17861         * lyx_gui_misc.C:
17862         * lyx_gui.C:
17863         * lyxvc.C:
17864         * lyxvc.h:
17865         * lyxfunc.C: use frontends for LaTeX and VC logs
17866
17867 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17868
17869         * LaTeX.h: yet another std:: that Allan forgot.
17870
17871         * Variables.C (set): renamed from isset(), because this clashes
17872         with some HP-UX macros (grr).
17873
17874 2001-02-06  Allan Rae  <rae@lyx.org>
17875
17876         * LaTeX.h: Another bug fix.  Missing std:: this time.
17877
17878 2001-02-04  Allan Rae  <rae@lyx.org>
17879
17880         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17881         floats problem. I've left it commented out because it's not quite
17882         correct.  It should also test that the current object is a table or
17883         figure inset.  But I haven't gotten around to figuring out how to do
17884         that.  I *think* it'll be something like: "table" == inset.type()
17885
17886         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17887         bool.
17888
17889 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17890
17891         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17892         all the citation/databases/styles in the auxilary file.
17893         (run): Rerun latex if there was a babel language error.
17894
17895 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17896
17897         * text.C (Backspace): Preserve the font when changing newline char
17898         with a space.
17899         (BreakParagraph): If the cursor is before a space, delete the space.
17900
17901         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17902
17903 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17904
17905         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17906         new argument (code).
17907         (ChangeCitationsIfUnique): New method.
17908
17909         * paragraph.C (GetPositionOfInset): Handle bibkey.
17910
17911 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17912
17913         * BufferView_pimpl.h: change type of Position::par_pos to
17914         LyXParagraph::size_type.
17915
17916 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17917
17918         * BufferView_pimpl.C (savePosition, restorePosition): Write
17919         messages to minibuffer.
17920
17921 2001-01-28  José Matos  <jamatos@fep.up.pt>
17922
17923         * buffer.C (makeDocBookFile): adds support for document language.
17924         A silly restriction on the name of LatexCommand types where removed.
17925         Added support for CDATA sections, allows to chars unescaped, used
17926         among others in code, to avoid escape < and >.
17927
17928 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17929
17930         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17931         saved positions instrad of a stack. Furthermore, a position is
17932         stored using paragraph id/paragraph position.
17933
17934         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17935         Remove LFUN_REF_BACK.
17936
17937 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17938
17939         * converter.C (dvipdfm_options): New method.
17940
17941 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17942
17943         * vspace.C (isValidLength): Fix for empty input string.
17944
17945 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17946
17947         * LyXAction.C (init): change description of LFUN_FIGURE to
17948         "Insert Graphics"
17949
17950 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17951
17952         * LaTeX.C: add using directive
17953
17954 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17955
17956         * MenuBackend.C (expand): Fix the sorting of the formats.
17957
17958 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17959
17960         * lyx_main.C: tiny error message fix
17961
17962 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17963
17964         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17965         calling fl_initialize(). This fixes the problem with ',' as
17966         decimal separator in text files.
17967
17968 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17969
17970         * trans.C (process): Fix the keymap bug.
17971
17972 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17973
17974         * LaTeX.C (scanAuxFiles): New method. Provides support for
17975         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17976         (scanLogFile) Scan for "run BibTeX" messages.
17977
17978         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17979         OT1 font encoding. Also, load the aecompl package if the ae
17980         package is loaded.
17981
17982         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17983
17984 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17985
17986         * texrow.C (increasePos): turn two error messages into debug
17987         messages.
17988
17989 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17990
17991         * LaTeX.C (scanAux): Handle the \@input macro.
17992         (runBibTeX): Use scanAux().
17993
17994         * language.C (latex_options_): New field.
17995
17996         * LaTeXFeatures.C (getMacros): Add language macros.
17997
17998         * buffer.C (makeLaTeXFile): Small fix.
17999
18000 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18001
18002         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18003
18004         * text2.C: add a using directive.
18005
18006 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18007
18008         * BufferView2.C:
18009         * lyx_gui_misc.h:
18010         * lyxfr1.C:
18011         * lyxfunc.C: kill LyXBell.
18012
18013 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18014
18015         * text.C (IsBoundary): Remove the error message
18016
18017         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18018
18019         * lyxrc.C (setDefaults): Correct initialization value for
18020         font_norm_type.
18021
18022 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18023
18024         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18025         gotoError().
18026
18027         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18028         and GotoNextNote().
18029
18030         * src/LyXAction.C: Added reference-next.
18031
18032         * text.C (InsertChar): Use contains instead of strchr.
18033
18034         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18035
18036 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18037
18038         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18039         alignment commands (when needed).
18040
18041         * text.C (InsertChar): Add ':' to number separator chars.