]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
c364b1591a5109f476d20a144f6d55847af415e4
[lyx.git] / src / ChangeLog
1 2005-07-17  Juergen Vigna  <jug@lyx.org>
2
3         * text.C (Delete, backspace): fixed so that paragraph with the
4         same layout can be merged by Delete/Backspace.
5
6 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
7
8         * text.C (readParToken): fix spelling.
9
10 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
11
12         * text2.C: fix counter update for DEPM problem reported by
13         Georg Baum
14
15 2005-07-17  Juergen Vigna  <jug@lyx.org>
16
17         * BufferView_pimpl.C (setBuffer): save/restore the
18         cursor/selection when switching buffers
19
20         * buffer.h: 
21         * buffer.C (saveCursor): add saveDocumentIterators to save the
22         cursor when switching buffer.
23
24 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
25
26         * debug.C: fix typo
27         * buffer.C: clarify message
28         
29 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
30
31         * dociterator.C (DocIterator): fix initialization order
32
33 2005-07-17  Juergen Vigna  <jug@lyx.org>
34
35         * text2.C (cursorHome): 
36         * text.C (drawSelection, cursorX): 
37         * dociterator.C (textRow): add boundary to getRow() call
38
39         * paragraph.C (getRow): implementation of below
40
41         * paragraph.h: add parameter boundary for getRow() function
42
43 2005-07-18  José Matos  <jamatos@fc.up.pt>
44
45         * buffer.C:
46         * bufferparams.[Ch]:
47         * tex-strings.[Ch]: new file format, remove support for a4.sty,
48         a4wide.sty and a4widemargins.
49
50 2005-07-17  Juergen Vigna  <jug@lyx.org>
51
52         * text2.C (cursorLeft): fix one of error
53
54 2005-07-17  Juergen Vigna  <jug@lyx.org>
55
56         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
57                    cursorEnd):
58         more fixes for boundary handling
59
60         * text3.C (dispatch): don't reset cursor if boundary has changed
61         on cursor movement.
62
63 2005-07-16  Juergen Vigna  <jug@lyx.org>
64
65         * text2.C (getColumnNearX): hopefully got it right now,
66         check if we are on column 0 for special case.
67
68 2005-07-16  Juergen Vigna  <jug@lyx.org>
69
70         * text2.C (getColumnNearX): handle special case Newline Inset
71
72         * text.C (singleWidth): Just remove bogus check
73
74 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
75
76         * funcrequest.C (split): avoid reading uninitialized char c
77
78 2005-07-16  José Matos  <jamatos@fc.up.pt>
79
80         * buffer.C:
81         * converter.C:
82         * lyxrc.C:
83         * paper.h:
84         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
85         single papersize variable.
86
87 2005-07-16  Juergen Vigna  <jug@lyx.org>
88
89         * text3.C (dispatch): honor boundary when checking if a cursor
90         movement has been done
91
92         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
93         (setCursor, setCursorIntern): fix cursor movement with boundary
94
95 2005-07-16  Juergen Vigna  <jug@lyx.org>
96
97         * text.C (currentState): output the actual Boundary
98
99 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
100
101         * factory.C (createInset): fix bad logic for tabular creation
102
103 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
104
105         * lyx_main.C (init): change some reLyX reference to tex2lyx
106
107 2005-07-16  Juergen Vigna  <jug@lyx.org>
108
109         * dociterator.C (DocIterator): initialize boundary
110
111 2005-07-16  Juergen Vigna  <jug@lyx.org>
112
113         * text2.C (getColumnNearX): Consider rows without trailing blank.  
114
115 2005-07-16  André Pönitz  <poenitz@gmx.net>
116
117         * lyxfont.h: Change order of declarations to give the compiler
118         a better chance to inline things
119
120         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
121         questions on unsaved docs for better scritability
122
123 2005-07-16  André Pönitz  <poenitz@gmx.net>
124
125         * paragraph.h (getChar): remove asserts as the same kind of security
126         can be achieved by using a suitable standard library implementation
127         and the function was in the critical path (25.9% in profiler)
128
129 2005-07-16  Juergen Vigna  <jug@lyx.org>
130
131         * cursor.C (bruteFind2):
132         * bufferview_funcs.C (coordOffset): 
133         * text.C (cursorX,cursorY): Handle cursor position after last char
134         in row before a inset which uses a whole row.
135
136 2005-07-15  José Matos <jamatos@lyx.org>
137
138         * output_plaintext.[Ch] (writeFileAscii): control reference title
139         printing.
140         (asciiParagraph): noparbreak was already deal and was incorrectly
141         used.
142
143 2005-07-15  Juergen Vigna <jug@lyx.org>
144
145         * lyxfunc.C (dispatch): save and restore the cursor after a
146         textclass switch.
147
148 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
149
150         * text.C (backspace): bug 806 for empty keepempty paragraphs we
151         change the layout to default before letting DEPM do its thing.
152
153         * paragraph_funcs.C (breakParagraph): dont reset the layout on
154         keepEmpty paragraphs
155
156         * text.C (setCursorFromCoordinates): add a debug statement
157
158         * text2.C (getColumnNearX): bug 1825 make sure that we don't
159         return a pos that is not on the row
160
161         * output_latex.C (TeXDeeper): get rid of potential dereferencing
162         of past the end iterator
163
164 2005-07-14  André Pönitz  <poenitz@gmx.net>
165
166         * undo.C (recordUndoFullBuffer): implement undo for
167         textclass switches
168
169 2005-07-14  André Pönitz  <poenitz@gmx.net>
170
171         * cursor.C (setSelection): open insets when selection is set there
172         to avoid crashs with cold coord cache
173
174 2005-07-14  André Pönitz  <poenitz@gmx.net>
175
176         * trans_mgr.C (insert): move cursor to the right after inserting
177         a char.
178
179 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
180
181         * BufferView_pimpl.C (update): dampen some of the debug blabbering
182         * factory.C (readInset): ditto
183         * text.C, text2.C: ditto
184
185 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
186
187         * buffer.C: format incremented to 242. There is no file format per
188         se, but the "frenchb" language has been removed from lib/language
189         and has to be translated to "french" by lyx2lyx.
190
191 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
192
193         * cursor_slice.h, dociterator.h: add some documentation
194         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
195
196 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
197
198         * text.C (leftMargin): do not add identation to display() style
199         insets, because they are always centered (bug 1293).
200
201 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
202
203         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
204         formatted_time methods in support/lyxtime.
205
206 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
207
208         * toc.[Ch]: new method getGuiName, which is used by the frontends 
209         to set the toc combo (fixes bug 1870). Make TOC string translatable.
210
211 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
212
213         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
214         StableDocIterator const &)
215         * undo.C (recordUndo): use the above instead of cell.size() comparison
216         (fixes bug 1808; instructed by André).
217
218 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
219
220         * cursor_slice.h: 
221         * dociterator.h: Fix the assert when copying rows/cols in math
222
223 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
224
225         * BufferView_pimpl.C:
226         * LyXAction.C:
227         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
228
229         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
230         (findInset): new functions, refactored from goto Inset that return 
231         the position of a certain inset without setting the buffer's cursor
232         (by Jean-Marc); 
233         (gotoInset): rewrite to call findInset and then set the cursor
234         (by Jean-Marc).
235
236 2005-06-16  Angus Leeming  <leeming@lyx.org>
237
238         * lyxrc.C (output, read): wrap all input and output of paths with
239         calls to os::internal_path and os::external_path, respectively.
240         (output): wrap bind_file inside quotes.
241
242         * format.C (view): enable the viewer to use the '$$s' placeholder.
243
244 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
245
246         * LColor.[Ch] (getFromLaTeXName): new
247
248 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
249
250         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
251
252 2005-06-14  Angus Leeming  <leeming@lyx.org>
253
254         * lyx_main.C (init): ensure that the LyX binary dir is the first
255         element in the PATH on non-POSIX builds.
256
257 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
258
259         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
260
261 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * rowpainter.C (paintInset, paintHebrewComposeChar)
264         (paintArabicComposeChar, paintChars): add a LyXFont argument.
265         (paintChars): use getFontSpan to reduce calls to getFont to a
266         minimum; use Paragraph::lookupChange instead of isXXXText.
267         (paintForeignMark): rename LyXFont argument.
268         (paintFromPos): pass a LyXFont object to the various paintXXX
269         methods.
270
271         * FontIterator.C (FontIterator, operator++): use
272         Paragraph::getFontSpan
273
274         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
275         version that returns the font span as a pair.
276
277 2005-06-09  Angus Leeming  <leeming@lyx.org>
278
279         * converter.C (convert): Don't forget "outfile = real_outfile" as
280         the final step in a conversion where the input and output file names
281         are the same. Otherwise, future conversion steps won't work...
282
283 2005-06-09  Angus Leeming  <leeming@lyx.org>
284
285         * lyxsocket.C: remove stub code as it isn't needed by
286         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
287
288 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
289
290         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
291         effectively disabled -x
292
293 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
294
295         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
296         when it actually makes sense.
297
298 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
299
300         * BufferView_pimpl.C: revert to showCursor in connection with
301         Lars's front-end stack
302
303 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
304
305         * text.C (redoParagraph): move cursor right after a bibitem
306         has been inserted.
307
308         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
309
310 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
311
312         * buffer_funcs.C (bufferErrors): fix computation of the end of an
313         error range.
314
315 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
316
317         * BufferView.[Ch] (update):
318         * BufferView_pimpl.[Ch] (update, metrics):
319         * dimension.h (operator==):
320         * lyxfunc.C (dispatch):
321         * metricsinfo.h (ViewMetricsInfo):
322         * rowpainter.C (paintText):
323         * lyxtext.h:
324         * text.C (redoParagraph):
325         * text3.C (dispatch): Make LyX only repaint current paragraph in
326         case of character insert --> speedup. Also fix cursor draw
327         artifacts
328
329 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
330
331         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
332         avoid a crash (bug 1891)
333
334 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
335
336         Fix bug 1892:
337
338         * text2.C (getStringToIndex): constify cur argument.
339
340         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
341         argument has been given
342         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
343         try to invoke LFUN_INSET_APPLY).
344
345         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
346         if no inset was created by doInsertInset
347         (doInsertInset): return true if an inset has been inserted.
348
349 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
350
351         * vspace.C (asGUIName): new method. A version of the space
352         suitable for showing on screen.
353
354 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
355
356         * MenuBackend.C:
357         * lyxrc.C: rename "ASCII" to "Plain Text"
358
359 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
360
361         * buffer_funcs.C (expandLabel): take a Buffer as argument;
362         translate the labelstring.
363         (setCounter): translate labelstring as needed.
364
365         * output_docbook.C (makeCommand): fix expandLabel invokation
366
367 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
368
369         * BufferView.C: fix dialog title
370
371 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
372
373         * lyx_main.C (priv_exec): fix logic error with help from Angus
374         * lyx_main.C (parse_execute): set is_gui = false and remove now
375         obsolete comment about a segfault
376
377 2005-05-18  Angus Leeming  <leeming@lyx.org>
378
379         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
380
381 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
382
383         * tabular.[hC]: added setCellInset to fix tabular paste.
384
385 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
386
387         * buffer.C (save): check if destination is writable before trying
388         to copy a file
389
390 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
391
392         * BufferView_pimpl.C (update): fix processEvents -caused update
393         recursion bug
394
395 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
396
397         * buffer_funcs.C (setCounter): fix test for numbering of
398         environments.
399
400         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
401         depth correctly; use optional argument when it exists
402
403         * lyxtextclass.C: remove unused MaxCounterTags enum
404         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
405         (max_toclevel, min_toclevel): new methods.
406
407         * MenuBackend.C (expandToc2): fix case where depth is smaller than
408         the smallest depth in toc.
409
410         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
411         layouts that should not appear in a table of contents.
412
413 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
414
415         * cursor.h (undispatched, noUpdate): add comments from André
416
417 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
418
419         * lfuns.h:
420         * LyXAction.C:
421         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
422
423 2005-05-07  André Pönitz  <poenitz@gmx.net>
424
425         * cursor.[Ch] (leaveInset): new function
426
427 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
428
429         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
430
431 2005-05-04  Angus Leeming  <leeming@lyx.org>
432
433         * lyxfunc.C (getStatus): disable the spell checker dialog if
434         none of USE_[AIP]SPELL are defined.
435
436 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
437
438         * tabular.C (setWidthOfCell): remove obsolete comment
439
440 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
441
442         * paragraph.C (bibitem):
443         * buffer_funcs.C (setCounter):
444         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
445
446 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
447
448         * text3.C (getStatus): immediately return after setOnOff
449
450         * rowpainter.C: fix drawing of appendix start
451
452 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
453
454         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
455         SwitchBetweenClasses and remove the unused return value.
456         Handle character styles, too
457
458 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
459
460         * factory.C (createInset): handle undefined character styles
461
462 2005-05-02  Angus Leeming  <leeming@lyx.org>
463
464         * buffer.C: protect the #include of utime.h with a preprocessor
465         guard.
466
467 2005-05-02  Angus Leeming  <leeming@lyx.org>
468
469         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
470         function so that auto-saving works, albeit in a blocking manner.
471
472         * Makefile.am: make compilation of the client sub directory, of
473         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
474         on conditionals set at configure time.
475
476         * SpellBase.[Ch]: no longer an abstract base class. Instead,
477         it can be compiled in its own right but has no-op functionality.
478
479         * aspell.C, pspell.C: remove preprocessor guards. The files should
480         be compiled only if the necessary functionality exists.
481
482         * lyxserver.C, lyxsocket.C: disable on Windows.
483
484 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
485
486         * text.C (leftMargin): Fix the parindent use bug (1764)
487         by dirty trick
488
489 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
490
491         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
492         argument.
493
494 2005-04-25  Angus Leeming  <leeming@lyx.org>
495
496         * Bidi.[Ch]:
497         * coordcache.[Ch]:
498         * ispell.C:
499         * lyxserver.C:
500         * mover.C:
501         * pch.h:
502         include <config.h> in .C files, not .h ones.
503         add licence blurb.
504         protect headers inside preprocessor guards.
505
506 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
507
508         * FuncStatus.h (StatusCodes): document
509
510 2005-04-21  André Pönitz  <poenitz@gmx.net>
511
512         * FuncStatus.h (enabled, onoff): document
513
514 2005-04-19  Angus Leeming  <leeming@lyx.org>
515
516         * BufferView_pimpl.C (cursorToggle): no longer test whether
517         any child processes have been reaped before calling
518         handleCompletedProcesses().
519
520 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
521
522         * text3.C (dispatch): fix, finally fix, the language problem in
523         new lyxtexts, without disabling on-the-fly font changes (Helge's
524         bug report)
525
526 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
527
528         * text3.C (dispatch): set cursor on double/triple click events
529         (bug 1811)
530
531 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
532
533         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
534         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
535
536         * rowpainter.C (paintFirst): simplify the code a little bit. In
537         particular, remove the test for secnumdepth.
538         * text.C (setHeightOfRow): only allocate space for chapter number
539         when updateCounters provided an actual label, instead of looking
540         at secnumdepth directly.
541
542         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
543
544         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
545         paragraphs when secnumdepth is large enough or, for environments,
546         when they are not the first in a sequence.
547
548 2005-04-17  Angus Leeming  <leeming@lyx.org>
549
550         * buffer.C (makeLaTeXFile): replace code to manipulate a path
551         containing space and '~' characters with a call to latex_path().
552
553 2005-04-17  Angus Leeming  <leeming@lyx.org>
554
555         * converter.C (convert): protect all args of convertDefault.sh
556         script with quotes.
557
558 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
559
560         * text3.C (dispatch): change the layout to "Caption" after inserting
561         a float.
562
563 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
564
565         * text3.C (dispatch): fix language problem in newly created
566         textinsets (and main text) in non-english docs
567
568 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
569
570         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
571         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
572         * text3.C (getStatus): disable LFUN_INSET_MODIFY
573
574 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
575
576         * lyxtext.h:
577         * text.C (metrics):
578         * text2.C (getFont):
579         * rowpainter.C (getFont): Fix metrics bug introduced by inset
580         fonts fix
581
582 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
583
584         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
585         output of \item arguments without trailing text.
586
587 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
588
589         * FontIterator.C (operator*): avoid a copy of the font.
590
591 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
592
593         * rowpainter.C (getFont): fix language bug from previous fix
594
595 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
596
597         * rowpainter.C (RowPainter, getFont): fix font inside inset
598         (bugs 1766, 1809)
599
600 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
601
602         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
603         preventing inserted font, deco, delim insets jumping to start of
604         surrounding inset.
605
606 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
607
608         * lyxfunc.C (dispatch): translate message before sending it to the
609         minibuffer.
610
611 2005-03-29  Angus Leeming  <leeming@lyx.org>
612
613         * lyx_main.C (priv_exec): call os::internal_path on each file passed
614         to LyX on the command line.
615
616 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
617
618         * vc-backend.C: use QuoteName to protect file names wherever
619         necessary.
620
621 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
622
623         * buffer.[Ch]:
624         * BranchList.h: fix bugs 1844,1845: document settings don't
625         stick
626
627 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * lyxrc.C (setDefaults, read, output, getDescription): add support
630         for tex_allows_spaces.
631
632         * exporter.C (Export): allows files in directory containing spaces
633         if tex_allows_spaces is true.
634
635         * buffer.C (makeLaTeXFile): if the document path contains spaces,
636         output it in double quotes.
637
638 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
639
640         * rowpainter.C: use default text height for drawing change tracker
641         strikeout lines.
642
643 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
644
645         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
646
647 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
648
649         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
650         directory is missing.
651
652 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
653
654         * text2.C: fixed the fix, extended to other case.
655
656 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
657
658         * text2.C: fix for cursor up/down stuck in math [bug 1792]
659
660 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
661
662         * text2.C (cursorUp): get rid of a crash
663         * text.C (x2pos): add an assert
664
665 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
666
667         * lyxfunc.C (getStatus): fix warning when assertions are disabled
668
669         * text3.C:
670         * lyxfunc.C:
671         * dociterator.C: include <boost/current_function.hpp>, which is
672         needed when assertions are disabled.
673
674 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
675
676         * text2.C: fix for stuck cursor when traversing two
677         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
678
679 2005-02-25  Andreas Vox  <avox@arcor.de>
680
681         * output_docbook.C (makeParagraph): suppress trailing newline
682         after a run of paragraphs
683
684 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
685
686         * paragraph.C: fix for confused change tracker when pasting
687         text that begins with a lineseparator. [bug 1827]
688         (setChange(0, Change::INSERTED);)
689
690         * paragraph_funcs.C: fix for lost changes on triple-paste
691         in change tracking mode [bug 1827] (par.setChange()).
692
693 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
694
695         * text2.C (updateCounters, setCounter, expandLabel): move to
696         buffer_funcs.
697
698         * buffer_funcs.C (updateCounters): turn into a free standing
699         function and add a buffer parameter. Remove dead code for tracking
700         labelstring change.
701         (setCounter): change into a free-standing function which gets a
702         dociterator as argument. Use this iterator to fix captions in a
703         simple way. When no float is found above the caption, use the
704         labelstring of the caption layout as default.
705
706         * text.C (breakParagraph, backspace):
707         * text2.C (init, setLayout, changeDepth):
708         * text3.C (dispatch):
709         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
710         updateCounters.
711
712         * dociterator.C (forwardPar): make it much faster by calling
713         forwardPos() only when really necessary.
714
715         * output_docbook.C (makeCommand): adapt to expandLabel move.
716
717         * cursor.C: remove unused variable
718
719 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
720
721         * paragraph_funcs.C: fix crash when pasting insets in change
722         tracking mode [bug 1277] (honour change type in moveItem).
723
724 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
725
726         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
727
728 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
729
730         * BufferView.C (setCursor): change to use a DocIterator.
731         (gotoLabel): use BufferView::setCursor (other part of bug 781).
732         (putSelectionAt): adapt to BufferView::setCursor change.
733
734         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
735         moved here from LyXText and rewritten to use proper cursor
736         methods. Fixes bug 1787, 616 and 835.
737
738         * BufferView_pimpl.C (restorePosition): set the cursor correctly
739         when inside an inset (part of bug 781).
740         (dispatch): adapt to change of BufferView::setCursor.
741         (getStatus, dispatch): handle LFUN_GOTOERROR,
742         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
743
744         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
745         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
746         * text3.C (gotoNextInset, gotoInset): removed.
747
748 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
749
750         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
751
752 2005-02-15  Angus Leeming  <leeming@lyx.org>
753
754         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
755         can be used meaningfully in a comparison.
756
757 2005-02-13  André Pönitz  <poenitz@gmx.net>
758
759         * bufferview_funcs.C (coordOffset): improve cursor drawing
760
761 2005-02-13  André Pönitz  <poenitz@gmx.net>
762
763         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
764         * Cursor.C (dispatch): use fixIfBroken
765         * lyxfunc.C (getStatus): use fixIfBroken
766
767 2005-02-15  Angus Leeming  <leeming@lyx.org>
768
769         * lyx_main.C (error_handler):
770         * lyxfunc.C:
771         * lyxrc.C (setDefaults):
772         s/GetEnv/getEnv/.
773         #include "environment.h".
774
775         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
776
777 2005-02-15  Angus Leeming  <leeming@lyx.org>
778
779         * lyxserver.C (startPipe): squash MSVC warning "local variable
780         'fd' used without having been initialized".
781
782 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
783
784         * BufferView_pimpl.C: revert accidental commit.
785
786 2005-02-14  André Pönitz  <poenitz@gmx.net>
787
788         * dociterator.[Ch]: new member forwardPosNoDescent(),
789         which doesn't enter nested insets.
790         * text2.C (setFont): use forwardPosNoDescent() instead
791         of ForwardPos() (fixes crash on font change).
792
793 2005-02-13  Angus Leeming  <leeming@lyx.org>
794
795         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
796         only if lyxrc.path_prefix is not empty.
797
798 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
799
800         * bufferparams.C (readGraphicsDriver): prevent crash
801
802 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
803
804         * text2.C (setCounter): check for inInset() == 0
805
806 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
807
808         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
809         but use update() to get correct screen display; use convert
810         instead of istringstream.
811         (getStatus): handle LFUN_GOTO_PARAGRAPH
812
813         * lyxfunc.C (dispatch, getStatus): do not handle
814         LFUN_GOTO_PARAGRAPH here.
815
816 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
817
818         * text3.C (dispatch): size() -> depth()
819
820         * text2.C: remove some debug output
821
822         * paragraph.C: ws changes only
823
824         * lyxfunc.C (getStatus): size() -> depth()
825
826         * dociterator.h (clear, push_back, pop_back, internalData,
827         operator[], resize, empty): new functions
828         Make StableDocIterator and operator== be friends. Don't inherit
829         from std::vector use a privat class variable slices_ instead.
830         Modify to fit.
831
832         * dociterator.C: update because of not inheriting from std::vector
833         anymore. Call explictly to slices_ instead. Use depth() instead of
834         size() and top() instead of back()
835
836         * cursor.C: chagne size() -> depth and back() -> top(). Also
837         remove some direct operator[](i) calls in favour of foo[i]
838         (getFont): remove some dead code
839
840         * bufferview_funcs.C (coordOffset): size() -> depth()
841
842         * buffer.C: ws changes only
843
844         * CutAndPaste.C (eraseSelection): back() -> top()
845
846         * BufferView_pimpl.C (selectionRequested): back() -> top()
847
848         * BufferView.C (setCursor): size() -> depth()
849
850 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
851
852         * text3.C (cursorPrevious): return true if depm changed something
853         (cursorNext): ditto
854         (dispatch): rename sl to oldTopSlice, remove moving use the new
855         NoUpdate func attrib instead. Make sure that needsUpdate is set
856         for function that have NoUpdate, but where depm might have changed
857         the buffer anyway.
858
859         * text2.C (cursorLeft): make us return true if depm changed
860         something
861         (cursorRight): ditto
862         (cursorUpParagraph): ditto
863         (curosrDownParagraph): ditto
864         (cursorUp, cursorDown): ditto, make sure to read comments in code
865         (deleteEmptyParagraphMechanism): remove an assert, also return
866         true if just a single char was deleted.
867
868         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
869         cursor that we modify, to avoid modifying an active cursor before
870         we call setCursor. This allows depm to run. Also return true if
871         depm deleted something.
872
873         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
874         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
875         cursorDownParagraph, cursorPrevious and cursorNext, return true if
876         something was changed in the buffer because of them (ie. depm run)
877
878         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
879         debug messages. Make update by default be false. Make sure that
880         the result of update is retained throught several calls down to
881         dispatch.
882
883         * LyXAction.h: add a new func_attrib: NoUpdate
884
885         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
886         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
887         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
888         and LFUN_WORDLEFT
889         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
890
891 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
892
893         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
894         bv_->owner(), bv_->buffer() by direct references to the private
895         members.
896         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
897         (getStatus): isSavedPosition() is in BufferView::Pimpl.
898         (fitCursor): center() is in BufferView::Pimpl.
899         (getStatus, trackChanges, dispatch): no need for a temporary buf
900         variable
901         (fitCursor, workAreaDispatch): use workarea().workheight()
902
903 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
904
905         * CutAndPaste.C (pasteSelectionHelper): fix a crash
906
907 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
908
909         * buffer.C: format up to 241.
910         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
911         break if pasting into ERT
912         * lyxfunc.C (getStatus): suppress mathpanel and
913         LFUN_DIALOG_SHOW_NEW_INSET in ERT
914
915 2005-02-01  Angus Leeming  <leeming@lyx.org>
916
917         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
918
919 2005-02-01  Angus Leeming  <leeming@lyx.org>
920
921         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
922         calling fs::is_directory().
923
924 2005-01-31  Angus Leeming  <leeming@lyx.org>
925
926         * lyx_main.C (priv_exec): specify explicitly the relative location
927         of the top level build directory when run in-place.
928
929 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
930
931         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
932         LyXText containing the cursor, not the top-level one.
933
934         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
935         true.
936         (insertStringAsLines): rename par to pit; use temporary variable
937         par to hold a Paragraph; do not store par.layout() in a variable,
938         since the pointer may die when breaking paragraphs; pass pars to
939         breakParagraph() instead of Buffer::paragraphs().
940
941 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
942
943         * lyxlex_pimpl.h: #include <fstream>.
944
945         * BufferView.[Ch] (getLyXText): add a const version.
946
947         * BufferView_pimpl.C: add debug aids.
948
949         * RowList_fwd.h:
950         * buffer.h:
951         * lyxrow.h:
952         * paragraph_funcs.h: add commentary explaining what the class does.
953
954
955         * coordcache.[Ch]: add lots of commentary.
956         (startUpdating, doneUpdating): debug aids.
957         (arrays, insets, parPos, getParPos): accessors to private data.
958
959         * cursor_slice.[Ch] (text): add a const version.
960         * dociterator.[Ch] (text, innerText): add const versions.
961
962         * lyxtext.h (breakParagraph): change the keep_layout arg to a
963         bool.
964
965         * paragraph.C (getRow, pos2ros): add asserts.
966
967         * paragraph.h: add commentary. Lots of.
968
969         * paragraph.[Ch] (metrucs, draw): removed.
970
971         * cursor.C:
972         * rowpainter.[Ch]: const-correct changes.
973
974         * text.C: various obvious clean-ups. Removal of ancient cruft.
975         Bug fixes, even.
976
977 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
978
979         * vc-backend.C (find_file): rewrite to use boost.filesystem
980         (scanMaster): ditto
981
982         * main.C (main): set default name check for boost.filesystem to
983         no check
984
985         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
986         (open): ditto
987         (doImport): ditto
988         (actOnUpdatedPrefs): ditto
989
990         * lyx_main.C (init): rewrite to use boost.filesystem
991         (queryUserLyXDir): ditto
992
993         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
994         (getContentsOfAsciiFile): ditto
995
996         * lastfiles.C (readFile): rewrite to use boost.filesystem
997
998         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
999
1000         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1001         (loadLyXFile): ditto
1002
1003         * buffer.C (Buffer): adjust for destroydir
1004         (getLogName): rewrite to use boost.filesystem
1005         (setFileName): ditto
1006         (save): use fs::copy_file (from fs_extras)
1007
1008         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1009
1010         * LaTeX.C (run): rewrite to use boost.filesystem
1011         (scanAuxFiles): ditto
1012         (handleFoundFile): ditto
1013
1014 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1015
1016         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1017
1018         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1019
1020 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1021
1022         * lyxlayout.[Ch]: change some vars from float to double
1023
1024         * buffer.C (readFile): make a local var const
1025
1026         * Several files: use convert<> instead of atoi,strToXXX and friends
1027
1028 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1029
1030         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1031         holds the contents of packages.lst. New functions getAvailable
1032         and isAvailable to parse and check that list, resp.
1033
1034         * LyXAction.C:
1035         * lfuns.h:
1036         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1037
1038         * bufferparams.[Ch]: new param output_changes.
1039
1040         * Buffer.C: increase file format to 240.
1041         Use output_changes and isVailable.
1042
1043         * changes.[Ch]:
1044         * paragraph.C:
1045         * paragraph_pimpl.C: Use output_changes and isVailable.
1046
1047 2005-01-23  Angus Leeming  <leeming@lyx.org>
1048
1049         * output_latex.C: #include "insetbibitem.h", rather than
1050         forward declare function bibitemWidest.
1051
1052 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1053
1054         * lyx_main.C (init): make it compile on the Mac.
1055
1056 2005-01-20  Angus Leeming  <leeming@lyx.org>
1057
1058         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1059         (setLyXMisc): (char string literal) != (char string literal) is
1060         performing a comparison on the addresses. Convert one operand
1061         explicitly to string to guarantee expected behaviour.
1062         From MSVC warning.
1063
1064 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1065
1066         * buffer.C:
1067         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1068
1069         * output_plaintext.C: remove unneeded #include gzstream.h.
1070
1071 2005-01-20  Angus Leeming  <leeming@lyx.org>
1072
1073         * SpellBase.h: rename some of the elements of the Result enum.
1074
1075         * aspell_local.h:
1076         * ispell.h:
1077         * pspell.h:
1078         * aspell.C (check):
1079         * ispell.C (check):
1080         * pspell.C (check): ditto
1081
1082 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1083
1084         * buffer.C: add #include <fstream>.
1085
1086         * lyx_main.C (init): Compile fix.
1087
1088         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1089
1090 2005-01-20  Angus Leeming  <leeming@lyx.org>
1091
1092         * mover.h: change commentary to reflect the changed meaning of
1093         the $$s placeholder.
1094
1095 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1096
1097         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1098
1099         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1100
1101 2005-01-20  Angus Leeming  <leeming@lyx.org>
1102
1103         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1104         printing diagnostic data by not dereferecing an iterator past the
1105         end.
1106
1107 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1108
1109         * buffer.C (readHeader): use "&&" rather than "and".
1110
1111         * lyxserver.h (inPipeName, outPipeName): make these const.
1112
1113 2005-01-19  Angus Leeming  <leeming@lyx.org>
1114
1115         * lyx_main.C (error_handler, init): protect SIGHUP with
1116         #ifdef SIGHUP guards.
1117
1118 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1119
1120         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1121
1122 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1123
1124         * text.C (setHeightOfRow): add a margin at the top and bottom of
1125         the document (bug 1761)
1126
1127 2005-01-17  Angus Leeming  <leeming@lyx.org>
1128
1129         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1130         with "python ". Workaround for a brain-dead Windows.
1131
1132 2005-01-16  Angus Leeming  <leeming@lyx.org>
1133
1134         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1135         for MacOSX and Windows to use prependEnvPath.
1136         Strip out the hard-coded block to add elements to the PATH for
1137         MacOSX and replace it with a call to prependEnvPath using the
1138         contents of LyXRC::path_prefix.
1139         (queryUserLyXDir): strip out the code to run reconfigure, instead
1140         returning a boolean indicating the necessity to do so.
1141         (reconfigureUserLyXDir): contains the code to reconfigure the
1142         user support directory. Is now called after the various LyXRC data
1143         files have been read.
1144
1145         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1146
1147 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1148
1149         * converter.[Ch] (convert): take a new parameter try_default. Use
1150         a default converter (imagemagick) if try_default is true.
1151
1152 2005-01-13  Angus Leeming  <leeming@lyx.org>
1153
1154         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1155         os::cygwin_path_fix.
1156         (write): output LyXRC::cygwin_path_fix as necessary.
1157
1158 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1159
1160         * lyxrc.h:
1161         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1162
1163 2005-01-12  Angus Leeming  <leeming@lyx.org>
1164
1165         * lyx_main.C (init): set the PATH variable to include the
1166         directory containing the LyX binary when running on Mac or Windows.
1167
1168 2005-01-12  Angus Leeming  <leeming@lyx.org>
1169
1170         * lyx_main.C (init): remove cruft that purports to set the locale
1171         dir. It doesn't and is not needed anyway.
1172
1173 2005-01-10  Angus Leeming  <leeming@lyx.org>
1174
1175         * Makefile.am: remove the lyx_main.C special casing.
1176
1177         * BufferView_pimpl.C:
1178         * bufferlist.C:
1179         * exporter.C:
1180         * lyx_cb.C:
1181         * lyx_main.C:
1182         * lyxfunc.C:
1183         * messages.C: use support/package.h to provide the paths to the
1184         various directories used by LyX.
1185
1186 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1187
1188         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1189         layout if pasting into an empty paragraph)
1190
1191 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1192
1193         * tex-accent.C: add <string>
1194
1195 2005-01-06  José Matos  <jamatos@lyx.org>
1196
1197         * ParagraphParameters.C (write): put every parameter in its own line.
1198         * paragraph.C (write): reduce number of consecutive empty lines exported.
1199         * buffer.C (LYX_FORMAT): increase file format to 239.
1200
1201 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1202
1203         * everywhere: change support/tostr.h -> support/convert.h
1204
1205         * tabular.C: make all write_attributes templates, tostr -> convert
1206
1207         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1208         (emptyTag): and -> &&, and fix type for ret from getChar
1209         (getFirstWord): fix type for ret from getChar
1210         (onlyText): and -> &&
1211         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1212         getChar
1213
1214         * toc.C (goTo, action):
1215         * text3.C (dispatch):
1216         * text.C (currentState):
1217         * tex-accent.C (DoAccent):
1218         * sgml.C:
1219         * lyxrc.C:
1220         * lyxfunc.C (menuNew):
1221         * lyxfinc.C (replace):
1222         * counters.C (laberItem):
1223         * bufferview_funcs.C (font2string):
1224         * bufferparams.C (writeFile):
1225         * buffer.C (readFile):
1226         * Spacing.C (set):
1227         * MenuBackend.C: tostr -> convert
1228
1229         * LaTeX.C (runMessage): fix format
1230         (scanAuxFiles): tostr -> convert
1231
1232         * BufferView_pimpl.C (savePosition): fix format
1233         (restorePosition): ditto
1234         (dispatch): ditto
1235
1236 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1237
1238         * Spacing.[Ch]: New method getValueAsString().
1239
1240         * Spacing.[Ch]:
1241         * bufferparams.C:
1242         * ParagraphParameters.C:
1243         * lyxlayout.C:
1244         * text.C:
1245         * text3.C: store/read spacing value as string.
1246
1247         * rowpainter.C: change float value (spacing_val) to double.
1248
1249         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1250         broken custom document spacing).
1251
1252 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1253
1254         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1255         namespace, also more use of temp references and const
1256
1257         * cursor.[Ch] (getStatus): move to lyxfunc.C
1258
1259         * bufferparams.C: reformat slightly
1260
1261         * bufferview_funcs.C (font2string): constify arg
1262
1263         * changes.C:
1264         * converter.C:
1265         * counters.C:
1266         * bufferlist.C:
1267         * buffer_funcs.C: (many funcs): constify arg on function
1268         definitions, also make more local vars const, also add ASSERTS on
1269         pointer args.
1270
1271         * buffer.C (LYX_FORMAT): put const in correct place
1272         (many funcs): constify arg on function definitions, also make
1273         more local vars const
1274
1275         * aspell_local.h: remove "struct" from typdef setup
1276
1277         * aspell.C (check): make word_ok const
1278         (nextMiss): simplify slightly
1279         (error): ditto
1280
1281 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1282
1283         * lyxrc.[Ch]: store all float values as strings.
1284         use int (not float) for lyxrc.dpi.
1285
1286 2005-01-04  Angus Leeming  <leeming@lyx.org>
1287
1288         * lyx_cb.C (Reconfigure):
1289         * lyx_main.C (queryUserLyXDir):
1290         to run the <system_lyxdir>/configure correctly on Windows, prefix
1291         the path to the script with "sh " when generating the string that
1292         is passed to system().
1293
1294 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1295
1296         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1297
1298 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1299
1300         * lyxlength.C (asLatexString): get rid of setprecision
1301
1302 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1303
1304         * text2.C (setLayout): remove unused variable endpit.
1305         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1306
1307         * paragraph.C (onlyText): remove unused variable style.
1308
1309         * cursor.C (bruteFind): remove unused variables beg and end.
1310
1311         * Makefile.am (dist_noinset_DATA): not needed anymore
1312
1313         * cheaders/*: remove.
1314
1315 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1316
1317         * text3.C: fix LFUN_MATH_MODE.
1318
1319 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1320
1321         * buffer_funcs.C (countWords): new function. Counts words between
1322         two iterators.
1323
1324         * BufferView_pimpl.C (getStatus, dispatch): handle
1325         LFUN_WORDS_COUNT.
1326
1327         * LyXAction.C (init):
1328         * lfuns.h: add LFUN_WORDS_COUNT.
1329
1330 2004-12-19  Angus Leeming  <leeming@lyx.org>
1331
1332         * buffer.C (save): s/slashify_path/internal_path/.
1333
1334 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1335
1336         * lyxfind.C (findChange): do not search for end of pars, because
1337         the change tracker cannot handle this (fixes bug 1719).
1338
1339 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1340
1341         * paragraph.[Ch] (autoBreakRows): remove
1342
1343         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1344
1345         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1346         avoid using the paragraph one
1347
1348         * text2.C (LyXText, insertStringAsLines): adjust
1349
1350 2004-12-16  Angus Leeming  <leeming@lyx.org>
1351
1352         * bufferlist.C:
1353         * lyx_main.C:
1354         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1355
1356 2004-12-14  Angus Leeming  <leeming@lyx.org>
1357
1358         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1359
1360         * bufferlist.C (emergencyWrite):
1361         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1362         GetEnvPath("HOME").
1363
1364 2004-12-14  Angus Leeming  <leeming@lyx.org>
1365
1366         * main.C: (main): no longer pass pointers to os::init.
1367
1368 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1369
1370         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1371         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1372
1373 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1374
1375         * lyxfunc.C:
1376         * text3.C: remove selection_possible global flag
1377
1378 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1379
1380         * text2.C (getSelectionSpan): remove
1381         (changeDepth, changeDepthAllowed): adjust
1382
1383 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1384
1385         * Makefile.am (BOOST_LIBS): use boost variables
1386
1387 2004-12-03  José Matos  <jamatos@lyx.org>
1388
1389         * buffer.C: format up to 238.
1390
1391 2004-12-03  José Matos  <jamatos@lyx.org>
1392
1393         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1394
1395 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1396
1397         * cursor.C (goUpDown): remove call to idxUpDown2
1398
1399 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1400
1401         * tabular.[Ch]: use size_t-like types for cell, row and column
1402         indices
1403
1404 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1405
1406         * lyxfunc.C (getStatus): do not lose previous information when
1407         calling BufferView::getStatus; do not set a default "Command
1408         disabled" message at the beginning, but just before returning.
1409
1410 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1411
1412         * cursor.h (getStatus): add better comment from src/cursor.C
1413
1414 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1415
1416         * text3.C (getStatus): return false when the lfun is not handled
1417
1418 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1419
1420         * broken_headers.h: remove
1421
1422         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1423
1424 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1425
1426         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1427         offset_ref accessors
1428
1429         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1430         top_y_, merge fitcursor with update
1431         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1432         coord scheme
1433         (metrics): introduce
1434         (workAreaDispatch): adapt to new coord scheme
1435         (redoCurrentBuffer): remove
1436
1437         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1438
1439         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1440         CurStatus enum.
1441
1442         * coordcache.[Ch]: add paragraph cache and helpers
1443
1444         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1445         adjust everywhere
1446
1447         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1448         (targetX, setTargetX): introduce
1449
1450         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1451         baseline -> ascent, as the rest of lyx
1452
1453         * lyxtext.h: remove redoParagraphs, updateParPositions,
1454         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1455         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1456         have ascent/descent (ascent is ascent of first par)
1457
1458         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1459         step of BufferView
1460
1461         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1462
1463         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1464
1465         * pariterator.C: fix infinite loop introduced in par->pit renaming
1466
1467         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1468         in insets and LyXText, draw two off-screen paragraphs using
1469         NullPainter, and adapt to new coord scheme
1470
1471         * text.C:
1472         * text2.C:
1473         * text3.C: adapt lfun handlers to the new coord scheme, which
1474         means: there's only guaranteed coord information for onscreen pars
1475         plus one above and one below. This implies that one can do search
1476         from y coordinates in the range [-1,workHeight]
1477
1478 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1479
1480         * rename a lot of InsetOld to InsetBase
1481
1482 2004-11-25  Angus Leeming  <leeming@lyx.org>
1483
1484         * BufferView_pimpl.C:
1485         * lyx_cb.C:
1486         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1487
1488 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1491         call BufferView::getStatus if LCursor::getStatus did nothing
1492         (setStatusMessage, getStatusMessage): removed.
1493
1494         * FuncStatus.C (message): new methods. Used to provide an error
1495         message indicating why a command is disabled.
1496         (clear, |=, FuncStatus): update for message.
1497
1498 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1499
1500         * lyxfunc.C (dispatch): always call sendDispatchMessage
1501
1502 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1503
1504         * BufferView.C:
1505         * BufferView_pimpl.C:
1506         * CutAndPaste.C:
1507         * FontIterator.C:
1508         * buffer.C:
1509         * cursor.C:
1510         * cursor_slice.[Ch]:
1511         * dociterator.[Ch]:
1512         * lyxfind.C:
1513         * paragraph_funcs.C:
1514         * pariterator.C:
1515         * rowpainter.C:
1516         * text.C:
1517         * text2.C:
1518         * text3.C:
1519         * undo.C: par->pit renaming
1520
1521 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1522
1523         * tabular.C (cellstruct): use initialization, store a shared_ptr
1524         to insettext instead of the insettext directly, adjust to fit.
1525         (operator=):  new function
1526         (swap): new function
1527         (rowstruct): use initialization
1528         (columnstruct): use initialization
1529         (ltType): use initialization
1530
1531
1532         * lyxlength.h (swap): new function
1533
1534         * LColor.[Ch] (operator=): use the common semantics
1535
1536 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1537
1538         * lyxfind.C (findNextChange): update the bufferview after setting
1539         the selection.
1540
1541 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1542
1543         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1544         number of InsetOptArgs has already been inserted.
1545
1546         * output_latex.C (latexOptArgInsets): new method. This outputs all
1547         the optarg insets, up to the limit defined in the layout file.
1548         (optArgInset): removed
1549         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1550
1551 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1552
1553         * paragraph.C (isLetter): remove special spellchecker-related
1554         code; return true also for digits
1555         (isWord, isKomma): remove
1556
1557         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1558         * lyxfind.C (MatchString()): use isLetter instead of isWord
1559
1560 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1561
1562         * pariterator.h (operatir=): comment out un-implemented member
1563         function.
1564
1565         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1566         static cast.
1567
1568 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1569
1570         * lyxfont.h: include LColor.h to satisfy concept checks.
1571
1572 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1573
1574         * pariterator.h: add typdefs for value_type, difference_type,
1575         pointer and reference to satisfy concept checks. Also add default
1576         constructor for same reason.
1577
1578         * pariterator.C (operator++): add post-increment operator to
1579         satisfy concept checks.
1580
1581         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1582         checks.
1583
1584         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1585
1586         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1587         checks. Also rename base_type to BaseType to follow naming
1588         standard better.
1589
1590         * FloatList.h: include Floating.h to satisfy concept checks.
1591
1592 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1593
1594         * lyxfunc.C (getStatus): when the origin of the request is menu or
1595         toolbar, and the LyXView does not have focus, do as if there was
1596         no buffer (bug 1720)
1597
1598         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1599         FuncRequest to individual entries of LFUN_SEQUENCE
1600
1601 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1602
1603         * output_latex.C (TeXOnePar): override runparams.moving_arg
1604         according to the needprotect value of the current paragraph (bug
1605         1739)
1606
1607         * paragraph.C (simpleTeXOnePar): no need to override
1608         runparams.moving_args here
1609
1610 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1611
1612         * vspace.C: fix off-by-one-error, related to fix #1682
1613
1614 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1615
1616         * lengthcommon.C: a more general fix for bug 1682
1617
1618 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1619
1620         * text.C (backspace): fix crash
1621
1622 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1623
1624         * format.[Ch] (getFormatFromFile): new method
1625         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1626
1627 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1628
1629         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1630
1631 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1632
1633         * lyxfunc.C (dispatch): remove the verbose argument
1634         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1635         instead
1636
1637         * kbmap.C (defkey): set the origin of func to KEYBOARD
1638
1639         * MenuBackend.C (MenuItem):
1640         * ToolbarBackend.C (add): set the origin of func to UI
1641
1642         * funcrequest.[Ch]: add origin member, which indicates which part
1643         of LyX requests an action
1644
1645 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1646
1647         * converter.C (move): don't lie in the error message
1648         * converter.h (isReachable, move): document
1649
1650 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1651
1652         * buffer.C: remove unused using lyx::support::atoi
1653         * paragraph_funcs.C: ditto
1654
1655 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1656
1657         * bufferlist.C (exists): use bind and equal_to instead of
1658         compare_memfun
1659         (getBuffer): ditto
1660         * lyxtextclasslist.C (NumberOfClass): ditto
1661
1662         * cursor.C (insert): use for_each instead of explicit for loop
1663
1664         * bufferlist.C (getFileNames): use std::transform and
1665         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1666
1667         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1668         for loop
1669
1670         * buffer.C (changeLanguage): use for_each instead of explicit for
1671         loop
1672         (hasParWithID): implement using getParFromID
1673
1674         * LaTeXFeatures.C: ws change only
1675
1676         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1677         to cleanup a bit.
1678
1679         * BufferView_pimpl.C (trackChanges): use for_each instead of
1680         expilicit for loop
1681
1682 2004-11-04  André Pönitz  <poenitz@gmx.net>
1683
1684         * undo.h:
1685         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1686
1687         * dociterator.C (asDocIterator): use hard assert again.
1688
1689 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1690
1691         * lyxlength.C (asLatexString): rewrite so that it does not use
1692         snprintf anymore
1693
1694 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1695
1696         * text3.C (specialChar, dispatch): make sure cursor moves to the
1697         right after inserting an inset
1698
1699 2004-11-02  José Matos  <jamatos@lyx.org>
1700
1701         * output_docbook.C (docbook):
1702         * paragraph.C (getID):
1703         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1704         garantee that the output is always legal.
1705
1706         * tabular.C (docbook):
1707         * outputprams.[Ch]: remove mixed contents.
1708
1709 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1710
1711         * text2.C (setCounter): prevent endless loop
1712
1713 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1714
1715         * exporter.C (copyFile): use the mover instead of support::copy()
1716         * exporter.C (Export): pass format and latex name to copyFile()
1717         * exporter.h (addExternalFile): document
1718         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1719
1720 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1721
1722         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1723
1724 2004-10-30  José Matos  <jamatos@lyx.org>
1725
1726         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1727         text and no inset or font change. This allows to use CDATA
1728         sections just for the whole paragraph.
1729
1730 2004-10-30  José Matos  <jamatos@lyx.org>
1731
1732         * paragraph.C (getFirstWord): remove unused variable.
1733
1734 2004-10-30  José Matos  <jamatos@lyx.org>
1735
1736         * paragraph.C (getFirstWord): the content should always be escaped
1737         there.
1738         (simpleDocBookOnePar):
1739         * output_docbook.C (makeEnvironment): replace reference to CDATA
1740         to style pass_thru.
1741
1742 2004-10-30  José Matos  <jamatos@lyx.org>
1743
1744         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1745
1746 2004-10-30  José Matos  <jamatos@lyx.org>
1747
1748         * output_docbook.C (makeParagraphs):
1749         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1750         standard paragraph has only a given type of content drop the wrapper.
1751
1752 2004-10-29  José Matos  <jamatos@lyx.org>
1753
1754         * output_docbook.C (makeEnvironment):
1755         * sgml.C (openTag):
1756         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1757
1758 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1759
1760         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1761         (cleanID): sanitize any id.
1762
1763 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1764
1765         * buffer.C, lyxlex_pimpl.C:
1766         * lyxlex_pimpl.C (setFile):
1767         s/getExtFromContents/getFormatFromContents/
1768
1769 2004-10-28  José Matos  <jamatos@lyx.org>
1770
1771         * output_docbook.C (makeEnvironment): move id to broadest possible
1772         scope.
1773
1774         * sgml.C (openTag): apply substitution of <> for all attributes.
1775
1776 2004-10-28  José Matos  <jamatos@lyx.org>
1777
1778         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1779         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1780         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1781
1782         * sgml.[Ch]: new version for open and closeTag for paragraph and
1783         for strings. Now they handle the ids of paragraphs.
1784
1785 2004-10-26  Angus Leeming  <leeming@lyx.org>
1786
1787         * Makefile.am: add mover.[Ch].
1788
1789         * converter.C (convert, move): use the new Movers to move external
1790         files to the temp directory.
1791
1792         * lyx_main.C (init): ensure that the global system_movers data
1793         is initialised.
1794
1795         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1796         preferences file.
1797
1798         * mover.[Ch]: new files, defining a Mover as a utility to move an
1799         external file between directories and, if necessary, manipulate this
1800         file using a helper script.
1801
1802 2004-10-25  José Matos  <jamatos@lyx.org>
1803
1804         * output_docbook.C (makeCommand): merge two if's that tested the
1805         same condition.
1806
1807 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1808
1809         * sgml.C (escapeString): fix warning in a better way
1810
1811 2004-10-25  José Matos  <jamatos@lyx.org>
1812
1813         * sgml.C (escapeString): import the require boosts header file for
1814         tie, and avoid a signed unsigned comparison.
1815
1816 2004-10-25  José Matos  <jamatos@lyx.org>
1817
1818         * sgml.h: add #include <string>
1819
1820 2004-10-25  José Matos  <jamatos@lyx.org>
1821
1822         * sgml.[Ch] (escapeString): new function to escape all the string.
1823
1824 2004-10-24  José Matos  <jamatos@lyx.org>
1825
1826         * paragraph.[Ch] (getFirstWord): new function to get the first
1827         word. Useful for description.
1828         (simpleDocBookOnePar): remove depth argument, add another that
1829         says where to start the paragraph.
1830
1831         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1832         use the new functions to fix cleanly the support for descriptions.
1833
1834 2004-10-24  José Matos  <jamatos@lyx.org>
1835
1836         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1837         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1838         * output_linuxdoc.C (linuxdocParagraphs):
1839         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1840         add buffer as argument.
1841
1842 2004-10-24  José Matos  <jamatos@lyx.org>
1843
1844         * output_docbook.C (makeEnvironment, searchEnvironment): place
1845         CDATA inside paragraphs and fix scope for listitems.
1846
1847 2004-10-24  José Matos  <jamatos@lyx.org>
1848
1849         * output_docbook.C: remove using statement for stack.
1850
1851 2004-10-23  José Matos  <jamatos@lyx.org>
1852
1853         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1854         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1855         docbook. The new scheme is recursive and makes use of iterators, the
1856         same as latex export works.
1857         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1858         directly with the paragraph contents. This code was moved up to
1859         output_docbook.C (docbookParagraphs).
1860         * sgml.C (openTag, closeTag): removed unneeded newlines.
1861         (closeEnvTags) removed.
1862
1863 2004-10-23  André Pönitz  <poenitz@gmx.net>
1864
1865         * undo.C (textUndoOrRedo):
1866         * dociterator.C (asDocIterator): work around crash
1867
1868         * cursor.C (getStatus): replace ASSERT by more verbose error message
1869           and manual correction of the problem. Should increase stability
1870           while providing more sensible information.
1871
1872 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1873
1874         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1875
1876         * bufferlist.C (previous, next): new methods
1877
1878         * lfuns.h:
1879         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1880
1881 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1882
1883         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1884         entities to preamble.
1885
1886 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1887
1888         * messages.C (Pimpl): strip off translation context information
1889
1890 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1891
1892         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1893         the cursor is correct (bug 1694)
1894
1895 2004-10-13  José Matos  <jamatos@lyx.org>
1896
1897         * output_docbook.C (docbookParagraphs): fix closing tags in the
1898         end of the document.
1899
1900 2004-10-09  José Matos  <jamatos@lyx.org>
1901
1902         * buffer.C: format up to 237.
1903         * bufferparams.C (write): use tostr to convert booleans to strings.
1904
1905 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1906
1907         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1908
1909 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1910
1911         * LaTeX.C: implement use of babel language in xindy.
1912
1913 2004-10-05  José Matos  <jamatos@lyx.org>
1914
1915         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1916         Add new translators to help reading and writing the lyx file.
1917
1918 2004-10-05  José Matos  <jamatos@lyx.org>
1919
1920         * ParagraphParameters.C (read):
1921         * text.C (readParToken): replace nexToken by more appropriate lex
1922         methods.
1923
1924 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1925
1926         * LaTeX.C (runMakeIndex):
1927         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1928         (usually 'makeindex') configurable.
1929
1930         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1931         with a variable rather than with a number.
1932
1933 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1934
1935         * output_latex.C (TeXOnePar): make sure font setting is the first
1936         thing that gets output (and the last at the end). Should fix bug
1937         1404.
1938
1939 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1940
1941         * pch.h: use proper signal include
1942
1943         * LaTeX.h: Use preferred calling of Boost.Signal
1944         * buffer.h: ditto
1945
1946 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1947
1948         * pch.h: dont include <boost/function/function0.hpp>
1949
1950         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1951
1952         * paragraph_pimpl.h: remove usage of ShareContainer
1953
1954         * paragraph_pimpl.C: remove initialization of ShareContainer.
1955
1956 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1957
1958         Fix bug #1666
1959
1960         * BufferView.C (putSelectionAt): change the semantics when
1961         backwards == true: now, this just swaps cursor and anchor wrt the
1962         forward case
1963
1964         * BufferView.h (putSelectionAt): add some documentation
1965
1966         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1967         make sure backwardChar is done at least once (to avoid getting
1968         stuck)
1969         (findNextChange): use putSelectionAt in the forward direction
1970         (operator()): use Paragraph::isWord
1971
1972 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1973
1974         * Spacing.C (set): c_str fix
1975
1976 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1977
1978         * lyx_cb.C (Reconfigure): quote the name of configure script in
1979         case it contains spaces
1980
1981 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1982
1983         * client: new dir
1984
1985         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1986         (BOOST_LIBS): use top_buildir when looking for the file
1987
1988 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1989
1990         * pch.h: do not use include boost/format.hpp, multiple symbols
1991                 will result (gcc bug)
1992
1993
1994 2004-08-23  José Matos  <jamatos@lyx.org>
1995
1996         * bufferparams.C (readToken): fix reading of the author field.
1997
1998 2004-08-20  José Matos  <jamatos@lyx.org>
1999
2000         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2001
2002 2004-08-20  José Matos  <jamatos@lyx.org>
2003
2004         * lyxlex.[Ch] (findToken): remove function.
2005
2006         * ParagraphParameters.C (findToken):
2007         * bufferparams.C (findToken): replace call for previous function
2008         with local copy. This local function has one more argument, the
2009         read string argument.
2010
2011 2004-08-16  José Matos  <jamatos@lyx.org>
2012
2013         * ParagraphParameters.C (write):
2014         * Spacing.C (writeFile):
2015         * bufferparams.C (writeLaTeX):
2016         * lyx_cb.C (Reconfigure):
2017         * paragraph.C (write):
2018         * tabular.C (write): remove unnecessary space at end of line.
2019
2020
2021 2004-08-16  José Matos  <jamatos@lyx.org>
2022
2023         * text.C (readParagraph): remove debug message.
2024
2025 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2026
2027         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2028         crash
2029
2030         * output_plaintext.C (asciiParagraph): set depth correctly
2031
2032         * outputparams.h: add member depth
2033
2034         * paragraph_funcs.C (ownerPar): remove.
2035
2036         * text2.C (setCounter): remove first_pit; comment out some
2037         non-working code that uses ownerPar
2038
2039         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2040         uses ownerPar
2041
2042 2004-08-16  José Matos  <jamatos@lyx.org>
2043
2044         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2045         For the same level of importance use the same chanel to report problems.
2046         (read): add code to deal with \begin_body and \end_body.
2047
2048
2049 2004-08-15  José Matos  <jamatos@lyx.org>
2050
2051         * lyxlex.C (getString): fix comment, buffer::readBody is now
2052         buffer:readDocument.
2053
2054         * tex-strings.C (string_papersize): Default -> default,
2055         Custom -> custom, for consistency with other options.
2056
2057 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
2058
2059         * pch.h: new file
2060
2061         * Makefile.am: support pch
2062
2063 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2064
2065         * text.C (readParToken): remove the static LyXFont variable and
2066         pass it as a parameter instead. This fixes a nasty bug where an
2067         inset will be inserted with a bad font in some situations
2068         (readParagraph): adapt
2069
2070         * text2.C (setCounter): reduce number of calls to pars_[pit]
2071
2072         * text.C (singleWidth): add an assert, fix a test
2073
2074         * rowpainter.C (paintText): reduce number of calls to singleWidth
2075
2076         * paragraph.C (isHfill):
2077         (isNewline): ws only
2078
2079 2004-08-14  André Pönitz  <poenitz@gmx.net>
2080
2081         * text.C:
2082         * text2.C:
2083         * rowpainter.C:
2084         * lyxtext.h (several functions): use a Paragraph & argument
2085         instead of par_type
2086
2087 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2088
2089         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2090
2091         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2092
2093         * text.C (singleWidth): remove useless test
2094
2095 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2096
2097         * tabular.h: remove bogus comments
2098
2099         * tabular.C (getDescentOfRow):
2100         (isPartOfMultiColumn): add assertions
2101
2102         * lyxlength.C (inPixels): remove #warning
2103
2104 2004-08-14  André Pönitz  <poenitz@gmx.net>
2105
2106         * paragraph.h: inline getChar()
2107
2108         * BufferView.h: remove unused declarations
2109
2110 2004-08-14  José Matos  <jamatos@lyx.org>
2111
2112         * Buffer.[Ch] (readDocument): new name for old readBody.
2113         * Buffer.C: new file format, new keywords: \begin_document,
2114         \begin_header, \begin_body, \end_body.
2115
2116         * bufferparams.C (readToken): replace all calls to lex.nextToken
2117         by lex.next(). Do the same to eatLine except where really needed.
2118
2119         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2120         line when writing to the lyx file.
2121
2122         * output_plaintext.C (asciiParagraph): fix Bibliography style
2123         handling.
2124
2125         * text.C (read): fix end of file handling.
2126
2127 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2128
2129         * MenuBackend.C (Menu::operator[]): new method to access
2130         individual menu items
2131         (Menu::hasFunc): new method. search for an item that corresponds
2132         to a given func
2133         (MenuBackend::specialMenu): new method
2134         (MenuBackend::expand): if a special menu has been set, skip
2135         entries whose func() appears in this menu
2136
2137 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2138
2139         * text3.C: use Debug::DEBUG a bit more
2140
2141         * text.C (leftMargin): try to simplify a tiny bit change var x to
2142         l_margin. Dont output the wide margins always.
2143         (rightMargin): no margin in inner texts
2144
2145         * rowpainter.h (nestMargin): new func
2146         (changebarMargin): new func
2147         (rightMargin): new func
2148
2149         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2150         now functions.
2151         (paintLast): ditto
2152
2153         * factory.C (createInset): modify setDrawFrame
2154
2155         * cursor.C: use Debug::DEBUG a bit more
2156
2157 2004-08-14  André Pönitz  <poenitz@gmx.net>
2158
2159         * coordcache.[Ch]:
2160         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2161         cache for all insets in (at least partially) visible (top-level)
2162         paragraphs.
2163
2164         * BufferView_pimpl.C: reset external coord cache before every update.
2165         This means the coord cache only contains valid entries.
2166
2167 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2168
2169         bug 1096
2170         * BufferView_pimpl.C (getInsetByCode): move function out of class
2171         and change in to a template in anon namespace. Also fix to do what
2172         suits us better.
2173
2174 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2175
2176         bug 1305
2177         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2178         of char
2179         (breakParagraph): rename par to par_offset and use a local
2180         reference. Add code to keep the language over a rebreak.
2181         (breakParagraphConservative): rename par to par_offset, use a
2182         local reference
2183         (mergeParagraph): ditto
2184         (outerHook): ditto
2185         (isFirstInSequence): ditto
2186         (outerFont): rename pit to par_offset
2187
2188         * paragraph.C: ws change
2189         * paragraph.h: ditto
2190         * text3.C: ditto
2191         * text.C: ditto
2192
2193 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2194
2195         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2196         treatment for ']'
2197
2198         * paragraph.C (simpleTeXOnePar): when we have a \item with
2199         optional argument, enclose the argument with curly brackets (in
2200         case it contains a closing square bracket)
2201
2202         * text2.C (editXY):
2203         * text2.C (editXY):
2204         * text3.C (checkInsetHit): constify
2205
2206 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2207
2208         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2209         documents (bug 1629)
2210
2211 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2212
2213         Fix toggling of collapsable insets with the mouse (bug 1558)
2214
2215         * lyxfunc.C (dispatch): adapt to LCursor changes
2216
2217         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2218         make sure that dispatch is not invoked twice
2219
2220         * cursor.C (needsUpdate): new method
2221         (dispatch): return void
2222         (result): new method, to access the DispatchResult of the cursor.
2223
2224 2004-08-13  José Matos  <jamatos@lyx.org>
2225
2226         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2227
2228 2004-08-13  André Pönitz  <poenitz@gmx.net>
2229
2230         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2231
2232         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2233           multiple cells
2234
2235 2004-08-12  André Pönitz  <poenitz@gmx.net>
2236
2237         * text3.C: take out the 'cursor right' form insertInset and only
2238         do it in those places when it is really needed. Fixes crash on
2239         C-m...
2240
2241 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2242
2243         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2244
2245         * BufferView_pimpl.C (setBuffer): initialize the current font of
2246         the underlying LyXText
2247
2248 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2249
2250         * kbsequence.C (print): use UI native formatting for menu
2251         shortcuts
2252
2253         * text.C (insertChar): call Paragraph::insertChar with a font
2254         argument (cosmetic)
2255
2256         * paragraph.C (insertInset, insertChar): the version that takes a
2257         LyXFont argument is now a wrapper around the other one (the
2258         opposite used to be true).
2259
2260         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2261         argument. Font setting is done in Paragraph now.
2262
2263 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2264
2265         * outputparams.h: add new members intitle and lang.
2266
2267         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2268         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2269
2270 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2271
2272         * text3.C (dispatch): remove special handling of button 4 and 5,
2273         it is now taken care of in the frontend code.
2274
2275 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2276
2277         * Spacing.h: add <string> (STLPort compile fix)
2278
2279 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2280
2281         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2282
2283 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2284
2285         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2286         to bool.
2287
2288         * converter.C (showMessage): inherit from unary_function, make
2289         operator() const.
2290
2291         * buffer.C (writeFile): initialize retval
2292
2293         * InsetList.h: rename private variable list to list_
2294         * InsetList.[Ch]: adjust accordingly.
2295
2296 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2297
2298         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2299         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2300         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2301         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2302         * ParagraphParameters.C, LaTeXFeatures.C: replace
2303         "support/std_sstream.h" with <sstream>
2304
2305 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2306
2307         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2308         * lyxsocket.C (LyXServerSocket): ditto
2309         (serverCallback): ditto
2310
2311 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2312
2313         * LaTeXFeatures.C: check release date when loading jurabib.
2314
2315 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2316
2317         * lyxserver.C (startPipe): call register_socket_callback
2318         (endPipe): call unregister_socket_callback
2319
2320 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2321
2322         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2323         (LyXServerSocket): register the callback
2324         (LyXServerSocket): unregister the callback
2325         (fd): delete function
2326         (serverCallback): improve error checking and setup the callbacks.
2327         (dataCallback): change arg to fd.
2328         (writeln): new func (copied fro the client socket) used for server
2329         write to client.
2330         (LyXDataSocket): simplify
2331         (~LyXDataSocket): close ann unregiser callback
2332         (server): delete function
2333         (fd): delete function
2334         (readln): small changes, improve some std::string usage
2335         (writeln): constify a bit
2336
2337 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2338
2339         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2340         Qt frontend
2341
2342 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2343
2344         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2345         after it has been populated
2346
2347 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2348
2349         * text2.C (insertInset): move cursor when inserting inset.
2350
2351 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2352
2353         * kbmap.C (findbindings): a couple of new methods. returns a
2354         container of kb_sequence objects. The real work is done by the
2355         private recursive version
2356         (printbindings): uses findbindings to print out a bracketed list
2357         of bindings (renamed from findbinding).
2358
2359         * MenuBackend.C (binding): use kb_keymap::findbindings
2360
2361         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2362
2363 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2364
2365         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2366
2367 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2368
2369         * paragraph.C (isWord): return true on insets that report
2370         isLetter().
2371
2372         * text.C (getWord): use Paragraph::isWord to decide what is in a
2373         word and what is not; fix bug 1609.
2374
2375 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2376
2377         * tex-strings.C: add "none" to string_paperpackages[], fixes
2378         off-by-one-error in the paperpackage selection.
2379
2380         * lyxlex.[Ch]:
2381         * tex-strings.[Ch]: char const * string[n]
2382         -> char const * const string[]
2383
2384 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2385
2386         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2387         command, return early.
2388
2389 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2390
2391         * debug.h: add DEBUG to enum and fix size of ANY.
2392
2393         * debug.C: add support for Debug::DEBUG
2394         (showTags): cast errorTags.level to unsigned int
2395
2396         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2397         (redoCurrentBuffer): ditto
2398         (updateScrollbar): ditto
2399         * cursor.C (dispatch): ditto
2400         * text2.C (setLayout): ditto
2401         (setFont): ditto
2402         (updateCounters): ditto
2403         (editXY): ditto
2404         (deleteEmptyParagraphMechanism): ditto
2405
2406 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2407
2408         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2409         annotations to cleanup the Makefile slightly.
2410
2411 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2412
2413         * lyxrc.C: do not set user_email to a default value but use empty
2414         instead. The entry used to be translated, which does not work
2415         since at the point where lyxrc is constructed there is no
2416         translation service available
2417
2418         * messages.C (getLocaleDir): remove and use directly
2419         lyx_localedir() instead
2420
2421 2004-06-02  Angus Leeming  <leeming@lyx.org>
2422
2423         Fix crash caused by dereferencing null pointer 'exportdata' in
2424         OutputParams by creating a new ExportData variable on the heap,
2425         storing it in a boost::shared_ptr.
2426         The crash was triggered when generating an Instant Preview
2427         of an external inset.
2428
2429         * Makefile.am: add outputparams.C
2430
2431         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2432         (c-tor): allocate memory to it.
2433
2434         * exporter.C (c-tor): associated changes.
2435
2436 2004-06-01  Angus Leeming  <leeming@lyx.org>
2437
2438         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2439         contains data before calling isInset(0). (Bug 1513.)
2440
2441 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2442
2443         * exporter.C (checkOverwrite): new method
2444         * exporter.C (copyFile): new method
2445         * exporter.C (Export): copy referenced files to the document dir
2446         * exporter.[Ch]: new class ExportedFile
2447         * exporter.[Ch]: new class ExportData. Contains currently the
2448         names of referenced external files
2449         * outputparams.h: add exportdata member.
2450
2451 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2452
2453         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2454         version.C-tmp
2455
2456 2004-05-19  Angus Leeming  <leeming@lyx.org>
2457
2458         * LaTeXFeatures.C:
2459         * ToolbarBackend.C:
2460         * bufferparams.C:
2461         * lyxfunc.C: small changes due to the introduction of namespace
2462         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2463
2464 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2465
2466         * text3.C (dispatch): supress update when only moving the cursor
2467         * cursor.C (selHandle): remove commented code
2468
2469 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2470
2471         * paragraph.C (startTeXParParams): correct column count
2472         * CutAndPaste.C (pasteSelection): remove const_cast
2473         * output_docbook.C (docbookParagraphs): remove const_cast
2474         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2475         const_cast and return ParagraphList::const_iterator
2476         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2477         * output_plaintext.C (writeFileAscii): remove const_cast
2478         * paragraph.[Ch] (simpleTeXOnePar): make const
2479         * paragraph_funcs.C (outerPar): use const iterators
2480         * paragraph_pimpl.C (validate): use const iterators
2481         * text.C (setHeightOfRow): use const iterators
2482
2483 2004-05-17  Angus Leeming  <leeming@lyx.org>
2484
2485         * lfuns.h:
2486         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2487
2488         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2489         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2490         if the citation engine has changed.
2491
2492 2004-05-14  José Matos  <jamatos@lyx.org>
2493
2494         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2495         if the textclass does not provide it. Have it different for sgml and
2496         xml.
2497         support the language of document.
2498         * output_docbook.C (docbookParagraphs):
2499         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2500         first anchor as the id of the paragraph, remove special case code.
2501         * sgml.C (escapeChar): escape only < & >.
2502
2503 2004-05-14  Angus Leeming  <leeming@lyx.org>
2504
2505         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2506         dependencies on src/frontends/controllers/biblio.h. Define a
2507         CiteEngine_enum wrapper class to enable the enum to be forward
2508         declared.
2509
2510 2004-05-12  Angus Leeming  <leeming@lyx.org>
2511
2512         * buffer.C: up LYX_FORMAT to 234.
2513         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2514         use_numerical_citations with a single biblio::CiteEngine cite_engine
2515         variable.
2516         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2517
2518 2004-05-13  José Matos  <jamatos@lyx.org>
2519
2520         * converter.h:
2521         * converter.C (Converter, readFlags): add xml member.
2522         * outputparams.h: add XML flavor.
2523         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2524
2525 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2526
2527         * lyxfunc.C (dispatch):
2528         (getStatus): fix handling of LFUN_SEQUENCE
2529
2530 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2531
2532         * debug.C (showLevel): do not forget the end-of-line marker
2533
2534 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2535
2536         * kbmap.C (read): do not stop parsing a bind file when an error
2537         occurs (bug 1575)
2538
2539 2004-04-29  Angus Leeming  <leeming@lyx.org>
2540
2541         * cursor.C:
2542         * factory.C:
2543         * pariterator.C:
2544         * text2.C: wrap a bunch of #warning statements
2545         inside #ifdef WITH_WARNINGS blocks.
2546
2547 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2548
2549         * buffer.C: increment format to 233.
2550
2551 2004-04-28  Angus Leeming  <leeming@lyx.org>
2552
2553         * BufferView_pimpl.C:
2554         * lyxfunc.C:
2555         * text3.C:
2556         s/updateToolbar()/updateToolbars()/
2557         s/Toolbar.h/Toolbars.h/
2558
2559 2004-04-28  Angus Leeming  <leeming@lyx.org>
2560
2561         * BufferView.[Ch] (c-tor):
2562         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2563         No longer passes these data to the WorkArea generator.
2564
2565 2004-04-28  Angus Leeming  <leeming@lyx.org>
2566
2567         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2568
2569 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2570
2571         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2572
2573 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2574
2575         * output_latex.C (TeXEnvironment): make sure that there is a line
2576         break before \end{foo} for the last paragraph of a document
2577         (TeXOnePar): if the paragraph is at the end of the document (or
2578         inset) and the language has to be reset, then make sure that the
2579         line break is _before_ the language command, not after (fixes bug
2580         1225); also make sure that the language reset command is the first
2581         thing after the paragraph (to ensure proper nesting of
2582         environments and thus fix bug 1404)
2583
2584 2004-04-21  John Levon  <levon@movementarian.org>
2585
2586         * ToolbarBackend.h:
2587         * ToolbarBackend.C: make "name" be a programmatic name
2588         and a gui_name field.
2589
2590         * lyxfunc.C: display the minibuffer on M-x
2591
2592 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2593
2594         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2595         (bug 1526)
2596
2597 2004-04-19  Angus Leeming  <leeming@lyx.org>
2598
2599         * BufferView_pimpl.C (setBuffer): changed preview interface.
2600
2601         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2602         possible values.
2603
2604 2004-04-19  John Levon  <levon@movementarian.org>
2605
2606         * BufferView_pimpl.C:
2607         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2608
2609 2004-04-05  Angus Leeming  <leeming@lyx.org>
2610
2611         * text.C (redoParagraphs): add call to updateCounters(), thereby
2612         fixing the missing "Figure #:" label from the caption of a
2613         figure float.
2614
2615 2004-04-13  Angus Leeming  <leeming@lyx.org>
2616
2617         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2618         cursor is clicked out of an inset.
2619
2620 2004-04-13  Angus Leeming  <leeming@lyx.org>
2621
2622         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2623         than an InsetOld one.
2624
2625 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2626
2627         * format.[Ch]: add editor to Format
2628         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2629         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2630
2631 2004-04-08  André Pönitz  <poenitz@gmx.net>
2632
2633         * metricsinfo.h: remove PainterInfo::width member
2634
2635 2004-04-08  Angus Leeming  <leeming@lyx.org>
2636
2637         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2638         "\providecommand" rather than "\newcommand", thereby preventing
2639         clashes with packages that define "\boldsymbol" themselves.
2640         Eg, beamer.
2641
2642 2004-04-08  Angus Leeming  <leeming@lyx.org>
2643
2644         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2645         thereby squashing an unnecessary warning.
2646
2647 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2648
2649         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2650         setBuffer()
2651
2652 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2653
2654         * BufferView.C (setCursor): call redoParagraph (some insets could
2655         have been opened)
2656         (putSelectionAt): remove the 'double update' trick
2657
2658         * BufferView_pimpl.C (fitCursor): call refreshPar
2659         (workAreaDispatch): remove an uneeded update call
2660         (dispatch): remove some manual update calls
2661
2662         * cursor.[Ch]: remove cached_y_, updatePos
2663         (selHandle): set noUpdate when appropriate
2664
2665         * lyxfunc.C (dispatch): track if we need an update
2666
2667         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2668
2669         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2670         (paintSelection): cheap optimization, do not call cursorX when not
2671         needed
2672         (paintPars): change signature
2673         (refreshPar): add
2674         (paintText): adjust
2675         (paintTextInset): adjust
2676
2677         * text.C: adjust
2678
2679 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2680
2681         * lengthcommon.C: compilation fix: remove explicit array size from
2682         unit_name[] and friends
2683
2684 2004-04-05  Angus Leeming  <leeming@lyx.org>
2685
2686         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2687
2688         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2689         present only for the preferences dialog.
2690         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2691
2692 2004-04-05  Angus Leeming  <leeming@lyx.org>
2693
2694         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2695         to enable the frontends to export changes to lyxrc correctly.
2696
2697         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2698
2699 2004-04-07  André Pönitz  <poenitz@gmx.net>
2700
2701         * cursor.[Ch] (selClear, adjust): remove math
2702
2703         * cursor_slice.C: more agressive assert
2704
2705         * lyxfunc.C:
2706         * BufferView_pimpl.C: rework mouse event dispatch
2707
2708         * dociterator.C:
2709         * paragraph.C:
2710         * text2.C:
2711         * text3.C: adjust
2712
2713 2004-04-05  André Pönitz  <poenitz@gmx.net>
2714
2715         * cursor.[Ch] (valign, halign...): remove unneeded functions
2716
2717 2004-04-05  Angus Leeming  <leeming@lyx.org>
2718
2719         * lyxlength.[Ch] (unit_name et al.): const-correct.
2720
2721 2004-04-05  Angus Leeming  <leeming@lyx.org>
2722
2723         * BufferView_pimpl.C:
2724         * buffer.C:
2725         * counters.C:
2726         * cursor.C:
2727         * lyxfunc.C
2728         * paragraph.C:
2729         * pariterator.C:
2730         * text.C:
2731         * text2.C:
2732         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2733
2734 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2735
2736         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2737
2738 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2739
2740         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2741         * BufferView_pimpl.[Ch] (getStatus)
2742         * BufferView.[Ch] (getStatus): add
2743         * lyxfunc.C (getStatus): move lfuns handled in
2744         BufferView::dispatch to te function above
2745         * Cursor.C (setSelection): set selection() = true
2746
2747 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2748
2749         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2750
2751 2004-03-31  Angus Leeming  <leeming@lyx.org>
2752
2753         * lyxfunc.C (dispatch): Fall through to the generic
2754         Dialogs::show("preamble").
2755
2756 2004-03-31  Angus Leeming  <leeming@lyx.org>
2757
2758         * lyxfunc.C (dispatch): Fall through to the generic
2759         Dialogs::show("spellchecker").
2760
2761 2004-03-31  Angus Leeming  <leeming@lyx.org>
2762
2763         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2764         preferences dialog.
2765
2766 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2767
2768         * BufferView.C
2769         * cursor.[Ch]
2770         * dociterator.[Ch]:
2771         * insetiterator.[Ch]:
2772         * lyxfind.C:
2773         * lyxfunc.C:
2774         * pariterator.[Ch]:
2775         * text2.C:
2776         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2777
2778 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2779
2780         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2781         insets where we are putting the cursor.
2782
2783 2004-03-31  Angus Leeming  <leeming@lyx.org>
2784
2785         * lfuns.h:
2786         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2787
2788         * lyxrc.[Ch] (read, write): overloaded member functions taking
2789         a std::[io]stream arguments.
2790
2791         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2792
2793 2004-03-31  Angus Leeming  <leeming@lyx.org>
2794
2795         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2796         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2797
2798         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2799         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2800
2801 2004-03-31  Angus Leeming  <leeming@lyx.org>
2802
2803         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2804         the LFUN_ALL_INSETS_TOGGLE code.
2805
2806 2004-03-30  Angus Leeming  <leeming@lyx.org>
2807
2808         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2809         has died. Fall through to the generic Dialogs::show("document").
2810
2811 2004-03-30  Angus Leeming  <leeming@lyx.org>
2812
2813         * lfuns.h:
2814         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2815         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2816
2817         * lyxfunc.C (getStatus, dispatch): define the actions for these
2818         lfuns. Little more than a cut and pste job from ControlDocument.C
2819
2820         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2821
2822 2004-03-30  Angus Leeming  <leeming@lyx.org>
2823
2824         * lfuns.h:
2825         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2826         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2827
2828         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2829         open/closed state of ollapsable insets. Usage:
2830
2831         all-inset-toggle <state> <name>, where
2832         <state> == "open" || "closed" || "toggle" and
2833         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2834
2835         * lyxtext.h, text2.C (toggleInset): removed.
2836
2837         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2838         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2839         now passes LFUN_INSET_TOGGLE to the found inset.
2840
2841         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2842         is now invoked as "all-insets-toggle toggle branch".
2843
2844 2004-03-30  Angus Leeming  <leeming@lyx.org>
2845
2846         * dociterator.C:
2847         * insetiterator.C:
2848         * pariterator.[Ch]: added/corrected header blurb.
2849
2850 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2851
2852         * dociterator.[Ch]: add an inset_ member
2853         (backwardPos): implemented
2854         (backwardPos, forwardPos): use inset_ when the stack is empty.
2855         (doc_iterator_begin, doc_iterator_end): implemented
2856         * pariterator.[Ch]: adjust, add begin, end
2857         * insetiterator.[Ch]: adjust, add begin, end
2858         * cursor.C:
2859         * document.C:
2860         * BufferView.C:
2861         * BufferView_pimpl.C:
2862         * CutAndPaste.C: adjust
2863
2864 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2865
2866         * buffer.C: increment file format to 232.
2867         * LaTeXFeatures.C: add bibtopic package.
2868         * bufferparams.[Ch]: param \use_bibtopic.
2869
2870         * lyxrc.[Ch]: add lyxrc bibtex_command
2871         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2872
2873         * buffer.C: increment file format to 231.
2874
2875 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2876
2877         * dociterator.C: implement forwardPar
2878         * iterators.[Ch]: remove, replaced by
2879         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2880         * BufferView.C:
2881         * BufferView_pimpl.C:
2882         * CutAndPaste.C:
2883         * buffer.C:
2884         * bufferview_funcs.C:
2885         * cursor.C:
2886         * lyxfind.C
2887         * lyxfunc.C
2888         * paragraph_funcs.C
2889         * toc.C:
2890         * Makefile.am: adjust
2891
2892 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2893
2894         * CutAndPaste.C (pasteSelection): fix 2 crashes
2895         (eraseSelection): fix a crash
2896         * paragraph_funcs.C: remove a warning
2897
2898 2004-03-28  Angus Leeming  <leeming@lyx.org>
2899
2900         * lfuns.h:
2901         * LyXAction.C (init): new LFUN_PRINT.
2902
2903         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2904
2905 2004-03-27  Angus Leeming  <leeming@lyx.org>
2906
2907         * lfuns.h:
2908         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2909
2910         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2911
2912 2004-03-27  Angus Leeming  <leeming@lyx.org>
2913
2914         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2915         insetlist always contains non-null pointers to insets.
2916
2917 2004-03-26  Angus Leeming  <leeming@lyx.org>
2918
2919         * src/BufferView_pimpl.C:
2920         * src/CutAndPaste.C:
2921         * src/buffer.C:
2922         * src/iterators.C:
2923         * src/output_plaintext.C:
2924         * src/outputparams.h:
2925         * src/paragraph_funcs.C:
2926         * src/rowpainter.C:
2927         * src/text.C:
2928         * src/text2.C:
2929         * src/frontends/controllers/ControlErrorList.C:
2930         * src/frontends/gtk/FileDialogPrivate.C:
2931         * src/frontends/gtk/GPainter.C:
2932         * src/frontends/gtk/GToolbar.C:
2933         * src/frontends/qt2/QRef.C:
2934         * src/mathed/math_scriptinset.C: squash compiler warnings.
2935
2936 2004-03-26  Angus Leeming  <leeming@lyx.org>
2937
2938         * ispell.C (LaunchIspell::start):
2939         * lyx_cb.C (AutoSaveBuffer::start):
2940         invoke run(DontWait) rather than runNonBlocking().
2941
2942 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2943
2944         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2945
2946 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2947
2948         * kbsequence.C (print): adjust
2949
2950         * kbmap.C (printKeySym): rename and change signature
2951         (printKey): use LyXKeySym::print()
2952
2953 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2954
2955         * undo.C: add using std::advance to compile for stlport
2956
2957 2004-03-24  Angus Leeming  <leeming@lyx.org>
2958
2959         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2960         it leads to a crash when no buffer is present.
2961
2962 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2963             Martin Vermeer  <martin.vermeer@hut.fi>
2964
2965         * lyxfunc.C (dispatch):
2966         * bufferparams.C (readToken): use the new LColor::setColor
2967
2968         * LColor.[Ch] (setColor): new version that takes two strings as
2969         argument and creates a new color entry if necessary
2970
2971 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2972
2973         * buffer.C (makeLaTeXFile): if the main latex file that is
2974         processed is usually a subdocument of some master, then pretend
2975         for a while that it is actually the master
2976
2977 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2978
2979         * buffer.C (getLabelList):
2980         (getBibkeyList): use getMasterBuffer()
2981         (getMasterBuffer): new method. Returns the main document in the
2982         case where one is using included documents.
2983
2984 2004-03-25  André Pönitz  <poenitz@gmx.net>
2985
2986         * Makefile.am:
2987         * iterators.[Ch]:
2988         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2989
2990         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2991
2992         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2993         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2994
2995         * ParameterStruct.h: merge with ParagraphParameters
2996
2997         * lyxtext.h: remove LyXText::parOffset() and getPar()
2998
2999         * text3.C: Remove all 'manual' update calls. We do now one per user
3000         interaction which is completely sufficient.
3001
3002         * Bidi.C:
3003         * BufferView.[Ch]:
3004         * BufferView_pimpl.C:
3005         * FontIterator.[Ch]:
3006         * MenuBackend.C:
3007         * ParagraphParameters.[Ch]:
3008         * buffer.C:
3009         * buffer.h:
3010         * bufferlist.C:
3011         * cursor.[Ch]:
3012         * cursor_slice.[Ch]:
3013         * dociterator.[Ch]:
3014         * errorlist.[Ch]:
3015         * factory.C:
3016         * lfuns.h:
3017         * lyxfind.C:
3018         * lyxfunc.C:
3019         * output_docbook.[Ch]:
3020         * output_latex.[Ch]:
3021         * output_linuxdoc.[Ch]:
3022         * output_plaintext.[Ch]:
3023         * paragraph.[Ch]:
3024         * paragraph_funcs.[Ch]:
3025         * paragraph_pimpl.[Ch]:
3026         * rowpainter.C:
3027         * tabular.[Ch]:
3028         * text.C:
3029         * text2.C:
3030         * toc.C:
3031         * undo.[Ch]: adjust
3032
3033         * frontends/controllers/ControlDocument.C:
3034         * frontends/controllers/ControlErrorList.C:
3035         * frontends/controllers/ControlSpellchecker.C:
3036         * insets/inset.C:
3037         * insets/inset.h:
3038         * insets/insetbase.h:
3039         * insets/insetbibitem.C:
3040         * insets/insetbox.C:
3041         * insets/insetbranch.C:
3042         * insets/insetcaption.C:
3043         * insets/insetcharstyle.C:
3044         * insets/insetcharstyle.h:
3045         * insets/insetcollapsable.C:
3046         * insets/insetcollapsable.h:
3047         * insets/insetert.C:
3048         * insets/insetfloat.C:
3049         * insets/insetfoot.C:
3050         * insets/insetmarginal.C:
3051         * insets/insetnote.C:
3052         * insets/insetoptarg.C:
3053         * insets/insettabular.C:
3054         * insets/insettext.C:
3055         * insets/insettext.h:
3056         * insets/insetwrap.C:
3057         * mathed/math_mboxinset.C:
3058         * mathed/math_nestinset.C:
3059         * mathed/math_scriptinset.C:
3060         * mathed/math_scriptinset.h:
3061         * support/types.h:
3062
3063 2004-03-24  Angus Leeming  <leeming@lyx.org>
3064
3065         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3066         deal with any child processes that have finished but are waiting to
3067         communicate this fact to the rest of LyX.
3068
3069 2004-03-24  Angus Leeming  <leeming@lyx.org>
3070
3071         64-bit compile fixes.
3072
3073         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3074         (c-tor): pass lyx::pos_types rather than ints.
3075
3076         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3077         lyx::pos_type.
3078
3079         * text.C (Delete): compile fix.
3080         (getPar): ensure that function declaration is the same as that in
3081         the header file.
3082
3083 2004-03-23  Angus Leeming  <leeming@lyx.org>
3084
3085         * ispell.C (LaunchIspell):
3086         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3087         a boost::shred_ptr rather than a std::auto_ptr.
3088
3089 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3090
3091         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3092         handle LFUN_FILE_INSERT_*
3093
3094         * lyxrc.C (setDefaults, getDescription, output, read):
3095         * lyxrc.h: remove ps_command
3096
3097 2004-03-22  Angus Leeming  <leeming@lyx.org>
3098
3099         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3100         Ensure that error_handler is processed once only and that all data
3101         is saved before attempting to output any warning messages.
3102
3103         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3104
3105 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3106
3107         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3108
3109 2004-03-19  André Pönitz  <poenitz@gmx.net>
3110
3111         * cursor.[Ch] (reset): take main text inset as argument
3112
3113         * BufferView: adjust
3114         * BufferView_pimpl.C: adjust
3115
3116         * paragraph.[Ch]: fix completely broken operator=()
3117
3118 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3119
3120         * LColor.C (getFromLyXName): make sure that the color name is used
3121         as lowercase.
3122
3123 2004-03-17  Angus Leeming  <leeming@lyx.org>
3124
3125         * lfuns.h:
3126         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3127
3128         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3129         dialog and to kill a forked process.
3130
3131 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3132
3133         * text2.C (setCursorFromCoordinates): fix font problem
3134
3135 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3136
3137         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3138         bogus "rebuild cursor" code
3139
3140 2004-03-11  André Pönitz  <poenitz@gmx.net>
3141
3142         * buffer.[Ch]: use InsetText instead of LyXText as container for
3143         the main lyx text.
3144
3145         * dociterator.[Ch]: drop the BufferView * member which is not needed
3146         anymore after the change to buffer.C
3147
3148         * paragraph_funcs.C:
3149         * text.C:
3150         * text2.C:
3151         * BufferView.[Ch]:
3152         * BufferView_pimpl.[Ch]:
3153         * cursor.[Ch]:
3154         * cursor_slice.[Ch]: adjust
3155
3156         * text3.C: fix bug in mathDispatch
3157
3158 2004-03-08  André Pönitz  <poenitz@gmx.net>
3159
3160         * undo.[Ch]: use 'StableDocumentIterator' as base for
3161         the Undo struct.
3162
3163 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3164
3165         * LaTeXFeatures.C:
3166         * bufferparams.[Ch]: add jurabib support and param.
3167
3168         * LaTeX.C: add FIXME/comment.
3169
3170 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3171
3172         * buffer.C: increment file format to 230.
3173
3174 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3175
3176         * cursor.C (dispatch): avoid infinite loops
3177
3178 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3179
3180         * rowpainter.C (paintSelection): fix x coordinates
3181
3182 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3183
3184         * text.C (rowBreakPoint): fix breaking before displayed insets
3185
3186 2004-03-01  André Pönitz  <poenitz@gmx.net>
3187
3188         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3189
3190         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3191
3192         * Makefile.am:
3193         * BufferView.C:
3194         * BufferView_pimpl.C:
3195         * buffer.C:
3196         * lyxfind.C:
3197         * lyxfunc.C:
3198         * text.C:
3199         * text2.C:
3200         * text3.C: adjust
3201
3202 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3203
3204         * lyxtext.h:
3205         * text.C:
3206         * text2.C:
3207         * rowpainter.C:
3208         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3209         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3210
3211 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3212
3213         * Bidi.[Ch] (computeTables): const correctness
3214         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3215         fill_hfill, fill_label_hfill and x from Row
3216         * lyxtext.h: prepareToPrint returns a RowMetrics
3217         * rowPainter.C: adjust
3218         * text.C (prepareToPrint): use width, not textWidth. adjust
3219         (redoParagraphInternal, cursorX): adjust
3220         * text2.C (getColumnNearX): adjust
3221         (init): put a default value to the top LyXText::width
3222
3223 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3224
3225         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3226
3227 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3228
3229         * lyxtext.h: add FontIterator class
3230
3231         * text.C (FontIterator, operator*, operator->, operator++): add
3232         (rowBreakPoint, setRowWidth): adjust (fixing a
3233         rebreaking bug)
3234
3235 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3236
3237         * BufferView_pimpl.C (workAreaDispatch): allow also
3238         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3239
3240 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3241
3242         * text.C (rowBreakPoint): fix a bug showing with very large insets
3243
3244 2004-02-25  André Pönitz  <poenitz@gmx.net>
3245
3246         * text3.C:
3247         * cursor.[Ch]: move some mathed specific code to mathed
3248
3249 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3250
3251         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3252         use_tempdir in preferences
3253         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3254         tempfile creation
3255         * lyx_main.C: ensure that tempdir is valid
3256         * lyxlex.h: correct typo
3257         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3258         * paragraph.[Ch] (isMultiLingual): make const
3259         * cursor.[Ch] (openable): make const
3260
3261 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3262
3263         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3264
3265 2004-02-20  André Pönitz  <poenitz@gmx.net>
3266
3267         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3268
3269         * cursor.[Ch]: prepare for localized getStatus()
3270
3271         * lyxtext.h:
3272         * tabular.C:
3273         * text.C:
3274         * text2.C:
3275         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3276
3277 2004-02-20  André Pönitz  <poenitz@gmx.net>
3278
3279         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3280
3281 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3282
3283         * text2.C (setCursorFromCoordinates): switch to absolute coords
3284         (cursorUp): adjust
3285         (cursorDown): adjust
3286         * text3.C (dispatch): adjust
3287
3288 2004-02-16  André Pönitz  <poenitz@gmx.net>
3289
3290         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3291           insets/ChangeLog)
3292
3293         * cursor_slice.[Ch]: remove unneeded acessor function
3294
3295         * lyxtext.h: rename rtl() to isRTL()
3296
3297         * rowpainter.C:
3298         * tabular.C:
3299         * text.C:
3300         * text2.C:
3301         * text3.C: adjust
3302
3303 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3304
3305         * rowpainter.C (paintSelection): coord fix
3306
3307 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3308
3309         * Spacing.C: compile fix
3310
3311 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3312
3313         * cursor.C (dispatch): restore current_ before returning
3314
3315 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3316
3317         * text2.C (cursorUp, cursorDown): fix coords
3318         (moveUp): fix crash
3319
3320 2004-02-12  André Pönitz  <poenitz@gmx.net>
3321
3322         * lyxtext.h:
3323         * text.C:
3324         * text2.C:
3325         * text3.C: add LCursor & parameter to most cursor movement functions
3326           remove usage of LyXText::cursorRow() and cursorPar()
3327
3328         * cursor.[Ch]: add textRow() needed members
3329
3330         * BufferView.C:
3331         * BufferView_pimpl.C:
3332         * paragraph.[Ch]:
3333         * BufferView.C:
3334         * BufferView_pimpl.C: adjust
3335
3336 2004-02-11  André Pönitz  <poenitz@gmx.net>
3337
3338         * lyxfunc.C:
3339         * BufferView.[Ch]:
3340         * BufferView_pimpl.C: shift undo/redo handling
3341
3342         * cursor.[Ch]: fix mathed crash
3343
3344         * lyxfind.C:
3345         * lyxtext.h: move selectionAsText to LCursor
3346
3347         * output_latex.C:
3348         * paragraph.C:
3349         * text.C:
3350         * text2.C:
3351         * text3.C: adjust
3352
3353         * rowpainter.C: fix excessive drawing
3354
3355 2004-02-06  André Pönitz  <poenitz@gmx.net>
3356
3357         * BufferView.[Ch]:
3358         * BufferView_pimpl.[Ch]:
3359         * text3.C: move some text specific LFUN handling
3360
3361 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3362
3363         * text3.C (checkInsetHit): adjust coords
3364         * text2.C (getColumnNearX): adjust coords
3365         (edit): adjust coords
3366         * text.C (getRowNearY): add two asserts
3367
3368 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3369
3370         * converter.C:
3371         * format.C: add using std::distance to compile on gcc 2.95/stlport
3372
3373 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3374
3375         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3376
3377 2004-02-04  André Pönitz  <poenitz@gmx.net>
3378
3379         * BufferView.[Ch] (insertInset):
3380         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3381
3382         * text2.C:
3383         * text3.C: adjust
3384
3385 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3386
3387         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3388         on the default clause of the switch
3389         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3390         wasn't catched by LCursor::dispatch
3391
3392 2004-02-03  André Pönitz  <poenitz@gmx.net>
3393
3394         * BufferView.C:
3395         * cursor.[Ch]: some additional asserts
3396
3397         * undo.[Ch]: remove LyXText dependency in interface
3398
3399         * lyxfunc.C: adjust
3400
3401         * lyxtext.h (firstPar, lastPar): remove dead functions
3402
3403         * text.C:
3404         * text2.C:
3405         * text3.C:
3406         * paragraph.[Ch]: adjust
3407
3408 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3409
3410         * lyxfind.C (find): fix argument order in call to ::find
3411
3412 2004-02-02  André Pönitz  <poenitz@gmx.net>
3413
3414         * cursor.[Ch]: remove direct access to anchor
3415
3416         * text.C: remove findText() hack
3417
3418 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3419
3420         * iterators.[Ch] (lockPath): remove in favour of...
3421         * BufferView.[Ch] (setCursor): this addition
3422         * BufferView.C (putSelectionAt): adjust
3423         * undo.C (performUndoOrRedo): adjust
3424         * lyxfunc.C (dispatch): adjust
3425
3426 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3427
3428         * iterators.C (lockPath): add a missing slice
3429         * undo.C (performUndoOrRedo): remove redundant positioning code
3430
3431 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3432
3433         * vc-backend.C (scanMaster): ";" -> ';'
3434
3435 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3436
3437         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3438         std::binary_function
3439
3440         * lyxtextclass.C (compare_name): rename to...
3441         (LayoutNamesEqual): ...this
3442
3443         * lyxlex_pimpl.C (compare_tags): inherit from
3444         std::binary_function, put back into anon namespace
3445
3446         * lyxfind.C (MatchString): inherig from std::binary_function
3447         (findChange): use empty() istead of !size()
3448
3449         * format.C (FormatNamesEqual): new functor
3450         (getFormat): use it
3451         (getNumber): use it
3452         (add): use it
3453         (erase): use it
3454         (setViewer): use it
3455
3456         * converter.C (compare_Converter): rename to...
3457         (ConverterEqual): ...this, and fixup a bit.
3458         (getConverter): use it, and make function const
3459         (getNumber): use it, and make function const
3460         (add): use it
3461         (erase): use it:
3462
3463         * bufferlist.C: add using boost::bind
3464
3465         * MenuBackend.C (MenuNamesEqual): new functor
3466         (hasMenu): use it, and make function const
3467         (hasSubmenu): use nested bind to get rid of compare_memfun.
3468
3469 2004-01-30  André Pönitz  <poenitz@gmx.net>
3470
3471         * BufferView_pimpl.C:
3472         * cursor.C:
3473         * cursor.h:
3474         * cursor_slice.[Ch]:
3475         * lyxfunc.C:
3476         * lyxtext.h:
3477         * paragraph_funcs.C:
3478         * paragraph_funcs.h:
3479         * rowpainter.C:
3480         * text.C:
3481         * text2.C:
3482         * text3.C: move some of the edit(x,y) handling to the insets
3483         some coordinate changes.
3484
3485 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3486
3487         * text.C: add using statements for std::advance and std::distance
3488
3489         * paragraph.C: add using statement for std::distance
3490
3491         * lyxfind.C: add using statement for std::advance
3492
3493         * cursor.C (region): remove std:: from swap
3494         (openable): use nucleus in stead of operator->
3495
3496         * BufferView.C: add using statements for std::distance and std::swap
3497
3498 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3499
3500         * iterators.C: Remove the pimple, move the needed structures to
3501         the header file. Create accessor for the positions stack.
3502         (asPosIterator): remove function
3503
3504         * PosIterator.C (PosIterator): move constructors to top of file
3505         (PosIterator): reimplement the constructor taking a ParIterator in
3506         terms of setFrom.
3507         (setFrom): new function
3508         (operator!=): inline it
3509
3510 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3511
3512         * lyxfind.C (replaceAll): use std::advance
3513
3514         * iterators.h: inherit from std::iterator.
3515
3516         * PosIterator.C (advance, distance): remove
3517         * PosIterator.h: interit from std::iterator.
3518
3519 2004-01-26  André Pönitz  <poenitz@gmx.net>
3520
3521         * BufferView.[Ch]:
3522         * BufferView_pimpl.[Ch]:
3523         * InsetList.[Ch]:
3524         * PosIterator.[Ch]:
3525         * buffer.h:
3526         * bufferview_funcs.C:
3527         * cursor.[Ch]:
3528         * cursor_slice.h:
3529         * factory.[Ch]:
3530         * iterators.[Ch]:
3531         * lyxfind.C:
3532         * lyxfunc.C:
3533         * lyxtext.h:
3534         * output_docbook.C:
3535         * output_latex.C:
3536         * output_linuxdoc.C:
3537         * output_plaintext.C:
3538         * paragraph.[Ch]:
3539         * paragraph_funcs.[Ch]:
3540         * paragraph_pimpl.[Ch]:
3541         * rowpainter.C:
3542         * tabular.C:
3543         * tabular.h:
3544         * text.C:
3545         * text2.C:
3546         * text3.C: more IU:  dumps most of the rest of the mathcursor
3547     implementation into cursor.[Ch]; "globalize" a bit of it.
3548
3549 2004-01-25  Angus Leeming  <leeming@lyx.org>
3550
3551         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3552
3553 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3554
3555         * LaTeXFeatures.h: add nice_ and nice() const
3556         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3557
3558 2004-01-20  André Pönitz  <poenitz@gmx.net>
3559
3560         * BufferView.[Ch]:
3561         * BufferView_pimpl.C:
3562         * PosIterator.C:
3563         * bufferview_funcs.C:
3564         * cursor.[Ch]:
3565         * cursor_slice.[Ch]:
3566         * factory.C:
3567         * iterators.C:
3568         * lyx_cb.C:
3569         * lyxfind.C:
3570         * lyxfunc.C:
3571         * lyxtext.h:
3572         * rowpainter.C:
3573         * text.C:
3574         * text2.C:
3575         * text3.C:
3576         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3577           LCursor and mathcursor parts to LCursor and InsetBase.
3578
3579 2004-01-15  André Pönitz  <poenitz@gmx.net>
3580
3581         * cursor_slice.[Ch]: add a few covienience functions
3582
3583         * funcrequest.[Ch]: remove BufferView * member
3584
3585         * BufferView_pimpl.C:
3586         * cursor.C:
3587         * factory.[Ch]:
3588         * lyxfind.[Ch]:
3589         * lyxfunc.C:
3590         * lyxtext.h:
3591         * text3.C:
3592         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3593
3594 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3595
3596         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3597         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3598
3599 2004-01-13  André Pönitz  <poenitz@gmx.net>
3600
3601         * textcursor.[Ch]:
3602         * lyxtext.h: hide cursor and selection anchor behind accessor function
3603
3604         * BufferView.C:
3605         * BufferView_pimpl.[Ch]:
3606         * PosIterator.C:
3607         * bufferview_funcs.C:
3608         * cursor.h:
3609         * lyxfind.C:
3610         * lyxfunc.C:
3611         * text.C:
3612         * text2.C:
3613         * text3.C:
3614         * undo.C: adjust
3615
3616         * cursor.h:
3617         * cursor_slice.[Ch]: some integer type changes for inset unification
3618
3619         * lyxcursor.[hC]: remove, it's CursorSlice now.
3620
3621         * Makefile.am:
3622         * BufferView_pimpl.[Ch]:
3623         * bufferview_funcs.C:
3624         * cursor_slice.C:
3625         * lyxtext.h:
3626         * text.C:
3627         * text2.C:
3628         * text3.C:
3629         * textcursor.[Ch]: adjust
3630
3631 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3632
3633         * text2.C (undoSpan): add and use
3634         * text.C (breakParagraph): use undoSpan (fix bug 578)
3635         * lyxtext.h: adjust
3636
3637 2004-01-08  Angus Leeming  <leeming@lyx.org>
3638
3639         * BufferView_pimpl.C (MenuInsertLyXFile):
3640         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3641         * lyxfunc.C (menuNew, open, doImport):
3642         FileFilterList change to the FileDialog open and save functions.
3643
3644 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3645
3646         * ShareContainer.h: make isEqual and isUnique adaptable
3647
3648         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3649
3650 2004-01-07  Angus Leeming  <leeming@lyx.org>
3651
3652         * LyXAction.C:
3653         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3654
3655         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3656
3657         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3658         functions replacing find, replace and replaceAll.
3659
3660         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3661         LFUN_WORDFIND(FORWARD|BACKWARD).
3662
3663 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3664
3665         * text.C (breakParagraph): remove an outdated #warning
3666
3667 2004-01-07  André Pönitz  <poenitz@gmx.net>
3668
3669         * lyxfind.C: somewhat clearer logic
3670
3671         * text.C: prevent crash in cursorX on unitialized row cache
3672
3673 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3674
3675         * lyxcursor.[Ch] (operator>): add
3676         * textcursor.C (selStart, selEnd): use std::min and std::max
3677
3678 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3679
3680         * Chktex.C: include boost/format.hpp
3681
3682 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3683
3684         * InsetList.C: replace functor MathcIt with adaptable functor
3685         InsetTablePosLess
3686         (insetIterator): modify accordingly
3687
3688         * BranchList.h: move the BranchNamesEqual functor here from...
3689         * BranchList.C: ... to here
3690
3691         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3692         SameName and match.
3693         (add): replace a finding loop with std::find_if.
3694
3695 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3696
3697         * output_docbook.C: moving LatexParam functionality into
3698         .layout files
3699
3700 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3701
3702         * buffer.C: increment format to 229.
3703
3704 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3705
3706         * LaTeXFeatures.C:
3707         * lyx_sty.[Ch]: remove minipageindent_def
3708
3709         * LyXAction.C:
3710         * factory.C:
3711         * lfuns.h:
3712         * lyxfunc.C:
3713         * text3.C: remove LFUN_INSET_MINIPAGE
3714
3715 2003-12-28  Angus Leeming  <leeming@lyx.org>
3716
3717         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3718
3719 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3720
3721         * text2.C (setParagraph): fix off-by-one crash
3722
3723 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3724
3725         * output_docbook.C: header stuff for AGU
3726
3727 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3728
3729         * text2.C (redoCursor): remove
3730         * text.C:
3731         * text3.C:
3732         * BufferView_pimpl.C: remove calls to redoCursor and
3733         setCursor(cursor.par(), cursor.pos()) all around
3734
3735 2003-12-15  Angus Leeming  <leeming@lyx.org>
3736
3737         * buffer.C: up the format to 228.
3738
3739 2003-12-15  André Pönitz  <poenitz@gmx.net>
3740
3741         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3742         slices
3743
3744         * Makefile.am:
3745
3746         * BufferView_pimpl.C:
3747         * cursor.[Ch]:
3748         * lyxcursor.[Ch]:
3749         * rowpainter.[Ch]:
3750         * lyxtext.h:
3751         * text.C:
3752         * text2.C:
3753         * text3.C: adjust
3754
3755 2003-12-15  Angus Leeming  <leeming@lyx.org>
3756
3757         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3758         than getFromGUIName to manipulate the color.
3759
3760 2003-12-14  Angus Leeming  <leeming@lyx.org>
3761
3762         * BranchList.[Ch]: minimize the API.
3763         (Branch::getBranch, getColor): now return a 'const &'.
3764         (Branch::setSelected) now returns a bool set to true if the
3765         selection status changes.
3766         (BranchList::clear, size, getColor, setColor, setSelected,
3767         allBranches, allSelected, separator): removed.
3768         (BranchList::find): new functions, returning the Branch with
3769         the given name.
3770         (BranchList::add, remove): return a bool indicating that
3771         the operation was successful.
3772
3773         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3774         new InsetBranch::isBranchSlected member function.
3775
3776         * LColor.[Ch]: mimimize the API.
3777         (fill): renamed as addColor and made private.
3778         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3779         versions of these functions taking a string arg have been removed.
3780
3781         * bufferparams.C (readToken):
3782         * lyxfunc.C (dispatch):
3783         * lyxrc.C (read): changes due to the altered BranchList and
3784         LColor APIs.
3785
3786         * factory.C (createInset, readInset): changes due to altered
3787         InsetBranch c-tor.
3788
3789 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3790
3791         * factory.C:
3792         * lyxfunc.C: remove insetminipage. "minipage-insert"
3793         now produces a frameless minipage box inset.
3794
3795 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3796
3797         * textcursor.[Ch] (selStart,selEnd): add new methods
3798         remove selection::start, end, use LyXCursor::operator<
3799         * lyxcursor.[Ch] (operator<): add
3800         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3801         * BufferView.[Ch] (unsetXSel): add
3802         * text2.C (clearSelection): use unsetXSel,adjust
3803         * text.C: adjust
3804         * text3.C: adjust
3805         * rowpainter.C: adjust
3806         * bufferview_funcs.C (put_selection_at): adjust
3807
3808 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3809
3810         * BufferView_pimpl.C: small coord. correction
3811
3812 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3813
3814         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3815         dragging over the splash screen.
3816
3817 2003-12-11  Angus Leeming  <leeming@lyx.org>
3818
3819         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3820         as it is now handled in LyXText::dispatch.
3821
3822         * text3.C (doInsertInset): remove a level of nesting.
3823
3824 2003-12-11  Angus Leeming  <leeming@lyx.org>
3825
3826         * factory.C (createInset): changes due to the changed interface to
3827         InsetCommandMailer::string2params.
3828
3829 2003-12-10  Angus Leeming  <leeming@lyx.org>
3830
3831         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3832         'dialog-show-new-inset <inset name>'
3833
3834 2003-12-10  Angus Leeming  <leeming@lyx.org>
3835
3836         * buffer.C: up the format to 227.
3837
3838         * factory.C: the box inset is now identified simply by 'Box'.
3839
3840 2003-12-10  Angus Leeming  <leeming@lyx.org>
3841
3842         * buffer.C: up the format to 226.
3843
3844         * factory.C: the note inset is now identified simply by 'Note'.
3845
3846 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3847
3848         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3849         when a pit is enough. Standarize a couple of loops.
3850
3851 2003-12-05  Angus Leeming  <leeming@lyx.org>
3852
3853         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3854         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3855         data to the re-worked "log" dialog.
3856
3857 2003-12-03  André Pönitz  <poenitz@gmx.net>
3858
3859         * PosIterator.C:
3860         * iterators.C:
3861         * lyxtext.h:
3862         * output_latex.C:
3863         * paragraph_funcs.C:
3864         * text.C:
3865         * text2.C: use Inset::getText instead of Inset::getParagraph
3866
3867 2003-12-03  André Pönitz  <poenitz@gmx.net>
3868
3869         * buffer.[Ch]:
3870         * lyxtext.h:
3871         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3872         InsetText::read() as LyXText::read()
3873
3874 2003-12-02  Angus Leeming  <leeming@lyx.org>
3875
3876         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3877         type. Add a comment in the implementation that the function uses
3878         the stream's bad() function rather than fail() as the std::streams
3879         would do.
3880
3881 2003-12-02  André Pönitz  <poenitz@gmx.net>
3882
3883         * lyxlex.[Ch]: make interface more similar to std::stream
3884
3885         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3886
3887 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3888
3889         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3890
3891 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3892
3893         * vspace.[Ch]: remove VSpace::NONE
3894
3895 2003-12-01  André Pönitz  <poenitz@gmx.net>
3896
3897         * buffer.[Ch]:
3898         * lyxtext.h: move ParagraphList member to LyXText
3899         rename LyXText::ownerParagraphs to LyXText::paragraph
3900
3901         * CutAndPaste.C:
3902         * bufferview_funcs.C:
3903         * iterators.[Ch]:
3904         * lyx_cb.C:
3905         * paragraph.C:
3906         * rowpainter.C:
3907         * tabular.C:
3908         * text.C:
3909         * text2.C:
3910         * text3.C: adjust
3911
3912         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3913
3914         * undo.C: fix cursor positioning
3915
3916 2003-12-01  John Levon  <levon@movementarian.org>
3917
3918         * BufferView_pimpl.C: fix a crash on exit with
3919         a buffer open
3920
3921 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3922
3923         * BranchList.C: fix setSelected() method.
3924
3925 2003-11-28  André Pönitz  <poenitz@gmx.net>
3926
3927         * ParagraphParameters.[Ch]:
3928         * ParameterStruct.h: remove space above/below from Paragraph to
3929          InsetVSpace
3930
3931         * BufferView_pimpl.C:
3932         * factory.C:
3933         * lyxfunc.C:
3934         * lyxtext.h:
3935         * output_latex.C:
3936         * paragraph.C:
3937         * paragraph_funcs.C:
3938         * rowpainter.[Ch]:
3939         * text.C:
3940         * text2.C:
3941         * text3.C: adjust
3942
3943 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3944
3945         * factory.C: Syntax change for CharStyles
3946
3947 2003-11-28  André Pönitz  <poenitz@gmx.net>
3948
3949         * BufferView.[Ch]:
3950         * BufferView.[Ch]:
3951         * buffer.[Ch]:
3952         * buffer.[Ch]: move LyXText member
3953
3954 2003-11-28  André Pönitz  <poenitz@gmx.net>
3955
3956         * BufferView.[Ch]: make LyXText * text a private member
3957
3958         * BufferView_pimpl.C:
3959         * cursor.C:
3960         * iterators.C:
3961         * lyx_cb.C:
3962         * lyxfind.C:
3963         * lyxtext.h:
3964         * rowpainter.[Ch]:
3965         * text.C:
3966         * text2.C:
3967         * undo.C: adjust
3968
3969         * output_plaintext.C: cleanup
3970
3971 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3972
3973         * buffer.C:
3974         * lyxtextclass.[Ch]: parametrize SGML document header
3975
3976 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3977
3978         * converter.[Ch]:
3979         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3980         getFlavor().
3981
3982 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3983
3984         * text2.C (setFont): rework using PosIterator (no more recursive)
3985         (setCharFont): no more needed
3986         (setLayout): no more selection cursors fiddling (done by redoCursor)
3987         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3988         destroy remaining ones)
3989
3990 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3991
3992         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3993         * lyxtext.h: ditto
3994         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3995         selection cursors
3996         * lyxfunc.C: adjust
3997         * text3.C: adjust + re-allow multi par depth changes
3998         * textcursor.C: simplify a bit
3999
4000 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4001
4002         * src/buffer.C:
4003         * src/lyxlayout.C:
4004         * src/lyxlayout.h:
4005         * src/lyxtext.h:
4006         * src/output_docbook.C:
4007         * src/output_latex.C:
4008         * src/paragraph.C:
4009         * src/paragraph.h:
4010         * src/sgml.C:
4011         * src/sgml.h:
4012         * src/text2.C: Introducing a number of tags parametrizing various
4013         XML formats that we may want to support
4014
4015 2003-11-25  André Pönitz  <poenitz@gmx.net>
4016
4017         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4018
4019         * lyxtext.h (leftMargin/rightMargin): simplify interface
4020
4021         * rowpainter.C:
4022         * text.C:
4023         * text2.C:
4024         * text3.C: adjust
4025
4026 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4027
4028         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4029         master file to any child files. Fixes bug 546.
4030
4031 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4032
4033         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4034
4035 2003-11-24  André Pönitz  <poenitz@gmx.net>
4036
4037         * rowpainter.C: simplification
4038
4039         * text2.C (updateCounters): remove call to redoParagraph on
4040         changed labels as this is far too expensive.
4041
4042 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4043
4044         * converter.C (convert): fix a crash: this function gets
4045         called with buffer == 0 from importer code.
4046
4047 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
4048
4049         * text3.C (cursorPrevious): make sure that we do not compare
4050         iterators form different containers.
4051         (cursorNext): ditto
4052
4053         * rowpainter.C (paintSelection): make sure that we do not compare
4054         iterators from different containers.
4055
4056         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4057         iterators from different ParagraphList containers.
4058         [NEXT] ditto
4059
4060         * text2.C (LyXText): change order of initialization slightly
4061         (operator=): new function. copy all variables except cache_par_
4062         (moveUp): make sure that we do not compare iterators from
4063         different ParagraphList constainers.
4064         (moveDown): ditto
4065
4066         * text.C (firstPar): new function
4067         (lastPar): new function
4068         (endPar): new function
4069
4070         * lyxtext.h: move things around and group public functions, public
4071         variables, private functions, private variables
4072
4073 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4074
4075         * factory.C: change call to InsetERT constructor to avoid
4076         additional invocation of method status
4077         * text2.C (toggleInset): remove redundant update() call
4078         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4079         instead of a Bufferview pointer
4080
4081 2003-11-21  André Pönitz  <poenitz@gmx.net>
4082
4083         * rowpainter.C: simplification
4084
4085 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4086
4087         * text3.C (dispatch): make possible to extend a word/row selection
4088         with the mouse
4089
4090 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4091
4092         * lyxtext.h: x0_,y0_ -> xo_,yo_
4093         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4094         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4095         * rowpainter.C (paintRows): paint full paragraphs
4096
4097 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4098
4099         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4100         screen coordinates)
4101
4102 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4103
4104         * lyxtext.h: add x0_, y0_
4105         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4106         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4107
4108 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4109
4110         * text2.C (setCursorIntern): move the x_target update here *
4111         * text3.C: change some bv() to true/false in calls to
4112         cursorUp/Down/Right/Left
4113         * cursor.C: use helper function.
4114
4115 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4116
4117         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4118         * paragraph_funcs.[Ch]: correct comment
4119         * rowpainter.C: do not paint selections away from bv->cursor()
4120         Fix a long standing selection painting bug.
4121         * text3.C: generalize mouse-selection code to LyXTexts other that
4122         top one
4123         * textcursor.C: do not use y coords if we can use par offsets
4124
4125 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4126
4127         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4128         cursor position after e.g. inset insert)
4129
4130 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4131
4132         * lyxfind.C (replace): adjust to locking removal + some
4133         code simplification
4134
4135 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4136
4137         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4138         of the path
4139
4140 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4141
4142         * lyxlayout.[Ch]:
4143         * output_docbook.C: XML sanitation: new layout
4144         parameters InnerTag and CommandDepth
4145
4146 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4147
4148         * BufferView_pimpl.C:
4149         * factory.C:
4150         * text3.C: Fix the insertion and modification of button-style
4151         insets
4152
4153 2003-11-13  André Pönitz  <poenitz@gmx.net>
4154
4155         * InsetList.[Ch]: remove deleteLyXText
4156
4157         * paragraph.[Ch]: cache beginOfBody position
4158
4159         * Bidi.C:
4160         * text.C:
4161         * text2.C:
4162         * text3.C: remove superfluous update() calls
4163
4164         * vspace.C: cleanup
4165
4166 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4167
4168         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4169         * BufferView.C (fitLockedInsetCursor): remove
4170         * cursor.[Ch] (getDim): add
4171         * text.C (getRowNearY): add faster version
4172         * text3.C: remove some update calls
4173
4174 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4175
4176         * LaTeXFeatures.C:
4177         * LyXAction.C:
4178         * MenuBackend.C:
4179         * MenuBackend.h:
4180         * dispatchresult.h:
4181         * factory.C:
4182         * lfuns.h:
4183         * lyxfunc.C:
4184         * lyxtextclass.C:
4185         * lyxtextclass.h:
4186         * text3.C: The Character Style /XML short element patch.
4187
4188 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4189
4190         * text3.C:
4191         * factory.C: Small step to solving 'unable to insert some insets'
4192         problem
4193
4194 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4195
4196         * cursor.[Ch] (updatePos): new function for updating the y
4197         position of the tip inset
4198         * bufferview_funcs.C (put_selection_at):
4199         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4200
4201 2003-11-11  André Pönitz  <poenitz@gmx.net>
4202
4203         * text.C: remove big comment on invalid Paragraph pointers as it is
4204         not valid anymore
4205
4206 2003-11-11  André Pönitz  <poenitz@gmx.net>
4207
4208         * text_funcs.[Ch]: merge with ...
4209
4210         * text.C: ... this
4211
4212         * lyxtext.h:
4213         * text2.C:
4214         * text3.C: adjust
4215
4216         * Makefile.am: remove text_funcs.[Ch]
4217
4218 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4219
4220         * cursor.C (getPos): return absolute cached y coord
4221
4222         * BufferView_pimpl.C (fitCursor): new simplistic code
4223         (workAreaDispatch): add a fitCursor call
4224
4225 2003-11-10  André Pönitz  <poenitz@gmx.net>
4226
4227         * BufferView.[Ch]:
4228         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4229
4230 2003-11-10  André Pönitz  <poenitz@gmx.net>
4231
4232         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4233         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4234         indicate that the cursor needs to leave an inset
4235
4236         * lyxtext.h: remove inset locking
4237
4238         * cursor.[Ch]: re-implement functionality provided by inset locking
4239
4240         * BufferView.[Ch]:
4241         * BufferView_pimpl.[Ch]:
4242         * LyXAction.C:
4243         * bufferview_funcs.[Ch]:
4244         * factory.C:
4245         * funcrequest.[Ch]:
4246         * iterators.C:
4247         * lyx_cb.C:
4248         * lyxfind.C:
4249         * lyxfunc.C:
4250         * text.C:
4251         * text2.C:
4252         * text3.C:
4253         * undo.C: adjust
4254
4255 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4256
4257         * PosIterator.[Ch]: replace the stack with a vector, add inset
4258         accesor
4259         * iterators.[C]: adjust
4260
4261 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4262
4263         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4264         replaced
4265         * paragraph_funcs.C (readParToken): put the correct id in the
4266         error item, not the id of the top paragraph
4267
4268 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4269
4270         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4271         * bufferview_funcs.C (put_selection_at): use the above
4272
4273 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4274
4275         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4276
4277 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4278
4279         * output_linuxdoc.h:
4280         * output_plaintext.h:
4281         * output.h:
4282         * output_docbook.h: add #include statements
4283
4284 2003-11-05  José Matos  <jamatos@lyx.org>
4285
4286         * output_docbook.[Ch]:
4287         * output_latex.[Ch]:
4288         * output_linuxdoc.[Ch]:
4289         * output_plaintext.[Ch]: New files for output formats.
4290         * output.[Ch]: New file for helper functions.
4291
4292         * buffer.[Ch]:
4293         * paragraph_funcs.[Ch]: output functions moved to new files.
4294
4295         * outputparams.h: rename of latexrunparams.h
4296
4297         * LaTeX.[Ch]:
4298         * buffer.[Ch]:
4299         * bufferlist.[Ch]:
4300         * converter.[Ch]:
4301         * exporter.C:
4302         * paragraph.[Ch]:
4303         * paragraph_funcs.[Ch]:
4304         * paragraph_pimpl.[Ch]:
4305         * tabular.[Ch]: rename ascii to plaintext
4306         and LatexRunParams to OutputParams.
4307
4308 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4309
4310         * iterators.[Ch] (text): require bv argument
4311         * undo.C (recordUndo):
4312         * lyxfunc.C (dispatch):
4313         * bufferview_funcs.C (put_selection_at): adjust
4314
4315 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4316
4317         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4318
4319 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4320
4321         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4322         nestings
4323
4324 2003-11-04  André Pönitz  <poenitz@gmx.net>
4325
4326         * cursor.[Ch]: restructure
4327
4328         * BufferView.[Ch]:
4329         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4330
4331         * iterators.[Ch] (asCursor): remove
4332
4333         * lfuns.h: remove LFUN_INSET_EDIT
4334
4335         * lyxfunc.C:
4336         * tabular.C:
4337         * text.C:
4338         * text2.C:
4339         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4340
4341 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4342
4343         * lyxfind.[Ch]: complete overhaul
4344         * BufferView_pimpl.C:
4345         * lyxfunc.C: adjust
4346         * paragraph.[Ch] (insert): add
4347
4348 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4349
4350         * BufferView.[Ch]:
4351         * lyxtext.h:
4352         * text.C: remove dead spellcheck code
4353
4354 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4355
4356         * dispatchresult.h: add a val setter
4357
4358         * cursor.C (dispatch): use a tempvar for data_[i]
4359
4360 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4361
4362         * PosIterator.[Ch]: compile fix
4363
4364 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4365
4366         * text.C (cursorPar): deactivate the cursor cache
4367
4368 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4369
4370         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4371
4372 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4373
4374         * text3.C (dispatch): adjust for new DisptchResult semantics.
4375
4376         * lyxfunc.C (dispatch): handle update when return from
4377         Cursor::dispatch, adjust for new DispatchResult semantics.
4378
4379         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4380         DispatchResult(true) mean to not update. Add class functions for
4381         setting dispatched and update, as well as reading.
4382
4383         * cursor.C (dispatch): don't handle update here
4384
4385 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4386
4387         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4388         * trans_mgr.C: adjust
4389
4390         * paragraph_funcs.C (readParToken): exception safety
4391
4392         * lyxvc.h: store the vcs pointer in a scoped_ptr
4393         * lyxvc.C: adjust
4394
4395         * lyxsocket.C (serverCallback): exception safety
4396
4397         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4398
4399         * ispell.C (clone): make it return a auto_ptr
4400
4401         * factory.C (createInset): exception safety
4402         (readInset): exception safety
4403
4404         * bufferlist.C (newBuffer): exception safety
4405
4406         * Thesaurus.C (Thesaurus): use initialization for aik_
4407
4408         * MenuBackend.C (expandToc): exception safety.
4409
4410 2003-11-03  André Pönitz  <poenitz@gmx.net>
4411
4412         * buffer.C:
4413         * buffer.h:
4414         * bufferview_funcs.C: remove getInsetFromId()
4415
4416         * lyxcursor.[Ch]:
4417         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4418
4419         * lyxfunc.C:
4420         * text2.C:
4421         * text3.C: adjust
4422
4423 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4424
4425         * PosIterator.C (distance, advance): new
4426         * bufferview_funcs.[Ch] (put_selection_at): new
4427         * iterators.[Ch] (lockPath): new
4428
4429 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4430
4431         * iterators.[Ch] (asPosIterator): added
4432         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4433         * PosIterator.[Ch]: added
4434
4435 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4436
4437         * text3.C:
4438         * lyxfunc.C:
4439         * cursor.C (dispatch):
4440         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4441
4442         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4443         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4444         contructor, add a class function dispatched. Remove operator>=
4445
4446 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4447
4448         * debug.C: only use the default constructor for debugstream
4449         (lyxerr) here.
4450
4451         * main.C (main): include debug.h and setup the lyxerr streambuf
4452         here.
4453
4454 2003-10-31  José Matos  <jamatos@lyx.org>
4455
4456         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4457
4458         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4459         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4460         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4461         * paragraph_pimpl.C (simpleTeXSpecialC):
4462         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4463         add LatexRunParams argument.
4464
4465         * exporter.C (Export): change call accordingly.
4466
4467         * latexrunparams.h: add new member to take care of the other backends.
4468 2003-10-30  José Matos  <jamatos@lyx.org>
4469
4470         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4471         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4472         factorise code for paragraph output.
4473         * buffer.[Ch]:
4474         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4475         move functions.
4476
4477 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4478
4479         * text3.C (dispatch):
4480         * lyxfunc.C (dispatch):
4481         * cursor.C (dispatch):
4482         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4483
4484         * dispatchresult.h: make the dispatch_result_t ctor explicit
4485
4486 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4487
4488         * sgml.[Ch]:
4489         * buffer.C: small refactoring of docbook stuff
4490
4491 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4492
4493         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4494         meaning.
4495
4496 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4497
4498         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4499         operator dispatch_result_t, and operators for == != and >=
4500
4501         * cursor.C (dispatch): adjust for operator dispatch_result_t
4502         removal. comment out call to update
4503
4504         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4505
4506 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4507
4508         * text3.C:
4509         * text2.C:
4510         * text.C:
4511         * lyxtext.h:
4512         * lyxfunc.C:
4513         * cursor.C:
4514         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4515         (dispatch):
4516
4517         * dispatchresult.h: new file, DispatchResult broken out of
4518         insets/insetbase.h
4519
4520         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4521
4522 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4523
4524         * text.C (rowBreakPoint): put a hack inside #if 0
4525
4526 2003-10-28  André Pönitz  <poenitz@gmx.net>
4527
4528         * lyxtext.h:
4529         * metricsinfo.C:
4530         * paragraph_funcs.C:
4531         * rowpainter.C:
4532         * text.C:
4533         * text2.C: general cleanup (lots of small stuff)
4534
4535 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4536
4537         * text2.C (cursorEnd): simple fix to the "end key goes to one
4538         before the end on last row" bug
4539
4540 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4541
4542         * text.C (backspace): fix the "zombie characters"
4543
4544 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4545
4546         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4547
4548 2003-10-27  André Pönitz  <poenitz@gmx.net>
4549
4550         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4551
4552         * factory.C: handle new InsetPagebreak, InsetLine
4553
4554         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4555         and move handling into new InsetPagebreak, InsetLine
4556
4557         * BufferView_pimpl.C:
4558         * LyXAction.C:
4559         * ParagraphParameters.C:
4560         * ParameterStruct.h:
4561         * lyxfunc.C:
4562         * lyxtext.h:
4563         * paragraph.C:
4564         * paragraph.h:
4565         * paragraph_funcs.C:
4566         * paragraph_pimpl.C:
4567         * rowpainter.C:
4568         * text.C:
4569         * text2.C:
4570         * text3.C: adjust
4571
4572 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4573
4574         * text.C:
4575         * lyxrow_funcs.[Ch]:
4576         * Bidi.C:
4577         * paragraph.C:
4578         * lyxtext.h:
4579         * rowpainter.C:
4580         * text2.C:
4581         * text3.C: remove lastPos uses in favour of Row::endpos
4582
4583 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4584
4585         * undo.C (performUndoOrRedo): fix two crashes by setting a
4586         cursor by hand and reordering some calls. Use bv->lockInset instead
4587         of inset->edit because the latter loses cursor information
4588
4589 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4590
4591         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4592         by Martin
4593         (rowBreakPoint): fix width. change point to point + 1.
4594         Add a missing check.
4595
4596 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4597
4598         * MenuBackend.C:
4599         * lyxfunc.C: fix (at least partly) the problems
4600         with the Nav menu and headers inside branch insets
4601         reported by Kayvan
4602
4603 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4604
4605         * paragraph.C (getChar): add strong asserts
4606
4607         * lyxrow_funcs.C (lastPos): remove hideous hack
4608
4609         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4610         (fill): adjust to that (avoid an infinite loop)
4611
4612 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4613
4614         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4615
4616 2003-10-23  André Pönitz  <poenitz@gmx.net>
4617
4618         * RowList_fwd.h: change list<> to vector<> to gain speed
4619         after suggestion from Alfredo
4620
4621 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4622
4623         * lyxtext.h: move the bidi stuff from here...
4624         * text.C: and here
4625         * text2.C: and here
4626         * Bidi.[Ch]: ... to here
4627
4628 2003-10-23  André Pönitz  <poenitz@gmx.net>
4629
4630         * lyxtext.h:
4631         * text.C (isLastRow, isFirstRow): new functions
4632
4633         * paragraph.h: new width cache member
4634
4635         * rowpainter.C: replace RowList::iterator with Row & where possible
4636
4637         * lyxfunc.C: replace several view()->text with a single call
4638
4639         * toc.C: fix 'unused' warning
4640
4641 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4642
4643         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4644         when woring with stream::pos_type
4645         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4646
4647 2003-10-22  André Pönitz  <poenitz@gmx.net>
4648
4649         * lyxtext.h:
4650         * text.C: use Row & instead of RowList::iterator
4651
4652         * lyxrow.h: rename end() to endpos()
4653
4654         * rowpainter.C:
4655         * text.C:
4656         * text2.C: adjust
4657
4658 2003-10-22  Angus Leeming  <leeming@lyx.org>
4659
4660         * buffer.[Ch] (fully_loaded): new member function, returning true
4661         only when the file has been loaded fully.
4662         Used to prevent the premature generation of previews and by the
4663         citation inset to prevent computation of the natbib-style label.
4664
4665         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4666         templates are all set up.
4667
4668         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4669
4670 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4671
4672         * text.C: fixed an "oops" in the "is a bit silly"
4673         bug fix
4674
4675 2003-10-21  André Pönitz  <poenitz@gmx.net>
4676
4677         * FuncStatus.[Ch]: small stuff, whitespace
4678
4679         * lyxfont.[Ch]: operator<<() for debug reasons
4680
4681         * lyxfunc.C:
4682         * lyxrow_funcs.C:
4683         * lyxtext.h: whitespace, spelling
4684
4685         * paragraph.C: naming of variables
4686
4687         * text.C:
4688         * text2.C: small stuff
4689
4690
4691 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4692
4693         * text.C: (1) finish off the inset display() work;
4694         (2) fix the "is a bit silly" bug (accessing char
4695         past end of par).
4696
4697 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4698
4699         * text.C: re-introduce display() for insets, fixing the
4700         various bugs (stretch of line above, math inset
4701         positioning, ...)
4702
4703 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4704
4705         * text.C (rightMargin): remove spurious semicolon
4706
4707         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4708         1415)
4709
4710 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4711
4712         * text3.C: fix one crash due to wrong cursor def
4713
4714 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4715
4716         * vc-backend.C (scanMaster): make the regex static
4717
4718         * LaTeX.C (scanAuxFile): make the regexs static
4719
4720         * text3.C (doInsertInset, dispatch, dispatch):
4721         * text2.C (cursorUp, cursorDown):
4722         * text.C (selectNextWordToSpellcheck):
4723         * BufferView_pimpl.C (dispatch):
4724         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4725
4726 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4727
4728         * lyxsocket.C: include <cerrno>
4729
4730 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4731
4732         * lyxfunc.C (dispatch): remove textcache stuff
4733
4734         * bufferlist.C (release): remove textcache stuff
4735         (closeAll): ditto
4736
4737         * TextCache.C: delete file
4738         * TextCache.h: delete file
4739
4740         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4741
4742         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4743         delete of the bv_->text.
4744         (resizeCurrentBuffer): remove texcache stuff
4745         (workAreaResize): ditto
4746
4747 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4748
4749         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4750         action.
4751
4752 2003-10-16  André Pönitz  <poenitz@gmx.net>
4753
4754         * lyxrow.[Ch]:
4755         * paragraph.h:
4756         * rowpainter.C:
4757         * text.C:
4758         * text2.C:
4759         * text3.C: speed up by storing y positions per paragraph plus per-row
4760         offset instead of having a 'full' y position in the row.
4761
4762 2003-10-15  André Pönitz  <poenitz@gmx.net>
4763
4764         * iterators.[Ch]:
4765         * iterators.[Ch]:
4766         * undo.[Ch]: make undo aware of inner insets
4767
4768 2003-10-14  Angus Leeming  <leeming@lyx.org>
4769
4770         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4771         static member functions LyX::ref() and LyX::cref.
4772         (lastfiles): new accessor functions for the new lastfiles_ member var.
4773         (addLyXView, views_): add a new LyXView to the list of views_.
4774         (updateInset): loop over all LyXViews to call their own updateInset
4775         member function, returning a pointer to the Buffer owning the inset.
4776
4777         * BufferView_pimpl.C (loadLyXFile):
4778         * MenuBackend.C (expandLastfiles):
4779         * bufferlist.C (MenuWrite, QuitLyX):
4780         lastfiles is no longer a global variable.
4781         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4782
4783         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4784         static function. Access through LyX::cref().emergencyCleanup().
4785
4786 2003-10-14  André Pönitz  <poenitz@gmx.net>
4787
4788         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4789
4790         * undo.[Ch]: restoring part of 'undo in insets'
4791
4792         * Makefile.am:
4793         * undo_funcs.[Ch]: merge with undo.[Ch]
4794
4795         * tabular.C: small cleansing stuff
4796
4797 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4798
4799         * paragraph_funcs.C (readParToken): report unknown insets as error
4800         boxes. Use the outer paragraph as location (also for unknown
4801         tokens).
4802
4803         * factory.C (readInset): do not abort on reading an unknown inset.
4804         Eat it and return 0.
4805
4806 2003-10-13  Angus Leeming  <leeming@lyx.org>
4807
4808         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4809
4810         * lyxrc.C: displayTranslator is now a function,
4811         declared in GraphicsTypes.h.
4812
4813 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4814
4815         * format.C: new placeholder $$a to pass the socket address.
4816
4817         * bufferlist.[Ch]: new function getBufferFromTmp.
4818
4819         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4820           files in the temporary dir.
4821
4822 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4823
4824         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4825
4826         * Makefile.am: add lyxsocket.[Ch].
4827
4828         * lyx_main.C (error_handler): handle SIGPIPE.
4829
4830 2003-10-13  André Pönitz  <poenitz@gmx.net>
4831
4832         * BufferView_pimpl.C:
4833         * lyxtext.h:
4834         * text.C:
4835         * text2.C:
4836         * text3.C:
4837         * undo_funcs.[Ch]: use paroffset_type instead of
4838           ParagraphList::iterators to prevent multiple conversion
4839           (and get a more robust interface)
4840
4841 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4842
4843         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4844         * lyxtext.h: ditto
4845         * text3.C (dispatch): ditto
4846
4847 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4848
4849         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4850         move the onlyfile, use onlyfile instead of foundfile in a couple
4851         of places.
4852
4853         * DepTable.C (update): flush the error stream a bit more
4854
4855 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4856
4857         * lyxserver.C (callback): adjust
4858
4859         * lyxfunc.C (getStatus): add a missing brace in commented code
4860         (ensureBufferClean): reindent
4861         (dispatch): delete version taking a string
4862
4863 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4864
4865         * LaTeX.C (deplog): move found file handlig from here...
4866         (handleFoundFile): .. to new function here.
4867         (deplog): make sure to discover several files mentioned on the
4868         same log line.
4869
4870 2003-10-10  André Pönitz  <poenitz@gmx.net>
4871
4872         * lyxfunc.C:
4873         * lyxtext.h:
4874         * tabular.C:
4875         * text.C:
4876         * text2.C:
4877         * text3.C: fix some of the tabular crashes
4878
4879 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4880
4881         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4882
4883         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4884
4885 2003-10-09  André Pönitz  <poenitz@gmx.net>
4886
4887         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4888
4889         * BufferView.C:
4890         * BufferView_pimpl.C:
4891         * bufferview_funcs.C:
4892         * lyx_cb.C:
4893         * lyxcursor.C:
4894         * lyxfind.C:
4895         * lyxfunc.C:
4896         * lyxtext.h:
4897         * text.C:
4898         * text2.C:
4899         * text3.C:
4900         * text_funcs.[Ch]:
4901         * textcursor.[Ch]:
4902         * undo_funcs.C: adjust
4903
4904 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4905
4906         * text2.C (incrementItemDepth): new function, use a backtracking
4907         algorithm to discover the correct item depth.
4908         (resetEnumCounterIfNeeded): new function, use a backtracking
4909         algorithm to discover if counter reset is needed.
4910         (setCounter): use them. Simplify a bit. Add different labels for
4911         different item depths for itemize.
4912
4913         * paragraph.C (Paragraph): remove initialization of enumdepth
4914         (operator=): ditto
4915
4916         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4917         enumerate and itemize. Change the type of itemdepth to signed char.
4918
4919 2003-10-08  André Pönitz  <poenitz@gmx.net>
4920
4921         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4922           thing assignable.
4923         * text.C:
4924         * text2.C: adjust
4925
4926         * tabular.[Ch]: fix crash after 'row-insert'
4927
4928 2003-10-08  Angus Leeming  <leeming@lyx.org>
4929
4930         Fix doxygen warnings.
4931
4932         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4933         Remove CutAndPaste:: prefix from header file declaration.
4934
4935         * LColor.h (fill): remove LColor:: prefix from declaration.
4936
4937         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4938         use lyx::depth_type rather than Paragraph::depth_type so that
4939         header file and .C file match.
4940
4941         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4942
4943         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4944         * aspell.C: \file aspell_local.C -> \file aspell.C
4945         * gettext.C: \file gettext.C -> \file src/gettext.C
4946         * gettext.h: \file gettext.h -> \file src/gettext.h
4947         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4948         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4949         * text.C: \file text.C -> \file src/text.C
4950
4951         * toc.C: move comment so that doxygen is not confused.
4952
4953 2003-10-07  Angus Leeming  <leeming@lyx.org>
4954
4955         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4956
4957 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4958
4959         * aspell.C:
4960         * aspell_local.h: add forgotten std::string's.
4961
4962 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4963
4964         * LaTeXFeatures.C:
4965         * LyXAction.C:
4966         * factory.C:
4967         * lfuns.h:
4968         * lyxfunc.C:
4969         * text3.C: The Box patch. Fancybox support, minipage, parbox
4970
4971 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4972
4973         * CutAndPaste.h:
4974         * DepTable.h:
4975         * FloatList.h:
4976         * LaTeXFeatures.h:
4977         * ParagraphParameters.h:
4978         * TextCache.h:
4979         * Thesaurus.h:
4980         * bufferlist.h:
4981         * exporter.h:
4982         * importer.h:
4983         * lastfiles.h:
4984         * lyxfind.h:
4985         * lyxfont.h:
4986         * lyxlex.h:
4987         * lyxtextclasslist.h:
4988         * messages.h:
4989         * paragraph.h:
4990         * paragraph_pimpl.C:
4991         * textcursor.h: add <string> and other small fixes to make Lars'
4992         std::string patch compile with STLport.
4993
4994 2003-10-06  Angus Leeming  <leeming@lyx.org>
4995
4996         * LColor.h: Add missing #include <string>.
4997
4998 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4999
5000         * All most all file in all subdirs: Make <string> be the prefered
5001         way of getting to std::string, add using declarations.
5002
5003 2003-10-06  André Pönitz  <poenitz@gmx.net>
5004
5005         * metricsinfo.C: initialize LyXFont before changing attribute.
5006         (fixes the 'math in \emph is upright' bug)
5007
5008 2003-10-06  André Pönitz  <poenitz@gmx.net>
5009
5010         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5011
5012 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5013
5014         * graph.C:
5015         * paragraph_pimpl.C: Small fixes to build using STLport
5016
5017 2003-10-02  André Pönitz  <poenitz@gmx.net>
5018
5019         * lyxfunc.C:
5020         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5021
5022 2003-10-01  André Pönitz  <poenitz@gmx.net>
5023
5024         * factory.C: assert early
5025
5026 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5027
5028         * lyx_main.C: remove the global debug object
5029
5030         * debug.h: adjust for new debugstream
5031
5032         * debug.C: adjust for new debugstream and keep the global debug
5033         object here.
5034
5035 2003-09-22  Angus Leeming  <leeming@lyx.org>
5036
5037         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5038         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5039         an incomplete class LyXFont.
5040
5041 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5042
5043         * factory.C: bug fix in branches
5044
5045 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5046
5047         * lyxfunc.C (processKeySym): adjust
5048         (dispatch): adjust
5049         (dispatch): change arg name from ev to func, adjust
5050         (sendDispatchMessage): ditto
5051
5052         * lyx_main.C (defaultKeyBindings): adjust keybindings
5053         (deadKeyBindings): ditto
5054
5055         * kbsequence.C (addkey): return a FuncRequest
5056
5057         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5058
5059         * kbmap.C (bind): take a FuncRequest as arg, adjust
5060         (read): adjust
5061         (lookup): adjust
5062         (defkey): change to take a FuncRequest as arg, adjust
5063         (findbinding): take a FuncRequest as arg, adjust.
5064
5065         * funcrequest.h (operator=): added
5066
5067         * funcrequest.C (FuncRequest): default kb_action changed from
5068         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5069
5070         * buffer.C (dispatch): simplify
5071         (dispatch): adjust to take a FuncRequest as arg, adjust
5072
5073         * boost.C (assertion_failed): change assertion message slightly
5074
5075         * ToolbarBackend.C (read): simplify
5076
5077         * MenuBackend.C (binding): adjust call to findbinding, add a
5078         message if no binding is found.
5079         (read): simplify
5080         (expandToc): correct by adding a empty FuncRequest
5081
5082         * LyXAction.C: include <boost/assert.hpp>
5083         (isPseudoAction): delete function
5084         (LookupFunc): change name to...
5085         (lookupFunc): this. change return type to FuncRequest.
5086         (getActionName): take kb_action as arg, simplify
5087         (funcHasFlag): add an assert, simplify.
5088
5089 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5090
5091         * toc.C (action): return a FuncRequest, simplify
5092
5093         * lyxfunc.C (processKeySym): adjust
5094         (getStatus): delete version that takes an int.
5095         (getStatus): adjust
5096         (dispatch): delete version that takes action as int
5097         (dispatch): adjust
5098         (sendDispatchMessage): simplify and adjust
5099
5100         * funcrequest.C (getArg): take unsigned int as arg
5101
5102         * ToolbarBackend.C (read): adjust
5103         (add): delete version that takes func as a string.
5104         (getIton): take a FuncRequest as arg
5105
5106         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5107         action.
5108
5109         * MenuBackend.C (MenuItem): add a new construct that only takes a
5110         Kind, simplify the constructor use for submenus.
5111         (add): adjust
5112         (expandLastfiles): adjust
5113         (expandDocuments): adjust
5114         (expandFormats): adjust
5115         (expandFloatListInsert): adjust
5116         (expandFloatInsert): adjust
5117         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5118
5119         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5120         Remove class variables lyx_pseudo_map and lyx_arg_map
5121
5122         * LyXAction.C (searchActionArg): delete function
5123         (getPseudoAction): delete function
5124         (retrieveActionArg): delete function
5125         (LookupFunc): make it return kb_action, simplify.
5126         (getActionName): simplify
5127
5128         * factory.C (createInset): fix new bug
5129
5130 2003-09-19  Angus Leeming  <leeming@lyx.org>
5131
5132         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5133         masterFilename_ parameter in the include inset.
5134
5135         * factory.C (createInset): changes due to the changes to InsetInclude.
5136
5137 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5138
5139         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5140
5141 2003-09-18  Angus Leeming  <leeming@lyx.org>
5142
5143         * buffer.C:
5144         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5145         Inset::fillWithBibKeys.
5146         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5147
5148 2003-09-18  Angus Leeming  <leeming@lyx.org>
5149
5150         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5151         variables.
5152         (ctor): pass and store a 'Buffer const &'
5153         (buffer): new member function.
5154
5155         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5156         '*this' to the LaTeXFeatures ctor.
5157
5158 2003-09-18  Angus Leeming  <leeming@lyx.org>
5159
5160         * LColor.h:
5161         * lyxfont.C:
5162         * lyxfont.h:
5163         * lyxtext.h:
5164         * text.C: rename EnumLColor as LColor_color.
5165
5166 2003-09-18  Angus Leeming  <leeming@lyx.org>
5167
5168         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5169         remove #include "insets/insetbase.h" from cursor.h.
5170
5171 2003-09-18  Angus Leeming  <leeming@lyx.org>
5172
5173         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5174         InsetOld_code to remove #include "inset.h".
5175
5176         * iterators.C: add #include "insets/inset.h"
5177
5178 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5179
5180         * BufferView.C: remove more locking stuff that apparently doesn't
5181         do anything sensible.
5182
5183 2003-09-16  André Pönitz  <poenitz@gmx.net>
5184
5185         * paragraph.[Ch]:
5186         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5187           performance boost.
5188
5189 2003-09-16  Angus Leeming  <leeming@lyx.org>
5190
5191         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5192
5193         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5194         arg/return type.
5195
5196         * paragraph.h: remove #include "lyxfont.h". Forward declare
5197         LyXFont_size.
5198
5199 2003-09-16  Angus Leeming  <leeming@lyx.org>
5200
5201         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5202         of support/textutils.h.
5203         (isWord): move the contents of support/textutils.h's IsWordChar here.
5204
5205         * buffer.C:
5206         * lyxfind.C:
5207         * rowpainter.C:
5208         * text.C:
5209         * text2.C: add #include "paragraph.h".
5210
5211         * rowpainter.C:
5212         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5213
5214 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5215
5216         * main.C:
5217         * lyx_main.C:
5218         * lyx_cb.C:
5219         * buffer.C:
5220         * LaTeX.C: use namespace alias for lyx::support::os
5221
5222 2003-09-16  Angus Leeming  <leeming@lyx.org>
5223
5224         * bufferparams.C:
5225         * bufferview_funcs.C:
5226         * factory.C:
5227         * lyxfunc.C:
5228         * paragraph_pimpl.C:
5229         * rowpainter.C:
5230         * text.C: add #include "LColor.h".
5231
5232 2003-09-16  Angus Leeming  <leeming@lyx.org>
5233
5234         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5235         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5236         return LyXFont &.
5237         Store the FontBits::color variable as an int rather than as an
5238         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5239         file.
5240
5241         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5242         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5243         string calls together.
5244
5245         * lyxrc.C: add #include "LColor.h".
5246
5247 2003-09-15  Angus Leeming  <leeming@lyx.org>
5248
5249         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5250         a cow_ptr.
5251
5252 2003-09-15  Angus Leeming  <leeming@lyx.org>
5253
5254         * LColor.h: add an EnumLColor wrapper for LColor::color.
5255
5256         * lyxfont.[Ch] (color, setColor, realColor):
5257         * lyxtext.h, text.C (backgroundColor):
5258         pass EnumLColor args to/from the functions, rather than LColor::color
5259         ones.
5260
5261         * lyxfont.h:
5262         * lyxtext.h: forward declare EnumLColor.
5263
5264         * lyx_main.C: add #include "LColor.h".
5265
5266 2003-09-15  Angus Leeming  <leeming@lyx.org>
5267
5268         * .cvsignore: add lyx-gtk.
5269
5270 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5271
5272         * Chktex.C
5273         * LaTeX.C
5274         * LaTeXFeatures.C
5275         * ParagraphParameters.C
5276         * Spacing.C
5277         * buffer.C
5278         * bufferparams.C
5279         * bufferview_funcs.C
5280         * chset.C
5281         * counters.C
5282         * funcrequest.C
5283         * lyxfont.C
5284         * lyxgluelength.C
5285         * lyxlength.C
5286         * paragraph.C
5287         * paragraph_funcs.C
5288         * text3.C
5289         * vc-backend.C: remove usage of STRCONV
5290
5291 2003-09-15  Angus Leeming  <leeming@lyx.org>
5292
5293         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5294         explicitly define the color passed to the painter.
5295
5296 2003-09-15  Angus Leeming  <leeming@lyx.org>
5297
5298         * bufferparams.C (BufferParams): reorder member initializers to avoid
5299         compiler warning.
5300
5301 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5302
5303         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5304         * text.C (updateRowPositions): remove an unusual nop
5305
5306 2003-09-12  André Pönitz  <poenitz@gmx.net>
5307
5308         * BufferView_pimpl.C:
5309         * Bullet.C:
5310         * layout.h:
5311         * lyxfunc.C:
5312         * lyxlayout.[Ch]:
5313         * lyxtextclass.C:
5314         * rowpainter.C:
5315         * text.C:
5316         * text2.C:
5317         * Counters.[Ch]: finish the 'automatic counters' job
5318
5319 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5320
5321         * aspell.C: include <boost/assert.cpp> (compile fix)
5322
5323 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5324
5325         * boost.C (assertion_failed): use lyx::support::abort instead of
5326         assert.
5327
5328 2003-09-10  Angus Leeming  <leeming@lyx.org>
5329
5330         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5331         with their _fwd progeny.
5332
5333 2003-09-09  Angus Leeming  <leeming@lyx.org>
5334
5335         134 files throughtout the source tree: replace 'using namespace abc;'
5336         directives with the appropriate 'using abc::xyz;' declarations.
5337
5338 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5339
5340         * boost.C (emergencyCleanup): moved here from LAssert.c
5341         (assertion_failed): new function, called by BOOST_ASSERT
5342
5343         * several files: change Assert to BOOST_ASSERT
5344
5345 2003-09-09  Angus Leeming  <leeming@lyx.org>
5346
5347         * buffer.[Ch]: Add an Impl class and move Buffer's member
5348         variables into it. As a result move several header files out of
5349         buffer.h.
5350
5351         Add header files to lots of .C files all over the tree as a result.
5352
5353 2003-09-09  Angus Leeming  <leeming@lyx.org>
5354
5355         * buffer.[Ch]: make Buffer's member variables private. Add
5356         accessor functions.
5357
5358         Lots of changes all over the tree as a result.
5359
5360 2003-09-08  Angus Leeming  <leeming@lyx.org>
5361
5362         * graph.C: #include <config.h>.
5363
5364 2003-09-08  Angus Leeming  <leeming@lyx.org>
5365
5366         * BranchList.C:
5367         * BufferView.C:
5368         * BufferView_pimpl.C:
5369         * CutAndPaste.C:
5370         * DepTable.C:
5371         * LaTeX.C:
5372         * LaTeXFeatures.C:
5373         * LyXAction.C:
5374         * MenuBackend.C:
5375         * TextCache.C:
5376         * aspell.C:
5377         * buffer.C:
5378         * bufferlist.C:
5379         * changes.C:
5380         * chset.C:
5381         * converter.C:
5382         * counters.C:
5383         * debug.C:
5384         * graph.C:
5385         * ispell.C:
5386         * lyx_cb.C:
5387         * lyxfind.C:
5388         * lyxfunc.C:
5389         * lyxlex_pimpl.C:
5390         * lyxrc.C:
5391         * lyxrow.C:
5392         * paragraph.C:
5393         * rowpainter.C:
5394         * texrow.C:
5395         * text.C:
5396         * text2.C:
5397         * toc.C: remove redundant using directives.
5398
5399 2003-09-07  Angus Leeming  <leeming@lyx.org>
5400
5401         * LaTeXFeatures.h: remove #include "support/types.h".
5402         * ToolbarBackend.h: remove #include <algorithm>.
5403         * changes.h: remove #include <ctime>.
5404         * debug.h: remove #include <iosfwd>.
5405         * graph.h: remove #include "support/std_string.h".
5406         * lyx_main.h: remove #include <csignal>.
5407         * lyxlex_pimpl.h: remove #include <fstream>.
5408         * sgml.h: remove #include <algorithm>, <utility>.
5409         * toc.h: remove #include "support/std_ostream.h".
5410         Add #include <iosfwd>.
5411
5412 2003-09-07  Angus Leeming  <leeming@lyx.org>
5413
5414         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5415
5416         * converter.h: forward declare LatexRunParams.
5417         * encoding.h: remove #include "lyxrc.h".
5418         * lyxtext.h: remove #include "LColor.h".
5419         * lyxtextclass.h: remove #include "support/types.h".
5420         * trans.h: remove #include "tex-accent.h".
5421         * trans_mgr.h: remove #include "tex-accent.h".
5422         * insets/inset.h: remove #include "support/types.h", <vector>.
5423         * insets/insetcollapsable.h: remove #include "LColor.h".
5424         * insets/insetinclude.h: remove #include "dimension.h".
5425         * insets/insetlatexaccent.h: remove #include "dimension.h".
5426         * insets/insetoptarg.h:: remove #include "insettext.h".
5427         * insets/insettext.h: remove #include "dimension.h",
5428         <boost/shared_ptr.hpp>
5429
5430         * insets/renderers.h: add #include "dimension.h".
5431         * insets/updatableinset.h: add #include "support/types.h".
5432
5433         * many .C files: Associated changes.
5434
5435 2003-09-06  Angus Leeming  <leeming@lyx.org>
5436
5437         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5438         one, inside testInvariant.
5439
5440         * PrinterParams.C: new file.
5441         * PrinterParams.[Ch]: move the function bodies out of line.
5442
5443 2003-09-06  Angus Leeming  <leeming@lyx.org>
5444
5445         * ParagraphParameters.h: forward declare ParameterStruct rather than
5446         including its header file.
5447         (depth): moved out-of-line.
5448
5449 2003-09-06  Angus Leeming  <leeming@lyx.org>
5450
5451         * BufferView_pimpl.h:
5452         * kbmap.h:
5453         * kbsequence.h:
5454         * lyxfunc.h: forward declare LyXKeySym rather than
5455         #include "frontends/LyXKeySym.h".
5456
5457         * BufferView_pimpl.C:
5458         * kbmap.C:
5459         * kbsequence.C:
5460         * lyxfunc.C: associated changes.
5461
5462 2003-09-06  Angus Leeming  <leeming@lyx.org>
5463
5464         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5465         As a result, can remove the #include "insets/inset.h" from BufferView.h
5466
5467 2003-09-06  Angus Leeming  <leeming@lyx.org>
5468
5469         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5470         As a result, can remove the #include "insets/inset.h" from BufferView.h
5471
5472 2003-09-06  Angus Leeming  <leeming@lyx.org>
5473
5474         * buffer_funcs.C:
5475         * buffer.h:
5476         * bufferlist.C:
5477         * BufferView.C:
5478         * bufferview_funcs.C:
5479         * BufferView_pimpl.C:
5480         * CutAndPaste.C:
5481         * lyx_cb.C:
5482         * lyxfunc.C:
5483         * paragraph.h:
5484         * ParagraphParameters.C:
5485         * tabular.C:
5486         * text3.C:
5487         * toc.C:
5488         * undo_funcs.C:
5489         * frontends/controllers/ControlDocument.C:
5490         * insets/insetcaption.C: rearrange the #includes into some sort of
5491         coherent order.
5492
5493         * buffer.h: remove #includes ErrorList.h, undo.h
5494
5495 2003-09-06  Angus Leeming  <leeming@lyx.org>
5496
5497         * support/types.h: add a 'depth_type' typedef, used to store the
5498         nesting depth of a paragraph.
5499
5500         * paragraph.h:
5501         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5502         defining explicitly.
5503
5504         * buffer.h:
5505         * paragraph_funcs.h:
5506         * ParagraphParameters.h:
5507         * sgml.h: use lyx::depth_type rather than Paragraph or
5508         ParameterStruct's depth_type.
5509
5510         * buffer.h
5511         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5512
5513         * BufferView.C:
5514         * BufferView_pimpl.C:
5515         * CutAndPaste.C:
5516         * ParagraphParameters.C:
5517         * buffer_funcs.C:
5518         * bufferlist.C:
5519         * bufferview_funcs.C:
5520         * lyx_cb.C:
5521         * lyxfunc.C:
5522         * tabular.C:
5523         * text3.C:
5524         * toc.C:
5525         * undo_funcs.C:
5526         * frontends/LyXView.C:
5527         * frontends/controllers/ControlDocument.C:
5528         * frontends/controllers/ControlErrorList.C:
5529         * insets/insetbibitem.C:
5530         * insets/insetbranch.C:
5531         * insets/insetcaption.C:
5532         * insets/insetcollapsable.C:
5533         * insets/insetenv.C:
5534         * insets/insetert.C:
5535         * insets/insetfloat.C:
5536         * insets/insetfoot.C:
5537         * insets/insetfootlike.C:
5538         * insets/insetnewline.C:
5539         * insets/insetquotes.C:
5540         * insets/insettabular.C:
5541         * insets/insettext.C:
5542         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5543
5544         * frontends/controllers/ControlChanges.C: #include "changes.h".
5545
5546 2003-09-06  Angus Leeming  <leeming@lyx.org>
5547
5548         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5549         than #including paragraph.h.
5550
5551         * ParagraphList.h:
5552         * RowList.h: deleted. Superfluous.
5553
5554         * CutAndPaste.h:
5555         * iterators.h:
5556         * lyxcursor.h:
5557         * lyxtext.h:
5558         * text_funcs.h:
5559         * undo.h:
5560         * undo_funcs.h:
5561         * insets/inset.h:
5562         * insets/insettext.h: use ParagraphList_fwd.h rather than
5563         ParagraphList.h.
5564
5565         * paragraph.h: don't forward declare ParagraphList.
5566
5567         * buffer.h:
5568         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5569         rather than ParagraphList.h. paragraph.h is still needed for the
5570         Paragraph::depth_type parameters.
5571
5572         * textcursor.h: enable it to compile stand-alone in light of the
5573         above changes.
5574
5575         * bufferview_funcs.C:
5576         * iterators.C:
5577         * lyxfunc.C:
5578         * lyxrow_funcs.C:
5579         * paragraph.C:
5580         * rowpainter.C:
5581         * text.C:
5582         * text2.C:
5583         * text3.C:
5584         * text_funcs.C:
5585         * textcursor.C:
5586         * undo.C:
5587         * frontends/controllers/ControlParagraph.C:
5588         * frontends/controllers/ControlTabular.C:
5589         * insets/insetmarginal.C:
5590         * insets/insetminipage.C:
5591         * insets/insetnote.C:
5592         * insets/insetoptarg.C: add header files needed to compile again.
5593
5594 2003-09-06  Angus Leeming  <leeming@lyx.org>
5595
5596         * RowList_fwd.h: new file, forward-declaring Row rather than
5597         #including lyxrow.h.
5598
5599         * lyxrow_funcs.h:
5600         * lyxtext.h:
5601         * paragraph.h:
5602         * insets/insettext.h: use it instead of RowList.h
5603
5604         * bufferview_funcs.C:
5605         * lyxfunc.C:
5606         * lyxrow_funcs.C:
5607         * paragraph.C:
5608         * rowpainter.C:
5609         * text.C:
5610         * text2.C:
5611         * text3.C: #include "RowList.h".
5612
5613 2003-09-05  Angus Leeming  <leeming@lyx.org>
5614
5615         * factory.C (createInset):
5616         * vspace.C (c-tor): replace sscanf call with an istringstream.
5617         * ispell.C: re-add missing HP/UX headers.
5618         * lyxserver.C: re-add missing  os2 headers.
5619
5620 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5621
5622         * BranchList.C:
5623         * graph.C:
5624         * ispell.C:
5625         * lastfiles.C:
5626         * lyx_cb.C:
5627         * lyxserver.C:
5628         * texrow.C:
5629         * text3.C: re-add missing system headers, needed for 2.95.2.
5630
5631 2003-09-05  Angus Leeming  <leeming@lyx.org>
5632
5633         Changes most place everywhere due to the removal of using directives
5634         from support/std_sstream.h.
5635
5636 2003-09-05  Angus Leeming  <leeming@lyx.org>
5637
5638         Replace LString.h with support/std_string.h,
5639         Lsstream.h with support/std_sstream.h,
5640         support/LIstream.h with support/std_istream.h,
5641         support/LOstream.h with support/std_ostream.h.
5642
5643         Changes resulting throughout the tree.
5644
5645 2003-09-05  Angus Leeming  <leeming@lyx.org>
5646
5647         * sgml.h: ensure that the header file can be compiled stand-alone.
5648         * *.C: strip out redundant #includes. (320 in total.)
5649
5650 2003-09-04  Angus Leeming  <leeming@lyx.org>
5651
5652         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5653         here (from getPackages).
5654
5655         * debug.[Ch]: add a new EXTERNAL tag.
5656
5657 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5658
5659         * text2.C (cursorEnd): simplify
5660         (setCursor): adjust
5661         (getColumnNearX): adjust
5662
5663         * text.C (computeBidiTables): adjust
5664         (fill): adjust
5665
5666         * rowpainter.C (paintChars): adjust
5667         (paintSelection): adjust
5668         (paintChangeBar): adjust
5669         (paintText): adjust
5670
5671         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5672         lastPos instead.
5673         (numberOfSeparators): adjust
5674
5675 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5676
5677         * LyXAction.C:
5678         * box.[Ch]:
5679         * lfuns.h:
5680         * lyxfunc.C:
5681         * text3.C: Restricts the mouse click functionality
5682         of insets like bibtex, include, toc and floatlist to the visible
5683         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5684         up the dialogs. Cursor has to be in front of the inset (i.e.
5685         start of row) for this to function.
5686
5687 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5688
5689         * bufferview_funcs.C (currentState): output row information
5690
5691 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5692
5693         * bufferview_funcs.C (currentState): output paragraph position
5694
5695 2003-09-04  Angus Leeming  <leeming@lyx.org>
5696
5697         * FloatList.h: move out #include "Floating.h".
5698         * LaTeX.h: move out #include "DepTable.h".
5699         * LyXAction.h: move out #include "funcrequest.h".
5700         * buffer.h: move out #include "author.h", "iterators.h".
5701         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5702         * lyx_main.h: move out #include "errorlist.h".
5703         * lyxfunc.h: move out #include "FuncStatus.h".
5704         * lyxtext: move out #include "lyxcursor.h".
5705         * paragraph_pimpl.h: move out #include "counters.h".
5706
5707 2003-09-03  Angus Leeming  <leeming@lyx.org>
5708
5709         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5710         preamble_snippets list, enabling us to add snippets to the preamble
5711         only if the snippet was not there already.
5712
5713 2003-09-04  Angus Leeming  <leeming@lyx.org>
5714
5715         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5716
5717 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5718
5719         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5720         update
5721
5722 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5723
5724         * BranchList.C: point fix, earlier forgotten
5725
5726 2003-09-02  Angus Leeming  <leeming@lyx.org>
5727
5728         * box.C (contains): renamed from 'contained' after a fantastic
5729         amount of hot air.
5730
5731 2003-09-02  John Levon  <levon@movementarian.org>
5732
5733         * BufferView.C:
5734         * lyxcursor.h:
5735         * lyxcursor.C:
5736         * lyxfunc.C:
5737         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5738
5739 2003-09-02  John Levon  <levon@movementarian.org>
5740
5741         * text2.C: simplification of cursorEnd(), including partial
5742         fix for bug 1376
5743
5744 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5745
5746         * buffer.C (readFile): add a space
5747
5748 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5749
5750         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5751
5752 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5753
5754         * buffer.C (readFile): new function, take a filename and a
5755         ParagraphList::iterator
5756         (readFile): adjust
5757         (readFile): adjust, make it private. don't use setStream, make
5758         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5759         always contain the filename.
5760
5761         * BufferView.C (insertLyXFile): simplify and make it work for
5762         gzipped files.
5763
5764 2003-08-30  John Levon  <levon@movementarian.org>
5765
5766         * Makefile.am: fix dist (from Kayvan)
5767
5768 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5769
5770         * most files: change to use const Buffer refs
5771
5772 2003-08-27  André Pönitz  <poenitz@gmx.net>
5773
5774         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5775         on top of ownerPar().
5776
5777 2003-08-27  John Levon  <levon@movementarian.org>
5778
5779         * funcrequest.C: properly initialise POD members
5780
5781 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5782
5783         * lyxtext.h (top_y): move top_y from here
5784         * text.C:
5785         * text2.C:
5786         * text3.C:
5787         * BufferView.[Ch]:
5788         * BufferView_pimpl.[Ch]: to here
5789         * frontends/screen.C:
5790         * insets/insettabular.C:
5791         * insets/insettext.C: adjust
5792         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5793
5794 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5795
5796         * BufferView.[Ch]:
5797         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5798
5799 2003-08-26  André Pönitz  <poenitz@gmx.net>
5800
5801         * paragraph_func.[Ch] (outerPar): new function
5802
5803         * paragraph.C:
5804         * paragraph_funcs.C:
5805         * paragraph_funcs.h:
5806         * paragraph_pimpl.C:
5807         * text2.C: remove Inset::par_owner
5808
5809 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5810
5811         * lyxrow_funcs.C:
5812         * lyxtext.h:
5813         * text.C:
5814         * text2.C: eliminates the needFullRow/display() stuff
5815         altogether, putting the logic in metrics/draw in the insets.
5816
5817 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5818
5819         * text2.C (redoParagraphInternal, redoParagraphs):
5820         * text.C (redoParagraph): add a call to updateRowPositions at the
5821         end of each 'metrics-like' call. Remove all others.
5822         (getRow): remove the 'y-computing' version.
5823         (getRowNearY): do not compute nor return the real y. Solve the
5824         'y < 0' problem and simplify.
5825
5826 2003-08-22  Angus Leeming  <leeming@lyx.org>
5827
5828         * *.[Ch]: clean-up of licence and author blurbs.
5829         Also move config.h out of a few .h files and into a few .C files.
5830
5831 2003-08-22  André Pönitz  <poenitz@gmx.net>
5832
5833         * lyxrow.[Ch]: add x_ and *fill_ members
5834
5835         * lyxtext.h:
5836         * text.C:
5837         * rowpainter.C:
5838         * text2.C: adjust/remove prepareToPrint() calls
5839
5840 2003-08-22  André Pönitz  <poenitz@gmx.net>
5841
5842         * lyxrow.[Ch]: add  end_ member
5843
5844         * lyxrow_funcs.C: use LyXRow::end_
5845
5846         * lyxtext.h (singleWidth): add LyXFont parameter
5847
5848         * rowpainter.C:
5849         * text2.C: adjust LyXText::singleWidth() calls
5850
5851         * text.C (redoParagraph): simplify row breaking logic
5852
5853
5854 2003-08-19  André Pönitz  <poenitz@gmx.net>
5855
5856         * funcrequest.C: initialize button_ member
5857
5858         * text3.C:
5859         * rowpainter.[Ch]: interface consolidation
5860
5861 2003-08-18  André Pönitz  <poenitz@gmx.net>
5862
5863         * BufferView.C:
5864         * BufferView_pimpl.C:
5865         * lyxfind.C:
5866         * paragraph_funcs.C:
5867         * rowpainter.C:
5868         * text3.C: remove LyXScreen::draw() and fitCursor calls
5869
5870         * BranchList.h: remove spurious semicolons
5871
5872         * MenuBackend.C: fix branchlist related crash
5873
5874 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5875
5876         * BranchList.[Ch]:
5877         * InsetList.[Ch]:
5878         * LColor.[Ch]:
5879         * LyXAction.C:
5880         * Makefile.am:
5881         * MenuBackend.[Ch]:
5882         * bufferparams.[Ch]:
5883         * factory.C:
5884         * lfuns.h:
5885         * lyxfunc.C:
5886         * text3.C: implements the 'branch inset'
5887         idea. This allows the output of various versions of a document
5888         from a single source version, selectively outputing or suppressing
5889         output of parts of the text.
5890         This implementation contains a 'branch list editor' in a separate
5891         tab of the document settings dialog. Branches are user definable
5892         and have a "display colour" to distinguish them on-screen.
5893
5894         ColorHandler was somewhat cleaned up.
5895         (1) make possible a dynamically growing LColor list by allowing
5896         the graphic context cache to grow along (vector);
5897         (2) eliminate an IMHO unnecessary step in colour allocation.
5898
5899 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5900
5901         * BufferView_pimpl.C: compile fix
5902
5903 2003-08-15  André Pönitz  <poenitz@gmx.net>
5904
5905         * rowpainter.C: remove extra metrics calls
5906
5907         * lyxtext.h: merge the two constructors into a single one,
5908           pass reference to owner's par list
5909
5910         * BufferView_pimpl.C:
5911         * text.C:
5912         * text2.C: adjust
5913
5914 2003-08-15  André Pönitz  <poenitz@gmx.net>
5915
5916         * lyxrow_funcs.[Ch]:
5917         * lyxtext.h:
5918         * paragraph.h:
5919         * paragraph_funcs.C:
5920         * rowpainter.C:
5921         * text.C:
5922         * text2.C:
5923         * text3.C:
5924         * text_funcs.C: split LyXText::rowlist_ into individual
5925         Paragraph::rows_ chunks
5926
5927         * BufferView.[Ch]:
5928         * BufferView_pimpl.[Ch]:
5929         * lyxfind.C:
5930         * lyxtext.h:
5931         * text3.C: remove toggleSelection()
5932
5933 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5934
5935         * bufferlist.C: beautify two alerts (shorter text of buttons)
5936         * buffer.C: Remove redundant ' ' from message
5937         * tabular.h:
5938         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5939         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5940         rename VALIGN_CENTER to VALIGN_MIDDLE
5941
5942 2003-08-11  André Pönitz  <poenitz@gmx.net>
5943
5944         * lyxtext.h (getPar):
5945         * text.C: new function
5946
5947 2003-08-11  André Pönitz  <poenitz@gmx.net>
5948
5949         * Makefile.am:
5950         * tracer.[Ch]: remove unneeded files
5951
5952         * InsetList.[Ch]: remove resizeInsetsLyXText()
5953
5954         * lyxtext.h:
5955         * text.C:
5956         * text2.C:
5957         * text3.C: merge insertParagraphs() and appendParagraph()
5958         remove breakAgain(), update()
5959
5960         * BufferView_pimpl.[Ch]:
5961         * bufferview_funcs.[Ch]:
5962         * lyxfunc.C:
5963         * paragraph.[Ch]:
5964         * rowpainter.C:
5965         * tabular.C: adjust after text & InsetList changes.
5966
5967 2003-08-08  André Pönitz  <poenitz@gmx.net>
5968
5969         * text.C (insertChar, backspace): replace rowlist fiddling
5970         with rebreak of full par
5971
5972         * lyxtext.h:
5973         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5974         checkParagraph, updateInset): removed
5975
5976 2003-08-07  André Pönitz  <poenitz@gmx.net>
5977
5978         * paragraph.C:
5979         * text3.C: merge some LFUN handlers, remove dead code
5980
5981 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5982
5983         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5984
5985 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5986
5987         * text2.C (DEPM): fix part of bug 1255 and 1256
5988
5989 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5990
5991         * BufferView_pimpl.C (workAreaDispatch): change to use
5992         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5993         that are no mouse related.
5994
5995 2003-08-05  André Pönitz  <poenitz@gmx.net>
5996
5997         * BufferView.[Ch]:
5998         * BufferView_pimpl.[Ch]:
5999         * bufferview_funcs.C:
6000         * text2.C:
6001         * text3.C: rip out "deep update"
6002
6003         * textcursor.[Ch] (last_sel_cursor): remove unused member
6004
6005 2003-08-04  André Pönitz  <poenitz@gmx.net>
6006
6007         * BufferView.[Ch]:
6008         * BufferView_pimpl.[Ch]:
6009         * ParagraphParameters.C:
6010         * bufferview_funcs.C:
6011         * lyx_cb.C:
6012         * lyxfind.C:
6013         * lyxfunc.C:
6014         * text.C:
6015         * text2.C:
6016         * text3.C: replace "complicated" BufferView::update(...) calls with
6017         simpler ones.
6018
6019         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6020
6021 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6022
6023         * Makefile.am (lyx_SOURCES): add paper.h
6024
6025 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6026
6027         * Makefile.am: move things around so that both lyx-qt and
6028         lyx-xforms can be built (according to --with-frontend). Then lyx
6029         is a symbolic link to lyx-[firstfrontend]
6030
6031 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6032
6033         * Always use std::endl with lyxerr
6034
6035 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6036
6037         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6038
6039 2003-08-01  André Pönitz  <poenitz@gmx.net>
6040
6041         * BufferView.[Ch]:
6042         * BufferView_pimpl.[Ch]:
6043         * lyxfunc.C:
6044         * text3.C: merge BufferView::repaint() and BufferView::update()
6045
6046 2003-08-01  José Matos  <jamatos@lyx.org>
6047
6048         * buffer.[Ch]: file_format is no longer a buffer data element.
6049
6050 2003-08-01  André Pönitz  <poenitz@gmx.net>
6051
6052         * BufferView.C:
6053         * lyxtext.h:
6054         * text.C:
6055         * text2.C: make redoParagraph more independent of current cursor
6056
6057         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6058         * text.C:
6059         * text2.C: remove unneeded members
6060
6061 2003-07-30  André Pönitz  <poenitz@gmx.net>
6062
6063         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6064
6065         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6066           create a single function...
6067
6068         * paragraph_funcs.C (moveItem): ... here.
6069
6070         * text.C:
6071           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6072
6073 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6074
6075         * LColor.[Ch]: Add comment and greyedout logical colors.
6076
6077 2003-07-30  André Pönitz  <poenitz@gmx.net>
6078
6079         * tabular.C: don't use Assert too heavily. This crashes where it
6080           shouldn't
6081
6082 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6083
6084         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6085         is disabled (bug 1232)
6086
6087 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6088
6089         * factory.C: limited 'arg' scope
6090
6091 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6092
6093         * factory.C: fixed Note submenu issues
6094
6095 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6096
6097         * factory.C: submenu for Note/Comment/Greyedout
6098
6099 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6100
6101         * lyx_main.C (LyX):
6102         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6103
6104 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6105
6106         * LaTeXFeatures.C:
6107         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6108         greyedout. Patch provided by Jürgen Spitzmüller.
6109
6110 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6111
6112         * kbmap.C (read): fix error message when reading bind files
6113
6114 2003-07-29  Angus Leeming  <leeming@lyx.org>
6115
6116         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6117         certainly does not do what it purports to do. I am doing it, and
6118         us, a favour by killing it.
6119
6120 2003-07-28  José Matos  <jamatos@lyx.org>
6121
6122         * buffer.C (readBody, do_writeFile):
6123         * paragraph.C(readParagraph): \end_document replaces \the_end.
6124
6125 2003-07-29  André Pönitz  <poenitz@gmx.net>
6126
6127         * BufferView.[Ch]:
6128         * BufferView_pimpl.[Ch]:
6129         * lyxfunc.C:
6130         * text2.C:
6131         * text3.C:
6132         * textcursor.[Ch]: remove toggleToggle & Co
6133
6134 2003-07-28  José Matos  <jamatos@fep.up.pt>
6135
6136         * buffer.C (readParagraph):
6137         * params_func (readParToken, readParagraph):
6138         * paragraph.C (write): \layout -> \begin_layout.
6139
6140 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6141
6142         * lyxlex_pimpl.C (setFile): clean up slightly.
6143
6144         * bufferparams.h: add compressed var
6145
6146         * buffer_funcs.C (readFile): adjust for LyXLex change
6147         (newFile): ditto + simplify
6148
6149         * buffer.C (writeFile): handle writing of compressed files
6150
6151         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6152         Check if the file is compressed and set a bufferparm if so.
6153
6154         * Makefile.am (lyx_LDADD): remove explicit -lz
6155
6156 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6157
6158         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6159         makeDocBookFile): put the real LyX version in the first line of
6160         the file
6161
6162         * version.h:
6163         * version.C.in: remove lyx_docversion
6164
6165         * tabular.C (write_attribute): add a template-based version to
6166         write enums properly
6167
6168 2003-07-28  André Pönitz  <poenitz@gmx.net>
6169
6170         * lyxtext.h:
6171         * text.C:
6172         * text2.C:
6173         * text3.C: use doubles again for x-coordinates. They are needed.
6174
6175 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6176
6177         * messages.C (getLocaleDir): use lyx_localedir()
6178
6179         * lyxlex_pimpl.C (setFile): compress stuff
6180
6181         * buffer.C (writeFile): add some compression stuff
6182         (do_writeFile): new func, dont call expliti close... will this
6183         breake anything?
6184
6185         * Makefile.am (lyx_LDADD): add -lz
6186
6187 2003-07-28  José Matos  <jamatos@fep.up.pt>
6188
6189         * buffer.C: increment file format.
6190         * paragraph_funcs (readParagraph, readParToken):
6191         * paragraph.C (readParagraph): add \end_layout.
6192
6193 2003-07-27  Angus Leeming  <leeming@lyx.org>
6194
6195         * Makefile.am: remove special casing for configure-time setting of
6196         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6197
6198         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6199         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6200
6201 2003-07-26  André Pönitz  <poenitz@gmx.net>
6202
6203         * paragraph_func.[Ch]:
6204         * paragraph.C (realizeFont): inline it whereever it is used
6205
6206         * rowpainter.C:
6207         * text.C:
6208         * text2.C:
6209         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6210
6211
6212 2003-07-26  André Pönitz  <poenitz@gmx.net>
6213
6214         *       lyxtext.h:
6215         * text.C:
6216         * text2.C: get rid of LyXText::need_break_row
6217
6218 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6219
6220         * toc.[Ch]: put namespace toc inside namespace lyx
6221
6222         * MenuBackend.C (expandToc2): adjust for lyx::toc
6223         (expandToc): ditto
6224
6225         * lyxfunc.C (dispatch): adjust for lyx::find
6226
6227         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6228         lyx::find instead. Reorganize a bit.
6229         (LyXReplace): rename to replace
6230         (LyXFind): rename to find
6231
6232         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6233         (dispatch): ditto
6234
6235 2003-07-26  André Pönitz  <poenitz@gmx.net>
6236
6237         * text.C (setHeightOfRow): restrict scope of temporary variable
6238
6239         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6240           code (never has been used?)
6241
6242 2003-07-27  Asger Alstrup  <alstrup@local>
6243
6244         * text.C (fill): Optimise algorithm to exploit that we can reuse
6245         the LyXFont for many characters.
6246         (setHeightOfRow): Same thing.
6247         (rowBreakPoint): Same thing.
6248
6249 2003-07-26  Asger Alstrup  <alstrup@local>
6250
6251         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6252
6253         * text.C (singleWidth): Spurious font copying in hot-spot
6254         singleWidth avoided. Reorder tests for arabic for efficiency.
6255
6256         * text.C (fill): handle empty paragraphs better.
6257
6258 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6259
6260         * ispell.C:
6261         * encoding.h: add includes
6262
6263         * lyxrc.C: remove reading of bind files
6264
6265         * lyx_main.C (init): setup bindings and menus only if we have a
6266         gui.
6267
6268         * kbmap.C (read): new method. Do the actual reading of bind
6269         files.
6270
6271         * converter.C (dvipdfm_options):
6272         * bufferparams.C:
6273         * lyxrc.C (read):
6274         (output): adapt PAPER_* enums.
6275
6276         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6277
6278         * bufferparams.h: remove paper-related enums from there
6279
6280         * paper.h: New file. A trivial header file to hold paper-related
6281         enums. It should later expand to contain many paper-related
6282         horrors access.
6283
6284         * lyxrc.C: declare extern displayTranslator
6285
6286 2003-07-27  José Matos  <jamatos@fep.up.pt>
6287
6288         * tabular.[Ch] (linuxdoc): add support for tables and figures
6289         (linuxdoc).
6290
6291 2003-07-27  José Matos  <jamatos@fep.up.pt>
6292
6293         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6294         consistency in both functions.
6295         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6296
6297 2003-07-26  Asger Alstrup  <alstrup@local>
6298
6299         * rowpainter.C (paintRows): Change algorithm to work directly on
6300         the insets rather than asking every character in the document
6301         whether its an inset.
6302
6303 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6304
6305         * buffer.C (openFileWrite): factorize some code
6306
6307 2003-07-26  Angus Leeming  <leeming@lyx.org>
6308
6309         * lyx_cb.C:
6310         * lyx_main.[Ch]: replace occurances of system_tempdir with
6311         os::getTmpDir().
6312
6313 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6314
6315         * rename Inset to InsetOld
6316
6317 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6318
6319         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6320         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6321         which I think is a bit clearer. EDIT is gone, since it was
6322         premature optimisation, and broken for mathed anyway.
6323         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6324         with cursor positioning in insets as well (math insets still do not
6325         work, but that's a different story anyway.) It mysteriously
6326         crashes sometimes with undo in the first paragraph, but I'm fairly
6327         confident that this is a compiler bug.
6328
6329 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6330
6331         * paragraph.C (Paragraph): adjust for new clone return type
6332         (operator==): ditto
6333         (copyIntoMinibuffer): ditto
6334
6335 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6336
6337         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6338         by not having a special case, and always doing a full rebreak of
6339         the document after undo.
6340
6341 2003-07-23  Angus Leeming  <leeming@lyx.org>
6342
6343         * factory.C (createInset): InsetExternal::setParams now takes a
6344         Buffer const * arg.
6345
6346 2003-07-23  Angus Leeming  <leeming@lyx.org>
6347
6348         * factory.C (createInset): changed interface to the external and
6349         graphics mailers' string2params functions.
6350
6351 2003-07-23  Angus Leeming  <leeming@lyx.org>
6352
6353         * factory.C (createInset): pass a
6354         Buffer const * parameter to InsetExternalMailer's string2params.
6355
6356 2003-07-22  John Levon  <levon@movementarian.org>
6357
6358         * Thesaurus.h: include the right aiksaurus header
6359
6360 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6361
6362         * MenuBackend.C (expand): check menu shortcuts unconditionally
6363
6364 2003-07-21  Angus Leeming  <leeming@lyx.org>
6365
6366         * factory.C (createInset): pass a
6367         buffer_path parameter to InsetGraphicsMailer's string2params.
6368
6369 2003-07-21  Angus Leeming  <leeming@lyx.org>
6370
6371         * BufferView_pimpl.C (buffer):
6372         * buffer.C (d-tor):
6373         * lyx_main.C (LyX):
6374         * lyxfunc.C (dispatch):
6375         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6376         rather than the grfx shortcut.
6377
6378 2003-07-21  André Pönitz  <poenitz@gmx.net>
6379
6380         * rowpainter.C: remove unused variables
6381
6382         * tabular_funcs.C:
6383         * tabular_funcs.h: move to tabular.C
6384         * Makefile.am: adjust
6385
6386         * tabular.[Ch]: basic optical cleaning
6387
6388         * author.h: pass references, not values
6389
6390 2003-07-18  André Pönitz  <poenitz@gmx.net>
6391
6392         * lyxtext.h:
6393         * metricsinfo.C:
6394         * metricsinfo.h:
6395         * rowpainter.C:
6396         * text.C:
6397         * text2.C:
6398         * text3.C: two-phase drawing for InsetText and InsetTabular
6399         some float -> int changes.
6400
6401 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6402
6403         * lyx_main.C: fix the fix
6404
6405 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6406
6407         * lyx_main.C: fix a crash in batch mode if no files specified
6408         * converter.C: ws
6409
6410 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6411
6412         * format.[Ch] (papersize): moved to BufferParams
6413         * converter.[Ch] (dvips_options): moved to BufferParams
6414         (dvipdfm_options): moved to anon namespace
6415         * bufferparams.[Ch]: added above functions.
6416
6417 2003-07-17  André Pönitz  <poenitz@gmx.net>
6418
6419         * lyxtext.h:
6420         * rowpainter.C:
6421         * text2.C: don't call inset->update() anymore
6422
6423         * metricsinfo.[Ch]: add convenience constructor
6424
6425 2003-07-16  André Pönitz  <poenitz@gmx.net>
6426
6427         * lyxcursor.[Ch]:
6428         * lyxfunc.[Ch]:
6429         * text.C:
6430         * text2.C: replace the LyXCursor::irow_ member with
6431          on-demand computation of the value
6432
6433 2003-07-16  John Levon  <levon@movementarian.org>
6434
6435         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6436
6437 2003-07-15  André Pönitz  <poenitz@gmx.net>
6438
6439         * text.C:
6440         * text2.C: remove no more needed refresh_row
6441
6442 2003-07-15  André Pönitz  <poenitz@gmx.net>
6443
6444         * lyxtext.h:
6445         * rowpainter.C:
6446         * text2.C:
6447         * text3.C: refresh_status tristate -> need_update bool
6448
6449 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6450
6451         * lyxtext.h (init): remove reinit argument (act as if always true)
6452         * text2.C: adjust to that
6453
6454 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6455
6456         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6457         * text3.C: use it to delete selections in some cases
6458         (bugs 441, 673, 702, 954).
6459
6460 2003-07-14  André Pönitz  <poenitz@gmx.net>
6461
6462         * rowpainter.[Ch]: reduce interface
6463
6464 2003-07-14  André Pönitz  <poenitz@gmx.net>
6465
6466         * BufferView_pimpl.C:
6467         * text2.C: adjust after removing unused BufferView * argument
6468
6469 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6470
6471         * text2.C (init): fix a crash fired on resize
6472
6473 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6474
6475         * buffer.[Ch]: added new closing signal
6476         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6477         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6478         BufferView::Pimpl via the closing the signal
6479
6480 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6481
6482         * buffer.[Ch]: take out all bv-related from buffer
6483         * BufferView.C:
6484         * BufferView_pimpl.[Ch]: connect to new signals
6485         * CutAndPaste.C: removed useless asserts
6486         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6487         * lyxvc.[Ch]:
6488         * vc-backend.[Ch]:
6489         * lyxfunc.C: moved view-related funciontality from vc here
6490         * paragraph.C: removed outdated comments
6491         * text.C: ws
6492
6493 2003-07-10  André Pönitz  <poenitz@gmx.net>
6494
6495         * BufferView_pimpl.C:
6496         * tabular.h:
6497         * tabular_funcs.C:
6498         * text.C:
6499         * text2.C: remove InsetText::InnerCache, clean up consequences
6500
6501 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6502
6503         * ispell.C: fix two typos in error messages
6504
6505 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6506
6507         * Extend Note inset to other forms of annotation like Comment
6508         and Greyedout. Right button click gives dialog.
6509
6510         Files modified or added (+):
6511
6512         * insetnote.[Ch]
6513         * FormNote.[Ch]      +
6514         * ControlNote.[Ch]   +
6515         * form_note.fd       +
6516         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6517         frontends/controllers
6518         * xforms/Dialogs.C
6519         * factory.C
6520
6521 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6522
6523         * aspell.C: add missing namespace lyx::support
6524
6525 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6526
6527         * BufferView.[Ch] (newFile): Add
6528         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6529         * LaTeX.[Ch] (message): added this signal and use it
6530         * buffer.[Ch] (busy, message): added these signals and use them
6531         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6532         * converter.C:
6533         * exporter.C:
6534         * format.C:
6535         * importer.C: use buffer signals instead of direct bv calling
6536         * lyx_cb.[Ch] (ShowMessage): removed
6537         * lyx_main.C:
6538         * lyxfunc.C:
6539         * paragraph_funcs.C:
6540         * text2.C: use buffer signals
6541
6542 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6543
6544         * introduce namespace lyx::graphics
6545
6546 2003-07-02  André Pönitz  <poenitz@gmx.net>
6547
6548         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6549
6550 2003-07-01  André Pönitz  <poenitz@gmx.net>
6551
6552         * text.C:
6553         * text2.C:
6554         * text3.C:
6555         * text_funcs.[Ch]:
6556         * textcursor.h:
6557         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6558           text*.C to text_func.C
6559
6560 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6561
6562         * introduce namespace lyx::support
6563
6564 2003-06-30  André Pönitz  <poenitz@gmx.net>
6565
6566         * Chktex.C:
6567         * funcrequest.C:
6568         * lyxtext.h:
6569         * text.C: re-enable --with-included-string
6570
6571 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6572
6573         * textcursor.C: add <config.h>
6574
6575         * text.C (getWord): remove const from word_location arg
6576
6577         * lyxvc.C (getLogFile): fix const type order
6578
6579         * lyxtext.h: remove const from word_location arg, add arg name
6580
6581         * lyxlayout.h: currect type on labeltype.
6582
6583         * importer.C: correct \file
6584
6585         * converter.C (intToFormat): use std:: on ret val, ws changes
6586
6587         * bufferlist.h: correct \file
6588
6589         * buffer.C (makeLinuxDocFile): fix const type order
6590         (makeDocBookFile): ditto
6591         (fillWithBibKeys): use std:: on stdlib args.
6592
6593         * CutAndPaste.C: fix authors.
6594         (availableSelections): use std:: on return vector
6595
6596 2003-06-27  André Pönitz  <poenitz@gmx.net>
6597
6598         * BufferView_pimpl.C:
6599         * bufferview_funcs.C:
6600         * lyxcursor.C:
6601         * lyxcursor.h:
6602         * lyxfunc.C:
6603         * lyxtext.h:
6604         * rowpainter.C:
6605         * text.C:
6606         * text2.C:
6607         * text3.C: remove LyXCursor::row_ member
6608
6609         * lyxtext.h:
6610         * text.C: rename fullRebreak() to partialRebreak() and implement
6611           a fullRebreak() that really bereks fully
6612
6613         * textcursor.h: new struct for cursor-related data
6614
6615 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6616
6617         * lyx_main.C (LyX): get full path of document loaded on the
6618         command line
6619
6620 2003-06-26  André Pönitz  <poenitz@gmx.net>
6621
6622         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6623           remove unused/broken operator>,<,>=.
6624
6625         *       text.C: remove only use of broken operator<= in an Assert().
6626
6627 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6628
6629         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6630         moved errorlist_.clear to showErrorList
6631
6632 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6633
6634         * converter.C (scanLog, runLaTeX):
6635         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6636         move the bv->showErrorList call to the callers
6637         * lyxfunc.C: i.e. here...
6638         * text2.C: and here
6639         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6640         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6641         namespace, the second to...
6642         * buffer_funcs (BufferFormat, parseErrors): added
6643         * errorlist.C (ErrorList(TeXErrors const &)): removed
6644
6645 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6646
6647         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6648
6649 2003-06-24  "Garst R. Reese" <reese@isn.net>
6650
6651         * debug.C: fix typo
6652
6653 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6654
6655         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6656
6657         * version.C.in: change docversion to 1.4
6658
6659 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6660
6661         * buffer.C: fix a bug just introduced
6662
6663 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6664
6665         * buffer.[Ch]: added the parseError signal and use it, removed
6666         sgmlError
6667         * BufferView.[Ch] (addError): moved to ...
6668         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6669         to the Buffer::parseError signal to catch (guess what) parse errors
6670         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6671
6672 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6673
6674         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6675         ability to create a buffer and to return an existing one from
6676         the list. Moved these functions to...
6677         * buffer_funcs.[Ch]: added
6678         * BufferView.[Ch] (loadLyXFile): added
6679         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6680         job removed from bufferlist::loadLyXFile.
6681         * buffer.C (setReadOnly): make it work without view
6682         (i.e added an if (users))
6683
6684 2003-06-19  Angus Leeming  <leeming@lyx.org>
6685
6686         * lfuns.h:
6687         * LyXAction.C (init):
6688         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6689         with LFUN_DIALOG_SHOW <name> <data>.
6690
6691 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6692
6693         * CutAndPaste.C (availableSelections): small compilation fix for
6694         ancient (gcc 2.9x) compilers
6695
6696 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6697
6698         * text3.C (cursorNext): add tmp var
6699
6700         * text2.C (updateCounters): for function calling out of for clause
6701         (replaceSelectionWithString): ditto
6702         (insertStringAsParagraphs): ditto
6703         (getColumnNearX): add tmp var
6704         (setCursorFromCoordinates): add tmp var
6705         (cursorDownParagraph): add tmp var
6706         (deleteEmptyParagraphMechanism): add tmp var
6707
6708         * text.C (insertChar): add tmp var
6709
6710         * rowpainter.C (paintDepthBar): add tmp var
6711
6712         * CutAndPaste.C (availableSelections): potentially check all
6713         paragraphs in a cut to fill the shown strings.
6714
6715 2003-06-18  André Pönitz  <poenitz@gmx.net>
6716
6717         * kbmap.[Ch]: use vector<> instead of list<>
6718
6719 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6720
6721         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6722         pasteSelection with index
6723
6724         * text2.C (pasteSelection): modify, call pasteSelection with index
6725
6726         * paragraph.C (asString): reimplement version with no interval to
6727         call the one with interval.
6728
6729         * lyxtext.h: add index arg to pasteSelection
6730
6731         * MenuBackend.C (MenuItem): handle PasteRecent
6732         (Menu::read::Menutags): add md_pasterecent
6733         (read): handle it
6734         (expandPasteRecent): new function
6735         (expand): use it
6736
6737         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6738
6739         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6740         the limited stack
6741         (availableSelections): new function
6742
6743 2003-06-17  Angus Leeming  <leeming@lyx.org>
6744
6745         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6746
6747 2003-06-17  Angus Leeming  <leeming@lyx.org>
6748
6749         * lfuns.h:
6750         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6751
6752         * lyxfunc.C (dispatch): invoke it.
6753
6754 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6755
6756         * iterators.C (operator++, ParPosition): reintroduce some
6757         const_cast for the benefit of older compilers.
6758
6759 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6760
6761         * text3.C (dispatch): do not modify clipboard when doing
6762         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6763         LFUN_DELETE_SKIP on a selection selection
6764
6765 2003-06-16  André Pönitz  <poenitz@gmx.net>
6766
6767         * BufferView.C:
6768         * buffer.C:
6769         * buffer.h:
6770         * paragraph.C:
6771         * tabular.[Ch]: IU of clone() and getLabelList();
6772
6773 2003-06-13  André Pönitz  <poenitz@gmx.net>
6774
6775         * tabular.h: compactification
6776
6777 2003-06-12  André Pönitz  <poenitz@gmx.net>
6778
6779         * tabular.C:
6780         * tabular.h:
6781         * tabular_funcs.h: some renaming plus whitespace
6782
6783 2003-06-12  André Pönitz  <poenitz@gmx.net>
6784
6785         * BufferView.C:
6786         * BufferView_pimpl.C:
6787         * CutAndPaste.C:
6788         * buffer.C:
6789         * iterators.[Ch]:
6790         * lyxfunc.C:
6791         * text.C:
6792         * toc.C: Return a Paragraph & for ParIterator::operator*()
6793
6794 2003-06-11  John Levon  <levon@movementarian.org>
6795
6796         * lyx_main.C:
6797         * ToolbarBackend.h:
6798         * ToolbarBackend.C: add "Toolbars" section and
6799         put the flags there
6800
6801 2003-06-10  Angus Leeming  <leeming@lyx.org>
6802
6803         * lfuns.h:
6804         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6805
6806         * lyxfunc.C (dispatch): invoke it.
6807
6808 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6809
6810         * main.C: protect <ios> with HAVE_IOS
6811         (main): protect sync_with_stdio with HAVE_IOS
6812
6813 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6814
6815         * text2.C (cutSelection): adjust
6816         (pasteSelection): adjust
6817
6818         * messages.C: handle get of empty string
6819
6820         * main.C (main): use sync_with_stdio(false)
6821
6822         * lyxfunc.C (dispatch): adjust
6823
6824         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6825         (WriteAs): remove unneeded BufferView arg.
6826
6827         * bufferparams.h: use correct types on papersize, papersize2 and
6828         paperpackage.
6829
6830         * bufferparams.C (readToken): adjust for type
6831         (writeLaTeX): add missing cases to switch.
6832
6833         * bufferlist.C (quitWriteBuffer): adjust
6834         (close): adjust
6835
6836         * buffer.C (asciiParagraph): remove some commented code.
6837
6838         * CutAndPaste.C: remove current_view extern variable.
6839         (cutSelection): add BufferParams arg.
6840         (eraseSelection): add BufferParams arg.
6841         (pasteSelection): add Buffer const & arg
6842
6843 2003-06-07  John Levon  <levon@movementarian.org>
6844
6845         * buffer.C:
6846         * paragraph_funcs.C:
6847         * paragraph_pimpl.C:
6848         * text.C:
6849         * text2.C:
6850         * paragraph.h:
6851         * paragraph.C: allow InsetERT to freely space lines,
6852         and some consolidation of code
6853
6854 2003-06-06  José Matos  <jamatos@fep.up.pt>
6855
6856         * buffer.C (makeDocBookFile): fix bug #821
6857
6858 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6859
6860         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6861
6862 2003-06-04  Angus Leeming  <leeming@lyx.org>
6863
6864         * buffer.C: bump format to 224.
6865
6866 2003-06-05  André Pönitz  <poenitz@gmx.net>
6867
6868         * text2.C (redoParagraphs): remove two const_cast<>
6869
6870 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6871
6872         * ParagraphList.h: remove last remnants of NO_STD_LIST
6873
6874 2003-06-03  Angus Leeming  <leeming@lyx.org>
6875
6876         * factory.C (createInset): small change to the way InsetExternal's params
6877         are set.
6878
6879 2003-06-04  André Pönitz  <poenitz@gmx.net>
6880
6881         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6882
6883         * paragraph_pimpl.h:
6884         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6885
6886         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6887
6888         * undo_funcs.C: make some simple cases of undo work again
6889
6890 2003-06-03  John Levon  <levon@movementarian.org>
6891
6892         * ispell.C: HPUX doesn't have sys/select.h
6893         (from Albert Chin)
6894
6895 2003-06-03  John Levon  <levon@movementarian.org>
6896
6897         * CutAndPaste.C: update tabular and include inset
6898         buffer references
6899
6900         * buffer.h:
6901         * paragraph.h:
6902         * paragraph.C: remove owningBuffer(), don't pass Buffer
6903         to clone()
6904
6905         * factory.C: insetGraphicsParams changed
6906
6907 2003-06-02  John Levon  <levon@movementarian.org>
6908
6909         * LyXAction.C:
6910         * factory.C:
6911         * lfuns.h:
6912         * lyxfunc.C:
6913         * text3.C: remove insetparent
6914
6915 2003-06-02  John Levon  <levon@movementarian.org>
6916
6917         * buffer.h:
6918         * buffer.C: fix inset_iterator.end(), move out of line
6919         (bug 1149)
6920
6921 2003-06-01  John Levon  <levon@movementarian.org>
6922
6923         * text3.C: use a proper cut/paste when doing inset
6924         insert (from Jürgen Spitzmüller)
6925
6926 2003-06-01  John Levon  <levon@movementarian.org>
6927
6928         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6929
6930 2003-05-30  André Pönitz  <poenitz@gmx.net>
6931
6932         * rowpainter.C: unify second drawing phase
6933
6934 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6935
6936         * trans_mgr.C: remove one case of current_view
6937
6938         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6939
6940         * paragraph_funcs.h: remove paragraph.h include
6941
6942         * paragraph.h: delete NO_STD_LIST stuff
6943
6944         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6945
6946         * buffer.h: remove paragraph.h include
6947
6948         * ParagraphList.C: delete file
6949
6950         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6951
6952         * toc.C (getTocList): adjust
6953
6954         * paragraph_pimpl.C (validate): adjust
6955
6956         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6957
6958         * paragraph.C (Paragraph): adjust
6959         (getPositionOfInset): use const_iterator, adjust
6960         (bibitem): use const_iterator, adjust
6961         (setInsetOwner): adjust
6962
6963         * iterators.C (operator++): adjust
6964
6965         * InsetList.[Ch]: Replace selfmade iterator with standard
6966         vector::iterator also introduce const_iterator. Remove getPos,
6967         getInset and setInset from InsetTable. Adjust accordingly.
6968
6969         * BufferView.C (lockInset): adjust
6970         (ChangeInsets): adjust
6971
6972         * tabular.[Ch]: delete commented same_id functions
6973
6974 2003-05-28  John Levon  <levon@movementarian.org>
6975
6976         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6977
6978 2003-05-28  André Pönitz  <poenitz@gmx.net>
6979
6980         * metricsinfo.[Ch]: remove 'fullredraw' member
6981
6982 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6983
6984         * lyxtextclass.C (operator): remove caching.
6985
6986 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6987
6988         * text3.C: adjust
6989
6990         * text2.C (cursorBottom): adjust
6991         (setCounter): use ParagraphList::find, adjust
6992
6993         * text.C (workWidth): use ParagraphList::find, adjust
6994
6995         * lyxcursor.C (LyXCursor): adjust
6996
6997         * buffer.C (inset_iterator): adjust
6998
6999         * ParagraphList.h: make iterator(value_type) private, make
7000         ParagraphList a friend of iterator.
7001
7002         * ParagraphList.C (find): new function
7003
7004         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7005
7006 2003-05-27  André Pönitz  <poenitz@gmx.net>
7007
7008         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7009
7010 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7011
7012         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7013
7014 2003-05-26  John Levon  <levon@movementarian.org>
7015
7016         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7017
7018 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7019
7020         * remove same_id from function signatures, adjust.
7021
7022 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7023
7024         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7025
7026         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7027
7028         * paragraph.C (Paragraph): get rid of same_ids parameter
7029
7030         * ParagraphList.C (insert): adjust
7031         (push_back): adjust
7032
7033 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7034
7035         * paragraph_funcs.C (breakParagraph): adjust
7036         (breakParagraphConservative): adjust
7037
7038         * buffer.C (readParagraph): adjust
7039
7040         * ParagraphList.C (insert): take a reference instead of a pointer
7041         (insert): adjust
7042
7043         * paragraph.[Ch] (id): new function
7044
7045         * bufferlist.C (newFile): adjust
7046
7047         * ParagraphList.C (ParagraphList): adjust
7048         (assign): adjust
7049         (push_back): take a reference instead of a pointer.
7050
7051         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7052
7053         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7054         instead.
7055
7056         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7057         set else use old code.
7058
7059         * ParagraphList.C: remove all NO_NEXT code and only compile this
7060         code of NO_STD_LIST is set.
7061
7062 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7063
7064         * BufferView_pimpl.C:
7065         * TextCache.C:
7066         * TextCache.h:
7067         * bufferlist.C:
7068         * errorlist.h:
7069         * format.C:
7070         * format.h:
7071         * graph.C:
7072         * lyxfunc.C:
7073         * lyxrc.C:
7074         * graphics/GraphicsConverter.C:
7075         * graphics/PreviewLoader.C: header adjustment
7076
7077 2003-05-23  Angus Leeming  <leeming@lyx.org>
7078
7079         * LaTeXFeatures.[Ch] (useBabel): new method.
7080         * bufferparams.C (writeLaTeX): use it.
7081
7082 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7083
7084         * ParagraphList.h (set): remove unused function.
7085
7086 2003-05-23  André Pönitz  <poenitz@gmx.net>
7087
7088         * BufferView.C:
7089         * BufferView_pimpl.C:
7090         * buffer.C:
7091         * buffer.h:
7092         * lyxfunc.C:
7093         * undo_funcs.C: setUndo reworked
7094
7095         * iterators.[Ch]: add access to topmost ParagraphList
7096
7097         * lyxtext.[Ch] (workWidth): add a const
7098
7099 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7100
7101         * texrow.[Ch] (increasePos): remove function
7102         * exporter.C (export): removed unused var and outdated comment
7103
7104 2003-05-23  Angus Leeming  <leeming@lyx.org>
7105
7106         * latexrunparams.h: rename fragile as moving_arg.
7107         * paragraph.C (simpleTeXOnePar): ditto.
7108         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7109
7110 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7113         (createUndo): ditto
7114         (textUndoOrRedo): comment out a currently unused var.
7115
7116         * paragraph.h (NO_NEXT): enable NO_NEXT
7117
7118         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7119
7120         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7121
7122         * exporter.C (Export): adjust for removeAutoInsets removal.
7123
7124         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7125
7126         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7127
7128         * BufferView.[Ch] (removeAutoInsets): delete function
7129
7130 2003-05-22  Angus Leeming  <leeming@lyx.org>
7131
7132         * latexrunparams.h: add a free_spacing variable.
7133
7134         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7135         to pass moving_arg, as the data is stored in runparams.fragile.
7136
7137         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7138         to Inset::latexOptional or to simpleTeXOnePar.
7139
7140         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7141         free_spacing arg to Inset::latexOptional.
7142
7143         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7144         free_spacing arg.
7145
7146 2003-05-22  Angus Leeming  <leeming@lyx.org>
7147
7148         * latexrunparams.h: add fragile and use_babel variables.
7149
7150         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7151         * buffer.C (makeLaTeXFile): store this returned value in
7152         runparams.use_babel, thus passing it to the inset::latex methods.
7153
7154         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7155         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7156
7157         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7158         longer has a fragile arg, as it is stored in runparams.fragile.
7159
7160         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7161         moving_arg parameter as the data is stored in runparams.fragile.
7162
7163         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7164         a fragile parameter as the data is stored in runparams.fragile.
7165
7166 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7169
7170 2003-05-22  Angus Leeming  <leeming@lyx.org>
7171
7172         * latexrunparams.h: add a 'bool nice' which defaults to false.
7173
7174         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7175         now encapsulated within runparams.
7176
7177         * bufferlist.C (updateIncludedTeXfiles):
7178         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7179
7180 2003-05-22  Angus Leeming  <leeming@lyx.org>
7181
7182         * latexrunparams.h: new file containing struct LatexRunParams.
7183         * Makefile.am: add new file.
7184
7185         * LaTeX.[Ch] (c-tor, run):
7186         * buffer.[Ch] (makeLaTeXFile):
7187         * bufferlist.[Ch] (updateIncludedTeXfiles):
7188         * converter.C (convert, scanLog):
7189         * converter.[Ch] (runLaTeX):
7190         * exporter.C (Export):
7191         * paragraph.[Ch] (simpleTeXOnePar):
7192         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7193         * paragraph_funcs.[Ch] (latexParagraphs):
7194         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7195         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7196         pass around a LatexRunParams parameter.
7197
7198 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7199
7200         * paragraph.[Ch]: remove unused constructor
7201
7202         * ParagraphList.C (erase): new function, taking two iterators
7203
7204 2003-05-22  André Pönitz  <poenitz@gmx.net>
7205
7206         * undo_funcs.C: remove duplicated code
7207
7208         * iterator.[Ch]: operator=
7209
7210 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7211
7212         * tabular.C (SetMultiColumn): ws changes
7213
7214         * rowpainter.C (paintFirst): get rid of a ->previous
7215
7216         * lyx_cb.C (getPossibleLabel): parlist simplification
7217
7218         * BufferView.C (ChangeInsets): simplify slightly.
7219
7220 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7221
7222         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7223         * lfuns.h: new LFUN_SPACE
7224         * lyxfunc.C: protected space has a new lfun
7225         * paragraph_funcs.C: read new space insets
7226         * text3.C:
7227         * factory.C: handle new space insets
7228
7229 2003-05-22  André Pönitz  <poenitz@gmx.net>
7230
7231         * BufferView.C:
7232         * BufferView_pimpl.C:
7233         * buffer.[Ch]:
7234         * lyxfunc.C:
7235         * undo_funcs.C: return a ParIterator from getParFromID.
7236
7237         * iterators.[Ch]: add two const's
7238
7239 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7240
7241         * toc.C (getTocList): adjust
7242
7243         * iterators.[Ch]: rework for parlist
7244
7245         * buffer.C (par_iterator_begin): adjust
7246         (par_iterator_end): adjust
7247
7248         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7249
7250         * BufferView.C (removeAutoInsets): adjust
7251         (ChangeInsets): adjust
7252
7253 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7254
7255         * text.C (top_y): fix bug 1110
7256
7257 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7258
7259         * errorlist.[Ch]: added
7260         * buffer.C:
7261         * BufferView.[Ch]:
7262         * BufferView_pimpl.C:
7263         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7264         instead
7265
7266 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7267
7268         * Makefile.am: ensure that lyx is relinked upon changes to the
7269         various "convenience" libs.
7270
7271 2003-05-20  Angus Leeming  <leeming@lyx.org>
7272
7273         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7274         files are compiled in alphabetical order again.
7275
7276         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7277
7278 2003-05-19  Angus Leeming  <leeming@lyx.org>
7279
7280         * gettext.[Ch]: remove "char const * _(char const *)".
7281
7282 2003-05-19  André Pönitz  <poenitz@gmx.net>
7283
7284         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7285
7286         * Makefile.am:
7287         * BufferView.C:
7288         * DepTable.h:
7289         * LaTeXFeatures.C:
7290         * buffer.C:
7291         * lyxfont.C:
7292         * lyxlex.h:
7293         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7294
7295 2003-05-19  André Pönitz  <poenitz@gmx.net>
7296
7297         * buffer.C:
7298         * lyxlayout.[Ch]:
7299         * lyxtextclass.[Ch]:
7300         * paragraph.C:
7301         * paragraph_funcs.[Ch]:
7302         * text2.C:
7303         * text3.C: more insetenv work
7304
7305 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7306
7307         * ParagraphParameters.C (params2string): small bug fixed
7308
7309 2003-05-16  André Pönitz  <poenitz@gmx.net>
7310
7311         * debug.C:
7312         * bufferview_funcs.C: patch from Kornel Benko to prevent
7313           crash when _(...) is called twice in a statement
7314
7315 2003-05-16  André Pönitz  <poenitz@gmx.net>
7316
7317         * BufferView.C:
7318         * lyxfunc.C:
7319         * text.C:
7320         * text2.C:
7321         * text3.C:
7322         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7323
7324 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7325
7326         * lyx_main.C (init): remove spurious static_cast
7327
7328 2003-05-14  André Pönitz  <poenitz@gmx.net>
7329
7330         * BufferView.C: fix format string
7331
7332 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7333
7334         * BufferView.[Ch] (insertErrors): removed
7335         * BufferView.[Ch] (showErrorList): added
7336         * buffer.C (runChkTeX):
7337         * converter.C (scanLog): call showErrorList instead of inserterrors
7338
7339 2003-05-13  André Pönitz  <poenitz@gmx.net>
7340
7341         * BufferView_pimpl.C:
7342         * buffer.C:
7343         * bufferview_func.C:
7344         * MenuBackend.C:
7345         * lyxfunc.C:
7346         * lyxrc.C:
7347         * tex-accent.C:
7348         * text3.C:
7349         * toc.C:
7350         * tabular_funcs.h: tostr() from its own header
7351
7352         * ParagraphParameters.C:
7353         * ToolbarBackend.C:
7354         * bufferparams.C:
7355         * format.C:
7356         * lyxlex_pimpl.C:
7357         * text3.C: STRCONV()
7358
7359 2003-05-12  André Pönitz  <poenitz@gmx.net>
7360
7361         * BufferView.C:
7362         * BufferView_pimpl.C:
7363         * CutAndPaste.C:
7364         * LaTeX.C:
7365         * LaTeXFeatures.C:
7366         * ParagraphParameters.C:
7367         * buffer.C:
7368         * bufferlist.C:
7369         * bufferparams.C:
7370         * bufferview_funcs.C:
7371         * converter.C:
7372         * counters.C:
7373         * debug.C:
7374         * exporter.C:
7375         * format.C:
7376         * importer.C:
7377         * lyx_cb.C:
7378         * lyx_main.C:
7379         * lyxfont.C:
7380         * lyxfunc.C:
7381         * lyxvc.C:
7382         * paragraph.C:
7383         * paragraph_funcs.C:
7384         * tabular.C:
7385         * tabular_funcs.C:
7386         * text2.C:
7387         * text3.C:  boost::format -> bformat  all over the place
7388
7389
7390 2003-05-09  André Pönitz  <poenitz@gmx.net>
7391
7392         * LColor.[Ch]: Pimpl the #include <map> away
7393
7394 2003-05-09  John Levon  <levon@movementarian.org>
7395
7396         * bufferlist.C: never remove emergency saves
7397
7398 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7399
7400         * Makefile.am: better lib building
7401
7402 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7403
7404         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7405         instead.
7406         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7407         (simpleTeXSpecialChars): adjust
7408         (simpleTeXSpecialChars): adjust
7409         * paragraph.C (simpleTeXOnePar): adjust
7410         * buffer.C (makeLaTeXFile): adjust
7411
7412         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7413
7414         * text2.C (changeDepth): parlist cleanup
7415         (getColumnNearX): ditto
7416
7417         * rowpainter.C (getLabelFont): parlist cleanup
7418
7419         * bufferlist.C (newFile): parlist cleanup
7420
7421         * CutAndPaste.C (eraseSelection): parlist cleanup
7422
7423         * BufferView_pimpl.C (trackChanges): parlist cleanup
7424         (dispatch): ditto
7425
7426         * BufferView.C (lockInset): parlist cleanup.
7427         (ChangeInsets): ditto
7428
7429 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7430
7431         * CutAndPaste.h: Update file header.
7432
7433         * CutAndPaste.C: Update file header.
7434         Store the parts cut out of the Document in a limited_stack.
7435         (copySelection): adjust
7436         (pasteSelection): new function, takes the index in the limited stack.
7437         (nrOfParagraphs): adjust
7438         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7439         simplify error inset insertion.
7440         (checkPastePossible): adjust
7441
7442 2003-05-06  John Levon  <levon@movementarian.org>
7443
7444         * text2.C: don't cast wrap inset to float
7445
7446 2003-05-05  André Pönitz  <poenitz@gmx.net>
7447
7448         * iterator.C:
7449         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7450
7451         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7452           few naked Paragraph *.
7453
7454 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7455
7456         * bufferparams.C: Output warning if a document with missing
7457         TeX document class is loaded
7458         * exporter.C: Disable TeX exports if the document class is missing
7459         * lyxtextclass.C:
7460         * lyxtextclass.h:
7461         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7462         isTeXClassAvailable()
7463
7464 2003-05-03  John Levon  <levon@movementarian.org>
7465
7466         * BufferView.h:
7467         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7468         explicit cursor show/hide
7469
7470         * BufferView_pimpl.h:
7471         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7472         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7473
7474         * lyxfunc.C: hide cursor before dispatching.
7475
7476         * lyx_cb.C:
7477         * lyxfind.C:
7478         * text.C:
7479         * text3.C: remove explicit cursor hides
7480
7481 2003-05-02  André Pönitz  <poenitz@gmx.net>
7482
7483         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7484
7485         * undo_funcs.C:
7486         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7487           linked lists
7488
7489         * text2.C: tiny whitespace
7490
7491 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7492
7493         * undo_funcs.C: almost only ws changes.
7494
7495         * ParagraphList.C (splice): just return if pl is empty.
7496
7497 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7498
7499         * ParagraphList.C (splice): new function.
7500
7501         * CutAndPaste.C (pasteSelection): use it
7502
7503 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7504
7505         * CutAndPaste.C (pasteSelection): remove the last next and
7506         previous from this file.
7507
7508 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7509
7510         * CutAndPaste.C (pasteSelection): more clean up, user proper
7511         ParagraphList functions for pasteing.
7512
7513         * ParagraphList.C (insert): new function, three arg insert
7514
7515 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7516
7517         * ParagraphList.C (insert): new function, three arg insert
7518
7519         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7520         not on paragraphs.
7521
7522 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7523
7524         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7525
7526 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7527
7528         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7529
7530 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7531
7532         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7533         (copySelection): clean up a bit.
7534         (pasteSelection): use make_pair
7535
7536         * ParagraphList.C (ParagraphList): implement copy constructor
7537         (operator=): implement, base on copy constructor.
7538         (assign): new func
7539
7540         * paragraph.C (erase): return a bool
7541
7542         * paragraph_pimpl.C (erasePos): remove function, move contents...
7543         (erase): ... here. Return a bool.
7544         (erase): call erase instead of erasePos.
7545
7546 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7547
7548         * ParagraphList.h: define PitPosPair
7549         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7550         ParagraphList, fix a bug on pasting multiple pars
7551         * text2.C: change interface to C&P
7552
7553 2003-04-30  André Pönitz  <poenitz@gmx.net>
7554
7555         * undo_func.C: revert part of yesterday's patch 2
7556
7557 2003-04-30  John Levon  <levon@movementarian.org>
7558
7559         * LColor.C: s/tabular/table/
7560
7561 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7562
7563         * text3.C (dispatch): do not convert iterator -> pointer
7564         * undo_funcs.C (setCursorParUndo): ditto
7565         * text_funcs.C (transposeChars): ditto
7566
7567         * text2.C (setLayout): ws changes only
7568
7569         * text.C (breakParagraph): do not convert iterator -> pointer
7570         (insertChar): ditto
7571         (acceptChange): ditto
7572         (rejectChange): ditto
7573         (changeCase): ditto
7574         (Delete): ditto
7575         (backspace): ditto
7576
7577         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7578         pointer
7579
7580 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7581
7582         * text3.C (gotoInset): YABG (yet another bad getChar)
7583
7584 2003-04-29  André Pönitz  <poenitz@gmx.net>
7585
7586         * paragraph.h: make operator= private unimplemented as long as
7587           it is unusable
7588
7589         * ParagraphList.C: whitespace
7590
7591         * paragraph.[Ch]:
7592         * paragraph_pimpl.[Ch]:
7593         * paragraph_funcs.C:
7594         * CutAndPaste.C:
7595         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7596
7597         * text2.C:
7598           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7599
7600 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7601
7602         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7603         * paragraph.[Ch] (erase):
7604         * paragraph_pimpl.[Ch] (erase): change return type and value
7605         * text2.C (cutSelection): some rework
7606
7607 2003-04-28  John Levon  <levon@movementarian.org>
7608
7609         * bufferlist.C: changes for unsaved changes dialog
7610
7611 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7612
7613         * bufferlist.C (newFile): set language (messages_) for new
7614         documents also.
7615
7616         * buffer.C (readFile): ws changes only.
7617
7618 2003-04-28  André Pönitz  <poenitz@gmx.net>
7619
7620         * undo_funcs.C:
7621         * lyxfunc.C:
7622         * buffer.[Ch]:
7623         * BufferView_pimpl.C:
7624         * BufferView.C: getParFromID related ParagraphList::iterator changes
7625
7626 2003-04-28  André Pönitz  <poenitz@gmx.net>
7627
7628         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7629           Changes
7630
7631 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7632
7633         * messages.C: remove one more localedir class variable.
7634
7635 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7636
7637         * messages.C (getLocaleDir): singleton generation function
7638         (Pimpl): use it.
7639         (Messages): add a default constructor.
7640
7641         * main.C (main): do not setup localedir here, do not call
7642         gettext_init.
7643
7644         * gettext.C (_): use it.
7645         (gettext_init): delete funciton
7646
7647 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7648
7649         * gettext.C (getLyXMessages): new singleton generating function.
7650
7651         * buffer.C (updateDocLang): adjust
7652
7653         * Makefile.am (messages.o): add target
7654         (main.o): remove target
7655
7656 2003-04-27  John Levon  <levon@movementarian.org>
7657
7658         * bufferlist.C:
7659         * lyx_cb.C:
7660         * lyxfunc.C:
7661         * lyxvc.C: specify cancel button in Alert::prompt
7662
7663 2003-04-26  John Levon  <levon@movementarian.org>
7664
7665         * text3.C:
7666         * lyxfunc.C:
7667         * lfuns.h:
7668         * LyXAction.C: add LFUN_INSET_SETTINGS
7669
7670         * lyxfunc.C: don't enable tabular-feature when there's
7671         just any locking inset
7672
7673 2003-04-26  John Levon  <levon@movementarian.org>
7674
7675         * bufferlist.C: re-add Cancel to buffer close question
7676
7677         * lyxfunc.C: fix import UI a bit
7678
7679 2003-04-25  John Levon  <levon@movementarian.org>
7680
7681         * gettext.C: remove the broken asserts for now
7682
7683 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7684
7685         * messages.C: make case where setlocale cannot comply work better.
7686
7687         * buffer.C (updateDocLang): new function
7688         (changeLanguage): use it
7689         (readFile): use it
7690
7691         * text2.C (setCounter): use B_ a bit.
7692
7693         * lyxlayout.C (Read): be sure to trim the label strings.
7694
7695         * messages.C (Messages): fix typo in comment
7696
7697         * buffer.C (readFile): set message_ after file is loaded.
7698         (makeDocBookFile): remove double return
7699         (changeLanguage): reset message_ upon language change.
7700         (B_): new func, use this to get translated buffer strings.
7701
7702         * main.C: add myself and Jean Marc as authors.
7703
7704 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7705
7706         * messages.[hC]: pimplify Messages, and three different pimpls to be
7707         used in different circumstances.
7708
7709         * gettext.[Ch]: change for use with new message code.
7710
7711 2003-04-24 André Pönitz <poenitz@gmx.net>
7712
7713         * factory.C: support for eqref
7714
7715 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7716
7717         * messages.[Ch]: add missing char
7718
7719         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7720
7721         * messages.[Ch]: New files
7722
7723 2003-04-18  John Levon  <levon@movementarian.org>
7724
7725         * BufferView.h:
7726         * BufferView.C:
7727         * BufferView_pimpl.C:
7728         * lfuns.h:
7729         * LyXAction.C:
7730         * lyxtext.h:
7731         * text2.C: remove layout-copy/paste (bug 778)
7732
7733 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7734
7735         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7736
7737 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7738
7739         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7740         if they succeed. Act accordingly.
7741
7742 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7743
7744         * text2.C (setCharFont): adjust
7745         (setCounter): adjust
7746         (insertStringAsLines): adjust
7747
7748         * text.C (leftMargin): adjust
7749         (setHeightOfRow): adjust
7750
7751         * rowpainter.C (paintFirst): adjust
7752         (paintLast): adjust
7753
7754         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7755         (outerHook): ditto
7756         (isFirstInSequence): ditto
7757         (getEndLabel): ditto
7758         (outerFont): adjust
7759
7760         * paragraph.C (getParLanguage): comment out some hard stuff.
7761
7762         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7763         (sgmlError): ditto
7764         (simpleDocBookOnePar): ditto
7765         (makeDocBookFile): use ParagraphList::iterator
7766
7767         * CutAndPaste.C (pasteSelection): adjust
7768
7769 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7770
7771         * text2.C (getFont): adjust
7772         (getLayoutFont): adjust
7773         (getLabelFont): adjust
7774
7775         * paragraph_funcs.C (TeXOnePar): adjust
7776
7777         * buffer.C (simpleLinuxDocOnePar): adjust
7778         (simpleDocBookOnePar): adjust
7779
7780         * CutAndPaste.C (pasteSelection): adjust
7781
7782         * BufferView.C (getEncoding): adjust
7783
7784         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7785
7786 2003-04-16  John Levon  <levon@movementarian.org>
7787
7788         * lyxfind.C: use parlist stuff for search/changes
7789
7790 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7791
7792         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7793
7794         * text2.C (deleteEmptyParagraphMechanism): adjust
7795
7796         * text2.[Ch] (ownerParagraph): delete func (both of them
7797
7798 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7799
7800         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7801
7802 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7803
7804         * ParagraphList.C: prepare for NO_NEXT
7805
7806 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7807
7808         * text2.C (getFont): adjust
7809         (getLayoutFont): adjust
7810         (getLabelFont): adjust
7811
7812         * paragraph.C (getFont): adjust
7813         (getLabelFont): adjust
7814         (getLayoutFont): adjust
7815
7816         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7817
7818 2003-04-15  John Levon  <levon@movementarian.org>
7819
7820         From Angus Leeming
7821
7822         * lyx_main.C: handle Include in .ui files
7823
7824 2003-04-15  John Levon  <levon@movementarian.org>
7825
7826         * MenuBackend.C: make the doc files length shorter
7827
7828         * ToolbarBackend.h:
7829         * ToolbarBackend.C: handle toolbar placement flags,
7830         Minibuffer
7831
7832 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7833
7834         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7835         adjust
7836
7837         * paragraph_funcs.C (TeXOnePar): adjust
7838
7839         * paragraph.C (getLabelFont): add outerfont arg, adjust
7840         (getLayoutFont): ditto
7841         (simpleTeXOnePar): adjust
7842
7843         * paragraph_pimpl.C (realizeFont): delete func
7844
7845 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7846
7847         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7848         row argument, constify cur argument.
7849
7850 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7851
7852         * text2.C (getFont): adjust
7853         (getLayoutFont): adjust
7854         (getLabelFont): adjust
7855
7856         * paragraph_funcs.C (TeXOnePar): adjust
7857         (outerFont): new func...
7858         (realizeFont): ...moved out from here, changed this to facilitate
7859         transition
7860
7861         * paragraph.C (getFont): take outerfont as arg, adjust
7862         (simpleTeXOnePar): add outerfont arg, adjust
7863
7864         * buffer.C (simpleLinuxDocOnePar): adjust
7865         (simpleDocBookOnePar): adjust
7866
7867         * CutAndPaste.C (pasteSelection): adjust
7868
7869         * BufferView.C (getEncoding): adjust
7870
7871 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7872
7873         * text2.C (setCharFont): adjust
7874         (setCounter): adjust
7875
7876         * text.C (leftMargin): adjust
7877         (setHeightOfRow): adjust
7878
7879         * rowpainter.C (paintFirst): adjust
7880         (paintLast): adjust
7881
7882         * paragraph_pimpl.C (realizeFont): adjust
7883
7884         * paragraph.C (isFirstInSequence): move from here...
7885         * paragraph_funcs.C (isFirstInSequence): ...to here
7886
7887         * paragraph.C (outerHook): move from here...
7888         * paragraph_funcs.C (outerHook): ...to here
7889
7890         * paragraph.C (depthHook): move from here...
7891         * paragraph_funcs.C (depthHook): ...to here
7892
7893         * paragraph.C (getEndLabel): move from here...
7894         * paragraph_funcs.C (getEndLabel): ...to here
7895
7896         * text2.C (realizeFont): move from here...
7897         * paragraph_funcs.C (realizeFont): ...to here
7898
7899 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7900
7901         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7902
7903 2003-04-14  Angus Leeming  <leeming@lyx.org>
7904
7905         * LColor.[Ch]: scrap LColor mathcursor.
7906
7907 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7908
7909         * lyxlex.[Ch] (text): delete function
7910         * trans.C (Load): adjust
7911         * paragraph_funcs.C (readParToken): adjust
7912
7913 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7914
7915         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7916         vector<char> instead of a char[].
7917
7918         * lyxlex_pimpl.C (getString): adjust
7919         (next): adjust
7920         (lex): use getString
7921         (eatLine): adjust
7922         (nextToken): adjust
7923
7924         * lyxlex.C (text): use pimpl_->getString()
7925         (getBool): ditto
7926         (findToken): ditto
7927
7928 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7929
7930         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7931         (makeFontEntriesLayoutSpecific): temp var for par.size()
7932         (setLayout): temp var for ownerParagraphs().end()
7933         (fullRebreak): temp var for rows().end()
7934         (selectionAsString): temp var for boost::next(startpit), realize
7935         that the while really is a regular for loop.
7936         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7937         setCursor in one place.
7938         (setParagraph): temp vr for ownerParagraphs().end()
7939         (updateCounters): make the while loop a for loop
7940         (cutSelection): temp var for ownerParagraphs().end()
7941         (updateInset): make the do {} while() a regular for loop
7942         (getCursorX): use temp vars
7943         (setCurrentFont): use temp vars
7944         (getColumnNearX): use temp vars
7945
7946 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7947
7948         * text.C (transformChar): use temp var for getChar
7949         (computeBidiTables): use temp var for row->par()
7950         (fill): move temp vars for row->par() and pit->layout() earlier in
7951         the function.
7952         (labelFill): use temp var for row->par()
7953         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7954         asc and desc, realize that pit never changes and that firstpit is
7955         just a duplicate and not needed. Exchange rit->par() with pit in a
7956         lot of places.
7957         (breakAgain): use a temp var for boost::next(rit)
7958         (breakAgainOneRow): ditto
7959         (breakParagraph): use a temp var for rows().begin()
7960         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7961         (cursorRightOneWord): use temp var for cursor.par() and
7962         cursor.pos(), remove usage of tmpcursor.
7963         (cursorLeftOneWord): use temp var for cursor.par() and
7964         cursor.pos() only set cur at end of function.
7965
7966 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7967
7968         * text.C, text2.C: exchange all usage of Paragraph::next with
7969         boost::next(ParagraphList::iterator)
7970
7971         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7972
7973         * text2.C (cursorTop): simplify implementation
7974         (cursorBottom): ditto
7975         (setParagraph): use ParagraphList::iterator
7976         (setCurrentFont): adjust
7977         (getColumnNearX): adjust
7978         (cursorRight): adjust
7979         (cursorLeft): remove usage of Paragraph::previous
7980         (cursorUpParagraph): ditto
7981         (deleteEmptyParagraphMechanism): slight cleanup
7982
7983         * text.C (isBoundary): take a Paragraph const & instead of a
7984         pointer as arg.
7985         (addressBreakPoint): ditto
7986         (leftMargin): remove usage of Paragraph::previous.
7987         (setHeightOfRow): ditto
7988         (cursorLeftOneWord): ditto
7989         (selectNextWordToSpellcheck): ditto
7990         (Delete): ditto
7991         (backspace): ditto
7992         (breakParagraph): remove one usage of Paragraph::next
7993         (redoParagraph): ditto
7994         (acceptChange): ditto
7995         (insertChar): adjust
7996         (rowBreakPoint): adjust
7997
7998         * bufferview_funcs.C (toggleAndShow): adjust
7999
8000 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8001
8002         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8003         methods to access it.
8004         * lyxtext.h:
8005         * text.C: Added updateRowPositions to compute all row positions.
8006         Make top_y and getRowNearY() to use the cached y position
8007
8008 2003-04-11  John Levon  <levon@movementarian.org>
8009
8010         * text.C (rowBreakPoint): reintroduce the labelEnd
8011         checks, code copied from the row fill stuff. Deep voodoo.
8012
8013         * text.C (fill): add a comment and debugging for the
8014         next poor soul.
8015
8016 2003-04-11  John Levon  <levon@movementarian.org>
8017
8018         * text.C: make sure fullrow insets get wrapped to the next line,
8019         even when they're in a manual label
8020
8021 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8022
8023         * text2.C (insertParagraph): make it take ParagraphList::iterator
8024         as arg.
8025         (setLayout): make it return ParagraphList::iterator
8026         (redoParagraphs): ditto
8027         (setCounter): ditto
8028         (checkParagraph): ditto
8029
8030         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8031
8032         * text2.C: adjust several funcs.
8033         (realizeFont): take a ParagraphList::iterator as arg.
8034         (getLayoutFont): ditto
8035         (getLabelFont): ditto
8036         (setCharFont): ditto
8037
8038         * text.C: adjust several funcs.
8039
8040 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8041
8042         * text.C (selectNextWordToSpellcheck): don't accidentally
8043         skip insets
8044
8045 2003-04-10  John Levon  <levon@movementarian.org>
8046
8047         * ToolbarBackend.C (getIcon): special handling for
8048         LFUN_MATH_DELIM
8049
8050 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8051
8052         * text2.C (cursorRight): a getChar assert fixed
8053
8054 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8055
8056         * text2.C (getFont): change to take a ParagraphList::iterator
8057         instead of Paragraph*
8058         Adjust several functions.
8059
8060         * text.C (transformChar): change to take a ParagraphList::iterator
8061         instead of Paragraph*
8062         (singleWidth): ditto
8063         Adjust several functions.
8064
8065         * rowpainter.C: adjust several functions
8066         * rowpainter.h:store a ParagraphList::iterator and not a
8067         Paragraph&.
8068
8069
8070 2003-04-09  John Levon  <levon@movementarian.org>
8071
8072         * lyxfunc.C:
8073         * lfuns.h:
8074         * LyXAction.h:
8075         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8076         and the "help" bits as well
8077
8078 2003-04-09  John Levon  <levon@movementarian.org>
8079
8080         * ToolbarBackend.h:
8081         * ToolbarBackend.C: allow multiple toolbars
8082
8083 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8084
8085         * undo_funcs.C (setCursorParUndo): adjust
8086
8087         * text_funcs.C (transposeChars): adjust
8088
8089         * text3.C (gotoNextInset): adjust
8090         (dispatch): adjust
8091
8092         * text2.C (setLayout): adjust
8093         (changeDepth): adjust
8094         (setFont): adjust
8095         (redoParagraphs): adjust
8096         (selectionAsString): adjust
8097         (setParagraph): adjust
8098         (insertInset): adjust
8099         (cutSelection): adjust
8100         (copySelection): adjust
8101         (pasteSelection): adjust
8102         (insertStringAsLines): adjust
8103         (updateInset): adjust
8104         (setCursor): change to take a ParagraphList::iterator parameter
8105         (setCursorIntern): change to take a ParagraphList::iterator parameter
8106         (setCurrentFont): adjust
8107         (cursorLeft): adjust
8108         (cursorRight): adjust
8109         (deleteEmptyParagraphMechanism): adjust
8110
8111         * text.C (breakParagraph): adjust
8112         (insertChar): adjust
8113         (acceptChange): adjust
8114         (rejectChange): adjust
8115         (selectNextWordToSpellcheck): adjust
8116         (changeCase): adjust
8117         (Delete): adjust
8118         (backspace): adjust
8119
8120         * lyxfind.C (SearchForward): adjust
8121         (SearchBackward): adjust
8122         (nextChange): adjust
8123
8124         * lyxcursor.C (par): adjust
8125
8126         * lyxcursor.h: store a ParagraphList::iterator instead of a
8127         Paragraph*
8128
8129         * lyx_cb.C (getPossibleLabel): adjust
8130
8131         * bufferview_funcs.C (toggleAndShow): adjust
8132
8133         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8134         (dispatch): adjust
8135
8136         * BufferView.C (removeAutoInsets): adjust
8137         (lockedInsetStoreUndo): adjust
8138
8139 2003-04-09  John Levon  <levon@movementarian.org>
8140
8141         * ToolbarBackend.C: try icon without argument
8142         if with argument fails
8143
8144 2003-04-08  John Levon  <levon@movementarian.org>
8145
8146         * ToolbarBackend.h:
8147         * ToolbarBackend.C: add getIcon(), handle tooltip,
8148         and change from "Icon" to "Item".
8149
8150 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8151
8152         * BufferView.C (lockInset): another bad getchar crunched
8153
8154 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8155
8156         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8157         again)
8158
8159 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8160
8161         * lyxfind.C (searchForward, searchBackwards): bug 782
8162
8163 2003-04-07  John Levon  <levon@movementarian.org>
8164
8165         * paragraph.C: remove dead comment
8166
8167         * text.C: remove troublesome depth-fiddling code
8168         in leftMargin() and rightMargin() (bug 1017)
8169
8170         * text.C: fix breaking of rows in nested lists
8171         (bug 1004)
8172
8173         * text2.C (updateCounters): fix up depth values
8174         (bug 1013)
8175
8176 2003-04-07  John Levon  <levon@movementarian.org>
8177
8178         * BufferView_pimpl.C: clear message when doc finishes resizing,
8179         and after a mouse event
8180
8181         * lyxfunc.C: clear message after exiting inset
8182
8183 2003-04-07  John Levon  <levon@movementarian.org>
8184
8185         * bufferview_funcs.C: show math status not outside
8186         status in the statusbar
8187
8188 2003-04-07  John Levon  <levon@movementarian.org>
8189
8190         * lyxfunc.C: note status changed after a depth change
8191
8192 2003-04-04  Angus Leeming  <leeming@lyx.org>
8193
8194         * LaTeX.h: move AuxInfo operator==, != out of line.
8195         Remove LaTeX virtual destructor; nothing derives from it.
8196         Move operator()() out of public area and rename it startscript().
8197         Change protected for private.
8198
8199 2003-04-04  Angus Leeming  <leeming@lyx.org>
8200
8201         * lyxfunc.C:
8202         * text2.C: remove unneeded #includes.
8203
8204 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8205
8206         * text2.C (dEPM): fix the heigth of the next row
8207
8208 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8209
8210         * text.C: squashed an invalid getChar requester + some ws changes
8211
8212 2003-04-03  John Levon  <levon@movementarian.org>
8213
8214         * bufferview_funcs.h:
8215         * bufferview_funcs.C:
8216         * lyxfunc.C:
8217         * lyxtext.h:
8218         * text2.C: make getStatus work for the env depth lfuns
8219
8220 2003-04-03  John Levon  <levon@movementarian.org>
8221
8222         * bufferview_funcs.h:
8223         * bufferview_funcs.C:
8224         * lyxfunc.C:
8225         * lyxtext.h:
8226         * text2.C: parlistize decDepth(), by merging it with incDepth()
8227
8228 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8229
8230         * lyxrow.h: store a ParagraphList::iterator instead of a
8231         Paragraph* and adjust other class functions to suit.
8232
8233         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8234         above.
8235
8236 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8237
8238         * text2.C (setCursor): do not anchor to cursor row for the time being
8239
8240 2003-04-02  John Levon  <levon@movementarian.org>
8241
8242         * LyXAction.C:
8243         * lfuns.h:
8244         * lyx_main.C:
8245         * lyxtext.h:
8246         * text.C:
8247         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8248
8249 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8250
8251         * paragraph.h: make ParagraphList and ParagraphList::iterator
8252         friends of Paragraph.
8253
8254         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8255
8256         * ParagraphList.C: Use the private next_ and previous_ from
8257         Paragraph.
8258
8259 2003-04-01  John Levon  <levon@movementarian.org>
8260
8261         * ToolbarBackend.h:
8262         * ToolbarBackend.C:
8263         * Makefile.am: rename, remove defaults gunk
8264
8265         * MenuBackend.h:
8266         * MenuBackend.C: remove defaults gunk
8267
8268         * Languages.h:
8269         * Languages.C: remove defaults gunk
8270
8271         * lyx_main.h:
8272         * lyx_main.C: error out if files couldn't be found.
8273
8274 2003-04-02  John Levon  <levon@movementarian.org>
8275
8276         * text2.C: make incDepth() use parlist
8277
8278 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8279
8280         * undo_funcs.C (firstUndoParagraph): adjust
8281
8282         * text3.C (gotoInset): adjust
8283         (dispatch): adjust, and rewrite loop.
8284
8285         * text2.C (init): adjust, and rewrite loop.
8286         (redoParagraphs): adjust
8287         (updateInset): adjust, and rewrite loop.
8288         (deleteEmptyParagraphMechanism): adjust
8289
8290         * tabular.C (LyXTabular): adjust
8291         (SetMultiColumn): adjust
8292         (TeXRow): adjust
8293
8294         * lyxtext.[Ch] (ownerParagraph): delete function
8295         (ownerParagraphs): new function returns a ParagraphList.
8296
8297         * BufferView.C (removeAutoInsets): adjust
8298         (insertErrors): adjust
8299         (setCursorFromRow): adjust
8300
8301 2003-04-01  Angus Leeming  <leeming@lyx.org>
8302
8303         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8304         in the frontends.
8305
8306 2003-04-02  John Levon  <levon@movementarian.org>
8307
8308         * lyxtext.h:
8309         * text.C:
8310         * Makefile.am:
8311         * text_funcs.h:
8312         * text_funcs.C: make transposeChars a free function
8313
8314         * lyxrow_funcs.C: remove wrong comment
8315
8316 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8317
8318         * lyxtext.h: adjust
8319         * rowpainter.C: adjust
8320         * text.C: adjust
8321         * text2.C: adjust
8322         * text3.C: adjust
8323
8324         * lyxrow_funcs. [Ch]: new files
8325
8326         * lyxrow.[Ch]: remove next and previous pointers
8327         (next,previous): remove accessor functions
8328         (isParEnd): move to lyxrow_funcs
8329         (lastPos): move to lyxrow_funcs
8330         (nextRowIsAllInset): move to lyxrow_funcs
8331         (lastPrintablePos): move to lyxrow_funcs
8332         (numberOfSeparators): move to lyxrow_funcs
8333         (numberOfHfills): move to lyxrow_funcs
8334         (numberOfLabelHfills): move to lyxrow_funcs
8335         (hfillExpansion): move to lyxrow_funcs
8336
8337         * lyxfunc.C: adjust
8338
8339         * bufferview_funcs.C (toggleAndShow): adjust
8340
8341         * RowList.h: Remove class RowList from file leave just a
8342         std::list<Row>.
8343
8344         * RowList.C: delete file
8345
8346         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8347         and lyxrow_funcs.h
8348
8349 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8350
8351         * text3.C (cursorPrevious): adjust
8352         (cursorNext): adjust
8353         (dispatch): adjust
8354
8355         * text2.C (redoHeightOfParagraph): adjust
8356         (redoDrawingOfParagraph): adjust
8357         (setCursor): adjust
8358
8359         * text.C (breakParagraph): adjust
8360         (insertChar): adjust
8361         (backspace): adjust
8362
8363         * rowpainter.C (RowPainter): adjust
8364         (leftMargin): simplify and adjust
8365         (most rowpainter functions): adjust.
8366
8367         * rowpainter.h: store the row as RowList::iterator not as Row*
8368
8369         * lyxcursor.C (row): taka RowList::iterator as arg
8370         (irow): ditto
8371
8372         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8373         of Row*.
8374
8375 2003-04-01  Angus Leeming  <leeming@lyx.org>
8376
8377         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8378         stuff like bool Bool.
8379
8380 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8381
8382         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8383         rewrite a loop
8384
8385 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8386
8387         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8388         RowList::iterator.
8389
8390         * lyxtext.h (rows): drop one version and leve a const variant that
8391         returns a RowList::iterator.
8392
8393 2003-03-31  Angus Leeming  <leeming@lyx.org>
8394
8395         * text.C (fill): ensure that the signature is the same as that in the
8396         header file.
8397
8398 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8399
8400         * text2.C (redoParagraphs): adjust
8401         (updateCounters): adjust
8402         (checkParagraph): adjust
8403         (getColumnNearX): adjust and reformat a bit.
8404
8405         * text.C (top_y): adjust
8406         (workWidth): adjust
8407         (leftMargin): adjust
8408         (prepareToPrint): adjust
8409         (getRow): adjust
8410         (getRowNearY): adjust
8411
8412         * lyxtext.h: make rowlist_ mutable.
8413
8414         * RowList.h: add const_iterator
8415         * RowList.C: adjust for RowList::const_iterator.
8416
8417         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8418         adjust.
8419
8420 2003-03-31  John Levon  <levon@movementarian.org>
8421
8422         * lyxrc.h:
8423         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8424
8425         * lyx_main.C: set default fonts from using lyx_gui funcs
8426
8427         * exporter.C: pdf_mode moved from lyxrc
8428
8429         * lyx_cb.C:
8430         * lyxfunc.C: changes from above
8431
8432 2003-03-31  John Levon  <levon@movementarian.org>
8433
8434         * lyx_main.C: fix to the last fix
8435
8436 2003-03-31  John Levon  <levon@movementarian.org>
8437
8438         * bufferlist.C: "Load original" -> "Load Original"
8439
8440         * converter.C:
8441         * exporter.C:
8442         * importer.C:
8443         * lyx_main.C:
8444         * format.C: more Alert cleanups
8445
8446 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8447
8448         * text2.C (removeParagraph): make it take a RowList::iterator as
8449         arg, adjust.
8450         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8451         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8452
8453         * text.C (anchor_row): make it take a RowList::iterator as arg,
8454         adjust.
8455         (computeBidiTables): make it take a const reference to Row instead
8456         of Row pointer, adjust.
8457         (leftMargin): make it take a RowList::iterator as arg, adjust.
8458         (rowBreakPoint): adjust
8459         (breakAgainOneRow): make it take a RowList::iterator as arg,
8460         adjust.
8461         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8462
8463         * bufferview_funcs.C (toggleAndShow): adjust
8464
8465 2003-03-30  John Levon  <levon@movementarian.org>
8466
8467         * Makefile.am:
8468         * BoostFormat.h:
8469         * boost-inst.C: moved to support
8470
8471         * several files: changes as a result
8472
8473 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8474
8475         * text2.C (LyXText): adjust.
8476         (init): adjust
8477         (removeRow): make it take a RowList::iterator as arg, adjust.
8478         (fullRebreak): adjust
8479         (deleteEmptyParagraphMechanism): adjust
8480         (clearPaint): adjust
8481         (postPaint): adjust
8482
8483         * text.C (top_y): adjust
8484         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8485         (breakAgain): make it take a RowList::iterator as arg, adjust.
8486         (breakParagraph): adjust
8487         (insertChar): adjust
8488         (backspace): adjust
8489
8490         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8491         need_break_row, and refresh_row.
8492
8493         * text3.C (dispatch): adjust
8494
8495         * text2.C (checkParagraph): adjust
8496         (setCursor): adjust
8497         (setCursorFromCoordinates): adjust
8498
8499         * text.C (top_y): adjust
8500         (workWidth): adjust
8501         (getRow): make it return a RowList::iterator, adjust
8502         (getRowNearY): make it return a RowList::iterator, adjust
8503
8504         * text2.C (init): adjust
8505         (insertRow): remove function
8506         (insertParagraph): adjust
8507         (redoParagraphs): adjust
8508         (fullRebreak): adjust
8509         (updateCounters): adjust
8510
8511         * text.C (top_y): rewrite to use RowList iterators.
8512         (top_y): adjust
8513         (setHeightOfRow): rewrite to sue RowList iterators.
8514         (appendParagraph): adjust
8515         (breakAgain): adjust
8516         (breakAgainOneRow): adjust
8517         (breakParagraph): adjust
8518         (getRow): adjust
8519         (getRowNearY): adjust, and remove commented code.
8520
8521         * lyxtext.h (firstRow): delete function
8522         (lastRow): delete function
8523         (rows): new function (const and non-const versions.)
8524         (insertRow): delete function
8525
8526         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8527
8528 2003-03-29  John Levon  <levon@movementarian.org>
8529
8530         * BufferView_pimpl.C: always update scrollbar top
8531         because pasting text when we're anchored could mean we
8532         miss an update altogether
8533
8534 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8535
8536         * text2.C (init): use rowlist_.end() and not 0.
8537         (insertRow): change to take a RowList::iterator as arg, adjust
8538         for this.
8539         (insertParagraph): change to take a RowList::iterator as arg,
8540         adjust for this.
8541         (redoParagraphs): remove some debug msgs.
8542
8543         * text.C (appendParagraph): change to take a RowList::iterator
8544         arg, adjust for this.
8545         (breakAgain): add an assert
8546         (breakAgainOneRow): ditto
8547
8548 2003-03-29  John Levon  <levon@movementarian.org>
8549
8550         * text2.C: do not clear selection after inc/decDepth
8551         (bug 550)
8552
8553 2003-03-29  John Levon  <levon@movementarian.org>
8554
8555         * BufferView.C:
8556         * buffer.C: fix broken strerrors according to Lars
8557
8558 2003-03-29  John Levon  <levon@movementarian.org>
8559
8560         * converters.C: more Alert cleanups
8561
8562 2003-03-29  John Levon  <levon@movementarian.org>
8563
8564         * bufferview_funcs.C: remove pointless Alert
8565
8566         * buffer.C: fix confusing error message when
8567         a template is chmoded 000
8568
8569 2003-03-29  John Levon  <levon@movementarian.org>
8570
8571         * BufferView.C:
8572         * BufferView.h:
8573         * BufferView_pimpl.C: Alert fixes
8574
8575         * Makefile.am:
8576         * tabular.C:
8577         * tabular-old.C: remove unused table compat reading
8578
8579 2003-03-29  John Levon  <levon@movementarian.org>
8580
8581         * BufferView.C:
8582         * buffer.C:
8583         * lyx_cb.h:
8584         * lyx_cb.C: more Alert cleanups
8585
8586         * lyxfunc.C: don't allow chktex if not latex document
8587
8588 2003-03-29  John Levon  <levon@movementarian.org>
8589
8590         * lyx_cb.C:
8591         * BufferView.C:
8592         * buffer.C: warnings pushed down from support/,
8593         kill err_alert
8594
8595 2003-03-29  John Levon  <levon@movementarian.org>
8596
8597         * lyxfunc.C: safety check for C-r (revert)
8598
8599 2003-03-29  John Levon  <levon@movementarian.org>
8600
8601         * bufferlist.h:
8602         * bufferlist.C: several UI fixes using Alert::prompt.
8603         Fix the pointless looping quit code. Fix stupid revert
8604         behaviour (bug 938)
8605
8606         * lyxvc.h:
8607         * lyxvc.C:
8608         * lyx_cb.C: use Alert::prompt
8609
8610         * lyx_main.C: remove a silly question
8611
8612         * lyxfunc.C: remove a couple of silly questions,
8613         use Alert::prompt
8614
8615 2003-03-28  John Levon  <levon@movementarian.org>
8616
8617         * text2.C: fix bug 974 (End on empty par)
8618
8619 2003-03-28  John Levon  <levon@movementarian.org>
8620
8621         * BufferView_pimpl.C:
8622         * LyXAction.C:
8623         * lfuns.h: remove do-nothing math greek lfuns
8624
8625 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8626
8627         * lyxgluelength.h (isValidGlueLength): add default arg on
8628         parameter 2. Remove default arg from friend in class.
8629
8630         * lyxlength.h (isValidLength): add default arg on parameter 2.
8631         Remove default arg from friend in class.
8632
8633         * text2.C (LyXText): adjust, initialize refresh_row.
8634         (init): adjust
8635         (removeRow): adjust
8636         (insertRow): adjust
8637         (insertParagraph): adjst
8638         (redoParagraphs): adjust
8639         (fullRebreak): adjust
8640         (updateCounters): adjust
8641         (deleteEmptyParagraphMechanism): first attempt at fixing a
8642         crashing bug.
8643
8644         * text.C (top_y): adjust
8645         (setHeightOfRow): adjust
8646         (getRow): adjust
8647         (getRowNearY): adjust
8648
8649         * lyxtext.h: include RowList.h
8650         (~LyXText): not needed anymore, deleted.
8651         (firstRow): modify for RowList
8652         (lastRow): new function
8653         Delete firstrow and lastrow class variables, add a Rowlist
8654         rowlist_ class variable.
8655
8656         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8657         paragraph is empty.
8658
8659         * RowList.C (insert): fix case where it == begin().
8660
8661 2003-03-26  Angus Leeming  <leeming@lyx.org>
8662
8663         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8664         the thesaurus dialog.
8665
8666 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8667
8668         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8669
8670         * RowList.[Ch]: new files
8671
8672         * ParagraphList.C (erase): handle the case where it == begin
8673         correctly.
8674
8675 2003-03-25  John Levon  <levon@movementarian.org>
8676
8677         * Makefile.am:
8678         * aspell_local.h:
8679         * aspell.C: add new aspell support
8680
8681         * lyxrc.h:
8682         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8683         have it accessible.
8684
8685 2003-03-25  Angus Leeming  <leeming@lyx.org>
8686
8687         * lfuns.h:
8688         * LyXAction.C (init): new LFUN_INSET_INSERT.
8689
8690         * BufferView_pimpl.C (dispatch): split out part of the
8691         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8692
8693         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8694         LFUN_INSET_APPLY.
8695
8696 2003-03-25  Angus Leeming  <leeming@lyx.org>
8697
8698         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8699
8700 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8701
8702         * text2.C:
8703         * text3.C: remove useless row->height(0)
8704
8705 2003-03-25  John Levon  <levon@movementarian.org>
8706
8707         * lyxtext.h:
8708         * text2.C:
8709         * text3.C: rename the refreshing stuff to better names
8710
8711 2003-03-24  John Levon  <levon@movementarian.org>
8712
8713         * BufferView_pimpl.h:
8714         * BufferView_pimpl.C: update layout choice on a mouse
8715         press/release
8716
8717 2003-03-23  John Levon  <levon@movementarian.org>
8718
8719         * Makefile.am: fix commandtags.h reference
8720
8721 2003-03-22  John Levon  <levon@movementarian.org>
8722
8723         * BufferView_pimpl.C:
8724         * lyxtext.h:
8725         * rowpainter.C:
8726         * rowpainter.h:
8727         * text.C:
8728         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8729
8730 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8731
8732         * lyxtext.h:
8733         * text.C: take the rtl methods out of line
8734
8735 2003-03-21 André Pönitz <poenitz@gmx.net>
8736
8737         * metricsinfo.[Ch]: new files containing structures to be passed around
8738         during the two-phase-drawing...
8739
8740 2003-03-21 André Pönitz <poenitz@gmx.net>
8741
8742         * lyxtextclass.C: read 'environment' tag.
8743
8744 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8745
8746         * text2.C (removeRow): fix bug 964
8747
8748 2003-03-20  John Levon  <levon@movementarian.org>
8749
8750         * rowpainter.C:
8751         * text.C:
8752         * text2.C: paint cleanups. Inset::update() dropped font
8753         parameter
8754
8755 2003-03-19  John Levon  <levon@movementarian.org>
8756
8757         * lyxfunc.C: only fitcursor/markDirty if available()
8758
8759 2003-03-19  John Levon  <levon@movementarian.org>
8760
8761         * commandtags.h: rename to ...
8762
8763         * lfuns.h: ... this, and renumber / cleanup
8764
8765 2003-03-19  John Levon  <levon@movementarian.org>
8766
8767         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8768         fit the cursor after an lfun
8769
8770         * BufferView.h:
8771         * BufferView.C:
8772         * BufferView_pimpl.h:
8773         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8774
8775         * LyXAction.C: layout-character should have ReadOnly
8776
8777         * ParagraphParameters.C:
8778         * buffer.C:
8779         * bufferview_funcs.C:
8780         * lyx_cb.C:
8781         * lyxfind.C:
8782         * lyxtext.h:
8783         * text.C:
8784         * text2.C:
8785         * text3.C:
8786         * undo_funcs.C: changes from above
8787
8788 2003-03-18  John Levon  <levon@movementarian.org>
8789
8790         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8791         remove it from update()
8792
8793         * lyxfunc.C: update layout choice after an lfun
8794
8795         * text3.C: remove extra updateLayoutChoice()s
8796
8797 2003-03-18  John Levon  <levon@movementarian.org>
8798
8799         * text.C: top_y change means full repaint, fix
8800         a drawing bug with cursor movement
8801
8802 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8803
8804         * lyxtext.h:
8805         * text.C:
8806         * text2.C: anchor row on setCursor
8807
8808 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8809
8810         * lyxtext.h: remove almost all mutable keywords
8811         * text.C:
8812         * text2.C:
8813         * text3.C: remove const keywords accordingly
8814
8815 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8816
8817         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8818         anon namespace
8819         (TeXEnvironment): ditto
8820         (TeXOnePar): ditto
8821
8822 2003-03-17  John Levon  <levon@movementarian.org>
8823
8824         * text.C (rowBreakPoint): remove attempt to fix displayed
8825         math insets inside a manual label
8826
8827 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8828
8829         * lyxtext.h: remove BufferView* as first arg from almost all class
8830         functions.
8831         * other files: adjust.
8832
8833 2003-03-17  John Levon  <levon@movementarian.org>
8834
8835         * lyxtext.h:
8836         * undo_funcs.C:
8837         * text2.C: more paint cleanups
8838
8839         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8840
8841         * rowpainter.h:
8842         * rowpainter.C: remove "smart" background painting code
8843
8844 2003-03-16  John Levon  <levon@movementarian.org>
8845
8846         * lyxtext.h:
8847         * text.C:
8848         * text2.C:
8849         * text3.C: add helper functions for setting refresh_row/y
8850
8851 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8852
8853         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8854         newline inset which *can* get inserted in the pass_thru layouts.
8855         This is primarily for literate documents.
8856
8857 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8858
8859         * buffer.C: increment LYX_FORMAT to 223
8860
8861 2003-03-14 André Pönitz <poenitz@gmx.net>
8862
8863         * textclass.h: prepare for environment handling, ws changes
8864         * lyxlayout.C: read latexheader and latexfooter tags
8865
8866 2003-03-14  John Levon  <levon@movementarian.org>
8867
8868         * text2.C: rewrite ::status() a bit
8869
8870 2003-03-13  John Levon  <levon@movementarian.org>
8871
8872         * lyxtext.h: add some docs
8873
8874 2003-03-13  John Levon  <levon@movementarian.org>
8875
8876         * lyxtext.h:
8877         * text.C:
8878         * text2.C:
8879         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8880
8881 2003-03-13  John Levon  <levon@movementarian.org>
8882
8883         * text3.C: fix appendix redrawing
8884
8885 2003-03-13  John Levon  <levon@movementarian.org>
8886
8887         * text.C (setHeightOfRow):
8888         * rowpainter.h:
8889         * rowpainter.C: make appendix mark have the text
8890           "Appendix" so the user knows what it is
8891
8892         * LColor.h:
8893         * LColor.C: s/appendixline/appendix/ from above
8894
8895 2003-03-13  John Levon  <levon@movementarian.org>
8896
8897         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8898
8899         * text.C: fix a getChar(pos) bug properly
8900
8901 2003-03-13  Angus Leeming  <leeming@lyx.org>
8902
8903         * commandtags.h:
8904         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8905         Probably only temporary. Let's see how things pan out.
8906
8907         * BufferView.C (unlockInset):
8908         * BufferView_pimpl.C (fitCursor):
8909         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8910
8911         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8912         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8913
8914         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8915         new functions that convert ParagraphParameters to and from a string.
8916
8917         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8918         BufferView::Pimpl's dispatch.
8919         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8920
8921 2003-03-13 André Pönitz <poenitz@gmx.net>
8922
8923         * lyxfunc.C:
8924         * text3.C:
8925         * factory.C: make it aware of InsetEnv
8926
8927 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8928
8929         * text2.C (setCursor): never ask for one past last
8930         (setCursor): add some debugging messages.
8931
8932         * text.C (singleWidth): never ask for one past last
8933         (singleWidth): ditto
8934         (leftMargin): ditto
8935         (rightMargin): ditto
8936         (rowBreakPoint): ditto
8937         (setHeightOfRow): ditto
8938         (prepareToPrint): ditto
8939
8940         * rowpainter.C (paintBackground): never ask for one past last
8941         (paintText): never ask for one past last
8942
8943         * paragraph_pimpl.C (getChar): make the assert stricter, never
8944         allow the one past last pos to be taken
8945
8946         * paragraph.C (getChar): ws changes only
8947
8948         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8949         (numberOfSeparators): ditto
8950         (numberOfHfills): ditto
8951
8952 2003-03-12  John Levon  <levon@movementarian.org>
8953
8954         * author.h:
8955         * author.C:
8956         * bufferparams.h:
8957         * bufferparams.C:
8958         * paragraph_funcs.C: fix per-buffer authorlists
8959
8960 2003-03-12  John Levon  <levon@movementarian.org>
8961
8962         * text.C: fix newline in right address
8963
8964 2003-03-12  Angus Leeming  <leeming@lyx.org>
8965
8966         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8967         duplicate those in LyXFunc::dispatch.
8968
8969         * commandtags.h:
8970         * LyXAction.C:
8971         * ToolbarDefaults.C:
8972         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8973         Add LFUN_FONTFREE_UPDATE.
8974
8975         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8976         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8977
8978         * bufferview_func.[Ch]: several new functions to facilliate
8979         transfer of data to and from the character dialog.
8980
8981 2003-03-12  John Levon  <levon@movementarian.org>
8982
8983         * buffer.C:
8984         * paragraph.h:
8985         * paragraph.C:
8986         * paragraph_funcs.C:
8987         * paragraph_pimpl.C:
8988         * sgml.C:
8989         * tabular.C:
8990         * text.C:
8991         * text3.C: remove META_NEWLINE in favour of an inset
8992
8993         * rowpainter.h:
8994         * rowpainter.C: remove paintNewline (done by inset)
8995
8996 2003-03-12  John Levon  <levon@movementarian.org>
8997
8998         * paragraph_pimpl.C: complain about bad getChar()s
8999         for a while at least
9000
9001 2003-03-12  John Levon  <levon@movementarian.org>
9002
9003         * buffer.h:
9004         * buffer.C: move paragraph read into a separate function,
9005         a little renaming to reflect that.
9006
9007         * bufferparams.h:
9008         * bufferparams.C: remove the author_ids map, not necessary now
9009
9010         * factory.h:
9011         * factory.C: moved Buffer::readInset to here
9012
9013         * paragraph_funcs.h:
9014         * paragraph_funcs.C: readParagraph free function moved from
9015         buffer.C
9016
9017         * tabular.C: name change
9018
9019 2003-03-12  John Levon  <levon@movementarian.org>
9020
9021         * buffer.C:
9022         * ParagraphParameters.C: move par params input to
9023         a read() method
9024
9025         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9026         behave like a normal read from the stream wrt reading
9027         a line vs. a \\token
9028
9029 2003-03-12  John Levon  <levon@movementarian.org>
9030
9031         * paragraph.C:
9032         * ParagraphParameters.h:
9033         * ParagraphParameters.C: move output code to a
9034         ::write() method
9035
9036 2003-03-12  John Levon  <levon@movementarian.org>
9037
9038         * BufferView.C (insertLyXFile):
9039         * buffer.h:
9040         * buffer.C:
9041         * tabular.C: use a parlist iterator for creating the
9042           document.
9043
9044 2003-03-12  John Levon  <levon@movementarian.org>
9045
9046         * buffer.C: make current_change static local not
9047           static file-scope
9048
9049 2003-03-12  John Levon  <levon@movementarian.org>
9050
9051         * buffer.C: fix insertStringAsLines for change tracking
9052
9053 2003-03-12  John Levon  <levon@movementarian.org>
9054
9055         * BufferView.C:
9056         * tabular.C:
9057         * buffer.h:
9058         * buffer.C:
9059         * bufferparams.h:
9060         * bufferparams.C: move author list into params. Rename some
9061           functions. Move the header reading into a separate token
9062           loop. Move the header token reading into BufferParams.
9063
9064 2003-03-12  John Levon  <levon@movementarian.org>
9065
9066         * changes.C: put debug inside lyxerr.debugging() checks
9067
9068 2003-03-11 André Pönitz <poenitz@gmx.net>
9069
9070         * factory.C: make it aware of InsetHFill
9071
9072 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9073
9074         * buffer.C (latexParagraphs): move function from here...
9075         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9076         args.
9077
9078 2003-03-10  Angus Leeming  <leeming@lyx.org>
9079
9080         * LyXAction.C (init): fix bug in poplating array with multiple entries
9081         with the same LFUN (spotted by JMarc).
9082
9083 2003-03-10  John Levon  <levon@movementarian.org>
9084
9085         * text.C:
9086         * text2.C: move getColumnNearX() near its
9087         only call site
9088
9089 2003-03-10  John Levon  <levon@movementarian.org>
9090
9091         * text.C: fix break before a minipage
9092
9093 2003-03-10  John Levon  <levon@movementarian.org>
9094
9095         * text.C: fix the last commit
9096
9097 2003-03-09  John Levon  <levon@movementarian.org>
9098
9099         * lyxtext.h:
9100         * text.C:
9101         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9102         bug 365 (don't break before insets unless needed). Don't
9103         return a value > last under any circumstances.
9104
9105 2003-03-09  Angus Leeming  <leeming@lyx.org>
9106
9107         * BufferView_pimpl.C (trackChanges, dispatch): call
9108         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9109
9110 2003-03-09  Angus Leeming  <leeming@lyx.org>
9111
9112         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9113         than Dialogs::showAboutlyx().
9114
9115 2003-03-09  Angus Leeming  <leeming@lyx.org>
9116
9117         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9118         than Dialogs::showTabularCreate().
9119
9120 2003-03-09  John Levon  <levon@movementarian.org>
9121
9122         * lyxtext.h:
9123         * text.C:
9124         * text2.C: 3rd arg to nextBreakPoint was always the same.
9125           Use references.
9126
9127 2003-03-08  John Levon  <levon@movementarian.org>
9128
9129         * lyxrow.C:
9130         * paragraph.C:
9131         * paragraph.h:
9132         * rowpainter.C:
9133         * text.C:
9134         * text2.C: Remove the "main" bit from the "main body"
9135           notion.
9136
9137 2003-03-08  John Levon  <levon@movementarian.org>
9138
9139         * text.C (leftMargin): The left margin of an empty
9140         manual label paragraph should not include the label width
9141         string length.
9142
9143         * text.C (prepareToPrint): don't attempt to measure hfills
9144         for empty manual label paragraphs - the answer should be 0
9145
9146 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9147
9148         * CutAndPaste.C: remove commented code and reindent.
9149
9150 2003-03-08  John Levon  <levon@movementarian.org>
9151
9152         * lyxfunc.h:
9153         * lyxfunc.C: move reloadBuffer()
9154
9155         * BufferView.h:
9156         * BufferView.C: to here
9157
9158         * lyxvc.C: add comment
9159
9160         * vc-backend.h:
9161         * vc-backend.C: call bv->reload() to avoid
9162           getStatus() check on MENURELOAD
9163
9164 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9165
9166         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9167         to an old format .dep file.
9168
9169 2003-03-07  Angus Leeming  <leeming@lyx.org>
9170
9171         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9172         when the LFUN_MOUSE_RELEASE should have been handled by
9173         inset->localDispatch.
9174
9175 2003-03-07  Angus Leeming  <leeming@lyx.org>
9176
9177         * BufferView_pimpl.C (dispatch):
9178         * LyXAction.C (init):
9179         * ToolbarDefaults.C (init):
9180         * commandtags.h:
9181         * lyxfunc.C (getStatus):
9182         remove LFUN_INSET_GRAPHICS.
9183
9184         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9185
9186 2003-03-07  Angus Leeming  <leeming@lyx.org>
9187
9188         * commandtags.h:
9189         * LyXAction.C (init):
9190         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9191
9192         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9193
9194         * commandtags.h:
9195         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9196
9197         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9198         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9199
9200 2003-03-07  Angus Leeming  <leeming@lyx.org>
9201
9202         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9203         remove "ert".
9204
9205 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9206
9207         * ParagraphList.C (front): new function
9208         (back): implement
9209
9210 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9211
9212         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9213         and top_row_offset_. removed var first_y.
9214         * text.C (top_y):
9215         * text2.C (LyXText, removeRow):
9216         * text3.C:
9217         * BufferView_pimpl.C:
9218         use these methods instead of using first_y
9219
9220 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9221
9222         * text2.C (pasteSelection): adjust for checkPastePossible
9223
9224         * CutAndPaste.C: remove Paragraph * buf and replace with
9225         ParagraphList paragraphs.
9226         (DeleteBuffer): delete
9227         (cutSelection): change the tc type to textclass_type
9228         (copySelection): change the tc type to textclass_type
9229         (copySelection): adjust for ParagraphList
9230         (pasteSelection): change the tc type to textclass_type
9231         (pasteSelection): adjust for Paragraphlist
9232         (nrOfParagraphs): simplify for ParagraphList
9233         (checkPastePossible): simplify for ParagraphList
9234         (checkPastePossible): remove unused arg
9235
9236         * ParagraphList.C (insert): handle the case where there are no
9237         paragraphs yet.
9238
9239         * CutAndPaste.h: make CutAndPaste a namespace.
9240
9241         * text3.C (dispatch): adjust
9242
9243         * text.C (breakParagraph): add a ParagraphList as arg
9244
9245         * paragraph_funcs.C (breakParagraph): change to take a
9246         BufferParams and a ParagraphList as args.
9247         (breakParagraphConservative): ditto
9248         (mergeParagraph): ditto
9249         (TeXDeeper): add a ParagraphList arg
9250         (TeXEnvironment): ditto
9251         (TeXOnePar): ditto
9252
9253         * buffer.C (readLyXformat2): adjust
9254         (insertStringAsLines): adjust
9255         (latexParagraphs): adjust
9256
9257         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9258         (cutSelection): adjust
9259         (pasteSelection): adjust
9260
9261         * BufferView_pimpl.C (insertInset): adjust
9262
9263 2003-03-05  Angus Leeming  <leeming@lyx.org>
9264
9265         * commandtags.h:
9266         * LyXAction.C (init):
9267         * BufferView_pimpl.C (dispatch):
9268         * lyxfunc.C (getStatus):
9269         remove LFUN_CHILD_INSERT.
9270
9271         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9272
9273 2003-03-05  Angus Leeming  <leeming@lyx.org>
9274
9275         * commandtags.h:
9276         * LyXAction.C (init):
9277         * src/factory.C (createInset):
9278         * lyxfunc.C (getStatus):
9279         * text3.C (dispatch):
9280         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9281
9282         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9283
9284 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9285
9286         * ParagraphList.C (insert): handle insert right before end()
9287         (erase): fix cases where it can be first or last paragraph.
9288
9289 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9290
9291         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9292         Paragraph::next and Paragraph::previous
9293         (TeXOnePar): ditto
9294
9295         * text.C (breakParagraph): adjust
9296
9297         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9298         BufferParams& as arg.
9299         (breakParagraph): use ParagraphList::insert
9300         (breakParagraphConservative): take a Buffer* instead of a
9301         BufferParams& as arg.
9302         (breakParagraphConservative): use ParagraphList::insert.
9303
9304         * buffer.C (insertStringAsLines): un-const it
9305         (insertStringAsLines): adjust
9306
9307         * ParagraphList.C (insert): new function
9308
9309         * CutAndPaste.C (pasteSelection): adjust
9310
9311         * text.C (backspace): adjust
9312
9313         * tabular.C (SetMultiColumn): adjust
9314
9315         * CutAndPaste.C (cutSelection): adjust
9316         (pasteSelection): adjust
9317
9318         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9319         Buffer const * as arg
9320
9321         * ParagraphList.C (erase): new function
9322         * paragraph_funcs.C (mergeParagraph): use it
9323         (mergeParagraph): make it take a Buffer* instead of a
9324         BufferParams* as arg
9325
9326         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9327         as arg
9328         (breakParagraphConservative): ditto
9329
9330         * paragraph.h: remove the breakParagraph friend
9331
9332         * paragraph.C (eraseIntern): new function
9333         (setChange): new function
9334
9335         * paragraph_funcs.C (mergeParagraph): make it take a
9336         ParagraphList::iterator instead of a Paragraph *, adjust
9337         accordingly.
9338
9339         * paragraph.h: move an #endif so that the change tracking stuff
9340         also works in the NO_NEXT case.
9341
9342 2003-03-04  Angus Leeming  <leeming@lyx.org>
9343
9344         * commandtags.h:
9345         * LyXAction.C: new LFUN_INSET_MODIFY.
9346
9347         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9348         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9349
9350 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9351
9352         * several files: ws changes only
9353
9354         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9355         (TeXEnvironment): ditto
9356         (TeXDeeper): ditto
9357
9358         * buffer.C (makeLaTeXFile): adjust
9359         (latexParagraphs): make it take ParagraphList::iterator as args
9360
9361 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9362
9363         * buffer.C (latexParagraphs): adjust
9364
9365         * paragraph.C (TeXOnePar): move function...
9366         (optArgInset): move function...
9367         (TeXEnvironment): move function...
9368         * paragraph_pimpl.C (TeXDeeper): move function...
9369         * paragraph_funcs.C: ...here
9370
9371         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9372
9373 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9374
9375         * buffer.C (readInset): remove compability code for old Figure and
9376         InsetInfo insets
9377
9378 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9379
9380         * buffer.C: ws changes
9381         (readInset):
9382
9383         * BufferView_pimpl.C: ditto
9384         * author.C: ditto
9385         * buffer.h: ditto
9386         * bufferlist.h: ditto
9387         * changes.h: ditto
9388         * lyxfunc.C: ditto
9389
9390 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9391
9392         * converter.[Ch]: split into itself +
9393         * graph.[Ch]
9394         * format.[Ch]
9395         * Makefile.am: += graph.[Ch] + format.[Ch]
9396         * MenuBackend.C
9397         * buffer.C
9398         * exporter.C
9399         * importer.C
9400         * lyx_main.C
9401         * lyxfunc.C
9402         * lyxrc.C: added #include "format.h"
9403
9404 2003-02-27  Angus Leeming  <leeming@lyx.org>
9405
9406         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9407           a label.
9408
9409         * factory.C (createInset): add "label" to the factory.
9410
9411         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9412           string and do no more.
9413
9414 2003-02-27  Angus Leeming  <leeming@lyx.org>
9415
9416         * commandtags.h:
9417         * LyXAction.C (init):
9418         * factory.C (createInset):
9419         * BufferView_pimpl.C (dispatch):
9420           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9421
9422         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9423
9424         * lyxfunc.C (dispatch):
9425         * text3.C (dispatch): pass name to params2string.
9426
9427 2003-02-26  Angus Leeming  <leeming@lyx.org>
9428
9429         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9430           blocks together.
9431           Rearrange the ~includes. Strip out the unnecessary ones.
9432
9433         * factory.C (createInset): reformat.
9434           create new insets for the various LFUN_XYZ_APPLY lfuns.
9435
9436 2003-02-26  John Levon  <levon@movementarian.org>
9437
9438         * lyxrow.h:
9439         * lyxrow.C: add isParStart,isParEnd helpers
9440
9441         * paragraph.h: make isInserted/DeletedText take refs
9442
9443         * paragraph_funcs.h:
9444         * paragraph_funcs.C: remove #if 0'd code
9445
9446         * lyxtext.h:
9447         * text3.C:
9448         * text2.C:
9449         * text.C: use lyxrow helpers above.
9450           Move draw and paint routines to RowPainter.
9451           Make several methods use refs not pointers.
9452           Make backgroundColor() const.
9453           Add markChangeInDraw(), isInInset().
9454           Merge changeRegionCase into changeCase.
9455           Make workWidth() shouldn't-happen code into an Assert.
9456
9457         * rowpainter.h:
9458         * rowpainter.C: new class for painting a row.
9459
9460         * vspace.h:
9461         * vspace.C: make inPixels take a ref
9462
9463 2003-02-26  Angus Leeming  <leeming@lyx.org>
9464
9465         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9466         LFUN_REF_APPLY.
9467
9468 2003-02-25  John Levon  <levon@movementarian.org>
9469
9470         * ispell.C: give the forked command a more accurate name
9471
9472 2003-02-22  John Levon  <levon@movementarian.org>
9473
9474         * toc.h:
9475         * toc.C: make TocItem store an id not a Paragraph *
9476           (bug #913)
9477
9478 2003-02-21  Angus Leeming  <leeming@lyx.org>
9479
9480         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9481           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9482           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9483           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9484           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9485           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9486
9487         * BufferView_pimpl.C (dispatch):
9488         * LyXAction.C (init):
9489         * factory.C (createInset):
9490         * lyxfunc.C (getStatus, dispatch):
9491         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9492
9493 2003-02-21  Angus Leeming  <leeming@lyx.org>
9494
9495         * BufferView_pimpl.C (MenuInsertLyXFile):
9496         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9497         * lyxfunc.C (menuNew, open, doImport):
9498           no longer pass a LyXView & to fileDlg.
9499
9500 2003-02-21  Angus Leeming  <leeming@lyx.org>
9501
9502         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9503         * LyXAction.C: change, BIBKEY to BIBITEM.
9504         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9505         Change InsetBibKey to InsetBibitem.
9506         Change BIBKEY_CODE to BIBITEM_CODE.
9507         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9508         * factory.C: replace insetbib.h with insetbibitem.h.
9509         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9510         * paragraph.C: replace insetbib.h with insetbibitem.h.
9511         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9512         Change bibkey() to bibitem().
9513         * text.C: remove insetbib.h.
9514         * text2.C: replace insetbib.h with insetbibitem.h.
9515         change bibkey() to bibitem().
9516         * text3.C: remove insetbib.h.
9517         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9518
9519 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9520
9521         * lyxrc.C (output): enclose user email in quotes (in case there are
9522         several words)
9523
9524 2003-02-18  John Levon  <levon@movementarian.org>
9525
9526         * buffer.h: add std::
9527
9528 2003-02-17  John Levon  <levon@movementarian.org>
9529
9530         * SpellBase.h:
9531         * ispell.h:
9532         * ispell.C:
9533         * pspell.h:
9534         * pspell.C: reworking. Especially in ispell, a large
9535           number of clean ups and bug fixes.
9536
9537         * lyxfunc.C: fix revert to behave sensibly
9538
9539 2003-02-17 André Pönitz <poenitz@gmx.net>
9540
9541         * LyXAction.C:
9542         * commandtags.h: new LFUN_INSERT_BIBKEY
9543
9544         * layout.h:
9545         * lyxlayout.C:
9546         * buffer.C:
9547         * factory.C:
9548         * text.C:
9549         * text2.C:
9550         * text3.C:
9551         * paragraph.[Ch]:
9552         * paragraph_func.C: remove special bibkey handling
9553
9554 2003-02-17  John Levon  <levon@movementarian.org>
9555
9556         * text.C (Delete): fix case where delete at the end of
9557           the very first paragraph would not merge the pars
9558
9559 2003-02-17  John Levon  <levon@movementarian.org>
9560
9561         * lyxrow.C: fix lastPrintablePos()
9562
9563 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9564
9565         * bufferparams.C (writeLaTeX): add a std:here
9566
9567         * buffer.C: and remove a using directive there
9568
9569 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9570
9571         * buffer.C (makeLaTeXFile): move the code that generates the
9572           preamble...
9573
9574         * bufferparams.C (writeLaTeX): ... in this new method
9575
9576         * LaTeXFeatures.C (getEncodingSet): make const
9577           (getLanguages): make const
9578
9579         * MenuBackend.C (binding): returns the binding associated to this
9580           action
9581           (add): sets the status of each item by calling getStatus. Adds
9582           some intelligence.
9583           (read): add support for OptSubMenu
9584           (expand): remove extra separator at the end of expanded menu
9585
9586 2003-02-15  John Levon  <levon@movementarian.org>
9587
9588         * BufferView.C:
9589         * BufferView_pimpl.C:
9590         * bufferlist.h:
9591         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9592           inset code that had no actual effect. Remove unneeded status
9593           code.
9594
9595 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9596
9597         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9598           in preamble
9599
9600 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9601
9602         * text.C (drawLengthMarker): also draw an arrow marker for
9603           symbolic lengths (medskip...)
9604
9605 2003-02-14  John Levon  <levon@movementarian.org>
9606
9607         * tabular.h:
9608         * tabular.C: better method names
9609
9610 2003-02-14  John Levon  <levon@movementarian.org>
9611
9612         * BufferView_pimpl.C:
9613         * bufferlist.C:
9614         * buffer.C:
9615         * converter.C:
9616         * lyx_cb.C:
9617         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9618           it's a more accurate name. Remove some pointless uses.
9619
9620 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9621
9622         * text2.C (LyXText): change order of initilizers to shut off
9623           warnings
9624
9625 2003-02-14  John Levon  <levon@movementarian.org>
9626
9627         * buffer.C: use ParIterator for getParFromID()
9628
9629         * paragraph.h:
9630         * paragraph.C:
9631         * paragraph_pimpl.h:
9632         * paragraph_pimpl.C: remove unused getParFromID()
9633
9634 2003-02-14  John Levon  <levon@movementarian.org>
9635
9636         * buffer.C: remove some very old #if 0'd parse code
9637
9638 2003-02-13  John Levon  <levon@movementarian.org>
9639
9640         * text.h:
9641         * text.C:
9642         * text2.C: move hfillExpansion(), numberOfSeparators(),
9643           rowLast(), rowLastPrintable(), numberofHfills(),
9644           numberOfLabelHfills() ...
9645
9646         * lyxrow.h:
9647         * lyxrow.C: ... to member functions here.
9648
9649         * paragraph.h:
9650         * paragraph.C:
9651         * lyxtext.h:
9652         * text.C: remove LyXText::beginningOfMainBody(), and call
9653           p->beginningOfMainBody() directly. Move the check for
9654           LABEL_MANUAL into the latter.
9655
9656         * text.h:
9657         * text.C:
9658         * text2.C:
9659         * vspace.C:
9660         * BufferView.h:
9661         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9662
9663         * text.h:
9664         * text.C:
9665         * text2.C:
9666         * text3.C:
9667         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9668           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9669
9670 2003-02-13  John Levon  <levon@movementarian.org>
9671
9672         * CutAndPaste.C: remove debug
9673
9674 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9675
9676         * paragraph.C (asString): remove two unused variables
9677
9678         * lyxtextclass.C (readTitleType):
9679           (Read):
9680           (LyXTextClass): handle new members titletype_ and titlename_
9681
9682         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9683
9684 2003-02-09  John Levon  <levon@movementarian.org>
9685
9686         * buffer.h:
9687         * buffer.C: replace hand-coded list with a map for the dep clean
9688
9689 2003-02-08  John Levon  <levon@movementarian.org>
9690
9691         * LaTeX.C: consolidate code into showRunMessage() helper
9692
9693 2003-02-08  John Levon  <levon@movementarian.org>
9694
9695         * lyxfind.C:
9696         * lyxtext.h:
9697         * text2.C:
9698         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9699           and pass the size in explicitly
9700
9701         * BufferView_pimpl.h:
9702         * BufferView_pimpl.C:
9703         * BufferView.h:
9704         * BufferView.C: add getCurrentChange()
9705
9706         * BufferView_pimpl.h:
9707         * BufferView_pimpl.C: handle change lfuns
9708
9709         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9710           for changes. Mark pasted paragraphs as new.
9711
9712         * support/lyxtime.h:
9713         * support/lyxtime.C:
9714         * DepTable.C: abstract time_t as lyx::time_type
9715
9716         * LColor.h:
9717         * LColor.C: add colours for new text, deleted text, changebars
9718
9719         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9720           package use "usenames" option.
9721
9722         * commandtags.h:
9723         * lyxfunc.C:
9724         * LyXAction.C: add change lfuns
9725
9726         * Makefile.am:
9727         * author.h:
9728         * author.C: author handling
9729
9730         * buffer.h:
9731         * buffer.C: add a per-buffer author list, with first entry as
9732           current author. Handle new .lyx tokens for change tracking. Output
9733           author list to .lyx file. Output dvipost stuff to .tex preamble.
9734           Bump lyx format to 222.
9735
9736         * bufferlist.h:
9737         * bufferlist.C: add setCurrentAuthor() to reset current author details
9738           in all buffers.
9739
9740         * bufferparams.h:
9741         * bufferparams.C: add param for tracking
9742
9743         * bufferview_funcs.C: output change info in minibuffer
9744
9745         * Makefile.am:
9746         * changes.h:
9747         * changes.C: add change-tracking structure
9748
9749         * debug.h:
9750         * debug.C: add CHANGES debug flag
9751
9752         * lyxfind.h:
9753         * lyxfind.C: add code for finding the next change piece
9754
9755         * lyxrc.h:
9756         * lyxrc.C: add user_name and user_email
9757
9758         * lyxrow.h:
9759         * lyxrow.C: add a metric for the top of the text line
9760
9761         * lyxtext.h:
9762         * text.C: implement accept/rejectChange()
9763
9764         * lyxtext.h:
9765         * text.C: paint changebars. Paint new/deleted text in the chosen
9766         colours. Strike through deleted text.
9767
9768         * paragraph.h:
9769         * paragraph.C:
9770         * paragraph_pimpl.h:
9771         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9772           in the current change to the insert functions. Rework erase to
9773           mark text as deleted, adding an eraseIntern() and a range-based
9774           erase(). Implement per-paragraph change lookup and
9775           accept/reject.
9776
9777         * paragraph_funcs.C: Fixup paste for change tracking.
9778
9779         * tabular.C: mark added row/columns as new.
9780
9781         * text.C: fix rowLast() to never return -1. Don't allow
9782           spellchecking of deleted text. Track transpose changes. Don't
9783           allow paragraph break or merge where appropriate.
9784
9785         * text2.C: leave cursor at end of selection after a cut.
9786
9787 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9788
9789         * text.C (getLengthMarkerHeight):
9790         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9791         visible on screen too.
9792
9793 2003-02-07  John Levon  <levon@movementarian.org>
9794
9795         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9796
9797 2003-02-05  Angus Leeming  <leeming@lyx.org>
9798
9799         * lyxserver.C (read_ready): revert my patch of 11 September last year
9800         as it sends PC cpu through the roof. Presumably this means that
9801         the lyxserver will no longer run on an Alpha...
9802
9803 2003-01-30  Angus Leeming  <leeming@lyx.org>
9804
9805         * factory.C (createInset): create an InsetCommandParam of type "index"
9806         and use it to 'do the right thing'.
9807
9808         * text2.C (getStringToIndex): ensure that cursor position is always
9809         reset to the reset_cursor position.
9810
9811 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9812
9813         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9814         disabled.
9815
9816 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9817
9818         * bufferview.C:
9819         * lyxcb.C:
9820         * lyxfunc.C: Output messages with identical spelling, punctuation,
9821         and spaces
9822
9823 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9824
9825         * MenuBackend.C (expandFormats): List only viewable export formats
9826         in "View" menu
9827
9828         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9829         message
9830
9831         * lyxfunc.C (getStatus): Make sure that formats other than
9832         "fax" can also be disabled
9833
9834 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9835
9836         * text3.C (dispatch): put the lfuns that insert insets in 3
9837         groups, and call doInsertInset with appropriate arguments.
9838         (doInsertInset): new function, that creates an inset and inserts
9839         it according to some boolean parameters.
9840
9841 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9842
9843         * buffer.C (readFile): remember to pass on 'par' when calling
9844         readFile recursively.
9845
9846 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9847
9848         * MenuBackend.C (expandFormats): add "..." to import formats.
9849
9850 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9851
9852         * paragraph.C (asString): Remove XForms RTL hacks.
9853
9854 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9855         * buffer.C: fix typo
9856
9857 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9858
9859         * Makefile.am (LIBS): delete var
9860         (lyx_LDADD): add @LIBS@ here instead.
9861
9862 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9863
9864         * Clarify the meaning of "wheel mouse jump"
9865
9866 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9867
9868         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9869         tabular in a float
9870
9871 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9872
9873         * importer.C (Loaders): do not preallocate 3 elements in the
9874         vector, since one ends up with 6 elements otherwise
9875
9876 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9877
9878         * DepTable.C (write): write the file name as last element of the
9879         .dep file (because it may contain spaces)
9880         (read): read info in the right order
9881
9882 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9883
9884         * paragraph_pimpl.C (simpleTeXBlanks):
9885         (simpleTeXSpecialChars):
9886         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9887
9888         * tabular.C (latex): add some missing case statements. Reindent.
9889
9890         * MenuBackend.C (expandToc): remove unused variable.
9891
9892 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9893
9894         * LColor.C:
9895         * LaTeX.C:
9896         * LyXAction.C:
9897         * MenuBackend.C:
9898         * buffer.C:
9899         * exporter.C:
9900         * lyxfunc.C:
9901         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9902         and the like.
9903
9904 2003-01-05  John Levon  <levon@movementarian.org>
9905
9906         * BufferView.h:
9907         * BufferView.C: add getEncoding()
9908
9909         * kbsequence.h:
9910         * kbsequence.C: do not store last keypress
9911
9912         * lyxfunc.h:
9913         * lyxfunc.C: store last keypress here instead. Pass encoding
9914           to getISOEncoded()
9915
9916 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9917
9918         * lyx_main.C (init): remove annoying error message when following
9919         symbolic links (bug #780)
9920
9921 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9922
9923         * text.C (insertChar):
9924         * lyxrc.C (getDescription): remove extra spaces
9925
9926 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9927
9928         * lyxrc.C (getDescription): remove extra spaces
9929
9930 2002-12-20  John Levon  <levon@movementarian.org>
9931
9932         * text3.C: hack fix for page up/down across tall rows
9933
9934 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9935
9936         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9937         not been invoked
9938
9939 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9940
9941         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9942         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9943         thesaurus is not compiled in
9944
9945 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9946
9947         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9948
9949 2002-12-16  Angus Leeming  <leeming@lyx.org>
9950
9951         * lyxrc.[Ch]:
9952         * lyx_main.C (init): remove override_x_deadkeys stuff.
9953
9954 2002-12-12  John Levon  <levon@movementarian.org>
9955
9956         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9957           insert. Only remove shift modifier under strict
9958           circumstances.
9959
9960 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9961
9962         * MenuBackend.C (expandToc): fix crash.
9963
9964 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9965
9966         * MenuBackend.C (expandToc): gettext on float names.
9967
9968 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9969
9970         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9971         implement bool empty() [bug 490]
9972
9973 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9974
9975         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9976
9977 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9978
9979         * several files: ws changes
9980
9981 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9982
9983         * text2.C (setCounter): clean up a bit, use boost.format.
9984         (updateCounters): initialize par upon declaration.
9985
9986         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9987         if the layout exists. We do not just store the layout any more.
9988         (SwitchLayoutsBetweenClasses): use boost.format
9989
9990 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9991
9992         * converter.C (convert): if from and to files are the same, use a
9993         temporary files as intermediary
9994
9995 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9996
9997         * commandtags.h:
9998         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9999
10000 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10001
10002         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10003
10004 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10005
10006         * tabular.C (asciiPrintCell): use string(size, char) instead of
10007         explicit loop.
10008
10009         * sgml.C (openTag): fix order of arguments to string constructor
10010         (closeTag): ditto
10011
10012         * lyxfunc.C (dispatch): use boost.format
10013
10014         * lots of files: change "c" -> 'c'
10015
10016 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10017
10018         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10019
10020 2002-11-25  Angus Leeming  <leeming@lyx.org>
10021
10022         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10023
10024         * lyx_main.C (init): compile fix.
10025
10026 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10027
10028         * lyx_cb.C (start): boost.formatify
10029         do not include <iostream>
10030
10031         * lengthcommon.C: ws only
10032
10033         * boost-inst.C,BoostFormat.h: add more explict instantations
10034
10035 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10036
10037         * lots of files: handle USE_BOOST_FORMAT
10038
10039 2002-11-21  John Levon  <levon@movementarian.org>
10040
10041         * pspell.C: fix compile
10042
10043 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10044
10045         * lyxfunc.C (dispatch): use boost::format
10046         (open): ditto
10047         (doImport): ditto
10048
10049         * lyxfont.C (stateText): use boost::format
10050
10051         * lyx_main.C (LyX): use boost::format
10052         (init): ditto
10053         (queryUserLyXDir): ditto
10054         (readRcFile): ditto
10055         (parse_dbg): ditto
10056         (typedef boost::function): use the recommened syntax.
10057
10058         * importer.C (Import): use boost::format
10059
10060         * debug.C (showLevel): use boost::format
10061
10062         * converter.C (view): use boost::format
10063         (convert): ditto
10064         (move): ditto
10065         (scanLog): ditto
10066
10067         * bufferview_funcs.C (currentState): use boost::format
10068
10069         * bufferlist.C (emergencyWrite): use boost::format
10070
10071         * buffer.C (readLyXformat2): use boost::format
10072         (parseSingleLyXformat2Token): ditto
10073
10074         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10075
10076         * LaTeX.C (run): use boost::format
10077
10078         * Chktex.C (scanLogFile): use boost::format
10079
10080         * BufferView_pimpl.C (savePosition): use boost::format
10081         (restorePosition): ditto
10082         (MenuInsertLyXFile): ditto
10083
10084         * BoostFormat.h: help file for explicit instation.
10085
10086 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10087
10088         * tabular.C (latex): Support for block alignment in fixed width
10089         columns.
10090
10091 2002-11-17  John Levon  <levon@movementarian.org>
10092
10093         * BufferView_pimpl.C:
10094         * lyx_cb.C:
10095         * lyxfunc.C: split filedialog into open/save
10096
10097 2002-11-08  Juergen Vigna  <jug@sad.it>
10098
10099         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10100         by my last patch (hopefully).
10101
10102 2002-11-08  John Levon  <levon@movementarian.org>
10103
10104         * iterators.h:
10105         * iterators.C:
10106         * buffer.h:
10107         * buffer.C:
10108         * paragraph.h:
10109         * paragraph.C:
10110         * toc.h:
10111         * toc.C: ParConstIterator, and use it (from Lars)
10112
10113 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10114
10115         * lyxtextclass.[Ch]: revise and add doxygen comments
10116
10117 2002-11-07  John Levon  <levon@movementarian.org>
10118
10119         * text.C: fix progress value for spellchecker
10120
10121         * toc.C: fix navigate menu for insetwrap inside minipage
10122
10123         * paragraph_funcs.C: added FIXME for suspect code
10124
10125 2002-11-07  John Levon  <levon@movementarian.org>
10126
10127         * BufferView_pimpl.C: fix redrawing of insets
10128           on buffer switch
10129
10130 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10131
10132         * text2.C (updateCounters): fix bug 668
10133
10134 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10135
10136         * text3.C (dispatch): Do not make the buffer dirty when moving the
10137         cursor.
10138
10139 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10140
10141         * vc-backend.C: STRCONV
10142         (scanMaster): ditto
10143
10144         * text2.C (setCounter): STRCONV
10145
10146         * paragraph.C (asString): STRCONV
10147
10148         * lyxlength.C (asString): STRCONV
10149         (asLatexString): ditto
10150
10151         * lyxgluelength.C (asString): STRCONV
10152         (asLatexString): ditto
10153
10154         * lyxfunc.C (dispatch): STRCONV
10155         (open): ditto
10156
10157         * lyxfont.C (stateText): STRCONV
10158
10159         * importer.C (Import): STRCONV
10160
10161         * counters.C (labelItem): STRCONV
10162         (numberLabel): ditto
10163         (numberLabel): remove unused ostringstream o
10164
10165         * chset.C: STRCONV
10166         (loadFile): ditto
10167
10168         * bufferview_funcs.C (currentState): STRCONV
10169
10170         * buffer.C (readFile): STRCONV
10171         (asciiParagraph): ditto
10172         (makeLaTeXFile): ditto
10173
10174         * Spacing.C (writeEnvirBegin): STRCONV
10175
10176         * LaTeXFeatures.C (getLanguages): STRCONV
10177         (getPackages): ditto
10178         (getMacros): ditto
10179         (getBabelOptions): ditto
10180         (getTClassPreamble): ditto
10181         (getLyXSGMLEntities): ditto
10182         (getIncludedFiles): ditto
10183
10184         * LaTeX.C: STRCONV
10185         (run): ditto
10186         (scanAuxFile): ditto
10187         (deplog): ditto
10188
10189         * LString.h: add the STRCONV macros
10190
10191         * BufferView_pimpl.C (savePosition): STRCONV
10192         (restorePosition): ditto
10193         (MenuInsertLyXFile): ditto
10194
10195         * vc-backend.C (scanMaster): change from submatch[...] to
10196         submatch.str(...)
10197
10198         * funcrequest.C: include config.h
10199
10200         * factory.C: include config.h
10201
10202         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10203
10204         * box.C: include config.h
10205
10206         * LaTeX.C (scanAuxFile): change from submatch[...] to
10207         submatch.str(...)
10208         (deplog): ditto
10209
10210 2002-10-25  Angus Leeming  <leeming@lyx.org>
10211
10212         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10213
10214         * ispell.[Ch] (setError): new method.
10215         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10216         Use setError() insetead of goto END.
10217
10218         * lyx_cb.C (AutoSave): move out child process into new class
10219         AutoSaveBuffer.
10220
10221 2002-10-30  John Levon  <levon@movementarian.org>
10222
10223         * text3.C: make start appendix undoable
10224
10225 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10226
10227         * lyxlength.C (inPixels): Fix returned value.
10228
10229         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10230         environment.
10231
10232 2002-10-24  Angus Leeming  <leeming@lyx.org>
10233
10234         * lyxgluelength.h: no need to forward declare BufferParams
10235         or BufferView, so don't.
10236
10237 2002-10-21  John Levon  <levon@movementarian.org>
10238
10239         * BufferView.C: menuUndo ->undo, redo
10240
10241         * BufferView.h: document, remove dead, make some methods private
10242
10243         * paragraph_funcs.h:
10244         * paragraph_funcs.C:
10245         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10246
10247         * buffer.h:
10248         * buffer.C:
10249         * sgml.h:
10250         * sgml.C: move sgml open/close tag into sgml.C
10251
10252         * bufferview_funcs.h: unused prototype
10253
10254         * lyxfunc.h:
10255         * lyxfunc.C: remove unused
10256
10257         * lyxtext.h:
10258         * text.C: remove unused
10259
10260 2002-10-21  John Levon  <levon@movementarian.org>
10261
10262         * BufferView.h:
10263         * BufferView.C:
10264         * BufferView_pimpl.h:
10265         * BufferView_pimpl.C: fix mouse wheel handling based on
10266           patch from Darren Freeman
10267
10268 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10269
10270         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10271
10272 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10273
10274         * lyxlength.C (inPixels): Fix hanfling of negative length.
10275         Fix LyXLength::MU case.
10276
10277 2002-10-16  John Levon  <levon@movementarian.org>
10278
10279         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10280
10281 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10282
10283         * converter.C (view): add support for $$i (file name) and $$p
10284         (file path) for the viewer command. If $$i is not specified, then
10285         it is appended to the command (for compatibility with old syntax)
10286
10287 2002-10-14  Juergen Vigna  <jug@sad.it>
10288
10289         * undo_funcs.C (textHandleUndo): alter the order in which the
10290         new undopar is added to the LyXText, as we have to set first
10291         the right prev/next and then add it as otherwise the rebuild of
10292         LyXText is not correct. Also reset the cursor to the right paragraph,
10293         with this IMO we could remove the hack in "redoParagraphs()".
10294
10295 2002-10-09  Angus Leeming  <leeming@lyx.org>
10296
10297         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10298         to turn off an optimisation if a new inset is to be inserted.
10299
10300 2002-10-11 André Pönitz <poenitz@gmx.net>
10301
10302         * lyxtext.h: make some functions public to allow access
10303         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10304
10305 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10306
10307         * text3.C (dispatch): when changing layout, avoid an infinite loop
10308         [bug #652]
10309
10310 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10311
10312         * lyxrc.C (read): treat a viewer or converter command of "none" as
10313         if it were empty.
10314
10315         * MenuBackend.C (expandFormats): for an update, also allow the
10316         formats that are not viewable
10317
10318         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10319         script if it is newer than the lyxrc.defaults in user directory
10320
10321 2002-10-07 André Pönitz <poenitz@gmx.net>
10322
10323         * text.C: Vitaly Lipatov's small i18n fix
10324
10325 2002-09-25  Angus Leeming  <leeming@lyx.org>
10326
10327         * ispell.h: doxygen fix.
10328
10329 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10330
10331         * buffer.h (readFile): Add a new argument to the method, to allow
10332         reading of old-format templates.
10333
10334 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10335
10336         * toc.C (getTocList): Get TOC from InsetWrap.
10337
10338 2002-09-16  John Levon  <levon@movementarian.org>
10339
10340         * lyxfunc.C: check tabular for cut/copy too
10341
10342 2002-09-12  John Levon  <levon@movementarian.org>
10343
10344         * LyXAction.C: tidy
10345
10346         * factory.h:
10347         * factory.C: add header
10348
10349         * paragraph_funcs.h:
10350         * paragraph_funcs.C: cleanup
10351
10352 2002-09-11  John Levon  <levon@movementarian.org>
10353
10354         * PrinterParams.h: odd/even default to true
10355
10356 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10357
10358         * PrinterParams.h: update printer parameters for new xforms dialog
10359
10360 2002-09-11  Angus Leeming  <leeming@lyx.org>
10361
10362         * lyxserver.C (read_ready): re-write to make it more transparent
10363         and to make it work in coherent fashion under Tru64 Unix.
10364
10365 2002-09-11  André Pönitz <poenitz@gmx.net>
10366
10367         * commandtags.h:
10368         * LyXAction.C:
10369         * text3.C: implement LFUN_WORDSEL
10370
10371 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10372
10373         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10374         make floatlist_ a boost::shared_ptr<FloatList>
10375
10376         * lyxtextclass.C: include FloatList.h
10377         (LyXTextClass): initialize floatlist_
10378         (TextClassTags): add TC_NOFLOAT
10379         (Read): match "nofloat" to TC_NOFLOAT and use it.
10380         (readFloat): modify call to floatlist_
10381         (floats): ditto
10382         (floats): ditto
10383
10384         * FloatList.[Ch] (FloatList): remove commented out float
10385         initialization.
10386         (erase): new function
10387
10388 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10389
10390         * MenuBackend.C (expandToc): fix crash when there is no document
10391         open
10392
10393 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10394
10395         * many files: Add insetwrap.
10396
10397 2002-09-09  John Levon  <levon@movementarian.org>
10398
10399         * text2.C: remove confusing and awkward depth wraparound
10400
10401 2002-09-09  John Levon  <levon@movementarian.org>
10402
10403         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10404
10405         * buffer.h:
10406         * buffer.C: remove getIncludeonlyList()
10407
10408         * paragraph.C:
10409         * lyxfunc.C: remove headers
10410
10411 2002-09-09  Juergen Vigna  <jug@sad.it>
10412
10413         * text.C (getColumnNearX): fix form Michael this is most
10414         probably a cut&paste bug.
10415
10416 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10417
10418         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10419
10420         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10421         references, ws changes.
10422
10423         * text2.C (init): update counters after init
10424         (insertParagraph): no need to set counter on idividual paragraphs.
10425         (setCounter): access the counters object in the textclass object
10426         on in the buffer object.
10427         (updateCounters): ditto
10428
10429         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10430         shared_ptr<Counters> to avoid loading counters.h in all
10431         compilation units.
10432         (LyXTextClass): initialize ctrs_
10433         (TextClassTags): add TC_COUNTER, and ...
10434         (Read): use it here.
10435         (CounterTags): new tags
10436         (readCounter): new function
10437         (counters): new funtion
10438         (defaultLayoutName): return a const reference
10439
10440         * counters.C (Counters): remove contructor
10441         (newCounter): remove a couple of unneeded statements.
10442         (newCounter): simplify a bit.
10443         (numberLabel): some small formatting changes.
10444
10445         * buffer.[Ch]: remove all traces of counters, move the Counters
10446         object to the LyXTextClass.
10447
10448 2002-09-06  Alain Castera  <castera@in2p3.fr>
10449
10450         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10451         package to set the horizontal alignment on fixed width columns.
10452
10453         * lyx_sty.C:
10454         * lyx_sty.h: added tabularnewline macro def.
10455
10456         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10457
10458 2002-09-06  John Levon  <levon@movementarian.org>
10459
10460         * LyXAction.C: tooltips for sub/superscript
10461
10462         * MenuBackend.C: a bit more verbose
10463
10464         * lyxfunc.C: tiny clean
10465
10466         * undo_funcs.C: document undo_frozen
10467
10468 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10469
10470         * counters.C (Counters): add missing algorithm counter.
10471
10472         * text2.C (setCounter): lookup the counter with layouts latexname
10473         instead of by section number.
10474         (setCounter): use a hackish way to lookup the correct enum
10475         counter.
10476         a float name->type change
10477         reset enum couners with counter name directly instead of depth value.
10478
10479         * counters.C (Counters): remove the push_backs, change to use the
10480         float type not the float name.
10481         (labelItem): remove unused string, float name->type change
10482
10483         * counters.h: don't include vector, loose the enums and sects vectors
10484
10485 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10486
10487         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10488         (Read): add float->TC_FLOAT to textclassTags
10489         (Read): and handle it in the switch
10490         (readFloat): new function
10491
10492         * FloatList.C (FloatList): comment out the hardcoded float
10493         definitions.
10494
10495         * lyxlayout.h: ws change.
10496
10497 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10498
10499         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10500
10501 2002-09-03  Angus Leeming  <leeming@lyx.org>
10502
10503         * BufferView_pimpl.h: qualified name is not allowed in member
10504         declaration: WorkArea & Pimpl::workarea() const;
10505
10506         * factory.C: added using std::endl directive.
10507
10508         * text3.C: added using std::find and std::vector directives.
10509
10510 2002-08-29  André Pönitz <poenitz@gmx.net>
10511
10512         * lyxtext.h:
10513         * text2.C: remove unused member number_of_rows
10514
10515         * Makefile.am:
10516         * BufferView2.C: remove file, move contents to...
10517         * BufferView.C: ... here
10518
10519         * BufferView_pimpl.C:
10520         * factory.C: move more inset creation to factory
10521
10522         * vspace.C: avoid direct usage of LyXText, ws changes
10523
10524         * BufferView.[Ch]:
10525                 don't provide direct access to WorkArea, use two simple
10526                 acessors haveSelction() and workHeight() instead
10527
10528
10529 2002-08-29  John Levon  <levon@movementarian.org>
10530
10531         * BufferView_pimpl.C (dispatch): do not continue when
10532           no buffer
10533
10534 2002-08-28  André Pönitz <poenitz@gmx.net>
10535
10536         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10537
10538         * BufferView.h:
10539         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10540
10541 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10542
10543         * buffer.C: increment LYX_FORMAT to 221
10544
10545         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10546         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10547
10548         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10549
10550         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10551
10552 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10553
10554         * factory.C (createInset): use LyXTextClass::floats
10555
10556         * MenuBackend.C (expandFloatListInsert):
10557         (expandFloatInsert):
10558         (expandToc):
10559
10560         * text2.C (setCounter):
10561
10562         * LaTeXFeatures.C (useFloat):
10563         (getFloatDefinitions):
10564
10565         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10566
10567         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10568         floatlist_, with accessor floats().
10569
10570         * FloatList.h: remove global FloatList
10571
10572 2002-08-26  André Pönitz <poenitz@gmx.net>
10573
10574         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10575
10576         * BufferView.h:
10577         * BufferView2.C:
10578         * BufferView_pimpl.C:
10579         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10580
10581 2002-08-25  John Levon  <levon@movementarian.org>
10582
10583         * LyXAction.C: fix margin note description
10584
10585 2002-08-24  John Levon  <levon@movementarian.org>
10586
10587         * buffer.C:
10588         * bufferlist.C:
10589         * bufferview_funcs.C:
10590         * lyxfont.C:
10591         * undo_funcs.C: cleanups
10592
10593         * lyxfunc.C: disable CUT/COPY when no selection
10594
10595 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10596
10597         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10598         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10599
10600         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10601         Add backward compatibility to "mono", "gray" and "no".
10602
10603 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10604
10605         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10606         (and file_format >= 200).
10607
10608 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10609
10610         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10611
10612 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10613
10614         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10615
10616 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10617
10618         * BufferView_pimpl.C:
10619         * LyXAction.C:
10620         * buffer.C:
10621         * commandtags.h:
10622         * lyxfunc.C:
10623         * paragraph.[Ch]:
10624         * text2.C:
10625         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10626         inset and code to make it  work with the paragraph code. The inset
10627         can be anywhere in the paragraph, but will only do the expected
10628         thing in LaTeX if the layout file contains the parameter line
10629                         OptionalArgs    1
10630         (or more generally, a nonzero value) for that layout.
10631
10632 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10633
10634         * paragraph.h: remove the declaration of undefined counters class
10635         function.
10636
10637 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10638
10639         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10640         Dr. Richard Hawkins.
10641
10642 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10643
10644         * paragraph_funcs.h: remove some unneeded includes
10645
10646         * text.C (backspace): pasteParagraph now in global scipe
10647
10648         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10649         (pasteSelection): ditto
10650
10651         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10652         * paragraph_funcs.C (pasteParagraph): ... here
10653
10654 2002-08-20  André Pönitz <poenitz@gmx.net>
10655
10656         * commandtags.h: new LFUNs for swapping/copying table row/colums
10657
10658         * LyXAction.C:
10659         * lyxfunc.C: support for new lfuns
10660
10661 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10662
10663         * tabular.C:
10664         * buffer.[Ch]: remove NO_COMPABILITY stuff
10665
10666 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10667
10668         * boost.C (throw_exception): new file, with helper function for
10669         boost compiled without exceptions.
10670
10671         * paragraph.h:
10672         * lyxlength.C:
10673         * buffer.C:
10674         * ParameterStruct.h:
10675         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10676
10677         * bufferlist.C (emergencyWriteAll): use boost bind
10678
10679         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10680
10681         * text.C: include paragraph_funcs.h
10682         (breakParagraph): breakParagraph is now in global scope
10683
10684         * paragraph_funcs.[Ch]: new files
10685
10686         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10687         global scope
10688
10689         * buffer.C: include paragraph_funcs.h
10690         (insertStringAsLines): breakParagraph is now in global scope
10691
10692         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10693         paragraph_funcs.C
10694
10695         * CutAndPaste.C: include paragraph_funcs.h
10696         (cutSelection): breakParagraphConservative is now in global scope
10697         (pasteSelection): ditto
10698
10699         * buffer.h: declare oprator== and operator!= for
10700         Buffer::inset_iterator
10701
10702         * bufferlist.C (emergencyWrite): don't use fmt(...)
10703
10704         * text3.C: add using std::endl
10705
10706         * BufferView.C (moveCursorUpdate): remove default arg
10707
10708 2002-08-20  André Pönitz <poenitz@gmx.net>
10709
10710         * buffer.[Ch]: move inline functions to .C
10711
10712         * BufferView2.C:
10713         * BufferView_pimpl.C:
10714         * text.C:
10715         * buffer.[Ch]: use improved inset_iterator
10716
10717         * buffer.C:
10718         * paragraph.[Ch]: write one paragraph at a time
10719
10720 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10721
10722         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10723         style if style is not specified.
10724
10725 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10726
10727         * text2.C (setCounter): when searching for right label for a
10728         caption, make sure to recurse to parent insets (so that a caption
10729         in a minipage in a figure float works) (bug #568)
10730
10731 2002-08-20  André Pönitz <poenitz@gmx.net>
10732
10733         * text3.C: new file for LyXText::dispatch() and helpers
10734
10735         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10736
10737         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10738
10739 2002-08-19  André Pönitz <poenitz@gmx.net>
10740
10741         * lyxtext.h:
10742         * text.C: new LyXText::dispatch()
10743
10744         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10745
10746 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10747
10748         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10749
10750         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10751         Hebrew text.
10752
10753 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10754
10755         * Makefile.am: use $(variables) instead of @substitutions@
10756
10757 2002-08-15  André Pönitz <poenitz@gmx.net>
10758
10759         * lyxfunc.C:
10760         * BufferView_pimpl.C: streamlining mathed <-> outer world
10761         interaction
10762
10763         * commandtags.h:
10764         * LyXAction.C: remove unused LFUN_MATH
10765
10766 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10767
10768         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10769
10770 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10771
10772         * paragraph.C (Paragraph): reformat a bit
10773         (cutIntoMinibuffer): use builtin InsetList function instad of
10774         doing it manually.
10775         (getInset): ditto
10776
10777         * buffer.C: include boost/bind.hpp, add using std::for_each
10778         (writeFileAscii): use ParagraphList iterators
10779         (validate): use for_each for validate traversal of paragraphs
10780         (getBibkeyList): use ParagraphList iterators
10781         (resizeInsets): use for_each to resizeInsetsLyXText for all
10782         paragraphs.
10783         (getParFromID): use ParagraphList iterators
10784
10785         * BufferView2.C (lockInset): use paragraph list and iterators
10786
10787 2002-08-14  John Levon  <levon@movementarian.org>
10788
10789         * lyxserver.C: remove spurious xforms include
10790
10791 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10792
10793         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10794
10795 2002-08-13  André Pönitz <poenitz@gmx.net>
10796
10797         * LyXAction.[Ch]:
10798         * lyxfunc.C: further cleaning
10799
10800 2002-08-13  André Pönitz <poenitz@gmx.net>
10801
10802         * funcrequest.h: new constructor
10803
10804         * funcrequest.C: move stuff here from .h
10805
10806         * Makefile.am:
10807         * BufferView_pimpl.C:
10808         * LyXAction.C:
10809         * toc.C:
10810         * lyxfunc.C: subsequent changes
10811
10812         * lyxfunc.h: new view() member function
10813
10814         * lyxfunc.C: subsequent changes
10815
10816 2002-08-13  Angus Leeming  <leeming@lyx.org>
10817
10818         * BufferView2.C:
10819         * BufferView_pimpl.C:
10820         * buffer.C:
10821         * converter.C:
10822         * importer.C:
10823         * lyxfunc.C:
10824         * lyxvc.C:
10825         * toc.C:
10826         * vc-backend.C:
10827         changes due to the changed LyXView interface that now returns references
10828         to member variables not pointers.
10829
10830 2002-08-13  Angus Leeming  <leeming@lyx.org>
10831
10832         * WordLangTuple (word, lang_code): return references to strings,
10833         not strings.
10834
10835         * BufferView.h:
10836         * SpellBase.h:
10837         * lyxtext.h: forward-declare WordLangTuple.
10838
10839         * BufferView2.C:
10840         * ispell.C:
10841         * pspell.C:
10842         * text.C: #include "WordLangTuple.h".
10843
10844         * lyxtext.h:
10845         * text.C: (selectNextWordToSpellcheck): constify return type.
10846
10847 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10848
10849         * buffer.C:
10850         * buffer.h:
10851         * lyxtext.h:
10852         * paragraph.C:
10853         * paragraph_pimpl.h:
10854         * text.C:
10855         * text2.C:
10856         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10857         suggested by Angus.
10858         Made updateCounter always count from start of buffer, and removed
10859         second argument (par).
10860         Reverted floats number display to '#'. Perhaps I'll try again when the
10861         code base is sanitized a bit.
10862
10863 2002-08-12  Angus Leeming  <leeming@lyx.org>
10864
10865         * buffer.[Ch] (getLabelList): constify.
10866
10867 2002-08-07  André Pönitz <poenitz@gmx.net>
10868
10869         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10870
10871         * funcrequest.h: extension to keep mouse (x,y) position
10872
10873 2002-08-12  Juergen Vigna  <jug@sad.it>
10874
10875         * BufferView2.C (insertErrors): forbid undo when inserting error
10876         insets.
10877
10878         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10879
10880 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10881
10882         * ParagraphList.[Ch]: new files
10883
10884         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10885
10886         * BufferView2.C (lockInset): ParagraphList changes
10887         * toc.C: ditto
10888         * text2.C: ditto
10889         * bufferlist.C: ditto
10890         * buffer.h: ditto
10891         * buffer.C: ditto
10892
10893 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10894
10895         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10896         unused class variable counter_,
10897
10898         * paragraph.[Ch] (getFirstCounter): delete unused function
10899
10900         * counters.C: include LAssert.h
10901         (reset): add a new function with no arg, change other version to
10902         not have def. arg and to not allow empty arg.
10903
10904         * text2.C (setCounter): remove empty arg from call to Counters::reset
10905
10906 2002-08-11  John Levon  <levon@movementarian.org>
10907
10908         * Makefile.am: add WordLangTuple.h
10909
10910 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10911
10912         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10913         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10914
10915         * insets/insettext.C: InsetList changes
10916
10917         * graphics/GraphicsSupport.C (operator()): InsetList changes
10918
10919         * toc.C (getTocList): InsetList changes
10920
10921         * paragraph_pimpl.[Ch]: InsetList changes
10922
10923         * paragraph.[Ch]: InsetList changes
10924
10925         * buffer.C (inset_iterator): InsetList changes
10926         (setParagraph): ditto
10927         * buffer.h (inset_iterator): ditto
10928         * iterators.C (operator++): ditto
10929         * iterators.h: ditto
10930
10931         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10932
10933         * InsetList.[Ch]: new files, most InsetList handling moved out of
10934         paragraph.C.
10935
10936         * BufferView2.C (removeAutoInsets): InsetList changes
10937         (lockInset): ditto
10938         (ChangeInsets): ditto
10939
10940 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10941
10942         * paragraph_pimpl.h (empty): new function
10943
10944         * paragraph.[Ch] (empty): new function
10945
10946         * other files: use the new Paragraph::empty function
10947
10948 2002-08-09  John Levon  <levon@movementarian.org>
10949
10950         * lyxtext.h: remove unused refresh_height
10951
10952 2002-08-09  John Levon  <levon@movementarian.org>
10953
10954         * Makefile.am:
10955         * sgml.h:
10956         * sgml.C:
10957         * buffer.C:
10958         * paragraph.h:
10959         * paragraph.C: move sgml char escaping out of paragraph
10960
10961         * paragraph.h:
10962         * paragraph.C: remove id setter
10963
10964         * buffer.C:
10965         * paragraph.C:
10966         * paragraph_pimpl.C: remove dead tex_code_break_column
10967
10968         * bufferview_funcs.C: small cleanup
10969
10970         * lyxfunc.C: remove dead proto
10971
10972         * lyxtext.h: make some stuff private. Remove some dead stuff.
10973
10974         * lyxgluelength.C: make as[LyX]String() readable
10975
10976 2002-08-08  John Levon  <levon@movementarian.org>
10977
10978         * LyXAction.h:
10979         * LyXAction.C:
10980         * MenuBackend.C:
10981         * ToolbarDefaults.C:
10982         * lyxfunc.C:
10983         * lyxrc.C:
10984         * toc.C: lyxaction cleanup
10985
10986 2002-08-08  John Levon  <levon@movementarian.org>
10987
10988         * BufferView2.C: small cleanup
10989
10990         * lyxfind.h:
10991         * lyxfind.C: move unnecessary header into the .C
10992
10993 2002-08-08  John Levon  <levon@movementarian.org>
10994
10995         * funcrequest.h: just tedious nonsense
10996
10997         * lyx_main.h:
10998         * lyx_main.C: cleanups
10999
11000         * buffer.C:
11001         * vspace.C: remove dead header lyx_main.h
11002
11003 2002-08-07  Angus Leeming  <leeming@lyx.org>
11004
11005         * Paragraph.[Ch]:
11006         * paragraph_pimpl.h:
11007         Forward declare class Counters in paragraph.h by moving the ctrs member
11008         variable into Paragraph::Pimpl.
11009         (counters): new method, returning a reference to pimpl_->ctrs.
11010
11011         * text2.C: ensuing changes.
11012
11013 2002-08-07  John Levon  <levon@movementarian.org>
11014
11015         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11016
11017         * BufferView_pimpl.C: announce X selection on double/triple
11018           click
11019
11020         * lyx_main.C: use correct bool in batch dispatch
11021
11022         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11023
11024 2002-08-07  André Pönitz <poenitz@gmx.net>
11025
11026         * funcrequest.h: new class to wrap a kb_action and its argument
11027
11028         * BufferView.[Ch]:
11029         * BufferView_pimpl[Ch]:
11030         * LaTeX.C:
11031         * LyXAction.[Ch]:
11032         * lyxfunc.[Ch]:
11033         * lyxrc.C: subsequent changes
11034
11035
11036 2002-08-07  John Levon  <levon@movementarian.org>
11037
11038         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11039           document options change.
11040
11041 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11042
11043         * counters.[Ch]
11044         * text2.C
11045         * paragraph.[Ch]
11046         * makefile.am: move counters functionality over from
11047         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11048
11049 2002-08-06  John Levon  <levon@movementarian.org>
11050
11051         * WordLangTuple.h: new file for word + language code tuple
11052
11053         * SpellBase.h:
11054         * pspell.h:
11055         * pspell.C:
11056         * ispell.h:
11057         * ispell.C:
11058         * lyxtext.h:
11059         * text.C:
11060         * text2.C:
11061         * BufferView.h:
11062         * BufferView2.C: use WordLangTuple
11063
11064         * layout.h:
11065         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11066
11067 2002-08-06  John Levon  <levon@movementarian.org>
11068
11069         * lyx_main.C: fix cmdline batch handling
11070
11071 2002-08-06  André Pönitz <poenitz@gmx.net>
11072
11073         * lyxrc.C: set default for show_banner to true
11074
11075 2002-08-06  John Levon  <levon@movementarian.org>
11076
11077         * pspell.C: fix a crash, and allow new aspell to work
11078
11079 2002-08-06  John Levon  <levon@movementarian.org>
11080
11081         * lyxfunc.C:
11082         * kbmap.C: small cleanup
11083
11084         * vspace.h:
11085         * vspace.C: add const
11086
11087 2002-08-05  John Levon  <levon@movementarian.org>
11088
11089         * LyXAction.C: back to tabular-insert
11090
11091 2002-08-04  John Levon  <levon@movementarian.org>
11092
11093         * BufferView.h:
11094         * BufferView.C: cosmetic change
11095
11096         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11097
11098         * bufferlist.C:
11099         * buffer.h:
11100         * buffer.C:
11101         * lyxcb.h:
11102         * lyxcb.C:
11103         * lyxserver.C:
11104         * lyxvc.C:
11105         * vc-backend.C:
11106         * BufferView2.C: purge all "Lyx" not "LyX" strings
11107
11108         * lyxcursor.h:
11109         * lyxcursor.C: attempt to add some documentation
11110
11111         * lyxfunc.C:
11112         * commandtags.h:
11113         * LyXAction.C:
11114         * ToolbarDefaults.C:
11115         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11116           merge with LFUN_TABULAR_INSERT
11117
11118         * Makefile.am:
11119         * SpellBase.h:
11120         * ispell.h:
11121         * ispell.C:
11122         * pspell.h:
11123         * pspell.C: split up i/pspell implementations into separate
11124           files, many cleanups
11125
11126         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11127
11128         * text2.C: some cleanup
11129
11130         * lyxfunc.C: don't check for isp_command == "none" any more, it
11131           didn't make any sense
11132
11133 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11134
11135         * counters.[Ch]
11136         * text2.C
11137         * paragraph.[Ch]
11138         * makefile.am: move counters functionality over
11139         from text2.C/paragraph.[Ch] to counters.[Ch], and
11140         make proper C++.
11141 2002-08-02  John Levon  <levon@movementarian.org>
11142
11143         * buffer.C: s/lyxconvert/lyx2lyx/
11144
11145 2002-08-02  Angus Leeming  <leeming@lyx.org>
11146
11147         * lyxlex.C: revert John's change as it breaks reading of the user
11148         preamble.
11149
11150 2002-08-02  Angus Leeming  <leeming@lyx.org>
11151
11152         * importer.C (Import):
11153         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11154         changes due to LyXView::view() now returning a boost::shared_ptr.
11155
11156 2002-08-02  John Levon  <levon@movementarian.org>
11157
11158         * lyxlex.C: small cleanup
11159
11160 2002-08-02  John Levon  <levon@movementarian.org>
11161
11162         * text2.C (status): small cleanup, no logic change
11163
11164 2002-08-01  John Levon  <levon@movementarian.org>
11165
11166         * buffer.h:
11167         * buffer.C (writeFile): don't output alerts, caller
11168           handles this
11169
11170         * bufferlist.C:
11171         * lyx_cb.C: from above
11172
11173         * lyxfunc.C: allow to open non-existent files
11174
11175 2002-07-31  John Levon  <levon@movementarian.org>
11176
11177         * lyxserver.C: don't let incidental errors get
11178           in the way (errno)
11179
11180 2002-07-30  John Levon  <levon@movementarian.org>
11181
11182         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11183
11184 2002-07-30  John Levon  <levon@movementarian.org>
11185
11186         * lyxserver.h:
11187         * lyxserver.C: remove I/O callback too
11188
11189 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11190
11191         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11192         log.
11193
11194 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11195
11196         * many files: strip,frontStrip -> trim,ltrim,rtrim
11197
11198 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11199
11200         * PrinterParams.h: remove extern containsOnly, and include
11201         support/lstrings.h instead.
11202
11203         * LaTeX.C (scanAuxFile): modify because of strip changes
11204         (deplog): ditto
11205         * buffer.C (makeLaTeXFile): ditto
11206         * bufferparams.C (writeFile): ditt
11207         * lyxfont.C (stateText): ditto
11208         * lyxserver.C (read_ready): ditto
11209         * vc-backend.C (scanMaster): ditto
11210
11211         * BufferView_pimpl.h: ws changes
11212
11213         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11214
11215 2002-07-26  André Pönitz <poenitz@gmx.net>
11216
11217         * kb_sequence.C: remove unnedred usings
11218
11219 2002-07-26  Juergen Vigna  <jug@sad.it>
11220
11221         * lyxfind.C (LyXReplace): we have to check better if the returned
11222         text is not of theLockingInset()->getLockingInset().
11223
11224 2002-07-25  Juergen Vigna  <jug@sad.it>
11225
11226         * lyxfind.C (LyXReplace): don't replace if we don't get the
11227         right LyXText.
11228
11229         * undo_funcs.C (createUndo): remove debugging code.
11230
11231 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11232
11233         * buffer.C (parseSingleLyXformat2Token): Use default placement
11234         when reading old floats.
11235
11236         * FloatList.C (FloatList): Change the default placement of figure
11237         and tables to "tbp".
11238
11239 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11240
11241         * MenuBackend.C: using std::max
11242
11243 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11244
11245         * MenuBackend.C (expandToc):
11246         (expandToc2): code moved from xforms menu frontend. It is now
11247         generic and TOCs are transparent to menu frontends.
11248
11249 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11250
11251         * toc.C (getTocList): protect against buf=0
11252
11253         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11254         Menu as first parameter. Now, this calls itself recursively to
11255         expand a whole tree (this will be useful for TOC handling)
11256         (expandFloatInsert): remove 'wide' version of floats
11257
11258         * MenuBackend.h (submenuname): returns the name of the submenu.
11259         (submenu): returns the submenu itself, provided it has been
11260         created by MenuBackend::expand
11261
11262 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11263
11264         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11265         insets which have noFontChange == true. (bug #172)
11266
11267 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11268
11269         * BufferView_pimpl.C: add connection objects and use them...
11270         (Pimpl): here.
11271
11272 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11273
11274         * MenuBackend.C (expandLastfiles):
11275         (expandDocuments):
11276         (expandFormats):
11277         (expandFloatListInsert):
11278         (expandFloatInsert):
11279         (expand): split expand in parts
11280
11281 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11282
11283         * lyx_gui.C: use lyx_gui::exit()
11284
11285 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11286
11287         * LyXAction.C: show the failing pseudo action
11288
11289 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11290
11291         * buffer.C (readFile): Run the lyxconvert script in order to read
11292         old files.
11293
11294 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11295
11296         * LyXAction.C:
11297         * commandtags.h:
11298         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11299
11300 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11301
11302         * LyXAction.C:
11303         * commandtags.h:
11304         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11305
11306 2002-07-22  Herbert Voss  <voss@lyx.org>
11307
11308         * lengthcommon.C:
11309         * lyxlength.[Ch]: add support for the vertical lengths
11310
11311 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11312
11313         * toc.[Ch]: std:: fixes
11314
11315 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11316
11317         * lyxrc.C: do not include lyx_main.h
11318
11319         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11320         for layouts
11321
11322         * lyxrc.C:
11323         * encoding.C:
11324         * bufferlist.C:
11325         * BufferView2.C: include "lyxlex.h"
11326
11327         * tabular.h:
11328         * bufferparams.h: do not #include "lyxlex.h"
11329
11330         * lyxtextclasslist.C (Add): remove method
11331         (classlist): renamed to classlist_
11332
11333         * paragraph_pimpl.C:
11334         * paragraph.C:
11335         * text2.C:
11336         * CutAndPaste.C:
11337         * bufferview_funcs.C:
11338         * bufferlist.C:
11339         * text.C:
11340         * LaTeXFeatures.C:
11341         * buffer.C:
11342         * toc.C (getTocList): use BufferParams::getLyXTextClass
11343
11344         * toc.C (getTocList): use InsetFloat::addToToc
11345
11346         * toc.[Ch]: new files, containing helper functions to handle table
11347         of contents
11348
11349         * lyxfunc.C (dispatch): no need to remove spaces around command
11350         given as a string
11351         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11352         first command of the sequence; it is not very clever, but I do not
11353         have a better idea, actually
11354
11355         * LyXAction.C (LookupFunc): make sure to remove space at the
11356         beginning and end of the command
11357
11358 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11359
11360         * MenuBackend.C (getMenubar): new method: return the menubar of
11361         this menu set
11362         (read): treat differently reading of menu and menubar (in
11363         particular, the menubar has no name now)
11364         (Menu::menubar): remove
11365
11366         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11367         saving is finished
11368
11369 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11370
11371         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11372         a bibitem inset in a RTL paragraph.
11373
11374 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11375
11376         * paragraph_pimpl.C: constify
11377
11378         * BufferView_pimpl.C:
11379         * LaTeX.C:
11380         * lyxfunc.C: fix dispatch in a nicer way
11381
11382 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11383
11384         * lyxfunc.C (dispatch):
11385         * BufferView_pimpl.C:
11386         * BufferView_pimpl.h:
11387         * BufferView.C:
11388         * BufferView.h: rename Dispatch() to dispatch()
11389
11390         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11391
11392         * lyxlayout.C (Read): honor DependsOn tag
11393
11394         * lyxlayout.[Ch] (depends_on): new method
11395
11396         * version.C.in: update lyx_docversion
11397
11398         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11399
11400         * paragraph.C (validate): remove from here...
11401         * paragraph_pimpl.C (validate): ... and move here
11402         (isTextAt): make it const
11403
11404         * buffer.C (getLists): ws cleanup
11405
11406 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11407
11408         * language.C (read): Use iso8859-1 encoding in latex_lang
11409         (this prevents LyX from crashing when using iso10646-1 encoding).
11410
11411 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11412
11413         * text2.C (toggleInset): if cursor is inside an inset, close the
11414         inset and leave cursor _after_ it
11415
11416 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11417
11418         * lyxfunc.C: move minibuffer completion handling out of here
11419
11420 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11421
11422         * BufferView_pimpl.C:
11423         * LaTeX.C: fix dispatch calls
11424
11425 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11426
11427         * text.C (drawChars): Fix Arabic text rendering.
11428
11429 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11430
11431         * LyXAction.C:
11432         * commandtags.h:
11433         * lyxfunc.C: remove message-push/pop
11434
11435         * lyxserver.C:
11436         * lyxfunc.h:
11437         * lyxfunc.C: rationalise some code by removing verboseDispatch
11438           in favour of a bool argument to dispatch()
11439
11440 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11441
11442         * lyx_main.C (init): make sure to read symlinks as absolute paths
11443
11444 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11445
11446         * lyxfunc.h:
11447         * lyxfunc.C: no need for commandshortcut to be a member
11448
11449 2002-07-15  André Pönitz <poenitz@gmx.net>
11450
11451         * converter.C: add support for $$s (scripts from lib/scripts dir)
11452         * lyx_main.C: white space
11453
11454 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * bufferlist.C:
11457         * lyxrc.h:
11458         * lyxrc.C: remove second exit confirmation
11459
11460 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11461
11462         * BufferView.h:
11463         * BufferView.C:
11464         * BufferView2.C:
11465         * BufferView_pimpl.h:
11466         * BufferView_pimpl.C:
11467         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11468
11469 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11470
11471         * MenuBackend.C (expand): add numeric shortcuts to document menu
11472
11473         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11474
11475 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11476
11477         * lyxfont.C (setLyXFamily):
11478         (setLyXSeries):
11479         (setLyXShape):
11480         (setLyXSize):
11481         (setLyXMisc):
11482         (lyxRead):
11483         * debug.C (value):
11484         * buffer.C (asciiParagraph): use ascii_lowercase
11485
11486 2002-07-15  Mike Fabian  <mfabian@suse.de>
11487
11488         * lyxlex_pimpl.C (search_kw):
11489         * lyxlex.C (getLongString):
11490         * converter.h (operator<):
11491         * converter.C (operator<):
11492         * buffer.C (parseSingleLyXformat2Token):
11493         (asciiParagraph):
11494         * ToolbarDefaults.C (read):
11495         * MenuBackend.C (checkShortcuts):
11496         (read):
11497         * LColor.C (getFromGUIName):
11498         (getFromLyXName): use the compare_ascii_no_case instead of
11499         compare_no_case, because in turkish, 'i' is not the lowercase
11500         version of 'I', and thus turkish locale breaks parsing of tags.
11501
11502 2002-07-16  Angus Leeming  <leeming@lyx.org>
11503
11504         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11505         now takes a Buffer const & argument.
11506
11507 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11508
11509         * BufferView.C (resize): check there's a buffer to resize
11510
11511 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11512
11513         * lyxfunc.C: remove dead code
11514
11515         * lyxserver.h:
11516         * lyxserver.C: use lyx_guii::set_read_callback
11517
11518 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11519
11520         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11521         an inset in a RTL paragraph.
11522
11523 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11524
11525         * lyxfunc.C: repaint after a font size update
11526
11527 2002-07-15  André Pönitz <poenitz@gmx.net>
11528
11529         * lyxlength.C: inBP should be able to return negative values
11530
11531 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11532
11533         * lyxfunc.C: use lyx_gui::update_fonts()
11534
11535 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11536
11537         * lyxfunc.C: use lyx_gui::update_color()
11538
11539 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11540
11541         * bufferlist.C:
11542         * lyxfunc.h:
11543         * lyxfunc.C:
11544         * lyxrc.h:
11545         * lyxrc.C: remove file->new asks for name option, and let
11546           buffer-new take an argument
11547
11548 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11549
11550         * BufferView_pimpl.C: remove unneeded extra repaint()
11551
11552 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11553
11554         * LyXAction.C: allow command-sequence with NoBuffer
11555
11556         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11557
11558 2002-07-10  Angus Leeming  <leeming@lyx.org>
11559
11560         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11561
11562 2002-07-09  Angus Leeming  <leeming@lyx.org>
11563
11564         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11565
11566 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11567
11568         * lengthcommon.h: whitespace
11569
11570         * lyxfunc.C: update scrollbar after goto paragraph
11571
11572         * lyxtext.h: factor out page break drawing, and fix it so
11573           page break/added space paints as selected nicely
11574
11575 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * BufferView_pimpl.C: add FIXMEs, clean up a little
11578
11579 2002-07-09  André Pönitz <poenitz@gmx.net>
11580
11581         * lyxfont.[Ch]: support for wasy symbols
11582
11583 2002-07-08  André Pönitz <poenitz@gmx.net>
11584
11585         * BufferView_pimpl.C: apply John's patch for #93.
11586
11587 2002-07-05  Angus Leeming  <leeming@lyx.org>
11588
11589         * BufferView_pimpl.C (buffer): generate previews if desired.
11590
11591         * LColor.h: add "preview" to the color enum.
11592
11593         * LColor.C (LColor): add a corresponding entry to the items array.
11594
11595         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11596         with this buffer.
11597
11598 2002-07-05  Angus Leeming  <leeming@lyx.org>
11599
11600         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11601         The body of the code is now in the method that is passed an ostream &
11602         rather than a file name.
11603         Pass an additional only_preamble parameter, useful for the forthcoming
11604         preview stuff.
11605
11606 2002-07-03  André Pönitz <poenitz@gmx.net>
11607
11608         * lyxfunc.C: simplify getStatus() a bit for math stuff
11609
11610 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11611
11612         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11613
11614 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11615
11616         * text.C (changeRegionCase): do not change case of all the
11617         document when region ends at paragraph end (bug #461)
11618
11619 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11620
11621         * paragraph.C (startTeXParParams):
11622         (endTeXParParams): add \protect when necessary
11623
11624 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11625
11626         * BufferView_pimpl.C (workAreaExpose): remove warning
11627
11628 2002-06-27  Angus Leeming  <leeming@lyx.org>
11629
11630         * Makefile.am: add lyxlayout_ptr_fwd.h.
11631
11632 2002-06-26  André Pönitz <poenitz@gmx.net>
11633
11634         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11635
11636 2002-06-25  Angus Leeming  <leeming@lyx.org>
11637
11638         * lyxfunc.C (dispatch): Comment out the call to
11639         grfx::GCache::changeDisplay. The method no longer exists now that the
11640         pixmap generation part of the graphics loader has been moved into
11641         InsetGraphics.
11642
11643 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11644
11645         * text2.C: layout as layout
11646
11647         * text.C: layout as layout
11648
11649         * tabular.C (OldFormatRead): layout as layout
11650
11651         * paragraph_pimpl.C (TeXDeeper): layout as layout
11652         (realizeFont): layout as layout
11653
11654         * paragraph.C (writeFile): layout as layout
11655         (validate): layout as layout
11656         (getFont): layout as layout
11657         (getLabelFont): layout as layout
11658         (getLayoutFont): layout as layout
11659         (breakParagraph): layout as layout
11660         (stripLeadingSpaces): layout as layout
11661         (getEndLabel): layout as layout
11662         (getMaxDepthAfter): layout as layout
11663         (applyLayout): layout as layout
11664         (TeXOnePar): layout as layout
11665         (simpleTeXOnePar): layout as layout
11666         (TeXEnvironment): layout as layout
11667         (layout): layout as layout
11668         (layout): layout as layout
11669
11670         * lyxtextclass.C (compare_name): new functor to work with
11671         shared_ptr, layout as layout
11672         (Read): layout as layout
11673         (hasLayout): layout as layout
11674         (operator): layout as layout
11675         (delete_layout): layout as layout
11676         (defaultLayout): layout as layout
11677
11678         * lyxlayout_ptr_fwd.h: new file
11679
11680         * lyxlayout.C (Read): layout as layout
11681
11682         * lyx_cb.C (MenuInsertLabel): layout as layout
11683
11684         * bufferlist.C (newFile): layout as layout
11685
11686         * buffer.C (readLyXformat2): layout as layout
11687         (parseSingleLyXformat2Token): layout as layout
11688         (insertStringAsLines): layout as layout
11689         (asciiParagraph): layout as layout
11690         (latexParagraphs): layout as layout
11691         (makeLinuxDocFile): layout as layout
11692         (simpleLinuxDocOnePar): layout as layout
11693         (makeDocBookFile): layout as layout
11694         (simpleDocBookOnePar): layout as layout
11695         (getLists): layout as layout
11696
11697         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11698
11699         * CutAndPaste.C (cutSelection): layout as layout
11700         (pasteSelection): layout as layout
11701         (SwitchLayoutsBetweenClasses): layout as layout
11702
11703         * BufferView_pimpl.C (Dispatch): layout as layout
11704         (smartQuote): layout as layout
11705
11706         * BufferView2.C (unlockInset): layout as layout
11707
11708 2002-06-24  André Pönitz <poenitz@gmx.net>
11709
11710         * lyxfunc.C: fix #487
11711
11712 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11713
11714         * lyxrc.h:
11715         * lyxrc.C:
11716         * lyxfunc.C: remove display_shortcuts, show_banner
11717
11718 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11719
11720         * Buffer_pimpl.C: oops, update on resize
11721
11722 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11723
11724         * buffer.C:
11725         * converter.C:
11726         * exporter.C:
11727         * lyxfunc.C:
11728         * BufferView.h:
11729         * BufferView.C: use repaint()
11730
11731         * BufferView_pimpl.h:
11732         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11733           as it's a clearer description. Remove superfluous
11734           redraws.
11735
11736 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11737
11738         * text.C: fix bug 488. Not ideal, but getting
11739           getWord() to work properly for the insets that
11740           matter is more difficult ...
11741
11742 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11743
11744         * BufferView_pimpl.C:
11745         * LyXAction.C:
11746         * commandtags.h:
11747         * lyxfunc.C: remove the six million index lyxfuncs to just
11748           one, and DTRT (bug 458)
11749
11750 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11751
11752         * BufferView.h:
11753         * BufferView.C:
11754         * BufferView_pimpl.h:
11755         * BufferView_pimpl.C: clean up resize() stuff,
11756           and unnecessary updateScreen()s
11757
11758 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11759
11760         * BufferView.h:
11761         * BufferView.C:
11762         * BufferView_pimpl.h:
11763         * BufferView_pimpl.C:
11764         * lyxfind.h:
11765         * lyxfind.C:
11766         * minibuffer.C: remove focus management of workarea,
11767           not needed. Use screen's greyOut()
11768
11769 2002-06-17  Herbert Voss  <voss@lyx.org>
11770
11771         * converter.C: (convert) do not post a message, when converting
11772         fails, let the calling function decide what to do in this case
11773
11774 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11775
11776         * lyxfunc.C: tidy up a little
11777
11778 2002-06-16    <alstrup@diku.dk>
11779
11780         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11781         Got rid of FORMS_H_LOCATION include. Now we are
11782         GUII.
11783
11784 2002-06-15  LyX Development team  <lyx@rilke>
11785
11786         * buffer.[Ch] (sgmlOpenTag):
11787         (sgmlCloseTag): Added support for avoiding pernicious mixed
11788         content. Return number of lines written.
11789
11790         (makeLinuxDocFile):
11791         (makeDocBookFile): Fixed calls to sgml*Tag.
11792         Simple white space clean.
11793
11794         (simpleDocBookOnePar): Simple white space clean.
11795
11796         * tabular.[Ch] (docBook): Renamed to docbook and got another
11797         argument to related with the pernicious mixed content.
11798
11799         (docbookRow): Fixed calls for docbook inset method.
11800
11801 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11802
11803         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11804         so it's X11 independent.
11805
11806         * kb*.[Ch]: ditto.
11807
11808         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11809
11810 2002-06-15  Lyx Development team  <lyx@electronia>
11811
11812         * intl.h: Renamed getTrans to getTransManager.
11813
11814 2002-06-14  Angus Leeming  <leeming@lyx.org>
11815
11816         * Makefile.am: nuke forgotten stl_string_fwd.h.
11817
11818 2002-06-12  Angus Leeming  <leeming@lyx.org>
11819
11820         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11821
11822 2002-06-13  Angus Leeming  <leeming@lyx.org>
11823
11824         * LaTeX.C:
11825         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11826
11827 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11828
11829         * kbmap.C (getiso): add support for cyrillic and greek
11830
11831 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11832
11833         * BufferView.h:
11834         * BufferView.C:
11835         * BufferView_pimpl.h:
11836         * BufferView_pimpl.C: move bogus scrolling logic
11837           to xforms
11838
11839 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11840
11841         * lyxfunc.C:
11842         * BufferView_pimpl.C: view->resize() change
11843
11844 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11845
11846         * BufferView_pimpl.C: topCursorVisible
11847           prototype change
11848
11849 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11850
11851         * Makefile.am:
11852         * lyx_gui.h:
11853         * lyx_gui.C: move to frontends/
11854
11855         * main.C:
11856         * lyx_main.h:
11857         * lyx_main.C: changes from above
11858
11859 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11860
11861         * intl.C:
11862         * intl.h:
11863         * kbmap.C:
11864         * kbsequence.C:
11865         * lyx_cb.C:
11866         * lyx_main.C: minor tidy
11867
11868 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * BufferView_pimpl.h:
11871         * BufferView_pimpl.C:
11872         * BufferView.h:
11873         * BufferView.C: make painter() const,
11874           remove dead code
11875
11876         * BufferView2.C: use screen() accessor
11877
11878         * lyx_main.h:
11879         * lyx_main.C: some minor cleanup
11880
11881 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11882
11883         * BufferView_pimpl.h:
11884         * BufferView_pimpl.C: remove enter/leaveView,
11885           use workHeight()
11886
11887 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * BufferView.h:
11890         * BufferView.C:
11891         * BufferView2.C:
11892         * BufferView_pimpl.h:
11893         * BufferView_pimpl.C: only construct screen once,
11894           rename
11895
11896         * lyxrc.C: remove pointless comment
11897
11898 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * BufferView.h:
11901         * BufferView.C: remove active() and belowMouse()
11902
11903         * BufferView_pimpl.h:
11904         * BufferView_pimpl.C: use workarea() not workarea_,
11905           and make it use a scoped_ptr instead
11906
11907 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11908
11909         * lyx_gui.C: add debug message on BadWindow
11910
11911 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11912
11913         * sp_spell.C: fdopen is not part of the C++ standard.
11914
11915         * paragraph.C (InsetIterator): use >= instead of ==
11916
11917 2002-06-07  Angus Leeming  <leeming@lyx.org>
11918
11919         Fixes needed to compile with Compaq cxx 6.5.
11920         * BufferView_pimpl.C:
11921         * DepTable.C:
11922         * buffer.C:
11923         * converter.C:
11924         * encoding.C:
11925         * lyx_gui.C:
11926         * lyx_main.C:
11927         * lyxtextclasslist.C:
11928         * minibuffer.C:
11929         * sp_spell.C:
11930         * tabular_funcs.C:
11931         * vc-backend.C:
11932         all c-library variables have been moved into namespace std. Wrap
11933         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11934
11935         * lyxlength.C:
11936         * tabular-old.C:
11937         * tabular.C:
11938         Add a using std::abs declaration.
11939
11940         * kbmap.h (modifier_pair):
11941         * paragraph.h (InsetTable, InsetList):
11942         * lyxfont.h (FontBits):
11943         type definition made public.
11944
11945         * bufferlist.C (emergencyWriteAll): the compiler complains that
11946         there is more than one possible lyx::class_fun template to choose from.
11947         I re-named the void specialisation as lyx::void_class_fun.
11948
11949         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11950
11951         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11952         the compiler is is unable to find tostr in write_attribute.
11953
11954 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11955
11956         * buffer.C (sgmlError): hide #warning
11957
11958 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11959
11960         * xtl/*: get rid of xtl, which is not in use anyway
11961
11962         * LyXAction.C (init):
11963         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11964         were unimplemented xtl experimentation
11965
11966 2002-06-04  André Pönitz <poenitz@gmx.net>
11967
11968         * lyxfunc.C: disable array operation on simple formulae
11969
11970 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11971
11972         * converter.C: constify a bit
11973
11974 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11975
11976         * lyx_gui.C: check xforms version correctly
11977
11978 2002-04-30  Herbert Voss  <voss@lyx.org>
11979
11980         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11981         "keep" option
11982
11983 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11984
11985         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11986           attempt to register it with a VCS)
11987
11988 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11989
11990         * lyx_main.C (init): honor variables LYX_DIR_13x and
11991         LYX_USERDIR_13x
11992
11993 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * buffer.h:
11996         * buffer.C:
11997         * lyx_main.C: fix a crash on bad command line,
11998           and give a useful exit status on error
11999
12000         * lyxfunc.C (doImport): allow -i lyx to work
12001
12002 2002-03-30  André Pönitz <poenitz@gmx.net>
12003
12004         * lyxfunc.C: mathed font changes
12005
12006 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12007
12008         * LaTeX.C:
12009         * importer.h:
12010         * importer.C:
12011         * lyx_sty.h:
12012         * lyx_sty.C:
12013         * lyxlex.C:
12014         * lyxrow.h:
12015         * lyxtext.h:
12016         * paragraph.h:
12017         * paragraph.C:
12018         * texrow.h:
12019         * texrow.C:
12020         * text.C:
12021         * trans_mgr.h: srcdocs, and some minor cleanups
12022
12023 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12024
12025         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12026         call getFont all the time)
12027
12028 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12029
12030         * switch from SigC signals to boost::signals
12031
12032 2002-05-29  André Pönitz <poenitz@gmx.net>
12033
12034         * paragraph_pimpl.C (getChar): don't call size() too often...
12035
12036 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12037
12038         * paragraph_pimpl.C (insertChar): do not try to update tables when
12039         appending (pos == size())
12040
12041         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12042         in order to reduce drastically the number of comparisons needed to
12043         parse a large document
12044
12045 2002-05-29  André Pönitz <poenitz@gmx.net>
12046
12047         * text.C:
12048         * text2.C:
12049         * lyxtextclass.C:
12050         * sp_pspell.h:
12051         * textclasslist.[Ch]:
12052         * sp_ispell.h: whitespace change
12053
12054 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12055
12056         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12057         lyxaction directly now.
12058
12059 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12060
12061         * trans.C:
12062         * lyxfont.C:
12063         * lyxvc.C: remove unused headers
12064
12065 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12066
12067         * Makefile.am:
12068         * buffer.h:
12069         * undostack.h:
12070         * undostack.C:
12071         * undo_funcs.h:
12072         * undo_funcs.C: some cleanups. Use shared_ptr
12073           and a template for the undo stacks.
12074
12075 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * BufferView_pimpl.h:
12078         * BufferView_pimpl.C:
12079         * kbmap.h:
12080         * kbmap.C:
12081         * kbsequence.h:
12082         * kbsequence.C:
12083         * lyxfunc.h:
12084         * lyxfunc.C:
12085         * text2.C: use key_state/mouse_state
12086
12087 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12088
12089         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12090         and LSubstring
12091
12092         * chset.C: change include order
12093         (loadFile): use boost regex and get rid of LRegex and LSubstring
12094
12095         * Makefile.am (BOOST_LIBS): new variable
12096         (lyx_LDADD): use it
12097
12098         * LaTeX.C: change include order.
12099         (scanAuxFile): use boost regex and get rid of LRegex and
12100         LSubstring
12101         (deplog): ditto
12102
12103 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12104
12105         * ColorHandler.h:
12106         * ColorHandler.C:
12107         * FontInfo.h:
12108         * FontInfo.C: moved to frontends/xforms/
12109
12110         * FontLoader.h:
12111         * FontLoader.C: moved into frontends for GUIIzation
12112
12113         * Makefile.am:
12114         * lyx_gui.C:
12115         * lyxfont.C:
12116         * lyxfunc.C: changes from above
12117
12118 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12119
12120         * LColor.C: remove spurious X include
12121
12122         * BufferView_pimpl.C:
12123         * Makefile.am:
12124         * font.h:
12125         * font.C:
12126         * text.C:
12127         * text2.C: move font metrics to frontends/
12128
12129 2002-05-24  Juergen Vigna  <jug@sad.it>
12130
12131         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12132         setting the undo_cursor.
12133
12134         * ParagraphParameters.h: include local includes first.
12135
12136 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12137
12138         * BufferView_pimpl.C:
12139         * BufferView_pimpl.h:
12140         * Makefile.am:
12141         * WorkArea.h:
12142         * WorkArea.C:
12143         * screen.C: move WorkArea into frontends/
12144
12145         * lyxscreen.h:
12146         * screen.C:
12147         * text.C:
12148         * BufferView.C:
12149         * BufferView2.C: move LyXScreen into frontends/
12150
12151         * lyxlookup.h:
12152         * lyxlookup.C:
12153         * lyx_gui.C: move lyxlookup into frontends/xforms/
12154
12155 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12156
12157         * BufferView2.C:
12158         * BufferView_pimpl.C:
12159         * FontLoader.C:
12160         * LyXView.h:
12161         * LyXView.C:
12162         * Makefile.am:
12163         * WorkArea.C:
12164         * XFormsView.h:
12165         * XFormsView.C:
12166         * buffer.C:
12167         * bufferlist.C:
12168         * bufferview_funcs.C:
12169         * converter.C:
12170         * importer.C:
12171         * lyx_cb.C:
12172         * lyx_gui.C:
12173         * lyx_main.C:
12174         * lyx_find.C:
12175         * lyxfunc.C:
12176         * lyxvc.C:
12177         * minibuffer.C:
12178         * text.C:
12179         * text2.C:
12180         * trans.C:
12181         * vc-backend.C: move LyX/XFormsView into frontends/
12182
12183 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12184
12185         * Makefile.am:
12186         * PainterBase.C:
12187         * PainterBase.h:
12188         * Painter.C:
12189         * Painter.h:
12190         * WorkArea.C:
12191         * WorkArea.h:
12192         * screen.C:
12193         * tabular.C:
12194         * text.C:
12195         * text2.C: move Painter to frontends/
12196
12197 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12198
12199         * buffer.C: comment out some some code that depend upon lyx_format
12200         < 220
12201
12202         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12203         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12204
12205         * buffer.h (NO_COMPABILITY): turn off compability
12206
12207         * ColorHandler.C: include scoped_array.hpp
12208
12209         * font.C: Use more specific smart_ptr header.
12210         * Painter.C: ditto
12211         * gettext.C: ditto
12212         * ShareContainer.h: ditto
12213         * lyx_main.h: ditto
12214         * kbmap.h: ditto
12215         * FontInfo.h: ditto
12216         * BufferView_pimpl.h: ditto
12217         * ColorHandler.h: ditto
12218
12219         * kbmap.C (defkey): change call to shared_ptr::reset
12220
12221 2002-05-21  Juergen Vigna  <jug@sad.it>
12222
12223         * buffer.C (insertErtContents): fix to insert ert asis if it is
12224         non empty. Skip it completely if it contains only whitespaces.
12225
12226 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12227
12228         * BufferView_pimpl.C:
12229         * BufferView2.C: clear selection on paste (bug 393)
12230
12231 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12232
12233         * DepTable.C: include ctime
12234
12235 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12236
12237         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12238
12239 2002-05-14  Juergen Vigna  <jug@sad.it>
12240
12241         * text.C (breakParagraph): fixed function to honor the keepempty
12242         layout in the right maner and also to permit the right breaking
12243         algorithm on empty or non empyt keepempty paragraphs.
12244
12245         * paragraph.C (breakParagraph): we have to check also if the par
12246         is really empty (!size()) for isempty otherwise we do the wrong
12247         paragraph break.
12248
12249 2002-05-10  Juergen Vigna  <jug@sad.it>
12250
12251         * buffer.[Ch] : The following are only changes to the ert
12252         compatibility read reading old LaTeX layout and font stuff and
12253         convert it to ERTInsets.
12254
12255         * buffer.h: added isErtInset().
12256
12257         * buffer.C (struct ErtComp): add a fromlayout bool to check
12258         if we're inside a LaTeX layout.
12259         (isErtInset): new helper function.
12260         (insertErtContents): look for other ert insets before this one
12261         and insert the contents there, so that we don't have subsequent
12262         ERT insets with nothing between them. This way we create only one
12263         inset with multiple paragraphs. Also check if we don't insert only
12264         spaces ' ' as they are ignored anyway afterwards in the .tex file
12265         so if we have only spaces we will ignore this latex part in the
12266         new file.
12267         (parseSingleLyXformat2Token \\layout): better compatibility when
12268         reading layout-latex stuff.
12269         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12270         language tag.
12271         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12272         stuff after reading the inset only get the information back from
12273         the stack.
12274
12275 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12276
12277         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12278
12279         * LaTeXFeatures.C (getBabelOptions): New method.
12280
12281 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12282
12283         * BufferView_pimpl.C (Dispatch): work around missing argument for
12284         'layout'
12285
12286 2002-05-08  Juergen Vigna  <jug@sad.it>
12287
12288         * text.C (leftMargin): handle paragraph leftindent.
12289
12290         * paragraph.C (writeFile): write the new \\leftindent tag.
12291         (validate): handle leftindent code.
12292         (TeXEnvironment): handle paragraphleftindent code again.
12293
12294         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12295
12296         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12297         for paragrap_extra indent code and new token \\leftindent.
12298         (latexParagraphs): handle the leftindent as environment.
12299
12300         * ParameterStruct.h: added leftindent support.
12301
12302         * ParagraphParameters.C (leftIndent): added support functions for
12303         the paragraph left indent.
12304
12305         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12306         more appropriate.
12307
12308 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12309
12310         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12311         inside insetERT.
12312
12313         * text.C (computeBidiTables): No bidi in insetERT.
12314
12315         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12316         in RTL documents.
12317
12318 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12319
12320         * version.C.in: pre 5
12321
12322 2002-05-02  José Matos  <jamatos@fep.up.pt>
12323         * buffer.C (makeDocBookFile): white space changes, add newline to
12324         command styles.
12325         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12326
12327         * tabular.C (docBook): fix typo.
12328
12329 2002-05-03  Juergen Vigna  <jug@sad.it>
12330
12331         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12332         change in LyXText as we can not be sure it was not freed.
12333         (drawOneRow): remove unused code.
12334
12335         * text.C (drawInset): redo the calculation of the need_break_row as
12336         it could have a row which was already freed.
12337         (draw): look at the return value of drawInset and return false if
12338         it also returned false.
12339         (paintRowText): look at the return value of draw and return false if
12340         it also returned false.
12341
12342         * lyxtext.h: added bool return type to drawInset() and draw() so that
12343         if we have a change in the row so that the rowbreak has to be redone
12344         we abort drawing as it will be called again.
12345
12346 2002-05-02  Juergen Vigna  <jug@sad.it>
12347
12348         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12349         a change in the maintext also if we're inside an inset.
12350         (Dispatch): set the cursor again after a break line and after the
12351         screen has been updated as it could be we're in a different row.
12352
12353         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12354         to set the cursor behind the pargraph with > size().
12355         (setCursor): check also for the same paragraph when checking where
12356         to put the cursor if we have a NFR inset.
12357
12358         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12359         parts of layout read further up as it still was in the wrong
12360         position.
12361
12362 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12363
12364         * screen.C (drawFromTo): change sine fullRebreak always return
12365         true.
12366
12367         * buffer.C (parseSingleLyXformat2Token): reindent some
12368
12369         * BufferView_pimpl.C (update): change since fullRebreak always
12370         return true.
12371         (Dispatch): git rid of the last hardcoded "Standard"s.
12372
12373 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12374
12375         * text2.[Ch] (fullRebreak): make it return void now that we always
12376         returned true.
12377
12378 2002-04-30  Juergen Vigna  <jug@sad.it>
12379
12380         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12381         ert compatibility check for "latex" layout.
12382
12383 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12384
12385         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12386         minipages: use col% instead of p%, and also use the current font.
12387         (makeLaTeXFile): Fix use babel condition.
12388         (parseSingleLyXformat2Token): Correct font when reading old floats.
12389
12390 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12391
12392         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12393         inserting list of floats.
12394
12395 2002-04-25  Herbert Voss  <voss@lyx.org>
12396
12397         * MenuBackend.C (expand): don't add the graphics extensions to the
12398         export menu
12399
12400 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12401
12402         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12403         non-existing layout, do not complain if it was the default layout
12404         of the original class (bug #342)
12405
12406 2002-04-24  Juergen Vigna  <jug@sad.it>
12407
12408         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12409         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12410
12411 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12412
12413         * buffer.C (getBibkeyList): If using \bibliography, return the
12414         option field with the reference itself. Enables us to provide natbib
12415         support when using \bibliography.
12416
12417 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12418
12419         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12420
12421         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12422         natbib is provided by the LaTeX class.
12423
12424 2002-04-23  Juergen Vigna  <jug@sad.it>
12425
12426         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12427         Wakeup functions.
12428
12429         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12430
12431 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12432
12433         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12434
12435         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12436         ensuremath around textordmasculine, textordfeminine and
12437         textdegree.
12438
12439 2002-04-19  Juergen Vigna  <jug@sad.it>
12440
12441         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12442         reinitializing the buffer otherwise row-dimensions may be wrong.
12443         (update): reset also the selection cursors if they do exits otherwise
12444         their x/y positions may be wrong.
12445
12446         * text2.C (cursorDown): don't enter the inset if we came from a row
12447         above and are one row over the inset.
12448
12449         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12450         really leaving an inset.
12451
12452 2002-04-18  Juergen Vigna  <jug@sad.it>
12453
12454         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12455         of the selected paragraph does not have the selected layout also if
12456         the last one had!
12457
12458         * text2.C (setLayout): fixed bug which did not change last selected
12459         paragraph.
12460
12461         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12462         changed the read and substituted \\end_float with \\end_inset!
12463
12464         * BufferView_pimpl.C (cursorPrevious):
12465         (cursorNext): fixed to make it work with rows heigher than the work
12466         area without moving the cursor only the draw of the row.
12467         (workAreaMotionNotify): fix jumping over high rows.
12468
12469 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12470
12471         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12472         Ressler.
12473
12474 2002-04-16  Juergen Vigna  <jug@sad.it>
12475
12476         * text2.C (setCursor): set also the irow().
12477         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12478         (cursorUp):
12479         (cursorDown): support for locking an inset if the x_fix value goes
12480         inside it. That way I can transverse insets too with cursor up/down.
12481
12482         * lyxrow.h: added irow helper function same as other (i) functions.
12483
12484         * BufferView_pimpl.C (cursorPrevious):
12485         (cursorNext): fixed for insets!
12486
12487 2002-04-15  Juergen Vigna  <jug@sad.it>
12488
12489         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12490         position otherwise it is wrong in some cases.
12491
12492         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12493         inside the inset before the call.
12494
12495 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12496
12497         * buffer.[Ch] (getBibkeyList): make it const.
12498
12499 2002-04-12  Juergen Vigna  <jug@sad.it>
12500
12501         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12502
12503         * text2.C (getCursorX): new helper function
12504         (setCursor): compute also ix_
12505         (setCursorFromCoordinates): set also ix.
12506
12507         * lyxcursor.h: added ix_ and helper functions.
12508
12509         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12510
12511         * buffer.C (insertStringAsLines): dont break paragraph if the this
12512         paragraph is inside an inset which does not permit it!
12513
12514         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12515         also with no chars on this paragraph.
12516         (paintRowText): only paint stuff if it's inside the workarea!
12517
12518         * paragraph.C (breakParagraph): honor keepempty flag and break the
12519         paragraph always below not above.
12520
12521         * BufferView2.C (unlockInset): update the paragraph layout on inset
12522         unlock as we changed paragraph in such a case.
12523
12524         * lyxfind.C (LyXFind): clear the former selection if not found!
12525
12526         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12527         again called in insertChar().
12528
12529         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12530         an inset which uses the whole row!
12531         (rightMargin): ditto.
12532         (insertChar): force a rebreak if we inserted an inset!
12533
12534 2002-03-28  Herbert Voss  <voss@lyx.org>
12535
12536         * lyxlength.[Ch]: add inBP() to get the right PS-point
12537         units (BigPoint). With inPixels we have rounding errors
12538
12539 2002-04-11  Juergen Vigna  <jug@sad.it>
12540
12541         * text2.C (setCursorFromCoordinates): set iy to the right value.
12542         (setCursor): add check if row->previous exists!
12543
12544         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12545         an old float_type as this was the case in the old code!
12546
12547         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12548
12549         * BufferView2.C (showLockedInsetCursor): use iy
12550         (fitLockedInsetCursor): ditto
12551
12552         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12553         locked insets as there we have the right value now.
12554
12555         * lyxcursor.C: added iy_ variable and iy functions to set to the
12556         baseline of cursor-y of the locked inset.
12557
12558         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12559         (setCursor): fixed for insets which need a full row.
12560
12561         * text.C (rowLastPrintable): don't ignore the last space when before
12562         an inset which needs a full row.
12563         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12564         as last character of a row when before a inset which needs a full row.
12565
12566 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12567
12568         * version.C.in: update date
12569
12570         * text2.C (fullRebreak): try to always return true and see what
12571         happens...
12572
12573 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12574
12575         * MenuBackend.C (expand): use Floating::listName
12576
12577         * FloatList.C (FloatList): add listName argument to the built-in
12578         floats
12579
12580         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12581         text associated with the float.
12582
12583 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12584
12585         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12586
12587 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12588
12589         * ShareContainer.h: add a couple of missing typenames.
12590
12591 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12592
12593         * lyxrc.C (getDescription): use _() correctly rather than N_().
12594
12595 2002-03-28  Herbert Voss  <voss@lyx.org>
12596
12597         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12598         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12599
12600 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12601
12602         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12603         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12604
12605 2002-03-29  Juergen Vigna  <jug@sad.it>
12606
12607         * lyxfunc.C (dispatch): add a missing fitCursor call.
12608
12609         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12610         it was scrolled by a cursor move, so return the bool status.
12611
12612         * BufferView.C (fitCursor): return the bool flag also to the outside
12613         world as this is needed.
12614
12615         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12616
12617         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12618         call the edit() as it is not needed (and wrong) IMO.
12619         (workAreaButtonPress): set the screen_first variable before evt.
12620         unlock the inset as this may change screen_first and then we have
12621         a wrong y position for the click!
12622
12623 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12624
12625         * MenuBackend.C (expand): another translation that I missed
12626
12627 2002-03-28  Juergen Vigna  <jug@sad.it>
12628
12629         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12630
12631         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12632
12633 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12634
12635         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12636
12637         * MenuBackend.C (expand): fix export/view/update when there is no
12638         document open.
12639
12640 2002-03-27  Herbert Voss  <voss@lyx.org>
12641
12642         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12643         and text%
12644
12645 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12646
12647         * bufferview_funcs.C (currentState): only show paragraph number
12648         for is DEVEL_VERSION is set.
12649
12650         * lyxfunc.C (dispatch): put warning in INFO channel
12651
12652         * MenuBackend.C (expand): translate the name of floats
12653
12654         * FloatList.C (FloatList): mark the float names for translation
12655
12656         * converter.C (convert): use LibScriptSearch
12657
12658 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12659
12660         * MenuBackend.C (defaults): fix default menu (we might as well get
12661         rid of it...)
12662
12663 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12664
12665         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12666         directory.
12667
12668 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12669
12670         * lyxvc.C: reorder includes.
12671
12672 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12675           properly
12676
12677 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12678
12679         * CutAndPaste.C: change layouts earlier on paste
12680           to avoid crashing when calling getFont()
12681
12682 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12683
12684         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12685         irritating #error.
12686
12687 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12688
12689         * WorkArea.C: remove 'Pending' debug message.
12690
12691         * most files: ws cleanup
12692
12693         * buffer.[Ch]: ws changes
12694
12695         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12696
12697 2002-03-21  Juergen Vigna  <jug@sad.it>
12698
12699         * tabular.C (SetMultiColumn): collapse also the contents of the
12700         cells and set the last border right. Added a Buffer const * param.
12701
12702 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12703
12704         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12705         linking or not.
12706
12707 2002-03-19  Juergen Vigna  <jug@sad.it>
12708
12709         * text2.C (clearSelection): reset also xsel_cache.
12710
12711         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12712         where it needs to be called (John tells us to do so too :)
12713         (selectionLost): reset sel_cache.
12714
12715         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12716
12717 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12718
12719         * text2.C (setCursorIntern): put debuging code in INSETS channel
12720
12721 2002-03-19  André Pönitz <poenitz@gmx.net>
12722
12723         * lyxfunc.C: tiny whitespace change
12724
12725 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12726
12727         * ToolbarDefaults.C (init):
12728         * LyXAction.C (init):
12729         * commandtags.h:
12730         * BufferView_pimpl.C (Dispatch):
12731         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12732
12733 2002-03-19  Allan Rae  <rae@lyx.org>
12734
12735         * exporter.C (Export): removeAutoInsets before doing anything else.
12736         While I've just introduced a dependency on BufferView this really is
12737         the best place to clean the buffer otherwise you need to cleanup in
12738         a dozen places before calling export or cleanup in a dozen functions
12739         that export calls.
12740
12741         * converter.C (runLaTeX):
12742         (scanLog): Better handling of removeAutoInsets and screen updates.
12743
12744         * lyxfunc.C (dispatch): small whitespace changes
12745
12746 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * WorkArea.C (C_WorkAreaEvent): return a value.
12749         (event_cb): return 1 if we handled the event, 0 otherwise.
12750
12751         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12752
12753 2002-03-18  Juergen Vigna  <jug@sad.it>
12754
12755         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12756         (GetAdditionalWidth): ditto.
12757         (RightLine): ditto.
12758         (LeftLine): ditto.
12759
12760         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12761         inset if we're there actually (probably not used right now but this
12762         is the direction to go for unifying code).
12763         (paste): disable code to clear the selection.
12764
12765         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12766         inside an InsetText and move the check further up as it is in the
12767         wrong place.
12768
12769         * text2.C (pasteSelection): set a selection over the pasted text.
12770
12771 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12772
12773         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12774         and libgraphics to build on Cygwin.
12775
12776 2002-03-15  Juergen Vigna  <jug@sad.it>
12777
12778         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12779         inserting an Inset into the paragraph. I know this is not the best
12780         fix but we already use current_view in CutAndPaste so we will remove
12781         all of it's using at the same time.
12782
12783         * buffer.C (sgmlError): deactivated function till it is rewritten in
12784         the right mode, now it can create problems.
12785
12786         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12787         before accessing it.
12788
12789 2002-03-14  Juergen Vigna  <jug@sad.it>
12790
12791         * undo_funcs.C (textHandleUndo): do the right thing when updating
12792         the inset after the undo/redo.
12793
12794         * text2.C (setCursor): just some testcode for #44 not ready yet.
12795
12796         * undo_funcs.C (textHandleUndo): set the next() and previous()
12797         pointers of the paragraph to 0 before deleting otherwise we have
12798         problems with the Paragraph::[destructor].
12799
12800         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12801         on a paragraph insertion.
12802
12803 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * buffer.C (asciiParagraph): use += operator for char append to
12806         string.
12807
12808         * paragraph.C (getFontSettings): compare >= not just >
12809         (highestFontInRange): ditto
12810         (setFont): ditto
12811
12812 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12813
12814         * paragraph.C: change several algorithm to be more appripriate for
12815         the problem domain. This is lookip in FontList and in the InsetList.
12816
12817 2002-03-13  André Pönitz <poenitz@gmx.net>
12818
12819         * commandtags.h:
12820         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12821
12822 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12823
12824         * commandtags.h:
12825         * LyXAction.C:
12826         * lyxfunc.C:
12827         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12828
12829 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12830
12831         * Painter.C (display): anon helper function, adjust code for this
12832         change.
12833         (pixmap): remove function.
12834
12835         * Painter.h: remove private display variable.
12836
12837         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12838
12839 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12840
12841         * WorkArea.[Ch]: remove figinset_canvas cruft.
12842
12843 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12844
12845         * lyxtextclass.C (operator): add one item cache optimization.
12846
12847         * bufferlist.h: doxy changes
12848
12849         * bufferlist.C: ws changes
12850
12851         * DepTable.[Ch] (ext_exist): place const in the right spot.
12852
12853         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12854         call resizeInsets.
12855         (workAreaExpose): call resizeInsets when the with BufferView changes.
12856         (Dispatch): adjust for protectedBlank removal
12857         (specialChar): call updateInset if the insert went ok.
12858
12859         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12860         specialChar instead.
12861
12862         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12863
12864         * BufferView.h: doxy change
12865
12866         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12867
12868         * lyxtextclass.C (operator[]): remove non-const version
12869         (defaultLayout): remove non-const version
12870
12871 2002-03-12  Juergen Vigna  <jug@sad.it>
12872
12873         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12874         did resize the LyXText too.
12875
12876         * buffer.C (readLyXformat2): set layout information on newly allocated
12877         paragraphs.
12878
12879         * tabular.C (OldFormatRead): set layout information on the paragraph.
12880
12881 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12882
12883         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12884
12885 2002-03-11  Juergen Vigna  <jug@sad.it>
12886
12887         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12888         plainly wrong.
12889         (resizeCurrentBuffer): force also the insets to resize themselfes.
12890         (moveCursorUpdate): fixed up for InsetText.
12891
12892 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12893
12894         * commandtags.h:
12895         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12896         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12897         value of Dialogs::tooltipsEnabled().
12898         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12899
12900 2002-03-08  Juergen Vigna  <jug@sad.it>
12901
12902         * BufferView_pimpl.C (updateInset): update inset inside inset also
12903         if it isn't inside theLockingInset().
12904
12905 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12906
12907         * buffer.C (asciiParagraph): redo some of the word and line length
12908         handling.
12909         (getLists): look for Caption instead of caption.
12910
12911 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12912
12913         * buffer.C (Buffer): initialize niceFile to true
12914         (makeLaTeXFile):
12915         (makeLinuxDocFile):
12916         (makeDocBookFile): make sure niceFile is true on exit
12917
12918 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12919
12920         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12921
12922 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12923
12924         * LyXSendto.C: remove.
12925         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12926         * lyx_gui.C: remove now-redundant comment.
12927         * ColorHandler.h: remove forward declaration of class WorkArea.
12928         * lyxfunc.C: remove #include "WorkArea.h".
12929
12930 2002-03-07  Juergen Vigna  <jug@sad.it>
12931
12932         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12933         got moved away with the DEPM and also set the inset_owner always
12934         right which before could have been omitted.
12935
12936 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12937
12938         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12939         wanted layout is not found.
12940
12941 2002-03-07  Juergen Vigna  <jug@sad.it>
12942
12943         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12944
12945 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12946
12947         * paragraph.C (breakParagraph): use default layout not layout of
12948         prev paragraph.
12949         (Paragraph): clear ParagraphParameters.
12950
12951 2002-03-06  Juergen Vigna  <jug@sad.it>
12952
12953         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12954         otherwise it would not be a valid lenght. Fixed a special case in
12955         the minipage compatibility read where we end the document with a
12956         minipage.
12957
12958         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12959         was set as it could be 0 for InsetTexts first entry.
12960
12961 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12962
12963         * paragraph.C (writeFile): if layout is empty write out
12964         defaultLayoutName().
12965
12966         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12967         file without named layout we set layout to defaultLayoutName().
12968
12969 2002-03-06  Juergen Vigna  <jug@sad.it>
12970
12971         * CutAndPaste.C (copySelection): set layout for new paragraph.
12972
12973         * text.C (prepareToPrint): leave ERT inset left aligned
12974         (leftMargin): don't indent paragraphs inside ERT insets
12975
12976 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12977
12978         * paragraph.C (breakParagraph): dont call clear do the work manually
12979
12980         * paragraph.[Ch] (clear): remove function
12981
12982 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12983
12984         * paragraph.C (Paragraph): dont call clear, the work has already
12985         been done.
12986
12987         * lyxtextclass.C (operator): assert if n is empty
12988
12989         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12990         work manually instead.
12991
12992 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12993
12994         * BufferView_pimpl.C: protect selectionLost against text == 0
12995
12996 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12997
12998         * text.C (breakParagraph): fix a setting layout to '0' problem.
12999
13000 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13001
13002         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13003         final location of file, for the included files, and graphics.
13004
13005 2002-03-05  Juergen Vigna  <jug@sad.it>
13006
13007         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13008
13009 2002-03-04  Juergen Vigna  <jug@sad.it>
13010
13011         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13012
13013         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13014         last column of multicolumn cells.
13015         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13016
13017 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13018
13019         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13020         file if it doesn't go to a temporary file.
13021
13022         * buffer.C (sgmlOpenTag):
13023         (sgmlCloseTag):  remove extra newline insertion.
13024
13025 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13026
13027         * text.C (getRowNearY): comment out debug msg
13028
13029 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13030
13031         * text2.C: first -> first_y
13032
13033         * text.C (getRowNearY): add some attemts at a possible
13034         optimization, not working.
13035
13036         * tabular.[Ch]: add BufferParams to several function so that newly
13037         created paragraph can be initialized to he default layotu for the
13038         buffers textclass.
13039
13040         * tabular-old.C (ReadOld): add buf->params to call of Init
13041
13042         * screen.C: rename text->first to text->first_y
13043
13044         * paragraph.C (breakParagraph): always set layout in the broken
13045         paragraph
13046
13047         * lyxtextclass.C (Read): remove lowercase
13048         (hasLayout): ditto
13049         (operator): ditto
13050         (delete_layout): ditto
13051
13052         * lyxtext.h: rename first -> first_y
13053
13054         * lyxlayout.C (Read): remove lowercase
13055         (name): ditto
13056         (setName): ditto
13057         (obsoleted_by): ditto
13058
13059         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13060
13061         * buffer.C (insertErtContents): add params are to InsetERT
13062         (parseSingleLyXformat2Token): add code to check if a paragraphs
13063         layout really exist.
13064         (parseSingleLyXformat2Token): add params to several inset
13065         constructors
13066         (asciiParagraph): remove lowercase, do the layout comparisons with
13067         no_case
13068
13069         * BufferView_pimpl.C (cursorNext): first -> first_y
13070         (resizeCurrentBuffer): first -> first_y
13071         (updateScrollbar): first -> first_y
13072         (scrollCB): first -> first_y
13073         (workAreaMotionNotify): first -> first_y
13074         (workAreaButtonPress): first -> first_y
13075         (checkInsetHit): first -> first_y
13076         (cursorPrevious): first -> first_y
13077         (cursorNext): first -> first_y
13078         (Dispatch): add buffer_->params to severl inset contructors
13079
13080 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13081
13082         * lyxlayout.C (Read): remove some debug info that I forgot.
13083
13084         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13085         clean up the code slightly.
13086         (makeLinuxDocFile): ditto
13087         (makeDocBookFile): ditto
13088
13089         * text2.C: layout as string
13090
13091         * text.C: layout as string
13092
13093         * paragraph_pimpl.C: layout as string
13094
13095         * paragraph.[Ch]: layout as string
13096
13097         * lyxtextclasslist.[Ch]: layout as string
13098
13099         * lyxtextclass.[Ch]: layout as string
13100
13101         * lyxtext.h: layout as string
13102
13103         * lyxlayout.[Ch]: layout as string
13104
13105         * lyx_cb.C: layout as string
13106
13107         * bufferview_funcs.C: layout as string
13108
13109         * bufferparams.C: layout as string
13110
13111         * buffer.C: layout as string
13112
13113         * LyXView.[Ch]: layout as string
13114
13115         * LaTeXFeatures.[Ch]: layout as string
13116
13117         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13118
13119         * BufferView_pimpl.C: change current_layout to string, remove
13120         lyx::layout_type.
13121         (Dispatch):
13122         (smartQuote):
13123         (insertInset):
13124         (workAreaButtonRelease): layout as string
13125
13126         * BufferView2.C (unlockInset): adjust
13127
13128         * vspace.C (asLatexCommand): use an explict temp variable.
13129
13130 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13131
13132         * Makefile.am: use FRONTEND_*
13133
13134 2002-03-01  Juergen Vigna  <jug@sad.it>
13135
13136         * tabular.C (SetWidthOfMulticolCell): changed to something better
13137         I hope but still work in progress.
13138         (recalculateMulticolumnsOfColumn): renamed function from
13139         recalculateMulticolCells as it is more appropriate now.
13140         (SetWidthOfCell): calculate multicols better.
13141
13142 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13143
13144         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13145
13146         * lyxfunc.C (processKeySym): print sequence also if it is
13147         `deleted' (complete)
13148
13149         * kbsequence.C (print): print sequence even if it is deleted
13150         (complete would be a better word, actually).
13151
13152         * lyxfunc.C (dispatch): print complete options after a prefix key
13153
13154         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13155
13156 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13157
13158         * text2.C (setCharFont): eliminate setCharFont code duplication.
13159
13160 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13161
13162         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13163         LFUN_TABULAR_FEATURE (bug #177)
13164
13165 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13166
13167         * Makefile.am: remove figure.h
13168
13169 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13170
13171         * Bufferview_pimpl.C:
13172         * CutAndPasteC:
13173         * LaTeX.C:
13174         * LyXSendto.C:
13175         * buffer.C:
13176         * bufferlist.C:
13177         * converter.C:
13178         * language.C:
13179         * lyxfunc.C:
13180         * lyxvc.C:
13181         * paragraph.C:
13182         * text.C:
13183         * text2.C: remove #include "lyx_gui_misc.h".
13184
13185         * LaTeX.C: added #include <cstdio>
13186
13187 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13188
13189         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13190         that the paragraph following this one can have.
13191
13192         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13193
13194         * vspace.C (asLatexCommand): fix bogus gcc warning
13195
13196         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13197
13198 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13199
13200         * text2.C (setLayout): get rid of redundant code
13201
13202 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13203
13204         * text2.C (incDepth): make sure depth cannot be increased beyond
13205         reasonable values.
13206
13207 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13208
13209         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13210         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13211
13212         * PainterBase.h (image):
13213         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13214         a LyXImage const *.
13215
13216 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13217
13218         * BufferView.C:
13219         * BufferView.h:
13220         * BufferView_pimpl.C:
13221         * BufferView_pimpl.h:
13222         * LaTeXFeatures.C:
13223         * LyXAction.C:
13224         * LyXView.C:
13225         * Makefile.am:
13226         * UpdateList.h:
13227         * UpdateList.C:
13228         * buffer.C:
13229         * figure.h:
13230         * figureForm.C:
13231         * figureForm.h:
13232         * figure_form.C:
13233         * figure_form.h:
13234         * lyx_cb.C:
13235         * lyx_gui.C:
13236         * lyx_gui_misc.C:
13237         * lyxfunc.C:
13238         * sp_base.h:
13239         * sp_ispell.h:
13240         * sp_pspell.h:
13241         * sp_spell.C: remove fig inset, and the crap house of
13242           cards that follows it
13243
13244 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13245
13246         * Makefile.am:
13247         * lyxserver.C:
13248         * os2_defines.h:
13249         * os2_errortable.h:
13250         * nt_defines.h: move .h into support/
13251
13252         * vms_defines.h: remove
13253
13254         * WorkArea.C: add space in debug output
13255
13256         * text2.C:
13257         * paragraph.C:
13258         * buffer.C: add WITH_WARNINGS
13259
13260         * vc-backend.h:
13261         * vc-backend.C:
13262         * bufferlist.C: s/retrive/retrieve/, add docs
13263
13264         * vspace.h:
13265         * vspace.C:
13266         * kbmap.h:
13267         * lyxlength.h:
13268         * lyxgluelength.h:
13269         * length_common.h:
13270         * chset.h:
13271         * chset.C: add docs
13272
13273         * lyxgui.C: add ID to X error handler
13274
13275         * lyxtestclass.c: fix typo
13276
13277 2002-02-26  Juergen Vigna  <jug@sad.it>
13278
13279         * tabular_funcs.C (write_attribute): changed so that some default
13280         attributes are not written at all.
13281         (getTokenValue): set default values before trying to read the
13282         value so we have the return value always set as default if we don't
13283         find the token we search for.
13284
13285         * tabular.C (Write): write bools as bools not as strings!
13286
13287 2002-02-22  Juergen Vigna  <jug@sad.it>
13288
13289         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13290         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13291
13292         * text.C (leftMargin): don't add an indent for paragraphs inside
13293         tabular cells (fix #208).
13294
13295 2002-02-21  José Matos  <jamatos@fep.up.pt>
13296
13297         * tabular.C (docBook): fixed support for long tables.
13298
13299 2002-02-20  Juergen Vigna  <jug@sad.it>
13300
13301         * text2.C (getFont): get the drawing font of the Inset if this
13302         paragraph is inside an inset (only important for InsetERT for now).
13303
13304         * buffer.C (insertErtContents): use new lanugage params in ERT
13305         constructor.
13306
13307         * CutAndPaste.C: commenting out seemingly uneeded code.
13308
13309 2002-02-19  Allan Rae  <rae@lyx.org>
13310
13311         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13312         Iterators might be simple to use but they also get invalidated.
13313         (removeAutoInsets): renamed saved cursor tracking variables and added
13314         some comments to clarify what everything does.
13315
13316 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13317
13318         * Chktex.C:
13319         * LaTeX.C:
13320         * LyXSendto.C:
13321         * converter.C:
13322         * lyx_cb.C:
13323         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13324         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13325
13326         * lyxfunc.C:
13327         * vc-backend.h: remove #include "support/syscall.h"
13328
13329         * LaTeX.C:
13330         * LyXSendto.C:
13331         * converter.C: rearrange #includes in Lars' approved fashion.
13332
13333         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13334         forward declare class Timeout in the header file.
13335
13336         * XFormsView.C: changes due to the above.
13337
13338         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13339         similar to LyXView.
13340
13341         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13342         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13343
13344 2002-02-18  José Matos  <jamatos@fep.up.pt>
13345
13346         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13347         insets contents.
13348
13349 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13350
13351         * a lot of small ws changes
13352         * add a lot of using std::XXX
13353         * use std construcs some places where approp.
13354         * use some exisint stuff from lyxfunctional where approp.
13355         * Make file changes to use partial linking (lets test this now...)
13356
13357 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13358
13359         * Chktex.C:
13360         * buffer.C:
13361         remove #include "support/syscontr.h" as it's redundant. Always has been.
13362
13363         * Chktex.C:
13364         * LaTeX.C:
13365         * LyXSendto.C:
13366         * converter.C:
13367         * lyx_cb.C:
13368         * vc-backend.C:
13369         change Systemcalls::System to Systemcalls::Wait and
13370         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13371         No change of functionality, just reflects the stripped down Systemcalls
13372         class.
13373
13374 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13375
13376         * debug.[Ch]: add a GRAPHICS type to the enum.
13377
13378 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13379
13380         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13381
13382         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13383         there is an inset.
13384
13385 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13386
13387         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13388         match the changes below.
13389
13390         * text2.C (toggleInset): if there is not editable inset at cursor
13391         position, try to see if cursor is _inside_ a collapsable inset
13392         and close it.
13393
13394 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13395
13396         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13397         document menu has a nice checkbox
13398
13399 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13400
13401         * lyxlength.C (asLatexString): change PW to output as percent of
13402         \textwidth.
13403
13404         * lengthcommon.C: change '%' to 't%'
13405
13406         * lyxfunc.C (dispatch): a few comments from Martin
13407
13408 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13409
13410         * WorkArea.h:
13411         * WorkArea.C:
13412         * BufferView_pimpl.h:
13413         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13414           the X selection.
13415
13416 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13417
13418         * vspace.C (inPixels): fix compiler warning
13419
13420 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13421
13422         * lyxfunc.C (getStatus): fix status message for disabled commands.
13423
13424 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13425
13426         * BufferView_pimpl.C: fix crash on close buffer
13427         during selection (#227)
13428
13429 2002-01-27  Herbert Voss  <voss@lyx.org>
13430
13431         * buffer.C: link old Figure to new graphic inset
13432
13433 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13434
13435         * FontLoader.C (getFontinfo): Change the latex font names in order
13436         to match the names of type1inst.
13437
13438 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13439
13440         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13441
13442         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13443         (extchanged): ditto
13444         (ext_exist): ditto
13445         (remove_files_with_extension): ditto
13446         (remove_file): ditto
13447         (write): ditto
13448
13449         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13450         document is smaller than the work area height. Do not initialize
13451         static variables to 0.
13452
13453 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13454
13455         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13456
13457         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13458         LFUN_LAYOUT_PARAGRAPHS.
13459
13460         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13461         tabular. It is possible to provide a possible cell, which will
13462         typically be the actcell from the corresponding insettabular
13463
13464         * lyxfunc.C (getStatus): small cleanup; disable
13465         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13466         true
13467
13468 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13469
13470         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13471
13472         * paragraph.C (startTeXParParams):
13473         (endTeXParParams): new methods. The LaTeX code to
13474         start/end paragraph formatting
13475         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13476         empty (fixes bug #200)
13477
13478         * vspace.C (inPixels): adapt to the change below
13479         (inPixels): [later] more cleanups (remove unused variables)
13480
13481         * lyxlength.C (inPixels): change to use a width and a height as
13482         parameter.
13483
13484 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13485
13486         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13487         Replaced with \paperwidth
13488
13489         * DepTable.C (insert): add std:: qualifier
13490
13491 2002-01-18  Allan Rae  <rae@lyx.org>
13492
13493         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13494         updated also?
13495
13496         * text.C (drawInset): Turned out I didn't know enough about how
13497         rebreaking worked.  This fixes most of the redraw problems.  I see
13498         an occasional cursor trail when a line is broken now and the cursor
13499         placement can seem out by a few pixels also after a rebreak.
13500
13501 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13502
13503         * buffer.C (parseSingleLyXformat2Token): update because minipage
13504         width is now a LyXLength
13505
13506         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13507
13508         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13509         math insets
13510
13511 2002-01-17  Juergen Vigna  <jug@sad.it>
13512
13513         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13514
13515         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13516         is set correctly and the inset is updated correctly.
13517
13518 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13519
13520         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13521         the beginning of the loop.
13522
13523 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13524
13525         * lyxrc.C: improve help for use_scalable_fonts
13526
13527 2002-01-17  Allan Rae  <rae@lyx.org>
13528
13529         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13530
13531 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13532
13533         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13534         make sure to set their inset_owner to the right value (bug #171)
13535
13536 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13537
13538         * DepTable.h
13539         * DepTable.C: Implement mtime checking to reduce time spent doing
13540         CRCs.
13541
13542 2002-01-16  Juergen Vigna  <jug@sad.it>
13543
13544         * tabular.C (GetAdditionalHeight): one of error fixed.
13545
13546         * lyxrc.C (output): small fix in writing use_pspell.
13547
13548 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13549
13550         * sp_base.h: #include LString.h
13551
13552 2002-01-16  Allan Rae  <rae@lyx.org>
13553
13554         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13555         Can someone check this please?
13556
13557         * text.C (drawInset): It was possible that p.row would be removed by
13558         breakAgainOneRow upsetting a few other settings.  There may be another
13559         small tweak possible by setting need_break_row = 0 when p.row has been
13560         removed but I don't know enough about the logic here.
13561
13562 2002-01-15  Allan Rae  <rae@lyx.org>
13563
13564         * text.C (insertChar): removed conditional truism.
13565
13566         * BufferView2.C (removeAutoInsets): More tweaks.
13567         cur_par_prev could be a stray pointer.  Check for trailing empty line
13568         in case last line was cur_par and only had an error inset on it.
13569
13570 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13571
13572         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13573         absolute
13574
13575         * vc-backend.C (most methods):
13576         * exporter.C (Export):
13577         * converter.C (convert):
13578         (runLaTeX):
13579         * LyXSendto.C (SendtoApplyCB):
13580         * lyxfunc.C (dispatch):
13581         (menuNew):
13582         (open):
13583         (doImport):
13584         * lyx_cb.C (AutoSave):
13585         (InsertAsciiFile):
13586         * BufferView_pimpl.C (MenuInsertLyXFile):
13587         * buffer.C (runChktex): use Buffer::filePath().
13588
13589         * buffer.h: rename filename to filename_; rename filepath to
13590         filepath_ and make it private
13591         (filePath): new method
13592
13593         * buffer.C (writeFile): use fileName()
13594         (getLatexName):
13595
13596         * lyx_main.C (init): fix starting  of LyX when the binary is a
13597         link from so,ewhere else.
13598
13599         * minibuffer.C: include <cctype> for isprint
13600
13601 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13602
13603         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13604         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13605         name clash with InsetCollapsable's width function.
13606
13607 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13608
13609         * lastfiles.C: include <iterator>
13610
13611 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13612
13613         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13614         std::count.
13615
13616         * buffer.C (makeLaTeXFile): ditto.
13617         Also make loop operation more transparent.
13618
13619 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13620
13621         * ToolbarDefaults.C: remove trailing comma closing namespace.
13622
13623         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13624
13625         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13626         as in WorkArea.
13627
13628         * trans.C (Load): comment out unused variable, allowed.
13629
13630 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13631
13632         * minibuffer.[Ch] (append_char): new method to recieve input from the
13633         drop-down completion browser. If a key was pressed, then recieve this
13634         char and append it to the existing string.
13635         (peek_event): modify the positioning data passed to the completion
13636         browser so that it can be placed above the minibuffer rather than below.
13637 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13638
13639         * LyXAction.C (init): alloe error-next for readonly documents.
13640
13641         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13642         count.
13643
13644 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13645
13646         * bufferlist.C (readFile): create the buffer _after_ checking that
13647         the file exists.
13648
13649         * lyxfunc.C (verboseDispatch): fix handling of arguments
13650
13651         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13652
13653         * lyxrc.C: use string::erase() instead of initializing to "".
13654
13655
13656 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13657
13658         * BufferView_pimpl.h:
13659         * BufferView_pimpl.C:
13660         * WorkArea.h:
13661         * WorkArea.C:
13662         * text2.C: tell X when we have made a selection for copying
13663
13664 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13665
13666         * BufferView_pimpl.C (MenuInsertLyXFile):
13667         * lyxfunc.C (menuNew):
13668         (open):
13669         (doImport): add shortcuts to directory buttons
13670
13671         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13672         open a float)
13673
13674         * lyxfunc.C (setStatusMessage):
13675         (getStatusMessage): new methods
13676         (getStatus):use setStatusMessage instead of setErrorMessage
13677         (dispatch): when function is disabled, set error message here
13678         [instead of in getStatus previously]
13679
13680         * BufferView_pimpl.C (workAreaButtonRelease): update
13681         toolbar/menubar here too.
13682
13683 2002-01-13  Allan Rae  <rae@lyx.org>
13684
13685         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13686         Now seems indestructible.  Remaining task is to audit all other
13687         code affected by deleteEmptyParagraphMechanism.  One small quirk
13688         left is that an empty document with an error in the preamble can
13689         be made to report an error but no error box appears.  I don't know
13690         where it goes.
13691         (removeAutoInsets): Improved comments.
13692
13693 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13694
13695         * Thesaurus.h:
13696         * Thesaurus.C: update for Aiksaurus 0.14
13697
13698 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13699
13700         * text2.C (firstParagraph): removed member function, all uses
13701         replaces with ownerParagraph
13702         (redoParagraphs): here
13703         (updateInset): here
13704         (toggleAppendix): here
13705         * BufferView2.C (insertErrors): here
13706         (setCursorFromRow): here
13707
13708 2002-01-13  Allan Rae  <rae@lyx.org>
13709
13710         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13711         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13712         There is still a way to segfault this although you may have to do this
13713         multiple times: Have an InsetERT with an unknown command in it.
13714         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13715         <down-arrow>, <Enter> again, View->DVI, BANG!
13716
13717         * text2.C (setCursor):
13718         (deleteEmptyParagraphMechanism):
13719         * lyxtext.h (setCursor):
13720         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13721         Making use of the return value may help fix other bugs.
13722
13723 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13724
13725         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13726
13727         * LyXView.C (updateMenubar): call MenuBar::update here
13728         (updateToolbar): but not here
13729         (showState): do not update toolbar/menubar
13730
13731         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13732         should need to care about that.
13733
13734         * lyxfunc.C (verboseDispatch): simplify a bit
13735         (getStatus): have a version which takes a pseudoaction, and
13736         another which requires a (kb_action,string).
13737
13738         * LyXAction.C (retrieveActionArg): make it work also when action
13739         is not a pseudo-action.
13740         (getActionName): simplify a bit
13741         (helpText):
13742
13743 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13744
13745         * lyxfunc.C (verboseDispatch): new families of methods with
13746         several ways to specify a command and a bool to indicate whether
13747         the command name and shortcut should be displayed in minibuffer
13748         (eventually, we could extend that to a finer bitmask like
13749         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13750         (dispatch): the pristine dispatch command which just, well,
13751         dispatchs! Note it still sets its result to minibuffer; I'm not
13752         sure we want that.
13753
13754         * lyxfunc.h: remove setHintMessage
13755
13756         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13757
13758 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13759
13760         * BufferView_pimpl.C (specialChar): delete new inset if we have
13761         not been able to insert it.
13762
13763         * kbmap.C: revert to using int instead of kb_action, since all we
13764         are dealing with is pseudo-actions.
13765
13766         * LyXAction.C (searchActionArg): change to return int instead of
13767         kb_action, since the result is a pseudoaction.
13768
13769 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13770
13771         * buffer.C (insertErtContents): Fix (partially) the font bug.
13772
13773 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13774
13775         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13776         as the other one is broken on my machine!
13777
13778 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13779
13780         * commandtags.h:
13781         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13782
13783 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13784
13785         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13786         reflect their actual use. Provide compatibility code for older lyxrc
13787         files.
13788
13789         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13790         FL_NORMAL_STYLE.
13791         change names of popup font variables in line with the changes to lyxrc.C
13792
13793 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13794
13795         * buffer.C (asciiParagraph): avoid outputing a word twice after
13796         an inset.
13797
13798         * lyxrc.C (getDescription): document that document_path and
13799         template_path can be empty.
13800
13801 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13802
13803         * LaTeXFeatures.C (getMacros):
13804         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13805
13806         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13807
13808         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13809         getPackages.
13810         (getPackages): rename feature "floats" to "float". Use an array to
13811         iterate over 'simple' features (i.e. just a \usepackage). Add
13812         handling of "amsmath" (renamed from "amsstyle").
13813
13814 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13815
13816         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13817         features list.
13818
13819 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13820
13821         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13822         FuncStaus::FuncStatus & FuncStaus::some_method().
13823
13824 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13825
13826         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13827         of the func_satus stuff. Edited and massaged in various ways by
13828         JMarc.
13829
13830         * lyxfunc.C (getStatus): use FuncStatus
13831
13832 2002-01-08  Juergen Vigna  <jug@sad.it>
13833
13834         * text.C (nextBreakPoint): use function Inset::isChar().
13835
13836         * paragraph.C (TeXOnePar): use function
13837         Inset::forceDefaultParagraphs.
13838
13839         * buffer.C (latexParagraphs): use function
13840         Inset::forceDefaultParagraphs.
13841
13842 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13843
13844         * lyx_gui.C (init): set the style of the menu popups to
13845         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13846
13847 2002-01-07  Juergen Vigna  <jug@sad.it>
13848
13849         * text.C (setHeightOfRow): small fix
13850         (prepareToPrint): don't look at alignment if we don't have the place
13851         for doing it.
13852
13853 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13854
13855         * box.C: New file. Move the Box methods and functions out of box.h,
13856         following Lars' suggestion.
13857
13858 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13859
13860         * box.h: #include "support/LOstream.h", needed for inlined function.
13861
13862         * lyxtextclass.C:
13863         * lyxtextclasslist.C: added some using std declarations.
13864
13865 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13866
13867         * box.h: make signed dimensions to allow insets wider than
13868           the screen (bug #162)
13869
13870         * BufferView_pimpl.C: add some insetHit debug
13871
13872 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13873
13874         * vc-backend.C: add FIXME
13875
13876 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13877
13878         * lyxfunc.C (getStatus): enable code for showing math font status
13879         in toolbar/menu.
13880
13881 2002-01-07  Juergen Vigna  <jug@sad.it>
13882
13883         * text.C (nextBreakPoint): removed debug output not needed anymore.
13884
13885 2002-01-06  Juergen Vigna  <jug@sad.it>
13886
13887         * text.C (nextBreakPoint): fixed up this function we had this bug
13888         since ever but now hopefully we break row better.
13889         (insertChar): we have to check if an inset is the next char as it
13890         could now happen that a large inset is causing a break.
13891
13892 2002-01-05  Juergen Vigna  <jug@sad.it>
13893
13894         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13895         if it doesn't like to be drawed.
13896
13897 2002-01-04  Juergen Vigna  <jug@sad.it>
13898
13899         * BufferView2.C (lockInset): forgot to set a cursor.
13900
13901         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13902
13903 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13904
13905         * FormMathsPanel.C:
13906         * FormMathsPanel.h
13907         * MathsSymbols.C:
13908         * form_maths_panel.C:
13909         * form_maths_panel.h:
13910         * form_maths_panel.fd: implemented sub- and super- buttons in math
13911         panel.
13912
13913         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13914         (or ^ space) to be used as in TeX (req'd by André).
13915
13916         * lyxfunc.C: Allow ^ and _ again to be used both as
13917         super/subscript (mathed) and as themselves (in text).
13918
13919 2002-01-03  Allan Rae  <rae@lyx.org>
13920
13921         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13922         "LyX" or the filename of the current buffer if it has one.  This is a
13923         modified form of John Levon's patch.
13924
13925         * XFormsView.C (setWindowTitle): also set icon title.
13926
13927         * LyXView.h (setWindowTitle): signature changed.
13928         * XFormsView.h (setWindowTitle): ditto.
13929
13930 2002-01-02  Juergen Vigna  <jug@sad.it>
13931
13932         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13933
13934 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13935
13936         * screen.C (topCursorVisible): introduce a temp var for
13937         text->cursor.row(), handle the case where this row is null. (kindo
13938         hachish)
13939
13940         * text2.C (setCursor): add a couple of asserts.
13941
13942         * paragraph.h (inset_iterator): add -> operator
13943
13944         * paragraph.[Ch] (autoDeleteInsets): remove member function
13945
13946         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13947         cursor pos correctly and handle inset deletion by itself.
13948         (insertErrors): move iterator declaration out of for expression
13949
13950         * lyxtextclass.C: add <algorithm>
13951
13952         * Makefile.am: added the new files to sources, removed layout.C
13953
13954         * layout.C: removed file
13955
13956         * layout.h: remove LYX_DUMMY_LAYOUT
13957
13958         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13959         layout.
13960
13961         * lyxlayout.[Ch]:
13962         * lyxtextclass.[Ch]:
13963         * lyxtextclasslist.[Ch]: new files
13964
13965         * include order changes to a lot of files, also changes because of
13966         the six new files.
13967
13968 2001-12-27  Juergen Vigna  <jug@sad.it>
13969
13970         * buffer.C (asciiParagraph): more fixes.
13971
13972         * tabular.C (ascii): make ascii export support export of only the
13973         data separated by a column-delimiter.
13974         (ascii): better support for ascii export.
13975
13976         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13977
13978 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13979
13980         * tabular_funcs.C: use a "using std::getline" instead of the
13981         previous fix from Angus (necessary for cxx + lyxstring)
13982
13983 2001-12-24  Juergen Vigna  <jug@sad.it>
13984
13985         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13986
13987         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13988         problems. First check a minipage also if we have some ert-contents
13989         (not only on par->size(), second set the right depth of the paragraph
13990         on the relink to the root-paragraph-list!
13991
13992         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13993         which then did not anymore update the main paragraphs on undo/redo!
13994
13995 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13996
13997         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13998         code. Support all font-changing funcs (even those which are not in
13999         menu currently). Support for reporting font settings in
14000         mathed (disabled until Andre provides a function on mathed's side).
14001
14002         * func_status.h (toggle): small helper function to set toggle
14003         state on a flag.
14004
14005 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14006
14007         * tabular_funcs.C: getline -> std::getline
14008
14009 2001-12-21  Juergen Vigna  <jug@sad.it>
14010
14011         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14012         accessed and could be 0 (I couldn't generate this but it seems
14013         Michael could!).
14014
14015 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14016
14017         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14018         * tabular_funcs.h: here and include iosfwd
14019
14020 2001-12-20  Juergen Vigna  <jug@sad.it>
14021
14022         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14023         inside inset but undo_par was.
14024
14025 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14026
14027         * Thesaurus.C: always include <config.h> in sources.
14028
14029         * Painter.h:
14030         * lyxlookup.h:
14031         * box.h: do not include <config.h> in header files
14032
14033         * text.C (paintLastRow): remove unused variable
14034
14035         * text.C (transformChar):
14036         (insertChar):
14037         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14038
14039         * Painter.C (text):
14040         * font.C (width): rewrite to use uppercase() instead of
14041         islower/toupper.
14042
14043         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14044
14045 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14046
14047         * lyxfind.C: clean up of find failure position change
14048
14049 2001-12-20  Juergen Vigna  <jug@sad.it>
14050
14051         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14052
14053         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14054         (TeXRow): added to LaTeX a single tabular row.
14055         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14056         (Latex): simplified and finally good LT-h/f support.
14057         (various_functions): just small adaptions for LT-h/f support.
14058
14059         * tabular_funcs.[hC]: added and moved here all not classfunctions
14060         of LyXTabular.
14061
14062 2001-12-19  Juergen Vigna  <jug@sad.it>
14063
14064         * tabular.[Ch]: better support for longtabular options (not finished
14065         yet!)
14066
14067 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14068
14069         * text.C (paintLastRow): use the label font instead of the font of
14070         the last character to compute the size of *_BOX. This makes more
14071         sense and avoids a crash with empty paragraphs.
14072         Use Painter::rectangle to draw EMPTY_BOX.
14073
14074 2001-12-19  Juergen Vigna  <jug@sad.it>
14075
14076         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14077         the paragraphs if the replaced paragraph is not the first one!
14078         Tried to delete not used paragraphs but does not work yet so for
14079         now it's inside #ifdef's and by default off!
14080
14081 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14082
14083         * MenuBackend.C: include "lyx_main.h" instead of declaring
14084         lastfiles (actually was declared as LastFiles* instead of a
14085         scoped_ptr).
14086
14087 2001-12-17  Juergen Vigna  <jug@sad.it>
14088
14089         * tabular.C (AppendColumn): applied John's fix
14090
14091 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14092
14093         * BufferView.h:
14094         * BufferView.C:
14095         * BufferView_pimpl.h:
14096         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14097
14098         * Makefile.am:
14099         * box.h: new start of class for above
14100
14101         * lyxfunc.C: ignore space-only minibuffer dispatches.
14102           Show the command name when it doesn't exist
14103
14104         * minibuffer.C: don't add empty lines to the history
14105
14106         * minibuffer.C: add a space on dropdown completion
14107
14108 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14109
14110         * text.C: fix line above/below drawing in insets
14111
14112 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14113
14114         * lyxlength.C (LyXLength): Initialize private variables.
14115
14116 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14117
14118         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14119         when inserting error insets.
14120
14121 2001-12-13  Juergen Vigna  <jug@sad.it>
14122
14123         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14124         actually sometimes the before-paragraph.
14125         (setUndo): don't clear the redostack if we're not actually undoing!
14126
14127 2001-12-06  Juergen Vigna  <jug@sad.it>
14128
14129         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14130         and fixed redoing of main paragraph, so we can use it now ;)
14131
14132         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14133
14134 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14135
14136         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14137         Juergen's request
14138
14139 2001-12-13  André Pönitz <poenitz@gmx.net>
14140
14141         * undostack.[Ch]:
14142         * undo_func.C: minor cleanup
14143
14144 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14145
14146         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14147         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14148         font in urw-fonts package which is marked as -urw-fontspecific and
14149         does not work (incidentally, changing the encoding in the
14150         fonts.dir of this package to -adobe-fontspecific fixes the
14151         problem).
14152
14153         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14154         is a crash when undoing first paragraph (Juergen, please take a
14155         look). THis does not mean the undo fix is wrong, just that it
14156         uncovers problems.
14157
14158         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14159         the (Paragraph*) version when needed instead of duplicating the
14160         code.
14161
14162         * text.C (workWidth): use Inset::parOwner to find out where the
14163         inset has been inserted. This is a huge performance gain for large
14164         documents with lots of insets. If Inset::parOwner is not set, fall
14165         back on the brute force method
14166
14167         * paragraph_pimpl.C (insertInset):
14168         * paragraph.C (Paragraph):
14169         (cutIntoMinibuffer): set parOwner of insets when
14170         inserting/removing them
14171
14172         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14173
14174 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14175
14176         * commandtags.h:
14177         * LyXAction.C:
14178         * lyx_main.C:
14179         * lyxfunc.C:
14180         * mathed/formulabase.C:
14181         * mathed/math_cursor.[Ch]:
14182         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14183
14184
14185 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14186
14187         * lyxlength.[Ch] (operator!=): new function
14188
14189 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14190
14191         * text.C (workWidth): use Inset::parOwner to find out where the
14192         inset has been inserted. This is a huge performance gain for large
14193         documents with lots of insets. If Inset::parOwner is not set, fall
14194         back on the brute force method
14195
14196         * paragraph_pimpl.C (insertInset):
14197         * paragraph.C (Paragraph):
14198         (cutIntoMinibuffer): set parOwner of insets when
14199         inserting/removing them
14200
14201         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14202
14203 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14204
14205         * tabular-old.C (getTokenValue):
14206         * tabular.C (getTokenValue):
14207         (write_attribute): new versions for LyXLength
14208         (everywhere): adjust the use of widths
14209
14210         * tabular.h: change the type of widths from string to LyXLength
14211
14212 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14213
14214         * paragraph.C: fixed missing line number count when exporting
14215         Environments to LaTeX file
14216
14217         * buffer.C: added informational message for checking line numbers.
14218
14219 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14220
14221         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14222         paragraph, do the 'double space' part, but not the 'empty
14223         paragraph' one.
14224
14225         * text.C (workWidth): small optimization
14226         (getLengthMarkerHeight): use minimal size for negative lengths.
14227
14228 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14229
14230         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14231
14232         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14233
14234 2001-12-11  André Pönitz <poenitz@gmx.net>
14235
14236         * FontLoader.C:
14237         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14238
14239 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14240
14241         * text2.C: keep selection on a setFont()
14242
14243 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14244
14245         * lyx_cb.C: another bv->text misuse, from insert label
14246
14247 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14248
14249         * kbsequence.h:
14250         * kbsequence.C: re-instate nmodifier mask
14251
14252 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14253
14254         * lyx_main.h: make lyxGUI private.
14255
14256 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14257
14258         * lyxfind.C: place the cursor correctly on failed search
14259
14260 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14261
14262         * text.C (getLengthMarkerHeight): for small heights, the arrows
14263         are not always on top/bottom of the text
14264         (drawLengthMarker): smaller arrows; take the left margin in
14265         account; draw also vfills.
14266         (paintFirstRow):
14267         (paintLastRow): remove special code for vfill and standard spaces,
14268         since everything is handled in drawLengthMarker now.
14269
14270 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14271
14272         * buffer.C (insertErtContents): try to handle font and language
14273         interaction a bit better.g
14274
14275         * ColorHandler.C (updateColor): change the hash to cover the whole
14276         LColor enum, ws cleanup
14277         (getGCLinepars): ditto
14278         (getGCLinepars): only lookup in the linecache once.
14279
14280 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14281
14282         * iterators.C (operator++): Make the iterator more robust
14283
14284         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14285         (John's patch)
14286         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14287
14288 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14289
14290         * lyxtext.h:
14291         * text.C: better added space drawing
14292
14293 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14294
14295         * LyXView.C:
14296         * BufferView2.C: fix layout combo update on inset unlock
14297
14298 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14299
14300         * Makefile.am: don't compile unused files
14301
14302 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14303
14304         * lyxfunc.C:
14305         * commandtags.h:
14306         * LyXAction.C: remove old LFUN_LAYOUTNO
14307
14308 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14309
14310         * paragraph_pimpl.h:
14311         * paragraph_pimpl.C: isTextAt() doesn't need font param
14312
14313 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14314
14315         * lyxlex.h:
14316         * lyxlex.C: little cleanup
14317
14318 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14319
14320         * BufferView_pimpl.C: fix insertAscii for insets
14321
14322 2001-12-05  Juergen Vigna  <jug@sad.it>
14323
14324         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14325         set the right font on the "multi" paragraph paste!
14326
14327 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14328
14329         * trans_decl.h:
14330         * trans_mgr.[Ch]:
14331         * trans.[Ch]:
14332         * lyxgluelength.C:
14333         * lyxlength.C: remove out-commented code.
14334
14335         * BufferView_pimpl:
14336         * CutAndPaste.C:
14337         * DepTable.C:
14338         * buffer.C:
14339         * chset.C:
14340         * lastfiles.C:
14341         * lyxlex.C:
14342         * lyxlex_pimpl.C:
14343         * lyxserver.C:
14344         * screen.C:
14345         * tabular-old.C:
14346         * tabular.C:
14347         * text.C:
14348         * trans_mgr.C:
14349         * vc-backend.C: change "while(" to "while ("
14350
14351         * lyxlength.[Ch]: add zero function to check if length is zero or
14352         not
14353         * lyxgluelength.C: use it
14354
14355 2001-12-05  Allan Rae  <rae@lyx.org>
14356
14357         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14358         Works for 2.95.3, from what I understand of Garst's reports this should
14359         work for other g++ versions.  We're screwed if the abs(int) definition
14360         changed between bugfix releases of gcc.
14361
14362 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14363
14364         * text.C: fix chapter label offset !
14365
14366 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14367
14368         * lyxtext.h:
14369         * text.C: fix hfill at end of line, clean up
14370
14371 2001-12-04  Juergen Vigna  <jug@sad.it>
14372
14373         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14374         that we force an update of the inset and it's owners if neccessary.
14375
14376 2001-12-03  Juergen Vigna  <jug@sad.it>
14377
14378         * text.C (rowLast): simplified code
14379
14380 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14381
14382         * lyxfunc.C: fix show options on timeout
14383
14384 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14385
14386         * screen.C (topCursorVisible): scroll half a page when the cursor
14387         reached top of bottom of screen
14388
14389 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14390
14391         * minibuffer.C: deactivate on loss of focus
14392
14393 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14394
14395         * vspace.[Ch] (operator!=): add operator.
14396
14397 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14398
14399         * BufferView_pimpl.C: refuse to open an inset when
14400         there's a selection.
14401
14402 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14403
14404         * BufferView_pimpl.C: allow to click on RHS of full row insets
14405
14406 2001-11-30  Juergen Vigna  <jug@sad.it>
14407
14408         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14409         insets for undo reasons.
14410
14411 2001-11-28  André Pönitz <poenitz@gmx.net>
14412
14413         * vspace.[Ch]: cosmetical changes
14414
14415 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14416
14417         * LyXAction.h:
14418         * LyXAction.C:
14419         * lyxfunc.h:
14420         * lyxfunc.C:
14421         * kbmap.h:
14422         * kbmap.C:
14423         * lyxrc.C:
14424         * kbsequence.h:
14425         * kbsequence.C: part re-write of old kb code
14426
14427         * Painter.C:
14428         * WorkArea.C: remove Lgb_bug_find_hack
14429
14430 2001-11-30  José Matos <jamatos@fep.up.pt>
14431
14432         * buffer.C (makeDocBookFile): add a comment to point a hack.
14433         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14434         Fixed a double write of labels.
14435
14436 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14437
14438         * LaTeX.C:
14439         * LaTeX.h Fixed bug in LaTeX class where it would not
14440         re-run latex if no depfiles were changed, but the .dvi was removed.
14441
14442 2001-11-28  André Pönitz <poenitz@gmx.net>
14443
14444         * all the files from the change on 2001/11/26:
14445         use lyx::layout_type instead of LyXTextClass::size_type
14446         use lyx::textclass_type instead of LyXTextClassList::size_type
14447
14448 2001-11-29  Juergen Vigna  <jug@sad.it>
14449
14450         * text.C: added support for paragraph::isFreeSpacing()
14451
14452         * buffer.C: same as above
14453
14454         * paragraph.h: inserted isFreeSpacing() function to enable
14455         FreeSpacing inside InsetERT.
14456
14457         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14458         of the paragraph's in the cut/copy buffer to 0!
14459
14460         * text2.C (removeRow): remove the assert as it can!
14461
14462         * lyxtext.h: added helper function firstRow returning firstrow and
14463         made firstrow private again.
14464
14465         * BufferView2.C (lockInset): don't relock if we're already locked!
14466
14467         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14468         the only paragraph.
14469         (removeRow): added Assert::(firstrow)
14470
14471         * debug.C: forgot to add INSETTEXT here.
14472
14473 2001-11-28  Juergen Vigna  <jug@sad.it>
14474
14475         * sp_spell.C (initialize): changed error text to more general
14476         spellchecker command use (not only ispell!)
14477
14478         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14479
14480         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14481
14482 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14483
14484         * vspace.C: initialise lyxgluelength on failure
14485
14486 2001-11-28  Allan Rae  <rae@lyx.org>
14487
14488         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14489         declaration & definition that looks like a function declaration.
14490
14491 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14492
14493         * BufferView2.C (copy):
14494         (copyEnvironment): do not clear the selection when doing a copy.
14495
14496         * text.C (paintFirstRow): compilation fix
14497
14498 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14499
14500         * tabular.C (Latex): correct line count when writing latex.
14501
14502 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14503
14504         * paragraph_pimpl.h:
14505         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14506           bug a bit
14507
14508 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14509
14510         * text.C:
14511         * LColor.h:
14512         * LColor.C: change vfillline->added_space
14513
14514         * text.C: add markers and text for added space
14515
14516         * vspace.C: fix comment
14517
14518 2001-11-28  André Pönitz <poenitz@gmx.net>
14519
14520         * paragraph.C: whitespace changes
14521         * all the other files from the change on 2001/11/26:
14522         change *::pos_type into lyx::pos_type
14523
14524 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14525
14526         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14527         language of the document when inserting error insets.
14528
14529 2001-11-26  André Pönitz <poenitz@gmx.net>
14530
14531         * BufferView_pimpl.[Ch]:
14532         *       CutAndPaste.C:
14533         * buffer.[Ch]:
14534         * lyxcursor.[Ch]:
14535         * lyxfind.C:
14536         * lyxfunc.C:
14537         * lyxrow.[Ch]:
14538         * paragraph.[Ch]:
14539         * paragraph_pimpl.[Ch]:
14540         * sp_spell.C:
14541         * text.C:
14542         * text2.C: reduce header dependencies, introduce type for positions
14543
14544 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14545
14546         * <various>: change to use Alert.h
14547
14548 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14549
14550         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14551         when encountering an unknown token.
14552         (readLyXformat2): Show an error message if there were unknown tokens.
14553
14554 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14555
14556         * BufferView2.C:
14557         * BufferView_pimpl.C:
14558         * buffer.C:
14559         * paragraph.h:
14560         * text.C:
14561         * text2.C: use par->isInset()
14562
14563 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14564
14565         * paragraph_pimpl.h:
14566         * paragraph_pimpl.C: cleanup
14567
14568 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14569
14570         * text2.C (removeRow):
14571         * text.C (setHeightOfRow): remove useless (and costly) call to
14572         getRow.
14573
14574 2001-11-20  Allan Rae  <rae@lyx.org>
14575
14576         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14577         Now need Inset*::checkInsertChar() to return true for appropriate
14578         cases so that the characters in the minibuffer will actually be
14579         inserted.
14580
14581 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14582
14583         * text.C: change the order of the includes.
14584         (workWidth): initialize it at once.
14585         (workWidth): make maxw unsigned
14586         (setHeightOfRow): remove unused variable (inset)
14587         (selectSelectedWord): remove unused variable (inset)
14588         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14589
14590 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14591
14592         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14593         server is not running.
14594         (openConnection):
14595         (closeConnection): add debug info when server is disabled.
14596
14597         * ColorHandler.C (getGCForeground): send debug message to GUI
14598         channel.
14599
14600         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14601
14602         * kbmap.C (bind): modify because return conventions of
14603         kb_sequence::parse have changed.
14604
14605         * kbsequence.C (parse): only ignore spaces and not any stupid
14606         control character. This avoids tests like s[i] <= ' ', which are
14607         guaranteed to fail with 8bit characters and signed chars.
14608         Change return code to string::npos when there have been no error
14609         (0 was a bad idea when error is at first character)
14610
14611 2001-11-14  José Matos  <jamatos@fep.up.pt>
14612
14613         * buffer.h:
14614         * buffer.C (simpleDocBookOnePar): removed unused argument.
14615
14616 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14617
14618         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14619         insets which are part of a word. Paragraph::isLetter takes care of
14620         that now. Use Paragraph::isInset to identify insets.
14621         (selectSelectedWord): do not test for hyphenation break.
14622
14623         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14624         that protected spaces are considered as spaces.
14625
14626         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14627         Inset::isLetter.
14628
14629 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14630
14631         * lyxserver.h:
14632         * lyxserver.C: fix it. and small cleanup.
14633
14634 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14635
14636         * BufferView_pimpl.C: use inline helpers
14637
14638         * LaTeXFeatures.h:
14639         * LaTeXFeatures.C: fix typos
14640
14641         * Spacing.h:
14642         * Spacing.C: move spacing_string into class
14643
14644         * ToolbarDefaults.C: move stuff into namespace anon
14645
14646         * layout.h: update enum
14647
14648         * lyxfunc.C: use better debug
14649
14650         * minibuffer.h: fix typo
14651
14652         * debug.h:
14653         * debug.C:
14654         * WorkArea.C: add and use Debug::WORKAREA
14655
14656         * lyxtext.h:
14657         * text.C:
14658         * text2.C: code re-organisation, inline helpers
14659
14660 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14661
14662         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14663         std::vector.empty().
14664
14665 2001-11-09  Allan Rae  <rae@lyx.org>
14666
14667         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14668         '\n's after tables.  Tabular and ERT inset work now makes this no
14669         longer necessary.
14670
14671 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14672
14673         * minibuffer.h:
14674         * minibuffer.C: fix crash, improve drop-down completion
14675
14676 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14677
14678         * lyxserver.h:
14679         * lyxserver.C: invalidate fd's when doing endPipe()
14680
14681 2001-11-08  José Matos  <jamatos@fep.up.pt>
14682
14683         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14684         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14685
14686         * paragraph.h:
14687         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14688
14689 2001-11-07  José Matos  <jamatos@fep.up.pt>
14690
14691         * buffer.h:
14692         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14693         const qualifier.
14694
14695         * buffer.C (sgmlOpenTag):
14696         * buffer.C (sgmlCloseTag): removed debug info.
14697
14698         * buffer.h (sgmlOpenTag):
14699         * buffer.h (sgmlCloseTag): made public.
14700
14701 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14702
14703         * buffer.C (saveParamsAsDefaults):
14704         * lyx_cb.C (MenuLayoutSave): remove
14705
14706         * LyXAction.C (init):
14707         * commandtags.h:
14708         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14709
14710 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14711
14712         * buffer.C (setPaperStuff): removed from here...
14713
14714         * bufferparams.C (setPaperStuff): ... and moved there.
14715
14716 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14717
14718         * minibuffer.h:
14719         * minibuffer.C:
14720         * XFormsView.C: add support for drop-down completion
14721
14722 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14723
14724         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14725         commands.
14726
14727 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14728
14729         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14730         disabled.
14731
14732 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14733
14734         * lyx_main.C: change ref to known bugs
14735
14736 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14737
14738         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14739         to work around older babel problems.
14740
14741 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14742
14743         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14744
14745 2001-10-24  Juergen Vigna  <jug@sad.it>
14746
14747         * tabular-old.C (ReadOld): below variable changes reflected.
14748
14749         * tabular.[Ch]: added ltType struct for longtable header/footer
14750         defines and changed all instances where they are used. Added
14751         future support for double top/bottom rows.
14752
14753 2001-10-24  José Matos  <jamatos@fep.up.pt>
14754
14755         * buffer.h (docbookHandleCaption):
14756         * buffer.C (docbookHandleCaption): removed unused function.
14757         (makeDocBookFile): moved docbook supported version to v4.1.
14758
14759 2001-10-24  José Matos  <jamatos@fep.up.pt>
14760
14761         * tabular.h:
14762         * tabular.C (docbookRow): new function to export docbook code of a row.
14763         (DocBook): now honors the longtable flags.
14764
14765 2001-10-23  José Matos  <jamatos@fep.up.pt>
14766
14767         * LaTeXFeatures.h:
14768         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14769         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14770
14771         * buffer.C (makeLinuxDocFile):
14772         (makeDocBookFile): reworked the preamble, more clean, and with
14773         support for lyx defined entities. Changed the document declaration
14774         to be more XML friendly.
14775
14776         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14777         if we need to output XML that should be done with a filter.
14778
14779 2001-10-22  Juergen Vigna  <jug@sad.it>
14780
14781         * sp_pspell.h (class PSpell): add alive function needed in the
14782         controller to see if the spellchecker could be started.
14783
14784 2001-10-22  Juergen Vigna  <jug@sad.it>
14785
14786         * buffer.C (insertStringAsLines): modify the font for inserting
14787         chars in certain conditions by calling checkInsertChar(font).
14788
14789 2001-10-19  Juergen Vigna  <jug@sad.it>
14790
14791         * text.C (workWidth): use getRow instead of wrong algorithm.
14792         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14793
14794 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14795
14796         * lyxserver.h:
14797         * lyxserver.C:
14798         * lyx_main.h:
14799         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14800
14801 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14802
14803         * text.C (workWidth): do not search for the exact row when
14804         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14805         optimization for big documents.
14806
14807 2001-10-18  Juergen Vigna  <jug@sad.it>
14808
14809         * text.C (workWidth): new function with added Inset * parameter.
14810
14811 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14812
14813         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14814
14815         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14816         change return type of getColumnNearX.
14817
14818
14819         * text.C (changeRegionCase): use uppercase/lowercase instead of
14820         toupper/tolower.
14821         (leftMargin):
14822         (rightMargin): simplify code by factoring out the uses of
14823         textclasslist.
14824         (labelFill):
14825         (numberOfHfills):
14826         (setHeightOfRow):
14827         (appendParagraph): use Paragraph::size_type
14828
14829 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14830
14831         * vspace.C (asLatexString): add a missing break
14832
14833 2001-10-15  Herbert Voss  <voss@perce.de>
14834
14835         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14836
14837 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14838
14839         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14840         is not available.
14841
14842 2001-10-10  André Pönitz <poenitz@gmx.net>
14843
14844         * lyxfunc.C: removed greek_kb_flag.
14845
14846 2001-10-10  Herbert Voss  <voss@perce.de>
14847
14848         * lyx_main.C: delete global string help_lyxdir.
14849
14850 2001-10-09  Herbert Voss  <voss@perce.de>
14851
14852         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14853
14854         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14855
14856         * lyx_main.C: added global string help_lyxdir.
14857
14858         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14859
14860 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14861
14862         * lyxrc.C (set_font_norm_type): support iso8859-4
14863
14864 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14865
14866         * LaTeX.C (deplog): add another regex for MikTeX
14867
14868 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14869
14870         * lyxrc.C (set_font_norm_type): support iso8859-3
14871
14872 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14873
14874         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14875
14876         * LaTeXFeatures.C: remove special case of french and index
14877
14878         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14879         before \begin{document}). This solves several incompatibilities.
14880
14881 2001-10-03  Garst Reese  <reese@isn.net>
14882
14883         * lyx_cb.C: change CheckTex error msg.
14884
14885 2001-10-03  José Matos  <jamatos@fep.up.pt>
14886
14887         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14888
14889 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14890
14891         * .cvsignore: update
14892
14893         * lyx_main.C (commandLineVersionInfo): use new style version info.
14894
14895         * buffer.C (writeFile):
14896         (makeLaTeXFile):
14897         (makeLinuxDocFile):
14898         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14899
14900         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14901
14902         * version.h: update to use stuff in version.C
14903
14904         * version.C.in: new file. Contains version information determined
14905         at compile time. This is a merging of version.h and
14906         version_info.h.in.
14907
14908 2001-10-03  Juergen Vigna  <jug@sad.it>
14909
14910         * BufferView_pimpl.C (update): don't change "dirty" status in
14911         updateInset call.
14912
14913 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14914
14915         * WorkArea.C (c-tor): re-position version string slightly.
14916
14917 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14918
14919         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14920         revert to previous code.
14921
14922         WorkArea.[Ch]: (show, destroySplash): methods removed.
14923
14924         WorkArea.C: rework code so that it's an amalgam of the codes before and
14925         after the splash screen was moved to WorkArea.
14926
14927 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14928
14929         * lyxrc.C (read):
14930         * vspace.C (inPixels):
14931         (lyx_advance):
14932         * kbmap.C (bind):
14933         * buffer.C (insertStringAsLines):
14934         (asciiParagraph): fix types to be large enough
14935
14936         * lyxlex_pimpl.h: change member status from short to int
14937
14938         * layout.h: fix type of endlabeltype
14939
14940         * kbmap.C (bind):
14941         * kbsequence.C (parse): change return type to string::size_type
14942
14943         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14944         variable
14945
14946         * Bullet.C (bulletSize):
14947         (bulletEntry): do not use short ints as parameters
14948
14949         * BufferView2.C (insertLyXFile): change a char to an int.
14950
14951         * WorkArea.C (WorkArea): remove unneeded floats in computation
14952
14953 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14954
14955         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14956
14957         * paragraph.C (asString): Do not ignore newline/hfill chars when
14958         copying to the clipboard.
14959
14960 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14961
14962         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14963         after a multi-line inset.
14964
14965 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14966
14967         * paragraph.C (validate): Set NeedLyXFootnoteCode
14968
14969 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14970
14971         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14972         and decrease-error to decrease.
14973
14974 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14975
14976         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14977         it more readable (should be equivalent)
14978
14979 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14980
14981         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14982
14983 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14984
14985         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14986         of a cursor (row, etc.) after a character has been deleted
14987         (deleteEmptyParagraphMechanism): call the method above on _all_
14988         cursors held by the LyXText when a double space has been
14989         detected/deleted.
14990
14991 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14992
14993         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14994         pixmap.
14995         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14996
14997         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14998         background. Use greyOut() and the new show() methods to toggle between
14999         the foreground and background. Add code to remove the splash after
15000         its initial showing.
15001
15002         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15003         (create_forms): no longer call Dialogs::showSplash.
15004
15005 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15006
15007         * .cvsignore: add version_info.h
15008
15009 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15010
15011         * version_info.h.in: new file
15012
15013         * Makefile.am: add version_info.h.in
15014
15015         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15016         version_info.h instead of VERSION_INFO
15017
15018 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15019
15020         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15021         The ERT inset now returns string().
15022
15023 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15024
15025         * lyxtext.h, text.C (selectNextWord): renamed as
15026         selectNextWordToSpellcheck.
15027
15028         * text.C (selectNextWordToSpellcheck): Modified to not select
15029         words inside an ERT inset.
15030
15031 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15032
15033         * lyx_cb.C (MenuLayoutSave): change a bit the question
15034
15035         * sp_base.h: include <sys/types.h>
15036
15037 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15038
15039         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15040
15041 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15042
15043         * several files: fix typos in user-visible strings
15044
15045 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15046
15047         * text2.C (pasteSelection): do not set the selection, since it
15048         will be cleared later. Actually, the intent was to fix the way the
15049         selection was set, but I figured rmoving the code was just as good.
15050
15051 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15052
15053         * FontLoader.C (available): Check if font is available without
15054         loading the font.
15055
15056 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15057
15058         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15059
15060 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15061
15062         * lyxrc.[Ch]: added display_graphics variable and associated code.
15063
15064 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15065
15066         * bufferparams.C (hasClassDefaults): new method. Returns true if
15067         the buffer parameters correspond to known class defaults
15068
15069 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15070
15071         * XFormsView.C (show): set minimum size to the main window.
15072
15073 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15074
15075         * text2.C (copySelection):
15076         (cutSelection):
15077         * lyxfind.C (LyXReplace):
15078         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15079         LyXText::selectionAsString.
15080
15081         * paragraph.C (asString): add "label" argument to the second form
15082
15083         * text2.C (selectionAsString): add "label" argument and pass it to
15084         Paragraph::asString.
15085
15086 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15087
15088         * lyx_main.C (commandLineHelp): remove version information
15089
15090 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15091
15092         * lyx_main.C: add -version commandline option
15093
15094 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15095
15096         * paragraph.h: make the optional constructor arg required instead.
15097         some modifications to other files because of this.
15098
15099         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15100
15101         * lyxserver.C (C_LyXComm_callback): make it static
15102
15103         * lyx_main.C (error_handler): make it static
15104
15105         * lyx_gui.C (LyX_XErrHandler): make it static
15106
15107         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15108
15109         * WorkArea.C: make the extern "C" methods static.
15110
15111         * Makefile.am (lyx_LDADD): simplify
15112
15113 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15114
15115         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15116         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15117
15118         * LyXAction.C (init):
15119         * lyxfunc.C (dispatch): associated code removal.
15120
15121 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15122
15123         * lyxfont.h (isSymbolFont): shut off warning
15124
15125         * text.C (setHeightOfRow):
15126         (getVisibleRow): fix crash with empty paragraphs which have a
15127         bottom line
15128
15129 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15130
15131         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15132         code.
15133
15134 2001-09-04  José Matos  <jamatos@fep.up.pt>
15135         * buffer.C
15136         * buffer.h
15137         * tabular.C (docbook): rename docBook method to docbook.
15138
15139 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15140
15141         * Makefile.am: add dependencies to main.o.
15142
15143 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15144
15145         * FontLoader.C (available): Return false if !lyxrc.use_gui
15146
15147 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15148
15149         * FontInfo.C (query):
15150         * converter.C (view):
15151         * importer.C (Import):
15152         * exporter.C (Export): Can not -> cannot.
15153
15154 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15155
15156         * BufferView_pimpl.C: allow to create index inset even if
15157           string is empty
15158
15159 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15160
15161         * buffer.C (getLists): replace boost::tie code with an explicit pair
15162         as boost::tie can break some compilers.
15163
15164         * iterators.h: Added a std:: declaration to the return type of
15165         ParIterator::size.
15166
15167 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15168
15169         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15170           case.
15171
15172 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15173
15174         * iterators.[Ch]: New files. Provide paragraph iterators.
15175
15176         * buffer.C (changeLanguage): Use paragraph iterators.
15177         (isMultiLingual): ditto
15178
15179         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15180
15181 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15182
15183         * FontLoader.C: Support for cmr font.
15184
15185 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15186
15187         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15188         (available): New method.
15189
15190         * FontInfo.C (getFontname): Use scalable fonts even when
15191         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15192         found.
15193
15194 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15195
15196         * converter.C (Formats::view): reverted! Incorrect fix.
15197
15198 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15199
15200         * converter.C (Formats::view): only output the -paper option
15201         if the dvi viewer is xdvi, thereby fixing bug #233429.
15202
15203 2001-08-23  Herbert Voss  <voss@perce>
15204
15205         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15206
15207 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15208
15209         * Spacing.h (Spacing): Set space to Default on in the default
15210         constructor.
15211
15212 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15213
15214         * vc-backend.h (RCS::versionString): add RCS to version
15215         (CVS::versionString): add CVS to version
15216
15217         * vc-backend.C (scanMaster): do not add CVS to version.
15218         (scanMaster): do not add RCS to version
15219
15220         * lyxvc.C (versionString): new method
15221
15222         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15223
15224 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15225
15226         * Spacing.C (set): initialize fval
15227
15228 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15229
15230         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15231         " or \.
15232
15233 2001-08-16  Juergen Vigna  <jug@sad.it>
15234
15235         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15236
15237 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15238
15239         * BufferView_pimpl.C:
15240         * figureForm.C:
15241         * lyxtext.h:
15242         * text2.C: setParagraph takes linespacing now
15243
15244 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15245
15246         * LyxAction.C: add internal LFUN_CITATION_INSERT
15247
15248         * LyXView.C: actually apply fix
15249
15250         * bufferlist.C: fix open non-existent file
15251
15252         * lyxfind.C: fix indentation
15253
15254         * lyxfunc.C: remove unneeded assert, fix typo
15255
15256 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15257
15258         * MenuBackend.C: use "Floatname List"
15259
15260 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15261
15262         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15263         when converting LaTeX layout to insetERT.
15264         Generate a non-collapsed float when reading old float
15265
15266 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15267
15268         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15269         ERT insets.
15270
15271 2001-08-13  Juergen Vigna  <jug@sad.it>
15272
15273         * text.C (fill): return 0 instead of 20 as this seems to be the more
15274         correct value.
15275
15276 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15277
15278         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15279         lyxrc.font_norm.
15280
15281 2001-08-13  Juergen Vigna  <jug@sad.it>
15282
15283         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15284         casesensitive off.
15285         (SearchBackward): comment out the unlocking of the inset_owner this
15286         should not be needed!
15287
15288 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15289
15290         * Many files: Remove inherit_language, and add latex_language
15291
15292         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15293         collapsible insets.
15294
15295 2001-08-10  Juergen Vigna  <jug@sad.it>
15296
15297         * text.C (prepareToPrint): fixed hfill-width in draw!
15298
15299         * BufferView2.C (selectLastWord): save the selection cursor as this
15300         now is cleared in the function LyXText::clearSelection!
15301
15302 2001-08-08  Juergen Vigna  <jug@sad.it>
15303
15304         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15305         BACKSPACE type functions.
15306
15307         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15308         is only cutted from the document but not put in the cut-buffer, where
15309         still the old stuff should be.
15310
15311         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15312
15313         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15314
15315         * tabular.C (SetWidthOfCell): fixed special case where the width
15316         was not updated!
15317         (LeftLine): handle '|' in align_special.
15318         (RightLine): ditto
15319         (LeftAlreadyDrawed): ditto
15320         (SetWidthOfCell): ditto
15321
15322 2001-08-07  Juergen Vigna  <jug@sad.it>
15323
15324         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15325
15326 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15327
15328         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15329         * lyxlex.[hC]: ditto
15330
15331 2001-08-06  Juergen Vigna  <jug@sad.it>
15332
15333         * text.C (getVisibleRow): fix up row clearing a bit.
15334
15335 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15336
15337         * minibuffer.C: make sure the X server sees the changes in the input.
15338
15339 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15340
15341         * paragraph.C (getFont): split into...
15342         (getLabelFont): this
15343         (getLayoutFont): and this
15344         * paragraph_pimpl.C (realizeFont): calling this
15345
15346         * text2.C (getFont): split into...
15347         (getLayoutFont): this
15348         (getLabelFont): and this
15349         (realizeFont): all three calling this
15350
15351         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15352         files where used.
15353
15354 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15355
15356         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15357
15358 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15359
15360         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15361         layouts from the Quote inset insertion.
15362
15363 2001-08-03  Juergen Vigna  <jug@sad.it>
15364
15365         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15366
15367         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15368         only if status not is already CHANGED_IN_DRAW (second level).
15369
15370         * text.C (draw): don't set the need_break_row when inside an
15371         InsetText LyXText.
15372
15373 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15374
15375         * buffer.C (parseSingleLyXformat2Token): handle more latex
15376         conversion cases.
15377
15378         * bufferview_funcs.[hC]: change function names to
15379         begin with small char, adjust other files.
15380
15381 2001-08-02  André Pönitz <poenitz@gmx.net>
15382
15383         * lyxfunc.C:
15384         BufferView_pimpl.C: remove broken special code for math-greek
15385
15386 2001-08-02  Juergen Vigna  <jug@sad.it>
15387
15388         * BufferView_pimpl.C (update): redone this function so that we
15389         update the text again if there was a CHANGE_IN_DRAW.
15390
15391         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15392         (drawFromTo): added a new internal bool which is used by draw() and
15393         redraw() function.
15394         (general): some cursor drawing problems fixed.
15395
15396 2001-08-01  Juergen Vigna  <jug@sad.it>
15397
15398         * lyxfind.C (LyXFind): fixed
15399         (SearchForward): ditto
15400         (SearchBackward): ditto
15401
15402         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15403         spurius drawing of the cursor in the main area.
15404
15405         * text2.C (status): small fix which could lead to a segfault!
15406         (clearSelection): remove unneeded BufferView param.
15407
15408 2001-08-01  André Pönitz <poenitz@gmx.net>
15409
15410         * lyxfunc.C: small change due to changed mathed interface
15411
15412 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15413
15414         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15415
15416 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15417
15418         * lyxfunc.c: fail gracefully if file doesn't exist
15419
15420         * LyXSendto.C:
15421         * buffer.C:
15422         * lyxfunc.C:
15423         * BufferView_pimpl.C: IsDirWriteable() proto changed
15424
15425         * LyXView.C: fix updateWindowTitle() to store the last title
15426
15427 2001-07-31  Juergen Vigna  <jug@sad.it>
15428
15429         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15430         the font (wrong since using of Paragraph::highestFontInRange).
15431
15432         * paragraph.C (highestFontInRange): added a default_size parameter.
15433
15434         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15435         (setHeightOfRow): reformat
15436
15437 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15438
15439         * converter.[hC] + affected files: move to (inital-char)lowercase
15440         function names.
15441
15442         * ParagraphParameters.C (ParagraphParameters): remove commented code
15443
15444         * PainterBase.[Ch]: remove commented code
15445
15446         * LaTeXFeatures.h: add "bool floats" for float.sty
15447
15448         * LaTeXFeatures.C (LaTeXFeatures): init floats
15449         (require): handle float
15450         (getPackages): do it with floats
15451
15452 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15453
15454         * BufferView_pimpl.C (Dispatch): improve handling of
15455         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15456
15457         * commandtags.h: #include lyxfont.h here temporarily to avoid
15458         keybinding bug.
15459
15460         * bufferlist.h: include LString.h here.
15461
15462 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15463
15464         * text2.C (getStringToIndex): new method.
15465
15466 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15467
15468         * *: Reduced header file dependencies all over.
15469
15470 2001-07-30  Baruch Even  <baruch@lyx.org>
15471
15472         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15473
15474 2001-07-29  Baruch Even  <baruch@lyx.org>
15475
15476         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15477
15478 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15479
15480         * ParameterStruct.h (endif): add a default constructor to make
15481         sure that all variables is initialized.
15482
15483         * ParagraphParameters.C (ParagraphParameters): adjust
15484
15485 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15486
15487         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15488         index; also, check that there is something to index, and that it
15489         does not span over several paragraphs.
15490         (doubleClick): use WHOLE_WORD_STRICT for double click.
15491
15492         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15493
15494         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15495         scheme.
15496
15497 2001-07-26  Baruch Even  <baruch@lyx.org>
15498
15499         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15500         an InsetFig figure, backwards compatible reading of old figure code.
15501
15502 2001-07-27  Juergen Vigna  <jug@sad.it>
15503
15504         * text2.C: font.realize function adaption.
15505
15506         * text.C (draw): add a warnings lyxerr text if needed.
15507
15508         * layout.C: font.realize function adaption.
15509
15510         * language.C: add inherit_language and implement it's handlings
15511
15512         * bufferview_funcs.C (StyleReset): remove language parameter from
15513         font creation (should be language_inherit now).
15514
15515         * bufferparams.C (writeFile): handle ignore_language.
15516
15517         * paragraph.C (getFontSettings): the language has to be resolved
15518         otherwise we have problems in LyXFont!
15519
15520         * lyxfont.C (lyxWriteChanges): added document_language parameter
15521         (update): removed unneeded language parameter
15522
15523         * paragraph.C (validate): fixed wrong output of color-package when
15524         using interface colors for certain fonts in certain environments,
15525         which should not seen as that on the final output.
15526
15527 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15528
15529         * BufferView_pimpl.C:
15530         * Thesaurus.h:
15531         * Thesaurus.C:
15532         * Makefile.am:
15533         * commandtags.h:
15534         * LyXAction.C: add thesaurus support
15535
15536         * lyxfind.h:
15537         * lyxfind.C: add "once" parameter, for thesaurus, to not
15538           move to the next match
15539
15540 2001-07-26  Juergen Vigna  <jug@sad.it>
15541
15542         * lyxfont.C (realize): honor ignore_language too!
15543         (resolved): ditto.
15544
15545         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15546
15547         * text.C (draw): one place more for ignore_language to not draw
15548         itself!
15549
15550 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15551
15552         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15553
15554 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15555
15556         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15557         the minipage conversion problem.
15558
15559 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15560
15561         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15562         insert an inset.
15563
15564 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15565
15566         * BufferView.h: don't forward declare WorkArea
15567
15568         * BufferView.C: don't include WorkArea.h
15569
15570 2001-07-25  André Pönitz <poenitz@gmx.net>
15571
15572         * commandtags.h:
15573         * LyXAction.C:
15574         * lyxfunc.C:  new LFUN 'math-space'
15575
15576         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15577
15578 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15579
15580         * text2.C (toggleInset): call open/close
15581
15582 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15583
15584         * lyxfunc.C (dispatch): add debug for the disabled case
15585
15586         * font.C (buttonText): make similar to rectText
15587
15588         * buffer.C (readInset): comment out parsing of insetlist and
15589         insttheorem
15590
15591         * PainterBase.C (rectText): small correction
15592
15593         * BufferView_pimpl.C: comment out insettheorem and insetlist
15594         * LyXAction.C: ditto
15595         * commandtags.h: ditto
15596
15597 2001-07-24  Juergen Vigna  <jug@sad.it>
15598
15599         * text.C (draw): honor the ignore_language.
15600
15601         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15602
15603 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15604
15605         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15606         char inset.
15607
15608 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15609
15610         * lyxtext.h: remove unused (and unimplemented) methods
15611
15612 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15613
15614         * text.C (getVisibleRow): honor background color
15615
15616         * PainterBase.h:
15617         * Painter.h: remove default color argument for fillRectangle
15618
15619         * text.C (backgroundColor): new method
15620
15621 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15622
15623         * text.C (getVisibleRow): adjust
15624
15625         * font.[Ch] (rectText): new method, metrics
15626         (buttonText): new method, metrics
15627
15628         * PainterBase.[hC]: make rectText and buttonText always draw and take
15629         fewer paramteres.
15630
15631 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15632
15633         * ToolbarDefaults.C (read):
15634         * MenuBackend.C (read): allow escaping in all strings
15635
15636         * BufferView_pimpl.C (insertAndEditInset): new method.
15637         (Dispatch): use insertAndEditInset whenever appropriate.
15638
15639         * BufferView_pimpl.C (insertNote): removed
15640
15641         * BufferView_pimpl.C (smartQuote): new method, moved from
15642         BufferView; if an insetquote cannot be inserted, insert a '"'
15643         character instead.
15644
15645         * BufferView2.C: remove insertCorrectQuote();
15646
15647         * lyxfunc.C (getStatus): Add support for all remaingin
15648         inset-insert lfuns.
15649
15650         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15651
15652         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15653         command (necessary to pass " as parameter of self-insert.
15654
15655         * text.C (selectWordWhenUnderCursor):
15656         (selectWord): add word_location parameter
15657         (selectWordWhenUnderCursor): same + remove special code for word
15658         boundary.
15659         (selectNextWord): use kind() to guess type of insetspecialchar,
15660         not latex().
15661
15662         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15663         (insertErtContents): create ert insets as collapsed.
15664         (readInset): better compatibility code for Info inset.
15665
15666 2001-07-20  Juergen Vigna  <jug@sad.it>
15667
15668         * lyxfunc.C (dispatch): use always LyXFind now!
15669
15670         * text2.C (init): add a reinit flag so that the LyXText can be
15671         reinited instead of deleted and reallocated (used in InsetText).
15672
15673         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15674
15675         * text.C: ditto
15676
15677         * text2.C: ditto
15678
15679 2001-07-18  Juergen Vigna  <jug@sad.it>
15680
15681         * text.C (selectNextWord): handle insets inside inset by calling
15682         always the bv->text functions so that we can go up the_locking_inset!
15683
15684         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15685         in strange locations when inside an inset!
15686
15687         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15688         handling to include insets.
15689
15690         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15691
15692 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15693
15694         * LyXAction.C (init):
15695         * commandtags.h:
15696         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15697         LIGATURE_BREAK, since the name is so stupid.
15698
15699 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15700
15701         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15702         InsetInfos.
15703
15704         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15705
15706         * sp_form.[Ch]: remove.
15707
15708         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15709
15710         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15711         InsetInfo.
15712
15713         * src/buffer.C (readInset): ditto.
15714
15715 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15716
15717         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15718         menuSeparator(), endOfSentenceDot(), ldots() and
15719         hyphenationPoint(), which are therefore removed.
15720         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15721
15722         * LyXAction.C (init):
15723         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15724
15725         * paragraph.C (getWord): removed.
15726
15727         * BufferView_pimpl.C (Dispatch): use last word or selection for
15728         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15729
15730         * lyx_main.C (queryUserLyXDir): do not ask before creating
15731         user_dir, except if it has been named explicitely.
15732
15733 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15734
15735         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15736         a document of zero size.
15737
15738 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15739
15740         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15741         approriately in the c-tor and in require().
15742         (getPackages): output the appropriate LaTeX for natbib support.
15743
15744         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15745         variables "use_natbib" and "use_numerical_citations" when reading the
15746         LyX file.
15747         (readInset): read the various natbib cite commands.
15748         (validate): white-space change.
15749
15750         * bufferparams.[Ch]: new variables "bool use_natbib" and
15751         "bool use_numerical_citations".
15752         (writeFile): output them in the LyX file.
15753
15754 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15755
15756         * lyxfunc.C (getStatus): add support for all the inset insertion
15757         commands.
15758
15759         * text2.C (insertInset):
15760         * paragraph.C (insetAllowed):
15761         * BufferView_pimpl.C (insertInset): update to take in account the
15762         renaming of insertInsetAllowed
15763
15764         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15765
15766         * text2.C (getInset): new method. returns inset at cursor position.
15767
15768         * BufferView_pimpl.C (Dispatch): changes because of this.
15769
15770         * LyXAction.C (init): rename open-stuff to inset-toggle.
15771
15772         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15773
15774         * text2.C (toggleInset): renamed from openStuff; use
15775         Inset::open().
15776
15777 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15778
15779         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15780
15781         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15782
15783 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15784
15785         * buffer.C (readLyXformat2): Add filename to the error dialog
15786
15787 2001-07-18  Juergen Vigna  <jug@sad.it>
15788
15789         * tabular.C (GetCellNumber): put an assert here instead of the check!
15790
15791 2001-07-17  Juergen Vigna  <jug@sad.it>
15792
15793         * BufferView_pimpl.C (toggleSelection): adapted too.
15794
15795         * text.C (selectNextWord): adapted for use with insets.
15796         (selectSelectedWord): ditto
15797
15798 2001-07-17  Juergen Vigna  <jug@sad.it>
15799
15800         * sp_spell.C (PSpell): fix initialitation order.
15801
15802 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15803
15804         * paragraph.C: spacing
15805
15806 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15807
15808         * sp_spell.C: repair language selection for pspell
15809
15810 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15811
15812         * lyxfunc.h: change more methods to begin with lower char.
15813
15814 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15815
15816         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15817         for unknown layouts.
15818
15819 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15820
15821         * buffer.C (readLyXformat2): Generate an error dialog if there are
15822         unknown layouts.
15823
15824 2001-07-16  Juergen Vigna  <jug@sad.it>
15825
15826         * sp_spell.C: always compile ISpell part.
15827
15828         * lyxrc.C: added use_pspell entry and it's handling.
15829
15830 2001-07-13  Juergen Vigna  <jug@sad.it>
15831
15832         * sp_spell.C: removed double includes.
15833
15834 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15835
15836         Consistent use of Lsstream.h:
15837         * Lsstream.h: added using std::stringstream for consistencies sake.
15838
15839         * buffer.C: removed using std::stringstream
15840
15841         * lyxfont.C (stateText):
15842         * paragraph.C (asString):
15843         * text.C (selectNextWord, selectSelectedWord):
15844         * text2.C (setCounter):
15845         * vspace.C (asString, asLatexString):
15846         std::ostringstream -> ostringstream.
15847
15848 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15849
15850         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15851         * commandtags.h: add LFUN_HELP_ABOUTLYX
15852         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15853
15854 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15855
15856         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15857         cursorToggle()
15858         * lyx_gui_misc.C: remove spellchecker
15859         * lyxfunc.C: showSpellchecker
15860         * sp_base.h: added
15861         * sp_ispell.h: added
15862         * sp_pspell.h: added
15863         * sp_spell.C: added
15864         * sp_form.[Ch]: removed
15865         * spellchecker.[Ch]: removed
15866
15867 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15868
15869         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15870         is set.
15871         (simpleTeXSpecialChars): Simply print the input character without
15872         any special translation if pass_thru is set.
15873
15874         * layout.h: Added bool pass_thru to layout class for being able to
15875         implement pass through of a paragraph for Literate Programming.
15876
15877         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15878         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15879         * layout.C (Read): add "passthru" to list of layout tags and add
15880         code to set the pass_thru boolean when it is read.
15881
15882 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15883
15884         * trans_decl.h: remove allowed from KmodInfo
15885
15886         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15887         remove allowed code
15888         (Load): adjust
15889
15890         * paragraph_pimpl.C (erase): use boost::prior
15891
15892         * Painter.C (text): use data() instead of c_str() when length is
15893         also provided.
15894         * WorkArea.C (putClipboard): ditto
15895         * font.h (width): ditto
15896
15897         * BufferView2.C: use it-> instead of (*it). for iterators
15898         * texrow.C: ditto
15899         * paragraph_pimpl.C: ditto
15900         * paragraph.C: ditto
15901         * minibuffer.C: ditto
15902         * language.C: ditto
15903         * kbmap.C: ditto
15904         * encoding.C: ditto
15905         * counters.C: ditto
15906         * converter.C: ditto
15907         * chset.C: ditto
15908         * Variables.C: ditto
15909         * TextCache.C: ditto
15910         * MenuBackend.C: ditto
15911         * LyXAction.C: ditto
15912         * LColor.C: ditto
15913         * FloatList.C: ditto
15914         * DepTable.C: ditto
15915         * ColorHandler.C (LyXColorHandler): ditto
15916
15917 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15918
15919         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15920
15921         * text2.C (openStuff): reintroduce this method (which had been
15922         nuked in NEW_INSETS frenzy).
15923
15924         * lyxfunc.C (Dispatch): when an action has not been handled, use
15925         its name in the error message, not its number.
15926
15927         * paragraph.C (inInset): change method name to begin with lowercase.
15928
15929         * undo_funcs.C:
15930         * text2.C: updates because of this.
15931
15932 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15933
15934         * ToolbarDefaults.C (add): add spaces in error message
15935
15936 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15937
15938         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15939         (readLyXformat2): rename return_par to first_par, use lyxlex's
15940         pushToken and remove the manual push handling.
15941         (parseSingleLyXformat2Token): add another ert comp. variable:
15942         in_tabular, rename return_par to first_par. handle newlines better
15943
15944 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15945
15946         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15947
15948 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15949
15950         * text2.C (getParFromID): removed
15951
15952         * buffer.C (getParFromID): new method moved form lyxtext.
15953         * BufferView2.C (insertErrors): adjust
15954         (setCursorFromRow): adjust
15955         * BufferView_pimpl.C (restorePosition): adjust
15956         * lyxfunc.C (Dispatch): adjust
15957         * undo_funcs.C (textUndo): adjust
15958         (textRedo): adjust
15959         (textHandleUndo): adjust
15960         (textHandleUndo): adjust
15961
15962 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15963
15964         * buffer.C: up' the LYX_FORMAT
15965
15966         * lyxfont.h: turn NO_LATEX on as default
15967
15968         * buffer.C (insertErtContents): new methods of tex style compability.
15969         (parseSingleLyXformat2Token): use it several places.
15970         * tabular.C (OldFormatRead): and here
15971
15972 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15973
15974         * text2.C: remove some commented code.
15975         reindent file.
15976
15977         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15978         * trans.C: changes because of the above.
15979
15980 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15981
15982         * text2.C (setCounter): Fix counters bug with bibliography layout.
15983
15984 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15985
15986         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15987         own member functions
15988         (simpleTeXSpecialChars): ditto
15989
15990 2001-07-06  Juergen Vigna  <jug@sad.it>
15991
15992         * a lot of files: changed the access to LyXText::status and the
15993         call of undo-functions.
15994
15995         * undo.[Ch]: added a inset_id to the undo informations.
15996
15997         * undo_funcs.[Ch]: added and moved here all undo functions.
15998
15999         * lyxtext.h: give the status enum a weight, made status_ a private
16000         variable and made accessor functions for it, removed the whole bunch
16001         of undo-functions as they are now in their own file, make some
16002         functions publically available. Added function ownerParagraph with
16003         int parameter.
16004
16005         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16006         made InInset() a const function, added getParFromID() function.
16007
16008         * buffer.[Ch]: added const version for inset_iterator functions,
16009         added getInsetFromID() function.
16010
16011         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16012         changed undo functions for new version.
16013
16014 2001-07-05  Juergen Vigna  <jug@sad.it>
16015
16016         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16017         unknow mechanism does not call the proper constructor but only this
16018         one also if I request the other!?
16019
16020 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16021
16022         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16023
16024         * text2.C (LyXText): use initialization lists.
16025
16026         * lyxtext.h (Selection): initialize set_ and mark_
16027         (init): remove method
16028
16029 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16030
16031         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16032
16033 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16034
16035         * screen.[Ch]: change method names to begin with lowercase
16036
16037         * BufferView_pimpl.C (updateScrollbar): simplify further and
16038         hopefully make it a bit faster.
16039
16040 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16041
16042         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16043         calling directly xforms functions.
16044
16045         * Painter.C (Painter):
16046         * lyx_cb.C (MenuWrite):
16047         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16048         fl_display.
16049
16050         * lyx_gui.C: remove bogus guiruntime extern declaration.
16051
16052 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16053
16054         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16055         in NEW_INSETS
16056         (redoDrawingOfParagraph): ditto
16057         (redoParagraphs): ditto
16058         (cutSelection): don't create a object for CutAndPaste use the
16059         static method directly
16060         (pasteSelection): ditto
16061
16062         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16063         LyXview (+ rename)
16064
16065 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16066
16067         * modifications to some other files because of this.
16068
16069         * Makefile.am (lyx_SOURCES): add XFormsView
16070
16071         * XFormsView.[Ch]: new files
16072
16073         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16074         the main window. Move the gui dependent stuff to XFormsView
16075
16076 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16077
16078         * tabular.C (GetCellInset): update cur_cell also in the row/col
16079         version of this function.
16080
16081         * lyxfunc.C: no need to include figure_form.h here.
16082
16083         * FontLoader.h:
16084         * lyxfunc.h:
16085         * lyxscreen.h:
16086         * text2.C:
16087         * lyxvc.C: no need to include forms.h here.
16088
16089 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16090
16091         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16092
16093         * lyxfunc.C (Dispatch):
16094         * Spacing.C (set):
16095         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16096         constructor argument.
16097
16098 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16099
16100         * paragraph.C (Paragraph): dont't clear, and just set layout.
16101         (makeSameLayout): use params's copy contructor.
16102
16103         * ParagraphParameters.[Ch] (makeSame): delete method
16104
16105 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16106
16107         * Variables.[Ch]: fix indentation, rename set to isSet
16108
16109 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16110
16111         * lyxfunc.C (Dispatch): fix typo
16112
16113 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16114
16115         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16116         upper_bound.
16117
16118         * bufferlist.C: include assert.h for emergencyWrite().
16119
16120 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16121
16122         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16123           give up at last (bug #425202) !
16124
16125 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16126
16127         * lyx_gui_misc.C:
16128         * sp_form.h:
16129         * sp_form.C:
16130         * spellchecker.h:
16131         * spellchecker.C: strip spellchecker options and bring up
16132           preferences tab instead
16133
16134 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16135
16136         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16137         the istringstream constructor
16138
16139 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16140
16141         * paragraph.C (getLayout): fix return value
16142
16143         * paragraph.h: do not declare getLayout as inline.
16144
16145         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16146
16147 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16148
16149         * lyxcursor.h (operator<): new func
16150         (operator>): new func
16151         (operator>=): new func
16152         (operator<=): new func
16153
16154         * text.C (changeCase): use selection.start and selection.end
16155         (changeRegionCase): require from to be <= to. Require par to be a
16156         valid paragraph.
16157
16158         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16159
16160 2001-06-27  Juergen Vigna  <jug@sad.it>
16161
16162         * text.C (cursorLeftOneWord): changed to return the cursor and added
16163         overlay with BufferView * parameter which calls this one.
16164         (getWord): added
16165         (selectWord): use new getWord function.
16166         (changeCase): renamed from changeWordCase as and extended to work
16167         also on selections.
16168
16169         * lyxtext.h: added enum word_location
16170
16171         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16172         changeCase as this operates now also on selections.
16173
16174 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16175
16176         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16177
16178         * many files: send debug output to Debug::INFO instead of
16179         Debug::ANY.
16180
16181         * converter.C (View):
16182         (Convert):
16183         (Move): send debug output to Debug::FILES instead of console.
16184
16185 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16186
16187         * lyxfunc.C (getStatus): use func_status
16188
16189         * func_status.h: new header, describing the results of
16190         LyXFunc::getStatus;
16191
16192         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16193         LFUN_MATH_HALIGN.
16194
16195 2001-06-25  The LyX Project  <jug@sad.it>
16196
16197         * buffer.C (sgmlOpenTag):
16198         (sgmlCloseTag):
16199         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16200
16201 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16202
16203         * text2.C: remove some dead code
16204
16205         * tabular.C (GetCellInset): store the last cell checked (gotten)
16206
16207         * tabular.h: add the helper for the speedup
16208
16209         * lyxtext.h: remove some dead code
16210
16211 2001-06-26  The LyX Project  <Asger>
16212
16213         * paragraph.C: Change export to LaTeX of alignment to
16214         \begin{center} and family for better roundtrip work with reLyX.
16215
16216         * Tune the math drawing a bit.
16217
16218 2001-06-25  The LyX Project  <Asger>
16219
16220         * LColor.C (LColor): New color for math background. New color
16221         for buttons.
16222
16223 2001-06-25  The LyX Project  <jug@sad.it>
16224
16225         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16226
16227         * lyxfunc.C (Open):
16228         * bufferlist.C (newFile): do not restrict to files ending with
16229         .lyx
16230
16231         * BufferView_pimpl.C (MenuInsertLyXFile):
16232
16233 2001-06-24  The LyX Project  <jug@sad.it>
16234
16235         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16236         of compare_no_case
16237
16238 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16239
16240         * lyxtext.h: rename most methods to begin with a small char.
16241         Lots of changes because of this.
16242
16243         * paragraph.C (Paragraph): do not call fitToSize
16244         (erase): call Pimpl::erase
16245         (insertChar): call Pimpl::insertChar
16246         (insertInset): call Pipl::insertInset
16247         (breakParagraph): do not call fitToSize
16248         (breakParagraphConservative): do not call fitToSize
16249         (fitToSize): remove method
16250
16251         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16252
16253 2001-06-24  The LyX Project  <Asger>
16254
16255         * Fix Qt compilation^2
16256
16257 2001-06-24  The LyX Project  <jug@sad.it>
16258
16259         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16260         depthHook(getDepth()-1).
16261
16262         * paragraph.h:
16263         * ParagraphParameters.h:
16264         * ParameterStruct.h: change type of depth to unsigned int ==
16265         depth_type. Many adaptations to other files before of that.
16266
16267 2001-06-24  The LyX Project  <Asger>
16268
16269         * Fix Qt compilation.
16270
16271 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16272
16273         * paragraph.h: renamed several methods to begin with small letter.
16274         several changes to many parts of the code because of this.
16275
16276 2001-06-23  The LyX Project  <jug@sad.it>
16277
16278         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16279         rewritten to discard all double spaces when KeepEmpty is off
16280         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16281         to only handle newlines but not fiddle with spaces and friends.
16282
16283         * lyxfunc.C (MenuNew): when doing 'new from template', use
16284         template_path as default directory
16285
16286 2001-06-23  The LyX Project  <Asger>
16287
16288         * Clean-up of header file includes all over
16289         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16290
16291 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16292
16293         * paragraph.h: renamed from lyxparagraph.h
16294
16295 2001-06-23  Asger  <lyx@violet.home.sad.it>
16296
16297         * Buffer.h: Removed Buffer::resize
16298         * BufferList.h: Removed BufferList::resize
16299         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16300         the document lazily when we change the width, or the font settings.
16301
16302 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16303
16304         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16305
16306 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16307
16308         * buffer.h: remove out of date comment
16309
16310 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16311
16312         * lyxscreen.h:
16313         * screen.C: fix "theoretical" GC leak
16314
16315 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16316
16317         * LaTeX.C (scanAuxFile):
16318         (deplog): remove trailing \r when reading stream (useful under
16319         win32)
16320
16321 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16322
16323         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16324         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16325         and BufferView::theLockingInset(Inset*), so should use them and not
16326         access bv_->text->the_locking_inset directly.
16327
16328         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16329
16330 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16331
16332         * Makefile.am:
16333         * tex-defs.h: remove old unused file
16334
16335 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16336
16337         * BufferView_pimpl.C: fix typo, remove minibuffer message
16338           when buffer has loaded
16339
16340 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16341
16342         * lyxfunc.C (Dispatch): use stringstream
16343         (MenuNew): use stringstream
16344         (Open): use stringstream
16345
16346         * importer.C (Import): use stringstream
16347
16348         * bufferview_funcs.C (CurrentState): use stringstream
16349
16350         * LaTeX.C (run): use stringstream
16351
16352         * BufferView_pimpl.C (savePosition): use stringstream
16353         (restorePosition): use stringstream
16354         (MenuInsertLyXFile): use stringstream
16355
16356 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16357
16358         * BufferView.C:
16359         * Bullet.C:
16360         * ColorHandler.C:
16361         * FontInfo.C:
16362         * FontLoader.C:
16363         * LColor.C:
16364         * LaTeXFeatures.C:
16365         * Painter.C:
16366         * gettext.C:
16367         * lyx_gui_misc.C:
16368         * lyxserver.C:
16369         * vspace.C: removed // -*- C++ -*- as first line.
16370
16371         * lyxfind.h:
16372         * version.h: added // -*- C++ -*- as first line.
16373
16374 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16375
16376         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16377
16378         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16379         of string
16380
16381 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16382
16383         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16384         of floats.
16385
16386 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16387
16388         * gettext.C: include LString.h even when --disable-nls is on.
16389
16390 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16391
16392         * converter.h (Get): changed argument type from int to
16393         FormatList::size_type to avoid unnecessary conversion.
16394
16395         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16396         before using it.
16397
16398 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16399
16400         * gettext.h: include LString.h even when --disable-nls is on.
16401
16402 2001-06-07  Juergen Vigna  <jug@sad.it>
16403
16404         * text.C (BreakAgain): subst spaces with tabs.
16405
16406         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16407         (resizeInsetsLyXText): set force on resizeLyXText.
16408
16409 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16410
16411         * gettext.h (gettext_init):
16412         (locale_init): use a real definition instead of a macro
16413
16414 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16415
16416         * Bufferview_pimpl.C:
16417         * LColor.h:
16418         * LColor.C: further lcolor tidies
16419
16420 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16421
16422         * BufferView_pimpl.C (updateScrollbar): simplify.
16423
16424         * BufferView2.C: don't include insets/insetinfo.h, change
16425         prototype for insertInset and call the Pimpl version. let
16426         updateInset call Pimpl version.
16427
16428         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16429         gotoInset to BufferView::Pimpl
16430
16431 2001-06-01  Juergen Vigna  <jug@sad.it>
16432
16433         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16434         inside a LockingInset (is the update needed at all?).
16435
16436 2001-05-31  Juergen Vigna  <jug@sad.it>
16437
16438         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16439         here not the old one otherwise how should we compare it afterwards
16440         if it's the same!
16441
16442 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16443
16444         * lyxfont.C:
16445         * tabular.C:
16446         * tabular-old.C:
16447         * FontInfo.C: bring C functions into global namespace when
16448         necessary
16449
16450 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16451
16452         * LString.h: make sure config.h has been loaded before LString.h.
16453
16454         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16455         (one for each char read by EatLine!).
16456
16457         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16458         variables.
16459
16460 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16461
16462         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16463         to the same as the par we break from
16464
16465 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16466
16467         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16468
16469         * MenuBackend.C (expand): also create menu entries for wide
16470         versions of the floats.
16471
16472         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16473
16474         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16475
16476         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16477         frontends/Makefile.am
16478
16479         * text2.C: adjust
16480         * text.C: adjust
16481
16482
16483         * tabular.C (getTokenValue): add std::
16484
16485         * tabular-old.C (getTokenValue): add std::
16486         (getTokenValue): ditto
16487         (getTokenValue): ditto
16488
16489         * screen.C (ToggleSelection): adjust
16490
16491         * lyxtext.h: put selection cursors inside a Selection struct.
16492
16493         * lyxfunc.C (moveCursorUpdate): adjust
16494
16495         * lyxfont.C (latexWriteStartChanges): add std::
16496
16497         * lyxfind.C: adjust
16498
16499         * font.h: delete with(char const *, LyXFont const &)
16500
16501         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16502
16503         * FontInfo.C (getFontname): add std::
16504
16505         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16506         (workAreaButtonPress): adjust
16507         (tripleClick): adjust
16508         (update): adjust
16509         (moveCursorUpdate): adjust
16510         (Dispatch): adjust
16511
16512         * BufferView2.C (gotoInset): adjust
16513
16514 2001-05-30  Juergen Vigna  <jug@sad.it>
16515
16516         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16517         to check pspell I add this as default as I now have new pspell
16518         libraries and they seem to use this.
16519
16520 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16521
16522         * text2.C (CutSelection): make the cursor valid before the call to
16523         ClearSelection.
16524
16525 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16526
16527         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16528         relied on 0 terminated strings and other horrors. Bug found due to
16529         the new assert in lyxstring!
16530
16531         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16532         KP_ keys.
16533
16534 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16535
16536         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16537         to latinkeys.bind.
16538
16539         * lyxfunc.C (processKeySym): change method of getting to the
16540         self-insert char.
16541
16542         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16543         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16544         * BufferView_pimpl.[Ch]: here as private methods.
16545
16546 2001-05-28  Juergen Vigna  <jug@sad.it>
16547
16548         * text.C (SetHeightOfRow): added the update() call again as it is
16549         needed to initialize inset dimensions!
16550
16551 2001-05-16  Juergen Vigna  <jug@sad.it>
16552
16553         * text2.C (SetCharFont): Add new function with BufferView * and
16554         bool toggleall parameters for setting insets internal fonts.
16555         (SetFont): Freeze the undo as we may change fonts in Insets and
16556         all this change should be inside only one Undo!
16557
16558         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16559         setting font's in insets as for them we have the SetFont function!
16560
16561 2001-05-15  Juergen Vigna  <jug@sad.it>
16562
16563         * text2.C (ClearSelection): to be sure we REALLY don't have any
16564         selection anymore!
16565
16566         * tabular.C (TeXCellPreamble): fixed the left border problem for
16567         multicolumn cells.
16568
16569 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16570
16571         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16572         dependancy file
16573
16574 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16575
16576         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16577         LFUN_BREAKPARAGRAPH.
16578
16579         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16580         help test to "internal only", similar for LFUN_INSERT_URL
16581
16582         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16583         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16584         auto_region_delete and deadkeys.
16585
16586 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16587
16588         * LColor.h:
16589         * LColor.C: remove some dead entries, tidy a little
16590
16591 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16592
16593         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16594         commented code.
16595         (Dispatch): implement LFUN_ESCAPE
16596
16597         * commandtags.h: add LFUN_ESCAPE
16598
16599         * LyXAction.C (init): add entry for LFUN_ESCAPE
16600
16601         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16602         Remove commented code.
16603         (insertNote): moved here
16604         (open_new_inset): moved here
16605
16606         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16607         BufferView_pimpl
16608
16609 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16610
16611         * kbmap.C (findbinding): clean it up and make it work correctly.
16612
16613         * lyx_main.C (init): do not pass argc and argv as parameters
16614
16615 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16616
16617         * buffer.C: fix path for OS/2 & Win32
16618
16619         * lyx_gui.C:
16620         * lyx_main:
16621         * lyx_main.C: Added os:: class.
16622
16623         * os2_defines.h: update
16624
16625 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16626
16627         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16628         better by trying again with reduced state.
16629
16630 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16631
16632         * lyxrc.C (read): print error about invalid key sequence only when
16633         debugging (because not all latinX keysyms are known to some X
16634         servers)
16635
16636         * kbsequence.C (getiso): add a few std:: qualifiers
16637         (getiso): comment out extra return statement.
16638
16639 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16640
16641         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16642         handling.
16643         (Dispatch): enhance the accent inset a bit. (not perfect)
16644
16645 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16646
16647         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16648
16649 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16650
16651         * bufferlist.C (emergencyWrite): fix assert() call
16652
16653 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16654
16655         * text.C (InsertChar): Added trivial patch to only send the "you
16656         can not do multiple spaces this way" message once during a
16657         session.
16658
16659 2001-05-08  Baruch Even  <baruch@lyx.org>
16660
16661         * Makefile.am: Changed order of libraries to get LyX to link properly
16662         with the gnome frontend.
16663
16664 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16665
16666         * LaTeXFeatures.h: add a std:: qualifier
16667
16668 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16669
16670         * paragraph.C (String): use stringstream
16671
16672 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16673
16674         * paragraph.C (writeFile): remove footflag arg
16675
16676         * buffer.C (makeLaTeXFile): use stringstream
16677         (latexParagraphs): remove footnot gurba
16678
16679         * LaTeXFeatures.C (getPackages): use stringstream
16680         (getMacros): likewise
16681         (getTClassPreamble): likewise
16682         (getFloatDefinitions): new method
16683
16684         * paragraph.C (writeFile): reindent
16685         (Erase): reindent
16686
16687         * WorkArea.h: revert the xpos + etc changes.
16688
16689         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16690
16691         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16692
16693         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16694         (pasteSelection): likewise
16695         * text2.C (CreateUndo): likewise
16696
16697 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16698
16699         * minibuffer.C (peek_event): temporarily reduce the functionality
16700         of the minibuffer (to allow args on lfuns)
16701
16702         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16703         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16704
16705         * buffer.C (readInset): add compability reading of old float
16706         lists, add reading of new style float list.
16707         (readInset): avoid reevaluation of inscmd.getCmdName()
16708         (getLists): reindent
16709
16710         * MenuBackend.C (MenuItem): implement parsing of
16711         md_floatlistinsert and md_floatinsert.
16712         (expand::LastFiles): move initalizaton of iterators out of loop,
16713         avoid reevaluation.
16714         (expand::Documents): introduce typdedef vector<string> Strings,
16715         and use it.
16716         (expand::ExportFormats): introduce typedef vector<Format const *>
16717         Formats, and use it.
16718         (expand): implement FloatListInsert and FloatInsert.
16719
16720         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16721         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16722         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16723
16724         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16725         handling.
16726         (Dispatch::LFUN_FLOAT_LIST): implement
16727
16728 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16729
16730         * LaTeX.C (run): Fix problem with --export code.
16731
16732 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16733
16734         * BufferView.[Ch] (workarea): removed.
16735         (getClipboard) new method; wrapper for workarea()->getClipboard()
16736
16737         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16738         bug.
16739
16740         * WorkArea.h (width, height, xpos, ypos): These methods all
16741         returned the dimensions of the work_area sub-area of WorkArea,
16742         resulting in a position error if the WorkArea were resized. Now
16743         return the dimensions of the entire WorkArea.
16744
16745         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16746
16747 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16748
16749         * LaTeX.C (deplog): correct the syntax of regex reg1
16750
16751 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16752
16753         * undo.C: remove !NEW_INSETS cruft
16754
16755 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16756
16757         * text2.C: remove !NEW_INSETS cruft
16758
16759         * text.C: remove !NEW_INSETS cruft
16760
16761         * tabular.C: remove !NEW_INSETS cruft
16762
16763         * spellchecker.C: remove !NEW_INSETS cruft
16764
16765         * lyxtext.h: remove !NEW_INSETS cruft
16766
16767         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16768
16769         * lyxfunc.C: remove !NEW_INSETS cruft
16770
16771         * lyxfind.C: remove !NEW_INSETS cruft
16772
16773         * lyx_cb.C: remove !NEW_INSETS cruft
16774
16775         * figureForm.C: remove  !NEW_INSETS cruft
16776
16777         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16778
16779         * buffer.[Ch]: remove !NEW_INSETS cruft
16780
16781         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16782
16783         * CutAndPaste.C: remove !NEW_INSETS cruft
16784
16785         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16786
16787         * BufferView2.C: remove !NEW_INSETS cruft
16788
16789         * BufferView.h: remove !NEW_INSETS cruft
16790
16791 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16792
16793         * Lsstream.h: include LString.h before the sstream headers to
16794         fix problem with gcc 2.95.3 and lyxstring
16795
16796 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16797
16798         * lyx_main.C: add using directives when needed for C functions
16799         declared in std:: namespace.
16800
16801 2001-04-27  Juergen Vigna  <jug@sad.it>
16802
16803         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16804         (SetHeightOfRow): comment out the update call should not be needed!
16805
16806 2001-04-13  Juergen Vigna  <jug@sad.it>
16807
16808         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16809         (LyXTabular): tried to minimize operator= operations (and realized
16810         hopfully Lars wish).
16811
16812 2001-04-27  Juergen Vigna  <jug@sad.it>
16813
16814         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16815
16816 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16817
16818         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16819
16820         * buffer.C (readInset): hack to make listof algorithm work
16821
16822         * BufferView_pimpl.C: hack to make listof algorithm work
16823
16824 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16825
16826         * LyXAction.C: removed all !NEW_INSETS cruft
16827         (init): moved lfun_item in method
16828
16829         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16830
16831 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16832
16833         * BufferView2.C (theLockingInset): white space.
16834
16835 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16836
16837         * minibuffer.C: include <iostream>
16838
16839         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16840
16841         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16842
16843         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16844
16845         * text.[Ch] (TransposeChars): new method
16846
16847 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16848
16849         * call message directly through LyXView instead of through LyXFunc
16850         * BufferView2.C: adjust
16851         * BufferView_pimpl.C: adjust
16852         * FontLoader.C: adjust
16853         * buffer.C: adjust
16854         * bufferview_funcs.C: adjust
16855         * converter.C: adjust
16856         * figureForm.C: adjust
16857         * importer.C: adjust
16858         * lyx_cb.C: adjust
16859         * lyx_gui_misc.C: adjust
16860         * lyxfunc.C: adjust
16861         * lyxvc.C: adjust
16862         * text2.C: adjust
16863         + more files in subdirs
16864
16865         * lyxparagraph.h (size): move up int file
16866         (GetLayout): ditto
16867
16868         * adjust all uses of Assert to lyx::Assert.
16869
16870         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16871         lyxfunctional in namespace lyx
16872         * layout.C (hasLayout): ditto
16873         (GetLayout): ditto
16874         (GetLayout): ditto
16875         (delete_layout): ditto
16876         (NumberOfClass): ditto
16877         * converter.C (GetFormat): ditto
16878         (GetNumber): ditto
16879         (Add): ditto
16880         (Delete): ditto
16881         (SetViewer): ditto
16882         * bufferlist.C (getFileNames): ditto
16883         (emergencyWriteAll): ditto
16884         (exists): ditto
16885         (getBuffer): ditto
16886         * MenuBackend.C (hasSubmenu): ditto
16887         (hasMenu): ditto
16888         (getMenu): ditto
16889         * BufferView_pimpl.C (getInsetByCode): ditto
16890
16891 2001-04-18  Juergen Vigna  <jug@sad.it>
16892
16893         * vspace.C (asLatexString): fixed the 100% problem.
16894
16895 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16896
16897         * lyxfunc.C (Dispatch):
16898         * minibuffer.C:
16899         * minibuffer.h: add a few std:: qualifiers
16900
16901 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16902
16903         * minibuffer.[Ch]: reimplement so that commands is initiated and
16904         run from lyxfunc, simplified som handling, and made the completion
16905         and history code for complete. wip.
16906
16907         * lyxfunc.C (processKeySym): call message
16908         (miniDispatch): new temporary method
16909         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16910         (LFUN_MESSAGE): implement
16911         (LFUN_MESSAGE_PUSH): implement
16912         (LFUN_MESSAGE_POP): implement
16913         (initMiniBuffer): the initial/defualt minibuffer message.
16914
16915         * lyxfont.[Ch]: inline some more getters
16916
16917         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16918
16919         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16920
16921         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16922         (AutoSave): use LFUN_MESSAGE
16923         (Reconfigure): ditto
16924
16925         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16926
16927         * figureForm.C: use LFUN_MESSAGE
16928
16929         * converter.C (runLaTeX): use LFUN_MESSAGE
16930
16931         * bufferview_funcs.C: use LFUN_MESSAGE
16932         (Melt): ditto
16933         (changeDepth): ditto
16934
16935         * bufferparams.h: use boost::
16936
16937         * bufferlist.h: inherit privately from noncopyable
16938
16939         * bufferlist.C (loadLyXFile): remove some commented code.
16940
16941         * buffer.C (runChktex): use LFUN_MESSAGE
16942
16943         * ShareContainer.h: inherit privately from noncopyable
16944
16945         * ParagraphParameters.[hC] (depth): inline it.
16946
16947         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16948         methods.
16949         (message): new method
16950         (messagePush): ditto
16951         (messagePop): ditto
16952         (show): init minibuffer
16953         (showState): direct call
16954
16955         * LaTeX.[Ch]: inherit privately from noncopyable
16956         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16957         instead of WriteStatus.
16958
16959         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16960
16961         * BufferView_pimpl.C (buffer): don't init minibuffer
16962         (workAreaButtonPress): use LFUN_MESSAGE
16963         (workAreaButtonRelease): ditto
16964         (savePosition): ditto
16965         (restorePosition): ditto
16966         (MenuInsertLyXFile): ditto
16967         (workAreaExpose): don't init minibuffer
16968         (update): remove commented code, simplify
16969
16970         * BufferView2.C (openStuff): use LFUN_MESSAGE
16971         (toggleFloat): ditto
16972         (menuUndo): ditto
16973         (menuRedo): ditto
16974         (copyEnvironment): ditto
16975         (pasteEnvironment): ditto
16976         (copy): ditto
16977         (cut): ditto
16978         (paste): ditto
16979         (gotoInset): ditto
16980         (updateInset): remove some commented code
16981
16982         * lastfiles.h: inherit privately from noncopyable
16983         * layout.h: ditto
16984         * lyx_gui.h: ditto
16985         * lyx_main.h: ditto
16986         * lyxlex.h: ditto
16987         * lyxlex_pimpl.h: ditto
16988
16989         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16990         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16991         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16992
16993         * LyXAction.h: inherit privately from noncopyable, add methods
16994         func_begin, func_end, returning iterators to the func map.
16995
16996         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16997         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16998         (func_begin): new method
16999         (func_end): new method
17000
17001         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17002         and not)
17003         (copySelection): ditto
17004         (pasteSelection): ditto
17005
17006         * BufferView.C: whitespace change
17007         * BufferView.h: inherit privately from noncopyable
17008
17009 2001-04-16  Allan Rae  <rae@lyx.org>
17010
17011         * tabular-old.C (l_getline):
17012         * spellchecker.C (sc_check_word):
17013         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17014         an unrecognised preprocessor directive.  So ensure they're wrapped.
17015
17016 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17017
17018         * src/exporter.C (Export): Give an error message when path to file
17019         contains spaces.
17020
17021 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17022
17023         * LaTeX.C (deplog): Always check that foundfile exists.
17024
17025 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17026
17027         * lyx_main.h:
17028         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17029
17030 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17031
17032         * tabular.[Ch] (getLabelList): implement new method
17033
17034         * minibuffer.h: comment ouf setTiimer
17035
17036         * minibuffer.C (ExecutingCB): constify res
17037         (peek_event): constify s
17038         (Set): constify ntext
17039         (Init): constify nicename
17040
17041         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17042
17043         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17044         (savePosition): use two params to Minibuffer::Set
17045         (restorePosition): ditto
17046
17047 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17048
17049         * lyx_main.C: include language.h
17050
17051         * Makefile.am (lyx_main.o): add language.h
17052
17053 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17054
17055         * exporter.C:
17056         * paragraph.C:
17057         * screen.C:
17058         * tabular.C:
17059         * CutAndPaste.C: include gettext.h
17060
17061         * lyxfont.h: remove old hack with ON and OFF.
17062
17063         * lyxparagraph.h:
17064         * lyxfont.h: do not include language.h...
17065
17066         * BufferView2.C:
17067         * LaTeXFeatures.C:
17068         * Painter.C:
17069         * bufferview_funcs.C:
17070         * font.C:
17071         * lyxfont.C:
17072         * text.C:
17073         * text2.C:
17074         * trans_mgr.C:
17075         * paragraph.C: ... but do it here instead
17076
17077 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17078
17079         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17080
17081         * tabular.C: small reformat
17082
17083         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17084         NEW_INSETS version
17085         (GetChar): ditto
17086         (BreakParagraph): ditto
17087         (SetOnlyLayout): ditto
17088         (SetLayout): ditto
17089
17090         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17091         with one arg less.
17092
17093         * lastfiles.C: removed most using decl, add std:: where needed
17094
17095         * buffer.C: ws changes
17096
17097         * MenuBackend.C (class compare_format): put into anon namespace
17098         (expand): constify label, names, action, action2
17099         (expand):
17100
17101         * text.C (SingleWidth): constify font
17102         (IsBoundary): constify rtl2
17103         (GetVisibleRow): constify ww
17104
17105         * LaTeX.C (deplog): constify logfile
17106
17107         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17108         start_x, end_x
17109         (workAreaExpose): constify widthChange, heightChange
17110
17111         * lyxrow.C (par): moved
17112         (height): moved
17113         (next): moved
17114         * lyxrow.h: as inlines here
17115
17116         * lyxfont.h (shape): moved from lyxfont.C
17117         (emph): moved from lyxfont.C
17118
17119         * lyxfont.C (LyXFont): use initialization list for all
17120         constructors
17121         (shape): move to lyxfont.h as inline
17122         (emph): move to lyxfont.h as inline
17123
17124
17125 2001-04-04  Juergen Vigna  <jug@sad.it>
17126
17127         * vspace.C: had to include stdio.h for use of sscanf
17128
17129 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17130
17131         * BufferView.h:
17132         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17133         independent of xforms.
17134
17135 2001-04-02  Juergen Vigna  <jug@sad.it>
17136
17137         * spellchecker.C: fixed namespace placing!
17138
17139 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17140
17141         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17142         the LyXParagraph * is 0.
17143
17144 2001-03-29  Juergen Vigna  <jug@sad.it>
17145
17146         * vspace.C: added support for %, c%, p%, l%.
17147         (stringFromUnit): added helper function.
17148         (asLatexString): changed to give right results for the %-values.
17149
17150         * buffer.C: convert the widthp in a width%.
17151
17152 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17153
17154         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17155         figureForm.[Ch].
17156
17157         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17158         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17159
17160         * lyx_cb.[Ch]: see above.
17161
17162         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17163         form1.[Ch].
17164
17165         * form1.[Ch]:
17166         * lyx.[Ch]: replaced by figure_form.[Ch].
17167
17168         * lyx_gui.C:
17169         * lyx_gui_misc.C:
17170         * lyxfunc.C: changed headers associated with above changes.
17171
17172 2001-03-27  Juergen Vigna  <jug@sad.it>
17173
17174         * BufferView_pimpl.C: set the temporary cursor right!
17175
17176 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17177
17178         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17179
17180 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17181
17182         * LString.h: removed "using std::getline"!
17183
17184         * BufferView_pimpl.C (Dispatch): changes due to changes in
17185         InsetInclude::Params.
17186
17187         * buffer.C (tag_name): removed redundant break statements as they were
17188         producing lots of warnings with my compiler.
17189
17190 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17191
17192         * LString.h: add "using std::getline" when using the real <string>.
17193
17194 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17195
17196         * buffer.C: removed bitset usage.
17197         PAR_TAG moved to an anonymous name space.
17198         (tag_name): new funtion, also in the anonymous namespace.
17199         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17200         (makeDocBookFile): clean code. Completed transition from string arrays
17201         to string vectors.
17202         (SimpleDocBookOnePar): code clean.
17203
17204 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17205
17206         * tabular.C: add some comments.
17207
17208 2001-03-22  Juergen Vigna  <jug@sad.it>
17209
17210         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17211         compatibility read a bit and fixed bug with minipage in different
17212         depth.
17213
17214 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17215
17216         * buffer.C (pop_tag): removed.
17217         (push_tag): removed.
17218         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17219         array replaced with vector. Added support for CDATA sections.
17220         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17221         at any nest level.
17222         (makeDocBookFile): XML conformant declaration of CDATA section,
17223         fixed bug related to <emphasis> in the first paragraph char.
17224         (sgmlOpenTag): exclude empty tags.
17225         (sgmlCloseTag): ditto.
17226
17227         * buffer.h (pop_tag): removed.
17228         (push_tag): removed.
17229
17230 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17231
17232         * language.h (Languages): added size_type and size().
17233
17234 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17235
17236         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17237         response on compability reading of minipages. One probliem is that
17238         the old usage of minipages was «flertydig»
17239
17240         * several files here and in subdirs: don't use static at file
17241         scope use anon namespaces instead.
17242
17243 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17244
17245         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17246         LaTeX output. This is necessary for Literate document
17247         processing.
17248
17249 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17250
17251         * buffer.C: insert hfill when needed.
17252
17253         * tabular.C (l_getline): use string::erase, small whitespace change.
17254
17255         * BufferView_pimpl.C: try the anon namespace.
17256         * WorkArea.C: ditto
17257
17258 2001-03-16  Juergen Vigna  <jug@sad.it>
17259
17260         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17261         otherwise it won't open options-dialogs.
17262
17263         * buffer.C: honor pextraWidth(p) on converting minipages.
17264
17265         * tabular.C (l_getline): changed the functions to strip trailing \r.
17266
17267 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17268
17269         * BufferView_pimpl.C:
17270         * minibuffer..C: added "using SigC::slot" declaration.
17271
17272 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17273
17274         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17275
17276         * text2.C: ditto
17277
17278         * text.C: ditto
17279
17280         * paragraph.C: ditto
17281
17282         * lyxtext.h: NO_PEXTRA
17283
17284         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17285
17286         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17287         * ParameterStruct.h: ditto
17288         * ParagraphParameters.h: ditto
17289         * lyxparagraph.h: ditto
17290
17291 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17292
17293         * buffer.C: add compability for minipage alignment.
17294         (latexParagraphs): remove unwanted pextra check.
17295
17296         * several files: remove CXX_WORKING_NAMESPACES
17297
17298         * buffer.C (pop_tag): tie is in namespace boost
17299
17300         * BufferView.h: noncopyable is in namespace boost
17301         * lyxlex.h: ditto
17302         * lyx_main.h: ditto
17303         * lyx_gui.h: ditto
17304         * layout.h: ditto
17305         * lastfiles.h: ditto
17306         * bufferlist.h: ditto
17307         * ShareContainer.h: ditto
17308         * LyXView.h: ditto
17309         * LyXAction.h: ditto
17310         * LaTeX.h: ditto
17311
17312 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17313
17314         * Merging changes from BRANCH_MVC back into HEAD.
17315
17316         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17317
17318 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17319
17320         * BufferView_pimpl.C: change from intl.C
17321
17322         * combox.h:
17323         * combox.C:
17324         * Makefile.am: move combox.*
17325
17326         * form1.h:
17327         * form1.C:
17328         * lyx_gui.C:
17329         * intl.h:
17330         * intl.C: remove dialog (covered by prefs)
17331
17332 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17333
17334         * lyxfunc.C (Dispatch): removed redundant break statement.
17335
17336 2001-03-14  Juergen Vigna  <jug@sad.it>
17337
17338         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17339
17340 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17341
17342         * buffer.C: add hack to fix compability reading of minipages.
17343
17344 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17345
17346         * buffer.C (getLists): Cleanup.
17347
17348 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17349
17350         * lyxfont.C (update): don't honor toggleall on font size.
17351
17352 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17353
17354         * bmtable.c:
17355         * bmtable.h:
17356         * Makefile.am: moved to frontends/xforms/
17357
17358         * lyx_gui_misc.C:
17359         * lyxfunc.C:
17360         * BufferView_pimpl.C: changes for moved mathpanel
17361
17362 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17363
17364         * gettext.h: fix gettext_init() in --disable-nls
17365
17366 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17367
17368         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17369
17370 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17371
17372         * lyx.C:
17373         * lyx.h: strip external form
17374
17375 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17376
17377         * BufferView_pimpl.C: add comment, destroySplash()
17378
17379 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17380
17381         * BufferView_pimpl.C:
17382         * LyXAction.C:
17383         * buffer.C:
17384         * commandtags.h:
17385         * lyxfunc.C: use re-worked insetinclude
17386
17387 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17388
17389         * buffer.C: add using std::stringstream.
17390
17391         * lyx_cb.C: readd using std::ios.
17392
17393         * buffer.C: add using std::map.
17394
17395         * BufferView_pimpl.C: add using std::vector.
17396
17397         * ShareContainer.h: add std:: to swap.
17398
17399         * buffer.h: add some typedefs
17400         * buffer.C (getLists): use them
17401         (getLists): renamed from getTocList.
17402         add a counter for the different float types and use it in the
17403         generated string.
17404         (getLists): use the same counter for the NEW_INSETS and the "non"
17405         NEW_INSETS
17406
17407         * lyx_cb.h: remove unused items, includes, using etc.
17408
17409         * ShareContainer.h: remove some commented code, add more comments
17410         and "documentation".
17411
17412 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17413
17414         * buffer.C (getTocList): make the list also when NEW_INSETS is
17415         defined.
17416
17417         * buffer.h: remove TocType
17418
17419         * buffer.C (getTocList): change to return a map<string,
17420         vector<TocItem> >, implement for dynamic number of list.
17421
17422         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17423         * text2.C (PasteSelection): adjust
17424         * CutAndPaste.C (pasteSelection): adjust
17425
17426         * FloatList.C (FloatList): update from the new_insets branch.
17427         * Floating.[Ch]: ditto
17428         * LaTeXFeatures.C: ditto
17429         * buffer.C: ditto
17430         * lyxlex_pimpl.C: ditto
17431
17432         * paragraph.C (Last): remove when NEW_INSETS is defined.
17433
17434         * other file: changes because of the above.
17435
17436 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17437
17438         * lyxparagraph.h: rename next to next_, previous to previous_,
17439         make them private for NEW_INSETS. Rename Next() to next(),
17440         Previous() to previous().
17441
17442         * other files: changes because of the above.
17443
17444 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17445
17446         * BufferView.h:
17447         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17448         problem.
17449
17450 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17451
17452         * main.C (main): pass lyx_localedir to gettext_init().
17453
17454         * gettext.h: remove locale_init and gettext_init macros
17455
17456         * gettext.C (locale_init): new function
17457         (gettext_init): new function
17458
17459         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17460         setlocale().
17461
17462 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17463
17464         * Moved credits to frontends:
17465         * credits.[Ch]: removed
17466         * credits_form.[Ch]: removed
17467         * lyx_gui_misc.C: remove credits stuff
17468         * Makefile.am:
17469
17470 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17471
17472         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17473
17474         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17475         unneeded destructor.
17476
17477         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17478         a standalone pointer again.
17479
17480         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17481
17482 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17483
17484         * Makefile.am:
17485         * filedlg.h:
17486         * filedlg.C:
17487         * LyXAction.C:
17488         * ToolbarDefaults.C:
17489         * bufferlist.C:
17490         * commandtags.h:
17491         * form1.C:
17492         * form1.h:
17493         * lyx_cb.C:
17494         * lyx_cb.h:
17495         * lyxfunc.h:
17496         * lyxfunc.C:
17497         * BufferView_pimpl.C: use new file dialog in GUII
17498
17499         * lyx_cb.h:
17500         * lyx_cb.C: remove LayoutsCB to Toolbar
17501
17502 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17503
17504         * ShareContainer.h (get): add std:: qualifier
17505
17506 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17507
17508         * ShareContainer.h: define a proper ShareContainer::value_type
17509         type (and use typename to please compaq cxx)
17510
17511 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17512
17513         * lyxparagraph.h: move serveral local vars to
17514         ParameterStruct/ParagraphParameters., use ShareContainer in
17515         FontTable., make vars in FontTable private and add getter and
17516         setter.
17517
17518         * paragraph.C: changes because of the above.
17519
17520         * lyxfont.h: remove copy constructor and copy assignment. (the
17521         default ones is ok), move number inside FontBits. move inlines to
17522         lyxfont.C
17523
17524         * lyxfont.C: add number to initializaton of statics, move several
17525         inlines here. constify several local vars. some whitespace
17526         cleanup. Dont hide outerscope variables.
17527
17528         * Spacing.h: add two new constructors to match the set methods.
17529
17530         * ShareContainer.h: new file, will perhaps be moved to support
17531
17532         * ParameterStruct.h: new file
17533
17534         * ParagraphParameters.h: new file
17535
17536         * ParagraphParameters.C: new file
17537
17538         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17539         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17540
17541         * BufferView_pimpl.C: ParagraphParameter changes.
17542         * buffer.C: Likewise.
17543         * bufferview_funcs.C: Likewise.
17544         * text.C: Likewise.
17545         * text2.C: Likewise.
17546
17547 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17548
17549         * lyxfind.C (LyXReplace): do not redefine default argument in
17550         implementation.
17551         (IsStringInText): ditto
17552         (SearchForward): ditto
17553         (SearchBackward): ditto
17554
17555 2001-03-06  Juergen Vigna  <jug@sad.it>
17556
17557         * lyxfind.C (IsStringInText): put parentes around expressions.
17558
17559 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17560
17561         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17562
17563 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17564
17565         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17566
17567         * stl_string_fwd.h: add comment
17568
17569         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17570
17571         * tabular.h:
17572         * tabular.C: remove unused DocBook methods
17573
17574         * intl.C:
17575         * language.C:
17576         * paragraph.C:
17577         * buffer.C:
17578         killed DO_USE_DEFAULT_LANGUAGE
17579
17580 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17581
17582         * lyx_gui.C: do not include language.h.
17583
17584         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17585         arguments in function implementation.
17586
17587 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17588
17589         * BufferView_pimpl.C: add <ctime>
17590
17591 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17592
17593         * BufferView_pimpl.C: add using std::find_if
17594
17595 2001-02-27  José Matos  <jamatos@fep.up.pt>
17596
17597         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17598         by OnlyPath.
17599
17600 2001-02-11  José Matos  <jamatos@fep.up.pt>
17601
17602         * buffer.C (makeDocBookFile): command styles now have a parameter as
17603         "title" by default.
17604
17605 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17606
17607         * layout_forms.[Ch]: removed
17608         * lyx_cb.[Ch]: out character
17609         * lyx_gui.C: out character
17610         * lyx_gui_misc.C: out character
17611         * bufferview_funcs.C: : out character,
17612         added toggleall as parameter in ToggleAndShow
17613
17614 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17615
17616         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17617
17618         * text2.C (SetCurrentFont): Disable number property at boundary.
17619
17620 2001-02-26  Juergen Vigna  <jug@sad.it>
17621
17622         * lyxfunc.C (getStatus): added a string argument override function so
17623         that this is correctly called from LyXFunc::Dispatch if it contains a
17624         do_not_use_argument which is used!
17625         (Dispatch): added check for "custom" export and call appropriate func.
17626
17627 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17628
17629         * lyxrc.C: Add language_command_local, language_use_babel and
17630         language_global_options.
17631
17632         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17633
17634         * buffer.C (makeLaTeXFile): Use language_use_babel and
17635         language_global_options.
17636
17637 2001-02-23  Juergen Vigna  <jug@sad.it>
17638
17639         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17640         which works with LyXText and putted it inside BufferView. Here now we
17641         only call for that part the BufferView::Dispatch() function.
17642
17643         * BufferView.C (Dispatch): added.
17644
17645         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17646         functions which needs to use a LyXText over from LyXFunc.
17647         (MenuInsertLyXFile): added
17648         (getInsetByCode): added
17649         (moveCursorUpdate): added
17650         (static TEXT): added
17651
17652 2001-02-22  Juergen Vigna  <jug@sad.it>
17653
17654         * BufferView_pimpl.C (update): call a status update to see if LyXText
17655         needs it.
17656
17657 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17658
17659         * vc-backend.C (revert): implement for CVS
17660         (getLog): implement for CVS
17661
17662 2001-02-20  Juergen Vigna  <jug@sad.it>
17663
17664         * text2.C (ClearSelection): added BufferView param for inset_owner call
17665
17666         * lyxfunc.C (TEXT): added this function and use it instead of
17667         directly owner->view()-text of getLyXText().
17668
17669 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17670
17671         * src/layout_forms.C: out preamble
17672         * src/layout_forms.h: out preamble
17673         * src/lyx_cb.C: out preamble
17674         * src/lyx_cb.h: out preamble
17675         * src/lyx_gui.C: out preamble
17676         * src/lyx_gui_misc.C: out preamble
17677         * src/lyxfunc.C: connect with guii preamble
17678
17679 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17680
17681         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17682
17683 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17684
17685         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17686         whether to run bibtex.
17687
17688 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17689
17690         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17691
17692 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17693
17694         * Makefile.am (lyx_SOURCES): removed bibforms.h
17695
17696         * vspace.h: doxygen
17697
17698         * text.C (GetVisibleRow): make several local vars const
17699
17700         * tabular.C: small cleanup.
17701
17702         * lyxserver.C (callback): use compare instead of strncmp
17703
17704         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17705         inlines to after class or to paragraph.C
17706
17707         * lyxfont.h: remove friend operator!=
17708
17709         * converter.h: move friend bool operator< to non friend and after
17710         class def.
17711
17712         * combox.h: small cleanup
17713
17714         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17715         to inlines after class def.
17716
17717         * buffer.C (pop_tag): use string operations instead of strcmp
17718
17719         * bmtable.c: doxygen, small cleanup
17720
17721         * LaTeX.h: remove friend operator==
17722
17723 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17724
17725         * screen.C:
17726         * lyxrc.[Ch]:
17727         * lyxfunc.C:
17728         * lyxfont.[Ch]:
17729         * lyx_cb.C:
17730         * intl.[Ch]:
17731         * commandtags.h:
17732         * buffer.C:
17733         * WorkArea.[Ch]:
17734         * LyXAction.C:
17735         * BufferView_pimpl.C:
17736         * BufferView.[Ch]: remove cruft
17737
17738 2001-02-14  Juergen Vigna  <jug@sad.it>
17739
17740         * lyxfunc.C: removed #if 0 unused code
17741
17742         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17743
17744         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17745
17746         * text2.C (SetSelection): added a BufferView * parameter
17747
17748 2001-02-13  Juergen Vigna  <jug@sad.it>
17749
17750         * lyxfunc.C (Dispatch): fixed protected blank problem.
17751         * BufferView2.C (protectedBlank): added LyxText * parameter.
17752
17753         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17754         (AppendColumn): same as above for column_info.
17755
17756         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17757         (moveCursorUpdate): use a LyXText param for support of InsetText.
17758
17759         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17760         (tripleClick): ditto
17761
17762         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17763
17764         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17765
17766         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17767
17768         * text2.C (SetSelection): set correct update status if inset_owner
17769         (ToggleFree): ditto
17770
17771 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17772
17773         * tabular.C: remove some commented code.
17774
17775 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17776
17777         * BufferView_pimpl.C: call hideSplash()
17778
17779         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17780
17781         * include_form.h:
17782         * bibforms.h: remove
17783
17784         * lyxfunc.C:
17785         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17786           add LFUN_CHILD_CREATE
17787
17788         * counters.h: fix tiny typo
17789
17790         * lyx_cb.C:
17791         * lyx.h:
17792         * lyx_gui.C:
17793         * lyx.C: move splash to frontends/xforms/
17794
17795         * lyx_gui_misc.C: move Include and Bibform to frontends
17796
17797         * lyxvc.h: clarify comment
17798
17799         * vspace.C: tiny housekeeping
17800
17801 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17802
17803         * text.C (PrepareToPrint): RTL Fix.
17804
17805         * paragraph.C (GetUChar): New method.
17806         (String):  Use GetUChar.
17807
17808         * buffer.C (asciiParagraph): Use GetUChar.
17809
17810 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17811
17812         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17813
17814 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17815
17816         * buffer.h:
17817         * buffer.C: rename to getLogName(), handle
17818           build log / latex log nicely
17819
17820 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17821
17822         * MenuBackend.C:
17823         * MenuBackend.h: remove support for reference menuitem type.
17824
17825 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17826
17827         * BufferView_pimpl.C: housekeeping
17828         * BufferView_pimpl.h:
17829         * LyXView.h:
17830         * Makefile.am:
17831         * Timeout.C:
17832         * Timeout.h:
17833         * minibuffer.h: move Timeout GUI-I
17834
17835 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17836
17837         * lyxrc.C (read): Update converters data-structures.
17838
17839 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17840
17841         * LaTeX.h (operator!=): add operator != for Aux_Info
17842
17843 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17844
17845         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17846
17847         * LaTeXLog.C: deleted, useful code moved to Buffer
17848
17849         * buffer.h:
17850         * buffer.C: new function getLatexLogName()
17851
17852         * lyx_gui_misc.C:
17853         * lyx_gui.C:
17854         * lyxvc.C:
17855         * lyxvc.h:
17856         * lyxfunc.C: use frontends for LaTeX and VC logs
17857
17858 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17859
17860         * LaTeX.h: yet another std:: that Allan forgot.
17861
17862         * Variables.C (set): renamed from isset(), because this clashes
17863         with some HP-UX macros (grr).
17864
17865 2001-02-06  Allan Rae  <rae@lyx.org>
17866
17867         * LaTeX.h: Another bug fix.  Missing std:: this time.
17868
17869 2001-02-04  Allan Rae  <rae@lyx.org>
17870
17871         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17872         floats problem. I've left it commented out because it's not quite
17873         correct.  It should also test that the current object is a table or
17874         figure inset.  But I haven't gotten around to figuring out how to do
17875         that.  I *think* it'll be something like: "table" == inset.type()
17876
17877         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17878         bool.
17879
17880 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17881
17882         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17883         all the citation/databases/styles in the auxilary file.
17884         (run): Rerun latex if there was a babel language error.
17885
17886 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17887
17888         * text.C (Backspace): Preserve the font when changing newline char
17889         with a space.
17890         (BreakParagraph): If the cursor is before a space, delete the space.
17891
17892         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17893
17894 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17895
17896         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17897         new argument (code).
17898         (ChangeCitationsIfUnique): New method.
17899
17900         * paragraph.C (GetPositionOfInset): Handle bibkey.
17901
17902 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17903
17904         * BufferView_pimpl.h: change type of Position::par_pos to
17905         LyXParagraph::size_type.
17906
17907 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17908
17909         * BufferView_pimpl.C (savePosition, restorePosition): Write
17910         messages to minibuffer.
17911
17912 2001-01-28  José Matos  <jamatos@fep.up.pt>
17913
17914         * buffer.C (makeDocBookFile): adds support for document language.
17915         A silly restriction on the name of LatexCommand types where removed.
17916         Added support for CDATA sections, allows to chars unescaped, used
17917         among others in code, to avoid escape < and >.
17918
17919 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17920
17921         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17922         saved positions instrad of a stack. Furthermore, a position is
17923         stored using paragraph id/paragraph position.
17924
17925         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17926         Remove LFUN_REF_BACK.
17927
17928 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17929
17930         * converter.C (dvipdfm_options): New method.
17931
17932 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17933
17934         * vspace.C (isValidLength): Fix for empty input string.
17935
17936 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17937
17938         * LyXAction.C (init): change description of LFUN_FIGURE to
17939         "Insert Graphics"
17940
17941 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17942
17943         * LaTeX.C: add using directive
17944
17945 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17946
17947         * MenuBackend.C (expand): Fix the sorting of the formats.
17948
17949 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17950
17951         * lyx_main.C: tiny error message fix
17952
17953 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17954
17955         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17956         calling fl_initialize(). This fixes the problem with ',' as
17957         decimal separator in text files.
17958
17959 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17960
17961         * trans.C (process): Fix the keymap bug.
17962
17963 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17964
17965         * LaTeX.C (scanAuxFiles): New method. Provides support for
17966         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17967         (scanLogFile) Scan for "run BibTeX" messages.
17968
17969         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17970         OT1 font encoding. Also, load the aecompl package if the ae
17971         package is loaded.
17972
17973         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17974
17975 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17976
17977         * texrow.C (increasePos): turn two error messages into debug
17978         messages.
17979
17980 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17981
17982         * LaTeX.C (scanAux): Handle the \@input macro.
17983         (runBibTeX): Use scanAux().
17984
17985         * language.C (latex_options_): New field.
17986
17987         * LaTeXFeatures.C (getMacros): Add language macros.
17988
17989         * buffer.C (makeLaTeXFile): Small fix.
17990
17991 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17992
17993         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17994
17995         * text2.C: add a using directive.
17996
17997 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17998
17999         * BufferView2.C:
18000         * lyx_gui_misc.h:
18001         * lyxfr1.C:
18002         * lyxfunc.C: kill LyXBell.
18003
18004 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18005
18006         * text.C (IsBoundary): Remove the error message
18007
18008         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18009
18010         * lyxrc.C (setDefaults): Correct initialization value for
18011         font_norm_type.
18012
18013 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18014
18015         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18016         gotoError().
18017
18018         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18019         and GotoNextNote().
18020
18021         * src/LyXAction.C: Added reference-next.
18022
18023         * text.C (InsertChar): Use contains instead of strchr.
18024
18025         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18026
18027 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18028
18029         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18030         alignment commands (when needed).
18031
18032         * text.C (InsertChar): Add ':' to number separator chars.