]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Fix bug 886 and others not reported related with the document paper size.
[lyx.git] / src / ChangeLog
1 2005-07-16  José Matos  <jamatos@fc.up.pt>
2
3         * buffer.C:
4         * converter.C:
5         * lyxrc.C:
6         * paper.h:
7         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
8         single papersize variable.
9
10 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * text3.C (dispatch): honor boundary when checking if a cursor
13         movement has been done
14
15         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
16         (setCursor, setCursorIntern): fix cursor movement with boundary
17
18 2005-07-16  Juergen Vigna  <jug@lyx.org>
19
20         * text.C (currentState): output the actual Boundary
21
22 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * factory.C (createInset): fix bad logic for tabular creation
25
26 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
27
28         * lyx_main.C (init): change some reLyX reference to tex2lyx
29
30 2005-07-16  Juergen Vigna  <jug@lyx.org>
31
32         * dociterator.C (DocIterator): initialize boundary
33
34 2005-07-16  Juergen Vigna  <jug@lyx.org>
35
36         * text2.C (getColumnNearX): Consider rows without trailing blank.  
37
38 2005-07-16  André Pönitz  <poenitz@gmx.net>
39
40         * lyxfont.h: Change order of declarations to give the compiler
41         a better chance to inline things
42
43         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
44         questions on unsaved docs for better scritability
45
46 2005-07-16  André Pönitz  <poenitz@gmx.net>
47
48         * paragraph.h (getChar): remove asserts as the same kind of security
49         can be achieved by using a suitable standard library implementation
50         and the function was in the critical path (25.9% in profiler)
51
52 2005-07-16  Juergen Vigna  <jug@lyx.org>
53
54         * cursor.C (bruteFind2):
55         * bufferview_funcs.C (coordOffset): 
56         * text.C (cursorX,cursorY): Handle cursor position after last char
57         in row before a inset which uses a whole row.
58
59 2005-07-15  José Matos <jamatos@lyx.org>
60
61         * output_plaintext.[Ch] (writeFileAscii): control reference title
62         printing.
63         (asciiParagraph): noparbreak was already deal and was incorrectly
64         used.
65
66 2005-07-15  Juergen Vigna <jug@lyx.org>
67
68         * lyxfunc.C (dispatch): save and restore the cursor after a
69         textclass switch.
70
71 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
72
73         * text.C (backspace): bug 806 for empty keepempty paragraphs we
74         change the layout to default before letting DEPM do its thing.
75
76         * paragraph_funcs.C (breakParagraph): dont reset the layout on
77         keepEmpty paragraphs
78
79         * text.C (setCursorFromCoordinates): add a debug statement
80
81         * text2.C (getColumnNearX): bug 1825 make sure that we don't
82         return a pos that is not on the row
83
84         * output_latex.C (TeXDeeper): get rid of potential dereferencing
85         of past the end iterator
86
87 2005-07-14  André Pönitz  <poenitz@gmx.net>
88
89         * undo.C (recordUndoFullBuffer): implement undo for
90         textclass switches
91
92 2005-07-14  André Pönitz  <poenitz@gmx.net>
93
94         * cursor.C (setSelection): open insets when selection is set there
95         to avoid crashs with cold coord cache
96
97 2005-07-14  André Pönitz  <poenitz@gmx.net>
98
99         * trans_mgr.C (insert): move cursor to the right after inserting
100         a char.
101
102 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
103
104         * BufferView_pimpl.C (update): dampen some of the debug blabbering
105         * factory.C (readInset): ditto
106         * text.C, text2.C: ditto
107
108 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
109
110         * buffer.C: format incremented to 242. There is no file format per
111         se, but the "frenchb" language has been removed from lib/language
112         and has to be translated to "french" by lyx2lyx.
113
114 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
115
116         * cursor_slice.h, dociterator.h: add some documentation
117         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
118
119 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
120
121         * text.C (leftMargin): do not add identation to display() style
122         insets, because they are always centered (bug 1293).
123
124 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
125
126         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
127         formatted_time methods in support/lyxtime.
128
129 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
130
131         * toc.[Ch]: new method getGuiName, which is used by the frontends 
132         to set the toc combo (fixes bug 1870). Make TOC string translatable.
133
134 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
135
136         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
137         StableDocIterator const &)
138         * undo.C (recordUndo): use the above instead of cell.size() comparison
139         (fixes bug 1808; instructed by André).
140
141 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
142
143         * cursor_slice.h: 
144         * dociterator.h: Fix the assert when copying rows/cols in math
145
146 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
147
148         * BufferView_pimpl.C:
149         * LyXAction.C:
150         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
151
152         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
153         (findInset): new functions, refactored from goto Inset that return 
154         the position of a certain inset without setting the buffer's cursor
155         (by Jean-Marc); 
156         (gotoInset): rewrite to call findInset and then set the cursor
157         (by Jean-Marc).
158
159 2005-06-16  Angus Leeming  <leeming@lyx.org>
160
161         * lyxrc.C (output, read): wrap all input and output of paths with
162         calls to os::internal_path and os::external_path, respectively.
163         (output): wrap bind_file inside quotes.
164
165         * format.C (view): enable the viewer to use the '$$s' placeholder.
166
167 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
168
169         * LColor.[Ch] (getFromLaTeXName): new
170
171 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
172
173         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
174
175 2005-06-14  Angus Leeming  <leeming@lyx.org>
176
177         * lyx_main.C (init): ensure that the LyX binary dir is the first
178         element in the PATH on non-POSIX builds.
179
180 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
181
182         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
183
184 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
185
186         * rowpainter.C (paintInset, paintHebrewComposeChar)
187         (paintArabicComposeChar, paintChars): add a LyXFont argument.
188         (paintChars): use getFontSpan to reduce calls to getFont to a
189         minimum; use Paragraph::lookupChange instead of isXXXText.
190         (paintForeignMark): rename LyXFont argument.
191         (paintFromPos): pass a LyXFont object to the various paintXXX
192         methods.
193
194         * FontIterator.C (FontIterator, operator++): use
195         Paragraph::getFontSpan
196
197         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
198         version that returns the font span as a pair.
199
200 2005-06-09  Angus Leeming  <leeming@lyx.org>
201
202         * converter.C (convert): Don't forget "outfile = real_outfile" as
203         the final step in a conversion where the input and output file names
204         are the same. Otherwise, future conversion steps won't work...
205
206 2005-06-09  Angus Leeming  <leeming@lyx.org>
207
208         * lyxsocket.C: remove stub code as it isn't needed by
209         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
210
211 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
212
213         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
214         effectively disabled -x
215
216 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
217
218         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
219         when it actually makes sense.
220
221 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
222
223         * BufferView_pimpl.C: revert to showCursor in connection with
224         Lars's front-end stack
225
226 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
227
228         * text.C (redoParagraph): move cursor right after a bibitem
229         has been inserted.
230
231         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
232
233 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
234
235         * buffer_funcs.C (bufferErrors): fix computation of the end of an
236         error range.
237
238 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
239
240         * BufferView.[Ch] (update):
241         * BufferView_pimpl.[Ch] (update, metrics):
242         * dimension.h (operator==):
243         * lyxfunc.C (dispatch):
244         * metricsinfo.h (ViewMetricsInfo):
245         * rowpainter.C (paintText):
246         * lyxtext.h:
247         * text.C (redoParagraph):
248         * text3.C (dispatch): Make LyX only repaint current paragraph in
249         case of character insert --> speedup. Also fix cursor draw
250         artifacts
251
252 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
253
254         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
255         avoid a crash (bug 1891)
256
257 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
258
259         Fix bug 1892:
260
261         * text2.C (getStringToIndex): constify cur argument.
262
263         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
264         argument has been given
265         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
266         try to invoke LFUN_INSET_APPLY).
267
268         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
269         if no inset was created by doInsertInset
270         (doInsertInset): return true if an inset has been inserted.
271
272 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         * vspace.C (asGUIName): new method. A version of the space
275         suitable for showing on screen.
276
277 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
278
279         * MenuBackend.C:
280         * lyxrc.C: rename "ASCII" to "Plain Text"
281
282 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
283
284         * buffer_funcs.C (expandLabel): take a Buffer as argument;
285         translate the labelstring.
286         (setCounter): translate labelstring as needed.
287
288         * output_docbook.C (makeCommand): fix expandLabel invokation
289
290 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
291
292         * BufferView.C: fix dialog title
293
294 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
295
296         * lyx_main.C (priv_exec): fix logic error with help from Angus
297         * lyx_main.C (parse_execute): set is_gui = false and remove now
298         obsolete comment about a segfault
299
300 2005-05-18  Angus Leeming  <leeming@lyx.org>
301
302         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
303
304 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
305
306         * tabular.[hC]: added setCellInset to fix tabular paste.
307
308 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
309
310         * buffer.C (save): check if destination is writable before trying
311         to copy a file
312
313 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
314
315         * BufferView_pimpl.C (update): fix processEvents -caused update
316         recursion bug
317
318 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
319
320         * buffer_funcs.C (setCounter): fix test for numbering of
321         environments.
322
323         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
324         depth correctly; use optional argument when it exists
325
326         * lyxtextclass.C: remove unused MaxCounterTags enum
327         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
328         (max_toclevel, min_toclevel): new methods.
329
330         * MenuBackend.C (expandToc2): fix case where depth is smaller than
331         the smallest depth in toc.
332
333         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
334         layouts that should not appear in a table of contents.
335
336 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
337
338         * cursor.h (undispatched, noUpdate): add comments from André
339
340 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
341
342         * lfuns.h:
343         * LyXAction.C:
344         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
345
346 2005-05-07  André Pönitz  <poenitz@gmx.net>
347
348         * cursor.[Ch] (leaveInset): new function
349
350 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
351
352         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
353
354 2005-05-04  Angus Leeming  <leeming@lyx.org>
355
356         * lyxfunc.C (getStatus): disable the spell checker dialog if
357         none of USE_[AIP]SPELL are defined.
358
359 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
360
361         * tabular.C (setWidthOfCell): remove obsolete comment
362
363 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
364
365         * paragraph.C (bibitem):
366         * buffer_funcs.C (setCounter):
367         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
368
369 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
370
371         * text3.C (getStatus): immediately return after setOnOff
372
373         * rowpainter.C: fix drawing of appendix start
374
375 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
376
377         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
378         SwitchBetweenClasses and remove the unused return value.
379         Handle character styles, too
380
381 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
382
383         * factory.C (createInset): handle undefined character styles
384
385 2005-05-02  Angus Leeming  <leeming@lyx.org>
386
387         * buffer.C: protect the #include of utime.h with a preprocessor
388         guard.
389
390 2005-05-02  Angus Leeming  <leeming@lyx.org>
391
392         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
393         function so that auto-saving works, albeit in a blocking manner.
394
395         * Makefile.am: make compilation of the client sub directory, of
396         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
397         on conditionals set at configure time.
398
399         * SpellBase.[Ch]: no longer an abstract base class. Instead,
400         it can be compiled in its own right but has no-op functionality.
401
402         * aspell.C, pspell.C: remove preprocessor guards. The files should
403         be compiled only if the necessary functionality exists.
404
405         * lyxserver.C, lyxsocket.C: disable on Windows.
406
407 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
408
409         * text.C (leftMargin): Fix the parindent use bug (1764)
410         by dirty trick
411
412 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
413
414         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
415         argument.
416
417 2005-04-25  Angus Leeming  <leeming@lyx.org>
418
419         * Bidi.[Ch]:
420         * coordcache.[Ch]:
421         * ispell.C:
422         * lyxserver.C:
423         * mover.C:
424         * pch.h:
425         include <config.h> in .C files, not .h ones.
426         add licence blurb.
427         protect headers inside preprocessor guards.
428
429 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
430
431         * FuncStatus.h (StatusCodes): document
432
433 2005-04-21  André Pönitz  <poenitz@gmx.net>
434
435         * FuncStatus.h (enabled, onoff): document
436
437 2005-04-19  Angus Leeming  <leeming@lyx.org>
438
439         * BufferView_pimpl.C (cursorToggle): no longer test whether
440         any child processes have been reaped before calling
441         handleCompletedProcesses().
442
443 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
444
445         * text3.C (dispatch): fix, finally fix, the language problem in
446         new lyxtexts, without disabling on-the-fly font changes (Helge's
447         bug report)
448
449 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
450
451         * text3.C (dispatch): set cursor on double/triple click events
452         (bug 1811)
453
454 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
455
456         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
457         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
458
459         * rowpainter.C (paintFirst): simplify the code a little bit. In
460         particular, remove the test for secnumdepth.
461         * text.C (setHeightOfRow): only allocate space for chapter number
462         when updateCounters provided an actual label, instead of looking
463         at secnumdepth directly.
464
465         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
466
467         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
468         paragraphs when secnumdepth is large enough or, for environments,
469         when they are not the first in a sequence.
470
471 2005-04-17  Angus Leeming  <leeming@lyx.org>
472
473         * buffer.C (makeLaTeXFile): replace code to manipulate a path
474         containing space and '~' characters with a call to latex_path().
475
476 2005-04-17  Angus Leeming  <leeming@lyx.org>
477
478         * converter.C (convert): protect all args of convertDefault.sh
479         script with quotes.
480
481 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
482
483         * text3.C (dispatch): change the layout to "Caption" after inserting
484         a float.
485
486 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
487
488         * text3.C (dispatch): fix language problem in newly created
489         textinsets (and main text) in non-english docs
490
491 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
492
493         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
494         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
495         * text3.C (getStatus): disable LFUN_INSET_MODIFY
496
497 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
498
499         * lyxtext.h:
500         * text.C (metrics):
501         * text2.C (getFont):
502         * rowpainter.C (getFont): Fix metrics bug introduced by inset
503         fonts fix
504
505 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
506
507         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
508         output of \item arguments without trailing text.
509
510 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
511
512         * FontIterator.C (operator*): avoid a copy of the font.
513
514 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
515
516         * rowpainter.C (getFont): fix language bug from previous fix
517
518 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
519
520         * rowpainter.C (RowPainter, getFont): fix font inside inset
521         (bugs 1766, 1809)
522
523 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
524
525         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
526         preventing inserted font, deco, delim insets jumping to start of
527         surrounding inset.
528
529 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
530
531         * lyxfunc.C (dispatch): translate message before sending it to the
532         minibuffer.
533
534 2005-03-29  Angus Leeming  <leeming@lyx.org>
535
536         * lyx_main.C (priv_exec): call os::internal_path on each file passed
537         to LyX on the command line.
538
539 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
540
541         * vc-backend.C: use QuoteName to protect file names wherever
542         necessary.
543
544 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
545
546         * buffer.[Ch]:
547         * BranchList.h: fix bugs 1844,1845: document settings don't
548         stick
549
550 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
551
552         * lyxrc.C (setDefaults, read, output, getDescription): add support
553         for tex_allows_spaces.
554
555         * exporter.C (Export): allows files in directory containing spaces
556         if tex_allows_spaces is true.
557
558         * buffer.C (makeLaTeXFile): if the document path contains spaces,
559         output it in double quotes.
560
561 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
562
563         * rowpainter.C: use default text height for drawing change tracker
564         strikeout lines.
565
566 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
567
568         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
569
570 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
571
572         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
573         directory is missing.
574
575 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
576
577         * text2.C: fixed the fix, extended to other case.
578
579 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
580
581         * text2.C: fix for cursor up/down stuck in math [bug 1792]
582
583 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
584
585         * text2.C (cursorUp): get rid of a crash
586         * text.C (x2pos): add an assert
587
588 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
589
590         * lyxfunc.C (getStatus): fix warning when assertions are disabled
591
592         * text3.C:
593         * lyxfunc.C:
594         * dociterator.C: include <boost/current_function.hpp>, which is
595         needed when assertions are disabled.
596
597 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
598
599         * text2.C: fix for stuck cursor when traversing two
600         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
601
602 2005-02-25  Andreas Vox  <avox@arcor.de>
603
604         * output_docbook.C (makeParagraph): suppress trailing newline
605         after a run of paragraphs
606
607 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
608
609         * paragraph.C: fix for confused change tracker when pasting
610         text that begins with a lineseparator. [bug 1827]
611         (setChange(0, Change::INSERTED);)
612
613         * paragraph_funcs.C: fix for lost changes on triple-paste
614         in change tracking mode [bug 1827] (par.setChange()).
615
616 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
617
618         * text2.C (updateCounters, setCounter, expandLabel): move to
619         buffer_funcs.
620
621         * buffer_funcs.C (updateCounters): turn into a free standing
622         function and add a buffer parameter. Remove dead code for tracking
623         labelstring change.
624         (setCounter): change into a free-standing function which gets a
625         dociterator as argument. Use this iterator to fix captions in a
626         simple way. When no float is found above the caption, use the
627         labelstring of the caption layout as default.
628
629         * text.C (breakParagraph, backspace):
630         * text2.C (init, setLayout, changeDepth):
631         * text3.C (dispatch):
632         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
633         updateCounters.
634
635         * dociterator.C (forwardPar): make it much faster by calling
636         forwardPos() only when really necessary.
637
638         * output_docbook.C (makeCommand): adapt to expandLabel move.
639
640         * cursor.C: remove unused variable
641
642 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
643
644         * paragraph_funcs.C: fix crash when pasting insets in change
645         tracking mode [bug 1277] (honour change type in moveItem).
646
647 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
648
649         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
650
651 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
652
653         * BufferView.C (setCursor): change to use a DocIterator.
654         (gotoLabel): use BufferView::setCursor (other part of bug 781).
655         (putSelectionAt): adapt to BufferView::setCursor change.
656
657         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
658         moved here from LyXText and rewritten to use proper cursor
659         methods. Fixes bug 1787, 616 and 835.
660
661         * BufferView_pimpl.C (restorePosition): set the cursor correctly
662         when inside an inset (part of bug 781).
663         (dispatch): adapt to change of BufferView::setCursor.
664         (getStatus, dispatch): handle LFUN_GOTOERROR,
665         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
666
667         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
668         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
669         * text3.C (gotoNextInset, gotoInset): removed.
670
671 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
672
673         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
674
675 2005-02-15  Angus Leeming  <leeming@lyx.org>
676
677         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
678         can be used meaningfully in a comparison.
679
680 2005-02-13  André Pönitz  <poenitz@gmx.net>
681
682         * bufferview_funcs.C (coordOffset): improve cursor drawing
683
684 2005-02-13  André Pönitz  <poenitz@gmx.net>
685
686         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
687         * Cursor.C (dispatch): use fixIfBroken
688         * lyxfunc.C (getStatus): use fixIfBroken
689
690 2005-02-15  Angus Leeming  <leeming@lyx.org>
691
692         * lyx_main.C (error_handler):
693         * lyxfunc.C:
694         * lyxrc.C (setDefaults):
695         s/GetEnv/getEnv/.
696         #include "environment.h".
697
698         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
699
700 2005-02-15  Angus Leeming  <leeming@lyx.org>
701
702         * lyxserver.C (startPipe): squash MSVC warning "local variable
703         'fd' used without having been initialized".
704
705 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
706
707         * BufferView_pimpl.C: revert accidental commit.
708
709 2005-02-14  André Pönitz  <poenitz@gmx.net>
710
711         * dociterator.[Ch]: new member forwardPosNoDescent(),
712         which doesn't enter nested insets.
713         * text2.C (setFont): use forwardPosNoDescent() instead
714         of ForwardPos() (fixes crash on font change).
715
716 2005-02-13  Angus Leeming  <leeming@lyx.org>
717
718         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
719         only if lyxrc.path_prefix is not empty.
720
721 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
722
723         * bufferparams.C (readGraphicsDriver): prevent crash
724
725 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
726
727         * text2.C (setCounter): check for inInset() == 0
728
729 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
730
731         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
732         but use update() to get correct screen display; use convert
733         instead of istringstream.
734         (getStatus): handle LFUN_GOTO_PARAGRAPH
735
736         * lyxfunc.C (dispatch, getStatus): do not handle
737         LFUN_GOTO_PARAGRAPH here.
738
739 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
740
741         * text3.C (dispatch): size() -> depth()
742
743         * text2.C: remove some debug output
744
745         * paragraph.C: ws changes only
746
747         * lyxfunc.C (getStatus): size() -> depth()
748
749         * dociterator.h (clear, push_back, pop_back, internalData,
750         operator[], resize, empty): new functions
751         Make StableDocIterator and operator== be friends. Don't inherit
752         from std::vector use a privat class variable slices_ instead.
753         Modify to fit.
754
755         * dociterator.C: update because of not inheriting from std::vector
756         anymore. Call explictly to slices_ instead. Use depth() instead of
757         size() and top() instead of back()
758
759         * cursor.C: chagne size() -> depth and back() -> top(). Also
760         remove some direct operator[](i) calls in favour of foo[i]
761         (getFont): remove some dead code
762
763         * bufferview_funcs.C (coordOffset): size() -> depth()
764
765         * buffer.C: ws changes only
766
767         * CutAndPaste.C (eraseSelection): back() -> top()
768
769         * BufferView_pimpl.C (selectionRequested): back() -> top()
770
771         * BufferView.C (setCursor): size() -> depth()
772
773 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
774
775         * text3.C (cursorPrevious): return true if depm changed something
776         (cursorNext): ditto
777         (dispatch): rename sl to oldTopSlice, remove moving use the new
778         NoUpdate func attrib instead. Make sure that needsUpdate is set
779         for function that have NoUpdate, but where depm might have changed
780         the buffer anyway.
781
782         * text2.C (cursorLeft): make us return true if depm changed
783         something
784         (cursorRight): ditto
785         (cursorUpParagraph): ditto
786         (curosrDownParagraph): ditto
787         (cursorUp, cursorDown): ditto, make sure to read comments in code
788         (deleteEmptyParagraphMechanism): remove an assert, also return
789         true if just a single char was deleted.
790
791         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
792         cursor that we modify, to avoid modifying an active cursor before
793         we call setCursor. This allows depm to run. Also return true if
794         depm deleted something.
795
796         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
797         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
798         cursorDownParagraph, cursorPrevious and cursorNext, return true if
799         something was changed in the buffer because of them (ie. depm run)
800
801         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
802         debug messages. Make update by default be false. Make sure that
803         the result of update is retained throught several calls down to
804         dispatch.
805
806         * LyXAction.h: add a new func_attrib: NoUpdate
807
808         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
809         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
810         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
811         and LFUN_WORDLEFT
812         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
813
814 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
815
816         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
817         bv_->owner(), bv_->buffer() by direct references to the private
818         members.
819         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
820         (getStatus): isSavedPosition() is in BufferView::Pimpl.
821         (fitCursor): center() is in BufferView::Pimpl.
822         (getStatus, trackChanges, dispatch): no need for a temporary buf
823         variable
824         (fitCursor, workAreaDispatch): use workarea().workheight()
825
826 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
827
828         * CutAndPaste.C (pasteSelectionHelper): fix a crash
829
830 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
831
832         * buffer.C: format up to 241.
833         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
834         break if pasting into ERT
835         * lyxfunc.C (getStatus): suppress mathpanel and
836         LFUN_DIALOG_SHOW_NEW_INSET in ERT
837
838 2005-02-01  Angus Leeming  <leeming@lyx.org>
839
840         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
841
842 2005-02-01  Angus Leeming  <leeming@lyx.org>
843
844         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
845         calling fs::is_directory().
846
847 2005-01-31  Angus Leeming  <leeming@lyx.org>
848
849         * lyx_main.C (priv_exec): specify explicitly the relative location
850         of the top level build directory when run in-place.
851
852 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
853
854         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
855         LyXText containing the cursor, not the top-level one.
856
857         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
858         true.
859         (insertStringAsLines): rename par to pit; use temporary variable
860         par to hold a Paragraph; do not store par.layout() in a variable,
861         since the pointer may die when breaking paragraphs; pass pars to
862         breakParagraph() instead of Buffer::paragraphs().
863
864 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
865
866         * lyxlex_pimpl.h: #include <fstream>.
867
868         * BufferView.[Ch] (getLyXText): add a const version.
869
870         * BufferView_pimpl.C: add debug aids.
871
872         * RowList_fwd.h:
873         * buffer.h:
874         * lyxrow.h:
875         * paragraph_funcs.h: add commentary explaining what the class does.
876
877
878         * coordcache.[Ch]: add lots of commentary.
879         (startUpdating, doneUpdating): debug aids.
880         (arrays, insets, parPos, getParPos): accessors to private data.
881
882         * cursor_slice.[Ch] (text): add a const version.
883         * dociterator.[Ch] (text, innerText): add const versions.
884
885         * lyxtext.h (breakParagraph): change the keep_layout arg to a
886         bool.
887
888         * paragraph.C (getRow, pos2ros): add asserts.
889
890         * paragraph.h: add commentary. Lots of.
891
892         * paragraph.[Ch] (metrucs, draw): removed.
893
894         * cursor.C:
895         * rowpainter.[Ch]: const-correct changes.
896
897         * text.C: various obvious clean-ups. Removal of ancient cruft.
898         Bug fixes, even.
899
900 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
901
902         * vc-backend.C (find_file): rewrite to use boost.filesystem
903         (scanMaster): ditto
904
905         * main.C (main): set default name check for boost.filesystem to
906         no check
907
908         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
909         (open): ditto
910         (doImport): ditto
911         (actOnUpdatedPrefs): ditto
912
913         * lyx_main.C (init): rewrite to use boost.filesystem
914         (queryUserLyXDir): ditto
915
916         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
917         (getContentsOfAsciiFile): ditto
918
919         * lastfiles.C (readFile): rewrite to use boost.filesystem
920
921         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
922
923         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
924         (loadLyXFile): ditto
925
926         * buffer.C (Buffer): adjust for destroydir
927         (getLogName): rewrite to use boost.filesystem
928         (setFileName): ditto
929         (save): use fs::copy_file (from fs_extras)
930
931         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
932
933         * LaTeX.C (run): rewrite to use boost.filesystem
934         (scanAuxFiles): ditto
935         (handleFoundFile): ditto
936
937 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
938
939         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
940
941         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
942
943 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
944
945         * lyxlayout.[Ch]: change some vars from float to double
946
947         * buffer.C (readFile): make a local var const
948
949         * Several files: use convert<> instead of atoi,strToXXX and friends
950
951 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
952
953         * LaTeXFeatures.[Ch]: Add a static list packages_ that
954         holds the contents of packages.lst. New functions getAvailable
955         and isAvailable to parse and check that list, resp.
956
957         * LyXAction.C:
958         * lfuns.h:
959         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
960
961         * bufferparams.[Ch]: new param output_changes.
962
963         * Buffer.C: increase file format to 240.
964         Use output_changes and isVailable.
965
966         * changes.[Ch]:
967         * paragraph.C:
968         * paragraph_pimpl.C: Use output_changes and isVailable.
969
970 2005-01-23  Angus Leeming  <leeming@lyx.org>
971
972         * output_latex.C: #include "insetbibitem.h", rather than
973         forward declare function bibitemWidest.
974
975 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
976
977         * lyx_main.C (init): make it compile on the Mac.
978
979 2005-01-20  Angus Leeming  <leeming@lyx.org>
980
981         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
982         (setLyXMisc): (char string literal) != (char string literal) is
983         performing a comparison on the addresses. Convert one operand
984         explicitly to string to guarantee expected behaviour.
985         From MSVC warning.
986
987 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
988
989         * buffer.C:
990         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
991
992         * output_plaintext.C: remove unneeded #include gzstream.h.
993
994 2005-01-20  Angus Leeming  <leeming@lyx.org>
995
996         * SpellBase.h: rename some of the elements of the Result enum.
997
998         * aspell_local.h:
999         * ispell.h:
1000         * pspell.h:
1001         * aspell.C (check):
1002         * ispell.C (check):
1003         * pspell.C (check): ditto
1004
1005 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1006
1007         * buffer.C: add #include <fstream>.
1008
1009         * lyx_main.C (init): Compile fix.
1010
1011         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1012
1013 2005-01-20  Angus Leeming  <leeming@lyx.org>
1014
1015         * mover.h: change commentary to reflect the changed meaning of
1016         the $$s placeholder.
1017
1018 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1019
1020         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1021
1022         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1023
1024 2005-01-20  Angus Leeming  <leeming@lyx.org>
1025
1026         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1027         printing diagnostic data by not dereferecing an iterator past the
1028         end.
1029
1030 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1031
1032         * buffer.C (readHeader): use "&&" rather than "and".
1033
1034         * lyxserver.h (inPipeName, outPipeName): make these const.
1035
1036 2005-01-19  Angus Leeming  <leeming@lyx.org>
1037
1038         * lyx_main.C (error_handler, init): protect SIGHUP with
1039         #ifdef SIGHUP guards.
1040
1041 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1042
1043         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1044
1045 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1046
1047         * text.C (setHeightOfRow): add a margin at the top and bottom of
1048         the document (bug 1761)
1049
1050 2005-01-17  Angus Leeming  <leeming@lyx.org>
1051
1052         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1053         with "python ". Workaround for a brain-dead Windows.
1054
1055 2005-01-16  Angus Leeming  <leeming@lyx.org>
1056
1057         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1058         for MacOSX and Windows to use prependEnvPath.
1059         Strip out the hard-coded block to add elements to the PATH for
1060         MacOSX and replace it with a call to prependEnvPath using the
1061         contents of LyXRC::path_prefix.
1062         (queryUserLyXDir): strip out the code to run reconfigure, instead
1063         returning a boolean indicating the necessity to do so.
1064         (reconfigureUserLyXDir): contains the code to reconfigure the
1065         user support directory. Is now called after the various LyXRC data
1066         files have been read.
1067
1068         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1069
1070 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1071
1072         * converter.[Ch] (convert): take a new parameter try_default. Use
1073         a default converter (imagemagick) if try_default is true.
1074
1075 2005-01-13  Angus Leeming  <leeming@lyx.org>
1076
1077         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1078         os::cygwin_path_fix.
1079         (write): output LyXRC::cygwin_path_fix as necessary.
1080
1081 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1082
1083         * lyxrc.h:
1084         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1085
1086 2005-01-12  Angus Leeming  <leeming@lyx.org>
1087
1088         * lyx_main.C (init): set the PATH variable to include the
1089         directory containing the LyX binary when running on Mac or Windows.
1090
1091 2005-01-12  Angus Leeming  <leeming@lyx.org>
1092
1093         * lyx_main.C (init): remove cruft that purports to set the locale
1094         dir. It doesn't and is not needed anyway.
1095
1096 2005-01-10  Angus Leeming  <leeming@lyx.org>
1097
1098         * Makefile.am: remove the lyx_main.C special casing.
1099
1100         * BufferView_pimpl.C:
1101         * bufferlist.C:
1102         * exporter.C:
1103         * lyx_cb.C:
1104         * lyx_main.C:
1105         * lyxfunc.C:
1106         * messages.C: use support/package.h to provide the paths to the
1107         various directories used by LyX.
1108
1109 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1110
1111         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1112         layout if pasting into an empty paragraph)
1113
1114 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1115
1116         * tex-accent.C: add <string>
1117
1118 2005-01-06  José Matos  <jamatos@lyx.org>
1119
1120         * ParagraphParameters.C (write): put every parameter in its own line.
1121         * paragraph.C (write): reduce number of consecutive empty lines exported.
1122         * buffer.C (LYX_FORMAT): increase file format to 239.
1123
1124 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1125
1126         * everywhere: change support/tostr.h -> support/convert.h
1127
1128         * tabular.C: make all write_attributes templates, tostr -> convert
1129
1130         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1131         (emptyTag): and -> &&, and fix type for ret from getChar
1132         (getFirstWord): fix type for ret from getChar
1133         (onlyText): and -> &&
1134         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1135         getChar
1136
1137         * toc.C (goTo, action):
1138         * text3.C (dispatch):
1139         * text.C (currentState):
1140         * tex-accent.C (DoAccent):
1141         * sgml.C:
1142         * lyxrc.C:
1143         * lyxfunc.C (menuNew):
1144         * lyxfinc.C (replace):
1145         * counters.C (laberItem):
1146         * bufferview_funcs.C (font2string):
1147         * bufferparams.C (writeFile):
1148         * buffer.C (readFile):
1149         * Spacing.C (set):
1150         * MenuBackend.C: tostr -> convert
1151
1152         * LaTeX.C (runMessage): fix format
1153         (scanAuxFiles): tostr -> convert
1154
1155         * BufferView_pimpl.C (savePosition): fix format
1156         (restorePosition): ditto
1157         (dispatch): ditto
1158
1159 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1160
1161         * Spacing.[Ch]: New method getValueAsString().
1162
1163         * Spacing.[Ch]:
1164         * bufferparams.C:
1165         * ParagraphParameters.C:
1166         * lyxlayout.C:
1167         * text.C:
1168         * text3.C: store/read spacing value as string.
1169
1170         * rowpainter.C: change float value (spacing_val) to double.
1171
1172         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1173         broken custom document spacing).
1174
1175 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1176
1177         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1178         namespace, also more use of temp references and const
1179
1180         * cursor.[Ch] (getStatus): move to lyxfunc.C
1181
1182         * bufferparams.C: reformat slightly
1183
1184         * bufferview_funcs.C (font2string): constify arg
1185
1186         * changes.C:
1187         * converter.C:
1188         * counters.C:
1189         * bufferlist.C:
1190         * buffer_funcs.C: (many funcs): constify arg on function
1191         definitions, also make more local vars const, also add ASSERTS on
1192         pointer args.
1193
1194         * buffer.C (LYX_FORMAT): put const in correct place
1195         (many funcs): constify arg on function definitions, also make
1196         more local vars const
1197
1198         * aspell_local.h: remove "struct" from typdef setup
1199
1200         * aspell.C (check): make word_ok const
1201         (nextMiss): simplify slightly
1202         (error): ditto
1203
1204 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1205
1206         * lyxrc.[Ch]: store all float values as strings.
1207         use int (not float) for lyxrc.dpi.
1208
1209 2005-01-04  Angus Leeming  <leeming@lyx.org>
1210
1211         * lyx_cb.C (Reconfigure):
1212         * lyx_main.C (queryUserLyXDir):
1213         to run the <system_lyxdir>/configure correctly on Windows, prefix
1214         the path to the script with "sh " when generating the string that
1215         is passed to system().
1216
1217 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1218
1219         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1220
1221 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1222
1223         * lyxlength.C (asLatexString): get rid of setprecision
1224
1225 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1226
1227         * text2.C (setLayout): remove unused variable endpit.
1228         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1229
1230         * paragraph.C (onlyText): remove unused variable style.
1231
1232         * cursor.C (bruteFind): remove unused variables beg and end.
1233
1234         * Makefile.am (dist_noinset_DATA): not needed anymore
1235
1236         * cheaders/*: remove.
1237
1238 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1239
1240         * text3.C: fix LFUN_MATH_MODE.
1241
1242 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1243
1244         * buffer_funcs.C (countWords): new function. Counts words between
1245         two iterators.
1246
1247         * BufferView_pimpl.C (getStatus, dispatch): handle
1248         LFUN_WORDS_COUNT.
1249
1250         * LyXAction.C (init):
1251         * lfuns.h: add LFUN_WORDS_COUNT.
1252
1253 2004-12-19  Angus Leeming  <leeming@lyx.org>
1254
1255         * buffer.C (save): s/slashify_path/internal_path/.
1256
1257 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1258
1259         * lyxfind.C (findChange): do not search for end of pars, because
1260         the change tracker cannot handle this (fixes bug 1719).
1261
1262 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1263
1264         * paragraph.[Ch] (autoBreakRows): remove
1265
1266         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1267
1268         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1269         avoid using the paragraph one
1270
1271         * text2.C (LyXText, insertStringAsLines): adjust
1272
1273 2004-12-16  Angus Leeming  <leeming@lyx.org>
1274
1275         * bufferlist.C:
1276         * lyx_main.C:
1277         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1278
1279 2004-12-14  Angus Leeming  <leeming@lyx.org>
1280
1281         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1282
1283         * bufferlist.C (emergencyWrite):
1284         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1285         GetEnvPath("HOME").
1286
1287 2004-12-14  Angus Leeming  <leeming@lyx.org>
1288
1289         * main.C: (main): no longer pass pointers to os::init.
1290
1291 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1292
1293         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1294         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1295
1296 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1297
1298         * lyxfunc.C:
1299         * text3.C: remove selection_possible global flag
1300
1301 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1302
1303         * text2.C (getSelectionSpan): remove
1304         (changeDepth, changeDepthAllowed): adjust
1305
1306 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1307
1308         * Makefile.am (BOOST_LIBS): use boost variables
1309
1310 2004-12-03  José Matos  <jamatos@lyx.org>
1311
1312         * buffer.C: format up to 238.
1313
1314 2004-12-03  José Matos  <jamatos@lyx.org>
1315
1316         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1317
1318 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1319
1320         * cursor.C (goUpDown): remove call to idxUpDown2
1321
1322 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1323
1324         * tabular.[Ch]: use size_t-like types for cell, row and column
1325         indices
1326
1327 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1328
1329         * lyxfunc.C (getStatus): do not lose previous information when
1330         calling BufferView::getStatus; do not set a default "Command
1331         disabled" message at the beginning, but just before returning.
1332
1333 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1334
1335         * cursor.h (getStatus): add better comment from src/cursor.C
1336
1337 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1338
1339         * text3.C (getStatus): return false when the lfun is not handled
1340
1341 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1342
1343         * broken_headers.h: remove
1344
1345         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1346
1347 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1348
1349         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1350         offset_ref accessors
1351
1352         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1353         top_y_, merge fitcursor with update
1354         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1355         coord scheme
1356         (metrics): introduce
1357         (workAreaDispatch): adapt to new coord scheme
1358         (redoCurrentBuffer): remove
1359
1360         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1361
1362         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1363         CurStatus enum.
1364
1365         * coordcache.[Ch]: add paragraph cache and helpers
1366
1367         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1368         adjust everywhere
1369
1370         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1371         (targetX, setTargetX): introduce
1372
1373         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1374         baseline -> ascent, as the rest of lyx
1375
1376         * lyxtext.h: remove redoParagraphs, updateParPositions,
1377         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1378         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1379         have ascent/descent (ascent is ascent of first par)
1380
1381         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1382         step of BufferView
1383
1384         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1385
1386         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1387
1388         * pariterator.C: fix infinite loop introduced in par->pit renaming
1389
1390         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1391         in insets and LyXText, draw two off-screen paragraphs using
1392         NullPainter, and adapt to new coord scheme
1393
1394         * text.C:
1395         * text2.C:
1396         * text3.C: adapt lfun handlers to the new coord scheme, which
1397         means: there's only guaranteed coord information for onscreen pars
1398         plus one above and one below. This implies that one can do search
1399         from y coordinates in the range [-1,workHeight]
1400
1401 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1402
1403         * rename a lot of InsetOld to InsetBase
1404
1405 2004-11-25  Angus Leeming  <leeming@lyx.org>
1406
1407         * BufferView_pimpl.C:
1408         * lyx_cb.C:
1409         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1410
1411 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1412
1413         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1414         call BufferView::getStatus if LCursor::getStatus did nothing
1415         (setStatusMessage, getStatusMessage): removed.
1416
1417         * FuncStatus.C (message): new methods. Used to provide an error
1418         message indicating why a command is disabled.
1419         (clear, |=, FuncStatus): update for message.
1420
1421 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1422
1423         * lyxfunc.C (dispatch): always call sendDispatchMessage
1424
1425 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1426
1427         * BufferView.C:
1428         * BufferView_pimpl.C:
1429         * CutAndPaste.C:
1430         * FontIterator.C:
1431         * buffer.C:
1432         * cursor.C:
1433         * cursor_slice.[Ch]:
1434         * dociterator.[Ch]:
1435         * lyxfind.C:
1436         * paragraph_funcs.C:
1437         * pariterator.C:
1438         * rowpainter.C:
1439         * text.C:
1440         * text2.C:
1441         * text3.C:
1442         * undo.C: par->pit renaming
1443
1444 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1445
1446         * tabular.C (cellstruct): use initialization, store a shared_ptr
1447         to insettext instead of the insettext directly, adjust to fit.
1448         (operator=):  new function
1449         (swap): new function
1450         (rowstruct): use initialization
1451         (columnstruct): use initialization
1452         (ltType): use initialization
1453
1454
1455         * lyxlength.h (swap): new function
1456
1457         * LColor.[Ch] (operator=): use the common semantics
1458
1459 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1460
1461         * lyxfind.C (findNextChange): update the bufferview after setting
1462         the selection.
1463
1464 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1465
1466         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1467         number of InsetOptArgs has already been inserted.
1468
1469         * output_latex.C (latexOptArgInsets): new method. This outputs all
1470         the optarg insets, up to the limit defined in the layout file.
1471         (optArgInset): removed
1472         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1473
1474 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1475
1476         * paragraph.C (isLetter): remove special spellchecker-related
1477         code; return true also for digits
1478         (isWord, isKomma): remove
1479
1480         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1481         * lyxfind.C (MatchString()): use isLetter instead of isWord
1482
1483 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1484
1485         * pariterator.h (operatir=): comment out un-implemented member
1486         function.
1487
1488         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1489         static cast.
1490
1491 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1492
1493         * lyxfont.h: include LColor.h to satisfy concept checks.
1494
1495 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1496
1497         * pariterator.h: add typdefs for value_type, difference_type,
1498         pointer and reference to satisfy concept checks. Also add default
1499         constructor for same reason.
1500
1501         * pariterator.C (operator++): add post-increment operator to
1502         satisfy concept checks.
1503
1504         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1505         checks.
1506
1507         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1508
1509         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1510         checks. Also rename base_type to BaseType to follow naming
1511         standard better.
1512
1513         * FloatList.h: include Floating.h to satisfy concept checks.
1514
1515 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1516
1517         * lyxfunc.C (getStatus): when the origin of the request is menu or
1518         toolbar, and the LyXView does not have focus, do as if there was
1519         no buffer (bug 1720)
1520
1521         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1522         FuncRequest to individual entries of LFUN_SEQUENCE
1523
1524 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1525
1526         * output_latex.C (TeXOnePar): override runparams.moving_arg
1527         according to the needprotect value of the current paragraph (bug
1528         1739)
1529
1530         * paragraph.C (simpleTeXOnePar): no need to override
1531         runparams.moving_args here
1532
1533 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1534
1535         * vspace.C: fix off-by-one-error, related to fix #1682
1536
1537 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1538
1539         * lengthcommon.C: a more general fix for bug 1682
1540
1541 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1542
1543         * text.C (backspace): fix crash
1544
1545 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1546
1547         * format.[Ch] (getFormatFromFile): new method
1548         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1549
1550 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1551
1552         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1553
1554 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1555
1556         * lyxfunc.C (dispatch): remove the verbose argument
1557         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1558         instead
1559
1560         * kbmap.C (defkey): set the origin of func to KEYBOARD
1561
1562         * MenuBackend.C (MenuItem):
1563         * ToolbarBackend.C (add): set the origin of func to UI
1564
1565         * funcrequest.[Ch]: add origin member, which indicates which part
1566         of LyX requests an action
1567
1568 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1569
1570         * converter.C (move): don't lie in the error message
1571         * converter.h (isReachable, move): document
1572
1573 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1574
1575         * buffer.C: remove unused using lyx::support::atoi
1576         * paragraph_funcs.C: ditto
1577
1578 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1579
1580         * bufferlist.C (exists): use bind and equal_to instead of
1581         compare_memfun
1582         (getBuffer): ditto
1583         * lyxtextclasslist.C (NumberOfClass): ditto
1584
1585         * cursor.C (insert): use for_each instead of explicit for loop
1586
1587         * bufferlist.C (getFileNames): use std::transform and
1588         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1589
1590         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1591         for loop
1592
1593         * buffer.C (changeLanguage): use for_each instead of explicit for
1594         loop
1595         (hasParWithID): implement using getParFromID
1596
1597         * LaTeXFeatures.C: ws change only
1598
1599         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1600         to cleanup a bit.
1601
1602         * BufferView_pimpl.C (trackChanges): use for_each instead of
1603         expilicit for loop
1604
1605 2004-11-04  André Pönitz  <poenitz@gmx.net>
1606
1607         * undo.h:
1608         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1609
1610         * dociterator.C (asDocIterator): use hard assert again.
1611
1612 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1613
1614         * lyxlength.C (asLatexString): rewrite so that it does not use
1615         snprintf anymore
1616
1617 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1618
1619         * text3.C (specialChar, dispatch): make sure cursor moves to the
1620         right after inserting an inset
1621
1622 2004-11-02  José Matos  <jamatos@lyx.org>
1623
1624         * output_docbook.C (docbook):
1625         * paragraph.C (getID):
1626         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1627         garantee that the output is always legal.
1628
1629         * tabular.C (docbook):
1630         * outputprams.[Ch]: remove mixed contents.
1631
1632 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1633
1634         * text2.C (setCounter): prevent endless loop
1635
1636 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1637
1638         * exporter.C (copyFile): use the mover instead of support::copy()
1639         * exporter.C (Export): pass format and latex name to copyFile()
1640         * exporter.h (addExternalFile): document
1641         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1642
1643 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1644
1645         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1646
1647 2004-10-30  José Matos  <jamatos@lyx.org>
1648
1649         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1650         text and no inset or font change. This allows to use CDATA
1651         sections just for the whole paragraph.
1652
1653 2004-10-30  José Matos  <jamatos@lyx.org>
1654
1655         * paragraph.C (getFirstWord): remove unused variable.
1656
1657 2004-10-30  José Matos  <jamatos@lyx.org>
1658
1659         * paragraph.C (getFirstWord): the content should always be escaped
1660         there.
1661         (simpleDocBookOnePar):
1662         * output_docbook.C (makeEnvironment): replace reference to CDATA
1663         to style pass_thru.
1664
1665 2004-10-30  José Matos  <jamatos@lyx.org>
1666
1667         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1668
1669 2004-10-30  José Matos  <jamatos@lyx.org>
1670
1671         * output_docbook.C (makeParagraphs):
1672         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1673         standard paragraph has only a given type of content drop the wrapper.
1674
1675 2004-10-29  José Matos  <jamatos@lyx.org>
1676
1677         * output_docbook.C (makeEnvironment):
1678         * sgml.C (openTag):
1679         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1680
1681 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1682
1683         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1684         (cleanID): sanitize any id.
1685
1686 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1687
1688         * buffer.C, lyxlex_pimpl.C:
1689         * lyxlex_pimpl.C (setFile):
1690         s/getExtFromContents/getFormatFromContents/
1691
1692 2004-10-28  José Matos  <jamatos@lyx.org>
1693
1694         * output_docbook.C (makeEnvironment): move id to broadest possible
1695         scope.
1696
1697         * sgml.C (openTag): apply substitution of <> for all attributes.
1698
1699 2004-10-28  José Matos  <jamatos@lyx.org>
1700
1701         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1702         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1703         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1704
1705         * sgml.[Ch]: new version for open and closeTag for paragraph and
1706         for strings. Now they handle the ids of paragraphs.
1707
1708 2004-10-26  Angus Leeming  <leeming@lyx.org>
1709
1710         * Makefile.am: add mover.[Ch].
1711
1712         * converter.C (convert, move): use the new Movers to move external
1713         files to the temp directory.
1714
1715         * lyx_main.C (init): ensure that the global system_movers data
1716         is initialised.
1717
1718         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1719         preferences file.
1720
1721         * mover.[Ch]: new files, defining a Mover as a utility to move an
1722         external file between directories and, if necessary, manipulate this
1723         file using a helper script.
1724
1725 2004-10-25  José Matos  <jamatos@lyx.org>
1726
1727         * output_docbook.C (makeCommand): merge two if's that tested the
1728         same condition.
1729
1730 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1731
1732         * sgml.C (escapeString): fix warning in a better way
1733
1734 2004-10-25  José Matos  <jamatos@lyx.org>
1735
1736         * sgml.C (escapeString): import the require boosts header file for
1737         tie, and avoid a signed unsigned comparison.
1738
1739 2004-10-25  José Matos  <jamatos@lyx.org>
1740
1741         * sgml.h: add #include <string>
1742
1743 2004-10-25  José Matos  <jamatos@lyx.org>
1744
1745         * sgml.[Ch] (escapeString): new function to escape all the string.
1746
1747 2004-10-24  José Matos  <jamatos@lyx.org>
1748
1749         * paragraph.[Ch] (getFirstWord): new function to get the first
1750         word. Useful for description.
1751         (simpleDocBookOnePar): remove depth argument, add another that
1752         says where to start the paragraph.
1753
1754         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1755         use the new functions to fix cleanly the support for descriptions.
1756
1757 2004-10-24  José Matos  <jamatos@lyx.org>
1758
1759         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1760         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1761         * output_linuxdoc.C (linuxdocParagraphs):
1762         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1763         add buffer as argument.
1764
1765 2004-10-24  José Matos  <jamatos@lyx.org>
1766
1767         * output_docbook.C (makeEnvironment, searchEnvironment): place
1768         CDATA inside paragraphs and fix scope for listitems.
1769
1770 2004-10-24  José Matos  <jamatos@lyx.org>
1771
1772         * output_docbook.C: remove using statement for stack.
1773
1774 2004-10-23  José Matos  <jamatos@lyx.org>
1775
1776         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1777         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1778         docbook. The new scheme is recursive and makes use of iterators, the
1779         same as latex export works.
1780         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1781         directly with the paragraph contents. This code was moved up to
1782         output_docbook.C (docbookParagraphs).
1783         * sgml.C (openTag, closeTag): removed unneeded newlines.
1784         (closeEnvTags) removed.
1785
1786 2004-10-23  André Pönitz  <poenitz@gmx.net>
1787
1788         * undo.C (textUndoOrRedo):
1789         * dociterator.C (asDocIterator): work around crash
1790
1791         * cursor.C (getStatus): replace ASSERT by more verbose error message
1792           and manual correction of the problem. Should increase stability
1793           while providing more sensible information.
1794
1795 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1796
1797         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1798
1799         * bufferlist.C (previous, next): new methods
1800
1801         * lfuns.h:
1802         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1803
1804 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1805
1806         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1807         entities to preamble.
1808
1809 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1810
1811         * messages.C (Pimpl): strip off translation context information
1812
1813 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1814
1815         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1816         the cursor is correct (bug 1694)
1817
1818 2004-10-13  José Matos  <jamatos@lyx.org>
1819
1820         * output_docbook.C (docbookParagraphs): fix closing tags in the
1821         end of the document.
1822
1823 2004-10-09  José Matos  <jamatos@lyx.org>
1824
1825         * buffer.C: format up to 237.
1826         * bufferparams.C (write): use tostr to convert booleans to strings.
1827
1828 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1829
1830         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1831
1832 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1833
1834         * LaTeX.C: implement use of babel language in xindy.
1835
1836 2004-10-05  José Matos  <jamatos@lyx.org>
1837
1838         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1839         Add new translators to help reading and writing the lyx file.
1840
1841 2004-10-05  José Matos  <jamatos@lyx.org>
1842
1843         * ParagraphParameters.C (read):
1844         * text.C (readParToken): replace nexToken by more appropriate lex
1845         methods.
1846
1847 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1848
1849         * LaTeX.C (runMakeIndex):
1850         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1851         (usually 'makeindex') configurable.
1852
1853         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1854         with a variable rather than with a number.
1855
1856 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1857
1858         * output_latex.C (TeXOnePar): make sure font setting is the first
1859         thing that gets output (and the last at the end). Should fix bug
1860         1404.
1861
1862 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1863
1864         * pch.h: use proper signal include
1865
1866         * LaTeX.h: Use preferred calling of Boost.Signal
1867         * buffer.h: ditto
1868
1869 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1870
1871         * pch.h: dont include <boost/function/function0.hpp>
1872
1873         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1874
1875         * paragraph_pimpl.h: remove usage of ShareContainer
1876
1877         * paragraph_pimpl.C: remove initialization of ShareContainer.
1878
1879 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1880
1881         Fix bug #1666
1882
1883         * BufferView.C (putSelectionAt): change the semantics when
1884         backwards == true: now, this just swaps cursor and anchor wrt the
1885         forward case
1886
1887         * BufferView.h (putSelectionAt): add some documentation
1888
1889         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1890         make sure backwardChar is done at least once (to avoid getting
1891         stuck)
1892         (findNextChange): use putSelectionAt in the forward direction
1893         (operator()): use Paragraph::isWord
1894
1895 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1896
1897         * Spacing.C (set): c_str fix
1898
1899 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1900
1901         * lyx_cb.C (Reconfigure): quote the name of configure script in
1902         case it contains spaces
1903
1904 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1905
1906         * client: new dir
1907
1908         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1909         (BOOST_LIBS): use top_buildir when looking for the file
1910
1911 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1912
1913         * pch.h: do not use include boost/format.hpp, multiple symbols
1914                 will result (gcc bug)
1915
1916
1917 2004-08-23  José Matos  <jamatos@lyx.org>
1918
1919         * bufferparams.C (readToken): fix reading of the author field.
1920
1921 2004-08-20  José Matos  <jamatos@lyx.org>
1922
1923         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1924
1925 2004-08-20  José Matos  <jamatos@lyx.org>
1926
1927         * lyxlex.[Ch] (findToken): remove function.
1928
1929         * ParagraphParameters.C (findToken):
1930         * bufferparams.C (findToken): replace call for previous function
1931         with local copy. This local function has one more argument, the
1932         read string argument.
1933
1934 2004-08-16  José Matos  <jamatos@lyx.org>
1935
1936         * ParagraphParameters.C (write):
1937         * Spacing.C (writeFile):
1938         * bufferparams.C (writeLaTeX):
1939         * lyx_cb.C (Reconfigure):
1940         * paragraph.C (write):
1941         * tabular.C (write): remove unnecessary space at end of line.
1942
1943
1944 2004-08-16  José Matos  <jamatos@lyx.org>
1945
1946         * text.C (readParagraph): remove debug message.
1947
1948 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1949
1950         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1951         crash
1952
1953         * output_plaintext.C (asciiParagraph): set depth correctly
1954
1955         * outputparams.h: add member depth
1956
1957         * paragraph_funcs.C (ownerPar): remove.
1958
1959         * text2.C (setCounter): remove first_pit; comment out some
1960         non-working code that uses ownerPar
1961
1962         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1963         uses ownerPar
1964
1965 2004-08-16  José Matos  <jamatos@lyx.org>
1966
1967         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1968         For the same level of importance use the same chanel to report problems.
1969         (read): add code to deal with \begin_body and \end_body.
1970
1971
1972 2004-08-15  José Matos  <jamatos@lyx.org>
1973
1974         * lyxlex.C (getString): fix comment, buffer::readBody is now
1975         buffer:readDocument.
1976
1977         * tex-strings.C (string_papersize): Default -> default,
1978         Custom -> custom, for consistency with other options.
1979
1980 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1981
1982         * pch.h: new file
1983
1984         * Makefile.am: support pch
1985
1986 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1987
1988         * text.C (readParToken): remove the static LyXFont variable and
1989         pass it as a parameter instead. This fixes a nasty bug where an
1990         inset will be inserted with a bad font in some situations
1991         (readParagraph): adapt
1992
1993         * text2.C (setCounter): reduce number of calls to pars_[pit]
1994
1995         * text.C (singleWidth): add an assert, fix a test
1996
1997         * rowpainter.C (paintText): reduce number of calls to singleWidth
1998
1999         * paragraph.C (isHfill):
2000         (isNewline): ws only
2001
2002 2004-08-14  André Pönitz  <poenitz@gmx.net>
2003
2004         * text.C:
2005         * text2.C:
2006         * rowpainter.C:
2007         * lyxtext.h (several functions): use a Paragraph & argument
2008         instead of par_type
2009
2010 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2011
2012         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2013
2014         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2015
2016         * text.C (singleWidth): remove useless test
2017
2018 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2019
2020         * tabular.h: remove bogus comments
2021
2022         * tabular.C (getDescentOfRow):
2023         (isPartOfMultiColumn): add assertions
2024
2025         * lyxlength.C (inPixels): remove #warning
2026
2027 2004-08-14  André Pönitz  <poenitz@gmx.net>
2028
2029         * paragraph.h: inline getChar()
2030
2031         * BufferView.h: remove unused declarations
2032
2033 2004-08-14  José Matos  <jamatos@lyx.org>
2034
2035         * Buffer.[Ch] (readDocument): new name for old readBody.
2036         * Buffer.C: new file format, new keywords: \begin_document,
2037         \begin_header, \begin_body, \end_body.
2038
2039         * bufferparams.C (readToken): replace all calls to lex.nextToken
2040         by lex.next(). Do the same to eatLine except where really needed.
2041
2042         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2043         line when writing to the lyx file.
2044
2045         * output_plaintext.C (asciiParagraph): fix Bibliography style
2046         handling.
2047
2048         * text.C (read): fix end of file handling.
2049
2050 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2051
2052         * MenuBackend.C (Menu::operator[]): new method to access
2053         individual menu items
2054         (Menu::hasFunc): new method. search for an item that corresponds
2055         to a given func
2056         (MenuBackend::specialMenu): new method
2057         (MenuBackend::expand): if a special menu has been set, skip
2058         entries whose func() appears in this menu
2059
2060 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2061
2062         * text3.C: use Debug::DEBUG a bit more
2063
2064         * text.C (leftMargin): try to simplify a tiny bit change var x to
2065         l_margin. Dont output the wide margins always.
2066         (rightMargin): no margin in inner texts
2067
2068         * rowpainter.h (nestMargin): new func
2069         (changebarMargin): new func
2070         (rightMargin): new func
2071
2072         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2073         now functions.
2074         (paintLast): ditto
2075
2076         * factory.C (createInset): modify setDrawFrame
2077
2078         * cursor.C: use Debug::DEBUG a bit more
2079
2080 2004-08-14  André Pönitz  <poenitz@gmx.net>
2081
2082         * coordcache.[Ch]:
2083         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2084         cache for all insets in (at least partially) visible (top-level)
2085         paragraphs.
2086
2087         * BufferView_pimpl.C: reset external coord cache before every update.
2088         This means the coord cache only contains valid entries.
2089
2090 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2091
2092         bug 1096
2093         * BufferView_pimpl.C (getInsetByCode): move function out of class
2094         and change in to a template in anon namespace. Also fix to do what
2095         suits us better.
2096
2097 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2098
2099         bug 1305
2100         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2101         of char
2102         (breakParagraph): rename par to par_offset and use a local
2103         reference. Add code to keep the language over a rebreak.
2104         (breakParagraphConservative): rename par to par_offset, use a
2105         local reference
2106         (mergeParagraph): ditto
2107         (outerHook): ditto
2108         (isFirstInSequence): ditto
2109         (outerFont): rename pit to par_offset
2110
2111         * paragraph.C: ws change
2112         * paragraph.h: ditto
2113         * text3.C: ditto
2114         * text.C: ditto
2115
2116 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2117
2118         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2119         treatment for ']'
2120
2121         * paragraph.C (simpleTeXOnePar): when we have a \item with
2122         optional argument, enclose the argument with curly brackets (in
2123         case it contains a closing square bracket)
2124
2125         * text2.C (editXY):
2126         * text2.C (editXY):
2127         * text3.C (checkInsetHit): constify
2128
2129 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2130
2131         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2132         documents (bug 1629)
2133
2134 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2135
2136         Fix toggling of collapsable insets with the mouse (bug 1558)
2137
2138         * lyxfunc.C (dispatch): adapt to LCursor changes
2139
2140         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2141         make sure that dispatch is not invoked twice
2142
2143         * cursor.C (needsUpdate): new method
2144         (dispatch): return void
2145         (result): new method, to access the DispatchResult of the cursor.
2146
2147 2004-08-13  José Matos  <jamatos@lyx.org>
2148
2149         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2150
2151 2004-08-13  André Pönitz  <poenitz@gmx.net>
2152
2153         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2154
2155         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2156           multiple cells
2157
2158 2004-08-12  André Pönitz  <poenitz@gmx.net>
2159
2160         * text3.C: take out the 'cursor right' form insertInset and only
2161         do it in those places when it is really needed. Fixes crash on
2162         C-m...
2163
2164 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2165
2166         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2167
2168         * BufferView_pimpl.C (setBuffer): initialize the current font of
2169         the underlying LyXText
2170
2171 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2172
2173         * kbsequence.C (print): use UI native formatting for menu
2174         shortcuts
2175
2176         * text.C (insertChar): call Paragraph::insertChar with a font
2177         argument (cosmetic)
2178
2179         * paragraph.C (insertInset, insertChar): the version that takes a
2180         LyXFont argument is now a wrapper around the other one (the
2181         opposite used to be true).
2182
2183         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2184         argument. Font setting is done in Paragraph now.
2185
2186 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2187
2188         * outputparams.h: add new members intitle and lang.
2189
2190         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2191         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2192
2193 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2194
2195         * text3.C (dispatch): remove special handling of button 4 and 5,
2196         it is now taken care of in the frontend code.
2197
2198 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2199
2200         * Spacing.h: add <string> (STLPort compile fix)
2201
2202 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2203
2204         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2205
2206 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2207
2208         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2209         to bool.
2210
2211         * converter.C (showMessage): inherit from unary_function, make
2212         operator() const.
2213
2214         * buffer.C (writeFile): initialize retval
2215
2216         * InsetList.h: rename private variable list to list_
2217         * InsetList.[Ch]: adjust accordingly.
2218
2219 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2220
2221         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2222         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2223         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2224         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2225         * ParagraphParameters.C, LaTeXFeatures.C: replace
2226         "support/std_sstream.h" with <sstream>
2227
2228 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2229
2230         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2231         * lyxsocket.C (LyXServerSocket): ditto
2232         (serverCallback): ditto
2233
2234 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2235
2236         * LaTeXFeatures.C: check release date when loading jurabib.
2237
2238 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2239
2240         * lyxserver.C (startPipe): call register_socket_callback
2241         (endPipe): call unregister_socket_callback
2242
2243 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2244
2245         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2246         (LyXServerSocket): register the callback
2247         (LyXServerSocket): unregister the callback
2248         (fd): delete function
2249         (serverCallback): improve error checking and setup the callbacks.
2250         (dataCallback): change arg to fd.
2251         (writeln): new func (copied fro the client socket) used for server
2252         write to client.
2253         (LyXDataSocket): simplify
2254         (~LyXDataSocket): close ann unregiser callback
2255         (server): delete function
2256         (fd): delete function
2257         (readln): small changes, improve some std::string usage
2258         (writeln): constify a bit
2259
2260 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2261
2262         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2263         Qt frontend
2264
2265 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2266
2267         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2268         after it has been populated
2269
2270 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2271
2272         * text2.C (insertInset): move cursor when inserting inset.
2273
2274 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2275
2276         * kbmap.C (findbindings): a couple of new methods. returns a
2277         container of kb_sequence objects. The real work is done by the
2278         private recursive version
2279         (printbindings): uses findbindings to print out a bracketed list
2280         of bindings (renamed from findbinding).
2281
2282         * MenuBackend.C (binding): use kb_keymap::findbindings
2283
2284         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2285
2286 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2287
2288         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2289
2290 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2291
2292         * paragraph.C (isWord): return true on insets that report
2293         isLetter().
2294
2295         * text.C (getWord): use Paragraph::isWord to decide what is in a
2296         word and what is not; fix bug 1609.
2297
2298 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2299
2300         * tex-strings.C: add "none" to string_paperpackages[], fixes
2301         off-by-one-error in the paperpackage selection.
2302
2303         * lyxlex.[Ch]:
2304         * tex-strings.[Ch]: char const * string[n]
2305         -> char const * const string[]
2306
2307 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2308
2309         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2310         command, return early.
2311
2312 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2313
2314         * debug.h: add DEBUG to enum and fix size of ANY.
2315
2316         * debug.C: add support for Debug::DEBUG
2317         (showTags): cast errorTags.level to unsigned int
2318
2319         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2320         (redoCurrentBuffer): ditto
2321         (updateScrollbar): ditto
2322         * cursor.C (dispatch): ditto
2323         * text2.C (setLayout): ditto
2324         (setFont): ditto
2325         (updateCounters): ditto
2326         (editXY): ditto
2327         (deleteEmptyParagraphMechanism): ditto
2328
2329 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2330
2331         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2332         annotations to cleanup the Makefile slightly.
2333
2334 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2335
2336         * lyxrc.C: do not set user_email to a default value but use empty
2337         instead. The entry used to be translated, which does not work
2338         since at the point where lyxrc is constructed there is no
2339         translation service available
2340
2341         * messages.C (getLocaleDir): remove and use directly
2342         lyx_localedir() instead
2343
2344 2004-06-02  Angus Leeming  <leeming@lyx.org>
2345
2346         Fix crash caused by dereferencing null pointer 'exportdata' in
2347         OutputParams by creating a new ExportData variable on the heap,
2348         storing it in a boost::shared_ptr.
2349         The crash was triggered when generating an Instant Preview
2350         of an external inset.
2351
2352         * Makefile.am: add outputparams.C
2353
2354         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2355         (c-tor): allocate memory to it.
2356
2357         * exporter.C (c-tor): associated changes.
2358
2359 2004-06-01  Angus Leeming  <leeming@lyx.org>
2360
2361         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2362         contains data before calling isInset(0). (Bug 1513.)
2363
2364 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2365
2366         * exporter.C (checkOverwrite): new method
2367         * exporter.C (copyFile): new method
2368         * exporter.C (Export): copy referenced files to the document dir
2369         * exporter.[Ch]: new class ExportedFile
2370         * exporter.[Ch]: new class ExportData. Contains currently the
2371         names of referenced external files
2372         * outputparams.h: add exportdata member.
2373
2374 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2375
2376         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2377         version.C-tmp
2378
2379 2004-05-19  Angus Leeming  <leeming@lyx.org>
2380
2381         * LaTeXFeatures.C:
2382         * ToolbarBackend.C:
2383         * bufferparams.C:
2384         * lyxfunc.C: small changes due to the introduction of namespace
2385         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2386
2387 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2388
2389         * text3.C (dispatch): supress update when only moving the cursor
2390         * cursor.C (selHandle): remove commented code
2391
2392 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2393
2394         * paragraph.C (startTeXParParams): correct column count
2395         * CutAndPaste.C (pasteSelection): remove const_cast
2396         * output_docbook.C (docbookParagraphs): remove const_cast
2397         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2398         const_cast and return ParagraphList::const_iterator
2399         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2400         * output_plaintext.C (writeFileAscii): remove const_cast
2401         * paragraph.[Ch] (simpleTeXOnePar): make const
2402         * paragraph_funcs.C (outerPar): use const iterators
2403         * paragraph_pimpl.C (validate): use const iterators
2404         * text.C (setHeightOfRow): use const iterators
2405
2406 2004-05-17  Angus Leeming  <leeming@lyx.org>
2407
2408         * lfuns.h:
2409         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2410
2411         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2412         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2413         if the citation engine has changed.
2414
2415 2004-05-14  José Matos  <jamatos@lyx.org>
2416
2417         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2418         if the textclass does not provide it. Have it different for sgml and
2419         xml.
2420         support the language of document.
2421         * output_docbook.C (docbookParagraphs):
2422         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2423         first anchor as the id of the paragraph, remove special case code.
2424         * sgml.C (escapeChar): escape only < & >.
2425
2426 2004-05-14  Angus Leeming  <leeming@lyx.org>
2427
2428         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2429         dependencies on src/frontends/controllers/biblio.h. Define a
2430         CiteEngine_enum wrapper class to enable the enum to be forward
2431         declared.
2432
2433 2004-05-12  Angus Leeming  <leeming@lyx.org>
2434
2435         * buffer.C: up LYX_FORMAT to 234.
2436         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2437         use_numerical_citations with a single biblio::CiteEngine cite_engine
2438         variable.
2439         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2440
2441 2004-05-13  José Matos  <jamatos@lyx.org>
2442
2443         * converter.h:
2444         * converter.C (Converter, readFlags): add xml member.
2445         * outputparams.h: add XML flavor.
2446         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2447
2448 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2449
2450         * lyxfunc.C (dispatch):
2451         (getStatus): fix handling of LFUN_SEQUENCE
2452
2453 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2454
2455         * debug.C (showLevel): do not forget the end-of-line marker
2456
2457 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2458
2459         * kbmap.C (read): do not stop parsing a bind file when an error
2460         occurs (bug 1575)
2461
2462 2004-04-29  Angus Leeming  <leeming@lyx.org>
2463
2464         * cursor.C:
2465         * factory.C:
2466         * pariterator.C:
2467         * text2.C: wrap a bunch of #warning statements
2468         inside #ifdef WITH_WARNINGS blocks.
2469
2470 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2471
2472         * buffer.C: increment format to 233.
2473
2474 2004-04-28  Angus Leeming  <leeming@lyx.org>
2475
2476         * BufferView_pimpl.C:
2477         * lyxfunc.C:
2478         * text3.C:
2479         s/updateToolbar()/updateToolbars()/
2480         s/Toolbar.h/Toolbars.h/
2481
2482 2004-04-28  Angus Leeming  <leeming@lyx.org>
2483
2484         * BufferView.[Ch] (c-tor):
2485         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2486         No longer passes these data to the WorkArea generator.
2487
2488 2004-04-28  Angus Leeming  <leeming@lyx.org>
2489
2490         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2491
2492 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2493
2494         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2495
2496 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2497
2498         * output_latex.C (TeXEnvironment): make sure that there is a line
2499         break before \end{foo} for the last paragraph of a document
2500         (TeXOnePar): if the paragraph is at the end of the document (or
2501         inset) and the language has to be reset, then make sure that the
2502         line break is _before_ the language command, not after (fixes bug
2503         1225); also make sure that the language reset command is the first
2504         thing after the paragraph (to ensure proper nesting of
2505         environments and thus fix bug 1404)
2506
2507 2004-04-21  John Levon  <levon@movementarian.org>
2508
2509         * ToolbarBackend.h:
2510         * ToolbarBackend.C: make "name" be a programmatic name
2511         and a gui_name field.
2512
2513         * lyxfunc.C: display the minibuffer on M-x
2514
2515 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2516
2517         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2518         (bug 1526)
2519
2520 2004-04-19  Angus Leeming  <leeming@lyx.org>
2521
2522         * BufferView_pimpl.C (setBuffer): changed preview interface.
2523
2524         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2525         possible values.
2526
2527 2004-04-19  John Levon  <levon@movementarian.org>
2528
2529         * BufferView_pimpl.C:
2530         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2531
2532 2004-04-05  Angus Leeming  <leeming@lyx.org>
2533
2534         * text.C (redoParagraphs): add call to updateCounters(), thereby
2535         fixing the missing "Figure #:" label from the caption of a
2536         figure float.
2537
2538 2004-04-13  Angus Leeming  <leeming@lyx.org>
2539
2540         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2541         cursor is clicked out of an inset.
2542
2543 2004-04-13  Angus Leeming  <leeming@lyx.org>
2544
2545         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2546         than an InsetOld one.
2547
2548 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2549
2550         * format.[Ch]: add editor to Format
2551         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2552         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2553
2554 2004-04-08  André Pönitz  <poenitz@gmx.net>
2555
2556         * metricsinfo.h: remove PainterInfo::width member
2557
2558 2004-04-08  Angus Leeming  <leeming@lyx.org>
2559
2560         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2561         "\providecommand" rather than "\newcommand", thereby preventing
2562         clashes with packages that define "\boldsymbol" themselves.
2563         Eg, beamer.
2564
2565 2004-04-08  Angus Leeming  <leeming@lyx.org>
2566
2567         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2568         thereby squashing an unnecessary warning.
2569
2570 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2571
2572         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2573         setBuffer()
2574
2575 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2576
2577         * BufferView.C (setCursor): call redoParagraph (some insets could
2578         have been opened)
2579         (putSelectionAt): remove the 'double update' trick
2580
2581         * BufferView_pimpl.C (fitCursor): call refreshPar
2582         (workAreaDispatch): remove an uneeded update call
2583         (dispatch): remove some manual update calls
2584
2585         * cursor.[Ch]: remove cached_y_, updatePos
2586         (selHandle): set noUpdate when appropriate
2587
2588         * lyxfunc.C (dispatch): track if we need an update
2589
2590         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2591
2592         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2593         (paintSelection): cheap optimization, do not call cursorX when not
2594         needed
2595         (paintPars): change signature
2596         (refreshPar): add
2597         (paintText): adjust
2598         (paintTextInset): adjust
2599
2600         * text.C: adjust
2601
2602 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2603
2604         * lengthcommon.C: compilation fix: remove explicit array size from
2605         unit_name[] and friends
2606
2607 2004-04-05  Angus Leeming  <leeming@lyx.org>
2608
2609         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2610
2611         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2612         present only for the preferences dialog.
2613         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2614
2615 2004-04-05  Angus Leeming  <leeming@lyx.org>
2616
2617         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2618         to enable the frontends to export changes to lyxrc correctly.
2619
2620         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2621
2622 2004-04-07  André Pönitz  <poenitz@gmx.net>
2623
2624         * cursor.[Ch] (selClear, adjust): remove math
2625
2626         * cursor_slice.C: more agressive assert
2627
2628         * lyxfunc.C:
2629         * BufferView_pimpl.C: rework mouse event dispatch
2630
2631         * dociterator.C:
2632         * paragraph.C:
2633         * text2.C:
2634         * text3.C: adjust
2635
2636 2004-04-05  André Pönitz  <poenitz@gmx.net>
2637
2638         * cursor.[Ch] (valign, halign...): remove unneeded functions
2639
2640 2004-04-05  Angus Leeming  <leeming@lyx.org>
2641
2642         * lyxlength.[Ch] (unit_name et al.): const-correct.
2643
2644 2004-04-05  Angus Leeming  <leeming@lyx.org>
2645
2646         * BufferView_pimpl.C:
2647         * buffer.C:
2648         * counters.C:
2649         * cursor.C:
2650         * lyxfunc.C
2651         * paragraph.C:
2652         * pariterator.C:
2653         * text.C:
2654         * text2.C:
2655         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2656
2657 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2658
2659         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2660
2661 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2662
2663         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2664         * BufferView_pimpl.[Ch] (getStatus)
2665         * BufferView.[Ch] (getStatus): add
2666         * lyxfunc.C (getStatus): move lfuns handled in
2667         BufferView::dispatch to te function above
2668         * Cursor.C (setSelection): set selection() = true
2669
2670 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2671
2672         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2673
2674 2004-03-31  Angus Leeming  <leeming@lyx.org>
2675
2676         * lyxfunc.C (dispatch): Fall through to the generic
2677         Dialogs::show("preamble").
2678
2679 2004-03-31  Angus Leeming  <leeming@lyx.org>
2680
2681         * lyxfunc.C (dispatch): Fall through to the generic
2682         Dialogs::show("spellchecker").
2683
2684 2004-03-31  Angus Leeming  <leeming@lyx.org>
2685
2686         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2687         preferences dialog.
2688
2689 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2690
2691         * BufferView.C
2692         * cursor.[Ch]
2693         * dociterator.[Ch]:
2694         * insetiterator.[Ch]:
2695         * lyxfind.C:
2696         * lyxfunc.C:
2697         * pariterator.[Ch]:
2698         * text2.C:
2699         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2700
2701 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2702
2703         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2704         insets where we are putting the cursor.
2705
2706 2004-03-31  Angus Leeming  <leeming@lyx.org>
2707
2708         * lfuns.h:
2709         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2710
2711         * lyxrc.[Ch] (read, write): overloaded member functions taking
2712         a std::[io]stream arguments.
2713
2714         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2715
2716 2004-03-31  Angus Leeming  <leeming@lyx.org>
2717
2718         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2719         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2720
2721         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2722         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2723
2724 2004-03-31  Angus Leeming  <leeming@lyx.org>
2725
2726         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2727         the LFUN_ALL_INSETS_TOGGLE code.
2728
2729 2004-03-30  Angus Leeming  <leeming@lyx.org>
2730
2731         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2732         has died. Fall through to the generic Dialogs::show("document").
2733
2734 2004-03-30  Angus Leeming  <leeming@lyx.org>
2735
2736         * lfuns.h:
2737         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2738         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2739
2740         * lyxfunc.C (getStatus, dispatch): define the actions for these
2741         lfuns. Little more than a cut and pste job from ControlDocument.C
2742
2743         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2744
2745 2004-03-30  Angus Leeming  <leeming@lyx.org>
2746
2747         * lfuns.h:
2748         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2749         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2750
2751         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2752         open/closed state of ollapsable insets. Usage:
2753
2754         all-inset-toggle <state> <name>, where
2755         <state> == "open" || "closed" || "toggle" and
2756         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2757
2758         * lyxtext.h, text2.C (toggleInset): removed.
2759
2760         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2761         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2762         now passes LFUN_INSET_TOGGLE to the found inset.
2763
2764         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2765         is now invoked as "all-insets-toggle toggle branch".
2766
2767 2004-03-30  Angus Leeming  <leeming@lyx.org>
2768
2769         * dociterator.C:
2770         * insetiterator.C:
2771         * pariterator.[Ch]: added/corrected header blurb.
2772
2773 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2774
2775         * dociterator.[Ch]: add an inset_ member
2776         (backwardPos): implemented
2777         (backwardPos, forwardPos): use inset_ when the stack is empty.
2778         (doc_iterator_begin, doc_iterator_end): implemented
2779         * pariterator.[Ch]: adjust, add begin, end
2780         * insetiterator.[Ch]: adjust, add begin, end
2781         * cursor.C:
2782         * document.C:
2783         * BufferView.C:
2784         * BufferView_pimpl.C:
2785         * CutAndPaste.C: adjust
2786
2787 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2788
2789         * buffer.C: increment file format to 232.
2790         * LaTeXFeatures.C: add bibtopic package.
2791         * bufferparams.[Ch]: param \use_bibtopic.
2792
2793         * lyxrc.[Ch]: add lyxrc bibtex_command
2794         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2795
2796         * buffer.C: increment file format to 231.
2797
2798 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2799
2800         * dociterator.C: implement forwardPar
2801         * iterators.[Ch]: remove, replaced by
2802         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2803         * BufferView.C:
2804         * BufferView_pimpl.C:
2805         * CutAndPaste.C:
2806         * buffer.C:
2807         * bufferview_funcs.C:
2808         * cursor.C:
2809         * lyxfind.C
2810         * lyxfunc.C
2811         * paragraph_funcs.C
2812         * toc.C:
2813         * Makefile.am: adjust
2814
2815 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2816
2817         * CutAndPaste.C (pasteSelection): fix 2 crashes
2818         (eraseSelection): fix a crash
2819         * paragraph_funcs.C: remove a warning
2820
2821 2004-03-28  Angus Leeming  <leeming@lyx.org>
2822
2823         * lfuns.h:
2824         * LyXAction.C (init): new LFUN_PRINT.
2825
2826         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2827
2828 2004-03-27  Angus Leeming  <leeming@lyx.org>
2829
2830         * lfuns.h:
2831         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2832
2833         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2834
2835 2004-03-27  Angus Leeming  <leeming@lyx.org>
2836
2837         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2838         insetlist always contains non-null pointers to insets.
2839
2840 2004-03-26  Angus Leeming  <leeming@lyx.org>
2841
2842         * src/BufferView_pimpl.C:
2843         * src/CutAndPaste.C:
2844         * src/buffer.C:
2845         * src/iterators.C:
2846         * src/output_plaintext.C:
2847         * src/outputparams.h:
2848         * src/paragraph_funcs.C:
2849         * src/rowpainter.C:
2850         * src/text.C:
2851         * src/text2.C:
2852         * src/frontends/controllers/ControlErrorList.C:
2853         * src/frontends/gtk/FileDialogPrivate.C:
2854         * src/frontends/gtk/GPainter.C:
2855         * src/frontends/gtk/GToolbar.C:
2856         * src/frontends/qt2/QRef.C:
2857         * src/mathed/math_scriptinset.C: squash compiler warnings.
2858
2859 2004-03-26  Angus Leeming  <leeming@lyx.org>
2860
2861         * ispell.C (LaunchIspell::start):
2862         * lyx_cb.C (AutoSaveBuffer::start):
2863         invoke run(DontWait) rather than runNonBlocking().
2864
2865 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2866
2867         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2868
2869 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2870
2871         * kbsequence.C (print): adjust
2872
2873         * kbmap.C (printKeySym): rename and change signature
2874         (printKey): use LyXKeySym::print()
2875
2876 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2877
2878         * undo.C: add using std::advance to compile for stlport
2879
2880 2004-03-24  Angus Leeming  <leeming@lyx.org>
2881
2882         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2883         it leads to a crash when no buffer is present.
2884
2885 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2886             Martin Vermeer  <martin.vermeer@hut.fi>
2887
2888         * lyxfunc.C (dispatch):
2889         * bufferparams.C (readToken): use the new LColor::setColor
2890
2891         * LColor.[Ch] (setColor): new version that takes two strings as
2892         argument and creates a new color entry if necessary
2893
2894 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2895
2896         * buffer.C (makeLaTeXFile): if the main latex file that is
2897         processed is usually a subdocument of some master, then pretend
2898         for a while that it is actually the master
2899
2900 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2901
2902         * buffer.C (getLabelList):
2903         (getBibkeyList): use getMasterBuffer()
2904         (getMasterBuffer): new method. Returns the main document in the
2905         case where one is using included documents.
2906
2907 2004-03-25  André Pönitz  <poenitz@gmx.net>
2908
2909         * Makefile.am:
2910         * iterators.[Ch]:
2911         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2912
2913         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2914
2915         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2916         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2917
2918         * ParameterStruct.h: merge with ParagraphParameters
2919
2920         * lyxtext.h: remove LyXText::parOffset() and getPar()
2921
2922         * text3.C: Remove all 'manual' update calls. We do now one per user
2923         interaction which is completely sufficient.
2924
2925         * Bidi.C:
2926         * BufferView.[Ch]:
2927         * BufferView_pimpl.C:
2928         * FontIterator.[Ch]:
2929         * MenuBackend.C:
2930         * ParagraphParameters.[Ch]:
2931         * buffer.C:
2932         * buffer.h:
2933         * bufferlist.C:
2934         * cursor.[Ch]:
2935         * cursor_slice.[Ch]:
2936         * dociterator.[Ch]:
2937         * errorlist.[Ch]:
2938         * factory.C:
2939         * lfuns.h:
2940         * lyxfind.C:
2941         * lyxfunc.C:
2942         * output_docbook.[Ch]:
2943         * output_latex.[Ch]:
2944         * output_linuxdoc.[Ch]:
2945         * output_plaintext.[Ch]:
2946         * paragraph.[Ch]:
2947         * paragraph_funcs.[Ch]:
2948         * paragraph_pimpl.[Ch]:
2949         * rowpainter.C:
2950         * tabular.[Ch]:
2951         * text.C:
2952         * text2.C:
2953         * toc.C:
2954         * undo.[Ch]: adjust
2955
2956         * frontends/controllers/ControlDocument.C:
2957         * frontends/controllers/ControlErrorList.C:
2958         * frontends/controllers/ControlSpellchecker.C:
2959         * insets/inset.C:
2960         * insets/inset.h:
2961         * insets/insetbase.h:
2962         * insets/insetbibitem.C:
2963         * insets/insetbox.C:
2964         * insets/insetbranch.C:
2965         * insets/insetcaption.C:
2966         * insets/insetcharstyle.C:
2967         * insets/insetcharstyle.h:
2968         * insets/insetcollapsable.C:
2969         * insets/insetcollapsable.h:
2970         * insets/insetert.C:
2971         * insets/insetfloat.C:
2972         * insets/insetfoot.C:
2973         * insets/insetmarginal.C:
2974         * insets/insetnote.C:
2975         * insets/insetoptarg.C:
2976         * insets/insettabular.C:
2977         * insets/insettext.C:
2978         * insets/insettext.h:
2979         * insets/insetwrap.C:
2980         * mathed/math_mboxinset.C:
2981         * mathed/math_nestinset.C:
2982         * mathed/math_scriptinset.C:
2983         * mathed/math_scriptinset.h:
2984         * support/types.h:
2985
2986 2004-03-24  Angus Leeming  <leeming@lyx.org>
2987
2988         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2989         deal with any child processes that have finished but are waiting to
2990         communicate this fact to the rest of LyX.
2991
2992 2004-03-24  Angus Leeming  <leeming@lyx.org>
2993
2994         64-bit compile fixes.
2995
2996         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2997         (c-tor): pass lyx::pos_types rather than ints.
2998
2999         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3000         lyx::pos_type.
3001
3002         * text.C (Delete): compile fix.
3003         (getPar): ensure that function declaration is the same as that in
3004         the header file.
3005
3006 2004-03-23  Angus Leeming  <leeming@lyx.org>
3007
3008         * ispell.C (LaunchIspell):
3009         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3010         a boost::shred_ptr rather than a std::auto_ptr.
3011
3012 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3013
3014         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3015         handle LFUN_FILE_INSERT_*
3016
3017         * lyxrc.C (setDefaults, getDescription, output, read):
3018         * lyxrc.h: remove ps_command
3019
3020 2004-03-22  Angus Leeming  <leeming@lyx.org>
3021
3022         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3023         Ensure that error_handler is processed once only and that all data
3024         is saved before attempting to output any warning messages.
3025
3026         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3027
3028 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3029
3030         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3031
3032 2004-03-19  André Pönitz  <poenitz@gmx.net>
3033
3034         * cursor.[Ch] (reset): take main text inset as argument
3035
3036         * BufferView: adjust
3037         * BufferView_pimpl.C: adjust
3038
3039         * paragraph.[Ch]: fix completely broken operator=()
3040
3041 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3042
3043         * LColor.C (getFromLyXName): make sure that the color name is used
3044         as lowercase.
3045
3046 2004-03-17  Angus Leeming  <leeming@lyx.org>
3047
3048         * lfuns.h:
3049         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3050
3051         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3052         dialog and to kill a forked process.
3053
3054 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3055
3056         * text2.C (setCursorFromCoordinates): fix font problem
3057
3058 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3059
3060         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3061         bogus "rebuild cursor" code
3062
3063 2004-03-11  André Pönitz  <poenitz@gmx.net>
3064
3065         * buffer.[Ch]: use InsetText instead of LyXText as container for
3066         the main lyx text.
3067
3068         * dociterator.[Ch]: drop the BufferView * member which is not needed
3069         anymore after the change to buffer.C
3070
3071         * paragraph_funcs.C:
3072         * text.C:
3073         * text2.C:
3074         * BufferView.[Ch]:
3075         * BufferView_pimpl.[Ch]:
3076         * cursor.[Ch]:
3077         * cursor_slice.[Ch]: adjust
3078
3079         * text3.C: fix bug in mathDispatch
3080
3081 2004-03-08  André Pönitz  <poenitz@gmx.net>
3082
3083         * undo.[Ch]: use 'StableDocumentIterator' as base for
3084         the Undo struct.
3085
3086 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3087
3088         * LaTeXFeatures.C:
3089         * bufferparams.[Ch]: add jurabib support and param.
3090
3091         * LaTeX.C: add FIXME/comment.
3092
3093 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3094
3095         * buffer.C: increment file format to 230.
3096
3097 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3098
3099         * cursor.C (dispatch): avoid infinite loops
3100
3101 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3102
3103         * rowpainter.C (paintSelection): fix x coordinates
3104
3105 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3106
3107         * text.C (rowBreakPoint): fix breaking before displayed insets
3108
3109 2004-03-01  André Pönitz  <poenitz@gmx.net>
3110
3111         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3112
3113         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3114
3115         * Makefile.am:
3116         * BufferView.C:
3117         * BufferView_pimpl.C:
3118         * buffer.C:
3119         * lyxfind.C:
3120         * lyxfunc.C:
3121         * text.C:
3122         * text2.C:
3123         * text3.C: adjust
3124
3125 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3126
3127         * lyxtext.h:
3128         * text.C:
3129         * text2.C:
3130         * rowpainter.C:
3131         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3132         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3133
3134 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3135
3136         * Bidi.[Ch] (computeTables): const correctness
3137         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3138         fill_hfill, fill_label_hfill and x from Row
3139         * lyxtext.h: prepareToPrint returns a RowMetrics
3140         * rowPainter.C: adjust
3141         * text.C (prepareToPrint): use width, not textWidth. adjust
3142         (redoParagraphInternal, cursorX): adjust
3143         * text2.C (getColumnNearX): adjust
3144         (init): put a default value to the top LyXText::width
3145
3146 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3147
3148         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3149
3150 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3151
3152         * lyxtext.h: add FontIterator class
3153
3154         * text.C (FontIterator, operator*, operator->, operator++): add
3155         (rowBreakPoint, setRowWidth): adjust (fixing a
3156         rebreaking bug)
3157
3158 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3159
3160         * BufferView_pimpl.C (workAreaDispatch): allow also
3161         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3162
3163 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3164
3165         * text.C (rowBreakPoint): fix a bug showing with very large insets
3166
3167 2004-02-25  André Pönitz  <poenitz@gmx.net>
3168
3169         * text3.C:
3170         * cursor.[Ch]: move some mathed specific code to mathed
3171
3172 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3173
3174         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3175         use_tempdir in preferences
3176         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3177         tempfile creation
3178         * lyx_main.C: ensure that tempdir is valid
3179         * lyxlex.h: correct typo
3180         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3181         * paragraph.[Ch] (isMultiLingual): make const
3182         * cursor.[Ch] (openable): make const
3183
3184 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3185
3186         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3187
3188 2004-02-20  André Pönitz  <poenitz@gmx.net>
3189
3190         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3191
3192         * cursor.[Ch]: prepare for localized getStatus()
3193
3194         * lyxtext.h:
3195         * tabular.C:
3196         * text.C:
3197         * text2.C:
3198         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3199
3200 2004-02-20  André Pönitz  <poenitz@gmx.net>
3201
3202         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3203
3204 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3205
3206         * text2.C (setCursorFromCoordinates): switch to absolute coords
3207         (cursorUp): adjust
3208         (cursorDown): adjust
3209         * text3.C (dispatch): adjust
3210
3211 2004-02-16  André Pönitz  <poenitz@gmx.net>
3212
3213         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3214           insets/ChangeLog)
3215
3216         * cursor_slice.[Ch]: remove unneeded acessor function
3217
3218         * lyxtext.h: rename rtl() to isRTL()
3219
3220         * rowpainter.C:
3221         * tabular.C:
3222         * text.C:
3223         * text2.C:
3224         * text3.C: adjust
3225
3226 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3227
3228         * rowpainter.C (paintSelection): coord fix
3229
3230 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3231
3232         * Spacing.C: compile fix
3233
3234 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3235
3236         * cursor.C (dispatch): restore current_ before returning
3237
3238 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3239
3240         * text2.C (cursorUp, cursorDown): fix coords
3241         (moveUp): fix crash
3242
3243 2004-02-12  André Pönitz  <poenitz@gmx.net>
3244
3245         * lyxtext.h:
3246         * text.C:
3247         * text2.C:
3248         * text3.C: add LCursor & parameter to most cursor movement functions
3249           remove usage of LyXText::cursorRow() and cursorPar()
3250
3251         * cursor.[Ch]: add textRow() needed members
3252
3253         * BufferView.C:
3254         * BufferView_pimpl.C:
3255         * paragraph.[Ch]:
3256         * BufferView.C:
3257         * BufferView_pimpl.C: adjust
3258
3259 2004-02-11  André Pönitz  <poenitz@gmx.net>
3260
3261         * lyxfunc.C:
3262         * BufferView.[Ch]:
3263         * BufferView_pimpl.C: shift undo/redo handling
3264
3265         * cursor.[Ch]: fix mathed crash
3266
3267         * lyxfind.C:
3268         * lyxtext.h: move selectionAsText to LCursor
3269
3270         * output_latex.C:
3271         * paragraph.C:
3272         * text.C:
3273         * text2.C:
3274         * text3.C: adjust
3275
3276         * rowpainter.C: fix excessive drawing
3277
3278 2004-02-06  André Pönitz  <poenitz@gmx.net>
3279
3280         * BufferView.[Ch]:
3281         * BufferView_pimpl.[Ch]:
3282         * text3.C: move some text specific LFUN handling
3283
3284 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3285
3286         * text3.C (checkInsetHit): adjust coords
3287         * text2.C (getColumnNearX): adjust coords
3288         (edit): adjust coords
3289         * text.C (getRowNearY): add two asserts
3290
3291 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3292
3293         * converter.C:
3294         * format.C: add using std::distance to compile on gcc 2.95/stlport
3295
3296 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3297
3298         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3299
3300 2004-02-04  André Pönitz  <poenitz@gmx.net>
3301
3302         * BufferView.[Ch] (insertInset):
3303         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3304
3305         * text2.C:
3306         * text3.C: adjust
3307
3308 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3309
3310         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3311         on the default clause of the switch
3312         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3313         wasn't catched by LCursor::dispatch
3314
3315 2004-02-03  André Pönitz  <poenitz@gmx.net>
3316
3317         * BufferView.C:
3318         * cursor.[Ch]: some additional asserts
3319
3320         * undo.[Ch]: remove LyXText dependency in interface
3321
3322         * lyxfunc.C: adjust
3323
3324         * lyxtext.h (firstPar, lastPar): remove dead functions
3325
3326         * text.C:
3327         * text2.C:
3328         * text3.C:
3329         * paragraph.[Ch]: adjust
3330
3331 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3332
3333         * lyxfind.C (find): fix argument order in call to ::find
3334
3335 2004-02-02  André Pönitz  <poenitz@gmx.net>
3336
3337         * cursor.[Ch]: remove direct access to anchor
3338
3339         * text.C: remove findText() hack
3340
3341 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3342
3343         * iterators.[Ch] (lockPath): remove in favour of...
3344         * BufferView.[Ch] (setCursor): this addition
3345         * BufferView.C (putSelectionAt): adjust
3346         * undo.C (performUndoOrRedo): adjust
3347         * lyxfunc.C (dispatch): adjust
3348
3349 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3350
3351         * iterators.C (lockPath): add a missing slice
3352         * undo.C (performUndoOrRedo): remove redundant positioning code
3353
3354 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3355
3356         * vc-backend.C (scanMaster): ";" -> ';'
3357
3358 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3359
3360         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3361         std::binary_function
3362
3363         * lyxtextclass.C (compare_name): rename to...
3364         (LayoutNamesEqual): ...this
3365
3366         * lyxlex_pimpl.C (compare_tags): inherit from
3367         std::binary_function, put back into anon namespace
3368
3369         * lyxfind.C (MatchString): inherig from std::binary_function
3370         (findChange): use empty() istead of !size()
3371
3372         * format.C (FormatNamesEqual): new functor
3373         (getFormat): use it
3374         (getNumber): use it
3375         (add): use it
3376         (erase): use it
3377         (setViewer): use it
3378
3379         * converter.C (compare_Converter): rename to...
3380         (ConverterEqual): ...this, and fixup a bit.
3381         (getConverter): use it, and make function const
3382         (getNumber): use it, and make function const
3383         (add): use it
3384         (erase): use it:
3385
3386         * bufferlist.C: add using boost::bind
3387
3388         * MenuBackend.C (MenuNamesEqual): new functor
3389         (hasMenu): use it, and make function const
3390         (hasSubmenu): use nested bind to get rid of compare_memfun.
3391
3392 2004-01-30  André Pönitz  <poenitz@gmx.net>
3393
3394         * BufferView_pimpl.C:
3395         * cursor.C:
3396         * cursor.h:
3397         * cursor_slice.[Ch]:
3398         * lyxfunc.C:
3399         * lyxtext.h:
3400         * paragraph_funcs.C:
3401         * paragraph_funcs.h:
3402         * rowpainter.C:
3403         * text.C:
3404         * text2.C:
3405         * text3.C: move some of the edit(x,y) handling to the insets
3406         some coordinate changes.
3407
3408 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3409
3410         * text.C: add using statements for std::advance and std::distance
3411
3412         * paragraph.C: add using statement for std::distance
3413
3414         * lyxfind.C: add using statement for std::advance
3415
3416         * cursor.C (region): remove std:: from swap
3417         (openable): use nucleus in stead of operator->
3418
3419         * BufferView.C: add using statements for std::distance and std::swap
3420
3421 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3422
3423         * iterators.C: Remove the pimple, move the needed structures to
3424         the header file. Create accessor for the positions stack.
3425         (asPosIterator): remove function
3426
3427         * PosIterator.C (PosIterator): move constructors to top of file
3428         (PosIterator): reimplement the constructor taking a ParIterator in
3429         terms of setFrom.
3430         (setFrom): new function
3431         (operator!=): inline it
3432
3433 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3434
3435         * lyxfind.C (replaceAll): use std::advance
3436
3437         * iterators.h: inherit from std::iterator.
3438
3439         * PosIterator.C (advance, distance): remove
3440         * PosIterator.h: interit from std::iterator.
3441
3442 2004-01-26  André Pönitz  <poenitz@gmx.net>
3443
3444         * BufferView.[Ch]:
3445         * BufferView_pimpl.[Ch]:
3446         * InsetList.[Ch]:
3447         * PosIterator.[Ch]:
3448         * buffer.h:
3449         * bufferview_funcs.C:
3450         * cursor.[Ch]:
3451         * cursor_slice.h:
3452         * factory.[Ch]:
3453         * iterators.[Ch]:
3454         * lyxfind.C:
3455         * lyxfunc.C:
3456         * lyxtext.h:
3457         * output_docbook.C:
3458         * output_latex.C:
3459         * output_linuxdoc.C:
3460         * output_plaintext.C:
3461         * paragraph.[Ch]:
3462         * paragraph_funcs.[Ch]:
3463         * paragraph_pimpl.[Ch]:
3464         * rowpainter.C:
3465         * tabular.C:
3466         * tabular.h:
3467         * text.C:
3468         * text2.C:
3469         * text3.C: more IU:  dumps most of the rest of the mathcursor
3470     implementation into cursor.[Ch]; "globalize" a bit of it.
3471
3472 2004-01-25  Angus Leeming  <leeming@lyx.org>
3473
3474         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3475
3476 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3477
3478         * LaTeXFeatures.h: add nice_ and nice() const
3479         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3480
3481 2004-01-20  André Pönitz  <poenitz@gmx.net>
3482
3483         * BufferView.[Ch]:
3484         * BufferView_pimpl.C:
3485         * PosIterator.C:
3486         * bufferview_funcs.C:
3487         * cursor.[Ch]:
3488         * cursor_slice.[Ch]:
3489         * factory.C:
3490         * iterators.C:
3491         * lyx_cb.C:
3492         * lyxfind.C:
3493         * lyxfunc.C:
3494         * lyxtext.h:
3495         * rowpainter.C:
3496         * text.C:
3497         * text2.C:
3498         * text3.C:
3499         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3500           LCursor and mathcursor parts to LCursor and InsetBase.
3501
3502 2004-01-15  André Pönitz  <poenitz@gmx.net>
3503
3504         * cursor_slice.[Ch]: add a few covienience functions
3505
3506         * funcrequest.[Ch]: remove BufferView * member
3507
3508         * BufferView_pimpl.C:
3509         * cursor.C:
3510         * factory.[Ch]:
3511         * lyxfind.[Ch]:
3512         * lyxfunc.C:
3513         * lyxtext.h:
3514         * text3.C:
3515         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3516
3517 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3518
3519         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3520         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3521
3522 2004-01-13  André Pönitz  <poenitz@gmx.net>
3523
3524         * textcursor.[Ch]:
3525         * lyxtext.h: hide cursor and selection anchor behind accessor function
3526
3527         * BufferView.C:
3528         * BufferView_pimpl.[Ch]:
3529         * PosIterator.C:
3530         * bufferview_funcs.C:
3531         * cursor.h:
3532         * lyxfind.C:
3533         * lyxfunc.C:
3534         * text.C:
3535         * text2.C:
3536         * text3.C:
3537         * undo.C: adjust
3538
3539         * cursor.h:
3540         * cursor_slice.[Ch]: some integer type changes for inset unification
3541
3542         * lyxcursor.[hC]: remove, it's CursorSlice now.
3543
3544         * Makefile.am:
3545         * BufferView_pimpl.[Ch]:
3546         * bufferview_funcs.C:
3547         * cursor_slice.C:
3548         * lyxtext.h:
3549         * text.C:
3550         * text2.C:
3551         * text3.C:
3552         * textcursor.[Ch]: adjust
3553
3554 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3555
3556         * text2.C (undoSpan): add and use
3557         * text.C (breakParagraph): use undoSpan (fix bug 578)
3558         * lyxtext.h: adjust
3559
3560 2004-01-08  Angus Leeming  <leeming@lyx.org>
3561
3562         * BufferView_pimpl.C (MenuInsertLyXFile):
3563         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3564         * lyxfunc.C (menuNew, open, doImport):
3565         FileFilterList change to the FileDialog open and save functions.
3566
3567 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3568
3569         * ShareContainer.h: make isEqual and isUnique adaptable
3570
3571         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3572
3573 2004-01-07  Angus Leeming  <leeming@lyx.org>
3574
3575         * LyXAction.C:
3576         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3577
3578         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3579
3580         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3581         functions replacing find, replace and replaceAll.
3582
3583         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3584         LFUN_WORDFIND(FORWARD|BACKWARD).
3585
3586 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3587
3588         * text.C (breakParagraph): remove an outdated #warning
3589
3590 2004-01-07  André Pönitz  <poenitz@gmx.net>
3591
3592         * lyxfind.C: somewhat clearer logic
3593
3594         * text.C: prevent crash in cursorX on unitialized row cache
3595
3596 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3597
3598         * lyxcursor.[Ch] (operator>): add
3599         * textcursor.C (selStart, selEnd): use std::min and std::max
3600
3601 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3602
3603         * Chktex.C: include boost/format.hpp
3604
3605 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3606
3607         * InsetList.C: replace functor MathcIt with adaptable functor
3608         InsetTablePosLess
3609         (insetIterator): modify accordingly
3610
3611         * BranchList.h: move the BranchNamesEqual functor here from...
3612         * BranchList.C: ... to here
3613
3614         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3615         SameName and match.
3616         (add): replace a finding loop with std::find_if.
3617
3618 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3619
3620         * output_docbook.C: moving LatexParam functionality into
3621         .layout files
3622
3623 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3624
3625         * buffer.C: increment format to 229.
3626
3627 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3628
3629         * LaTeXFeatures.C:
3630         * lyx_sty.[Ch]: remove minipageindent_def
3631
3632         * LyXAction.C:
3633         * factory.C:
3634         * lfuns.h:
3635         * lyxfunc.C:
3636         * text3.C: remove LFUN_INSET_MINIPAGE
3637
3638 2003-12-28  Angus Leeming  <leeming@lyx.org>
3639
3640         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3641
3642 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3643
3644         * text2.C (setParagraph): fix off-by-one crash
3645
3646 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3647
3648         * output_docbook.C: header stuff for AGU
3649
3650 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3651
3652         * text2.C (redoCursor): remove
3653         * text.C:
3654         * text3.C:
3655         * BufferView_pimpl.C: remove calls to redoCursor and
3656         setCursor(cursor.par(), cursor.pos()) all around
3657
3658 2003-12-15  Angus Leeming  <leeming@lyx.org>
3659
3660         * buffer.C: up the format to 228.
3661
3662 2003-12-15  André Pönitz  <poenitz@gmx.net>
3663
3664         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3665         slices
3666
3667         * Makefile.am:
3668
3669         * BufferView_pimpl.C:
3670         * cursor.[Ch]:
3671         * lyxcursor.[Ch]:
3672         * rowpainter.[Ch]:
3673         * lyxtext.h:
3674         * text.C:
3675         * text2.C:
3676         * text3.C: adjust
3677
3678 2003-12-15  Angus Leeming  <leeming@lyx.org>
3679
3680         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3681         than getFromGUIName to manipulate the color.
3682
3683 2003-12-14  Angus Leeming  <leeming@lyx.org>
3684
3685         * BranchList.[Ch]: minimize the API.
3686         (Branch::getBranch, getColor): now return a 'const &'.
3687         (Branch::setSelected) now returns a bool set to true if the
3688         selection status changes.
3689         (BranchList::clear, size, getColor, setColor, setSelected,
3690         allBranches, allSelected, separator): removed.
3691         (BranchList::find): new functions, returning the Branch with
3692         the given name.
3693         (BranchList::add, remove): return a bool indicating that
3694         the operation was successful.
3695
3696         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3697         new InsetBranch::isBranchSlected member function.
3698
3699         * LColor.[Ch]: mimimize the API.
3700         (fill): renamed as addColor and made private.
3701         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3702         versions of these functions taking a string arg have been removed.
3703
3704         * bufferparams.C (readToken):
3705         * lyxfunc.C (dispatch):
3706         * lyxrc.C (read): changes due to the altered BranchList and
3707         LColor APIs.
3708
3709         * factory.C (createInset, readInset): changes due to altered
3710         InsetBranch c-tor.
3711
3712 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3713
3714         * factory.C:
3715         * lyxfunc.C: remove insetminipage. "minipage-insert"
3716         now produces a frameless minipage box inset.
3717
3718 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3719
3720         * textcursor.[Ch] (selStart,selEnd): add new methods
3721         remove selection::start, end, use LyXCursor::operator<
3722         * lyxcursor.[Ch] (operator<): add
3723         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3724         * BufferView.[Ch] (unsetXSel): add
3725         * text2.C (clearSelection): use unsetXSel,adjust
3726         * text.C: adjust
3727         * text3.C: adjust
3728         * rowpainter.C: adjust
3729         * bufferview_funcs.C (put_selection_at): adjust
3730
3731 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3732
3733         * BufferView_pimpl.C: small coord. correction
3734
3735 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3736
3737         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3738         dragging over the splash screen.
3739
3740 2003-12-11  Angus Leeming  <leeming@lyx.org>
3741
3742         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3743         as it is now handled in LyXText::dispatch.
3744
3745         * text3.C (doInsertInset): remove a level of nesting.
3746
3747 2003-12-11  Angus Leeming  <leeming@lyx.org>
3748
3749         * factory.C (createInset): changes due to the changed interface to
3750         InsetCommandMailer::string2params.
3751
3752 2003-12-10  Angus Leeming  <leeming@lyx.org>
3753
3754         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3755         'dialog-show-new-inset <inset name>'
3756
3757 2003-12-10  Angus Leeming  <leeming@lyx.org>
3758
3759         * buffer.C: up the format to 227.
3760
3761         * factory.C: the box inset is now identified simply by 'Box'.
3762
3763 2003-12-10  Angus Leeming  <leeming@lyx.org>
3764
3765         * buffer.C: up the format to 226.
3766
3767         * factory.C: the note inset is now identified simply by 'Note'.
3768
3769 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3770
3771         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3772         when a pit is enough. Standarize a couple of loops.
3773
3774 2003-12-05  Angus Leeming  <leeming@lyx.org>
3775
3776         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3777         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3778         data to the re-worked "log" dialog.
3779
3780 2003-12-03  André Pönitz  <poenitz@gmx.net>
3781
3782         * PosIterator.C:
3783         * iterators.C:
3784         * lyxtext.h:
3785         * output_latex.C:
3786         * paragraph_funcs.C:
3787         * text.C:
3788         * text2.C: use Inset::getText instead of Inset::getParagraph
3789
3790 2003-12-03  André Pönitz  <poenitz@gmx.net>
3791
3792         * buffer.[Ch]:
3793         * lyxtext.h:
3794         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3795         InsetText::read() as LyXText::read()
3796
3797 2003-12-02  Angus Leeming  <leeming@lyx.org>
3798
3799         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3800         type. Add a comment in the implementation that the function uses
3801         the stream's bad() function rather than fail() as the std::streams
3802         would do.
3803
3804 2003-12-02  André Pönitz  <poenitz@gmx.net>
3805
3806         * lyxlex.[Ch]: make interface more similar to std::stream
3807
3808         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3809
3810 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3811
3812         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3813
3814 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3815
3816         * vspace.[Ch]: remove VSpace::NONE
3817
3818 2003-12-01  André Pönitz  <poenitz@gmx.net>
3819
3820         * buffer.[Ch]:
3821         * lyxtext.h: move ParagraphList member to LyXText
3822         rename LyXText::ownerParagraphs to LyXText::paragraph
3823
3824         * CutAndPaste.C:
3825         * bufferview_funcs.C:
3826         * iterators.[Ch]:
3827         * lyx_cb.C:
3828         * paragraph.C:
3829         * rowpainter.C:
3830         * tabular.C:
3831         * text.C:
3832         * text2.C:
3833         * text3.C: adjust
3834
3835         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3836
3837         * undo.C: fix cursor positioning
3838
3839 2003-12-01  John Levon  <levon@movementarian.org>
3840
3841         * BufferView_pimpl.C: fix a crash on exit with
3842         a buffer open
3843
3844 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3845
3846         * BranchList.C: fix setSelected() method.
3847
3848 2003-11-28  André Pönitz  <poenitz@gmx.net>
3849
3850         * ParagraphParameters.[Ch]:
3851         * ParameterStruct.h: remove space above/below from Paragraph to
3852          InsetVSpace
3853
3854         * BufferView_pimpl.C:
3855         * factory.C:
3856         * lyxfunc.C:
3857         * lyxtext.h:
3858         * output_latex.C:
3859         * paragraph.C:
3860         * paragraph_funcs.C:
3861         * rowpainter.[Ch]:
3862         * text.C:
3863         * text2.C:
3864         * text3.C: adjust
3865
3866 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3867
3868         * factory.C: Syntax change for CharStyles
3869
3870 2003-11-28  André Pönitz  <poenitz@gmx.net>
3871
3872         * BufferView.[Ch]:
3873         * BufferView.[Ch]:
3874         * buffer.[Ch]:
3875         * buffer.[Ch]: move LyXText member
3876
3877 2003-11-28  André Pönitz  <poenitz@gmx.net>
3878
3879         * BufferView.[Ch]: make LyXText * text a private member
3880
3881         * BufferView_pimpl.C:
3882         * cursor.C:
3883         * iterators.C:
3884         * lyx_cb.C:
3885         * lyxfind.C:
3886         * lyxtext.h:
3887         * rowpainter.[Ch]:
3888         * text.C:
3889         * text2.C:
3890         * undo.C: adjust
3891
3892         * output_plaintext.C: cleanup
3893
3894 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3895
3896         * buffer.C:
3897         * lyxtextclass.[Ch]: parametrize SGML document header
3898
3899 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3900
3901         * converter.[Ch]:
3902         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3903         getFlavor().
3904
3905 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3906
3907         * text2.C (setFont): rework using PosIterator (no more recursive)
3908         (setCharFont): no more needed
3909         (setLayout): no more selection cursors fiddling (done by redoCursor)
3910         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3911         destroy remaining ones)
3912
3913 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3914
3915         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3916         * lyxtext.h: ditto
3917         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3918         selection cursors
3919         * lyxfunc.C: adjust
3920         * text3.C: adjust + re-allow multi par depth changes
3921         * textcursor.C: simplify a bit
3922
3923 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3924
3925         * src/buffer.C:
3926         * src/lyxlayout.C:
3927         * src/lyxlayout.h:
3928         * src/lyxtext.h:
3929         * src/output_docbook.C:
3930         * src/output_latex.C:
3931         * src/paragraph.C:
3932         * src/paragraph.h:
3933         * src/sgml.C:
3934         * src/sgml.h:
3935         * src/text2.C: Introducing a number of tags parametrizing various
3936         XML formats that we may want to support
3937
3938 2003-11-25  André Pönitz  <poenitz@gmx.net>
3939
3940         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3941
3942         * lyxtext.h (leftMargin/rightMargin): simplify interface
3943
3944         * rowpainter.C:
3945         * text.C:
3946         * text2.C:
3947         * text3.C: adjust
3948
3949 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3950
3951         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3952         master file to any child files. Fixes bug 546.
3953
3954 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3955
3956         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3957
3958 2003-11-24  André Pönitz  <poenitz@gmx.net>
3959
3960         * rowpainter.C: simplification
3961
3962         * text2.C (updateCounters): remove call to redoParagraph on
3963         changed labels as this is far too expensive.
3964
3965 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3966
3967         * converter.C (convert): fix a crash: this function gets
3968         called with buffer == 0 from importer code.
3969
3970 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3971
3972         * text3.C (cursorPrevious): make sure that we do not compare
3973         iterators form different containers.
3974         (cursorNext): ditto
3975
3976         * rowpainter.C (paintSelection): make sure that we do not compare
3977         iterators from different containers.
3978
3979         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3980         iterators from different ParagraphList containers.
3981         [NEXT] ditto
3982
3983         * text2.C (LyXText): change order of initialization slightly
3984         (operator=): new function. copy all variables except cache_par_
3985         (moveUp): make sure that we do not compare iterators from
3986         different ParagraphList constainers.
3987         (moveDown): ditto
3988
3989         * text.C (firstPar): new function
3990         (lastPar): new function
3991         (endPar): new function
3992
3993         * lyxtext.h: move things around and group public functions, public
3994         variables, private functions, private variables
3995
3996 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3997
3998         * factory.C: change call to InsetERT constructor to avoid
3999         additional invocation of method status
4000         * text2.C (toggleInset): remove redundant update() call
4001         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4002         instead of a Bufferview pointer
4003
4004 2003-11-21  André Pönitz  <poenitz@gmx.net>
4005
4006         * rowpainter.C: simplification
4007
4008 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4009
4010         * text3.C (dispatch): make possible to extend a word/row selection
4011         with the mouse
4012
4013 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4014
4015         * lyxtext.h: x0_,y0_ -> xo_,yo_
4016         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4017         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4018         * rowpainter.C (paintRows): paint full paragraphs
4019
4020 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4021
4022         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4023         screen coordinates)
4024
4025 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4026
4027         * lyxtext.h: add x0_, y0_
4028         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4029         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4030
4031 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4032
4033         * text2.C (setCursorIntern): move the x_target update here *
4034         * text3.C: change some bv() to true/false in calls to
4035         cursorUp/Down/Right/Left
4036         * cursor.C: use helper function.
4037
4038 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4039
4040         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4041         * paragraph_funcs.[Ch]: correct comment
4042         * rowpainter.C: do not paint selections away from bv->cursor()
4043         Fix a long standing selection painting bug.
4044         * text3.C: generalize mouse-selection code to LyXTexts other that
4045         top one
4046         * textcursor.C: do not use y coords if we can use par offsets
4047
4048 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4049
4050         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4051         cursor position after e.g. inset insert)
4052
4053 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4054
4055         * lyxfind.C (replace): adjust to locking removal + some
4056         code simplification
4057
4058 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4059
4060         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4061         of the path
4062
4063 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4064
4065         * lyxlayout.[Ch]:
4066         * output_docbook.C: XML sanitation: new layout
4067         parameters InnerTag and CommandDepth
4068
4069 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4070
4071         * BufferView_pimpl.C:
4072         * factory.C:
4073         * text3.C: Fix the insertion and modification of button-style
4074         insets
4075
4076 2003-11-13  André Pönitz  <poenitz@gmx.net>
4077
4078         * InsetList.[Ch]: remove deleteLyXText
4079
4080         * paragraph.[Ch]: cache beginOfBody position
4081
4082         * Bidi.C:
4083         * text.C:
4084         * text2.C:
4085         * text3.C: remove superfluous update() calls
4086
4087         * vspace.C: cleanup
4088
4089 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4090
4091         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4092         * BufferView.C (fitLockedInsetCursor): remove
4093         * cursor.[Ch] (getDim): add
4094         * text.C (getRowNearY): add faster version
4095         * text3.C: remove some update calls
4096
4097 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4098
4099         * LaTeXFeatures.C:
4100         * LyXAction.C:
4101         * MenuBackend.C:
4102         * MenuBackend.h:
4103         * dispatchresult.h:
4104         * factory.C:
4105         * lfuns.h:
4106         * lyxfunc.C:
4107         * lyxtextclass.C:
4108         * lyxtextclass.h:
4109         * text3.C: The Character Style /XML short element patch.
4110
4111 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4112
4113         * text3.C:
4114         * factory.C: Small step to solving 'unable to insert some insets'
4115         problem
4116
4117 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4118
4119         * cursor.[Ch] (updatePos): new function for updating the y
4120         position of the tip inset
4121         * bufferview_funcs.C (put_selection_at):
4122         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4123
4124 2003-11-11  André Pönitz  <poenitz@gmx.net>
4125
4126         * text.C: remove big comment on invalid Paragraph pointers as it is
4127         not valid anymore
4128
4129 2003-11-11  André Pönitz  <poenitz@gmx.net>
4130
4131         * text_funcs.[Ch]: merge with ...
4132
4133         * text.C: ... this
4134
4135         * lyxtext.h:
4136         * text2.C:
4137         * text3.C: adjust
4138
4139         * Makefile.am: remove text_funcs.[Ch]
4140
4141 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4142
4143         * cursor.C (getPos): return absolute cached y coord
4144
4145         * BufferView_pimpl.C (fitCursor): new simplistic code
4146         (workAreaDispatch): add a fitCursor call
4147
4148 2003-11-10  André Pönitz  <poenitz@gmx.net>
4149
4150         * BufferView.[Ch]:
4151         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4152
4153 2003-11-10  André Pönitz  <poenitz@gmx.net>
4154
4155         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4156         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4157         indicate that the cursor needs to leave an inset
4158
4159         * lyxtext.h: remove inset locking
4160
4161         * cursor.[Ch]: re-implement functionality provided by inset locking
4162
4163         * BufferView.[Ch]:
4164         * BufferView_pimpl.[Ch]:
4165         * LyXAction.C:
4166         * bufferview_funcs.[Ch]:
4167         * factory.C:
4168         * funcrequest.[Ch]:
4169         * iterators.C:
4170         * lyx_cb.C:
4171         * lyxfind.C:
4172         * lyxfunc.C:
4173         * text.C:
4174         * text2.C:
4175         * text3.C:
4176         * undo.C: adjust
4177
4178 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4179
4180         * PosIterator.[Ch]: replace the stack with a vector, add inset
4181         accesor
4182         * iterators.[C]: adjust
4183
4184 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4185
4186         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4187         replaced
4188         * paragraph_funcs.C (readParToken): put the correct id in the
4189         error item, not the id of the top paragraph
4190
4191 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4192
4193         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4194         * bufferview_funcs.C (put_selection_at): use the above
4195
4196 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4197
4198         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4199
4200 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4201
4202         * output_linuxdoc.h:
4203         * output_plaintext.h:
4204         * output.h:
4205         * output_docbook.h: add #include statements
4206
4207 2003-11-05  José Matos  <jamatos@lyx.org>
4208
4209         * output_docbook.[Ch]:
4210         * output_latex.[Ch]:
4211         * output_linuxdoc.[Ch]:
4212         * output_plaintext.[Ch]: New files for output formats.
4213         * output.[Ch]: New file for helper functions.
4214
4215         * buffer.[Ch]:
4216         * paragraph_funcs.[Ch]: output functions moved to new files.
4217
4218         * outputparams.h: rename of latexrunparams.h
4219
4220         * LaTeX.[Ch]:
4221         * buffer.[Ch]:
4222         * bufferlist.[Ch]:
4223         * converter.[Ch]:
4224         * exporter.C:
4225         * paragraph.[Ch]:
4226         * paragraph_funcs.[Ch]:
4227         * paragraph_pimpl.[Ch]:
4228         * tabular.[Ch]: rename ascii to plaintext
4229         and LatexRunParams to OutputParams.
4230
4231 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4232
4233         * iterators.[Ch] (text): require bv argument
4234         * undo.C (recordUndo):
4235         * lyxfunc.C (dispatch):
4236         * bufferview_funcs.C (put_selection_at): adjust
4237
4238 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4239
4240         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4241
4242 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4243
4244         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4245         nestings
4246
4247 2003-11-04  André Pönitz  <poenitz@gmx.net>
4248
4249         * cursor.[Ch]: restructure
4250
4251         * BufferView.[Ch]:
4252         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4253
4254         * iterators.[Ch] (asCursor): remove
4255
4256         * lfuns.h: remove LFUN_INSET_EDIT
4257
4258         * lyxfunc.C:
4259         * tabular.C:
4260         * text.C:
4261         * text2.C:
4262         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4263
4264 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4265
4266         * lyxfind.[Ch]: complete overhaul
4267         * BufferView_pimpl.C:
4268         * lyxfunc.C: adjust
4269         * paragraph.[Ch] (insert): add
4270
4271 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4272
4273         * BufferView.[Ch]:
4274         * lyxtext.h:
4275         * text.C: remove dead spellcheck code
4276
4277 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4278
4279         * dispatchresult.h: add a val setter
4280
4281         * cursor.C (dispatch): use a tempvar for data_[i]
4282
4283 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4284
4285         * PosIterator.[Ch]: compile fix
4286
4287 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4288
4289         * text.C (cursorPar): deactivate the cursor cache
4290
4291 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4292
4293         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4294
4295 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4296
4297         * text3.C (dispatch): adjust for new DisptchResult semantics.
4298
4299         * lyxfunc.C (dispatch): handle update when return from
4300         Cursor::dispatch, adjust for new DispatchResult semantics.
4301
4302         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4303         DispatchResult(true) mean to not update. Add class functions for
4304         setting dispatched and update, as well as reading.
4305
4306         * cursor.C (dispatch): don't handle update here
4307
4308 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4311         * trans_mgr.C: adjust
4312
4313         * paragraph_funcs.C (readParToken): exception safety
4314
4315         * lyxvc.h: store the vcs pointer in a scoped_ptr
4316         * lyxvc.C: adjust
4317
4318         * lyxsocket.C (serverCallback): exception safety
4319
4320         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4321
4322         * ispell.C (clone): make it return a auto_ptr
4323
4324         * factory.C (createInset): exception safety
4325         (readInset): exception safety
4326
4327         * bufferlist.C (newBuffer): exception safety
4328
4329         * Thesaurus.C (Thesaurus): use initialization for aik_
4330
4331         * MenuBackend.C (expandToc): exception safety.
4332
4333 2003-11-03  André Pönitz  <poenitz@gmx.net>
4334
4335         * buffer.C:
4336         * buffer.h:
4337         * bufferview_funcs.C: remove getInsetFromId()
4338
4339         * lyxcursor.[Ch]:
4340         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4341
4342         * lyxfunc.C:
4343         * text2.C:
4344         * text3.C: adjust
4345
4346 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4347
4348         * PosIterator.C (distance, advance): new
4349         * bufferview_funcs.[Ch] (put_selection_at): new
4350         * iterators.[Ch] (lockPath): new
4351
4352 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4353
4354         * iterators.[Ch] (asPosIterator): added
4355         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4356         * PosIterator.[Ch]: added
4357
4358 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4359
4360         * text3.C:
4361         * lyxfunc.C:
4362         * cursor.C (dispatch):
4363         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4364
4365         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4366         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4367         contructor, add a class function dispatched. Remove operator>=
4368
4369 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4370
4371         * debug.C: only use the default constructor for debugstream
4372         (lyxerr) here.
4373
4374         * main.C (main): include debug.h and setup the lyxerr streambuf
4375         here.
4376
4377 2003-10-31  José Matos  <jamatos@lyx.org>
4378
4379         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4380
4381         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4382         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4383         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4384         * paragraph_pimpl.C (simpleTeXSpecialC):
4385         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4386         add LatexRunParams argument.
4387
4388         * exporter.C (Export): change call accordingly.
4389
4390         * latexrunparams.h: add new member to take care of the other backends.
4391 2003-10-30  José Matos  <jamatos@lyx.org>
4392
4393         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4394         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4395         factorise code for paragraph output.
4396         * buffer.[Ch]:
4397         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4398         move functions.
4399
4400 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4401
4402         * text3.C (dispatch):
4403         * lyxfunc.C (dispatch):
4404         * cursor.C (dispatch):
4405         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4406
4407         * dispatchresult.h: make the dispatch_result_t ctor explicit
4408
4409 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4410
4411         * sgml.[Ch]:
4412         * buffer.C: small refactoring of docbook stuff
4413
4414 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4415
4416         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4417         meaning.
4418
4419 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4420
4421         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4422         operator dispatch_result_t, and operators for == != and >=
4423
4424         * cursor.C (dispatch): adjust for operator dispatch_result_t
4425         removal. comment out call to update
4426
4427         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4428
4429 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4430
4431         * text3.C:
4432         * text2.C:
4433         * text.C:
4434         * lyxtext.h:
4435         * lyxfunc.C:
4436         * cursor.C:
4437         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4438         (dispatch):
4439
4440         * dispatchresult.h: new file, DispatchResult broken out of
4441         insets/insetbase.h
4442
4443         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4444
4445 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4446
4447         * text.C (rowBreakPoint): put a hack inside #if 0
4448
4449 2003-10-28  André Pönitz  <poenitz@gmx.net>
4450
4451         * lyxtext.h:
4452         * metricsinfo.C:
4453         * paragraph_funcs.C:
4454         * rowpainter.C:
4455         * text.C:
4456         * text2.C: general cleanup (lots of small stuff)
4457
4458 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4459
4460         * text2.C (cursorEnd): simple fix to the "end key goes to one
4461         before the end on last row" bug
4462
4463 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4464
4465         * text.C (backspace): fix the "zombie characters"
4466
4467 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4468
4469         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4470
4471 2003-10-27  André Pönitz  <poenitz@gmx.net>
4472
4473         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4474
4475         * factory.C: handle new InsetPagebreak, InsetLine
4476
4477         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4478         and move handling into new InsetPagebreak, InsetLine
4479
4480         * BufferView_pimpl.C:
4481         * LyXAction.C:
4482         * ParagraphParameters.C:
4483         * ParameterStruct.h:
4484         * lyxfunc.C:
4485         * lyxtext.h:
4486         * paragraph.C:
4487         * paragraph.h:
4488         * paragraph_funcs.C:
4489         * paragraph_pimpl.C:
4490         * rowpainter.C:
4491         * text.C:
4492         * text2.C:
4493         * text3.C: adjust
4494
4495 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4496
4497         * text.C:
4498         * lyxrow_funcs.[Ch]:
4499         * Bidi.C:
4500         * paragraph.C:
4501         * lyxtext.h:
4502         * rowpainter.C:
4503         * text2.C:
4504         * text3.C: remove lastPos uses in favour of Row::endpos
4505
4506 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4507
4508         * undo.C (performUndoOrRedo): fix two crashes by setting a
4509         cursor by hand and reordering some calls. Use bv->lockInset instead
4510         of inset->edit because the latter loses cursor information
4511
4512 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4513
4514         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4515         by Martin
4516         (rowBreakPoint): fix width. change point to point + 1.
4517         Add a missing check.
4518
4519 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4520
4521         * MenuBackend.C:
4522         * lyxfunc.C: fix (at least partly) the problems
4523         with the Nav menu and headers inside branch insets
4524         reported by Kayvan
4525
4526 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4527
4528         * paragraph.C (getChar): add strong asserts
4529
4530         * lyxrow_funcs.C (lastPos): remove hideous hack
4531
4532         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4533         (fill): adjust to that (avoid an infinite loop)
4534
4535 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4536
4537         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4538
4539 2003-10-23  André Pönitz  <poenitz@gmx.net>
4540
4541         * RowList_fwd.h: change list<> to vector<> to gain speed
4542         after suggestion from Alfredo
4543
4544 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4545
4546         * lyxtext.h: move the bidi stuff from here...
4547         * text.C: and here
4548         * text2.C: and here
4549         * Bidi.[Ch]: ... to here
4550
4551 2003-10-23  André Pönitz  <poenitz@gmx.net>
4552
4553         * lyxtext.h:
4554         * text.C (isLastRow, isFirstRow): new functions
4555
4556         * paragraph.h: new width cache member
4557
4558         * rowpainter.C: replace RowList::iterator with Row & where possible
4559
4560         * lyxfunc.C: replace several view()->text with a single call
4561
4562         * toc.C: fix 'unused' warning
4563
4564 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4565
4566         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4567         when woring with stream::pos_type
4568         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4569
4570 2003-10-22  André Pönitz  <poenitz@gmx.net>
4571
4572         * lyxtext.h:
4573         * text.C: use Row & instead of RowList::iterator
4574
4575         * lyxrow.h: rename end() to endpos()
4576
4577         * rowpainter.C:
4578         * text.C:
4579         * text2.C: adjust
4580
4581 2003-10-22  Angus Leeming  <leeming@lyx.org>
4582
4583         * buffer.[Ch] (fully_loaded): new member function, returning true
4584         only when the file has been loaded fully.
4585         Used to prevent the premature generation of previews and by the
4586         citation inset to prevent computation of the natbib-style label.
4587
4588         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4589         templates are all set up.
4590
4591         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4592
4593 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4594
4595         * text.C: fixed an "oops" in the "is a bit silly"
4596         bug fix
4597
4598 2003-10-21  André Pönitz  <poenitz@gmx.net>
4599
4600         * FuncStatus.[Ch]: small stuff, whitespace
4601
4602         * lyxfont.[Ch]: operator<<() for debug reasons
4603
4604         * lyxfunc.C:
4605         * lyxrow_funcs.C:
4606         * lyxtext.h: whitespace, spelling
4607
4608         * paragraph.C: naming of variables
4609
4610         * text.C:
4611         * text2.C: small stuff
4612
4613
4614 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4615
4616         * text.C: (1) finish off the inset display() work;
4617         (2) fix the "is a bit silly" bug (accessing char
4618         past end of par).
4619
4620 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4621
4622         * text.C: re-introduce display() for insets, fixing the
4623         various bugs (stretch of line above, math inset
4624         positioning, ...)
4625
4626 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4627
4628         * text.C (rightMargin): remove spurious semicolon
4629
4630         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4631         1415)
4632
4633 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4634
4635         * text3.C: fix one crash due to wrong cursor def
4636
4637 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4638
4639         * vc-backend.C (scanMaster): make the regex static
4640
4641         * LaTeX.C (scanAuxFile): make the regexs static
4642
4643         * text3.C (doInsertInset, dispatch, dispatch):
4644         * text2.C (cursorUp, cursorDown):
4645         * text.C (selectNextWordToSpellcheck):
4646         * BufferView_pimpl.C (dispatch):
4647         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4648
4649 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4650
4651         * lyxsocket.C: include <cerrno>
4652
4653 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4654
4655         * lyxfunc.C (dispatch): remove textcache stuff
4656
4657         * bufferlist.C (release): remove textcache stuff
4658         (closeAll): ditto
4659
4660         * TextCache.C: delete file
4661         * TextCache.h: delete file
4662
4663         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4664
4665         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4666         delete of the bv_->text.
4667         (resizeCurrentBuffer): remove texcache stuff
4668         (workAreaResize): ditto
4669
4670 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4671
4672         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4673         action.
4674
4675 2003-10-16  André Pönitz  <poenitz@gmx.net>
4676
4677         * lyxrow.[Ch]:
4678         * paragraph.h:
4679         * rowpainter.C:
4680         * text.C:
4681         * text2.C:
4682         * text3.C: speed up by storing y positions per paragraph plus per-row
4683         offset instead of having a 'full' y position in the row.
4684
4685 2003-10-15  André Pönitz  <poenitz@gmx.net>
4686
4687         * iterators.[Ch]:
4688         * iterators.[Ch]:
4689         * undo.[Ch]: make undo aware of inner insets
4690
4691 2003-10-14  Angus Leeming  <leeming@lyx.org>
4692
4693         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4694         static member functions LyX::ref() and LyX::cref.
4695         (lastfiles): new accessor functions for the new lastfiles_ member var.
4696         (addLyXView, views_): add a new LyXView to the list of views_.
4697         (updateInset): loop over all LyXViews to call their own updateInset
4698         member function, returning a pointer to the Buffer owning the inset.
4699
4700         * BufferView_pimpl.C (loadLyXFile):
4701         * MenuBackend.C (expandLastfiles):
4702         * bufferlist.C (MenuWrite, QuitLyX):
4703         lastfiles is no longer a global variable.
4704         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4705
4706         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4707         static function. Access through LyX::cref().emergencyCleanup().
4708
4709 2003-10-14  André Pönitz  <poenitz@gmx.net>
4710
4711         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4712
4713         * undo.[Ch]: restoring part of 'undo in insets'
4714
4715         * Makefile.am:
4716         * undo_funcs.[Ch]: merge with undo.[Ch]
4717
4718         * tabular.C: small cleansing stuff
4719
4720 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4721
4722         * paragraph_funcs.C (readParToken): report unknown insets as error
4723         boxes. Use the outer paragraph as location (also for unknown
4724         tokens).
4725
4726         * factory.C (readInset): do not abort on reading an unknown inset.
4727         Eat it and return 0.
4728
4729 2003-10-13  Angus Leeming  <leeming@lyx.org>
4730
4731         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4732
4733         * lyxrc.C: displayTranslator is now a function,
4734         declared in GraphicsTypes.h.
4735
4736 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4737
4738         * format.C: new placeholder $$a to pass the socket address.
4739
4740         * bufferlist.[Ch]: new function getBufferFromTmp.
4741
4742         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4743           files in the temporary dir.
4744
4745 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4746
4747         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4748
4749         * Makefile.am: add lyxsocket.[Ch].
4750
4751         * lyx_main.C (error_handler): handle SIGPIPE.
4752
4753 2003-10-13  André Pönitz  <poenitz@gmx.net>
4754
4755         * BufferView_pimpl.C:
4756         * lyxtext.h:
4757         * text.C:
4758         * text2.C:
4759         * text3.C:
4760         * undo_funcs.[Ch]: use paroffset_type instead of
4761           ParagraphList::iterators to prevent multiple conversion
4762           (and get a more robust interface)
4763
4764 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4765
4766         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4767         * lyxtext.h: ditto
4768         * text3.C (dispatch): ditto
4769
4770 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4771
4772         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4773         move the onlyfile, use onlyfile instead of foundfile in a couple
4774         of places.
4775
4776         * DepTable.C (update): flush the error stream a bit more
4777
4778 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4779
4780         * lyxserver.C (callback): adjust
4781
4782         * lyxfunc.C (getStatus): add a missing brace in commented code
4783         (ensureBufferClean): reindent
4784         (dispatch): delete version taking a string
4785
4786 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4787
4788         * LaTeX.C (deplog): move found file handlig from here...
4789         (handleFoundFile): .. to new function here.
4790         (deplog): make sure to discover several files mentioned on the
4791         same log line.
4792
4793 2003-10-10  André Pönitz  <poenitz@gmx.net>
4794
4795         * lyxfunc.C:
4796         * lyxtext.h:
4797         * tabular.C:
4798         * text.C:
4799         * text2.C:
4800         * text3.C: fix some of the tabular crashes
4801
4802 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4803
4804         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4805
4806         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4807
4808 2003-10-09  André Pönitz  <poenitz@gmx.net>
4809
4810         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4811
4812         * BufferView.C:
4813         * BufferView_pimpl.C:
4814         * bufferview_funcs.C:
4815         * lyx_cb.C:
4816         * lyxcursor.C:
4817         * lyxfind.C:
4818         * lyxfunc.C:
4819         * lyxtext.h:
4820         * text.C:
4821         * text2.C:
4822         * text3.C:
4823         * text_funcs.[Ch]:
4824         * textcursor.[Ch]:
4825         * undo_funcs.C: adjust
4826
4827 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4828
4829         * text2.C (incrementItemDepth): new function, use a backtracking
4830         algorithm to discover the correct item depth.
4831         (resetEnumCounterIfNeeded): new function, use a backtracking
4832         algorithm to discover if counter reset is needed.
4833         (setCounter): use them. Simplify a bit. Add different labels for
4834         different item depths for itemize.
4835
4836         * paragraph.C (Paragraph): remove initialization of enumdepth
4837         (operator=): ditto
4838
4839         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4840         enumerate and itemize. Change the type of itemdepth to signed char.
4841
4842 2003-10-08  André Pönitz  <poenitz@gmx.net>
4843
4844         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4845           thing assignable.
4846         * text.C:
4847         * text2.C: adjust
4848
4849         * tabular.[Ch]: fix crash after 'row-insert'
4850
4851 2003-10-08  Angus Leeming  <leeming@lyx.org>
4852
4853         Fix doxygen warnings.
4854
4855         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4856         Remove CutAndPaste:: prefix from header file declaration.
4857
4858         * LColor.h (fill): remove LColor:: prefix from declaration.
4859
4860         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4861         use lyx::depth_type rather than Paragraph::depth_type so that
4862         header file and .C file match.
4863
4864         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4865
4866         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4867         * aspell.C: \file aspell_local.C -> \file aspell.C
4868         * gettext.C: \file gettext.C -> \file src/gettext.C
4869         * gettext.h: \file gettext.h -> \file src/gettext.h
4870         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4871         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4872         * text.C: \file text.C -> \file src/text.C
4873
4874         * toc.C: move comment so that doxygen is not confused.
4875
4876 2003-10-07  Angus Leeming  <leeming@lyx.org>
4877
4878         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4879
4880 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4881
4882         * aspell.C:
4883         * aspell_local.h: add forgotten std::string's.
4884
4885 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4886
4887         * LaTeXFeatures.C:
4888         * LyXAction.C:
4889         * factory.C:
4890         * lfuns.h:
4891         * lyxfunc.C:
4892         * text3.C: The Box patch. Fancybox support, minipage, parbox
4893
4894 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4895
4896         * CutAndPaste.h:
4897         * DepTable.h:
4898         * FloatList.h:
4899         * LaTeXFeatures.h:
4900         * ParagraphParameters.h:
4901         * TextCache.h:
4902         * Thesaurus.h:
4903         * bufferlist.h:
4904         * exporter.h:
4905         * importer.h:
4906         * lastfiles.h:
4907         * lyxfind.h:
4908         * lyxfont.h:
4909         * lyxlex.h:
4910         * lyxtextclasslist.h:
4911         * messages.h:
4912         * paragraph.h:
4913         * paragraph_pimpl.C:
4914         * textcursor.h: add <string> and other small fixes to make Lars'
4915         std::string patch compile with STLport.
4916
4917 2003-10-06  Angus Leeming  <leeming@lyx.org>
4918
4919         * LColor.h: Add missing #include <string>.
4920
4921 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4922
4923         * All most all file in all subdirs: Make <string> be the prefered
4924         way of getting to std::string, add using declarations.
4925
4926 2003-10-06  André Pönitz  <poenitz@gmx.net>
4927
4928         * metricsinfo.C: initialize LyXFont before changing attribute.
4929         (fixes the 'math in \emph is upright' bug)
4930
4931 2003-10-06  André Pönitz  <poenitz@gmx.net>
4932
4933         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4934
4935 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4936
4937         * graph.C:
4938         * paragraph_pimpl.C: Small fixes to build using STLport
4939
4940 2003-10-02  André Pönitz  <poenitz@gmx.net>
4941
4942         * lyxfunc.C:
4943         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4944
4945 2003-10-01  André Pönitz  <poenitz@gmx.net>
4946
4947         * factory.C: assert early
4948
4949 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4950
4951         * lyx_main.C: remove the global debug object
4952
4953         * debug.h: adjust for new debugstream
4954
4955         * debug.C: adjust for new debugstream and keep the global debug
4956         object here.
4957
4958 2003-09-22  Angus Leeming  <leeming@lyx.org>
4959
4960         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4961         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4962         an incomplete class LyXFont.
4963
4964 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4965
4966         * factory.C: bug fix in branches
4967
4968 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4969
4970         * lyxfunc.C (processKeySym): adjust
4971         (dispatch): adjust
4972         (dispatch): change arg name from ev to func, adjust
4973         (sendDispatchMessage): ditto
4974
4975         * lyx_main.C (defaultKeyBindings): adjust keybindings
4976         (deadKeyBindings): ditto
4977
4978         * kbsequence.C (addkey): return a FuncRequest
4979
4980         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4981
4982         * kbmap.C (bind): take a FuncRequest as arg, adjust
4983         (read): adjust
4984         (lookup): adjust
4985         (defkey): change to take a FuncRequest as arg, adjust
4986         (findbinding): take a FuncRequest as arg, adjust.
4987
4988         * funcrequest.h (operator=): added
4989
4990         * funcrequest.C (FuncRequest): default kb_action changed from
4991         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4992
4993         * buffer.C (dispatch): simplify
4994         (dispatch): adjust to take a FuncRequest as arg, adjust
4995
4996         * boost.C (assertion_failed): change assertion message slightly
4997
4998         * ToolbarBackend.C (read): simplify
4999
5000         * MenuBackend.C (binding): adjust call to findbinding, add a
5001         message if no binding is found.
5002         (read): simplify
5003         (expandToc): correct by adding a empty FuncRequest
5004
5005         * LyXAction.C: include <boost/assert.hpp>
5006         (isPseudoAction): delete function
5007         (LookupFunc): change name to...
5008         (lookupFunc): this. change return type to FuncRequest.
5009         (getActionName): take kb_action as arg, simplify
5010         (funcHasFlag): add an assert, simplify.
5011
5012 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5013
5014         * toc.C (action): return a FuncRequest, simplify
5015
5016         * lyxfunc.C (processKeySym): adjust
5017         (getStatus): delete version that takes an int.
5018         (getStatus): adjust
5019         (dispatch): delete version that takes action as int
5020         (dispatch): adjust
5021         (sendDispatchMessage): simplify and adjust
5022
5023         * funcrequest.C (getArg): take unsigned int as arg
5024
5025         * ToolbarBackend.C (read): adjust
5026         (add): delete version that takes func as a string.
5027         (getIton): take a FuncRequest as arg
5028
5029         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5030         action.
5031
5032         * MenuBackend.C (MenuItem): add a new construct that only takes a
5033         Kind, simplify the constructor use for submenus.
5034         (add): adjust
5035         (expandLastfiles): adjust
5036         (expandDocuments): adjust
5037         (expandFormats): adjust
5038         (expandFloatListInsert): adjust
5039         (expandFloatInsert): adjust
5040         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5041
5042         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5043         Remove class variables lyx_pseudo_map and lyx_arg_map
5044
5045         * LyXAction.C (searchActionArg): delete function
5046         (getPseudoAction): delete function
5047         (retrieveActionArg): delete function
5048         (LookupFunc): make it return kb_action, simplify.
5049         (getActionName): simplify
5050
5051         * factory.C (createInset): fix new bug
5052
5053 2003-09-19  Angus Leeming  <leeming@lyx.org>
5054
5055         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5056         masterFilename_ parameter in the include inset.
5057
5058         * factory.C (createInset): changes due to the changes to InsetInclude.
5059
5060 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5061
5062         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5063
5064 2003-09-18  Angus Leeming  <leeming@lyx.org>
5065
5066         * buffer.C:
5067         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5068         Inset::fillWithBibKeys.
5069         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5070
5071 2003-09-18  Angus Leeming  <leeming@lyx.org>
5072
5073         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5074         variables.
5075         (ctor): pass and store a 'Buffer const &'
5076         (buffer): new member function.
5077
5078         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5079         '*this' to the LaTeXFeatures ctor.
5080
5081 2003-09-18  Angus Leeming  <leeming@lyx.org>
5082
5083         * LColor.h:
5084         * lyxfont.C:
5085         * lyxfont.h:
5086         * lyxtext.h:
5087         * text.C: rename EnumLColor as LColor_color.
5088
5089 2003-09-18  Angus Leeming  <leeming@lyx.org>
5090
5091         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5092         remove #include "insets/insetbase.h" from cursor.h.
5093
5094 2003-09-18  Angus Leeming  <leeming@lyx.org>
5095
5096         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5097         InsetOld_code to remove #include "inset.h".
5098
5099         * iterators.C: add #include "insets/inset.h"
5100
5101 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5102
5103         * BufferView.C: remove more locking stuff that apparently doesn't
5104         do anything sensible.
5105
5106 2003-09-16  André Pönitz  <poenitz@gmx.net>
5107
5108         * paragraph.[Ch]:
5109         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5110           performance boost.
5111
5112 2003-09-16  Angus Leeming  <leeming@lyx.org>
5113
5114         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5115
5116         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5117         arg/return type.
5118
5119         * paragraph.h: remove #include "lyxfont.h". Forward declare
5120         LyXFont_size.
5121
5122 2003-09-16  Angus Leeming  <leeming@lyx.org>
5123
5124         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5125         of support/textutils.h.
5126         (isWord): move the contents of support/textutils.h's IsWordChar here.
5127
5128         * buffer.C:
5129         * lyxfind.C:
5130         * rowpainter.C:
5131         * text.C:
5132         * text2.C: add #include "paragraph.h".
5133
5134         * rowpainter.C:
5135         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5136
5137 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5138
5139         * main.C:
5140         * lyx_main.C:
5141         * lyx_cb.C:
5142         * buffer.C:
5143         * LaTeX.C: use namespace alias for lyx::support::os
5144
5145 2003-09-16  Angus Leeming  <leeming@lyx.org>
5146
5147         * bufferparams.C:
5148         * bufferview_funcs.C:
5149         * factory.C:
5150         * lyxfunc.C:
5151         * paragraph_pimpl.C:
5152         * rowpainter.C:
5153         * text.C: add #include "LColor.h".
5154
5155 2003-09-16  Angus Leeming  <leeming@lyx.org>
5156
5157         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5158         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5159         return LyXFont &.
5160         Store the FontBits::color variable as an int rather than as an
5161         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5162         file.
5163
5164         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5165         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5166         string calls together.
5167
5168         * lyxrc.C: add #include "LColor.h".
5169
5170 2003-09-15  Angus Leeming  <leeming@lyx.org>
5171
5172         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5173         a cow_ptr.
5174
5175 2003-09-15  Angus Leeming  <leeming@lyx.org>
5176
5177         * LColor.h: add an EnumLColor wrapper for LColor::color.
5178
5179         * lyxfont.[Ch] (color, setColor, realColor):
5180         * lyxtext.h, text.C (backgroundColor):
5181         pass EnumLColor args to/from the functions, rather than LColor::color
5182         ones.
5183
5184         * lyxfont.h:
5185         * lyxtext.h: forward declare EnumLColor.
5186
5187         * lyx_main.C: add #include "LColor.h".
5188
5189 2003-09-15  Angus Leeming  <leeming@lyx.org>
5190
5191         * .cvsignore: add lyx-gtk.
5192
5193 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5194
5195         * Chktex.C
5196         * LaTeX.C
5197         * LaTeXFeatures.C
5198         * ParagraphParameters.C
5199         * Spacing.C
5200         * buffer.C
5201         * bufferparams.C
5202         * bufferview_funcs.C
5203         * chset.C
5204         * counters.C
5205         * funcrequest.C
5206         * lyxfont.C
5207         * lyxgluelength.C
5208         * lyxlength.C
5209         * paragraph.C
5210         * paragraph_funcs.C
5211         * text3.C
5212         * vc-backend.C: remove usage of STRCONV
5213
5214 2003-09-15  Angus Leeming  <leeming@lyx.org>
5215
5216         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5217         explicitly define the color passed to the painter.
5218
5219 2003-09-15  Angus Leeming  <leeming@lyx.org>
5220
5221         * bufferparams.C (BufferParams): reorder member initializers to avoid
5222         compiler warning.
5223
5224 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5225
5226         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5227         * text.C (updateRowPositions): remove an unusual nop
5228
5229 2003-09-12  André Pönitz  <poenitz@gmx.net>
5230
5231         * BufferView_pimpl.C:
5232         * Bullet.C:
5233         * layout.h:
5234         * lyxfunc.C:
5235         * lyxlayout.[Ch]:
5236         * lyxtextclass.C:
5237         * rowpainter.C:
5238         * text.C:
5239         * text2.C:
5240         * Counters.[Ch]: finish the 'automatic counters' job
5241
5242 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5243
5244         * aspell.C: include <boost/assert.cpp> (compile fix)
5245
5246 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5247
5248         * boost.C (assertion_failed): use lyx::support::abort instead of
5249         assert.
5250
5251 2003-09-10  Angus Leeming  <leeming@lyx.org>
5252
5253         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5254         with their _fwd progeny.
5255
5256 2003-09-09  Angus Leeming  <leeming@lyx.org>
5257
5258         134 files throughtout the source tree: replace 'using namespace abc;'
5259         directives with the appropriate 'using abc::xyz;' declarations.
5260
5261 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5262
5263         * boost.C (emergencyCleanup): moved here from LAssert.c
5264         (assertion_failed): new function, called by BOOST_ASSERT
5265
5266         * several files: change Assert to BOOST_ASSERT
5267
5268 2003-09-09  Angus Leeming  <leeming@lyx.org>
5269
5270         * buffer.[Ch]: Add an Impl class and move Buffer's member
5271         variables into it. As a result move several header files out of
5272         buffer.h.
5273
5274         Add header files to lots of .C files all over the tree as a result.
5275
5276 2003-09-09  Angus Leeming  <leeming@lyx.org>
5277
5278         * buffer.[Ch]: make Buffer's member variables private. Add
5279         accessor functions.
5280
5281         Lots of changes all over the tree as a result.
5282
5283 2003-09-08  Angus Leeming  <leeming@lyx.org>
5284
5285         * graph.C: #include <config.h>.
5286
5287 2003-09-08  Angus Leeming  <leeming@lyx.org>
5288
5289         * BranchList.C:
5290         * BufferView.C:
5291         * BufferView_pimpl.C:
5292         * CutAndPaste.C:
5293         * DepTable.C:
5294         * LaTeX.C:
5295         * LaTeXFeatures.C:
5296         * LyXAction.C:
5297         * MenuBackend.C:
5298         * TextCache.C:
5299         * aspell.C:
5300         * buffer.C:
5301         * bufferlist.C:
5302         * changes.C:
5303         * chset.C:
5304         * converter.C:
5305         * counters.C:
5306         * debug.C:
5307         * graph.C:
5308         * ispell.C:
5309         * lyx_cb.C:
5310         * lyxfind.C:
5311         * lyxfunc.C:
5312         * lyxlex_pimpl.C:
5313         * lyxrc.C:
5314         * lyxrow.C:
5315         * paragraph.C:
5316         * rowpainter.C:
5317         * texrow.C:
5318         * text.C:
5319         * text2.C:
5320         * toc.C: remove redundant using directives.
5321
5322 2003-09-07  Angus Leeming  <leeming@lyx.org>
5323
5324         * LaTeXFeatures.h: remove #include "support/types.h".
5325         * ToolbarBackend.h: remove #include <algorithm>.
5326         * changes.h: remove #include <ctime>.
5327         * debug.h: remove #include <iosfwd>.
5328         * graph.h: remove #include "support/std_string.h".
5329         * lyx_main.h: remove #include <csignal>.
5330         * lyxlex_pimpl.h: remove #include <fstream>.
5331         * sgml.h: remove #include <algorithm>, <utility>.
5332         * toc.h: remove #include "support/std_ostream.h".
5333         Add #include <iosfwd>.
5334
5335 2003-09-07  Angus Leeming  <leeming@lyx.org>
5336
5337         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5338
5339         * converter.h: forward declare LatexRunParams.
5340         * encoding.h: remove #include "lyxrc.h".
5341         * lyxtext.h: remove #include "LColor.h".
5342         * lyxtextclass.h: remove #include "support/types.h".
5343         * trans.h: remove #include "tex-accent.h".
5344         * trans_mgr.h: remove #include "tex-accent.h".
5345         * insets/inset.h: remove #include "support/types.h", <vector>.
5346         * insets/insetcollapsable.h: remove #include "LColor.h".
5347         * insets/insetinclude.h: remove #include "dimension.h".
5348         * insets/insetlatexaccent.h: remove #include "dimension.h".
5349         * insets/insetoptarg.h:: remove #include "insettext.h".
5350         * insets/insettext.h: remove #include "dimension.h",
5351         <boost/shared_ptr.hpp>
5352
5353         * insets/renderers.h: add #include "dimension.h".
5354         * insets/updatableinset.h: add #include "support/types.h".
5355
5356         * many .C files: Associated changes.
5357
5358 2003-09-06  Angus Leeming  <leeming@lyx.org>
5359
5360         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5361         one, inside testInvariant.
5362
5363         * PrinterParams.C: new file.
5364         * PrinterParams.[Ch]: move the function bodies out of line.
5365
5366 2003-09-06  Angus Leeming  <leeming@lyx.org>
5367
5368         * ParagraphParameters.h: forward declare ParameterStruct rather than
5369         including its header file.
5370         (depth): moved out-of-line.
5371
5372 2003-09-06  Angus Leeming  <leeming@lyx.org>
5373
5374         * BufferView_pimpl.h:
5375         * kbmap.h:
5376         * kbsequence.h:
5377         * lyxfunc.h: forward declare LyXKeySym rather than
5378         #include "frontends/LyXKeySym.h".
5379
5380         * BufferView_pimpl.C:
5381         * kbmap.C:
5382         * kbsequence.C:
5383         * lyxfunc.C: associated changes.
5384
5385 2003-09-06  Angus Leeming  <leeming@lyx.org>
5386
5387         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5388         As a result, can remove the #include "insets/inset.h" from BufferView.h
5389
5390 2003-09-06  Angus Leeming  <leeming@lyx.org>
5391
5392         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5393         As a result, can remove the #include "insets/inset.h" from BufferView.h
5394
5395 2003-09-06  Angus Leeming  <leeming@lyx.org>
5396
5397         * buffer_funcs.C:
5398         * buffer.h:
5399         * bufferlist.C:
5400         * BufferView.C:
5401         * bufferview_funcs.C:
5402         * BufferView_pimpl.C:
5403         * CutAndPaste.C:
5404         * lyx_cb.C:
5405         * lyxfunc.C:
5406         * paragraph.h:
5407         * ParagraphParameters.C:
5408         * tabular.C:
5409         * text3.C:
5410         * toc.C:
5411         * undo_funcs.C:
5412         * frontends/controllers/ControlDocument.C:
5413         * insets/insetcaption.C: rearrange the #includes into some sort of
5414         coherent order.
5415
5416         * buffer.h: remove #includes ErrorList.h, undo.h
5417
5418 2003-09-06  Angus Leeming  <leeming@lyx.org>
5419
5420         * support/types.h: add a 'depth_type' typedef, used to store the
5421         nesting depth of a paragraph.
5422
5423         * paragraph.h:
5424         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5425         defining explicitly.
5426
5427         * buffer.h:
5428         * paragraph_funcs.h:
5429         * ParagraphParameters.h:
5430         * sgml.h: use lyx::depth_type rather than Paragraph or
5431         ParameterStruct's depth_type.
5432
5433         * buffer.h
5434         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5435
5436         * BufferView.C:
5437         * BufferView_pimpl.C:
5438         * CutAndPaste.C:
5439         * ParagraphParameters.C:
5440         * buffer_funcs.C:
5441         * bufferlist.C:
5442         * bufferview_funcs.C:
5443         * lyx_cb.C:
5444         * lyxfunc.C:
5445         * tabular.C:
5446         * text3.C:
5447         * toc.C:
5448         * undo_funcs.C:
5449         * frontends/LyXView.C:
5450         * frontends/controllers/ControlDocument.C:
5451         * frontends/controllers/ControlErrorList.C:
5452         * insets/insetbibitem.C:
5453         * insets/insetbranch.C:
5454         * insets/insetcaption.C:
5455         * insets/insetcollapsable.C:
5456         * insets/insetenv.C:
5457         * insets/insetert.C:
5458         * insets/insetfloat.C:
5459         * insets/insetfoot.C:
5460         * insets/insetfootlike.C:
5461         * insets/insetnewline.C:
5462         * insets/insetquotes.C:
5463         * insets/insettabular.C:
5464         * insets/insettext.C:
5465         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5466
5467         * frontends/controllers/ControlChanges.C: #include "changes.h".
5468
5469 2003-09-06  Angus Leeming  <leeming@lyx.org>
5470
5471         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5472         than #including paragraph.h.
5473
5474         * ParagraphList.h:
5475         * RowList.h: deleted. Superfluous.
5476
5477         * CutAndPaste.h:
5478         * iterators.h:
5479         * lyxcursor.h:
5480         * lyxtext.h:
5481         * text_funcs.h:
5482         * undo.h:
5483         * undo_funcs.h:
5484         * insets/inset.h:
5485         * insets/insettext.h: use ParagraphList_fwd.h rather than
5486         ParagraphList.h.
5487
5488         * paragraph.h: don't forward declare ParagraphList.
5489
5490         * buffer.h:
5491         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5492         rather than ParagraphList.h. paragraph.h is still needed for the
5493         Paragraph::depth_type parameters.
5494
5495         * textcursor.h: enable it to compile stand-alone in light of the
5496         above changes.
5497
5498         * bufferview_funcs.C:
5499         * iterators.C:
5500         * lyxfunc.C:
5501         * lyxrow_funcs.C:
5502         * paragraph.C:
5503         * rowpainter.C:
5504         * text.C:
5505         * text2.C:
5506         * text3.C:
5507         * text_funcs.C:
5508         * textcursor.C:
5509         * undo.C:
5510         * frontends/controllers/ControlParagraph.C:
5511         * frontends/controllers/ControlTabular.C:
5512         * insets/insetmarginal.C:
5513         * insets/insetminipage.C:
5514         * insets/insetnote.C:
5515         * insets/insetoptarg.C: add header files needed to compile again.
5516
5517 2003-09-06  Angus Leeming  <leeming@lyx.org>
5518
5519         * RowList_fwd.h: new file, forward-declaring Row rather than
5520         #including lyxrow.h.
5521
5522         * lyxrow_funcs.h:
5523         * lyxtext.h:
5524         * paragraph.h:
5525         * insets/insettext.h: use it instead of RowList.h
5526
5527         * bufferview_funcs.C:
5528         * lyxfunc.C:
5529         * lyxrow_funcs.C:
5530         * paragraph.C:
5531         * rowpainter.C:
5532         * text.C:
5533         * text2.C:
5534         * text3.C: #include "RowList.h".
5535
5536 2003-09-05  Angus Leeming  <leeming@lyx.org>
5537
5538         * factory.C (createInset):
5539         * vspace.C (c-tor): replace sscanf call with an istringstream.
5540         * ispell.C: re-add missing HP/UX headers.
5541         * lyxserver.C: re-add missing  os2 headers.
5542
5543 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5544
5545         * BranchList.C:
5546         * graph.C:
5547         * ispell.C:
5548         * lastfiles.C:
5549         * lyx_cb.C:
5550         * lyxserver.C:
5551         * texrow.C:
5552         * text3.C: re-add missing system headers, needed for 2.95.2.
5553
5554 2003-09-05  Angus Leeming  <leeming@lyx.org>
5555
5556         Changes most place everywhere due to the removal of using directives
5557         from support/std_sstream.h.
5558
5559 2003-09-05  Angus Leeming  <leeming@lyx.org>
5560
5561         Replace LString.h with support/std_string.h,
5562         Lsstream.h with support/std_sstream.h,
5563         support/LIstream.h with support/std_istream.h,
5564         support/LOstream.h with support/std_ostream.h.
5565
5566         Changes resulting throughout the tree.
5567
5568 2003-09-05  Angus Leeming  <leeming@lyx.org>
5569
5570         * sgml.h: ensure that the header file can be compiled stand-alone.
5571         * *.C: strip out redundant #includes. (320 in total.)
5572
5573 2003-09-04  Angus Leeming  <leeming@lyx.org>
5574
5575         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5576         here (from getPackages).
5577
5578         * debug.[Ch]: add a new EXTERNAL tag.
5579
5580 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5581
5582         * text2.C (cursorEnd): simplify
5583         (setCursor): adjust
5584         (getColumnNearX): adjust
5585
5586         * text.C (computeBidiTables): adjust
5587         (fill): adjust
5588
5589         * rowpainter.C (paintChars): adjust
5590         (paintSelection): adjust
5591         (paintChangeBar): adjust
5592         (paintText): adjust
5593
5594         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5595         lastPos instead.
5596         (numberOfSeparators): adjust
5597
5598 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5599
5600         * LyXAction.C:
5601         * box.[Ch]:
5602         * lfuns.h:
5603         * lyxfunc.C:
5604         * text3.C: Restricts the mouse click functionality
5605         of insets like bibtex, include, toc and floatlist to the visible
5606         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5607         up the dialogs. Cursor has to be in front of the inset (i.e.
5608         start of row) for this to function.
5609
5610 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5611
5612         * bufferview_funcs.C (currentState): output row information
5613
5614 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5615
5616         * bufferview_funcs.C (currentState): output paragraph position
5617
5618 2003-09-04  Angus Leeming  <leeming@lyx.org>
5619
5620         * FloatList.h: move out #include "Floating.h".
5621         * LaTeX.h: move out #include "DepTable.h".
5622         * LyXAction.h: move out #include "funcrequest.h".
5623         * buffer.h: move out #include "author.h", "iterators.h".
5624         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5625         * lyx_main.h: move out #include "errorlist.h".
5626         * lyxfunc.h: move out #include "FuncStatus.h".
5627         * lyxtext: move out #include "lyxcursor.h".
5628         * paragraph_pimpl.h: move out #include "counters.h".
5629
5630 2003-09-03  Angus Leeming  <leeming@lyx.org>
5631
5632         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5633         preamble_snippets list, enabling us to add snippets to the preamble
5634         only if the snippet was not there already.
5635
5636 2003-09-04  Angus Leeming  <leeming@lyx.org>
5637
5638         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5639
5640 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5641
5642         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5643         update
5644
5645 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5646
5647         * BranchList.C: point fix, earlier forgotten
5648
5649 2003-09-02  Angus Leeming  <leeming@lyx.org>
5650
5651         * box.C (contains): renamed from 'contained' after a fantastic
5652         amount of hot air.
5653
5654 2003-09-02  John Levon  <levon@movementarian.org>
5655
5656         * BufferView.C:
5657         * lyxcursor.h:
5658         * lyxcursor.C:
5659         * lyxfunc.C:
5660         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5661
5662 2003-09-02  John Levon  <levon@movementarian.org>
5663
5664         * text2.C: simplification of cursorEnd(), including partial
5665         fix for bug 1376
5666
5667 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5668
5669         * buffer.C (readFile): add a space
5670
5671 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5672
5673         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5674
5675 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * buffer.C (readFile): new function, take a filename and a
5678         ParagraphList::iterator
5679         (readFile): adjust
5680         (readFile): adjust, make it private. don't use setStream, make
5681         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5682         always contain the filename.
5683
5684         * BufferView.C (insertLyXFile): simplify and make it work for
5685         gzipped files.
5686
5687 2003-08-30  John Levon  <levon@movementarian.org>
5688
5689         * Makefile.am: fix dist (from Kayvan)
5690
5691 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5692
5693         * most files: change to use const Buffer refs
5694
5695 2003-08-27  André Pönitz  <poenitz@gmx.net>
5696
5697         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5698         on top of ownerPar().
5699
5700 2003-08-27  John Levon  <levon@movementarian.org>
5701
5702         * funcrequest.C: properly initialise POD members
5703
5704 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5705
5706         * lyxtext.h (top_y): move top_y from here
5707         * text.C:
5708         * text2.C:
5709         * text3.C:
5710         * BufferView.[Ch]:
5711         * BufferView_pimpl.[Ch]: to here
5712         * frontends/screen.C:
5713         * insets/insettabular.C:
5714         * insets/insettext.C: adjust
5715         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5716
5717 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5718
5719         * BufferView.[Ch]:
5720         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5721
5722 2003-08-26  André Pönitz  <poenitz@gmx.net>
5723
5724         * paragraph_func.[Ch] (outerPar): new function
5725
5726         * paragraph.C:
5727         * paragraph_funcs.C:
5728         * paragraph_funcs.h:
5729         * paragraph_pimpl.C:
5730         * text2.C: remove Inset::par_owner
5731
5732 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5733
5734         * lyxrow_funcs.C:
5735         * lyxtext.h:
5736         * text.C:
5737         * text2.C: eliminates the needFullRow/display() stuff
5738         altogether, putting the logic in metrics/draw in the insets.
5739
5740 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5741
5742         * text2.C (redoParagraphInternal, redoParagraphs):
5743         * text.C (redoParagraph): add a call to updateRowPositions at the
5744         end of each 'metrics-like' call. Remove all others.
5745         (getRow): remove the 'y-computing' version.
5746         (getRowNearY): do not compute nor return the real y. Solve the
5747         'y < 0' problem and simplify.
5748
5749 2003-08-22  Angus Leeming  <leeming@lyx.org>
5750
5751         * *.[Ch]: clean-up of licence and author blurbs.
5752         Also move config.h out of a few .h files and into a few .C files.
5753
5754 2003-08-22  André Pönitz  <poenitz@gmx.net>
5755
5756         * lyxrow.[Ch]: add x_ and *fill_ members
5757
5758         * lyxtext.h:
5759         * text.C:
5760         * rowpainter.C:
5761         * text2.C: adjust/remove prepareToPrint() calls
5762
5763 2003-08-22  André Pönitz  <poenitz@gmx.net>
5764
5765         * lyxrow.[Ch]: add  end_ member
5766
5767         * lyxrow_funcs.C: use LyXRow::end_
5768
5769         * lyxtext.h (singleWidth): add LyXFont parameter
5770
5771         * rowpainter.C:
5772         * text2.C: adjust LyXText::singleWidth() calls
5773
5774         * text.C (redoParagraph): simplify row breaking logic
5775
5776
5777 2003-08-19  André Pönitz  <poenitz@gmx.net>
5778
5779         * funcrequest.C: initialize button_ member
5780
5781         * text3.C:
5782         * rowpainter.[Ch]: interface consolidation
5783
5784 2003-08-18  André Pönitz  <poenitz@gmx.net>
5785
5786         * BufferView.C:
5787         * BufferView_pimpl.C:
5788         * lyxfind.C:
5789         * paragraph_funcs.C:
5790         * rowpainter.C:
5791         * text3.C: remove LyXScreen::draw() and fitCursor calls
5792
5793         * BranchList.h: remove spurious semicolons
5794
5795         * MenuBackend.C: fix branchlist related crash
5796
5797 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5798
5799         * BranchList.[Ch]:
5800         * InsetList.[Ch]:
5801         * LColor.[Ch]:
5802         * LyXAction.C:
5803         * Makefile.am:
5804         * MenuBackend.[Ch]:
5805         * bufferparams.[Ch]:
5806         * factory.C:
5807         * lfuns.h:
5808         * lyxfunc.C:
5809         * text3.C: implements the 'branch inset'
5810         idea. This allows the output of various versions of a document
5811         from a single source version, selectively outputing or suppressing
5812         output of parts of the text.
5813         This implementation contains a 'branch list editor' in a separate
5814         tab of the document settings dialog. Branches are user definable
5815         and have a "display colour" to distinguish them on-screen.
5816
5817         ColorHandler was somewhat cleaned up.
5818         (1) make possible a dynamically growing LColor list by allowing
5819         the graphic context cache to grow along (vector);
5820         (2) eliminate an IMHO unnecessary step in colour allocation.
5821
5822 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5823
5824         * BufferView_pimpl.C: compile fix
5825
5826 2003-08-15  André Pönitz  <poenitz@gmx.net>
5827
5828         * rowpainter.C: remove extra metrics calls
5829
5830         * lyxtext.h: merge the two constructors into a single one,
5831           pass reference to owner's par list
5832
5833         * BufferView_pimpl.C:
5834         * text.C:
5835         * text2.C: adjust
5836
5837 2003-08-15  André Pönitz  <poenitz@gmx.net>
5838
5839         * lyxrow_funcs.[Ch]:
5840         * lyxtext.h:
5841         * paragraph.h:
5842         * paragraph_funcs.C:
5843         * rowpainter.C:
5844         * text.C:
5845         * text2.C:
5846         * text3.C:
5847         * text_funcs.C: split LyXText::rowlist_ into individual
5848         Paragraph::rows_ chunks
5849
5850         * BufferView.[Ch]:
5851         * BufferView_pimpl.[Ch]:
5852         * lyxfind.C:
5853         * lyxtext.h:
5854         * text3.C: remove toggleSelection()
5855
5856 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5857
5858         * bufferlist.C: beautify two alerts (shorter text of buttons)
5859         * buffer.C: Remove redundant ' ' from message
5860         * tabular.h:
5861         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5862         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5863         rename VALIGN_CENTER to VALIGN_MIDDLE
5864
5865 2003-08-11  André Pönitz  <poenitz@gmx.net>
5866
5867         * lyxtext.h (getPar):
5868         * text.C: new function
5869
5870 2003-08-11  André Pönitz  <poenitz@gmx.net>
5871
5872         * Makefile.am:
5873         * tracer.[Ch]: remove unneeded files
5874
5875         * InsetList.[Ch]: remove resizeInsetsLyXText()
5876
5877         * lyxtext.h:
5878         * text.C:
5879         * text2.C:
5880         * text3.C: merge insertParagraphs() and appendParagraph()
5881         remove breakAgain(), update()
5882
5883         * BufferView_pimpl.[Ch]:
5884         * bufferview_funcs.[Ch]:
5885         * lyxfunc.C:
5886         * paragraph.[Ch]:
5887         * rowpainter.C:
5888         * tabular.C: adjust after text & InsetList changes.
5889
5890 2003-08-08  André Pönitz  <poenitz@gmx.net>
5891
5892         * text.C (insertChar, backspace): replace rowlist fiddling
5893         with rebreak of full par
5894
5895         * lyxtext.h:
5896         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5897         checkParagraph, updateInset): removed
5898
5899 2003-08-07  André Pönitz  <poenitz@gmx.net>
5900
5901         * paragraph.C:
5902         * text3.C: merge some LFUN handlers, remove dead code
5903
5904 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5905
5906         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5907
5908 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5909
5910         * text2.C (DEPM): fix part of bug 1255 and 1256
5911
5912 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5913
5914         * BufferView_pimpl.C (workAreaDispatch): change to use
5915         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5916         that are no mouse related.
5917
5918 2003-08-05  André Pönitz  <poenitz@gmx.net>
5919
5920         * BufferView.[Ch]:
5921         * BufferView_pimpl.[Ch]:
5922         * bufferview_funcs.C:
5923         * text2.C:
5924         * text3.C: rip out "deep update"
5925
5926         * textcursor.[Ch] (last_sel_cursor): remove unused member
5927
5928 2003-08-04  André Pönitz  <poenitz@gmx.net>
5929
5930         * BufferView.[Ch]:
5931         * BufferView_pimpl.[Ch]:
5932         * ParagraphParameters.C:
5933         * bufferview_funcs.C:
5934         * lyx_cb.C:
5935         * lyxfind.C:
5936         * lyxfunc.C:
5937         * text.C:
5938         * text2.C:
5939         * text3.C: replace "complicated" BufferView::update(...) calls with
5940         simpler ones.
5941
5942         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5943
5944 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5945
5946         * Makefile.am (lyx_SOURCES): add paper.h
5947
5948 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5949
5950         * Makefile.am: move things around so that both lyx-qt and
5951         lyx-xforms can be built (according to --with-frontend). Then lyx
5952         is a symbolic link to lyx-[firstfrontend]
5953
5954 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5955
5956         * Always use std::endl with lyxerr
5957
5958 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5959
5960         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5961
5962 2003-08-01  André Pönitz  <poenitz@gmx.net>
5963
5964         * BufferView.[Ch]:
5965         * BufferView_pimpl.[Ch]:
5966         * lyxfunc.C:
5967         * text3.C: merge BufferView::repaint() and BufferView::update()
5968
5969 2003-08-01  José Matos  <jamatos@lyx.org>
5970
5971         * buffer.[Ch]: file_format is no longer a buffer data element.
5972
5973 2003-08-01  André Pönitz  <poenitz@gmx.net>
5974
5975         * BufferView.C:
5976         * lyxtext.h:
5977         * text.C:
5978         * text2.C: make redoParagraph more independent of current cursor
5979
5980         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5981         * text.C:
5982         * text2.C: remove unneeded members
5983
5984 2003-07-30  André Pönitz  <poenitz@gmx.net>
5985
5986         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5987
5988         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5989           create a single function...
5990
5991         * paragraph_funcs.C (moveItem): ... here.
5992
5993         * text.C:
5994           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5995
5996 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5997
5998         * LColor.[Ch]: Add comment and greyedout logical colors.
5999
6000 2003-07-30  André Pönitz  <poenitz@gmx.net>
6001
6002         * tabular.C: don't use Assert too heavily. This crashes where it
6003           shouldn't
6004
6005 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6006
6007         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6008         is disabled (bug 1232)
6009
6010 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6011
6012         * factory.C: limited 'arg' scope
6013
6014 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6015
6016         * factory.C: fixed Note submenu issues
6017
6018 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6019
6020         * factory.C: submenu for Note/Comment/Greyedout
6021
6022 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6023
6024         * lyx_main.C (LyX):
6025         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6026
6027 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6028
6029         * LaTeXFeatures.C:
6030         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6031         greyedout. Patch provided by Jürgen Spitzmüller.
6032
6033 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6034
6035         * kbmap.C (read): fix error message when reading bind files
6036
6037 2003-07-29  Angus Leeming  <leeming@lyx.org>
6038
6039         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6040         certainly does not do what it purports to do. I am doing it, and
6041         us, a favour by killing it.
6042
6043 2003-07-28  José Matos  <jamatos@lyx.org>
6044
6045         * buffer.C (readBody, do_writeFile):
6046         * paragraph.C(readParagraph): \end_document replaces \the_end.
6047
6048 2003-07-29  André Pönitz  <poenitz@gmx.net>
6049
6050         * BufferView.[Ch]:
6051         * BufferView_pimpl.[Ch]:
6052         * lyxfunc.C:
6053         * text2.C:
6054         * text3.C:
6055         * textcursor.[Ch]: remove toggleToggle & Co
6056
6057 2003-07-28  José Matos  <jamatos@fep.up.pt>
6058
6059         * buffer.C (readParagraph):
6060         * params_func (readParToken, readParagraph):
6061         * paragraph.C (write): \layout -> \begin_layout.
6062
6063 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6064
6065         * lyxlex_pimpl.C (setFile): clean up slightly.
6066
6067         * bufferparams.h: add compressed var
6068
6069         * buffer_funcs.C (readFile): adjust for LyXLex change
6070         (newFile): ditto + simplify
6071
6072         * buffer.C (writeFile): handle writing of compressed files
6073
6074         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6075         Check if the file is compressed and set a bufferparm if so.
6076
6077         * Makefile.am (lyx_LDADD): remove explicit -lz
6078
6079 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6080
6081         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6082         makeDocBookFile): put the real LyX version in the first line of
6083         the file
6084
6085         * version.h:
6086         * version.C.in: remove lyx_docversion
6087
6088         * tabular.C (write_attribute): add a template-based version to
6089         write enums properly
6090
6091 2003-07-28  André Pönitz  <poenitz@gmx.net>
6092
6093         * lyxtext.h:
6094         * text.C:
6095         * text2.C:
6096         * text3.C: use doubles again for x-coordinates. They are needed.
6097
6098 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6099
6100         * messages.C (getLocaleDir): use lyx_localedir()
6101
6102         * lyxlex_pimpl.C (setFile): compress stuff
6103
6104         * buffer.C (writeFile): add some compression stuff
6105         (do_writeFile): new func, dont call expliti close... will this
6106         breake anything?
6107
6108         * Makefile.am (lyx_LDADD): add -lz
6109
6110 2003-07-28  José Matos  <jamatos@fep.up.pt>
6111
6112         * buffer.C: increment file format.
6113         * paragraph_funcs (readParagraph, readParToken):
6114         * paragraph.C (readParagraph): add \end_layout.
6115
6116 2003-07-27  Angus Leeming  <leeming@lyx.org>
6117
6118         * Makefile.am: remove special casing for configure-time setting of
6119         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6120
6121         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6122         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6123
6124 2003-07-26  André Pönitz  <poenitz@gmx.net>
6125
6126         * paragraph_func.[Ch]:
6127         * paragraph.C (realizeFont): inline it whereever it is used
6128
6129         * rowpainter.C:
6130         * text.C:
6131         * text2.C:
6132         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6133
6134
6135 2003-07-26  André Pönitz  <poenitz@gmx.net>
6136
6137         *       lyxtext.h:
6138         * text.C:
6139         * text2.C: get rid of LyXText::need_break_row
6140
6141 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6142
6143         * toc.[Ch]: put namespace toc inside namespace lyx
6144
6145         * MenuBackend.C (expandToc2): adjust for lyx::toc
6146         (expandToc): ditto
6147
6148         * lyxfunc.C (dispatch): adjust for lyx::find
6149
6150         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6151         lyx::find instead. Reorganize a bit.
6152         (LyXReplace): rename to replace
6153         (LyXFind): rename to find
6154
6155         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6156         (dispatch): ditto
6157
6158 2003-07-26  André Pönitz  <poenitz@gmx.net>
6159
6160         * text.C (setHeightOfRow): restrict scope of temporary variable
6161
6162         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6163           code (never has been used?)
6164
6165 2003-07-27  Asger Alstrup  <alstrup@local>
6166
6167         * text.C (fill): Optimise algorithm to exploit that we can reuse
6168         the LyXFont for many characters.
6169         (setHeightOfRow): Same thing.
6170         (rowBreakPoint): Same thing.
6171
6172 2003-07-26  Asger Alstrup  <alstrup@local>
6173
6174         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6175
6176         * text.C (singleWidth): Spurious font copying in hot-spot
6177         singleWidth avoided. Reorder tests for arabic for efficiency.
6178
6179         * text.C (fill): handle empty paragraphs better.
6180
6181 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6182
6183         * ispell.C:
6184         * encoding.h: add includes
6185
6186         * lyxrc.C: remove reading of bind files
6187
6188         * lyx_main.C (init): setup bindings and menus only if we have a
6189         gui.
6190
6191         * kbmap.C (read): new method. Do the actual reading of bind
6192         files.
6193
6194         * converter.C (dvipdfm_options):
6195         * bufferparams.C:
6196         * lyxrc.C (read):
6197         (output): adapt PAPER_* enums.
6198
6199         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6200
6201         * bufferparams.h: remove paper-related enums from there
6202
6203         * paper.h: New file. A trivial header file to hold paper-related
6204         enums. It should later expand to contain many paper-related
6205         horrors access.
6206
6207         * lyxrc.C: declare extern displayTranslator
6208
6209 2003-07-27  José Matos  <jamatos@fep.up.pt>
6210
6211         * tabular.[Ch] (linuxdoc): add support for tables and figures
6212         (linuxdoc).
6213
6214 2003-07-27  José Matos  <jamatos@fep.up.pt>
6215
6216         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6217         consistency in both functions.
6218         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6219
6220 2003-07-26  Asger Alstrup  <alstrup@local>
6221
6222         * rowpainter.C (paintRows): Change algorithm to work directly on
6223         the insets rather than asking every character in the document
6224         whether its an inset.
6225
6226 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6227
6228         * buffer.C (openFileWrite): factorize some code
6229
6230 2003-07-26  Angus Leeming  <leeming@lyx.org>
6231
6232         * lyx_cb.C:
6233         * lyx_main.[Ch]: replace occurances of system_tempdir with
6234         os::getTmpDir().
6235
6236 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6237
6238         * rename Inset to InsetOld
6239
6240 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6241
6242         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6243         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6244         which I think is a bit clearer. EDIT is gone, since it was
6245         premature optimisation, and broken for mathed anyway.
6246         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6247         with cursor positioning in insets as well (math insets still do not
6248         work, but that's a different story anyway.) It mysteriously
6249         crashes sometimes with undo in the first paragraph, but I'm fairly
6250         confident that this is a compiler bug.
6251
6252 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6253
6254         * paragraph.C (Paragraph): adjust for new clone return type
6255         (operator==): ditto
6256         (copyIntoMinibuffer): ditto
6257
6258 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6259
6260         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6261         by not having a special case, and always doing a full rebreak of
6262         the document after undo.
6263
6264 2003-07-23  Angus Leeming  <leeming@lyx.org>
6265
6266         * factory.C (createInset): InsetExternal::setParams now takes a
6267         Buffer const * arg.
6268
6269 2003-07-23  Angus Leeming  <leeming@lyx.org>
6270
6271         * factory.C (createInset): changed interface to the external and
6272         graphics mailers' string2params functions.
6273
6274 2003-07-23  Angus Leeming  <leeming@lyx.org>
6275
6276         * factory.C (createInset): pass a
6277         Buffer const * parameter to InsetExternalMailer's string2params.
6278
6279 2003-07-22  John Levon  <levon@movementarian.org>
6280
6281         * Thesaurus.h: include the right aiksaurus header
6282
6283 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6284
6285         * MenuBackend.C (expand): check menu shortcuts unconditionally
6286
6287 2003-07-21  Angus Leeming  <leeming@lyx.org>
6288
6289         * factory.C (createInset): pass a
6290         buffer_path parameter to InsetGraphicsMailer's string2params.
6291
6292 2003-07-21  Angus Leeming  <leeming@lyx.org>
6293
6294         * BufferView_pimpl.C (buffer):
6295         * buffer.C (d-tor):
6296         * lyx_main.C (LyX):
6297         * lyxfunc.C (dispatch):
6298         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6299         rather than the grfx shortcut.
6300
6301 2003-07-21  André Pönitz  <poenitz@gmx.net>
6302
6303         * rowpainter.C: remove unused variables
6304
6305         * tabular_funcs.C:
6306         * tabular_funcs.h: move to tabular.C
6307         * Makefile.am: adjust
6308
6309         * tabular.[Ch]: basic optical cleaning
6310
6311         * author.h: pass references, not values
6312
6313 2003-07-18  André Pönitz  <poenitz@gmx.net>
6314
6315         * lyxtext.h:
6316         * metricsinfo.C:
6317         * metricsinfo.h:
6318         * rowpainter.C:
6319         * text.C:
6320         * text2.C:
6321         * text3.C: two-phase drawing for InsetText and InsetTabular
6322         some float -> int changes.
6323
6324 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6325
6326         * lyx_main.C: fix the fix
6327
6328 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6329
6330         * lyx_main.C: fix a crash in batch mode if no files specified
6331         * converter.C: ws
6332
6333 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6334
6335         * format.[Ch] (papersize): moved to BufferParams
6336         * converter.[Ch] (dvips_options): moved to BufferParams
6337         (dvipdfm_options): moved to anon namespace
6338         * bufferparams.[Ch]: added above functions.
6339
6340 2003-07-17  André Pönitz  <poenitz@gmx.net>
6341
6342         * lyxtext.h:
6343         * rowpainter.C:
6344         * text2.C: don't call inset->update() anymore
6345
6346         * metricsinfo.[Ch]: add convenience constructor
6347
6348 2003-07-16  André Pönitz  <poenitz@gmx.net>
6349
6350         * lyxcursor.[Ch]:
6351         * lyxfunc.[Ch]:
6352         * text.C:
6353         * text2.C: replace the LyXCursor::irow_ member with
6354          on-demand computation of the value
6355
6356 2003-07-16  John Levon  <levon@movementarian.org>
6357
6358         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6359
6360 2003-07-15  André Pönitz  <poenitz@gmx.net>
6361
6362         * text.C:
6363         * text2.C: remove no more needed refresh_row
6364
6365 2003-07-15  André Pönitz  <poenitz@gmx.net>
6366
6367         * lyxtext.h:
6368         * rowpainter.C:
6369         * text2.C:
6370         * text3.C: refresh_status tristate -> need_update bool
6371
6372 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6373
6374         * lyxtext.h (init): remove reinit argument (act as if always true)
6375         * text2.C: adjust to that
6376
6377 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6378
6379         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6380         * text3.C: use it to delete selections in some cases
6381         (bugs 441, 673, 702, 954).
6382
6383 2003-07-14  André Pönitz  <poenitz@gmx.net>
6384
6385         * rowpainter.[Ch]: reduce interface
6386
6387 2003-07-14  André Pönitz  <poenitz@gmx.net>
6388
6389         * BufferView_pimpl.C:
6390         * text2.C: adjust after removing unused BufferView * argument
6391
6392 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6393
6394         * text2.C (init): fix a crash fired on resize
6395
6396 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6397
6398         * buffer.[Ch]: added new closing signal
6399         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6400         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6401         BufferView::Pimpl via the closing the signal
6402
6403 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6404
6405         * buffer.[Ch]: take out all bv-related from buffer
6406         * BufferView.C:
6407         * BufferView_pimpl.[Ch]: connect to new signals
6408         * CutAndPaste.C: removed useless asserts
6409         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6410         * lyxvc.[Ch]:
6411         * vc-backend.[Ch]:
6412         * lyxfunc.C: moved view-related funciontality from vc here
6413         * paragraph.C: removed outdated comments
6414         * text.C: ws
6415
6416 2003-07-10  André Pönitz  <poenitz@gmx.net>
6417
6418         * BufferView_pimpl.C:
6419         * tabular.h:
6420         * tabular_funcs.C:
6421         * text.C:
6422         * text2.C: remove InsetText::InnerCache, clean up consequences
6423
6424 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6425
6426         * ispell.C: fix two typos in error messages
6427
6428 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6429
6430         * Extend Note inset to other forms of annotation like Comment
6431         and Greyedout. Right button click gives dialog.
6432
6433         Files modified or added (+):
6434
6435         * insetnote.[Ch]
6436         * FormNote.[Ch]      +
6437         * ControlNote.[Ch]   +
6438         * form_note.fd       +
6439         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6440         frontends/controllers
6441         * xforms/Dialogs.C
6442         * factory.C
6443
6444 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6445
6446         * aspell.C: add missing namespace lyx::support
6447
6448 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6449
6450         * BufferView.[Ch] (newFile): Add
6451         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6452         * LaTeX.[Ch] (message): added this signal and use it
6453         * buffer.[Ch] (busy, message): added these signals and use them
6454         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6455         * converter.C:
6456         * exporter.C:
6457         * format.C:
6458         * importer.C: use buffer signals instead of direct bv calling
6459         * lyx_cb.[Ch] (ShowMessage): removed
6460         * lyx_main.C:
6461         * lyxfunc.C:
6462         * paragraph_funcs.C:
6463         * text2.C: use buffer signals
6464
6465 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6466
6467         * introduce namespace lyx::graphics
6468
6469 2003-07-02  André Pönitz  <poenitz@gmx.net>
6470
6471         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6472
6473 2003-07-01  André Pönitz  <poenitz@gmx.net>
6474
6475         * text.C:
6476         * text2.C:
6477         * text3.C:
6478         * text_funcs.[Ch]:
6479         * textcursor.h:
6480         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6481           text*.C to text_func.C
6482
6483 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6484
6485         * introduce namespace lyx::support
6486
6487 2003-06-30  André Pönitz  <poenitz@gmx.net>
6488
6489         * Chktex.C:
6490         * funcrequest.C:
6491         * lyxtext.h:
6492         * text.C: re-enable --with-included-string
6493
6494 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6495
6496         * textcursor.C: add <config.h>
6497
6498         * text.C (getWord): remove const from word_location arg
6499
6500         * lyxvc.C (getLogFile): fix const type order
6501
6502         * lyxtext.h: remove const from word_location arg, add arg name
6503
6504         * lyxlayout.h: currect type on labeltype.
6505
6506         * importer.C: correct \file
6507
6508         * converter.C (intToFormat): use std:: on ret val, ws changes
6509
6510         * bufferlist.h: correct \file
6511
6512         * buffer.C (makeLinuxDocFile): fix const type order
6513         (makeDocBookFile): ditto
6514         (fillWithBibKeys): use std:: on stdlib args.
6515
6516         * CutAndPaste.C: fix authors.
6517         (availableSelections): use std:: on return vector
6518
6519 2003-06-27  André Pönitz  <poenitz@gmx.net>
6520
6521         * BufferView_pimpl.C:
6522         * bufferview_funcs.C:
6523         * lyxcursor.C:
6524         * lyxcursor.h:
6525         * lyxfunc.C:
6526         * lyxtext.h:
6527         * rowpainter.C:
6528         * text.C:
6529         * text2.C:
6530         * text3.C: remove LyXCursor::row_ member
6531
6532         * lyxtext.h:
6533         * text.C: rename fullRebreak() to partialRebreak() and implement
6534           a fullRebreak() that really bereks fully
6535
6536         * textcursor.h: new struct for cursor-related data
6537
6538 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6539
6540         * lyx_main.C (LyX): get full path of document loaded on the
6541         command line
6542
6543 2003-06-26  André Pönitz  <poenitz@gmx.net>
6544
6545         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6546           remove unused/broken operator>,<,>=.
6547
6548         *       text.C: remove only use of broken operator<= in an Assert().
6549
6550 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6551
6552         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6553         moved errorlist_.clear to showErrorList
6554
6555 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6556
6557         * converter.C (scanLog, runLaTeX):
6558         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6559         move the bv->showErrorList call to the callers
6560         * lyxfunc.C: i.e. here...
6561         * text2.C: and here
6562         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6563         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6564         namespace, the second to...
6565         * buffer_funcs (BufferFormat, parseErrors): added
6566         * errorlist.C (ErrorList(TeXErrors const &)): removed
6567
6568 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6569
6570         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6571
6572 2003-06-24  "Garst R. Reese" <reese@isn.net>
6573
6574         * debug.C: fix typo
6575
6576 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6577
6578         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6579
6580         * version.C.in: change docversion to 1.4
6581
6582 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6583
6584         * buffer.C: fix a bug just introduced
6585
6586 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6587
6588         * buffer.[Ch]: added the parseError signal and use it, removed
6589         sgmlError
6590         * BufferView.[Ch] (addError): moved to ...
6591         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6592         to the Buffer::parseError signal to catch (guess what) parse errors
6593         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6594
6595 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6596
6597         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6598         ability to create a buffer and to return an existing one from
6599         the list. Moved these functions to...
6600         * buffer_funcs.[Ch]: added
6601         * BufferView.[Ch] (loadLyXFile): added
6602         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6603         job removed from bufferlist::loadLyXFile.
6604         * buffer.C (setReadOnly): make it work without view
6605         (i.e added an if (users))
6606
6607 2003-06-19  Angus Leeming  <leeming@lyx.org>
6608
6609         * lfuns.h:
6610         * LyXAction.C (init):
6611         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6612         with LFUN_DIALOG_SHOW <name> <data>.
6613
6614 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6615
6616         * CutAndPaste.C (availableSelections): small compilation fix for
6617         ancient (gcc 2.9x) compilers
6618
6619 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6620
6621         * text3.C (cursorNext): add tmp var
6622
6623         * text2.C (updateCounters): for function calling out of for clause
6624         (replaceSelectionWithString): ditto
6625         (insertStringAsParagraphs): ditto
6626         (getColumnNearX): add tmp var
6627         (setCursorFromCoordinates): add tmp var
6628         (cursorDownParagraph): add tmp var
6629         (deleteEmptyParagraphMechanism): add tmp var
6630
6631         * text.C (insertChar): add tmp var
6632
6633         * rowpainter.C (paintDepthBar): add tmp var
6634
6635         * CutAndPaste.C (availableSelections): potentially check all
6636         paragraphs in a cut to fill the shown strings.
6637
6638 2003-06-18  André Pönitz  <poenitz@gmx.net>
6639
6640         * kbmap.[Ch]: use vector<> instead of list<>
6641
6642 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6643
6644         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6645         pasteSelection with index
6646
6647         * text2.C (pasteSelection): modify, call pasteSelection with index
6648
6649         * paragraph.C (asString): reimplement version with no interval to
6650         call the one with interval.
6651
6652         * lyxtext.h: add index arg to pasteSelection
6653
6654         * MenuBackend.C (MenuItem): handle PasteRecent
6655         (Menu::read::Menutags): add md_pasterecent
6656         (read): handle it
6657         (expandPasteRecent): new function
6658         (expand): use it
6659
6660         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6661
6662         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6663         the limited stack
6664         (availableSelections): new function
6665
6666 2003-06-17  Angus Leeming  <leeming@lyx.org>
6667
6668         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6669
6670 2003-06-17  Angus Leeming  <leeming@lyx.org>
6671
6672         * lfuns.h:
6673         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6674
6675         * lyxfunc.C (dispatch): invoke it.
6676
6677 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6678
6679         * iterators.C (operator++, ParPosition): reintroduce some
6680         const_cast for the benefit of older compilers.
6681
6682 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6683
6684         * text3.C (dispatch): do not modify clipboard when doing
6685         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6686         LFUN_DELETE_SKIP on a selection selection
6687
6688 2003-06-16  André Pönitz  <poenitz@gmx.net>
6689
6690         * BufferView.C:
6691         * buffer.C:
6692         * buffer.h:
6693         * paragraph.C:
6694         * tabular.[Ch]: IU of clone() and getLabelList();
6695
6696 2003-06-13  André Pönitz  <poenitz@gmx.net>
6697
6698         * tabular.h: compactification
6699
6700 2003-06-12  André Pönitz  <poenitz@gmx.net>
6701
6702         * tabular.C:
6703         * tabular.h:
6704         * tabular_funcs.h: some renaming plus whitespace
6705
6706 2003-06-12  André Pönitz  <poenitz@gmx.net>
6707
6708         * BufferView.C:
6709         * BufferView_pimpl.C:
6710         * CutAndPaste.C:
6711         * buffer.C:
6712         * iterators.[Ch]:
6713         * lyxfunc.C:
6714         * text.C:
6715         * toc.C: Return a Paragraph & for ParIterator::operator*()
6716
6717 2003-06-11  John Levon  <levon@movementarian.org>
6718
6719         * lyx_main.C:
6720         * ToolbarBackend.h:
6721         * ToolbarBackend.C: add "Toolbars" section and
6722         put the flags there
6723
6724 2003-06-10  Angus Leeming  <leeming@lyx.org>
6725
6726         * lfuns.h:
6727         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6728
6729         * lyxfunc.C (dispatch): invoke it.
6730
6731 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6732
6733         * main.C: protect <ios> with HAVE_IOS
6734         (main): protect sync_with_stdio with HAVE_IOS
6735
6736 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6737
6738         * text2.C (cutSelection): adjust
6739         (pasteSelection): adjust
6740
6741         * messages.C: handle get of empty string
6742
6743         * main.C (main): use sync_with_stdio(false)
6744
6745         * lyxfunc.C (dispatch): adjust
6746
6747         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6748         (WriteAs): remove unneeded BufferView arg.
6749
6750         * bufferparams.h: use correct types on papersize, papersize2 and
6751         paperpackage.
6752
6753         * bufferparams.C (readToken): adjust for type
6754         (writeLaTeX): add missing cases to switch.
6755
6756         * bufferlist.C (quitWriteBuffer): adjust
6757         (close): adjust
6758
6759         * buffer.C (asciiParagraph): remove some commented code.
6760
6761         * CutAndPaste.C: remove current_view extern variable.
6762         (cutSelection): add BufferParams arg.
6763         (eraseSelection): add BufferParams arg.
6764         (pasteSelection): add Buffer const & arg
6765
6766 2003-06-07  John Levon  <levon@movementarian.org>
6767
6768         * buffer.C:
6769         * paragraph_funcs.C:
6770         * paragraph_pimpl.C:
6771         * text.C:
6772         * text2.C:
6773         * paragraph.h:
6774         * paragraph.C: allow InsetERT to freely space lines,
6775         and some consolidation of code
6776
6777 2003-06-06  José Matos  <jamatos@fep.up.pt>
6778
6779         * buffer.C (makeDocBookFile): fix bug #821
6780
6781 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6782
6783         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6784
6785 2003-06-04  Angus Leeming  <leeming@lyx.org>
6786
6787         * buffer.C: bump format to 224.
6788
6789 2003-06-05  André Pönitz  <poenitz@gmx.net>
6790
6791         * text2.C (redoParagraphs): remove two const_cast<>
6792
6793 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6794
6795         * ParagraphList.h: remove last remnants of NO_STD_LIST
6796
6797 2003-06-03  Angus Leeming  <leeming@lyx.org>
6798
6799         * factory.C (createInset): small change to the way InsetExternal's params
6800         are set.
6801
6802 2003-06-04  André Pönitz  <poenitz@gmx.net>
6803
6804         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6805
6806         * paragraph_pimpl.h:
6807         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6808
6809         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6810
6811         * undo_funcs.C: make some simple cases of undo work again
6812
6813 2003-06-03  John Levon  <levon@movementarian.org>
6814
6815         * ispell.C: HPUX doesn't have sys/select.h
6816         (from Albert Chin)
6817
6818 2003-06-03  John Levon  <levon@movementarian.org>
6819
6820         * CutAndPaste.C: update tabular and include inset
6821         buffer references
6822
6823         * buffer.h:
6824         * paragraph.h:
6825         * paragraph.C: remove owningBuffer(), don't pass Buffer
6826         to clone()
6827
6828         * factory.C: insetGraphicsParams changed
6829
6830 2003-06-02  John Levon  <levon@movementarian.org>
6831
6832         * LyXAction.C:
6833         * factory.C:
6834         * lfuns.h:
6835         * lyxfunc.C:
6836         * text3.C: remove insetparent
6837
6838 2003-06-02  John Levon  <levon@movementarian.org>
6839
6840         * buffer.h:
6841         * buffer.C: fix inset_iterator.end(), move out of line
6842         (bug 1149)
6843
6844 2003-06-01  John Levon  <levon@movementarian.org>
6845
6846         * text3.C: use a proper cut/paste when doing inset
6847         insert (from Jürgen Spitzmüller)
6848
6849 2003-06-01  John Levon  <levon@movementarian.org>
6850
6851         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6852
6853 2003-05-30  André Pönitz  <poenitz@gmx.net>
6854
6855         * rowpainter.C: unify second drawing phase
6856
6857 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6858
6859         * trans_mgr.C: remove one case of current_view
6860
6861         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6862
6863         * paragraph_funcs.h: remove paragraph.h include
6864
6865         * paragraph.h: delete NO_STD_LIST stuff
6866
6867         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6868
6869         * buffer.h: remove paragraph.h include
6870
6871         * ParagraphList.C: delete file
6872
6873         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6874
6875         * toc.C (getTocList): adjust
6876
6877         * paragraph_pimpl.C (validate): adjust
6878
6879         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6880
6881         * paragraph.C (Paragraph): adjust
6882         (getPositionOfInset): use const_iterator, adjust
6883         (bibitem): use const_iterator, adjust
6884         (setInsetOwner): adjust
6885
6886         * iterators.C (operator++): adjust
6887
6888         * InsetList.[Ch]: Replace selfmade iterator with standard
6889         vector::iterator also introduce const_iterator. Remove getPos,
6890         getInset and setInset from InsetTable. Adjust accordingly.
6891
6892         * BufferView.C (lockInset): adjust
6893         (ChangeInsets): adjust
6894
6895         * tabular.[Ch]: delete commented same_id functions
6896
6897 2003-05-28  John Levon  <levon@movementarian.org>
6898
6899         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6900
6901 2003-05-28  André Pönitz  <poenitz@gmx.net>
6902
6903         * metricsinfo.[Ch]: remove 'fullredraw' member
6904
6905 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6906
6907         * lyxtextclass.C (operator): remove caching.
6908
6909 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6910
6911         * text3.C: adjust
6912
6913         * text2.C (cursorBottom): adjust
6914         (setCounter): use ParagraphList::find, adjust
6915
6916         * text.C (workWidth): use ParagraphList::find, adjust
6917
6918         * lyxcursor.C (LyXCursor): adjust
6919
6920         * buffer.C (inset_iterator): adjust
6921
6922         * ParagraphList.h: make iterator(value_type) private, make
6923         ParagraphList a friend of iterator.
6924
6925         * ParagraphList.C (find): new function
6926
6927         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6928
6929 2003-05-27  André Pönitz  <poenitz@gmx.net>
6930
6931         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6932
6933 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6934
6935         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6936
6937 2003-05-26  John Levon  <levon@movementarian.org>
6938
6939         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6940
6941 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6942
6943         * remove same_id from function signatures, adjust.
6944
6945 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6946
6947         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6948
6949         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6950
6951         * paragraph.C (Paragraph): get rid of same_ids parameter
6952
6953         * ParagraphList.C (insert): adjust
6954         (push_back): adjust
6955
6956 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6957
6958         * paragraph_funcs.C (breakParagraph): adjust
6959         (breakParagraphConservative): adjust
6960
6961         * buffer.C (readParagraph): adjust
6962
6963         * ParagraphList.C (insert): take a reference instead of a pointer
6964         (insert): adjust
6965
6966         * paragraph.[Ch] (id): new function
6967
6968         * bufferlist.C (newFile): adjust
6969
6970         * ParagraphList.C (ParagraphList): adjust
6971         (assign): adjust
6972         (push_back): take a reference instead of a pointer.
6973
6974         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6975
6976         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6977         instead.
6978
6979         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6980         set else use old code.
6981
6982         * ParagraphList.C: remove all NO_NEXT code and only compile this
6983         code of NO_STD_LIST is set.
6984
6985 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6986
6987         * BufferView_pimpl.C:
6988         * TextCache.C:
6989         * TextCache.h:
6990         * bufferlist.C:
6991         * errorlist.h:
6992         * format.C:
6993         * format.h:
6994         * graph.C:
6995         * lyxfunc.C:
6996         * lyxrc.C:
6997         * graphics/GraphicsConverter.C:
6998         * graphics/PreviewLoader.C: header adjustment
6999
7000 2003-05-23  Angus Leeming  <leeming@lyx.org>
7001
7002         * LaTeXFeatures.[Ch] (useBabel): new method.
7003         * bufferparams.C (writeLaTeX): use it.
7004
7005 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7006
7007         * ParagraphList.h (set): remove unused function.
7008
7009 2003-05-23  André Pönitz  <poenitz@gmx.net>
7010
7011         * BufferView.C:
7012         * BufferView_pimpl.C:
7013         * buffer.C:
7014         * buffer.h:
7015         * lyxfunc.C:
7016         * undo_funcs.C: setUndo reworked
7017
7018         * iterators.[Ch]: add access to topmost ParagraphList
7019
7020         * lyxtext.[Ch] (workWidth): add a const
7021
7022 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7023
7024         * texrow.[Ch] (increasePos): remove function
7025         * exporter.C (export): removed unused var and outdated comment
7026
7027 2003-05-23  Angus Leeming  <leeming@lyx.org>
7028
7029         * latexrunparams.h: rename fragile as moving_arg.
7030         * paragraph.C (simpleTeXOnePar): ditto.
7031         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7032
7033 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7034
7035         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7036         (createUndo): ditto
7037         (textUndoOrRedo): comment out a currently unused var.
7038
7039         * paragraph.h (NO_NEXT): enable NO_NEXT
7040
7041         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7042
7043         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7044
7045         * exporter.C (Export): adjust for removeAutoInsets removal.
7046
7047         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7048
7049         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7050
7051         * BufferView.[Ch] (removeAutoInsets): delete function
7052
7053 2003-05-22  Angus Leeming  <leeming@lyx.org>
7054
7055         * latexrunparams.h: add a free_spacing variable.
7056
7057         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7058         to pass moving_arg, as the data is stored in runparams.fragile.
7059
7060         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7061         to Inset::latexOptional or to simpleTeXOnePar.
7062
7063         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7064         free_spacing arg to Inset::latexOptional.
7065
7066         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7067         free_spacing arg.
7068
7069 2003-05-22  Angus Leeming  <leeming@lyx.org>
7070
7071         * latexrunparams.h: add fragile and use_babel variables.
7072
7073         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7074         * buffer.C (makeLaTeXFile): store this returned value in
7075         runparams.use_babel, thus passing it to the inset::latex methods.
7076
7077         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7078         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7079
7080         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7081         longer has a fragile arg, as it is stored in runparams.fragile.
7082
7083         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7084         moving_arg parameter as the data is stored in runparams.fragile.
7085
7086         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7087         a fragile parameter as the data is stored in runparams.fragile.
7088
7089 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7090
7091         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7092
7093 2003-05-22  Angus Leeming  <leeming@lyx.org>
7094
7095         * latexrunparams.h: add a 'bool nice' which defaults to false.
7096
7097         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7098         now encapsulated within runparams.
7099
7100         * bufferlist.C (updateIncludedTeXfiles):
7101         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7102
7103 2003-05-22  Angus Leeming  <leeming@lyx.org>
7104
7105         * latexrunparams.h: new file containing struct LatexRunParams.
7106         * Makefile.am: add new file.
7107
7108         * LaTeX.[Ch] (c-tor, run):
7109         * buffer.[Ch] (makeLaTeXFile):
7110         * bufferlist.[Ch] (updateIncludedTeXfiles):
7111         * converter.C (convert, scanLog):
7112         * converter.[Ch] (runLaTeX):
7113         * exporter.C (Export):
7114         * paragraph.[Ch] (simpleTeXOnePar):
7115         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7116         * paragraph_funcs.[Ch] (latexParagraphs):
7117         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7118         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7119         pass around a LatexRunParams parameter.
7120
7121 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7122
7123         * paragraph.[Ch]: remove unused constructor
7124
7125         * ParagraphList.C (erase): new function, taking two iterators
7126
7127 2003-05-22  André Pönitz  <poenitz@gmx.net>
7128
7129         * undo_funcs.C: remove duplicated code
7130
7131         * iterator.[Ch]: operator=
7132
7133 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7134
7135         * tabular.C (SetMultiColumn): ws changes
7136
7137         * rowpainter.C (paintFirst): get rid of a ->previous
7138
7139         * lyx_cb.C (getPossibleLabel): parlist simplification
7140
7141         * BufferView.C (ChangeInsets): simplify slightly.
7142
7143 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7144
7145         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7146         * lfuns.h: new LFUN_SPACE
7147         * lyxfunc.C: protected space has a new lfun
7148         * paragraph_funcs.C: read new space insets
7149         * text3.C:
7150         * factory.C: handle new space insets
7151
7152 2003-05-22  André Pönitz  <poenitz@gmx.net>
7153
7154         * BufferView.C:
7155         * BufferView_pimpl.C:
7156         * buffer.[Ch]:
7157         * lyxfunc.C:
7158         * undo_funcs.C: return a ParIterator from getParFromID.
7159
7160         * iterators.[Ch]: add two const's
7161
7162 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7163
7164         * toc.C (getTocList): adjust
7165
7166         * iterators.[Ch]: rework for parlist
7167
7168         * buffer.C (par_iterator_begin): adjust
7169         (par_iterator_end): adjust
7170
7171         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7172
7173         * BufferView.C (removeAutoInsets): adjust
7174         (ChangeInsets): adjust
7175
7176 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7177
7178         * text.C (top_y): fix bug 1110
7179
7180 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7181
7182         * errorlist.[Ch]: added
7183         * buffer.C:
7184         * BufferView.[Ch]:
7185         * BufferView_pimpl.C:
7186         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7187         instead
7188
7189 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7190
7191         * Makefile.am: ensure that lyx is relinked upon changes to the
7192         various "convenience" libs.
7193
7194 2003-05-20  Angus Leeming  <leeming@lyx.org>
7195
7196         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7197         files are compiled in alphabetical order again.
7198
7199         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7200
7201 2003-05-19  Angus Leeming  <leeming@lyx.org>
7202
7203         * gettext.[Ch]: remove "char const * _(char const *)".
7204
7205 2003-05-19  André Pönitz  <poenitz@gmx.net>
7206
7207         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7208
7209         * Makefile.am:
7210         * BufferView.C:
7211         * DepTable.h:
7212         * LaTeXFeatures.C:
7213         * buffer.C:
7214         * lyxfont.C:
7215         * lyxlex.h:
7216         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7217
7218 2003-05-19  André Pönitz  <poenitz@gmx.net>
7219
7220         * buffer.C:
7221         * lyxlayout.[Ch]:
7222         * lyxtextclass.[Ch]:
7223         * paragraph.C:
7224         * paragraph_funcs.[Ch]:
7225         * text2.C:
7226         * text3.C: more insetenv work
7227
7228 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7229
7230         * ParagraphParameters.C (params2string): small bug fixed
7231
7232 2003-05-16  André Pönitz  <poenitz@gmx.net>
7233
7234         * debug.C:
7235         * bufferview_funcs.C: patch from Kornel Benko to prevent
7236           crash when _(...) is called twice in a statement
7237
7238 2003-05-16  André Pönitz  <poenitz@gmx.net>
7239
7240         * BufferView.C:
7241         * lyxfunc.C:
7242         * text.C:
7243         * text2.C:
7244         * text3.C:
7245         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7246
7247 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7248
7249         * lyx_main.C (init): remove spurious static_cast
7250
7251 2003-05-14  André Pönitz  <poenitz@gmx.net>
7252
7253         * BufferView.C: fix format string
7254
7255 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7256
7257         * BufferView.[Ch] (insertErrors): removed
7258         * BufferView.[Ch] (showErrorList): added
7259         * buffer.C (runChkTeX):
7260         * converter.C (scanLog): call showErrorList instead of inserterrors
7261
7262 2003-05-13  André Pönitz  <poenitz@gmx.net>
7263
7264         * BufferView_pimpl.C:
7265         * buffer.C:
7266         * bufferview_func.C:
7267         * MenuBackend.C:
7268         * lyxfunc.C:
7269         * lyxrc.C:
7270         * tex-accent.C:
7271         * text3.C:
7272         * toc.C:
7273         * tabular_funcs.h: tostr() from its own header
7274
7275         * ParagraphParameters.C:
7276         * ToolbarBackend.C:
7277         * bufferparams.C:
7278         * format.C:
7279         * lyxlex_pimpl.C:
7280         * text3.C: STRCONV()
7281
7282 2003-05-12  André Pönitz  <poenitz@gmx.net>
7283
7284         * BufferView.C:
7285         * BufferView_pimpl.C:
7286         * CutAndPaste.C:
7287         * LaTeX.C:
7288         * LaTeXFeatures.C:
7289         * ParagraphParameters.C:
7290         * buffer.C:
7291         * bufferlist.C:
7292         * bufferparams.C:
7293         * bufferview_funcs.C:
7294         * converter.C:
7295         * counters.C:
7296         * debug.C:
7297         * exporter.C:
7298         * format.C:
7299         * importer.C:
7300         * lyx_cb.C:
7301         * lyx_main.C:
7302         * lyxfont.C:
7303         * lyxfunc.C:
7304         * lyxvc.C:
7305         * paragraph.C:
7306         * paragraph_funcs.C:
7307         * tabular.C:
7308         * tabular_funcs.C:
7309         * text2.C:
7310         * text3.C:  boost::format -> bformat  all over the place
7311
7312
7313 2003-05-09  André Pönitz  <poenitz@gmx.net>
7314
7315         * LColor.[Ch]: Pimpl the #include <map> away
7316
7317 2003-05-09  John Levon  <levon@movementarian.org>
7318
7319         * bufferlist.C: never remove emergency saves
7320
7321 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7322
7323         * Makefile.am: better lib building
7324
7325 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7326
7327         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7328         instead.
7329         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7330         (simpleTeXSpecialChars): adjust
7331         (simpleTeXSpecialChars): adjust
7332         * paragraph.C (simpleTeXOnePar): adjust
7333         * buffer.C (makeLaTeXFile): adjust
7334
7335         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7336
7337         * text2.C (changeDepth): parlist cleanup
7338         (getColumnNearX): ditto
7339
7340         * rowpainter.C (getLabelFont): parlist cleanup
7341
7342         * bufferlist.C (newFile): parlist cleanup
7343
7344         * CutAndPaste.C (eraseSelection): parlist cleanup
7345
7346         * BufferView_pimpl.C (trackChanges): parlist cleanup
7347         (dispatch): ditto
7348
7349         * BufferView.C (lockInset): parlist cleanup.
7350         (ChangeInsets): ditto
7351
7352 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7353
7354         * CutAndPaste.h: Update file header.
7355
7356         * CutAndPaste.C: Update file header.
7357         Store the parts cut out of the Document in a limited_stack.
7358         (copySelection): adjust
7359         (pasteSelection): new function, takes the index in the limited stack.
7360         (nrOfParagraphs): adjust
7361         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7362         simplify error inset insertion.
7363         (checkPastePossible): adjust
7364
7365 2003-05-06  John Levon  <levon@movementarian.org>
7366
7367         * text2.C: don't cast wrap inset to float
7368
7369 2003-05-05  André Pönitz  <poenitz@gmx.net>
7370
7371         * iterator.C:
7372         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7373
7374         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7375           few naked Paragraph *.
7376
7377 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7378
7379         * bufferparams.C: Output warning if a document with missing
7380         TeX document class is loaded
7381         * exporter.C: Disable TeX exports if the document class is missing
7382         * lyxtextclass.C:
7383         * lyxtextclass.h:
7384         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7385         isTeXClassAvailable()
7386
7387 2003-05-03  John Levon  <levon@movementarian.org>
7388
7389         * BufferView.h:
7390         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7391         explicit cursor show/hide
7392
7393         * BufferView_pimpl.h:
7394         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7395         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7396
7397         * lyxfunc.C: hide cursor before dispatching.
7398
7399         * lyx_cb.C:
7400         * lyxfind.C:
7401         * text.C:
7402         * text3.C: remove explicit cursor hides
7403
7404 2003-05-02  André Pönitz  <poenitz@gmx.net>
7405
7406         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7407
7408         * undo_funcs.C:
7409         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7410           linked lists
7411
7412         * text2.C: tiny whitespace
7413
7414 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7415
7416         * undo_funcs.C: almost only ws changes.
7417
7418         * ParagraphList.C (splice): just return if pl is empty.
7419
7420 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7421
7422         * ParagraphList.C (splice): new function.
7423
7424         * CutAndPaste.C (pasteSelection): use it
7425
7426 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7427
7428         * CutAndPaste.C (pasteSelection): remove the last next and
7429         previous from this file.
7430
7431 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7432
7433         * CutAndPaste.C (pasteSelection): more clean up, user proper
7434         ParagraphList functions for pasteing.
7435
7436         * ParagraphList.C (insert): new function, three arg insert
7437
7438 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7439
7440         * ParagraphList.C (insert): new function, three arg insert
7441
7442         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7443         not on paragraphs.
7444
7445 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7446
7447         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7448
7449 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7450
7451         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7452
7453 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7454
7455         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7456         (copySelection): clean up a bit.
7457         (pasteSelection): use make_pair
7458
7459         * ParagraphList.C (ParagraphList): implement copy constructor
7460         (operator=): implement, base on copy constructor.
7461         (assign): new func
7462
7463         * paragraph.C (erase): return a bool
7464
7465         * paragraph_pimpl.C (erasePos): remove function, move contents...
7466         (erase): ... here. Return a bool.
7467         (erase): call erase instead of erasePos.
7468
7469 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7470
7471         * ParagraphList.h: define PitPosPair
7472         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7473         ParagraphList, fix a bug on pasting multiple pars
7474         * text2.C: change interface to C&P
7475
7476 2003-04-30  André Pönitz  <poenitz@gmx.net>
7477
7478         * undo_func.C: revert part of yesterday's patch 2
7479
7480 2003-04-30  John Levon  <levon@movementarian.org>
7481
7482         * LColor.C: s/tabular/table/
7483
7484 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7485
7486         * text3.C (dispatch): do not convert iterator -> pointer
7487         * undo_funcs.C (setCursorParUndo): ditto
7488         * text_funcs.C (transposeChars): ditto
7489
7490         * text2.C (setLayout): ws changes only
7491
7492         * text.C (breakParagraph): do not convert iterator -> pointer
7493         (insertChar): ditto
7494         (acceptChange): ditto
7495         (rejectChange): ditto
7496         (changeCase): ditto
7497         (Delete): ditto
7498         (backspace): ditto
7499
7500         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7501         pointer
7502
7503 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7504
7505         * text3.C (gotoInset): YABG (yet another bad getChar)
7506
7507 2003-04-29  André Pönitz  <poenitz@gmx.net>
7508
7509         * paragraph.h: make operator= private unimplemented as long as
7510           it is unusable
7511
7512         * ParagraphList.C: whitespace
7513
7514         * paragraph.[Ch]:
7515         * paragraph_pimpl.[Ch]:
7516         * paragraph_funcs.C:
7517         * CutAndPaste.C:
7518         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7519
7520         * text2.C:
7521           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7522
7523 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7524
7525         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7526         * paragraph.[Ch] (erase):
7527         * paragraph_pimpl.[Ch] (erase): change return type and value
7528         * text2.C (cutSelection): some rework
7529
7530 2003-04-28  John Levon  <levon@movementarian.org>
7531
7532         * bufferlist.C: changes for unsaved changes dialog
7533
7534 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7535
7536         * bufferlist.C (newFile): set language (messages_) for new
7537         documents also.
7538
7539         * buffer.C (readFile): ws changes only.
7540
7541 2003-04-28  André Pönitz  <poenitz@gmx.net>
7542
7543         * undo_funcs.C:
7544         * lyxfunc.C:
7545         * buffer.[Ch]:
7546         * BufferView_pimpl.C:
7547         * BufferView.C: getParFromID related ParagraphList::iterator changes
7548
7549 2003-04-28  André Pönitz  <poenitz@gmx.net>
7550
7551         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7552           Changes
7553
7554 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7555
7556         * messages.C: remove one more localedir class variable.
7557
7558 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7559
7560         * messages.C (getLocaleDir): singleton generation function
7561         (Pimpl): use it.
7562         (Messages): add a default constructor.
7563
7564         * main.C (main): do not setup localedir here, do not call
7565         gettext_init.
7566
7567         * gettext.C (_): use it.
7568         (gettext_init): delete funciton
7569
7570 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7571
7572         * gettext.C (getLyXMessages): new singleton generating function.
7573
7574         * buffer.C (updateDocLang): adjust
7575
7576         * Makefile.am (messages.o): add target
7577         (main.o): remove target
7578
7579 2003-04-27  John Levon  <levon@movementarian.org>
7580
7581         * bufferlist.C:
7582         * lyx_cb.C:
7583         * lyxfunc.C:
7584         * lyxvc.C: specify cancel button in Alert::prompt
7585
7586 2003-04-26  John Levon  <levon@movementarian.org>
7587
7588         * text3.C:
7589         * lyxfunc.C:
7590         * lfuns.h:
7591         * LyXAction.C: add LFUN_INSET_SETTINGS
7592
7593         * lyxfunc.C: don't enable tabular-feature when there's
7594         just any locking inset
7595
7596 2003-04-26  John Levon  <levon@movementarian.org>
7597
7598         * bufferlist.C: re-add Cancel to buffer close question
7599
7600         * lyxfunc.C: fix import UI a bit
7601
7602 2003-04-25  John Levon  <levon@movementarian.org>
7603
7604         * gettext.C: remove the broken asserts for now
7605
7606 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * messages.C: make case where setlocale cannot comply work better.
7609
7610         * buffer.C (updateDocLang): new function
7611         (changeLanguage): use it
7612         (readFile): use it
7613
7614         * text2.C (setCounter): use B_ a bit.
7615
7616         * lyxlayout.C (Read): be sure to trim the label strings.
7617
7618         * messages.C (Messages): fix typo in comment
7619
7620         * buffer.C (readFile): set message_ after file is loaded.
7621         (makeDocBookFile): remove double return
7622         (changeLanguage): reset message_ upon language change.
7623         (B_): new func, use this to get translated buffer strings.
7624
7625         * main.C: add myself and Jean Marc as authors.
7626
7627 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7628
7629         * messages.[hC]: pimplify Messages, and three different pimpls to be
7630         used in different circumstances.
7631
7632         * gettext.[Ch]: change for use with new message code.
7633
7634 2003-04-24 André Pönitz <poenitz@gmx.net>
7635
7636         * factory.C: support for eqref
7637
7638 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7639
7640         * messages.[Ch]: add missing char
7641
7642         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7643
7644         * messages.[Ch]: New files
7645
7646 2003-04-18  John Levon  <levon@movementarian.org>
7647
7648         * BufferView.h:
7649         * BufferView.C:
7650         * BufferView_pimpl.C:
7651         * lfuns.h:
7652         * LyXAction.C:
7653         * lyxtext.h:
7654         * text2.C: remove layout-copy/paste (bug 778)
7655
7656 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7657
7658         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7659
7660 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7661
7662         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7663         if they succeed. Act accordingly.
7664
7665 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7666
7667         * text2.C (setCharFont): adjust
7668         (setCounter): adjust
7669         (insertStringAsLines): adjust
7670
7671         * text.C (leftMargin): adjust
7672         (setHeightOfRow): adjust
7673
7674         * rowpainter.C (paintFirst): adjust
7675         (paintLast): adjust
7676
7677         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7678         (outerHook): ditto
7679         (isFirstInSequence): ditto
7680         (getEndLabel): ditto
7681         (outerFont): adjust
7682
7683         * paragraph.C (getParLanguage): comment out some hard stuff.
7684
7685         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7686         (sgmlError): ditto
7687         (simpleDocBookOnePar): ditto
7688         (makeDocBookFile): use ParagraphList::iterator
7689
7690         * CutAndPaste.C (pasteSelection): adjust
7691
7692 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7693
7694         * text2.C (getFont): adjust
7695         (getLayoutFont): adjust
7696         (getLabelFont): adjust
7697
7698         * paragraph_funcs.C (TeXOnePar): adjust
7699
7700         * buffer.C (simpleLinuxDocOnePar): adjust
7701         (simpleDocBookOnePar): adjust
7702
7703         * CutAndPaste.C (pasteSelection): adjust
7704
7705         * BufferView.C (getEncoding): adjust
7706
7707         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7708
7709 2003-04-16  John Levon  <levon@movementarian.org>
7710
7711         * lyxfind.C: use parlist stuff for search/changes
7712
7713 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7714
7715         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7716
7717         * text2.C (deleteEmptyParagraphMechanism): adjust
7718
7719         * text2.[Ch] (ownerParagraph): delete func (both of them
7720
7721 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7722
7723         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7724
7725 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7726
7727         * ParagraphList.C: prepare for NO_NEXT
7728
7729 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * text2.C (getFont): adjust
7732         (getLayoutFont): adjust
7733         (getLabelFont): adjust
7734
7735         * paragraph.C (getFont): adjust
7736         (getLabelFont): adjust
7737         (getLayoutFont): adjust
7738
7739         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7740
7741 2003-04-15  John Levon  <levon@movementarian.org>
7742
7743         From Angus Leeming
7744
7745         * lyx_main.C: handle Include in .ui files
7746
7747 2003-04-15  John Levon  <levon@movementarian.org>
7748
7749         * MenuBackend.C: make the doc files length shorter
7750
7751         * ToolbarBackend.h:
7752         * ToolbarBackend.C: handle toolbar placement flags,
7753         Minibuffer
7754
7755 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7756
7757         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7758         adjust
7759
7760         * paragraph_funcs.C (TeXOnePar): adjust
7761
7762         * paragraph.C (getLabelFont): add outerfont arg, adjust
7763         (getLayoutFont): ditto
7764         (simpleTeXOnePar): adjust
7765
7766         * paragraph_pimpl.C (realizeFont): delete func
7767
7768 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7769
7770         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7771         row argument, constify cur argument.
7772
7773 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7774
7775         * text2.C (getFont): adjust
7776         (getLayoutFont): adjust
7777         (getLabelFont): adjust
7778
7779         * paragraph_funcs.C (TeXOnePar): adjust
7780         (outerFont): new func...
7781         (realizeFont): ...moved out from here, changed this to facilitate
7782         transition
7783
7784         * paragraph.C (getFont): take outerfont as arg, adjust
7785         (simpleTeXOnePar): add outerfont arg, adjust
7786
7787         * buffer.C (simpleLinuxDocOnePar): adjust
7788         (simpleDocBookOnePar): adjust
7789
7790         * CutAndPaste.C (pasteSelection): adjust
7791
7792         * BufferView.C (getEncoding): adjust
7793
7794 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7795
7796         * text2.C (setCharFont): adjust
7797         (setCounter): adjust
7798
7799         * text.C (leftMargin): adjust
7800         (setHeightOfRow): adjust
7801
7802         * rowpainter.C (paintFirst): adjust
7803         (paintLast): adjust
7804
7805         * paragraph_pimpl.C (realizeFont): adjust
7806
7807         * paragraph.C (isFirstInSequence): move from here...
7808         * paragraph_funcs.C (isFirstInSequence): ...to here
7809
7810         * paragraph.C (outerHook): move from here...
7811         * paragraph_funcs.C (outerHook): ...to here
7812
7813         * paragraph.C (depthHook): move from here...
7814         * paragraph_funcs.C (depthHook): ...to here
7815
7816         * paragraph.C (getEndLabel): move from here...
7817         * paragraph_funcs.C (getEndLabel): ...to here
7818
7819         * text2.C (realizeFont): move from here...
7820         * paragraph_funcs.C (realizeFont): ...to here
7821
7822 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7823
7824         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7825
7826 2003-04-14  Angus Leeming  <leeming@lyx.org>
7827
7828         * LColor.[Ch]: scrap LColor mathcursor.
7829
7830 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7831
7832         * lyxlex.[Ch] (text): delete function
7833         * trans.C (Load): adjust
7834         * paragraph_funcs.C (readParToken): adjust
7835
7836 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7837
7838         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7839         vector<char> instead of a char[].
7840
7841         * lyxlex_pimpl.C (getString): adjust
7842         (next): adjust
7843         (lex): use getString
7844         (eatLine): adjust
7845         (nextToken): adjust
7846
7847         * lyxlex.C (text): use pimpl_->getString()
7848         (getBool): ditto
7849         (findToken): ditto
7850
7851 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7852
7853         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7854         (makeFontEntriesLayoutSpecific): temp var for par.size()
7855         (setLayout): temp var for ownerParagraphs().end()
7856         (fullRebreak): temp var for rows().end()
7857         (selectionAsString): temp var for boost::next(startpit), realize
7858         that the while really is a regular for loop.
7859         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7860         setCursor in one place.
7861         (setParagraph): temp vr for ownerParagraphs().end()
7862         (updateCounters): make the while loop a for loop
7863         (cutSelection): temp var for ownerParagraphs().end()
7864         (updateInset): make the do {} while() a regular for loop
7865         (getCursorX): use temp vars
7866         (setCurrentFont): use temp vars
7867         (getColumnNearX): use temp vars
7868
7869 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7870
7871         * text.C (transformChar): use temp var for getChar
7872         (computeBidiTables): use temp var for row->par()
7873         (fill): move temp vars for row->par() and pit->layout() earlier in
7874         the function.
7875         (labelFill): use temp var for row->par()
7876         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7877         asc and desc, realize that pit never changes and that firstpit is
7878         just a duplicate and not needed. Exchange rit->par() with pit in a
7879         lot of places.
7880         (breakAgain): use a temp var for boost::next(rit)
7881         (breakAgainOneRow): ditto
7882         (breakParagraph): use a temp var for rows().begin()
7883         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7884         (cursorRightOneWord): use temp var for cursor.par() and
7885         cursor.pos(), remove usage of tmpcursor.
7886         (cursorLeftOneWord): use temp var for cursor.par() and
7887         cursor.pos() only set cur at end of function.
7888
7889 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7890
7891         * text.C, text2.C: exchange all usage of Paragraph::next with
7892         boost::next(ParagraphList::iterator)
7893
7894         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7895
7896         * text2.C (cursorTop): simplify implementation
7897         (cursorBottom): ditto
7898         (setParagraph): use ParagraphList::iterator
7899         (setCurrentFont): adjust
7900         (getColumnNearX): adjust
7901         (cursorRight): adjust
7902         (cursorLeft): remove usage of Paragraph::previous
7903         (cursorUpParagraph): ditto
7904         (deleteEmptyParagraphMechanism): slight cleanup
7905
7906         * text.C (isBoundary): take a Paragraph const & instead of a
7907         pointer as arg.
7908         (addressBreakPoint): ditto
7909         (leftMargin): remove usage of Paragraph::previous.
7910         (setHeightOfRow): ditto
7911         (cursorLeftOneWord): ditto
7912         (selectNextWordToSpellcheck): ditto
7913         (Delete): ditto
7914         (backspace): ditto
7915         (breakParagraph): remove one usage of Paragraph::next
7916         (redoParagraph): ditto
7917         (acceptChange): ditto
7918         (insertChar): adjust
7919         (rowBreakPoint): adjust
7920
7921         * bufferview_funcs.C (toggleAndShow): adjust
7922
7923 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7924
7925         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7926         methods to access it.
7927         * lyxtext.h:
7928         * text.C: Added updateRowPositions to compute all row positions.
7929         Make top_y and getRowNearY() to use the cached y position
7930
7931 2003-04-11  John Levon  <levon@movementarian.org>
7932
7933         * text.C (rowBreakPoint): reintroduce the labelEnd
7934         checks, code copied from the row fill stuff. Deep voodoo.
7935
7936         * text.C (fill): add a comment and debugging for the
7937         next poor soul.
7938
7939 2003-04-11  John Levon  <levon@movementarian.org>
7940
7941         * text.C: make sure fullrow insets get wrapped to the next line,
7942         even when they're in a manual label
7943
7944 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7945
7946         * text2.C (insertParagraph): make it take ParagraphList::iterator
7947         as arg.
7948         (setLayout): make it return ParagraphList::iterator
7949         (redoParagraphs): ditto
7950         (setCounter): ditto
7951         (checkParagraph): ditto
7952
7953         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7954
7955         * text2.C: adjust several funcs.
7956         (realizeFont): take a ParagraphList::iterator as arg.
7957         (getLayoutFont): ditto
7958         (getLabelFont): ditto
7959         (setCharFont): ditto
7960
7961         * text.C: adjust several funcs.
7962
7963 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7964
7965         * text.C (selectNextWordToSpellcheck): don't accidentally
7966         skip insets
7967
7968 2003-04-10  John Levon  <levon@movementarian.org>
7969
7970         * ToolbarBackend.C (getIcon): special handling for
7971         LFUN_MATH_DELIM
7972
7973 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7974
7975         * text2.C (cursorRight): a getChar assert fixed
7976
7977 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7978
7979         * text2.C (getFont): change to take a ParagraphList::iterator
7980         instead of Paragraph*
7981         Adjust several functions.
7982
7983         * text.C (transformChar): change to take a ParagraphList::iterator
7984         instead of Paragraph*
7985         (singleWidth): ditto
7986         Adjust several functions.
7987
7988         * rowpainter.C: adjust several functions
7989         * rowpainter.h:store a ParagraphList::iterator and not a
7990         Paragraph&.
7991
7992
7993 2003-04-09  John Levon  <levon@movementarian.org>
7994
7995         * lyxfunc.C:
7996         * lfuns.h:
7997         * LyXAction.h:
7998         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7999         and the "help" bits as well
8000
8001 2003-04-09  John Levon  <levon@movementarian.org>
8002
8003         * ToolbarBackend.h:
8004         * ToolbarBackend.C: allow multiple toolbars
8005
8006 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8007
8008         * undo_funcs.C (setCursorParUndo): adjust
8009
8010         * text_funcs.C (transposeChars): adjust
8011
8012         * text3.C (gotoNextInset): adjust
8013         (dispatch): adjust
8014
8015         * text2.C (setLayout): adjust
8016         (changeDepth): adjust
8017         (setFont): adjust
8018         (redoParagraphs): adjust
8019         (selectionAsString): adjust
8020         (setParagraph): adjust
8021         (insertInset): adjust
8022         (cutSelection): adjust
8023         (copySelection): adjust
8024         (pasteSelection): adjust
8025         (insertStringAsLines): adjust
8026         (updateInset): adjust
8027         (setCursor): change to take a ParagraphList::iterator parameter
8028         (setCursorIntern): change to take a ParagraphList::iterator parameter
8029         (setCurrentFont): adjust
8030         (cursorLeft): adjust
8031         (cursorRight): adjust
8032         (deleteEmptyParagraphMechanism): adjust
8033
8034         * text.C (breakParagraph): adjust
8035         (insertChar): adjust
8036         (acceptChange): adjust
8037         (rejectChange): adjust
8038         (selectNextWordToSpellcheck): adjust
8039         (changeCase): adjust
8040         (Delete): adjust
8041         (backspace): adjust
8042
8043         * lyxfind.C (SearchForward): adjust
8044         (SearchBackward): adjust
8045         (nextChange): adjust
8046
8047         * lyxcursor.C (par): adjust
8048
8049         * lyxcursor.h: store a ParagraphList::iterator instead of a
8050         Paragraph*
8051
8052         * lyx_cb.C (getPossibleLabel): adjust
8053
8054         * bufferview_funcs.C (toggleAndShow): adjust
8055
8056         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8057         (dispatch): adjust
8058
8059         * BufferView.C (removeAutoInsets): adjust
8060         (lockedInsetStoreUndo): adjust
8061
8062 2003-04-09  John Levon  <levon@movementarian.org>
8063
8064         * ToolbarBackend.C: try icon without argument
8065         if with argument fails
8066
8067 2003-04-08  John Levon  <levon@movementarian.org>
8068
8069         * ToolbarBackend.h:
8070         * ToolbarBackend.C: add getIcon(), handle tooltip,
8071         and change from "Icon" to "Item".
8072
8073 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8074
8075         * BufferView.C (lockInset): another bad getchar crunched
8076
8077 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8078
8079         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8080         again)
8081
8082 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8083
8084         * lyxfind.C (searchForward, searchBackwards): bug 782
8085
8086 2003-04-07  John Levon  <levon@movementarian.org>
8087
8088         * paragraph.C: remove dead comment
8089
8090         * text.C: remove troublesome depth-fiddling code
8091         in leftMargin() and rightMargin() (bug 1017)
8092
8093         * text.C: fix breaking of rows in nested lists
8094         (bug 1004)
8095
8096         * text2.C (updateCounters): fix up depth values
8097         (bug 1013)
8098
8099 2003-04-07  John Levon  <levon@movementarian.org>
8100
8101         * BufferView_pimpl.C: clear message when doc finishes resizing,
8102         and after a mouse event
8103
8104         * lyxfunc.C: clear message after exiting inset
8105
8106 2003-04-07  John Levon  <levon@movementarian.org>
8107
8108         * bufferview_funcs.C: show math status not outside
8109         status in the statusbar
8110
8111 2003-04-07  John Levon  <levon@movementarian.org>
8112
8113         * lyxfunc.C: note status changed after a depth change
8114
8115 2003-04-04  Angus Leeming  <leeming@lyx.org>
8116
8117         * LaTeX.h: move AuxInfo operator==, != out of line.
8118         Remove LaTeX virtual destructor; nothing derives from it.
8119         Move operator()() out of public area and rename it startscript().
8120         Change protected for private.
8121
8122 2003-04-04  Angus Leeming  <leeming@lyx.org>
8123
8124         * lyxfunc.C:
8125         * text2.C: remove unneeded #includes.
8126
8127 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8128
8129         * text2.C (dEPM): fix the heigth of the next row
8130
8131 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8132
8133         * text.C: squashed an invalid getChar requester + some ws changes
8134
8135 2003-04-03  John Levon  <levon@movementarian.org>
8136
8137         * bufferview_funcs.h:
8138         * bufferview_funcs.C:
8139         * lyxfunc.C:
8140         * lyxtext.h:
8141         * text2.C: make getStatus work for the env depth lfuns
8142
8143 2003-04-03  John Levon  <levon@movementarian.org>
8144
8145         * bufferview_funcs.h:
8146         * bufferview_funcs.C:
8147         * lyxfunc.C:
8148         * lyxtext.h:
8149         * text2.C: parlistize decDepth(), by merging it with incDepth()
8150
8151 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8152
8153         * lyxrow.h: store a ParagraphList::iterator instead of a
8154         Paragraph* and adjust other class functions to suit.
8155
8156         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8157         above.
8158
8159 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8160
8161         * text2.C (setCursor): do not anchor to cursor row for the time being
8162
8163 2003-04-02  John Levon  <levon@movementarian.org>
8164
8165         * LyXAction.C:
8166         * lfuns.h:
8167         * lyx_main.C:
8168         * lyxtext.h:
8169         * text.C:
8170         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8171
8172 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8173
8174         * paragraph.h: make ParagraphList and ParagraphList::iterator
8175         friends of Paragraph.
8176
8177         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8178
8179         * ParagraphList.C: Use the private next_ and previous_ from
8180         Paragraph.
8181
8182 2003-04-01  John Levon  <levon@movementarian.org>
8183
8184         * ToolbarBackend.h:
8185         * ToolbarBackend.C:
8186         * Makefile.am: rename, remove defaults gunk
8187
8188         * MenuBackend.h:
8189         * MenuBackend.C: remove defaults gunk
8190
8191         * Languages.h:
8192         * Languages.C: remove defaults gunk
8193
8194         * lyx_main.h:
8195         * lyx_main.C: error out if files couldn't be found.
8196
8197 2003-04-02  John Levon  <levon@movementarian.org>
8198
8199         * text2.C: make incDepth() use parlist
8200
8201 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8202
8203         * undo_funcs.C (firstUndoParagraph): adjust
8204
8205         * text3.C (gotoInset): adjust
8206         (dispatch): adjust, and rewrite loop.
8207
8208         * text2.C (init): adjust, and rewrite loop.
8209         (redoParagraphs): adjust
8210         (updateInset): adjust, and rewrite loop.
8211         (deleteEmptyParagraphMechanism): adjust
8212
8213         * tabular.C (LyXTabular): adjust
8214         (SetMultiColumn): adjust
8215         (TeXRow): adjust
8216
8217         * lyxtext.[Ch] (ownerParagraph): delete function
8218         (ownerParagraphs): new function returns a ParagraphList.
8219
8220         * BufferView.C (removeAutoInsets): adjust
8221         (insertErrors): adjust
8222         (setCursorFromRow): adjust
8223
8224 2003-04-01  Angus Leeming  <leeming@lyx.org>
8225
8226         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8227         in the frontends.
8228
8229 2003-04-02  John Levon  <levon@movementarian.org>
8230
8231         * lyxtext.h:
8232         * text.C:
8233         * Makefile.am:
8234         * text_funcs.h:
8235         * text_funcs.C: make transposeChars a free function
8236
8237         * lyxrow_funcs.C: remove wrong comment
8238
8239 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8240
8241         * lyxtext.h: adjust
8242         * rowpainter.C: adjust
8243         * text.C: adjust
8244         * text2.C: adjust
8245         * text3.C: adjust
8246
8247         * lyxrow_funcs. [Ch]: new files
8248
8249         * lyxrow.[Ch]: remove next and previous pointers
8250         (next,previous): remove accessor functions
8251         (isParEnd): move to lyxrow_funcs
8252         (lastPos): move to lyxrow_funcs
8253         (nextRowIsAllInset): move to lyxrow_funcs
8254         (lastPrintablePos): move to lyxrow_funcs
8255         (numberOfSeparators): move to lyxrow_funcs
8256         (numberOfHfills): move to lyxrow_funcs
8257         (numberOfLabelHfills): move to lyxrow_funcs
8258         (hfillExpansion): move to lyxrow_funcs
8259
8260         * lyxfunc.C: adjust
8261
8262         * bufferview_funcs.C (toggleAndShow): adjust
8263
8264         * RowList.h: Remove class RowList from file leave just a
8265         std::list<Row>.
8266
8267         * RowList.C: delete file
8268
8269         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8270         and lyxrow_funcs.h
8271
8272 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8273
8274         * text3.C (cursorPrevious): adjust
8275         (cursorNext): adjust
8276         (dispatch): adjust
8277
8278         * text2.C (redoHeightOfParagraph): adjust
8279         (redoDrawingOfParagraph): adjust
8280         (setCursor): adjust
8281
8282         * text.C (breakParagraph): adjust
8283         (insertChar): adjust
8284         (backspace): adjust
8285
8286         * rowpainter.C (RowPainter): adjust
8287         (leftMargin): simplify and adjust
8288         (most rowpainter functions): adjust.
8289
8290         * rowpainter.h: store the row as RowList::iterator not as Row*
8291
8292         * lyxcursor.C (row): taka RowList::iterator as arg
8293         (irow): ditto
8294
8295         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8296         of Row*.
8297
8298 2003-04-01  Angus Leeming  <leeming@lyx.org>
8299
8300         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8301         stuff like bool Bool.
8302
8303 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8304
8305         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8306         rewrite a loop
8307
8308 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8309
8310         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8311         RowList::iterator.
8312
8313         * lyxtext.h (rows): drop one version and leve a const variant that
8314         returns a RowList::iterator.
8315
8316 2003-03-31  Angus Leeming  <leeming@lyx.org>
8317
8318         * text.C (fill): ensure that the signature is the same as that in the
8319         header file.
8320
8321 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8322
8323         * text2.C (redoParagraphs): adjust
8324         (updateCounters): adjust
8325         (checkParagraph): adjust
8326         (getColumnNearX): adjust and reformat a bit.
8327
8328         * text.C (top_y): adjust
8329         (workWidth): adjust
8330         (leftMargin): adjust
8331         (prepareToPrint): adjust
8332         (getRow): adjust
8333         (getRowNearY): adjust
8334
8335         * lyxtext.h: make rowlist_ mutable.
8336
8337         * RowList.h: add const_iterator
8338         * RowList.C: adjust for RowList::const_iterator.
8339
8340         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8341         adjust.
8342
8343 2003-03-31  John Levon  <levon@movementarian.org>
8344
8345         * lyxrc.h:
8346         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8347
8348         * lyx_main.C: set default fonts from using lyx_gui funcs
8349
8350         * exporter.C: pdf_mode moved from lyxrc
8351
8352         * lyx_cb.C:
8353         * lyxfunc.C: changes from above
8354
8355 2003-03-31  John Levon  <levon@movementarian.org>
8356
8357         * lyx_main.C: fix to the last fix
8358
8359 2003-03-31  John Levon  <levon@movementarian.org>
8360
8361         * bufferlist.C: "Load original" -> "Load Original"
8362
8363         * converter.C:
8364         * exporter.C:
8365         * importer.C:
8366         * lyx_main.C:
8367         * format.C: more Alert cleanups
8368
8369 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8370
8371         * text2.C (removeParagraph): make it take a RowList::iterator as
8372         arg, adjust.
8373         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8374         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8375
8376         * text.C (anchor_row): make it take a RowList::iterator as arg,
8377         adjust.
8378         (computeBidiTables): make it take a const reference to Row instead
8379         of Row pointer, adjust.
8380         (leftMargin): make it take a RowList::iterator as arg, adjust.
8381         (rowBreakPoint): adjust
8382         (breakAgainOneRow): make it take a RowList::iterator as arg,
8383         adjust.
8384         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8385
8386         * bufferview_funcs.C (toggleAndShow): adjust
8387
8388 2003-03-30  John Levon  <levon@movementarian.org>
8389
8390         * Makefile.am:
8391         * BoostFormat.h:
8392         * boost-inst.C: moved to support
8393
8394         * several files: changes as a result
8395
8396 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8397
8398         * text2.C (LyXText): adjust.
8399         (init): adjust
8400         (removeRow): make it take a RowList::iterator as arg, adjust.
8401         (fullRebreak): adjust
8402         (deleteEmptyParagraphMechanism): adjust
8403         (clearPaint): adjust
8404         (postPaint): adjust
8405
8406         * text.C (top_y): adjust
8407         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8408         (breakAgain): make it take a RowList::iterator as arg, adjust.
8409         (breakParagraph): adjust
8410         (insertChar): adjust
8411         (backspace): adjust
8412
8413         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8414         need_break_row, and refresh_row.
8415
8416         * text3.C (dispatch): adjust
8417
8418         * text2.C (checkParagraph): adjust
8419         (setCursor): adjust
8420         (setCursorFromCoordinates): adjust
8421
8422         * text.C (top_y): adjust
8423         (workWidth): adjust
8424         (getRow): make it return a RowList::iterator, adjust
8425         (getRowNearY): make it return a RowList::iterator, adjust
8426
8427         * text2.C (init): adjust
8428         (insertRow): remove function
8429         (insertParagraph): adjust
8430         (redoParagraphs): adjust
8431         (fullRebreak): adjust
8432         (updateCounters): adjust
8433
8434         * text.C (top_y): rewrite to use RowList iterators.
8435         (top_y): adjust
8436         (setHeightOfRow): rewrite to sue RowList iterators.
8437         (appendParagraph): adjust
8438         (breakAgain): adjust
8439         (breakAgainOneRow): adjust
8440         (breakParagraph): adjust
8441         (getRow): adjust
8442         (getRowNearY): adjust, and remove commented code.
8443
8444         * lyxtext.h (firstRow): delete function
8445         (lastRow): delete function
8446         (rows): new function (const and non-const versions.)
8447         (insertRow): delete function
8448
8449         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8450
8451 2003-03-29  John Levon  <levon@movementarian.org>
8452
8453         * BufferView_pimpl.C: always update scrollbar top
8454         because pasting text when we're anchored could mean we
8455         miss an update altogether
8456
8457 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8458
8459         * text2.C (init): use rowlist_.end() and not 0.
8460         (insertRow): change to take a RowList::iterator as arg, adjust
8461         for this.
8462         (insertParagraph): change to take a RowList::iterator as arg,
8463         adjust for this.
8464         (redoParagraphs): remove some debug msgs.
8465
8466         * text.C (appendParagraph): change to take a RowList::iterator
8467         arg, adjust for this.
8468         (breakAgain): add an assert
8469         (breakAgainOneRow): ditto
8470
8471 2003-03-29  John Levon  <levon@movementarian.org>
8472
8473         * text2.C: do not clear selection after inc/decDepth
8474         (bug 550)
8475
8476 2003-03-29  John Levon  <levon@movementarian.org>
8477
8478         * BufferView.C:
8479         * buffer.C: fix broken strerrors according to Lars
8480
8481 2003-03-29  John Levon  <levon@movementarian.org>
8482
8483         * converters.C: more Alert cleanups
8484
8485 2003-03-29  John Levon  <levon@movementarian.org>
8486
8487         * bufferview_funcs.C: remove pointless Alert
8488
8489         * buffer.C: fix confusing error message when
8490         a template is chmoded 000
8491
8492 2003-03-29  John Levon  <levon@movementarian.org>
8493
8494         * BufferView.C:
8495         * BufferView.h:
8496         * BufferView_pimpl.C: Alert fixes
8497
8498         * Makefile.am:
8499         * tabular.C:
8500         * tabular-old.C: remove unused table compat reading
8501
8502 2003-03-29  John Levon  <levon@movementarian.org>
8503
8504         * BufferView.C:
8505         * buffer.C:
8506         * lyx_cb.h:
8507         * lyx_cb.C: more Alert cleanups
8508
8509         * lyxfunc.C: don't allow chktex if not latex document
8510
8511 2003-03-29  John Levon  <levon@movementarian.org>
8512
8513         * lyx_cb.C:
8514         * BufferView.C:
8515         * buffer.C: warnings pushed down from support/,
8516         kill err_alert
8517
8518 2003-03-29  John Levon  <levon@movementarian.org>
8519
8520         * lyxfunc.C: safety check for C-r (revert)
8521
8522 2003-03-29  John Levon  <levon@movementarian.org>
8523
8524         * bufferlist.h:
8525         * bufferlist.C: several UI fixes using Alert::prompt.
8526         Fix the pointless looping quit code. Fix stupid revert
8527         behaviour (bug 938)
8528
8529         * lyxvc.h:
8530         * lyxvc.C:
8531         * lyx_cb.C: use Alert::prompt
8532
8533         * lyx_main.C: remove a silly question
8534
8535         * lyxfunc.C: remove a couple of silly questions,
8536         use Alert::prompt
8537
8538 2003-03-28  John Levon  <levon@movementarian.org>
8539
8540         * text2.C: fix bug 974 (End on empty par)
8541
8542 2003-03-28  John Levon  <levon@movementarian.org>
8543
8544         * BufferView_pimpl.C:
8545         * LyXAction.C:
8546         * lfuns.h: remove do-nothing math greek lfuns
8547
8548 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8549
8550         * lyxgluelength.h (isValidGlueLength): add default arg on
8551         parameter 2. Remove default arg from friend in class.
8552
8553         * lyxlength.h (isValidLength): add default arg on parameter 2.
8554         Remove default arg from friend in class.
8555
8556         * text2.C (LyXText): adjust, initialize refresh_row.
8557         (init): adjust
8558         (removeRow): adjust
8559         (insertRow): adjust
8560         (insertParagraph): adjst
8561         (redoParagraphs): adjust
8562         (fullRebreak): adjust
8563         (updateCounters): adjust
8564         (deleteEmptyParagraphMechanism): first attempt at fixing a
8565         crashing bug.
8566
8567         * text.C (top_y): adjust
8568         (setHeightOfRow): adjust
8569         (getRow): adjust
8570         (getRowNearY): adjust
8571
8572         * lyxtext.h: include RowList.h
8573         (~LyXText): not needed anymore, deleted.
8574         (firstRow): modify for RowList
8575         (lastRow): new function
8576         Delete firstrow and lastrow class variables, add a Rowlist
8577         rowlist_ class variable.
8578
8579         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8580         paragraph is empty.
8581
8582         * RowList.C (insert): fix case where it == begin().
8583
8584 2003-03-26  Angus Leeming  <leeming@lyx.org>
8585
8586         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8587         the thesaurus dialog.
8588
8589 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8590
8591         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8592
8593         * RowList.[Ch]: new files
8594
8595         * ParagraphList.C (erase): handle the case where it == begin
8596         correctly.
8597
8598 2003-03-25  John Levon  <levon@movementarian.org>
8599
8600         * Makefile.am:
8601         * aspell_local.h:
8602         * aspell.C: add new aspell support
8603
8604         * lyxrc.h:
8605         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8606         have it accessible.
8607
8608 2003-03-25  Angus Leeming  <leeming@lyx.org>
8609
8610         * lfuns.h:
8611         * LyXAction.C (init): new LFUN_INSET_INSERT.
8612
8613         * BufferView_pimpl.C (dispatch): split out part of the
8614         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8615
8616         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8617         LFUN_INSET_APPLY.
8618
8619 2003-03-25  Angus Leeming  <leeming@lyx.org>
8620
8621         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8622
8623 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8624
8625         * text2.C:
8626         * text3.C: remove useless row->height(0)
8627
8628 2003-03-25  John Levon  <levon@movementarian.org>
8629
8630         * lyxtext.h:
8631         * text2.C:
8632         * text3.C: rename the refreshing stuff to better names
8633
8634 2003-03-24  John Levon  <levon@movementarian.org>
8635
8636         * BufferView_pimpl.h:
8637         * BufferView_pimpl.C: update layout choice on a mouse
8638         press/release
8639
8640 2003-03-23  John Levon  <levon@movementarian.org>
8641
8642         * Makefile.am: fix commandtags.h reference
8643
8644 2003-03-22  John Levon  <levon@movementarian.org>
8645
8646         * BufferView_pimpl.C:
8647         * lyxtext.h:
8648         * rowpainter.C:
8649         * rowpainter.h:
8650         * text.C:
8651         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8652
8653 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8654
8655         * lyxtext.h:
8656         * text.C: take the rtl methods out of line
8657
8658 2003-03-21 André Pönitz <poenitz@gmx.net>
8659
8660         * metricsinfo.[Ch]: new files containing structures to be passed around
8661         during the two-phase-drawing...
8662
8663 2003-03-21 André Pönitz <poenitz@gmx.net>
8664
8665         * lyxtextclass.C: read 'environment' tag.
8666
8667 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8668
8669         * text2.C (removeRow): fix bug 964
8670
8671 2003-03-20  John Levon  <levon@movementarian.org>
8672
8673         * rowpainter.C:
8674         * text.C:
8675         * text2.C: paint cleanups. Inset::update() dropped font
8676         parameter
8677
8678 2003-03-19  John Levon  <levon@movementarian.org>
8679
8680         * lyxfunc.C: only fitcursor/markDirty if available()
8681
8682 2003-03-19  John Levon  <levon@movementarian.org>
8683
8684         * commandtags.h: rename to ...
8685
8686         * lfuns.h: ... this, and renumber / cleanup
8687
8688 2003-03-19  John Levon  <levon@movementarian.org>
8689
8690         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8691         fit the cursor after an lfun
8692
8693         * BufferView.h:
8694         * BufferView.C:
8695         * BufferView_pimpl.h:
8696         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8697
8698         * LyXAction.C: layout-character should have ReadOnly
8699
8700         * ParagraphParameters.C:
8701         * buffer.C:
8702         * bufferview_funcs.C:
8703         * lyx_cb.C:
8704         * lyxfind.C:
8705         * lyxtext.h:
8706         * text.C:
8707         * text2.C:
8708         * text3.C:
8709         * undo_funcs.C: changes from above
8710
8711 2003-03-18  John Levon  <levon@movementarian.org>
8712
8713         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8714         remove it from update()
8715
8716         * lyxfunc.C: update layout choice after an lfun
8717
8718         * text3.C: remove extra updateLayoutChoice()s
8719
8720 2003-03-18  John Levon  <levon@movementarian.org>
8721
8722         * text.C: top_y change means full repaint, fix
8723         a drawing bug with cursor movement
8724
8725 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8726
8727         * lyxtext.h:
8728         * text.C:
8729         * text2.C: anchor row on setCursor
8730
8731 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8732
8733         * lyxtext.h: remove almost all mutable keywords
8734         * text.C:
8735         * text2.C:
8736         * text3.C: remove const keywords accordingly
8737
8738 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8739
8740         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8741         anon namespace
8742         (TeXEnvironment): ditto
8743         (TeXOnePar): ditto
8744
8745 2003-03-17  John Levon  <levon@movementarian.org>
8746
8747         * text.C (rowBreakPoint): remove attempt to fix displayed
8748         math insets inside a manual label
8749
8750 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8751
8752         * lyxtext.h: remove BufferView* as first arg from almost all class
8753         functions.
8754         * other files: adjust.
8755
8756 2003-03-17  John Levon  <levon@movementarian.org>
8757
8758         * lyxtext.h:
8759         * undo_funcs.C:
8760         * text2.C: more paint cleanups
8761
8762         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8763
8764         * rowpainter.h:
8765         * rowpainter.C: remove "smart" background painting code
8766
8767 2003-03-16  John Levon  <levon@movementarian.org>
8768
8769         * lyxtext.h:
8770         * text.C:
8771         * text2.C:
8772         * text3.C: add helper functions for setting refresh_row/y
8773
8774 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8775
8776         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8777         newline inset which *can* get inserted in the pass_thru layouts.
8778         This is primarily for literate documents.
8779
8780 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8781
8782         * buffer.C: increment LYX_FORMAT to 223
8783
8784 2003-03-14 André Pönitz <poenitz@gmx.net>
8785
8786         * textclass.h: prepare for environment handling, ws changes
8787         * lyxlayout.C: read latexheader and latexfooter tags
8788
8789 2003-03-14  John Levon  <levon@movementarian.org>
8790
8791         * text2.C: rewrite ::status() a bit
8792
8793 2003-03-13  John Levon  <levon@movementarian.org>
8794
8795         * lyxtext.h: add some docs
8796
8797 2003-03-13  John Levon  <levon@movementarian.org>
8798
8799         * lyxtext.h:
8800         * text.C:
8801         * text2.C:
8802         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8803
8804 2003-03-13  John Levon  <levon@movementarian.org>
8805
8806         * text3.C: fix appendix redrawing
8807
8808 2003-03-13  John Levon  <levon@movementarian.org>
8809
8810         * text.C (setHeightOfRow):
8811         * rowpainter.h:
8812         * rowpainter.C: make appendix mark have the text
8813           "Appendix" so the user knows what it is
8814
8815         * LColor.h:
8816         * LColor.C: s/appendixline/appendix/ from above
8817
8818 2003-03-13  John Levon  <levon@movementarian.org>
8819
8820         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8821
8822         * text.C: fix a getChar(pos) bug properly
8823
8824 2003-03-13  Angus Leeming  <leeming@lyx.org>
8825
8826         * commandtags.h:
8827         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8828         Probably only temporary. Let's see how things pan out.
8829
8830         * BufferView.C (unlockInset):
8831         * BufferView_pimpl.C (fitCursor):
8832         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8833
8834         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8835         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8836
8837         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8838         new functions that convert ParagraphParameters to and from a string.
8839
8840         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8841         BufferView::Pimpl's dispatch.
8842         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8843
8844 2003-03-13 André Pönitz <poenitz@gmx.net>
8845
8846         * lyxfunc.C:
8847         * text3.C:
8848         * factory.C: make it aware of InsetEnv
8849
8850 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8851
8852         * text2.C (setCursor): never ask for one past last
8853         (setCursor): add some debugging messages.
8854
8855         * text.C (singleWidth): never ask for one past last
8856         (singleWidth): ditto
8857         (leftMargin): ditto
8858         (rightMargin): ditto
8859         (rowBreakPoint): ditto
8860         (setHeightOfRow): ditto
8861         (prepareToPrint): ditto
8862
8863         * rowpainter.C (paintBackground): never ask for one past last
8864         (paintText): never ask for one past last
8865
8866         * paragraph_pimpl.C (getChar): make the assert stricter, never
8867         allow the one past last pos to be taken
8868
8869         * paragraph.C (getChar): ws changes only
8870
8871         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8872         (numberOfSeparators): ditto
8873         (numberOfHfills): ditto
8874
8875 2003-03-12  John Levon  <levon@movementarian.org>
8876
8877         * author.h:
8878         * author.C:
8879         * bufferparams.h:
8880         * bufferparams.C:
8881         * paragraph_funcs.C: fix per-buffer authorlists
8882
8883 2003-03-12  John Levon  <levon@movementarian.org>
8884
8885         * text.C: fix newline in right address
8886
8887 2003-03-12  Angus Leeming  <leeming@lyx.org>
8888
8889         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8890         duplicate those in LyXFunc::dispatch.
8891
8892         * commandtags.h:
8893         * LyXAction.C:
8894         * ToolbarDefaults.C:
8895         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8896         Add LFUN_FONTFREE_UPDATE.
8897
8898         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8899         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8900
8901         * bufferview_func.[Ch]: several new functions to facilliate
8902         transfer of data to and from the character dialog.
8903
8904 2003-03-12  John Levon  <levon@movementarian.org>
8905
8906         * buffer.C:
8907         * paragraph.h:
8908         * paragraph.C:
8909         * paragraph_funcs.C:
8910         * paragraph_pimpl.C:
8911         * sgml.C:
8912         * tabular.C:
8913         * text.C:
8914         * text3.C: remove META_NEWLINE in favour of an inset
8915
8916         * rowpainter.h:
8917         * rowpainter.C: remove paintNewline (done by inset)
8918
8919 2003-03-12  John Levon  <levon@movementarian.org>
8920
8921         * paragraph_pimpl.C: complain about bad getChar()s
8922         for a while at least
8923
8924 2003-03-12  John Levon  <levon@movementarian.org>
8925
8926         * buffer.h:
8927         * buffer.C: move paragraph read into a separate function,
8928         a little renaming to reflect that.
8929
8930         * bufferparams.h:
8931         * bufferparams.C: remove the author_ids map, not necessary now
8932
8933         * factory.h:
8934         * factory.C: moved Buffer::readInset to here
8935
8936         * paragraph_funcs.h:
8937         * paragraph_funcs.C: readParagraph free function moved from
8938         buffer.C
8939
8940         * tabular.C: name change
8941
8942 2003-03-12  John Levon  <levon@movementarian.org>
8943
8944         * buffer.C:
8945         * ParagraphParameters.C: move par params input to
8946         a read() method
8947
8948         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8949         behave like a normal read from the stream wrt reading
8950         a line vs. a \\token
8951
8952 2003-03-12  John Levon  <levon@movementarian.org>
8953
8954         * paragraph.C:
8955         * ParagraphParameters.h:
8956         * ParagraphParameters.C: move output code to a
8957         ::write() method
8958
8959 2003-03-12  John Levon  <levon@movementarian.org>
8960
8961         * BufferView.C (insertLyXFile):
8962         * buffer.h:
8963         * buffer.C:
8964         * tabular.C: use a parlist iterator for creating the
8965           document.
8966
8967 2003-03-12  John Levon  <levon@movementarian.org>
8968
8969         * buffer.C: make current_change static local not
8970           static file-scope
8971
8972 2003-03-12  John Levon  <levon@movementarian.org>
8973
8974         * buffer.C: fix insertStringAsLines for change tracking
8975
8976 2003-03-12  John Levon  <levon@movementarian.org>
8977
8978         * BufferView.C:
8979         * tabular.C:
8980         * buffer.h:
8981         * buffer.C:
8982         * bufferparams.h:
8983         * bufferparams.C: move author list into params. Rename some
8984           functions. Move the header reading into a separate token
8985           loop. Move the header token reading into BufferParams.
8986
8987 2003-03-12  John Levon  <levon@movementarian.org>
8988
8989         * changes.C: put debug inside lyxerr.debugging() checks
8990
8991 2003-03-11 André Pönitz <poenitz@gmx.net>
8992
8993         * factory.C: make it aware of InsetHFill
8994
8995 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8996
8997         * buffer.C (latexParagraphs): move function from here...
8998         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8999         args.
9000
9001 2003-03-10  Angus Leeming  <leeming@lyx.org>
9002
9003         * LyXAction.C (init): fix bug in poplating array with multiple entries
9004         with the same LFUN (spotted by JMarc).
9005
9006 2003-03-10  John Levon  <levon@movementarian.org>
9007
9008         * text.C:
9009         * text2.C: move getColumnNearX() near its
9010         only call site
9011
9012 2003-03-10  John Levon  <levon@movementarian.org>
9013
9014         * text.C: fix break before a minipage
9015
9016 2003-03-10  John Levon  <levon@movementarian.org>
9017
9018         * text.C: fix the last commit
9019
9020 2003-03-09  John Levon  <levon@movementarian.org>
9021
9022         * lyxtext.h:
9023         * text.C:
9024         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9025         bug 365 (don't break before insets unless needed). Don't
9026         return a value > last under any circumstances.
9027
9028 2003-03-09  Angus Leeming  <leeming@lyx.org>
9029
9030         * BufferView_pimpl.C (trackChanges, dispatch): call
9031         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9032
9033 2003-03-09  Angus Leeming  <leeming@lyx.org>
9034
9035         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9036         than Dialogs::showAboutlyx().
9037
9038 2003-03-09  Angus Leeming  <leeming@lyx.org>
9039
9040         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9041         than Dialogs::showTabularCreate().
9042
9043 2003-03-09  John Levon  <levon@movementarian.org>
9044
9045         * lyxtext.h:
9046         * text.C:
9047         * text2.C: 3rd arg to nextBreakPoint was always the same.
9048           Use references.
9049
9050 2003-03-08  John Levon  <levon@movementarian.org>
9051
9052         * lyxrow.C:
9053         * paragraph.C:
9054         * paragraph.h:
9055         * rowpainter.C:
9056         * text.C:
9057         * text2.C: Remove the "main" bit from the "main body"
9058           notion.
9059
9060 2003-03-08  John Levon  <levon@movementarian.org>
9061
9062         * text.C (leftMargin): The left margin of an empty
9063         manual label paragraph should not include the label width
9064         string length.
9065
9066         * text.C (prepareToPrint): don't attempt to measure hfills
9067         for empty manual label paragraphs - the answer should be 0
9068
9069 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9070
9071         * CutAndPaste.C: remove commented code and reindent.
9072
9073 2003-03-08  John Levon  <levon@movementarian.org>
9074
9075         * lyxfunc.h:
9076         * lyxfunc.C: move reloadBuffer()
9077
9078         * BufferView.h:
9079         * BufferView.C: to here
9080
9081         * lyxvc.C: add comment
9082
9083         * vc-backend.h:
9084         * vc-backend.C: call bv->reload() to avoid
9085           getStatus() check on MENURELOAD
9086
9087 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9088
9089         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9090         to an old format .dep file.
9091
9092 2003-03-07  Angus Leeming  <leeming@lyx.org>
9093
9094         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9095         when the LFUN_MOUSE_RELEASE should have been handled by
9096         inset->localDispatch.
9097
9098 2003-03-07  Angus Leeming  <leeming@lyx.org>
9099
9100         * BufferView_pimpl.C (dispatch):
9101         * LyXAction.C (init):
9102         * ToolbarDefaults.C (init):
9103         * commandtags.h:
9104         * lyxfunc.C (getStatus):
9105         remove LFUN_INSET_GRAPHICS.
9106
9107         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9108
9109 2003-03-07  Angus Leeming  <leeming@lyx.org>
9110
9111         * commandtags.h:
9112         * LyXAction.C (init):
9113         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9114
9115         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9116
9117         * commandtags.h:
9118         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9119
9120         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9121         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9122
9123 2003-03-07  Angus Leeming  <leeming@lyx.org>
9124
9125         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9126         remove "ert".
9127
9128 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9129
9130         * ParagraphList.C (front): new function
9131         (back): implement
9132
9133 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9134
9135         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9136         and top_row_offset_. removed var first_y.
9137         * text.C (top_y):
9138         * text2.C (LyXText, removeRow):
9139         * text3.C:
9140         * BufferView_pimpl.C:
9141         use these methods instead of using first_y
9142
9143 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9144
9145         * text2.C (pasteSelection): adjust for checkPastePossible
9146
9147         * CutAndPaste.C: remove Paragraph * buf and replace with
9148         ParagraphList paragraphs.
9149         (DeleteBuffer): delete
9150         (cutSelection): change the tc type to textclass_type
9151         (copySelection): change the tc type to textclass_type
9152         (copySelection): adjust for ParagraphList
9153         (pasteSelection): change the tc type to textclass_type
9154         (pasteSelection): adjust for Paragraphlist
9155         (nrOfParagraphs): simplify for ParagraphList
9156         (checkPastePossible): simplify for ParagraphList
9157         (checkPastePossible): remove unused arg
9158
9159         * ParagraphList.C (insert): handle the case where there are no
9160         paragraphs yet.
9161
9162         * CutAndPaste.h: make CutAndPaste a namespace.
9163
9164         * text3.C (dispatch): adjust
9165
9166         * text.C (breakParagraph): add a ParagraphList as arg
9167
9168         * paragraph_funcs.C (breakParagraph): change to take a
9169         BufferParams and a ParagraphList as args.
9170         (breakParagraphConservative): ditto
9171         (mergeParagraph): ditto
9172         (TeXDeeper): add a ParagraphList arg
9173         (TeXEnvironment): ditto
9174         (TeXOnePar): ditto
9175
9176         * buffer.C (readLyXformat2): adjust
9177         (insertStringAsLines): adjust
9178         (latexParagraphs): adjust
9179
9180         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9181         (cutSelection): adjust
9182         (pasteSelection): adjust
9183
9184         * BufferView_pimpl.C (insertInset): adjust
9185
9186 2003-03-05  Angus Leeming  <leeming@lyx.org>
9187
9188         * commandtags.h:
9189         * LyXAction.C (init):
9190         * BufferView_pimpl.C (dispatch):
9191         * lyxfunc.C (getStatus):
9192         remove LFUN_CHILD_INSERT.
9193
9194         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9195
9196 2003-03-05  Angus Leeming  <leeming@lyx.org>
9197
9198         * commandtags.h:
9199         * LyXAction.C (init):
9200         * src/factory.C (createInset):
9201         * lyxfunc.C (getStatus):
9202         * text3.C (dispatch):
9203         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9204
9205         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9206
9207 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9208
9209         * ParagraphList.C (insert): handle insert right before end()
9210         (erase): fix cases where it can be first or last paragraph.
9211
9212 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9213
9214         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9215         Paragraph::next and Paragraph::previous
9216         (TeXOnePar): ditto
9217
9218         * text.C (breakParagraph): adjust
9219
9220         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9221         BufferParams& as arg.
9222         (breakParagraph): use ParagraphList::insert
9223         (breakParagraphConservative): take a Buffer* instead of a
9224         BufferParams& as arg.
9225         (breakParagraphConservative): use ParagraphList::insert.
9226
9227         * buffer.C (insertStringAsLines): un-const it
9228         (insertStringAsLines): adjust
9229
9230         * ParagraphList.C (insert): new function
9231
9232         * CutAndPaste.C (pasteSelection): adjust
9233
9234         * text.C (backspace): adjust
9235
9236         * tabular.C (SetMultiColumn): adjust
9237
9238         * CutAndPaste.C (cutSelection): adjust
9239         (pasteSelection): adjust
9240
9241         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9242         Buffer const * as arg
9243
9244         * ParagraphList.C (erase): new function
9245         * paragraph_funcs.C (mergeParagraph): use it
9246         (mergeParagraph): make it take a Buffer* instead of a
9247         BufferParams* as arg
9248
9249         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9250         as arg
9251         (breakParagraphConservative): ditto
9252
9253         * paragraph.h: remove the breakParagraph friend
9254
9255         * paragraph.C (eraseIntern): new function
9256         (setChange): new function
9257
9258         * paragraph_funcs.C (mergeParagraph): make it take a
9259         ParagraphList::iterator instead of a Paragraph *, adjust
9260         accordingly.
9261
9262         * paragraph.h: move an #endif so that the change tracking stuff
9263         also works in the NO_NEXT case.
9264
9265 2003-03-04  Angus Leeming  <leeming@lyx.org>
9266
9267         * commandtags.h:
9268         * LyXAction.C: new LFUN_INSET_MODIFY.
9269
9270         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9271         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9272
9273 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9274
9275         * several files: ws changes only
9276
9277         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9278         (TeXEnvironment): ditto
9279         (TeXDeeper): ditto
9280
9281         * buffer.C (makeLaTeXFile): adjust
9282         (latexParagraphs): make it take ParagraphList::iterator as args
9283
9284 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9285
9286         * buffer.C (latexParagraphs): adjust
9287
9288         * paragraph.C (TeXOnePar): move function...
9289         (optArgInset): move function...
9290         (TeXEnvironment): move function...
9291         * paragraph_pimpl.C (TeXDeeper): move function...
9292         * paragraph_funcs.C: ...here
9293
9294         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9295
9296 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9297
9298         * buffer.C (readInset): remove compability code for old Figure and
9299         InsetInfo insets
9300
9301 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9302
9303         * buffer.C: ws changes
9304         (readInset):
9305
9306         * BufferView_pimpl.C: ditto
9307         * author.C: ditto
9308         * buffer.h: ditto
9309         * bufferlist.h: ditto
9310         * changes.h: ditto
9311         * lyxfunc.C: ditto
9312
9313 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9314
9315         * converter.[Ch]: split into itself +
9316         * graph.[Ch]
9317         * format.[Ch]
9318         * Makefile.am: += graph.[Ch] + format.[Ch]
9319         * MenuBackend.C
9320         * buffer.C
9321         * exporter.C
9322         * importer.C
9323         * lyx_main.C
9324         * lyxfunc.C
9325         * lyxrc.C: added #include "format.h"
9326
9327 2003-02-27  Angus Leeming  <leeming@lyx.org>
9328
9329         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9330           a label.
9331
9332         * factory.C (createInset): add "label" to the factory.
9333
9334         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9335           string and do no more.
9336
9337 2003-02-27  Angus Leeming  <leeming@lyx.org>
9338
9339         * commandtags.h:
9340         * LyXAction.C (init):
9341         * factory.C (createInset):
9342         * BufferView_pimpl.C (dispatch):
9343           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9344
9345         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9346
9347         * lyxfunc.C (dispatch):
9348         * text3.C (dispatch): pass name to params2string.
9349
9350 2003-02-26  Angus Leeming  <leeming@lyx.org>
9351
9352         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9353           blocks together.
9354           Rearrange the ~includes. Strip out the unnecessary ones.
9355
9356         * factory.C (createInset): reformat.
9357           create new insets for the various LFUN_XYZ_APPLY lfuns.
9358
9359 2003-02-26  John Levon  <levon@movementarian.org>
9360
9361         * lyxrow.h:
9362         * lyxrow.C: add isParStart,isParEnd helpers
9363
9364         * paragraph.h: make isInserted/DeletedText take refs
9365
9366         * paragraph_funcs.h:
9367         * paragraph_funcs.C: remove #if 0'd code
9368
9369         * lyxtext.h:
9370         * text3.C:
9371         * text2.C:
9372         * text.C: use lyxrow helpers above.
9373           Move draw and paint routines to RowPainter.
9374           Make several methods use refs not pointers.
9375           Make backgroundColor() const.
9376           Add markChangeInDraw(), isInInset().
9377           Merge changeRegionCase into changeCase.
9378           Make workWidth() shouldn't-happen code into an Assert.
9379
9380         * rowpainter.h:
9381         * rowpainter.C: new class for painting a row.
9382
9383         * vspace.h:
9384         * vspace.C: make inPixels take a ref
9385
9386 2003-02-26  Angus Leeming  <leeming@lyx.org>
9387
9388         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9389         LFUN_REF_APPLY.
9390
9391 2003-02-25  John Levon  <levon@movementarian.org>
9392
9393         * ispell.C: give the forked command a more accurate name
9394
9395 2003-02-22  John Levon  <levon@movementarian.org>
9396
9397         * toc.h:
9398         * toc.C: make TocItem store an id not a Paragraph *
9399           (bug #913)
9400
9401 2003-02-21  Angus Leeming  <leeming@lyx.org>
9402
9403         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9404           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9405           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9406           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9407           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9408           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9409
9410         * BufferView_pimpl.C (dispatch):
9411         * LyXAction.C (init):
9412         * factory.C (createInset):
9413         * lyxfunc.C (getStatus, dispatch):
9414         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9415
9416 2003-02-21  Angus Leeming  <leeming@lyx.org>
9417
9418         * BufferView_pimpl.C (MenuInsertLyXFile):
9419         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9420         * lyxfunc.C (menuNew, open, doImport):
9421           no longer pass a LyXView & to fileDlg.
9422
9423 2003-02-21  Angus Leeming  <leeming@lyx.org>
9424
9425         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9426         * LyXAction.C: change, BIBKEY to BIBITEM.
9427         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9428         Change InsetBibKey to InsetBibitem.
9429         Change BIBKEY_CODE to BIBITEM_CODE.
9430         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9431         * factory.C: replace insetbib.h with insetbibitem.h.
9432         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9433         * paragraph.C: replace insetbib.h with insetbibitem.h.
9434         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9435         Change bibkey() to bibitem().
9436         * text.C: remove insetbib.h.
9437         * text2.C: replace insetbib.h with insetbibitem.h.
9438         change bibkey() to bibitem().
9439         * text3.C: remove insetbib.h.
9440         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9441
9442 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9443
9444         * lyxrc.C (output): enclose user email in quotes (in case there are
9445         several words)
9446
9447 2003-02-18  John Levon  <levon@movementarian.org>
9448
9449         * buffer.h: add std::
9450
9451 2003-02-17  John Levon  <levon@movementarian.org>
9452
9453         * SpellBase.h:
9454         * ispell.h:
9455         * ispell.C:
9456         * pspell.h:
9457         * pspell.C: reworking. Especially in ispell, a large
9458           number of clean ups and bug fixes.
9459
9460         * lyxfunc.C: fix revert to behave sensibly
9461
9462 2003-02-17 André Pönitz <poenitz@gmx.net>
9463
9464         * LyXAction.C:
9465         * commandtags.h: new LFUN_INSERT_BIBKEY
9466
9467         * layout.h:
9468         * lyxlayout.C:
9469         * buffer.C:
9470         * factory.C:
9471         * text.C:
9472         * text2.C:
9473         * text3.C:
9474         * paragraph.[Ch]:
9475         * paragraph_func.C: remove special bibkey handling
9476
9477 2003-02-17  John Levon  <levon@movementarian.org>
9478
9479         * text.C (Delete): fix case where delete at the end of
9480           the very first paragraph would not merge the pars
9481
9482 2003-02-17  John Levon  <levon@movementarian.org>
9483
9484         * lyxrow.C: fix lastPrintablePos()
9485
9486 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9487
9488         * bufferparams.C (writeLaTeX): add a std:here
9489
9490         * buffer.C: and remove a using directive there
9491
9492 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9493
9494         * buffer.C (makeLaTeXFile): move the code that generates the
9495           preamble...
9496
9497         * bufferparams.C (writeLaTeX): ... in this new method
9498
9499         * LaTeXFeatures.C (getEncodingSet): make const
9500           (getLanguages): make const
9501
9502         * MenuBackend.C (binding): returns the binding associated to this
9503           action
9504           (add): sets the status of each item by calling getStatus. Adds
9505           some intelligence.
9506           (read): add support for OptSubMenu
9507           (expand): remove extra separator at the end of expanded menu
9508
9509 2003-02-15  John Levon  <levon@movementarian.org>
9510
9511         * BufferView.C:
9512         * BufferView_pimpl.C:
9513         * bufferlist.h:
9514         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9515           inset code that had no actual effect. Remove unneeded status
9516           code.
9517
9518 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9519
9520         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9521           in preamble
9522
9523 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9524
9525         * text.C (drawLengthMarker): also draw an arrow marker for
9526           symbolic lengths (medskip...)
9527
9528 2003-02-14  John Levon  <levon@movementarian.org>
9529
9530         * tabular.h:
9531         * tabular.C: better method names
9532
9533 2003-02-14  John Levon  <levon@movementarian.org>
9534
9535         * BufferView_pimpl.C:
9536         * bufferlist.C:
9537         * buffer.C:
9538         * converter.C:
9539         * lyx_cb.C:
9540         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9541           it's a more accurate name. Remove some pointless uses.
9542
9543 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9544
9545         * text2.C (LyXText): change order of initilizers to shut off
9546           warnings
9547
9548 2003-02-14  John Levon  <levon@movementarian.org>
9549
9550         * buffer.C: use ParIterator for getParFromID()
9551
9552         * paragraph.h:
9553         * paragraph.C:
9554         * paragraph_pimpl.h:
9555         * paragraph_pimpl.C: remove unused getParFromID()
9556
9557 2003-02-14  John Levon  <levon@movementarian.org>
9558
9559         * buffer.C: remove some very old #if 0'd parse code
9560
9561 2003-02-13  John Levon  <levon@movementarian.org>
9562
9563         * text.h:
9564         * text.C:
9565         * text2.C: move hfillExpansion(), numberOfSeparators(),
9566           rowLast(), rowLastPrintable(), numberofHfills(),
9567           numberOfLabelHfills() ...
9568
9569         * lyxrow.h:
9570         * lyxrow.C: ... to member functions here.
9571
9572         * paragraph.h:
9573         * paragraph.C:
9574         * lyxtext.h:
9575         * text.C: remove LyXText::beginningOfMainBody(), and call
9576           p->beginningOfMainBody() directly. Move the check for
9577           LABEL_MANUAL into the latter.
9578
9579         * text.h:
9580         * text.C:
9581         * text2.C:
9582         * vspace.C:
9583         * BufferView.h:
9584         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9585
9586         * text.h:
9587         * text.C:
9588         * text2.C:
9589         * text3.C:
9590         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9591           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9592
9593 2003-02-13  John Levon  <levon@movementarian.org>
9594
9595         * CutAndPaste.C: remove debug
9596
9597 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9598
9599         * paragraph.C (asString): remove two unused variables
9600
9601         * lyxtextclass.C (readTitleType):
9602           (Read):
9603           (LyXTextClass): handle new members titletype_ and titlename_
9604
9605         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9606
9607 2003-02-09  John Levon  <levon@movementarian.org>
9608
9609         * buffer.h:
9610         * buffer.C: replace hand-coded list with a map for the dep clean
9611
9612 2003-02-08  John Levon  <levon@movementarian.org>
9613
9614         * LaTeX.C: consolidate code into showRunMessage() helper
9615
9616 2003-02-08  John Levon  <levon@movementarian.org>
9617
9618         * lyxfind.C:
9619         * lyxtext.h:
9620         * text2.C:
9621         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9622           and pass the size in explicitly
9623
9624         * BufferView_pimpl.h:
9625         * BufferView_pimpl.C:
9626         * BufferView.h:
9627         * BufferView.C: add getCurrentChange()
9628
9629         * BufferView_pimpl.h:
9630         * BufferView_pimpl.C: handle change lfuns
9631
9632         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9633           for changes. Mark pasted paragraphs as new.
9634
9635         * support/lyxtime.h:
9636         * support/lyxtime.C:
9637         * DepTable.C: abstract time_t as lyx::time_type
9638
9639         * LColor.h:
9640         * LColor.C: add colours for new text, deleted text, changebars
9641
9642         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9643           package use "usenames" option.
9644
9645         * commandtags.h:
9646         * lyxfunc.C:
9647         * LyXAction.C: add change lfuns
9648
9649         * Makefile.am:
9650         * author.h:
9651         * author.C: author handling
9652
9653         * buffer.h:
9654         * buffer.C: add a per-buffer author list, with first entry as
9655           current author. Handle new .lyx tokens for change tracking. Output
9656           author list to .lyx file. Output dvipost stuff to .tex preamble.
9657           Bump lyx format to 222.
9658
9659         * bufferlist.h:
9660         * bufferlist.C: add setCurrentAuthor() to reset current author details
9661           in all buffers.
9662
9663         * bufferparams.h:
9664         * bufferparams.C: add param for tracking
9665
9666         * bufferview_funcs.C: output change info in minibuffer
9667
9668         * Makefile.am:
9669         * changes.h:
9670         * changes.C: add change-tracking structure
9671
9672         * debug.h:
9673         * debug.C: add CHANGES debug flag
9674
9675         * lyxfind.h:
9676         * lyxfind.C: add code for finding the next change piece
9677
9678         * lyxrc.h:
9679         * lyxrc.C: add user_name and user_email
9680
9681         * lyxrow.h:
9682         * lyxrow.C: add a metric for the top of the text line
9683
9684         * lyxtext.h:
9685         * text.C: implement accept/rejectChange()
9686
9687         * lyxtext.h:
9688         * text.C: paint changebars. Paint new/deleted text in the chosen
9689         colours. Strike through deleted text.
9690
9691         * paragraph.h:
9692         * paragraph.C:
9693         * paragraph_pimpl.h:
9694         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9695           in the current change to the insert functions. Rework erase to
9696           mark text as deleted, adding an eraseIntern() and a range-based
9697           erase(). Implement per-paragraph change lookup and
9698           accept/reject.
9699
9700         * paragraph_funcs.C: Fixup paste for change tracking.
9701
9702         * tabular.C: mark added row/columns as new.
9703
9704         * text.C: fix rowLast() to never return -1. Don't allow
9705           spellchecking of deleted text. Track transpose changes. Don't
9706           allow paragraph break or merge where appropriate.
9707
9708         * text2.C: leave cursor at end of selection after a cut.
9709
9710 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9711
9712         * text.C (getLengthMarkerHeight):
9713         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9714         visible on screen too.
9715
9716 2003-02-07  John Levon  <levon@movementarian.org>
9717
9718         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9719
9720 2003-02-05  Angus Leeming  <leeming@lyx.org>
9721
9722         * lyxserver.C (read_ready): revert my patch of 11 September last year
9723         as it sends PC cpu through the roof. Presumably this means that
9724         the lyxserver will no longer run on an Alpha...
9725
9726 2003-01-30  Angus Leeming  <leeming@lyx.org>
9727
9728         * factory.C (createInset): create an InsetCommandParam of type "index"
9729         and use it to 'do the right thing'.
9730
9731         * text2.C (getStringToIndex): ensure that cursor position is always
9732         reset to the reset_cursor position.
9733
9734 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9735
9736         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9737         disabled.
9738
9739 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9740
9741         * bufferview.C:
9742         * lyxcb.C:
9743         * lyxfunc.C: Output messages with identical spelling, punctuation,
9744         and spaces
9745
9746 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9747
9748         * MenuBackend.C (expandFormats): List only viewable export formats
9749         in "View" menu
9750
9751         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9752         message
9753
9754         * lyxfunc.C (getStatus): Make sure that formats other than
9755         "fax" can also be disabled
9756
9757 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9758
9759         * text3.C (dispatch): put the lfuns that insert insets in 3
9760         groups, and call doInsertInset with appropriate arguments.
9761         (doInsertInset): new function, that creates an inset and inserts
9762         it according to some boolean parameters.
9763
9764 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9765
9766         * buffer.C (readFile): remember to pass on 'par' when calling
9767         readFile recursively.
9768
9769 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9770
9771         * MenuBackend.C (expandFormats): add "..." to import formats.
9772
9773 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9774
9775         * paragraph.C (asString): Remove XForms RTL hacks.
9776
9777 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9778         * buffer.C: fix typo
9779
9780 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9781
9782         * Makefile.am (LIBS): delete var
9783         (lyx_LDADD): add @LIBS@ here instead.
9784
9785 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9786
9787         * Clarify the meaning of "wheel mouse jump"
9788
9789 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9790
9791         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9792         tabular in a float
9793
9794 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9795
9796         * importer.C (Loaders): do not preallocate 3 elements in the
9797         vector, since one ends up with 6 elements otherwise
9798
9799 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9800
9801         * DepTable.C (write): write the file name as last element of the
9802         .dep file (because it may contain spaces)
9803         (read): read info in the right order
9804
9805 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9806
9807         * paragraph_pimpl.C (simpleTeXBlanks):
9808         (simpleTeXSpecialChars):
9809         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9810
9811         * tabular.C (latex): add some missing case statements. Reindent.
9812
9813         * MenuBackend.C (expandToc): remove unused variable.
9814
9815 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9816
9817         * LColor.C:
9818         * LaTeX.C:
9819         * LyXAction.C:
9820         * MenuBackend.C:
9821         * buffer.C:
9822         * exporter.C:
9823         * lyxfunc.C:
9824         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9825         and the like.
9826
9827 2003-01-05  John Levon  <levon@movementarian.org>
9828
9829         * BufferView.h:
9830         * BufferView.C: add getEncoding()
9831
9832         * kbsequence.h:
9833         * kbsequence.C: do not store last keypress
9834
9835         * lyxfunc.h:
9836         * lyxfunc.C: store last keypress here instead. Pass encoding
9837           to getISOEncoded()
9838
9839 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9840
9841         * lyx_main.C (init): remove annoying error message when following
9842         symbolic links (bug #780)
9843
9844 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9845
9846         * text.C (insertChar):
9847         * lyxrc.C (getDescription): remove extra spaces
9848
9849 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9850
9851         * lyxrc.C (getDescription): remove extra spaces
9852
9853 2002-12-20  John Levon  <levon@movementarian.org>
9854
9855         * text3.C: hack fix for page up/down across tall rows
9856
9857 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9858
9859         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9860         not been invoked
9861
9862 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9863
9864         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9865         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9866         thesaurus is not compiled in
9867
9868 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9869
9870         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9871
9872 2002-12-16  Angus Leeming  <leeming@lyx.org>
9873
9874         * lyxrc.[Ch]:
9875         * lyx_main.C (init): remove override_x_deadkeys stuff.
9876
9877 2002-12-12  John Levon  <levon@movementarian.org>
9878
9879         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9880           insert. Only remove shift modifier under strict
9881           circumstances.
9882
9883 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9884
9885         * MenuBackend.C (expandToc): fix crash.
9886
9887 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9888
9889         * MenuBackend.C (expandToc): gettext on float names.
9890
9891 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9892
9893         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9894         implement bool empty() [bug 490]
9895
9896 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9897
9898         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9899
9900 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9901
9902         * several files: ws changes
9903
9904 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9905
9906         * text2.C (setCounter): clean up a bit, use boost.format.
9907         (updateCounters): initialize par upon declaration.
9908
9909         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9910         if the layout exists. We do not just store the layout any more.
9911         (SwitchLayoutsBetweenClasses): use boost.format
9912
9913 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9914
9915         * converter.C (convert): if from and to files are the same, use a
9916         temporary files as intermediary
9917
9918 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9919
9920         * commandtags.h:
9921         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9922
9923 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9924
9925         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9926
9927 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9928
9929         * tabular.C (asciiPrintCell): use string(size, char) instead of
9930         explicit loop.
9931
9932         * sgml.C (openTag): fix order of arguments to string constructor
9933         (closeTag): ditto
9934
9935         * lyxfunc.C (dispatch): use boost.format
9936
9937         * lots of files: change "c" -> 'c'
9938
9939 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9940
9941         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9942
9943 2002-11-25  Angus Leeming  <leeming@lyx.org>
9944
9945         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9946
9947         * lyx_main.C (init): compile fix.
9948
9949 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9950
9951         * lyx_cb.C (start): boost.formatify
9952         do not include <iostream>
9953
9954         * lengthcommon.C: ws only
9955
9956         * boost-inst.C,BoostFormat.h: add more explict instantations
9957
9958 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9959
9960         * lots of files: handle USE_BOOST_FORMAT
9961
9962 2002-11-21  John Levon  <levon@movementarian.org>
9963
9964         * pspell.C: fix compile
9965
9966 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9967
9968         * lyxfunc.C (dispatch): use boost::format
9969         (open): ditto
9970         (doImport): ditto
9971
9972         * lyxfont.C (stateText): use boost::format
9973
9974         * lyx_main.C (LyX): use boost::format
9975         (init): ditto
9976         (queryUserLyXDir): ditto
9977         (readRcFile): ditto
9978         (parse_dbg): ditto
9979         (typedef boost::function): use the recommened syntax.
9980
9981         * importer.C (Import): use boost::format
9982
9983         * debug.C (showLevel): use boost::format
9984
9985         * converter.C (view): use boost::format
9986         (convert): ditto
9987         (move): ditto
9988         (scanLog): ditto
9989
9990         * bufferview_funcs.C (currentState): use boost::format
9991
9992         * bufferlist.C (emergencyWrite): use boost::format
9993
9994         * buffer.C (readLyXformat2): use boost::format
9995         (parseSingleLyXformat2Token): ditto
9996
9997         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9998
9999         * LaTeX.C (run): use boost::format
10000
10001         * Chktex.C (scanLogFile): use boost::format
10002
10003         * BufferView_pimpl.C (savePosition): use boost::format
10004         (restorePosition): ditto
10005         (MenuInsertLyXFile): ditto
10006
10007         * BoostFormat.h: help file for explicit instation.
10008
10009 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10010
10011         * tabular.C (latex): Support for block alignment in fixed width
10012         columns.
10013
10014 2002-11-17  John Levon  <levon@movementarian.org>
10015
10016         * BufferView_pimpl.C:
10017         * lyx_cb.C:
10018         * lyxfunc.C: split filedialog into open/save
10019
10020 2002-11-08  Juergen Vigna  <jug@sad.it>
10021
10022         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10023         by my last patch (hopefully).
10024
10025 2002-11-08  John Levon  <levon@movementarian.org>
10026
10027         * iterators.h:
10028         * iterators.C:
10029         * buffer.h:
10030         * buffer.C:
10031         * paragraph.h:
10032         * paragraph.C:
10033         * toc.h:
10034         * toc.C: ParConstIterator, and use it (from Lars)
10035
10036 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10037
10038         * lyxtextclass.[Ch]: revise and add doxygen comments
10039
10040 2002-11-07  John Levon  <levon@movementarian.org>
10041
10042         * text.C: fix progress value for spellchecker
10043
10044         * toc.C: fix navigate menu for insetwrap inside minipage
10045
10046         * paragraph_funcs.C: added FIXME for suspect code
10047
10048 2002-11-07  John Levon  <levon@movementarian.org>
10049
10050         * BufferView_pimpl.C: fix redrawing of insets
10051           on buffer switch
10052
10053 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10054
10055         * text2.C (updateCounters): fix bug 668
10056
10057 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10058
10059         * text3.C (dispatch): Do not make the buffer dirty when moving the
10060         cursor.
10061
10062 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10063
10064         * vc-backend.C: STRCONV
10065         (scanMaster): ditto
10066
10067         * text2.C (setCounter): STRCONV
10068
10069         * paragraph.C (asString): STRCONV
10070
10071         * lyxlength.C (asString): STRCONV
10072         (asLatexString): ditto
10073
10074         * lyxgluelength.C (asString): STRCONV
10075         (asLatexString): ditto
10076
10077         * lyxfunc.C (dispatch): STRCONV
10078         (open): ditto
10079
10080         * lyxfont.C (stateText): STRCONV
10081
10082         * importer.C (Import): STRCONV
10083
10084         * counters.C (labelItem): STRCONV
10085         (numberLabel): ditto
10086         (numberLabel): remove unused ostringstream o
10087
10088         * chset.C: STRCONV
10089         (loadFile): ditto
10090
10091         * bufferview_funcs.C (currentState): STRCONV
10092
10093         * buffer.C (readFile): STRCONV
10094         (asciiParagraph): ditto
10095         (makeLaTeXFile): ditto
10096
10097         * Spacing.C (writeEnvirBegin): STRCONV
10098
10099         * LaTeXFeatures.C (getLanguages): STRCONV
10100         (getPackages): ditto
10101         (getMacros): ditto
10102         (getBabelOptions): ditto
10103         (getTClassPreamble): ditto
10104         (getLyXSGMLEntities): ditto
10105         (getIncludedFiles): ditto
10106
10107         * LaTeX.C: STRCONV
10108         (run): ditto
10109         (scanAuxFile): ditto
10110         (deplog): ditto
10111
10112         * LString.h: add the STRCONV macros
10113
10114         * BufferView_pimpl.C (savePosition): STRCONV
10115         (restorePosition): ditto
10116         (MenuInsertLyXFile): ditto
10117
10118         * vc-backend.C (scanMaster): change from submatch[...] to
10119         submatch.str(...)
10120
10121         * funcrequest.C: include config.h
10122
10123         * factory.C: include config.h
10124
10125         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10126
10127         * box.C: include config.h
10128
10129         * LaTeX.C (scanAuxFile): change from submatch[...] to
10130         submatch.str(...)
10131         (deplog): ditto
10132
10133 2002-10-25  Angus Leeming  <leeming@lyx.org>
10134
10135         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10136
10137         * ispell.[Ch] (setError): new method.
10138         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10139         Use setError() insetead of goto END.
10140
10141         * lyx_cb.C (AutoSave): move out child process into new class
10142         AutoSaveBuffer.
10143
10144 2002-10-30  John Levon  <levon@movementarian.org>
10145
10146         * text3.C: make start appendix undoable
10147
10148 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10149
10150         * lyxlength.C (inPixels): Fix returned value.
10151
10152         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10153         environment.
10154
10155 2002-10-24  Angus Leeming  <leeming@lyx.org>
10156
10157         * lyxgluelength.h: no need to forward declare BufferParams
10158         or BufferView, so don't.
10159
10160 2002-10-21  John Levon  <levon@movementarian.org>
10161
10162         * BufferView.C: menuUndo ->undo, redo
10163
10164         * BufferView.h: document, remove dead, make some methods private
10165
10166         * paragraph_funcs.h:
10167         * paragraph_funcs.C:
10168         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10169
10170         * buffer.h:
10171         * buffer.C:
10172         * sgml.h:
10173         * sgml.C: move sgml open/close tag into sgml.C
10174
10175         * bufferview_funcs.h: unused prototype
10176
10177         * lyxfunc.h:
10178         * lyxfunc.C: remove unused
10179
10180         * lyxtext.h:
10181         * text.C: remove unused
10182
10183 2002-10-21  John Levon  <levon@movementarian.org>
10184
10185         * BufferView.h:
10186         * BufferView.C:
10187         * BufferView_pimpl.h:
10188         * BufferView_pimpl.C: fix mouse wheel handling based on
10189           patch from Darren Freeman
10190
10191 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10192
10193         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10194
10195 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10196
10197         * lyxlength.C (inPixels): Fix hanfling of negative length.
10198         Fix LyXLength::MU case.
10199
10200 2002-10-16  John Levon  <levon@movementarian.org>
10201
10202         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10203
10204 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10205
10206         * converter.C (view): add support for $$i (file name) and $$p
10207         (file path) for the viewer command. If $$i is not specified, then
10208         it is appended to the command (for compatibility with old syntax)
10209
10210 2002-10-14  Juergen Vigna  <jug@sad.it>
10211
10212         * undo_funcs.C (textHandleUndo): alter the order in which the
10213         new undopar is added to the LyXText, as we have to set first
10214         the right prev/next and then add it as otherwise the rebuild of
10215         LyXText is not correct. Also reset the cursor to the right paragraph,
10216         with this IMO we could remove the hack in "redoParagraphs()".
10217
10218 2002-10-09  Angus Leeming  <leeming@lyx.org>
10219
10220         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10221         to turn off an optimisation if a new inset is to be inserted.
10222
10223 2002-10-11 André Pönitz <poenitz@gmx.net>
10224
10225         * lyxtext.h: make some functions public to allow access
10226         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10227
10228 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10229
10230         * text3.C (dispatch): when changing layout, avoid an infinite loop
10231         [bug #652]
10232
10233 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10234
10235         * lyxrc.C (read): treat a viewer or converter command of "none" as
10236         if it were empty.
10237
10238         * MenuBackend.C (expandFormats): for an update, also allow the
10239         formats that are not viewable
10240
10241         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10242         script if it is newer than the lyxrc.defaults in user directory
10243
10244 2002-10-07 André Pönitz <poenitz@gmx.net>
10245
10246         * text.C: Vitaly Lipatov's small i18n fix
10247
10248 2002-09-25  Angus Leeming  <leeming@lyx.org>
10249
10250         * ispell.h: doxygen fix.
10251
10252 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10253
10254         * buffer.h (readFile): Add a new argument to the method, to allow
10255         reading of old-format templates.
10256
10257 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10258
10259         * toc.C (getTocList): Get TOC from InsetWrap.
10260
10261 2002-09-16  John Levon  <levon@movementarian.org>
10262
10263         * lyxfunc.C: check tabular for cut/copy too
10264
10265 2002-09-12  John Levon  <levon@movementarian.org>
10266
10267         * LyXAction.C: tidy
10268
10269         * factory.h:
10270         * factory.C: add header
10271
10272         * paragraph_funcs.h:
10273         * paragraph_funcs.C: cleanup
10274
10275 2002-09-11  John Levon  <levon@movementarian.org>
10276
10277         * PrinterParams.h: odd/even default to true
10278
10279 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10280
10281         * PrinterParams.h: update printer parameters for new xforms dialog
10282
10283 2002-09-11  Angus Leeming  <leeming@lyx.org>
10284
10285         * lyxserver.C (read_ready): re-write to make it more transparent
10286         and to make it work in coherent fashion under Tru64 Unix.
10287
10288 2002-09-11  André Pönitz <poenitz@gmx.net>
10289
10290         * commandtags.h:
10291         * LyXAction.C:
10292         * text3.C: implement LFUN_WORDSEL
10293
10294 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10295
10296         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10297         make floatlist_ a boost::shared_ptr<FloatList>
10298
10299         * lyxtextclass.C: include FloatList.h
10300         (LyXTextClass): initialize floatlist_
10301         (TextClassTags): add TC_NOFLOAT
10302         (Read): match "nofloat" to TC_NOFLOAT and use it.
10303         (readFloat): modify call to floatlist_
10304         (floats): ditto
10305         (floats): ditto
10306
10307         * FloatList.[Ch] (FloatList): remove commented out float
10308         initialization.
10309         (erase): new function
10310
10311 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10312
10313         * MenuBackend.C (expandToc): fix crash when there is no document
10314         open
10315
10316 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10317
10318         * many files: Add insetwrap.
10319
10320 2002-09-09  John Levon  <levon@movementarian.org>
10321
10322         * text2.C: remove confusing and awkward depth wraparound
10323
10324 2002-09-09  John Levon  <levon@movementarian.org>
10325
10326         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10327
10328         * buffer.h:
10329         * buffer.C: remove getIncludeonlyList()
10330
10331         * paragraph.C:
10332         * lyxfunc.C: remove headers
10333
10334 2002-09-09  Juergen Vigna  <jug@sad.it>
10335
10336         * text.C (getColumnNearX): fix form Michael this is most
10337         probably a cut&paste bug.
10338
10339 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10340
10341         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10342
10343         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10344         references, ws changes.
10345
10346         * text2.C (init): update counters after init
10347         (insertParagraph): no need to set counter on idividual paragraphs.
10348         (setCounter): access the counters object in the textclass object
10349         on in the buffer object.
10350         (updateCounters): ditto
10351
10352         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10353         shared_ptr<Counters> to avoid loading counters.h in all
10354         compilation units.
10355         (LyXTextClass): initialize ctrs_
10356         (TextClassTags): add TC_COUNTER, and ...
10357         (Read): use it here.
10358         (CounterTags): new tags
10359         (readCounter): new function
10360         (counters): new funtion
10361         (defaultLayoutName): return a const reference
10362
10363         * counters.C (Counters): remove contructor
10364         (newCounter): remove a couple of unneeded statements.
10365         (newCounter): simplify a bit.
10366         (numberLabel): some small formatting changes.
10367
10368         * buffer.[Ch]: remove all traces of counters, move the Counters
10369         object to the LyXTextClass.
10370
10371 2002-09-06  Alain Castera  <castera@in2p3.fr>
10372
10373         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10374         package to set the horizontal alignment on fixed width columns.
10375
10376         * lyx_sty.C:
10377         * lyx_sty.h: added tabularnewline macro def.
10378
10379         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10380
10381 2002-09-06  John Levon  <levon@movementarian.org>
10382
10383         * LyXAction.C: tooltips for sub/superscript
10384
10385         * MenuBackend.C: a bit more verbose
10386
10387         * lyxfunc.C: tiny clean
10388
10389         * undo_funcs.C: document undo_frozen
10390
10391 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10392
10393         * counters.C (Counters): add missing algorithm counter.
10394
10395         * text2.C (setCounter): lookup the counter with layouts latexname
10396         instead of by section number.
10397         (setCounter): use a hackish way to lookup the correct enum
10398         counter.
10399         a float name->type change
10400         reset enum couners with counter name directly instead of depth value.
10401
10402         * counters.C (Counters): remove the push_backs, change to use the
10403         float type not the float name.
10404         (labelItem): remove unused string, float name->type change
10405
10406         * counters.h: don't include vector, loose the enums and sects vectors
10407
10408 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10409
10410         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10411         (Read): add float->TC_FLOAT to textclassTags
10412         (Read): and handle it in the switch
10413         (readFloat): new function
10414
10415         * FloatList.C (FloatList): comment out the hardcoded float
10416         definitions.
10417
10418         * lyxlayout.h: ws change.
10419
10420 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10421
10422         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10423
10424 2002-09-03  Angus Leeming  <leeming@lyx.org>
10425
10426         * BufferView_pimpl.h: qualified name is not allowed in member
10427         declaration: WorkArea & Pimpl::workarea() const;
10428
10429         * factory.C: added using std::endl directive.
10430
10431         * text3.C: added using std::find and std::vector directives.
10432
10433 2002-08-29  André Pönitz <poenitz@gmx.net>
10434
10435         * lyxtext.h:
10436         * text2.C: remove unused member number_of_rows
10437
10438         * Makefile.am:
10439         * BufferView2.C: remove file, move contents to...
10440         * BufferView.C: ... here
10441
10442         * BufferView_pimpl.C:
10443         * factory.C: move more inset creation to factory
10444
10445         * vspace.C: avoid direct usage of LyXText, ws changes
10446
10447         * BufferView.[Ch]:
10448                 don't provide direct access to WorkArea, use two simple
10449                 acessors haveSelction() and workHeight() instead
10450
10451
10452 2002-08-29  John Levon  <levon@movementarian.org>
10453
10454         * BufferView_pimpl.C (dispatch): do not continue when
10455           no buffer
10456
10457 2002-08-28  André Pönitz <poenitz@gmx.net>
10458
10459         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10460
10461         * BufferView.h:
10462         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10463
10464 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10465
10466         * buffer.C: increment LYX_FORMAT to 221
10467
10468         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10469         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10470
10471         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10472
10473         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10474
10475 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10476
10477         * factory.C (createInset): use LyXTextClass::floats
10478
10479         * MenuBackend.C (expandFloatListInsert):
10480         (expandFloatInsert):
10481         (expandToc):
10482
10483         * text2.C (setCounter):
10484
10485         * LaTeXFeatures.C (useFloat):
10486         (getFloatDefinitions):
10487
10488         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10489
10490         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10491         floatlist_, with accessor floats().
10492
10493         * FloatList.h: remove global FloatList
10494
10495 2002-08-26  André Pönitz <poenitz@gmx.net>
10496
10497         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10498
10499         * BufferView.h:
10500         * BufferView2.C:
10501         * BufferView_pimpl.C:
10502         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10503
10504 2002-08-25  John Levon  <levon@movementarian.org>
10505
10506         * LyXAction.C: fix margin note description
10507
10508 2002-08-24  John Levon  <levon@movementarian.org>
10509
10510         * buffer.C:
10511         * bufferlist.C:
10512         * bufferview_funcs.C:
10513         * lyxfont.C:
10514         * undo_funcs.C: cleanups
10515
10516         * lyxfunc.C: disable CUT/COPY when no selection
10517
10518 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10519
10520         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10521         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10522
10523         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10524         Add backward compatibility to "mono", "gray" and "no".
10525
10526 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10527
10528         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10529         (and file_format >= 200).
10530
10531 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10532
10533         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10534
10535 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10536
10537         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10538
10539 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10540
10541         * BufferView_pimpl.C:
10542         * LyXAction.C:
10543         * buffer.C:
10544         * commandtags.h:
10545         * lyxfunc.C:
10546         * paragraph.[Ch]:
10547         * text2.C:
10548         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10549         inset and code to make it  work with the paragraph code. The inset
10550         can be anywhere in the paragraph, but will only do the expected
10551         thing in LaTeX if the layout file contains the parameter line
10552                         OptionalArgs    1
10553         (or more generally, a nonzero value) for that layout.
10554
10555 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10556
10557         * paragraph.h: remove the declaration of undefined counters class
10558         function.
10559
10560 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10561
10562         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10563         Dr. Richard Hawkins.
10564
10565 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10566
10567         * paragraph_funcs.h: remove some unneeded includes
10568
10569         * text.C (backspace): pasteParagraph now in global scipe
10570
10571         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10572         (pasteSelection): ditto
10573
10574         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10575         * paragraph_funcs.C (pasteParagraph): ... here
10576
10577 2002-08-20  André Pönitz <poenitz@gmx.net>
10578
10579         * commandtags.h: new LFUNs for swapping/copying table row/colums
10580
10581         * LyXAction.C:
10582         * lyxfunc.C: support for new lfuns
10583
10584 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10585
10586         * tabular.C:
10587         * buffer.[Ch]: remove NO_COMPABILITY stuff
10588
10589 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10590
10591         * boost.C (throw_exception): new file, with helper function for
10592         boost compiled without exceptions.
10593
10594         * paragraph.h:
10595         * lyxlength.C:
10596         * buffer.C:
10597         * ParameterStruct.h:
10598         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10599
10600         * bufferlist.C (emergencyWriteAll): use boost bind
10601
10602         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10603
10604         * text.C: include paragraph_funcs.h
10605         (breakParagraph): breakParagraph is now in global scope
10606
10607         * paragraph_funcs.[Ch]: new files
10608
10609         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10610         global scope
10611
10612         * buffer.C: include paragraph_funcs.h
10613         (insertStringAsLines): breakParagraph is now in global scope
10614
10615         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10616         paragraph_funcs.C
10617
10618         * CutAndPaste.C: include paragraph_funcs.h
10619         (cutSelection): breakParagraphConservative is now in global scope
10620         (pasteSelection): ditto
10621
10622         * buffer.h: declare oprator== and operator!= for
10623         Buffer::inset_iterator
10624
10625         * bufferlist.C (emergencyWrite): don't use fmt(...)
10626
10627         * text3.C: add using std::endl
10628
10629         * BufferView.C (moveCursorUpdate): remove default arg
10630
10631 2002-08-20  André Pönitz <poenitz@gmx.net>
10632
10633         * buffer.[Ch]: move inline functions to .C
10634
10635         * BufferView2.C:
10636         * BufferView_pimpl.C:
10637         * text.C:
10638         * buffer.[Ch]: use improved inset_iterator
10639
10640         * buffer.C:
10641         * paragraph.[Ch]: write one paragraph at a time
10642
10643 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10644
10645         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10646         style if style is not specified.
10647
10648 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10649
10650         * text2.C (setCounter): when searching for right label for a
10651         caption, make sure to recurse to parent insets (so that a caption
10652         in a minipage in a figure float works) (bug #568)
10653
10654 2002-08-20  André Pönitz <poenitz@gmx.net>
10655
10656         * text3.C: new file for LyXText::dispatch() and helpers
10657
10658         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10659
10660         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10661
10662 2002-08-19  André Pönitz <poenitz@gmx.net>
10663
10664         * lyxtext.h:
10665         * text.C: new LyXText::dispatch()
10666
10667         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10668
10669 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10670
10671         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10672
10673         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10674         Hebrew text.
10675
10676 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10677
10678         * Makefile.am: use $(variables) instead of @substitutions@
10679
10680 2002-08-15  André Pönitz <poenitz@gmx.net>
10681
10682         * lyxfunc.C:
10683         * BufferView_pimpl.C: streamlining mathed <-> outer world
10684         interaction
10685
10686         * commandtags.h:
10687         * LyXAction.C: remove unused LFUN_MATH
10688
10689 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10690
10691         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10692
10693 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10694
10695         * paragraph.C (Paragraph): reformat a bit
10696         (cutIntoMinibuffer): use builtin InsetList function instad of
10697         doing it manually.
10698         (getInset): ditto
10699
10700         * buffer.C: include boost/bind.hpp, add using std::for_each
10701         (writeFileAscii): use ParagraphList iterators
10702         (validate): use for_each for validate traversal of paragraphs
10703         (getBibkeyList): use ParagraphList iterators
10704         (resizeInsets): use for_each to resizeInsetsLyXText for all
10705         paragraphs.
10706         (getParFromID): use ParagraphList iterators
10707
10708         * BufferView2.C (lockInset): use paragraph list and iterators
10709
10710 2002-08-14  John Levon  <levon@movementarian.org>
10711
10712         * lyxserver.C: remove spurious xforms include
10713
10714 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10715
10716         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10717
10718 2002-08-13  André Pönitz <poenitz@gmx.net>
10719
10720         * LyXAction.[Ch]:
10721         * lyxfunc.C: further cleaning
10722
10723 2002-08-13  André Pönitz <poenitz@gmx.net>
10724
10725         * funcrequest.h: new constructor
10726
10727         * funcrequest.C: move stuff here from .h
10728
10729         * Makefile.am:
10730         * BufferView_pimpl.C:
10731         * LyXAction.C:
10732         * toc.C:
10733         * lyxfunc.C: subsequent changes
10734
10735         * lyxfunc.h: new view() member function
10736
10737         * lyxfunc.C: subsequent changes
10738
10739 2002-08-13  Angus Leeming  <leeming@lyx.org>
10740
10741         * BufferView2.C:
10742         * BufferView_pimpl.C:
10743         * buffer.C:
10744         * converter.C:
10745         * importer.C:
10746         * lyxfunc.C:
10747         * lyxvc.C:
10748         * toc.C:
10749         * vc-backend.C:
10750         changes due to the changed LyXView interface that now returns references
10751         to member variables not pointers.
10752
10753 2002-08-13  Angus Leeming  <leeming@lyx.org>
10754
10755         * WordLangTuple (word, lang_code): return references to strings,
10756         not strings.
10757
10758         * BufferView.h:
10759         * SpellBase.h:
10760         * lyxtext.h: forward-declare WordLangTuple.
10761
10762         * BufferView2.C:
10763         * ispell.C:
10764         * pspell.C:
10765         * text.C: #include "WordLangTuple.h".
10766
10767         * lyxtext.h:
10768         * text.C: (selectNextWordToSpellcheck): constify return type.
10769
10770 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10771
10772         * buffer.C:
10773         * buffer.h:
10774         * lyxtext.h:
10775         * paragraph.C:
10776         * paragraph_pimpl.h:
10777         * text.C:
10778         * text2.C:
10779         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10780         suggested by Angus.
10781         Made updateCounter always count from start of buffer, and removed
10782         second argument (par).
10783         Reverted floats number display to '#'. Perhaps I'll try again when the
10784         code base is sanitized a bit.
10785
10786 2002-08-12  Angus Leeming  <leeming@lyx.org>
10787
10788         * buffer.[Ch] (getLabelList): constify.
10789
10790 2002-08-07  André Pönitz <poenitz@gmx.net>
10791
10792         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10793
10794         * funcrequest.h: extension to keep mouse (x,y) position
10795
10796 2002-08-12  Juergen Vigna  <jug@sad.it>
10797
10798         * BufferView2.C (insertErrors): forbid undo when inserting error
10799         insets.
10800
10801         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10802
10803 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10804
10805         * ParagraphList.[Ch]: new files
10806
10807         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10808
10809         * BufferView2.C (lockInset): ParagraphList changes
10810         * toc.C: ditto
10811         * text2.C: ditto
10812         * bufferlist.C: ditto
10813         * buffer.h: ditto
10814         * buffer.C: ditto
10815
10816 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10817
10818         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10819         unused class variable counter_,
10820
10821         * paragraph.[Ch] (getFirstCounter): delete unused function
10822
10823         * counters.C: include LAssert.h
10824         (reset): add a new function with no arg, change other version to
10825         not have def. arg and to not allow empty arg.
10826
10827         * text2.C (setCounter): remove empty arg from call to Counters::reset
10828
10829 2002-08-11  John Levon  <levon@movementarian.org>
10830
10831         * Makefile.am: add WordLangTuple.h
10832
10833 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10834
10835         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10836         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10837
10838         * insets/insettext.C: InsetList changes
10839
10840         * graphics/GraphicsSupport.C (operator()): InsetList changes
10841
10842         * toc.C (getTocList): InsetList changes
10843
10844         * paragraph_pimpl.[Ch]: InsetList changes
10845
10846         * paragraph.[Ch]: InsetList changes
10847
10848         * buffer.C (inset_iterator): InsetList changes
10849         (setParagraph): ditto
10850         * buffer.h (inset_iterator): ditto
10851         * iterators.C (operator++): ditto
10852         * iterators.h: ditto
10853
10854         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10855
10856         * InsetList.[Ch]: new files, most InsetList handling moved out of
10857         paragraph.C.
10858
10859         * BufferView2.C (removeAutoInsets): InsetList changes
10860         (lockInset): ditto
10861         (ChangeInsets): ditto
10862
10863 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10864
10865         * paragraph_pimpl.h (empty): new function
10866
10867         * paragraph.[Ch] (empty): new function
10868
10869         * other files: use the new Paragraph::empty function
10870
10871 2002-08-09  John Levon  <levon@movementarian.org>
10872
10873         * lyxtext.h: remove unused refresh_height
10874
10875 2002-08-09  John Levon  <levon@movementarian.org>
10876
10877         * Makefile.am:
10878         * sgml.h:
10879         * sgml.C:
10880         * buffer.C:
10881         * paragraph.h:
10882         * paragraph.C: move sgml char escaping out of paragraph
10883
10884         * paragraph.h:
10885         * paragraph.C: remove id setter
10886
10887         * buffer.C:
10888         * paragraph.C:
10889         * paragraph_pimpl.C: remove dead tex_code_break_column
10890
10891         * bufferview_funcs.C: small cleanup
10892
10893         * lyxfunc.C: remove dead proto
10894
10895         * lyxtext.h: make some stuff private. Remove some dead stuff.
10896
10897         * lyxgluelength.C: make as[LyX]String() readable
10898
10899 2002-08-08  John Levon  <levon@movementarian.org>
10900
10901         * LyXAction.h:
10902         * LyXAction.C:
10903         * MenuBackend.C:
10904         * ToolbarDefaults.C:
10905         * lyxfunc.C:
10906         * lyxrc.C:
10907         * toc.C: lyxaction cleanup
10908
10909 2002-08-08  John Levon  <levon@movementarian.org>
10910
10911         * BufferView2.C: small cleanup
10912
10913         * lyxfind.h:
10914         * lyxfind.C: move unnecessary header into the .C
10915
10916 2002-08-08  John Levon  <levon@movementarian.org>
10917
10918         * funcrequest.h: just tedious nonsense
10919
10920         * lyx_main.h:
10921         * lyx_main.C: cleanups
10922
10923         * buffer.C:
10924         * vspace.C: remove dead header lyx_main.h
10925
10926 2002-08-07  Angus Leeming  <leeming@lyx.org>
10927
10928         * Paragraph.[Ch]:
10929         * paragraph_pimpl.h:
10930         Forward declare class Counters in paragraph.h by moving the ctrs member
10931         variable into Paragraph::Pimpl.
10932         (counters): new method, returning a reference to pimpl_->ctrs.
10933
10934         * text2.C: ensuing changes.
10935
10936 2002-08-07  John Levon  <levon@movementarian.org>
10937
10938         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10939
10940         * BufferView_pimpl.C: announce X selection on double/triple
10941           click
10942
10943         * lyx_main.C: use correct bool in batch dispatch
10944
10945         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10946
10947 2002-08-07  André Pönitz <poenitz@gmx.net>
10948
10949         * funcrequest.h: new class to wrap a kb_action and its argument
10950
10951         * BufferView.[Ch]:
10952         * BufferView_pimpl[Ch]:
10953         * LaTeX.C:
10954         * LyXAction.[Ch]:
10955         * lyxfunc.[Ch]:
10956         * lyxrc.C: subsequent changes
10957
10958
10959 2002-08-07  John Levon  <levon@movementarian.org>
10960
10961         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10962           document options change.
10963
10964 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10965
10966         * counters.[Ch]
10967         * text2.C
10968         * paragraph.[Ch]
10969         * makefile.am: move counters functionality over from
10970         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10971
10972 2002-08-06  John Levon  <levon@movementarian.org>
10973
10974         * WordLangTuple.h: new file for word + language code tuple
10975
10976         * SpellBase.h:
10977         * pspell.h:
10978         * pspell.C:
10979         * ispell.h:
10980         * ispell.C:
10981         * lyxtext.h:
10982         * text.C:
10983         * text2.C:
10984         * BufferView.h:
10985         * BufferView2.C: use WordLangTuple
10986
10987         * layout.h:
10988         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10989
10990 2002-08-06  John Levon  <levon@movementarian.org>
10991
10992         * lyx_main.C: fix cmdline batch handling
10993
10994 2002-08-06  André Pönitz <poenitz@gmx.net>
10995
10996         * lyxrc.C: set default for show_banner to true
10997
10998 2002-08-06  John Levon  <levon@movementarian.org>
10999
11000         * pspell.C: fix a crash, and allow new aspell to work
11001
11002 2002-08-06  John Levon  <levon@movementarian.org>
11003
11004         * lyxfunc.C:
11005         * kbmap.C: small cleanup
11006
11007         * vspace.h:
11008         * vspace.C: add const
11009
11010 2002-08-05  John Levon  <levon@movementarian.org>
11011
11012         * LyXAction.C: back to tabular-insert
11013
11014 2002-08-04  John Levon  <levon@movementarian.org>
11015
11016         * BufferView.h:
11017         * BufferView.C: cosmetic change
11018
11019         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11020
11021         * bufferlist.C:
11022         * buffer.h:
11023         * buffer.C:
11024         * lyxcb.h:
11025         * lyxcb.C:
11026         * lyxserver.C:
11027         * lyxvc.C:
11028         * vc-backend.C:
11029         * BufferView2.C: purge all "Lyx" not "LyX" strings
11030
11031         * lyxcursor.h:
11032         * lyxcursor.C: attempt to add some documentation
11033
11034         * lyxfunc.C:
11035         * commandtags.h:
11036         * LyXAction.C:
11037         * ToolbarDefaults.C:
11038         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11039           merge with LFUN_TABULAR_INSERT
11040
11041         * Makefile.am:
11042         * SpellBase.h:
11043         * ispell.h:
11044         * ispell.C:
11045         * pspell.h:
11046         * pspell.C: split up i/pspell implementations into separate
11047           files, many cleanups
11048
11049         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11050
11051         * text2.C: some cleanup
11052
11053         * lyxfunc.C: don't check for isp_command == "none" any more, it
11054           didn't make any sense
11055
11056 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11057
11058         * counters.[Ch]
11059         * text2.C
11060         * paragraph.[Ch]
11061         * makefile.am: move counters functionality over
11062         from text2.C/paragraph.[Ch] to counters.[Ch], and
11063         make proper C++.
11064 2002-08-02  John Levon  <levon@movementarian.org>
11065
11066         * buffer.C: s/lyxconvert/lyx2lyx/
11067
11068 2002-08-02  Angus Leeming  <leeming@lyx.org>
11069
11070         * lyxlex.C: revert John's change as it breaks reading of the user
11071         preamble.
11072
11073 2002-08-02  Angus Leeming  <leeming@lyx.org>
11074
11075         * importer.C (Import):
11076         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11077         changes due to LyXView::view() now returning a boost::shared_ptr.
11078
11079 2002-08-02  John Levon  <levon@movementarian.org>
11080
11081         * lyxlex.C: small cleanup
11082
11083 2002-08-02  John Levon  <levon@movementarian.org>
11084
11085         * text2.C (status): small cleanup, no logic change
11086
11087 2002-08-01  John Levon  <levon@movementarian.org>
11088
11089         * buffer.h:
11090         * buffer.C (writeFile): don't output alerts, caller
11091           handles this
11092
11093         * bufferlist.C:
11094         * lyx_cb.C: from above
11095
11096         * lyxfunc.C: allow to open non-existent files
11097
11098 2002-07-31  John Levon  <levon@movementarian.org>
11099
11100         * lyxserver.C: don't let incidental errors get
11101           in the way (errno)
11102
11103 2002-07-30  John Levon  <levon@movementarian.org>
11104
11105         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11106
11107 2002-07-30  John Levon  <levon@movementarian.org>
11108
11109         * lyxserver.h:
11110         * lyxserver.C: remove I/O callback too
11111
11112 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11113
11114         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11115         log.
11116
11117 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11118
11119         * many files: strip,frontStrip -> trim,ltrim,rtrim
11120
11121 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11122
11123         * PrinterParams.h: remove extern containsOnly, and include
11124         support/lstrings.h instead.
11125
11126         * LaTeX.C (scanAuxFile): modify because of strip changes
11127         (deplog): ditto
11128         * buffer.C (makeLaTeXFile): ditto
11129         * bufferparams.C (writeFile): ditt
11130         * lyxfont.C (stateText): ditto
11131         * lyxserver.C (read_ready): ditto
11132         * vc-backend.C (scanMaster): ditto
11133
11134         * BufferView_pimpl.h: ws changes
11135
11136         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11137
11138 2002-07-26  André Pönitz <poenitz@gmx.net>
11139
11140         * kb_sequence.C: remove unnedred usings
11141
11142 2002-07-26  Juergen Vigna  <jug@sad.it>
11143
11144         * lyxfind.C (LyXReplace): we have to check better if the returned
11145         text is not of theLockingInset()->getLockingInset().
11146
11147 2002-07-25  Juergen Vigna  <jug@sad.it>
11148
11149         * lyxfind.C (LyXReplace): don't replace if we don't get the
11150         right LyXText.
11151
11152         * undo_funcs.C (createUndo): remove debugging code.
11153
11154 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11155
11156         * buffer.C (parseSingleLyXformat2Token): Use default placement
11157         when reading old floats.
11158
11159         * FloatList.C (FloatList): Change the default placement of figure
11160         and tables to "tbp".
11161
11162 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11163
11164         * MenuBackend.C: using std::max
11165
11166 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11167
11168         * MenuBackend.C (expandToc):
11169         (expandToc2): code moved from xforms menu frontend. It is now
11170         generic and TOCs are transparent to menu frontends.
11171
11172 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11173
11174         * toc.C (getTocList): protect against buf=0
11175
11176         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11177         Menu as first parameter. Now, this calls itself recursively to
11178         expand a whole tree (this will be useful for TOC handling)
11179         (expandFloatInsert): remove 'wide' version of floats
11180
11181         * MenuBackend.h (submenuname): returns the name of the submenu.
11182         (submenu): returns the submenu itself, provided it has been
11183         created by MenuBackend::expand
11184
11185 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11186
11187         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11188         insets which have noFontChange == true. (bug #172)
11189
11190 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11191
11192         * BufferView_pimpl.C: add connection objects and use them...
11193         (Pimpl): here.
11194
11195 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11196
11197         * MenuBackend.C (expandLastfiles):
11198         (expandDocuments):
11199         (expandFormats):
11200         (expandFloatListInsert):
11201         (expandFloatInsert):
11202         (expand): split expand in parts
11203
11204 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11205
11206         * lyx_gui.C: use lyx_gui::exit()
11207
11208 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11209
11210         * LyXAction.C: show the failing pseudo action
11211
11212 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11213
11214         * buffer.C (readFile): Run the lyxconvert script in order to read
11215         old files.
11216
11217 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11218
11219         * LyXAction.C:
11220         * commandtags.h:
11221         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11222
11223 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11224
11225         * LyXAction.C:
11226         * commandtags.h:
11227         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11228
11229 2002-07-22  Herbert Voss  <voss@lyx.org>
11230
11231         * lengthcommon.C:
11232         * lyxlength.[Ch]: add support for the vertical lengths
11233
11234 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11235
11236         * toc.[Ch]: std:: fixes
11237
11238 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11239
11240         * lyxrc.C: do not include lyx_main.h
11241
11242         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11243         for layouts
11244
11245         * lyxrc.C:
11246         * encoding.C:
11247         * bufferlist.C:
11248         * BufferView2.C: include "lyxlex.h"
11249
11250         * tabular.h:
11251         * bufferparams.h: do not #include "lyxlex.h"
11252
11253         * lyxtextclasslist.C (Add): remove method
11254         (classlist): renamed to classlist_
11255
11256         * paragraph_pimpl.C:
11257         * paragraph.C:
11258         * text2.C:
11259         * CutAndPaste.C:
11260         * bufferview_funcs.C:
11261         * bufferlist.C:
11262         * text.C:
11263         * LaTeXFeatures.C:
11264         * buffer.C:
11265         * toc.C (getTocList): use BufferParams::getLyXTextClass
11266
11267         * toc.C (getTocList): use InsetFloat::addToToc
11268
11269         * toc.[Ch]: new files, containing helper functions to handle table
11270         of contents
11271
11272         * lyxfunc.C (dispatch): no need to remove spaces around command
11273         given as a string
11274         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11275         first command of the sequence; it is not very clever, but I do not
11276         have a better idea, actually
11277
11278         * LyXAction.C (LookupFunc): make sure to remove space at the
11279         beginning and end of the command
11280
11281 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11282
11283         * MenuBackend.C (getMenubar): new method: return the menubar of
11284         this menu set
11285         (read): treat differently reading of menu and menubar (in
11286         particular, the menubar has no name now)
11287         (Menu::menubar): remove
11288
11289         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11290         saving is finished
11291
11292 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11293
11294         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11295         a bibitem inset in a RTL paragraph.
11296
11297 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11298
11299         * paragraph_pimpl.C: constify
11300
11301         * BufferView_pimpl.C:
11302         * LaTeX.C:
11303         * lyxfunc.C: fix dispatch in a nicer way
11304
11305 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11306
11307         * lyxfunc.C (dispatch):
11308         * BufferView_pimpl.C:
11309         * BufferView_pimpl.h:
11310         * BufferView.C:
11311         * BufferView.h: rename Dispatch() to dispatch()
11312
11313         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11314
11315         * lyxlayout.C (Read): honor DependsOn tag
11316
11317         * lyxlayout.[Ch] (depends_on): new method
11318
11319         * version.C.in: update lyx_docversion
11320
11321         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11322
11323         * paragraph.C (validate): remove from here...
11324         * paragraph_pimpl.C (validate): ... and move here
11325         (isTextAt): make it const
11326
11327         * buffer.C (getLists): ws cleanup
11328
11329 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11330
11331         * language.C (read): Use iso8859-1 encoding in latex_lang
11332         (this prevents LyX from crashing when using iso10646-1 encoding).
11333
11334 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11335
11336         * text2.C (toggleInset): if cursor is inside an inset, close the
11337         inset and leave cursor _after_ it
11338
11339 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11340
11341         * lyxfunc.C: move minibuffer completion handling out of here
11342
11343 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11344
11345         * BufferView_pimpl.C:
11346         * LaTeX.C: fix dispatch calls
11347
11348 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11349
11350         * text.C (drawChars): Fix Arabic text rendering.
11351
11352 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11353
11354         * LyXAction.C:
11355         * commandtags.h:
11356         * lyxfunc.C: remove message-push/pop
11357
11358         * lyxserver.C:
11359         * lyxfunc.h:
11360         * lyxfunc.C: rationalise some code by removing verboseDispatch
11361           in favour of a bool argument to dispatch()
11362
11363 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11364
11365         * lyx_main.C (init): make sure to read symlinks as absolute paths
11366
11367 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11368
11369         * lyxfunc.h:
11370         * lyxfunc.C: no need for commandshortcut to be a member
11371
11372 2002-07-15  André Pönitz <poenitz@gmx.net>
11373
11374         * converter.C: add support for $$s (scripts from lib/scripts dir)
11375         * lyx_main.C: white space
11376
11377 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11378
11379         * bufferlist.C:
11380         * lyxrc.h:
11381         * lyxrc.C: remove second exit confirmation
11382
11383 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11384
11385         * BufferView.h:
11386         * BufferView.C:
11387         * BufferView2.C:
11388         * BufferView_pimpl.h:
11389         * BufferView_pimpl.C:
11390         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11391
11392 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11393
11394         * MenuBackend.C (expand): add numeric shortcuts to document menu
11395
11396         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11397
11398 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11399
11400         * lyxfont.C (setLyXFamily):
11401         (setLyXSeries):
11402         (setLyXShape):
11403         (setLyXSize):
11404         (setLyXMisc):
11405         (lyxRead):
11406         * debug.C (value):
11407         * buffer.C (asciiParagraph): use ascii_lowercase
11408
11409 2002-07-15  Mike Fabian  <mfabian@suse.de>
11410
11411         * lyxlex_pimpl.C (search_kw):
11412         * lyxlex.C (getLongString):
11413         * converter.h (operator<):
11414         * converter.C (operator<):
11415         * buffer.C (parseSingleLyXformat2Token):
11416         (asciiParagraph):
11417         * ToolbarDefaults.C (read):
11418         * MenuBackend.C (checkShortcuts):
11419         (read):
11420         * LColor.C (getFromGUIName):
11421         (getFromLyXName): use the compare_ascii_no_case instead of
11422         compare_no_case, because in turkish, 'i' is not the lowercase
11423         version of 'I', and thus turkish locale breaks parsing of tags.
11424
11425 2002-07-16  Angus Leeming  <leeming@lyx.org>
11426
11427         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11428         now takes a Buffer const & argument.
11429
11430 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11431
11432         * BufferView.C (resize): check there's a buffer to resize
11433
11434 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11435
11436         * lyxfunc.C: remove dead code
11437
11438         * lyxserver.h:
11439         * lyxserver.C: use lyx_guii::set_read_callback
11440
11441 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11442
11443         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11444         an inset in a RTL paragraph.
11445
11446 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * lyxfunc.C: repaint after a font size update
11449
11450 2002-07-15  André Pönitz <poenitz@gmx.net>
11451
11452         * lyxlength.C: inBP should be able to return negative values
11453
11454 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * lyxfunc.C: use lyx_gui::update_fonts()
11457
11458 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11459
11460         * lyxfunc.C: use lyx_gui::update_color()
11461
11462 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11463
11464         * bufferlist.C:
11465         * lyxfunc.h:
11466         * lyxfunc.C:
11467         * lyxrc.h:
11468         * lyxrc.C: remove file->new asks for name option, and let
11469           buffer-new take an argument
11470
11471 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11472
11473         * BufferView_pimpl.C: remove unneeded extra repaint()
11474
11475 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11476
11477         * LyXAction.C: allow command-sequence with NoBuffer
11478
11479         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11480
11481 2002-07-10  Angus Leeming  <leeming@lyx.org>
11482
11483         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11484
11485 2002-07-09  Angus Leeming  <leeming@lyx.org>
11486
11487         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11488
11489 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11490
11491         * lengthcommon.h: whitespace
11492
11493         * lyxfunc.C: update scrollbar after goto paragraph
11494
11495         * lyxtext.h: factor out page break drawing, and fix it so
11496           page break/added space paints as selected nicely
11497
11498 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11499
11500         * BufferView_pimpl.C: add FIXMEs, clean up a little
11501
11502 2002-07-09  André Pönitz <poenitz@gmx.net>
11503
11504         * lyxfont.[Ch]: support for wasy symbols
11505
11506 2002-07-08  André Pönitz <poenitz@gmx.net>
11507
11508         * BufferView_pimpl.C: apply John's patch for #93.
11509
11510 2002-07-05  Angus Leeming  <leeming@lyx.org>
11511
11512         * BufferView_pimpl.C (buffer): generate previews if desired.
11513
11514         * LColor.h: add "preview" to the color enum.
11515
11516         * LColor.C (LColor): add a corresponding entry to the items array.
11517
11518         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11519         with this buffer.
11520
11521 2002-07-05  Angus Leeming  <leeming@lyx.org>
11522
11523         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11524         The body of the code is now in the method that is passed an ostream &
11525         rather than a file name.
11526         Pass an additional only_preamble parameter, useful for the forthcoming
11527         preview stuff.
11528
11529 2002-07-03  André Pönitz <poenitz@gmx.net>
11530
11531         * lyxfunc.C: simplify getStatus() a bit for math stuff
11532
11533 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11534
11535         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11536
11537 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11538
11539         * text.C (changeRegionCase): do not change case of all the
11540         document when region ends at paragraph end (bug #461)
11541
11542 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11543
11544         * paragraph.C (startTeXParParams):
11545         (endTeXParParams): add \protect when necessary
11546
11547 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11548
11549         * BufferView_pimpl.C (workAreaExpose): remove warning
11550
11551 2002-06-27  Angus Leeming  <leeming@lyx.org>
11552
11553         * Makefile.am: add lyxlayout_ptr_fwd.h.
11554
11555 2002-06-26  André Pönitz <poenitz@gmx.net>
11556
11557         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11558
11559 2002-06-25  Angus Leeming  <leeming@lyx.org>
11560
11561         * lyxfunc.C (dispatch): Comment out the call to
11562         grfx::GCache::changeDisplay. The method no longer exists now that the
11563         pixmap generation part of the graphics loader has been moved into
11564         InsetGraphics.
11565
11566 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11567
11568         * text2.C: layout as layout
11569
11570         * text.C: layout as layout
11571
11572         * tabular.C (OldFormatRead): layout as layout
11573
11574         * paragraph_pimpl.C (TeXDeeper): layout as layout
11575         (realizeFont): layout as layout
11576
11577         * paragraph.C (writeFile): layout as layout
11578         (validate): layout as layout
11579         (getFont): layout as layout
11580         (getLabelFont): layout as layout
11581         (getLayoutFont): layout as layout
11582         (breakParagraph): layout as layout
11583         (stripLeadingSpaces): layout as layout
11584         (getEndLabel): layout as layout
11585         (getMaxDepthAfter): layout as layout
11586         (applyLayout): layout as layout
11587         (TeXOnePar): layout as layout
11588         (simpleTeXOnePar): layout as layout
11589         (TeXEnvironment): layout as layout
11590         (layout): layout as layout
11591         (layout): layout as layout
11592
11593         * lyxtextclass.C (compare_name): new functor to work with
11594         shared_ptr, layout as layout
11595         (Read): layout as layout
11596         (hasLayout): layout as layout
11597         (operator): layout as layout
11598         (delete_layout): layout as layout
11599         (defaultLayout): layout as layout
11600
11601         * lyxlayout_ptr_fwd.h: new file
11602
11603         * lyxlayout.C (Read): layout as layout
11604
11605         * lyx_cb.C (MenuInsertLabel): layout as layout
11606
11607         * bufferlist.C (newFile): layout as layout
11608
11609         * buffer.C (readLyXformat2): layout as layout
11610         (parseSingleLyXformat2Token): layout as layout
11611         (insertStringAsLines): layout as layout
11612         (asciiParagraph): layout as layout
11613         (latexParagraphs): layout as layout
11614         (makeLinuxDocFile): layout as layout
11615         (simpleLinuxDocOnePar): layout as layout
11616         (makeDocBookFile): layout as layout
11617         (simpleDocBookOnePar): layout as layout
11618         (getLists): layout as layout
11619
11620         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11621
11622         * CutAndPaste.C (cutSelection): layout as layout
11623         (pasteSelection): layout as layout
11624         (SwitchLayoutsBetweenClasses): layout as layout
11625
11626         * BufferView_pimpl.C (Dispatch): layout as layout
11627         (smartQuote): layout as layout
11628
11629         * BufferView2.C (unlockInset): layout as layout
11630
11631 2002-06-24  André Pönitz <poenitz@gmx.net>
11632
11633         * lyxfunc.C: fix #487
11634
11635 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11636
11637         * lyxrc.h:
11638         * lyxrc.C:
11639         * lyxfunc.C: remove display_shortcuts, show_banner
11640
11641 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11642
11643         * Buffer_pimpl.C: oops, update on resize
11644
11645 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11646
11647         * buffer.C:
11648         * converter.C:
11649         * exporter.C:
11650         * lyxfunc.C:
11651         * BufferView.h:
11652         * BufferView.C: use repaint()
11653
11654         * BufferView_pimpl.h:
11655         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11656           as it's a clearer description. Remove superfluous
11657           redraws.
11658
11659 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * text.C: fix bug 488. Not ideal, but getting
11662           getWord() to work properly for the insets that
11663           matter is more difficult ...
11664
11665 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11666
11667         * BufferView_pimpl.C:
11668         * LyXAction.C:
11669         * commandtags.h:
11670         * lyxfunc.C: remove the six million index lyxfuncs to just
11671           one, and DTRT (bug 458)
11672
11673 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11674
11675         * BufferView.h:
11676         * BufferView.C:
11677         * BufferView_pimpl.h:
11678         * BufferView_pimpl.C: clean up resize() stuff,
11679           and unnecessary updateScreen()s
11680
11681 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11682
11683         * BufferView.h:
11684         * BufferView.C:
11685         * BufferView_pimpl.h:
11686         * BufferView_pimpl.C:
11687         * lyxfind.h:
11688         * lyxfind.C:
11689         * minibuffer.C: remove focus management of workarea,
11690           not needed. Use screen's greyOut()
11691
11692 2002-06-17  Herbert Voss  <voss@lyx.org>
11693
11694         * converter.C: (convert) do not post a message, when converting
11695         fails, let the calling function decide what to do in this case
11696
11697 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * lyxfunc.C: tidy up a little
11700
11701 2002-06-16    <alstrup@diku.dk>
11702
11703         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11704         Got rid of FORMS_H_LOCATION include. Now we are
11705         GUII.
11706
11707 2002-06-15  LyX Development team  <lyx@rilke>
11708
11709         * buffer.[Ch] (sgmlOpenTag):
11710         (sgmlCloseTag): Added support for avoiding pernicious mixed
11711         content. Return number of lines written.
11712
11713         (makeLinuxDocFile):
11714         (makeDocBookFile): Fixed calls to sgml*Tag.
11715         Simple white space clean.
11716
11717         (simpleDocBookOnePar): Simple white space clean.
11718
11719         * tabular.[Ch] (docBook): Renamed to docbook and got another
11720         argument to related with the pernicious mixed content.
11721
11722         (docbookRow): Fixed calls for docbook inset method.
11723
11724 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11725
11726         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11727         so it's X11 independent.
11728
11729         * kb*.[Ch]: ditto.
11730
11731         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11732
11733 2002-06-15  Lyx Development team  <lyx@electronia>
11734
11735         * intl.h: Renamed getTrans to getTransManager.
11736
11737 2002-06-14  Angus Leeming  <leeming@lyx.org>
11738
11739         * Makefile.am: nuke forgotten stl_string_fwd.h.
11740
11741 2002-06-12  Angus Leeming  <leeming@lyx.org>
11742
11743         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11744
11745 2002-06-13  Angus Leeming  <leeming@lyx.org>
11746
11747         * LaTeX.C:
11748         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11749
11750 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11751
11752         * kbmap.C (getiso): add support for cyrillic and greek
11753
11754 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11755
11756         * BufferView.h:
11757         * BufferView.C:
11758         * BufferView_pimpl.h:
11759         * BufferView_pimpl.C: move bogus scrolling logic
11760           to xforms
11761
11762 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11763
11764         * lyxfunc.C:
11765         * BufferView_pimpl.C: view->resize() change
11766
11767 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11768
11769         * BufferView_pimpl.C: topCursorVisible
11770           prototype change
11771
11772 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11773
11774         * Makefile.am:
11775         * lyx_gui.h:
11776         * lyx_gui.C: move to frontends/
11777
11778         * main.C:
11779         * lyx_main.h:
11780         * lyx_main.C: changes from above
11781
11782 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11783
11784         * intl.C:
11785         * intl.h:
11786         * kbmap.C:
11787         * kbsequence.C:
11788         * lyx_cb.C:
11789         * lyx_main.C: minor tidy
11790
11791 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11792
11793         * BufferView_pimpl.h:
11794         * BufferView_pimpl.C:
11795         * BufferView.h:
11796         * BufferView.C: make painter() const,
11797           remove dead code
11798
11799         * BufferView2.C: use screen() accessor
11800
11801         * lyx_main.h:
11802         * lyx_main.C: some minor cleanup
11803
11804 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11805
11806         * BufferView_pimpl.h:
11807         * BufferView_pimpl.C: remove enter/leaveView,
11808           use workHeight()
11809
11810 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11811
11812         * BufferView.h:
11813         * BufferView.C:
11814         * BufferView2.C:
11815         * BufferView_pimpl.h:
11816         * BufferView_pimpl.C: only construct screen once,
11817           rename
11818
11819         * lyxrc.C: remove pointless comment
11820
11821 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11822
11823         * BufferView.h:
11824         * BufferView.C: remove active() and belowMouse()
11825
11826         * BufferView_pimpl.h:
11827         * BufferView_pimpl.C: use workarea() not workarea_,
11828           and make it use a scoped_ptr instead
11829
11830 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11831
11832         * lyx_gui.C: add debug message on BadWindow
11833
11834 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11835
11836         * sp_spell.C: fdopen is not part of the C++ standard.
11837
11838         * paragraph.C (InsetIterator): use >= instead of ==
11839
11840 2002-06-07  Angus Leeming  <leeming@lyx.org>
11841
11842         Fixes needed to compile with Compaq cxx 6.5.
11843         * BufferView_pimpl.C:
11844         * DepTable.C:
11845         * buffer.C:
11846         * converter.C:
11847         * encoding.C:
11848         * lyx_gui.C:
11849         * lyx_main.C:
11850         * lyxtextclasslist.C:
11851         * minibuffer.C:
11852         * sp_spell.C:
11853         * tabular_funcs.C:
11854         * vc-backend.C:
11855         all c-library variables have been moved into namespace std. Wrap
11856         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11857
11858         * lyxlength.C:
11859         * tabular-old.C:
11860         * tabular.C:
11861         Add a using std::abs declaration.
11862
11863         * kbmap.h (modifier_pair):
11864         * paragraph.h (InsetTable, InsetList):
11865         * lyxfont.h (FontBits):
11866         type definition made public.
11867
11868         * bufferlist.C (emergencyWriteAll): the compiler complains that
11869         there is more than one possible lyx::class_fun template to choose from.
11870         I re-named the void specialisation as lyx::void_class_fun.
11871
11872         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11873
11874         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11875         the compiler is is unable to find tostr in write_attribute.
11876
11877 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11878
11879         * buffer.C (sgmlError): hide #warning
11880
11881 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11882
11883         * xtl/*: get rid of xtl, which is not in use anyway
11884
11885         * LyXAction.C (init):
11886         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11887         were unimplemented xtl experimentation
11888
11889 2002-06-04  André Pönitz <poenitz@gmx.net>
11890
11891         * lyxfunc.C: disable array operation on simple formulae
11892
11893 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11894
11895         * converter.C: constify a bit
11896
11897 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11898
11899         * lyx_gui.C: check xforms version correctly
11900
11901 2002-04-30  Herbert Voss  <voss@lyx.org>
11902
11903         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11904         "keep" option
11905
11906 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11909           attempt to register it with a VCS)
11910
11911 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11912
11913         * lyx_main.C (init): honor variables LYX_DIR_13x and
11914         LYX_USERDIR_13x
11915
11916 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11917
11918         * buffer.h:
11919         * buffer.C:
11920         * lyx_main.C: fix a crash on bad command line,
11921           and give a useful exit status on error
11922
11923         * lyxfunc.C (doImport): allow -i lyx to work
11924
11925 2002-03-30  André Pönitz <poenitz@gmx.net>
11926
11927         * lyxfunc.C: mathed font changes
11928
11929 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11930
11931         * LaTeX.C:
11932         * importer.h:
11933         * importer.C:
11934         * lyx_sty.h:
11935         * lyx_sty.C:
11936         * lyxlex.C:
11937         * lyxrow.h:
11938         * lyxtext.h:
11939         * paragraph.h:
11940         * paragraph.C:
11941         * texrow.h:
11942         * texrow.C:
11943         * text.C:
11944         * trans_mgr.h: srcdocs, and some minor cleanups
11945
11946 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11947
11948         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11949         call getFont all the time)
11950
11951 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11952
11953         * switch from SigC signals to boost::signals
11954
11955 2002-05-29  André Pönitz <poenitz@gmx.net>
11956
11957         * paragraph_pimpl.C (getChar): don't call size() too often...
11958
11959 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11960
11961         * paragraph_pimpl.C (insertChar): do not try to update tables when
11962         appending (pos == size())
11963
11964         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11965         in order to reduce drastically the number of comparisons needed to
11966         parse a large document
11967
11968 2002-05-29  André Pönitz <poenitz@gmx.net>
11969
11970         * text.C:
11971         * text2.C:
11972         * lyxtextclass.C:
11973         * sp_pspell.h:
11974         * textclasslist.[Ch]:
11975         * sp_ispell.h: whitespace change
11976
11977 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11978
11979         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11980         lyxaction directly now.
11981
11982 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11983
11984         * trans.C:
11985         * lyxfont.C:
11986         * lyxvc.C: remove unused headers
11987
11988 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11989
11990         * Makefile.am:
11991         * buffer.h:
11992         * undostack.h:
11993         * undostack.C:
11994         * undo_funcs.h:
11995         * undo_funcs.C: some cleanups. Use shared_ptr
11996           and a template for the undo stacks.
11997
11998 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11999
12000         * BufferView_pimpl.h:
12001         * BufferView_pimpl.C:
12002         * kbmap.h:
12003         * kbmap.C:
12004         * kbsequence.h:
12005         * kbsequence.C:
12006         * lyxfunc.h:
12007         * lyxfunc.C:
12008         * text2.C: use key_state/mouse_state
12009
12010 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12011
12012         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12013         and LSubstring
12014
12015         * chset.C: change include order
12016         (loadFile): use boost regex and get rid of LRegex and LSubstring
12017
12018         * Makefile.am (BOOST_LIBS): new variable
12019         (lyx_LDADD): use it
12020
12021         * LaTeX.C: change include order.
12022         (scanAuxFile): use boost regex and get rid of LRegex and
12023         LSubstring
12024         (deplog): ditto
12025
12026 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * ColorHandler.h:
12029         * ColorHandler.C:
12030         * FontInfo.h:
12031         * FontInfo.C: moved to frontends/xforms/
12032
12033         * FontLoader.h:
12034         * FontLoader.C: moved into frontends for GUIIzation
12035
12036         * Makefile.am:
12037         * lyx_gui.C:
12038         * lyxfont.C:
12039         * lyxfunc.C: changes from above
12040
12041 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12042
12043         * LColor.C: remove spurious X include
12044
12045         * BufferView_pimpl.C:
12046         * Makefile.am:
12047         * font.h:
12048         * font.C:
12049         * text.C:
12050         * text2.C: move font metrics to frontends/
12051
12052 2002-05-24  Juergen Vigna  <jug@sad.it>
12053
12054         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12055         setting the undo_cursor.
12056
12057         * ParagraphParameters.h: include local includes first.
12058
12059 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12060
12061         * BufferView_pimpl.C:
12062         * BufferView_pimpl.h:
12063         * Makefile.am:
12064         * WorkArea.h:
12065         * WorkArea.C:
12066         * screen.C: move WorkArea into frontends/
12067
12068         * lyxscreen.h:
12069         * screen.C:
12070         * text.C:
12071         * BufferView.C:
12072         * BufferView2.C: move LyXScreen into frontends/
12073
12074         * lyxlookup.h:
12075         * lyxlookup.C:
12076         * lyx_gui.C: move lyxlookup into frontends/xforms/
12077
12078 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12079
12080         * BufferView2.C:
12081         * BufferView_pimpl.C:
12082         * FontLoader.C:
12083         * LyXView.h:
12084         * LyXView.C:
12085         * Makefile.am:
12086         * WorkArea.C:
12087         * XFormsView.h:
12088         * XFormsView.C:
12089         * buffer.C:
12090         * bufferlist.C:
12091         * bufferview_funcs.C:
12092         * converter.C:
12093         * importer.C:
12094         * lyx_cb.C:
12095         * lyx_gui.C:
12096         * lyx_main.C:
12097         * lyx_find.C:
12098         * lyxfunc.C:
12099         * lyxvc.C:
12100         * minibuffer.C:
12101         * text.C:
12102         * text2.C:
12103         * trans.C:
12104         * vc-backend.C: move LyX/XFormsView into frontends/
12105
12106 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12107
12108         * Makefile.am:
12109         * PainterBase.C:
12110         * PainterBase.h:
12111         * Painter.C:
12112         * Painter.h:
12113         * WorkArea.C:
12114         * WorkArea.h:
12115         * screen.C:
12116         * tabular.C:
12117         * text.C:
12118         * text2.C: move Painter to frontends/
12119
12120 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12121
12122         * buffer.C: comment out some some code that depend upon lyx_format
12123         < 220
12124
12125         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12126         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12127
12128         * buffer.h (NO_COMPABILITY): turn off compability
12129
12130         * ColorHandler.C: include scoped_array.hpp
12131
12132         * font.C: Use more specific smart_ptr header.
12133         * Painter.C: ditto
12134         * gettext.C: ditto
12135         * ShareContainer.h: ditto
12136         * lyx_main.h: ditto
12137         * kbmap.h: ditto
12138         * FontInfo.h: ditto
12139         * BufferView_pimpl.h: ditto
12140         * ColorHandler.h: ditto
12141
12142         * kbmap.C (defkey): change call to shared_ptr::reset
12143
12144 2002-05-21  Juergen Vigna  <jug@sad.it>
12145
12146         * buffer.C (insertErtContents): fix to insert ert asis if it is
12147         non empty. Skip it completely if it contains only whitespaces.
12148
12149 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12150
12151         * BufferView_pimpl.C:
12152         * BufferView2.C: clear selection on paste (bug 393)
12153
12154 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12155
12156         * DepTable.C: include ctime
12157
12158 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12159
12160         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12161
12162 2002-05-14  Juergen Vigna  <jug@sad.it>
12163
12164         * text.C (breakParagraph): fixed function to honor the keepempty
12165         layout in the right maner and also to permit the right breaking
12166         algorithm on empty or non empyt keepempty paragraphs.
12167
12168         * paragraph.C (breakParagraph): we have to check also if the par
12169         is really empty (!size()) for isempty otherwise we do the wrong
12170         paragraph break.
12171
12172 2002-05-10  Juergen Vigna  <jug@sad.it>
12173
12174         * buffer.[Ch] : The following are only changes to the ert
12175         compatibility read reading old LaTeX layout and font stuff and
12176         convert it to ERTInsets.
12177
12178         * buffer.h: added isErtInset().
12179
12180         * buffer.C (struct ErtComp): add a fromlayout bool to check
12181         if we're inside a LaTeX layout.
12182         (isErtInset): new helper function.
12183         (insertErtContents): look for other ert insets before this one
12184         and insert the contents there, so that we don't have subsequent
12185         ERT insets with nothing between them. This way we create only one
12186         inset with multiple paragraphs. Also check if we don't insert only
12187         spaces ' ' as they are ignored anyway afterwards in the .tex file
12188         so if we have only spaces we will ignore this latex part in the
12189         new file.
12190         (parseSingleLyXformat2Token \\layout): better compatibility when
12191         reading layout-latex stuff.
12192         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12193         language tag.
12194         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12195         stuff after reading the inset only get the information back from
12196         the stack.
12197
12198 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12199
12200         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12201
12202         * LaTeXFeatures.C (getBabelOptions): New method.
12203
12204 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12205
12206         * BufferView_pimpl.C (Dispatch): work around missing argument for
12207         'layout'
12208
12209 2002-05-08  Juergen Vigna  <jug@sad.it>
12210
12211         * text.C (leftMargin): handle paragraph leftindent.
12212
12213         * paragraph.C (writeFile): write the new \\leftindent tag.
12214         (validate): handle leftindent code.
12215         (TeXEnvironment): handle paragraphleftindent code again.
12216
12217         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12218
12219         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12220         for paragrap_extra indent code and new token \\leftindent.
12221         (latexParagraphs): handle the leftindent as environment.
12222
12223         * ParameterStruct.h: added leftindent support.
12224
12225         * ParagraphParameters.C (leftIndent): added support functions for
12226         the paragraph left indent.
12227
12228         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12229         more appropriate.
12230
12231 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12232
12233         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12234         inside insetERT.
12235
12236         * text.C (computeBidiTables): No bidi in insetERT.
12237
12238         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12239         in RTL documents.
12240
12241 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12242
12243         * version.C.in: pre 5
12244
12245 2002-05-02  José Matos  <jamatos@fep.up.pt>
12246         * buffer.C (makeDocBookFile): white space changes, add newline to
12247         command styles.
12248         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12249
12250         * tabular.C (docBook): fix typo.
12251
12252 2002-05-03  Juergen Vigna  <jug@sad.it>
12253
12254         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12255         change in LyXText as we can not be sure it was not freed.
12256         (drawOneRow): remove unused code.
12257
12258         * text.C (drawInset): redo the calculation of the need_break_row as
12259         it could have a row which was already freed.
12260         (draw): look at the return value of drawInset and return false if
12261         it also returned false.
12262         (paintRowText): look at the return value of draw and return false if
12263         it also returned false.
12264
12265         * lyxtext.h: added bool return type to drawInset() and draw() so that
12266         if we have a change in the row so that the rowbreak has to be redone
12267         we abort drawing as it will be called again.
12268
12269 2002-05-02  Juergen Vigna  <jug@sad.it>
12270
12271         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12272         a change in the maintext also if we're inside an inset.
12273         (Dispatch): set the cursor again after a break line and after the
12274         screen has been updated as it could be we're in a different row.
12275
12276         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12277         to set the cursor behind the pargraph with > size().
12278         (setCursor): check also for the same paragraph when checking where
12279         to put the cursor if we have a NFR inset.
12280
12281         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12282         parts of layout read further up as it still was in the wrong
12283         position.
12284
12285 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12286
12287         * screen.C (drawFromTo): change sine fullRebreak always return
12288         true.
12289
12290         * buffer.C (parseSingleLyXformat2Token): reindent some
12291
12292         * BufferView_pimpl.C (update): change since fullRebreak always
12293         return true.
12294         (Dispatch): git rid of the last hardcoded "Standard"s.
12295
12296 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12297
12298         * text2.[Ch] (fullRebreak): make it return void now that we always
12299         returned true.
12300
12301 2002-04-30  Juergen Vigna  <jug@sad.it>
12302
12303         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12304         ert compatibility check for "latex" layout.
12305
12306 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12307
12308         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12309         minipages: use col% instead of p%, and also use the current font.
12310         (makeLaTeXFile): Fix use babel condition.
12311         (parseSingleLyXformat2Token): Correct font when reading old floats.
12312
12313 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12314
12315         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12316         inserting list of floats.
12317
12318 2002-04-25  Herbert Voss  <voss@lyx.org>
12319
12320         * MenuBackend.C (expand): don't add the graphics extensions to the
12321         export menu
12322
12323 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12324
12325         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12326         non-existing layout, do not complain if it was the default layout
12327         of the original class (bug #342)
12328
12329 2002-04-24  Juergen Vigna  <jug@sad.it>
12330
12331         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12332         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12333
12334 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12335
12336         * buffer.C (getBibkeyList): If using \bibliography, return the
12337         option field with the reference itself. Enables us to provide natbib
12338         support when using \bibliography.
12339
12340 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12341
12342         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12343
12344         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12345         natbib is provided by the LaTeX class.
12346
12347 2002-04-23  Juergen Vigna  <jug@sad.it>
12348
12349         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12350         Wakeup functions.
12351
12352         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12353
12354 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12355
12356         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12357
12358         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12359         ensuremath around textordmasculine, textordfeminine and
12360         textdegree.
12361
12362 2002-04-19  Juergen Vigna  <jug@sad.it>
12363
12364         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12365         reinitializing the buffer otherwise row-dimensions may be wrong.
12366         (update): reset also the selection cursors if they do exits otherwise
12367         their x/y positions may be wrong.
12368
12369         * text2.C (cursorDown): don't enter the inset if we came from a row
12370         above and are one row over the inset.
12371
12372         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12373         really leaving an inset.
12374
12375 2002-04-18  Juergen Vigna  <jug@sad.it>
12376
12377         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12378         of the selected paragraph does not have the selected layout also if
12379         the last one had!
12380
12381         * text2.C (setLayout): fixed bug which did not change last selected
12382         paragraph.
12383
12384         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12385         changed the read and substituted \\end_float with \\end_inset!
12386
12387         * BufferView_pimpl.C (cursorPrevious):
12388         (cursorNext): fixed to make it work with rows heigher than the work
12389         area without moving the cursor only the draw of the row.
12390         (workAreaMotionNotify): fix jumping over high rows.
12391
12392 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393
12394         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12395         Ressler.
12396
12397 2002-04-16  Juergen Vigna  <jug@sad.it>
12398
12399         * text2.C (setCursor): set also the irow().
12400         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12401         (cursorUp):
12402         (cursorDown): support for locking an inset if the x_fix value goes
12403         inside it. That way I can transverse insets too with cursor up/down.
12404
12405         * lyxrow.h: added irow helper function same as other (i) functions.
12406
12407         * BufferView_pimpl.C (cursorPrevious):
12408         (cursorNext): fixed for insets!
12409
12410 2002-04-15  Juergen Vigna  <jug@sad.it>
12411
12412         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12413         position otherwise it is wrong in some cases.
12414
12415         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12416         inside the inset before the call.
12417
12418 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12419
12420         * buffer.[Ch] (getBibkeyList): make it const.
12421
12422 2002-04-12  Juergen Vigna  <jug@sad.it>
12423
12424         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12425
12426         * text2.C (getCursorX): new helper function
12427         (setCursor): compute also ix_
12428         (setCursorFromCoordinates): set also ix.
12429
12430         * lyxcursor.h: added ix_ and helper functions.
12431
12432         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12433
12434         * buffer.C (insertStringAsLines): dont break paragraph if the this
12435         paragraph is inside an inset which does not permit it!
12436
12437         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12438         also with no chars on this paragraph.
12439         (paintRowText): only paint stuff if it's inside the workarea!
12440
12441         * paragraph.C (breakParagraph): honor keepempty flag and break the
12442         paragraph always below not above.
12443
12444         * BufferView2.C (unlockInset): update the paragraph layout on inset
12445         unlock as we changed paragraph in such a case.
12446
12447         * lyxfind.C (LyXFind): clear the former selection if not found!
12448
12449         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12450         again called in insertChar().
12451
12452         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12453         an inset which uses the whole row!
12454         (rightMargin): ditto.
12455         (insertChar): force a rebreak if we inserted an inset!
12456
12457 2002-03-28  Herbert Voss  <voss@lyx.org>
12458
12459         * lyxlength.[Ch]: add inBP() to get the right PS-point
12460         units (BigPoint). With inPixels we have rounding errors
12461
12462 2002-04-11  Juergen Vigna  <jug@sad.it>
12463
12464         * text2.C (setCursorFromCoordinates): set iy to the right value.
12465         (setCursor): add check if row->previous exists!
12466
12467         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12468         an old float_type as this was the case in the old code!
12469
12470         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12471
12472         * BufferView2.C (showLockedInsetCursor): use iy
12473         (fitLockedInsetCursor): ditto
12474
12475         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12476         locked insets as there we have the right value now.
12477
12478         * lyxcursor.C: added iy_ variable and iy functions to set to the
12479         baseline of cursor-y of the locked inset.
12480
12481         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12482         (setCursor): fixed for insets which need a full row.
12483
12484         * text.C (rowLastPrintable): don't ignore the last space when before
12485         an inset which needs a full row.
12486         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12487         as last character of a row when before a inset which needs a full row.
12488
12489 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12490
12491         * version.C.in: update date
12492
12493         * text2.C (fullRebreak): try to always return true and see what
12494         happens...
12495
12496 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12497
12498         * MenuBackend.C (expand): use Floating::listName
12499
12500         * FloatList.C (FloatList): add listName argument to the built-in
12501         floats
12502
12503         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12504         text associated with the float.
12505
12506 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12507
12508         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12509
12510 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12511
12512         * ShareContainer.h: add a couple of missing typenames.
12513
12514 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12515
12516         * lyxrc.C (getDescription): use _() correctly rather than N_().
12517
12518 2002-03-28  Herbert Voss  <voss@lyx.org>
12519
12520         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12521         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12522
12523 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12524
12525         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12526         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12527
12528 2002-03-29  Juergen Vigna  <jug@sad.it>
12529
12530         * lyxfunc.C (dispatch): add a missing fitCursor call.
12531
12532         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12533         it was scrolled by a cursor move, so return the bool status.
12534
12535         * BufferView.C (fitCursor): return the bool flag also to the outside
12536         world as this is needed.
12537
12538         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12539
12540         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12541         call the edit() as it is not needed (and wrong) IMO.
12542         (workAreaButtonPress): set the screen_first variable before evt.
12543         unlock the inset as this may change screen_first and then we have
12544         a wrong y position for the click!
12545
12546 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12547
12548         * MenuBackend.C (expand): another translation that I missed
12549
12550 2002-03-28  Juergen Vigna  <jug@sad.it>
12551
12552         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12553
12554         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12555
12556 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12557
12558         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12559
12560         * MenuBackend.C (expand): fix export/view/update when there is no
12561         document open.
12562
12563 2002-03-27  Herbert Voss  <voss@lyx.org>
12564
12565         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12566         and text%
12567
12568 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12569
12570         * bufferview_funcs.C (currentState): only show paragraph number
12571         for is DEVEL_VERSION is set.
12572
12573         * lyxfunc.C (dispatch): put warning in INFO channel
12574
12575         * MenuBackend.C (expand): translate the name of floats
12576
12577         * FloatList.C (FloatList): mark the float names for translation
12578
12579         * converter.C (convert): use LibScriptSearch
12580
12581 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12582
12583         * MenuBackend.C (defaults): fix default menu (we might as well get
12584         rid of it...)
12585
12586 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12587
12588         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12589         directory.
12590
12591 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12592
12593         * lyxvc.C: reorder includes.
12594
12595 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12598           properly
12599
12600 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12601
12602         * CutAndPaste.C: change layouts earlier on paste
12603           to avoid crashing when calling getFont()
12604
12605 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12606
12607         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12608         irritating #error.
12609
12610 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12611
12612         * WorkArea.C: remove 'Pending' debug message.
12613
12614         * most files: ws cleanup
12615
12616         * buffer.[Ch]: ws changes
12617
12618         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12619
12620 2002-03-21  Juergen Vigna  <jug@sad.it>
12621
12622         * tabular.C (SetMultiColumn): collapse also the contents of the
12623         cells and set the last border right. Added a Buffer const * param.
12624
12625 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12626
12627         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12628         linking or not.
12629
12630 2002-03-19  Juergen Vigna  <jug@sad.it>
12631
12632         * text2.C (clearSelection): reset also xsel_cache.
12633
12634         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12635         where it needs to be called (John tells us to do so too :)
12636         (selectionLost): reset sel_cache.
12637
12638         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12639
12640 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12641
12642         * text2.C (setCursorIntern): put debuging code in INSETS channel
12643
12644 2002-03-19  André Pönitz <poenitz@gmx.net>
12645
12646         * lyxfunc.C: tiny whitespace change
12647
12648 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12649
12650         * ToolbarDefaults.C (init):
12651         * LyXAction.C (init):
12652         * commandtags.h:
12653         * BufferView_pimpl.C (Dispatch):
12654         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12655
12656 2002-03-19  Allan Rae  <rae@lyx.org>
12657
12658         * exporter.C (Export): removeAutoInsets before doing anything else.
12659         While I've just introduced a dependency on BufferView this really is
12660         the best place to clean the buffer otherwise you need to cleanup in
12661         a dozen places before calling export or cleanup in a dozen functions
12662         that export calls.
12663
12664         * converter.C (runLaTeX):
12665         (scanLog): Better handling of removeAutoInsets and screen updates.
12666
12667         * lyxfunc.C (dispatch): small whitespace changes
12668
12669 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12670
12671         * WorkArea.C (C_WorkAreaEvent): return a value.
12672         (event_cb): return 1 if we handled the event, 0 otherwise.
12673
12674         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12675
12676 2002-03-18  Juergen Vigna  <jug@sad.it>
12677
12678         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12679         (GetAdditionalWidth): ditto.
12680         (RightLine): ditto.
12681         (LeftLine): ditto.
12682
12683         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12684         inset if we're there actually (probably not used right now but this
12685         is the direction to go for unifying code).
12686         (paste): disable code to clear the selection.
12687
12688         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12689         inside an InsetText and move the check further up as it is in the
12690         wrong place.
12691
12692         * text2.C (pasteSelection): set a selection over the pasted text.
12693
12694 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12695
12696         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12697         and libgraphics to build on Cygwin.
12698
12699 2002-03-15  Juergen Vigna  <jug@sad.it>
12700
12701         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12702         inserting an Inset into the paragraph. I know this is not the best
12703         fix but we already use current_view in CutAndPaste so we will remove
12704         all of it's using at the same time.
12705
12706         * buffer.C (sgmlError): deactivated function till it is rewritten in
12707         the right mode, now it can create problems.
12708
12709         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12710         before accessing it.
12711
12712 2002-03-14  Juergen Vigna  <jug@sad.it>
12713
12714         * undo_funcs.C (textHandleUndo): do the right thing when updating
12715         the inset after the undo/redo.
12716
12717         * text2.C (setCursor): just some testcode for #44 not ready yet.
12718
12719         * undo_funcs.C (textHandleUndo): set the next() and previous()
12720         pointers of the paragraph to 0 before deleting otherwise we have
12721         problems with the Paragraph::[destructor].
12722
12723         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12724         on a paragraph insertion.
12725
12726 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12727
12728         * buffer.C (asciiParagraph): use += operator for char append to
12729         string.
12730
12731         * paragraph.C (getFontSettings): compare >= not just >
12732         (highestFontInRange): ditto
12733         (setFont): ditto
12734
12735 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * paragraph.C: change several algorithm to be more appripriate for
12738         the problem domain. This is lookip in FontList and in the InsetList.
12739
12740 2002-03-13  André Pönitz <poenitz@gmx.net>
12741
12742         * commandtags.h:
12743         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12744
12745 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12746
12747         * commandtags.h:
12748         * LyXAction.C:
12749         * lyxfunc.C:
12750         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12751
12752 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12753
12754         * Painter.C (display): anon helper function, adjust code for this
12755         change.
12756         (pixmap): remove function.
12757
12758         * Painter.h: remove private display variable.
12759
12760         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12761
12762 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12763
12764         * WorkArea.[Ch]: remove figinset_canvas cruft.
12765
12766 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12767
12768         * lyxtextclass.C (operator): add one item cache optimization.
12769
12770         * bufferlist.h: doxy changes
12771
12772         * bufferlist.C: ws changes
12773
12774         * DepTable.[Ch] (ext_exist): place const in the right spot.
12775
12776         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12777         call resizeInsets.
12778         (workAreaExpose): call resizeInsets when the with BufferView changes.
12779         (Dispatch): adjust for protectedBlank removal
12780         (specialChar): call updateInset if the insert went ok.
12781
12782         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12783         specialChar instead.
12784
12785         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12786
12787         * BufferView.h: doxy change
12788
12789         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12790
12791         * lyxtextclass.C (operator[]): remove non-const version
12792         (defaultLayout): remove non-const version
12793
12794 2002-03-12  Juergen Vigna  <jug@sad.it>
12795
12796         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12797         did resize the LyXText too.
12798
12799         * buffer.C (readLyXformat2): set layout information on newly allocated
12800         paragraphs.
12801
12802         * tabular.C (OldFormatRead): set layout information on the paragraph.
12803
12804 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12805
12806         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12807
12808 2002-03-11  Juergen Vigna  <jug@sad.it>
12809
12810         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12811         plainly wrong.
12812         (resizeCurrentBuffer): force also the insets to resize themselfes.
12813         (moveCursorUpdate): fixed up for InsetText.
12814
12815 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12816
12817         * commandtags.h:
12818         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12819         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12820         value of Dialogs::tooltipsEnabled().
12821         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12822
12823 2002-03-08  Juergen Vigna  <jug@sad.it>
12824
12825         * BufferView_pimpl.C (updateInset): update inset inside inset also
12826         if it isn't inside theLockingInset().
12827
12828 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12829
12830         * buffer.C (asciiParagraph): redo some of the word and line length
12831         handling.
12832         (getLists): look for Caption instead of caption.
12833
12834 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12835
12836         * buffer.C (Buffer): initialize niceFile to true
12837         (makeLaTeXFile):
12838         (makeLinuxDocFile):
12839         (makeDocBookFile): make sure niceFile is true on exit
12840
12841 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12842
12843         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12844
12845 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12846
12847         * LyXSendto.C: remove.
12848         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12849         * lyx_gui.C: remove now-redundant comment.
12850         * ColorHandler.h: remove forward declaration of class WorkArea.
12851         * lyxfunc.C: remove #include "WorkArea.h".
12852
12853 2002-03-07  Juergen Vigna  <jug@sad.it>
12854
12855         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12856         got moved away with the DEPM and also set the inset_owner always
12857         right which before could have been omitted.
12858
12859 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12860
12861         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12862         wanted layout is not found.
12863
12864 2002-03-07  Juergen Vigna  <jug@sad.it>
12865
12866         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12867
12868 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12869
12870         * paragraph.C (breakParagraph): use default layout not layout of
12871         prev paragraph.
12872         (Paragraph): clear ParagraphParameters.
12873
12874 2002-03-06  Juergen Vigna  <jug@sad.it>
12875
12876         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12877         otherwise it would not be a valid lenght. Fixed a special case in
12878         the minipage compatibility read where we end the document with a
12879         minipage.
12880
12881         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12882         was set as it could be 0 for InsetTexts first entry.
12883
12884 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * paragraph.C (writeFile): if layout is empty write out
12887         defaultLayoutName().
12888
12889         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12890         file without named layout we set layout to defaultLayoutName().
12891
12892 2002-03-06  Juergen Vigna  <jug@sad.it>
12893
12894         * CutAndPaste.C (copySelection): set layout for new paragraph.
12895
12896         * text.C (prepareToPrint): leave ERT inset left aligned
12897         (leftMargin): don't indent paragraphs inside ERT insets
12898
12899 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12900
12901         * paragraph.C (breakParagraph): dont call clear do the work manually
12902
12903         * paragraph.[Ch] (clear): remove function
12904
12905 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12906
12907         * paragraph.C (Paragraph): dont call clear, the work has already
12908         been done.
12909
12910         * lyxtextclass.C (operator): assert if n is empty
12911
12912         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12913         work manually instead.
12914
12915 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12916
12917         * BufferView_pimpl.C: protect selectionLost against text == 0
12918
12919 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12920
12921         * text.C (breakParagraph): fix a setting layout to '0' problem.
12922
12923 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12924
12925         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12926         final location of file, for the included files, and graphics.
12927
12928 2002-03-05  Juergen Vigna  <jug@sad.it>
12929
12930         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12931
12932 2002-03-04  Juergen Vigna  <jug@sad.it>
12933
12934         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12935
12936         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12937         last column of multicolumn cells.
12938         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12939
12940 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12941
12942         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12943         file if it doesn't go to a temporary file.
12944
12945         * buffer.C (sgmlOpenTag):
12946         (sgmlCloseTag):  remove extra newline insertion.
12947
12948 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12949
12950         * text.C (getRowNearY): comment out debug msg
12951
12952 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12953
12954         * text2.C: first -> first_y
12955
12956         * text.C (getRowNearY): add some attemts at a possible
12957         optimization, not working.
12958
12959         * tabular.[Ch]: add BufferParams to several function so that newly
12960         created paragraph can be initialized to he default layotu for the
12961         buffers textclass.
12962
12963         * tabular-old.C (ReadOld): add buf->params to call of Init
12964
12965         * screen.C: rename text->first to text->first_y
12966
12967         * paragraph.C (breakParagraph): always set layout in the broken
12968         paragraph
12969
12970         * lyxtextclass.C (Read): remove lowercase
12971         (hasLayout): ditto
12972         (operator): ditto
12973         (delete_layout): ditto
12974
12975         * lyxtext.h: rename first -> first_y
12976
12977         * lyxlayout.C (Read): remove lowercase
12978         (name): ditto
12979         (setName): ditto
12980         (obsoleted_by): ditto
12981
12982         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12983
12984         * buffer.C (insertErtContents): add params are to InsetERT
12985         (parseSingleLyXformat2Token): add code to check if a paragraphs
12986         layout really exist.
12987         (parseSingleLyXformat2Token): add params to several inset
12988         constructors
12989         (asciiParagraph): remove lowercase, do the layout comparisons with
12990         no_case
12991
12992         * BufferView_pimpl.C (cursorNext): first -> first_y
12993         (resizeCurrentBuffer): first -> first_y
12994         (updateScrollbar): first -> first_y
12995         (scrollCB): first -> first_y
12996         (workAreaMotionNotify): first -> first_y
12997         (workAreaButtonPress): first -> first_y
12998         (checkInsetHit): first -> first_y
12999         (cursorPrevious): first -> first_y
13000         (cursorNext): first -> first_y
13001         (Dispatch): add buffer_->params to severl inset contructors
13002
13003 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13004
13005         * lyxlayout.C (Read): remove some debug info that I forgot.
13006
13007         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13008         clean up the code slightly.
13009         (makeLinuxDocFile): ditto
13010         (makeDocBookFile): ditto
13011
13012         * text2.C: layout as string
13013
13014         * text.C: layout as string
13015
13016         * paragraph_pimpl.C: layout as string
13017
13018         * paragraph.[Ch]: layout as string
13019
13020         * lyxtextclasslist.[Ch]: layout as string
13021
13022         * lyxtextclass.[Ch]: layout as string
13023
13024         * lyxtext.h: layout as string
13025
13026         * lyxlayout.[Ch]: layout as string
13027
13028         * lyx_cb.C: layout as string
13029
13030         * bufferview_funcs.C: layout as string
13031
13032         * bufferparams.C: layout as string
13033
13034         * buffer.C: layout as string
13035
13036         * LyXView.[Ch]: layout as string
13037
13038         * LaTeXFeatures.[Ch]: layout as string
13039
13040         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13041
13042         * BufferView_pimpl.C: change current_layout to string, remove
13043         lyx::layout_type.
13044         (Dispatch):
13045         (smartQuote):
13046         (insertInset):
13047         (workAreaButtonRelease): layout as string
13048
13049         * BufferView2.C (unlockInset): adjust
13050
13051         * vspace.C (asLatexCommand): use an explict temp variable.
13052
13053 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13054
13055         * Makefile.am: use FRONTEND_*
13056
13057 2002-03-01  Juergen Vigna  <jug@sad.it>
13058
13059         * tabular.C (SetWidthOfMulticolCell): changed to something better
13060         I hope but still work in progress.
13061         (recalculateMulticolumnsOfColumn): renamed function from
13062         recalculateMulticolCells as it is more appropriate now.
13063         (SetWidthOfCell): calculate multicols better.
13064
13065 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13066
13067         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13068
13069         * lyxfunc.C (processKeySym): print sequence also if it is
13070         `deleted' (complete)
13071
13072         * kbsequence.C (print): print sequence even if it is deleted
13073         (complete would be a better word, actually).
13074
13075         * lyxfunc.C (dispatch): print complete options after a prefix key
13076
13077         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13078
13079 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13080
13081         * text2.C (setCharFont): eliminate setCharFont code duplication.
13082
13083 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13084
13085         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13086         LFUN_TABULAR_FEATURE (bug #177)
13087
13088 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13089
13090         * Makefile.am: remove figure.h
13091
13092 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13093
13094         * Bufferview_pimpl.C:
13095         * CutAndPasteC:
13096         * LaTeX.C:
13097         * LyXSendto.C:
13098         * buffer.C:
13099         * bufferlist.C:
13100         * converter.C:
13101         * language.C:
13102         * lyxfunc.C:
13103         * lyxvc.C:
13104         * paragraph.C:
13105         * text.C:
13106         * text2.C: remove #include "lyx_gui_misc.h".
13107
13108         * LaTeX.C: added #include <cstdio>
13109
13110 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13111
13112         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13113         that the paragraph following this one can have.
13114
13115         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13116
13117         * vspace.C (asLatexCommand): fix bogus gcc warning
13118
13119         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13120
13121 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13122
13123         * text2.C (setLayout): get rid of redundant code
13124
13125 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13126
13127         * text2.C (incDepth): make sure depth cannot be increased beyond
13128         reasonable values.
13129
13130 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13131
13132         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13133         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13134
13135         * PainterBase.h (image):
13136         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13137         a LyXImage const *.
13138
13139 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13140
13141         * BufferView.C:
13142         * BufferView.h:
13143         * BufferView_pimpl.C:
13144         * BufferView_pimpl.h:
13145         * LaTeXFeatures.C:
13146         * LyXAction.C:
13147         * LyXView.C:
13148         * Makefile.am:
13149         * UpdateList.h:
13150         * UpdateList.C:
13151         * buffer.C:
13152         * figure.h:
13153         * figureForm.C:
13154         * figureForm.h:
13155         * figure_form.C:
13156         * figure_form.h:
13157         * lyx_cb.C:
13158         * lyx_gui.C:
13159         * lyx_gui_misc.C:
13160         * lyxfunc.C:
13161         * sp_base.h:
13162         * sp_ispell.h:
13163         * sp_pspell.h:
13164         * sp_spell.C: remove fig inset, and the crap house of
13165           cards that follows it
13166
13167 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13168
13169         * Makefile.am:
13170         * lyxserver.C:
13171         * os2_defines.h:
13172         * os2_errortable.h:
13173         * nt_defines.h: move .h into support/
13174
13175         * vms_defines.h: remove
13176
13177         * WorkArea.C: add space in debug output
13178
13179         * text2.C:
13180         * paragraph.C:
13181         * buffer.C: add WITH_WARNINGS
13182
13183         * vc-backend.h:
13184         * vc-backend.C:
13185         * bufferlist.C: s/retrive/retrieve/, add docs
13186
13187         * vspace.h:
13188         * vspace.C:
13189         * kbmap.h:
13190         * lyxlength.h:
13191         * lyxgluelength.h:
13192         * length_common.h:
13193         * chset.h:
13194         * chset.C: add docs
13195
13196         * lyxgui.C: add ID to X error handler
13197
13198         * lyxtestclass.c: fix typo
13199
13200 2002-02-26  Juergen Vigna  <jug@sad.it>
13201
13202         * tabular_funcs.C (write_attribute): changed so that some default
13203         attributes are not written at all.
13204         (getTokenValue): set default values before trying to read the
13205         value so we have the return value always set as default if we don't
13206         find the token we search for.
13207
13208         * tabular.C (Write): write bools as bools not as strings!
13209
13210 2002-02-22  Juergen Vigna  <jug@sad.it>
13211
13212         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13213         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13214
13215         * text.C (leftMargin): don't add an indent for paragraphs inside
13216         tabular cells (fix #208).
13217
13218 2002-02-21  José Matos  <jamatos@fep.up.pt>
13219
13220         * tabular.C (docBook): fixed support for long tables.
13221
13222 2002-02-20  Juergen Vigna  <jug@sad.it>
13223
13224         * text2.C (getFont): get the drawing font of the Inset if this
13225         paragraph is inside an inset (only important for InsetERT for now).
13226
13227         * buffer.C (insertErtContents): use new lanugage params in ERT
13228         constructor.
13229
13230         * CutAndPaste.C: commenting out seemingly uneeded code.
13231
13232 2002-02-19  Allan Rae  <rae@lyx.org>
13233
13234         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13235         Iterators might be simple to use but they also get invalidated.
13236         (removeAutoInsets): renamed saved cursor tracking variables and added
13237         some comments to clarify what everything does.
13238
13239 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13240
13241         * Chktex.C:
13242         * LaTeX.C:
13243         * LyXSendto.C:
13244         * converter.C:
13245         * lyx_cb.C:
13246         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13247         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13248
13249         * lyxfunc.C:
13250         * vc-backend.h: remove #include "support/syscall.h"
13251
13252         * LaTeX.C:
13253         * LyXSendto.C:
13254         * converter.C: rearrange #includes in Lars' approved fashion.
13255
13256         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13257         forward declare class Timeout in the header file.
13258
13259         * XFormsView.C: changes due to the above.
13260
13261         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13262         similar to LyXView.
13263
13264         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13265         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13266
13267 2002-02-18  José Matos  <jamatos@fep.up.pt>
13268
13269         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13270         insets contents.
13271
13272 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13273
13274         * a lot of small ws changes
13275         * add a lot of using std::XXX
13276         * use std construcs some places where approp.
13277         * use some exisint stuff from lyxfunctional where approp.
13278         * Make file changes to use partial linking (lets test this now...)
13279
13280 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13281
13282         * Chktex.C:
13283         * buffer.C:
13284         remove #include "support/syscontr.h" as it's redundant. Always has been.
13285
13286         * Chktex.C:
13287         * LaTeX.C:
13288         * LyXSendto.C:
13289         * converter.C:
13290         * lyx_cb.C:
13291         * vc-backend.C:
13292         change Systemcalls::System to Systemcalls::Wait and
13293         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13294         No change of functionality, just reflects the stripped down Systemcalls
13295         class.
13296
13297 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13298
13299         * debug.[Ch]: add a GRAPHICS type to the enum.
13300
13301 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13302
13303         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13304
13305         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13306         there is an inset.
13307
13308 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13309
13310         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13311         match the changes below.
13312
13313         * text2.C (toggleInset): if there is not editable inset at cursor
13314         position, try to see if cursor is _inside_ a collapsable inset
13315         and close it.
13316
13317 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13318
13319         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13320         document menu has a nice checkbox
13321
13322 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13323
13324         * lyxlength.C (asLatexString): change PW to output as percent of
13325         \textwidth.
13326
13327         * lengthcommon.C: change '%' to 't%'
13328
13329         * lyxfunc.C (dispatch): a few comments from Martin
13330
13331 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13332
13333         * WorkArea.h:
13334         * WorkArea.C:
13335         * BufferView_pimpl.h:
13336         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13337           the X selection.
13338
13339 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13340
13341         * vspace.C (inPixels): fix compiler warning
13342
13343 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13344
13345         * lyxfunc.C (getStatus): fix status message for disabled commands.
13346
13347 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13348
13349         * BufferView_pimpl.C: fix crash on close buffer
13350         during selection (#227)
13351
13352 2002-01-27  Herbert Voss  <voss@lyx.org>
13353
13354         * buffer.C: link old Figure to new graphic inset
13355
13356 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13357
13358         * FontLoader.C (getFontinfo): Change the latex font names in order
13359         to match the names of type1inst.
13360
13361 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13362
13363         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13364
13365         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13366         (extchanged): ditto
13367         (ext_exist): ditto
13368         (remove_files_with_extension): ditto
13369         (remove_file): ditto
13370         (write): ditto
13371
13372         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13373         document is smaller than the work area height. Do not initialize
13374         static variables to 0.
13375
13376 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13377
13378         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13379
13380         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13381         LFUN_LAYOUT_PARAGRAPHS.
13382
13383         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13384         tabular. It is possible to provide a possible cell, which will
13385         typically be the actcell from the corresponding insettabular
13386
13387         * lyxfunc.C (getStatus): small cleanup; disable
13388         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13389         true
13390
13391 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13392
13393         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13394
13395         * paragraph.C (startTeXParParams):
13396         (endTeXParParams): new methods. The LaTeX code to
13397         start/end paragraph formatting
13398         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13399         empty (fixes bug #200)
13400
13401         * vspace.C (inPixels): adapt to the change below
13402         (inPixels): [later] more cleanups (remove unused variables)
13403
13404         * lyxlength.C (inPixels): change to use a width and a height as
13405         parameter.
13406
13407 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13408
13409         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13410         Replaced with \paperwidth
13411
13412         * DepTable.C (insert): add std:: qualifier
13413
13414 2002-01-18  Allan Rae  <rae@lyx.org>
13415
13416         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13417         updated also?
13418
13419         * text.C (drawInset): Turned out I didn't know enough about how
13420         rebreaking worked.  This fixes most of the redraw problems.  I see
13421         an occasional cursor trail when a line is broken now and the cursor
13422         placement can seem out by a few pixels also after a rebreak.
13423
13424 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13425
13426         * buffer.C (parseSingleLyXformat2Token): update because minipage
13427         width is now a LyXLength
13428
13429         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13430
13431         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13432         math insets
13433
13434 2002-01-17  Juergen Vigna  <jug@sad.it>
13435
13436         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13437
13438         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13439         is set correctly and the inset is updated correctly.
13440
13441 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13442
13443         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13444         the beginning of the loop.
13445
13446 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13447
13448         * lyxrc.C: improve help for use_scalable_fonts
13449
13450 2002-01-17  Allan Rae  <rae@lyx.org>
13451
13452         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13453
13454 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13455
13456         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13457         make sure to set their inset_owner to the right value (bug #171)
13458
13459 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13460
13461         * DepTable.h
13462         * DepTable.C: Implement mtime checking to reduce time spent doing
13463         CRCs.
13464
13465 2002-01-16  Juergen Vigna  <jug@sad.it>
13466
13467         * tabular.C (GetAdditionalHeight): one of error fixed.
13468
13469         * lyxrc.C (output): small fix in writing use_pspell.
13470
13471 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13472
13473         * sp_base.h: #include LString.h
13474
13475 2002-01-16  Allan Rae  <rae@lyx.org>
13476
13477         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13478         Can someone check this please?
13479
13480         * text.C (drawInset): It was possible that p.row would be removed by
13481         breakAgainOneRow upsetting a few other settings.  There may be another
13482         small tweak possible by setting need_break_row = 0 when p.row has been
13483         removed but I don't know enough about the logic here.
13484
13485 2002-01-15  Allan Rae  <rae@lyx.org>
13486
13487         * text.C (insertChar): removed conditional truism.
13488
13489         * BufferView2.C (removeAutoInsets): More tweaks.
13490         cur_par_prev could be a stray pointer.  Check for trailing empty line
13491         in case last line was cur_par and only had an error inset on it.
13492
13493 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13494
13495         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13496         absolute
13497
13498         * vc-backend.C (most methods):
13499         * exporter.C (Export):
13500         * converter.C (convert):
13501         (runLaTeX):
13502         * LyXSendto.C (SendtoApplyCB):
13503         * lyxfunc.C (dispatch):
13504         (menuNew):
13505         (open):
13506         (doImport):
13507         * lyx_cb.C (AutoSave):
13508         (InsertAsciiFile):
13509         * BufferView_pimpl.C (MenuInsertLyXFile):
13510         * buffer.C (runChktex): use Buffer::filePath().
13511
13512         * buffer.h: rename filename to filename_; rename filepath to
13513         filepath_ and make it private
13514         (filePath): new method
13515
13516         * buffer.C (writeFile): use fileName()
13517         (getLatexName):
13518
13519         * lyx_main.C (init): fix starting  of LyX when the binary is a
13520         link from so,ewhere else.
13521
13522         * minibuffer.C: include <cctype> for isprint
13523
13524 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13525
13526         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13527         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13528         name clash with InsetCollapsable's width function.
13529
13530 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * lastfiles.C: include <iterator>
13533
13534 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13535
13536         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13537         std::count.
13538
13539         * buffer.C (makeLaTeXFile): ditto.
13540         Also make loop operation more transparent.
13541
13542 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13543
13544         * ToolbarDefaults.C: remove trailing comma closing namespace.
13545
13546         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13547
13548         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13549         as in WorkArea.
13550
13551         * trans.C (Load): comment out unused variable, allowed.
13552
13553 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13554
13555         * minibuffer.[Ch] (append_char): new method to recieve input from the
13556         drop-down completion browser. If a key was pressed, then recieve this
13557         char and append it to the existing string.
13558         (peek_event): modify the positioning data passed to the completion
13559         browser so that it can be placed above the minibuffer rather than below.
13560 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13561
13562         * LyXAction.C (init): alloe error-next for readonly documents.
13563
13564         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13565         count.
13566
13567 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13568
13569         * bufferlist.C (readFile): create the buffer _after_ checking that
13570         the file exists.
13571
13572         * lyxfunc.C (verboseDispatch): fix handling of arguments
13573
13574         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13575
13576         * lyxrc.C: use string::erase() instead of initializing to "".
13577
13578
13579 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13580
13581         * BufferView_pimpl.h:
13582         * BufferView_pimpl.C:
13583         * WorkArea.h:
13584         * WorkArea.C:
13585         * text2.C: tell X when we have made a selection for copying
13586
13587 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13588
13589         * BufferView_pimpl.C (MenuInsertLyXFile):
13590         * lyxfunc.C (menuNew):
13591         (open):
13592         (doImport): add shortcuts to directory buttons
13593
13594         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13595         open a float)
13596
13597         * lyxfunc.C (setStatusMessage):
13598         (getStatusMessage): new methods
13599         (getStatus):use setStatusMessage instead of setErrorMessage
13600         (dispatch): when function is disabled, set error message here
13601         [instead of in getStatus previously]
13602
13603         * BufferView_pimpl.C (workAreaButtonRelease): update
13604         toolbar/menubar here too.
13605
13606 2002-01-13  Allan Rae  <rae@lyx.org>
13607
13608         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13609         Now seems indestructible.  Remaining task is to audit all other
13610         code affected by deleteEmptyParagraphMechanism.  One small quirk
13611         left is that an empty document with an error in the preamble can
13612         be made to report an error but no error box appears.  I don't know
13613         where it goes.
13614         (removeAutoInsets): Improved comments.
13615
13616 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13617
13618         * Thesaurus.h:
13619         * Thesaurus.C: update for Aiksaurus 0.14
13620
13621 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13622
13623         * text2.C (firstParagraph): removed member function, all uses
13624         replaces with ownerParagraph
13625         (redoParagraphs): here
13626         (updateInset): here
13627         (toggleAppendix): here
13628         * BufferView2.C (insertErrors): here
13629         (setCursorFromRow): here
13630
13631 2002-01-13  Allan Rae  <rae@lyx.org>
13632
13633         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13634         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13635         There is still a way to segfault this although you may have to do this
13636         multiple times: Have an InsetERT with an unknown command in it.
13637         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13638         <down-arrow>, <Enter> again, View->DVI, BANG!
13639
13640         * text2.C (setCursor):
13641         (deleteEmptyParagraphMechanism):
13642         * lyxtext.h (setCursor):
13643         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13644         Making use of the return value may help fix other bugs.
13645
13646 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13647
13648         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13649
13650         * LyXView.C (updateMenubar): call MenuBar::update here
13651         (updateToolbar): but not here
13652         (showState): do not update toolbar/menubar
13653
13654         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13655         should need to care about that.
13656
13657         * lyxfunc.C (verboseDispatch): simplify a bit
13658         (getStatus): have a version which takes a pseudoaction, and
13659         another which requires a (kb_action,string).
13660
13661         * LyXAction.C (retrieveActionArg): make it work also when action
13662         is not a pseudo-action.
13663         (getActionName): simplify a bit
13664         (helpText):
13665
13666 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13667
13668         * lyxfunc.C (verboseDispatch): new families of methods with
13669         several ways to specify a command and a bool to indicate whether
13670         the command name and shortcut should be displayed in minibuffer
13671         (eventually, we could extend that to a finer bitmask like
13672         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13673         (dispatch): the pristine dispatch command which just, well,
13674         dispatchs! Note it still sets its result to minibuffer; I'm not
13675         sure we want that.
13676
13677         * lyxfunc.h: remove setHintMessage
13678
13679         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13680
13681 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13682
13683         * BufferView_pimpl.C (specialChar): delete new inset if we have
13684         not been able to insert it.
13685
13686         * kbmap.C: revert to using int instead of kb_action, since all we
13687         are dealing with is pseudo-actions.
13688
13689         * LyXAction.C (searchActionArg): change to return int instead of
13690         kb_action, since the result is a pseudoaction.
13691
13692 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13693
13694         * buffer.C (insertErtContents): Fix (partially) the font bug.
13695
13696 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13697
13698         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13699         as the other one is broken on my machine!
13700
13701 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13702
13703         * commandtags.h:
13704         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13705
13706 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13707
13708         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13709         reflect their actual use. Provide compatibility code for older lyxrc
13710         files.
13711
13712         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13713         FL_NORMAL_STYLE.
13714         change names of popup font variables in line with the changes to lyxrc.C
13715
13716 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13717
13718         * buffer.C (asciiParagraph): avoid outputing a word twice after
13719         an inset.
13720
13721         * lyxrc.C (getDescription): document that document_path and
13722         template_path can be empty.
13723
13724 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13725
13726         * LaTeXFeatures.C (getMacros):
13727         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13728
13729         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13730
13731         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13732         getPackages.
13733         (getPackages): rename feature "floats" to "float". Use an array to
13734         iterate over 'simple' features (i.e. just a \usepackage). Add
13735         handling of "amsmath" (renamed from "amsstyle").
13736
13737 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13738
13739         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13740         features list.
13741
13742 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13743
13744         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13745         FuncStaus::FuncStatus & FuncStaus::some_method().
13746
13747 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13748
13749         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13750         of the func_satus stuff. Edited and massaged in various ways by
13751         JMarc.
13752
13753         * lyxfunc.C (getStatus): use FuncStatus
13754
13755 2002-01-08  Juergen Vigna  <jug@sad.it>
13756
13757         * text.C (nextBreakPoint): use function Inset::isChar().
13758
13759         * paragraph.C (TeXOnePar): use function
13760         Inset::forceDefaultParagraphs.
13761
13762         * buffer.C (latexParagraphs): use function
13763         Inset::forceDefaultParagraphs.
13764
13765 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13766
13767         * lyx_gui.C (init): set the style of the menu popups to
13768         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13769
13770 2002-01-07  Juergen Vigna  <jug@sad.it>
13771
13772         * text.C (setHeightOfRow): small fix
13773         (prepareToPrint): don't look at alignment if we don't have the place
13774         for doing it.
13775
13776 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13777
13778         * box.C: New file. Move the Box methods and functions out of box.h,
13779         following Lars' suggestion.
13780
13781 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13782
13783         * box.h: #include "support/LOstream.h", needed for inlined function.
13784
13785         * lyxtextclass.C:
13786         * lyxtextclasslist.C: added some using std declarations.
13787
13788 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13789
13790         * box.h: make signed dimensions to allow insets wider than
13791           the screen (bug #162)
13792
13793         * BufferView_pimpl.C: add some insetHit debug
13794
13795 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13796
13797         * vc-backend.C: add FIXME
13798
13799 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13800
13801         * lyxfunc.C (getStatus): enable code for showing math font status
13802         in toolbar/menu.
13803
13804 2002-01-07  Juergen Vigna  <jug@sad.it>
13805
13806         * text.C (nextBreakPoint): removed debug output not needed anymore.
13807
13808 2002-01-06  Juergen Vigna  <jug@sad.it>
13809
13810         * text.C (nextBreakPoint): fixed up this function we had this bug
13811         since ever but now hopefully we break row better.
13812         (insertChar): we have to check if an inset is the next char as it
13813         could now happen that a large inset is causing a break.
13814
13815 2002-01-05  Juergen Vigna  <jug@sad.it>
13816
13817         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13818         if it doesn't like to be drawed.
13819
13820 2002-01-04  Juergen Vigna  <jug@sad.it>
13821
13822         * BufferView2.C (lockInset): forgot to set a cursor.
13823
13824         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13825
13826 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13827
13828         * FormMathsPanel.C:
13829         * FormMathsPanel.h
13830         * MathsSymbols.C:
13831         * form_maths_panel.C:
13832         * form_maths_panel.h:
13833         * form_maths_panel.fd: implemented sub- and super- buttons in math
13834         panel.
13835
13836         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13837         (or ^ space) to be used as in TeX (req'd by André).
13838
13839         * lyxfunc.C: Allow ^ and _ again to be used both as
13840         super/subscript (mathed) and as themselves (in text).
13841
13842 2002-01-03  Allan Rae  <rae@lyx.org>
13843
13844         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13845         "LyX" or the filename of the current buffer if it has one.  This is a
13846         modified form of John Levon's patch.
13847
13848         * XFormsView.C (setWindowTitle): also set icon title.
13849
13850         * LyXView.h (setWindowTitle): signature changed.
13851         * XFormsView.h (setWindowTitle): ditto.
13852
13853 2002-01-02  Juergen Vigna  <jug@sad.it>
13854
13855         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13856
13857 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13858
13859         * screen.C (topCursorVisible): introduce a temp var for
13860         text->cursor.row(), handle the case where this row is null. (kindo
13861         hachish)
13862
13863         * text2.C (setCursor): add a couple of asserts.
13864
13865         * paragraph.h (inset_iterator): add -> operator
13866
13867         * paragraph.[Ch] (autoDeleteInsets): remove member function
13868
13869         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13870         cursor pos correctly and handle inset deletion by itself.
13871         (insertErrors): move iterator declaration out of for expression
13872
13873         * lyxtextclass.C: add <algorithm>
13874
13875         * Makefile.am: added the new files to sources, removed layout.C
13876
13877         * layout.C: removed file
13878
13879         * layout.h: remove LYX_DUMMY_LAYOUT
13880
13881         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13882         layout.
13883
13884         * lyxlayout.[Ch]:
13885         * lyxtextclass.[Ch]:
13886         * lyxtextclasslist.[Ch]: new files
13887
13888         * include order changes to a lot of files, also changes because of
13889         the six new files.
13890
13891 2001-12-27  Juergen Vigna  <jug@sad.it>
13892
13893         * buffer.C (asciiParagraph): more fixes.
13894
13895         * tabular.C (ascii): make ascii export support export of only the
13896         data separated by a column-delimiter.
13897         (ascii): better support for ascii export.
13898
13899         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13900
13901 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13902
13903         * tabular_funcs.C: use a "using std::getline" instead of the
13904         previous fix from Angus (necessary for cxx + lyxstring)
13905
13906 2001-12-24  Juergen Vigna  <jug@sad.it>
13907
13908         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13909
13910         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13911         problems. First check a minipage also if we have some ert-contents
13912         (not only on par->size(), second set the right depth of the paragraph
13913         on the relink to the root-paragraph-list!
13914
13915         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13916         which then did not anymore update the main paragraphs on undo/redo!
13917
13918 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13919
13920         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13921         code. Support all font-changing funcs (even those which are not in
13922         menu currently). Support for reporting font settings in
13923         mathed (disabled until Andre provides a function on mathed's side).
13924
13925         * func_status.h (toggle): small helper function to set toggle
13926         state on a flag.
13927
13928 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13929
13930         * tabular_funcs.C: getline -> std::getline
13931
13932 2001-12-21  Juergen Vigna  <jug@sad.it>
13933
13934         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13935         accessed and could be 0 (I couldn't generate this but it seems
13936         Michael could!).
13937
13938 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13939
13940         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13941         * tabular_funcs.h: here and include iosfwd
13942
13943 2001-12-20  Juergen Vigna  <jug@sad.it>
13944
13945         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13946         inside inset but undo_par was.
13947
13948 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13949
13950         * Thesaurus.C: always include <config.h> in sources.
13951
13952         * Painter.h:
13953         * lyxlookup.h:
13954         * box.h: do not include <config.h> in header files
13955
13956         * text.C (paintLastRow): remove unused variable
13957
13958         * text.C (transformChar):
13959         (insertChar):
13960         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13961
13962         * Painter.C (text):
13963         * font.C (width): rewrite to use uppercase() instead of
13964         islower/toupper.
13965
13966         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13967
13968 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13969
13970         * lyxfind.C: clean up of find failure position change
13971
13972 2001-12-20  Juergen Vigna  <jug@sad.it>
13973
13974         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13975
13976         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13977         (TeXRow): added to LaTeX a single tabular row.
13978         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13979         (Latex): simplified and finally good LT-h/f support.
13980         (various_functions): just small adaptions for LT-h/f support.
13981
13982         * tabular_funcs.[hC]: added and moved here all not classfunctions
13983         of LyXTabular.
13984
13985 2001-12-19  Juergen Vigna  <jug@sad.it>
13986
13987         * tabular.[Ch]: better support for longtabular options (not finished
13988         yet!)
13989
13990 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13991
13992         * text.C (paintLastRow): use the label font instead of the font of
13993         the last character to compute the size of *_BOX. This makes more
13994         sense and avoids a crash with empty paragraphs.
13995         Use Painter::rectangle to draw EMPTY_BOX.
13996
13997 2001-12-19  Juergen Vigna  <jug@sad.it>
13998
13999         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14000         the paragraphs if the replaced paragraph is not the first one!
14001         Tried to delete not used paragraphs but does not work yet so for
14002         now it's inside #ifdef's and by default off!
14003
14004 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14005
14006         * MenuBackend.C: include "lyx_main.h" instead of declaring
14007         lastfiles (actually was declared as LastFiles* instead of a
14008         scoped_ptr).
14009
14010 2001-12-17  Juergen Vigna  <jug@sad.it>
14011
14012         * tabular.C (AppendColumn): applied John's fix
14013
14014 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14015
14016         * BufferView.h:
14017         * BufferView.C:
14018         * BufferView_pimpl.h:
14019         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14020
14021         * Makefile.am:
14022         * box.h: new start of class for above
14023
14024         * lyxfunc.C: ignore space-only minibuffer dispatches.
14025           Show the command name when it doesn't exist
14026
14027         * minibuffer.C: don't add empty lines to the history
14028
14029         * minibuffer.C: add a space on dropdown completion
14030
14031 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14032
14033         * text.C: fix line above/below drawing in insets
14034
14035 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14036
14037         * lyxlength.C (LyXLength): Initialize private variables.
14038
14039 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14040
14041         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14042         when inserting error insets.
14043
14044 2001-12-13  Juergen Vigna  <jug@sad.it>
14045
14046         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14047         actually sometimes the before-paragraph.
14048         (setUndo): don't clear the redostack if we're not actually undoing!
14049
14050 2001-12-06  Juergen Vigna  <jug@sad.it>
14051
14052         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14053         and fixed redoing of main paragraph, so we can use it now ;)
14054
14055         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14056
14057 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14058
14059         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14060         Juergen's request
14061
14062 2001-12-13  André Pönitz <poenitz@gmx.net>
14063
14064         * undostack.[Ch]:
14065         * undo_func.C: minor cleanup
14066
14067 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14068
14069         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14070         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14071         font in urw-fonts package which is marked as -urw-fontspecific and
14072         does not work (incidentally, changing the encoding in the
14073         fonts.dir of this package to -adobe-fontspecific fixes the
14074         problem).
14075
14076         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14077         is a crash when undoing first paragraph (Juergen, please take a
14078         look). THis does not mean the undo fix is wrong, just that it
14079         uncovers problems.
14080
14081         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14082         the (Paragraph*) version when needed instead of duplicating the
14083         code.
14084
14085         * text.C (workWidth): use Inset::parOwner to find out where the
14086         inset has been inserted. This is a huge performance gain for large
14087         documents with lots of insets. If Inset::parOwner is not set, fall
14088         back on the brute force method
14089
14090         * paragraph_pimpl.C (insertInset):
14091         * paragraph.C (Paragraph):
14092         (cutIntoMinibuffer): set parOwner of insets when
14093         inserting/removing them
14094
14095         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14096
14097 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14098
14099         * commandtags.h:
14100         * LyXAction.C:
14101         * lyx_main.C:
14102         * lyxfunc.C:
14103         * mathed/formulabase.C:
14104         * mathed/math_cursor.[Ch]:
14105         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14106
14107
14108 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14109
14110         * lyxlength.[Ch] (operator!=): new function
14111
14112 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14113
14114         * text.C (workWidth): use Inset::parOwner to find out where the
14115         inset has been inserted. This is a huge performance gain for large
14116         documents with lots of insets. If Inset::parOwner is not set, fall
14117         back on the brute force method
14118
14119         * paragraph_pimpl.C (insertInset):
14120         * paragraph.C (Paragraph):
14121         (cutIntoMinibuffer): set parOwner of insets when
14122         inserting/removing them
14123
14124         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14125
14126 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14127
14128         * tabular-old.C (getTokenValue):
14129         * tabular.C (getTokenValue):
14130         (write_attribute): new versions for LyXLength
14131         (everywhere): adjust the use of widths
14132
14133         * tabular.h: change the type of widths from string to LyXLength
14134
14135 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14136
14137         * paragraph.C: fixed missing line number count when exporting
14138         Environments to LaTeX file
14139
14140         * buffer.C: added informational message for checking line numbers.
14141
14142 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14143
14144         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14145         paragraph, do the 'double space' part, but not the 'empty
14146         paragraph' one.
14147
14148         * text.C (workWidth): small optimization
14149         (getLengthMarkerHeight): use minimal size for negative lengths.
14150
14151 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14152
14153         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14154
14155         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14156
14157 2001-12-11  André Pönitz <poenitz@gmx.net>
14158
14159         * FontLoader.C:
14160         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14161
14162 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14163
14164         * text2.C: keep selection on a setFont()
14165
14166 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14167
14168         * lyx_cb.C: another bv->text misuse, from insert label
14169
14170 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14171
14172         * kbsequence.h:
14173         * kbsequence.C: re-instate nmodifier mask
14174
14175 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14176
14177         * lyx_main.h: make lyxGUI private.
14178
14179 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14180
14181         * lyxfind.C: place the cursor correctly on failed search
14182
14183 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14184
14185         * text.C (getLengthMarkerHeight): for small heights, the arrows
14186         are not always on top/bottom of the text
14187         (drawLengthMarker): smaller arrows; take the left margin in
14188         account; draw also vfills.
14189         (paintFirstRow):
14190         (paintLastRow): remove special code for vfill and standard spaces,
14191         since everything is handled in drawLengthMarker now.
14192
14193 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14194
14195         * buffer.C (insertErtContents): try to handle font and language
14196         interaction a bit better.g
14197
14198         * ColorHandler.C (updateColor): change the hash to cover the whole
14199         LColor enum, ws cleanup
14200         (getGCLinepars): ditto
14201         (getGCLinepars): only lookup in the linecache once.
14202
14203 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14204
14205         * iterators.C (operator++): Make the iterator more robust
14206
14207         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14208         (John's patch)
14209         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14210
14211 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14212
14213         * lyxtext.h:
14214         * text.C: better added space drawing
14215
14216 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14217
14218         * LyXView.C:
14219         * BufferView2.C: fix layout combo update on inset unlock
14220
14221 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14222
14223         * Makefile.am: don't compile unused files
14224
14225 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14226
14227         * lyxfunc.C:
14228         * commandtags.h:
14229         * LyXAction.C: remove old LFUN_LAYOUTNO
14230
14231 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14232
14233         * paragraph_pimpl.h:
14234         * paragraph_pimpl.C: isTextAt() doesn't need font param
14235
14236 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14237
14238         * lyxlex.h:
14239         * lyxlex.C: little cleanup
14240
14241 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14242
14243         * BufferView_pimpl.C: fix insertAscii for insets
14244
14245 2001-12-05  Juergen Vigna  <jug@sad.it>
14246
14247         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14248         set the right font on the "multi" paragraph paste!
14249
14250 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14251
14252         * trans_decl.h:
14253         * trans_mgr.[Ch]:
14254         * trans.[Ch]:
14255         * lyxgluelength.C:
14256         * lyxlength.C: remove out-commented code.
14257
14258         * BufferView_pimpl:
14259         * CutAndPaste.C:
14260         * DepTable.C:
14261         * buffer.C:
14262         * chset.C:
14263         * lastfiles.C:
14264         * lyxlex.C:
14265         * lyxlex_pimpl.C:
14266         * lyxserver.C:
14267         * screen.C:
14268         * tabular-old.C:
14269         * tabular.C:
14270         * text.C:
14271         * trans_mgr.C:
14272         * vc-backend.C: change "while(" to "while ("
14273
14274         * lyxlength.[Ch]: add zero function to check if length is zero or
14275         not
14276         * lyxgluelength.C: use it
14277
14278 2001-12-05  Allan Rae  <rae@lyx.org>
14279
14280         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14281         Works for 2.95.3, from what I understand of Garst's reports this should
14282         work for other g++ versions.  We're screwed if the abs(int) definition
14283         changed between bugfix releases of gcc.
14284
14285 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14286
14287         * text.C: fix chapter label offset !
14288
14289 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14290
14291         * lyxtext.h:
14292         * text.C: fix hfill at end of line, clean up
14293
14294 2001-12-04  Juergen Vigna  <jug@sad.it>
14295
14296         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14297         that we force an update of the inset and it's owners if neccessary.
14298
14299 2001-12-03  Juergen Vigna  <jug@sad.it>
14300
14301         * text.C (rowLast): simplified code
14302
14303 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14304
14305         * lyxfunc.C: fix show options on timeout
14306
14307 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14308
14309         * screen.C (topCursorVisible): scroll half a page when the cursor
14310         reached top of bottom of screen
14311
14312 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14313
14314         * minibuffer.C: deactivate on loss of focus
14315
14316 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14317
14318         * vspace.[Ch] (operator!=): add operator.
14319
14320 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14321
14322         * BufferView_pimpl.C: refuse to open an inset when
14323         there's a selection.
14324
14325 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14326
14327         * BufferView_pimpl.C: allow to click on RHS of full row insets
14328
14329 2001-11-30  Juergen Vigna  <jug@sad.it>
14330
14331         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14332         insets for undo reasons.
14333
14334 2001-11-28  André Pönitz <poenitz@gmx.net>
14335
14336         * vspace.[Ch]: cosmetical changes
14337
14338 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14339
14340         * LyXAction.h:
14341         * LyXAction.C:
14342         * lyxfunc.h:
14343         * lyxfunc.C:
14344         * kbmap.h:
14345         * kbmap.C:
14346         * lyxrc.C:
14347         * kbsequence.h:
14348         * kbsequence.C: part re-write of old kb code
14349
14350         * Painter.C:
14351         * WorkArea.C: remove Lgb_bug_find_hack
14352
14353 2001-11-30  José Matos <jamatos@fep.up.pt>
14354
14355         * buffer.C (makeDocBookFile): add a comment to point a hack.
14356         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14357         Fixed a double write of labels.
14358
14359 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14360
14361         * LaTeX.C:
14362         * LaTeX.h Fixed bug in LaTeX class where it would not
14363         re-run latex if no depfiles were changed, but the .dvi was removed.
14364
14365 2001-11-28  André Pönitz <poenitz@gmx.net>
14366
14367         * all the files from the change on 2001/11/26:
14368         use lyx::layout_type instead of LyXTextClass::size_type
14369         use lyx::textclass_type instead of LyXTextClassList::size_type
14370
14371 2001-11-29  Juergen Vigna  <jug@sad.it>
14372
14373         * text.C: added support for paragraph::isFreeSpacing()
14374
14375         * buffer.C: same as above
14376
14377         * paragraph.h: inserted isFreeSpacing() function to enable
14378         FreeSpacing inside InsetERT.
14379
14380         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14381         of the paragraph's in the cut/copy buffer to 0!
14382
14383         * text2.C (removeRow): remove the assert as it can!
14384
14385         * lyxtext.h: added helper function firstRow returning firstrow and
14386         made firstrow private again.
14387
14388         * BufferView2.C (lockInset): don't relock if we're already locked!
14389
14390         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14391         the only paragraph.
14392         (removeRow): added Assert::(firstrow)
14393
14394         * debug.C: forgot to add INSETTEXT here.
14395
14396 2001-11-28  Juergen Vigna  <jug@sad.it>
14397
14398         * sp_spell.C (initialize): changed error text to more general
14399         spellchecker command use (not only ispell!)
14400
14401         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14402
14403         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14404
14405 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14406
14407         * vspace.C: initialise lyxgluelength on failure
14408
14409 2001-11-28  Allan Rae  <rae@lyx.org>
14410
14411         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14412         declaration & definition that looks like a function declaration.
14413
14414 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14415
14416         * BufferView2.C (copy):
14417         (copyEnvironment): do not clear the selection when doing a copy.
14418
14419         * text.C (paintFirstRow): compilation fix
14420
14421 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14422
14423         * tabular.C (Latex): correct line count when writing latex.
14424
14425 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14426
14427         * paragraph_pimpl.h:
14428         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14429           bug a bit
14430
14431 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14432
14433         * text.C:
14434         * LColor.h:
14435         * LColor.C: change vfillline->added_space
14436
14437         * text.C: add markers and text for added space
14438
14439         * vspace.C: fix comment
14440
14441 2001-11-28  André Pönitz <poenitz@gmx.net>
14442
14443         * paragraph.C: whitespace changes
14444         * all the other files from the change on 2001/11/26:
14445         change *::pos_type into lyx::pos_type
14446
14447 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14448
14449         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14450         language of the document when inserting error insets.
14451
14452 2001-11-26  André Pönitz <poenitz@gmx.net>
14453
14454         * BufferView_pimpl.[Ch]:
14455         *       CutAndPaste.C:
14456         * buffer.[Ch]:
14457         * lyxcursor.[Ch]:
14458         * lyxfind.C:
14459         * lyxfunc.C:
14460         * lyxrow.[Ch]:
14461         * paragraph.[Ch]:
14462         * paragraph_pimpl.[Ch]:
14463         * sp_spell.C:
14464         * text.C:
14465         * text2.C: reduce header dependencies, introduce type for positions
14466
14467 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14468
14469         * <various>: change to use Alert.h
14470
14471 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14472
14473         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14474         when encountering an unknown token.
14475         (readLyXformat2): Show an error message if there were unknown tokens.
14476
14477 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14478
14479         * BufferView2.C:
14480         * BufferView_pimpl.C:
14481         * buffer.C:
14482         * paragraph.h:
14483         * text.C:
14484         * text2.C: use par->isInset()
14485
14486 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14487
14488         * paragraph_pimpl.h:
14489         * paragraph_pimpl.C: cleanup
14490
14491 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14492
14493         * text2.C (removeRow):
14494         * text.C (setHeightOfRow): remove useless (and costly) call to
14495         getRow.
14496
14497 2001-11-20  Allan Rae  <rae@lyx.org>
14498
14499         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14500         Now need Inset*::checkInsertChar() to return true for appropriate
14501         cases so that the characters in the minibuffer will actually be
14502         inserted.
14503
14504 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14505
14506         * text.C: change the order of the includes.
14507         (workWidth): initialize it at once.
14508         (workWidth): make maxw unsigned
14509         (setHeightOfRow): remove unused variable (inset)
14510         (selectSelectedWord): remove unused variable (inset)
14511         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14512
14513 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14514
14515         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14516         server is not running.
14517         (openConnection):
14518         (closeConnection): add debug info when server is disabled.
14519
14520         * ColorHandler.C (getGCForeground): send debug message to GUI
14521         channel.
14522
14523         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14524
14525         * kbmap.C (bind): modify because return conventions of
14526         kb_sequence::parse have changed.
14527
14528         * kbsequence.C (parse): only ignore spaces and not any stupid
14529         control character. This avoids tests like s[i] <= ' ', which are
14530         guaranteed to fail with 8bit characters and signed chars.
14531         Change return code to string::npos when there have been no error
14532         (0 was a bad idea when error is at first character)
14533
14534 2001-11-14  José Matos  <jamatos@fep.up.pt>
14535
14536         * buffer.h:
14537         * buffer.C (simpleDocBookOnePar): removed unused argument.
14538
14539 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14540
14541         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14542         insets which are part of a word. Paragraph::isLetter takes care of
14543         that now. Use Paragraph::isInset to identify insets.
14544         (selectSelectedWord): do not test for hyphenation break.
14545
14546         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14547         that protected spaces are considered as spaces.
14548
14549         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14550         Inset::isLetter.
14551
14552 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14553
14554         * lyxserver.h:
14555         * lyxserver.C: fix it. and small cleanup.
14556
14557 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14558
14559         * BufferView_pimpl.C: use inline helpers
14560
14561         * LaTeXFeatures.h:
14562         * LaTeXFeatures.C: fix typos
14563
14564         * Spacing.h:
14565         * Spacing.C: move spacing_string into class
14566
14567         * ToolbarDefaults.C: move stuff into namespace anon
14568
14569         * layout.h: update enum
14570
14571         * lyxfunc.C: use better debug
14572
14573         * minibuffer.h: fix typo
14574
14575         * debug.h:
14576         * debug.C:
14577         * WorkArea.C: add and use Debug::WORKAREA
14578
14579         * lyxtext.h:
14580         * text.C:
14581         * text2.C: code re-organisation, inline helpers
14582
14583 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14584
14585         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14586         std::vector.empty().
14587
14588 2001-11-09  Allan Rae  <rae@lyx.org>
14589
14590         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14591         '\n's after tables.  Tabular and ERT inset work now makes this no
14592         longer necessary.
14593
14594 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14595
14596         * minibuffer.h:
14597         * minibuffer.C: fix crash, improve drop-down completion
14598
14599 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14600
14601         * lyxserver.h:
14602         * lyxserver.C: invalidate fd's when doing endPipe()
14603
14604 2001-11-08  José Matos  <jamatos@fep.up.pt>
14605
14606         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14607         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14608
14609         * paragraph.h:
14610         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14611
14612 2001-11-07  José Matos  <jamatos@fep.up.pt>
14613
14614         * buffer.h:
14615         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14616         const qualifier.
14617
14618         * buffer.C (sgmlOpenTag):
14619         * buffer.C (sgmlCloseTag): removed debug info.
14620
14621         * buffer.h (sgmlOpenTag):
14622         * buffer.h (sgmlCloseTag): made public.
14623
14624 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14625
14626         * buffer.C (saveParamsAsDefaults):
14627         * lyx_cb.C (MenuLayoutSave): remove
14628
14629         * LyXAction.C (init):
14630         * commandtags.h:
14631         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14632
14633 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14634
14635         * buffer.C (setPaperStuff): removed from here...
14636
14637         * bufferparams.C (setPaperStuff): ... and moved there.
14638
14639 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14640
14641         * minibuffer.h:
14642         * minibuffer.C:
14643         * XFormsView.C: add support for drop-down completion
14644
14645 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14646
14647         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14648         commands.
14649
14650 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14651
14652         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14653         disabled.
14654
14655 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14656
14657         * lyx_main.C: change ref to known bugs
14658
14659 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14660
14661         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14662         to work around older babel problems.
14663
14664 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14665
14666         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14667
14668 2001-10-24  Juergen Vigna  <jug@sad.it>
14669
14670         * tabular-old.C (ReadOld): below variable changes reflected.
14671
14672         * tabular.[Ch]: added ltType struct for longtable header/footer
14673         defines and changed all instances where they are used. Added
14674         future support for double top/bottom rows.
14675
14676 2001-10-24  José Matos  <jamatos@fep.up.pt>
14677
14678         * buffer.h (docbookHandleCaption):
14679         * buffer.C (docbookHandleCaption): removed unused function.
14680         (makeDocBookFile): moved docbook supported version to v4.1.
14681
14682 2001-10-24  José Matos  <jamatos@fep.up.pt>
14683
14684         * tabular.h:
14685         * tabular.C (docbookRow): new function to export docbook code of a row.
14686         (DocBook): now honors the longtable flags.
14687
14688 2001-10-23  José Matos  <jamatos@fep.up.pt>
14689
14690         * LaTeXFeatures.h:
14691         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14692         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14693
14694         * buffer.C (makeLinuxDocFile):
14695         (makeDocBookFile): reworked the preamble, more clean, and with
14696         support for lyx defined entities. Changed the document declaration
14697         to be more XML friendly.
14698
14699         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14700         if we need to output XML that should be done with a filter.
14701
14702 2001-10-22  Juergen Vigna  <jug@sad.it>
14703
14704         * sp_pspell.h (class PSpell): add alive function needed in the
14705         controller to see if the spellchecker could be started.
14706
14707 2001-10-22  Juergen Vigna  <jug@sad.it>
14708
14709         * buffer.C (insertStringAsLines): modify the font for inserting
14710         chars in certain conditions by calling checkInsertChar(font).
14711
14712 2001-10-19  Juergen Vigna  <jug@sad.it>
14713
14714         * text.C (workWidth): use getRow instead of wrong algorithm.
14715         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14716
14717 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14718
14719         * lyxserver.h:
14720         * lyxserver.C:
14721         * lyx_main.h:
14722         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14723
14724 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14725
14726         * text.C (workWidth): do not search for the exact row when
14727         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14728         optimization for big documents.
14729
14730 2001-10-18  Juergen Vigna  <jug@sad.it>
14731
14732         * text.C (workWidth): new function with added Inset * parameter.
14733
14734 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14735
14736         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14737
14738         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14739         change return type of getColumnNearX.
14740
14741
14742         * text.C (changeRegionCase): use uppercase/lowercase instead of
14743         toupper/tolower.
14744         (leftMargin):
14745         (rightMargin): simplify code by factoring out the uses of
14746         textclasslist.
14747         (labelFill):
14748         (numberOfHfills):
14749         (setHeightOfRow):
14750         (appendParagraph): use Paragraph::size_type
14751
14752 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14753
14754         * vspace.C (asLatexString): add a missing break
14755
14756 2001-10-15  Herbert Voss  <voss@perce.de>
14757
14758         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14759
14760 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14761
14762         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14763         is not available.
14764
14765 2001-10-10  André Pönitz <poenitz@gmx.net>
14766
14767         * lyxfunc.C: removed greek_kb_flag.
14768
14769 2001-10-10  Herbert Voss  <voss@perce.de>
14770
14771         * lyx_main.C: delete global string help_lyxdir.
14772
14773 2001-10-09  Herbert Voss  <voss@perce.de>
14774
14775         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14776
14777         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14778
14779         * lyx_main.C: added global string help_lyxdir.
14780
14781         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14782
14783 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14784
14785         * lyxrc.C (set_font_norm_type): support iso8859-4
14786
14787 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14788
14789         * LaTeX.C (deplog): add another regex for MikTeX
14790
14791 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14792
14793         * lyxrc.C (set_font_norm_type): support iso8859-3
14794
14795 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14796
14797         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14798
14799         * LaTeXFeatures.C: remove special case of french and index
14800
14801         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14802         before \begin{document}). This solves several incompatibilities.
14803
14804 2001-10-03  Garst Reese  <reese@isn.net>
14805
14806         * lyx_cb.C: change CheckTex error msg.
14807
14808 2001-10-03  José Matos  <jamatos@fep.up.pt>
14809
14810         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14811
14812 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14813
14814         * .cvsignore: update
14815
14816         * lyx_main.C (commandLineVersionInfo): use new style version info.
14817
14818         * buffer.C (writeFile):
14819         (makeLaTeXFile):
14820         (makeLinuxDocFile):
14821         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14822
14823         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14824
14825         * version.h: update to use stuff in version.C
14826
14827         * version.C.in: new file. Contains version information determined
14828         at compile time. This is a merging of version.h and
14829         version_info.h.in.
14830
14831 2001-10-03  Juergen Vigna  <jug@sad.it>
14832
14833         * BufferView_pimpl.C (update): don't change "dirty" status in
14834         updateInset call.
14835
14836 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14837
14838         * WorkArea.C (c-tor): re-position version string slightly.
14839
14840 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14841
14842         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14843         revert to previous code.
14844
14845         WorkArea.[Ch]: (show, destroySplash): methods removed.
14846
14847         WorkArea.C: rework code so that it's an amalgam of the codes before and
14848         after the splash screen was moved to WorkArea.
14849
14850 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14851
14852         * lyxrc.C (read):
14853         * vspace.C (inPixels):
14854         (lyx_advance):
14855         * kbmap.C (bind):
14856         * buffer.C (insertStringAsLines):
14857         (asciiParagraph): fix types to be large enough
14858
14859         * lyxlex_pimpl.h: change member status from short to int
14860
14861         * layout.h: fix type of endlabeltype
14862
14863         * kbmap.C (bind):
14864         * kbsequence.C (parse): change return type to string::size_type
14865
14866         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14867         variable
14868
14869         * Bullet.C (bulletSize):
14870         (bulletEntry): do not use short ints as parameters
14871
14872         * BufferView2.C (insertLyXFile): change a char to an int.
14873
14874         * WorkArea.C (WorkArea): remove unneeded floats in computation
14875
14876 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14877
14878         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14879
14880         * paragraph.C (asString): Do not ignore newline/hfill chars when
14881         copying to the clipboard.
14882
14883 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14884
14885         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14886         after a multi-line inset.
14887
14888 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14889
14890         * paragraph.C (validate): Set NeedLyXFootnoteCode
14891
14892 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14893
14894         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14895         and decrease-error to decrease.
14896
14897 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14898
14899         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14900         it more readable (should be equivalent)
14901
14902 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14903
14904         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14905
14906 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14907
14908         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14909         of a cursor (row, etc.) after a character has been deleted
14910         (deleteEmptyParagraphMechanism): call the method above on _all_
14911         cursors held by the LyXText when a double space has been
14912         detected/deleted.
14913
14914 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14915
14916         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14917         pixmap.
14918         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14919
14920         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14921         background. Use greyOut() and the new show() methods to toggle between
14922         the foreground and background. Add code to remove the splash after
14923         its initial showing.
14924
14925         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14926         (create_forms): no longer call Dialogs::showSplash.
14927
14928 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14929
14930         * .cvsignore: add version_info.h
14931
14932 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14933
14934         * version_info.h.in: new file
14935
14936         * Makefile.am: add version_info.h.in
14937
14938         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14939         version_info.h instead of VERSION_INFO
14940
14941 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14942
14943         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14944         The ERT inset now returns string().
14945
14946 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14947
14948         * lyxtext.h, text.C (selectNextWord): renamed as
14949         selectNextWordToSpellcheck.
14950
14951         * text.C (selectNextWordToSpellcheck): Modified to not select
14952         words inside an ERT inset.
14953
14954 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14955
14956         * lyx_cb.C (MenuLayoutSave): change a bit the question
14957
14958         * sp_base.h: include <sys/types.h>
14959
14960 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14961
14962         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14963
14964 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14965
14966         * several files: fix typos in user-visible strings
14967
14968 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14969
14970         * text2.C (pasteSelection): do not set the selection, since it
14971         will be cleared later. Actually, the intent was to fix the way the
14972         selection was set, but I figured rmoving the code was just as good.
14973
14974 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14975
14976         * FontLoader.C (available): Check if font is available without
14977         loading the font.
14978
14979 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14980
14981         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14982
14983 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14984
14985         * lyxrc.[Ch]: added display_graphics variable and associated code.
14986
14987 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14988
14989         * bufferparams.C (hasClassDefaults): new method. Returns true if
14990         the buffer parameters correspond to known class defaults
14991
14992 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14993
14994         * XFormsView.C (show): set minimum size to the main window.
14995
14996 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14997
14998         * text2.C (copySelection):
14999         (cutSelection):
15000         * lyxfind.C (LyXReplace):
15001         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15002         LyXText::selectionAsString.
15003
15004         * paragraph.C (asString): add "label" argument to the second form
15005
15006         * text2.C (selectionAsString): add "label" argument and pass it to
15007         Paragraph::asString.
15008
15009 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15010
15011         * lyx_main.C (commandLineHelp): remove version information
15012
15013 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15014
15015         * lyx_main.C: add -version commandline option
15016
15017 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15018
15019         * paragraph.h: make the optional constructor arg required instead.
15020         some modifications to other files because of this.
15021
15022         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15023
15024         * lyxserver.C (C_LyXComm_callback): make it static
15025
15026         * lyx_main.C (error_handler): make it static
15027
15028         * lyx_gui.C (LyX_XErrHandler): make it static
15029
15030         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15031
15032         * WorkArea.C: make the extern "C" methods static.
15033
15034         * Makefile.am (lyx_LDADD): simplify
15035
15036 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15037
15038         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15039         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15040
15041         * LyXAction.C (init):
15042         * lyxfunc.C (dispatch): associated code removal.
15043
15044 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15045
15046         * lyxfont.h (isSymbolFont): shut off warning
15047
15048         * text.C (setHeightOfRow):
15049         (getVisibleRow): fix crash with empty paragraphs which have a
15050         bottom line
15051
15052 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15053
15054         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15055         code.
15056
15057 2001-09-04  José Matos  <jamatos@fep.up.pt>
15058         * buffer.C
15059         * buffer.h
15060         * tabular.C (docbook): rename docBook method to docbook.
15061
15062 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15063
15064         * Makefile.am: add dependencies to main.o.
15065
15066 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15067
15068         * FontLoader.C (available): Return false if !lyxrc.use_gui
15069
15070 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15071
15072         * FontInfo.C (query):
15073         * converter.C (view):
15074         * importer.C (Import):
15075         * exporter.C (Export): Can not -> cannot.
15076
15077 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15078
15079         * BufferView_pimpl.C: allow to create index inset even if
15080           string is empty
15081
15082 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15083
15084         * buffer.C (getLists): replace boost::tie code with an explicit pair
15085         as boost::tie can break some compilers.
15086
15087         * iterators.h: Added a std:: declaration to the return type of
15088         ParIterator::size.
15089
15090 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15091
15092         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15093           case.
15094
15095 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15096
15097         * iterators.[Ch]: New files. Provide paragraph iterators.
15098
15099         * buffer.C (changeLanguage): Use paragraph iterators.
15100         (isMultiLingual): ditto
15101
15102         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15103
15104 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15105
15106         * FontLoader.C: Support for cmr font.
15107
15108 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15109
15110         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15111         (available): New method.
15112
15113         * FontInfo.C (getFontname): Use scalable fonts even when
15114         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15115         found.
15116
15117 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15118
15119         * converter.C (Formats::view): reverted! Incorrect fix.
15120
15121 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15122
15123         * converter.C (Formats::view): only output the -paper option
15124         if the dvi viewer is xdvi, thereby fixing bug #233429.
15125
15126 2001-08-23  Herbert Voss  <voss@perce>
15127
15128         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15129
15130 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15131
15132         * Spacing.h (Spacing): Set space to Default on in the default
15133         constructor.
15134
15135 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15136
15137         * vc-backend.h (RCS::versionString): add RCS to version
15138         (CVS::versionString): add CVS to version
15139
15140         * vc-backend.C (scanMaster): do not add CVS to version.
15141         (scanMaster): do not add RCS to version
15142
15143         * lyxvc.C (versionString): new method
15144
15145         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15146
15147 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15148
15149         * Spacing.C (set): initialize fval
15150
15151 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15152
15153         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15154         " or \.
15155
15156 2001-08-16  Juergen Vigna  <jug@sad.it>
15157
15158         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15159
15160 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15161
15162         * BufferView_pimpl.C:
15163         * figureForm.C:
15164         * lyxtext.h:
15165         * text2.C: setParagraph takes linespacing now
15166
15167 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15168
15169         * LyxAction.C: add internal LFUN_CITATION_INSERT
15170
15171         * LyXView.C: actually apply fix
15172
15173         * bufferlist.C: fix open non-existent file
15174
15175         * lyxfind.C: fix indentation
15176
15177         * lyxfunc.C: remove unneeded assert, fix typo
15178
15179 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15180
15181         * MenuBackend.C: use "Floatname List"
15182
15183 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15184
15185         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15186         when converting LaTeX layout to insetERT.
15187         Generate a non-collapsed float when reading old float
15188
15189 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15190
15191         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15192         ERT insets.
15193
15194 2001-08-13  Juergen Vigna  <jug@sad.it>
15195
15196         * text.C (fill): return 0 instead of 20 as this seems to be the more
15197         correct value.
15198
15199 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15200
15201         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15202         lyxrc.font_norm.
15203
15204 2001-08-13  Juergen Vigna  <jug@sad.it>
15205
15206         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15207         casesensitive off.
15208         (SearchBackward): comment out the unlocking of the inset_owner this
15209         should not be needed!
15210
15211 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15212
15213         * Many files: Remove inherit_language, and add latex_language
15214
15215         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15216         collapsible insets.
15217
15218 2001-08-10  Juergen Vigna  <jug@sad.it>
15219
15220         * text.C (prepareToPrint): fixed hfill-width in draw!
15221
15222         * BufferView2.C (selectLastWord): save the selection cursor as this
15223         now is cleared in the function LyXText::clearSelection!
15224
15225 2001-08-08  Juergen Vigna  <jug@sad.it>
15226
15227         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15228         BACKSPACE type functions.
15229
15230         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15231         is only cutted from the document but not put in the cut-buffer, where
15232         still the old stuff should be.
15233
15234         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15235
15236         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15237
15238         * tabular.C (SetWidthOfCell): fixed special case where the width
15239         was not updated!
15240         (LeftLine): handle '|' in align_special.
15241         (RightLine): ditto
15242         (LeftAlreadyDrawed): ditto
15243         (SetWidthOfCell): ditto
15244
15245 2001-08-07  Juergen Vigna  <jug@sad.it>
15246
15247         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15248
15249 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15250
15251         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15252         * lyxlex.[hC]: ditto
15253
15254 2001-08-06  Juergen Vigna  <jug@sad.it>
15255
15256         * text.C (getVisibleRow): fix up row clearing a bit.
15257
15258 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15259
15260         * minibuffer.C: make sure the X server sees the changes in the input.
15261
15262 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15263
15264         * paragraph.C (getFont): split into...
15265         (getLabelFont): this
15266         (getLayoutFont): and this
15267         * paragraph_pimpl.C (realizeFont): calling this
15268
15269         * text2.C (getFont): split into...
15270         (getLayoutFont): this
15271         (getLabelFont): and this
15272         (realizeFont): all three calling this
15273
15274         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15275         files where used.
15276
15277 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15278
15279         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15280
15281 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15282
15283         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15284         layouts from the Quote inset insertion.
15285
15286 2001-08-03  Juergen Vigna  <jug@sad.it>
15287
15288         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15289
15290         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15291         only if status not is already CHANGED_IN_DRAW (second level).
15292
15293         * text.C (draw): don't set the need_break_row when inside an
15294         InsetText LyXText.
15295
15296 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15297
15298         * buffer.C (parseSingleLyXformat2Token): handle more latex
15299         conversion cases.
15300
15301         * bufferview_funcs.[hC]: change function names to
15302         begin with small char, adjust other files.
15303
15304 2001-08-02  André Pönitz <poenitz@gmx.net>
15305
15306         * lyxfunc.C:
15307         BufferView_pimpl.C: remove broken special code for math-greek
15308
15309 2001-08-02  Juergen Vigna  <jug@sad.it>
15310
15311         * BufferView_pimpl.C (update): redone this function so that we
15312         update the text again if there was a CHANGE_IN_DRAW.
15313
15314         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15315         (drawFromTo): added a new internal bool which is used by draw() and
15316         redraw() function.
15317         (general): some cursor drawing problems fixed.
15318
15319 2001-08-01  Juergen Vigna  <jug@sad.it>
15320
15321         * lyxfind.C (LyXFind): fixed
15322         (SearchForward): ditto
15323         (SearchBackward): ditto
15324
15325         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15326         spurius drawing of the cursor in the main area.
15327
15328         * text2.C (status): small fix which could lead to a segfault!
15329         (clearSelection): remove unneeded BufferView param.
15330
15331 2001-08-01  André Pönitz <poenitz@gmx.net>
15332
15333         * lyxfunc.C: small change due to changed mathed interface
15334
15335 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15336
15337         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15338
15339 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15340
15341         * lyxfunc.c: fail gracefully if file doesn't exist
15342
15343         * LyXSendto.C:
15344         * buffer.C:
15345         * lyxfunc.C:
15346         * BufferView_pimpl.C: IsDirWriteable() proto changed
15347
15348         * LyXView.C: fix updateWindowTitle() to store the last title
15349
15350 2001-07-31  Juergen Vigna  <jug@sad.it>
15351
15352         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15353         the font (wrong since using of Paragraph::highestFontInRange).
15354
15355         * paragraph.C (highestFontInRange): added a default_size parameter.
15356
15357         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15358         (setHeightOfRow): reformat
15359
15360 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15361
15362         * converter.[hC] + affected files: move to (inital-char)lowercase
15363         function names.
15364
15365         * ParagraphParameters.C (ParagraphParameters): remove commented code
15366
15367         * PainterBase.[Ch]: remove commented code
15368
15369         * LaTeXFeatures.h: add "bool floats" for float.sty
15370
15371         * LaTeXFeatures.C (LaTeXFeatures): init floats
15372         (require): handle float
15373         (getPackages): do it with floats
15374
15375 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15376
15377         * BufferView_pimpl.C (Dispatch): improve handling of
15378         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15379
15380         * commandtags.h: #include lyxfont.h here temporarily to avoid
15381         keybinding bug.
15382
15383         * bufferlist.h: include LString.h here.
15384
15385 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15386
15387         * text2.C (getStringToIndex): new method.
15388
15389 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15390
15391         * *: Reduced header file dependencies all over.
15392
15393 2001-07-30  Baruch Even  <baruch@lyx.org>
15394
15395         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15396
15397 2001-07-29  Baruch Even  <baruch@lyx.org>
15398
15399         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15400
15401 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15402
15403         * ParameterStruct.h (endif): add a default constructor to make
15404         sure that all variables is initialized.
15405
15406         * ParagraphParameters.C (ParagraphParameters): adjust
15407
15408 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15409
15410         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15411         index; also, check that there is something to index, and that it
15412         does not span over several paragraphs.
15413         (doubleClick): use WHOLE_WORD_STRICT for double click.
15414
15415         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15416
15417         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15418         scheme.
15419
15420 2001-07-26  Baruch Even  <baruch@lyx.org>
15421
15422         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15423         an InsetFig figure, backwards compatible reading of old figure code.
15424
15425 2001-07-27  Juergen Vigna  <jug@sad.it>
15426
15427         * text2.C: font.realize function adaption.
15428
15429         * text.C (draw): add a warnings lyxerr text if needed.
15430
15431         * layout.C: font.realize function adaption.
15432
15433         * language.C: add inherit_language and implement it's handlings
15434
15435         * bufferview_funcs.C (StyleReset): remove language parameter from
15436         font creation (should be language_inherit now).
15437
15438         * bufferparams.C (writeFile): handle ignore_language.
15439
15440         * paragraph.C (getFontSettings): the language has to be resolved
15441         otherwise we have problems in LyXFont!
15442
15443         * lyxfont.C (lyxWriteChanges): added document_language parameter
15444         (update): removed unneeded language parameter
15445
15446         * paragraph.C (validate): fixed wrong output of color-package when
15447         using interface colors for certain fonts in certain environments,
15448         which should not seen as that on the final output.
15449
15450 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15451
15452         * BufferView_pimpl.C:
15453         * Thesaurus.h:
15454         * Thesaurus.C:
15455         * Makefile.am:
15456         * commandtags.h:
15457         * LyXAction.C: add thesaurus support
15458
15459         * lyxfind.h:
15460         * lyxfind.C: add "once" parameter, for thesaurus, to not
15461           move to the next match
15462
15463 2001-07-26  Juergen Vigna  <jug@sad.it>
15464
15465         * lyxfont.C (realize): honor ignore_language too!
15466         (resolved): ditto.
15467
15468         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15469
15470         * text.C (draw): one place more for ignore_language to not draw
15471         itself!
15472
15473 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15474
15475         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15476
15477 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15478
15479         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15480         the minipage conversion problem.
15481
15482 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15483
15484         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15485         insert an inset.
15486
15487 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15488
15489         * BufferView.h: don't forward declare WorkArea
15490
15491         * BufferView.C: don't include WorkArea.h
15492
15493 2001-07-25  André Pönitz <poenitz@gmx.net>
15494
15495         * commandtags.h:
15496         * LyXAction.C:
15497         * lyxfunc.C:  new LFUN 'math-space'
15498
15499         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15500
15501 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15502
15503         * text2.C (toggleInset): call open/close
15504
15505 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15506
15507         * lyxfunc.C (dispatch): add debug for the disabled case
15508
15509         * font.C (buttonText): make similar to rectText
15510
15511         * buffer.C (readInset): comment out parsing of insetlist and
15512         insttheorem
15513
15514         * PainterBase.C (rectText): small correction
15515
15516         * BufferView_pimpl.C: comment out insettheorem and insetlist
15517         * LyXAction.C: ditto
15518         * commandtags.h: ditto
15519
15520 2001-07-24  Juergen Vigna  <jug@sad.it>
15521
15522         * text.C (draw): honor the ignore_language.
15523
15524         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15525
15526 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15527
15528         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15529         char inset.
15530
15531 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15532
15533         * lyxtext.h: remove unused (and unimplemented) methods
15534
15535 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15536
15537         * text.C (getVisibleRow): honor background color
15538
15539         * PainterBase.h:
15540         * Painter.h: remove default color argument for fillRectangle
15541
15542         * text.C (backgroundColor): new method
15543
15544 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15545
15546         * text.C (getVisibleRow): adjust
15547
15548         * font.[Ch] (rectText): new method, metrics
15549         (buttonText): new method, metrics
15550
15551         * PainterBase.[hC]: make rectText and buttonText always draw and take
15552         fewer paramteres.
15553
15554 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15555
15556         * ToolbarDefaults.C (read):
15557         * MenuBackend.C (read): allow escaping in all strings
15558
15559         * BufferView_pimpl.C (insertAndEditInset): new method.
15560         (Dispatch): use insertAndEditInset whenever appropriate.
15561
15562         * BufferView_pimpl.C (insertNote): removed
15563
15564         * BufferView_pimpl.C (smartQuote): new method, moved from
15565         BufferView; if an insetquote cannot be inserted, insert a '"'
15566         character instead.
15567
15568         * BufferView2.C: remove insertCorrectQuote();
15569
15570         * lyxfunc.C (getStatus): Add support for all remaingin
15571         inset-insert lfuns.
15572
15573         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15574
15575         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15576         command (necessary to pass " as parameter of self-insert.
15577
15578         * text.C (selectWordWhenUnderCursor):
15579         (selectWord): add word_location parameter
15580         (selectWordWhenUnderCursor): same + remove special code for word
15581         boundary.
15582         (selectNextWord): use kind() to guess type of insetspecialchar,
15583         not latex().
15584
15585         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15586         (insertErtContents): create ert insets as collapsed.
15587         (readInset): better compatibility code for Info inset.
15588
15589 2001-07-20  Juergen Vigna  <jug@sad.it>
15590
15591         * lyxfunc.C (dispatch): use always LyXFind now!
15592
15593         * text2.C (init): add a reinit flag so that the LyXText can be
15594         reinited instead of deleted and reallocated (used in InsetText).
15595
15596         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15597
15598         * text.C: ditto
15599
15600         * text2.C: ditto
15601
15602 2001-07-18  Juergen Vigna  <jug@sad.it>
15603
15604         * text.C (selectNextWord): handle insets inside inset by calling
15605         always the bv->text functions so that we can go up the_locking_inset!
15606
15607         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15608         in strange locations when inside an inset!
15609
15610         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15611         handling to include insets.
15612
15613         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15614
15615 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15616
15617         * LyXAction.C (init):
15618         * commandtags.h:
15619         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15620         LIGATURE_BREAK, since the name is so stupid.
15621
15622 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15623
15624         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15625         InsetInfos.
15626
15627         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15628
15629         * sp_form.[Ch]: remove.
15630
15631         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15632
15633         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15634         InsetInfo.
15635
15636         * src/buffer.C (readInset): ditto.
15637
15638 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15639
15640         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15641         menuSeparator(), endOfSentenceDot(), ldots() and
15642         hyphenationPoint(), which are therefore removed.
15643         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15644
15645         * LyXAction.C (init):
15646         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15647
15648         * paragraph.C (getWord): removed.
15649
15650         * BufferView_pimpl.C (Dispatch): use last word or selection for
15651         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15652
15653         * lyx_main.C (queryUserLyXDir): do not ask before creating
15654         user_dir, except if it has been named explicitely.
15655
15656 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15657
15658         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15659         a document of zero size.
15660
15661 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15662
15663         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15664         approriately in the c-tor and in require().
15665         (getPackages): output the appropriate LaTeX for natbib support.
15666
15667         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15668         variables "use_natbib" and "use_numerical_citations" when reading the
15669         LyX file.
15670         (readInset): read the various natbib cite commands.
15671         (validate): white-space change.
15672
15673         * bufferparams.[Ch]: new variables "bool use_natbib" and
15674         "bool use_numerical_citations".
15675         (writeFile): output them in the LyX file.
15676
15677 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15678
15679         * lyxfunc.C (getStatus): add support for all the inset insertion
15680         commands.
15681
15682         * text2.C (insertInset):
15683         * paragraph.C (insetAllowed):
15684         * BufferView_pimpl.C (insertInset): update to take in account the
15685         renaming of insertInsetAllowed
15686
15687         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15688
15689         * text2.C (getInset): new method. returns inset at cursor position.
15690
15691         * BufferView_pimpl.C (Dispatch): changes because of this.
15692
15693         * LyXAction.C (init): rename open-stuff to inset-toggle.
15694
15695         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15696
15697         * text2.C (toggleInset): renamed from openStuff; use
15698         Inset::open().
15699
15700 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15701
15702         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15703
15704         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15705
15706 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15707
15708         * buffer.C (readLyXformat2): Add filename to the error dialog
15709
15710 2001-07-18  Juergen Vigna  <jug@sad.it>
15711
15712         * tabular.C (GetCellNumber): put an assert here instead of the check!
15713
15714 2001-07-17  Juergen Vigna  <jug@sad.it>
15715
15716         * BufferView_pimpl.C (toggleSelection): adapted too.
15717
15718         * text.C (selectNextWord): adapted for use with insets.
15719         (selectSelectedWord): ditto
15720
15721 2001-07-17  Juergen Vigna  <jug@sad.it>
15722
15723         * sp_spell.C (PSpell): fix initialitation order.
15724
15725 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15726
15727         * paragraph.C: spacing
15728
15729 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15730
15731         * sp_spell.C: repair language selection for pspell
15732
15733 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15734
15735         * lyxfunc.h: change more methods to begin with lower char.
15736
15737 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15738
15739         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15740         for unknown layouts.
15741
15742 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15743
15744         * buffer.C (readLyXformat2): Generate an error dialog if there are
15745         unknown layouts.
15746
15747 2001-07-16  Juergen Vigna  <jug@sad.it>
15748
15749         * sp_spell.C: always compile ISpell part.
15750
15751         * lyxrc.C: added use_pspell entry and it's handling.
15752
15753 2001-07-13  Juergen Vigna  <jug@sad.it>
15754
15755         * sp_spell.C: removed double includes.
15756
15757 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15758
15759         Consistent use of Lsstream.h:
15760         * Lsstream.h: added using std::stringstream for consistencies sake.
15761
15762         * buffer.C: removed using std::stringstream
15763
15764         * lyxfont.C (stateText):
15765         * paragraph.C (asString):
15766         * text.C (selectNextWord, selectSelectedWord):
15767         * text2.C (setCounter):
15768         * vspace.C (asString, asLatexString):
15769         std::ostringstream -> ostringstream.
15770
15771 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15772
15773         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15774         * commandtags.h: add LFUN_HELP_ABOUTLYX
15775         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15776
15777 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15778
15779         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15780         cursorToggle()
15781         * lyx_gui_misc.C: remove spellchecker
15782         * lyxfunc.C: showSpellchecker
15783         * sp_base.h: added
15784         * sp_ispell.h: added
15785         * sp_pspell.h: added
15786         * sp_spell.C: added
15787         * sp_form.[Ch]: removed
15788         * spellchecker.[Ch]: removed
15789
15790 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15791
15792         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15793         is set.
15794         (simpleTeXSpecialChars): Simply print the input character without
15795         any special translation if pass_thru is set.
15796
15797         * layout.h: Added bool pass_thru to layout class for being able to
15798         implement pass through of a paragraph for Literate Programming.
15799
15800         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15801         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15802         * layout.C (Read): add "passthru" to list of layout tags and add
15803         code to set the pass_thru boolean when it is read.
15804
15805 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15806
15807         * trans_decl.h: remove allowed from KmodInfo
15808
15809         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15810         remove allowed code
15811         (Load): adjust
15812
15813         * paragraph_pimpl.C (erase): use boost::prior
15814
15815         * Painter.C (text): use data() instead of c_str() when length is
15816         also provided.
15817         * WorkArea.C (putClipboard): ditto
15818         * font.h (width): ditto
15819
15820         * BufferView2.C: use it-> instead of (*it). for iterators
15821         * texrow.C: ditto
15822         * paragraph_pimpl.C: ditto
15823         * paragraph.C: ditto
15824         * minibuffer.C: ditto
15825         * language.C: ditto
15826         * kbmap.C: ditto
15827         * encoding.C: ditto
15828         * counters.C: ditto
15829         * converter.C: ditto
15830         * chset.C: ditto
15831         * Variables.C: ditto
15832         * TextCache.C: ditto
15833         * MenuBackend.C: ditto
15834         * LyXAction.C: ditto
15835         * LColor.C: ditto
15836         * FloatList.C: ditto
15837         * DepTable.C: ditto
15838         * ColorHandler.C (LyXColorHandler): ditto
15839
15840 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15841
15842         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15843
15844         * text2.C (openStuff): reintroduce this method (which had been
15845         nuked in NEW_INSETS frenzy).
15846
15847         * lyxfunc.C (Dispatch): when an action has not been handled, use
15848         its name in the error message, not its number.
15849
15850         * paragraph.C (inInset): change method name to begin with lowercase.
15851
15852         * undo_funcs.C:
15853         * text2.C: updates because of this.
15854
15855 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15856
15857         * ToolbarDefaults.C (add): add spaces in error message
15858
15859 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15860
15861         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15862         (readLyXformat2): rename return_par to first_par, use lyxlex's
15863         pushToken and remove the manual push handling.
15864         (parseSingleLyXformat2Token): add another ert comp. variable:
15865         in_tabular, rename return_par to first_par. handle newlines better
15866
15867 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15868
15869         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15870
15871 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15872
15873         * text2.C (getParFromID): removed
15874
15875         * buffer.C (getParFromID): new method moved form lyxtext.
15876         * BufferView2.C (insertErrors): adjust
15877         (setCursorFromRow): adjust
15878         * BufferView_pimpl.C (restorePosition): adjust
15879         * lyxfunc.C (Dispatch): adjust
15880         * undo_funcs.C (textUndo): adjust
15881         (textRedo): adjust
15882         (textHandleUndo): adjust
15883         (textHandleUndo): adjust
15884
15885 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15886
15887         * buffer.C: up' the LYX_FORMAT
15888
15889         * lyxfont.h: turn NO_LATEX on as default
15890
15891         * buffer.C (insertErtContents): new methods of tex style compability.
15892         (parseSingleLyXformat2Token): use it several places.
15893         * tabular.C (OldFormatRead): and here
15894
15895 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15896
15897         * text2.C: remove some commented code.
15898         reindent file.
15899
15900         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15901         * trans.C: changes because of the above.
15902
15903 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15904
15905         * text2.C (setCounter): Fix counters bug with bibliography layout.
15906
15907 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15908
15909         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15910         own member functions
15911         (simpleTeXSpecialChars): ditto
15912
15913 2001-07-06  Juergen Vigna  <jug@sad.it>
15914
15915         * a lot of files: changed the access to LyXText::status and the
15916         call of undo-functions.
15917
15918         * undo.[Ch]: added a inset_id to the undo informations.
15919
15920         * undo_funcs.[Ch]: added and moved here all undo functions.
15921
15922         * lyxtext.h: give the status enum a weight, made status_ a private
15923         variable and made accessor functions for it, removed the whole bunch
15924         of undo-functions as they are now in their own file, make some
15925         functions publically available. Added function ownerParagraph with
15926         int parameter.
15927
15928         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15929         made InInset() a const function, added getParFromID() function.
15930
15931         * buffer.[Ch]: added const version for inset_iterator functions,
15932         added getInsetFromID() function.
15933
15934         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15935         changed undo functions for new version.
15936
15937 2001-07-05  Juergen Vigna  <jug@sad.it>
15938
15939         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15940         unknow mechanism does not call the proper constructor but only this
15941         one also if I request the other!?
15942
15943 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15944
15945         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15946
15947         * text2.C (LyXText): use initialization lists.
15948
15949         * lyxtext.h (Selection): initialize set_ and mark_
15950         (init): remove method
15951
15952 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15953
15954         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15955
15956 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15957
15958         * screen.[Ch]: change method names to begin with lowercase
15959
15960         * BufferView_pimpl.C (updateScrollbar): simplify further and
15961         hopefully make it a bit faster.
15962
15963 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15964
15965         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15966         calling directly xforms functions.
15967
15968         * Painter.C (Painter):
15969         * lyx_cb.C (MenuWrite):
15970         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15971         fl_display.
15972
15973         * lyx_gui.C: remove bogus guiruntime extern declaration.
15974
15975 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15976
15977         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15978         in NEW_INSETS
15979         (redoDrawingOfParagraph): ditto
15980         (redoParagraphs): ditto
15981         (cutSelection): don't create a object for CutAndPaste use the
15982         static method directly
15983         (pasteSelection): ditto
15984
15985         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15986         LyXview (+ rename)
15987
15988 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15989
15990         * modifications to some other files because of this.
15991
15992         * Makefile.am (lyx_SOURCES): add XFormsView
15993
15994         * XFormsView.[Ch]: new files
15995
15996         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15997         the main window. Move the gui dependent stuff to XFormsView
15998
15999 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16000
16001         * tabular.C (GetCellInset): update cur_cell also in the row/col
16002         version of this function.
16003
16004         * lyxfunc.C: no need to include figure_form.h here.
16005
16006         * FontLoader.h:
16007         * lyxfunc.h:
16008         * lyxscreen.h:
16009         * text2.C:
16010         * lyxvc.C: no need to include forms.h here.
16011
16012 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16013
16014         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16015
16016         * lyxfunc.C (Dispatch):
16017         * Spacing.C (set):
16018         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16019         constructor argument.
16020
16021 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16022
16023         * paragraph.C (Paragraph): dont't clear, and just set layout.
16024         (makeSameLayout): use params's copy contructor.
16025
16026         * ParagraphParameters.[Ch] (makeSame): delete method
16027
16028 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16029
16030         * Variables.[Ch]: fix indentation, rename set to isSet
16031
16032 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16033
16034         * lyxfunc.C (Dispatch): fix typo
16035
16036 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16037
16038         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16039         upper_bound.
16040
16041         * bufferlist.C: include assert.h for emergencyWrite().
16042
16043 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16044
16045         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16046           give up at last (bug #425202) !
16047
16048 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16049
16050         * lyx_gui_misc.C:
16051         * sp_form.h:
16052         * sp_form.C:
16053         * spellchecker.h:
16054         * spellchecker.C: strip spellchecker options and bring up
16055           preferences tab instead
16056
16057 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16058
16059         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16060         the istringstream constructor
16061
16062 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16063
16064         * paragraph.C (getLayout): fix return value
16065
16066         * paragraph.h: do not declare getLayout as inline.
16067
16068         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16069
16070 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16071
16072         * lyxcursor.h (operator<): new func
16073         (operator>): new func
16074         (operator>=): new func
16075         (operator<=): new func
16076
16077         * text.C (changeCase): use selection.start and selection.end
16078         (changeRegionCase): require from to be <= to. Require par to be a
16079         valid paragraph.
16080
16081         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16082
16083 2001-06-27  Juergen Vigna  <jug@sad.it>
16084
16085         * text.C (cursorLeftOneWord): changed to return the cursor and added
16086         overlay with BufferView * parameter which calls this one.
16087         (getWord): added
16088         (selectWord): use new getWord function.
16089         (changeCase): renamed from changeWordCase as and extended to work
16090         also on selections.
16091
16092         * lyxtext.h: added enum word_location
16093
16094         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16095         changeCase as this operates now also on selections.
16096
16097 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16098
16099         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16100
16101         * many files: send debug output to Debug::INFO instead of
16102         Debug::ANY.
16103
16104         * converter.C (View):
16105         (Convert):
16106         (Move): send debug output to Debug::FILES instead of console.
16107
16108 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16109
16110         * lyxfunc.C (getStatus): use func_status
16111
16112         * func_status.h: new header, describing the results of
16113         LyXFunc::getStatus;
16114
16115         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16116         LFUN_MATH_HALIGN.
16117
16118 2001-06-25  The LyX Project  <jug@sad.it>
16119
16120         * buffer.C (sgmlOpenTag):
16121         (sgmlCloseTag):
16122         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16123
16124 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16125
16126         * text2.C: remove some dead code
16127
16128         * tabular.C (GetCellInset): store the last cell checked (gotten)
16129
16130         * tabular.h: add the helper for the speedup
16131
16132         * lyxtext.h: remove some dead code
16133
16134 2001-06-26  The LyX Project  <Asger>
16135
16136         * paragraph.C: Change export to LaTeX of alignment to
16137         \begin{center} and family for better roundtrip work with reLyX.
16138
16139         * Tune the math drawing a bit.
16140
16141 2001-06-25  The LyX Project  <Asger>
16142
16143         * LColor.C (LColor): New color for math background. New color
16144         for buttons.
16145
16146 2001-06-25  The LyX Project  <jug@sad.it>
16147
16148         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16149
16150         * lyxfunc.C (Open):
16151         * bufferlist.C (newFile): do not restrict to files ending with
16152         .lyx
16153
16154         * BufferView_pimpl.C (MenuInsertLyXFile):
16155
16156 2001-06-24  The LyX Project  <jug@sad.it>
16157
16158         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16159         of compare_no_case
16160
16161 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16162
16163         * lyxtext.h: rename most methods to begin with a small char.
16164         Lots of changes because of this.
16165
16166         * paragraph.C (Paragraph): do not call fitToSize
16167         (erase): call Pimpl::erase
16168         (insertChar): call Pimpl::insertChar
16169         (insertInset): call Pipl::insertInset
16170         (breakParagraph): do not call fitToSize
16171         (breakParagraphConservative): do not call fitToSize
16172         (fitToSize): remove method
16173
16174         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16175
16176 2001-06-24  The LyX Project  <Asger>
16177
16178         * Fix Qt compilation^2
16179
16180 2001-06-24  The LyX Project  <jug@sad.it>
16181
16182         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16183         depthHook(getDepth()-1).
16184
16185         * paragraph.h:
16186         * ParagraphParameters.h:
16187         * ParameterStruct.h: change type of depth to unsigned int ==
16188         depth_type. Many adaptations to other files before of that.
16189
16190 2001-06-24  The LyX Project  <Asger>
16191
16192         * Fix Qt compilation.
16193
16194 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16195
16196         * paragraph.h: renamed several methods to begin with small letter.
16197         several changes to many parts of the code because of this.
16198
16199 2001-06-23  The LyX Project  <jug@sad.it>
16200
16201         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16202         rewritten to discard all double spaces when KeepEmpty is off
16203         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16204         to only handle newlines but not fiddle with spaces and friends.
16205
16206         * lyxfunc.C (MenuNew): when doing 'new from template', use
16207         template_path as default directory
16208
16209 2001-06-23  The LyX Project  <Asger>
16210
16211         * Clean-up of header file includes all over
16212         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16213
16214 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16215
16216         * paragraph.h: renamed from lyxparagraph.h
16217
16218 2001-06-23  Asger  <lyx@violet.home.sad.it>
16219
16220         * Buffer.h: Removed Buffer::resize
16221         * BufferList.h: Removed BufferList::resize
16222         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16223         the document lazily when we change the width, or the font settings.
16224
16225 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16226
16227         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16228
16229 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16230
16231         * buffer.h: remove out of date comment
16232
16233 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16234
16235         * lyxscreen.h:
16236         * screen.C: fix "theoretical" GC leak
16237
16238 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16239
16240         * LaTeX.C (scanAuxFile):
16241         (deplog): remove trailing \r when reading stream (useful under
16242         win32)
16243
16244 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16245
16246         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16247         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16248         and BufferView::theLockingInset(Inset*), so should use them and not
16249         access bv_->text->the_locking_inset directly.
16250
16251         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16252
16253 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16254
16255         * Makefile.am:
16256         * tex-defs.h: remove old unused file
16257
16258 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16259
16260         * BufferView_pimpl.C: fix typo, remove minibuffer message
16261           when buffer has loaded
16262
16263 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16264
16265         * lyxfunc.C (Dispatch): use stringstream
16266         (MenuNew): use stringstream
16267         (Open): use stringstream
16268
16269         * importer.C (Import): use stringstream
16270
16271         * bufferview_funcs.C (CurrentState): use stringstream
16272
16273         * LaTeX.C (run): use stringstream
16274
16275         * BufferView_pimpl.C (savePosition): use stringstream
16276         (restorePosition): use stringstream
16277         (MenuInsertLyXFile): use stringstream
16278
16279 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16280
16281         * BufferView.C:
16282         * Bullet.C:
16283         * ColorHandler.C:
16284         * FontInfo.C:
16285         * FontLoader.C:
16286         * LColor.C:
16287         * LaTeXFeatures.C:
16288         * Painter.C:
16289         * gettext.C:
16290         * lyx_gui_misc.C:
16291         * lyxserver.C:
16292         * vspace.C: removed // -*- C++ -*- as first line.
16293
16294         * lyxfind.h:
16295         * version.h: added // -*- C++ -*- as first line.
16296
16297 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16298
16299         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16300
16301         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16302         of string
16303
16304 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16305
16306         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16307         of floats.
16308
16309 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16310
16311         * gettext.C: include LString.h even when --disable-nls is on.
16312
16313 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16314
16315         * converter.h (Get): changed argument type from int to
16316         FormatList::size_type to avoid unnecessary conversion.
16317
16318         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16319         before using it.
16320
16321 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16322
16323         * gettext.h: include LString.h even when --disable-nls is on.
16324
16325 2001-06-07  Juergen Vigna  <jug@sad.it>
16326
16327         * text.C (BreakAgain): subst spaces with tabs.
16328
16329         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16330         (resizeInsetsLyXText): set force on resizeLyXText.
16331
16332 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16333
16334         * gettext.h (gettext_init):
16335         (locale_init): use a real definition instead of a macro
16336
16337 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16338
16339         * Bufferview_pimpl.C:
16340         * LColor.h:
16341         * LColor.C: further lcolor tidies
16342
16343 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16344
16345         * BufferView_pimpl.C (updateScrollbar): simplify.
16346
16347         * BufferView2.C: don't include insets/insetinfo.h, change
16348         prototype for insertInset and call the Pimpl version. let
16349         updateInset call Pimpl version.
16350
16351         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16352         gotoInset to BufferView::Pimpl
16353
16354 2001-06-01  Juergen Vigna  <jug@sad.it>
16355
16356         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16357         inside a LockingInset (is the update needed at all?).
16358
16359 2001-05-31  Juergen Vigna  <jug@sad.it>
16360
16361         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16362         here not the old one otherwise how should we compare it afterwards
16363         if it's the same!
16364
16365 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16366
16367         * lyxfont.C:
16368         * tabular.C:
16369         * tabular-old.C:
16370         * FontInfo.C: bring C functions into global namespace when
16371         necessary
16372
16373 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16374
16375         * LString.h: make sure config.h has been loaded before LString.h.
16376
16377         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16378         (one for each char read by EatLine!).
16379
16380         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16381         variables.
16382
16383 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16384
16385         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16386         to the same as the par we break from
16387
16388 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16389
16390         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16391
16392         * MenuBackend.C (expand): also create menu entries for wide
16393         versions of the floats.
16394
16395         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16396
16397         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16398
16399         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16400         frontends/Makefile.am
16401
16402         * text2.C: adjust
16403         * text.C: adjust
16404
16405
16406         * tabular.C (getTokenValue): add std::
16407
16408         * tabular-old.C (getTokenValue): add std::
16409         (getTokenValue): ditto
16410         (getTokenValue): ditto
16411
16412         * screen.C (ToggleSelection): adjust
16413
16414         * lyxtext.h: put selection cursors inside a Selection struct.
16415
16416         * lyxfunc.C (moveCursorUpdate): adjust
16417
16418         * lyxfont.C (latexWriteStartChanges): add std::
16419
16420         * lyxfind.C: adjust
16421
16422         * font.h: delete with(char const *, LyXFont const &)
16423
16424         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16425
16426         * FontInfo.C (getFontname): add std::
16427
16428         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16429         (workAreaButtonPress): adjust
16430         (tripleClick): adjust
16431         (update): adjust
16432         (moveCursorUpdate): adjust
16433         (Dispatch): adjust
16434
16435         * BufferView2.C (gotoInset): adjust
16436
16437 2001-05-30  Juergen Vigna  <jug@sad.it>
16438
16439         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16440         to check pspell I add this as default as I now have new pspell
16441         libraries and they seem to use this.
16442
16443 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16444
16445         * text2.C (CutSelection): make the cursor valid before the call to
16446         ClearSelection.
16447
16448 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16449
16450         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16451         relied on 0 terminated strings and other horrors. Bug found due to
16452         the new assert in lyxstring!
16453
16454         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16455         KP_ keys.
16456
16457 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16458
16459         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16460         to latinkeys.bind.
16461
16462         * lyxfunc.C (processKeySym): change method of getting to the
16463         self-insert char.
16464
16465         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16466         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16467         * BufferView_pimpl.[Ch]: here as private methods.
16468
16469 2001-05-28  Juergen Vigna  <jug@sad.it>
16470
16471         * text.C (SetHeightOfRow): added the update() call again as it is
16472         needed to initialize inset dimensions!
16473
16474 2001-05-16  Juergen Vigna  <jug@sad.it>
16475
16476         * text2.C (SetCharFont): Add new function with BufferView * and
16477         bool toggleall parameters for setting insets internal fonts.
16478         (SetFont): Freeze the undo as we may change fonts in Insets and
16479         all this change should be inside only one Undo!
16480
16481         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16482         setting font's in insets as for them we have the SetFont function!
16483
16484 2001-05-15  Juergen Vigna  <jug@sad.it>
16485
16486         * text2.C (ClearSelection): to be sure we REALLY don't have any
16487         selection anymore!
16488
16489         * tabular.C (TeXCellPreamble): fixed the left border problem for
16490         multicolumn cells.
16491
16492 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16493
16494         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16495         dependancy file
16496
16497 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16498
16499         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16500         LFUN_BREAKPARAGRAPH.
16501
16502         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16503         help test to "internal only", similar for LFUN_INSERT_URL
16504
16505         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16506         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16507         auto_region_delete and deadkeys.
16508
16509 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16510
16511         * LColor.h:
16512         * LColor.C: remove some dead entries, tidy a little
16513
16514 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16515
16516         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16517         commented code.
16518         (Dispatch): implement LFUN_ESCAPE
16519
16520         * commandtags.h: add LFUN_ESCAPE
16521
16522         * LyXAction.C (init): add entry for LFUN_ESCAPE
16523
16524         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16525         Remove commented code.
16526         (insertNote): moved here
16527         (open_new_inset): moved here
16528
16529         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16530         BufferView_pimpl
16531
16532 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16533
16534         * kbmap.C (findbinding): clean it up and make it work correctly.
16535
16536         * lyx_main.C (init): do not pass argc and argv as parameters
16537
16538 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16539
16540         * buffer.C: fix path for OS/2 & Win32
16541
16542         * lyx_gui.C:
16543         * lyx_main:
16544         * lyx_main.C: Added os:: class.
16545
16546         * os2_defines.h: update
16547
16548 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16549
16550         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16551         better by trying again with reduced state.
16552
16553 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16554
16555         * lyxrc.C (read): print error about invalid key sequence only when
16556         debugging (because not all latinX keysyms are known to some X
16557         servers)
16558
16559         * kbsequence.C (getiso): add a few std:: qualifiers
16560         (getiso): comment out extra return statement.
16561
16562 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16563
16564         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16565         handling.
16566         (Dispatch): enhance the accent inset a bit. (not perfect)
16567
16568 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16569
16570         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16571
16572 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16573
16574         * bufferlist.C (emergencyWrite): fix assert() call
16575
16576 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16577
16578         * text.C (InsertChar): Added trivial patch to only send the "you
16579         can not do multiple spaces this way" message once during a
16580         session.
16581
16582 2001-05-08  Baruch Even  <baruch@lyx.org>
16583
16584         * Makefile.am: Changed order of libraries to get LyX to link properly
16585         with the gnome frontend.
16586
16587 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16588
16589         * LaTeXFeatures.h: add a std:: qualifier
16590
16591 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16592
16593         * paragraph.C (String): use stringstream
16594
16595 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16596
16597         * paragraph.C (writeFile): remove footflag arg
16598
16599         * buffer.C (makeLaTeXFile): use stringstream
16600         (latexParagraphs): remove footnot gurba
16601
16602         * LaTeXFeatures.C (getPackages): use stringstream
16603         (getMacros): likewise
16604         (getTClassPreamble): likewise
16605         (getFloatDefinitions): new method
16606
16607         * paragraph.C (writeFile): reindent
16608         (Erase): reindent
16609
16610         * WorkArea.h: revert the xpos + etc changes.
16611
16612         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16613
16614         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16615
16616         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16617         (pasteSelection): likewise
16618         * text2.C (CreateUndo): likewise
16619
16620 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16621
16622         * minibuffer.C (peek_event): temporarily reduce the functionality
16623         of the minibuffer (to allow args on lfuns)
16624
16625         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16626         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16627
16628         * buffer.C (readInset): add compability reading of old float
16629         lists, add reading of new style float list.
16630         (readInset): avoid reevaluation of inscmd.getCmdName()
16631         (getLists): reindent
16632
16633         * MenuBackend.C (MenuItem): implement parsing of
16634         md_floatlistinsert and md_floatinsert.
16635         (expand::LastFiles): move initalizaton of iterators out of loop,
16636         avoid reevaluation.
16637         (expand::Documents): introduce typdedef vector<string> Strings,
16638         and use it.
16639         (expand::ExportFormats): introduce typedef vector<Format const *>
16640         Formats, and use it.
16641         (expand): implement FloatListInsert and FloatInsert.
16642
16643         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16644         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16645         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16646
16647         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16648         handling.
16649         (Dispatch::LFUN_FLOAT_LIST): implement
16650
16651 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16652
16653         * LaTeX.C (run): Fix problem with --export code.
16654
16655 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16656
16657         * BufferView.[Ch] (workarea): removed.
16658         (getClipboard) new method; wrapper for workarea()->getClipboard()
16659
16660         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16661         bug.
16662
16663         * WorkArea.h (width, height, xpos, ypos): These methods all
16664         returned the dimensions of the work_area sub-area of WorkArea,
16665         resulting in a position error if the WorkArea were resized. Now
16666         return the dimensions of the entire WorkArea.
16667
16668         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16669
16670 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16671
16672         * LaTeX.C (deplog): correct the syntax of regex reg1
16673
16674 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16675
16676         * undo.C: remove !NEW_INSETS cruft
16677
16678 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16679
16680         * text2.C: remove !NEW_INSETS cruft
16681
16682         * text.C: remove !NEW_INSETS cruft
16683
16684         * tabular.C: remove !NEW_INSETS cruft
16685
16686         * spellchecker.C: remove !NEW_INSETS cruft
16687
16688         * lyxtext.h: remove !NEW_INSETS cruft
16689
16690         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16691
16692         * lyxfunc.C: remove !NEW_INSETS cruft
16693
16694         * lyxfind.C: remove !NEW_INSETS cruft
16695
16696         * lyx_cb.C: remove !NEW_INSETS cruft
16697
16698         * figureForm.C: remove  !NEW_INSETS cruft
16699
16700         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16701
16702         * buffer.[Ch]: remove !NEW_INSETS cruft
16703
16704         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16705
16706         * CutAndPaste.C: remove !NEW_INSETS cruft
16707
16708         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16709
16710         * BufferView2.C: remove !NEW_INSETS cruft
16711
16712         * BufferView.h: remove !NEW_INSETS cruft
16713
16714 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16715
16716         * Lsstream.h: include LString.h before the sstream headers to
16717         fix problem with gcc 2.95.3 and lyxstring
16718
16719 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16720
16721         * lyx_main.C: add using directives when needed for C functions
16722         declared in std:: namespace.
16723
16724 2001-04-27  Juergen Vigna  <jug@sad.it>
16725
16726         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16727         (SetHeightOfRow): comment out the update call should not be needed!
16728
16729 2001-04-13  Juergen Vigna  <jug@sad.it>
16730
16731         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16732         (LyXTabular): tried to minimize operator= operations (and realized
16733         hopfully Lars wish).
16734
16735 2001-04-27  Juergen Vigna  <jug@sad.it>
16736
16737         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16738
16739 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16740
16741         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16742
16743         * buffer.C (readInset): hack to make listof algorithm work
16744
16745         * BufferView_pimpl.C: hack to make listof algorithm work
16746
16747 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16748
16749         * LyXAction.C: removed all !NEW_INSETS cruft
16750         (init): moved lfun_item in method
16751
16752         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16753
16754 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16755
16756         * BufferView2.C (theLockingInset): white space.
16757
16758 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16759
16760         * minibuffer.C: include <iostream>
16761
16762         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16763
16764         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16765
16766         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16767
16768         * text.[Ch] (TransposeChars): new method
16769
16770 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16771
16772         * call message directly through LyXView instead of through LyXFunc
16773         * BufferView2.C: adjust
16774         * BufferView_pimpl.C: adjust
16775         * FontLoader.C: adjust
16776         * buffer.C: adjust
16777         * bufferview_funcs.C: adjust
16778         * converter.C: adjust
16779         * figureForm.C: adjust
16780         * importer.C: adjust
16781         * lyx_cb.C: adjust
16782         * lyx_gui_misc.C: adjust
16783         * lyxfunc.C: adjust
16784         * lyxvc.C: adjust
16785         * text2.C: adjust
16786         + more files in subdirs
16787
16788         * lyxparagraph.h (size): move up int file
16789         (GetLayout): ditto
16790
16791         * adjust all uses of Assert to lyx::Assert.
16792
16793         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16794         lyxfunctional in namespace lyx
16795         * layout.C (hasLayout): ditto
16796         (GetLayout): ditto
16797         (GetLayout): ditto
16798         (delete_layout): ditto
16799         (NumberOfClass): ditto
16800         * converter.C (GetFormat): ditto
16801         (GetNumber): ditto
16802         (Add): ditto
16803         (Delete): ditto
16804         (SetViewer): ditto
16805         * bufferlist.C (getFileNames): ditto
16806         (emergencyWriteAll): ditto
16807         (exists): ditto
16808         (getBuffer): ditto
16809         * MenuBackend.C (hasSubmenu): ditto
16810         (hasMenu): ditto
16811         (getMenu): ditto
16812         * BufferView_pimpl.C (getInsetByCode): ditto
16813
16814 2001-04-18  Juergen Vigna  <jug@sad.it>
16815
16816         * vspace.C (asLatexString): fixed the 100% problem.
16817
16818 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16819
16820         * lyxfunc.C (Dispatch):
16821         * minibuffer.C:
16822         * minibuffer.h: add a few std:: qualifiers
16823
16824 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16825
16826         * minibuffer.[Ch]: reimplement so that commands is initiated and
16827         run from lyxfunc, simplified som handling, and made the completion
16828         and history code for complete. wip.
16829
16830         * lyxfunc.C (processKeySym): call message
16831         (miniDispatch): new temporary method
16832         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16833         (LFUN_MESSAGE): implement
16834         (LFUN_MESSAGE_PUSH): implement
16835         (LFUN_MESSAGE_POP): implement
16836         (initMiniBuffer): the initial/defualt minibuffer message.
16837
16838         * lyxfont.[Ch]: inline some more getters
16839
16840         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16841
16842         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16843
16844         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16845         (AutoSave): use LFUN_MESSAGE
16846         (Reconfigure): ditto
16847
16848         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16849
16850         * figureForm.C: use LFUN_MESSAGE
16851
16852         * converter.C (runLaTeX): use LFUN_MESSAGE
16853
16854         * bufferview_funcs.C: use LFUN_MESSAGE
16855         (Melt): ditto
16856         (changeDepth): ditto
16857
16858         * bufferparams.h: use boost::
16859
16860         * bufferlist.h: inherit privately from noncopyable
16861
16862         * bufferlist.C (loadLyXFile): remove some commented code.
16863
16864         * buffer.C (runChktex): use LFUN_MESSAGE
16865
16866         * ShareContainer.h: inherit privately from noncopyable
16867
16868         * ParagraphParameters.[hC] (depth): inline it.
16869
16870         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16871         methods.
16872         (message): new method
16873         (messagePush): ditto
16874         (messagePop): ditto
16875         (show): init minibuffer
16876         (showState): direct call
16877
16878         * LaTeX.[Ch]: inherit privately from noncopyable
16879         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16880         instead of WriteStatus.
16881
16882         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16883
16884         * BufferView_pimpl.C (buffer): don't init minibuffer
16885         (workAreaButtonPress): use LFUN_MESSAGE
16886         (workAreaButtonRelease): ditto
16887         (savePosition): ditto
16888         (restorePosition): ditto
16889         (MenuInsertLyXFile): ditto
16890         (workAreaExpose): don't init minibuffer
16891         (update): remove commented code, simplify
16892
16893         * BufferView2.C (openStuff): use LFUN_MESSAGE
16894         (toggleFloat): ditto
16895         (menuUndo): ditto
16896         (menuRedo): ditto
16897         (copyEnvironment): ditto
16898         (pasteEnvironment): ditto
16899         (copy): ditto
16900         (cut): ditto
16901         (paste): ditto
16902         (gotoInset): ditto
16903         (updateInset): remove some commented code
16904
16905         * lastfiles.h: inherit privately from noncopyable
16906         * layout.h: ditto
16907         * lyx_gui.h: ditto
16908         * lyx_main.h: ditto
16909         * lyxlex.h: ditto
16910         * lyxlex_pimpl.h: ditto
16911
16912         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16913         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16914         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16915
16916         * LyXAction.h: inherit privately from noncopyable, add methods
16917         func_begin, func_end, returning iterators to the func map.
16918
16919         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16920         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16921         (func_begin): new method
16922         (func_end): new method
16923
16924         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16925         and not)
16926         (copySelection): ditto
16927         (pasteSelection): ditto
16928
16929         * BufferView.C: whitespace change
16930         * BufferView.h: inherit privately from noncopyable
16931
16932 2001-04-16  Allan Rae  <rae@lyx.org>
16933
16934         * tabular-old.C (l_getline):
16935         * spellchecker.C (sc_check_word):
16936         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16937         an unrecognised preprocessor directive.  So ensure they're wrapped.
16938
16939 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16940
16941         * src/exporter.C (Export): Give an error message when path to file
16942         contains spaces.
16943
16944 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16945
16946         * LaTeX.C (deplog): Always check that foundfile exists.
16947
16948 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16949
16950         * lyx_main.h:
16951         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16952
16953 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16954
16955         * tabular.[Ch] (getLabelList): implement new method
16956
16957         * minibuffer.h: comment ouf setTiimer
16958
16959         * minibuffer.C (ExecutingCB): constify res
16960         (peek_event): constify s
16961         (Set): constify ntext
16962         (Init): constify nicename
16963
16964         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16965
16966         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16967         (savePosition): use two params to Minibuffer::Set
16968         (restorePosition): ditto
16969
16970 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16971
16972         * lyx_main.C: include language.h
16973
16974         * Makefile.am (lyx_main.o): add language.h
16975
16976 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16977
16978         * exporter.C:
16979         * paragraph.C:
16980         * screen.C:
16981         * tabular.C:
16982         * CutAndPaste.C: include gettext.h
16983
16984         * lyxfont.h: remove old hack with ON and OFF.
16985
16986         * lyxparagraph.h:
16987         * lyxfont.h: do not include language.h...
16988
16989         * BufferView2.C:
16990         * LaTeXFeatures.C:
16991         * Painter.C:
16992         * bufferview_funcs.C:
16993         * font.C:
16994         * lyxfont.C:
16995         * text.C:
16996         * text2.C:
16997         * trans_mgr.C:
16998         * paragraph.C: ... but do it here instead
16999
17000 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17001
17002         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17003
17004         * tabular.C: small reformat
17005
17006         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17007         NEW_INSETS version
17008         (GetChar): ditto
17009         (BreakParagraph): ditto
17010         (SetOnlyLayout): ditto
17011         (SetLayout): ditto
17012
17013         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17014         with one arg less.
17015
17016         * lastfiles.C: removed most using decl, add std:: where needed
17017
17018         * buffer.C: ws changes
17019
17020         * MenuBackend.C (class compare_format): put into anon namespace
17021         (expand): constify label, names, action, action2
17022         (expand):
17023
17024         * text.C (SingleWidth): constify font
17025         (IsBoundary): constify rtl2
17026         (GetVisibleRow): constify ww
17027
17028         * LaTeX.C (deplog): constify logfile
17029
17030         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17031         start_x, end_x
17032         (workAreaExpose): constify widthChange, heightChange
17033
17034         * lyxrow.C (par): moved
17035         (height): moved
17036         (next): moved
17037         * lyxrow.h: as inlines here
17038
17039         * lyxfont.h (shape): moved from lyxfont.C
17040         (emph): moved from lyxfont.C
17041
17042         * lyxfont.C (LyXFont): use initialization list for all
17043         constructors
17044         (shape): move to lyxfont.h as inline
17045         (emph): move to lyxfont.h as inline
17046
17047
17048 2001-04-04  Juergen Vigna  <jug@sad.it>
17049
17050         * vspace.C: had to include stdio.h for use of sscanf
17051
17052 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17053
17054         * BufferView.h:
17055         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17056         independent of xforms.
17057
17058 2001-04-02  Juergen Vigna  <jug@sad.it>
17059
17060         * spellchecker.C: fixed namespace placing!
17061
17062 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17063
17064         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17065         the LyXParagraph * is 0.
17066
17067 2001-03-29  Juergen Vigna  <jug@sad.it>
17068
17069         * vspace.C: added support for %, c%, p%, l%.
17070         (stringFromUnit): added helper function.
17071         (asLatexString): changed to give right results for the %-values.
17072
17073         * buffer.C: convert the widthp in a width%.
17074
17075 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17076
17077         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17078         figureForm.[Ch].
17079
17080         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17081         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17082
17083         * lyx_cb.[Ch]: see above.
17084
17085         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17086         form1.[Ch].
17087
17088         * form1.[Ch]:
17089         * lyx.[Ch]: replaced by figure_form.[Ch].
17090
17091         * lyx_gui.C:
17092         * lyx_gui_misc.C:
17093         * lyxfunc.C: changed headers associated with above changes.
17094
17095 2001-03-27  Juergen Vigna  <jug@sad.it>
17096
17097         * BufferView_pimpl.C: set the temporary cursor right!
17098
17099 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17100
17101         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17102
17103 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17104
17105         * LString.h: removed "using std::getline"!
17106
17107         * BufferView_pimpl.C (Dispatch): changes due to changes in
17108         InsetInclude::Params.
17109
17110         * buffer.C (tag_name): removed redundant break statements as they were
17111         producing lots of warnings with my compiler.
17112
17113 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17114
17115         * LString.h: add "using std::getline" when using the real <string>.
17116
17117 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17118
17119         * buffer.C: removed bitset usage.
17120         PAR_TAG moved to an anonymous name space.
17121         (tag_name): new funtion, also in the anonymous namespace.
17122         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17123         (makeDocBookFile): clean code. Completed transition from string arrays
17124         to string vectors.
17125         (SimpleDocBookOnePar): code clean.
17126
17127 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17128
17129         * tabular.C: add some comments.
17130
17131 2001-03-22  Juergen Vigna  <jug@sad.it>
17132
17133         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17134         compatibility read a bit and fixed bug with minipage in different
17135         depth.
17136
17137 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17138
17139         * buffer.C (pop_tag): removed.
17140         (push_tag): removed.
17141         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17142         array replaced with vector. Added support for CDATA sections.
17143         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17144         at any nest level.
17145         (makeDocBookFile): XML conformant declaration of CDATA section,
17146         fixed bug related to <emphasis> in the first paragraph char.
17147         (sgmlOpenTag): exclude empty tags.
17148         (sgmlCloseTag): ditto.
17149
17150         * buffer.h (pop_tag): removed.
17151         (push_tag): removed.
17152
17153 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17154
17155         * language.h (Languages): added size_type and size().
17156
17157 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17158
17159         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17160         response on compability reading of minipages. One probliem is that
17161         the old usage of minipages was «flertydig»
17162
17163         * several files here and in subdirs: don't use static at file
17164         scope use anon namespaces instead.
17165
17166 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17167
17168         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17169         LaTeX output. This is necessary for Literate document
17170         processing.
17171
17172 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17173
17174         * buffer.C: insert hfill when needed.
17175
17176         * tabular.C (l_getline): use string::erase, small whitespace change.
17177
17178         * BufferView_pimpl.C: try the anon namespace.
17179         * WorkArea.C: ditto
17180
17181 2001-03-16  Juergen Vigna  <jug@sad.it>
17182
17183         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17184         otherwise it won't open options-dialogs.
17185
17186         * buffer.C: honor pextraWidth(p) on converting minipages.
17187
17188         * tabular.C (l_getline): changed the functions to strip trailing \r.
17189
17190 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17191
17192         * BufferView_pimpl.C:
17193         * minibuffer..C: added "using SigC::slot" declaration.
17194
17195 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17196
17197         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17198
17199         * text2.C: ditto
17200
17201         * text.C: ditto
17202
17203         * paragraph.C: ditto
17204
17205         * lyxtext.h: NO_PEXTRA
17206
17207         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17208
17209         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17210         * ParameterStruct.h: ditto
17211         * ParagraphParameters.h: ditto
17212         * lyxparagraph.h: ditto
17213
17214 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17215
17216         * buffer.C: add compability for minipage alignment.
17217         (latexParagraphs): remove unwanted pextra check.
17218
17219         * several files: remove CXX_WORKING_NAMESPACES
17220
17221         * buffer.C (pop_tag): tie is in namespace boost
17222
17223         * BufferView.h: noncopyable is in namespace boost
17224         * lyxlex.h: ditto
17225         * lyx_main.h: ditto
17226         * lyx_gui.h: ditto
17227         * layout.h: ditto
17228         * lastfiles.h: ditto
17229         * bufferlist.h: ditto
17230         * ShareContainer.h: ditto
17231         * LyXView.h: ditto
17232         * LyXAction.h: ditto
17233         * LaTeX.h: ditto
17234
17235 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17236
17237         * Merging changes from BRANCH_MVC back into HEAD.
17238
17239         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17240
17241 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17242
17243         * BufferView_pimpl.C: change from intl.C
17244
17245         * combox.h:
17246         * combox.C:
17247         * Makefile.am: move combox.*
17248
17249         * form1.h:
17250         * form1.C:
17251         * lyx_gui.C:
17252         * intl.h:
17253         * intl.C: remove dialog (covered by prefs)
17254
17255 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17256
17257         * lyxfunc.C (Dispatch): removed redundant break statement.
17258
17259 2001-03-14  Juergen Vigna  <jug@sad.it>
17260
17261         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17262
17263 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17264
17265         * buffer.C: add hack to fix compability reading of minipages.
17266
17267 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17268
17269         * buffer.C (getLists): Cleanup.
17270
17271 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17272
17273         * lyxfont.C (update): don't honor toggleall on font size.
17274
17275 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17276
17277         * bmtable.c:
17278         * bmtable.h:
17279         * Makefile.am: moved to frontends/xforms/
17280
17281         * lyx_gui_misc.C:
17282         * lyxfunc.C:
17283         * BufferView_pimpl.C: changes for moved mathpanel
17284
17285 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17286
17287         * gettext.h: fix gettext_init() in --disable-nls
17288
17289 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17290
17291         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17292
17293 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17294
17295         * lyx.C:
17296         * lyx.h: strip external form
17297
17298 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17299
17300         * BufferView_pimpl.C: add comment, destroySplash()
17301
17302 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17303
17304         * BufferView_pimpl.C:
17305         * LyXAction.C:
17306         * buffer.C:
17307         * commandtags.h:
17308         * lyxfunc.C: use re-worked insetinclude
17309
17310 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17311
17312         * buffer.C: add using std::stringstream.
17313
17314         * lyx_cb.C: readd using std::ios.
17315
17316         * buffer.C: add using std::map.
17317
17318         * BufferView_pimpl.C: add using std::vector.
17319
17320         * ShareContainer.h: add std:: to swap.
17321
17322         * buffer.h: add some typedefs
17323         * buffer.C (getLists): use them
17324         (getLists): renamed from getTocList.
17325         add a counter for the different float types and use it in the
17326         generated string.
17327         (getLists): use the same counter for the NEW_INSETS and the "non"
17328         NEW_INSETS
17329
17330         * lyx_cb.h: remove unused items, includes, using etc.
17331
17332         * ShareContainer.h: remove some commented code, add more comments
17333         and "documentation".
17334
17335 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17336
17337         * buffer.C (getTocList): make the list also when NEW_INSETS is
17338         defined.
17339
17340         * buffer.h: remove TocType
17341
17342         * buffer.C (getTocList): change to return a map<string,
17343         vector<TocItem> >, implement for dynamic number of list.
17344
17345         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17346         * text2.C (PasteSelection): adjust
17347         * CutAndPaste.C (pasteSelection): adjust
17348
17349         * FloatList.C (FloatList): update from the new_insets branch.
17350         * Floating.[Ch]: ditto
17351         * LaTeXFeatures.C: ditto
17352         * buffer.C: ditto
17353         * lyxlex_pimpl.C: ditto
17354
17355         * paragraph.C (Last): remove when NEW_INSETS is defined.
17356
17357         * other file: changes because of the above.
17358
17359 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17360
17361         * lyxparagraph.h: rename next to next_, previous to previous_,
17362         make them private for NEW_INSETS. Rename Next() to next(),
17363         Previous() to previous().
17364
17365         * other files: changes because of the above.
17366
17367 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17368
17369         * BufferView.h:
17370         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17371         problem.
17372
17373 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17374
17375         * main.C (main): pass lyx_localedir to gettext_init().
17376
17377         * gettext.h: remove locale_init and gettext_init macros
17378
17379         * gettext.C (locale_init): new function
17380         (gettext_init): new function
17381
17382         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17383         setlocale().
17384
17385 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17386
17387         * Moved credits to frontends:
17388         * credits.[Ch]: removed
17389         * credits_form.[Ch]: removed
17390         * lyx_gui_misc.C: remove credits stuff
17391         * Makefile.am:
17392
17393 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17394
17395         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17396
17397         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17398         unneeded destructor.
17399
17400         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17401         a standalone pointer again.
17402
17403         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17404
17405 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17406
17407         * Makefile.am:
17408         * filedlg.h:
17409         * filedlg.C:
17410         * LyXAction.C:
17411         * ToolbarDefaults.C:
17412         * bufferlist.C:
17413         * commandtags.h:
17414         * form1.C:
17415         * form1.h:
17416         * lyx_cb.C:
17417         * lyx_cb.h:
17418         * lyxfunc.h:
17419         * lyxfunc.C:
17420         * BufferView_pimpl.C: use new file dialog in GUII
17421
17422         * lyx_cb.h:
17423         * lyx_cb.C: remove LayoutsCB to Toolbar
17424
17425 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17426
17427         * ShareContainer.h (get): add std:: qualifier
17428
17429 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17430
17431         * ShareContainer.h: define a proper ShareContainer::value_type
17432         type (and use typename to please compaq cxx)
17433
17434 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17435
17436         * lyxparagraph.h: move serveral local vars to
17437         ParameterStruct/ParagraphParameters., use ShareContainer in
17438         FontTable., make vars in FontTable private and add getter and
17439         setter.
17440
17441         * paragraph.C: changes because of the above.
17442
17443         * lyxfont.h: remove copy constructor and copy assignment. (the
17444         default ones is ok), move number inside FontBits. move inlines to
17445         lyxfont.C
17446
17447         * lyxfont.C: add number to initializaton of statics, move several
17448         inlines here. constify several local vars. some whitespace
17449         cleanup. Dont hide outerscope variables.
17450
17451         * Spacing.h: add two new constructors to match the set methods.
17452
17453         * ShareContainer.h: new file, will perhaps be moved to support
17454
17455         * ParameterStruct.h: new file
17456
17457         * ParagraphParameters.h: new file
17458
17459         * ParagraphParameters.C: new file
17460
17461         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17462         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17463
17464         * BufferView_pimpl.C: ParagraphParameter changes.
17465         * buffer.C: Likewise.
17466         * bufferview_funcs.C: Likewise.
17467         * text.C: Likewise.
17468         * text2.C: Likewise.
17469
17470 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17471
17472         * lyxfind.C (LyXReplace): do not redefine default argument in
17473         implementation.
17474         (IsStringInText): ditto
17475         (SearchForward): ditto
17476         (SearchBackward): ditto
17477
17478 2001-03-06  Juergen Vigna  <jug@sad.it>
17479
17480         * lyxfind.C (IsStringInText): put parentes around expressions.
17481
17482 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17483
17484         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17485
17486 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17487
17488         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17489
17490         * stl_string_fwd.h: add comment
17491
17492         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17493
17494         * tabular.h:
17495         * tabular.C: remove unused DocBook methods
17496
17497         * intl.C:
17498         * language.C:
17499         * paragraph.C:
17500         * buffer.C:
17501         killed DO_USE_DEFAULT_LANGUAGE
17502
17503 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17504
17505         * lyx_gui.C: do not include language.h.
17506
17507         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17508         arguments in function implementation.
17509
17510 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17511
17512         * BufferView_pimpl.C: add <ctime>
17513
17514 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17515
17516         * BufferView_pimpl.C: add using std::find_if
17517
17518 2001-02-27  José Matos  <jamatos@fep.up.pt>
17519
17520         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17521         by OnlyPath.
17522
17523 2001-02-11  José Matos  <jamatos@fep.up.pt>
17524
17525         * buffer.C (makeDocBookFile): command styles now have a parameter as
17526         "title" by default.
17527
17528 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17529
17530         * layout_forms.[Ch]: removed
17531         * lyx_cb.[Ch]: out character
17532         * lyx_gui.C: out character
17533         * lyx_gui_misc.C: out character
17534         * bufferview_funcs.C: : out character,
17535         added toggleall as parameter in ToggleAndShow
17536
17537 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17538
17539         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17540
17541         * text2.C (SetCurrentFont): Disable number property at boundary.
17542
17543 2001-02-26  Juergen Vigna  <jug@sad.it>
17544
17545         * lyxfunc.C (getStatus): added a string argument override function so
17546         that this is correctly called from LyXFunc::Dispatch if it contains a
17547         do_not_use_argument which is used!
17548         (Dispatch): added check for "custom" export and call appropriate func.
17549
17550 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17551
17552         * lyxrc.C: Add language_command_local, language_use_babel and
17553         language_global_options.
17554
17555         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17556
17557         * buffer.C (makeLaTeXFile): Use language_use_babel and
17558         language_global_options.
17559
17560 2001-02-23  Juergen Vigna  <jug@sad.it>
17561
17562         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17563         which works with LyXText and putted it inside BufferView. Here now we
17564         only call for that part the BufferView::Dispatch() function.
17565
17566         * BufferView.C (Dispatch): added.
17567
17568         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17569         functions which needs to use a LyXText over from LyXFunc.
17570         (MenuInsertLyXFile): added
17571         (getInsetByCode): added
17572         (moveCursorUpdate): added
17573         (static TEXT): added
17574
17575 2001-02-22  Juergen Vigna  <jug@sad.it>
17576
17577         * BufferView_pimpl.C (update): call a status update to see if LyXText
17578         needs it.
17579
17580 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17581
17582         * vc-backend.C (revert): implement for CVS
17583         (getLog): implement for CVS
17584
17585 2001-02-20  Juergen Vigna  <jug@sad.it>
17586
17587         * text2.C (ClearSelection): added BufferView param for inset_owner call
17588
17589         * lyxfunc.C (TEXT): added this function and use it instead of
17590         directly owner->view()-text of getLyXText().
17591
17592 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17593
17594         * src/layout_forms.C: out preamble
17595         * src/layout_forms.h: out preamble
17596         * src/lyx_cb.C: out preamble
17597         * src/lyx_cb.h: out preamble
17598         * src/lyx_gui.C: out preamble
17599         * src/lyx_gui_misc.C: out preamble
17600         * src/lyxfunc.C: connect with guii preamble
17601
17602 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17603
17604         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17605
17606 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17607
17608         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17609         whether to run bibtex.
17610
17611 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17612
17613         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17614
17615 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17616
17617         * Makefile.am (lyx_SOURCES): removed bibforms.h
17618
17619         * vspace.h: doxygen
17620
17621         * text.C (GetVisibleRow): make several local vars const
17622
17623         * tabular.C: small cleanup.
17624
17625         * lyxserver.C (callback): use compare instead of strncmp
17626
17627         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17628         inlines to after class or to paragraph.C
17629
17630         * lyxfont.h: remove friend operator!=
17631
17632         * converter.h: move friend bool operator< to non friend and after
17633         class def.
17634
17635         * combox.h: small cleanup
17636
17637         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17638         to inlines after class def.
17639
17640         * buffer.C (pop_tag): use string operations instead of strcmp
17641
17642         * bmtable.c: doxygen, small cleanup
17643
17644         * LaTeX.h: remove friend operator==
17645
17646 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17647
17648         * screen.C:
17649         * lyxrc.[Ch]:
17650         * lyxfunc.C:
17651         * lyxfont.[Ch]:
17652         * lyx_cb.C:
17653         * intl.[Ch]:
17654         * commandtags.h:
17655         * buffer.C:
17656         * WorkArea.[Ch]:
17657         * LyXAction.C:
17658         * BufferView_pimpl.C:
17659         * BufferView.[Ch]: remove cruft
17660
17661 2001-02-14  Juergen Vigna  <jug@sad.it>
17662
17663         * lyxfunc.C: removed #if 0 unused code
17664
17665         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17666
17667         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17668
17669         * text2.C (SetSelection): added a BufferView * parameter
17670
17671 2001-02-13  Juergen Vigna  <jug@sad.it>
17672
17673         * lyxfunc.C (Dispatch): fixed protected blank problem.
17674         * BufferView2.C (protectedBlank): added LyxText * parameter.
17675
17676         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17677         (AppendColumn): same as above for column_info.
17678
17679         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17680         (moveCursorUpdate): use a LyXText param for support of InsetText.
17681
17682         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17683         (tripleClick): ditto
17684
17685         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17686
17687         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17688
17689         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17690
17691         * text2.C (SetSelection): set correct update status if inset_owner
17692         (ToggleFree): ditto
17693
17694 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17695
17696         * tabular.C: remove some commented code.
17697
17698 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17699
17700         * BufferView_pimpl.C: call hideSplash()
17701
17702         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17703
17704         * include_form.h:
17705         * bibforms.h: remove
17706
17707         * lyxfunc.C:
17708         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17709           add LFUN_CHILD_CREATE
17710
17711         * counters.h: fix tiny typo
17712
17713         * lyx_cb.C:
17714         * lyx.h:
17715         * lyx_gui.C:
17716         * lyx.C: move splash to frontends/xforms/
17717
17718         * lyx_gui_misc.C: move Include and Bibform to frontends
17719
17720         * lyxvc.h: clarify comment
17721
17722         * vspace.C: tiny housekeeping
17723
17724 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17725
17726         * text.C (PrepareToPrint): RTL Fix.
17727
17728         * paragraph.C (GetUChar): New method.
17729         (String):  Use GetUChar.
17730
17731         * buffer.C (asciiParagraph): Use GetUChar.
17732
17733 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17734
17735         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17736
17737 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17738
17739         * buffer.h:
17740         * buffer.C: rename to getLogName(), handle
17741           build log / latex log nicely
17742
17743 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17744
17745         * MenuBackend.C:
17746         * MenuBackend.h: remove support for reference menuitem type.
17747
17748 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17749
17750         * BufferView_pimpl.C: housekeeping
17751         * BufferView_pimpl.h:
17752         * LyXView.h:
17753         * Makefile.am:
17754         * Timeout.C:
17755         * Timeout.h:
17756         * minibuffer.h: move Timeout GUI-I
17757
17758 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17759
17760         * lyxrc.C (read): Update converters data-structures.
17761
17762 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17763
17764         * LaTeX.h (operator!=): add operator != for Aux_Info
17765
17766 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17767
17768         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17769
17770         * LaTeXLog.C: deleted, useful code moved to Buffer
17771
17772         * buffer.h:
17773         * buffer.C: new function getLatexLogName()
17774
17775         * lyx_gui_misc.C:
17776         * lyx_gui.C:
17777         * lyxvc.C:
17778         * lyxvc.h:
17779         * lyxfunc.C: use frontends for LaTeX and VC logs
17780
17781 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17782
17783         * LaTeX.h: yet another std:: that Allan forgot.
17784
17785         * Variables.C (set): renamed from isset(), because this clashes
17786         with some HP-UX macros (grr).
17787
17788 2001-02-06  Allan Rae  <rae@lyx.org>
17789
17790         * LaTeX.h: Another bug fix.  Missing std:: this time.
17791
17792 2001-02-04  Allan Rae  <rae@lyx.org>
17793
17794         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17795         floats problem. I've left it commented out because it's not quite
17796         correct.  It should also test that the current object is a table or
17797         figure inset.  But I haven't gotten around to figuring out how to do
17798         that.  I *think* it'll be something like: "table" == inset.type()
17799
17800         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17801         bool.
17802
17803 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17804
17805         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17806         all the citation/databases/styles in the auxilary file.
17807         (run): Rerun latex if there was a babel language error.
17808
17809 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17810
17811         * text.C (Backspace): Preserve the font when changing newline char
17812         with a space.
17813         (BreakParagraph): If the cursor is before a space, delete the space.
17814
17815         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17816
17817 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17818
17819         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17820         new argument (code).
17821         (ChangeCitationsIfUnique): New method.
17822
17823         * paragraph.C (GetPositionOfInset): Handle bibkey.
17824
17825 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17826
17827         * BufferView_pimpl.h: change type of Position::par_pos to
17828         LyXParagraph::size_type.
17829
17830 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17831
17832         * BufferView_pimpl.C (savePosition, restorePosition): Write
17833         messages to minibuffer.
17834
17835 2001-01-28  José Matos  <jamatos@fep.up.pt>
17836
17837         * buffer.C (makeDocBookFile): adds support for document language.
17838         A silly restriction on the name of LatexCommand types where removed.
17839         Added support for CDATA sections, allows to chars unescaped, used
17840         among others in code, to avoid escape < and >.
17841
17842 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17843
17844         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17845         saved positions instrad of a stack. Furthermore, a position is
17846         stored using paragraph id/paragraph position.
17847
17848         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17849         Remove LFUN_REF_BACK.
17850
17851 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17852
17853         * converter.C (dvipdfm_options): New method.
17854
17855 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17856
17857         * vspace.C (isValidLength): Fix for empty input string.
17858
17859 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17860
17861         * LyXAction.C (init): change description of LFUN_FIGURE to
17862         "Insert Graphics"
17863
17864 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17865
17866         * LaTeX.C: add using directive
17867
17868 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17869
17870         * MenuBackend.C (expand): Fix the sorting of the formats.
17871
17872 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17873
17874         * lyx_main.C: tiny error message fix
17875
17876 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17877
17878         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17879         calling fl_initialize(). This fixes the problem with ',' as
17880         decimal separator in text files.
17881
17882 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17883
17884         * trans.C (process): Fix the keymap bug.
17885
17886 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17887
17888         * LaTeX.C (scanAuxFiles): New method. Provides support for
17889         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17890         (scanLogFile) Scan for "run BibTeX" messages.
17891
17892         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17893         OT1 font encoding. Also, load the aecompl package if the ae
17894         package is loaded.
17895
17896         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17897
17898 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17899
17900         * texrow.C (increasePos): turn two error messages into debug
17901         messages.
17902
17903 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17904
17905         * LaTeX.C (scanAux): Handle the \@input macro.
17906         (runBibTeX): Use scanAux().
17907
17908         * language.C (latex_options_): New field.
17909
17910         * LaTeXFeatures.C (getMacros): Add language macros.
17911
17912         * buffer.C (makeLaTeXFile): Small fix.
17913
17914 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17915
17916         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17917
17918         * text2.C: add a using directive.
17919
17920 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17921
17922         * BufferView2.C:
17923         * lyx_gui_misc.h:
17924         * lyxfr1.C:
17925         * lyxfunc.C: kill LyXBell.
17926
17927 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17928
17929         * text.C (IsBoundary): Remove the error message
17930
17931         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17932
17933         * lyxrc.C (setDefaults): Correct initialization value for
17934         font_norm_type.
17935
17936 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17937
17938         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17939         gotoError().
17940
17941         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17942         and GotoNextNote().
17943
17944         * src/LyXAction.C: Added reference-next.
17945
17946         * text.C (InsertChar): Use contains instead of strchr.
17947
17948         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17949
17950 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17951
17952         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17953         alignment commands (when needed).
17954
17955         * text.C (InsertChar): Add ':' to number separator chars.