]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
bug 1375 rename set_label_ to updateButtonLabel_ and reverse the logic. Make sure...
[lyx.git] / src / ChangeLog
1 2005-07-17  Juergen Vigna  <jug@lyx.org>
2
3         * BufferView_pimpl.C (setBuffer): save/restore the
4         cursor/selection when switching buffers
5
6         * buffer.h: 
7         * buffer.C (saveCursor): add saveDocumentIterators to save the
8         cursor when switching buffer.
9
10
11 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
12
13         * debug.C: fix typo
14         * buffer.C: clarify message
15         
16 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
17
18         * dociterator.C (DocIterator): fix initialization order
19
20 2005-07-17  Juergen Vigna  <jug@lyx.org>
21
22         * text2.C (cursorHome): 
23         * text.C (drawSelection, cursorX): 
24         * dociterator.C (textRow): add boundary to getRow() call
25
26         * paragraph.C (getRow): implementation of below
27
28         * paragraph.h: add parameter boundary for getRow() function
29
30 2005-07-18  José Matos  <jamatos@fc.up.pt>
31
32         * buffer.C:
33         * bufferparams.[Ch]:
34         * tex-strings.[Ch]: new file format, remove support for a4.sty,
35         a4wide.sty and a4widemargins.
36
37 2005-07-17  Juergen Vigna  <jug@lyx.org>
38
39         * text2.C (cursorLeft): fix one of error
40
41 2005-07-17  Juergen Vigna  <jug@lyx.org>
42
43         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
44                    cursorEnd):
45         more fixes for boundary handling
46
47         * text3.C (dispatch): don't reset cursor if boundary has changed
48         on cursor movement.
49
50 2005-07-16  Juergen Vigna  <jug@lyx.org>
51
52         * text2.C (getColumnNearX): hopefully got it right now,
53         check if we are on column 0 for special case.
54
55 2005-07-16  Juergen Vigna  <jug@lyx.org>
56
57         * text2.C (getColumnNearX): handle special case Newline Inset
58
59         * text.C (singleWidth): Just remove bogus check
60
61 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
62
63         * funcrequest.C (split): avoid reading uninitialized char c
64
65 2005-07-16  José Matos  <jamatos@fc.up.pt>
66
67         * buffer.C:
68         * converter.C:
69         * lyxrc.C:
70         * paper.h:
71         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
72         single papersize variable.
73
74 2005-07-16  Juergen Vigna  <jug@lyx.org>
75
76         * text3.C (dispatch): honor boundary when checking if a cursor
77         movement has been done
78
79         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
80         (setCursor, setCursorIntern): fix cursor movement with boundary
81
82 2005-07-16  Juergen Vigna  <jug@lyx.org>
83
84         * text.C (currentState): output the actual Boundary
85
86 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
87
88         * factory.C (createInset): fix bad logic for tabular creation
89
90 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
91
92         * lyx_main.C (init): change some reLyX reference to tex2lyx
93
94 2005-07-16  Juergen Vigna  <jug@lyx.org>
95
96         * dociterator.C (DocIterator): initialize boundary
97
98 2005-07-16  Juergen Vigna  <jug@lyx.org>
99
100         * text2.C (getColumnNearX): Consider rows without trailing blank.  
101
102 2005-07-16  André Pönitz  <poenitz@gmx.net>
103
104         * lyxfont.h: Change order of declarations to give the compiler
105         a better chance to inline things
106
107         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
108         questions on unsaved docs for better scritability
109
110 2005-07-16  André Pönitz  <poenitz@gmx.net>
111
112         * paragraph.h (getChar): remove asserts as the same kind of security
113         can be achieved by using a suitable standard library implementation
114         and the function was in the critical path (25.9% in profiler)
115
116 2005-07-16  Juergen Vigna  <jug@lyx.org>
117
118         * cursor.C (bruteFind2):
119         * bufferview_funcs.C (coordOffset): 
120         * text.C (cursorX,cursorY): Handle cursor position after last char
121         in row before a inset which uses a whole row.
122
123 2005-07-15  José Matos <jamatos@lyx.org>
124
125         * output_plaintext.[Ch] (writeFileAscii): control reference title
126         printing.
127         (asciiParagraph): noparbreak was already deal and was incorrectly
128         used.
129
130 2005-07-15  Juergen Vigna <jug@lyx.org>
131
132         * lyxfunc.C (dispatch): save and restore the cursor after a
133         textclass switch.
134
135 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
136
137         * text.C (backspace): bug 806 for empty keepempty paragraphs we
138         change the layout to default before letting DEPM do its thing.
139
140         * paragraph_funcs.C (breakParagraph): dont reset the layout on
141         keepEmpty paragraphs
142
143         * text.C (setCursorFromCoordinates): add a debug statement
144
145         * text2.C (getColumnNearX): bug 1825 make sure that we don't
146         return a pos that is not on the row
147
148         * output_latex.C (TeXDeeper): get rid of potential dereferencing
149         of past the end iterator
150
151 2005-07-14  André Pönitz  <poenitz@gmx.net>
152
153         * undo.C (recordUndoFullBuffer): implement undo for
154         textclass switches
155
156 2005-07-14  André Pönitz  <poenitz@gmx.net>
157
158         * cursor.C (setSelection): open insets when selection is set there
159         to avoid crashs with cold coord cache
160
161 2005-07-14  André Pönitz  <poenitz@gmx.net>
162
163         * trans_mgr.C (insert): move cursor to the right after inserting
164         a char.
165
166 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
167
168         * BufferView_pimpl.C (update): dampen some of the debug blabbering
169         * factory.C (readInset): ditto
170         * text.C, text2.C: ditto
171
172 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
173
174         * buffer.C: format incremented to 242. There is no file format per
175         se, but the "frenchb" language has been removed from lib/language
176         and has to be translated to "french" by lyx2lyx.
177
178 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
179
180         * cursor_slice.h, dociterator.h: add some documentation
181         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
182
183 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
184
185         * text.C (leftMargin): do not add identation to display() style
186         insets, because they are always centered (bug 1293).
187
188 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
189
190         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
191         formatted_time methods in support/lyxtime.
192
193 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
194
195         * toc.[Ch]: new method getGuiName, which is used by the frontends 
196         to set the toc combo (fixes bug 1870). Make TOC string translatable.
197
198 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
199
200         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
201         StableDocIterator const &)
202         * undo.C (recordUndo): use the above instead of cell.size() comparison
203         (fixes bug 1808; instructed by André).
204
205 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
206
207         * cursor_slice.h: 
208         * dociterator.h: Fix the assert when copying rows/cols in math
209
210 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
211
212         * BufferView_pimpl.C:
213         * LyXAction.C:
214         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
215
216         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
217         (findInset): new functions, refactored from goto Inset that return 
218         the position of a certain inset without setting the buffer's cursor
219         (by Jean-Marc); 
220         (gotoInset): rewrite to call findInset and then set the cursor
221         (by Jean-Marc).
222
223 2005-06-16  Angus Leeming  <leeming@lyx.org>
224
225         * lyxrc.C (output, read): wrap all input and output of paths with
226         calls to os::internal_path and os::external_path, respectively.
227         (output): wrap bind_file inside quotes.
228
229         * format.C (view): enable the viewer to use the '$$s' placeholder.
230
231 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
232
233         * LColor.[Ch] (getFromLaTeXName): new
234
235 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
236
237         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
238
239 2005-06-14  Angus Leeming  <leeming@lyx.org>
240
241         * lyx_main.C (init): ensure that the LyX binary dir is the first
242         element in the PATH on non-POSIX builds.
243
244 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
245
246         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
247
248 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * rowpainter.C (paintInset, paintHebrewComposeChar)
251         (paintArabicComposeChar, paintChars): add a LyXFont argument.
252         (paintChars): use getFontSpan to reduce calls to getFont to a
253         minimum; use Paragraph::lookupChange instead of isXXXText.
254         (paintForeignMark): rename LyXFont argument.
255         (paintFromPos): pass a LyXFont object to the various paintXXX
256         methods.
257
258         * FontIterator.C (FontIterator, operator++): use
259         Paragraph::getFontSpan
260
261         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
262         version that returns the font span as a pair.
263
264 2005-06-09  Angus Leeming  <leeming@lyx.org>
265
266         * converter.C (convert): Don't forget "outfile = real_outfile" as
267         the final step in a conversion where the input and output file names
268         are the same. Otherwise, future conversion steps won't work...
269
270 2005-06-09  Angus Leeming  <leeming@lyx.org>
271
272         * lyxsocket.C: remove stub code as it isn't needed by
273         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
274
275 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
276
277         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
278         effectively disabled -x
279
280 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
281
282         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
283         when it actually makes sense.
284
285 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
286
287         * BufferView_pimpl.C: revert to showCursor in connection with
288         Lars's front-end stack
289
290 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
291
292         * text.C (redoParagraph): move cursor right after a bibitem
293         has been inserted.
294
295         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
296
297 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * buffer_funcs.C (bufferErrors): fix computation of the end of an
300         error range.
301
302 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
303
304         * BufferView.[Ch] (update):
305         * BufferView_pimpl.[Ch] (update, metrics):
306         * dimension.h (operator==):
307         * lyxfunc.C (dispatch):
308         * metricsinfo.h (ViewMetricsInfo):
309         * rowpainter.C (paintText):
310         * lyxtext.h:
311         * text.C (redoParagraph):
312         * text3.C (dispatch): Make LyX only repaint current paragraph in
313         case of character insert --> speedup. Also fix cursor draw
314         artifacts
315
316 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
317
318         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
319         avoid a crash (bug 1891)
320
321 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
322
323         Fix bug 1892:
324
325         * text2.C (getStringToIndex): constify cur argument.
326
327         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
328         argument has been given
329         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
330         try to invoke LFUN_INSET_APPLY).
331
332         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
333         if no inset was created by doInsertInset
334         (doInsertInset): return true if an inset has been inserted.
335
336 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         * vspace.C (asGUIName): new method. A version of the space
339         suitable for showing on screen.
340
341 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
342
343         * MenuBackend.C:
344         * lyxrc.C: rename "ASCII" to "Plain Text"
345
346 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
347
348         * buffer_funcs.C (expandLabel): take a Buffer as argument;
349         translate the labelstring.
350         (setCounter): translate labelstring as needed.
351
352         * output_docbook.C (makeCommand): fix expandLabel invokation
353
354 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
355
356         * BufferView.C: fix dialog title
357
358 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
359
360         * lyx_main.C (priv_exec): fix logic error with help from Angus
361         * lyx_main.C (parse_execute): set is_gui = false and remove now
362         obsolete comment about a segfault
363
364 2005-05-18  Angus Leeming  <leeming@lyx.org>
365
366         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
367
368 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
369
370         * tabular.[hC]: added setCellInset to fix tabular paste.
371
372 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
373
374         * buffer.C (save): check if destination is writable before trying
375         to copy a file
376
377 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
378
379         * BufferView_pimpl.C (update): fix processEvents -caused update
380         recursion bug
381
382 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
383
384         * buffer_funcs.C (setCounter): fix test for numbering of
385         environments.
386
387         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
388         depth correctly; use optional argument when it exists
389
390         * lyxtextclass.C: remove unused MaxCounterTags enum
391         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
392         (max_toclevel, min_toclevel): new methods.
393
394         * MenuBackend.C (expandToc2): fix case where depth is smaller than
395         the smallest depth in toc.
396
397         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
398         layouts that should not appear in a table of contents.
399
400 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
401
402         * cursor.h (undispatched, noUpdate): add comments from André
403
404 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
405
406         * lfuns.h:
407         * LyXAction.C:
408         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
409
410 2005-05-07  André Pönitz  <poenitz@gmx.net>
411
412         * cursor.[Ch] (leaveInset): new function
413
414 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
415
416         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
417
418 2005-05-04  Angus Leeming  <leeming@lyx.org>
419
420         * lyxfunc.C (getStatus): disable the spell checker dialog if
421         none of USE_[AIP]SPELL are defined.
422
423 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
424
425         * tabular.C (setWidthOfCell): remove obsolete comment
426
427 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
428
429         * paragraph.C (bibitem):
430         * buffer_funcs.C (setCounter):
431         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
432
433 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
434
435         * text3.C (getStatus): immediately return after setOnOff
436
437         * rowpainter.C: fix drawing of appendix start
438
439 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
440
441         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
442         SwitchBetweenClasses and remove the unused return value.
443         Handle character styles, too
444
445 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
446
447         * factory.C (createInset): handle undefined character styles
448
449 2005-05-02  Angus Leeming  <leeming@lyx.org>
450
451         * buffer.C: protect the #include of utime.h with a preprocessor
452         guard.
453
454 2005-05-02  Angus Leeming  <leeming@lyx.org>
455
456         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
457         function so that auto-saving works, albeit in a blocking manner.
458
459         * Makefile.am: make compilation of the client sub directory, of
460         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
461         on conditionals set at configure time.
462
463         * SpellBase.[Ch]: no longer an abstract base class. Instead,
464         it can be compiled in its own right but has no-op functionality.
465
466         * aspell.C, pspell.C: remove preprocessor guards. The files should
467         be compiled only if the necessary functionality exists.
468
469         * lyxserver.C, lyxsocket.C: disable on Windows.
470
471 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
472
473         * text.C (leftMargin): Fix the parindent use bug (1764)
474         by dirty trick
475
476 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
477
478         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
479         argument.
480
481 2005-04-25  Angus Leeming  <leeming@lyx.org>
482
483         * Bidi.[Ch]:
484         * coordcache.[Ch]:
485         * ispell.C:
486         * lyxserver.C:
487         * mover.C:
488         * pch.h:
489         include <config.h> in .C files, not .h ones.
490         add licence blurb.
491         protect headers inside preprocessor guards.
492
493 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
494
495         * FuncStatus.h (StatusCodes): document
496
497 2005-04-21  André Pönitz  <poenitz@gmx.net>
498
499         * FuncStatus.h (enabled, onoff): document
500
501 2005-04-19  Angus Leeming  <leeming@lyx.org>
502
503         * BufferView_pimpl.C (cursorToggle): no longer test whether
504         any child processes have been reaped before calling
505         handleCompletedProcesses().
506
507 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
508
509         * text3.C (dispatch): fix, finally fix, the language problem in
510         new lyxtexts, without disabling on-the-fly font changes (Helge's
511         bug report)
512
513 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
514
515         * text3.C (dispatch): set cursor on double/triple click events
516         (bug 1811)
517
518 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
519
520         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
521         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
522
523         * rowpainter.C (paintFirst): simplify the code a little bit. In
524         particular, remove the test for secnumdepth.
525         * text.C (setHeightOfRow): only allocate space for chapter number
526         when updateCounters provided an actual label, instead of looking
527         at secnumdepth directly.
528
529         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
530
531         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
532         paragraphs when secnumdepth is large enough or, for environments,
533         when they are not the first in a sequence.
534
535 2005-04-17  Angus Leeming  <leeming@lyx.org>
536
537         * buffer.C (makeLaTeXFile): replace code to manipulate a path
538         containing space and '~' characters with a call to latex_path().
539
540 2005-04-17  Angus Leeming  <leeming@lyx.org>
541
542         * converter.C (convert): protect all args of convertDefault.sh
543         script with quotes.
544
545 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
546
547         * text3.C (dispatch): change the layout to "Caption" after inserting
548         a float.
549
550 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
551
552         * text3.C (dispatch): fix language problem in newly created
553         textinsets (and main text) in non-english docs
554
555 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
556
557         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
558         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
559         * text3.C (getStatus): disable LFUN_INSET_MODIFY
560
561 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
562
563         * lyxtext.h:
564         * text.C (metrics):
565         * text2.C (getFont):
566         * rowpainter.C (getFont): Fix metrics bug introduced by inset
567         fonts fix
568
569 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
570
571         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
572         output of \item arguments without trailing text.
573
574 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
575
576         * FontIterator.C (operator*): avoid a copy of the font.
577
578 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
579
580         * rowpainter.C (getFont): fix language bug from previous fix
581
582 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
583
584         * rowpainter.C (RowPainter, getFont): fix font inside inset
585         (bugs 1766, 1809)
586
587 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
588
589         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
590         preventing inserted font, deco, delim insets jumping to start of
591         surrounding inset.
592
593 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
594
595         * lyxfunc.C (dispatch): translate message before sending it to the
596         minibuffer.
597
598 2005-03-29  Angus Leeming  <leeming@lyx.org>
599
600         * lyx_main.C (priv_exec): call os::internal_path on each file passed
601         to LyX on the command line.
602
603 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
604
605         * vc-backend.C: use QuoteName to protect file names wherever
606         necessary.
607
608 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
609
610         * buffer.[Ch]:
611         * BranchList.h: fix bugs 1844,1845: document settings don't
612         stick
613
614 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
615
616         * lyxrc.C (setDefaults, read, output, getDescription): add support
617         for tex_allows_spaces.
618
619         * exporter.C (Export): allows files in directory containing spaces
620         if tex_allows_spaces is true.
621
622         * buffer.C (makeLaTeXFile): if the document path contains spaces,
623         output it in double quotes.
624
625 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
626
627         * rowpainter.C: use default text height for drawing change tracker
628         strikeout lines.
629
630 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
631
632         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
633
634 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
637         directory is missing.
638
639 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
640
641         * text2.C: fixed the fix, extended to other case.
642
643 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
644
645         * text2.C: fix for cursor up/down stuck in math [bug 1792]
646
647 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
648
649         * text2.C (cursorUp): get rid of a crash
650         * text.C (x2pos): add an assert
651
652 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
653
654         * lyxfunc.C (getStatus): fix warning when assertions are disabled
655
656         * text3.C:
657         * lyxfunc.C:
658         * dociterator.C: include <boost/current_function.hpp>, which is
659         needed when assertions are disabled.
660
661 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
662
663         * text2.C: fix for stuck cursor when traversing two
664         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
665
666 2005-02-25  Andreas Vox  <avox@arcor.de>
667
668         * output_docbook.C (makeParagraph): suppress trailing newline
669         after a run of paragraphs
670
671 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
672
673         * paragraph.C: fix for confused change tracker when pasting
674         text that begins with a lineseparator. [bug 1827]
675         (setChange(0, Change::INSERTED);)
676
677         * paragraph_funcs.C: fix for lost changes on triple-paste
678         in change tracking mode [bug 1827] (par.setChange()).
679
680 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
681
682         * text2.C (updateCounters, setCounter, expandLabel): move to
683         buffer_funcs.
684
685         * buffer_funcs.C (updateCounters): turn into a free standing
686         function and add a buffer parameter. Remove dead code for tracking
687         labelstring change.
688         (setCounter): change into a free-standing function which gets a
689         dociterator as argument. Use this iterator to fix captions in a
690         simple way. When no float is found above the caption, use the
691         labelstring of the caption layout as default.
692
693         * text.C (breakParagraph, backspace):
694         * text2.C (init, setLayout, changeDepth):
695         * text3.C (dispatch):
696         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
697         updateCounters.
698
699         * dociterator.C (forwardPar): make it much faster by calling
700         forwardPos() only when really necessary.
701
702         * output_docbook.C (makeCommand): adapt to expandLabel move.
703
704         * cursor.C: remove unused variable
705
706 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
707
708         * paragraph_funcs.C: fix crash when pasting insets in change
709         tracking mode [bug 1277] (honour change type in moveItem).
710
711 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
712
713         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
714
715 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
716
717         * BufferView.C (setCursor): change to use a DocIterator.
718         (gotoLabel): use BufferView::setCursor (other part of bug 781).
719         (putSelectionAt): adapt to BufferView::setCursor change.
720
721         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
722         moved here from LyXText and rewritten to use proper cursor
723         methods. Fixes bug 1787, 616 and 835.
724
725         * BufferView_pimpl.C (restorePosition): set the cursor correctly
726         when inside an inset (part of bug 781).
727         (dispatch): adapt to change of BufferView::setCursor.
728         (getStatus, dispatch): handle LFUN_GOTOERROR,
729         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
730
731         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
732         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
733         * text3.C (gotoNextInset, gotoInset): removed.
734
735 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
736
737         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
738
739 2005-02-15  Angus Leeming  <leeming@lyx.org>
740
741         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
742         can be used meaningfully in a comparison.
743
744 2005-02-13  André Pönitz  <poenitz@gmx.net>
745
746         * bufferview_funcs.C (coordOffset): improve cursor drawing
747
748 2005-02-13  André Pönitz  <poenitz@gmx.net>
749
750         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
751         * Cursor.C (dispatch): use fixIfBroken
752         * lyxfunc.C (getStatus): use fixIfBroken
753
754 2005-02-15  Angus Leeming  <leeming@lyx.org>
755
756         * lyx_main.C (error_handler):
757         * lyxfunc.C:
758         * lyxrc.C (setDefaults):
759         s/GetEnv/getEnv/.
760         #include "environment.h".
761
762         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
763
764 2005-02-15  Angus Leeming  <leeming@lyx.org>
765
766         * lyxserver.C (startPipe): squash MSVC warning "local variable
767         'fd' used without having been initialized".
768
769 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
770
771         * BufferView_pimpl.C: revert accidental commit.
772
773 2005-02-14  André Pönitz  <poenitz@gmx.net>
774
775         * dociterator.[Ch]: new member forwardPosNoDescent(),
776         which doesn't enter nested insets.
777         * text2.C (setFont): use forwardPosNoDescent() instead
778         of ForwardPos() (fixes crash on font change).
779
780 2005-02-13  Angus Leeming  <leeming@lyx.org>
781
782         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
783         only if lyxrc.path_prefix is not empty.
784
785 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
786
787         * bufferparams.C (readGraphicsDriver): prevent crash
788
789 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
790
791         * text2.C (setCounter): check for inInset() == 0
792
793 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
794
795         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
796         but use update() to get correct screen display; use convert
797         instead of istringstream.
798         (getStatus): handle LFUN_GOTO_PARAGRAPH
799
800         * lyxfunc.C (dispatch, getStatus): do not handle
801         LFUN_GOTO_PARAGRAPH here.
802
803 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
804
805         * text3.C (dispatch): size() -> depth()
806
807         * text2.C: remove some debug output
808
809         * paragraph.C: ws changes only
810
811         * lyxfunc.C (getStatus): size() -> depth()
812
813         * dociterator.h (clear, push_back, pop_back, internalData,
814         operator[], resize, empty): new functions
815         Make StableDocIterator and operator== be friends. Don't inherit
816         from std::vector use a privat class variable slices_ instead.
817         Modify to fit.
818
819         * dociterator.C: update because of not inheriting from std::vector
820         anymore. Call explictly to slices_ instead. Use depth() instead of
821         size() and top() instead of back()
822
823         * cursor.C: chagne size() -> depth and back() -> top(). Also
824         remove some direct operator[](i) calls in favour of foo[i]
825         (getFont): remove some dead code
826
827         * bufferview_funcs.C (coordOffset): size() -> depth()
828
829         * buffer.C: ws changes only
830
831         * CutAndPaste.C (eraseSelection): back() -> top()
832
833         * BufferView_pimpl.C (selectionRequested): back() -> top()
834
835         * BufferView.C (setCursor): size() -> depth()
836
837 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
838
839         * text3.C (cursorPrevious): return true if depm changed something
840         (cursorNext): ditto
841         (dispatch): rename sl to oldTopSlice, remove moving use the new
842         NoUpdate func attrib instead. Make sure that needsUpdate is set
843         for function that have NoUpdate, but where depm might have changed
844         the buffer anyway.
845
846         * text2.C (cursorLeft): make us return true if depm changed
847         something
848         (cursorRight): ditto
849         (cursorUpParagraph): ditto
850         (curosrDownParagraph): ditto
851         (cursorUp, cursorDown): ditto, make sure to read comments in code
852         (deleteEmptyParagraphMechanism): remove an assert, also return
853         true if just a single char was deleted.
854
855         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
856         cursor that we modify, to avoid modifying an active cursor before
857         we call setCursor. This allows depm to run. Also return true if
858         depm deleted something.
859
860         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
861         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
862         cursorDownParagraph, cursorPrevious and cursorNext, return true if
863         something was changed in the buffer because of them (ie. depm run)
864
865         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
866         debug messages. Make update by default be false. Make sure that
867         the result of update is retained throught several calls down to
868         dispatch.
869
870         * LyXAction.h: add a new func_attrib: NoUpdate
871
872         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
873         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
874         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
875         and LFUN_WORDLEFT
876         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
877
878 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
879
880         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
881         bv_->owner(), bv_->buffer() by direct references to the private
882         members.
883         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
884         (getStatus): isSavedPosition() is in BufferView::Pimpl.
885         (fitCursor): center() is in BufferView::Pimpl.
886         (getStatus, trackChanges, dispatch): no need for a temporary buf
887         variable
888         (fitCursor, workAreaDispatch): use workarea().workheight()
889
890 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
891
892         * CutAndPaste.C (pasteSelectionHelper): fix a crash
893
894 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
895
896         * buffer.C: format up to 241.
897         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
898         break if pasting into ERT
899         * lyxfunc.C (getStatus): suppress mathpanel and
900         LFUN_DIALOG_SHOW_NEW_INSET in ERT
901
902 2005-02-01  Angus Leeming  <leeming@lyx.org>
903
904         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
905
906 2005-02-01  Angus Leeming  <leeming@lyx.org>
907
908         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
909         calling fs::is_directory().
910
911 2005-01-31  Angus Leeming  <leeming@lyx.org>
912
913         * lyx_main.C (priv_exec): specify explicitly the relative location
914         of the top level build directory when run in-place.
915
916 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
917
918         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
919         LyXText containing the cursor, not the top-level one.
920
921         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
922         true.
923         (insertStringAsLines): rename par to pit; use temporary variable
924         par to hold a Paragraph; do not store par.layout() in a variable,
925         since the pointer may die when breaking paragraphs; pass pars to
926         breakParagraph() instead of Buffer::paragraphs().
927
928 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
929
930         * lyxlex_pimpl.h: #include <fstream>.
931
932         * BufferView.[Ch] (getLyXText): add a const version.
933
934         * BufferView_pimpl.C: add debug aids.
935
936         * RowList_fwd.h:
937         * buffer.h:
938         * lyxrow.h:
939         * paragraph_funcs.h: add commentary explaining what the class does.
940
941
942         * coordcache.[Ch]: add lots of commentary.
943         (startUpdating, doneUpdating): debug aids.
944         (arrays, insets, parPos, getParPos): accessors to private data.
945
946         * cursor_slice.[Ch] (text): add a const version.
947         * dociterator.[Ch] (text, innerText): add const versions.
948
949         * lyxtext.h (breakParagraph): change the keep_layout arg to a
950         bool.
951
952         * paragraph.C (getRow, pos2ros): add asserts.
953
954         * paragraph.h: add commentary. Lots of.
955
956         * paragraph.[Ch] (metrucs, draw): removed.
957
958         * cursor.C:
959         * rowpainter.[Ch]: const-correct changes.
960
961         * text.C: various obvious clean-ups. Removal of ancient cruft.
962         Bug fixes, even.
963
964 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
965
966         * vc-backend.C (find_file): rewrite to use boost.filesystem
967         (scanMaster): ditto
968
969         * main.C (main): set default name check for boost.filesystem to
970         no check
971
972         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
973         (open): ditto
974         (doImport): ditto
975         (actOnUpdatedPrefs): ditto
976
977         * lyx_main.C (init): rewrite to use boost.filesystem
978         (queryUserLyXDir): ditto
979
980         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
981         (getContentsOfAsciiFile): ditto
982
983         * lastfiles.C (readFile): rewrite to use boost.filesystem
984
985         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
986
987         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
988         (loadLyXFile): ditto
989
990         * buffer.C (Buffer): adjust for destroydir
991         (getLogName): rewrite to use boost.filesystem
992         (setFileName): ditto
993         (save): use fs::copy_file (from fs_extras)
994
995         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
996
997         * LaTeX.C (run): rewrite to use boost.filesystem
998         (scanAuxFiles): ditto
999         (handleFoundFile): ditto
1000
1001 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1002
1003         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1004
1005         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1006
1007 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1008
1009         * lyxlayout.[Ch]: change some vars from float to double
1010
1011         * buffer.C (readFile): make a local var const
1012
1013         * Several files: use convert<> instead of atoi,strToXXX and friends
1014
1015 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1016
1017         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1018         holds the contents of packages.lst. New functions getAvailable
1019         and isAvailable to parse and check that list, resp.
1020
1021         * LyXAction.C:
1022         * lfuns.h:
1023         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1024
1025         * bufferparams.[Ch]: new param output_changes.
1026
1027         * Buffer.C: increase file format to 240.
1028         Use output_changes and isVailable.
1029
1030         * changes.[Ch]:
1031         * paragraph.C:
1032         * paragraph_pimpl.C: Use output_changes and isVailable.
1033
1034 2005-01-23  Angus Leeming  <leeming@lyx.org>
1035
1036         * output_latex.C: #include "insetbibitem.h", rather than
1037         forward declare function bibitemWidest.
1038
1039 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1040
1041         * lyx_main.C (init): make it compile on the Mac.
1042
1043 2005-01-20  Angus Leeming  <leeming@lyx.org>
1044
1045         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1046         (setLyXMisc): (char string literal) != (char string literal) is
1047         performing a comparison on the addresses. Convert one operand
1048         explicitly to string to guarantee expected behaviour.
1049         From MSVC warning.
1050
1051 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1052
1053         * buffer.C:
1054         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1055
1056         * output_plaintext.C: remove unneeded #include gzstream.h.
1057
1058 2005-01-20  Angus Leeming  <leeming@lyx.org>
1059
1060         * SpellBase.h: rename some of the elements of the Result enum.
1061
1062         * aspell_local.h:
1063         * ispell.h:
1064         * pspell.h:
1065         * aspell.C (check):
1066         * ispell.C (check):
1067         * pspell.C (check): ditto
1068
1069 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1070
1071         * buffer.C: add #include <fstream>.
1072
1073         * lyx_main.C (init): Compile fix.
1074
1075         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1076
1077 2005-01-20  Angus Leeming  <leeming@lyx.org>
1078
1079         * mover.h: change commentary to reflect the changed meaning of
1080         the $$s placeholder.
1081
1082 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1083
1084         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1085
1086         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1087
1088 2005-01-20  Angus Leeming  <leeming@lyx.org>
1089
1090         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1091         printing diagnostic data by not dereferecing an iterator past the
1092         end.
1093
1094 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1095
1096         * buffer.C (readHeader): use "&&" rather than "and".
1097
1098         * lyxserver.h (inPipeName, outPipeName): make these const.
1099
1100 2005-01-19  Angus Leeming  <leeming@lyx.org>
1101
1102         * lyx_main.C (error_handler, init): protect SIGHUP with
1103         #ifdef SIGHUP guards.
1104
1105 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1106
1107         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1108
1109 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1110
1111         * text.C (setHeightOfRow): add a margin at the top and bottom of
1112         the document (bug 1761)
1113
1114 2005-01-17  Angus Leeming  <leeming@lyx.org>
1115
1116         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1117         with "python ". Workaround for a brain-dead Windows.
1118
1119 2005-01-16  Angus Leeming  <leeming@lyx.org>
1120
1121         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1122         for MacOSX and Windows to use prependEnvPath.
1123         Strip out the hard-coded block to add elements to the PATH for
1124         MacOSX and replace it with a call to prependEnvPath using the
1125         contents of LyXRC::path_prefix.
1126         (queryUserLyXDir): strip out the code to run reconfigure, instead
1127         returning a boolean indicating the necessity to do so.
1128         (reconfigureUserLyXDir): contains the code to reconfigure the
1129         user support directory. Is now called after the various LyXRC data
1130         files have been read.
1131
1132         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1133
1134 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1135
1136         * converter.[Ch] (convert): take a new parameter try_default. Use
1137         a default converter (imagemagick) if try_default is true.
1138
1139 2005-01-13  Angus Leeming  <leeming@lyx.org>
1140
1141         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1142         os::cygwin_path_fix.
1143         (write): output LyXRC::cygwin_path_fix as necessary.
1144
1145 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1146
1147         * lyxrc.h:
1148         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1149
1150 2005-01-12  Angus Leeming  <leeming@lyx.org>
1151
1152         * lyx_main.C (init): set the PATH variable to include the
1153         directory containing the LyX binary when running on Mac or Windows.
1154
1155 2005-01-12  Angus Leeming  <leeming@lyx.org>
1156
1157         * lyx_main.C (init): remove cruft that purports to set the locale
1158         dir. It doesn't and is not needed anyway.
1159
1160 2005-01-10  Angus Leeming  <leeming@lyx.org>
1161
1162         * Makefile.am: remove the lyx_main.C special casing.
1163
1164         * BufferView_pimpl.C:
1165         * bufferlist.C:
1166         * exporter.C:
1167         * lyx_cb.C:
1168         * lyx_main.C:
1169         * lyxfunc.C:
1170         * messages.C: use support/package.h to provide the paths to the
1171         various directories used by LyX.
1172
1173 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1174
1175         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1176         layout if pasting into an empty paragraph)
1177
1178 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1179
1180         * tex-accent.C: add <string>
1181
1182 2005-01-06  José Matos  <jamatos@lyx.org>
1183
1184         * ParagraphParameters.C (write): put every parameter in its own line.
1185         * paragraph.C (write): reduce number of consecutive empty lines exported.
1186         * buffer.C (LYX_FORMAT): increase file format to 239.
1187
1188 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1189
1190         * everywhere: change support/tostr.h -> support/convert.h
1191
1192         * tabular.C: make all write_attributes templates, tostr -> convert
1193
1194         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1195         (emptyTag): and -> &&, and fix type for ret from getChar
1196         (getFirstWord): fix type for ret from getChar
1197         (onlyText): and -> &&
1198         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1199         getChar
1200
1201         * toc.C (goTo, action):
1202         * text3.C (dispatch):
1203         * text.C (currentState):
1204         * tex-accent.C (DoAccent):
1205         * sgml.C:
1206         * lyxrc.C:
1207         * lyxfunc.C (menuNew):
1208         * lyxfinc.C (replace):
1209         * counters.C (laberItem):
1210         * bufferview_funcs.C (font2string):
1211         * bufferparams.C (writeFile):
1212         * buffer.C (readFile):
1213         * Spacing.C (set):
1214         * MenuBackend.C: tostr -> convert
1215
1216         * LaTeX.C (runMessage): fix format
1217         (scanAuxFiles): tostr -> convert
1218
1219         * BufferView_pimpl.C (savePosition): fix format
1220         (restorePosition): ditto
1221         (dispatch): ditto
1222
1223 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1224
1225         * Spacing.[Ch]: New method getValueAsString().
1226
1227         * Spacing.[Ch]:
1228         * bufferparams.C:
1229         * ParagraphParameters.C:
1230         * lyxlayout.C:
1231         * text.C:
1232         * text3.C: store/read spacing value as string.
1233
1234         * rowpainter.C: change float value (spacing_val) to double.
1235
1236         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1237         broken custom document spacing).
1238
1239 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1240
1241         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1242         namespace, also more use of temp references and const
1243
1244         * cursor.[Ch] (getStatus): move to lyxfunc.C
1245
1246         * bufferparams.C: reformat slightly
1247
1248         * bufferview_funcs.C (font2string): constify arg
1249
1250         * changes.C:
1251         * converter.C:
1252         * counters.C:
1253         * bufferlist.C:
1254         * buffer_funcs.C: (many funcs): constify arg on function
1255         definitions, also make more local vars const, also add ASSERTS on
1256         pointer args.
1257
1258         * buffer.C (LYX_FORMAT): put const in correct place
1259         (many funcs): constify arg on function definitions, also make
1260         more local vars const
1261
1262         * aspell_local.h: remove "struct" from typdef setup
1263
1264         * aspell.C (check): make word_ok const
1265         (nextMiss): simplify slightly
1266         (error): ditto
1267
1268 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1269
1270         * lyxrc.[Ch]: store all float values as strings.
1271         use int (not float) for lyxrc.dpi.
1272
1273 2005-01-04  Angus Leeming  <leeming@lyx.org>
1274
1275         * lyx_cb.C (Reconfigure):
1276         * lyx_main.C (queryUserLyXDir):
1277         to run the <system_lyxdir>/configure correctly on Windows, prefix
1278         the path to the script with "sh " when generating the string that
1279         is passed to system().
1280
1281 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1282
1283         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1284
1285 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1286
1287         * lyxlength.C (asLatexString): get rid of setprecision
1288
1289 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1290
1291         * text2.C (setLayout): remove unused variable endpit.
1292         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1293
1294         * paragraph.C (onlyText): remove unused variable style.
1295
1296         * cursor.C (bruteFind): remove unused variables beg and end.
1297
1298         * Makefile.am (dist_noinset_DATA): not needed anymore
1299
1300         * cheaders/*: remove.
1301
1302 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1303
1304         * text3.C: fix LFUN_MATH_MODE.
1305
1306 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1307
1308         * buffer_funcs.C (countWords): new function. Counts words between
1309         two iterators.
1310
1311         * BufferView_pimpl.C (getStatus, dispatch): handle
1312         LFUN_WORDS_COUNT.
1313
1314         * LyXAction.C (init):
1315         * lfuns.h: add LFUN_WORDS_COUNT.
1316
1317 2004-12-19  Angus Leeming  <leeming@lyx.org>
1318
1319         * buffer.C (save): s/slashify_path/internal_path/.
1320
1321 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1322
1323         * lyxfind.C (findChange): do not search for end of pars, because
1324         the change tracker cannot handle this (fixes bug 1719).
1325
1326 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1327
1328         * paragraph.[Ch] (autoBreakRows): remove
1329
1330         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1331
1332         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1333         avoid using the paragraph one
1334
1335         * text2.C (LyXText, insertStringAsLines): adjust
1336
1337 2004-12-16  Angus Leeming  <leeming@lyx.org>
1338
1339         * bufferlist.C:
1340         * lyx_main.C:
1341         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1342
1343 2004-12-14  Angus Leeming  <leeming@lyx.org>
1344
1345         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1346
1347         * bufferlist.C (emergencyWrite):
1348         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1349         GetEnvPath("HOME").
1350
1351 2004-12-14  Angus Leeming  <leeming@lyx.org>
1352
1353         * main.C: (main): no longer pass pointers to os::init.
1354
1355 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1356
1357         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1358         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1359
1360 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1361
1362         * lyxfunc.C:
1363         * text3.C: remove selection_possible global flag
1364
1365 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1366
1367         * text2.C (getSelectionSpan): remove
1368         (changeDepth, changeDepthAllowed): adjust
1369
1370 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1371
1372         * Makefile.am (BOOST_LIBS): use boost variables
1373
1374 2004-12-03  José Matos  <jamatos@lyx.org>
1375
1376         * buffer.C: format up to 238.
1377
1378 2004-12-03  José Matos  <jamatos@lyx.org>
1379
1380         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1381
1382 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1383
1384         * cursor.C (goUpDown): remove call to idxUpDown2
1385
1386 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1387
1388         * tabular.[Ch]: use size_t-like types for cell, row and column
1389         indices
1390
1391 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1392
1393         * lyxfunc.C (getStatus): do not lose previous information when
1394         calling BufferView::getStatus; do not set a default "Command
1395         disabled" message at the beginning, but just before returning.
1396
1397 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1398
1399         * cursor.h (getStatus): add better comment from src/cursor.C
1400
1401 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1402
1403         * text3.C (getStatus): return false when the lfun is not handled
1404
1405 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1406
1407         * broken_headers.h: remove
1408
1409         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1410
1411 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1412
1413         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1414         offset_ref accessors
1415
1416         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1417         top_y_, merge fitcursor with update
1418         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1419         coord scheme
1420         (metrics): introduce
1421         (workAreaDispatch): adapt to new coord scheme
1422         (redoCurrentBuffer): remove
1423
1424         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1425
1426         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1427         CurStatus enum.
1428
1429         * coordcache.[Ch]: add paragraph cache and helpers
1430
1431         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1432         adjust everywhere
1433
1434         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1435         (targetX, setTargetX): introduce
1436
1437         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1438         baseline -> ascent, as the rest of lyx
1439
1440         * lyxtext.h: remove redoParagraphs, updateParPositions,
1441         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1442         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1443         have ascent/descent (ascent is ascent of first par)
1444
1445         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1446         step of BufferView
1447
1448         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1449
1450         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1451
1452         * pariterator.C: fix infinite loop introduced in par->pit renaming
1453
1454         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1455         in insets and LyXText, draw two off-screen paragraphs using
1456         NullPainter, and adapt to new coord scheme
1457
1458         * text.C:
1459         * text2.C:
1460         * text3.C: adapt lfun handlers to the new coord scheme, which
1461         means: there's only guaranteed coord information for onscreen pars
1462         plus one above and one below. This implies that one can do search
1463         from y coordinates in the range [-1,workHeight]
1464
1465 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1466
1467         * rename a lot of InsetOld to InsetBase
1468
1469 2004-11-25  Angus Leeming  <leeming@lyx.org>
1470
1471         * BufferView_pimpl.C:
1472         * lyx_cb.C:
1473         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1474
1475 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1476
1477         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1478         call BufferView::getStatus if LCursor::getStatus did nothing
1479         (setStatusMessage, getStatusMessage): removed.
1480
1481         * FuncStatus.C (message): new methods. Used to provide an error
1482         message indicating why a command is disabled.
1483         (clear, |=, FuncStatus): update for message.
1484
1485 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1486
1487         * lyxfunc.C (dispatch): always call sendDispatchMessage
1488
1489 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1490
1491         * BufferView.C:
1492         * BufferView_pimpl.C:
1493         * CutAndPaste.C:
1494         * FontIterator.C:
1495         * buffer.C:
1496         * cursor.C:
1497         * cursor_slice.[Ch]:
1498         * dociterator.[Ch]:
1499         * lyxfind.C:
1500         * paragraph_funcs.C:
1501         * pariterator.C:
1502         * rowpainter.C:
1503         * text.C:
1504         * text2.C:
1505         * text3.C:
1506         * undo.C: par->pit renaming
1507
1508 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1509
1510         * tabular.C (cellstruct): use initialization, store a shared_ptr
1511         to insettext instead of the insettext directly, adjust to fit.
1512         (operator=):  new function
1513         (swap): new function
1514         (rowstruct): use initialization
1515         (columnstruct): use initialization
1516         (ltType): use initialization
1517
1518
1519         * lyxlength.h (swap): new function
1520
1521         * LColor.[Ch] (operator=): use the common semantics
1522
1523 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1524
1525         * lyxfind.C (findNextChange): update the bufferview after setting
1526         the selection.
1527
1528 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1529
1530         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1531         number of InsetOptArgs has already been inserted.
1532
1533         * output_latex.C (latexOptArgInsets): new method. This outputs all
1534         the optarg insets, up to the limit defined in the layout file.
1535         (optArgInset): removed
1536         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1537
1538 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1539
1540         * paragraph.C (isLetter): remove special spellchecker-related
1541         code; return true also for digits
1542         (isWord, isKomma): remove
1543
1544         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1545         * lyxfind.C (MatchString()): use isLetter instead of isWord
1546
1547 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1548
1549         * pariterator.h (operatir=): comment out un-implemented member
1550         function.
1551
1552         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1553         static cast.
1554
1555 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1556
1557         * lyxfont.h: include LColor.h to satisfy concept checks.
1558
1559 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1560
1561         * pariterator.h: add typdefs for value_type, difference_type,
1562         pointer and reference to satisfy concept checks. Also add default
1563         constructor for same reason.
1564
1565         * pariterator.C (operator++): add post-increment operator to
1566         satisfy concept checks.
1567
1568         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1569         checks.
1570
1571         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1572
1573         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1574         checks. Also rename base_type to BaseType to follow naming
1575         standard better.
1576
1577         * FloatList.h: include Floating.h to satisfy concept checks.
1578
1579 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1580
1581         * lyxfunc.C (getStatus): when the origin of the request is menu or
1582         toolbar, and the LyXView does not have focus, do as if there was
1583         no buffer (bug 1720)
1584
1585         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1586         FuncRequest to individual entries of LFUN_SEQUENCE
1587
1588 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1589
1590         * output_latex.C (TeXOnePar): override runparams.moving_arg
1591         according to the needprotect value of the current paragraph (bug
1592         1739)
1593
1594         * paragraph.C (simpleTeXOnePar): no need to override
1595         runparams.moving_args here
1596
1597 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1598
1599         * vspace.C: fix off-by-one-error, related to fix #1682
1600
1601 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1602
1603         * lengthcommon.C: a more general fix for bug 1682
1604
1605 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1606
1607         * text.C (backspace): fix crash
1608
1609 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1610
1611         * format.[Ch] (getFormatFromFile): new method
1612         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1613
1614 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1615
1616         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1617
1618 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1619
1620         * lyxfunc.C (dispatch): remove the verbose argument
1621         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1622         instead
1623
1624         * kbmap.C (defkey): set the origin of func to KEYBOARD
1625
1626         * MenuBackend.C (MenuItem):
1627         * ToolbarBackend.C (add): set the origin of func to UI
1628
1629         * funcrequest.[Ch]: add origin member, which indicates which part
1630         of LyX requests an action
1631
1632 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1633
1634         * converter.C (move): don't lie in the error message
1635         * converter.h (isReachable, move): document
1636
1637 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1638
1639         * buffer.C: remove unused using lyx::support::atoi
1640         * paragraph_funcs.C: ditto
1641
1642 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1643
1644         * bufferlist.C (exists): use bind and equal_to instead of
1645         compare_memfun
1646         (getBuffer): ditto
1647         * lyxtextclasslist.C (NumberOfClass): ditto
1648
1649         * cursor.C (insert): use for_each instead of explicit for loop
1650
1651         * bufferlist.C (getFileNames): use std::transform and
1652         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1653
1654         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1655         for loop
1656
1657         * buffer.C (changeLanguage): use for_each instead of explicit for
1658         loop
1659         (hasParWithID): implement using getParFromID
1660
1661         * LaTeXFeatures.C: ws change only
1662
1663         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1664         to cleanup a bit.
1665
1666         * BufferView_pimpl.C (trackChanges): use for_each instead of
1667         expilicit for loop
1668
1669 2004-11-04  André Pönitz  <poenitz@gmx.net>
1670
1671         * undo.h:
1672         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1673
1674         * dociterator.C (asDocIterator): use hard assert again.
1675
1676 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1677
1678         * lyxlength.C (asLatexString): rewrite so that it does not use
1679         snprintf anymore
1680
1681 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1682
1683         * text3.C (specialChar, dispatch): make sure cursor moves to the
1684         right after inserting an inset
1685
1686 2004-11-02  José Matos  <jamatos@lyx.org>
1687
1688         * output_docbook.C (docbook):
1689         * paragraph.C (getID):
1690         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1691         garantee that the output is always legal.
1692
1693         * tabular.C (docbook):
1694         * outputprams.[Ch]: remove mixed contents.
1695
1696 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1697
1698         * text2.C (setCounter): prevent endless loop
1699
1700 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1701
1702         * exporter.C (copyFile): use the mover instead of support::copy()
1703         * exporter.C (Export): pass format and latex name to copyFile()
1704         * exporter.h (addExternalFile): document
1705         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1706
1707 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1708
1709         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1710
1711 2004-10-30  José Matos  <jamatos@lyx.org>
1712
1713         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1714         text and no inset or font change. This allows to use CDATA
1715         sections just for the whole paragraph.
1716
1717 2004-10-30  José Matos  <jamatos@lyx.org>
1718
1719         * paragraph.C (getFirstWord): remove unused variable.
1720
1721 2004-10-30  José Matos  <jamatos@lyx.org>
1722
1723         * paragraph.C (getFirstWord): the content should always be escaped
1724         there.
1725         (simpleDocBookOnePar):
1726         * output_docbook.C (makeEnvironment): replace reference to CDATA
1727         to style pass_thru.
1728
1729 2004-10-30  José Matos  <jamatos@lyx.org>
1730
1731         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1732
1733 2004-10-30  José Matos  <jamatos@lyx.org>
1734
1735         * output_docbook.C (makeParagraphs):
1736         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1737         standard paragraph has only a given type of content drop the wrapper.
1738
1739 2004-10-29  José Matos  <jamatos@lyx.org>
1740
1741         * output_docbook.C (makeEnvironment):
1742         * sgml.C (openTag):
1743         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1744
1745 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1746
1747         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1748         (cleanID): sanitize any id.
1749
1750 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1751
1752         * buffer.C, lyxlex_pimpl.C:
1753         * lyxlex_pimpl.C (setFile):
1754         s/getExtFromContents/getFormatFromContents/
1755
1756 2004-10-28  José Matos  <jamatos@lyx.org>
1757
1758         * output_docbook.C (makeEnvironment): move id to broadest possible
1759         scope.
1760
1761         * sgml.C (openTag): apply substitution of <> for all attributes.
1762
1763 2004-10-28  José Matos  <jamatos@lyx.org>
1764
1765         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1766         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1767         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1768
1769         * sgml.[Ch]: new version for open and closeTag for paragraph and
1770         for strings. Now they handle the ids of paragraphs.
1771
1772 2004-10-26  Angus Leeming  <leeming@lyx.org>
1773
1774         * Makefile.am: add mover.[Ch].
1775
1776         * converter.C (convert, move): use the new Movers to move external
1777         files to the temp directory.
1778
1779         * lyx_main.C (init): ensure that the global system_movers data
1780         is initialised.
1781
1782         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1783         preferences file.
1784
1785         * mover.[Ch]: new files, defining a Mover as a utility to move an
1786         external file between directories and, if necessary, manipulate this
1787         file using a helper script.
1788
1789 2004-10-25  José Matos  <jamatos@lyx.org>
1790
1791         * output_docbook.C (makeCommand): merge two if's that tested the
1792         same condition.
1793
1794 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1795
1796         * sgml.C (escapeString): fix warning in a better way
1797
1798 2004-10-25  José Matos  <jamatos@lyx.org>
1799
1800         * sgml.C (escapeString): import the require boosts header file for
1801         tie, and avoid a signed unsigned comparison.
1802
1803 2004-10-25  José Matos  <jamatos@lyx.org>
1804
1805         * sgml.h: add #include <string>
1806
1807 2004-10-25  José Matos  <jamatos@lyx.org>
1808
1809         * sgml.[Ch] (escapeString): new function to escape all the string.
1810
1811 2004-10-24  José Matos  <jamatos@lyx.org>
1812
1813         * paragraph.[Ch] (getFirstWord): new function to get the first
1814         word. Useful for description.
1815         (simpleDocBookOnePar): remove depth argument, add another that
1816         says where to start the paragraph.
1817
1818         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1819         use the new functions to fix cleanly the support for descriptions.
1820
1821 2004-10-24  José Matos  <jamatos@lyx.org>
1822
1823         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1824         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1825         * output_linuxdoc.C (linuxdocParagraphs):
1826         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1827         add buffer as argument.
1828
1829 2004-10-24  José Matos  <jamatos@lyx.org>
1830
1831         * output_docbook.C (makeEnvironment, searchEnvironment): place
1832         CDATA inside paragraphs and fix scope for listitems.
1833
1834 2004-10-24  José Matos  <jamatos@lyx.org>
1835
1836         * output_docbook.C: remove using statement for stack.
1837
1838 2004-10-23  José Matos  <jamatos@lyx.org>
1839
1840         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1841         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1842         docbook. The new scheme is recursive and makes use of iterators, the
1843         same as latex export works.
1844         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1845         directly with the paragraph contents. This code was moved up to
1846         output_docbook.C (docbookParagraphs).
1847         * sgml.C (openTag, closeTag): removed unneeded newlines.
1848         (closeEnvTags) removed.
1849
1850 2004-10-23  André Pönitz  <poenitz@gmx.net>
1851
1852         * undo.C (textUndoOrRedo):
1853         * dociterator.C (asDocIterator): work around crash
1854
1855         * cursor.C (getStatus): replace ASSERT by more verbose error message
1856           and manual correction of the problem. Should increase stability
1857           while providing more sensible information.
1858
1859 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1860
1861         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1862
1863         * bufferlist.C (previous, next): new methods
1864
1865         * lfuns.h:
1866         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1867
1868 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1869
1870         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1871         entities to preamble.
1872
1873 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1874
1875         * messages.C (Pimpl): strip off translation context information
1876
1877 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1878
1879         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1880         the cursor is correct (bug 1694)
1881
1882 2004-10-13  José Matos  <jamatos@lyx.org>
1883
1884         * output_docbook.C (docbookParagraphs): fix closing tags in the
1885         end of the document.
1886
1887 2004-10-09  José Matos  <jamatos@lyx.org>
1888
1889         * buffer.C: format up to 237.
1890         * bufferparams.C (write): use tostr to convert booleans to strings.
1891
1892 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1893
1894         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1895
1896 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1897
1898         * LaTeX.C: implement use of babel language in xindy.
1899
1900 2004-10-05  José Matos  <jamatos@lyx.org>
1901
1902         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1903         Add new translators to help reading and writing the lyx file.
1904
1905 2004-10-05  José Matos  <jamatos@lyx.org>
1906
1907         * ParagraphParameters.C (read):
1908         * text.C (readParToken): replace nexToken by more appropriate lex
1909         methods.
1910
1911 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1912
1913         * LaTeX.C (runMakeIndex):
1914         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1915         (usually 'makeindex') configurable.
1916
1917         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1918         with a variable rather than with a number.
1919
1920 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1921
1922         * output_latex.C (TeXOnePar): make sure font setting is the first
1923         thing that gets output (and the last at the end). Should fix bug
1924         1404.
1925
1926 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1927
1928         * pch.h: use proper signal include
1929
1930         * LaTeX.h: Use preferred calling of Boost.Signal
1931         * buffer.h: ditto
1932
1933 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1934
1935         * pch.h: dont include <boost/function/function0.hpp>
1936
1937         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1938
1939         * paragraph_pimpl.h: remove usage of ShareContainer
1940
1941         * paragraph_pimpl.C: remove initialization of ShareContainer.
1942
1943 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1944
1945         Fix bug #1666
1946
1947         * BufferView.C (putSelectionAt): change the semantics when
1948         backwards == true: now, this just swaps cursor and anchor wrt the
1949         forward case
1950
1951         * BufferView.h (putSelectionAt): add some documentation
1952
1953         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1954         make sure backwardChar is done at least once (to avoid getting
1955         stuck)
1956         (findNextChange): use putSelectionAt in the forward direction
1957         (operator()): use Paragraph::isWord
1958
1959 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1960
1961         * Spacing.C (set): c_str fix
1962
1963 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1964
1965         * lyx_cb.C (Reconfigure): quote the name of configure script in
1966         case it contains spaces
1967
1968 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1969
1970         * client: new dir
1971
1972         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1973         (BOOST_LIBS): use top_buildir when looking for the file
1974
1975 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1976
1977         * pch.h: do not use include boost/format.hpp, multiple symbols
1978                 will result (gcc bug)
1979
1980
1981 2004-08-23  José Matos  <jamatos@lyx.org>
1982
1983         * bufferparams.C (readToken): fix reading of the author field.
1984
1985 2004-08-20  José Matos  <jamatos@lyx.org>
1986
1987         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1988
1989 2004-08-20  José Matos  <jamatos@lyx.org>
1990
1991         * lyxlex.[Ch] (findToken): remove function.
1992
1993         * ParagraphParameters.C (findToken):
1994         * bufferparams.C (findToken): replace call for previous function
1995         with local copy. This local function has one more argument, the
1996         read string argument.
1997
1998 2004-08-16  José Matos  <jamatos@lyx.org>
1999
2000         * ParagraphParameters.C (write):
2001         * Spacing.C (writeFile):
2002         * bufferparams.C (writeLaTeX):
2003         * lyx_cb.C (Reconfigure):
2004         * paragraph.C (write):
2005         * tabular.C (write): remove unnecessary space at end of line.
2006
2007
2008 2004-08-16  José Matos  <jamatos@lyx.org>
2009
2010         * text.C (readParagraph): remove debug message.
2011
2012 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2013
2014         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2015         crash
2016
2017         * output_plaintext.C (asciiParagraph): set depth correctly
2018
2019         * outputparams.h: add member depth
2020
2021         * paragraph_funcs.C (ownerPar): remove.
2022
2023         * text2.C (setCounter): remove first_pit; comment out some
2024         non-working code that uses ownerPar
2025
2026         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2027         uses ownerPar
2028
2029 2004-08-16  José Matos  <jamatos@lyx.org>
2030
2031         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2032         For the same level of importance use the same chanel to report problems.
2033         (read): add code to deal with \begin_body and \end_body.
2034
2035
2036 2004-08-15  José Matos  <jamatos@lyx.org>
2037
2038         * lyxlex.C (getString): fix comment, buffer::readBody is now
2039         buffer:readDocument.
2040
2041         * tex-strings.C (string_papersize): Default -> default,
2042         Custom -> custom, for consistency with other options.
2043
2044 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
2045
2046         * pch.h: new file
2047
2048         * Makefile.am: support pch
2049
2050 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2051
2052         * text.C (readParToken): remove the static LyXFont variable and
2053         pass it as a parameter instead. This fixes a nasty bug where an
2054         inset will be inserted with a bad font in some situations
2055         (readParagraph): adapt
2056
2057         * text2.C (setCounter): reduce number of calls to pars_[pit]
2058
2059         * text.C (singleWidth): add an assert, fix a test
2060
2061         * rowpainter.C (paintText): reduce number of calls to singleWidth
2062
2063         * paragraph.C (isHfill):
2064         (isNewline): ws only
2065
2066 2004-08-14  André Pönitz  <poenitz@gmx.net>
2067
2068         * text.C:
2069         * text2.C:
2070         * rowpainter.C:
2071         * lyxtext.h (several functions): use a Paragraph & argument
2072         instead of par_type
2073
2074 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2075
2076         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2077
2078         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2079
2080         * text.C (singleWidth): remove useless test
2081
2082 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2083
2084         * tabular.h: remove bogus comments
2085
2086         * tabular.C (getDescentOfRow):
2087         (isPartOfMultiColumn): add assertions
2088
2089         * lyxlength.C (inPixels): remove #warning
2090
2091 2004-08-14  André Pönitz  <poenitz@gmx.net>
2092
2093         * paragraph.h: inline getChar()
2094
2095         * BufferView.h: remove unused declarations
2096
2097 2004-08-14  José Matos  <jamatos@lyx.org>
2098
2099         * Buffer.[Ch] (readDocument): new name for old readBody.
2100         * Buffer.C: new file format, new keywords: \begin_document,
2101         \begin_header, \begin_body, \end_body.
2102
2103         * bufferparams.C (readToken): replace all calls to lex.nextToken
2104         by lex.next(). Do the same to eatLine except where really needed.
2105
2106         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2107         line when writing to the lyx file.
2108
2109         * output_plaintext.C (asciiParagraph): fix Bibliography style
2110         handling.
2111
2112         * text.C (read): fix end of file handling.
2113
2114 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2115
2116         * MenuBackend.C (Menu::operator[]): new method to access
2117         individual menu items
2118         (Menu::hasFunc): new method. search for an item that corresponds
2119         to a given func
2120         (MenuBackend::specialMenu): new method
2121         (MenuBackend::expand): if a special menu has been set, skip
2122         entries whose func() appears in this menu
2123
2124 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2125
2126         * text3.C: use Debug::DEBUG a bit more
2127
2128         * text.C (leftMargin): try to simplify a tiny bit change var x to
2129         l_margin. Dont output the wide margins always.
2130         (rightMargin): no margin in inner texts
2131
2132         * rowpainter.h (nestMargin): new func
2133         (changebarMargin): new func
2134         (rightMargin): new func
2135
2136         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2137         now functions.
2138         (paintLast): ditto
2139
2140         * factory.C (createInset): modify setDrawFrame
2141
2142         * cursor.C: use Debug::DEBUG a bit more
2143
2144 2004-08-14  André Pönitz  <poenitz@gmx.net>
2145
2146         * coordcache.[Ch]:
2147         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2148         cache for all insets in (at least partially) visible (top-level)
2149         paragraphs.
2150
2151         * BufferView_pimpl.C: reset external coord cache before every update.
2152         This means the coord cache only contains valid entries.
2153
2154 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2155
2156         bug 1096
2157         * BufferView_pimpl.C (getInsetByCode): move function out of class
2158         and change in to a template in anon namespace. Also fix to do what
2159         suits us better.
2160
2161 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2162
2163         bug 1305
2164         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2165         of char
2166         (breakParagraph): rename par to par_offset and use a local
2167         reference. Add code to keep the language over a rebreak.
2168         (breakParagraphConservative): rename par to par_offset, use a
2169         local reference
2170         (mergeParagraph): ditto
2171         (outerHook): ditto
2172         (isFirstInSequence): ditto
2173         (outerFont): rename pit to par_offset
2174
2175         * paragraph.C: ws change
2176         * paragraph.h: ditto
2177         * text3.C: ditto
2178         * text.C: ditto
2179
2180 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2181
2182         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2183         treatment for ']'
2184
2185         * paragraph.C (simpleTeXOnePar): when we have a \item with
2186         optional argument, enclose the argument with curly brackets (in
2187         case it contains a closing square bracket)
2188
2189         * text2.C (editXY):
2190         * text2.C (editXY):
2191         * text3.C (checkInsetHit): constify
2192
2193 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2194
2195         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2196         documents (bug 1629)
2197
2198 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2199
2200         Fix toggling of collapsable insets with the mouse (bug 1558)
2201
2202         * lyxfunc.C (dispatch): adapt to LCursor changes
2203
2204         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2205         make sure that dispatch is not invoked twice
2206
2207         * cursor.C (needsUpdate): new method
2208         (dispatch): return void
2209         (result): new method, to access the DispatchResult of the cursor.
2210
2211 2004-08-13  José Matos  <jamatos@lyx.org>
2212
2213         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2214
2215 2004-08-13  André Pönitz  <poenitz@gmx.net>
2216
2217         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2218
2219         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2220           multiple cells
2221
2222 2004-08-12  André Pönitz  <poenitz@gmx.net>
2223
2224         * text3.C: take out the 'cursor right' form insertInset and only
2225         do it in those places when it is really needed. Fixes crash on
2226         C-m...
2227
2228 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2229
2230         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2231
2232         * BufferView_pimpl.C (setBuffer): initialize the current font of
2233         the underlying LyXText
2234
2235 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2236
2237         * kbsequence.C (print): use UI native formatting for menu
2238         shortcuts
2239
2240         * text.C (insertChar): call Paragraph::insertChar with a font
2241         argument (cosmetic)
2242
2243         * paragraph.C (insertInset, insertChar): the version that takes a
2244         LyXFont argument is now a wrapper around the other one (the
2245         opposite used to be true).
2246
2247         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2248         argument. Font setting is done in Paragraph now.
2249
2250 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2251
2252         * outputparams.h: add new members intitle and lang.
2253
2254         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2255         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2256
2257 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2258
2259         * text3.C (dispatch): remove special handling of button 4 and 5,
2260         it is now taken care of in the frontend code.
2261
2262 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2263
2264         * Spacing.h: add <string> (STLPort compile fix)
2265
2266 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2267
2268         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2269
2270 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2271
2272         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2273         to bool.
2274
2275         * converter.C (showMessage): inherit from unary_function, make
2276         operator() const.
2277
2278         * buffer.C (writeFile): initialize retval
2279
2280         * InsetList.h: rename private variable list to list_
2281         * InsetList.[Ch]: adjust accordingly.
2282
2283 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2284
2285         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2286         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2287         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2288         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2289         * ParagraphParameters.C, LaTeXFeatures.C: replace
2290         "support/std_sstream.h" with <sstream>
2291
2292 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2293
2294         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2295         * lyxsocket.C (LyXServerSocket): ditto
2296         (serverCallback): ditto
2297
2298 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2299
2300         * LaTeXFeatures.C: check release date when loading jurabib.
2301
2302 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2303
2304         * lyxserver.C (startPipe): call register_socket_callback
2305         (endPipe): call unregister_socket_callback
2306
2307 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2308
2309         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2310         (LyXServerSocket): register the callback
2311         (LyXServerSocket): unregister the callback
2312         (fd): delete function
2313         (serverCallback): improve error checking and setup the callbacks.
2314         (dataCallback): change arg to fd.
2315         (writeln): new func (copied fro the client socket) used for server
2316         write to client.
2317         (LyXDataSocket): simplify
2318         (~LyXDataSocket): close ann unregiser callback
2319         (server): delete function
2320         (fd): delete function
2321         (readln): small changes, improve some std::string usage
2322         (writeln): constify a bit
2323
2324 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2325
2326         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2327         Qt frontend
2328
2329 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2330
2331         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2332         after it has been populated
2333
2334 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2335
2336         * text2.C (insertInset): move cursor when inserting inset.
2337
2338 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2339
2340         * kbmap.C (findbindings): a couple of new methods. returns a
2341         container of kb_sequence objects. The real work is done by the
2342         private recursive version
2343         (printbindings): uses findbindings to print out a bracketed list
2344         of bindings (renamed from findbinding).
2345
2346         * MenuBackend.C (binding): use kb_keymap::findbindings
2347
2348         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2349
2350 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2351
2352         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2353
2354 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2355
2356         * paragraph.C (isWord): return true on insets that report
2357         isLetter().
2358
2359         * text.C (getWord): use Paragraph::isWord to decide what is in a
2360         word and what is not; fix bug 1609.
2361
2362 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2363
2364         * tex-strings.C: add "none" to string_paperpackages[], fixes
2365         off-by-one-error in the paperpackage selection.
2366
2367         * lyxlex.[Ch]:
2368         * tex-strings.[Ch]: char const * string[n]
2369         -> char const * const string[]
2370
2371 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2372
2373         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2374         command, return early.
2375
2376 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2377
2378         * debug.h: add DEBUG to enum and fix size of ANY.
2379
2380         * debug.C: add support for Debug::DEBUG
2381         (showTags): cast errorTags.level to unsigned int
2382
2383         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2384         (redoCurrentBuffer): ditto
2385         (updateScrollbar): ditto
2386         * cursor.C (dispatch): ditto
2387         * text2.C (setLayout): ditto
2388         (setFont): ditto
2389         (updateCounters): ditto
2390         (editXY): ditto
2391         (deleteEmptyParagraphMechanism): ditto
2392
2393 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2394
2395         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2396         annotations to cleanup the Makefile slightly.
2397
2398 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2399
2400         * lyxrc.C: do not set user_email to a default value but use empty
2401         instead. The entry used to be translated, which does not work
2402         since at the point where lyxrc is constructed there is no
2403         translation service available
2404
2405         * messages.C (getLocaleDir): remove and use directly
2406         lyx_localedir() instead
2407
2408 2004-06-02  Angus Leeming  <leeming@lyx.org>
2409
2410         Fix crash caused by dereferencing null pointer 'exportdata' in
2411         OutputParams by creating a new ExportData variable on the heap,
2412         storing it in a boost::shared_ptr.
2413         The crash was triggered when generating an Instant Preview
2414         of an external inset.
2415
2416         * Makefile.am: add outputparams.C
2417
2418         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2419         (c-tor): allocate memory to it.
2420
2421         * exporter.C (c-tor): associated changes.
2422
2423 2004-06-01  Angus Leeming  <leeming@lyx.org>
2424
2425         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2426         contains data before calling isInset(0). (Bug 1513.)
2427
2428 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2429
2430         * exporter.C (checkOverwrite): new method
2431         * exporter.C (copyFile): new method
2432         * exporter.C (Export): copy referenced files to the document dir
2433         * exporter.[Ch]: new class ExportedFile
2434         * exporter.[Ch]: new class ExportData. Contains currently the
2435         names of referenced external files
2436         * outputparams.h: add exportdata member.
2437
2438 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2439
2440         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2441         version.C-tmp
2442
2443 2004-05-19  Angus Leeming  <leeming@lyx.org>
2444
2445         * LaTeXFeatures.C:
2446         * ToolbarBackend.C:
2447         * bufferparams.C:
2448         * lyxfunc.C: small changes due to the introduction of namespace
2449         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2450
2451 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2452
2453         * text3.C (dispatch): supress update when only moving the cursor
2454         * cursor.C (selHandle): remove commented code
2455
2456 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2457
2458         * paragraph.C (startTeXParParams): correct column count
2459         * CutAndPaste.C (pasteSelection): remove const_cast
2460         * output_docbook.C (docbookParagraphs): remove const_cast
2461         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2462         const_cast and return ParagraphList::const_iterator
2463         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2464         * output_plaintext.C (writeFileAscii): remove const_cast
2465         * paragraph.[Ch] (simpleTeXOnePar): make const
2466         * paragraph_funcs.C (outerPar): use const iterators
2467         * paragraph_pimpl.C (validate): use const iterators
2468         * text.C (setHeightOfRow): use const iterators
2469
2470 2004-05-17  Angus Leeming  <leeming@lyx.org>
2471
2472         * lfuns.h:
2473         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2474
2475         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2476         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2477         if the citation engine has changed.
2478
2479 2004-05-14  José Matos  <jamatos@lyx.org>
2480
2481         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2482         if the textclass does not provide it. Have it different for sgml and
2483         xml.
2484         support the language of document.
2485         * output_docbook.C (docbookParagraphs):
2486         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2487         first anchor as the id of the paragraph, remove special case code.
2488         * sgml.C (escapeChar): escape only < & >.
2489
2490 2004-05-14  Angus Leeming  <leeming@lyx.org>
2491
2492         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2493         dependencies on src/frontends/controllers/biblio.h. Define a
2494         CiteEngine_enum wrapper class to enable the enum to be forward
2495         declared.
2496
2497 2004-05-12  Angus Leeming  <leeming@lyx.org>
2498
2499         * buffer.C: up LYX_FORMAT to 234.
2500         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2501         use_numerical_citations with a single biblio::CiteEngine cite_engine
2502         variable.
2503         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2504
2505 2004-05-13  José Matos  <jamatos@lyx.org>
2506
2507         * converter.h:
2508         * converter.C (Converter, readFlags): add xml member.
2509         * outputparams.h: add XML flavor.
2510         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2511
2512 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2513
2514         * lyxfunc.C (dispatch):
2515         (getStatus): fix handling of LFUN_SEQUENCE
2516
2517 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2518
2519         * debug.C (showLevel): do not forget the end-of-line marker
2520
2521 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2522
2523         * kbmap.C (read): do not stop parsing a bind file when an error
2524         occurs (bug 1575)
2525
2526 2004-04-29  Angus Leeming  <leeming@lyx.org>
2527
2528         * cursor.C:
2529         * factory.C:
2530         * pariterator.C:
2531         * text2.C: wrap a bunch of #warning statements
2532         inside #ifdef WITH_WARNINGS blocks.
2533
2534 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2535
2536         * buffer.C: increment format to 233.
2537
2538 2004-04-28  Angus Leeming  <leeming@lyx.org>
2539
2540         * BufferView_pimpl.C:
2541         * lyxfunc.C:
2542         * text3.C:
2543         s/updateToolbar()/updateToolbars()/
2544         s/Toolbar.h/Toolbars.h/
2545
2546 2004-04-28  Angus Leeming  <leeming@lyx.org>
2547
2548         * BufferView.[Ch] (c-tor):
2549         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2550         No longer passes these data to the WorkArea generator.
2551
2552 2004-04-28  Angus Leeming  <leeming@lyx.org>
2553
2554         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2555
2556 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2557
2558         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2559
2560 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2561
2562         * output_latex.C (TeXEnvironment): make sure that there is a line
2563         break before \end{foo} for the last paragraph of a document
2564         (TeXOnePar): if the paragraph is at the end of the document (or
2565         inset) and the language has to be reset, then make sure that the
2566         line break is _before_ the language command, not after (fixes bug
2567         1225); also make sure that the language reset command is the first
2568         thing after the paragraph (to ensure proper nesting of
2569         environments and thus fix bug 1404)
2570
2571 2004-04-21  John Levon  <levon@movementarian.org>
2572
2573         * ToolbarBackend.h:
2574         * ToolbarBackend.C: make "name" be a programmatic name
2575         and a gui_name field.
2576
2577         * lyxfunc.C: display the minibuffer on M-x
2578
2579 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2580
2581         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2582         (bug 1526)
2583
2584 2004-04-19  Angus Leeming  <leeming@lyx.org>
2585
2586         * BufferView_pimpl.C (setBuffer): changed preview interface.
2587
2588         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2589         possible values.
2590
2591 2004-04-19  John Levon  <levon@movementarian.org>
2592
2593         * BufferView_pimpl.C:
2594         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2595
2596 2004-04-05  Angus Leeming  <leeming@lyx.org>
2597
2598         * text.C (redoParagraphs): add call to updateCounters(), thereby
2599         fixing the missing "Figure #:" label from the caption of a
2600         figure float.
2601
2602 2004-04-13  Angus Leeming  <leeming@lyx.org>
2603
2604         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2605         cursor is clicked out of an inset.
2606
2607 2004-04-13  Angus Leeming  <leeming@lyx.org>
2608
2609         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2610         than an InsetOld one.
2611
2612 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2613
2614         * format.[Ch]: add editor to Format
2615         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2616         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2617
2618 2004-04-08  André Pönitz  <poenitz@gmx.net>
2619
2620         * metricsinfo.h: remove PainterInfo::width member
2621
2622 2004-04-08  Angus Leeming  <leeming@lyx.org>
2623
2624         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2625         "\providecommand" rather than "\newcommand", thereby preventing
2626         clashes with packages that define "\boldsymbol" themselves.
2627         Eg, beamer.
2628
2629 2004-04-08  Angus Leeming  <leeming@lyx.org>
2630
2631         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2632         thereby squashing an unnecessary warning.
2633
2634 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2635
2636         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2637         setBuffer()
2638
2639 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2640
2641         * BufferView.C (setCursor): call redoParagraph (some insets could
2642         have been opened)
2643         (putSelectionAt): remove the 'double update' trick
2644
2645         * BufferView_pimpl.C (fitCursor): call refreshPar
2646         (workAreaDispatch): remove an uneeded update call
2647         (dispatch): remove some manual update calls
2648
2649         * cursor.[Ch]: remove cached_y_, updatePos
2650         (selHandle): set noUpdate when appropriate
2651
2652         * lyxfunc.C (dispatch): track if we need an update
2653
2654         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2655
2656         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2657         (paintSelection): cheap optimization, do not call cursorX when not
2658         needed
2659         (paintPars): change signature
2660         (refreshPar): add
2661         (paintText): adjust
2662         (paintTextInset): adjust
2663
2664         * text.C: adjust
2665
2666 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2667
2668         * lengthcommon.C: compilation fix: remove explicit array size from
2669         unit_name[] and friends
2670
2671 2004-04-05  Angus Leeming  <leeming@lyx.org>
2672
2673         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2674
2675         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2676         present only for the preferences dialog.
2677         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2678
2679 2004-04-05  Angus Leeming  <leeming@lyx.org>
2680
2681         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2682         to enable the frontends to export changes to lyxrc correctly.
2683
2684         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2685
2686 2004-04-07  André Pönitz  <poenitz@gmx.net>
2687
2688         * cursor.[Ch] (selClear, adjust): remove math
2689
2690         * cursor_slice.C: more agressive assert
2691
2692         * lyxfunc.C:
2693         * BufferView_pimpl.C: rework mouse event dispatch
2694
2695         * dociterator.C:
2696         * paragraph.C:
2697         * text2.C:
2698         * text3.C: adjust
2699
2700 2004-04-05  André Pönitz  <poenitz@gmx.net>
2701
2702         * cursor.[Ch] (valign, halign...): remove unneeded functions
2703
2704 2004-04-05  Angus Leeming  <leeming@lyx.org>
2705
2706         * lyxlength.[Ch] (unit_name et al.): const-correct.
2707
2708 2004-04-05  Angus Leeming  <leeming@lyx.org>
2709
2710         * BufferView_pimpl.C:
2711         * buffer.C:
2712         * counters.C:
2713         * cursor.C:
2714         * lyxfunc.C
2715         * paragraph.C:
2716         * pariterator.C:
2717         * text.C:
2718         * text2.C:
2719         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2720
2721 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2722
2723         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2724
2725 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2726
2727         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2728         * BufferView_pimpl.[Ch] (getStatus)
2729         * BufferView.[Ch] (getStatus): add
2730         * lyxfunc.C (getStatus): move lfuns handled in
2731         BufferView::dispatch to te function above
2732         * Cursor.C (setSelection): set selection() = true
2733
2734 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2735
2736         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2737
2738 2004-03-31  Angus Leeming  <leeming@lyx.org>
2739
2740         * lyxfunc.C (dispatch): Fall through to the generic
2741         Dialogs::show("preamble").
2742
2743 2004-03-31  Angus Leeming  <leeming@lyx.org>
2744
2745         * lyxfunc.C (dispatch): Fall through to the generic
2746         Dialogs::show("spellchecker").
2747
2748 2004-03-31  Angus Leeming  <leeming@lyx.org>
2749
2750         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2751         preferences dialog.
2752
2753 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2754
2755         * BufferView.C
2756         * cursor.[Ch]
2757         * dociterator.[Ch]:
2758         * insetiterator.[Ch]:
2759         * lyxfind.C:
2760         * lyxfunc.C:
2761         * pariterator.[Ch]:
2762         * text2.C:
2763         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2764
2765 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2766
2767         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2768         insets where we are putting the cursor.
2769
2770 2004-03-31  Angus Leeming  <leeming@lyx.org>
2771
2772         * lfuns.h:
2773         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2774
2775         * lyxrc.[Ch] (read, write): overloaded member functions taking
2776         a std::[io]stream arguments.
2777
2778         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2779
2780 2004-03-31  Angus Leeming  <leeming@lyx.org>
2781
2782         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2783         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2784
2785         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2786         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2787
2788 2004-03-31  Angus Leeming  <leeming@lyx.org>
2789
2790         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2791         the LFUN_ALL_INSETS_TOGGLE code.
2792
2793 2004-03-30  Angus Leeming  <leeming@lyx.org>
2794
2795         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2796         has died. Fall through to the generic Dialogs::show("document").
2797
2798 2004-03-30  Angus Leeming  <leeming@lyx.org>
2799
2800         * lfuns.h:
2801         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2802         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2803
2804         * lyxfunc.C (getStatus, dispatch): define the actions for these
2805         lfuns. Little more than a cut and pste job from ControlDocument.C
2806
2807         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2808
2809 2004-03-30  Angus Leeming  <leeming@lyx.org>
2810
2811         * lfuns.h:
2812         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2813         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2814
2815         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2816         open/closed state of ollapsable insets. Usage:
2817
2818         all-inset-toggle <state> <name>, where
2819         <state> == "open" || "closed" || "toggle" and
2820         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2821
2822         * lyxtext.h, text2.C (toggleInset): removed.
2823
2824         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2825         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2826         now passes LFUN_INSET_TOGGLE to the found inset.
2827
2828         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2829         is now invoked as "all-insets-toggle toggle branch".
2830
2831 2004-03-30  Angus Leeming  <leeming@lyx.org>
2832
2833         * dociterator.C:
2834         * insetiterator.C:
2835         * pariterator.[Ch]: added/corrected header blurb.
2836
2837 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2838
2839         * dociterator.[Ch]: add an inset_ member
2840         (backwardPos): implemented
2841         (backwardPos, forwardPos): use inset_ when the stack is empty.
2842         (doc_iterator_begin, doc_iterator_end): implemented
2843         * pariterator.[Ch]: adjust, add begin, end
2844         * insetiterator.[Ch]: adjust, add begin, end
2845         * cursor.C:
2846         * document.C:
2847         * BufferView.C:
2848         * BufferView_pimpl.C:
2849         * CutAndPaste.C: adjust
2850
2851 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2852
2853         * buffer.C: increment file format to 232.
2854         * LaTeXFeatures.C: add bibtopic package.
2855         * bufferparams.[Ch]: param \use_bibtopic.
2856
2857         * lyxrc.[Ch]: add lyxrc bibtex_command
2858         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2859
2860         * buffer.C: increment file format to 231.
2861
2862 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2863
2864         * dociterator.C: implement forwardPar
2865         * iterators.[Ch]: remove, replaced by
2866         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2867         * BufferView.C:
2868         * BufferView_pimpl.C:
2869         * CutAndPaste.C:
2870         * buffer.C:
2871         * bufferview_funcs.C:
2872         * cursor.C:
2873         * lyxfind.C
2874         * lyxfunc.C
2875         * paragraph_funcs.C
2876         * toc.C:
2877         * Makefile.am: adjust
2878
2879 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2880
2881         * CutAndPaste.C (pasteSelection): fix 2 crashes
2882         (eraseSelection): fix a crash
2883         * paragraph_funcs.C: remove a warning
2884
2885 2004-03-28  Angus Leeming  <leeming@lyx.org>
2886
2887         * lfuns.h:
2888         * LyXAction.C (init): new LFUN_PRINT.
2889
2890         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2891
2892 2004-03-27  Angus Leeming  <leeming@lyx.org>
2893
2894         * lfuns.h:
2895         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2896
2897         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2898
2899 2004-03-27  Angus Leeming  <leeming@lyx.org>
2900
2901         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2902         insetlist always contains non-null pointers to insets.
2903
2904 2004-03-26  Angus Leeming  <leeming@lyx.org>
2905
2906         * src/BufferView_pimpl.C:
2907         * src/CutAndPaste.C:
2908         * src/buffer.C:
2909         * src/iterators.C:
2910         * src/output_plaintext.C:
2911         * src/outputparams.h:
2912         * src/paragraph_funcs.C:
2913         * src/rowpainter.C:
2914         * src/text.C:
2915         * src/text2.C:
2916         * src/frontends/controllers/ControlErrorList.C:
2917         * src/frontends/gtk/FileDialogPrivate.C:
2918         * src/frontends/gtk/GPainter.C:
2919         * src/frontends/gtk/GToolbar.C:
2920         * src/frontends/qt2/QRef.C:
2921         * src/mathed/math_scriptinset.C: squash compiler warnings.
2922
2923 2004-03-26  Angus Leeming  <leeming@lyx.org>
2924
2925         * ispell.C (LaunchIspell::start):
2926         * lyx_cb.C (AutoSaveBuffer::start):
2927         invoke run(DontWait) rather than runNonBlocking().
2928
2929 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2930
2931         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2932
2933 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2934
2935         * kbsequence.C (print): adjust
2936
2937         * kbmap.C (printKeySym): rename and change signature
2938         (printKey): use LyXKeySym::print()
2939
2940 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2941
2942         * undo.C: add using std::advance to compile for stlport
2943
2944 2004-03-24  Angus Leeming  <leeming@lyx.org>
2945
2946         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2947         it leads to a crash when no buffer is present.
2948
2949 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2950             Martin Vermeer  <martin.vermeer@hut.fi>
2951
2952         * lyxfunc.C (dispatch):
2953         * bufferparams.C (readToken): use the new LColor::setColor
2954
2955         * LColor.[Ch] (setColor): new version that takes two strings as
2956         argument and creates a new color entry if necessary
2957
2958 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2959
2960         * buffer.C (makeLaTeXFile): if the main latex file that is
2961         processed is usually a subdocument of some master, then pretend
2962         for a while that it is actually the master
2963
2964 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2965
2966         * buffer.C (getLabelList):
2967         (getBibkeyList): use getMasterBuffer()
2968         (getMasterBuffer): new method. Returns the main document in the
2969         case where one is using included documents.
2970
2971 2004-03-25  André Pönitz  <poenitz@gmx.net>
2972
2973         * Makefile.am:
2974         * iterators.[Ch]:
2975         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2976
2977         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2978
2979         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2980         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2981
2982         * ParameterStruct.h: merge with ParagraphParameters
2983
2984         * lyxtext.h: remove LyXText::parOffset() and getPar()
2985
2986         * text3.C: Remove all 'manual' update calls. We do now one per user
2987         interaction which is completely sufficient.
2988
2989         * Bidi.C:
2990         * BufferView.[Ch]:
2991         * BufferView_pimpl.C:
2992         * FontIterator.[Ch]:
2993         * MenuBackend.C:
2994         * ParagraphParameters.[Ch]:
2995         * buffer.C:
2996         * buffer.h:
2997         * bufferlist.C:
2998         * cursor.[Ch]:
2999         * cursor_slice.[Ch]:
3000         * dociterator.[Ch]:
3001         * errorlist.[Ch]:
3002         * factory.C:
3003         * lfuns.h:
3004         * lyxfind.C:
3005         * lyxfunc.C:
3006         * output_docbook.[Ch]:
3007         * output_latex.[Ch]:
3008         * output_linuxdoc.[Ch]:
3009         * output_plaintext.[Ch]:
3010         * paragraph.[Ch]:
3011         * paragraph_funcs.[Ch]:
3012         * paragraph_pimpl.[Ch]:
3013         * rowpainter.C:
3014         * tabular.[Ch]:
3015         * text.C:
3016         * text2.C:
3017         * toc.C:
3018         * undo.[Ch]: adjust
3019
3020         * frontends/controllers/ControlDocument.C:
3021         * frontends/controllers/ControlErrorList.C:
3022         * frontends/controllers/ControlSpellchecker.C:
3023         * insets/inset.C:
3024         * insets/inset.h:
3025         * insets/insetbase.h:
3026         * insets/insetbibitem.C:
3027         * insets/insetbox.C:
3028         * insets/insetbranch.C:
3029         * insets/insetcaption.C:
3030         * insets/insetcharstyle.C:
3031         * insets/insetcharstyle.h:
3032         * insets/insetcollapsable.C:
3033         * insets/insetcollapsable.h:
3034         * insets/insetert.C:
3035         * insets/insetfloat.C:
3036         * insets/insetfoot.C:
3037         * insets/insetmarginal.C:
3038         * insets/insetnote.C:
3039         * insets/insetoptarg.C:
3040         * insets/insettabular.C:
3041         * insets/insettext.C:
3042         * insets/insettext.h:
3043         * insets/insetwrap.C:
3044         * mathed/math_mboxinset.C:
3045         * mathed/math_nestinset.C:
3046         * mathed/math_scriptinset.C:
3047         * mathed/math_scriptinset.h:
3048         * support/types.h:
3049
3050 2004-03-24  Angus Leeming  <leeming@lyx.org>
3051
3052         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3053         deal with any child processes that have finished but are waiting to
3054         communicate this fact to the rest of LyX.
3055
3056 2004-03-24  Angus Leeming  <leeming@lyx.org>
3057
3058         64-bit compile fixes.
3059
3060         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3061         (c-tor): pass lyx::pos_types rather than ints.
3062
3063         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3064         lyx::pos_type.
3065
3066         * text.C (Delete): compile fix.
3067         (getPar): ensure that function declaration is the same as that in
3068         the header file.
3069
3070 2004-03-23  Angus Leeming  <leeming@lyx.org>
3071
3072         * ispell.C (LaunchIspell):
3073         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3074         a boost::shred_ptr rather than a std::auto_ptr.
3075
3076 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3077
3078         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3079         handle LFUN_FILE_INSERT_*
3080
3081         * lyxrc.C (setDefaults, getDescription, output, read):
3082         * lyxrc.h: remove ps_command
3083
3084 2004-03-22  Angus Leeming  <leeming@lyx.org>
3085
3086         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3087         Ensure that error_handler is processed once only and that all data
3088         is saved before attempting to output any warning messages.
3089
3090         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3091
3092 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3093
3094         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3095
3096 2004-03-19  André Pönitz  <poenitz@gmx.net>
3097
3098         * cursor.[Ch] (reset): take main text inset as argument
3099
3100         * BufferView: adjust
3101         * BufferView_pimpl.C: adjust
3102
3103         * paragraph.[Ch]: fix completely broken operator=()
3104
3105 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3106
3107         * LColor.C (getFromLyXName): make sure that the color name is used
3108         as lowercase.
3109
3110 2004-03-17  Angus Leeming  <leeming@lyx.org>
3111
3112         * lfuns.h:
3113         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3114
3115         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3116         dialog and to kill a forked process.
3117
3118 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3119
3120         * text2.C (setCursorFromCoordinates): fix font problem
3121
3122 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3123
3124         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3125         bogus "rebuild cursor" code
3126
3127 2004-03-11  André Pönitz  <poenitz@gmx.net>
3128
3129         * buffer.[Ch]: use InsetText instead of LyXText as container for
3130         the main lyx text.
3131
3132         * dociterator.[Ch]: drop the BufferView * member which is not needed
3133         anymore after the change to buffer.C
3134
3135         * paragraph_funcs.C:
3136         * text.C:
3137         * text2.C:
3138         * BufferView.[Ch]:
3139         * BufferView_pimpl.[Ch]:
3140         * cursor.[Ch]:
3141         * cursor_slice.[Ch]: adjust
3142
3143         * text3.C: fix bug in mathDispatch
3144
3145 2004-03-08  André Pönitz  <poenitz@gmx.net>
3146
3147         * undo.[Ch]: use 'StableDocumentIterator' as base for
3148         the Undo struct.
3149
3150 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3151
3152         * LaTeXFeatures.C:
3153         * bufferparams.[Ch]: add jurabib support and param.
3154
3155         * LaTeX.C: add FIXME/comment.
3156
3157 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3158
3159         * buffer.C: increment file format to 230.
3160
3161 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3162
3163         * cursor.C (dispatch): avoid infinite loops
3164
3165 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3166
3167         * rowpainter.C (paintSelection): fix x coordinates
3168
3169 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3170
3171         * text.C (rowBreakPoint): fix breaking before displayed insets
3172
3173 2004-03-01  André Pönitz  <poenitz@gmx.net>
3174
3175         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3176
3177         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3178
3179         * Makefile.am:
3180         * BufferView.C:
3181         * BufferView_pimpl.C:
3182         * buffer.C:
3183         * lyxfind.C:
3184         * lyxfunc.C:
3185         * text.C:
3186         * text2.C:
3187         * text3.C: adjust
3188
3189 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3190
3191         * lyxtext.h:
3192         * text.C:
3193         * text2.C:
3194         * rowpainter.C:
3195         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3196         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3197
3198 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3199
3200         * Bidi.[Ch] (computeTables): const correctness
3201         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3202         fill_hfill, fill_label_hfill and x from Row
3203         * lyxtext.h: prepareToPrint returns a RowMetrics
3204         * rowPainter.C: adjust
3205         * text.C (prepareToPrint): use width, not textWidth. adjust
3206         (redoParagraphInternal, cursorX): adjust
3207         * text2.C (getColumnNearX): adjust
3208         (init): put a default value to the top LyXText::width
3209
3210 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3211
3212         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3213
3214 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3215
3216         * lyxtext.h: add FontIterator class
3217
3218         * text.C (FontIterator, operator*, operator->, operator++): add
3219         (rowBreakPoint, setRowWidth): adjust (fixing a
3220         rebreaking bug)
3221
3222 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3223
3224         * BufferView_pimpl.C (workAreaDispatch): allow also
3225         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3226
3227 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3228
3229         * text.C (rowBreakPoint): fix a bug showing with very large insets
3230
3231 2004-02-25  André Pönitz  <poenitz@gmx.net>
3232
3233         * text3.C:
3234         * cursor.[Ch]: move some mathed specific code to mathed
3235
3236 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3237
3238         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3239         use_tempdir in preferences
3240         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3241         tempfile creation
3242         * lyx_main.C: ensure that tempdir is valid
3243         * lyxlex.h: correct typo
3244         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3245         * paragraph.[Ch] (isMultiLingual): make const
3246         * cursor.[Ch] (openable): make const
3247
3248 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3249
3250         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3251
3252 2004-02-20  André Pönitz  <poenitz@gmx.net>
3253
3254         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3255
3256         * cursor.[Ch]: prepare for localized getStatus()
3257
3258         * lyxtext.h:
3259         * tabular.C:
3260         * text.C:
3261         * text2.C:
3262         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3263
3264 2004-02-20  André Pönitz  <poenitz@gmx.net>
3265
3266         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3267
3268 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3269
3270         * text2.C (setCursorFromCoordinates): switch to absolute coords
3271         (cursorUp): adjust
3272         (cursorDown): adjust
3273         * text3.C (dispatch): adjust
3274
3275 2004-02-16  André Pönitz  <poenitz@gmx.net>
3276
3277         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3278           insets/ChangeLog)
3279
3280         * cursor_slice.[Ch]: remove unneeded acessor function
3281
3282         * lyxtext.h: rename rtl() to isRTL()
3283
3284         * rowpainter.C:
3285         * tabular.C:
3286         * text.C:
3287         * text2.C:
3288         * text3.C: adjust
3289
3290 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3291
3292         * rowpainter.C (paintSelection): coord fix
3293
3294 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3295
3296         * Spacing.C: compile fix
3297
3298 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3299
3300         * cursor.C (dispatch): restore current_ before returning
3301
3302 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3303
3304         * text2.C (cursorUp, cursorDown): fix coords
3305         (moveUp): fix crash
3306
3307 2004-02-12  André Pönitz  <poenitz@gmx.net>
3308
3309         * lyxtext.h:
3310         * text.C:
3311         * text2.C:
3312         * text3.C: add LCursor & parameter to most cursor movement functions
3313           remove usage of LyXText::cursorRow() and cursorPar()
3314
3315         * cursor.[Ch]: add textRow() needed members
3316
3317         * BufferView.C:
3318         * BufferView_pimpl.C:
3319         * paragraph.[Ch]:
3320         * BufferView.C:
3321         * BufferView_pimpl.C: adjust
3322
3323 2004-02-11  André Pönitz  <poenitz@gmx.net>
3324
3325         * lyxfunc.C:
3326         * BufferView.[Ch]:
3327         * BufferView_pimpl.C: shift undo/redo handling
3328
3329         * cursor.[Ch]: fix mathed crash
3330
3331         * lyxfind.C:
3332         * lyxtext.h: move selectionAsText to LCursor
3333
3334         * output_latex.C:
3335         * paragraph.C:
3336         * text.C:
3337         * text2.C:
3338         * text3.C: adjust
3339
3340         * rowpainter.C: fix excessive drawing
3341
3342 2004-02-06  André Pönitz  <poenitz@gmx.net>
3343
3344         * BufferView.[Ch]:
3345         * BufferView_pimpl.[Ch]:
3346         * text3.C: move some text specific LFUN handling
3347
3348 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3349
3350         * text3.C (checkInsetHit): adjust coords
3351         * text2.C (getColumnNearX): adjust coords
3352         (edit): adjust coords
3353         * text.C (getRowNearY): add two asserts
3354
3355 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3356
3357         * converter.C:
3358         * format.C: add using std::distance to compile on gcc 2.95/stlport
3359
3360 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3361
3362         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3363
3364 2004-02-04  André Pönitz  <poenitz@gmx.net>
3365
3366         * BufferView.[Ch] (insertInset):
3367         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3368
3369         * text2.C:
3370         * text3.C: adjust
3371
3372 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3373
3374         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3375         on the default clause of the switch
3376         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3377         wasn't catched by LCursor::dispatch
3378
3379 2004-02-03  André Pönitz  <poenitz@gmx.net>
3380
3381         * BufferView.C:
3382         * cursor.[Ch]: some additional asserts
3383
3384         * undo.[Ch]: remove LyXText dependency in interface
3385
3386         * lyxfunc.C: adjust
3387
3388         * lyxtext.h (firstPar, lastPar): remove dead functions
3389
3390         * text.C:
3391         * text2.C:
3392         * text3.C:
3393         * paragraph.[Ch]: adjust
3394
3395 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3396
3397         * lyxfind.C (find): fix argument order in call to ::find
3398
3399 2004-02-02  André Pönitz  <poenitz@gmx.net>
3400
3401         * cursor.[Ch]: remove direct access to anchor
3402
3403         * text.C: remove findText() hack
3404
3405 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3406
3407         * iterators.[Ch] (lockPath): remove in favour of...
3408         * BufferView.[Ch] (setCursor): this addition
3409         * BufferView.C (putSelectionAt): adjust
3410         * undo.C (performUndoOrRedo): adjust
3411         * lyxfunc.C (dispatch): adjust
3412
3413 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3414
3415         * iterators.C (lockPath): add a missing slice
3416         * undo.C (performUndoOrRedo): remove redundant positioning code
3417
3418 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3419
3420         * vc-backend.C (scanMaster): ";" -> ';'
3421
3422 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3423
3424         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3425         std::binary_function
3426
3427         * lyxtextclass.C (compare_name): rename to...
3428         (LayoutNamesEqual): ...this
3429
3430         * lyxlex_pimpl.C (compare_tags): inherit from
3431         std::binary_function, put back into anon namespace
3432
3433         * lyxfind.C (MatchString): inherig from std::binary_function
3434         (findChange): use empty() istead of !size()
3435
3436         * format.C (FormatNamesEqual): new functor
3437         (getFormat): use it
3438         (getNumber): use it
3439         (add): use it
3440         (erase): use it
3441         (setViewer): use it
3442
3443         * converter.C (compare_Converter): rename to...
3444         (ConverterEqual): ...this, and fixup a bit.
3445         (getConverter): use it, and make function const
3446         (getNumber): use it, and make function const
3447         (add): use it
3448         (erase): use it:
3449
3450         * bufferlist.C: add using boost::bind
3451
3452         * MenuBackend.C (MenuNamesEqual): new functor
3453         (hasMenu): use it, and make function const
3454         (hasSubmenu): use nested bind to get rid of compare_memfun.
3455
3456 2004-01-30  André Pönitz  <poenitz@gmx.net>
3457
3458         * BufferView_pimpl.C:
3459         * cursor.C:
3460         * cursor.h:
3461         * cursor_slice.[Ch]:
3462         * lyxfunc.C:
3463         * lyxtext.h:
3464         * paragraph_funcs.C:
3465         * paragraph_funcs.h:
3466         * rowpainter.C:
3467         * text.C:
3468         * text2.C:
3469         * text3.C: move some of the edit(x,y) handling to the insets
3470         some coordinate changes.
3471
3472 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3473
3474         * text.C: add using statements for std::advance and std::distance
3475
3476         * paragraph.C: add using statement for std::distance
3477
3478         * lyxfind.C: add using statement for std::advance
3479
3480         * cursor.C (region): remove std:: from swap
3481         (openable): use nucleus in stead of operator->
3482
3483         * BufferView.C: add using statements for std::distance and std::swap
3484
3485 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3486
3487         * iterators.C: Remove the pimple, move the needed structures to
3488         the header file. Create accessor for the positions stack.
3489         (asPosIterator): remove function
3490
3491         * PosIterator.C (PosIterator): move constructors to top of file
3492         (PosIterator): reimplement the constructor taking a ParIterator in
3493         terms of setFrom.
3494         (setFrom): new function
3495         (operator!=): inline it
3496
3497 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3498
3499         * lyxfind.C (replaceAll): use std::advance
3500
3501         * iterators.h: inherit from std::iterator.
3502
3503         * PosIterator.C (advance, distance): remove
3504         * PosIterator.h: interit from std::iterator.
3505
3506 2004-01-26  André Pönitz  <poenitz@gmx.net>
3507
3508         * BufferView.[Ch]:
3509         * BufferView_pimpl.[Ch]:
3510         * InsetList.[Ch]:
3511         * PosIterator.[Ch]:
3512         * buffer.h:
3513         * bufferview_funcs.C:
3514         * cursor.[Ch]:
3515         * cursor_slice.h:
3516         * factory.[Ch]:
3517         * iterators.[Ch]:
3518         * lyxfind.C:
3519         * lyxfunc.C:
3520         * lyxtext.h:
3521         * output_docbook.C:
3522         * output_latex.C:
3523         * output_linuxdoc.C:
3524         * output_plaintext.C:
3525         * paragraph.[Ch]:
3526         * paragraph_funcs.[Ch]:
3527         * paragraph_pimpl.[Ch]:
3528         * rowpainter.C:
3529         * tabular.C:
3530         * tabular.h:
3531         * text.C:
3532         * text2.C:
3533         * text3.C: more IU:  dumps most of the rest of the mathcursor
3534     implementation into cursor.[Ch]; "globalize" a bit of it.
3535
3536 2004-01-25  Angus Leeming  <leeming@lyx.org>
3537
3538         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3539
3540 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3541
3542         * LaTeXFeatures.h: add nice_ and nice() const
3543         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3544
3545 2004-01-20  André Pönitz  <poenitz@gmx.net>
3546
3547         * BufferView.[Ch]:
3548         * BufferView_pimpl.C:
3549         * PosIterator.C:
3550         * bufferview_funcs.C:
3551         * cursor.[Ch]:
3552         * cursor_slice.[Ch]:
3553         * factory.C:
3554         * iterators.C:
3555         * lyx_cb.C:
3556         * lyxfind.C:
3557         * lyxfunc.C:
3558         * lyxtext.h:
3559         * rowpainter.C:
3560         * text.C:
3561         * text2.C:
3562         * text3.C:
3563         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3564           LCursor and mathcursor parts to LCursor and InsetBase.
3565
3566 2004-01-15  André Pönitz  <poenitz@gmx.net>
3567
3568         * cursor_slice.[Ch]: add a few covienience functions
3569
3570         * funcrequest.[Ch]: remove BufferView * member
3571
3572         * BufferView_pimpl.C:
3573         * cursor.C:
3574         * factory.[Ch]:
3575         * lyxfind.[Ch]:
3576         * lyxfunc.C:
3577         * lyxtext.h:
3578         * text3.C:
3579         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3580
3581 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3582
3583         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3584         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3585
3586 2004-01-13  André Pönitz  <poenitz@gmx.net>
3587
3588         * textcursor.[Ch]:
3589         * lyxtext.h: hide cursor and selection anchor behind accessor function
3590
3591         * BufferView.C:
3592         * BufferView_pimpl.[Ch]:
3593         * PosIterator.C:
3594         * bufferview_funcs.C:
3595         * cursor.h:
3596         * lyxfind.C:
3597         * lyxfunc.C:
3598         * text.C:
3599         * text2.C:
3600         * text3.C:
3601         * undo.C: adjust
3602
3603         * cursor.h:
3604         * cursor_slice.[Ch]: some integer type changes for inset unification
3605
3606         * lyxcursor.[hC]: remove, it's CursorSlice now.
3607
3608         * Makefile.am:
3609         * BufferView_pimpl.[Ch]:
3610         * bufferview_funcs.C:
3611         * cursor_slice.C:
3612         * lyxtext.h:
3613         * text.C:
3614         * text2.C:
3615         * text3.C:
3616         * textcursor.[Ch]: adjust
3617
3618 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3619
3620         * text2.C (undoSpan): add and use
3621         * text.C (breakParagraph): use undoSpan (fix bug 578)
3622         * lyxtext.h: adjust
3623
3624 2004-01-08  Angus Leeming  <leeming@lyx.org>
3625
3626         * BufferView_pimpl.C (MenuInsertLyXFile):
3627         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3628         * lyxfunc.C (menuNew, open, doImport):
3629         FileFilterList change to the FileDialog open and save functions.
3630
3631 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3632
3633         * ShareContainer.h: make isEqual and isUnique adaptable
3634
3635         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3636
3637 2004-01-07  Angus Leeming  <leeming@lyx.org>
3638
3639         * LyXAction.C:
3640         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3641
3642         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3643
3644         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3645         functions replacing find, replace and replaceAll.
3646
3647         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3648         LFUN_WORDFIND(FORWARD|BACKWARD).
3649
3650 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3651
3652         * text.C (breakParagraph): remove an outdated #warning
3653
3654 2004-01-07  André Pönitz  <poenitz@gmx.net>
3655
3656         * lyxfind.C: somewhat clearer logic
3657
3658         * text.C: prevent crash in cursorX on unitialized row cache
3659
3660 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3661
3662         * lyxcursor.[Ch] (operator>): add
3663         * textcursor.C (selStart, selEnd): use std::min and std::max
3664
3665 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3666
3667         * Chktex.C: include boost/format.hpp
3668
3669 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3670
3671         * InsetList.C: replace functor MathcIt with adaptable functor
3672         InsetTablePosLess
3673         (insetIterator): modify accordingly
3674
3675         * BranchList.h: move the BranchNamesEqual functor here from...
3676         * BranchList.C: ... to here
3677
3678         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3679         SameName and match.
3680         (add): replace a finding loop with std::find_if.
3681
3682 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3683
3684         * output_docbook.C: moving LatexParam functionality into
3685         .layout files
3686
3687 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3688
3689         * buffer.C: increment format to 229.
3690
3691 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3692
3693         * LaTeXFeatures.C:
3694         * lyx_sty.[Ch]: remove minipageindent_def
3695
3696         * LyXAction.C:
3697         * factory.C:
3698         * lfuns.h:
3699         * lyxfunc.C:
3700         * text3.C: remove LFUN_INSET_MINIPAGE
3701
3702 2003-12-28  Angus Leeming  <leeming@lyx.org>
3703
3704         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3705
3706 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3707
3708         * text2.C (setParagraph): fix off-by-one crash
3709
3710 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3711
3712         * output_docbook.C: header stuff for AGU
3713
3714 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3715
3716         * text2.C (redoCursor): remove
3717         * text.C:
3718         * text3.C:
3719         * BufferView_pimpl.C: remove calls to redoCursor and
3720         setCursor(cursor.par(), cursor.pos()) all around
3721
3722 2003-12-15  Angus Leeming  <leeming@lyx.org>
3723
3724         * buffer.C: up the format to 228.
3725
3726 2003-12-15  André Pönitz  <poenitz@gmx.net>
3727
3728         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3729         slices
3730
3731         * Makefile.am:
3732
3733         * BufferView_pimpl.C:
3734         * cursor.[Ch]:
3735         * lyxcursor.[Ch]:
3736         * rowpainter.[Ch]:
3737         * lyxtext.h:
3738         * text.C:
3739         * text2.C:
3740         * text3.C: adjust
3741
3742 2003-12-15  Angus Leeming  <leeming@lyx.org>
3743
3744         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3745         than getFromGUIName to manipulate the color.
3746
3747 2003-12-14  Angus Leeming  <leeming@lyx.org>
3748
3749         * BranchList.[Ch]: minimize the API.
3750         (Branch::getBranch, getColor): now return a 'const &'.
3751         (Branch::setSelected) now returns a bool set to true if the
3752         selection status changes.
3753         (BranchList::clear, size, getColor, setColor, setSelected,
3754         allBranches, allSelected, separator): removed.
3755         (BranchList::find): new functions, returning the Branch with
3756         the given name.
3757         (BranchList::add, remove): return a bool indicating that
3758         the operation was successful.
3759
3760         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3761         new InsetBranch::isBranchSlected member function.
3762
3763         * LColor.[Ch]: mimimize the API.
3764         (fill): renamed as addColor and made private.
3765         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3766         versions of these functions taking a string arg have been removed.
3767
3768         * bufferparams.C (readToken):
3769         * lyxfunc.C (dispatch):
3770         * lyxrc.C (read): changes due to the altered BranchList and
3771         LColor APIs.
3772
3773         * factory.C (createInset, readInset): changes due to altered
3774         InsetBranch c-tor.
3775
3776 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3777
3778         * factory.C:
3779         * lyxfunc.C: remove insetminipage. "minipage-insert"
3780         now produces a frameless minipage box inset.
3781
3782 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3783
3784         * textcursor.[Ch] (selStart,selEnd): add new methods
3785         remove selection::start, end, use LyXCursor::operator<
3786         * lyxcursor.[Ch] (operator<): add
3787         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3788         * BufferView.[Ch] (unsetXSel): add
3789         * text2.C (clearSelection): use unsetXSel,adjust
3790         * text.C: adjust
3791         * text3.C: adjust
3792         * rowpainter.C: adjust
3793         * bufferview_funcs.C (put_selection_at): adjust
3794
3795 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3796
3797         * BufferView_pimpl.C: small coord. correction
3798
3799 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3800
3801         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3802         dragging over the splash screen.
3803
3804 2003-12-11  Angus Leeming  <leeming@lyx.org>
3805
3806         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3807         as it is now handled in LyXText::dispatch.
3808
3809         * text3.C (doInsertInset): remove a level of nesting.
3810
3811 2003-12-11  Angus Leeming  <leeming@lyx.org>
3812
3813         * factory.C (createInset): changes due to the changed interface to
3814         InsetCommandMailer::string2params.
3815
3816 2003-12-10  Angus Leeming  <leeming@lyx.org>
3817
3818         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3819         'dialog-show-new-inset <inset name>'
3820
3821 2003-12-10  Angus Leeming  <leeming@lyx.org>
3822
3823         * buffer.C: up the format to 227.
3824
3825         * factory.C: the box inset is now identified simply by 'Box'.
3826
3827 2003-12-10  Angus Leeming  <leeming@lyx.org>
3828
3829         * buffer.C: up the format to 226.
3830
3831         * factory.C: the note inset is now identified simply by 'Note'.
3832
3833 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3834
3835         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3836         when a pit is enough. Standarize a couple of loops.
3837
3838 2003-12-05  Angus Leeming  <leeming@lyx.org>
3839
3840         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3841         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3842         data to the re-worked "log" dialog.
3843
3844 2003-12-03  André Pönitz  <poenitz@gmx.net>
3845
3846         * PosIterator.C:
3847         * iterators.C:
3848         * lyxtext.h:
3849         * output_latex.C:
3850         * paragraph_funcs.C:
3851         * text.C:
3852         * text2.C: use Inset::getText instead of Inset::getParagraph
3853
3854 2003-12-03  André Pönitz  <poenitz@gmx.net>
3855
3856         * buffer.[Ch]:
3857         * lyxtext.h:
3858         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3859         InsetText::read() as LyXText::read()
3860
3861 2003-12-02  Angus Leeming  <leeming@lyx.org>
3862
3863         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3864         type. Add a comment in the implementation that the function uses
3865         the stream's bad() function rather than fail() as the std::streams
3866         would do.
3867
3868 2003-12-02  André Pönitz  <poenitz@gmx.net>
3869
3870         * lyxlex.[Ch]: make interface more similar to std::stream
3871
3872         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3873
3874 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3875
3876         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3877
3878 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3879
3880         * vspace.[Ch]: remove VSpace::NONE
3881
3882 2003-12-01  André Pönitz  <poenitz@gmx.net>
3883
3884         * buffer.[Ch]:
3885         * lyxtext.h: move ParagraphList member to LyXText
3886         rename LyXText::ownerParagraphs to LyXText::paragraph
3887
3888         * CutAndPaste.C:
3889         * bufferview_funcs.C:
3890         * iterators.[Ch]:
3891         * lyx_cb.C:
3892         * paragraph.C:
3893         * rowpainter.C:
3894         * tabular.C:
3895         * text.C:
3896         * text2.C:
3897         * text3.C: adjust
3898
3899         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3900
3901         * undo.C: fix cursor positioning
3902
3903 2003-12-01  John Levon  <levon@movementarian.org>
3904
3905         * BufferView_pimpl.C: fix a crash on exit with
3906         a buffer open
3907
3908 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3909
3910         * BranchList.C: fix setSelected() method.
3911
3912 2003-11-28  André Pönitz  <poenitz@gmx.net>
3913
3914         * ParagraphParameters.[Ch]:
3915         * ParameterStruct.h: remove space above/below from Paragraph to
3916          InsetVSpace
3917
3918         * BufferView_pimpl.C:
3919         * factory.C:
3920         * lyxfunc.C:
3921         * lyxtext.h:
3922         * output_latex.C:
3923         * paragraph.C:
3924         * paragraph_funcs.C:
3925         * rowpainter.[Ch]:
3926         * text.C:
3927         * text2.C:
3928         * text3.C: adjust
3929
3930 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3931
3932         * factory.C: Syntax change for CharStyles
3933
3934 2003-11-28  André Pönitz  <poenitz@gmx.net>
3935
3936         * BufferView.[Ch]:
3937         * BufferView.[Ch]:
3938         * buffer.[Ch]:
3939         * buffer.[Ch]: move LyXText member
3940
3941 2003-11-28  André Pönitz  <poenitz@gmx.net>
3942
3943         * BufferView.[Ch]: make LyXText * text a private member
3944
3945         * BufferView_pimpl.C:
3946         * cursor.C:
3947         * iterators.C:
3948         * lyx_cb.C:
3949         * lyxfind.C:
3950         * lyxtext.h:
3951         * rowpainter.[Ch]:
3952         * text.C:
3953         * text2.C:
3954         * undo.C: adjust
3955
3956         * output_plaintext.C: cleanup
3957
3958 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3959
3960         * buffer.C:
3961         * lyxtextclass.[Ch]: parametrize SGML document header
3962
3963 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3964
3965         * converter.[Ch]:
3966         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3967         getFlavor().
3968
3969 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3970
3971         * text2.C (setFont): rework using PosIterator (no more recursive)
3972         (setCharFont): no more needed
3973         (setLayout): no more selection cursors fiddling (done by redoCursor)
3974         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3975         destroy remaining ones)
3976
3977 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3978
3979         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3980         * lyxtext.h: ditto
3981         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3982         selection cursors
3983         * lyxfunc.C: adjust
3984         * text3.C: adjust + re-allow multi par depth changes
3985         * textcursor.C: simplify a bit
3986
3987 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3988
3989         * src/buffer.C:
3990         * src/lyxlayout.C:
3991         * src/lyxlayout.h:
3992         * src/lyxtext.h:
3993         * src/output_docbook.C:
3994         * src/output_latex.C:
3995         * src/paragraph.C:
3996         * src/paragraph.h:
3997         * src/sgml.C:
3998         * src/sgml.h:
3999         * src/text2.C: Introducing a number of tags parametrizing various
4000         XML formats that we may want to support
4001
4002 2003-11-25  André Pönitz  <poenitz@gmx.net>
4003
4004         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4005
4006         * lyxtext.h (leftMargin/rightMargin): simplify interface
4007
4008         * rowpainter.C:
4009         * text.C:
4010         * text2.C:
4011         * text3.C: adjust
4012
4013 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4014
4015         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4016         master file to any child files. Fixes bug 546.
4017
4018 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4019
4020         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4021
4022 2003-11-24  André Pönitz  <poenitz@gmx.net>
4023
4024         * rowpainter.C: simplification
4025
4026         * text2.C (updateCounters): remove call to redoParagraph on
4027         changed labels as this is far too expensive.
4028
4029 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4030
4031         * converter.C (convert): fix a crash: this function gets
4032         called with buffer == 0 from importer code.
4033
4034 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
4035
4036         * text3.C (cursorPrevious): make sure that we do not compare
4037         iterators form different containers.
4038         (cursorNext): ditto
4039
4040         * rowpainter.C (paintSelection): make sure that we do not compare
4041         iterators from different containers.
4042
4043         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4044         iterators from different ParagraphList containers.
4045         [NEXT] ditto
4046
4047         * text2.C (LyXText): change order of initialization slightly
4048         (operator=): new function. copy all variables except cache_par_
4049         (moveUp): make sure that we do not compare iterators from
4050         different ParagraphList constainers.
4051         (moveDown): ditto
4052
4053         * text.C (firstPar): new function
4054         (lastPar): new function
4055         (endPar): new function
4056
4057         * lyxtext.h: move things around and group public functions, public
4058         variables, private functions, private variables
4059
4060 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4061
4062         * factory.C: change call to InsetERT constructor to avoid
4063         additional invocation of method status
4064         * text2.C (toggleInset): remove redundant update() call
4065         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4066         instead of a Bufferview pointer
4067
4068 2003-11-21  André Pönitz  <poenitz@gmx.net>
4069
4070         * rowpainter.C: simplification
4071
4072 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4073
4074         * text3.C (dispatch): make possible to extend a word/row selection
4075         with the mouse
4076
4077 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4078
4079         * lyxtext.h: x0_,y0_ -> xo_,yo_
4080         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4081         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4082         * rowpainter.C (paintRows): paint full paragraphs
4083
4084 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4085
4086         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4087         screen coordinates)
4088
4089 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4090
4091         * lyxtext.h: add x0_, y0_
4092         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4093         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4094
4095 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4096
4097         * text2.C (setCursorIntern): move the x_target update here *
4098         * text3.C: change some bv() to true/false in calls to
4099         cursorUp/Down/Right/Left
4100         * cursor.C: use helper function.
4101
4102 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4103
4104         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4105         * paragraph_funcs.[Ch]: correct comment
4106         * rowpainter.C: do not paint selections away from bv->cursor()
4107         Fix a long standing selection painting bug.
4108         * text3.C: generalize mouse-selection code to LyXTexts other that
4109         top one
4110         * textcursor.C: do not use y coords if we can use par offsets
4111
4112 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4113
4114         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4115         cursor position after e.g. inset insert)
4116
4117 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4118
4119         * lyxfind.C (replace): adjust to locking removal + some
4120         code simplification
4121
4122 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4123
4124         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4125         of the path
4126
4127 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4128
4129         * lyxlayout.[Ch]:
4130         * output_docbook.C: XML sanitation: new layout
4131         parameters InnerTag and CommandDepth
4132
4133 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4134
4135         * BufferView_pimpl.C:
4136         * factory.C:
4137         * text3.C: Fix the insertion and modification of button-style
4138         insets
4139
4140 2003-11-13  André Pönitz  <poenitz@gmx.net>
4141
4142         * InsetList.[Ch]: remove deleteLyXText
4143
4144         * paragraph.[Ch]: cache beginOfBody position
4145
4146         * Bidi.C:
4147         * text.C:
4148         * text2.C:
4149         * text3.C: remove superfluous update() calls
4150
4151         * vspace.C: cleanup
4152
4153 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4154
4155         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4156         * BufferView.C (fitLockedInsetCursor): remove
4157         * cursor.[Ch] (getDim): add
4158         * text.C (getRowNearY): add faster version
4159         * text3.C: remove some update calls
4160
4161 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4162
4163         * LaTeXFeatures.C:
4164         * LyXAction.C:
4165         * MenuBackend.C:
4166         * MenuBackend.h:
4167         * dispatchresult.h:
4168         * factory.C:
4169         * lfuns.h:
4170         * lyxfunc.C:
4171         * lyxtextclass.C:
4172         * lyxtextclass.h:
4173         * text3.C: The Character Style /XML short element patch.
4174
4175 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4176
4177         * text3.C:
4178         * factory.C: Small step to solving 'unable to insert some insets'
4179         problem
4180
4181 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4182
4183         * cursor.[Ch] (updatePos): new function for updating the y
4184         position of the tip inset
4185         * bufferview_funcs.C (put_selection_at):
4186         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4187
4188 2003-11-11  André Pönitz  <poenitz@gmx.net>
4189
4190         * text.C: remove big comment on invalid Paragraph pointers as it is
4191         not valid anymore
4192
4193 2003-11-11  André Pönitz  <poenitz@gmx.net>
4194
4195         * text_funcs.[Ch]: merge with ...
4196
4197         * text.C: ... this
4198
4199         * lyxtext.h:
4200         * text2.C:
4201         * text3.C: adjust
4202
4203         * Makefile.am: remove text_funcs.[Ch]
4204
4205 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4206
4207         * cursor.C (getPos): return absolute cached y coord
4208
4209         * BufferView_pimpl.C (fitCursor): new simplistic code
4210         (workAreaDispatch): add a fitCursor call
4211
4212 2003-11-10  André Pönitz  <poenitz@gmx.net>
4213
4214         * BufferView.[Ch]:
4215         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4216
4217 2003-11-10  André Pönitz  <poenitz@gmx.net>
4218
4219         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4220         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4221         indicate that the cursor needs to leave an inset
4222
4223         * lyxtext.h: remove inset locking
4224
4225         * cursor.[Ch]: re-implement functionality provided by inset locking
4226
4227         * BufferView.[Ch]:
4228         * BufferView_pimpl.[Ch]:
4229         * LyXAction.C:
4230         * bufferview_funcs.[Ch]:
4231         * factory.C:
4232         * funcrequest.[Ch]:
4233         * iterators.C:
4234         * lyx_cb.C:
4235         * lyxfind.C:
4236         * lyxfunc.C:
4237         * text.C:
4238         * text2.C:
4239         * text3.C:
4240         * undo.C: adjust
4241
4242 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4243
4244         * PosIterator.[Ch]: replace the stack with a vector, add inset
4245         accesor
4246         * iterators.[C]: adjust
4247
4248 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4249
4250         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4251         replaced
4252         * paragraph_funcs.C (readParToken): put the correct id in the
4253         error item, not the id of the top paragraph
4254
4255 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4256
4257         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4258         * bufferview_funcs.C (put_selection_at): use the above
4259
4260 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4261
4262         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4263
4264 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4265
4266         * output_linuxdoc.h:
4267         * output_plaintext.h:
4268         * output.h:
4269         * output_docbook.h: add #include statements
4270
4271 2003-11-05  José Matos  <jamatos@lyx.org>
4272
4273         * output_docbook.[Ch]:
4274         * output_latex.[Ch]:
4275         * output_linuxdoc.[Ch]:
4276         * output_plaintext.[Ch]: New files for output formats.
4277         * output.[Ch]: New file for helper functions.
4278
4279         * buffer.[Ch]:
4280         * paragraph_funcs.[Ch]: output functions moved to new files.
4281
4282         * outputparams.h: rename of latexrunparams.h
4283
4284         * LaTeX.[Ch]:
4285         * buffer.[Ch]:
4286         * bufferlist.[Ch]:
4287         * converter.[Ch]:
4288         * exporter.C:
4289         * paragraph.[Ch]:
4290         * paragraph_funcs.[Ch]:
4291         * paragraph_pimpl.[Ch]:
4292         * tabular.[Ch]: rename ascii to plaintext
4293         and LatexRunParams to OutputParams.
4294
4295 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4296
4297         * iterators.[Ch] (text): require bv argument
4298         * undo.C (recordUndo):
4299         * lyxfunc.C (dispatch):
4300         * bufferview_funcs.C (put_selection_at): adjust
4301
4302 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4303
4304         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4305
4306 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4307
4308         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4309         nestings
4310
4311 2003-11-04  André Pönitz  <poenitz@gmx.net>
4312
4313         * cursor.[Ch]: restructure
4314
4315         * BufferView.[Ch]:
4316         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4317
4318         * iterators.[Ch] (asCursor): remove
4319
4320         * lfuns.h: remove LFUN_INSET_EDIT
4321
4322         * lyxfunc.C:
4323         * tabular.C:
4324         * text.C:
4325         * text2.C:
4326         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4327
4328 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4329
4330         * lyxfind.[Ch]: complete overhaul
4331         * BufferView_pimpl.C:
4332         * lyxfunc.C: adjust
4333         * paragraph.[Ch] (insert): add
4334
4335 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4336
4337         * BufferView.[Ch]:
4338         * lyxtext.h:
4339         * text.C: remove dead spellcheck code
4340
4341 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4342
4343         * dispatchresult.h: add a val setter
4344
4345         * cursor.C (dispatch): use a tempvar for data_[i]
4346
4347 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4348
4349         * PosIterator.[Ch]: compile fix
4350
4351 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4352
4353         * text.C (cursorPar): deactivate the cursor cache
4354
4355 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4356
4357         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4358
4359 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4360
4361         * text3.C (dispatch): adjust for new DisptchResult semantics.
4362
4363         * lyxfunc.C (dispatch): handle update when return from
4364         Cursor::dispatch, adjust for new DispatchResult semantics.
4365
4366         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4367         DispatchResult(true) mean to not update. Add class functions for
4368         setting dispatched and update, as well as reading.
4369
4370         * cursor.C (dispatch): don't handle update here
4371
4372 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4373
4374         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4375         * trans_mgr.C: adjust
4376
4377         * paragraph_funcs.C (readParToken): exception safety
4378
4379         * lyxvc.h: store the vcs pointer in a scoped_ptr
4380         * lyxvc.C: adjust
4381
4382         * lyxsocket.C (serverCallback): exception safety
4383
4384         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4385
4386         * ispell.C (clone): make it return a auto_ptr
4387
4388         * factory.C (createInset): exception safety
4389         (readInset): exception safety
4390
4391         * bufferlist.C (newBuffer): exception safety
4392
4393         * Thesaurus.C (Thesaurus): use initialization for aik_
4394
4395         * MenuBackend.C (expandToc): exception safety.
4396
4397 2003-11-03  André Pönitz  <poenitz@gmx.net>
4398
4399         * buffer.C:
4400         * buffer.h:
4401         * bufferview_funcs.C: remove getInsetFromId()
4402
4403         * lyxcursor.[Ch]:
4404         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4405
4406         * lyxfunc.C:
4407         * text2.C:
4408         * text3.C: adjust
4409
4410 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4411
4412         * PosIterator.C (distance, advance): new
4413         * bufferview_funcs.[Ch] (put_selection_at): new
4414         * iterators.[Ch] (lockPath): new
4415
4416 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4417
4418         * iterators.[Ch] (asPosIterator): added
4419         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4420         * PosIterator.[Ch]: added
4421
4422 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4423
4424         * text3.C:
4425         * lyxfunc.C:
4426         * cursor.C (dispatch):
4427         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4428
4429         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4430         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4431         contructor, add a class function dispatched. Remove operator>=
4432
4433 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4434
4435         * debug.C: only use the default constructor for debugstream
4436         (lyxerr) here.
4437
4438         * main.C (main): include debug.h and setup the lyxerr streambuf
4439         here.
4440
4441 2003-10-31  José Matos  <jamatos@lyx.org>
4442
4443         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4444
4445         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4446         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4447         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4448         * paragraph_pimpl.C (simpleTeXSpecialC):
4449         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4450         add LatexRunParams argument.
4451
4452         * exporter.C (Export): change call accordingly.
4453
4454         * latexrunparams.h: add new member to take care of the other backends.
4455 2003-10-30  José Matos  <jamatos@lyx.org>
4456
4457         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4458         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4459         factorise code for paragraph output.
4460         * buffer.[Ch]:
4461         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4462         move functions.
4463
4464 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4465
4466         * text3.C (dispatch):
4467         * lyxfunc.C (dispatch):
4468         * cursor.C (dispatch):
4469         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4470
4471         * dispatchresult.h: make the dispatch_result_t ctor explicit
4472
4473 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4474
4475         * sgml.[Ch]:
4476         * buffer.C: small refactoring of docbook stuff
4477
4478 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4479
4480         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4481         meaning.
4482
4483 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4484
4485         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4486         operator dispatch_result_t, and operators for == != and >=
4487
4488         * cursor.C (dispatch): adjust for operator dispatch_result_t
4489         removal. comment out call to update
4490
4491         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4492
4493 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * text3.C:
4496         * text2.C:
4497         * text.C:
4498         * lyxtext.h:
4499         * lyxfunc.C:
4500         * cursor.C:
4501         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4502         (dispatch):
4503
4504         * dispatchresult.h: new file, DispatchResult broken out of
4505         insets/insetbase.h
4506
4507         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4508
4509 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4510
4511         * text.C (rowBreakPoint): put a hack inside #if 0
4512
4513 2003-10-28  André Pönitz  <poenitz@gmx.net>
4514
4515         * lyxtext.h:
4516         * metricsinfo.C:
4517         * paragraph_funcs.C:
4518         * rowpainter.C:
4519         * text.C:
4520         * text2.C: general cleanup (lots of small stuff)
4521
4522 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4523
4524         * text2.C (cursorEnd): simple fix to the "end key goes to one
4525         before the end on last row" bug
4526
4527 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4528
4529         * text.C (backspace): fix the "zombie characters"
4530
4531 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4532
4533         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4534
4535 2003-10-27  André Pönitz  <poenitz@gmx.net>
4536
4537         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4538
4539         * factory.C: handle new InsetPagebreak, InsetLine
4540
4541         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4542         and move handling into new InsetPagebreak, InsetLine
4543
4544         * BufferView_pimpl.C:
4545         * LyXAction.C:
4546         * ParagraphParameters.C:
4547         * ParameterStruct.h:
4548         * lyxfunc.C:
4549         * lyxtext.h:
4550         * paragraph.C:
4551         * paragraph.h:
4552         * paragraph_funcs.C:
4553         * paragraph_pimpl.C:
4554         * rowpainter.C:
4555         * text.C:
4556         * text2.C:
4557         * text3.C: adjust
4558
4559 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4560
4561         * text.C:
4562         * lyxrow_funcs.[Ch]:
4563         * Bidi.C:
4564         * paragraph.C:
4565         * lyxtext.h:
4566         * rowpainter.C:
4567         * text2.C:
4568         * text3.C: remove lastPos uses in favour of Row::endpos
4569
4570 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4571
4572         * undo.C (performUndoOrRedo): fix two crashes by setting a
4573         cursor by hand and reordering some calls. Use bv->lockInset instead
4574         of inset->edit because the latter loses cursor information
4575
4576 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4577
4578         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4579         by Martin
4580         (rowBreakPoint): fix width. change point to point + 1.
4581         Add a missing check.
4582
4583 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4584
4585         * MenuBackend.C:
4586         * lyxfunc.C: fix (at least partly) the problems
4587         with the Nav menu and headers inside branch insets
4588         reported by Kayvan
4589
4590 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4591
4592         * paragraph.C (getChar): add strong asserts
4593
4594         * lyxrow_funcs.C (lastPos): remove hideous hack
4595
4596         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4597         (fill): adjust to that (avoid an infinite loop)
4598
4599 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4600
4601         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4602
4603 2003-10-23  André Pönitz  <poenitz@gmx.net>
4604
4605         * RowList_fwd.h: change list<> to vector<> to gain speed
4606         after suggestion from Alfredo
4607
4608 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4609
4610         * lyxtext.h: move the bidi stuff from here...
4611         * text.C: and here
4612         * text2.C: and here
4613         * Bidi.[Ch]: ... to here
4614
4615 2003-10-23  André Pönitz  <poenitz@gmx.net>
4616
4617         * lyxtext.h:
4618         * text.C (isLastRow, isFirstRow): new functions
4619
4620         * paragraph.h: new width cache member
4621
4622         * rowpainter.C: replace RowList::iterator with Row & where possible
4623
4624         * lyxfunc.C: replace several view()->text with a single call
4625
4626         * toc.C: fix 'unused' warning
4627
4628 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4629
4630         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4631         when woring with stream::pos_type
4632         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4633
4634 2003-10-22  André Pönitz  <poenitz@gmx.net>
4635
4636         * lyxtext.h:
4637         * text.C: use Row & instead of RowList::iterator
4638
4639         * lyxrow.h: rename end() to endpos()
4640
4641         * rowpainter.C:
4642         * text.C:
4643         * text2.C: adjust
4644
4645 2003-10-22  Angus Leeming  <leeming@lyx.org>
4646
4647         * buffer.[Ch] (fully_loaded): new member function, returning true
4648         only when the file has been loaded fully.
4649         Used to prevent the premature generation of previews and by the
4650         citation inset to prevent computation of the natbib-style label.
4651
4652         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4653         templates are all set up.
4654
4655         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4656
4657 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4658
4659         * text.C: fixed an "oops" in the "is a bit silly"
4660         bug fix
4661
4662 2003-10-21  André Pönitz  <poenitz@gmx.net>
4663
4664         * FuncStatus.[Ch]: small stuff, whitespace
4665
4666         * lyxfont.[Ch]: operator<<() for debug reasons
4667
4668         * lyxfunc.C:
4669         * lyxrow_funcs.C:
4670         * lyxtext.h: whitespace, spelling
4671
4672         * paragraph.C: naming of variables
4673
4674         * text.C:
4675         * text2.C: small stuff
4676
4677
4678 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4679
4680         * text.C: (1) finish off the inset display() work;
4681         (2) fix the "is a bit silly" bug (accessing char
4682         past end of par).
4683
4684 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4685
4686         * text.C: re-introduce display() for insets, fixing the
4687         various bugs (stretch of line above, math inset
4688         positioning, ...)
4689
4690 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4691
4692         * text.C (rightMargin): remove spurious semicolon
4693
4694         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4695         1415)
4696
4697 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4698
4699         * text3.C: fix one crash due to wrong cursor def
4700
4701 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4702
4703         * vc-backend.C (scanMaster): make the regex static
4704
4705         * LaTeX.C (scanAuxFile): make the regexs static
4706
4707         * text3.C (doInsertInset, dispatch, dispatch):
4708         * text2.C (cursorUp, cursorDown):
4709         * text.C (selectNextWordToSpellcheck):
4710         * BufferView_pimpl.C (dispatch):
4711         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4712
4713 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4714
4715         * lyxsocket.C: include <cerrno>
4716
4717 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4718
4719         * lyxfunc.C (dispatch): remove textcache stuff
4720
4721         * bufferlist.C (release): remove textcache stuff
4722         (closeAll): ditto
4723
4724         * TextCache.C: delete file
4725         * TextCache.h: delete file
4726
4727         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4728
4729         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4730         delete of the bv_->text.
4731         (resizeCurrentBuffer): remove texcache stuff
4732         (workAreaResize): ditto
4733
4734 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4735
4736         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4737         action.
4738
4739 2003-10-16  André Pönitz  <poenitz@gmx.net>
4740
4741         * lyxrow.[Ch]:
4742         * paragraph.h:
4743         * rowpainter.C:
4744         * text.C:
4745         * text2.C:
4746         * text3.C: speed up by storing y positions per paragraph plus per-row
4747         offset instead of having a 'full' y position in the row.
4748
4749 2003-10-15  André Pönitz  <poenitz@gmx.net>
4750
4751         * iterators.[Ch]:
4752         * iterators.[Ch]:
4753         * undo.[Ch]: make undo aware of inner insets
4754
4755 2003-10-14  Angus Leeming  <leeming@lyx.org>
4756
4757         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4758         static member functions LyX::ref() and LyX::cref.
4759         (lastfiles): new accessor functions for the new lastfiles_ member var.
4760         (addLyXView, views_): add a new LyXView to the list of views_.
4761         (updateInset): loop over all LyXViews to call their own updateInset
4762         member function, returning a pointer to the Buffer owning the inset.
4763
4764         * BufferView_pimpl.C (loadLyXFile):
4765         * MenuBackend.C (expandLastfiles):
4766         * bufferlist.C (MenuWrite, QuitLyX):
4767         lastfiles is no longer a global variable.
4768         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4769
4770         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4771         static function. Access through LyX::cref().emergencyCleanup().
4772
4773 2003-10-14  André Pönitz  <poenitz@gmx.net>
4774
4775         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4776
4777         * undo.[Ch]: restoring part of 'undo in insets'
4778
4779         * Makefile.am:
4780         * undo_funcs.[Ch]: merge with undo.[Ch]
4781
4782         * tabular.C: small cleansing stuff
4783
4784 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4785
4786         * paragraph_funcs.C (readParToken): report unknown insets as error
4787         boxes. Use the outer paragraph as location (also for unknown
4788         tokens).
4789
4790         * factory.C (readInset): do not abort on reading an unknown inset.
4791         Eat it and return 0.
4792
4793 2003-10-13  Angus Leeming  <leeming@lyx.org>
4794
4795         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4796
4797         * lyxrc.C: displayTranslator is now a function,
4798         declared in GraphicsTypes.h.
4799
4800 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4801
4802         * format.C: new placeholder $$a to pass the socket address.
4803
4804         * bufferlist.[Ch]: new function getBufferFromTmp.
4805
4806         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4807           files in the temporary dir.
4808
4809 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4810
4811         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4812
4813         * Makefile.am: add lyxsocket.[Ch].
4814
4815         * lyx_main.C (error_handler): handle SIGPIPE.
4816
4817 2003-10-13  André Pönitz  <poenitz@gmx.net>
4818
4819         * BufferView_pimpl.C:
4820         * lyxtext.h:
4821         * text.C:
4822         * text2.C:
4823         * text3.C:
4824         * undo_funcs.[Ch]: use paroffset_type instead of
4825           ParagraphList::iterators to prevent multiple conversion
4826           (and get a more robust interface)
4827
4828 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4829
4830         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4831         * lyxtext.h: ditto
4832         * text3.C (dispatch): ditto
4833
4834 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4835
4836         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4837         move the onlyfile, use onlyfile instead of foundfile in a couple
4838         of places.
4839
4840         * DepTable.C (update): flush the error stream a bit more
4841
4842 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4843
4844         * lyxserver.C (callback): adjust
4845
4846         * lyxfunc.C (getStatus): add a missing brace in commented code
4847         (ensureBufferClean): reindent
4848         (dispatch): delete version taking a string
4849
4850 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4851
4852         * LaTeX.C (deplog): move found file handlig from here...
4853         (handleFoundFile): .. to new function here.
4854         (deplog): make sure to discover several files mentioned on the
4855         same log line.
4856
4857 2003-10-10  André Pönitz  <poenitz@gmx.net>
4858
4859         * lyxfunc.C:
4860         * lyxtext.h:
4861         * tabular.C:
4862         * text.C:
4863         * text2.C:
4864         * text3.C: fix some of the tabular crashes
4865
4866 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4867
4868         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4869
4870         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4871
4872 2003-10-09  André Pönitz  <poenitz@gmx.net>
4873
4874         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4875
4876         * BufferView.C:
4877         * BufferView_pimpl.C:
4878         * bufferview_funcs.C:
4879         * lyx_cb.C:
4880         * lyxcursor.C:
4881         * lyxfind.C:
4882         * lyxfunc.C:
4883         * lyxtext.h:
4884         * text.C:
4885         * text2.C:
4886         * text3.C:
4887         * text_funcs.[Ch]:
4888         * textcursor.[Ch]:
4889         * undo_funcs.C: adjust
4890
4891 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4892
4893         * text2.C (incrementItemDepth): new function, use a backtracking
4894         algorithm to discover the correct item depth.
4895         (resetEnumCounterIfNeeded): new function, use a backtracking
4896         algorithm to discover if counter reset is needed.
4897         (setCounter): use them. Simplify a bit. Add different labels for
4898         different item depths for itemize.
4899
4900         * paragraph.C (Paragraph): remove initialization of enumdepth
4901         (operator=): ditto
4902
4903         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4904         enumerate and itemize. Change the type of itemdepth to signed char.
4905
4906 2003-10-08  André Pönitz  <poenitz@gmx.net>
4907
4908         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4909           thing assignable.
4910         * text.C:
4911         * text2.C: adjust
4912
4913         * tabular.[Ch]: fix crash after 'row-insert'
4914
4915 2003-10-08  Angus Leeming  <leeming@lyx.org>
4916
4917         Fix doxygen warnings.
4918
4919         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4920         Remove CutAndPaste:: prefix from header file declaration.
4921
4922         * LColor.h (fill): remove LColor:: prefix from declaration.
4923
4924         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4925         use lyx::depth_type rather than Paragraph::depth_type so that
4926         header file and .C file match.
4927
4928         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4929
4930         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4931         * aspell.C: \file aspell_local.C -> \file aspell.C
4932         * gettext.C: \file gettext.C -> \file src/gettext.C
4933         * gettext.h: \file gettext.h -> \file src/gettext.h
4934         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4935         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4936         * text.C: \file text.C -> \file src/text.C
4937
4938         * toc.C: move comment so that doxygen is not confused.
4939
4940 2003-10-07  Angus Leeming  <leeming@lyx.org>
4941
4942         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4943
4944 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4945
4946         * aspell.C:
4947         * aspell_local.h: add forgotten std::string's.
4948
4949 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4950
4951         * LaTeXFeatures.C:
4952         * LyXAction.C:
4953         * factory.C:
4954         * lfuns.h:
4955         * lyxfunc.C:
4956         * text3.C: The Box patch. Fancybox support, minipage, parbox
4957
4958 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4959
4960         * CutAndPaste.h:
4961         * DepTable.h:
4962         * FloatList.h:
4963         * LaTeXFeatures.h:
4964         * ParagraphParameters.h:
4965         * TextCache.h:
4966         * Thesaurus.h:
4967         * bufferlist.h:
4968         * exporter.h:
4969         * importer.h:
4970         * lastfiles.h:
4971         * lyxfind.h:
4972         * lyxfont.h:
4973         * lyxlex.h:
4974         * lyxtextclasslist.h:
4975         * messages.h:
4976         * paragraph.h:
4977         * paragraph_pimpl.C:
4978         * textcursor.h: add <string> and other small fixes to make Lars'
4979         std::string patch compile with STLport.
4980
4981 2003-10-06  Angus Leeming  <leeming@lyx.org>
4982
4983         * LColor.h: Add missing #include <string>.
4984
4985 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4986
4987         * All most all file in all subdirs: Make <string> be the prefered
4988         way of getting to std::string, add using declarations.
4989
4990 2003-10-06  André Pönitz  <poenitz@gmx.net>
4991
4992         * metricsinfo.C: initialize LyXFont before changing attribute.
4993         (fixes the 'math in \emph is upright' bug)
4994
4995 2003-10-06  André Pönitz  <poenitz@gmx.net>
4996
4997         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4998
4999 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5000
5001         * graph.C:
5002         * paragraph_pimpl.C: Small fixes to build using STLport
5003
5004 2003-10-02  André Pönitz  <poenitz@gmx.net>
5005
5006         * lyxfunc.C:
5007         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5008
5009 2003-10-01  André Pönitz  <poenitz@gmx.net>
5010
5011         * factory.C: assert early
5012
5013 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5014
5015         * lyx_main.C: remove the global debug object
5016
5017         * debug.h: adjust for new debugstream
5018
5019         * debug.C: adjust for new debugstream and keep the global debug
5020         object here.
5021
5022 2003-09-22  Angus Leeming  <leeming@lyx.org>
5023
5024         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5025         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5026         an incomplete class LyXFont.
5027
5028 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5029
5030         * factory.C: bug fix in branches
5031
5032 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5033
5034         * lyxfunc.C (processKeySym): adjust
5035         (dispatch): adjust
5036         (dispatch): change arg name from ev to func, adjust
5037         (sendDispatchMessage): ditto
5038
5039         * lyx_main.C (defaultKeyBindings): adjust keybindings
5040         (deadKeyBindings): ditto
5041
5042         * kbsequence.C (addkey): return a FuncRequest
5043
5044         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5045
5046         * kbmap.C (bind): take a FuncRequest as arg, adjust
5047         (read): adjust
5048         (lookup): adjust
5049         (defkey): change to take a FuncRequest as arg, adjust
5050         (findbinding): take a FuncRequest as arg, adjust.
5051
5052         * funcrequest.h (operator=): added
5053
5054         * funcrequest.C (FuncRequest): default kb_action changed from
5055         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5056
5057         * buffer.C (dispatch): simplify
5058         (dispatch): adjust to take a FuncRequest as arg, adjust
5059
5060         * boost.C (assertion_failed): change assertion message slightly
5061
5062         * ToolbarBackend.C (read): simplify
5063
5064         * MenuBackend.C (binding): adjust call to findbinding, add a
5065         message if no binding is found.
5066         (read): simplify
5067         (expandToc): correct by adding a empty FuncRequest
5068
5069         * LyXAction.C: include <boost/assert.hpp>
5070         (isPseudoAction): delete function
5071         (LookupFunc): change name to...
5072         (lookupFunc): this. change return type to FuncRequest.
5073         (getActionName): take kb_action as arg, simplify
5074         (funcHasFlag): add an assert, simplify.
5075
5076 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5077
5078         * toc.C (action): return a FuncRequest, simplify
5079
5080         * lyxfunc.C (processKeySym): adjust
5081         (getStatus): delete version that takes an int.
5082         (getStatus): adjust
5083         (dispatch): delete version that takes action as int
5084         (dispatch): adjust
5085         (sendDispatchMessage): simplify and adjust
5086
5087         * funcrequest.C (getArg): take unsigned int as arg
5088
5089         * ToolbarBackend.C (read): adjust
5090         (add): delete version that takes func as a string.
5091         (getIton): take a FuncRequest as arg
5092
5093         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5094         action.
5095
5096         * MenuBackend.C (MenuItem): add a new construct that only takes a
5097         Kind, simplify the constructor use for submenus.
5098         (add): adjust
5099         (expandLastfiles): adjust
5100         (expandDocuments): adjust
5101         (expandFormats): adjust
5102         (expandFloatListInsert): adjust
5103         (expandFloatInsert): adjust
5104         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5105
5106         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5107         Remove class variables lyx_pseudo_map and lyx_arg_map
5108
5109         * LyXAction.C (searchActionArg): delete function
5110         (getPseudoAction): delete function
5111         (retrieveActionArg): delete function
5112         (LookupFunc): make it return kb_action, simplify.
5113         (getActionName): simplify
5114
5115         * factory.C (createInset): fix new bug
5116
5117 2003-09-19  Angus Leeming  <leeming@lyx.org>
5118
5119         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5120         masterFilename_ parameter in the include inset.
5121
5122         * factory.C (createInset): changes due to the changes to InsetInclude.
5123
5124 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5125
5126         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5127
5128 2003-09-18  Angus Leeming  <leeming@lyx.org>
5129
5130         * buffer.C:
5131         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5132         Inset::fillWithBibKeys.
5133         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5134
5135 2003-09-18  Angus Leeming  <leeming@lyx.org>
5136
5137         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5138         variables.
5139         (ctor): pass and store a 'Buffer const &'
5140         (buffer): new member function.
5141
5142         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5143         '*this' to the LaTeXFeatures ctor.
5144
5145 2003-09-18  Angus Leeming  <leeming@lyx.org>
5146
5147         * LColor.h:
5148         * lyxfont.C:
5149         * lyxfont.h:
5150         * lyxtext.h:
5151         * text.C: rename EnumLColor as LColor_color.
5152
5153 2003-09-18  Angus Leeming  <leeming@lyx.org>
5154
5155         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5156         remove #include "insets/insetbase.h" from cursor.h.
5157
5158 2003-09-18  Angus Leeming  <leeming@lyx.org>
5159
5160         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5161         InsetOld_code to remove #include "inset.h".
5162
5163         * iterators.C: add #include "insets/inset.h"
5164
5165 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5166
5167         * BufferView.C: remove more locking stuff that apparently doesn't
5168         do anything sensible.
5169
5170 2003-09-16  André Pönitz  <poenitz@gmx.net>
5171
5172         * paragraph.[Ch]:
5173         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5174           performance boost.
5175
5176 2003-09-16  Angus Leeming  <leeming@lyx.org>
5177
5178         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5179
5180         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5181         arg/return type.
5182
5183         * paragraph.h: remove #include "lyxfont.h". Forward declare
5184         LyXFont_size.
5185
5186 2003-09-16  Angus Leeming  <leeming@lyx.org>
5187
5188         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5189         of support/textutils.h.
5190         (isWord): move the contents of support/textutils.h's IsWordChar here.
5191
5192         * buffer.C:
5193         * lyxfind.C:
5194         * rowpainter.C:
5195         * text.C:
5196         * text2.C: add #include "paragraph.h".
5197
5198         * rowpainter.C:
5199         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5200
5201 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5202
5203         * main.C:
5204         * lyx_main.C:
5205         * lyx_cb.C:
5206         * buffer.C:
5207         * LaTeX.C: use namespace alias for lyx::support::os
5208
5209 2003-09-16  Angus Leeming  <leeming@lyx.org>
5210
5211         * bufferparams.C:
5212         * bufferview_funcs.C:
5213         * factory.C:
5214         * lyxfunc.C:
5215         * paragraph_pimpl.C:
5216         * rowpainter.C:
5217         * text.C: add #include "LColor.h".
5218
5219 2003-09-16  Angus Leeming  <leeming@lyx.org>
5220
5221         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5222         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5223         return LyXFont &.
5224         Store the FontBits::color variable as an int rather than as an
5225         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5226         file.
5227
5228         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5229         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5230         string calls together.
5231
5232         * lyxrc.C: add #include "LColor.h".
5233
5234 2003-09-15  Angus Leeming  <leeming@lyx.org>
5235
5236         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5237         a cow_ptr.
5238
5239 2003-09-15  Angus Leeming  <leeming@lyx.org>
5240
5241         * LColor.h: add an EnumLColor wrapper for LColor::color.
5242
5243         * lyxfont.[Ch] (color, setColor, realColor):
5244         * lyxtext.h, text.C (backgroundColor):
5245         pass EnumLColor args to/from the functions, rather than LColor::color
5246         ones.
5247
5248         * lyxfont.h:
5249         * lyxtext.h: forward declare EnumLColor.
5250
5251         * lyx_main.C: add #include "LColor.h".
5252
5253 2003-09-15  Angus Leeming  <leeming@lyx.org>
5254
5255         * .cvsignore: add lyx-gtk.
5256
5257 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5258
5259         * Chktex.C
5260         * LaTeX.C
5261         * LaTeXFeatures.C
5262         * ParagraphParameters.C
5263         * Spacing.C
5264         * buffer.C
5265         * bufferparams.C
5266         * bufferview_funcs.C
5267         * chset.C
5268         * counters.C
5269         * funcrequest.C
5270         * lyxfont.C
5271         * lyxgluelength.C
5272         * lyxlength.C
5273         * paragraph.C
5274         * paragraph_funcs.C
5275         * text3.C
5276         * vc-backend.C: remove usage of STRCONV
5277
5278 2003-09-15  Angus Leeming  <leeming@lyx.org>
5279
5280         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5281         explicitly define the color passed to the painter.
5282
5283 2003-09-15  Angus Leeming  <leeming@lyx.org>
5284
5285         * bufferparams.C (BufferParams): reorder member initializers to avoid
5286         compiler warning.
5287
5288 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5289
5290         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5291         * text.C (updateRowPositions): remove an unusual nop
5292
5293 2003-09-12  André Pönitz  <poenitz@gmx.net>
5294
5295         * BufferView_pimpl.C:
5296         * Bullet.C:
5297         * layout.h:
5298         * lyxfunc.C:
5299         * lyxlayout.[Ch]:
5300         * lyxtextclass.C:
5301         * rowpainter.C:
5302         * text.C:
5303         * text2.C:
5304         * Counters.[Ch]: finish the 'automatic counters' job
5305
5306 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5307
5308         * aspell.C: include <boost/assert.cpp> (compile fix)
5309
5310 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5311
5312         * boost.C (assertion_failed): use lyx::support::abort instead of
5313         assert.
5314
5315 2003-09-10  Angus Leeming  <leeming@lyx.org>
5316
5317         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5318         with their _fwd progeny.
5319
5320 2003-09-09  Angus Leeming  <leeming@lyx.org>
5321
5322         134 files throughtout the source tree: replace 'using namespace abc;'
5323         directives with the appropriate 'using abc::xyz;' declarations.
5324
5325 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5326
5327         * boost.C (emergencyCleanup): moved here from LAssert.c
5328         (assertion_failed): new function, called by BOOST_ASSERT
5329
5330         * several files: change Assert to BOOST_ASSERT
5331
5332 2003-09-09  Angus Leeming  <leeming@lyx.org>
5333
5334         * buffer.[Ch]: Add an Impl class and move Buffer's member
5335         variables into it. As a result move several header files out of
5336         buffer.h.
5337
5338         Add header files to lots of .C files all over the tree as a result.
5339
5340 2003-09-09  Angus Leeming  <leeming@lyx.org>
5341
5342         * buffer.[Ch]: make Buffer's member variables private. Add
5343         accessor functions.
5344
5345         Lots of changes all over the tree as a result.
5346
5347 2003-09-08  Angus Leeming  <leeming@lyx.org>
5348
5349         * graph.C: #include <config.h>.
5350
5351 2003-09-08  Angus Leeming  <leeming@lyx.org>
5352
5353         * BranchList.C:
5354         * BufferView.C:
5355         * BufferView_pimpl.C:
5356         * CutAndPaste.C:
5357         * DepTable.C:
5358         * LaTeX.C:
5359         * LaTeXFeatures.C:
5360         * LyXAction.C:
5361         * MenuBackend.C:
5362         * TextCache.C:
5363         * aspell.C:
5364         * buffer.C:
5365         * bufferlist.C:
5366         * changes.C:
5367         * chset.C:
5368         * converter.C:
5369         * counters.C:
5370         * debug.C:
5371         * graph.C:
5372         * ispell.C:
5373         * lyx_cb.C:
5374         * lyxfind.C:
5375         * lyxfunc.C:
5376         * lyxlex_pimpl.C:
5377         * lyxrc.C:
5378         * lyxrow.C:
5379         * paragraph.C:
5380         * rowpainter.C:
5381         * texrow.C:
5382         * text.C:
5383         * text2.C:
5384         * toc.C: remove redundant using directives.
5385
5386 2003-09-07  Angus Leeming  <leeming@lyx.org>
5387
5388         * LaTeXFeatures.h: remove #include "support/types.h".
5389         * ToolbarBackend.h: remove #include <algorithm>.
5390         * changes.h: remove #include <ctime>.
5391         * debug.h: remove #include <iosfwd>.
5392         * graph.h: remove #include "support/std_string.h".
5393         * lyx_main.h: remove #include <csignal>.
5394         * lyxlex_pimpl.h: remove #include <fstream>.
5395         * sgml.h: remove #include <algorithm>, <utility>.
5396         * toc.h: remove #include "support/std_ostream.h".
5397         Add #include <iosfwd>.
5398
5399 2003-09-07  Angus Leeming  <leeming@lyx.org>
5400
5401         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5402
5403         * converter.h: forward declare LatexRunParams.
5404         * encoding.h: remove #include "lyxrc.h".
5405         * lyxtext.h: remove #include "LColor.h".
5406         * lyxtextclass.h: remove #include "support/types.h".
5407         * trans.h: remove #include "tex-accent.h".
5408         * trans_mgr.h: remove #include "tex-accent.h".
5409         * insets/inset.h: remove #include "support/types.h", <vector>.
5410         * insets/insetcollapsable.h: remove #include "LColor.h".
5411         * insets/insetinclude.h: remove #include "dimension.h".
5412         * insets/insetlatexaccent.h: remove #include "dimension.h".
5413         * insets/insetoptarg.h:: remove #include "insettext.h".
5414         * insets/insettext.h: remove #include "dimension.h",
5415         <boost/shared_ptr.hpp>
5416
5417         * insets/renderers.h: add #include "dimension.h".
5418         * insets/updatableinset.h: add #include "support/types.h".
5419
5420         * many .C files: Associated changes.
5421
5422 2003-09-06  Angus Leeming  <leeming@lyx.org>
5423
5424         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5425         one, inside testInvariant.
5426
5427         * PrinterParams.C: new file.
5428         * PrinterParams.[Ch]: move the function bodies out of line.
5429
5430 2003-09-06  Angus Leeming  <leeming@lyx.org>
5431
5432         * ParagraphParameters.h: forward declare ParameterStruct rather than
5433         including its header file.
5434         (depth): moved out-of-line.
5435
5436 2003-09-06  Angus Leeming  <leeming@lyx.org>
5437
5438         * BufferView_pimpl.h:
5439         * kbmap.h:
5440         * kbsequence.h:
5441         * lyxfunc.h: forward declare LyXKeySym rather than
5442         #include "frontends/LyXKeySym.h".
5443
5444         * BufferView_pimpl.C:
5445         * kbmap.C:
5446         * kbsequence.C:
5447         * lyxfunc.C: associated changes.
5448
5449 2003-09-06  Angus Leeming  <leeming@lyx.org>
5450
5451         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5452         As a result, can remove the #include "insets/inset.h" from BufferView.h
5453
5454 2003-09-06  Angus Leeming  <leeming@lyx.org>
5455
5456         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5457         As a result, can remove the #include "insets/inset.h" from BufferView.h
5458
5459 2003-09-06  Angus Leeming  <leeming@lyx.org>
5460
5461         * buffer_funcs.C:
5462         * buffer.h:
5463         * bufferlist.C:
5464         * BufferView.C:
5465         * bufferview_funcs.C:
5466         * BufferView_pimpl.C:
5467         * CutAndPaste.C:
5468         * lyx_cb.C:
5469         * lyxfunc.C:
5470         * paragraph.h:
5471         * ParagraphParameters.C:
5472         * tabular.C:
5473         * text3.C:
5474         * toc.C:
5475         * undo_funcs.C:
5476         * frontends/controllers/ControlDocument.C:
5477         * insets/insetcaption.C: rearrange the #includes into some sort of
5478         coherent order.
5479
5480         * buffer.h: remove #includes ErrorList.h, undo.h
5481
5482 2003-09-06  Angus Leeming  <leeming@lyx.org>
5483
5484         * support/types.h: add a 'depth_type' typedef, used to store the
5485         nesting depth of a paragraph.
5486
5487         * paragraph.h:
5488         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5489         defining explicitly.
5490
5491         * buffer.h:
5492         * paragraph_funcs.h:
5493         * ParagraphParameters.h:
5494         * sgml.h: use lyx::depth_type rather than Paragraph or
5495         ParameterStruct's depth_type.
5496
5497         * buffer.h
5498         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5499
5500         * BufferView.C:
5501         * BufferView_pimpl.C:
5502         * CutAndPaste.C:
5503         * ParagraphParameters.C:
5504         * buffer_funcs.C:
5505         * bufferlist.C:
5506         * bufferview_funcs.C:
5507         * lyx_cb.C:
5508         * lyxfunc.C:
5509         * tabular.C:
5510         * text3.C:
5511         * toc.C:
5512         * undo_funcs.C:
5513         * frontends/LyXView.C:
5514         * frontends/controllers/ControlDocument.C:
5515         * frontends/controllers/ControlErrorList.C:
5516         * insets/insetbibitem.C:
5517         * insets/insetbranch.C:
5518         * insets/insetcaption.C:
5519         * insets/insetcollapsable.C:
5520         * insets/insetenv.C:
5521         * insets/insetert.C:
5522         * insets/insetfloat.C:
5523         * insets/insetfoot.C:
5524         * insets/insetfootlike.C:
5525         * insets/insetnewline.C:
5526         * insets/insetquotes.C:
5527         * insets/insettabular.C:
5528         * insets/insettext.C:
5529         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5530
5531         * frontends/controllers/ControlChanges.C: #include "changes.h".
5532
5533 2003-09-06  Angus Leeming  <leeming@lyx.org>
5534
5535         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5536         than #including paragraph.h.
5537
5538         * ParagraphList.h:
5539         * RowList.h: deleted. Superfluous.
5540
5541         * CutAndPaste.h:
5542         * iterators.h:
5543         * lyxcursor.h:
5544         * lyxtext.h:
5545         * text_funcs.h:
5546         * undo.h:
5547         * undo_funcs.h:
5548         * insets/inset.h:
5549         * insets/insettext.h: use ParagraphList_fwd.h rather than
5550         ParagraphList.h.
5551
5552         * paragraph.h: don't forward declare ParagraphList.
5553
5554         * buffer.h:
5555         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5556         rather than ParagraphList.h. paragraph.h is still needed for the
5557         Paragraph::depth_type parameters.
5558
5559         * textcursor.h: enable it to compile stand-alone in light of the
5560         above changes.
5561
5562         * bufferview_funcs.C:
5563         * iterators.C:
5564         * lyxfunc.C:
5565         * lyxrow_funcs.C:
5566         * paragraph.C:
5567         * rowpainter.C:
5568         * text.C:
5569         * text2.C:
5570         * text3.C:
5571         * text_funcs.C:
5572         * textcursor.C:
5573         * undo.C:
5574         * frontends/controllers/ControlParagraph.C:
5575         * frontends/controllers/ControlTabular.C:
5576         * insets/insetmarginal.C:
5577         * insets/insetminipage.C:
5578         * insets/insetnote.C:
5579         * insets/insetoptarg.C: add header files needed to compile again.
5580
5581 2003-09-06  Angus Leeming  <leeming@lyx.org>
5582
5583         * RowList_fwd.h: new file, forward-declaring Row rather than
5584         #including lyxrow.h.
5585
5586         * lyxrow_funcs.h:
5587         * lyxtext.h:
5588         * paragraph.h:
5589         * insets/insettext.h: use it instead of RowList.h
5590
5591         * bufferview_funcs.C:
5592         * lyxfunc.C:
5593         * lyxrow_funcs.C:
5594         * paragraph.C:
5595         * rowpainter.C:
5596         * text.C:
5597         * text2.C:
5598         * text3.C: #include "RowList.h".
5599
5600 2003-09-05  Angus Leeming  <leeming@lyx.org>
5601
5602         * factory.C (createInset):
5603         * vspace.C (c-tor): replace sscanf call with an istringstream.
5604         * ispell.C: re-add missing HP/UX headers.
5605         * lyxserver.C: re-add missing  os2 headers.
5606
5607 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5608
5609         * BranchList.C:
5610         * graph.C:
5611         * ispell.C:
5612         * lastfiles.C:
5613         * lyx_cb.C:
5614         * lyxserver.C:
5615         * texrow.C:
5616         * text3.C: re-add missing system headers, needed for 2.95.2.
5617
5618 2003-09-05  Angus Leeming  <leeming@lyx.org>
5619
5620         Changes most place everywhere due to the removal of using directives
5621         from support/std_sstream.h.
5622
5623 2003-09-05  Angus Leeming  <leeming@lyx.org>
5624
5625         Replace LString.h with support/std_string.h,
5626         Lsstream.h with support/std_sstream.h,
5627         support/LIstream.h with support/std_istream.h,
5628         support/LOstream.h with support/std_ostream.h.
5629
5630         Changes resulting throughout the tree.
5631
5632 2003-09-05  Angus Leeming  <leeming@lyx.org>
5633
5634         * sgml.h: ensure that the header file can be compiled stand-alone.
5635         * *.C: strip out redundant #includes. (320 in total.)
5636
5637 2003-09-04  Angus Leeming  <leeming@lyx.org>
5638
5639         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5640         here (from getPackages).
5641
5642         * debug.[Ch]: add a new EXTERNAL tag.
5643
5644 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5645
5646         * text2.C (cursorEnd): simplify
5647         (setCursor): adjust
5648         (getColumnNearX): adjust
5649
5650         * text.C (computeBidiTables): adjust
5651         (fill): adjust
5652
5653         * rowpainter.C (paintChars): adjust
5654         (paintSelection): adjust
5655         (paintChangeBar): adjust
5656         (paintText): adjust
5657
5658         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5659         lastPos instead.
5660         (numberOfSeparators): adjust
5661
5662 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5663
5664         * LyXAction.C:
5665         * box.[Ch]:
5666         * lfuns.h:
5667         * lyxfunc.C:
5668         * text3.C: Restricts the mouse click functionality
5669         of insets like bibtex, include, toc and floatlist to the visible
5670         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5671         up the dialogs. Cursor has to be in front of the inset (i.e.
5672         start of row) for this to function.
5673
5674 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5675
5676         * bufferview_funcs.C (currentState): output row information
5677
5678 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5679
5680         * bufferview_funcs.C (currentState): output paragraph position
5681
5682 2003-09-04  Angus Leeming  <leeming@lyx.org>
5683
5684         * FloatList.h: move out #include "Floating.h".
5685         * LaTeX.h: move out #include "DepTable.h".
5686         * LyXAction.h: move out #include "funcrequest.h".
5687         * buffer.h: move out #include "author.h", "iterators.h".
5688         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5689         * lyx_main.h: move out #include "errorlist.h".
5690         * lyxfunc.h: move out #include "FuncStatus.h".
5691         * lyxtext: move out #include "lyxcursor.h".
5692         * paragraph_pimpl.h: move out #include "counters.h".
5693
5694 2003-09-03  Angus Leeming  <leeming@lyx.org>
5695
5696         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5697         preamble_snippets list, enabling us to add snippets to the preamble
5698         only if the snippet was not there already.
5699
5700 2003-09-04  Angus Leeming  <leeming@lyx.org>
5701
5702         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5703
5704 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5707         update
5708
5709 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5710
5711         * BranchList.C: point fix, earlier forgotten
5712
5713 2003-09-02  Angus Leeming  <leeming@lyx.org>
5714
5715         * box.C (contains): renamed from 'contained' after a fantastic
5716         amount of hot air.
5717
5718 2003-09-02  John Levon  <levon@movementarian.org>
5719
5720         * BufferView.C:
5721         * lyxcursor.h:
5722         * lyxcursor.C:
5723         * lyxfunc.C:
5724         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5725
5726 2003-09-02  John Levon  <levon@movementarian.org>
5727
5728         * text2.C: simplification of cursorEnd(), including partial
5729         fix for bug 1376
5730
5731 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5732
5733         * buffer.C (readFile): add a space
5734
5735 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5736
5737         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5738
5739 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5740
5741         * buffer.C (readFile): new function, take a filename and a
5742         ParagraphList::iterator
5743         (readFile): adjust
5744         (readFile): adjust, make it private. don't use setStream, make
5745         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5746         always contain the filename.
5747
5748         * BufferView.C (insertLyXFile): simplify and make it work for
5749         gzipped files.
5750
5751 2003-08-30  John Levon  <levon@movementarian.org>
5752
5753         * Makefile.am: fix dist (from Kayvan)
5754
5755 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5756
5757         * most files: change to use const Buffer refs
5758
5759 2003-08-27  André Pönitz  <poenitz@gmx.net>
5760
5761         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5762         on top of ownerPar().
5763
5764 2003-08-27  John Levon  <levon@movementarian.org>
5765
5766         * funcrequest.C: properly initialise POD members
5767
5768 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5769
5770         * lyxtext.h (top_y): move top_y from here
5771         * text.C:
5772         * text2.C:
5773         * text3.C:
5774         * BufferView.[Ch]:
5775         * BufferView_pimpl.[Ch]: to here
5776         * frontends/screen.C:
5777         * insets/insettabular.C:
5778         * insets/insettext.C: adjust
5779         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5780
5781 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5782
5783         * BufferView.[Ch]:
5784         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5785
5786 2003-08-26  André Pönitz  <poenitz@gmx.net>
5787
5788         * paragraph_func.[Ch] (outerPar): new function
5789
5790         * paragraph.C:
5791         * paragraph_funcs.C:
5792         * paragraph_funcs.h:
5793         * paragraph_pimpl.C:
5794         * text2.C: remove Inset::par_owner
5795
5796 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5797
5798         * lyxrow_funcs.C:
5799         * lyxtext.h:
5800         * text.C:
5801         * text2.C: eliminates the needFullRow/display() stuff
5802         altogether, putting the logic in metrics/draw in the insets.
5803
5804 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5805
5806         * text2.C (redoParagraphInternal, redoParagraphs):
5807         * text.C (redoParagraph): add a call to updateRowPositions at the
5808         end of each 'metrics-like' call. Remove all others.
5809         (getRow): remove the 'y-computing' version.
5810         (getRowNearY): do not compute nor return the real y. Solve the
5811         'y < 0' problem and simplify.
5812
5813 2003-08-22  Angus Leeming  <leeming@lyx.org>
5814
5815         * *.[Ch]: clean-up of licence and author blurbs.
5816         Also move config.h out of a few .h files and into a few .C files.
5817
5818 2003-08-22  André Pönitz  <poenitz@gmx.net>
5819
5820         * lyxrow.[Ch]: add x_ and *fill_ members
5821
5822         * lyxtext.h:
5823         * text.C:
5824         * rowpainter.C:
5825         * text2.C: adjust/remove prepareToPrint() calls
5826
5827 2003-08-22  André Pönitz  <poenitz@gmx.net>
5828
5829         * lyxrow.[Ch]: add  end_ member
5830
5831         * lyxrow_funcs.C: use LyXRow::end_
5832
5833         * lyxtext.h (singleWidth): add LyXFont parameter
5834
5835         * rowpainter.C:
5836         * text2.C: adjust LyXText::singleWidth() calls
5837
5838         * text.C (redoParagraph): simplify row breaking logic
5839
5840
5841 2003-08-19  André Pönitz  <poenitz@gmx.net>
5842
5843         * funcrequest.C: initialize button_ member
5844
5845         * text3.C:
5846         * rowpainter.[Ch]: interface consolidation
5847
5848 2003-08-18  André Pönitz  <poenitz@gmx.net>
5849
5850         * BufferView.C:
5851         * BufferView_pimpl.C:
5852         * lyxfind.C:
5853         * paragraph_funcs.C:
5854         * rowpainter.C:
5855         * text3.C: remove LyXScreen::draw() and fitCursor calls
5856
5857         * BranchList.h: remove spurious semicolons
5858
5859         * MenuBackend.C: fix branchlist related crash
5860
5861 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5862
5863         * BranchList.[Ch]:
5864         * InsetList.[Ch]:
5865         * LColor.[Ch]:
5866         * LyXAction.C:
5867         * Makefile.am:
5868         * MenuBackend.[Ch]:
5869         * bufferparams.[Ch]:
5870         * factory.C:
5871         * lfuns.h:
5872         * lyxfunc.C:
5873         * text3.C: implements the 'branch inset'
5874         idea. This allows the output of various versions of a document
5875         from a single source version, selectively outputing or suppressing
5876         output of parts of the text.
5877         This implementation contains a 'branch list editor' in a separate
5878         tab of the document settings dialog. Branches are user definable
5879         and have a "display colour" to distinguish them on-screen.
5880
5881         ColorHandler was somewhat cleaned up.
5882         (1) make possible a dynamically growing LColor list by allowing
5883         the graphic context cache to grow along (vector);
5884         (2) eliminate an IMHO unnecessary step in colour allocation.
5885
5886 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5887
5888         * BufferView_pimpl.C: compile fix
5889
5890 2003-08-15  André Pönitz  <poenitz@gmx.net>
5891
5892         * rowpainter.C: remove extra metrics calls
5893
5894         * lyxtext.h: merge the two constructors into a single one,
5895           pass reference to owner's par list
5896
5897         * BufferView_pimpl.C:
5898         * text.C:
5899         * text2.C: adjust
5900
5901 2003-08-15  André Pönitz  <poenitz@gmx.net>
5902
5903         * lyxrow_funcs.[Ch]:
5904         * lyxtext.h:
5905         * paragraph.h:
5906         * paragraph_funcs.C:
5907         * rowpainter.C:
5908         * text.C:
5909         * text2.C:
5910         * text3.C:
5911         * text_funcs.C: split LyXText::rowlist_ into individual
5912         Paragraph::rows_ chunks
5913
5914         * BufferView.[Ch]:
5915         * BufferView_pimpl.[Ch]:
5916         * lyxfind.C:
5917         * lyxtext.h:
5918         * text3.C: remove toggleSelection()
5919
5920 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5921
5922         * bufferlist.C: beautify two alerts (shorter text of buttons)
5923         * buffer.C: Remove redundant ' ' from message
5924         * tabular.h:
5925         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5926         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5927         rename VALIGN_CENTER to VALIGN_MIDDLE
5928
5929 2003-08-11  André Pönitz  <poenitz@gmx.net>
5930
5931         * lyxtext.h (getPar):
5932         * text.C: new function
5933
5934 2003-08-11  André Pönitz  <poenitz@gmx.net>
5935
5936         * Makefile.am:
5937         * tracer.[Ch]: remove unneeded files
5938
5939         * InsetList.[Ch]: remove resizeInsetsLyXText()
5940
5941         * lyxtext.h:
5942         * text.C:
5943         * text2.C:
5944         * text3.C: merge insertParagraphs() and appendParagraph()
5945         remove breakAgain(), update()
5946
5947         * BufferView_pimpl.[Ch]:
5948         * bufferview_funcs.[Ch]:
5949         * lyxfunc.C:
5950         * paragraph.[Ch]:
5951         * rowpainter.C:
5952         * tabular.C: adjust after text & InsetList changes.
5953
5954 2003-08-08  André Pönitz  <poenitz@gmx.net>
5955
5956         * text.C (insertChar, backspace): replace rowlist fiddling
5957         with rebreak of full par
5958
5959         * lyxtext.h:
5960         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5961         checkParagraph, updateInset): removed
5962
5963 2003-08-07  André Pönitz  <poenitz@gmx.net>
5964
5965         * paragraph.C:
5966         * text3.C: merge some LFUN handlers, remove dead code
5967
5968 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5969
5970         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5971
5972 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5973
5974         * text2.C (DEPM): fix part of bug 1255 and 1256
5975
5976 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5977
5978         * BufferView_pimpl.C (workAreaDispatch): change to use
5979         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5980         that are no mouse related.
5981
5982 2003-08-05  André Pönitz  <poenitz@gmx.net>
5983
5984         * BufferView.[Ch]:
5985         * BufferView_pimpl.[Ch]:
5986         * bufferview_funcs.C:
5987         * text2.C:
5988         * text3.C: rip out "deep update"
5989
5990         * textcursor.[Ch] (last_sel_cursor): remove unused member
5991
5992 2003-08-04  André Pönitz  <poenitz@gmx.net>
5993
5994         * BufferView.[Ch]:
5995         * BufferView_pimpl.[Ch]:
5996         * ParagraphParameters.C:
5997         * bufferview_funcs.C:
5998         * lyx_cb.C:
5999         * lyxfind.C:
6000         * lyxfunc.C:
6001         * text.C:
6002         * text2.C:
6003         * text3.C: replace "complicated" BufferView::update(...) calls with
6004         simpler ones.
6005
6006         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6007
6008 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6009
6010         * Makefile.am (lyx_SOURCES): add paper.h
6011
6012 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6013
6014         * Makefile.am: move things around so that both lyx-qt and
6015         lyx-xforms can be built (according to --with-frontend). Then lyx
6016         is a symbolic link to lyx-[firstfrontend]
6017
6018 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6019
6020         * Always use std::endl with lyxerr
6021
6022 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6023
6024         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6025
6026 2003-08-01  André Pönitz  <poenitz@gmx.net>
6027
6028         * BufferView.[Ch]:
6029         * BufferView_pimpl.[Ch]:
6030         * lyxfunc.C:
6031         * text3.C: merge BufferView::repaint() and BufferView::update()
6032
6033 2003-08-01  José Matos  <jamatos@lyx.org>
6034
6035         * buffer.[Ch]: file_format is no longer a buffer data element.
6036
6037 2003-08-01  André Pönitz  <poenitz@gmx.net>
6038
6039         * BufferView.C:
6040         * lyxtext.h:
6041         * text.C:
6042         * text2.C: make redoParagraph more independent of current cursor
6043
6044         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6045         * text.C:
6046         * text2.C: remove unneeded members
6047
6048 2003-07-30  André Pönitz  <poenitz@gmx.net>
6049
6050         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6051
6052         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6053           create a single function...
6054
6055         * paragraph_funcs.C (moveItem): ... here.
6056
6057         * text.C:
6058           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6059
6060 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6061
6062         * LColor.[Ch]: Add comment and greyedout logical colors.
6063
6064 2003-07-30  André Pönitz  <poenitz@gmx.net>
6065
6066         * tabular.C: don't use Assert too heavily. This crashes where it
6067           shouldn't
6068
6069 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6070
6071         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6072         is disabled (bug 1232)
6073
6074 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6075
6076         * factory.C: limited 'arg' scope
6077
6078 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6079
6080         * factory.C: fixed Note submenu issues
6081
6082 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6083
6084         * factory.C: submenu for Note/Comment/Greyedout
6085
6086 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6087
6088         * lyx_main.C (LyX):
6089         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6090
6091 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6092
6093         * LaTeXFeatures.C:
6094         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6095         greyedout. Patch provided by Jürgen Spitzmüller.
6096
6097 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6098
6099         * kbmap.C (read): fix error message when reading bind files
6100
6101 2003-07-29  Angus Leeming  <leeming@lyx.org>
6102
6103         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6104         certainly does not do what it purports to do. I am doing it, and
6105         us, a favour by killing it.
6106
6107 2003-07-28  José Matos  <jamatos@lyx.org>
6108
6109         * buffer.C (readBody, do_writeFile):
6110         * paragraph.C(readParagraph): \end_document replaces \the_end.
6111
6112 2003-07-29  André Pönitz  <poenitz@gmx.net>
6113
6114         * BufferView.[Ch]:
6115         * BufferView_pimpl.[Ch]:
6116         * lyxfunc.C:
6117         * text2.C:
6118         * text3.C:
6119         * textcursor.[Ch]: remove toggleToggle & Co
6120
6121 2003-07-28  José Matos  <jamatos@fep.up.pt>
6122
6123         * buffer.C (readParagraph):
6124         * params_func (readParToken, readParagraph):
6125         * paragraph.C (write): \layout -> \begin_layout.
6126
6127 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * lyxlex_pimpl.C (setFile): clean up slightly.
6130
6131         * bufferparams.h: add compressed var
6132
6133         * buffer_funcs.C (readFile): adjust for LyXLex change
6134         (newFile): ditto + simplify
6135
6136         * buffer.C (writeFile): handle writing of compressed files
6137
6138         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6139         Check if the file is compressed and set a bufferparm if so.
6140
6141         * Makefile.am (lyx_LDADD): remove explicit -lz
6142
6143 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6144
6145         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6146         makeDocBookFile): put the real LyX version in the first line of
6147         the file
6148
6149         * version.h:
6150         * version.C.in: remove lyx_docversion
6151
6152         * tabular.C (write_attribute): add a template-based version to
6153         write enums properly
6154
6155 2003-07-28  André Pönitz  <poenitz@gmx.net>
6156
6157         * lyxtext.h:
6158         * text.C:
6159         * text2.C:
6160         * text3.C: use doubles again for x-coordinates. They are needed.
6161
6162 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6163
6164         * messages.C (getLocaleDir): use lyx_localedir()
6165
6166         * lyxlex_pimpl.C (setFile): compress stuff
6167
6168         * buffer.C (writeFile): add some compression stuff
6169         (do_writeFile): new func, dont call expliti close... will this
6170         breake anything?
6171
6172         * Makefile.am (lyx_LDADD): add -lz
6173
6174 2003-07-28  José Matos  <jamatos@fep.up.pt>
6175
6176         * buffer.C: increment file format.
6177         * paragraph_funcs (readParagraph, readParToken):
6178         * paragraph.C (readParagraph): add \end_layout.
6179
6180 2003-07-27  Angus Leeming  <leeming@lyx.org>
6181
6182         * Makefile.am: remove special casing for configure-time setting of
6183         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6184
6185         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6186         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6187
6188 2003-07-26  André Pönitz  <poenitz@gmx.net>
6189
6190         * paragraph_func.[Ch]:
6191         * paragraph.C (realizeFont): inline it whereever it is used
6192
6193         * rowpainter.C:
6194         * text.C:
6195         * text2.C:
6196         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6197
6198
6199 2003-07-26  André Pönitz  <poenitz@gmx.net>
6200
6201         *       lyxtext.h:
6202         * text.C:
6203         * text2.C: get rid of LyXText::need_break_row
6204
6205 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6206
6207         * toc.[Ch]: put namespace toc inside namespace lyx
6208
6209         * MenuBackend.C (expandToc2): adjust for lyx::toc
6210         (expandToc): ditto
6211
6212         * lyxfunc.C (dispatch): adjust for lyx::find
6213
6214         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6215         lyx::find instead. Reorganize a bit.
6216         (LyXReplace): rename to replace
6217         (LyXFind): rename to find
6218
6219         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6220         (dispatch): ditto
6221
6222 2003-07-26  André Pönitz  <poenitz@gmx.net>
6223
6224         * text.C (setHeightOfRow): restrict scope of temporary variable
6225
6226         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6227           code (never has been used?)
6228
6229 2003-07-27  Asger Alstrup  <alstrup@local>
6230
6231         * text.C (fill): Optimise algorithm to exploit that we can reuse
6232         the LyXFont for many characters.
6233         (setHeightOfRow): Same thing.
6234         (rowBreakPoint): Same thing.
6235
6236 2003-07-26  Asger Alstrup  <alstrup@local>
6237
6238         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6239
6240         * text.C (singleWidth): Spurious font copying in hot-spot
6241         singleWidth avoided. Reorder tests for arabic for efficiency.
6242
6243         * text.C (fill): handle empty paragraphs better.
6244
6245 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6246
6247         * ispell.C:
6248         * encoding.h: add includes
6249
6250         * lyxrc.C: remove reading of bind files
6251
6252         * lyx_main.C (init): setup bindings and menus only if we have a
6253         gui.
6254
6255         * kbmap.C (read): new method. Do the actual reading of bind
6256         files.
6257
6258         * converter.C (dvipdfm_options):
6259         * bufferparams.C:
6260         * lyxrc.C (read):
6261         (output): adapt PAPER_* enums.
6262
6263         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6264
6265         * bufferparams.h: remove paper-related enums from there
6266
6267         * paper.h: New file. A trivial header file to hold paper-related
6268         enums. It should later expand to contain many paper-related
6269         horrors access.
6270
6271         * lyxrc.C: declare extern displayTranslator
6272
6273 2003-07-27  José Matos  <jamatos@fep.up.pt>
6274
6275         * tabular.[Ch] (linuxdoc): add support for tables and figures
6276         (linuxdoc).
6277
6278 2003-07-27  José Matos  <jamatos@fep.up.pt>
6279
6280         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6281         consistency in both functions.
6282         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6283
6284 2003-07-26  Asger Alstrup  <alstrup@local>
6285
6286         * rowpainter.C (paintRows): Change algorithm to work directly on
6287         the insets rather than asking every character in the document
6288         whether its an inset.
6289
6290 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6291
6292         * buffer.C (openFileWrite): factorize some code
6293
6294 2003-07-26  Angus Leeming  <leeming@lyx.org>
6295
6296         * lyx_cb.C:
6297         * lyx_main.[Ch]: replace occurances of system_tempdir with
6298         os::getTmpDir().
6299
6300 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6301
6302         * rename Inset to InsetOld
6303
6304 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6305
6306         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6307         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6308         which I think is a bit clearer. EDIT is gone, since it was
6309         premature optimisation, and broken for mathed anyway.
6310         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6311         with cursor positioning in insets as well (math insets still do not
6312         work, but that's a different story anyway.) It mysteriously
6313         crashes sometimes with undo in the first paragraph, but I'm fairly
6314         confident that this is a compiler bug.
6315
6316 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6317
6318         * paragraph.C (Paragraph): adjust for new clone return type
6319         (operator==): ditto
6320         (copyIntoMinibuffer): ditto
6321
6322 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6323
6324         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6325         by not having a special case, and always doing a full rebreak of
6326         the document after undo.
6327
6328 2003-07-23  Angus Leeming  <leeming@lyx.org>
6329
6330         * factory.C (createInset): InsetExternal::setParams now takes a
6331         Buffer const * arg.
6332
6333 2003-07-23  Angus Leeming  <leeming@lyx.org>
6334
6335         * factory.C (createInset): changed interface to the external and
6336         graphics mailers' string2params functions.
6337
6338 2003-07-23  Angus Leeming  <leeming@lyx.org>
6339
6340         * factory.C (createInset): pass a
6341         Buffer const * parameter to InsetExternalMailer's string2params.
6342
6343 2003-07-22  John Levon  <levon@movementarian.org>
6344
6345         * Thesaurus.h: include the right aiksaurus header
6346
6347 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6348
6349         * MenuBackend.C (expand): check menu shortcuts unconditionally
6350
6351 2003-07-21  Angus Leeming  <leeming@lyx.org>
6352
6353         * factory.C (createInset): pass a
6354         buffer_path parameter to InsetGraphicsMailer's string2params.
6355
6356 2003-07-21  Angus Leeming  <leeming@lyx.org>
6357
6358         * BufferView_pimpl.C (buffer):
6359         * buffer.C (d-tor):
6360         * lyx_main.C (LyX):
6361         * lyxfunc.C (dispatch):
6362         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6363         rather than the grfx shortcut.
6364
6365 2003-07-21  André Pönitz  <poenitz@gmx.net>
6366
6367         * rowpainter.C: remove unused variables
6368
6369         * tabular_funcs.C:
6370         * tabular_funcs.h: move to tabular.C
6371         * Makefile.am: adjust
6372
6373         * tabular.[Ch]: basic optical cleaning
6374
6375         * author.h: pass references, not values
6376
6377 2003-07-18  André Pönitz  <poenitz@gmx.net>
6378
6379         * lyxtext.h:
6380         * metricsinfo.C:
6381         * metricsinfo.h:
6382         * rowpainter.C:
6383         * text.C:
6384         * text2.C:
6385         * text3.C: two-phase drawing for InsetText and InsetTabular
6386         some float -> int changes.
6387
6388 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6389
6390         * lyx_main.C: fix the fix
6391
6392 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6393
6394         * lyx_main.C: fix a crash in batch mode if no files specified
6395         * converter.C: ws
6396
6397 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6398
6399         * format.[Ch] (papersize): moved to BufferParams
6400         * converter.[Ch] (dvips_options): moved to BufferParams
6401         (dvipdfm_options): moved to anon namespace
6402         * bufferparams.[Ch]: added above functions.
6403
6404 2003-07-17  André Pönitz  <poenitz@gmx.net>
6405
6406         * lyxtext.h:
6407         * rowpainter.C:
6408         * text2.C: don't call inset->update() anymore
6409
6410         * metricsinfo.[Ch]: add convenience constructor
6411
6412 2003-07-16  André Pönitz  <poenitz@gmx.net>
6413
6414         * lyxcursor.[Ch]:
6415         * lyxfunc.[Ch]:
6416         * text.C:
6417         * text2.C: replace the LyXCursor::irow_ member with
6418          on-demand computation of the value
6419
6420 2003-07-16  John Levon  <levon@movementarian.org>
6421
6422         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6423
6424 2003-07-15  André Pönitz  <poenitz@gmx.net>
6425
6426         * text.C:
6427         * text2.C: remove no more needed refresh_row
6428
6429 2003-07-15  André Pönitz  <poenitz@gmx.net>
6430
6431         * lyxtext.h:
6432         * rowpainter.C:
6433         * text2.C:
6434         * text3.C: refresh_status tristate -> need_update bool
6435
6436 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6437
6438         * lyxtext.h (init): remove reinit argument (act as if always true)
6439         * text2.C: adjust to that
6440
6441 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6442
6443         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6444         * text3.C: use it to delete selections in some cases
6445         (bugs 441, 673, 702, 954).
6446
6447 2003-07-14  André Pönitz  <poenitz@gmx.net>
6448
6449         * rowpainter.[Ch]: reduce interface
6450
6451 2003-07-14  André Pönitz  <poenitz@gmx.net>
6452
6453         * BufferView_pimpl.C:
6454         * text2.C: adjust after removing unused BufferView * argument
6455
6456 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6457
6458         * text2.C (init): fix a crash fired on resize
6459
6460 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6461
6462         * buffer.[Ch]: added new closing signal
6463         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6464         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6465         BufferView::Pimpl via the closing the signal
6466
6467 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6468
6469         * buffer.[Ch]: take out all bv-related from buffer
6470         * BufferView.C:
6471         * BufferView_pimpl.[Ch]: connect to new signals
6472         * CutAndPaste.C: removed useless asserts
6473         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6474         * lyxvc.[Ch]:
6475         * vc-backend.[Ch]:
6476         * lyxfunc.C: moved view-related funciontality from vc here
6477         * paragraph.C: removed outdated comments
6478         * text.C: ws
6479
6480 2003-07-10  André Pönitz  <poenitz@gmx.net>
6481
6482         * BufferView_pimpl.C:
6483         * tabular.h:
6484         * tabular_funcs.C:
6485         * text.C:
6486         * text2.C: remove InsetText::InnerCache, clean up consequences
6487
6488 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6489
6490         * ispell.C: fix two typos in error messages
6491
6492 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6493
6494         * Extend Note inset to other forms of annotation like Comment
6495         and Greyedout. Right button click gives dialog.
6496
6497         Files modified or added (+):
6498
6499         * insetnote.[Ch]
6500         * FormNote.[Ch]      +
6501         * ControlNote.[Ch]   +
6502         * form_note.fd       +
6503         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6504         frontends/controllers
6505         * xforms/Dialogs.C
6506         * factory.C
6507
6508 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6509
6510         * aspell.C: add missing namespace lyx::support
6511
6512 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6513
6514         * BufferView.[Ch] (newFile): Add
6515         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6516         * LaTeX.[Ch] (message): added this signal and use it
6517         * buffer.[Ch] (busy, message): added these signals and use them
6518         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6519         * converter.C:
6520         * exporter.C:
6521         * format.C:
6522         * importer.C: use buffer signals instead of direct bv calling
6523         * lyx_cb.[Ch] (ShowMessage): removed
6524         * lyx_main.C:
6525         * lyxfunc.C:
6526         * paragraph_funcs.C:
6527         * text2.C: use buffer signals
6528
6529 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6530
6531         * introduce namespace lyx::graphics
6532
6533 2003-07-02  André Pönitz  <poenitz@gmx.net>
6534
6535         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6536
6537 2003-07-01  André Pönitz  <poenitz@gmx.net>
6538
6539         * text.C:
6540         * text2.C:
6541         * text3.C:
6542         * text_funcs.[Ch]:
6543         * textcursor.h:
6544         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6545           text*.C to text_func.C
6546
6547 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * introduce namespace lyx::support
6550
6551 2003-06-30  André Pönitz  <poenitz@gmx.net>
6552
6553         * Chktex.C:
6554         * funcrequest.C:
6555         * lyxtext.h:
6556         * text.C: re-enable --with-included-string
6557
6558 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6559
6560         * textcursor.C: add <config.h>
6561
6562         * text.C (getWord): remove const from word_location arg
6563
6564         * lyxvc.C (getLogFile): fix const type order
6565
6566         * lyxtext.h: remove const from word_location arg, add arg name
6567
6568         * lyxlayout.h: currect type on labeltype.
6569
6570         * importer.C: correct \file
6571
6572         * converter.C (intToFormat): use std:: on ret val, ws changes
6573
6574         * bufferlist.h: correct \file
6575
6576         * buffer.C (makeLinuxDocFile): fix const type order
6577         (makeDocBookFile): ditto
6578         (fillWithBibKeys): use std:: on stdlib args.
6579
6580         * CutAndPaste.C: fix authors.
6581         (availableSelections): use std:: on return vector
6582
6583 2003-06-27  André Pönitz  <poenitz@gmx.net>
6584
6585         * BufferView_pimpl.C:
6586         * bufferview_funcs.C:
6587         * lyxcursor.C:
6588         * lyxcursor.h:
6589         * lyxfunc.C:
6590         * lyxtext.h:
6591         * rowpainter.C:
6592         * text.C:
6593         * text2.C:
6594         * text3.C: remove LyXCursor::row_ member
6595
6596         * lyxtext.h:
6597         * text.C: rename fullRebreak() to partialRebreak() and implement
6598           a fullRebreak() that really bereks fully
6599
6600         * textcursor.h: new struct for cursor-related data
6601
6602 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6603
6604         * lyx_main.C (LyX): get full path of document loaded on the
6605         command line
6606
6607 2003-06-26  André Pönitz  <poenitz@gmx.net>
6608
6609         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6610           remove unused/broken operator>,<,>=.
6611
6612         *       text.C: remove only use of broken operator<= in an Assert().
6613
6614 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6615
6616         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6617         moved errorlist_.clear to showErrorList
6618
6619 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6620
6621         * converter.C (scanLog, runLaTeX):
6622         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6623         move the bv->showErrorList call to the callers
6624         * lyxfunc.C: i.e. here...
6625         * text2.C: and here
6626         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6627         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6628         namespace, the second to...
6629         * buffer_funcs (BufferFormat, parseErrors): added
6630         * errorlist.C (ErrorList(TeXErrors const &)): removed
6631
6632 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6633
6634         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6635
6636 2003-06-24  "Garst R. Reese" <reese@isn.net>
6637
6638         * debug.C: fix typo
6639
6640 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6641
6642         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6643
6644         * version.C.in: change docversion to 1.4
6645
6646 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6647
6648         * buffer.C: fix a bug just introduced
6649
6650 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6651
6652         * buffer.[Ch]: added the parseError signal and use it, removed
6653         sgmlError
6654         * BufferView.[Ch] (addError): moved to ...
6655         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6656         to the Buffer::parseError signal to catch (guess what) parse errors
6657         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6658
6659 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6660
6661         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6662         ability to create a buffer and to return an existing one from
6663         the list. Moved these functions to...
6664         * buffer_funcs.[Ch]: added
6665         * BufferView.[Ch] (loadLyXFile): added
6666         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6667         job removed from bufferlist::loadLyXFile.
6668         * buffer.C (setReadOnly): make it work without view
6669         (i.e added an if (users))
6670
6671 2003-06-19  Angus Leeming  <leeming@lyx.org>
6672
6673         * lfuns.h:
6674         * LyXAction.C (init):
6675         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6676         with LFUN_DIALOG_SHOW <name> <data>.
6677
6678 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6679
6680         * CutAndPaste.C (availableSelections): small compilation fix for
6681         ancient (gcc 2.9x) compilers
6682
6683 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6684
6685         * text3.C (cursorNext): add tmp var
6686
6687         * text2.C (updateCounters): for function calling out of for clause
6688         (replaceSelectionWithString): ditto
6689         (insertStringAsParagraphs): ditto
6690         (getColumnNearX): add tmp var
6691         (setCursorFromCoordinates): add tmp var
6692         (cursorDownParagraph): add tmp var
6693         (deleteEmptyParagraphMechanism): add tmp var
6694
6695         * text.C (insertChar): add tmp var
6696
6697         * rowpainter.C (paintDepthBar): add tmp var
6698
6699         * CutAndPaste.C (availableSelections): potentially check all
6700         paragraphs in a cut to fill the shown strings.
6701
6702 2003-06-18  André Pönitz  <poenitz@gmx.net>
6703
6704         * kbmap.[Ch]: use vector<> instead of list<>
6705
6706 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6707
6708         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6709         pasteSelection with index
6710
6711         * text2.C (pasteSelection): modify, call pasteSelection with index
6712
6713         * paragraph.C (asString): reimplement version with no interval to
6714         call the one with interval.
6715
6716         * lyxtext.h: add index arg to pasteSelection
6717
6718         * MenuBackend.C (MenuItem): handle PasteRecent
6719         (Menu::read::Menutags): add md_pasterecent
6720         (read): handle it
6721         (expandPasteRecent): new function
6722         (expand): use it
6723
6724         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6725
6726         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6727         the limited stack
6728         (availableSelections): new function
6729
6730 2003-06-17  Angus Leeming  <leeming@lyx.org>
6731
6732         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6733
6734 2003-06-17  Angus Leeming  <leeming@lyx.org>
6735
6736         * lfuns.h:
6737         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6738
6739         * lyxfunc.C (dispatch): invoke it.
6740
6741 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6742
6743         * iterators.C (operator++, ParPosition): reintroduce some
6744         const_cast for the benefit of older compilers.
6745
6746 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6747
6748         * text3.C (dispatch): do not modify clipboard when doing
6749         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6750         LFUN_DELETE_SKIP on a selection selection
6751
6752 2003-06-16  André Pönitz  <poenitz@gmx.net>
6753
6754         * BufferView.C:
6755         * buffer.C:
6756         * buffer.h:
6757         * paragraph.C:
6758         * tabular.[Ch]: IU of clone() and getLabelList();
6759
6760 2003-06-13  André Pönitz  <poenitz@gmx.net>
6761
6762         * tabular.h: compactification
6763
6764 2003-06-12  André Pönitz  <poenitz@gmx.net>
6765
6766         * tabular.C:
6767         * tabular.h:
6768         * tabular_funcs.h: some renaming plus whitespace
6769
6770 2003-06-12  André Pönitz  <poenitz@gmx.net>
6771
6772         * BufferView.C:
6773         * BufferView_pimpl.C:
6774         * CutAndPaste.C:
6775         * buffer.C:
6776         * iterators.[Ch]:
6777         * lyxfunc.C:
6778         * text.C:
6779         * toc.C: Return a Paragraph & for ParIterator::operator*()
6780
6781 2003-06-11  John Levon  <levon@movementarian.org>
6782
6783         * lyx_main.C:
6784         * ToolbarBackend.h:
6785         * ToolbarBackend.C: add "Toolbars" section and
6786         put the flags there
6787
6788 2003-06-10  Angus Leeming  <leeming@lyx.org>
6789
6790         * lfuns.h:
6791         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6792
6793         * lyxfunc.C (dispatch): invoke it.
6794
6795 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6796
6797         * main.C: protect <ios> with HAVE_IOS
6798         (main): protect sync_with_stdio with HAVE_IOS
6799
6800 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6801
6802         * text2.C (cutSelection): adjust
6803         (pasteSelection): adjust
6804
6805         * messages.C: handle get of empty string
6806
6807         * main.C (main): use sync_with_stdio(false)
6808
6809         * lyxfunc.C (dispatch): adjust
6810
6811         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6812         (WriteAs): remove unneeded BufferView arg.
6813
6814         * bufferparams.h: use correct types on papersize, papersize2 and
6815         paperpackage.
6816
6817         * bufferparams.C (readToken): adjust for type
6818         (writeLaTeX): add missing cases to switch.
6819
6820         * bufferlist.C (quitWriteBuffer): adjust
6821         (close): adjust
6822
6823         * buffer.C (asciiParagraph): remove some commented code.
6824
6825         * CutAndPaste.C: remove current_view extern variable.
6826         (cutSelection): add BufferParams arg.
6827         (eraseSelection): add BufferParams arg.
6828         (pasteSelection): add Buffer const & arg
6829
6830 2003-06-07  John Levon  <levon@movementarian.org>
6831
6832         * buffer.C:
6833         * paragraph_funcs.C:
6834         * paragraph_pimpl.C:
6835         * text.C:
6836         * text2.C:
6837         * paragraph.h:
6838         * paragraph.C: allow InsetERT to freely space lines,
6839         and some consolidation of code
6840
6841 2003-06-06  José Matos  <jamatos@fep.up.pt>
6842
6843         * buffer.C (makeDocBookFile): fix bug #821
6844
6845 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6846
6847         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6848
6849 2003-06-04  Angus Leeming  <leeming@lyx.org>
6850
6851         * buffer.C: bump format to 224.
6852
6853 2003-06-05  André Pönitz  <poenitz@gmx.net>
6854
6855         * text2.C (redoParagraphs): remove two const_cast<>
6856
6857 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6858
6859         * ParagraphList.h: remove last remnants of NO_STD_LIST
6860
6861 2003-06-03  Angus Leeming  <leeming@lyx.org>
6862
6863         * factory.C (createInset): small change to the way InsetExternal's params
6864         are set.
6865
6866 2003-06-04  André Pönitz  <poenitz@gmx.net>
6867
6868         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6869
6870         * paragraph_pimpl.h:
6871         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6872
6873         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6874
6875         * undo_funcs.C: make some simple cases of undo work again
6876
6877 2003-06-03  John Levon  <levon@movementarian.org>
6878
6879         * ispell.C: HPUX doesn't have sys/select.h
6880         (from Albert Chin)
6881
6882 2003-06-03  John Levon  <levon@movementarian.org>
6883
6884         * CutAndPaste.C: update tabular and include inset
6885         buffer references
6886
6887         * buffer.h:
6888         * paragraph.h:
6889         * paragraph.C: remove owningBuffer(), don't pass Buffer
6890         to clone()
6891
6892         * factory.C: insetGraphicsParams changed
6893
6894 2003-06-02  John Levon  <levon@movementarian.org>
6895
6896         * LyXAction.C:
6897         * factory.C:
6898         * lfuns.h:
6899         * lyxfunc.C:
6900         * text3.C: remove insetparent
6901
6902 2003-06-02  John Levon  <levon@movementarian.org>
6903
6904         * buffer.h:
6905         * buffer.C: fix inset_iterator.end(), move out of line
6906         (bug 1149)
6907
6908 2003-06-01  John Levon  <levon@movementarian.org>
6909
6910         * text3.C: use a proper cut/paste when doing inset
6911         insert (from Jürgen Spitzmüller)
6912
6913 2003-06-01  John Levon  <levon@movementarian.org>
6914
6915         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6916
6917 2003-05-30  André Pönitz  <poenitz@gmx.net>
6918
6919         * rowpainter.C: unify second drawing phase
6920
6921 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6922
6923         * trans_mgr.C: remove one case of current_view
6924
6925         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6926
6927         * paragraph_funcs.h: remove paragraph.h include
6928
6929         * paragraph.h: delete NO_STD_LIST stuff
6930
6931         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6932
6933         * buffer.h: remove paragraph.h include
6934
6935         * ParagraphList.C: delete file
6936
6937         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6938
6939         * toc.C (getTocList): adjust
6940
6941         * paragraph_pimpl.C (validate): adjust
6942
6943         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6944
6945         * paragraph.C (Paragraph): adjust
6946         (getPositionOfInset): use const_iterator, adjust
6947         (bibitem): use const_iterator, adjust
6948         (setInsetOwner): adjust
6949
6950         * iterators.C (operator++): adjust
6951
6952         * InsetList.[Ch]: Replace selfmade iterator with standard
6953         vector::iterator also introduce const_iterator. Remove getPos,
6954         getInset and setInset from InsetTable. Adjust accordingly.
6955
6956         * BufferView.C (lockInset): adjust
6957         (ChangeInsets): adjust
6958
6959         * tabular.[Ch]: delete commented same_id functions
6960
6961 2003-05-28  John Levon  <levon@movementarian.org>
6962
6963         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6964
6965 2003-05-28  André Pönitz  <poenitz@gmx.net>
6966
6967         * metricsinfo.[Ch]: remove 'fullredraw' member
6968
6969 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6970
6971         * lyxtextclass.C (operator): remove caching.
6972
6973 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6974
6975         * text3.C: adjust
6976
6977         * text2.C (cursorBottom): adjust
6978         (setCounter): use ParagraphList::find, adjust
6979
6980         * text.C (workWidth): use ParagraphList::find, adjust
6981
6982         * lyxcursor.C (LyXCursor): adjust
6983
6984         * buffer.C (inset_iterator): adjust
6985
6986         * ParagraphList.h: make iterator(value_type) private, make
6987         ParagraphList a friend of iterator.
6988
6989         * ParagraphList.C (find): new function
6990
6991         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6992
6993 2003-05-27  André Pönitz  <poenitz@gmx.net>
6994
6995         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6996
6997 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6998
6999         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7000
7001 2003-05-26  John Levon  <levon@movementarian.org>
7002
7003         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7004
7005 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7006
7007         * remove same_id from function signatures, adjust.
7008
7009 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7010
7011         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7012
7013         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7014
7015         * paragraph.C (Paragraph): get rid of same_ids parameter
7016
7017         * ParagraphList.C (insert): adjust
7018         (push_back): adjust
7019
7020 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * paragraph_funcs.C (breakParagraph): adjust
7023         (breakParagraphConservative): adjust
7024
7025         * buffer.C (readParagraph): adjust
7026
7027         * ParagraphList.C (insert): take a reference instead of a pointer
7028         (insert): adjust
7029
7030         * paragraph.[Ch] (id): new function
7031
7032         * bufferlist.C (newFile): adjust
7033
7034         * ParagraphList.C (ParagraphList): adjust
7035         (assign): adjust
7036         (push_back): take a reference instead of a pointer.
7037
7038         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7039
7040         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7041         instead.
7042
7043         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7044         set else use old code.
7045
7046         * ParagraphList.C: remove all NO_NEXT code and only compile this
7047         code of NO_STD_LIST is set.
7048
7049 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7050
7051         * BufferView_pimpl.C:
7052         * TextCache.C:
7053         * TextCache.h:
7054         * bufferlist.C:
7055         * errorlist.h:
7056         * format.C:
7057         * format.h:
7058         * graph.C:
7059         * lyxfunc.C:
7060         * lyxrc.C:
7061         * graphics/GraphicsConverter.C:
7062         * graphics/PreviewLoader.C: header adjustment
7063
7064 2003-05-23  Angus Leeming  <leeming@lyx.org>
7065
7066         * LaTeXFeatures.[Ch] (useBabel): new method.
7067         * bufferparams.C (writeLaTeX): use it.
7068
7069 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * ParagraphList.h (set): remove unused function.
7072
7073 2003-05-23  André Pönitz  <poenitz@gmx.net>
7074
7075         * BufferView.C:
7076         * BufferView_pimpl.C:
7077         * buffer.C:
7078         * buffer.h:
7079         * lyxfunc.C:
7080         * undo_funcs.C: setUndo reworked
7081
7082         * iterators.[Ch]: add access to topmost ParagraphList
7083
7084         * lyxtext.[Ch] (workWidth): add a const
7085
7086 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7087
7088         * texrow.[Ch] (increasePos): remove function
7089         * exporter.C (export): removed unused var and outdated comment
7090
7091 2003-05-23  Angus Leeming  <leeming@lyx.org>
7092
7093         * latexrunparams.h: rename fragile as moving_arg.
7094         * paragraph.C (simpleTeXOnePar): ditto.
7095         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7096
7097 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7098
7099         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7100         (createUndo): ditto
7101         (textUndoOrRedo): comment out a currently unused var.
7102
7103         * paragraph.h (NO_NEXT): enable NO_NEXT
7104
7105         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7106
7107         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7108
7109         * exporter.C (Export): adjust for removeAutoInsets removal.
7110
7111         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7112
7113         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7114
7115         * BufferView.[Ch] (removeAutoInsets): delete function
7116
7117 2003-05-22  Angus Leeming  <leeming@lyx.org>
7118
7119         * latexrunparams.h: add a free_spacing variable.
7120
7121         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7122         to pass moving_arg, as the data is stored in runparams.fragile.
7123
7124         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7125         to Inset::latexOptional or to simpleTeXOnePar.
7126
7127         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7128         free_spacing arg to Inset::latexOptional.
7129
7130         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7131         free_spacing arg.
7132
7133 2003-05-22  Angus Leeming  <leeming@lyx.org>
7134
7135         * latexrunparams.h: add fragile and use_babel variables.
7136
7137         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7138         * buffer.C (makeLaTeXFile): store this returned value in
7139         runparams.use_babel, thus passing it to the inset::latex methods.
7140
7141         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7142         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7143
7144         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7145         longer has a fragile arg, as it is stored in runparams.fragile.
7146
7147         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7148         moving_arg parameter as the data is stored in runparams.fragile.
7149
7150         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7151         a fragile parameter as the data is stored in runparams.fragile.
7152
7153 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7154
7155         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7156
7157 2003-05-22  Angus Leeming  <leeming@lyx.org>
7158
7159         * latexrunparams.h: add a 'bool nice' which defaults to false.
7160
7161         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7162         now encapsulated within runparams.
7163
7164         * bufferlist.C (updateIncludedTeXfiles):
7165         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7166
7167 2003-05-22  Angus Leeming  <leeming@lyx.org>
7168
7169         * latexrunparams.h: new file containing struct LatexRunParams.
7170         * Makefile.am: add new file.
7171
7172         * LaTeX.[Ch] (c-tor, run):
7173         * buffer.[Ch] (makeLaTeXFile):
7174         * bufferlist.[Ch] (updateIncludedTeXfiles):
7175         * converter.C (convert, scanLog):
7176         * converter.[Ch] (runLaTeX):
7177         * exporter.C (Export):
7178         * paragraph.[Ch] (simpleTeXOnePar):
7179         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7180         * paragraph_funcs.[Ch] (latexParagraphs):
7181         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7182         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7183         pass around a LatexRunParams parameter.
7184
7185 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7186
7187         * paragraph.[Ch]: remove unused constructor
7188
7189         * ParagraphList.C (erase): new function, taking two iterators
7190
7191 2003-05-22  André Pönitz  <poenitz@gmx.net>
7192
7193         * undo_funcs.C: remove duplicated code
7194
7195         * iterator.[Ch]: operator=
7196
7197 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7198
7199         * tabular.C (SetMultiColumn): ws changes
7200
7201         * rowpainter.C (paintFirst): get rid of a ->previous
7202
7203         * lyx_cb.C (getPossibleLabel): parlist simplification
7204
7205         * BufferView.C (ChangeInsets): simplify slightly.
7206
7207 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7208
7209         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7210         * lfuns.h: new LFUN_SPACE
7211         * lyxfunc.C: protected space has a new lfun
7212         * paragraph_funcs.C: read new space insets
7213         * text3.C:
7214         * factory.C: handle new space insets
7215
7216 2003-05-22  André Pönitz  <poenitz@gmx.net>
7217
7218         * BufferView.C:
7219         * BufferView_pimpl.C:
7220         * buffer.[Ch]:
7221         * lyxfunc.C:
7222         * undo_funcs.C: return a ParIterator from getParFromID.
7223
7224         * iterators.[Ch]: add two const's
7225
7226 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7227
7228         * toc.C (getTocList): adjust
7229
7230         * iterators.[Ch]: rework for parlist
7231
7232         * buffer.C (par_iterator_begin): adjust
7233         (par_iterator_end): adjust
7234
7235         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7236
7237         * BufferView.C (removeAutoInsets): adjust
7238         (ChangeInsets): adjust
7239
7240 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7241
7242         * text.C (top_y): fix bug 1110
7243
7244 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7245
7246         * errorlist.[Ch]: added
7247         * buffer.C:
7248         * BufferView.[Ch]:
7249         * BufferView_pimpl.C:
7250         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7251         instead
7252
7253 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7254
7255         * Makefile.am: ensure that lyx is relinked upon changes to the
7256         various "convenience" libs.
7257
7258 2003-05-20  Angus Leeming  <leeming@lyx.org>
7259
7260         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7261         files are compiled in alphabetical order again.
7262
7263         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7264
7265 2003-05-19  Angus Leeming  <leeming@lyx.org>
7266
7267         * gettext.[Ch]: remove "char const * _(char const *)".
7268
7269 2003-05-19  André Pönitz  <poenitz@gmx.net>
7270
7271         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7272
7273         * Makefile.am:
7274         * BufferView.C:
7275         * DepTable.h:
7276         * LaTeXFeatures.C:
7277         * buffer.C:
7278         * lyxfont.C:
7279         * lyxlex.h:
7280         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7281
7282 2003-05-19  André Pönitz  <poenitz@gmx.net>
7283
7284         * buffer.C:
7285         * lyxlayout.[Ch]:
7286         * lyxtextclass.[Ch]:
7287         * paragraph.C:
7288         * paragraph_funcs.[Ch]:
7289         * text2.C:
7290         * text3.C: more insetenv work
7291
7292 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7293
7294         * ParagraphParameters.C (params2string): small bug fixed
7295
7296 2003-05-16  André Pönitz  <poenitz@gmx.net>
7297
7298         * debug.C:
7299         * bufferview_funcs.C: patch from Kornel Benko to prevent
7300           crash when _(...) is called twice in a statement
7301
7302 2003-05-16  André Pönitz  <poenitz@gmx.net>
7303
7304         * BufferView.C:
7305         * lyxfunc.C:
7306         * text.C:
7307         * text2.C:
7308         * text3.C:
7309         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7310
7311 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7312
7313         * lyx_main.C (init): remove spurious static_cast
7314
7315 2003-05-14  André Pönitz  <poenitz@gmx.net>
7316
7317         * BufferView.C: fix format string
7318
7319 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7320
7321         * BufferView.[Ch] (insertErrors): removed
7322         * BufferView.[Ch] (showErrorList): added
7323         * buffer.C (runChkTeX):
7324         * converter.C (scanLog): call showErrorList instead of inserterrors
7325
7326 2003-05-13  André Pönitz  <poenitz@gmx.net>
7327
7328         * BufferView_pimpl.C:
7329         * buffer.C:
7330         * bufferview_func.C:
7331         * MenuBackend.C:
7332         * lyxfunc.C:
7333         * lyxrc.C:
7334         * tex-accent.C:
7335         * text3.C:
7336         * toc.C:
7337         * tabular_funcs.h: tostr() from its own header
7338
7339         * ParagraphParameters.C:
7340         * ToolbarBackend.C:
7341         * bufferparams.C:
7342         * format.C:
7343         * lyxlex_pimpl.C:
7344         * text3.C: STRCONV()
7345
7346 2003-05-12  André Pönitz  <poenitz@gmx.net>
7347
7348         * BufferView.C:
7349         * BufferView_pimpl.C:
7350         * CutAndPaste.C:
7351         * LaTeX.C:
7352         * LaTeXFeatures.C:
7353         * ParagraphParameters.C:
7354         * buffer.C:
7355         * bufferlist.C:
7356         * bufferparams.C:
7357         * bufferview_funcs.C:
7358         * converter.C:
7359         * counters.C:
7360         * debug.C:
7361         * exporter.C:
7362         * format.C:
7363         * importer.C:
7364         * lyx_cb.C:
7365         * lyx_main.C:
7366         * lyxfont.C:
7367         * lyxfunc.C:
7368         * lyxvc.C:
7369         * paragraph.C:
7370         * paragraph_funcs.C:
7371         * tabular.C:
7372         * tabular_funcs.C:
7373         * text2.C:
7374         * text3.C:  boost::format -> bformat  all over the place
7375
7376
7377 2003-05-09  André Pönitz  <poenitz@gmx.net>
7378
7379         * LColor.[Ch]: Pimpl the #include <map> away
7380
7381 2003-05-09  John Levon  <levon@movementarian.org>
7382
7383         * bufferlist.C: never remove emergency saves
7384
7385 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7386
7387         * Makefile.am: better lib building
7388
7389 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7390
7391         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7392         instead.
7393         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7394         (simpleTeXSpecialChars): adjust
7395         (simpleTeXSpecialChars): adjust
7396         * paragraph.C (simpleTeXOnePar): adjust
7397         * buffer.C (makeLaTeXFile): adjust
7398
7399         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7400
7401         * text2.C (changeDepth): parlist cleanup
7402         (getColumnNearX): ditto
7403
7404         * rowpainter.C (getLabelFont): parlist cleanup
7405
7406         * bufferlist.C (newFile): parlist cleanup
7407
7408         * CutAndPaste.C (eraseSelection): parlist cleanup
7409
7410         * BufferView_pimpl.C (trackChanges): parlist cleanup
7411         (dispatch): ditto
7412
7413         * BufferView.C (lockInset): parlist cleanup.
7414         (ChangeInsets): ditto
7415
7416 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7417
7418         * CutAndPaste.h: Update file header.
7419
7420         * CutAndPaste.C: Update file header.
7421         Store the parts cut out of the Document in a limited_stack.
7422         (copySelection): adjust
7423         (pasteSelection): new function, takes the index in the limited stack.
7424         (nrOfParagraphs): adjust
7425         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7426         simplify error inset insertion.
7427         (checkPastePossible): adjust
7428
7429 2003-05-06  John Levon  <levon@movementarian.org>
7430
7431         * text2.C: don't cast wrap inset to float
7432
7433 2003-05-05  André Pönitz  <poenitz@gmx.net>
7434
7435         * iterator.C:
7436         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7437
7438         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7439           few naked Paragraph *.
7440
7441 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7442
7443         * bufferparams.C: Output warning if a document with missing
7444         TeX document class is loaded
7445         * exporter.C: Disable TeX exports if the document class is missing
7446         * lyxtextclass.C:
7447         * lyxtextclass.h:
7448         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7449         isTeXClassAvailable()
7450
7451 2003-05-03  John Levon  <levon@movementarian.org>
7452
7453         * BufferView.h:
7454         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7455         explicit cursor show/hide
7456
7457         * BufferView_pimpl.h:
7458         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7459         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7460
7461         * lyxfunc.C: hide cursor before dispatching.
7462
7463         * lyx_cb.C:
7464         * lyxfind.C:
7465         * text.C:
7466         * text3.C: remove explicit cursor hides
7467
7468 2003-05-02  André Pönitz  <poenitz@gmx.net>
7469
7470         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7471
7472         * undo_funcs.C:
7473         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7474           linked lists
7475
7476         * text2.C: tiny whitespace
7477
7478 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7479
7480         * undo_funcs.C: almost only ws changes.
7481
7482         * ParagraphList.C (splice): just return if pl is empty.
7483
7484 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7485
7486         * ParagraphList.C (splice): new function.
7487
7488         * CutAndPaste.C (pasteSelection): use it
7489
7490 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7491
7492         * CutAndPaste.C (pasteSelection): remove the last next and
7493         previous from this file.
7494
7495 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7496
7497         * CutAndPaste.C (pasteSelection): more clean up, user proper
7498         ParagraphList functions for pasteing.
7499
7500         * ParagraphList.C (insert): new function, three arg insert
7501
7502 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7503
7504         * ParagraphList.C (insert): new function, three arg insert
7505
7506         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7507         not on paragraphs.
7508
7509 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7510
7511         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7512
7513 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7514
7515         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7516
7517 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7518
7519         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7520         (copySelection): clean up a bit.
7521         (pasteSelection): use make_pair
7522
7523         * ParagraphList.C (ParagraphList): implement copy constructor
7524         (operator=): implement, base on copy constructor.
7525         (assign): new func
7526
7527         * paragraph.C (erase): return a bool
7528
7529         * paragraph_pimpl.C (erasePos): remove function, move contents...
7530         (erase): ... here. Return a bool.
7531         (erase): call erase instead of erasePos.
7532
7533 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7534
7535         * ParagraphList.h: define PitPosPair
7536         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7537         ParagraphList, fix a bug on pasting multiple pars
7538         * text2.C: change interface to C&P
7539
7540 2003-04-30  André Pönitz  <poenitz@gmx.net>
7541
7542         * undo_func.C: revert part of yesterday's patch 2
7543
7544 2003-04-30  John Levon  <levon@movementarian.org>
7545
7546         * LColor.C: s/tabular/table/
7547
7548 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7549
7550         * text3.C (dispatch): do not convert iterator -> pointer
7551         * undo_funcs.C (setCursorParUndo): ditto
7552         * text_funcs.C (transposeChars): ditto
7553
7554         * text2.C (setLayout): ws changes only
7555
7556         * text.C (breakParagraph): do not convert iterator -> pointer
7557         (insertChar): ditto
7558         (acceptChange): ditto
7559         (rejectChange): ditto
7560         (changeCase): ditto
7561         (Delete): ditto
7562         (backspace): ditto
7563
7564         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7565         pointer
7566
7567 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7568
7569         * text3.C (gotoInset): YABG (yet another bad getChar)
7570
7571 2003-04-29  André Pönitz  <poenitz@gmx.net>
7572
7573         * paragraph.h: make operator= private unimplemented as long as
7574           it is unusable
7575
7576         * ParagraphList.C: whitespace
7577
7578         * paragraph.[Ch]:
7579         * paragraph_pimpl.[Ch]:
7580         * paragraph_funcs.C:
7581         * CutAndPaste.C:
7582         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7583
7584         * text2.C:
7585           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7586
7587 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7588
7589         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7590         * paragraph.[Ch] (erase):
7591         * paragraph_pimpl.[Ch] (erase): change return type and value
7592         * text2.C (cutSelection): some rework
7593
7594 2003-04-28  John Levon  <levon@movementarian.org>
7595
7596         * bufferlist.C: changes for unsaved changes dialog
7597
7598 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7599
7600         * bufferlist.C (newFile): set language (messages_) for new
7601         documents also.
7602
7603         * buffer.C (readFile): ws changes only.
7604
7605 2003-04-28  André Pönitz  <poenitz@gmx.net>
7606
7607         * undo_funcs.C:
7608         * lyxfunc.C:
7609         * buffer.[Ch]:
7610         * BufferView_pimpl.C:
7611         * BufferView.C: getParFromID related ParagraphList::iterator changes
7612
7613 2003-04-28  André Pönitz  <poenitz@gmx.net>
7614
7615         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7616           Changes
7617
7618 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7619
7620         * messages.C: remove one more localedir class variable.
7621
7622 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7623
7624         * messages.C (getLocaleDir): singleton generation function
7625         (Pimpl): use it.
7626         (Messages): add a default constructor.
7627
7628         * main.C (main): do not setup localedir here, do not call
7629         gettext_init.
7630
7631         * gettext.C (_): use it.
7632         (gettext_init): delete funciton
7633
7634 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7635
7636         * gettext.C (getLyXMessages): new singleton generating function.
7637
7638         * buffer.C (updateDocLang): adjust
7639
7640         * Makefile.am (messages.o): add target
7641         (main.o): remove target
7642
7643 2003-04-27  John Levon  <levon@movementarian.org>
7644
7645         * bufferlist.C:
7646         * lyx_cb.C:
7647         * lyxfunc.C:
7648         * lyxvc.C: specify cancel button in Alert::prompt
7649
7650 2003-04-26  John Levon  <levon@movementarian.org>
7651
7652         * text3.C:
7653         * lyxfunc.C:
7654         * lfuns.h:
7655         * LyXAction.C: add LFUN_INSET_SETTINGS
7656
7657         * lyxfunc.C: don't enable tabular-feature when there's
7658         just any locking inset
7659
7660 2003-04-26  John Levon  <levon@movementarian.org>
7661
7662         * bufferlist.C: re-add Cancel to buffer close question
7663
7664         * lyxfunc.C: fix import UI a bit
7665
7666 2003-04-25  John Levon  <levon@movementarian.org>
7667
7668         * gettext.C: remove the broken asserts for now
7669
7670 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7671
7672         * messages.C: make case where setlocale cannot comply work better.
7673
7674         * buffer.C (updateDocLang): new function
7675         (changeLanguage): use it
7676         (readFile): use it
7677
7678         * text2.C (setCounter): use B_ a bit.
7679
7680         * lyxlayout.C (Read): be sure to trim the label strings.
7681
7682         * messages.C (Messages): fix typo in comment
7683
7684         * buffer.C (readFile): set message_ after file is loaded.
7685         (makeDocBookFile): remove double return
7686         (changeLanguage): reset message_ upon language change.
7687         (B_): new func, use this to get translated buffer strings.
7688
7689         * main.C: add myself and Jean Marc as authors.
7690
7691 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7692
7693         * messages.[hC]: pimplify Messages, and three different pimpls to be
7694         used in different circumstances.
7695
7696         * gettext.[Ch]: change for use with new message code.
7697
7698 2003-04-24 André Pönitz <poenitz@gmx.net>
7699
7700         * factory.C: support for eqref
7701
7702 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7703
7704         * messages.[Ch]: add missing char
7705
7706         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7707
7708         * messages.[Ch]: New files
7709
7710 2003-04-18  John Levon  <levon@movementarian.org>
7711
7712         * BufferView.h:
7713         * BufferView.C:
7714         * BufferView_pimpl.C:
7715         * lfuns.h:
7716         * LyXAction.C:
7717         * lyxtext.h:
7718         * text2.C: remove layout-copy/paste (bug 778)
7719
7720 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7721
7722         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7723
7724 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7725
7726         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7727         if they succeed. Act accordingly.
7728
7729 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * text2.C (setCharFont): adjust
7732         (setCounter): adjust
7733         (insertStringAsLines): adjust
7734
7735         * text.C (leftMargin): adjust
7736         (setHeightOfRow): adjust
7737
7738         * rowpainter.C (paintFirst): adjust
7739         (paintLast): adjust
7740
7741         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7742         (outerHook): ditto
7743         (isFirstInSequence): ditto
7744         (getEndLabel): ditto
7745         (outerFont): adjust
7746
7747         * paragraph.C (getParLanguage): comment out some hard stuff.
7748
7749         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7750         (sgmlError): ditto
7751         (simpleDocBookOnePar): ditto
7752         (makeDocBookFile): use ParagraphList::iterator
7753
7754         * CutAndPaste.C (pasteSelection): adjust
7755
7756 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7757
7758         * text2.C (getFont): adjust
7759         (getLayoutFont): adjust
7760         (getLabelFont): adjust
7761
7762         * paragraph_funcs.C (TeXOnePar): adjust
7763
7764         * buffer.C (simpleLinuxDocOnePar): adjust
7765         (simpleDocBookOnePar): adjust
7766
7767         * CutAndPaste.C (pasteSelection): adjust
7768
7769         * BufferView.C (getEncoding): adjust
7770
7771         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7772
7773 2003-04-16  John Levon  <levon@movementarian.org>
7774
7775         * lyxfind.C: use parlist stuff for search/changes
7776
7777 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7778
7779         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7780
7781         * text2.C (deleteEmptyParagraphMechanism): adjust
7782
7783         * text2.[Ch] (ownerParagraph): delete func (both of them
7784
7785 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7786
7787         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7788
7789 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7790
7791         * ParagraphList.C: prepare for NO_NEXT
7792
7793 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7794
7795         * text2.C (getFont): adjust
7796         (getLayoutFont): adjust
7797         (getLabelFont): adjust
7798
7799         * paragraph.C (getFont): adjust
7800         (getLabelFont): adjust
7801         (getLayoutFont): adjust
7802
7803         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7804
7805 2003-04-15  John Levon  <levon@movementarian.org>
7806
7807         From Angus Leeming
7808
7809         * lyx_main.C: handle Include in .ui files
7810
7811 2003-04-15  John Levon  <levon@movementarian.org>
7812
7813         * MenuBackend.C: make the doc files length shorter
7814
7815         * ToolbarBackend.h:
7816         * ToolbarBackend.C: handle toolbar placement flags,
7817         Minibuffer
7818
7819 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7820
7821         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7822         adjust
7823
7824         * paragraph_funcs.C (TeXOnePar): adjust
7825
7826         * paragraph.C (getLabelFont): add outerfont arg, adjust
7827         (getLayoutFont): ditto
7828         (simpleTeXOnePar): adjust
7829
7830         * paragraph_pimpl.C (realizeFont): delete func
7831
7832 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7833
7834         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7835         row argument, constify cur argument.
7836
7837 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7838
7839         * text2.C (getFont): adjust
7840         (getLayoutFont): adjust
7841         (getLabelFont): adjust
7842
7843         * paragraph_funcs.C (TeXOnePar): adjust
7844         (outerFont): new func...
7845         (realizeFont): ...moved out from here, changed this to facilitate
7846         transition
7847
7848         * paragraph.C (getFont): take outerfont as arg, adjust
7849         (simpleTeXOnePar): add outerfont arg, adjust
7850
7851         * buffer.C (simpleLinuxDocOnePar): adjust
7852         (simpleDocBookOnePar): adjust
7853
7854         * CutAndPaste.C (pasteSelection): adjust
7855
7856         * BufferView.C (getEncoding): adjust
7857
7858 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7859
7860         * text2.C (setCharFont): adjust
7861         (setCounter): adjust
7862
7863         * text.C (leftMargin): adjust
7864         (setHeightOfRow): adjust
7865
7866         * rowpainter.C (paintFirst): adjust
7867         (paintLast): adjust
7868
7869         * paragraph_pimpl.C (realizeFont): adjust
7870
7871         * paragraph.C (isFirstInSequence): move from here...
7872         * paragraph_funcs.C (isFirstInSequence): ...to here
7873
7874         * paragraph.C (outerHook): move from here...
7875         * paragraph_funcs.C (outerHook): ...to here
7876
7877         * paragraph.C (depthHook): move from here...
7878         * paragraph_funcs.C (depthHook): ...to here
7879
7880         * paragraph.C (getEndLabel): move from here...
7881         * paragraph_funcs.C (getEndLabel): ...to here
7882
7883         * text2.C (realizeFont): move from here...
7884         * paragraph_funcs.C (realizeFont): ...to here
7885
7886 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7887
7888         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7889
7890 2003-04-14  Angus Leeming  <leeming@lyx.org>
7891
7892         * LColor.[Ch]: scrap LColor mathcursor.
7893
7894 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7895
7896         * lyxlex.[Ch] (text): delete function
7897         * trans.C (Load): adjust
7898         * paragraph_funcs.C (readParToken): adjust
7899
7900 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7901
7902         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7903         vector<char> instead of a char[].
7904
7905         * lyxlex_pimpl.C (getString): adjust
7906         (next): adjust
7907         (lex): use getString
7908         (eatLine): adjust
7909         (nextToken): adjust
7910
7911         * lyxlex.C (text): use pimpl_->getString()
7912         (getBool): ditto
7913         (findToken): ditto
7914
7915 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7916
7917         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7918         (makeFontEntriesLayoutSpecific): temp var for par.size()
7919         (setLayout): temp var for ownerParagraphs().end()
7920         (fullRebreak): temp var for rows().end()
7921         (selectionAsString): temp var for boost::next(startpit), realize
7922         that the while really is a regular for loop.
7923         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7924         setCursor in one place.
7925         (setParagraph): temp vr for ownerParagraphs().end()
7926         (updateCounters): make the while loop a for loop
7927         (cutSelection): temp var for ownerParagraphs().end()
7928         (updateInset): make the do {} while() a regular for loop
7929         (getCursorX): use temp vars
7930         (setCurrentFont): use temp vars
7931         (getColumnNearX): use temp vars
7932
7933 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7934
7935         * text.C (transformChar): use temp var for getChar
7936         (computeBidiTables): use temp var for row->par()
7937         (fill): move temp vars for row->par() and pit->layout() earlier in
7938         the function.
7939         (labelFill): use temp var for row->par()
7940         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7941         asc and desc, realize that pit never changes and that firstpit is
7942         just a duplicate and not needed. Exchange rit->par() with pit in a
7943         lot of places.
7944         (breakAgain): use a temp var for boost::next(rit)
7945         (breakAgainOneRow): ditto
7946         (breakParagraph): use a temp var for rows().begin()
7947         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7948         (cursorRightOneWord): use temp var for cursor.par() and
7949         cursor.pos(), remove usage of tmpcursor.
7950         (cursorLeftOneWord): use temp var for cursor.par() and
7951         cursor.pos() only set cur at end of function.
7952
7953 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7954
7955         * text.C, text2.C: exchange all usage of Paragraph::next with
7956         boost::next(ParagraphList::iterator)
7957
7958         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7959
7960         * text2.C (cursorTop): simplify implementation
7961         (cursorBottom): ditto
7962         (setParagraph): use ParagraphList::iterator
7963         (setCurrentFont): adjust
7964         (getColumnNearX): adjust
7965         (cursorRight): adjust
7966         (cursorLeft): remove usage of Paragraph::previous
7967         (cursorUpParagraph): ditto
7968         (deleteEmptyParagraphMechanism): slight cleanup
7969
7970         * text.C (isBoundary): take a Paragraph const & instead of a
7971         pointer as arg.
7972         (addressBreakPoint): ditto
7973         (leftMargin): remove usage of Paragraph::previous.
7974         (setHeightOfRow): ditto
7975         (cursorLeftOneWord): ditto
7976         (selectNextWordToSpellcheck): ditto
7977         (Delete): ditto
7978         (backspace): ditto
7979         (breakParagraph): remove one usage of Paragraph::next
7980         (redoParagraph): ditto
7981         (acceptChange): ditto
7982         (insertChar): adjust
7983         (rowBreakPoint): adjust
7984
7985         * bufferview_funcs.C (toggleAndShow): adjust
7986
7987 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7988
7989         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7990         methods to access it.
7991         * lyxtext.h:
7992         * text.C: Added updateRowPositions to compute all row positions.
7993         Make top_y and getRowNearY() to use the cached y position
7994
7995 2003-04-11  John Levon  <levon@movementarian.org>
7996
7997         * text.C (rowBreakPoint): reintroduce the labelEnd
7998         checks, code copied from the row fill stuff. Deep voodoo.
7999
8000         * text.C (fill): add a comment and debugging for the
8001         next poor soul.
8002
8003 2003-04-11  John Levon  <levon@movementarian.org>
8004
8005         * text.C: make sure fullrow insets get wrapped to the next line,
8006         even when they're in a manual label
8007
8008 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8009
8010         * text2.C (insertParagraph): make it take ParagraphList::iterator
8011         as arg.
8012         (setLayout): make it return ParagraphList::iterator
8013         (redoParagraphs): ditto
8014         (setCounter): ditto
8015         (checkParagraph): ditto
8016
8017         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8018
8019         * text2.C: adjust several funcs.
8020         (realizeFont): take a ParagraphList::iterator as arg.
8021         (getLayoutFont): ditto
8022         (getLabelFont): ditto
8023         (setCharFont): ditto
8024
8025         * text.C: adjust several funcs.
8026
8027 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8028
8029         * text.C (selectNextWordToSpellcheck): don't accidentally
8030         skip insets
8031
8032 2003-04-10  John Levon  <levon@movementarian.org>
8033
8034         * ToolbarBackend.C (getIcon): special handling for
8035         LFUN_MATH_DELIM
8036
8037 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8038
8039         * text2.C (cursorRight): a getChar assert fixed
8040
8041 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8042
8043         * text2.C (getFont): change to take a ParagraphList::iterator
8044         instead of Paragraph*
8045         Adjust several functions.
8046
8047         * text.C (transformChar): change to take a ParagraphList::iterator
8048         instead of Paragraph*
8049         (singleWidth): ditto
8050         Adjust several functions.
8051
8052         * rowpainter.C: adjust several functions
8053         * rowpainter.h:store a ParagraphList::iterator and not a
8054         Paragraph&.
8055
8056
8057 2003-04-09  John Levon  <levon@movementarian.org>
8058
8059         * lyxfunc.C:
8060         * lfuns.h:
8061         * LyXAction.h:
8062         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8063         and the "help" bits as well
8064
8065 2003-04-09  John Levon  <levon@movementarian.org>
8066
8067         * ToolbarBackend.h:
8068         * ToolbarBackend.C: allow multiple toolbars
8069
8070 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8071
8072         * undo_funcs.C (setCursorParUndo): adjust
8073
8074         * text_funcs.C (transposeChars): adjust
8075
8076         * text3.C (gotoNextInset): adjust
8077         (dispatch): adjust
8078
8079         * text2.C (setLayout): adjust
8080         (changeDepth): adjust
8081         (setFont): adjust
8082         (redoParagraphs): adjust
8083         (selectionAsString): adjust
8084         (setParagraph): adjust
8085         (insertInset): adjust
8086         (cutSelection): adjust
8087         (copySelection): adjust
8088         (pasteSelection): adjust
8089         (insertStringAsLines): adjust
8090         (updateInset): adjust
8091         (setCursor): change to take a ParagraphList::iterator parameter
8092         (setCursorIntern): change to take a ParagraphList::iterator parameter
8093         (setCurrentFont): adjust
8094         (cursorLeft): adjust
8095         (cursorRight): adjust
8096         (deleteEmptyParagraphMechanism): adjust
8097
8098         * text.C (breakParagraph): adjust
8099         (insertChar): adjust
8100         (acceptChange): adjust
8101         (rejectChange): adjust
8102         (selectNextWordToSpellcheck): adjust
8103         (changeCase): adjust
8104         (Delete): adjust
8105         (backspace): adjust
8106
8107         * lyxfind.C (SearchForward): adjust
8108         (SearchBackward): adjust
8109         (nextChange): adjust
8110
8111         * lyxcursor.C (par): adjust
8112
8113         * lyxcursor.h: store a ParagraphList::iterator instead of a
8114         Paragraph*
8115
8116         * lyx_cb.C (getPossibleLabel): adjust
8117
8118         * bufferview_funcs.C (toggleAndShow): adjust
8119
8120         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8121         (dispatch): adjust
8122
8123         * BufferView.C (removeAutoInsets): adjust
8124         (lockedInsetStoreUndo): adjust
8125
8126 2003-04-09  John Levon  <levon@movementarian.org>
8127
8128         * ToolbarBackend.C: try icon without argument
8129         if with argument fails
8130
8131 2003-04-08  John Levon  <levon@movementarian.org>
8132
8133         * ToolbarBackend.h:
8134         * ToolbarBackend.C: add getIcon(), handle tooltip,
8135         and change from "Icon" to "Item".
8136
8137 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8138
8139         * BufferView.C (lockInset): another bad getchar crunched
8140
8141 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8142
8143         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8144         again)
8145
8146 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8147
8148         * lyxfind.C (searchForward, searchBackwards): bug 782
8149
8150 2003-04-07  John Levon  <levon@movementarian.org>
8151
8152         * paragraph.C: remove dead comment
8153
8154         * text.C: remove troublesome depth-fiddling code
8155         in leftMargin() and rightMargin() (bug 1017)
8156
8157         * text.C: fix breaking of rows in nested lists
8158         (bug 1004)
8159
8160         * text2.C (updateCounters): fix up depth values
8161         (bug 1013)
8162
8163 2003-04-07  John Levon  <levon@movementarian.org>
8164
8165         * BufferView_pimpl.C: clear message when doc finishes resizing,
8166         and after a mouse event
8167
8168         * lyxfunc.C: clear message after exiting inset
8169
8170 2003-04-07  John Levon  <levon@movementarian.org>
8171
8172         * bufferview_funcs.C: show math status not outside
8173         status in the statusbar
8174
8175 2003-04-07  John Levon  <levon@movementarian.org>
8176
8177         * lyxfunc.C: note status changed after a depth change
8178
8179 2003-04-04  Angus Leeming  <leeming@lyx.org>
8180
8181         * LaTeX.h: move AuxInfo operator==, != out of line.
8182         Remove LaTeX virtual destructor; nothing derives from it.
8183         Move operator()() out of public area and rename it startscript().
8184         Change protected for private.
8185
8186 2003-04-04  Angus Leeming  <leeming@lyx.org>
8187
8188         * lyxfunc.C:
8189         * text2.C: remove unneeded #includes.
8190
8191 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8192
8193         * text2.C (dEPM): fix the heigth of the next row
8194
8195 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8196
8197         * text.C: squashed an invalid getChar requester + some ws changes
8198
8199 2003-04-03  John Levon  <levon@movementarian.org>
8200
8201         * bufferview_funcs.h:
8202         * bufferview_funcs.C:
8203         * lyxfunc.C:
8204         * lyxtext.h:
8205         * text2.C: make getStatus work for the env depth lfuns
8206
8207 2003-04-03  John Levon  <levon@movementarian.org>
8208
8209         * bufferview_funcs.h:
8210         * bufferview_funcs.C:
8211         * lyxfunc.C:
8212         * lyxtext.h:
8213         * text2.C: parlistize decDepth(), by merging it with incDepth()
8214
8215 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8216
8217         * lyxrow.h: store a ParagraphList::iterator instead of a
8218         Paragraph* and adjust other class functions to suit.
8219
8220         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8221         above.
8222
8223 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8224
8225         * text2.C (setCursor): do not anchor to cursor row for the time being
8226
8227 2003-04-02  John Levon  <levon@movementarian.org>
8228
8229         * LyXAction.C:
8230         * lfuns.h:
8231         * lyx_main.C:
8232         * lyxtext.h:
8233         * text.C:
8234         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8235
8236 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8237
8238         * paragraph.h: make ParagraphList and ParagraphList::iterator
8239         friends of Paragraph.
8240
8241         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8242
8243         * ParagraphList.C: Use the private next_ and previous_ from
8244         Paragraph.
8245
8246 2003-04-01  John Levon  <levon@movementarian.org>
8247
8248         * ToolbarBackend.h:
8249         * ToolbarBackend.C:
8250         * Makefile.am: rename, remove defaults gunk
8251
8252         * MenuBackend.h:
8253         * MenuBackend.C: remove defaults gunk
8254
8255         * Languages.h:
8256         * Languages.C: remove defaults gunk
8257
8258         * lyx_main.h:
8259         * lyx_main.C: error out if files couldn't be found.
8260
8261 2003-04-02  John Levon  <levon@movementarian.org>
8262
8263         * text2.C: make incDepth() use parlist
8264
8265 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8266
8267         * undo_funcs.C (firstUndoParagraph): adjust
8268
8269         * text3.C (gotoInset): adjust
8270         (dispatch): adjust, and rewrite loop.
8271
8272         * text2.C (init): adjust, and rewrite loop.
8273         (redoParagraphs): adjust
8274         (updateInset): adjust, and rewrite loop.
8275         (deleteEmptyParagraphMechanism): adjust
8276
8277         * tabular.C (LyXTabular): adjust
8278         (SetMultiColumn): adjust
8279         (TeXRow): adjust
8280
8281         * lyxtext.[Ch] (ownerParagraph): delete function
8282         (ownerParagraphs): new function returns a ParagraphList.
8283
8284         * BufferView.C (removeAutoInsets): adjust
8285         (insertErrors): adjust
8286         (setCursorFromRow): adjust
8287
8288 2003-04-01  Angus Leeming  <leeming@lyx.org>
8289
8290         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8291         in the frontends.
8292
8293 2003-04-02  John Levon  <levon@movementarian.org>
8294
8295         * lyxtext.h:
8296         * text.C:
8297         * Makefile.am:
8298         * text_funcs.h:
8299         * text_funcs.C: make transposeChars a free function
8300
8301         * lyxrow_funcs.C: remove wrong comment
8302
8303 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8304
8305         * lyxtext.h: adjust
8306         * rowpainter.C: adjust
8307         * text.C: adjust
8308         * text2.C: adjust
8309         * text3.C: adjust
8310
8311         * lyxrow_funcs. [Ch]: new files
8312
8313         * lyxrow.[Ch]: remove next and previous pointers
8314         (next,previous): remove accessor functions
8315         (isParEnd): move to lyxrow_funcs
8316         (lastPos): move to lyxrow_funcs
8317         (nextRowIsAllInset): move to lyxrow_funcs
8318         (lastPrintablePos): move to lyxrow_funcs
8319         (numberOfSeparators): move to lyxrow_funcs
8320         (numberOfHfills): move to lyxrow_funcs
8321         (numberOfLabelHfills): move to lyxrow_funcs
8322         (hfillExpansion): move to lyxrow_funcs
8323
8324         * lyxfunc.C: adjust
8325
8326         * bufferview_funcs.C (toggleAndShow): adjust
8327
8328         * RowList.h: Remove class RowList from file leave just a
8329         std::list<Row>.
8330
8331         * RowList.C: delete file
8332
8333         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8334         and lyxrow_funcs.h
8335
8336 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8337
8338         * text3.C (cursorPrevious): adjust
8339         (cursorNext): adjust
8340         (dispatch): adjust
8341
8342         * text2.C (redoHeightOfParagraph): adjust
8343         (redoDrawingOfParagraph): adjust
8344         (setCursor): adjust
8345
8346         * text.C (breakParagraph): adjust
8347         (insertChar): adjust
8348         (backspace): adjust
8349
8350         * rowpainter.C (RowPainter): adjust
8351         (leftMargin): simplify and adjust
8352         (most rowpainter functions): adjust.
8353
8354         * rowpainter.h: store the row as RowList::iterator not as Row*
8355
8356         * lyxcursor.C (row): taka RowList::iterator as arg
8357         (irow): ditto
8358
8359         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8360         of Row*.
8361
8362 2003-04-01  Angus Leeming  <leeming@lyx.org>
8363
8364         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8365         stuff like bool Bool.
8366
8367 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8368
8369         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8370         rewrite a loop
8371
8372 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8373
8374         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8375         RowList::iterator.
8376
8377         * lyxtext.h (rows): drop one version and leve a const variant that
8378         returns a RowList::iterator.
8379
8380 2003-03-31  Angus Leeming  <leeming@lyx.org>
8381
8382         * text.C (fill): ensure that the signature is the same as that in the
8383         header file.
8384
8385 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8386
8387         * text2.C (redoParagraphs): adjust
8388         (updateCounters): adjust
8389         (checkParagraph): adjust
8390         (getColumnNearX): adjust and reformat a bit.
8391
8392         * text.C (top_y): adjust
8393         (workWidth): adjust
8394         (leftMargin): adjust
8395         (prepareToPrint): adjust
8396         (getRow): adjust
8397         (getRowNearY): adjust
8398
8399         * lyxtext.h: make rowlist_ mutable.
8400
8401         * RowList.h: add const_iterator
8402         * RowList.C: adjust for RowList::const_iterator.
8403
8404         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8405         adjust.
8406
8407 2003-03-31  John Levon  <levon@movementarian.org>
8408
8409         * lyxrc.h:
8410         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8411
8412         * lyx_main.C: set default fonts from using lyx_gui funcs
8413
8414         * exporter.C: pdf_mode moved from lyxrc
8415
8416         * lyx_cb.C:
8417         * lyxfunc.C: changes from above
8418
8419 2003-03-31  John Levon  <levon@movementarian.org>
8420
8421         * lyx_main.C: fix to the last fix
8422
8423 2003-03-31  John Levon  <levon@movementarian.org>
8424
8425         * bufferlist.C: "Load original" -> "Load Original"
8426
8427         * converter.C:
8428         * exporter.C:
8429         * importer.C:
8430         * lyx_main.C:
8431         * format.C: more Alert cleanups
8432
8433 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8434
8435         * text2.C (removeParagraph): make it take a RowList::iterator as
8436         arg, adjust.
8437         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8438         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8439
8440         * text.C (anchor_row): make it take a RowList::iterator as arg,
8441         adjust.
8442         (computeBidiTables): make it take a const reference to Row instead
8443         of Row pointer, adjust.
8444         (leftMargin): make it take a RowList::iterator as arg, adjust.
8445         (rowBreakPoint): adjust
8446         (breakAgainOneRow): make it take a RowList::iterator as arg,
8447         adjust.
8448         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8449
8450         * bufferview_funcs.C (toggleAndShow): adjust
8451
8452 2003-03-30  John Levon  <levon@movementarian.org>
8453
8454         * Makefile.am:
8455         * BoostFormat.h:
8456         * boost-inst.C: moved to support
8457
8458         * several files: changes as a result
8459
8460 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8461
8462         * text2.C (LyXText): adjust.
8463         (init): adjust
8464         (removeRow): make it take a RowList::iterator as arg, adjust.
8465         (fullRebreak): adjust
8466         (deleteEmptyParagraphMechanism): adjust
8467         (clearPaint): adjust
8468         (postPaint): adjust
8469
8470         * text.C (top_y): adjust
8471         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8472         (breakAgain): make it take a RowList::iterator as arg, adjust.
8473         (breakParagraph): adjust
8474         (insertChar): adjust
8475         (backspace): adjust
8476
8477         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8478         need_break_row, and refresh_row.
8479
8480         * text3.C (dispatch): adjust
8481
8482         * text2.C (checkParagraph): adjust
8483         (setCursor): adjust
8484         (setCursorFromCoordinates): adjust
8485
8486         * text.C (top_y): adjust
8487         (workWidth): adjust
8488         (getRow): make it return a RowList::iterator, adjust
8489         (getRowNearY): make it return a RowList::iterator, adjust
8490
8491         * text2.C (init): adjust
8492         (insertRow): remove function
8493         (insertParagraph): adjust
8494         (redoParagraphs): adjust
8495         (fullRebreak): adjust
8496         (updateCounters): adjust
8497
8498         * text.C (top_y): rewrite to use RowList iterators.
8499         (top_y): adjust
8500         (setHeightOfRow): rewrite to sue RowList iterators.
8501         (appendParagraph): adjust
8502         (breakAgain): adjust
8503         (breakAgainOneRow): adjust
8504         (breakParagraph): adjust
8505         (getRow): adjust
8506         (getRowNearY): adjust, and remove commented code.
8507
8508         * lyxtext.h (firstRow): delete function
8509         (lastRow): delete function
8510         (rows): new function (const and non-const versions.)
8511         (insertRow): delete function
8512
8513         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8514
8515 2003-03-29  John Levon  <levon@movementarian.org>
8516
8517         * BufferView_pimpl.C: always update scrollbar top
8518         because pasting text when we're anchored could mean we
8519         miss an update altogether
8520
8521 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8522
8523         * text2.C (init): use rowlist_.end() and not 0.
8524         (insertRow): change to take a RowList::iterator as arg, adjust
8525         for this.
8526         (insertParagraph): change to take a RowList::iterator as arg,
8527         adjust for this.
8528         (redoParagraphs): remove some debug msgs.
8529
8530         * text.C (appendParagraph): change to take a RowList::iterator
8531         arg, adjust for this.
8532         (breakAgain): add an assert
8533         (breakAgainOneRow): ditto
8534
8535 2003-03-29  John Levon  <levon@movementarian.org>
8536
8537         * text2.C: do not clear selection after inc/decDepth
8538         (bug 550)
8539
8540 2003-03-29  John Levon  <levon@movementarian.org>
8541
8542         * BufferView.C:
8543         * buffer.C: fix broken strerrors according to Lars
8544
8545 2003-03-29  John Levon  <levon@movementarian.org>
8546
8547         * converters.C: more Alert cleanups
8548
8549 2003-03-29  John Levon  <levon@movementarian.org>
8550
8551         * bufferview_funcs.C: remove pointless Alert
8552
8553         * buffer.C: fix confusing error message when
8554         a template is chmoded 000
8555
8556 2003-03-29  John Levon  <levon@movementarian.org>
8557
8558         * BufferView.C:
8559         * BufferView.h:
8560         * BufferView_pimpl.C: Alert fixes
8561
8562         * Makefile.am:
8563         * tabular.C:
8564         * tabular-old.C: remove unused table compat reading
8565
8566 2003-03-29  John Levon  <levon@movementarian.org>
8567
8568         * BufferView.C:
8569         * buffer.C:
8570         * lyx_cb.h:
8571         * lyx_cb.C: more Alert cleanups
8572
8573         * lyxfunc.C: don't allow chktex if not latex document
8574
8575 2003-03-29  John Levon  <levon@movementarian.org>
8576
8577         * lyx_cb.C:
8578         * BufferView.C:
8579         * buffer.C: warnings pushed down from support/,
8580         kill err_alert
8581
8582 2003-03-29  John Levon  <levon@movementarian.org>
8583
8584         * lyxfunc.C: safety check for C-r (revert)
8585
8586 2003-03-29  John Levon  <levon@movementarian.org>
8587
8588         * bufferlist.h:
8589         * bufferlist.C: several UI fixes using Alert::prompt.
8590         Fix the pointless looping quit code. Fix stupid revert
8591         behaviour (bug 938)
8592
8593         * lyxvc.h:
8594         * lyxvc.C:
8595         * lyx_cb.C: use Alert::prompt
8596
8597         * lyx_main.C: remove a silly question
8598
8599         * lyxfunc.C: remove a couple of silly questions,
8600         use Alert::prompt
8601
8602 2003-03-28  John Levon  <levon@movementarian.org>
8603
8604         * text2.C: fix bug 974 (End on empty par)
8605
8606 2003-03-28  John Levon  <levon@movementarian.org>
8607
8608         * BufferView_pimpl.C:
8609         * LyXAction.C:
8610         * lfuns.h: remove do-nothing math greek lfuns
8611
8612 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8613
8614         * lyxgluelength.h (isValidGlueLength): add default arg on
8615         parameter 2. Remove default arg from friend in class.
8616
8617         * lyxlength.h (isValidLength): add default arg on parameter 2.
8618         Remove default arg from friend in class.
8619
8620         * text2.C (LyXText): adjust, initialize refresh_row.
8621         (init): adjust
8622         (removeRow): adjust
8623         (insertRow): adjust
8624         (insertParagraph): adjst
8625         (redoParagraphs): adjust
8626         (fullRebreak): adjust
8627         (updateCounters): adjust
8628         (deleteEmptyParagraphMechanism): first attempt at fixing a
8629         crashing bug.
8630
8631         * text.C (top_y): adjust
8632         (setHeightOfRow): adjust
8633         (getRow): adjust
8634         (getRowNearY): adjust
8635
8636         * lyxtext.h: include RowList.h
8637         (~LyXText): not needed anymore, deleted.
8638         (firstRow): modify for RowList
8639         (lastRow): new function
8640         Delete firstrow and lastrow class variables, add a Rowlist
8641         rowlist_ class variable.
8642
8643         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8644         paragraph is empty.
8645
8646         * RowList.C (insert): fix case where it == begin().
8647
8648 2003-03-26  Angus Leeming  <leeming@lyx.org>
8649
8650         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8651         the thesaurus dialog.
8652
8653 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8654
8655         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8656
8657         * RowList.[Ch]: new files
8658
8659         * ParagraphList.C (erase): handle the case where it == begin
8660         correctly.
8661
8662 2003-03-25  John Levon  <levon@movementarian.org>
8663
8664         * Makefile.am:
8665         * aspell_local.h:
8666         * aspell.C: add new aspell support
8667
8668         * lyxrc.h:
8669         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8670         have it accessible.
8671
8672 2003-03-25  Angus Leeming  <leeming@lyx.org>
8673
8674         * lfuns.h:
8675         * LyXAction.C (init): new LFUN_INSET_INSERT.
8676
8677         * BufferView_pimpl.C (dispatch): split out part of the
8678         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8679
8680         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8681         LFUN_INSET_APPLY.
8682
8683 2003-03-25  Angus Leeming  <leeming@lyx.org>
8684
8685         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8686
8687 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8688
8689         * text2.C:
8690         * text3.C: remove useless row->height(0)
8691
8692 2003-03-25  John Levon  <levon@movementarian.org>
8693
8694         * lyxtext.h:
8695         * text2.C:
8696         * text3.C: rename the refreshing stuff to better names
8697
8698 2003-03-24  John Levon  <levon@movementarian.org>
8699
8700         * BufferView_pimpl.h:
8701         * BufferView_pimpl.C: update layout choice on a mouse
8702         press/release
8703
8704 2003-03-23  John Levon  <levon@movementarian.org>
8705
8706         * Makefile.am: fix commandtags.h reference
8707
8708 2003-03-22  John Levon  <levon@movementarian.org>
8709
8710         * BufferView_pimpl.C:
8711         * lyxtext.h:
8712         * rowpainter.C:
8713         * rowpainter.h:
8714         * text.C:
8715         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8716
8717 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8718
8719         * lyxtext.h:
8720         * text.C: take the rtl methods out of line
8721
8722 2003-03-21 André Pönitz <poenitz@gmx.net>
8723
8724         * metricsinfo.[Ch]: new files containing structures to be passed around
8725         during the two-phase-drawing...
8726
8727 2003-03-21 André Pönitz <poenitz@gmx.net>
8728
8729         * lyxtextclass.C: read 'environment' tag.
8730
8731 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8732
8733         * text2.C (removeRow): fix bug 964
8734
8735 2003-03-20  John Levon  <levon@movementarian.org>
8736
8737         * rowpainter.C:
8738         * text.C:
8739         * text2.C: paint cleanups. Inset::update() dropped font
8740         parameter
8741
8742 2003-03-19  John Levon  <levon@movementarian.org>
8743
8744         * lyxfunc.C: only fitcursor/markDirty if available()
8745
8746 2003-03-19  John Levon  <levon@movementarian.org>
8747
8748         * commandtags.h: rename to ...
8749
8750         * lfuns.h: ... this, and renumber / cleanup
8751
8752 2003-03-19  John Levon  <levon@movementarian.org>
8753
8754         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8755         fit the cursor after an lfun
8756
8757         * BufferView.h:
8758         * BufferView.C:
8759         * BufferView_pimpl.h:
8760         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8761
8762         * LyXAction.C: layout-character should have ReadOnly
8763
8764         * ParagraphParameters.C:
8765         * buffer.C:
8766         * bufferview_funcs.C:
8767         * lyx_cb.C:
8768         * lyxfind.C:
8769         * lyxtext.h:
8770         * text.C:
8771         * text2.C:
8772         * text3.C:
8773         * undo_funcs.C: changes from above
8774
8775 2003-03-18  John Levon  <levon@movementarian.org>
8776
8777         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8778         remove it from update()
8779
8780         * lyxfunc.C: update layout choice after an lfun
8781
8782         * text3.C: remove extra updateLayoutChoice()s
8783
8784 2003-03-18  John Levon  <levon@movementarian.org>
8785
8786         * text.C: top_y change means full repaint, fix
8787         a drawing bug with cursor movement
8788
8789 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8790
8791         * lyxtext.h:
8792         * text.C:
8793         * text2.C: anchor row on setCursor
8794
8795 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8796
8797         * lyxtext.h: remove almost all mutable keywords
8798         * text.C:
8799         * text2.C:
8800         * text3.C: remove const keywords accordingly
8801
8802 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8803
8804         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8805         anon namespace
8806         (TeXEnvironment): ditto
8807         (TeXOnePar): ditto
8808
8809 2003-03-17  John Levon  <levon@movementarian.org>
8810
8811         * text.C (rowBreakPoint): remove attempt to fix displayed
8812         math insets inside a manual label
8813
8814 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8815
8816         * lyxtext.h: remove BufferView* as first arg from almost all class
8817         functions.
8818         * other files: adjust.
8819
8820 2003-03-17  John Levon  <levon@movementarian.org>
8821
8822         * lyxtext.h:
8823         * undo_funcs.C:
8824         * text2.C: more paint cleanups
8825
8826         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8827
8828         * rowpainter.h:
8829         * rowpainter.C: remove "smart" background painting code
8830
8831 2003-03-16  John Levon  <levon@movementarian.org>
8832
8833         * lyxtext.h:
8834         * text.C:
8835         * text2.C:
8836         * text3.C: add helper functions for setting refresh_row/y
8837
8838 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8839
8840         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8841         newline inset which *can* get inserted in the pass_thru layouts.
8842         This is primarily for literate documents.
8843
8844 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8845
8846         * buffer.C: increment LYX_FORMAT to 223
8847
8848 2003-03-14 André Pönitz <poenitz@gmx.net>
8849
8850         * textclass.h: prepare for environment handling, ws changes
8851         * lyxlayout.C: read latexheader and latexfooter tags
8852
8853 2003-03-14  John Levon  <levon@movementarian.org>
8854
8855         * text2.C: rewrite ::status() a bit
8856
8857 2003-03-13  John Levon  <levon@movementarian.org>
8858
8859         * lyxtext.h: add some docs
8860
8861 2003-03-13  John Levon  <levon@movementarian.org>
8862
8863         * lyxtext.h:
8864         * text.C:
8865         * text2.C:
8866         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8867
8868 2003-03-13  John Levon  <levon@movementarian.org>
8869
8870         * text3.C: fix appendix redrawing
8871
8872 2003-03-13  John Levon  <levon@movementarian.org>
8873
8874         * text.C (setHeightOfRow):
8875         * rowpainter.h:
8876         * rowpainter.C: make appendix mark have the text
8877           "Appendix" so the user knows what it is
8878
8879         * LColor.h:
8880         * LColor.C: s/appendixline/appendix/ from above
8881
8882 2003-03-13  John Levon  <levon@movementarian.org>
8883
8884         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8885
8886         * text.C: fix a getChar(pos) bug properly
8887
8888 2003-03-13  Angus Leeming  <leeming@lyx.org>
8889
8890         * commandtags.h:
8891         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8892         Probably only temporary. Let's see how things pan out.
8893
8894         * BufferView.C (unlockInset):
8895         * BufferView_pimpl.C (fitCursor):
8896         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8897
8898         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8899         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8900
8901         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8902         new functions that convert ParagraphParameters to and from a string.
8903
8904         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8905         BufferView::Pimpl's dispatch.
8906         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8907
8908 2003-03-13 André Pönitz <poenitz@gmx.net>
8909
8910         * lyxfunc.C:
8911         * text3.C:
8912         * factory.C: make it aware of InsetEnv
8913
8914 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8915
8916         * text2.C (setCursor): never ask for one past last
8917         (setCursor): add some debugging messages.
8918
8919         * text.C (singleWidth): never ask for one past last
8920         (singleWidth): ditto
8921         (leftMargin): ditto
8922         (rightMargin): ditto
8923         (rowBreakPoint): ditto
8924         (setHeightOfRow): ditto
8925         (prepareToPrint): ditto
8926
8927         * rowpainter.C (paintBackground): never ask for one past last
8928         (paintText): never ask for one past last
8929
8930         * paragraph_pimpl.C (getChar): make the assert stricter, never
8931         allow the one past last pos to be taken
8932
8933         * paragraph.C (getChar): ws changes only
8934
8935         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8936         (numberOfSeparators): ditto
8937         (numberOfHfills): ditto
8938
8939 2003-03-12  John Levon  <levon@movementarian.org>
8940
8941         * author.h:
8942         * author.C:
8943         * bufferparams.h:
8944         * bufferparams.C:
8945         * paragraph_funcs.C: fix per-buffer authorlists
8946
8947 2003-03-12  John Levon  <levon@movementarian.org>
8948
8949         * text.C: fix newline in right address
8950
8951 2003-03-12  Angus Leeming  <leeming@lyx.org>
8952
8953         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8954         duplicate those in LyXFunc::dispatch.
8955
8956         * commandtags.h:
8957         * LyXAction.C:
8958         * ToolbarDefaults.C:
8959         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8960         Add LFUN_FONTFREE_UPDATE.
8961
8962         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8963         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8964
8965         * bufferview_func.[Ch]: several new functions to facilliate
8966         transfer of data to and from the character dialog.
8967
8968 2003-03-12  John Levon  <levon@movementarian.org>
8969
8970         * buffer.C:
8971         * paragraph.h:
8972         * paragraph.C:
8973         * paragraph_funcs.C:
8974         * paragraph_pimpl.C:
8975         * sgml.C:
8976         * tabular.C:
8977         * text.C:
8978         * text3.C: remove META_NEWLINE in favour of an inset
8979
8980         * rowpainter.h:
8981         * rowpainter.C: remove paintNewline (done by inset)
8982
8983 2003-03-12  John Levon  <levon@movementarian.org>
8984
8985         * paragraph_pimpl.C: complain about bad getChar()s
8986         for a while at least
8987
8988 2003-03-12  John Levon  <levon@movementarian.org>
8989
8990         * buffer.h:
8991         * buffer.C: move paragraph read into a separate function,
8992         a little renaming to reflect that.
8993
8994         * bufferparams.h:
8995         * bufferparams.C: remove the author_ids map, not necessary now
8996
8997         * factory.h:
8998         * factory.C: moved Buffer::readInset to here
8999
9000         * paragraph_funcs.h:
9001         * paragraph_funcs.C: readParagraph free function moved from
9002         buffer.C
9003
9004         * tabular.C: name change
9005
9006 2003-03-12  John Levon  <levon@movementarian.org>
9007
9008         * buffer.C:
9009         * ParagraphParameters.C: move par params input to
9010         a read() method
9011
9012         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9013         behave like a normal read from the stream wrt reading
9014         a line vs. a \\token
9015
9016 2003-03-12  John Levon  <levon@movementarian.org>
9017
9018         * paragraph.C:
9019         * ParagraphParameters.h:
9020         * ParagraphParameters.C: move output code to a
9021         ::write() method
9022
9023 2003-03-12  John Levon  <levon@movementarian.org>
9024
9025         * BufferView.C (insertLyXFile):
9026         * buffer.h:
9027         * buffer.C:
9028         * tabular.C: use a parlist iterator for creating the
9029           document.
9030
9031 2003-03-12  John Levon  <levon@movementarian.org>
9032
9033         * buffer.C: make current_change static local not
9034           static file-scope
9035
9036 2003-03-12  John Levon  <levon@movementarian.org>
9037
9038         * buffer.C: fix insertStringAsLines for change tracking
9039
9040 2003-03-12  John Levon  <levon@movementarian.org>
9041
9042         * BufferView.C:
9043         * tabular.C:
9044         * buffer.h:
9045         * buffer.C:
9046         * bufferparams.h:
9047         * bufferparams.C: move author list into params. Rename some
9048           functions. Move the header reading into a separate token
9049           loop. Move the header token reading into BufferParams.
9050
9051 2003-03-12  John Levon  <levon@movementarian.org>
9052
9053         * changes.C: put debug inside lyxerr.debugging() checks
9054
9055 2003-03-11 André Pönitz <poenitz@gmx.net>
9056
9057         * factory.C: make it aware of InsetHFill
9058
9059 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9060
9061         * buffer.C (latexParagraphs): move function from here...
9062         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9063         args.
9064
9065 2003-03-10  Angus Leeming  <leeming@lyx.org>
9066
9067         * LyXAction.C (init): fix bug in poplating array with multiple entries
9068         with the same LFUN (spotted by JMarc).
9069
9070 2003-03-10  John Levon  <levon@movementarian.org>
9071
9072         * text.C:
9073         * text2.C: move getColumnNearX() near its
9074         only call site
9075
9076 2003-03-10  John Levon  <levon@movementarian.org>
9077
9078         * text.C: fix break before a minipage
9079
9080 2003-03-10  John Levon  <levon@movementarian.org>
9081
9082         * text.C: fix the last commit
9083
9084 2003-03-09  John Levon  <levon@movementarian.org>
9085
9086         * lyxtext.h:
9087         * text.C:
9088         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9089         bug 365 (don't break before insets unless needed). Don't
9090         return a value > last under any circumstances.
9091
9092 2003-03-09  Angus Leeming  <leeming@lyx.org>
9093
9094         * BufferView_pimpl.C (trackChanges, dispatch): call
9095         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9096
9097 2003-03-09  Angus Leeming  <leeming@lyx.org>
9098
9099         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9100         than Dialogs::showAboutlyx().
9101
9102 2003-03-09  Angus Leeming  <leeming@lyx.org>
9103
9104         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9105         than Dialogs::showTabularCreate().
9106
9107 2003-03-09  John Levon  <levon@movementarian.org>
9108
9109         * lyxtext.h:
9110         * text.C:
9111         * text2.C: 3rd arg to nextBreakPoint was always the same.
9112           Use references.
9113
9114 2003-03-08  John Levon  <levon@movementarian.org>
9115
9116         * lyxrow.C:
9117         * paragraph.C:
9118         * paragraph.h:
9119         * rowpainter.C:
9120         * text.C:
9121         * text2.C: Remove the "main" bit from the "main body"
9122           notion.
9123
9124 2003-03-08  John Levon  <levon@movementarian.org>
9125
9126         * text.C (leftMargin): The left margin of an empty
9127         manual label paragraph should not include the label width
9128         string length.
9129
9130         * text.C (prepareToPrint): don't attempt to measure hfills
9131         for empty manual label paragraphs - the answer should be 0
9132
9133 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9134
9135         * CutAndPaste.C: remove commented code and reindent.
9136
9137 2003-03-08  John Levon  <levon@movementarian.org>
9138
9139         * lyxfunc.h:
9140         * lyxfunc.C: move reloadBuffer()
9141
9142         * BufferView.h:
9143         * BufferView.C: to here
9144
9145         * lyxvc.C: add comment
9146
9147         * vc-backend.h:
9148         * vc-backend.C: call bv->reload() to avoid
9149           getStatus() check on MENURELOAD
9150
9151 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9152
9153         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9154         to an old format .dep file.
9155
9156 2003-03-07  Angus Leeming  <leeming@lyx.org>
9157
9158         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9159         when the LFUN_MOUSE_RELEASE should have been handled by
9160         inset->localDispatch.
9161
9162 2003-03-07  Angus Leeming  <leeming@lyx.org>
9163
9164         * BufferView_pimpl.C (dispatch):
9165         * LyXAction.C (init):
9166         * ToolbarDefaults.C (init):
9167         * commandtags.h:
9168         * lyxfunc.C (getStatus):
9169         remove LFUN_INSET_GRAPHICS.
9170
9171         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9172
9173 2003-03-07  Angus Leeming  <leeming@lyx.org>
9174
9175         * commandtags.h:
9176         * LyXAction.C (init):
9177         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9178
9179         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9180
9181         * commandtags.h:
9182         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9183
9184         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9185         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9186
9187 2003-03-07  Angus Leeming  <leeming@lyx.org>
9188
9189         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9190         remove "ert".
9191
9192 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9193
9194         * ParagraphList.C (front): new function
9195         (back): implement
9196
9197 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9198
9199         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9200         and top_row_offset_. removed var first_y.
9201         * text.C (top_y):
9202         * text2.C (LyXText, removeRow):
9203         * text3.C:
9204         * BufferView_pimpl.C:
9205         use these methods instead of using first_y
9206
9207 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9208
9209         * text2.C (pasteSelection): adjust for checkPastePossible
9210
9211         * CutAndPaste.C: remove Paragraph * buf and replace with
9212         ParagraphList paragraphs.
9213         (DeleteBuffer): delete
9214         (cutSelection): change the tc type to textclass_type
9215         (copySelection): change the tc type to textclass_type
9216         (copySelection): adjust for ParagraphList
9217         (pasteSelection): change the tc type to textclass_type
9218         (pasteSelection): adjust for Paragraphlist
9219         (nrOfParagraphs): simplify for ParagraphList
9220         (checkPastePossible): simplify for ParagraphList
9221         (checkPastePossible): remove unused arg
9222
9223         * ParagraphList.C (insert): handle the case where there are no
9224         paragraphs yet.
9225
9226         * CutAndPaste.h: make CutAndPaste a namespace.
9227
9228         * text3.C (dispatch): adjust
9229
9230         * text.C (breakParagraph): add a ParagraphList as arg
9231
9232         * paragraph_funcs.C (breakParagraph): change to take a
9233         BufferParams and a ParagraphList as args.
9234         (breakParagraphConservative): ditto
9235         (mergeParagraph): ditto
9236         (TeXDeeper): add a ParagraphList arg
9237         (TeXEnvironment): ditto
9238         (TeXOnePar): ditto
9239
9240         * buffer.C (readLyXformat2): adjust
9241         (insertStringAsLines): adjust
9242         (latexParagraphs): adjust
9243
9244         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9245         (cutSelection): adjust
9246         (pasteSelection): adjust
9247
9248         * BufferView_pimpl.C (insertInset): adjust
9249
9250 2003-03-05  Angus Leeming  <leeming@lyx.org>
9251
9252         * commandtags.h:
9253         * LyXAction.C (init):
9254         * BufferView_pimpl.C (dispatch):
9255         * lyxfunc.C (getStatus):
9256         remove LFUN_CHILD_INSERT.
9257
9258         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9259
9260 2003-03-05  Angus Leeming  <leeming@lyx.org>
9261
9262         * commandtags.h:
9263         * LyXAction.C (init):
9264         * src/factory.C (createInset):
9265         * lyxfunc.C (getStatus):
9266         * text3.C (dispatch):
9267         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9268
9269         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9270
9271 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9272
9273         * ParagraphList.C (insert): handle insert right before end()
9274         (erase): fix cases where it can be first or last paragraph.
9275
9276 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9277
9278         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9279         Paragraph::next and Paragraph::previous
9280         (TeXOnePar): ditto
9281
9282         * text.C (breakParagraph): adjust
9283
9284         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9285         BufferParams& as arg.
9286         (breakParagraph): use ParagraphList::insert
9287         (breakParagraphConservative): take a Buffer* instead of a
9288         BufferParams& as arg.
9289         (breakParagraphConservative): use ParagraphList::insert.
9290
9291         * buffer.C (insertStringAsLines): un-const it
9292         (insertStringAsLines): adjust
9293
9294         * ParagraphList.C (insert): new function
9295
9296         * CutAndPaste.C (pasteSelection): adjust
9297
9298         * text.C (backspace): adjust
9299
9300         * tabular.C (SetMultiColumn): adjust
9301
9302         * CutAndPaste.C (cutSelection): adjust
9303         (pasteSelection): adjust
9304
9305         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9306         Buffer const * as arg
9307
9308         * ParagraphList.C (erase): new function
9309         * paragraph_funcs.C (mergeParagraph): use it
9310         (mergeParagraph): make it take a Buffer* instead of a
9311         BufferParams* as arg
9312
9313         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9314         as arg
9315         (breakParagraphConservative): ditto
9316
9317         * paragraph.h: remove the breakParagraph friend
9318
9319         * paragraph.C (eraseIntern): new function
9320         (setChange): new function
9321
9322         * paragraph_funcs.C (mergeParagraph): make it take a
9323         ParagraphList::iterator instead of a Paragraph *, adjust
9324         accordingly.
9325
9326         * paragraph.h: move an #endif so that the change tracking stuff
9327         also works in the NO_NEXT case.
9328
9329 2003-03-04  Angus Leeming  <leeming@lyx.org>
9330
9331         * commandtags.h:
9332         * LyXAction.C: new LFUN_INSET_MODIFY.
9333
9334         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9335         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9336
9337 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9338
9339         * several files: ws changes only
9340
9341         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9342         (TeXEnvironment): ditto
9343         (TeXDeeper): ditto
9344
9345         * buffer.C (makeLaTeXFile): adjust
9346         (latexParagraphs): make it take ParagraphList::iterator as args
9347
9348 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9349
9350         * buffer.C (latexParagraphs): adjust
9351
9352         * paragraph.C (TeXOnePar): move function...
9353         (optArgInset): move function...
9354         (TeXEnvironment): move function...
9355         * paragraph_pimpl.C (TeXDeeper): move function...
9356         * paragraph_funcs.C: ...here
9357
9358         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9359
9360 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9361
9362         * buffer.C (readInset): remove compability code for old Figure and
9363         InsetInfo insets
9364
9365 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9366
9367         * buffer.C: ws changes
9368         (readInset):
9369
9370         * BufferView_pimpl.C: ditto
9371         * author.C: ditto
9372         * buffer.h: ditto
9373         * bufferlist.h: ditto
9374         * changes.h: ditto
9375         * lyxfunc.C: ditto
9376
9377 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9378
9379         * converter.[Ch]: split into itself +
9380         * graph.[Ch]
9381         * format.[Ch]
9382         * Makefile.am: += graph.[Ch] + format.[Ch]
9383         * MenuBackend.C
9384         * buffer.C
9385         * exporter.C
9386         * importer.C
9387         * lyx_main.C
9388         * lyxfunc.C
9389         * lyxrc.C: added #include "format.h"
9390
9391 2003-02-27  Angus Leeming  <leeming@lyx.org>
9392
9393         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9394           a label.
9395
9396         * factory.C (createInset): add "label" to the factory.
9397
9398         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9399           string and do no more.
9400
9401 2003-02-27  Angus Leeming  <leeming@lyx.org>
9402
9403         * commandtags.h:
9404         * LyXAction.C (init):
9405         * factory.C (createInset):
9406         * BufferView_pimpl.C (dispatch):
9407           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9408
9409         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9410
9411         * lyxfunc.C (dispatch):
9412         * text3.C (dispatch): pass name to params2string.
9413
9414 2003-02-26  Angus Leeming  <leeming@lyx.org>
9415
9416         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9417           blocks together.
9418           Rearrange the ~includes. Strip out the unnecessary ones.
9419
9420         * factory.C (createInset): reformat.
9421           create new insets for the various LFUN_XYZ_APPLY lfuns.
9422
9423 2003-02-26  John Levon  <levon@movementarian.org>
9424
9425         * lyxrow.h:
9426         * lyxrow.C: add isParStart,isParEnd helpers
9427
9428         * paragraph.h: make isInserted/DeletedText take refs
9429
9430         * paragraph_funcs.h:
9431         * paragraph_funcs.C: remove #if 0'd code
9432
9433         * lyxtext.h:
9434         * text3.C:
9435         * text2.C:
9436         * text.C: use lyxrow helpers above.
9437           Move draw and paint routines to RowPainter.
9438           Make several methods use refs not pointers.
9439           Make backgroundColor() const.
9440           Add markChangeInDraw(), isInInset().
9441           Merge changeRegionCase into changeCase.
9442           Make workWidth() shouldn't-happen code into an Assert.
9443
9444         * rowpainter.h:
9445         * rowpainter.C: new class for painting a row.
9446
9447         * vspace.h:
9448         * vspace.C: make inPixels take a ref
9449
9450 2003-02-26  Angus Leeming  <leeming@lyx.org>
9451
9452         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9453         LFUN_REF_APPLY.
9454
9455 2003-02-25  John Levon  <levon@movementarian.org>
9456
9457         * ispell.C: give the forked command a more accurate name
9458
9459 2003-02-22  John Levon  <levon@movementarian.org>
9460
9461         * toc.h:
9462         * toc.C: make TocItem store an id not a Paragraph *
9463           (bug #913)
9464
9465 2003-02-21  Angus Leeming  <leeming@lyx.org>
9466
9467         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9468           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9469           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9470           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9471           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9472           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9473
9474         * BufferView_pimpl.C (dispatch):
9475         * LyXAction.C (init):
9476         * factory.C (createInset):
9477         * lyxfunc.C (getStatus, dispatch):
9478         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9479
9480 2003-02-21  Angus Leeming  <leeming@lyx.org>
9481
9482         * BufferView_pimpl.C (MenuInsertLyXFile):
9483         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9484         * lyxfunc.C (menuNew, open, doImport):
9485           no longer pass a LyXView & to fileDlg.
9486
9487 2003-02-21  Angus Leeming  <leeming@lyx.org>
9488
9489         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9490         * LyXAction.C: change, BIBKEY to BIBITEM.
9491         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9492         Change InsetBibKey to InsetBibitem.
9493         Change BIBKEY_CODE to BIBITEM_CODE.
9494         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9495         * factory.C: replace insetbib.h with insetbibitem.h.
9496         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9497         * paragraph.C: replace insetbib.h with insetbibitem.h.
9498         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9499         Change bibkey() to bibitem().
9500         * text.C: remove insetbib.h.
9501         * text2.C: replace insetbib.h with insetbibitem.h.
9502         change bibkey() to bibitem().
9503         * text3.C: remove insetbib.h.
9504         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9505
9506 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9507
9508         * lyxrc.C (output): enclose user email in quotes (in case there are
9509         several words)
9510
9511 2003-02-18  John Levon  <levon@movementarian.org>
9512
9513         * buffer.h: add std::
9514
9515 2003-02-17  John Levon  <levon@movementarian.org>
9516
9517         * SpellBase.h:
9518         * ispell.h:
9519         * ispell.C:
9520         * pspell.h:
9521         * pspell.C: reworking. Especially in ispell, a large
9522           number of clean ups and bug fixes.
9523
9524         * lyxfunc.C: fix revert to behave sensibly
9525
9526 2003-02-17 André Pönitz <poenitz@gmx.net>
9527
9528         * LyXAction.C:
9529         * commandtags.h: new LFUN_INSERT_BIBKEY
9530
9531         * layout.h:
9532         * lyxlayout.C:
9533         * buffer.C:
9534         * factory.C:
9535         * text.C:
9536         * text2.C:
9537         * text3.C:
9538         * paragraph.[Ch]:
9539         * paragraph_func.C: remove special bibkey handling
9540
9541 2003-02-17  John Levon  <levon@movementarian.org>
9542
9543         * text.C (Delete): fix case where delete at the end of
9544           the very first paragraph would not merge the pars
9545
9546 2003-02-17  John Levon  <levon@movementarian.org>
9547
9548         * lyxrow.C: fix lastPrintablePos()
9549
9550 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9551
9552         * bufferparams.C (writeLaTeX): add a std:here
9553
9554         * buffer.C: and remove a using directive there
9555
9556 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9557
9558         * buffer.C (makeLaTeXFile): move the code that generates the
9559           preamble...
9560
9561         * bufferparams.C (writeLaTeX): ... in this new method
9562
9563         * LaTeXFeatures.C (getEncodingSet): make const
9564           (getLanguages): make const
9565
9566         * MenuBackend.C (binding): returns the binding associated to this
9567           action
9568           (add): sets the status of each item by calling getStatus. Adds
9569           some intelligence.
9570           (read): add support for OptSubMenu
9571           (expand): remove extra separator at the end of expanded menu
9572
9573 2003-02-15  John Levon  <levon@movementarian.org>
9574
9575         * BufferView.C:
9576         * BufferView_pimpl.C:
9577         * bufferlist.h:
9578         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9579           inset code that had no actual effect. Remove unneeded status
9580           code.
9581
9582 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9583
9584         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9585           in preamble
9586
9587 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9588
9589         * text.C (drawLengthMarker): also draw an arrow marker for
9590           symbolic lengths (medskip...)
9591
9592 2003-02-14  John Levon  <levon@movementarian.org>
9593
9594         * tabular.h:
9595         * tabular.C: better method names
9596
9597 2003-02-14  John Levon  <levon@movementarian.org>
9598
9599         * BufferView_pimpl.C:
9600         * bufferlist.C:
9601         * buffer.C:
9602         * converter.C:
9603         * lyx_cb.C:
9604         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9605           it's a more accurate name. Remove some pointless uses.
9606
9607 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9608
9609         * text2.C (LyXText): change order of initilizers to shut off
9610           warnings
9611
9612 2003-02-14  John Levon  <levon@movementarian.org>
9613
9614         * buffer.C: use ParIterator for getParFromID()
9615
9616         * paragraph.h:
9617         * paragraph.C:
9618         * paragraph_pimpl.h:
9619         * paragraph_pimpl.C: remove unused getParFromID()
9620
9621 2003-02-14  John Levon  <levon@movementarian.org>
9622
9623         * buffer.C: remove some very old #if 0'd parse code
9624
9625 2003-02-13  John Levon  <levon@movementarian.org>
9626
9627         * text.h:
9628         * text.C:
9629         * text2.C: move hfillExpansion(), numberOfSeparators(),
9630           rowLast(), rowLastPrintable(), numberofHfills(),
9631           numberOfLabelHfills() ...
9632
9633         * lyxrow.h:
9634         * lyxrow.C: ... to member functions here.
9635
9636         * paragraph.h:
9637         * paragraph.C:
9638         * lyxtext.h:
9639         * text.C: remove LyXText::beginningOfMainBody(), and call
9640           p->beginningOfMainBody() directly. Move the check for
9641           LABEL_MANUAL into the latter.
9642
9643         * text.h:
9644         * text.C:
9645         * text2.C:
9646         * vspace.C:
9647         * BufferView.h:
9648         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9649
9650         * text.h:
9651         * text.C:
9652         * text2.C:
9653         * text3.C:
9654         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9655           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9656
9657 2003-02-13  John Levon  <levon@movementarian.org>
9658
9659         * CutAndPaste.C: remove debug
9660
9661 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9662
9663         * paragraph.C (asString): remove two unused variables
9664
9665         * lyxtextclass.C (readTitleType):
9666           (Read):
9667           (LyXTextClass): handle new members titletype_ and titlename_
9668
9669         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9670
9671 2003-02-09  John Levon  <levon@movementarian.org>
9672
9673         * buffer.h:
9674         * buffer.C: replace hand-coded list with a map for the dep clean
9675
9676 2003-02-08  John Levon  <levon@movementarian.org>
9677
9678         * LaTeX.C: consolidate code into showRunMessage() helper
9679
9680 2003-02-08  John Levon  <levon@movementarian.org>
9681
9682         * lyxfind.C:
9683         * lyxtext.h:
9684         * text2.C:
9685         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9686           and pass the size in explicitly
9687
9688         * BufferView_pimpl.h:
9689         * BufferView_pimpl.C:
9690         * BufferView.h:
9691         * BufferView.C: add getCurrentChange()
9692
9693         * BufferView_pimpl.h:
9694         * BufferView_pimpl.C: handle change lfuns
9695
9696         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9697           for changes. Mark pasted paragraphs as new.
9698
9699         * support/lyxtime.h:
9700         * support/lyxtime.C:
9701         * DepTable.C: abstract time_t as lyx::time_type
9702
9703         * LColor.h:
9704         * LColor.C: add colours for new text, deleted text, changebars
9705
9706         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9707           package use "usenames" option.
9708
9709         * commandtags.h:
9710         * lyxfunc.C:
9711         * LyXAction.C: add change lfuns
9712
9713         * Makefile.am:
9714         * author.h:
9715         * author.C: author handling
9716
9717         * buffer.h:
9718         * buffer.C: add a per-buffer author list, with first entry as
9719           current author. Handle new .lyx tokens for change tracking. Output
9720           author list to .lyx file. Output dvipost stuff to .tex preamble.
9721           Bump lyx format to 222.
9722
9723         * bufferlist.h:
9724         * bufferlist.C: add setCurrentAuthor() to reset current author details
9725           in all buffers.
9726
9727         * bufferparams.h:
9728         * bufferparams.C: add param for tracking
9729
9730         * bufferview_funcs.C: output change info in minibuffer
9731
9732         * Makefile.am:
9733         * changes.h:
9734         * changes.C: add change-tracking structure
9735
9736         * debug.h:
9737         * debug.C: add CHANGES debug flag
9738
9739         * lyxfind.h:
9740         * lyxfind.C: add code for finding the next change piece
9741
9742         * lyxrc.h:
9743         * lyxrc.C: add user_name and user_email
9744
9745         * lyxrow.h:
9746         * lyxrow.C: add a metric for the top of the text line
9747
9748         * lyxtext.h:
9749         * text.C: implement accept/rejectChange()
9750
9751         * lyxtext.h:
9752         * text.C: paint changebars. Paint new/deleted text in the chosen
9753         colours. Strike through deleted text.
9754
9755         * paragraph.h:
9756         * paragraph.C:
9757         * paragraph_pimpl.h:
9758         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9759           in the current change to the insert functions. Rework erase to
9760           mark text as deleted, adding an eraseIntern() and a range-based
9761           erase(). Implement per-paragraph change lookup and
9762           accept/reject.
9763
9764         * paragraph_funcs.C: Fixup paste for change tracking.
9765
9766         * tabular.C: mark added row/columns as new.
9767
9768         * text.C: fix rowLast() to never return -1. Don't allow
9769           spellchecking of deleted text. Track transpose changes. Don't
9770           allow paragraph break or merge where appropriate.
9771
9772         * text2.C: leave cursor at end of selection after a cut.
9773
9774 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9775
9776         * text.C (getLengthMarkerHeight):
9777         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9778         visible on screen too.
9779
9780 2003-02-07  John Levon  <levon@movementarian.org>
9781
9782         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9783
9784 2003-02-05  Angus Leeming  <leeming@lyx.org>
9785
9786         * lyxserver.C (read_ready): revert my patch of 11 September last year
9787         as it sends PC cpu through the roof. Presumably this means that
9788         the lyxserver will no longer run on an Alpha...
9789
9790 2003-01-30  Angus Leeming  <leeming@lyx.org>
9791
9792         * factory.C (createInset): create an InsetCommandParam of type "index"
9793         and use it to 'do the right thing'.
9794
9795         * text2.C (getStringToIndex): ensure that cursor position is always
9796         reset to the reset_cursor position.
9797
9798 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9799
9800         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9801         disabled.
9802
9803 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9804
9805         * bufferview.C:
9806         * lyxcb.C:
9807         * lyxfunc.C: Output messages with identical spelling, punctuation,
9808         and spaces
9809
9810 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9811
9812         * MenuBackend.C (expandFormats): List only viewable export formats
9813         in "View" menu
9814
9815         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9816         message
9817
9818         * lyxfunc.C (getStatus): Make sure that formats other than
9819         "fax" can also be disabled
9820
9821 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9822
9823         * text3.C (dispatch): put the lfuns that insert insets in 3
9824         groups, and call doInsertInset with appropriate arguments.
9825         (doInsertInset): new function, that creates an inset and inserts
9826         it according to some boolean parameters.
9827
9828 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9829
9830         * buffer.C (readFile): remember to pass on 'par' when calling
9831         readFile recursively.
9832
9833 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9834
9835         * MenuBackend.C (expandFormats): add "..." to import formats.
9836
9837 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9838
9839         * paragraph.C (asString): Remove XForms RTL hacks.
9840
9841 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9842         * buffer.C: fix typo
9843
9844 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9845
9846         * Makefile.am (LIBS): delete var
9847         (lyx_LDADD): add @LIBS@ here instead.
9848
9849 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9850
9851         * Clarify the meaning of "wheel mouse jump"
9852
9853 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9854
9855         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9856         tabular in a float
9857
9858 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9859
9860         * importer.C (Loaders): do not preallocate 3 elements in the
9861         vector, since one ends up with 6 elements otherwise
9862
9863 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9864
9865         * DepTable.C (write): write the file name as last element of the
9866         .dep file (because it may contain spaces)
9867         (read): read info in the right order
9868
9869 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9870
9871         * paragraph_pimpl.C (simpleTeXBlanks):
9872         (simpleTeXSpecialChars):
9873         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9874
9875         * tabular.C (latex): add some missing case statements. Reindent.
9876
9877         * MenuBackend.C (expandToc): remove unused variable.
9878
9879 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9880
9881         * LColor.C:
9882         * LaTeX.C:
9883         * LyXAction.C:
9884         * MenuBackend.C:
9885         * buffer.C:
9886         * exporter.C:
9887         * lyxfunc.C:
9888         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9889         and the like.
9890
9891 2003-01-05  John Levon  <levon@movementarian.org>
9892
9893         * BufferView.h:
9894         * BufferView.C: add getEncoding()
9895
9896         * kbsequence.h:
9897         * kbsequence.C: do not store last keypress
9898
9899         * lyxfunc.h:
9900         * lyxfunc.C: store last keypress here instead. Pass encoding
9901           to getISOEncoded()
9902
9903 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9904
9905         * lyx_main.C (init): remove annoying error message when following
9906         symbolic links (bug #780)
9907
9908 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9909
9910         * text.C (insertChar):
9911         * lyxrc.C (getDescription): remove extra spaces
9912
9913 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9914
9915         * lyxrc.C (getDescription): remove extra spaces
9916
9917 2002-12-20  John Levon  <levon@movementarian.org>
9918
9919         * text3.C: hack fix for page up/down across tall rows
9920
9921 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9922
9923         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9924         not been invoked
9925
9926 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9927
9928         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9929         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9930         thesaurus is not compiled in
9931
9932 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9933
9934         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9935
9936 2002-12-16  Angus Leeming  <leeming@lyx.org>
9937
9938         * lyxrc.[Ch]:
9939         * lyx_main.C (init): remove override_x_deadkeys stuff.
9940
9941 2002-12-12  John Levon  <levon@movementarian.org>
9942
9943         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9944           insert. Only remove shift modifier under strict
9945           circumstances.
9946
9947 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9948
9949         * MenuBackend.C (expandToc): fix crash.
9950
9951 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9952
9953         * MenuBackend.C (expandToc): gettext on float names.
9954
9955 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9956
9957         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9958         implement bool empty() [bug 490]
9959
9960 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9961
9962         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9963
9964 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9965
9966         * several files: ws changes
9967
9968 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9969
9970         * text2.C (setCounter): clean up a bit, use boost.format.
9971         (updateCounters): initialize par upon declaration.
9972
9973         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9974         if the layout exists. We do not just store the layout any more.
9975         (SwitchLayoutsBetweenClasses): use boost.format
9976
9977 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9978
9979         * converter.C (convert): if from and to files are the same, use a
9980         temporary files as intermediary
9981
9982 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9983
9984         * commandtags.h:
9985         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9986
9987 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9988
9989         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9990
9991 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9992
9993         * tabular.C (asciiPrintCell): use string(size, char) instead of
9994         explicit loop.
9995
9996         * sgml.C (openTag): fix order of arguments to string constructor
9997         (closeTag): ditto
9998
9999         * lyxfunc.C (dispatch): use boost.format
10000
10001         * lots of files: change "c" -> 'c'
10002
10003 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10004
10005         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10006
10007 2002-11-25  Angus Leeming  <leeming@lyx.org>
10008
10009         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10010
10011         * lyx_main.C (init): compile fix.
10012
10013 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10014
10015         * lyx_cb.C (start): boost.formatify
10016         do not include <iostream>
10017
10018         * lengthcommon.C: ws only
10019
10020         * boost-inst.C,BoostFormat.h: add more explict instantations
10021
10022 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10023
10024         * lots of files: handle USE_BOOST_FORMAT
10025
10026 2002-11-21  John Levon  <levon@movementarian.org>
10027
10028         * pspell.C: fix compile
10029
10030 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10031
10032         * lyxfunc.C (dispatch): use boost::format
10033         (open): ditto
10034         (doImport): ditto
10035
10036         * lyxfont.C (stateText): use boost::format
10037
10038         * lyx_main.C (LyX): use boost::format
10039         (init): ditto
10040         (queryUserLyXDir): ditto
10041         (readRcFile): ditto
10042         (parse_dbg): ditto
10043         (typedef boost::function): use the recommened syntax.
10044
10045         * importer.C (Import): use boost::format
10046
10047         * debug.C (showLevel): use boost::format
10048
10049         * converter.C (view): use boost::format
10050         (convert): ditto
10051         (move): ditto
10052         (scanLog): ditto
10053
10054         * bufferview_funcs.C (currentState): use boost::format
10055
10056         * bufferlist.C (emergencyWrite): use boost::format
10057
10058         * buffer.C (readLyXformat2): use boost::format
10059         (parseSingleLyXformat2Token): ditto
10060
10061         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10062
10063         * LaTeX.C (run): use boost::format
10064
10065         * Chktex.C (scanLogFile): use boost::format
10066
10067         * BufferView_pimpl.C (savePosition): use boost::format
10068         (restorePosition): ditto
10069         (MenuInsertLyXFile): ditto
10070
10071         * BoostFormat.h: help file for explicit instation.
10072
10073 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10074
10075         * tabular.C (latex): Support for block alignment in fixed width
10076         columns.
10077
10078 2002-11-17  John Levon  <levon@movementarian.org>
10079
10080         * BufferView_pimpl.C:
10081         * lyx_cb.C:
10082         * lyxfunc.C: split filedialog into open/save
10083
10084 2002-11-08  Juergen Vigna  <jug@sad.it>
10085
10086         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10087         by my last patch (hopefully).
10088
10089 2002-11-08  John Levon  <levon@movementarian.org>
10090
10091         * iterators.h:
10092         * iterators.C:
10093         * buffer.h:
10094         * buffer.C:
10095         * paragraph.h:
10096         * paragraph.C:
10097         * toc.h:
10098         * toc.C: ParConstIterator, and use it (from Lars)
10099
10100 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10101
10102         * lyxtextclass.[Ch]: revise and add doxygen comments
10103
10104 2002-11-07  John Levon  <levon@movementarian.org>
10105
10106         * text.C: fix progress value for spellchecker
10107
10108         * toc.C: fix navigate menu for insetwrap inside minipage
10109
10110         * paragraph_funcs.C: added FIXME for suspect code
10111
10112 2002-11-07  John Levon  <levon@movementarian.org>
10113
10114         * BufferView_pimpl.C: fix redrawing of insets
10115           on buffer switch
10116
10117 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10118
10119         * text2.C (updateCounters): fix bug 668
10120
10121 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10122
10123         * text3.C (dispatch): Do not make the buffer dirty when moving the
10124         cursor.
10125
10126 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10127
10128         * vc-backend.C: STRCONV
10129         (scanMaster): ditto
10130
10131         * text2.C (setCounter): STRCONV
10132
10133         * paragraph.C (asString): STRCONV
10134
10135         * lyxlength.C (asString): STRCONV
10136         (asLatexString): ditto
10137
10138         * lyxgluelength.C (asString): STRCONV
10139         (asLatexString): ditto
10140
10141         * lyxfunc.C (dispatch): STRCONV
10142         (open): ditto
10143
10144         * lyxfont.C (stateText): STRCONV
10145
10146         * importer.C (Import): STRCONV
10147
10148         * counters.C (labelItem): STRCONV
10149         (numberLabel): ditto
10150         (numberLabel): remove unused ostringstream o
10151
10152         * chset.C: STRCONV
10153         (loadFile): ditto
10154
10155         * bufferview_funcs.C (currentState): STRCONV
10156
10157         * buffer.C (readFile): STRCONV
10158         (asciiParagraph): ditto
10159         (makeLaTeXFile): ditto
10160
10161         * Spacing.C (writeEnvirBegin): STRCONV
10162
10163         * LaTeXFeatures.C (getLanguages): STRCONV
10164         (getPackages): ditto
10165         (getMacros): ditto
10166         (getBabelOptions): ditto
10167         (getTClassPreamble): ditto
10168         (getLyXSGMLEntities): ditto
10169         (getIncludedFiles): ditto
10170
10171         * LaTeX.C: STRCONV
10172         (run): ditto
10173         (scanAuxFile): ditto
10174         (deplog): ditto
10175
10176         * LString.h: add the STRCONV macros
10177
10178         * BufferView_pimpl.C (savePosition): STRCONV
10179         (restorePosition): ditto
10180         (MenuInsertLyXFile): ditto
10181
10182         * vc-backend.C (scanMaster): change from submatch[...] to
10183         submatch.str(...)
10184
10185         * funcrequest.C: include config.h
10186
10187         * factory.C: include config.h
10188
10189         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10190
10191         * box.C: include config.h
10192
10193         * LaTeX.C (scanAuxFile): change from submatch[...] to
10194         submatch.str(...)
10195         (deplog): ditto
10196
10197 2002-10-25  Angus Leeming  <leeming@lyx.org>
10198
10199         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10200
10201         * ispell.[Ch] (setError): new method.
10202         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10203         Use setError() insetead of goto END.
10204
10205         * lyx_cb.C (AutoSave): move out child process into new class
10206         AutoSaveBuffer.
10207
10208 2002-10-30  John Levon  <levon@movementarian.org>
10209
10210         * text3.C: make start appendix undoable
10211
10212 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10213
10214         * lyxlength.C (inPixels): Fix returned value.
10215
10216         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10217         environment.
10218
10219 2002-10-24  Angus Leeming  <leeming@lyx.org>
10220
10221         * lyxgluelength.h: no need to forward declare BufferParams
10222         or BufferView, so don't.
10223
10224 2002-10-21  John Levon  <levon@movementarian.org>
10225
10226         * BufferView.C: menuUndo ->undo, redo
10227
10228         * BufferView.h: document, remove dead, make some methods private
10229
10230         * paragraph_funcs.h:
10231         * paragraph_funcs.C:
10232         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10233
10234         * buffer.h:
10235         * buffer.C:
10236         * sgml.h:
10237         * sgml.C: move sgml open/close tag into sgml.C
10238
10239         * bufferview_funcs.h: unused prototype
10240
10241         * lyxfunc.h:
10242         * lyxfunc.C: remove unused
10243
10244         * lyxtext.h:
10245         * text.C: remove unused
10246
10247 2002-10-21  John Levon  <levon@movementarian.org>
10248
10249         * BufferView.h:
10250         * BufferView.C:
10251         * BufferView_pimpl.h:
10252         * BufferView_pimpl.C: fix mouse wheel handling based on
10253           patch from Darren Freeman
10254
10255 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10256
10257         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10258
10259 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10260
10261         * lyxlength.C (inPixels): Fix hanfling of negative length.
10262         Fix LyXLength::MU case.
10263
10264 2002-10-16  John Levon  <levon@movementarian.org>
10265
10266         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10267
10268 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10269
10270         * converter.C (view): add support for $$i (file name) and $$p
10271         (file path) for the viewer command. If $$i is not specified, then
10272         it is appended to the command (for compatibility with old syntax)
10273
10274 2002-10-14  Juergen Vigna  <jug@sad.it>
10275
10276         * undo_funcs.C (textHandleUndo): alter the order in which the
10277         new undopar is added to the LyXText, as we have to set first
10278         the right prev/next and then add it as otherwise the rebuild of
10279         LyXText is not correct. Also reset the cursor to the right paragraph,
10280         with this IMO we could remove the hack in "redoParagraphs()".
10281
10282 2002-10-09  Angus Leeming  <leeming@lyx.org>
10283
10284         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10285         to turn off an optimisation if a new inset is to be inserted.
10286
10287 2002-10-11 André Pönitz <poenitz@gmx.net>
10288
10289         * lyxtext.h: make some functions public to allow access
10290         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10291
10292 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10293
10294         * text3.C (dispatch): when changing layout, avoid an infinite loop
10295         [bug #652]
10296
10297 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10298
10299         * lyxrc.C (read): treat a viewer or converter command of "none" as
10300         if it were empty.
10301
10302         * MenuBackend.C (expandFormats): for an update, also allow the
10303         formats that are not viewable
10304
10305         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10306         script if it is newer than the lyxrc.defaults in user directory
10307
10308 2002-10-07 André Pönitz <poenitz@gmx.net>
10309
10310         * text.C: Vitaly Lipatov's small i18n fix
10311
10312 2002-09-25  Angus Leeming  <leeming@lyx.org>
10313
10314         * ispell.h: doxygen fix.
10315
10316 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10317
10318         * buffer.h (readFile): Add a new argument to the method, to allow
10319         reading of old-format templates.
10320
10321 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10322
10323         * toc.C (getTocList): Get TOC from InsetWrap.
10324
10325 2002-09-16  John Levon  <levon@movementarian.org>
10326
10327         * lyxfunc.C: check tabular for cut/copy too
10328
10329 2002-09-12  John Levon  <levon@movementarian.org>
10330
10331         * LyXAction.C: tidy
10332
10333         * factory.h:
10334         * factory.C: add header
10335
10336         * paragraph_funcs.h:
10337         * paragraph_funcs.C: cleanup
10338
10339 2002-09-11  John Levon  <levon@movementarian.org>
10340
10341         * PrinterParams.h: odd/even default to true
10342
10343 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10344
10345         * PrinterParams.h: update printer parameters for new xforms dialog
10346
10347 2002-09-11  Angus Leeming  <leeming@lyx.org>
10348
10349         * lyxserver.C (read_ready): re-write to make it more transparent
10350         and to make it work in coherent fashion under Tru64 Unix.
10351
10352 2002-09-11  André Pönitz <poenitz@gmx.net>
10353
10354         * commandtags.h:
10355         * LyXAction.C:
10356         * text3.C: implement LFUN_WORDSEL
10357
10358 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10359
10360         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10361         make floatlist_ a boost::shared_ptr<FloatList>
10362
10363         * lyxtextclass.C: include FloatList.h
10364         (LyXTextClass): initialize floatlist_
10365         (TextClassTags): add TC_NOFLOAT
10366         (Read): match "nofloat" to TC_NOFLOAT and use it.
10367         (readFloat): modify call to floatlist_
10368         (floats): ditto
10369         (floats): ditto
10370
10371         * FloatList.[Ch] (FloatList): remove commented out float
10372         initialization.
10373         (erase): new function
10374
10375 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10376
10377         * MenuBackend.C (expandToc): fix crash when there is no document
10378         open
10379
10380 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10381
10382         * many files: Add insetwrap.
10383
10384 2002-09-09  John Levon  <levon@movementarian.org>
10385
10386         * text2.C: remove confusing and awkward depth wraparound
10387
10388 2002-09-09  John Levon  <levon@movementarian.org>
10389
10390         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10391
10392         * buffer.h:
10393         * buffer.C: remove getIncludeonlyList()
10394
10395         * paragraph.C:
10396         * lyxfunc.C: remove headers
10397
10398 2002-09-09  Juergen Vigna  <jug@sad.it>
10399
10400         * text.C (getColumnNearX): fix form Michael this is most
10401         probably a cut&paste bug.
10402
10403 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10404
10405         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10406
10407         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10408         references, ws changes.
10409
10410         * text2.C (init): update counters after init
10411         (insertParagraph): no need to set counter on idividual paragraphs.
10412         (setCounter): access the counters object in the textclass object
10413         on in the buffer object.
10414         (updateCounters): ditto
10415
10416         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10417         shared_ptr<Counters> to avoid loading counters.h in all
10418         compilation units.
10419         (LyXTextClass): initialize ctrs_
10420         (TextClassTags): add TC_COUNTER, and ...
10421         (Read): use it here.
10422         (CounterTags): new tags
10423         (readCounter): new function
10424         (counters): new funtion
10425         (defaultLayoutName): return a const reference
10426
10427         * counters.C (Counters): remove contructor
10428         (newCounter): remove a couple of unneeded statements.
10429         (newCounter): simplify a bit.
10430         (numberLabel): some small formatting changes.
10431
10432         * buffer.[Ch]: remove all traces of counters, move the Counters
10433         object to the LyXTextClass.
10434
10435 2002-09-06  Alain Castera  <castera@in2p3.fr>
10436
10437         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10438         package to set the horizontal alignment on fixed width columns.
10439
10440         * lyx_sty.C:
10441         * lyx_sty.h: added tabularnewline macro def.
10442
10443         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10444
10445 2002-09-06  John Levon  <levon@movementarian.org>
10446
10447         * LyXAction.C: tooltips for sub/superscript
10448
10449         * MenuBackend.C: a bit more verbose
10450
10451         * lyxfunc.C: tiny clean
10452
10453         * undo_funcs.C: document undo_frozen
10454
10455 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10456
10457         * counters.C (Counters): add missing algorithm counter.
10458
10459         * text2.C (setCounter): lookup the counter with layouts latexname
10460         instead of by section number.
10461         (setCounter): use a hackish way to lookup the correct enum
10462         counter.
10463         a float name->type change
10464         reset enum couners with counter name directly instead of depth value.
10465
10466         * counters.C (Counters): remove the push_backs, change to use the
10467         float type not the float name.
10468         (labelItem): remove unused string, float name->type change
10469
10470         * counters.h: don't include vector, loose the enums and sects vectors
10471
10472 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10473
10474         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10475         (Read): add float->TC_FLOAT to textclassTags
10476         (Read): and handle it in the switch
10477         (readFloat): new function
10478
10479         * FloatList.C (FloatList): comment out the hardcoded float
10480         definitions.
10481
10482         * lyxlayout.h: ws change.
10483
10484 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10485
10486         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10487
10488 2002-09-03  Angus Leeming  <leeming@lyx.org>
10489
10490         * BufferView_pimpl.h: qualified name is not allowed in member
10491         declaration: WorkArea & Pimpl::workarea() const;
10492
10493         * factory.C: added using std::endl directive.
10494
10495         * text3.C: added using std::find and std::vector directives.
10496
10497 2002-08-29  André Pönitz <poenitz@gmx.net>
10498
10499         * lyxtext.h:
10500         * text2.C: remove unused member number_of_rows
10501
10502         * Makefile.am:
10503         * BufferView2.C: remove file, move contents to...
10504         * BufferView.C: ... here
10505
10506         * BufferView_pimpl.C:
10507         * factory.C: move more inset creation to factory
10508
10509         * vspace.C: avoid direct usage of LyXText, ws changes
10510
10511         * BufferView.[Ch]:
10512                 don't provide direct access to WorkArea, use two simple
10513                 acessors haveSelction() and workHeight() instead
10514
10515
10516 2002-08-29  John Levon  <levon@movementarian.org>
10517
10518         * BufferView_pimpl.C (dispatch): do not continue when
10519           no buffer
10520
10521 2002-08-28  André Pönitz <poenitz@gmx.net>
10522
10523         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10524
10525         * BufferView.h:
10526         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10527
10528 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10529
10530         * buffer.C: increment LYX_FORMAT to 221
10531
10532         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10533         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10534
10535         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10536
10537         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10538
10539 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10540
10541         * factory.C (createInset): use LyXTextClass::floats
10542
10543         * MenuBackend.C (expandFloatListInsert):
10544         (expandFloatInsert):
10545         (expandToc):
10546
10547         * text2.C (setCounter):
10548
10549         * LaTeXFeatures.C (useFloat):
10550         (getFloatDefinitions):
10551
10552         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10553
10554         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10555         floatlist_, with accessor floats().
10556
10557         * FloatList.h: remove global FloatList
10558
10559 2002-08-26  André Pönitz <poenitz@gmx.net>
10560
10561         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10562
10563         * BufferView.h:
10564         * BufferView2.C:
10565         * BufferView_pimpl.C:
10566         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10567
10568 2002-08-25  John Levon  <levon@movementarian.org>
10569
10570         * LyXAction.C: fix margin note description
10571
10572 2002-08-24  John Levon  <levon@movementarian.org>
10573
10574         * buffer.C:
10575         * bufferlist.C:
10576         * bufferview_funcs.C:
10577         * lyxfont.C:
10578         * undo_funcs.C: cleanups
10579
10580         * lyxfunc.C: disable CUT/COPY when no selection
10581
10582 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10583
10584         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10585         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10586
10587         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10588         Add backward compatibility to "mono", "gray" and "no".
10589
10590 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10591
10592         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10593         (and file_format >= 200).
10594
10595 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10596
10597         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10598
10599 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10600
10601         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10602
10603 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10604
10605         * BufferView_pimpl.C:
10606         * LyXAction.C:
10607         * buffer.C:
10608         * commandtags.h:
10609         * lyxfunc.C:
10610         * paragraph.[Ch]:
10611         * text2.C:
10612         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10613         inset and code to make it  work with the paragraph code. The inset
10614         can be anywhere in the paragraph, but will only do the expected
10615         thing in LaTeX if the layout file contains the parameter line
10616                         OptionalArgs    1
10617         (or more generally, a nonzero value) for that layout.
10618
10619 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10620
10621         * paragraph.h: remove the declaration of undefined counters class
10622         function.
10623
10624 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10625
10626         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10627         Dr. Richard Hawkins.
10628
10629 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10630
10631         * paragraph_funcs.h: remove some unneeded includes
10632
10633         * text.C (backspace): pasteParagraph now in global scipe
10634
10635         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10636         (pasteSelection): ditto
10637
10638         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10639         * paragraph_funcs.C (pasteParagraph): ... here
10640
10641 2002-08-20  André Pönitz <poenitz@gmx.net>
10642
10643         * commandtags.h: new LFUNs for swapping/copying table row/colums
10644
10645         * LyXAction.C:
10646         * lyxfunc.C: support for new lfuns
10647
10648 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10649
10650         * tabular.C:
10651         * buffer.[Ch]: remove NO_COMPABILITY stuff
10652
10653 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10654
10655         * boost.C (throw_exception): new file, with helper function for
10656         boost compiled without exceptions.
10657
10658         * paragraph.h:
10659         * lyxlength.C:
10660         * buffer.C:
10661         * ParameterStruct.h:
10662         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10663
10664         * bufferlist.C (emergencyWriteAll): use boost bind
10665
10666         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10667
10668         * text.C: include paragraph_funcs.h
10669         (breakParagraph): breakParagraph is now in global scope
10670
10671         * paragraph_funcs.[Ch]: new files
10672
10673         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10674         global scope
10675
10676         * buffer.C: include paragraph_funcs.h
10677         (insertStringAsLines): breakParagraph is now in global scope
10678
10679         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10680         paragraph_funcs.C
10681
10682         * CutAndPaste.C: include paragraph_funcs.h
10683         (cutSelection): breakParagraphConservative is now in global scope
10684         (pasteSelection): ditto
10685
10686         * buffer.h: declare oprator== and operator!= for
10687         Buffer::inset_iterator
10688
10689         * bufferlist.C (emergencyWrite): don't use fmt(...)
10690
10691         * text3.C: add using std::endl
10692
10693         * BufferView.C (moveCursorUpdate): remove default arg
10694
10695 2002-08-20  André Pönitz <poenitz@gmx.net>
10696
10697         * buffer.[Ch]: move inline functions to .C
10698
10699         * BufferView2.C:
10700         * BufferView_pimpl.C:
10701         * text.C:
10702         * buffer.[Ch]: use improved inset_iterator
10703
10704         * buffer.C:
10705         * paragraph.[Ch]: write one paragraph at a time
10706
10707 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10708
10709         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10710         style if style is not specified.
10711
10712 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10713
10714         * text2.C (setCounter): when searching for right label for a
10715         caption, make sure to recurse to parent insets (so that a caption
10716         in a minipage in a figure float works) (bug #568)
10717
10718 2002-08-20  André Pönitz <poenitz@gmx.net>
10719
10720         * text3.C: new file for LyXText::dispatch() and helpers
10721
10722         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10723
10724         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10725
10726 2002-08-19  André Pönitz <poenitz@gmx.net>
10727
10728         * lyxtext.h:
10729         * text.C: new LyXText::dispatch()
10730
10731         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10732
10733 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10734
10735         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10736
10737         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10738         Hebrew text.
10739
10740 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10741
10742         * Makefile.am: use $(variables) instead of @substitutions@
10743
10744 2002-08-15  André Pönitz <poenitz@gmx.net>
10745
10746         * lyxfunc.C:
10747         * BufferView_pimpl.C: streamlining mathed <-> outer world
10748         interaction
10749
10750         * commandtags.h:
10751         * LyXAction.C: remove unused LFUN_MATH
10752
10753 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10754
10755         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10756
10757 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10758
10759         * paragraph.C (Paragraph): reformat a bit
10760         (cutIntoMinibuffer): use builtin InsetList function instad of
10761         doing it manually.
10762         (getInset): ditto
10763
10764         * buffer.C: include boost/bind.hpp, add using std::for_each
10765         (writeFileAscii): use ParagraphList iterators
10766         (validate): use for_each for validate traversal of paragraphs
10767         (getBibkeyList): use ParagraphList iterators
10768         (resizeInsets): use for_each to resizeInsetsLyXText for all
10769         paragraphs.
10770         (getParFromID): use ParagraphList iterators
10771
10772         * BufferView2.C (lockInset): use paragraph list and iterators
10773
10774 2002-08-14  John Levon  <levon@movementarian.org>
10775
10776         * lyxserver.C: remove spurious xforms include
10777
10778 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10779
10780         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10781
10782 2002-08-13  André Pönitz <poenitz@gmx.net>
10783
10784         * LyXAction.[Ch]:
10785         * lyxfunc.C: further cleaning
10786
10787 2002-08-13  André Pönitz <poenitz@gmx.net>
10788
10789         * funcrequest.h: new constructor
10790
10791         * funcrequest.C: move stuff here from .h
10792
10793         * Makefile.am:
10794         * BufferView_pimpl.C:
10795         * LyXAction.C:
10796         * toc.C:
10797         * lyxfunc.C: subsequent changes
10798
10799         * lyxfunc.h: new view() member function
10800
10801         * lyxfunc.C: subsequent changes
10802
10803 2002-08-13  Angus Leeming  <leeming@lyx.org>
10804
10805         * BufferView2.C:
10806         * BufferView_pimpl.C:
10807         * buffer.C:
10808         * converter.C:
10809         * importer.C:
10810         * lyxfunc.C:
10811         * lyxvc.C:
10812         * toc.C:
10813         * vc-backend.C:
10814         changes due to the changed LyXView interface that now returns references
10815         to member variables not pointers.
10816
10817 2002-08-13  Angus Leeming  <leeming@lyx.org>
10818
10819         * WordLangTuple (word, lang_code): return references to strings,
10820         not strings.
10821
10822         * BufferView.h:
10823         * SpellBase.h:
10824         * lyxtext.h: forward-declare WordLangTuple.
10825
10826         * BufferView2.C:
10827         * ispell.C:
10828         * pspell.C:
10829         * text.C: #include "WordLangTuple.h".
10830
10831         * lyxtext.h:
10832         * text.C: (selectNextWordToSpellcheck): constify return type.
10833
10834 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10835
10836         * buffer.C:
10837         * buffer.h:
10838         * lyxtext.h:
10839         * paragraph.C:
10840         * paragraph_pimpl.h:
10841         * text.C:
10842         * text2.C:
10843         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10844         suggested by Angus.
10845         Made updateCounter always count from start of buffer, and removed
10846         second argument (par).
10847         Reverted floats number display to '#'. Perhaps I'll try again when the
10848         code base is sanitized a bit.
10849
10850 2002-08-12  Angus Leeming  <leeming@lyx.org>
10851
10852         * buffer.[Ch] (getLabelList): constify.
10853
10854 2002-08-07  André Pönitz <poenitz@gmx.net>
10855
10856         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10857
10858         * funcrequest.h: extension to keep mouse (x,y) position
10859
10860 2002-08-12  Juergen Vigna  <jug@sad.it>
10861
10862         * BufferView2.C (insertErrors): forbid undo when inserting error
10863         insets.
10864
10865         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10866
10867 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10868
10869         * ParagraphList.[Ch]: new files
10870
10871         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10872
10873         * BufferView2.C (lockInset): ParagraphList changes
10874         * toc.C: ditto
10875         * text2.C: ditto
10876         * bufferlist.C: ditto
10877         * buffer.h: ditto
10878         * buffer.C: ditto
10879
10880 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10881
10882         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10883         unused class variable counter_,
10884
10885         * paragraph.[Ch] (getFirstCounter): delete unused function
10886
10887         * counters.C: include LAssert.h
10888         (reset): add a new function with no arg, change other version to
10889         not have def. arg and to not allow empty arg.
10890
10891         * text2.C (setCounter): remove empty arg from call to Counters::reset
10892
10893 2002-08-11  John Levon  <levon@movementarian.org>
10894
10895         * Makefile.am: add WordLangTuple.h
10896
10897 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10898
10899         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10900         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10901
10902         * insets/insettext.C: InsetList changes
10903
10904         * graphics/GraphicsSupport.C (operator()): InsetList changes
10905
10906         * toc.C (getTocList): InsetList changes
10907
10908         * paragraph_pimpl.[Ch]: InsetList changes
10909
10910         * paragraph.[Ch]: InsetList changes
10911
10912         * buffer.C (inset_iterator): InsetList changes
10913         (setParagraph): ditto
10914         * buffer.h (inset_iterator): ditto
10915         * iterators.C (operator++): ditto
10916         * iterators.h: ditto
10917
10918         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10919
10920         * InsetList.[Ch]: new files, most InsetList handling moved out of
10921         paragraph.C.
10922
10923         * BufferView2.C (removeAutoInsets): InsetList changes
10924         (lockInset): ditto
10925         (ChangeInsets): ditto
10926
10927 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10928
10929         * paragraph_pimpl.h (empty): new function
10930
10931         * paragraph.[Ch] (empty): new function
10932
10933         * other files: use the new Paragraph::empty function
10934
10935 2002-08-09  John Levon  <levon@movementarian.org>
10936
10937         * lyxtext.h: remove unused refresh_height
10938
10939 2002-08-09  John Levon  <levon@movementarian.org>
10940
10941         * Makefile.am:
10942         * sgml.h:
10943         * sgml.C:
10944         * buffer.C:
10945         * paragraph.h:
10946         * paragraph.C: move sgml char escaping out of paragraph
10947
10948         * paragraph.h:
10949         * paragraph.C: remove id setter
10950
10951         * buffer.C:
10952         * paragraph.C:
10953         * paragraph_pimpl.C: remove dead tex_code_break_column
10954
10955         * bufferview_funcs.C: small cleanup
10956
10957         * lyxfunc.C: remove dead proto
10958
10959         * lyxtext.h: make some stuff private. Remove some dead stuff.
10960
10961         * lyxgluelength.C: make as[LyX]String() readable
10962
10963 2002-08-08  John Levon  <levon@movementarian.org>
10964
10965         * LyXAction.h:
10966         * LyXAction.C:
10967         * MenuBackend.C:
10968         * ToolbarDefaults.C:
10969         * lyxfunc.C:
10970         * lyxrc.C:
10971         * toc.C: lyxaction cleanup
10972
10973 2002-08-08  John Levon  <levon@movementarian.org>
10974
10975         * BufferView2.C: small cleanup
10976
10977         * lyxfind.h:
10978         * lyxfind.C: move unnecessary header into the .C
10979
10980 2002-08-08  John Levon  <levon@movementarian.org>
10981
10982         * funcrequest.h: just tedious nonsense
10983
10984         * lyx_main.h:
10985         * lyx_main.C: cleanups
10986
10987         * buffer.C:
10988         * vspace.C: remove dead header lyx_main.h
10989
10990 2002-08-07  Angus Leeming  <leeming@lyx.org>
10991
10992         * Paragraph.[Ch]:
10993         * paragraph_pimpl.h:
10994         Forward declare class Counters in paragraph.h by moving the ctrs member
10995         variable into Paragraph::Pimpl.
10996         (counters): new method, returning a reference to pimpl_->ctrs.
10997
10998         * text2.C: ensuing changes.
10999
11000 2002-08-07  John Levon  <levon@movementarian.org>
11001
11002         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11003
11004         * BufferView_pimpl.C: announce X selection on double/triple
11005           click
11006
11007         * lyx_main.C: use correct bool in batch dispatch
11008
11009         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11010
11011 2002-08-07  André Pönitz <poenitz@gmx.net>
11012
11013         * funcrequest.h: new class to wrap a kb_action and its argument
11014
11015         * BufferView.[Ch]:
11016         * BufferView_pimpl[Ch]:
11017         * LaTeX.C:
11018         * LyXAction.[Ch]:
11019         * lyxfunc.[Ch]:
11020         * lyxrc.C: subsequent changes
11021
11022
11023 2002-08-07  John Levon  <levon@movementarian.org>
11024
11025         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11026           document options change.
11027
11028 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11029
11030         * counters.[Ch]
11031         * text2.C
11032         * paragraph.[Ch]
11033         * makefile.am: move counters functionality over from
11034         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11035
11036 2002-08-06  John Levon  <levon@movementarian.org>
11037
11038         * WordLangTuple.h: new file for word + language code tuple
11039
11040         * SpellBase.h:
11041         * pspell.h:
11042         * pspell.C:
11043         * ispell.h:
11044         * ispell.C:
11045         * lyxtext.h:
11046         * text.C:
11047         * text2.C:
11048         * BufferView.h:
11049         * BufferView2.C: use WordLangTuple
11050
11051         * layout.h:
11052         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11053
11054 2002-08-06  John Levon  <levon@movementarian.org>
11055
11056         * lyx_main.C: fix cmdline batch handling
11057
11058 2002-08-06  André Pönitz <poenitz@gmx.net>
11059
11060         * lyxrc.C: set default for show_banner to true
11061
11062 2002-08-06  John Levon  <levon@movementarian.org>
11063
11064         * pspell.C: fix a crash, and allow new aspell to work
11065
11066 2002-08-06  John Levon  <levon@movementarian.org>
11067
11068         * lyxfunc.C:
11069         * kbmap.C: small cleanup
11070
11071         * vspace.h:
11072         * vspace.C: add const
11073
11074 2002-08-05  John Levon  <levon@movementarian.org>
11075
11076         * LyXAction.C: back to tabular-insert
11077
11078 2002-08-04  John Levon  <levon@movementarian.org>
11079
11080         * BufferView.h:
11081         * BufferView.C: cosmetic change
11082
11083         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11084
11085         * bufferlist.C:
11086         * buffer.h:
11087         * buffer.C:
11088         * lyxcb.h:
11089         * lyxcb.C:
11090         * lyxserver.C:
11091         * lyxvc.C:
11092         * vc-backend.C:
11093         * BufferView2.C: purge all "Lyx" not "LyX" strings
11094
11095         * lyxcursor.h:
11096         * lyxcursor.C: attempt to add some documentation
11097
11098         * lyxfunc.C:
11099         * commandtags.h:
11100         * LyXAction.C:
11101         * ToolbarDefaults.C:
11102         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11103           merge with LFUN_TABULAR_INSERT
11104
11105         * Makefile.am:
11106         * SpellBase.h:
11107         * ispell.h:
11108         * ispell.C:
11109         * pspell.h:
11110         * pspell.C: split up i/pspell implementations into separate
11111           files, many cleanups
11112
11113         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11114
11115         * text2.C: some cleanup
11116
11117         * lyxfunc.C: don't check for isp_command == "none" any more, it
11118           didn't make any sense
11119
11120 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11121
11122         * counters.[Ch]
11123         * text2.C
11124         * paragraph.[Ch]
11125         * makefile.am: move counters functionality over
11126         from text2.C/paragraph.[Ch] to counters.[Ch], and
11127         make proper C++.
11128 2002-08-02  John Levon  <levon@movementarian.org>
11129
11130         * buffer.C: s/lyxconvert/lyx2lyx/
11131
11132 2002-08-02  Angus Leeming  <leeming@lyx.org>
11133
11134         * lyxlex.C: revert John's change as it breaks reading of the user
11135         preamble.
11136
11137 2002-08-02  Angus Leeming  <leeming@lyx.org>
11138
11139         * importer.C (Import):
11140         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11141         changes due to LyXView::view() now returning a boost::shared_ptr.
11142
11143 2002-08-02  John Levon  <levon@movementarian.org>
11144
11145         * lyxlex.C: small cleanup
11146
11147 2002-08-02  John Levon  <levon@movementarian.org>
11148
11149         * text2.C (status): small cleanup, no logic change
11150
11151 2002-08-01  John Levon  <levon@movementarian.org>
11152
11153         * buffer.h:
11154         * buffer.C (writeFile): don't output alerts, caller
11155           handles this
11156
11157         * bufferlist.C:
11158         * lyx_cb.C: from above
11159
11160         * lyxfunc.C: allow to open non-existent files
11161
11162 2002-07-31  John Levon  <levon@movementarian.org>
11163
11164         * lyxserver.C: don't let incidental errors get
11165           in the way (errno)
11166
11167 2002-07-30  John Levon  <levon@movementarian.org>
11168
11169         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11170
11171 2002-07-30  John Levon  <levon@movementarian.org>
11172
11173         * lyxserver.h:
11174         * lyxserver.C: remove I/O callback too
11175
11176 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11177
11178         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11179         log.
11180
11181 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11182
11183         * many files: strip,frontStrip -> trim,ltrim,rtrim
11184
11185 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11186
11187         * PrinterParams.h: remove extern containsOnly, and include
11188         support/lstrings.h instead.
11189
11190         * LaTeX.C (scanAuxFile): modify because of strip changes
11191         (deplog): ditto
11192         * buffer.C (makeLaTeXFile): ditto
11193         * bufferparams.C (writeFile): ditt
11194         * lyxfont.C (stateText): ditto
11195         * lyxserver.C (read_ready): ditto
11196         * vc-backend.C (scanMaster): ditto
11197
11198         * BufferView_pimpl.h: ws changes
11199
11200         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11201
11202 2002-07-26  André Pönitz <poenitz@gmx.net>
11203
11204         * kb_sequence.C: remove unnedred usings
11205
11206 2002-07-26  Juergen Vigna  <jug@sad.it>
11207
11208         * lyxfind.C (LyXReplace): we have to check better if the returned
11209         text is not of theLockingInset()->getLockingInset().
11210
11211 2002-07-25  Juergen Vigna  <jug@sad.it>
11212
11213         * lyxfind.C (LyXReplace): don't replace if we don't get the
11214         right LyXText.
11215
11216         * undo_funcs.C (createUndo): remove debugging code.
11217
11218 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11219
11220         * buffer.C (parseSingleLyXformat2Token): Use default placement
11221         when reading old floats.
11222
11223         * FloatList.C (FloatList): Change the default placement of figure
11224         and tables to "tbp".
11225
11226 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11227
11228         * MenuBackend.C: using std::max
11229
11230 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11231
11232         * MenuBackend.C (expandToc):
11233         (expandToc2): code moved from xforms menu frontend. It is now
11234         generic and TOCs are transparent to menu frontends.
11235
11236 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11237
11238         * toc.C (getTocList): protect against buf=0
11239
11240         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11241         Menu as first parameter. Now, this calls itself recursively to
11242         expand a whole tree (this will be useful for TOC handling)
11243         (expandFloatInsert): remove 'wide' version of floats
11244
11245         * MenuBackend.h (submenuname): returns the name of the submenu.
11246         (submenu): returns the submenu itself, provided it has been
11247         created by MenuBackend::expand
11248
11249 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11250
11251         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11252         insets which have noFontChange == true. (bug #172)
11253
11254 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11255
11256         * BufferView_pimpl.C: add connection objects and use them...
11257         (Pimpl): here.
11258
11259 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11260
11261         * MenuBackend.C (expandLastfiles):
11262         (expandDocuments):
11263         (expandFormats):
11264         (expandFloatListInsert):
11265         (expandFloatInsert):
11266         (expand): split expand in parts
11267
11268 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11269
11270         * lyx_gui.C: use lyx_gui::exit()
11271
11272 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11273
11274         * LyXAction.C: show the failing pseudo action
11275
11276 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11277
11278         * buffer.C (readFile): Run the lyxconvert script in order to read
11279         old files.
11280
11281 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11282
11283         * LyXAction.C:
11284         * commandtags.h:
11285         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11286
11287 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11288
11289         * LyXAction.C:
11290         * commandtags.h:
11291         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11292
11293 2002-07-22  Herbert Voss  <voss@lyx.org>
11294
11295         * lengthcommon.C:
11296         * lyxlength.[Ch]: add support for the vertical lengths
11297
11298 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11299
11300         * toc.[Ch]: std:: fixes
11301
11302 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11303
11304         * lyxrc.C: do not include lyx_main.h
11305
11306         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11307         for layouts
11308
11309         * lyxrc.C:
11310         * encoding.C:
11311         * bufferlist.C:
11312         * BufferView2.C: include "lyxlex.h"
11313
11314         * tabular.h:
11315         * bufferparams.h: do not #include "lyxlex.h"
11316
11317         * lyxtextclasslist.C (Add): remove method
11318         (classlist): renamed to classlist_
11319
11320         * paragraph_pimpl.C:
11321         * paragraph.C:
11322         * text2.C:
11323         * CutAndPaste.C:
11324         * bufferview_funcs.C:
11325         * bufferlist.C:
11326         * text.C:
11327         * LaTeXFeatures.C:
11328         * buffer.C:
11329         * toc.C (getTocList): use BufferParams::getLyXTextClass
11330
11331         * toc.C (getTocList): use InsetFloat::addToToc
11332
11333         * toc.[Ch]: new files, containing helper functions to handle table
11334         of contents
11335
11336         * lyxfunc.C (dispatch): no need to remove spaces around command
11337         given as a string
11338         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11339         first command of the sequence; it is not very clever, but I do not
11340         have a better idea, actually
11341
11342         * LyXAction.C (LookupFunc): make sure to remove space at the
11343         beginning and end of the command
11344
11345 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11346
11347         * MenuBackend.C (getMenubar): new method: return the menubar of
11348         this menu set
11349         (read): treat differently reading of menu and menubar (in
11350         particular, the menubar has no name now)
11351         (Menu::menubar): remove
11352
11353         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11354         saving is finished
11355
11356 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11357
11358         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11359         a bibitem inset in a RTL paragraph.
11360
11361 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11362
11363         * paragraph_pimpl.C: constify
11364
11365         * BufferView_pimpl.C:
11366         * LaTeX.C:
11367         * lyxfunc.C: fix dispatch in a nicer way
11368
11369 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11370
11371         * lyxfunc.C (dispatch):
11372         * BufferView_pimpl.C:
11373         * BufferView_pimpl.h:
11374         * BufferView.C:
11375         * BufferView.h: rename Dispatch() to dispatch()
11376
11377         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11378
11379         * lyxlayout.C (Read): honor DependsOn tag
11380
11381         * lyxlayout.[Ch] (depends_on): new method
11382
11383         * version.C.in: update lyx_docversion
11384
11385         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11386
11387         * paragraph.C (validate): remove from here...
11388         * paragraph_pimpl.C (validate): ... and move here
11389         (isTextAt): make it const
11390
11391         * buffer.C (getLists): ws cleanup
11392
11393 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11394
11395         * language.C (read): Use iso8859-1 encoding in latex_lang
11396         (this prevents LyX from crashing when using iso10646-1 encoding).
11397
11398 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11399
11400         * text2.C (toggleInset): if cursor is inside an inset, close the
11401         inset and leave cursor _after_ it
11402
11403 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11404
11405         * lyxfunc.C: move minibuffer completion handling out of here
11406
11407 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11408
11409         * BufferView_pimpl.C:
11410         * LaTeX.C: fix dispatch calls
11411
11412 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11413
11414         * text.C (drawChars): Fix Arabic text rendering.
11415
11416 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11417
11418         * LyXAction.C:
11419         * commandtags.h:
11420         * lyxfunc.C: remove message-push/pop
11421
11422         * lyxserver.C:
11423         * lyxfunc.h:
11424         * lyxfunc.C: rationalise some code by removing verboseDispatch
11425           in favour of a bool argument to dispatch()
11426
11427 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11428
11429         * lyx_main.C (init): make sure to read symlinks as absolute paths
11430
11431 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11432
11433         * lyxfunc.h:
11434         * lyxfunc.C: no need for commandshortcut to be a member
11435
11436 2002-07-15  André Pönitz <poenitz@gmx.net>
11437
11438         * converter.C: add support for $$s (scripts from lib/scripts dir)
11439         * lyx_main.C: white space
11440
11441 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11442
11443         * bufferlist.C:
11444         * lyxrc.h:
11445         * lyxrc.C: remove second exit confirmation
11446
11447 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11448
11449         * BufferView.h:
11450         * BufferView.C:
11451         * BufferView2.C:
11452         * BufferView_pimpl.h:
11453         * BufferView_pimpl.C:
11454         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11455
11456 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11457
11458         * MenuBackend.C (expand): add numeric shortcuts to document menu
11459
11460         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11461
11462 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11463
11464         * lyxfont.C (setLyXFamily):
11465         (setLyXSeries):
11466         (setLyXShape):
11467         (setLyXSize):
11468         (setLyXMisc):
11469         (lyxRead):
11470         * debug.C (value):
11471         * buffer.C (asciiParagraph): use ascii_lowercase
11472
11473 2002-07-15  Mike Fabian  <mfabian@suse.de>
11474
11475         * lyxlex_pimpl.C (search_kw):
11476         * lyxlex.C (getLongString):
11477         * converter.h (operator<):
11478         * converter.C (operator<):
11479         * buffer.C (parseSingleLyXformat2Token):
11480         (asciiParagraph):
11481         * ToolbarDefaults.C (read):
11482         * MenuBackend.C (checkShortcuts):
11483         (read):
11484         * LColor.C (getFromGUIName):
11485         (getFromLyXName): use the compare_ascii_no_case instead of
11486         compare_no_case, because in turkish, 'i' is not the lowercase
11487         version of 'I', and thus turkish locale breaks parsing of tags.
11488
11489 2002-07-16  Angus Leeming  <leeming@lyx.org>
11490
11491         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11492         now takes a Buffer const & argument.
11493
11494 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11495
11496         * BufferView.C (resize): check there's a buffer to resize
11497
11498 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11499
11500         * lyxfunc.C: remove dead code
11501
11502         * lyxserver.h:
11503         * lyxserver.C: use lyx_guii::set_read_callback
11504
11505 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11506
11507         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11508         an inset in a RTL paragraph.
11509
11510 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11511
11512         * lyxfunc.C: repaint after a font size update
11513
11514 2002-07-15  André Pönitz <poenitz@gmx.net>
11515
11516         * lyxlength.C: inBP should be able to return negative values
11517
11518 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11519
11520         * lyxfunc.C: use lyx_gui::update_fonts()
11521
11522 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11523
11524         * lyxfunc.C: use lyx_gui::update_color()
11525
11526 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11527
11528         * bufferlist.C:
11529         * lyxfunc.h:
11530         * lyxfunc.C:
11531         * lyxrc.h:
11532         * lyxrc.C: remove file->new asks for name option, and let
11533           buffer-new take an argument
11534
11535 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11536
11537         * BufferView_pimpl.C: remove unneeded extra repaint()
11538
11539 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11540
11541         * LyXAction.C: allow command-sequence with NoBuffer
11542
11543         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11544
11545 2002-07-10  Angus Leeming  <leeming@lyx.org>
11546
11547         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11548
11549 2002-07-09  Angus Leeming  <leeming@lyx.org>
11550
11551         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11552
11553 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11554
11555         * lengthcommon.h: whitespace
11556
11557         * lyxfunc.C: update scrollbar after goto paragraph
11558
11559         * lyxtext.h: factor out page break drawing, and fix it so
11560           page break/added space paints as selected nicely
11561
11562 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11563
11564         * BufferView_pimpl.C: add FIXMEs, clean up a little
11565
11566 2002-07-09  André Pönitz <poenitz@gmx.net>
11567
11568         * lyxfont.[Ch]: support for wasy symbols
11569
11570 2002-07-08  André Pönitz <poenitz@gmx.net>
11571
11572         * BufferView_pimpl.C: apply John's patch for #93.
11573
11574 2002-07-05  Angus Leeming  <leeming@lyx.org>
11575
11576         * BufferView_pimpl.C (buffer): generate previews if desired.
11577
11578         * LColor.h: add "preview" to the color enum.
11579
11580         * LColor.C (LColor): add a corresponding entry to the items array.
11581
11582         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11583         with this buffer.
11584
11585 2002-07-05  Angus Leeming  <leeming@lyx.org>
11586
11587         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11588         The body of the code is now in the method that is passed an ostream &
11589         rather than a file name.
11590         Pass an additional only_preamble parameter, useful for the forthcoming
11591         preview stuff.
11592
11593 2002-07-03  André Pönitz <poenitz@gmx.net>
11594
11595         * lyxfunc.C: simplify getStatus() a bit for math stuff
11596
11597 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11598
11599         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11600
11601 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11602
11603         * text.C (changeRegionCase): do not change case of all the
11604         document when region ends at paragraph end (bug #461)
11605
11606 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11607
11608         * paragraph.C (startTeXParParams):
11609         (endTeXParParams): add \protect when necessary
11610
11611 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11612
11613         * BufferView_pimpl.C (workAreaExpose): remove warning
11614
11615 2002-06-27  Angus Leeming  <leeming@lyx.org>
11616
11617         * Makefile.am: add lyxlayout_ptr_fwd.h.
11618
11619 2002-06-26  André Pönitz <poenitz@gmx.net>
11620
11621         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11622
11623 2002-06-25  Angus Leeming  <leeming@lyx.org>
11624
11625         * lyxfunc.C (dispatch): Comment out the call to
11626         grfx::GCache::changeDisplay. The method no longer exists now that the
11627         pixmap generation part of the graphics loader has been moved into
11628         InsetGraphics.
11629
11630 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11631
11632         * text2.C: layout as layout
11633
11634         * text.C: layout as layout
11635
11636         * tabular.C (OldFormatRead): layout as layout
11637
11638         * paragraph_pimpl.C (TeXDeeper): layout as layout
11639         (realizeFont): layout as layout
11640
11641         * paragraph.C (writeFile): layout as layout
11642         (validate): layout as layout
11643         (getFont): layout as layout
11644         (getLabelFont): layout as layout
11645         (getLayoutFont): layout as layout
11646         (breakParagraph): layout as layout
11647         (stripLeadingSpaces): layout as layout
11648         (getEndLabel): layout as layout
11649         (getMaxDepthAfter): layout as layout
11650         (applyLayout): layout as layout
11651         (TeXOnePar): layout as layout
11652         (simpleTeXOnePar): layout as layout
11653         (TeXEnvironment): layout as layout
11654         (layout): layout as layout
11655         (layout): layout as layout
11656
11657         * lyxtextclass.C (compare_name): new functor to work with
11658         shared_ptr, layout as layout
11659         (Read): layout as layout
11660         (hasLayout): layout as layout
11661         (operator): layout as layout
11662         (delete_layout): layout as layout
11663         (defaultLayout): layout as layout
11664
11665         * lyxlayout_ptr_fwd.h: new file
11666
11667         * lyxlayout.C (Read): layout as layout
11668
11669         * lyx_cb.C (MenuInsertLabel): layout as layout
11670
11671         * bufferlist.C (newFile): layout as layout
11672
11673         * buffer.C (readLyXformat2): layout as layout
11674         (parseSingleLyXformat2Token): layout as layout
11675         (insertStringAsLines): layout as layout
11676         (asciiParagraph): layout as layout
11677         (latexParagraphs): layout as layout
11678         (makeLinuxDocFile): layout as layout
11679         (simpleLinuxDocOnePar): layout as layout
11680         (makeDocBookFile): layout as layout
11681         (simpleDocBookOnePar): layout as layout
11682         (getLists): layout as layout
11683
11684         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11685
11686         * CutAndPaste.C (cutSelection): layout as layout
11687         (pasteSelection): layout as layout
11688         (SwitchLayoutsBetweenClasses): layout as layout
11689
11690         * BufferView_pimpl.C (Dispatch): layout as layout
11691         (smartQuote): layout as layout
11692
11693         * BufferView2.C (unlockInset): layout as layout
11694
11695 2002-06-24  André Pönitz <poenitz@gmx.net>
11696
11697         * lyxfunc.C: fix #487
11698
11699 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11700
11701         * lyxrc.h:
11702         * lyxrc.C:
11703         * lyxfunc.C: remove display_shortcuts, show_banner
11704
11705 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11706
11707         * Buffer_pimpl.C: oops, update on resize
11708
11709 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11710
11711         * buffer.C:
11712         * converter.C:
11713         * exporter.C:
11714         * lyxfunc.C:
11715         * BufferView.h:
11716         * BufferView.C: use repaint()
11717
11718         * BufferView_pimpl.h:
11719         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11720           as it's a clearer description. Remove superfluous
11721           redraws.
11722
11723 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11724
11725         * text.C: fix bug 488. Not ideal, but getting
11726           getWord() to work properly for the insets that
11727           matter is more difficult ...
11728
11729 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11730
11731         * BufferView_pimpl.C:
11732         * LyXAction.C:
11733         * commandtags.h:
11734         * lyxfunc.C: remove the six million index lyxfuncs to just
11735           one, and DTRT (bug 458)
11736
11737 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * BufferView.h:
11740         * BufferView.C:
11741         * BufferView_pimpl.h:
11742         * BufferView_pimpl.C: clean up resize() stuff,
11743           and unnecessary updateScreen()s
11744
11745 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11746
11747         * BufferView.h:
11748         * BufferView.C:
11749         * BufferView_pimpl.h:
11750         * BufferView_pimpl.C:
11751         * lyxfind.h:
11752         * lyxfind.C:
11753         * minibuffer.C: remove focus management of workarea,
11754           not needed. Use screen's greyOut()
11755
11756 2002-06-17  Herbert Voss  <voss@lyx.org>
11757
11758         * converter.C: (convert) do not post a message, when converting
11759         fails, let the calling function decide what to do in this case
11760
11761 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11762
11763         * lyxfunc.C: tidy up a little
11764
11765 2002-06-16    <alstrup@diku.dk>
11766
11767         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11768         Got rid of FORMS_H_LOCATION include. Now we are
11769         GUII.
11770
11771 2002-06-15  LyX Development team  <lyx@rilke>
11772
11773         * buffer.[Ch] (sgmlOpenTag):
11774         (sgmlCloseTag): Added support for avoiding pernicious mixed
11775         content. Return number of lines written.
11776
11777         (makeLinuxDocFile):
11778         (makeDocBookFile): Fixed calls to sgml*Tag.
11779         Simple white space clean.
11780
11781         (simpleDocBookOnePar): Simple white space clean.
11782
11783         * tabular.[Ch] (docBook): Renamed to docbook and got another
11784         argument to related with the pernicious mixed content.
11785
11786         (docbookRow): Fixed calls for docbook inset method.
11787
11788 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11789
11790         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11791         so it's X11 independent.
11792
11793         * kb*.[Ch]: ditto.
11794
11795         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11796
11797 2002-06-15  Lyx Development team  <lyx@electronia>
11798
11799         * intl.h: Renamed getTrans to getTransManager.
11800
11801 2002-06-14  Angus Leeming  <leeming@lyx.org>
11802
11803         * Makefile.am: nuke forgotten stl_string_fwd.h.
11804
11805 2002-06-12  Angus Leeming  <leeming@lyx.org>
11806
11807         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11808
11809 2002-06-13  Angus Leeming  <leeming@lyx.org>
11810
11811         * LaTeX.C:
11812         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11813
11814 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11815
11816         * kbmap.C (getiso): add support for cyrillic and greek
11817
11818 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11819
11820         * BufferView.h:
11821         * BufferView.C:
11822         * BufferView_pimpl.h:
11823         * BufferView_pimpl.C: move bogus scrolling logic
11824           to xforms
11825
11826 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * lyxfunc.C:
11829         * BufferView_pimpl.C: view->resize() change
11830
11831 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11832
11833         * BufferView_pimpl.C: topCursorVisible
11834           prototype change
11835
11836 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11837
11838         * Makefile.am:
11839         * lyx_gui.h:
11840         * lyx_gui.C: move to frontends/
11841
11842         * main.C:
11843         * lyx_main.h:
11844         * lyx_main.C: changes from above
11845
11846 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11847
11848         * intl.C:
11849         * intl.h:
11850         * kbmap.C:
11851         * kbsequence.C:
11852         * lyx_cb.C:
11853         * lyx_main.C: minor tidy
11854
11855 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11856
11857         * BufferView_pimpl.h:
11858         * BufferView_pimpl.C:
11859         * BufferView.h:
11860         * BufferView.C: make painter() const,
11861           remove dead code
11862
11863         * BufferView2.C: use screen() accessor
11864
11865         * lyx_main.h:
11866         * lyx_main.C: some minor cleanup
11867
11868 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * BufferView_pimpl.h:
11871         * BufferView_pimpl.C: remove enter/leaveView,
11872           use workHeight()
11873
11874 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11875
11876         * BufferView.h:
11877         * BufferView.C:
11878         * BufferView2.C:
11879         * BufferView_pimpl.h:
11880         * BufferView_pimpl.C: only construct screen once,
11881           rename
11882
11883         * lyxrc.C: remove pointless comment
11884
11885 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11886
11887         * BufferView.h:
11888         * BufferView.C: remove active() and belowMouse()
11889
11890         * BufferView_pimpl.h:
11891         * BufferView_pimpl.C: use workarea() not workarea_,
11892           and make it use a scoped_ptr instead
11893
11894 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11895
11896         * lyx_gui.C: add debug message on BadWindow
11897
11898 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11899
11900         * sp_spell.C: fdopen is not part of the C++ standard.
11901
11902         * paragraph.C (InsetIterator): use >= instead of ==
11903
11904 2002-06-07  Angus Leeming  <leeming@lyx.org>
11905
11906         Fixes needed to compile with Compaq cxx 6.5.
11907         * BufferView_pimpl.C:
11908         * DepTable.C:
11909         * buffer.C:
11910         * converter.C:
11911         * encoding.C:
11912         * lyx_gui.C:
11913         * lyx_main.C:
11914         * lyxtextclasslist.C:
11915         * minibuffer.C:
11916         * sp_spell.C:
11917         * tabular_funcs.C:
11918         * vc-backend.C:
11919         all c-library variables have been moved into namespace std. Wrap
11920         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11921
11922         * lyxlength.C:
11923         * tabular-old.C:
11924         * tabular.C:
11925         Add a using std::abs declaration.
11926
11927         * kbmap.h (modifier_pair):
11928         * paragraph.h (InsetTable, InsetList):
11929         * lyxfont.h (FontBits):
11930         type definition made public.
11931
11932         * bufferlist.C (emergencyWriteAll): the compiler complains that
11933         there is more than one possible lyx::class_fun template to choose from.
11934         I re-named the void specialisation as lyx::void_class_fun.
11935
11936         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11937
11938         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11939         the compiler is is unable to find tostr in write_attribute.
11940
11941 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11942
11943         * buffer.C (sgmlError): hide #warning
11944
11945 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11946
11947         * xtl/*: get rid of xtl, which is not in use anyway
11948
11949         * LyXAction.C (init):
11950         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11951         were unimplemented xtl experimentation
11952
11953 2002-06-04  André Pönitz <poenitz@gmx.net>
11954
11955         * lyxfunc.C: disable array operation on simple formulae
11956
11957 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11958
11959         * converter.C: constify a bit
11960
11961 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11962
11963         * lyx_gui.C: check xforms version correctly
11964
11965 2002-04-30  Herbert Voss  <voss@lyx.org>
11966
11967         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11968         "keep" option
11969
11970 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11971
11972         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11973           attempt to register it with a VCS)
11974
11975 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11976
11977         * lyx_main.C (init): honor variables LYX_DIR_13x and
11978         LYX_USERDIR_13x
11979
11980 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11981
11982         * buffer.h:
11983         * buffer.C:
11984         * lyx_main.C: fix a crash on bad command line,
11985           and give a useful exit status on error
11986
11987         * lyxfunc.C (doImport): allow -i lyx to work
11988
11989 2002-03-30  André Pönitz <poenitz@gmx.net>
11990
11991         * lyxfunc.C: mathed font changes
11992
11993 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * LaTeX.C:
11996         * importer.h:
11997         * importer.C:
11998         * lyx_sty.h:
11999         * lyx_sty.C:
12000         * lyxlex.C:
12001         * lyxrow.h:
12002         * lyxtext.h:
12003         * paragraph.h:
12004         * paragraph.C:
12005         * texrow.h:
12006         * texrow.C:
12007         * text.C:
12008         * trans_mgr.h: srcdocs, and some minor cleanups
12009
12010 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12011
12012         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12013         call getFont all the time)
12014
12015 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12016
12017         * switch from SigC signals to boost::signals
12018
12019 2002-05-29  André Pönitz <poenitz@gmx.net>
12020
12021         * paragraph_pimpl.C (getChar): don't call size() too often...
12022
12023 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12024
12025         * paragraph_pimpl.C (insertChar): do not try to update tables when
12026         appending (pos == size())
12027
12028         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12029         in order to reduce drastically the number of comparisons needed to
12030         parse a large document
12031
12032 2002-05-29  André Pönitz <poenitz@gmx.net>
12033
12034         * text.C:
12035         * text2.C:
12036         * lyxtextclass.C:
12037         * sp_pspell.h:
12038         * textclasslist.[Ch]:
12039         * sp_ispell.h: whitespace change
12040
12041 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12042
12043         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12044         lyxaction directly now.
12045
12046 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * trans.C:
12049         * lyxfont.C:
12050         * lyxvc.C: remove unused headers
12051
12052 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12053
12054         * Makefile.am:
12055         * buffer.h:
12056         * undostack.h:
12057         * undostack.C:
12058         * undo_funcs.h:
12059         * undo_funcs.C: some cleanups. Use shared_ptr
12060           and a template for the undo stacks.
12061
12062 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * BufferView_pimpl.h:
12065         * BufferView_pimpl.C:
12066         * kbmap.h:
12067         * kbmap.C:
12068         * kbsequence.h:
12069         * kbsequence.C:
12070         * lyxfunc.h:
12071         * lyxfunc.C:
12072         * text2.C: use key_state/mouse_state
12073
12074 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12075
12076         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12077         and LSubstring
12078
12079         * chset.C: change include order
12080         (loadFile): use boost regex and get rid of LRegex and LSubstring
12081
12082         * Makefile.am (BOOST_LIBS): new variable
12083         (lyx_LDADD): use it
12084
12085         * LaTeX.C: change include order.
12086         (scanAuxFile): use boost regex and get rid of LRegex and
12087         LSubstring
12088         (deplog): ditto
12089
12090 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12091
12092         * ColorHandler.h:
12093         * ColorHandler.C:
12094         * FontInfo.h:
12095         * FontInfo.C: moved to frontends/xforms/
12096
12097         * FontLoader.h:
12098         * FontLoader.C: moved into frontends for GUIIzation
12099
12100         * Makefile.am:
12101         * lyx_gui.C:
12102         * lyxfont.C:
12103         * lyxfunc.C: changes from above
12104
12105 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12106
12107         * LColor.C: remove spurious X include
12108
12109         * BufferView_pimpl.C:
12110         * Makefile.am:
12111         * font.h:
12112         * font.C:
12113         * text.C:
12114         * text2.C: move font metrics to frontends/
12115
12116 2002-05-24  Juergen Vigna  <jug@sad.it>
12117
12118         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12119         setting the undo_cursor.
12120
12121         * ParagraphParameters.h: include local includes first.
12122
12123 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12124
12125         * BufferView_pimpl.C:
12126         * BufferView_pimpl.h:
12127         * Makefile.am:
12128         * WorkArea.h:
12129         * WorkArea.C:
12130         * screen.C: move WorkArea into frontends/
12131
12132         * lyxscreen.h:
12133         * screen.C:
12134         * text.C:
12135         * BufferView.C:
12136         * BufferView2.C: move LyXScreen into frontends/
12137
12138         * lyxlookup.h:
12139         * lyxlookup.C:
12140         * lyx_gui.C: move lyxlookup into frontends/xforms/
12141
12142 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * BufferView2.C:
12145         * BufferView_pimpl.C:
12146         * FontLoader.C:
12147         * LyXView.h:
12148         * LyXView.C:
12149         * Makefile.am:
12150         * WorkArea.C:
12151         * XFormsView.h:
12152         * XFormsView.C:
12153         * buffer.C:
12154         * bufferlist.C:
12155         * bufferview_funcs.C:
12156         * converter.C:
12157         * importer.C:
12158         * lyx_cb.C:
12159         * lyx_gui.C:
12160         * lyx_main.C:
12161         * lyx_find.C:
12162         * lyxfunc.C:
12163         * lyxvc.C:
12164         * minibuffer.C:
12165         * text.C:
12166         * text2.C:
12167         * trans.C:
12168         * vc-backend.C: move LyX/XFormsView into frontends/
12169
12170 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12171
12172         * Makefile.am:
12173         * PainterBase.C:
12174         * PainterBase.h:
12175         * Painter.C:
12176         * Painter.h:
12177         * WorkArea.C:
12178         * WorkArea.h:
12179         * screen.C:
12180         * tabular.C:
12181         * text.C:
12182         * text2.C: move Painter to frontends/
12183
12184 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12185
12186         * buffer.C: comment out some some code that depend upon lyx_format
12187         < 220
12188
12189         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12190         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12191
12192         * buffer.h (NO_COMPABILITY): turn off compability
12193
12194         * ColorHandler.C: include scoped_array.hpp
12195
12196         * font.C: Use more specific smart_ptr header.
12197         * Painter.C: ditto
12198         * gettext.C: ditto
12199         * ShareContainer.h: ditto
12200         * lyx_main.h: ditto
12201         * kbmap.h: ditto
12202         * FontInfo.h: ditto
12203         * BufferView_pimpl.h: ditto
12204         * ColorHandler.h: ditto
12205
12206         * kbmap.C (defkey): change call to shared_ptr::reset
12207
12208 2002-05-21  Juergen Vigna  <jug@sad.it>
12209
12210         * buffer.C (insertErtContents): fix to insert ert asis if it is
12211         non empty. Skip it completely if it contains only whitespaces.
12212
12213 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12214
12215         * BufferView_pimpl.C:
12216         * BufferView2.C: clear selection on paste (bug 393)
12217
12218 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12219
12220         * DepTable.C: include ctime
12221
12222 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12223
12224         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12225
12226 2002-05-14  Juergen Vigna  <jug@sad.it>
12227
12228         * text.C (breakParagraph): fixed function to honor the keepempty
12229         layout in the right maner and also to permit the right breaking
12230         algorithm on empty or non empyt keepempty paragraphs.
12231
12232         * paragraph.C (breakParagraph): we have to check also if the par
12233         is really empty (!size()) for isempty otherwise we do the wrong
12234         paragraph break.
12235
12236 2002-05-10  Juergen Vigna  <jug@sad.it>
12237
12238         * buffer.[Ch] : The following are only changes to the ert
12239         compatibility read reading old LaTeX layout and font stuff and
12240         convert it to ERTInsets.
12241
12242         * buffer.h: added isErtInset().
12243
12244         * buffer.C (struct ErtComp): add a fromlayout bool to check
12245         if we're inside a LaTeX layout.
12246         (isErtInset): new helper function.
12247         (insertErtContents): look for other ert insets before this one
12248         and insert the contents there, so that we don't have subsequent
12249         ERT insets with nothing between them. This way we create only one
12250         inset with multiple paragraphs. Also check if we don't insert only
12251         spaces ' ' as they are ignored anyway afterwards in the .tex file
12252         so if we have only spaces we will ignore this latex part in the
12253         new file.
12254         (parseSingleLyXformat2Token \\layout): better compatibility when
12255         reading layout-latex stuff.
12256         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12257         language tag.
12258         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12259         stuff after reading the inset only get the information back from
12260         the stack.
12261
12262 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12263
12264         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12265
12266         * LaTeXFeatures.C (getBabelOptions): New method.
12267
12268 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12269
12270         * BufferView_pimpl.C (Dispatch): work around missing argument for
12271         'layout'
12272
12273 2002-05-08  Juergen Vigna  <jug@sad.it>
12274
12275         * text.C (leftMargin): handle paragraph leftindent.
12276
12277         * paragraph.C (writeFile): write the new \\leftindent tag.
12278         (validate): handle leftindent code.
12279         (TeXEnvironment): handle paragraphleftindent code again.
12280
12281         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12282
12283         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12284         for paragrap_extra indent code and new token \\leftindent.
12285         (latexParagraphs): handle the leftindent as environment.
12286
12287         * ParameterStruct.h: added leftindent support.
12288
12289         * ParagraphParameters.C (leftIndent): added support functions for
12290         the paragraph left indent.
12291
12292         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12293         more appropriate.
12294
12295 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12296
12297         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12298         inside insetERT.
12299
12300         * text.C (computeBidiTables): No bidi in insetERT.
12301
12302         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12303         in RTL documents.
12304
12305 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12306
12307         * version.C.in: pre 5
12308
12309 2002-05-02  José Matos  <jamatos@fep.up.pt>
12310         * buffer.C (makeDocBookFile): white space changes, add newline to
12311         command styles.
12312         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12313
12314         * tabular.C (docBook): fix typo.
12315
12316 2002-05-03  Juergen Vigna  <jug@sad.it>
12317
12318         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12319         change in LyXText as we can not be sure it was not freed.
12320         (drawOneRow): remove unused code.
12321
12322         * text.C (drawInset): redo the calculation of the need_break_row as
12323         it could have a row which was already freed.
12324         (draw): look at the return value of drawInset and return false if
12325         it also returned false.
12326         (paintRowText): look at the return value of draw and return false if
12327         it also returned false.
12328
12329         * lyxtext.h: added bool return type to drawInset() and draw() so that
12330         if we have a change in the row so that the rowbreak has to be redone
12331         we abort drawing as it will be called again.
12332
12333 2002-05-02  Juergen Vigna  <jug@sad.it>
12334
12335         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12336         a change in the maintext also if we're inside an inset.
12337         (Dispatch): set the cursor again after a break line and after the
12338         screen has been updated as it could be we're in a different row.
12339
12340         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12341         to set the cursor behind the pargraph with > size().
12342         (setCursor): check also for the same paragraph when checking where
12343         to put the cursor if we have a NFR inset.
12344
12345         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12346         parts of layout read further up as it still was in the wrong
12347         position.
12348
12349 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12350
12351         * screen.C (drawFromTo): change sine fullRebreak always return
12352         true.
12353
12354         * buffer.C (parseSingleLyXformat2Token): reindent some
12355
12356         * BufferView_pimpl.C (update): change since fullRebreak always
12357         return true.
12358         (Dispatch): git rid of the last hardcoded "Standard"s.
12359
12360 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12361
12362         * text2.[Ch] (fullRebreak): make it return void now that we always
12363         returned true.
12364
12365 2002-04-30  Juergen Vigna  <jug@sad.it>
12366
12367         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12368         ert compatibility check for "latex" layout.
12369
12370 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12371
12372         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12373         minipages: use col% instead of p%, and also use the current font.
12374         (makeLaTeXFile): Fix use babel condition.
12375         (parseSingleLyXformat2Token): Correct font when reading old floats.
12376
12377 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12378
12379         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12380         inserting list of floats.
12381
12382 2002-04-25  Herbert Voss  <voss@lyx.org>
12383
12384         * MenuBackend.C (expand): don't add the graphics extensions to the
12385         export menu
12386
12387 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12388
12389         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12390         non-existing layout, do not complain if it was the default layout
12391         of the original class (bug #342)
12392
12393 2002-04-24  Juergen Vigna  <jug@sad.it>
12394
12395         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12396         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12397
12398 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12399
12400         * buffer.C (getBibkeyList): If using \bibliography, return the
12401         option field with the reference itself. Enables us to provide natbib
12402         support when using \bibliography.
12403
12404 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12405
12406         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12407
12408         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12409         natbib is provided by the LaTeX class.
12410
12411 2002-04-23  Juergen Vigna  <jug@sad.it>
12412
12413         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12414         Wakeup functions.
12415
12416         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12417
12418 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12419
12420         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12421
12422         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12423         ensuremath around textordmasculine, textordfeminine and
12424         textdegree.
12425
12426 2002-04-19  Juergen Vigna  <jug@sad.it>
12427
12428         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12429         reinitializing the buffer otherwise row-dimensions may be wrong.
12430         (update): reset also the selection cursors if they do exits otherwise
12431         their x/y positions may be wrong.
12432
12433         * text2.C (cursorDown): don't enter the inset if we came from a row
12434         above and are one row over the inset.
12435
12436         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12437         really leaving an inset.
12438
12439 2002-04-18  Juergen Vigna  <jug@sad.it>
12440
12441         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12442         of the selected paragraph does not have the selected layout also if
12443         the last one had!
12444
12445         * text2.C (setLayout): fixed bug which did not change last selected
12446         paragraph.
12447
12448         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12449         changed the read and substituted \\end_float with \\end_inset!
12450
12451         * BufferView_pimpl.C (cursorPrevious):
12452         (cursorNext): fixed to make it work with rows heigher than the work
12453         area without moving the cursor only the draw of the row.
12454         (workAreaMotionNotify): fix jumping over high rows.
12455
12456 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12457
12458         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12459         Ressler.
12460
12461 2002-04-16  Juergen Vigna  <jug@sad.it>
12462
12463         * text2.C (setCursor): set also the irow().
12464         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12465         (cursorUp):
12466         (cursorDown): support for locking an inset if the x_fix value goes
12467         inside it. That way I can transverse insets too with cursor up/down.
12468
12469         * lyxrow.h: added irow helper function same as other (i) functions.
12470
12471         * BufferView_pimpl.C (cursorPrevious):
12472         (cursorNext): fixed for insets!
12473
12474 2002-04-15  Juergen Vigna  <jug@sad.it>
12475
12476         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12477         position otherwise it is wrong in some cases.
12478
12479         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12480         inside the inset before the call.
12481
12482 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12483
12484         * buffer.[Ch] (getBibkeyList): make it const.
12485
12486 2002-04-12  Juergen Vigna  <jug@sad.it>
12487
12488         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12489
12490         * text2.C (getCursorX): new helper function
12491         (setCursor): compute also ix_
12492         (setCursorFromCoordinates): set also ix.
12493
12494         * lyxcursor.h: added ix_ and helper functions.
12495
12496         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12497
12498         * buffer.C (insertStringAsLines): dont break paragraph if the this
12499         paragraph is inside an inset which does not permit it!
12500
12501         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12502         also with no chars on this paragraph.
12503         (paintRowText): only paint stuff if it's inside the workarea!
12504
12505         * paragraph.C (breakParagraph): honor keepempty flag and break the
12506         paragraph always below not above.
12507
12508         * BufferView2.C (unlockInset): update the paragraph layout on inset
12509         unlock as we changed paragraph in such a case.
12510
12511         * lyxfind.C (LyXFind): clear the former selection if not found!
12512
12513         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12514         again called in insertChar().
12515
12516         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12517         an inset which uses the whole row!
12518         (rightMargin): ditto.
12519         (insertChar): force a rebreak if we inserted an inset!
12520
12521 2002-03-28  Herbert Voss  <voss@lyx.org>
12522
12523         * lyxlength.[Ch]: add inBP() to get the right PS-point
12524         units (BigPoint). With inPixels we have rounding errors
12525
12526 2002-04-11  Juergen Vigna  <jug@sad.it>
12527
12528         * text2.C (setCursorFromCoordinates): set iy to the right value.
12529         (setCursor): add check if row->previous exists!
12530
12531         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12532         an old float_type as this was the case in the old code!
12533
12534         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12535
12536         * BufferView2.C (showLockedInsetCursor): use iy
12537         (fitLockedInsetCursor): ditto
12538
12539         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12540         locked insets as there we have the right value now.
12541
12542         * lyxcursor.C: added iy_ variable and iy functions to set to the
12543         baseline of cursor-y of the locked inset.
12544
12545         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12546         (setCursor): fixed for insets which need a full row.
12547
12548         * text.C (rowLastPrintable): don't ignore the last space when before
12549         an inset which needs a full row.
12550         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12551         as last character of a row when before a inset which needs a full row.
12552
12553 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12554
12555         * version.C.in: update date
12556
12557         * text2.C (fullRebreak): try to always return true and see what
12558         happens...
12559
12560 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12561
12562         * MenuBackend.C (expand): use Floating::listName
12563
12564         * FloatList.C (FloatList): add listName argument to the built-in
12565         floats
12566
12567         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12568         text associated with the float.
12569
12570 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12571
12572         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12573
12574 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12575
12576         * ShareContainer.h: add a couple of missing typenames.
12577
12578 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12579
12580         * lyxrc.C (getDescription): use _() correctly rather than N_().
12581
12582 2002-03-28  Herbert Voss  <voss@lyx.org>
12583
12584         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12585         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12586
12587 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12588
12589         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12590         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12591
12592 2002-03-29  Juergen Vigna  <jug@sad.it>
12593
12594         * lyxfunc.C (dispatch): add a missing fitCursor call.
12595
12596         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12597         it was scrolled by a cursor move, so return the bool status.
12598
12599         * BufferView.C (fitCursor): return the bool flag also to the outside
12600         world as this is needed.
12601
12602         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12603
12604         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12605         call the edit() as it is not needed (and wrong) IMO.
12606         (workAreaButtonPress): set the screen_first variable before evt.
12607         unlock the inset as this may change screen_first and then we have
12608         a wrong y position for the click!
12609
12610 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12611
12612         * MenuBackend.C (expand): another translation that I missed
12613
12614 2002-03-28  Juergen Vigna  <jug@sad.it>
12615
12616         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12617
12618         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12619
12620 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12621
12622         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12623
12624         * MenuBackend.C (expand): fix export/view/update when there is no
12625         document open.
12626
12627 2002-03-27  Herbert Voss  <voss@lyx.org>
12628
12629         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12630         and text%
12631
12632 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12633
12634         * bufferview_funcs.C (currentState): only show paragraph number
12635         for is DEVEL_VERSION is set.
12636
12637         * lyxfunc.C (dispatch): put warning in INFO channel
12638
12639         * MenuBackend.C (expand): translate the name of floats
12640
12641         * FloatList.C (FloatList): mark the float names for translation
12642
12643         * converter.C (convert): use LibScriptSearch
12644
12645 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12646
12647         * MenuBackend.C (defaults): fix default menu (we might as well get
12648         rid of it...)
12649
12650 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12651
12652         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12653         directory.
12654
12655 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12656
12657         * lyxvc.C: reorder includes.
12658
12659 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12660
12661         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12662           properly
12663
12664 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12665
12666         * CutAndPaste.C: change layouts earlier on paste
12667           to avoid crashing when calling getFont()
12668
12669 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12670
12671         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12672         irritating #error.
12673
12674 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12675
12676         * WorkArea.C: remove 'Pending' debug message.
12677
12678         * most files: ws cleanup
12679
12680         * buffer.[Ch]: ws changes
12681
12682         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12683
12684 2002-03-21  Juergen Vigna  <jug@sad.it>
12685
12686         * tabular.C (SetMultiColumn): collapse also the contents of the
12687         cells and set the last border right. Added a Buffer const * param.
12688
12689 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12690
12691         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12692         linking or not.
12693
12694 2002-03-19  Juergen Vigna  <jug@sad.it>
12695
12696         * text2.C (clearSelection): reset also xsel_cache.
12697
12698         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12699         where it needs to be called (John tells us to do so too :)
12700         (selectionLost): reset sel_cache.
12701
12702         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12703
12704 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12705
12706         * text2.C (setCursorIntern): put debuging code in INSETS channel
12707
12708 2002-03-19  André Pönitz <poenitz@gmx.net>
12709
12710         * lyxfunc.C: tiny whitespace change
12711
12712 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12713
12714         * ToolbarDefaults.C (init):
12715         * LyXAction.C (init):
12716         * commandtags.h:
12717         * BufferView_pimpl.C (Dispatch):
12718         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12719
12720 2002-03-19  Allan Rae  <rae@lyx.org>
12721
12722         * exporter.C (Export): removeAutoInsets before doing anything else.
12723         While I've just introduced a dependency on BufferView this really is
12724         the best place to clean the buffer otherwise you need to cleanup in
12725         a dozen places before calling export or cleanup in a dozen functions
12726         that export calls.
12727
12728         * converter.C (runLaTeX):
12729         (scanLog): Better handling of removeAutoInsets and screen updates.
12730
12731         * lyxfunc.C (dispatch): small whitespace changes
12732
12733 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12734
12735         * WorkArea.C (C_WorkAreaEvent): return a value.
12736         (event_cb): return 1 if we handled the event, 0 otherwise.
12737
12738         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12739
12740 2002-03-18  Juergen Vigna  <jug@sad.it>
12741
12742         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12743         (GetAdditionalWidth): ditto.
12744         (RightLine): ditto.
12745         (LeftLine): ditto.
12746
12747         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12748         inset if we're there actually (probably not used right now but this
12749         is the direction to go for unifying code).
12750         (paste): disable code to clear the selection.
12751
12752         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12753         inside an InsetText and move the check further up as it is in the
12754         wrong place.
12755
12756         * text2.C (pasteSelection): set a selection over the pasted text.
12757
12758 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12759
12760         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12761         and libgraphics to build on Cygwin.
12762
12763 2002-03-15  Juergen Vigna  <jug@sad.it>
12764
12765         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12766         inserting an Inset into the paragraph. I know this is not the best
12767         fix but we already use current_view in CutAndPaste so we will remove
12768         all of it's using at the same time.
12769
12770         * buffer.C (sgmlError): deactivated function till it is rewritten in
12771         the right mode, now it can create problems.
12772
12773         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12774         before accessing it.
12775
12776 2002-03-14  Juergen Vigna  <jug@sad.it>
12777
12778         * undo_funcs.C (textHandleUndo): do the right thing when updating
12779         the inset after the undo/redo.
12780
12781         * text2.C (setCursor): just some testcode for #44 not ready yet.
12782
12783         * undo_funcs.C (textHandleUndo): set the next() and previous()
12784         pointers of the paragraph to 0 before deleting otherwise we have
12785         problems with the Paragraph::[destructor].
12786
12787         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12788         on a paragraph insertion.
12789
12790 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12791
12792         * buffer.C (asciiParagraph): use += operator for char append to
12793         string.
12794
12795         * paragraph.C (getFontSettings): compare >= not just >
12796         (highestFontInRange): ditto
12797         (setFont): ditto
12798
12799 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12800
12801         * paragraph.C: change several algorithm to be more appripriate for
12802         the problem domain. This is lookip in FontList and in the InsetList.
12803
12804 2002-03-13  André Pönitz <poenitz@gmx.net>
12805
12806         * commandtags.h:
12807         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12808
12809 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12810
12811         * commandtags.h:
12812         * LyXAction.C:
12813         * lyxfunc.C:
12814         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12815
12816 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12817
12818         * Painter.C (display): anon helper function, adjust code for this
12819         change.
12820         (pixmap): remove function.
12821
12822         * Painter.h: remove private display variable.
12823
12824         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12825
12826 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12827
12828         * WorkArea.[Ch]: remove figinset_canvas cruft.
12829
12830 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12831
12832         * lyxtextclass.C (operator): add one item cache optimization.
12833
12834         * bufferlist.h: doxy changes
12835
12836         * bufferlist.C: ws changes
12837
12838         * DepTable.[Ch] (ext_exist): place const in the right spot.
12839
12840         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12841         call resizeInsets.
12842         (workAreaExpose): call resizeInsets when the with BufferView changes.
12843         (Dispatch): adjust for protectedBlank removal
12844         (specialChar): call updateInset if the insert went ok.
12845
12846         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12847         specialChar instead.
12848
12849         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12850
12851         * BufferView.h: doxy change
12852
12853         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12854
12855         * lyxtextclass.C (operator[]): remove non-const version
12856         (defaultLayout): remove non-const version
12857
12858 2002-03-12  Juergen Vigna  <jug@sad.it>
12859
12860         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12861         did resize the LyXText too.
12862
12863         * buffer.C (readLyXformat2): set layout information on newly allocated
12864         paragraphs.
12865
12866         * tabular.C (OldFormatRead): set layout information on the paragraph.
12867
12868 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12869
12870         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12871
12872 2002-03-11  Juergen Vigna  <jug@sad.it>
12873
12874         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12875         plainly wrong.
12876         (resizeCurrentBuffer): force also the insets to resize themselfes.
12877         (moveCursorUpdate): fixed up for InsetText.
12878
12879 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12880
12881         * commandtags.h:
12882         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12883         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12884         value of Dialogs::tooltipsEnabled().
12885         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12886
12887 2002-03-08  Juergen Vigna  <jug@sad.it>
12888
12889         * BufferView_pimpl.C (updateInset): update inset inside inset also
12890         if it isn't inside theLockingInset().
12891
12892 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12893
12894         * buffer.C (asciiParagraph): redo some of the word and line length
12895         handling.
12896         (getLists): look for Caption instead of caption.
12897
12898 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12899
12900         * buffer.C (Buffer): initialize niceFile to true
12901         (makeLaTeXFile):
12902         (makeLinuxDocFile):
12903         (makeDocBookFile): make sure niceFile is true on exit
12904
12905 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12906
12907         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12908
12909 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12910
12911         * LyXSendto.C: remove.
12912         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12913         * lyx_gui.C: remove now-redundant comment.
12914         * ColorHandler.h: remove forward declaration of class WorkArea.
12915         * lyxfunc.C: remove #include "WorkArea.h".
12916
12917 2002-03-07  Juergen Vigna  <jug@sad.it>
12918
12919         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12920         got moved away with the DEPM and also set the inset_owner always
12921         right which before could have been omitted.
12922
12923 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12924
12925         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12926         wanted layout is not found.
12927
12928 2002-03-07  Juergen Vigna  <jug@sad.it>
12929
12930         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12931
12932 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12933
12934         * paragraph.C (breakParagraph): use default layout not layout of
12935         prev paragraph.
12936         (Paragraph): clear ParagraphParameters.
12937
12938 2002-03-06  Juergen Vigna  <jug@sad.it>
12939
12940         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12941         otherwise it would not be a valid lenght. Fixed a special case in
12942         the minipage compatibility read where we end the document with a
12943         minipage.
12944
12945         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12946         was set as it could be 0 for InsetTexts first entry.
12947
12948 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12949
12950         * paragraph.C (writeFile): if layout is empty write out
12951         defaultLayoutName().
12952
12953         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12954         file without named layout we set layout to defaultLayoutName().
12955
12956 2002-03-06  Juergen Vigna  <jug@sad.it>
12957
12958         * CutAndPaste.C (copySelection): set layout for new paragraph.
12959
12960         * text.C (prepareToPrint): leave ERT inset left aligned
12961         (leftMargin): don't indent paragraphs inside ERT insets
12962
12963 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12964
12965         * paragraph.C (breakParagraph): dont call clear do the work manually
12966
12967         * paragraph.[Ch] (clear): remove function
12968
12969 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12970
12971         * paragraph.C (Paragraph): dont call clear, the work has already
12972         been done.
12973
12974         * lyxtextclass.C (operator): assert if n is empty
12975
12976         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12977         work manually instead.
12978
12979 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12980
12981         * BufferView_pimpl.C: protect selectionLost against text == 0
12982
12983 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12984
12985         * text.C (breakParagraph): fix a setting layout to '0' problem.
12986
12987 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12988
12989         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12990         final location of file, for the included files, and graphics.
12991
12992 2002-03-05  Juergen Vigna  <jug@sad.it>
12993
12994         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12995
12996 2002-03-04  Juergen Vigna  <jug@sad.it>
12997
12998         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12999
13000         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13001         last column of multicolumn cells.
13002         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13003
13004 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13005
13006         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13007         file if it doesn't go to a temporary file.
13008
13009         * buffer.C (sgmlOpenTag):
13010         (sgmlCloseTag):  remove extra newline insertion.
13011
13012 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13013
13014         * text.C (getRowNearY): comment out debug msg
13015
13016 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13017
13018         * text2.C: first -> first_y
13019
13020         * text.C (getRowNearY): add some attemts at a possible
13021         optimization, not working.
13022
13023         * tabular.[Ch]: add BufferParams to several function so that newly
13024         created paragraph can be initialized to he default layotu for the
13025         buffers textclass.
13026
13027         * tabular-old.C (ReadOld): add buf->params to call of Init
13028
13029         * screen.C: rename text->first to text->first_y
13030
13031         * paragraph.C (breakParagraph): always set layout in the broken
13032         paragraph
13033
13034         * lyxtextclass.C (Read): remove lowercase
13035         (hasLayout): ditto
13036         (operator): ditto
13037         (delete_layout): ditto
13038
13039         * lyxtext.h: rename first -> first_y
13040
13041         * lyxlayout.C (Read): remove lowercase
13042         (name): ditto
13043         (setName): ditto
13044         (obsoleted_by): ditto
13045
13046         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13047
13048         * buffer.C (insertErtContents): add params are to InsetERT
13049         (parseSingleLyXformat2Token): add code to check if a paragraphs
13050         layout really exist.
13051         (parseSingleLyXformat2Token): add params to several inset
13052         constructors
13053         (asciiParagraph): remove lowercase, do the layout comparisons with
13054         no_case
13055
13056         * BufferView_pimpl.C (cursorNext): first -> first_y
13057         (resizeCurrentBuffer): first -> first_y
13058         (updateScrollbar): first -> first_y
13059         (scrollCB): first -> first_y
13060         (workAreaMotionNotify): first -> first_y
13061         (workAreaButtonPress): first -> first_y
13062         (checkInsetHit): first -> first_y
13063         (cursorPrevious): first -> first_y
13064         (cursorNext): first -> first_y
13065         (Dispatch): add buffer_->params to severl inset contructors
13066
13067 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13068
13069         * lyxlayout.C (Read): remove some debug info that I forgot.
13070
13071         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13072         clean up the code slightly.
13073         (makeLinuxDocFile): ditto
13074         (makeDocBookFile): ditto
13075
13076         * text2.C: layout as string
13077
13078         * text.C: layout as string
13079
13080         * paragraph_pimpl.C: layout as string
13081
13082         * paragraph.[Ch]: layout as string
13083
13084         * lyxtextclasslist.[Ch]: layout as string
13085
13086         * lyxtextclass.[Ch]: layout as string
13087
13088         * lyxtext.h: layout as string
13089
13090         * lyxlayout.[Ch]: layout as string
13091
13092         * lyx_cb.C: layout as string
13093
13094         * bufferview_funcs.C: layout as string
13095
13096         * bufferparams.C: layout as string
13097
13098         * buffer.C: layout as string
13099
13100         * LyXView.[Ch]: layout as string
13101
13102         * LaTeXFeatures.[Ch]: layout as string
13103
13104         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13105
13106         * BufferView_pimpl.C: change current_layout to string, remove
13107         lyx::layout_type.
13108         (Dispatch):
13109         (smartQuote):
13110         (insertInset):
13111         (workAreaButtonRelease): layout as string
13112
13113         * BufferView2.C (unlockInset): adjust
13114
13115         * vspace.C (asLatexCommand): use an explict temp variable.
13116
13117 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13118
13119         * Makefile.am: use FRONTEND_*
13120
13121 2002-03-01  Juergen Vigna  <jug@sad.it>
13122
13123         * tabular.C (SetWidthOfMulticolCell): changed to something better
13124         I hope but still work in progress.
13125         (recalculateMulticolumnsOfColumn): renamed function from
13126         recalculateMulticolCells as it is more appropriate now.
13127         (SetWidthOfCell): calculate multicols better.
13128
13129 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13130
13131         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13132
13133         * lyxfunc.C (processKeySym): print sequence also if it is
13134         `deleted' (complete)
13135
13136         * kbsequence.C (print): print sequence even if it is deleted
13137         (complete would be a better word, actually).
13138
13139         * lyxfunc.C (dispatch): print complete options after a prefix key
13140
13141         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13142
13143 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13144
13145         * text2.C (setCharFont): eliminate setCharFont code duplication.
13146
13147 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13148
13149         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13150         LFUN_TABULAR_FEATURE (bug #177)
13151
13152 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13153
13154         * Makefile.am: remove figure.h
13155
13156 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13157
13158         * Bufferview_pimpl.C:
13159         * CutAndPasteC:
13160         * LaTeX.C:
13161         * LyXSendto.C:
13162         * buffer.C:
13163         * bufferlist.C:
13164         * converter.C:
13165         * language.C:
13166         * lyxfunc.C:
13167         * lyxvc.C:
13168         * paragraph.C:
13169         * text.C:
13170         * text2.C: remove #include "lyx_gui_misc.h".
13171
13172         * LaTeX.C: added #include <cstdio>
13173
13174 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13175
13176         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13177         that the paragraph following this one can have.
13178
13179         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13180
13181         * vspace.C (asLatexCommand): fix bogus gcc warning
13182
13183         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13184
13185 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13186
13187         * text2.C (setLayout): get rid of redundant code
13188
13189 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13190
13191         * text2.C (incDepth): make sure depth cannot be increased beyond
13192         reasonable values.
13193
13194 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13195
13196         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13197         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13198
13199         * PainterBase.h (image):
13200         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13201         a LyXImage const *.
13202
13203 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13204
13205         * BufferView.C:
13206         * BufferView.h:
13207         * BufferView_pimpl.C:
13208         * BufferView_pimpl.h:
13209         * LaTeXFeatures.C:
13210         * LyXAction.C:
13211         * LyXView.C:
13212         * Makefile.am:
13213         * UpdateList.h:
13214         * UpdateList.C:
13215         * buffer.C:
13216         * figure.h:
13217         * figureForm.C:
13218         * figureForm.h:
13219         * figure_form.C:
13220         * figure_form.h:
13221         * lyx_cb.C:
13222         * lyx_gui.C:
13223         * lyx_gui_misc.C:
13224         * lyxfunc.C:
13225         * sp_base.h:
13226         * sp_ispell.h:
13227         * sp_pspell.h:
13228         * sp_spell.C: remove fig inset, and the crap house of
13229           cards that follows it
13230
13231 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13232
13233         * Makefile.am:
13234         * lyxserver.C:
13235         * os2_defines.h:
13236         * os2_errortable.h:
13237         * nt_defines.h: move .h into support/
13238
13239         * vms_defines.h: remove
13240
13241         * WorkArea.C: add space in debug output
13242
13243         * text2.C:
13244         * paragraph.C:
13245         * buffer.C: add WITH_WARNINGS
13246
13247         * vc-backend.h:
13248         * vc-backend.C:
13249         * bufferlist.C: s/retrive/retrieve/, add docs
13250
13251         * vspace.h:
13252         * vspace.C:
13253         * kbmap.h:
13254         * lyxlength.h:
13255         * lyxgluelength.h:
13256         * length_common.h:
13257         * chset.h:
13258         * chset.C: add docs
13259
13260         * lyxgui.C: add ID to X error handler
13261
13262         * lyxtestclass.c: fix typo
13263
13264 2002-02-26  Juergen Vigna  <jug@sad.it>
13265
13266         * tabular_funcs.C (write_attribute): changed so that some default
13267         attributes are not written at all.
13268         (getTokenValue): set default values before trying to read the
13269         value so we have the return value always set as default if we don't
13270         find the token we search for.
13271
13272         * tabular.C (Write): write bools as bools not as strings!
13273
13274 2002-02-22  Juergen Vigna  <jug@sad.it>
13275
13276         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13277         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13278
13279         * text.C (leftMargin): don't add an indent for paragraphs inside
13280         tabular cells (fix #208).
13281
13282 2002-02-21  José Matos  <jamatos@fep.up.pt>
13283
13284         * tabular.C (docBook): fixed support for long tables.
13285
13286 2002-02-20  Juergen Vigna  <jug@sad.it>
13287
13288         * text2.C (getFont): get the drawing font of the Inset if this
13289         paragraph is inside an inset (only important for InsetERT for now).
13290
13291         * buffer.C (insertErtContents): use new lanugage params in ERT
13292         constructor.
13293
13294         * CutAndPaste.C: commenting out seemingly uneeded code.
13295
13296 2002-02-19  Allan Rae  <rae@lyx.org>
13297
13298         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13299         Iterators might be simple to use but they also get invalidated.
13300         (removeAutoInsets): renamed saved cursor tracking variables and added
13301         some comments to clarify what everything does.
13302
13303 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13304
13305         * Chktex.C:
13306         * LaTeX.C:
13307         * LyXSendto.C:
13308         * converter.C:
13309         * lyx_cb.C:
13310         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13311         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13312
13313         * lyxfunc.C:
13314         * vc-backend.h: remove #include "support/syscall.h"
13315
13316         * LaTeX.C:
13317         * LyXSendto.C:
13318         * converter.C: rearrange #includes in Lars' approved fashion.
13319
13320         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13321         forward declare class Timeout in the header file.
13322
13323         * XFormsView.C: changes due to the above.
13324
13325         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13326         similar to LyXView.
13327
13328         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13329         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13330
13331 2002-02-18  José Matos  <jamatos@fep.up.pt>
13332
13333         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13334         insets contents.
13335
13336 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13337
13338         * a lot of small ws changes
13339         * add a lot of using std::XXX
13340         * use std construcs some places where approp.
13341         * use some exisint stuff from lyxfunctional where approp.
13342         * Make file changes to use partial linking (lets test this now...)
13343
13344 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13345
13346         * Chktex.C:
13347         * buffer.C:
13348         remove #include "support/syscontr.h" as it's redundant. Always has been.
13349
13350         * Chktex.C:
13351         * LaTeX.C:
13352         * LyXSendto.C:
13353         * converter.C:
13354         * lyx_cb.C:
13355         * vc-backend.C:
13356         change Systemcalls::System to Systemcalls::Wait and
13357         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13358         No change of functionality, just reflects the stripped down Systemcalls
13359         class.
13360
13361 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13362
13363         * debug.[Ch]: add a GRAPHICS type to the enum.
13364
13365 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13366
13367         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13368
13369         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13370         there is an inset.
13371
13372 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13373
13374         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13375         match the changes below.
13376
13377         * text2.C (toggleInset): if there is not editable inset at cursor
13378         position, try to see if cursor is _inside_ a collapsable inset
13379         and close it.
13380
13381 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13382
13383         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13384         document menu has a nice checkbox
13385
13386 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13387
13388         * lyxlength.C (asLatexString): change PW to output as percent of
13389         \textwidth.
13390
13391         * lengthcommon.C: change '%' to 't%'
13392
13393         * lyxfunc.C (dispatch): a few comments from Martin
13394
13395 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13396
13397         * WorkArea.h:
13398         * WorkArea.C:
13399         * BufferView_pimpl.h:
13400         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13401           the X selection.
13402
13403 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13404
13405         * vspace.C (inPixels): fix compiler warning
13406
13407 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13408
13409         * lyxfunc.C (getStatus): fix status message for disabled commands.
13410
13411 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13412
13413         * BufferView_pimpl.C: fix crash on close buffer
13414         during selection (#227)
13415
13416 2002-01-27  Herbert Voss  <voss@lyx.org>
13417
13418         * buffer.C: link old Figure to new graphic inset
13419
13420 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13421
13422         * FontLoader.C (getFontinfo): Change the latex font names in order
13423         to match the names of type1inst.
13424
13425 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13426
13427         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13428
13429         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13430         (extchanged): ditto
13431         (ext_exist): ditto
13432         (remove_files_with_extension): ditto
13433         (remove_file): ditto
13434         (write): ditto
13435
13436         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13437         document is smaller than the work area height. Do not initialize
13438         static variables to 0.
13439
13440 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13441
13442         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13443
13444         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13445         LFUN_LAYOUT_PARAGRAPHS.
13446
13447         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13448         tabular. It is possible to provide a possible cell, which will
13449         typically be the actcell from the corresponding insettabular
13450
13451         * lyxfunc.C (getStatus): small cleanup; disable
13452         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13453         true
13454
13455 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13456
13457         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13458
13459         * paragraph.C (startTeXParParams):
13460         (endTeXParParams): new methods. The LaTeX code to
13461         start/end paragraph formatting
13462         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13463         empty (fixes bug #200)
13464
13465         * vspace.C (inPixels): adapt to the change below
13466         (inPixels): [later] more cleanups (remove unused variables)
13467
13468         * lyxlength.C (inPixels): change to use a width and a height as
13469         parameter.
13470
13471 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13472
13473         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13474         Replaced with \paperwidth
13475
13476         * DepTable.C (insert): add std:: qualifier
13477
13478 2002-01-18  Allan Rae  <rae@lyx.org>
13479
13480         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13481         updated also?
13482
13483         * text.C (drawInset): Turned out I didn't know enough about how
13484         rebreaking worked.  This fixes most of the redraw problems.  I see
13485         an occasional cursor trail when a line is broken now and the cursor
13486         placement can seem out by a few pixels also after a rebreak.
13487
13488 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13489
13490         * buffer.C (parseSingleLyXformat2Token): update because minipage
13491         width is now a LyXLength
13492
13493         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13494
13495         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13496         math insets
13497
13498 2002-01-17  Juergen Vigna  <jug@sad.it>
13499
13500         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13501
13502         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13503         is set correctly and the inset is updated correctly.
13504
13505 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13506
13507         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13508         the beginning of the loop.
13509
13510 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13511
13512         * lyxrc.C: improve help for use_scalable_fonts
13513
13514 2002-01-17  Allan Rae  <rae@lyx.org>
13515
13516         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13517
13518 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13519
13520         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13521         make sure to set their inset_owner to the right value (bug #171)
13522
13523 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13524
13525         * DepTable.h
13526         * DepTable.C: Implement mtime checking to reduce time spent doing
13527         CRCs.
13528
13529 2002-01-16  Juergen Vigna  <jug@sad.it>
13530
13531         * tabular.C (GetAdditionalHeight): one of error fixed.
13532
13533         * lyxrc.C (output): small fix in writing use_pspell.
13534
13535 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13536
13537         * sp_base.h: #include LString.h
13538
13539 2002-01-16  Allan Rae  <rae@lyx.org>
13540
13541         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13542         Can someone check this please?
13543
13544         * text.C (drawInset): It was possible that p.row would be removed by
13545         breakAgainOneRow upsetting a few other settings.  There may be another
13546         small tweak possible by setting need_break_row = 0 when p.row has been
13547         removed but I don't know enough about the logic here.
13548
13549 2002-01-15  Allan Rae  <rae@lyx.org>
13550
13551         * text.C (insertChar): removed conditional truism.
13552
13553         * BufferView2.C (removeAutoInsets): More tweaks.
13554         cur_par_prev could be a stray pointer.  Check for trailing empty line
13555         in case last line was cur_par and only had an error inset on it.
13556
13557 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13558
13559         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13560         absolute
13561
13562         * vc-backend.C (most methods):
13563         * exporter.C (Export):
13564         * converter.C (convert):
13565         (runLaTeX):
13566         * LyXSendto.C (SendtoApplyCB):
13567         * lyxfunc.C (dispatch):
13568         (menuNew):
13569         (open):
13570         (doImport):
13571         * lyx_cb.C (AutoSave):
13572         (InsertAsciiFile):
13573         * BufferView_pimpl.C (MenuInsertLyXFile):
13574         * buffer.C (runChktex): use Buffer::filePath().
13575
13576         * buffer.h: rename filename to filename_; rename filepath to
13577         filepath_ and make it private
13578         (filePath): new method
13579
13580         * buffer.C (writeFile): use fileName()
13581         (getLatexName):
13582
13583         * lyx_main.C (init): fix starting  of LyX when the binary is a
13584         link from so,ewhere else.
13585
13586         * minibuffer.C: include <cctype> for isprint
13587
13588 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13589
13590         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13591         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13592         name clash with InsetCollapsable's width function.
13593
13594 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13595
13596         * lastfiles.C: include <iterator>
13597
13598 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13599
13600         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13601         std::count.
13602
13603         * buffer.C (makeLaTeXFile): ditto.
13604         Also make loop operation more transparent.
13605
13606 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13607
13608         * ToolbarDefaults.C: remove trailing comma closing namespace.
13609
13610         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13611
13612         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13613         as in WorkArea.
13614
13615         * trans.C (Load): comment out unused variable, allowed.
13616
13617 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13618
13619         * minibuffer.[Ch] (append_char): new method to recieve input from the
13620         drop-down completion browser. If a key was pressed, then recieve this
13621         char and append it to the existing string.
13622         (peek_event): modify the positioning data passed to the completion
13623         browser so that it can be placed above the minibuffer rather than below.
13624 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13625
13626         * LyXAction.C (init): alloe error-next for readonly documents.
13627
13628         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13629         count.
13630
13631 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13632
13633         * bufferlist.C (readFile): create the buffer _after_ checking that
13634         the file exists.
13635
13636         * lyxfunc.C (verboseDispatch): fix handling of arguments
13637
13638         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13639
13640         * lyxrc.C: use string::erase() instead of initializing to "".
13641
13642
13643 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13644
13645         * BufferView_pimpl.h:
13646         * BufferView_pimpl.C:
13647         * WorkArea.h:
13648         * WorkArea.C:
13649         * text2.C: tell X when we have made a selection for copying
13650
13651 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13652
13653         * BufferView_pimpl.C (MenuInsertLyXFile):
13654         * lyxfunc.C (menuNew):
13655         (open):
13656         (doImport): add shortcuts to directory buttons
13657
13658         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13659         open a float)
13660
13661         * lyxfunc.C (setStatusMessage):
13662         (getStatusMessage): new methods
13663         (getStatus):use setStatusMessage instead of setErrorMessage
13664         (dispatch): when function is disabled, set error message here
13665         [instead of in getStatus previously]
13666
13667         * BufferView_pimpl.C (workAreaButtonRelease): update
13668         toolbar/menubar here too.
13669
13670 2002-01-13  Allan Rae  <rae@lyx.org>
13671
13672         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13673         Now seems indestructible.  Remaining task is to audit all other
13674         code affected by deleteEmptyParagraphMechanism.  One small quirk
13675         left is that an empty document with an error in the preamble can
13676         be made to report an error but no error box appears.  I don't know
13677         where it goes.
13678         (removeAutoInsets): Improved comments.
13679
13680 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13681
13682         * Thesaurus.h:
13683         * Thesaurus.C: update for Aiksaurus 0.14
13684
13685 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13686
13687         * text2.C (firstParagraph): removed member function, all uses
13688         replaces with ownerParagraph
13689         (redoParagraphs): here
13690         (updateInset): here
13691         (toggleAppendix): here
13692         * BufferView2.C (insertErrors): here
13693         (setCursorFromRow): here
13694
13695 2002-01-13  Allan Rae  <rae@lyx.org>
13696
13697         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13698         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13699         There is still a way to segfault this although you may have to do this
13700         multiple times: Have an InsetERT with an unknown command in it.
13701         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13702         <down-arrow>, <Enter> again, View->DVI, BANG!
13703
13704         * text2.C (setCursor):
13705         (deleteEmptyParagraphMechanism):
13706         * lyxtext.h (setCursor):
13707         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13708         Making use of the return value may help fix other bugs.
13709
13710 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13711
13712         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13713
13714         * LyXView.C (updateMenubar): call MenuBar::update here
13715         (updateToolbar): but not here
13716         (showState): do not update toolbar/menubar
13717
13718         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13719         should need to care about that.
13720
13721         * lyxfunc.C (verboseDispatch): simplify a bit
13722         (getStatus): have a version which takes a pseudoaction, and
13723         another which requires a (kb_action,string).
13724
13725         * LyXAction.C (retrieveActionArg): make it work also when action
13726         is not a pseudo-action.
13727         (getActionName): simplify a bit
13728         (helpText):
13729
13730 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13731
13732         * lyxfunc.C (verboseDispatch): new families of methods with
13733         several ways to specify a command and a bool to indicate whether
13734         the command name and shortcut should be displayed in minibuffer
13735         (eventually, we could extend that to a finer bitmask like
13736         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13737         (dispatch): the pristine dispatch command which just, well,
13738         dispatchs! Note it still sets its result to minibuffer; I'm not
13739         sure we want that.
13740
13741         * lyxfunc.h: remove setHintMessage
13742
13743         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13744
13745 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13746
13747         * BufferView_pimpl.C (specialChar): delete new inset if we have
13748         not been able to insert it.
13749
13750         * kbmap.C: revert to using int instead of kb_action, since all we
13751         are dealing with is pseudo-actions.
13752
13753         * LyXAction.C (searchActionArg): change to return int instead of
13754         kb_action, since the result is a pseudoaction.
13755
13756 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13757
13758         * buffer.C (insertErtContents): Fix (partially) the font bug.
13759
13760 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13761
13762         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13763         as the other one is broken on my machine!
13764
13765 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13766
13767         * commandtags.h:
13768         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13769
13770 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13771
13772         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13773         reflect their actual use. Provide compatibility code for older lyxrc
13774         files.
13775
13776         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13777         FL_NORMAL_STYLE.
13778         change names of popup font variables in line with the changes to lyxrc.C
13779
13780 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13781
13782         * buffer.C (asciiParagraph): avoid outputing a word twice after
13783         an inset.
13784
13785         * lyxrc.C (getDescription): document that document_path and
13786         template_path can be empty.
13787
13788 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13789
13790         * LaTeXFeatures.C (getMacros):
13791         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13792
13793         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13794
13795         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13796         getPackages.
13797         (getPackages): rename feature "floats" to "float". Use an array to
13798         iterate over 'simple' features (i.e. just a \usepackage). Add
13799         handling of "amsmath" (renamed from "amsstyle").
13800
13801 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13802
13803         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13804         features list.
13805
13806 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13807
13808         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13809         FuncStaus::FuncStatus & FuncStaus::some_method().
13810
13811 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13812
13813         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13814         of the func_satus stuff. Edited and massaged in various ways by
13815         JMarc.
13816
13817         * lyxfunc.C (getStatus): use FuncStatus
13818
13819 2002-01-08  Juergen Vigna  <jug@sad.it>
13820
13821         * text.C (nextBreakPoint): use function Inset::isChar().
13822
13823         * paragraph.C (TeXOnePar): use function
13824         Inset::forceDefaultParagraphs.
13825
13826         * buffer.C (latexParagraphs): use function
13827         Inset::forceDefaultParagraphs.
13828
13829 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13830
13831         * lyx_gui.C (init): set the style of the menu popups to
13832         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13833
13834 2002-01-07  Juergen Vigna  <jug@sad.it>
13835
13836         * text.C (setHeightOfRow): small fix
13837         (prepareToPrint): don't look at alignment if we don't have the place
13838         for doing it.
13839
13840 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13841
13842         * box.C: New file. Move the Box methods and functions out of box.h,
13843         following Lars' suggestion.
13844
13845 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13846
13847         * box.h: #include "support/LOstream.h", needed for inlined function.
13848
13849         * lyxtextclass.C:
13850         * lyxtextclasslist.C: added some using std declarations.
13851
13852 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13853
13854         * box.h: make signed dimensions to allow insets wider than
13855           the screen (bug #162)
13856
13857         * BufferView_pimpl.C: add some insetHit debug
13858
13859 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13860
13861         * vc-backend.C: add FIXME
13862
13863 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13864
13865         * lyxfunc.C (getStatus): enable code for showing math font status
13866         in toolbar/menu.
13867
13868 2002-01-07  Juergen Vigna  <jug@sad.it>
13869
13870         * text.C (nextBreakPoint): removed debug output not needed anymore.
13871
13872 2002-01-06  Juergen Vigna  <jug@sad.it>
13873
13874         * text.C (nextBreakPoint): fixed up this function we had this bug
13875         since ever but now hopefully we break row better.
13876         (insertChar): we have to check if an inset is the next char as it
13877         could now happen that a large inset is causing a break.
13878
13879 2002-01-05  Juergen Vigna  <jug@sad.it>
13880
13881         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13882         if it doesn't like to be drawed.
13883
13884 2002-01-04  Juergen Vigna  <jug@sad.it>
13885
13886         * BufferView2.C (lockInset): forgot to set a cursor.
13887
13888         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13889
13890 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13891
13892         * FormMathsPanel.C:
13893         * FormMathsPanel.h
13894         * MathsSymbols.C:
13895         * form_maths_panel.C:
13896         * form_maths_panel.h:
13897         * form_maths_panel.fd: implemented sub- and super- buttons in math
13898         panel.
13899
13900         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13901         (or ^ space) to be used as in TeX (req'd by André).
13902
13903         * lyxfunc.C: Allow ^ and _ again to be used both as
13904         super/subscript (mathed) and as themselves (in text).
13905
13906 2002-01-03  Allan Rae  <rae@lyx.org>
13907
13908         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13909         "LyX" or the filename of the current buffer if it has one.  This is a
13910         modified form of John Levon's patch.
13911
13912         * XFormsView.C (setWindowTitle): also set icon title.
13913
13914         * LyXView.h (setWindowTitle): signature changed.
13915         * XFormsView.h (setWindowTitle): ditto.
13916
13917 2002-01-02  Juergen Vigna  <jug@sad.it>
13918
13919         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13920
13921 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13922
13923         * screen.C (topCursorVisible): introduce a temp var for
13924         text->cursor.row(), handle the case where this row is null. (kindo
13925         hachish)
13926
13927         * text2.C (setCursor): add a couple of asserts.
13928
13929         * paragraph.h (inset_iterator): add -> operator
13930
13931         * paragraph.[Ch] (autoDeleteInsets): remove member function
13932
13933         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13934         cursor pos correctly and handle inset deletion by itself.
13935         (insertErrors): move iterator declaration out of for expression
13936
13937         * lyxtextclass.C: add <algorithm>
13938
13939         * Makefile.am: added the new files to sources, removed layout.C
13940
13941         * layout.C: removed file
13942
13943         * layout.h: remove LYX_DUMMY_LAYOUT
13944
13945         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13946         layout.
13947
13948         * lyxlayout.[Ch]:
13949         * lyxtextclass.[Ch]:
13950         * lyxtextclasslist.[Ch]: new files
13951
13952         * include order changes to a lot of files, also changes because of
13953         the six new files.
13954
13955 2001-12-27  Juergen Vigna  <jug@sad.it>
13956
13957         * buffer.C (asciiParagraph): more fixes.
13958
13959         * tabular.C (ascii): make ascii export support export of only the
13960         data separated by a column-delimiter.
13961         (ascii): better support for ascii export.
13962
13963         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13964
13965 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13966
13967         * tabular_funcs.C: use a "using std::getline" instead of the
13968         previous fix from Angus (necessary for cxx + lyxstring)
13969
13970 2001-12-24  Juergen Vigna  <jug@sad.it>
13971
13972         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13973
13974         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13975         problems. First check a minipage also if we have some ert-contents
13976         (not only on par->size(), second set the right depth of the paragraph
13977         on the relink to the root-paragraph-list!
13978
13979         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13980         which then did not anymore update the main paragraphs on undo/redo!
13981
13982 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13983
13984         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13985         code. Support all font-changing funcs (even those which are not in
13986         menu currently). Support for reporting font settings in
13987         mathed (disabled until Andre provides a function on mathed's side).
13988
13989         * func_status.h (toggle): small helper function to set toggle
13990         state on a flag.
13991
13992 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13993
13994         * tabular_funcs.C: getline -> std::getline
13995
13996 2001-12-21  Juergen Vigna  <jug@sad.it>
13997
13998         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13999         accessed and could be 0 (I couldn't generate this but it seems
14000         Michael could!).
14001
14002 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14003
14004         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14005         * tabular_funcs.h: here and include iosfwd
14006
14007 2001-12-20  Juergen Vigna  <jug@sad.it>
14008
14009         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14010         inside inset but undo_par was.
14011
14012 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14013
14014         * Thesaurus.C: always include <config.h> in sources.
14015
14016         * Painter.h:
14017         * lyxlookup.h:
14018         * box.h: do not include <config.h> in header files
14019
14020         * text.C (paintLastRow): remove unused variable
14021
14022         * text.C (transformChar):
14023         (insertChar):
14024         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14025
14026         * Painter.C (text):
14027         * font.C (width): rewrite to use uppercase() instead of
14028         islower/toupper.
14029
14030         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14031
14032 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14033
14034         * lyxfind.C: clean up of find failure position change
14035
14036 2001-12-20  Juergen Vigna  <jug@sad.it>
14037
14038         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14039
14040         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14041         (TeXRow): added to LaTeX a single tabular row.
14042         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14043         (Latex): simplified and finally good LT-h/f support.
14044         (various_functions): just small adaptions for LT-h/f support.
14045
14046         * tabular_funcs.[hC]: added and moved here all not classfunctions
14047         of LyXTabular.
14048
14049 2001-12-19  Juergen Vigna  <jug@sad.it>
14050
14051         * tabular.[Ch]: better support for longtabular options (not finished
14052         yet!)
14053
14054 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14055
14056         * text.C (paintLastRow): use the label font instead of the font of
14057         the last character to compute the size of *_BOX. This makes more
14058         sense and avoids a crash with empty paragraphs.
14059         Use Painter::rectangle to draw EMPTY_BOX.
14060
14061 2001-12-19  Juergen Vigna  <jug@sad.it>
14062
14063         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14064         the paragraphs if the replaced paragraph is not the first one!
14065         Tried to delete not used paragraphs but does not work yet so for
14066         now it's inside #ifdef's and by default off!
14067
14068 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14069
14070         * MenuBackend.C: include "lyx_main.h" instead of declaring
14071         lastfiles (actually was declared as LastFiles* instead of a
14072         scoped_ptr).
14073
14074 2001-12-17  Juergen Vigna  <jug@sad.it>
14075
14076         * tabular.C (AppendColumn): applied John's fix
14077
14078 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14079
14080         * BufferView.h:
14081         * BufferView.C:
14082         * BufferView_pimpl.h:
14083         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14084
14085         * Makefile.am:
14086         * box.h: new start of class for above
14087
14088         * lyxfunc.C: ignore space-only minibuffer dispatches.
14089           Show the command name when it doesn't exist
14090
14091         * minibuffer.C: don't add empty lines to the history
14092
14093         * minibuffer.C: add a space on dropdown completion
14094
14095 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14096
14097         * text.C: fix line above/below drawing in insets
14098
14099 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14100
14101         * lyxlength.C (LyXLength): Initialize private variables.
14102
14103 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14104
14105         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14106         when inserting error insets.
14107
14108 2001-12-13  Juergen Vigna  <jug@sad.it>
14109
14110         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14111         actually sometimes the before-paragraph.
14112         (setUndo): don't clear the redostack if we're not actually undoing!
14113
14114 2001-12-06  Juergen Vigna  <jug@sad.it>
14115
14116         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14117         and fixed redoing of main paragraph, so we can use it now ;)
14118
14119         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14120
14121 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14122
14123         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14124         Juergen's request
14125
14126 2001-12-13  André Pönitz <poenitz@gmx.net>
14127
14128         * undostack.[Ch]:
14129         * undo_func.C: minor cleanup
14130
14131 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14132
14133         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14134         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14135         font in urw-fonts package which is marked as -urw-fontspecific and
14136         does not work (incidentally, changing the encoding in the
14137         fonts.dir of this package to -adobe-fontspecific fixes the
14138         problem).
14139
14140         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14141         is a crash when undoing first paragraph (Juergen, please take a
14142         look). THis does not mean the undo fix is wrong, just that it
14143         uncovers problems.
14144
14145         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14146         the (Paragraph*) version when needed instead of duplicating the
14147         code.
14148
14149         * text.C (workWidth): use Inset::parOwner to find out where the
14150         inset has been inserted. This is a huge performance gain for large
14151         documents with lots of insets. If Inset::parOwner is not set, fall
14152         back on the brute force method
14153
14154         * paragraph_pimpl.C (insertInset):
14155         * paragraph.C (Paragraph):
14156         (cutIntoMinibuffer): set parOwner of insets when
14157         inserting/removing them
14158
14159         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14160
14161 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14162
14163         * commandtags.h:
14164         * LyXAction.C:
14165         * lyx_main.C:
14166         * lyxfunc.C:
14167         * mathed/formulabase.C:
14168         * mathed/math_cursor.[Ch]:
14169         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14170
14171
14172 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14173
14174         * lyxlength.[Ch] (operator!=): new function
14175
14176 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14177
14178         * text.C (workWidth): use Inset::parOwner to find out where the
14179         inset has been inserted. This is a huge performance gain for large
14180         documents with lots of insets. If Inset::parOwner is not set, fall
14181         back on the brute force method
14182
14183         * paragraph_pimpl.C (insertInset):
14184         * paragraph.C (Paragraph):
14185         (cutIntoMinibuffer): set parOwner of insets when
14186         inserting/removing them
14187
14188         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14189
14190 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14191
14192         * tabular-old.C (getTokenValue):
14193         * tabular.C (getTokenValue):
14194         (write_attribute): new versions for LyXLength
14195         (everywhere): adjust the use of widths
14196
14197         * tabular.h: change the type of widths from string to LyXLength
14198
14199 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14200
14201         * paragraph.C: fixed missing line number count when exporting
14202         Environments to LaTeX file
14203
14204         * buffer.C: added informational message for checking line numbers.
14205
14206 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14207
14208         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14209         paragraph, do the 'double space' part, but not the 'empty
14210         paragraph' one.
14211
14212         * text.C (workWidth): small optimization
14213         (getLengthMarkerHeight): use minimal size for negative lengths.
14214
14215 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14216
14217         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14218
14219         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14220
14221 2001-12-11  André Pönitz <poenitz@gmx.net>
14222
14223         * FontLoader.C:
14224         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14225
14226 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14227
14228         * text2.C: keep selection on a setFont()
14229
14230 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14231
14232         * lyx_cb.C: another bv->text misuse, from insert label
14233
14234 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14235
14236         * kbsequence.h:
14237         * kbsequence.C: re-instate nmodifier mask
14238
14239 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14240
14241         * lyx_main.h: make lyxGUI private.
14242
14243 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14244
14245         * lyxfind.C: place the cursor correctly on failed search
14246
14247 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14248
14249         * text.C (getLengthMarkerHeight): for small heights, the arrows
14250         are not always on top/bottom of the text
14251         (drawLengthMarker): smaller arrows; take the left margin in
14252         account; draw also vfills.
14253         (paintFirstRow):
14254         (paintLastRow): remove special code for vfill and standard spaces,
14255         since everything is handled in drawLengthMarker now.
14256
14257 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14258
14259         * buffer.C (insertErtContents): try to handle font and language
14260         interaction a bit better.g
14261
14262         * ColorHandler.C (updateColor): change the hash to cover the whole
14263         LColor enum, ws cleanup
14264         (getGCLinepars): ditto
14265         (getGCLinepars): only lookup in the linecache once.
14266
14267 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14268
14269         * iterators.C (operator++): Make the iterator more robust
14270
14271         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14272         (John's patch)
14273         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14274
14275 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14276
14277         * lyxtext.h:
14278         * text.C: better added space drawing
14279
14280 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14281
14282         * LyXView.C:
14283         * BufferView2.C: fix layout combo update on inset unlock
14284
14285 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14286
14287         * Makefile.am: don't compile unused files
14288
14289 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14290
14291         * lyxfunc.C:
14292         * commandtags.h:
14293         * LyXAction.C: remove old LFUN_LAYOUTNO
14294
14295 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14296
14297         * paragraph_pimpl.h:
14298         * paragraph_pimpl.C: isTextAt() doesn't need font param
14299
14300 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14301
14302         * lyxlex.h:
14303         * lyxlex.C: little cleanup
14304
14305 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14306
14307         * BufferView_pimpl.C: fix insertAscii for insets
14308
14309 2001-12-05  Juergen Vigna  <jug@sad.it>
14310
14311         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14312         set the right font on the "multi" paragraph paste!
14313
14314 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14315
14316         * trans_decl.h:
14317         * trans_mgr.[Ch]:
14318         * trans.[Ch]:
14319         * lyxgluelength.C:
14320         * lyxlength.C: remove out-commented code.
14321
14322         * BufferView_pimpl:
14323         * CutAndPaste.C:
14324         * DepTable.C:
14325         * buffer.C:
14326         * chset.C:
14327         * lastfiles.C:
14328         * lyxlex.C:
14329         * lyxlex_pimpl.C:
14330         * lyxserver.C:
14331         * screen.C:
14332         * tabular-old.C:
14333         * tabular.C:
14334         * text.C:
14335         * trans_mgr.C:
14336         * vc-backend.C: change "while(" to "while ("
14337
14338         * lyxlength.[Ch]: add zero function to check if length is zero or
14339         not
14340         * lyxgluelength.C: use it
14341
14342 2001-12-05  Allan Rae  <rae@lyx.org>
14343
14344         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14345         Works for 2.95.3, from what I understand of Garst's reports this should
14346         work for other g++ versions.  We're screwed if the abs(int) definition
14347         changed between bugfix releases of gcc.
14348
14349 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14350
14351         * text.C: fix chapter label offset !
14352
14353 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14354
14355         * lyxtext.h:
14356         * text.C: fix hfill at end of line, clean up
14357
14358 2001-12-04  Juergen Vigna  <jug@sad.it>
14359
14360         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14361         that we force an update of the inset and it's owners if neccessary.
14362
14363 2001-12-03  Juergen Vigna  <jug@sad.it>
14364
14365         * text.C (rowLast): simplified code
14366
14367 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14368
14369         * lyxfunc.C: fix show options on timeout
14370
14371 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14372
14373         * screen.C (topCursorVisible): scroll half a page when the cursor
14374         reached top of bottom of screen
14375
14376 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14377
14378         * minibuffer.C: deactivate on loss of focus
14379
14380 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14381
14382         * vspace.[Ch] (operator!=): add operator.
14383
14384 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14385
14386         * BufferView_pimpl.C: refuse to open an inset when
14387         there's a selection.
14388
14389 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14390
14391         * BufferView_pimpl.C: allow to click on RHS of full row insets
14392
14393 2001-11-30  Juergen Vigna  <jug@sad.it>
14394
14395         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14396         insets for undo reasons.
14397
14398 2001-11-28  André Pönitz <poenitz@gmx.net>
14399
14400         * vspace.[Ch]: cosmetical changes
14401
14402 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14403
14404         * LyXAction.h:
14405         * LyXAction.C:
14406         * lyxfunc.h:
14407         * lyxfunc.C:
14408         * kbmap.h:
14409         * kbmap.C:
14410         * lyxrc.C:
14411         * kbsequence.h:
14412         * kbsequence.C: part re-write of old kb code
14413
14414         * Painter.C:
14415         * WorkArea.C: remove Lgb_bug_find_hack
14416
14417 2001-11-30  José Matos <jamatos@fep.up.pt>
14418
14419         * buffer.C (makeDocBookFile): add a comment to point a hack.
14420         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14421         Fixed a double write of labels.
14422
14423 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14424
14425         * LaTeX.C:
14426         * LaTeX.h Fixed bug in LaTeX class where it would not
14427         re-run latex if no depfiles were changed, but the .dvi was removed.
14428
14429 2001-11-28  André Pönitz <poenitz@gmx.net>
14430
14431         * all the files from the change on 2001/11/26:
14432         use lyx::layout_type instead of LyXTextClass::size_type
14433         use lyx::textclass_type instead of LyXTextClassList::size_type
14434
14435 2001-11-29  Juergen Vigna  <jug@sad.it>
14436
14437         * text.C: added support for paragraph::isFreeSpacing()
14438
14439         * buffer.C: same as above
14440
14441         * paragraph.h: inserted isFreeSpacing() function to enable
14442         FreeSpacing inside InsetERT.
14443
14444         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14445         of the paragraph's in the cut/copy buffer to 0!
14446
14447         * text2.C (removeRow): remove the assert as it can!
14448
14449         * lyxtext.h: added helper function firstRow returning firstrow and
14450         made firstrow private again.
14451
14452         * BufferView2.C (lockInset): don't relock if we're already locked!
14453
14454         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14455         the only paragraph.
14456         (removeRow): added Assert::(firstrow)
14457
14458         * debug.C: forgot to add INSETTEXT here.
14459
14460 2001-11-28  Juergen Vigna  <jug@sad.it>
14461
14462         * sp_spell.C (initialize): changed error text to more general
14463         spellchecker command use (not only ispell!)
14464
14465         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14466
14467         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14468
14469 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14470
14471         * vspace.C: initialise lyxgluelength on failure
14472
14473 2001-11-28  Allan Rae  <rae@lyx.org>
14474
14475         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14476         declaration & definition that looks like a function declaration.
14477
14478 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14479
14480         * BufferView2.C (copy):
14481         (copyEnvironment): do not clear the selection when doing a copy.
14482
14483         * text.C (paintFirstRow): compilation fix
14484
14485 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14486
14487         * tabular.C (Latex): correct line count when writing latex.
14488
14489 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14490
14491         * paragraph_pimpl.h:
14492         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14493           bug a bit
14494
14495 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14496
14497         * text.C:
14498         * LColor.h:
14499         * LColor.C: change vfillline->added_space
14500
14501         * text.C: add markers and text for added space
14502
14503         * vspace.C: fix comment
14504
14505 2001-11-28  André Pönitz <poenitz@gmx.net>
14506
14507         * paragraph.C: whitespace changes
14508         * all the other files from the change on 2001/11/26:
14509         change *::pos_type into lyx::pos_type
14510
14511 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14512
14513         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14514         language of the document when inserting error insets.
14515
14516 2001-11-26  André Pönitz <poenitz@gmx.net>
14517
14518         * BufferView_pimpl.[Ch]:
14519         *       CutAndPaste.C:
14520         * buffer.[Ch]:
14521         * lyxcursor.[Ch]:
14522         * lyxfind.C:
14523         * lyxfunc.C:
14524         * lyxrow.[Ch]:
14525         * paragraph.[Ch]:
14526         * paragraph_pimpl.[Ch]:
14527         * sp_spell.C:
14528         * text.C:
14529         * text2.C: reduce header dependencies, introduce type for positions
14530
14531 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14532
14533         * <various>: change to use Alert.h
14534
14535 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14536
14537         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14538         when encountering an unknown token.
14539         (readLyXformat2): Show an error message if there were unknown tokens.
14540
14541 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14542
14543         * BufferView2.C:
14544         * BufferView_pimpl.C:
14545         * buffer.C:
14546         * paragraph.h:
14547         * text.C:
14548         * text2.C: use par->isInset()
14549
14550 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14551
14552         * paragraph_pimpl.h:
14553         * paragraph_pimpl.C: cleanup
14554
14555 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14556
14557         * text2.C (removeRow):
14558         * text.C (setHeightOfRow): remove useless (and costly) call to
14559         getRow.
14560
14561 2001-11-20  Allan Rae  <rae@lyx.org>
14562
14563         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14564         Now need Inset*::checkInsertChar() to return true for appropriate
14565         cases so that the characters in the minibuffer will actually be
14566         inserted.
14567
14568 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14569
14570         * text.C: change the order of the includes.
14571         (workWidth): initialize it at once.
14572         (workWidth): make maxw unsigned
14573         (setHeightOfRow): remove unused variable (inset)
14574         (selectSelectedWord): remove unused variable (inset)
14575         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14576
14577 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14578
14579         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14580         server is not running.
14581         (openConnection):
14582         (closeConnection): add debug info when server is disabled.
14583
14584         * ColorHandler.C (getGCForeground): send debug message to GUI
14585         channel.
14586
14587         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14588
14589         * kbmap.C (bind): modify because return conventions of
14590         kb_sequence::parse have changed.
14591
14592         * kbsequence.C (parse): only ignore spaces and not any stupid
14593         control character. This avoids tests like s[i] <= ' ', which are
14594         guaranteed to fail with 8bit characters and signed chars.
14595         Change return code to string::npos when there have been no error
14596         (0 was a bad idea when error is at first character)
14597
14598 2001-11-14  José Matos  <jamatos@fep.up.pt>
14599
14600         * buffer.h:
14601         * buffer.C (simpleDocBookOnePar): removed unused argument.
14602
14603 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14604
14605         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14606         insets which are part of a word. Paragraph::isLetter takes care of
14607         that now. Use Paragraph::isInset to identify insets.
14608         (selectSelectedWord): do not test for hyphenation break.
14609
14610         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14611         that protected spaces are considered as spaces.
14612
14613         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14614         Inset::isLetter.
14615
14616 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14617
14618         * lyxserver.h:
14619         * lyxserver.C: fix it. and small cleanup.
14620
14621 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14622
14623         * BufferView_pimpl.C: use inline helpers
14624
14625         * LaTeXFeatures.h:
14626         * LaTeXFeatures.C: fix typos
14627
14628         * Spacing.h:
14629         * Spacing.C: move spacing_string into class
14630
14631         * ToolbarDefaults.C: move stuff into namespace anon
14632
14633         * layout.h: update enum
14634
14635         * lyxfunc.C: use better debug
14636
14637         * minibuffer.h: fix typo
14638
14639         * debug.h:
14640         * debug.C:
14641         * WorkArea.C: add and use Debug::WORKAREA
14642
14643         * lyxtext.h:
14644         * text.C:
14645         * text2.C: code re-organisation, inline helpers
14646
14647 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14648
14649         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14650         std::vector.empty().
14651
14652 2001-11-09  Allan Rae  <rae@lyx.org>
14653
14654         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14655         '\n's after tables.  Tabular and ERT inset work now makes this no
14656         longer necessary.
14657
14658 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14659
14660         * minibuffer.h:
14661         * minibuffer.C: fix crash, improve drop-down completion
14662
14663 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14664
14665         * lyxserver.h:
14666         * lyxserver.C: invalidate fd's when doing endPipe()
14667
14668 2001-11-08  José Matos  <jamatos@fep.up.pt>
14669
14670         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14671         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14672
14673         * paragraph.h:
14674         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14675
14676 2001-11-07  José Matos  <jamatos@fep.up.pt>
14677
14678         * buffer.h:
14679         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14680         const qualifier.
14681
14682         * buffer.C (sgmlOpenTag):
14683         * buffer.C (sgmlCloseTag): removed debug info.
14684
14685         * buffer.h (sgmlOpenTag):
14686         * buffer.h (sgmlCloseTag): made public.
14687
14688 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14689
14690         * buffer.C (saveParamsAsDefaults):
14691         * lyx_cb.C (MenuLayoutSave): remove
14692
14693         * LyXAction.C (init):
14694         * commandtags.h:
14695         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14696
14697 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14698
14699         * buffer.C (setPaperStuff): removed from here...
14700
14701         * bufferparams.C (setPaperStuff): ... and moved there.
14702
14703 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14704
14705         * minibuffer.h:
14706         * minibuffer.C:
14707         * XFormsView.C: add support for drop-down completion
14708
14709 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14710
14711         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14712         commands.
14713
14714 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14715
14716         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14717         disabled.
14718
14719 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14720
14721         * lyx_main.C: change ref to known bugs
14722
14723 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14724
14725         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14726         to work around older babel problems.
14727
14728 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14729
14730         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14731
14732 2001-10-24  Juergen Vigna  <jug@sad.it>
14733
14734         * tabular-old.C (ReadOld): below variable changes reflected.
14735
14736         * tabular.[Ch]: added ltType struct for longtable header/footer
14737         defines and changed all instances where they are used. Added
14738         future support for double top/bottom rows.
14739
14740 2001-10-24  José Matos  <jamatos@fep.up.pt>
14741
14742         * buffer.h (docbookHandleCaption):
14743         * buffer.C (docbookHandleCaption): removed unused function.
14744         (makeDocBookFile): moved docbook supported version to v4.1.
14745
14746 2001-10-24  José Matos  <jamatos@fep.up.pt>
14747
14748         * tabular.h:
14749         * tabular.C (docbookRow): new function to export docbook code of a row.
14750         (DocBook): now honors the longtable flags.
14751
14752 2001-10-23  José Matos  <jamatos@fep.up.pt>
14753
14754         * LaTeXFeatures.h:
14755         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14756         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14757
14758         * buffer.C (makeLinuxDocFile):
14759         (makeDocBookFile): reworked the preamble, more clean, and with
14760         support for lyx defined entities. Changed the document declaration
14761         to be more XML friendly.
14762
14763         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14764         if we need to output XML that should be done with a filter.
14765
14766 2001-10-22  Juergen Vigna  <jug@sad.it>
14767
14768         * sp_pspell.h (class PSpell): add alive function needed in the
14769         controller to see if the spellchecker could be started.
14770
14771 2001-10-22  Juergen Vigna  <jug@sad.it>
14772
14773         * buffer.C (insertStringAsLines): modify the font for inserting
14774         chars in certain conditions by calling checkInsertChar(font).
14775
14776 2001-10-19  Juergen Vigna  <jug@sad.it>
14777
14778         * text.C (workWidth): use getRow instead of wrong algorithm.
14779         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14780
14781 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14782
14783         * lyxserver.h:
14784         * lyxserver.C:
14785         * lyx_main.h:
14786         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14787
14788 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14789
14790         * text.C (workWidth): do not search for the exact row when
14791         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14792         optimization for big documents.
14793
14794 2001-10-18  Juergen Vigna  <jug@sad.it>
14795
14796         * text.C (workWidth): new function with added Inset * parameter.
14797
14798 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14799
14800         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14801
14802         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14803         change return type of getColumnNearX.
14804
14805
14806         * text.C (changeRegionCase): use uppercase/lowercase instead of
14807         toupper/tolower.
14808         (leftMargin):
14809         (rightMargin): simplify code by factoring out the uses of
14810         textclasslist.
14811         (labelFill):
14812         (numberOfHfills):
14813         (setHeightOfRow):
14814         (appendParagraph): use Paragraph::size_type
14815
14816 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14817
14818         * vspace.C (asLatexString): add a missing break
14819
14820 2001-10-15  Herbert Voss  <voss@perce.de>
14821
14822         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14823
14824 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14825
14826         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14827         is not available.
14828
14829 2001-10-10  André Pönitz <poenitz@gmx.net>
14830
14831         * lyxfunc.C: removed greek_kb_flag.
14832
14833 2001-10-10  Herbert Voss  <voss@perce.de>
14834
14835         * lyx_main.C: delete global string help_lyxdir.
14836
14837 2001-10-09  Herbert Voss  <voss@perce.de>
14838
14839         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14840
14841         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14842
14843         * lyx_main.C: added global string help_lyxdir.
14844
14845         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14846
14847 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14848
14849         * lyxrc.C (set_font_norm_type): support iso8859-4
14850
14851 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14852
14853         * LaTeX.C (deplog): add another regex for MikTeX
14854
14855 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14856
14857         * lyxrc.C (set_font_norm_type): support iso8859-3
14858
14859 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14860
14861         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14862
14863         * LaTeXFeatures.C: remove special case of french and index
14864
14865         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14866         before \begin{document}). This solves several incompatibilities.
14867
14868 2001-10-03  Garst Reese  <reese@isn.net>
14869
14870         * lyx_cb.C: change CheckTex error msg.
14871
14872 2001-10-03  José Matos  <jamatos@fep.up.pt>
14873
14874         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14875
14876 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14877
14878         * .cvsignore: update
14879
14880         * lyx_main.C (commandLineVersionInfo): use new style version info.
14881
14882         * buffer.C (writeFile):
14883         (makeLaTeXFile):
14884         (makeLinuxDocFile):
14885         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14886
14887         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14888
14889         * version.h: update to use stuff in version.C
14890
14891         * version.C.in: new file. Contains version information determined
14892         at compile time. This is a merging of version.h and
14893         version_info.h.in.
14894
14895 2001-10-03  Juergen Vigna  <jug@sad.it>
14896
14897         * BufferView_pimpl.C (update): don't change "dirty" status in
14898         updateInset call.
14899
14900 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14901
14902         * WorkArea.C (c-tor): re-position version string slightly.
14903
14904 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14905
14906         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14907         revert to previous code.
14908
14909         WorkArea.[Ch]: (show, destroySplash): methods removed.
14910
14911         WorkArea.C: rework code so that it's an amalgam of the codes before and
14912         after the splash screen was moved to WorkArea.
14913
14914 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14915
14916         * lyxrc.C (read):
14917         * vspace.C (inPixels):
14918         (lyx_advance):
14919         * kbmap.C (bind):
14920         * buffer.C (insertStringAsLines):
14921         (asciiParagraph): fix types to be large enough
14922
14923         * lyxlex_pimpl.h: change member status from short to int
14924
14925         * layout.h: fix type of endlabeltype
14926
14927         * kbmap.C (bind):
14928         * kbsequence.C (parse): change return type to string::size_type
14929
14930         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14931         variable
14932
14933         * Bullet.C (bulletSize):
14934         (bulletEntry): do not use short ints as parameters
14935
14936         * BufferView2.C (insertLyXFile): change a char to an int.
14937
14938         * WorkArea.C (WorkArea): remove unneeded floats in computation
14939
14940 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14941
14942         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14943
14944         * paragraph.C (asString): Do not ignore newline/hfill chars when
14945         copying to the clipboard.
14946
14947 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14948
14949         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14950         after a multi-line inset.
14951
14952 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14953
14954         * paragraph.C (validate): Set NeedLyXFootnoteCode
14955
14956 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14957
14958         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14959         and decrease-error to decrease.
14960
14961 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14962
14963         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14964         it more readable (should be equivalent)
14965
14966 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14967
14968         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14969
14970 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14971
14972         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14973         of a cursor (row, etc.) after a character has been deleted
14974         (deleteEmptyParagraphMechanism): call the method above on _all_
14975         cursors held by the LyXText when a double space has been
14976         detected/deleted.
14977
14978 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14979
14980         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14981         pixmap.
14982         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14983
14984         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14985         background. Use greyOut() and the new show() methods to toggle between
14986         the foreground and background. Add code to remove the splash after
14987         its initial showing.
14988
14989         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14990         (create_forms): no longer call Dialogs::showSplash.
14991
14992 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14993
14994         * .cvsignore: add version_info.h
14995
14996 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14997
14998         * version_info.h.in: new file
14999
15000         * Makefile.am: add version_info.h.in
15001
15002         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15003         version_info.h instead of VERSION_INFO
15004
15005 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15006
15007         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15008         The ERT inset now returns string().
15009
15010 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15011
15012         * lyxtext.h, text.C (selectNextWord): renamed as
15013         selectNextWordToSpellcheck.
15014
15015         * text.C (selectNextWordToSpellcheck): Modified to not select
15016         words inside an ERT inset.
15017
15018 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15019
15020         * lyx_cb.C (MenuLayoutSave): change a bit the question
15021
15022         * sp_base.h: include <sys/types.h>
15023
15024 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15025
15026         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15027
15028 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15029
15030         * several files: fix typos in user-visible strings
15031
15032 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15033
15034         * text2.C (pasteSelection): do not set the selection, since it
15035         will be cleared later. Actually, the intent was to fix the way the
15036         selection was set, but I figured rmoving the code was just as good.
15037
15038 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15039
15040         * FontLoader.C (available): Check if font is available without
15041         loading the font.
15042
15043 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15044
15045         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15046
15047 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15048
15049         * lyxrc.[Ch]: added display_graphics variable and associated code.
15050
15051 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15052
15053         * bufferparams.C (hasClassDefaults): new method. Returns true if
15054         the buffer parameters correspond to known class defaults
15055
15056 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15057
15058         * XFormsView.C (show): set minimum size to the main window.
15059
15060 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15061
15062         * text2.C (copySelection):
15063         (cutSelection):
15064         * lyxfind.C (LyXReplace):
15065         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15066         LyXText::selectionAsString.
15067
15068         * paragraph.C (asString): add "label" argument to the second form
15069
15070         * text2.C (selectionAsString): add "label" argument and pass it to
15071         Paragraph::asString.
15072
15073 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15074
15075         * lyx_main.C (commandLineHelp): remove version information
15076
15077 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15078
15079         * lyx_main.C: add -version commandline option
15080
15081 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15082
15083         * paragraph.h: make the optional constructor arg required instead.
15084         some modifications to other files because of this.
15085
15086         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15087
15088         * lyxserver.C (C_LyXComm_callback): make it static
15089
15090         * lyx_main.C (error_handler): make it static
15091
15092         * lyx_gui.C (LyX_XErrHandler): make it static
15093
15094         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15095
15096         * WorkArea.C: make the extern "C" methods static.
15097
15098         * Makefile.am (lyx_LDADD): simplify
15099
15100 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15101
15102         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15103         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15104
15105         * LyXAction.C (init):
15106         * lyxfunc.C (dispatch): associated code removal.
15107
15108 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15109
15110         * lyxfont.h (isSymbolFont): shut off warning
15111
15112         * text.C (setHeightOfRow):
15113         (getVisibleRow): fix crash with empty paragraphs which have a
15114         bottom line
15115
15116 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15117
15118         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15119         code.
15120
15121 2001-09-04  José Matos  <jamatos@fep.up.pt>
15122         * buffer.C
15123         * buffer.h
15124         * tabular.C (docbook): rename docBook method to docbook.
15125
15126 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15127
15128         * Makefile.am: add dependencies to main.o.
15129
15130 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15131
15132         * FontLoader.C (available): Return false if !lyxrc.use_gui
15133
15134 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15135
15136         * FontInfo.C (query):
15137         * converter.C (view):
15138         * importer.C (Import):
15139         * exporter.C (Export): Can not -> cannot.
15140
15141 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15142
15143         * BufferView_pimpl.C: allow to create index inset even if
15144           string is empty
15145
15146 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15147
15148         * buffer.C (getLists): replace boost::tie code with an explicit pair
15149         as boost::tie can break some compilers.
15150
15151         * iterators.h: Added a std:: declaration to the return type of
15152         ParIterator::size.
15153
15154 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15155
15156         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15157           case.
15158
15159 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15160
15161         * iterators.[Ch]: New files. Provide paragraph iterators.
15162
15163         * buffer.C (changeLanguage): Use paragraph iterators.
15164         (isMultiLingual): ditto
15165
15166         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15167
15168 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15169
15170         * FontLoader.C: Support for cmr font.
15171
15172 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15173
15174         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15175         (available): New method.
15176
15177         * FontInfo.C (getFontname): Use scalable fonts even when
15178         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15179         found.
15180
15181 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15182
15183         * converter.C (Formats::view): reverted! Incorrect fix.
15184
15185 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15186
15187         * converter.C (Formats::view): only output the -paper option
15188         if the dvi viewer is xdvi, thereby fixing bug #233429.
15189
15190 2001-08-23  Herbert Voss  <voss@perce>
15191
15192         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15193
15194 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15195
15196         * Spacing.h (Spacing): Set space to Default on in the default
15197         constructor.
15198
15199 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15200
15201         * vc-backend.h (RCS::versionString): add RCS to version
15202         (CVS::versionString): add CVS to version
15203
15204         * vc-backend.C (scanMaster): do not add CVS to version.
15205         (scanMaster): do not add RCS to version
15206
15207         * lyxvc.C (versionString): new method
15208
15209         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15210
15211 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15212
15213         * Spacing.C (set): initialize fval
15214
15215 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15216
15217         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15218         " or \.
15219
15220 2001-08-16  Juergen Vigna  <jug@sad.it>
15221
15222         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15223
15224 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15225
15226         * BufferView_pimpl.C:
15227         * figureForm.C:
15228         * lyxtext.h:
15229         * text2.C: setParagraph takes linespacing now
15230
15231 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15232
15233         * LyxAction.C: add internal LFUN_CITATION_INSERT
15234
15235         * LyXView.C: actually apply fix
15236
15237         * bufferlist.C: fix open non-existent file
15238
15239         * lyxfind.C: fix indentation
15240
15241         * lyxfunc.C: remove unneeded assert, fix typo
15242
15243 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15244
15245         * MenuBackend.C: use "Floatname List"
15246
15247 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15248
15249         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15250         when converting LaTeX layout to insetERT.
15251         Generate a non-collapsed float when reading old float
15252
15253 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15254
15255         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15256         ERT insets.
15257
15258 2001-08-13  Juergen Vigna  <jug@sad.it>
15259
15260         * text.C (fill): return 0 instead of 20 as this seems to be the more
15261         correct value.
15262
15263 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15264
15265         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15266         lyxrc.font_norm.
15267
15268 2001-08-13  Juergen Vigna  <jug@sad.it>
15269
15270         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15271         casesensitive off.
15272         (SearchBackward): comment out the unlocking of the inset_owner this
15273         should not be needed!
15274
15275 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15276
15277         * Many files: Remove inherit_language, and add latex_language
15278
15279         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15280         collapsible insets.
15281
15282 2001-08-10  Juergen Vigna  <jug@sad.it>
15283
15284         * text.C (prepareToPrint): fixed hfill-width in draw!
15285
15286         * BufferView2.C (selectLastWord): save the selection cursor as this
15287         now is cleared in the function LyXText::clearSelection!
15288
15289 2001-08-08  Juergen Vigna  <jug@sad.it>
15290
15291         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15292         BACKSPACE type functions.
15293
15294         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15295         is only cutted from the document but not put in the cut-buffer, where
15296         still the old stuff should be.
15297
15298         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15299
15300         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15301
15302         * tabular.C (SetWidthOfCell): fixed special case where the width
15303         was not updated!
15304         (LeftLine): handle '|' in align_special.
15305         (RightLine): ditto
15306         (LeftAlreadyDrawed): ditto
15307         (SetWidthOfCell): ditto
15308
15309 2001-08-07  Juergen Vigna  <jug@sad.it>
15310
15311         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15312
15313 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15314
15315         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15316         * lyxlex.[hC]: ditto
15317
15318 2001-08-06  Juergen Vigna  <jug@sad.it>
15319
15320         * text.C (getVisibleRow): fix up row clearing a bit.
15321
15322 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15323
15324         * minibuffer.C: make sure the X server sees the changes in the input.
15325
15326 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15327
15328         * paragraph.C (getFont): split into...
15329         (getLabelFont): this
15330         (getLayoutFont): and this
15331         * paragraph_pimpl.C (realizeFont): calling this
15332
15333         * text2.C (getFont): split into...
15334         (getLayoutFont): this
15335         (getLabelFont): and this
15336         (realizeFont): all three calling this
15337
15338         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15339         files where used.
15340
15341 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15342
15343         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15344
15345 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15346
15347         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15348         layouts from the Quote inset insertion.
15349
15350 2001-08-03  Juergen Vigna  <jug@sad.it>
15351
15352         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15353
15354         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15355         only if status not is already CHANGED_IN_DRAW (second level).
15356
15357         * text.C (draw): don't set the need_break_row when inside an
15358         InsetText LyXText.
15359
15360 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15361
15362         * buffer.C (parseSingleLyXformat2Token): handle more latex
15363         conversion cases.
15364
15365         * bufferview_funcs.[hC]: change function names to
15366         begin with small char, adjust other files.
15367
15368 2001-08-02  André Pönitz <poenitz@gmx.net>
15369
15370         * lyxfunc.C:
15371         BufferView_pimpl.C: remove broken special code for math-greek
15372
15373 2001-08-02  Juergen Vigna  <jug@sad.it>
15374
15375         * BufferView_pimpl.C (update): redone this function so that we
15376         update the text again if there was a CHANGE_IN_DRAW.
15377
15378         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15379         (drawFromTo): added a new internal bool which is used by draw() and
15380         redraw() function.
15381         (general): some cursor drawing problems fixed.
15382
15383 2001-08-01  Juergen Vigna  <jug@sad.it>
15384
15385         * lyxfind.C (LyXFind): fixed
15386         (SearchForward): ditto
15387         (SearchBackward): ditto
15388
15389         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15390         spurius drawing of the cursor in the main area.
15391
15392         * text2.C (status): small fix which could lead to a segfault!
15393         (clearSelection): remove unneeded BufferView param.
15394
15395 2001-08-01  André Pönitz <poenitz@gmx.net>
15396
15397         * lyxfunc.C: small change due to changed mathed interface
15398
15399 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15400
15401         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15402
15403 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15404
15405         * lyxfunc.c: fail gracefully if file doesn't exist
15406
15407         * LyXSendto.C:
15408         * buffer.C:
15409         * lyxfunc.C:
15410         * BufferView_pimpl.C: IsDirWriteable() proto changed
15411
15412         * LyXView.C: fix updateWindowTitle() to store the last title
15413
15414 2001-07-31  Juergen Vigna  <jug@sad.it>
15415
15416         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15417         the font (wrong since using of Paragraph::highestFontInRange).
15418
15419         * paragraph.C (highestFontInRange): added a default_size parameter.
15420
15421         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15422         (setHeightOfRow): reformat
15423
15424 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15425
15426         * converter.[hC] + affected files: move to (inital-char)lowercase
15427         function names.
15428
15429         * ParagraphParameters.C (ParagraphParameters): remove commented code
15430
15431         * PainterBase.[Ch]: remove commented code
15432
15433         * LaTeXFeatures.h: add "bool floats" for float.sty
15434
15435         * LaTeXFeatures.C (LaTeXFeatures): init floats
15436         (require): handle float
15437         (getPackages): do it with floats
15438
15439 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15440
15441         * BufferView_pimpl.C (Dispatch): improve handling of
15442         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15443
15444         * commandtags.h: #include lyxfont.h here temporarily to avoid
15445         keybinding bug.
15446
15447         * bufferlist.h: include LString.h here.
15448
15449 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15450
15451         * text2.C (getStringToIndex): new method.
15452
15453 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15454
15455         * *: Reduced header file dependencies all over.
15456
15457 2001-07-30  Baruch Even  <baruch@lyx.org>
15458
15459         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15460
15461 2001-07-29  Baruch Even  <baruch@lyx.org>
15462
15463         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15464
15465 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15466
15467         * ParameterStruct.h (endif): add a default constructor to make
15468         sure that all variables is initialized.
15469
15470         * ParagraphParameters.C (ParagraphParameters): adjust
15471
15472 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15473
15474         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15475         index; also, check that there is something to index, and that it
15476         does not span over several paragraphs.
15477         (doubleClick): use WHOLE_WORD_STRICT for double click.
15478
15479         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15480
15481         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15482         scheme.
15483
15484 2001-07-26  Baruch Even  <baruch@lyx.org>
15485
15486         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15487         an InsetFig figure, backwards compatible reading of old figure code.
15488
15489 2001-07-27  Juergen Vigna  <jug@sad.it>
15490
15491         * text2.C: font.realize function adaption.
15492
15493         * text.C (draw): add a warnings lyxerr text if needed.
15494
15495         * layout.C: font.realize function adaption.
15496
15497         * language.C: add inherit_language and implement it's handlings
15498
15499         * bufferview_funcs.C (StyleReset): remove language parameter from
15500         font creation (should be language_inherit now).
15501
15502         * bufferparams.C (writeFile): handle ignore_language.
15503
15504         * paragraph.C (getFontSettings): the language has to be resolved
15505         otherwise we have problems in LyXFont!
15506
15507         * lyxfont.C (lyxWriteChanges): added document_language parameter
15508         (update): removed unneeded language parameter
15509
15510         * paragraph.C (validate): fixed wrong output of color-package when
15511         using interface colors for certain fonts in certain environments,
15512         which should not seen as that on the final output.
15513
15514 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15515
15516         * BufferView_pimpl.C:
15517         * Thesaurus.h:
15518         * Thesaurus.C:
15519         * Makefile.am:
15520         * commandtags.h:
15521         * LyXAction.C: add thesaurus support
15522
15523         * lyxfind.h:
15524         * lyxfind.C: add "once" parameter, for thesaurus, to not
15525           move to the next match
15526
15527 2001-07-26  Juergen Vigna  <jug@sad.it>
15528
15529         * lyxfont.C (realize): honor ignore_language too!
15530         (resolved): ditto.
15531
15532         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15533
15534         * text.C (draw): one place more for ignore_language to not draw
15535         itself!
15536
15537 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15538
15539         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15540
15541 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15542
15543         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15544         the minipage conversion problem.
15545
15546 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15547
15548         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15549         insert an inset.
15550
15551 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15552
15553         * BufferView.h: don't forward declare WorkArea
15554
15555         * BufferView.C: don't include WorkArea.h
15556
15557 2001-07-25  André Pönitz <poenitz@gmx.net>
15558
15559         * commandtags.h:
15560         * LyXAction.C:
15561         * lyxfunc.C:  new LFUN 'math-space'
15562
15563         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15564
15565 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15566
15567         * text2.C (toggleInset): call open/close
15568
15569 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15570
15571         * lyxfunc.C (dispatch): add debug for the disabled case
15572
15573         * font.C (buttonText): make similar to rectText
15574
15575         * buffer.C (readInset): comment out parsing of insetlist and
15576         insttheorem
15577
15578         * PainterBase.C (rectText): small correction
15579
15580         * BufferView_pimpl.C: comment out insettheorem and insetlist
15581         * LyXAction.C: ditto
15582         * commandtags.h: ditto
15583
15584 2001-07-24  Juergen Vigna  <jug@sad.it>
15585
15586         * text.C (draw): honor the ignore_language.
15587
15588         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15589
15590 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15591
15592         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15593         char inset.
15594
15595 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15596
15597         * lyxtext.h: remove unused (and unimplemented) methods
15598
15599 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15600
15601         * text.C (getVisibleRow): honor background color
15602
15603         * PainterBase.h:
15604         * Painter.h: remove default color argument for fillRectangle
15605
15606         * text.C (backgroundColor): new method
15607
15608 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15609
15610         * text.C (getVisibleRow): adjust
15611
15612         * font.[Ch] (rectText): new method, metrics
15613         (buttonText): new method, metrics
15614
15615         * PainterBase.[hC]: make rectText and buttonText always draw and take
15616         fewer paramteres.
15617
15618 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15619
15620         * ToolbarDefaults.C (read):
15621         * MenuBackend.C (read): allow escaping in all strings
15622
15623         * BufferView_pimpl.C (insertAndEditInset): new method.
15624         (Dispatch): use insertAndEditInset whenever appropriate.
15625
15626         * BufferView_pimpl.C (insertNote): removed
15627
15628         * BufferView_pimpl.C (smartQuote): new method, moved from
15629         BufferView; if an insetquote cannot be inserted, insert a '"'
15630         character instead.
15631
15632         * BufferView2.C: remove insertCorrectQuote();
15633
15634         * lyxfunc.C (getStatus): Add support for all remaingin
15635         inset-insert lfuns.
15636
15637         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15638
15639         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15640         command (necessary to pass " as parameter of self-insert.
15641
15642         * text.C (selectWordWhenUnderCursor):
15643         (selectWord): add word_location parameter
15644         (selectWordWhenUnderCursor): same + remove special code for word
15645         boundary.
15646         (selectNextWord): use kind() to guess type of insetspecialchar,
15647         not latex().
15648
15649         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15650         (insertErtContents): create ert insets as collapsed.
15651         (readInset): better compatibility code for Info inset.
15652
15653 2001-07-20  Juergen Vigna  <jug@sad.it>
15654
15655         * lyxfunc.C (dispatch): use always LyXFind now!
15656
15657         * text2.C (init): add a reinit flag so that the LyXText can be
15658         reinited instead of deleted and reallocated (used in InsetText).
15659
15660         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15661
15662         * text.C: ditto
15663
15664         * text2.C: ditto
15665
15666 2001-07-18  Juergen Vigna  <jug@sad.it>
15667
15668         * text.C (selectNextWord): handle insets inside inset by calling
15669         always the bv->text functions so that we can go up the_locking_inset!
15670
15671         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15672         in strange locations when inside an inset!
15673
15674         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15675         handling to include insets.
15676
15677         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15678
15679 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15680
15681         * LyXAction.C (init):
15682         * commandtags.h:
15683         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15684         LIGATURE_BREAK, since the name is so stupid.
15685
15686 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15687
15688         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15689         InsetInfos.
15690
15691         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15692
15693         * sp_form.[Ch]: remove.
15694
15695         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15696
15697         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15698         InsetInfo.
15699
15700         * src/buffer.C (readInset): ditto.
15701
15702 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15703
15704         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15705         menuSeparator(), endOfSentenceDot(), ldots() and
15706         hyphenationPoint(), which are therefore removed.
15707         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15708
15709         * LyXAction.C (init):
15710         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15711
15712         * paragraph.C (getWord): removed.
15713
15714         * BufferView_pimpl.C (Dispatch): use last word or selection for
15715         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15716
15717         * lyx_main.C (queryUserLyXDir): do not ask before creating
15718         user_dir, except if it has been named explicitely.
15719
15720 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15721
15722         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15723         a document of zero size.
15724
15725 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15726
15727         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15728         approriately in the c-tor and in require().
15729         (getPackages): output the appropriate LaTeX for natbib support.
15730
15731         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15732         variables "use_natbib" and "use_numerical_citations" when reading the
15733         LyX file.
15734         (readInset): read the various natbib cite commands.
15735         (validate): white-space change.
15736
15737         * bufferparams.[Ch]: new variables "bool use_natbib" and
15738         "bool use_numerical_citations".
15739         (writeFile): output them in the LyX file.
15740
15741 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15742
15743         * lyxfunc.C (getStatus): add support for all the inset insertion
15744         commands.
15745
15746         * text2.C (insertInset):
15747         * paragraph.C (insetAllowed):
15748         * BufferView_pimpl.C (insertInset): update to take in account the
15749         renaming of insertInsetAllowed
15750
15751         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15752
15753         * text2.C (getInset): new method. returns inset at cursor position.
15754
15755         * BufferView_pimpl.C (Dispatch): changes because of this.
15756
15757         * LyXAction.C (init): rename open-stuff to inset-toggle.
15758
15759         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15760
15761         * text2.C (toggleInset): renamed from openStuff; use
15762         Inset::open().
15763
15764 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15765
15766         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15767
15768         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15769
15770 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15771
15772         * buffer.C (readLyXformat2): Add filename to the error dialog
15773
15774 2001-07-18  Juergen Vigna  <jug@sad.it>
15775
15776         * tabular.C (GetCellNumber): put an assert here instead of the check!
15777
15778 2001-07-17  Juergen Vigna  <jug@sad.it>
15779
15780         * BufferView_pimpl.C (toggleSelection): adapted too.
15781
15782         * text.C (selectNextWord): adapted for use with insets.
15783         (selectSelectedWord): ditto
15784
15785 2001-07-17  Juergen Vigna  <jug@sad.it>
15786
15787         * sp_spell.C (PSpell): fix initialitation order.
15788
15789 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15790
15791         * paragraph.C: spacing
15792
15793 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15794
15795         * sp_spell.C: repair language selection for pspell
15796
15797 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15798
15799         * lyxfunc.h: change more methods to begin with lower char.
15800
15801 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15802
15803         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15804         for unknown layouts.
15805
15806 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15807
15808         * buffer.C (readLyXformat2): Generate an error dialog if there are
15809         unknown layouts.
15810
15811 2001-07-16  Juergen Vigna  <jug@sad.it>
15812
15813         * sp_spell.C: always compile ISpell part.
15814
15815         * lyxrc.C: added use_pspell entry and it's handling.
15816
15817 2001-07-13  Juergen Vigna  <jug@sad.it>
15818
15819         * sp_spell.C: removed double includes.
15820
15821 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15822
15823         Consistent use of Lsstream.h:
15824         * Lsstream.h: added using std::stringstream for consistencies sake.
15825
15826         * buffer.C: removed using std::stringstream
15827
15828         * lyxfont.C (stateText):
15829         * paragraph.C (asString):
15830         * text.C (selectNextWord, selectSelectedWord):
15831         * text2.C (setCounter):
15832         * vspace.C (asString, asLatexString):
15833         std::ostringstream -> ostringstream.
15834
15835 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15836
15837         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15838         * commandtags.h: add LFUN_HELP_ABOUTLYX
15839         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15840
15841 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15842
15843         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15844         cursorToggle()
15845         * lyx_gui_misc.C: remove spellchecker
15846         * lyxfunc.C: showSpellchecker
15847         * sp_base.h: added
15848         * sp_ispell.h: added
15849         * sp_pspell.h: added
15850         * sp_spell.C: added
15851         * sp_form.[Ch]: removed
15852         * spellchecker.[Ch]: removed
15853
15854 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15855
15856         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15857         is set.
15858         (simpleTeXSpecialChars): Simply print the input character without
15859         any special translation if pass_thru is set.
15860
15861         * layout.h: Added bool pass_thru to layout class for being able to
15862         implement pass through of a paragraph for Literate Programming.
15863
15864         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15865         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15866         * layout.C (Read): add "passthru" to list of layout tags and add
15867         code to set the pass_thru boolean when it is read.
15868
15869 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15870
15871         * trans_decl.h: remove allowed from KmodInfo
15872
15873         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15874         remove allowed code
15875         (Load): adjust
15876
15877         * paragraph_pimpl.C (erase): use boost::prior
15878
15879         * Painter.C (text): use data() instead of c_str() when length is
15880         also provided.
15881         * WorkArea.C (putClipboard): ditto
15882         * font.h (width): ditto
15883
15884         * BufferView2.C: use it-> instead of (*it). for iterators
15885         * texrow.C: ditto
15886         * paragraph_pimpl.C: ditto
15887         * paragraph.C: ditto
15888         * minibuffer.C: ditto
15889         * language.C: ditto
15890         * kbmap.C: ditto
15891         * encoding.C: ditto
15892         * counters.C: ditto
15893         * converter.C: ditto
15894         * chset.C: ditto
15895         * Variables.C: ditto
15896         * TextCache.C: ditto
15897         * MenuBackend.C: ditto
15898         * LyXAction.C: ditto
15899         * LColor.C: ditto
15900         * FloatList.C: ditto
15901         * DepTable.C: ditto
15902         * ColorHandler.C (LyXColorHandler): ditto
15903
15904 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15905
15906         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15907
15908         * text2.C (openStuff): reintroduce this method (which had been
15909         nuked in NEW_INSETS frenzy).
15910
15911         * lyxfunc.C (Dispatch): when an action has not been handled, use
15912         its name in the error message, not its number.
15913
15914         * paragraph.C (inInset): change method name to begin with lowercase.
15915
15916         * undo_funcs.C:
15917         * text2.C: updates because of this.
15918
15919 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15920
15921         * ToolbarDefaults.C (add): add spaces in error message
15922
15923 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15924
15925         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15926         (readLyXformat2): rename return_par to first_par, use lyxlex's
15927         pushToken and remove the manual push handling.
15928         (parseSingleLyXformat2Token): add another ert comp. variable:
15929         in_tabular, rename return_par to first_par. handle newlines better
15930
15931 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15932
15933         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15934
15935 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15936
15937         * text2.C (getParFromID): removed
15938
15939         * buffer.C (getParFromID): new method moved form lyxtext.
15940         * BufferView2.C (insertErrors): adjust
15941         (setCursorFromRow): adjust
15942         * BufferView_pimpl.C (restorePosition): adjust
15943         * lyxfunc.C (Dispatch): adjust
15944         * undo_funcs.C (textUndo): adjust
15945         (textRedo): adjust
15946         (textHandleUndo): adjust
15947         (textHandleUndo): adjust
15948
15949 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15950
15951         * buffer.C: up' the LYX_FORMAT
15952
15953         * lyxfont.h: turn NO_LATEX on as default
15954
15955         * buffer.C (insertErtContents): new methods of tex style compability.
15956         (parseSingleLyXformat2Token): use it several places.
15957         * tabular.C (OldFormatRead): and here
15958
15959 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15960
15961         * text2.C: remove some commented code.
15962         reindent file.
15963
15964         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15965         * trans.C: changes because of the above.
15966
15967 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15968
15969         * text2.C (setCounter): Fix counters bug with bibliography layout.
15970
15971 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15972
15973         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15974         own member functions
15975         (simpleTeXSpecialChars): ditto
15976
15977 2001-07-06  Juergen Vigna  <jug@sad.it>
15978
15979         * a lot of files: changed the access to LyXText::status and the
15980         call of undo-functions.
15981
15982         * undo.[Ch]: added a inset_id to the undo informations.
15983
15984         * undo_funcs.[Ch]: added and moved here all undo functions.
15985
15986         * lyxtext.h: give the status enum a weight, made status_ a private
15987         variable and made accessor functions for it, removed the whole bunch
15988         of undo-functions as they are now in their own file, make some
15989         functions publically available. Added function ownerParagraph with
15990         int parameter.
15991
15992         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15993         made InInset() a const function, added getParFromID() function.
15994
15995         * buffer.[Ch]: added const version for inset_iterator functions,
15996         added getInsetFromID() function.
15997
15998         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15999         changed undo functions for new version.
16000
16001 2001-07-05  Juergen Vigna  <jug@sad.it>
16002
16003         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16004         unknow mechanism does not call the proper constructor but only this
16005         one also if I request the other!?
16006
16007 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16008
16009         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16010
16011         * text2.C (LyXText): use initialization lists.
16012
16013         * lyxtext.h (Selection): initialize set_ and mark_
16014         (init): remove method
16015
16016 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16017
16018         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16019
16020 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16021
16022         * screen.[Ch]: change method names to begin with lowercase
16023
16024         * BufferView_pimpl.C (updateScrollbar): simplify further and
16025         hopefully make it a bit faster.
16026
16027 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16028
16029         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16030         calling directly xforms functions.
16031
16032         * Painter.C (Painter):
16033         * lyx_cb.C (MenuWrite):
16034         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16035         fl_display.
16036
16037         * lyx_gui.C: remove bogus guiruntime extern declaration.
16038
16039 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16040
16041         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16042         in NEW_INSETS
16043         (redoDrawingOfParagraph): ditto
16044         (redoParagraphs): ditto
16045         (cutSelection): don't create a object for CutAndPaste use the
16046         static method directly
16047         (pasteSelection): ditto
16048
16049         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16050         LyXview (+ rename)
16051
16052 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16053
16054         * modifications to some other files because of this.
16055
16056         * Makefile.am (lyx_SOURCES): add XFormsView
16057
16058         * XFormsView.[Ch]: new files
16059
16060         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16061         the main window. Move the gui dependent stuff to XFormsView
16062
16063 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16064
16065         * tabular.C (GetCellInset): update cur_cell also in the row/col
16066         version of this function.
16067
16068         * lyxfunc.C: no need to include figure_form.h here.
16069
16070         * FontLoader.h:
16071         * lyxfunc.h:
16072         * lyxscreen.h:
16073         * text2.C:
16074         * lyxvc.C: no need to include forms.h here.
16075
16076 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16077
16078         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16079
16080         * lyxfunc.C (Dispatch):
16081         * Spacing.C (set):
16082         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16083         constructor argument.
16084
16085 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16086
16087         * paragraph.C (Paragraph): dont't clear, and just set layout.
16088         (makeSameLayout): use params's copy contructor.
16089
16090         * ParagraphParameters.[Ch] (makeSame): delete method
16091
16092 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16093
16094         * Variables.[Ch]: fix indentation, rename set to isSet
16095
16096 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16097
16098         * lyxfunc.C (Dispatch): fix typo
16099
16100 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16101
16102         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16103         upper_bound.
16104
16105         * bufferlist.C: include assert.h for emergencyWrite().
16106
16107 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16108
16109         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16110           give up at last (bug #425202) !
16111
16112 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16113
16114         * lyx_gui_misc.C:
16115         * sp_form.h:
16116         * sp_form.C:
16117         * spellchecker.h:
16118         * spellchecker.C: strip spellchecker options and bring up
16119           preferences tab instead
16120
16121 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16122
16123         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16124         the istringstream constructor
16125
16126 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16127
16128         * paragraph.C (getLayout): fix return value
16129
16130         * paragraph.h: do not declare getLayout as inline.
16131
16132         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16133
16134 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16135
16136         * lyxcursor.h (operator<): new func
16137         (operator>): new func
16138         (operator>=): new func
16139         (operator<=): new func
16140
16141         * text.C (changeCase): use selection.start and selection.end
16142         (changeRegionCase): require from to be <= to. Require par to be a
16143         valid paragraph.
16144
16145         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16146
16147 2001-06-27  Juergen Vigna  <jug@sad.it>
16148
16149         * text.C (cursorLeftOneWord): changed to return the cursor and added
16150         overlay with BufferView * parameter which calls this one.
16151         (getWord): added
16152         (selectWord): use new getWord function.
16153         (changeCase): renamed from changeWordCase as and extended to work
16154         also on selections.
16155
16156         * lyxtext.h: added enum word_location
16157
16158         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16159         changeCase as this operates now also on selections.
16160
16161 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16162
16163         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16164
16165         * many files: send debug output to Debug::INFO instead of
16166         Debug::ANY.
16167
16168         * converter.C (View):
16169         (Convert):
16170         (Move): send debug output to Debug::FILES instead of console.
16171
16172 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16173
16174         * lyxfunc.C (getStatus): use func_status
16175
16176         * func_status.h: new header, describing the results of
16177         LyXFunc::getStatus;
16178
16179         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16180         LFUN_MATH_HALIGN.
16181
16182 2001-06-25  The LyX Project  <jug@sad.it>
16183
16184         * buffer.C (sgmlOpenTag):
16185         (sgmlCloseTag):
16186         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16187
16188 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16189
16190         * text2.C: remove some dead code
16191
16192         * tabular.C (GetCellInset): store the last cell checked (gotten)
16193
16194         * tabular.h: add the helper for the speedup
16195
16196         * lyxtext.h: remove some dead code
16197
16198 2001-06-26  The LyX Project  <Asger>
16199
16200         * paragraph.C: Change export to LaTeX of alignment to
16201         \begin{center} and family for better roundtrip work with reLyX.
16202
16203         * Tune the math drawing a bit.
16204
16205 2001-06-25  The LyX Project  <Asger>
16206
16207         * LColor.C (LColor): New color for math background. New color
16208         for buttons.
16209
16210 2001-06-25  The LyX Project  <jug@sad.it>
16211
16212         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16213
16214         * lyxfunc.C (Open):
16215         * bufferlist.C (newFile): do not restrict to files ending with
16216         .lyx
16217
16218         * BufferView_pimpl.C (MenuInsertLyXFile):
16219
16220 2001-06-24  The LyX Project  <jug@sad.it>
16221
16222         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16223         of compare_no_case
16224
16225 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16226
16227         * lyxtext.h: rename most methods to begin with a small char.
16228         Lots of changes because of this.
16229
16230         * paragraph.C (Paragraph): do not call fitToSize
16231         (erase): call Pimpl::erase
16232         (insertChar): call Pimpl::insertChar
16233         (insertInset): call Pipl::insertInset
16234         (breakParagraph): do not call fitToSize
16235         (breakParagraphConservative): do not call fitToSize
16236         (fitToSize): remove method
16237
16238         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16239
16240 2001-06-24  The LyX Project  <Asger>
16241
16242         * Fix Qt compilation^2
16243
16244 2001-06-24  The LyX Project  <jug@sad.it>
16245
16246         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16247         depthHook(getDepth()-1).
16248
16249         * paragraph.h:
16250         * ParagraphParameters.h:
16251         * ParameterStruct.h: change type of depth to unsigned int ==
16252         depth_type. Many adaptations to other files before of that.
16253
16254 2001-06-24  The LyX Project  <Asger>
16255
16256         * Fix Qt compilation.
16257
16258 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16259
16260         * paragraph.h: renamed several methods to begin with small letter.
16261         several changes to many parts of the code because of this.
16262
16263 2001-06-23  The LyX Project  <jug@sad.it>
16264
16265         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16266         rewritten to discard all double spaces when KeepEmpty is off
16267         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16268         to only handle newlines but not fiddle with spaces and friends.
16269
16270         * lyxfunc.C (MenuNew): when doing 'new from template', use
16271         template_path as default directory
16272
16273 2001-06-23  The LyX Project  <Asger>
16274
16275         * Clean-up of header file includes all over
16276         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16277
16278 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16279
16280         * paragraph.h: renamed from lyxparagraph.h
16281
16282 2001-06-23  Asger  <lyx@violet.home.sad.it>
16283
16284         * Buffer.h: Removed Buffer::resize
16285         * BufferList.h: Removed BufferList::resize
16286         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16287         the document lazily when we change the width, or the font settings.
16288
16289 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16290
16291         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16292
16293 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16294
16295         * buffer.h: remove out of date comment
16296
16297 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16298
16299         * lyxscreen.h:
16300         * screen.C: fix "theoretical" GC leak
16301
16302 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16303
16304         * LaTeX.C (scanAuxFile):
16305         (deplog): remove trailing \r when reading stream (useful under
16306         win32)
16307
16308 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16309
16310         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16311         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16312         and BufferView::theLockingInset(Inset*), so should use them and not
16313         access bv_->text->the_locking_inset directly.
16314
16315         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16316
16317 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16318
16319         * Makefile.am:
16320         * tex-defs.h: remove old unused file
16321
16322 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16323
16324         * BufferView_pimpl.C: fix typo, remove minibuffer message
16325           when buffer has loaded
16326
16327 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16328
16329         * lyxfunc.C (Dispatch): use stringstream
16330         (MenuNew): use stringstream
16331         (Open): use stringstream
16332
16333         * importer.C (Import): use stringstream
16334
16335         * bufferview_funcs.C (CurrentState): use stringstream
16336
16337         * LaTeX.C (run): use stringstream
16338
16339         * BufferView_pimpl.C (savePosition): use stringstream
16340         (restorePosition): use stringstream
16341         (MenuInsertLyXFile): use stringstream
16342
16343 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16344
16345         * BufferView.C:
16346         * Bullet.C:
16347         * ColorHandler.C:
16348         * FontInfo.C:
16349         * FontLoader.C:
16350         * LColor.C:
16351         * LaTeXFeatures.C:
16352         * Painter.C:
16353         * gettext.C:
16354         * lyx_gui_misc.C:
16355         * lyxserver.C:
16356         * vspace.C: removed // -*- C++ -*- as first line.
16357
16358         * lyxfind.h:
16359         * version.h: added // -*- C++ -*- as first line.
16360
16361 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16362
16363         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16364
16365         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16366         of string
16367
16368 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16369
16370         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16371         of floats.
16372
16373 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16374
16375         * gettext.C: include LString.h even when --disable-nls is on.
16376
16377 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16378
16379         * converter.h (Get): changed argument type from int to
16380         FormatList::size_type to avoid unnecessary conversion.
16381
16382         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16383         before using it.
16384
16385 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16386
16387         * gettext.h: include LString.h even when --disable-nls is on.
16388
16389 2001-06-07  Juergen Vigna  <jug@sad.it>
16390
16391         * text.C (BreakAgain): subst spaces with tabs.
16392
16393         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16394         (resizeInsetsLyXText): set force on resizeLyXText.
16395
16396 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16397
16398         * gettext.h (gettext_init):
16399         (locale_init): use a real definition instead of a macro
16400
16401 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16402
16403         * Bufferview_pimpl.C:
16404         * LColor.h:
16405         * LColor.C: further lcolor tidies
16406
16407 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16408
16409         * BufferView_pimpl.C (updateScrollbar): simplify.
16410
16411         * BufferView2.C: don't include insets/insetinfo.h, change
16412         prototype for insertInset and call the Pimpl version. let
16413         updateInset call Pimpl version.
16414
16415         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16416         gotoInset to BufferView::Pimpl
16417
16418 2001-06-01  Juergen Vigna  <jug@sad.it>
16419
16420         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16421         inside a LockingInset (is the update needed at all?).
16422
16423 2001-05-31  Juergen Vigna  <jug@sad.it>
16424
16425         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16426         here not the old one otherwise how should we compare it afterwards
16427         if it's the same!
16428
16429 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16430
16431         * lyxfont.C:
16432         * tabular.C:
16433         * tabular-old.C:
16434         * FontInfo.C: bring C functions into global namespace when
16435         necessary
16436
16437 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16438
16439         * LString.h: make sure config.h has been loaded before LString.h.
16440
16441         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16442         (one for each char read by EatLine!).
16443
16444         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16445         variables.
16446
16447 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16448
16449         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16450         to the same as the par we break from
16451
16452 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16453
16454         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16455
16456         * MenuBackend.C (expand): also create menu entries for wide
16457         versions of the floats.
16458
16459         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16460
16461         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16462
16463         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16464         frontends/Makefile.am
16465
16466         * text2.C: adjust
16467         * text.C: adjust
16468
16469
16470         * tabular.C (getTokenValue): add std::
16471
16472         * tabular-old.C (getTokenValue): add std::
16473         (getTokenValue): ditto
16474         (getTokenValue): ditto
16475
16476         * screen.C (ToggleSelection): adjust
16477
16478         * lyxtext.h: put selection cursors inside a Selection struct.
16479
16480         * lyxfunc.C (moveCursorUpdate): adjust
16481
16482         * lyxfont.C (latexWriteStartChanges): add std::
16483
16484         * lyxfind.C: adjust
16485
16486         * font.h: delete with(char const *, LyXFont const &)
16487
16488         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16489
16490         * FontInfo.C (getFontname): add std::
16491
16492         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16493         (workAreaButtonPress): adjust
16494         (tripleClick): adjust
16495         (update): adjust
16496         (moveCursorUpdate): adjust
16497         (Dispatch): adjust
16498
16499         * BufferView2.C (gotoInset): adjust
16500
16501 2001-05-30  Juergen Vigna  <jug@sad.it>
16502
16503         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16504         to check pspell I add this as default as I now have new pspell
16505         libraries and they seem to use this.
16506
16507 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16508
16509         * text2.C (CutSelection): make the cursor valid before the call to
16510         ClearSelection.
16511
16512 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16513
16514         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16515         relied on 0 terminated strings and other horrors. Bug found due to
16516         the new assert in lyxstring!
16517
16518         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16519         KP_ keys.
16520
16521 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16522
16523         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16524         to latinkeys.bind.
16525
16526         * lyxfunc.C (processKeySym): change method of getting to the
16527         self-insert char.
16528
16529         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16530         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16531         * BufferView_pimpl.[Ch]: here as private methods.
16532
16533 2001-05-28  Juergen Vigna  <jug@sad.it>
16534
16535         * text.C (SetHeightOfRow): added the update() call again as it is
16536         needed to initialize inset dimensions!
16537
16538 2001-05-16  Juergen Vigna  <jug@sad.it>
16539
16540         * text2.C (SetCharFont): Add new function with BufferView * and
16541         bool toggleall parameters for setting insets internal fonts.
16542         (SetFont): Freeze the undo as we may change fonts in Insets and
16543         all this change should be inside only one Undo!
16544
16545         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16546         setting font's in insets as for them we have the SetFont function!
16547
16548 2001-05-15  Juergen Vigna  <jug@sad.it>
16549
16550         * text2.C (ClearSelection): to be sure we REALLY don't have any
16551         selection anymore!
16552
16553         * tabular.C (TeXCellPreamble): fixed the left border problem for
16554         multicolumn cells.
16555
16556 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16557
16558         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16559         dependancy file
16560
16561 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16562
16563         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16564         LFUN_BREAKPARAGRAPH.
16565
16566         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16567         help test to "internal only", similar for LFUN_INSERT_URL
16568
16569         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16570         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16571         auto_region_delete and deadkeys.
16572
16573 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16574
16575         * LColor.h:
16576         * LColor.C: remove some dead entries, tidy a little
16577
16578 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16579
16580         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16581         commented code.
16582         (Dispatch): implement LFUN_ESCAPE
16583
16584         * commandtags.h: add LFUN_ESCAPE
16585
16586         * LyXAction.C (init): add entry for LFUN_ESCAPE
16587
16588         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16589         Remove commented code.
16590         (insertNote): moved here
16591         (open_new_inset): moved here
16592
16593         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16594         BufferView_pimpl
16595
16596 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16597
16598         * kbmap.C (findbinding): clean it up and make it work correctly.
16599
16600         * lyx_main.C (init): do not pass argc and argv as parameters
16601
16602 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16603
16604         * buffer.C: fix path for OS/2 & Win32
16605
16606         * lyx_gui.C:
16607         * lyx_main:
16608         * lyx_main.C: Added os:: class.
16609
16610         * os2_defines.h: update
16611
16612 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16613
16614         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16615         better by trying again with reduced state.
16616
16617 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16618
16619         * lyxrc.C (read): print error about invalid key sequence only when
16620         debugging (because not all latinX keysyms are known to some X
16621         servers)
16622
16623         * kbsequence.C (getiso): add a few std:: qualifiers
16624         (getiso): comment out extra return statement.
16625
16626 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16627
16628         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16629         handling.
16630         (Dispatch): enhance the accent inset a bit. (not perfect)
16631
16632 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16633
16634         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16635
16636 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16637
16638         * bufferlist.C (emergencyWrite): fix assert() call
16639
16640 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16641
16642         * text.C (InsertChar): Added trivial patch to only send the "you
16643         can not do multiple spaces this way" message once during a
16644         session.
16645
16646 2001-05-08  Baruch Even  <baruch@lyx.org>
16647
16648         * Makefile.am: Changed order of libraries to get LyX to link properly
16649         with the gnome frontend.
16650
16651 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16652
16653         * LaTeXFeatures.h: add a std:: qualifier
16654
16655 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16656
16657         * paragraph.C (String): use stringstream
16658
16659 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16660
16661         * paragraph.C (writeFile): remove footflag arg
16662
16663         * buffer.C (makeLaTeXFile): use stringstream
16664         (latexParagraphs): remove footnot gurba
16665
16666         * LaTeXFeatures.C (getPackages): use stringstream
16667         (getMacros): likewise
16668         (getTClassPreamble): likewise
16669         (getFloatDefinitions): new method
16670
16671         * paragraph.C (writeFile): reindent
16672         (Erase): reindent
16673
16674         * WorkArea.h: revert the xpos + etc changes.
16675
16676         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16677
16678         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16679
16680         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16681         (pasteSelection): likewise
16682         * text2.C (CreateUndo): likewise
16683
16684 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16685
16686         * minibuffer.C (peek_event): temporarily reduce the functionality
16687         of the minibuffer (to allow args on lfuns)
16688
16689         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16690         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16691
16692         * buffer.C (readInset): add compability reading of old float
16693         lists, add reading of new style float list.
16694         (readInset): avoid reevaluation of inscmd.getCmdName()
16695         (getLists): reindent
16696
16697         * MenuBackend.C (MenuItem): implement parsing of
16698         md_floatlistinsert and md_floatinsert.
16699         (expand::LastFiles): move initalizaton of iterators out of loop,
16700         avoid reevaluation.
16701         (expand::Documents): introduce typdedef vector<string> Strings,
16702         and use it.
16703         (expand::ExportFormats): introduce typedef vector<Format const *>
16704         Formats, and use it.
16705         (expand): implement FloatListInsert and FloatInsert.
16706
16707         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16708         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16709         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16710
16711         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16712         handling.
16713         (Dispatch::LFUN_FLOAT_LIST): implement
16714
16715 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16716
16717         * LaTeX.C (run): Fix problem with --export code.
16718
16719 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16720
16721         * BufferView.[Ch] (workarea): removed.
16722         (getClipboard) new method; wrapper for workarea()->getClipboard()
16723
16724         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16725         bug.
16726
16727         * WorkArea.h (width, height, xpos, ypos): These methods all
16728         returned the dimensions of the work_area sub-area of WorkArea,
16729         resulting in a position error if the WorkArea were resized. Now
16730         return the dimensions of the entire WorkArea.
16731
16732         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16733
16734 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16735
16736         * LaTeX.C (deplog): correct the syntax of regex reg1
16737
16738 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16739
16740         * undo.C: remove !NEW_INSETS cruft
16741
16742 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16743
16744         * text2.C: remove !NEW_INSETS cruft
16745
16746         * text.C: remove !NEW_INSETS cruft
16747
16748         * tabular.C: remove !NEW_INSETS cruft
16749
16750         * spellchecker.C: remove !NEW_INSETS cruft
16751
16752         * lyxtext.h: remove !NEW_INSETS cruft
16753
16754         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16755
16756         * lyxfunc.C: remove !NEW_INSETS cruft
16757
16758         * lyxfind.C: remove !NEW_INSETS cruft
16759
16760         * lyx_cb.C: remove !NEW_INSETS cruft
16761
16762         * figureForm.C: remove  !NEW_INSETS cruft
16763
16764         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16765
16766         * buffer.[Ch]: remove !NEW_INSETS cruft
16767
16768         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16769
16770         * CutAndPaste.C: remove !NEW_INSETS cruft
16771
16772         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16773
16774         * BufferView2.C: remove !NEW_INSETS cruft
16775
16776         * BufferView.h: remove !NEW_INSETS cruft
16777
16778 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16779
16780         * Lsstream.h: include LString.h before the sstream headers to
16781         fix problem with gcc 2.95.3 and lyxstring
16782
16783 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16784
16785         * lyx_main.C: add using directives when needed for C functions
16786         declared in std:: namespace.
16787
16788 2001-04-27  Juergen Vigna  <jug@sad.it>
16789
16790         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16791         (SetHeightOfRow): comment out the update call should not be needed!
16792
16793 2001-04-13  Juergen Vigna  <jug@sad.it>
16794
16795         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16796         (LyXTabular): tried to minimize operator= operations (and realized
16797         hopfully Lars wish).
16798
16799 2001-04-27  Juergen Vigna  <jug@sad.it>
16800
16801         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16802
16803 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16804
16805         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16806
16807         * buffer.C (readInset): hack to make listof algorithm work
16808
16809         * BufferView_pimpl.C: hack to make listof algorithm work
16810
16811 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16812
16813         * LyXAction.C: removed all !NEW_INSETS cruft
16814         (init): moved lfun_item in method
16815
16816         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16817
16818 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16819
16820         * BufferView2.C (theLockingInset): white space.
16821
16822 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16823
16824         * minibuffer.C: include <iostream>
16825
16826         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16827
16828         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16829
16830         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16831
16832         * text.[Ch] (TransposeChars): new method
16833
16834 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16835
16836         * call message directly through LyXView instead of through LyXFunc
16837         * BufferView2.C: adjust
16838         * BufferView_pimpl.C: adjust
16839         * FontLoader.C: adjust
16840         * buffer.C: adjust
16841         * bufferview_funcs.C: adjust
16842         * converter.C: adjust
16843         * figureForm.C: adjust
16844         * importer.C: adjust
16845         * lyx_cb.C: adjust
16846         * lyx_gui_misc.C: adjust
16847         * lyxfunc.C: adjust
16848         * lyxvc.C: adjust
16849         * text2.C: adjust
16850         + more files in subdirs
16851
16852         * lyxparagraph.h (size): move up int file
16853         (GetLayout): ditto
16854
16855         * adjust all uses of Assert to lyx::Assert.
16856
16857         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16858         lyxfunctional in namespace lyx
16859         * layout.C (hasLayout): ditto
16860         (GetLayout): ditto
16861         (GetLayout): ditto
16862         (delete_layout): ditto
16863         (NumberOfClass): ditto
16864         * converter.C (GetFormat): ditto
16865         (GetNumber): ditto
16866         (Add): ditto
16867         (Delete): ditto
16868         (SetViewer): ditto
16869         * bufferlist.C (getFileNames): ditto
16870         (emergencyWriteAll): ditto
16871         (exists): ditto
16872         (getBuffer): ditto
16873         * MenuBackend.C (hasSubmenu): ditto
16874         (hasMenu): ditto
16875         (getMenu): ditto
16876         * BufferView_pimpl.C (getInsetByCode): ditto
16877
16878 2001-04-18  Juergen Vigna  <jug@sad.it>
16879
16880         * vspace.C (asLatexString): fixed the 100% problem.
16881
16882 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16883
16884         * lyxfunc.C (Dispatch):
16885         * minibuffer.C:
16886         * minibuffer.h: add a few std:: qualifiers
16887
16888 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16889
16890         * minibuffer.[Ch]: reimplement so that commands is initiated and
16891         run from lyxfunc, simplified som handling, and made the completion
16892         and history code for complete. wip.
16893
16894         * lyxfunc.C (processKeySym): call message
16895         (miniDispatch): new temporary method
16896         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16897         (LFUN_MESSAGE): implement
16898         (LFUN_MESSAGE_PUSH): implement
16899         (LFUN_MESSAGE_POP): implement
16900         (initMiniBuffer): the initial/defualt minibuffer message.
16901
16902         * lyxfont.[Ch]: inline some more getters
16903
16904         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16905
16906         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16907
16908         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16909         (AutoSave): use LFUN_MESSAGE
16910         (Reconfigure): ditto
16911
16912         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16913
16914         * figureForm.C: use LFUN_MESSAGE
16915
16916         * converter.C (runLaTeX): use LFUN_MESSAGE
16917
16918         * bufferview_funcs.C: use LFUN_MESSAGE
16919         (Melt): ditto
16920         (changeDepth): ditto
16921
16922         * bufferparams.h: use boost::
16923
16924         * bufferlist.h: inherit privately from noncopyable
16925
16926         * bufferlist.C (loadLyXFile): remove some commented code.
16927
16928         * buffer.C (runChktex): use LFUN_MESSAGE
16929
16930         * ShareContainer.h: inherit privately from noncopyable
16931
16932         * ParagraphParameters.[hC] (depth): inline it.
16933
16934         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16935         methods.
16936         (message): new method
16937         (messagePush): ditto
16938         (messagePop): ditto
16939         (show): init minibuffer
16940         (showState): direct call
16941
16942         * LaTeX.[Ch]: inherit privately from noncopyable
16943         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16944         instead of WriteStatus.
16945
16946         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16947
16948         * BufferView_pimpl.C (buffer): don't init minibuffer
16949         (workAreaButtonPress): use LFUN_MESSAGE
16950         (workAreaButtonRelease): ditto
16951         (savePosition): ditto
16952         (restorePosition): ditto
16953         (MenuInsertLyXFile): ditto
16954         (workAreaExpose): don't init minibuffer
16955         (update): remove commented code, simplify
16956
16957         * BufferView2.C (openStuff): use LFUN_MESSAGE
16958         (toggleFloat): ditto
16959         (menuUndo): ditto
16960         (menuRedo): ditto
16961         (copyEnvironment): ditto
16962         (pasteEnvironment): ditto
16963         (copy): ditto
16964         (cut): ditto
16965         (paste): ditto
16966         (gotoInset): ditto
16967         (updateInset): remove some commented code
16968
16969         * lastfiles.h: inherit privately from noncopyable
16970         * layout.h: ditto
16971         * lyx_gui.h: ditto
16972         * lyx_main.h: ditto
16973         * lyxlex.h: ditto
16974         * lyxlex_pimpl.h: ditto
16975
16976         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16977         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16978         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16979
16980         * LyXAction.h: inherit privately from noncopyable, add methods
16981         func_begin, func_end, returning iterators to the func map.
16982
16983         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16984         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16985         (func_begin): new method
16986         (func_end): new method
16987
16988         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16989         and not)
16990         (copySelection): ditto
16991         (pasteSelection): ditto
16992
16993         * BufferView.C: whitespace change
16994         * BufferView.h: inherit privately from noncopyable
16995
16996 2001-04-16  Allan Rae  <rae@lyx.org>
16997
16998         * tabular-old.C (l_getline):
16999         * spellchecker.C (sc_check_word):
17000         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17001         an unrecognised preprocessor directive.  So ensure they're wrapped.
17002
17003 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17004
17005         * src/exporter.C (Export): Give an error message when path to file
17006         contains spaces.
17007
17008 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17009
17010         * LaTeX.C (deplog): Always check that foundfile exists.
17011
17012 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17013
17014         * lyx_main.h:
17015         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17016
17017 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17018
17019         * tabular.[Ch] (getLabelList): implement new method
17020
17021         * minibuffer.h: comment ouf setTiimer
17022
17023         * minibuffer.C (ExecutingCB): constify res
17024         (peek_event): constify s
17025         (Set): constify ntext
17026         (Init): constify nicename
17027
17028         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17029
17030         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17031         (savePosition): use two params to Minibuffer::Set
17032         (restorePosition): ditto
17033
17034 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17035
17036         * lyx_main.C: include language.h
17037
17038         * Makefile.am (lyx_main.o): add language.h
17039
17040 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17041
17042         * exporter.C:
17043         * paragraph.C:
17044         * screen.C:
17045         * tabular.C:
17046         * CutAndPaste.C: include gettext.h
17047
17048         * lyxfont.h: remove old hack with ON and OFF.
17049
17050         * lyxparagraph.h:
17051         * lyxfont.h: do not include language.h...
17052
17053         * BufferView2.C:
17054         * LaTeXFeatures.C:
17055         * Painter.C:
17056         * bufferview_funcs.C:
17057         * font.C:
17058         * lyxfont.C:
17059         * text.C:
17060         * text2.C:
17061         * trans_mgr.C:
17062         * paragraph.C: ... but do it here instead
17063
17064 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17065
17066         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17067
17068         * tabular.C: small reformat
17069
17070         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17071         NEW_INSETS version
17072         (GetChar): ditto
17073         (BreakParagraph): ditto
17074         (SetOnlyLayout): ditto
17075         (SetLayout): ditto
17076
17077         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17078         with one arg less.
17079
17080         * lastfiles.C: removed most using decl, add std:: where needed
17081
17082         * buffer.C: ws changes
17083
17084         * MenuBackend.C (class compare_format): put into anon namespace
17085         (expand): constify label, names, action, action2
17086         (expand):
17087
17088         * text.C (SingleWidth): constify font
17089         (IsBoundary): constify rtl2
17090         (GetVisibleRow): constify ww
17091
17092         * LaTeX.C (deplog): constify logfile
17093
17094         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17095         start_x, end_x
17096         (workAreaExpose): constify widthChange, heightChange
17097
17098         * lyxrow.C (par): moved
17099         (height): moved
17100         (next): moved
17101         * lyxrow.h: as inlines here
17102
17103         * lyxfont.h (shape): moved from lyxfont.C
17104         (emph): moved from lyxfont.C
17105
17106         * lyxfont.C (LyXFont): use initialization list for all
17107         constructors
17108         (shape): move to lyxfont.h as inline
17109         (emph): move to lyxfont.h as inline
17110
17111
17112 2001-04-04  Juergen Vigna  <jug@sad.it>
17113
17114         * vspace.C: had to include stdio.h for use of sscanf
17115
17116 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17117
17118         * BufferView.h:
17119         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17120         independent of xforms.
17121
17122 2001-04-02  Juergen Vigna  <jug@sad.it>
17123
17124         * spellchecker.C: fixed namespace placing!
17125
17126 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17127
17128         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17129         the LyXParagraph * is 0.
17130
17131 2001-03-29  Juergen Vigna  <jug@sad.it>
17132
17133         * vspace.C: added support for %, c%, p%, l%.
17134         (stringFromUnit): added helper function.
17135         (asLatexString): changed to give right results for the %-values.
17136
17137         * buffer.C: convert the widthp in a width%.
17138
17139 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17140
17141         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17142         figureForm.[Ch].
17143
17144         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17145         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17146
17147         * lyx_cb.[Ch]: see above.
17148
17149         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17150         form1.[Ch].
17151
17152         * form1.[Ch]:
17153         * lyx.[Ch]: replaced by figure_form.[Ch].
17154
17155         * lyx_gui.C:
17156         * lyx_gui_misc.C:
17157         * lyxfunc.C: changed headers associated with above changes.
17158
17159 2001-03-27  Juergen Vigna  <jug@sad.it>
17160
17161         * BufferView_pimpl.C: set the temporary cursor right!
17162
17163 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17164
17165         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17166
17167 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17168
17169         * LString.h: removed "using std::getline"!
17170
17171         * BufferView_pimpl.C (Dispatch): changes due to changes in
17172         InsetInclude::Params.
17173
17174         * buffer.C (tag_name): removed redundant break statements as they were
17175         producing lots of warnings with my compiler.
17176
17177 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17178
17179         * LString.h: add "using std::getline" when using the real <string>.
17180
17181 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17182
17183         * buffer.C: removed bitset usage.
17184         PAR_TAG moved to an anonymous name space.
17185         (tag_name): new funtion, also in the anonymous namespace.
17186         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17187         (makeDocBookFile): clean code. Completed transition from string arrays
17188         to string vectors.
17189         (SimpleDocBookOnePar): code clean.
17190
17191 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17192
17193         * tabular.C: add some comments.
17194
17195 2001-03-22  Juergen Vigna  <jug@sad.it>
17196
17197         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17198         compatibility read a bit and fixed bug with minipage in different
17199         depth.
17200
17201 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17202
17203         * buffer.C (pop_tag): removed.
17204         (push_tag): removed.
17205         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17206         array replaced with vector. Added support for CDATA sections.
17207         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17208         at any nest level.
17209         (makeDocBookFile): XML conformant declaration of CDATA section,
17210         fixed bug related to <emphasis> in the first paragraph char.
17211         (sgmlOpenTag): exclude empty tags.
17212         (sgmlCloseTag): ditto.
17213
17214         * buffer.h (pop_tag): removed.
17215         (push_tag): removed.
17216
17217 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17218
17219         * language.h (Languages): added size_type and size().
17220
17221 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17222
17223         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17224         response on compability reading of minipages. One probliem is that
17225         the old usage of minipages was «flertydig»
17226
17227         * several files here and in subdirs: don't use static at file
17228         scope use anon namespaces instead.
17229
17230 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17231
17232         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17233         LaTeX output. This is necessary for Literate document
17234         processing.
17235
17236 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17237
17238         * buffer.C: insert hfill when needed.
17239
17240         * tabular.C (l_getline): use string::erase, small whitespace change.
17241
17242         * BufferView_pimpl.C: try the anon namespace.
17243         * WorkArea.C: ditto
17244
17245 2001-03-16  Juergen Vigna  <jug@sad.it>
17246
17247         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17248         otherwise it won't open options-dialogs.
17249
17250         * buffer.C: honor pextraWidth(p) on converting minipages.
17251
17252         * tabular.C (l_getline): changed the functions to strip trailing \r.
17253
17254 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17255
17256         * BufferView_pimpl.C:
17257         * minibuffer..C: added "using SigC::slot" declaration.
17258
17259 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17260
17261         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17262
17263         * text2.C: ditto
17264
17265         * text.C: ditto
17266
17267         * paragraph.C: ditto
17268
17269         * lyxtext.h: NO_PEXTRA
17270
17271         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17272
17273         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17274         * ParameterStruct.h: ditto
17275         * ParagraphParameters.h: ditto
17276         * lyxparagraph.h: ditto
17277
17278 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17279
17280         * buffer.C: add compability for minipage alignment.
17281         (latexParagraphs): remove unwanted pextra check.
17282
17283         * several files: remove CXX_WORKING_NAMESPACES
17284
17285         * buffer.C (pop_tag): tie is in namespace boost
17286
17287         * BufferView.h: noncopyable is in namespace boost
17288         * lyxlex.h: ditto
17289         * lyx_main.h: ditto
17290         * lyx_gui.h: ditto
17291         * layout.h: ditto
17292         * lastfiles.h: ditto
17293         * bufferlist.h: ditto
17294         * ShareContainer.h: ditto
17295         * LyXView.h: ditto
17296         * LyXAction.h: ditto
17297         * LaTeX.h: ditto
17298
17299 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17300
17301         * Merging changes from BRANCH_MVC back into HEAD.
17302
17303         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17304
17305 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17306
17307         * BufferView_pimpl.C: change from intl.C
17308
17309         * combox.h:
17310         * combox.C:
17311         * Makefile.am: move combox.*
17312
17313         * form1.h:
17314         * form1.C:
17315         * lyx_gui.C:
17316         * intl.h:
17317         * intl.C: remove dialog (covered by prefs)
17318
17319 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17320
17321         * lyxfunc.C (Dispatch): removed redundant break statement.
17322
17323 2001-03-14  Juergen Vigna  <jug@sad.it>
17324
17325         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17326
17327 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17328
17329         * buffer.C: add hack to fix compability reading of minipages.
17330
17331 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17332
17333         * buffer.C (getLists): Cleanup.
17334
17335 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17336
17337         * lyxfont.C (update): don't honor toggleall on font size.
17338
17339 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17340
17341         * bmtable.c:
17342         * bmtable.h:
17343         * Makefile.am: moved to frontends/xforms/
17344
17345         * lyx_gui_misc.C:
17346         * lyxfunc.C:
17347         * BufferView_pimpl.C: changes for moved mathpanel
17348
17349 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17350
17351         * gettext.h: fix gettext_init() in --disable-nls
17352
17353 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17354
17355         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17356
17357 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17358
17359         * lyx.C:
17360         * lyx.h: strip external form
17361
17362 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17363
17364         * BufferView_pimpl.C: add comment, destroySplash()
17365
17366 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17367
17368         * BufferView_pimpl.C:
17369         * LyXAction.C:
17370         * buffer.C:
17371         * commandtags.h:
17372         * lyxfunc.C: use re-worked insetinclude
17373
17374 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17375
17376         * buffer.C: add using std::stringstream.
17377
17378         * lyx_cb.C: readd using std::ios.
17379
17380         * buffer.C: add using std::map.
17381
17382         * BufferView_pimpl.C: add using std::vector.
17383
17384         * ShareContainer.h: add std:: to swap.
17385
17386         * buffer.h: add some typedefs
17387         * buffer.C (getLists): use them
17388         (getLists): renamed from getTocList.
17389         add a counter for the different float types and use it in the
17390         generated string.
17391         (getLists): use the same counter for the NEW_INSETS and the "non"
17392         NEW_INSETS
17393
17394         * lyx_cb.h: remove unused items, includes, using etc.
17395
17396         * ShareContainer.h: remove some commented code, add more comments
17397         and "documentation".
17398
17399 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17400
17401         * buffer.C (getTocList): make the list also when NEW_INSETS is
17402         defined.
17403
17404         * buffer.h: remove TocType
17405
17406         * buffer.C (getTocList): change to return a map<string,
17407         vector<TocItem> >, implement for dynamic number of list.
17408
17409         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17410         * text2.C (PasteSelection): adjust
17411         * CutAndPaste.C (pasteSelection): adjust
17412
17413         * FloatList.C (FloatList): update from the new_insets branch.
17414         * Floating.[Ch]: ditto
17415         * LaTeXFeatures.C: ditto
17416         * buffer.C: ditto
17417         * lyxlex_pimpl.C: ditto
17418
17419         * paragraph.C (Last): remove when NEW_INSETS is defined.
17420
17421         * other file: changes because of the above.
17422
17423 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17424
17425         * lyxparagraph.h: rename next to next_, previous to previous_,
17426         make them private for NEW_INSETS. Rename Next() to next(),
17427         Previous() to previous().
17428
17429         * other files: changes because of the above.
17430
17431 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17432
17433         * BufferView.h:
17434         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17435         problem.
17436
17437 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17438
17439         * main.C (main): pass lyx_localedir to gettext_init().
17440
17441         * gettext.h: remove locale_init and gettext_init macros
17442
17443         * gettext.C (locale_init): new function
17444         (gettext_init): new function
17445
17446         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17447         setlocale().
17448
17449 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17450
17451         * Moved credits to frontends:
17452         * credits.[Ch]: removed
17453         * credits_form.[Ch]: removed
17454         * lyx_gui_misc.C: remove credits stuff
17455         * Makefile.am:
17456
17457 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17458
17459         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17460
17461         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17462         unneeded destructor.
17463
17464         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17465         a standalone pointer again.
17466
17467         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17468
17469 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17470
17471         * Makefile.am:
17472         * filedlg.h:
17473         * filedlg.C:
17474         * LyXAction.C:
17475         * ToolbarDefaults.C:
17476         * bufferlist.C:
17477         * commandtags.h:
17478         * form1.C:
17479         * form1.h:
17480         * lyx_cb.C:
17481         * lyx_cb.h:
17482         * lyxfunc.h:
17483         * lyxfunc.C:
17484         * BufferView_pimpl.C: use new file dialog in GUII
17485
17486         * lyx_cb.h:
17487         * lyx_cb.C: remove LayoutsCB to Toolbar
17488
17489 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17490
17491         * ShareContainer.h (get): add std:: qualifier
17492
17493 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17494
17495         * ShareContainer.h: define a proper ShareContainer::value_type
17496         type (and use typename to please compaq cxx)
17497
17498 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17499
17500         * lyxparagraph.h: move serveral local vars to
17501         ParameterStruct/ParagraphParameters., use ShareContainer in
17502         FontTable., make vars in FontTable private and add getter and
17503         setter.
17504
17505         * paragraph.C: changes because of the above.
17506
17507         * lyxfont.h: remove copy constructor and copy assignment. (the
17508         default ones is ok), move number inside FontBits. move inlines to
17509         lyxfont.C
17510
17511         * lyxfont.C: add number to initializaton of statics, move several
17512         inlines here. constify several local vars. some whitespace
17513         cleanup. Dont hide outerscope variables.
17514
17515         * Spacing.h: add two new constructors to match the set methods.
17516
17517         * ShareContainer.h: new file, will perhaps be moved to support
17518
17519         * ParameterStruct.h: new file
17520
17521         * ParagraphParameters.h: new file
17522
17523         * ParagraphParameters.C: new file
17524
17525         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17526         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17527
17528         * BufferView_pimpl.C: ParagraphParameter changes.
17529         * buffer.C: Likewise.
17530         * bufferview_funcs.C: Likewise.
17531         * text.C: Likewise.
17532         * text2.C: Likewise.
17533
17534 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17535
17536         * lyxfind.C (LyXReplace): do not redefine default argument in
17537         implementation.
17538         (IsStringInText): ditto
17539         (SearchForward): ditto
17540         (SearchBackward): ditto
17541
17542 2001-03-06  Juergen Vigna  <jug@sad.it>
17543
17544         * lyxfind.C (IsStringInText): put parentes around expressions.
17545
17546 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17547
17548         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17549
17550 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17551
17552         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17553
17554         * stl_string_fwd.h: add comment
17555
17556         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17557
17558         * tabular.h:
17559         * tabular.C: remove unused DocBook methods
17560
17561         * intl.C:
17562         * language.C:
17563         * paragraph.C:
17564         * buffer.C:
17565         killed DO_USE_DEFAULT_LANGUAGE
17566
17567 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17568
17569         * lyx_gui.C: do not include language.h.
17570
17571         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17572         arguments in function implementation.
17573
17574 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17575
17576         * BufferView_pimpl.C: add <ctime>
17577
17578 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17579
17580         * BufferView_pimpl.C: add using std::find_if
17581
17582 2001-02-27  José Matos  <jamatos@fep.up.pt>
17583
17584         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17585         by OnlyPath.
17586
17587 2001-02-11  José Matos  <jamatos@fep.up.pt>
17588
17589         * buffer.C (makeDocBookFile): command styles now have a parameter as
17590         "title" by default.
17591
17592 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17593
17594         * layout_forms.[Ch]: removed
17595         * lyx_cb.[Ch]: out character
17596         * lyx_gui.C: out character
17597         * lyx_gui_misc.C: out character
17598         * bufferview_funcs.C: : out character,
17599         added toggleall as parameter in ToggleAndShow
17600
17601 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17602
17603         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17604
17605         * text2.C (SetCurrentFont): Disable number property at boundary.
17606
17607 2001-02-26  Juergen Vigna  <jug@sad.it>
17608
17609         * lyxfunc.C (getStatus): added a string argument override function so
17610         that this is correctly called from LyXFunc::Dispatch if it contains a
17611         do_not_use_argument which is used!
17612         (Dispatch): added check for "custom" export and call appropriate func.
17613
17614 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17615
17616         * lyxrc.C: Add language_command_local, language_use_babel and
17617         language_global_options.
17618
17619         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17620
17621         * buffer.C (makeLaTeXFile): Use language_use_babel and
17622         language_global_options.
17623
17624 2001-02-23  Juergen Vigna  <jug@sad.it>
17625
17626         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17627         which works with LyXText and putted it inside BufferView. Here now we
17628         only call for that part the BufferView::Dispatch() function.
17629
17630         * BufferView.C (Dispatch): added.
17631
17632         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17633         functions which needs to use a LyXText over from LyXFunc.
17634         (MenuInsertLyXFile): added
17635         (getInsetByCode): added
17636         (moveCursorUpdate): added
17637         (static TEXT): added
17638
17639 2001-02-22  Juergen Vigna  <jug@sad.it>
17640
17641         * BufferView_pimpl.C (update): call a status update to see if LyXText
17642         needs it.
17643
17644 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17645
17646         * vc-backend.C (revert): implement for CVS
17647         (getLog): implement for CVS
17648
17649 2001-02-20  Juergen Vigna  <jug@sad.it>
17650
17651         * text2.C (ClearSelection): added BufferView param for inset_owner call
17652
17653         * lyxfunc.C (TEXT): added this function and use it instead of
17654         directly owner->view()-text of getLyXText().
17655
17656 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17657
17658         * src/layout_forms.C: out preamble
17659         * src/layout_forms.h: out preamble
17660         * src/lyx_cb.C: out preamble
17661         * src/lyx_cb.h: out preamble
17662         * src/lyx_gui.C: out preamble
17663         * src/lyx_gui_misc.C: out preamble
17664         * src/lyxfunc.C: connect with guii preamble
17665
17666 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17667
17668         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17669
17670 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17671
17672         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17673         whether to run bibtex.
17674
17675 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17676
17677         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17678
17679 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17680
17681         * Makefile.am (lyx_SOURCES): removed bibforms.h
17682
17683         * vspace.h: doxygen
17684
17685         * text.C (GetVisibleRow): make several local vars const
17686
17687         * tabular.C: small cleanup.
17688
17689         * lyxserver.C (callback): use compare instead of strncmp
17690
17691         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17692         inlines to after class or to paragraph.C
17693
17694         * lyxfont.h: remove friend operator!=
17695
17696         * converter.h: move friend bool operator< to non friend and after
17697         class def.
17698
17699         * combox.h: small cleanup
17700
17701         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17702         to inlines after class def.
17703
17704         * buffer.C (pop_tag): use string operations instead of strcmp
17705
17706         * bmtable.c: doxygen, small cleanup
17707
17708         * LaTeX.h: remove friend operator==
17709
17710 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17711
17712         * screen.C:
17713         * lyxrc.[Ch]:
17714         * lyxfunc.C:
17715         * lyxfont.[Ch]:
17716         * lyx_cb.C:
17717         * intl.[Ch]:
17718         * commandtags.h:
17719         * buffer.C:
17720         * WorkArea.[Ch]:
17721         * LyXAction.C:
17722         * BufferView_pimpl.C:
17723         * BufferView.[Ch]: remove cruft
17724
17725 2001-02-14  Juergen Vigna  <jug@sad.it>
17726
17727         * lyxfunc.C: removed #if 0 unused code
17728
17729         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17730
17731         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17732
17733         * text2.C (SetSelection): added a BufferView * parameter
17734
17735 2001-02-13  Juergen Vigna  <jug@sad.it>
17736
17737         * lyxfunc.C (Dispatch): fixed protected blank problem.
17738         * BufferView2.C (protectedBlank): added LyxText * parameter.
17739
17740         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17741         (AppendColumn): same as above for column_info.
17742
17743         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17744         (moveCursorUpdate): use a LyXText param for support of InsetText.
17745
17746         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17747         (tripleClick): ditto
17748
17749         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17750
17751         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17752
17753         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17754
17755         * text2.C (SetSelection): set correct update status if inset_owner
17756         (ToggleFree): ditto
17757
17758 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17759
17760         * tabular.C: remove some commented code.
17761
17762 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17763
17764         * BufferView_pimpl.C: call hideSplash()
17765
17766         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17767
17768         * include_form.h:
17769         * bibforms.h: remove
17770
17771         * lyxfunc.C:
17772         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17773           add LFUN_CHILD_CREATE
17774
17775         * counters.h: fix tiny typo
17776
17777         * lyx_cb.C:
17778         * lyx.h:
17779         * lyx_gui.C:
17780         * lyx.C: move splash to frontends/xforms/
17781
17782         * lyx_gui_misc.C: move Include and Bibform to frontends
17783
17784         * lyxvc.h: clarify comment
17785
17786         * vspace.C: tiny housekeeping
17787
17788 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17789
17790         * text.C (PrepareToPrint): RTL Fix.
17791
17792         * paragraph.C (GetUChar): New method.
17793         (String):  Use GetUChar.
17794
17795         * buffer.C (asciiParagraph): Use GetUChar.
17796
17797 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17798
17799         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17800
17801 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17802
17803         * buffer.h:
17804         * buffer.C: rename to getLogName(), handle
17805           build log / latex log nicely
17806
17807 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17808
17809         * MenuBackend.C:
17810         * MenuBackend.h: remove support for reference menuitem type.
17811
17812 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17813
17814         * BufferView_pimpl.C: housekeeping
17815         * BufferView_pimpl.h:
17816         * LyXView.h:
17817         * Makefile.am:
17818         * Timeout.C:
17819         * Timeout.h:
17820         * minibuffer.h: move Timeout GUI-I
17821
17822 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17823
17824         * lyxrc.C (read): Update converters data-structures.
17825
17826 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17827
17828         * LaTeX.h (operator!=): add operator != for Aux_Info
17829
17830 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17831
17832         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17833
17834         * LaTeXLog.C: deleted, useful code moved to Buffer
17835
17836         * buffer.h:
17837         * buffer.C: new function getLatexLogName()
17838
17839         * lyx_gui_misc.C:
17840         * lyx_gui.C:
17841         * lyxvc.C:
17842         * lyxvc.h:
17843         * lyxfunc.C: use frontends for LaTeX and VC logs
17844
17845 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17846
17847         * LaTeX.h: yet another std:: that Allan forgot.
17848
17849         * Variables.C (set): renamed from isset(), because this clashes
17850         with some HP-UX macros (grr).
17851
17852 2001-02-06  Allan Rae  <rae@lyx.org>
17853
17854         * LaTeX.h: Another bug fix.  Missing std:: this time.
17855
17856 2001-02-04  Allan Rae  <rae@lyx.org>
17857
17858         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17859         floats problem. I've left it commented out because it's not quite
17860         correct.  It should also test that the current object is a table or
17861         figure inset.  But I haven't gotten around to figuring out how to do
17862         that.  I *think* it'll be something like: "table" == inset.type()
17863
17864         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17865         bool.
17866
17867 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17868
17869         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17870         all the citation/databases/styles in the auxilary file.
17871         (run): Rerun latex if there was a babel language error.
17872
17873 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17874
17875         * text.C (Backspace): Preserve the font when changing newline char
17876         with a space.
17877         (BreakParagraph): If the cursor is before a space, delete the space.
17878
17879         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17880
17881 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17882
17883         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17884         new argument (code).
17885         (ChangeCitationsIfUnique): New method.
17886
17887         * paragraph.C (GetPositionOfInset): Handle bibkey.
17888
17889 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17890
17891         * BufferView_pimpl.h: change type of Position::par_pos to
17892         LyXParagraph::size_type.
17893
17894 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17895
17896         * BufferView_pimpl.C (savePosition, restorePosition): Write
17897         messages to minibuffer.
17898
17899 2001-01-28  José Matos  <jamatos@fep.up.pt>
17900
17901         * buffer.C (makeDocBookFile): adds support for document language.
17902         A silly restriction on the name of LatexCommand types where removed.
17903         Added support for CDATA sections, allows to chars unescaped, used
17904         among others in code, to avoid escape < and >.
17905
17906 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17907
17908         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17909         saved positions instrad of a stack. Furthermore, a position is
17910         stored using paragraph id/paragraph position.
17911
17912         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17913         Remove LFUN_REF_BACK.
17914
17915 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17916
17917         * converter.C (dvipdfm_options): New method.
17918
17919 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17920
17921         * vspace.C (isValidLength): Fix for empty input string.
17922
17923 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17924
17925         * LyXAction.C (init): change description of LFUN_FIGURE to
17926         "Insert Graphics"
17927
17928 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17929
17930         * LaTeX.C: add using directive
17931
17932 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17933
17934         * MenuBackend.C (expand): Fix the sorting of the formats.
17935
17936 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17937
17938         * lyx_main.C: tiny error message fix
17939
17940 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17941
17942         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17943         calling fl_initialize(). This fixes the problem with ',' as
17944         decimal separator in text files.
17945
17946 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17947
17948         * trans.C (process): Fix the keymap bug.
17949
17950 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17951
17952         * LaTeX.C (scanAuxFiles): New method. Provides support for
17953         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17954         (scanLogFile) Scan for "run BibTeX" messages.
17955
17956         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17957         OT1 font encoding. Also, load the aecompl package if the ae
17958         package is loaded.
17959
17960         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17961
17962 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17963
17964         * texrow.C (increasePos): turn two error messages into debug
17965         messages.
17966
17967 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17968
17969         * LaTeX.C (scanAux): Handle the \@input macro.
17970         (runBibTeX): Use scanAux().
17971
17972         * language.C (latex_options_): New field.
17973
17974         * LaTeXFeatures.C (getMacros): Add language macros.
17975
17976         * buffer.C (makeLaTeXFile): Small fix.
17977
17978 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17979
17980         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17981
17982         * text2.C: add a using directive.
17983
17984 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17985
17986         * BufferView2.C:
17987         * lyx_gui_misc.h:
17988         * lyxfr1.C:
17989         * lyxfunc.C: kill LyXBell.
17990
17991 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17992
17993         * text.C (IsBoundary): Remove the error message
17994
17995         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17996
17997         * lyxrc.C (setDefaults): Correct initialization value for
17998         font_norm_type.
17999
18000 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18001
18002         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18003         gotoError().
18004
18005         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18006         and GotoNextNote().
18007
18008         * src/LyXAction.C: Added reference-next.
18009
18010         * text.C (InsertChar): Use contains instead of strchr.
18011
18012         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18013
18014 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18015
18016         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18017         alignment commands (when needed).
18018
18019         * text.C (InsertChar): Add ':' to number separator chars.