]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
6c7845e76dacb5bae26b2f7c4cd375a225c786cd
[lyx.git] / src / ChangeLog
1 2005-07-16  Juergen Vigna  <jug@lyx.org>
2
3         * text.C (singleWidth): Just remove bogus check
4
5 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
6
7         * funcrequest.C (split): avoid reading uninitialized char c
8
9 2005-07-16  José Matos  <jamatos@fc.up.pt>
10
11         * buffer.C:
12         * converter.C:
13         * lyxrc.C:
14         * paper.h:
15         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
16         single papersize variable.
17
18 2005-07-16  Juergen Vigna  <jug@lyx.org>
19
20         * text3.C (dispatch): honor boundary when checking if a cursor
21         movement has been done
22
23         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
24         (setCursor, setCursorIntern): fix cursor movement with boundary
25
26 2005-07-16  Juergen Vigna  <jug@lyx.org>
27
28         * text.C (currentState): output the actual Boundary
29
30 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
31
32         * factory.C (createInset): fix bad logic for tabular creation
33
34 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
35
36         * lyx_main.C (init): change some reLyX reference to tex2lyx
37
38 2005-07-16  Juergen Vigna  <jug@lyx.org>
39
40         * dociterator.C (DocIterator): initialize boundary
41
42 2005-07-16  Juergen Vigna  <jug@lyx.org>
43
44         * text2.C (getColumnNearX): Consider rows without trailing blank.  
45
46 2005-07-16  André Pönitz  <poenitz@gmx.net>
47
48         * lyxfont.h: Change order of declarations to give the compiler
49         a better chance to inline things
50
51         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
52         questions on unsaved docs for better scritability
53
54 2005-07-16  André Pönitz  <poenitz@gmx.net>
55
56         * paragraph.h (getChar): remove asserts as the same kind of security
57         can be achieved by using a suitable standard library implementation
58         and the function was in the critical path (25.9% in profiler)
59
60 2005-07-16  Juergen Vigna  <jug@lyx.org>
61
62         * cursor.C (bruteFind2):
63         * bufferview_funcs.C (coordOffset): 
64         * text.C (cursorX,cursorY): Handle cursor position after last char
65         in row before a inset which uses a whole row.
66
67 2005-07-15  José Matos <jamatos@lyx.org>
68
69         * output_plaintext.[Ch] (writeFileAscii): control reference title
70         printing.
71         (asciiParagraph): noparbreak was already deal and was incorrectly
72         used.
73
74 2005-07-15  Juergen Vigna <jug@lyx.org>
75
76         * lyxfunc.C (dispatch): save and restore the cursor after a
77         textclass switch.
78
79 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
80
81         * text.C (backspace): bug 806 for empty keepempty paragraphs we
82         change the layout to default before letting DEPM do its thing.
83
84         * paragraph_funcs.C (breakParagraph): dont reset the layout on
85         keepEmpty paragraphs
86
87         * text.C (setCursorFromCoordinates): add a debug statement
88
89         * text2.C (getColumnNearX): bug 1825 make sure that we don't
90         return a pos that is not on the row
91
92         * output_latex.C (TeXDeeper): get rid of potential dereferencing
93         of past the end iterator
94
95 2005-07-14  André Pönitz  <poenitz@gmx.net>
96
97         * undo.C (recordUndoFullBuffer): implement undo for
98         textclass switches
99
100 2005-07-14  André Pönitz  <poenitz@gmx.net>
101
102         * cursor.C (setSelection): open insets when selection is set there
103         to avoid crashs with cold coord cache
104
105 2005-07-14  André Pönitz  <poenitz@gmx.net>
106
107         * trans_mgr.C (insert): move cursor to the right after inserting
108         a char.
109
110 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
111
112         * BufferView_pimpl.C (update): dampen some of the debug blabbering
113         * factory.C (readInset): ditto
114         * text.C, text2.C: ditto
115
116 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
117
118         * buffer.C: format incremented to 242. There is no file format per
119         se, but the "frenchb" language has been removed from lib/language
120         and has to be translated to "french" by lyx2lyx.
121
122 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
123
124         * cursor_slice.h, dociterator.h: add some documentation
125         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
126
127 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
128
129         * text.C (leftMargin): do not add identation to display() style
130         insets, because they are always centered (bug 1293).
131
132 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
133
134         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
135         formatted_time methods in support/lyxtime.
136
137 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
138
139         * toc.[Ch]: new method getGuiName, which is used by the frontends 
140         to set the toc combo (fixes bug 1870). Make TOC string translatable.
141
142 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
143
144         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
145         StableDocIterator const &)
146         * undo.C (recordUndo): use the above instead of cell.size() comparison
147         (fixes bug 1808; instructed by André).
148
149 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
150
151         * cursor_slice.h: 
152         * dociterator.h: Fix the assert when copying rows/cols in math
153
154 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
155
156         * BufferView_pimpl.C:
157         * LyXAction.C:
158         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
159
160         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
161         (findInset): new functions, refactored from goto Inset that return 
162         the position of a certain inset without setting the buffer's cursor
163         (by Jean-Marc); 
164         (gotoInset): rewrite to call findInset and then set the cursor
165         (by Jean-Marc).
166
167 2005-06-16  Angus Leeming  <leeming@lyx.org>
168
169         * lyxrc.C (output, read): wrap all input and output of paths with
170         calls to os::internal_path and os::external_path, respectively.
171         (output): wrap bind_file inside quotes.
172
173         * format.C (view): enable the viewer to use the '$$s' placeholder.
174
175 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
176
177         * LColor.[Ch] (getFromLaTeXName): new
178
179 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
180
181         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
182
183 2005-06-14  Angus Leeming  <leeming@lyx.org>
184
185         * lyx_main.C (init): ensure that the LyX binary dir is the first
186         element in the PATH on non-POSIX builds.
187
188 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
189
190         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
191
192 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
193
194         * rowpainter.C (paintInset, paintHebrewComposeChar)
195         (paintArabicComposeChar, paintChars): add a LyXFont argument.
196         (paintChars): use getFontSpan to reduce calls to getFont to a
197         minimum; use Paragraph::lookupChange instead of isXXXText.
198         (paintForeignMark): rename LyXFont argument.
199         (paintFromPos): pass a LyXFont object to the various paintXXX
200         methods.
201
202         * FontIterator.C (FontIterator, operator++): use
203         Paragraph::getFontSpan
204
205         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
206         version that returns the font span as a pair.
207
208 2005-06-09  Angus Leeming  <leeming@lyx.org>
209
210         * converter.C (convert): Don't forget "outfile = real_outfile" as
211         the final step in a conversion where the input and output file names
212         are the same. Otherwise, future conversion steps won't work...
213
214 2005-06-09  Angus Leeming  <leeming@lyx.org>
215
216         * lyxsocket.C: remove stub code as it isn't needed by
217         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
218
219 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
220
221         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
222         effectively disabled -x
223
224 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
225
226         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
227         when it actually makes sense.
228
229 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
230
231         * BufferView_pimpl.C: revert to showCursor in connection with
232         Lars's front-end stack
233
234 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
235
236         * text.C (redoParagraph): move cursor right after a bibitem
237         has been inserted.
238
239         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
240
241 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
242
243         * buffer_funcs.C (bufferErrors): fix computation of the end of an
244         error range.
245
246 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
247
248         * BufferView.[Ch] (update):
249         * BufferView_pimpl.[Ch] (update, metrics):
250         * dimension.h (operator==):
251         * lyxfunc.C (dispatch):
252         * metricsinfo.h (ViewMetricsInfo):
253         * rowpainter.C (paintText):
254         * lyxtext.h:
255         * text.C (redoParagraph):
256         * text3.C (dispatch): Make LyX only repaint current paragraph in
257         case of character insert --> speedup. Also fix cursor draw
258         artifacts
259
260 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
261
262         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
263         avoid a crash (bug 1891)
264
265 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
266
267         Fix bug 1892:
268
269         * text2.C (getStringToIndex): constify cur argument.
270
271         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
272         argument has been given
273         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
274         try to invoke LFUN_INSET_APPLY).
275
276         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
277         if no inset was created by doInsertInset
278         (doInsertInset): return true if an inset has been inserted.
279
280 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
281
282         * vspace.C (asGUIName): new method. A version of the space
283         suitable for showing on screen.
284
285 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
286
287         * MenuBackend.C:
288         * lyxrc.C: rename "ASCII" to "Plain Text"
289
290 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
291
292         * buffer_funcs.C (expandLabel): take a Buffer as argument;
293         translate the labelstring.
294         (setCounter): translate labelstring as needed.
295
296         * output_docbook.C (makeCommand): fix expandLabel invokation
297
298 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
299
300         * BufferView.C: fix dialog title
301
302 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
303
304         * lyx_main.C (priv_exec): fix logic error with help from Angus
305         * lyx_main.C (parse_execute): set is_gui = false and remove now
306         obsolete comment about a segfault
307
308 2005-05-18  Angus Leeming  <leeming@lyx.org>
309
310         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
311
312 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
313
314         * tabular.[hC]: added setCellInset to fix tabular paste.
315
316 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
317
318         * buffer.C (save): check if destination is writable before trying
319         to copy a file
320
321 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
322
323         * BufferView_pimpl.C (update): fix processEvents -caused update
324         recursion bug
325
326 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * buffer_funcs.C (setCounter): fix test for numbering of
329         environments.
330
331         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
332         depth correctly; use optional argument when it exists
333
334         * lyxtextclass.C: remove unused MaxCounterTags enum
335         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
336         (max_toclevel, min_toclevel): new methods.
337
338         * MenuBackend.C (expandToc2): fix case where depth is smaller than
339         the smallest depth in toc.
340
341         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
342         layouts that should not appear in a table of contents.
343
344 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
345
346         * cursor.h (undispatched, noUpdate): add comments from André
347
348 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
349
350         * lfuns.h:
351         * LyXAction.C:
352         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
353
354 2005-05-07  André Pönitz  <poenitz@gmx.net>
355
356         * cursor.[Ch] (leaveInset): new function
357
358 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
359
360         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
361
362 2005-05-04  Angus Leeming  <leeming@lyx.org>
363
364         * lyxfunc.C (getStatus): disable the spell checker dialog if
365         none of USE_[AIP]SPELL are defined.
366
367 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
368
369         * tabular.C (setWidthOfCell): remove obsolete comment
370
371 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
372
373         * paragraph.C (bibitem):
374         * buffer_funcs.C (setCounter):
375         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
376
377 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
378
379         * text3.C (getStatus): immediately return after setOnOff
380
381         * rowpainter.C: fix drawing of appendix start
382
383 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
384
385         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
386         SwitchBetweenClasses and remove the unused return value.
387         Handle character styles, too
388
389 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
390
391         * factory.C (createInset): handle undefined character styles
392
393 2005-05-02  Angus Leeming  <leeming@lyx.org>
394
395         * buffer.C: protect the #include of utime.h with a preprocessor
396         guard.
397
398 2005-05-02  Angus Leeming  <leeming@lyx.org>
399
400         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
401         function so that auto-saving works, albeit in a blocking manner.
402
403         * Makefile.am: make compilation of the client sub directory, of
404         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
405         on conditionals set at configure time.
406
407         * SpellBase.[Ch]: no longer an abstract base class. Instead,
408         it can be compiled in its own right but has no-op functionality.
409
410         * aspell.C, pspell.C: remove preprocessor guards. The files should
411         be compiled only if the necessary functionality exists.
412
413         * lyxserver.C, lyxsocket.C: disable on Windows.
414
415 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
416
417         * text.C (leftMargin): Fix the parindent use bug (1764)
418         by dirty trick
419
420 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
421
422         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
423         argument.
424
425 2005-04-25  Angus Leeming  <leeming@lyx.org>
426
427         * Bidi.[Ch]:
428         * coordcache.[Ch]:
429         * ispell.C:
430         * lyxserver.C:
431         * mover.C:
432         * pch.h:
433         include <config.h> in .C files, not .h ones.
434         add licence blurb.
435         protect headers inside preprocessor guards.
436
437 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
438
439         * FuncStatus.h (StatusCodes): document
440
441 2005-04-21  André Pönitz  <poenitz@gmx.net>
442
443         * FuncStatus.h (enabled, onoff): document
444
445 2005-04-19  Angus Leeming  <leeming@lyx.org>
446
447         * BufferView_pimpl.C (cursorToggle): no longer test whether
448         any child processes have been reaped before calling
449         handleCompletedProcesses().
450
451 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
452
453         * text3.C (dispatch): fix, finally fix, the language problem in
454         new lyxtexts, without disabling on-the-fly font changes (Helge's
455         bug report)
456
457 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
458
459         * text3.C (dispatch): set cursor on double/triple click events
460         (bug 1811)
461
462 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
463
464         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
465         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
466
467         * rowpainter.C (paintFirst): simplify the code a little bit. In
468         particular, remove the test for secnumdepth.
469         * text.C (setHeightOfRow): only allocate space for chapter number
470         when updateCounters provided an actual label, instead of looking
471         at secnumdepth directly.
472
473         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
474
475         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
476         paragraphs when secnumdepth is large enough or, for environments,
477         when they are not the first in a sequence.
478
479 2005-04-17  Angus Leeming  <leeming@lyx.org>
480
481         * buffer.C (makeLaTeXFile): replace code to manipulate a path
482         containing space and '~' characters with a call to latex_path().
483
484 2005-04-17  Angus Leeming  <leeming@lyx.org>
485
486         * converter.C (convert): protect all args of convertDefault.sh
487         script with quotes.
488
489 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
490
491         * text3.C (dispatch): change the layout to "Caption" after inserting
492         a float.
493
494 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
495
496         * text3.C (dispatch): fix language problem in newly created
497         textinsets (and main text) in non-english docs
498
499 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
500
501         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
502         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
503         * text3.C (getStatus): disable LFUN_INSET_MODIFY
504
505 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
506
507         * lyxtext.h:
508         * text.C (metrics):
509         * text2.C (getFont):
510         * rowpainter.C (getFont): Fix metrics bug introduced by inset
511         fonts fix
512
513 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
514
515         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
516         output of \item arguments without trailing text.
517
518 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
519
520         * FontIterator.C (operator*): avoid a copy of the font.
521
522 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
523
524         * rowpainter.C (getFont): fix language bug from previous fix
525
526 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
527
528         * rowpainter.C (RowPainter, getFont): fix font inside inset
529         (bugs 1766, 1809)
530
531 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
532
533         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
534         preventing inserted font, deco, delim insets jumping to start of
535         surrounding inset.
536
537 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
538
539         * lyxfunc.C (dispatch): translate message before sending it to the
540         minibuffer.
541
542 2005-03-29  Angus Leeming  <leeming@lyx.org>
543
544         * lyx_main.C (priv_exec): call os::internal_path on each file passed
545         to LyX on the command line.
546
547 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
548
549         * vc-backend.C: use QuoteName to protect file names wherever
550         necessary.
551
552 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
553
554         * buffer.[Ch]:
555         * BranchList.h: fix bugs 1844,1845: document settings don't
556         stick
557
558 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
559
560         * lyxrc.C (setDefaults, read, output, getDescription): add support
561         for tex_allows_spaces.
562
563         * exporter.C (Export): allows files in directory containing spaces
564         if tex_allows_spaces is true.
565
566         * buffer.C (makeLaTeXFile): if the document path contains spaces,
567         output it in double quotes.
568
569 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
570
571         * rowpainter.C: use default text height for drawing change tracker
572         strikeout lines.
573
574 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
575
576         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
577
578 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
579
580         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
581         directory is missing.
582
583 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
584
585         * text2.C: fixed the fix, extended to other case.
586
587 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
588
589         * text2.C: fix for cursor up/down stuck in math [bug 1792]
590
591 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
592
593         * text2.C (cursorUp): get rid of a crash
594         * text.C (x2pos): add an assert
595
596 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
597
598         * lyxfunc.C (getStatus): fix warning when assertions are disabled
599
600         * text3.C:
601         * lyxfunc.C:
602         * dociterator.C: include <boost/current_function.hpp>, which is
603         needed when assertions are disabled.
604
605 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
606
607         * text2.C: fix for stuck cursor when traversing two
608         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
609
610 2005-02-25  Andreas Vox  <avox@arcor.de>
611
612         * output_docbook.C (makeParagraph): suppress trailing newline
613         after a run of paragraphs
614
615 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
616
617         * paragraph.C: fix for confused change tracker when pasting
618         text that begins with a lineseparator. [bug 1827]
619         (setChange(0, Change::INSERTED);)
620
621         * paragraph_funcs.C: fix for lost changes on triple-paste
622         in change tracking mode [bug 1827] (par.setChange()).
623
624 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
625
626         * text2.C (updateCounters, setCounter, expandLabel): move to
627         buffer_funcs.
628
629         * buffer_funcs.C (updateCounters): turn into a free standing
630         function and add a buffer parameter. Remove dead code for tracking
631         labelstring change.
632         (setCounter): change into a free-standing function which gets a
633         dociterator as argument. Use this iterator to fix captions in a
634         simple way. When no float is found above the caption, use the
635         labelstring of the caption layout as default.
636
637         * text.C (breakParagraph, backspace):
638         * text2.C (init, setLayout, changeDepth):
639         * text3.C (dispatch):
640         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
641         updateCounters.
642
643         * dociterator.C (forwardPar): make it much faster by calling
644         forwardPos() only when really necessary.
645
646         * output_docbook.C (makeCommand): adapt to expandLabel move.
647
648         * cursor.C: remove unused variable
649
650 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
651
652         * paragraph_funcs.C: fix crash when pasting insets in change
653         tracking mode [bug 1277] (honour change type in moveItem).
654
655 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
656
657         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
658
659 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
660
661         * BufferView.C (setCursor): change to use a DocIterator.
662         (gotoLabel): use BufferView::setCursor (other part of bug 781).
663         (putSelectionAt): adapt to BufferView::setCursor change.
664
665         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
666         moved here from LyXText and rewritten to use proper cursor
667         methods. Fixes bug 1787, 616 and 835.
668
669         * BufferView_pimpl.C (restorePosition): set the cursor correctly
670         when inside an inset (part of bug 781).
671         (dispatch): adapt to change of BufferView::setCursor.
672         (getStatus, dispatch): handle LFUN_GOTOERROR,
673         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
674
675         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
676         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
677         * text3.C (gotoNextInset, gotoInset): removed.
678
679 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
680
681         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
682
683 2005-02-15  Angus Leeming  <leeming@lyx.org>
684
685         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
686         can be used meaningfully in a comparison.
687
688 2005-02-13  André Pönitz  <poenitz@gmx.net>
689
690         * bufferview_funcs.C (coordOffset): improve cursor drawing
691
692 2005-02-13  André Pönitz  <poenitz@gmx.net>
693
694         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
695         * Cursor.C (dispatch): use fixIfBroken
696         * lyxfunc.C (getStatus): use fixIfBroken
697
698 2005-02-15  Angus Leeming  <leeming@lyx.org>
699
700         * lyx_main.C (error_handler):
701         * lyxfunc.C:
702         * lyxrc.C (setDefaults):
703         s/GetEnv/getEnv/.
704         #include "environment.h".
705
706         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
707
708 2005-02-15  Angus Leeming  <leeming@lyx.org>
709
710         * lyxserver.C (startPipe): squash MSVC warning "local variable
711         'fd' used without having been initialized".
712
713 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
714
715         * BufferView_pimpl.C: revert accidental commit.
716
717 2005-02-14  André Pönitz  <poenitz@gmx.net>
718
719         * dociterator.[Ch]: new member forwardPosNoDescent(),
720         which doesn't enter nested insets.
721         * text2.C (setFont): use forwardPosNoDescent() instead
722         of ForwardPos() (fixes crash on font change).
723
724 2005-02-13  Angus Leeming  <leeming@lyx.org>
725
726         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
727         only if lyxrc.path_prefix is not empty.
728
729 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
730
731         * bufferparams.C (readGraphicsDriver): prevent crash
732
733 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
734
735         * text2.C (setCounter): check for inInset() == 0
736
737 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
738
739         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
740         but use update() to get correct screen display; use convert
741         instead of istringstream.
742         (getStatus): handle LFUN_GOTO_PARAGRAPH
743
744         * lyxfunc.C (dispatch, getStatus): do not handle
745         LFUN_GOTO_PARAGRAPH here.
746
747 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
748
749         * text3.C (dispatch): size() -> depth()
750
751         * text2.C: remove some debug output
752
753         * paragraph.C: ws changes only
754
755         * lyxfunc.C (getStatus): size() -> depth()
756
757         * dociterator.h (clear, push_back, pop_back, internalData,
758         operator[], resize, empty): new functions
759         Make StableDocIterator and operator== be friends. Don't inherit
760         from std::vector use a privat class variable slices_ instead.
761         Modify to fit.
762
763         * dociterator.C: update because of not inheriting from std::vector
764         anymore. Call explictly to slices_ instead. Use depth() instead of
765         size() and top() instead of back()
766
767         * cursor.C: chagne size() -> depth and back() -> top(). Also
768         remove some direct operator[](i) calls in favour of foo[i]
769         (getFont): remove some dead code
770
771         * bufferview_funcs.C (coordOffset): size() -> depth()
772
773         * buffer.C: ws changes only
774
775         * CutAndPaste.C (eraseSelection): back() -> top()
776
777         * BufferView_pimpl.C (selectionRequested): back() -> top()
778
779         * BufferView.C (setCursor): size() -> depth()
780
781 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
782
783         * text3.C (cursorPrevious): return true if depm changed something
784         (cursorNext): ditto
785         (dispatch): rename sl to oldTopSlice, remove moving use the new
786         NoUpdate func attrib instead. Make sure that needsUpdate is set
787         for function that have NoUpdate, but where depm might have changed
788         the buffer anyway.
789
790         * text2.C (cursorLeft): make us return true if depm changed
791         something
792         (cursorRight): ditto
793         (cursorUpParagraph): ditto
794         (curosrDownParagraph): ditto
795         (cursorUp, cursorDown): ditto, make sure to read comments in code
796         (deleteEmptyParagraphMechanism): remove an assert, also return
797         true if just a single char was deleted.
798
799         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
800         cursor that we modify, to avoid modifying an active cursor before
801         we call setCursor. This allows depm to run. Also return true if
802         depm deleted something.
803
804         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
805         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
806         cursorDownParagraph, cursorPrevious and cursorNext, return true if
807         something was changed in the buffer because of them (ie. depm run)
808
809         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
810         debug messages. Make update by default be false. Make sure that
811         the result of update is retained throught several calls down to
812         dispatch.
813
814         * LyXAction.h: add a new func_attrib: NoUpdate
815
816         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
817         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
818         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
819         and LFUN_WORDLEFT
820         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
821
822 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
823
824         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
825         bv_->owner(), bv_->buffer() by direct references to the private
826         members.
827         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
828         (getStatus): isSavedPosition() is in BufferView::Pimpl.
829         (fitCursor): center() is in BufferView::Pimpl.
830         (getStatus, trackChanges, dispatch): no need for a temporary buf
831         variable
832         (fitCursor, workAreaDispatch): use workarea().workheight()
833
834 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
835
836         * CutAndPaste.C (pasteSelectionHelper): fix a crash
837
838 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
839
840         * buffer.C: format up to 241.
841         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
842         break if pasting into ERT
843         * lyxfunc.C (getStatus): suppress mathpanel and
844         LFUN_DIALOG_SHOW_NEW_INSET in ERT
845
846 2005-02-01  Angus Leeming  <leeming@lyx.org>
847
848         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
849
850 2005-02-01  Angus Leeming  <leeming@lyx.org>
851
852         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
853         calling fs::is_directory().
854
855 2005-01-31  Angus Leeming  <leeming@lyx.org>
856
857         * lyx_main.C (priv_exec): specify explicitly the relative location
858         of the top level build directory when run in-place.
859
860 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
861
862         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
863         LyXText containing the cursor, not the top-level one.
864
865         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
866         true.
867         (insertStringAsLines): rename par to pit; use temporary variable
868         par to hold a Paragraph; do not store par.layout() in a variable,
869         since the pointer may die when breaking paragraphs; pass pars to
870         breakParagraph() instead of Buffer::paragraphs().
871
872 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
873
874         * lyxlex_pimpl.h: #include <fstream>.
875
876         * BufferView.[Ch] (getLyXText): add a const version.
877
878         * BufferView_pimpl.C: add debug aids.
879
880         * RowList_fwd.h:
881         * buffer.h:
882         * lyxrow.h:
883         * paragraph_funcs.h: add commentary explaining what the class does.
884
885
886         * coordcache.[Ch]: add lots of commentary.
887         (startUpdating, doneUpdating): debug aids.
888         (arrays, insets, parPos, getParPos): accessors to private data.
889
890         * cursor_slice.[Ch] (text): add a const version.
891         * dociterator.[Ch] (text, innerText): add const versions.
892
893         * lyxtext.h (breakParagraph): change the keep_layout arg to a
894         bool.
895
896         * paragraph.C (getRow, pos2ros): add asserts.
897
898         * paragraph.h: add commentary. Lots of.
899
900         * paragraph.[Ch] (metrucs, draw): removed.
901
902         * cursor.C:
903         * rowpainter.[Ch]: const-correct changes.
904
905         * text.C: various obvious clean-ups. Removal of ancient cruft.
906         Bug fixes, even.
907
908 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
909
910         * vc-backend.C (find_file): rewrite to use boost.filesystem
911         (scanMaster): ditto
912
913         * main.C (main): set default name check for boost.filesystem to
914         no check
915
916         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
917         (open): ditto
918         (doImport): ditto
919         (actOnUpdatedPrefs): ditto
920
921         * lyx_main.C (init): rewrite to use boost.filesystem
922         (queryUserLyXDir): ditto
923
924         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
925         (getContentsOfAsciiFile): ditto
926
927         * lastfiles.C (readFile): rewrite to use boost.filesystem
928
929         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
930
931         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
932         (loadLyXFile): ditto
933
934         * buffer.C (Buffer): adjust for destroydir
935         (getLogName): rewrite to use boost.filesystem
936         (setFileName): ditto
937         (save): use fs::copy_file (from fs_extras)
938
939         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
940
941         * LaTeX.C (run): rewrite to use boost.filesystem
942         (scanAuxFiles): ditto
943         (handleFoundFile): ditto
944
945 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
946
947         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
948
949         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
950
951 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
952
953         * lyxlayout.[Ch]: change some vars from float to double
954
955         * buffer.C (readFile): make a local var const
956
957         * Several files: use convert<> instead of atoi,strToXXX and friends
958
959 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
960
961         * LaTeXFeatures.[Ch]: Add a static list packages_ that
962         holds the contents of packages.lst. New functions getAvailable
963         and isAvailable to parse and check that list, resp.
964
965         * LyXAction.C:
966         * lfuns.h:
967         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
968
969         * bufferparams.[Ch]: new param output_changes.
970
971         * Buffer.C: increase file format to 240.
972         Use output_changes and isVailable.
973
974         * changes.[Ch]:
975         * paragraph.C:
976         * paragraph_pimpl.C: Use output_changes and isVailable.
977
978 2005-01-23  Angus Leeming  <leeming@lyx.org>
979
980         * output_latex.C: #include "insetbibitem.h", rather than
981         forward declare function bibitemWidest.
982
983 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
984
985         * lyx_main.C (init): make it compile on the Mac.
986
987 2005-01-20  Angus Leeming  <leeming@lyx.org>
988
989         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
990         (setLyXMisc): (char string literal) != (char string literal) is
991         performing a comparison on the addresses. Convert one operand
992         explicitly to string to guarantee expected behaviour.
993         From MSVC warning.
994
995 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
996
997         * buffer.C:
998         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
999
1000         * output_plaintext.C: remove unneeded #include gzstream.h.
1001
1002 2005-01-20  Angus Leeming  <leeming@lyx.org>
1003
1004         * SpellBase.h: rename some of the elements of the Result enum.
1005
1006         * aspell_local.h:
1007         * ispell.h:
1008         * pspell.h:
1009         * aspell.C (check):
1010         * ispell.C (check):
1011         * pspell.C (check): ditto
1012
1013 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1014
1015         * buffer.C: add #include <fstream>.
1016
1017         * lyx_main.C (init): Compile fix.
1018
1019         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1020
1021 2005-01-20  Angus Leeming  <leeming@lyx.org>
1022
1023         * mover.h: change commentary to reflect the changed meaning of
1024         the $$s placeholder.
1025
1026 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1027
1028         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1029
1030         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1031
1032 2005-01-20  Angus Leeming  <leeming@lyx.org>
1033
1034         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1035         printing diagnostic data by not dereferecing an iterator past the
1036         end.
1037
1038 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1039
1040         * buffer.C (readHeader): use "&&" rather than "and".
1041
1042         * lyxserver.h (inPipeName, outPipeName): make these const.
1043
1044 2005-01-19  Angus Leeming  <leeming@lyx.org>
1045
1046         * lyx_main.C (error_handler, init): protect SIGHUP with
1047         #ifdef SIGHUP guards.
1048
1049 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1050
1051         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1052
1053 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1054
1055         * text.C (setHeightOfRow): add a margin at the top and bottom of
1056         the document (bug 1761)
1057
1058 2005-01-17  Angus Leeming  <leeming@lyx.org>
1059
1060         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1061         with "python ". Workaround for a brain-dead Windows.
1062
1063 2005-01-16  Angus Leeming  <leeming@lyx.org>
1064
1065         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1066         for MacOSX and Windows to use prependEnvPath.
1067         Strip out the hard-coded block to add elements to the PATH for
1068         MacOSX and replace it with a call to prependEnvPath using the
1069         contents of LyXRC::path_prefix.
1070         (queryUserLyXDir): strip out the code to run reconfigure, instead
1071         returning a boolean indicating the necessity to do so.
1072         (reconfigureUserLyXDir): contains the code to reconfigure the
1073         user support directory. Is now called after the various LyXRC data
1074         files have been read.
1075
1076         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1077
1078 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1079
1080         * converter.[Ch] (convert): take a new parameter try_default. Use
1081         a default converter (imagemagick) if try_default is true.
1082
1083 2005-01-13  Angus Leeming  <leeming@lyx.org>
1084
1085         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1086         os::cygwin_path_fix.
1087         (write): output LyXRC::cygwin_path_fix as necessary.
1088
1089 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1090
1091         * lyxrc.h:
1092         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1093
1094 2005-01-12  Angus Leeming  <leeming@lyx.org>
1095
1096         * lyx_main.C (init): set the PATH variable to include the
1097         directory containing the LyX binary when running on Mac or Windows.
1098
1099 2005-01-12  Angus Leeming  <leeming@lyx.org>
1100
1101         * lyx_main.C (init): remove cruft that purports to set the locale
1102         dir. It doesn't and is not needed anyway.
1103
1104 2005-01-10  Angus Leeming  <leeming@lyx.org>
1105
1106         * Makefile.am: remove the lyx_main.C special casing.
1107
1108         * BufferView_pimpl.C:
1109         * bufferlist.C:
1110         * exporter.C:
1111         * lyx_cb.C:
1112         * lyx_main.C:
1113         * lyxfunc.C:
1114         * messages.C: use support/package.h to provide the paths to the
1115         various directories used by LyX.
1116
1117 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1118
1119         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1120         layout if pasting into an empty paragraph)
1121
1122 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1123
1124         * tex-accent.C: add <string>
1125
1126 2005-01-06  José Matos  <jamatos@lyx.org>
1127
1128         * ParagraphParameters.C (write): put every parameter in its own line.
1129         * paragraph.C (write): reduce number of consecutive empty lines exported.
1130         * buffer.C (LYX_FORMAT): increase file format to 239.
1131
1132 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1133
1134         * everywhere: change support/tostr.h -> support/convert.h
1135
1136         * tabular.C: make all write_attributes templates, tostr -> convert
1137
1138         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1139         (emptyTag): and -> &&, and fix type for ret from getChar
1140         (getFirstWord): fix type for ret from getChar
1141         (onlyText): and -> &&
1142         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1143         getChar
1144
1145         * toc.C (goTo, action):
1146         * text3.C (dispatch):
1147         * text.C (currentState):
1148         * tex-accent.C (DoAccent):
1149         * sgml.C:
1150         * lyxrc.C:
1151         * lyxfunc.C (menuNew):
1152         * lyxfinc.C (replace):
1153         * counters.C (laberItem):
1154         * bufferview_funcs.C (font2string):
1155         * bufferparams.C (writeFile):
1156         * buffer.C (readFile):
1157         * Spacing.C (set):
1158         * MenuBackend.C: tostr -> convert
1159
1160         * LaTeX.C (runMessage): fix format
1161         (scanAuxFiles): tostr -> convert
1162
1163         * BufferView_pimpl.C (savePosition): fix format
1164         (restorePosition): ditto
1165         (dispatch): ditto
1166
1167 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1168
1169         * Spacing.[Ch]: New method getValueAsString().
1170
1171         * Spacing.[Ch]:
1172         * bufferparams.C:
1173         * ParagraphParameters.C:
1174         * lyxlayout.C:
1175         * text.C:
1176         * text3.C: store/read spacing value as string.
1177
1178         * rowpainter.C: change float value (spacing_val) to double.
1179
1180         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1181         broken custom document spacing).
1182
1183 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1184
1185         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1186         namespace, also more use of temp references and const
1187
1188         * cursor.[Ch] (getStatus): move to lyxfunc.C
1189
1190         * bufferparams.C: reformat slightly
1191
1192         * bufferview_funcs.C (font2string): constify arg
1193
1194         * changes.C:
1195         * converter.C:
1196         * counters.C:
1197         * bufferlist.C:
1198         * buffer_funcs.C: (many funcs): constify arg on function
1199         definitions, also make more local vars const, also add ASSERTS on
1200         pointer args.
1201
1202         * buffer.C (LYX_FORMAT): put const in correct place
1203         (many funcs): constify arg on function definitions, also make
1204         more local vars const
1205
1206         * aspell_local.h: remove "struct" from typdef setup
1207
1208         * aspell.C (check): make word_ok const
1209         (nextMiss): simplify slightly
1210         (error): ditto
1211
1212 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1213
1214         * lyxrc.[Ch]: store all float values as strings.
1215         use int (not float) for lyxrc.dpi.
1216
1217 2005-01-04  Angus Leeming  <leeming@lyx.org>
1218
1219         * lyx_cb.C (Reconfigure):
1220         * lyx_main.C (queryUserLyXDir):
1221         to run the <system_lyxdir>/configure correctly on Windows, prefix
1222         the path to the script with "sh " when generating the string that
1223         is passed to system().
1224
1225 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1226
1227         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1228
1229 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1230
1231         * lyxlength.C (asLatexString): get rid of setprecision
1232
1233 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1234
1235         * text2.C (setLayout): remove unused variable endpit.
1236         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1237
1238         * paragraph.C (onlyText): remove unused variable style.
1239
1240         * cursor.C (bruteFind): remove unused variables beg and end.
1241
1242         * Makefile.am (dist_noinset_DATA): not needed anymore
1243
1244         * cheaders/*: remove.
1245
1246 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1247
1248         * text3.C: fix LFUN_MATH_MODE.
1249
1250 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1251
1252         * buffer_funcs.C (countWords): new function. Counts words between
1253         two iterators.
1254
1255         * BufferView_pimpl.C (getStatus, dispatch): handle
1256         LFUN_WORDS_COUNT.
1257
1258         * LyXAction.C (init):
1259         * lfuns.h: add LFUN_WORDS_COUNT.
1260
1261 2004-12-19  Angus Leeming  <leeming@lyx.org>
1262
1263         * buffer.C (save): s/slashify_path/internal_path/.
1264
1265 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1266
1267         * lyxfind.C (findChange): do not search for end of pars, because
1268         the change tracker cannot handle this (fixes bug 1719).
1269
1270 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1271
1272         * paragraph.[Ch] (autoBreakRows): remove
1273
1274         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1275
1276         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1277         avoid using the paragraph one
1278
1279         * text2.C (LyXText, insertStringAsLines): adjust
1280
1281 2004-12-16  Angus Leeming  <leeming@lyx.org>
1282
1283         * bufferlist.C:
1284         * lyx_main.C:
1285         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1286
1287 2004-12-14  Angus Leeming  <leeming@lyx.org>
1288
1289         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1290
1291         * bufferlist.C (emergencyWrite):
1292         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1293         GetEnvPath("HOME").
1294
1295 2004-12-14  Angus Leeming  <leeming@lyx.org>
1296
1297         * main.C: (main): no longer pass pointers to os::init.
1298
1299 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1300
1301         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1302         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1303
1304 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1305
1306         * lyxfunc.C:
1307         * text3.C: remove selection_possible global flag
1308
1309 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1310
1311         * text2.C (getSelectionSpan): remove
1312         (changeDepth, changeDepthAllowed): adjust
1313
1314 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1315
1316         * Makefile.am (BOOST_LIBS): use boost variables
1317
1318 2004-12-03  José Matos  <jamatos@lyx.org>
1319
1320         * buffer.C: format up to 238.
1321
1322 2004-12-03  José Matos  <jamatos@lyx.org>
1323
1324         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1325
1326 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1327
1328         * cursor.C (goUpDown): remove call to idxUpDown2
1329
1330 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1331
1332         * tabular.[Ch]: use size_t-like types for cell, row and column
1333         indices
1334
1335 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1336
1337         * lyxfunc.C (getStatus): do not lose previous information when
1338         calling BufferView::getStatus; do not set a default "Command
1339         disabled" message at the beginning, but just before returning.
1340
1341 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1342
1343         * cursor.h (getStatus): add better comment from src/cursor.C
1344
1345 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1346
1347         * text3.C (getStatus): return false when the lfun is not handled
1348
1349 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1350
1351         * broken_headers.h: remove
1352
1353         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1354
1355 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1356
1357         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1358         offset_ref accessors
1359
1360         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1361         top_y_, merge fitcursor with update
1362         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1363         coord scheme
1364         (metrics): introduce
1365         (workAreaDispatch): adapt to new coord scheme
1366         (redoCurrentBuffer): remove
1367
1368         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1369
1370         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1371         CurStatus enum.
1372
1373         * coordcache.[Ch]: add paragraph cache and helpers
1374
1375         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1376         adjust everywhere
1377
1378         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1379         (targetX, setTargetX): introduce
1380
1381         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1382         baseline -> ascent, as the rest of lyx
1383
1384         * lyxtext.h: remove redoParagraphs, updateParPositions,
1385         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1386         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1387         have ascent/descent (ascent is ascent of first par)
1388
1389         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1390         step of BufferView
1391
1392         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1393
1394         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1395
1396         * pariterator.C: fix infinite loop introduced in par->pit renaming
1397
1398         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1399         in insets and LyXText, draw two off-screen paragraphs using
1400         NullPainter, and adapt to new coord scheme
1401
1402         * text.C:
1403         * text2.C:
1404         * text3.C: adapt lfun handlers to the new coord scheme, which
1405         means: there's only guaranteed coord information for onscreen pars
1406         plus one above and one below. This implies that one can do search
1407         from y coordinates in the range [-1,workHeight]
1408
1409 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1410
1411         * rename a lot of InsetOld to InsetBase
1412
1413 2004-11-25  Angus Leeming  <leeming@lyx.org>
1414
1415         * BufferView_pimpl.C:
1416         * lyx_cb.C:
1417         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1418
1419 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1420
1421         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1422         call BufferView::getStatus if LCursor::getStatus did nothing
1423         (setStatusMessage, getStatusMessage): removed.
1424
1425         * FuncStatus.C (message): new methods. Used to provide an error
1426         message indicating why a command is disabled.
1427         (clear, |=, FuncStatus): update for message.
1428
1429 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1430
1431         * lyxfunc.C (dispatch): always call sendDispatchMessage
1432
1433 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1434
1435         * BufferView.C:
1436         * BufferView_pimpl.C:
1437         * CutAndPaste.C:
1438         * FontIterator.C:
1439         * buffer.C:
1440         * cursor.C:
1441         * cursor_slice.[Ch]:
1442         * dociterator.[Ch]:
1443         * lyxfind.C:
1444         * paragraph_funcs.C:
1445         * pariterator.C:
1446         * rowpainter.C:
1447         * text.C:
1448         * text2.C:
1449         * text3.C:
1450         * undo.C: par->pit renaming
1451
1452 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1453
1454         * tabular.C (cellstruct): use initialization, store a shared_ptr
1455         to insettext instead of the insettext directly, adjust to fit.
1456         (operator=):  new function
1457         (swap): new function
1458         (rowstruct): use initialization
1459         (columnstruct): use initialization
1460         (ltType): use initialization
1461
1462
1463         * lyxlength.h (swap): new function
1464
1465         * LColor.[Ch] (operator=): use the common semantics
1466
1467 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1468
1469         * lyxfind.C (findNextChange): update the bufferview after setting
1470         the selection.
1471
1472 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1473
1474         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1475         number of InsetOptArgs has already been inserted.
1476
1477         * output_latex.C (latexOptArgInsets): new method. This outputs all
1478         the optarg insets, up to the limit defined in the layout file.
1479         (optArgInset): removed
1480         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1481
1482 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1483
1484         * paragraph.C (isLetter): remove special spellchecker-related
1485         code; return true also for digits
1486         (isWord, isKomma): remove
1487
1488         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1489         * lyxfind.C (MatchString()): use isLetter instead of isWord
1490
1491 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1492
1493         * pariterator.h (operatir=): comment out un-implemented member
1494         function.
1495
1496         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1497         static cast.
1498
1499 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1500
1501         * lyxfont.h: include LColor.h to satisfy concept checks.
1502
1503 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1504
1505         * pariterator.h: add typdefs for value_type, difference_type,
1506         pointer and reference to satisfy concept checks. Also add default
1507         constructor for same reason.
1508
1509         * pariterator.C (operator++): add post-increment operator to
1510         satisfy concept checks.
1511
1512         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1513         checks.
1514
1515         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1516
1517         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1518         checks. Also rename base_type to BaseType to follow naming
1519         standard better.
1520
1521         * FloatList.h: include Floating.h to satisfy concept checks.
1522
1523 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1524
1525         * lyxfunc.C (getStatus): when the origin of the request is menu or
1526         toolbar, and the LyXView does not have focus, do as if there was
1527         no buffer (bug 1720)
1528
1529         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1530         FuncRequest to individual entries of LFUN_SEQUENCE
1531
1532 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1533
1534         * output_latex.C (TeXOnePar): override runparams.moving_arg
1535         according to the needprotect value of the current paragraph (bug
1536         1739)
1537
1538         * paragraph.C (simpleTeXOnePar): no need to override
1539         runparams.moving_args here
1540
1541 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1542
1543         * vspace.C: fix off-by-one-error, related to fix #1682
1544
1545 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1546
1547         * lengthcommon.C: a more general fix for bug 1682
1548
1549 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1550
1551         * text.C (backspace): fix crash
1552
1553 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1554
1555         * format.[Ch] (getFormatFromFile): new method
1556         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1557
1558 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1559
1560         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1561
1562 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1563
1564         * lyxfunc.C (dispatch): remove the verbose argument
1565         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1566         instead
1567
1568         * kbmap.C (defkey): set the origin of func to KEYBOARD
1569
1570         * MenuBackend.C (MenuItem):
1571         * ToolbarBackend.C (add): set the origin of func to UI
1572
1573         * funcrequest.[Ch]: add origin member, which indicates which part
1574         of LyX requests an action
1575
1576 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1577
1578         * converter.C (move): don't lie in the error message
1579         * converter.h (isReachable, move): document
1580
1581 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1582
1583         * buffer.C: remove unused using lyx::support::atoi
1584         * paragraph_funcs.C: ditto
1585
1586 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1587
1588         * bufferlist.C (exists): use bind and equal_to instead of
1589         compare_memfun
1590         (getBuffer): ditto
1591         * lyxtextclasslist.C (NumberOfClass): ditto
1592
1593         * cursor.C (insert): use for_each instead of explicit for loop
1594
1595         * bufferlist.C (getFileNames): use std::transform and
1596         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1597
1598         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1599         for loop
1600
1601         * buffer.C (changeLanguage): use for_each instead of explicit for
1602         loop
1603         (hasParWithID): implement using getParFromID
1604
1605         * LaTeXFeatures.C: ws change only
1606
1607         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1608         to cleanup a bit.
1609
1610         * BufferView_pimpl.C (trackChanges): use for_each instead of
1611         expilicit for loop
1612
1613 2004-11-04  André Pönitz  <poenitz@gmx.net>
1614
1615         * undo.h:
1616         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1617
1618         * dociterator.C (asDocIterator): use hard assert again.
1619
1620 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1621
1622         * lyxlength.C (asLatexString): rewrite so that it does not use
1623         snprintf anymore
1624
1625 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1626
1627         * text3.C (specialChar, dispatch): make sure cursor moves to the
1628         right after inserting an inset
1629
1630 2004-11-02  José Matos  <jamatos@lyx.org>
1631
1632         * output_docbook.C (docbook):
1633         * paragraph.C (getID):
1634         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1635         garantee that the output is always legal.
1636
1637         * tabular.C (docbook):
1638         * outputprams.[Ch]: remove mixed contents.
1639
1640 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1641
1642         * text2.C (setCounter): prevent endless loop
1643
1644 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1645
1646         * exporter.C (copyFile): use the mover instead of support::copy()
1647         * exporter.C (Export): pass format and latex name to copyFile()
1648         * exporter.h (addExternalFile): document
1649         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1650
1651 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1652
1653         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1654
1655 2004-10-30  José Matos  <jamatos@lyx.org>
1656
1657         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1658         text and no inset or font change. This allows to use CDATA
1659         sections just for the whole paragraph.
1660
1661 2004-10-30  José Matos  <jamatos@lyx.org>
1662
1663         * paragraph.C (getFirstWord): remove unused variable.
1664
1665 2004-10-30  José Matos  <jamatos@lyx.org>
1666
1667         * paragraph.C (getFirstWord): the content should always be escaped
1668         there.
1669         (simpleDocBookOnePar):
1670         * output_docbook.C (makeEnvironment): replace reference to CDATA
1671         to style pass_thru.
1672
1673 2004-10-30  José Matos  <jamatos@lyx.org>
1674
1675         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1676
1677 2004-10-30  José Matos  <jamatos@lyx.org>
1678
1679         * output_docbook.C (makeParagraphs):
1680         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1681         standard paragraph has only a given type of content drop the wrapper.
1682
1683 2004-10-29  José Matos  <jamatos@lyx.org>
1684
1685         * output_docbook.C (makeEnvironment):
1686         * sgml.C (openTag):
1687         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1688
1689 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1690
1691         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1692         (cleanID): sanitize any id.
1693
1694 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1695
1696         * buffer.C, lyxlex_pimpl.C:
1697         * lyxlex_pimpl.C (setFile):
1698         s/getExtFromContents/getFormatFromContents/
1699
1700 2004-10-28  José Matos  <jamatos@lyx.org>
1701
1702         * output_docbook.C (makeEnvironment): move id to broadest possible
1703         scope.
1704
1705         * sgml.C (openTag): apply substitution of <> for all attributes.
1706
1707 2004-10-28  José Matos  <jamatos@lyx.org>
1708
1709         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1710         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1711         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1712
1713         * sgml.[Ch]: new version for open and closeTag for paragraph and
1714         for strings. Now they handle the ids of paragraphs.
1715
1716 2004-10-26  Angus Leeming  <leeming@lyx.org>
1717
1718         * Makefile.am: add mover.[Ch].
1719
1720         * converter.C (convert, move): use the new Movers to move external
1721         files to the temp directory.
1722
1723         * lyx_main.C (init): ensure that the global system_movers data
1724         is initialised.
1725
1726         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1727         preferences file.
1728
1729         * mover.[Ch]: new files, defining a Mover as a utility to move an
1730         external file between directories and, if necessary, manipulate this
1731         file using a helper script.
1732
1733 2004-10-25  José Matos  <jamatos@lyx.org>
1734
1735         * output_docbook.C (makeCommand): merge two if's that tested the
1736         same condition.
1737
1738 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1739
1740         * sgml.C (escapeString): fix warning in a better way
1741
1742 2004-10-25  José Matos  <jamatos@lyx.org>
1743
1744         * sgml.C (escapeString): import the require boosts header file for
1745         tie, and avoid a signed unsigned comparison.
1746
1747 2004-10-25  José Matos  <jamatos@lyx.org>
1748
1749         * sgml.h: add #include <string>
1750
1751 2004-10-25  José Matos  <jamatos@lyx.org>
1752
1753         * sgml.[Ch] (escapeString): new function to escape all the string.
1754
1755 2004-10-24  José Matos  <jamatos@lyx.org>
1756
1757         * paragraph.[Ch] (getFirstWord): new function to get the first
1758         word. Useful for description.
1759         (simpleDocBookOnePar): remove depth argument, add another that
1760         says where to start the paragraph.
1761
1762         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1763         use the new functions to fix cleanly the support for descriptions.
1764
1765 2004-10-24  José Matos  <jamatos@lyx.org>
1766
1767         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1768         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1769         * output_linuxdoc.C (linuxdocParagraphs):
1770         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1771         add buffer as argument.
1772
1773 2004-10-24  José Matos  <jamatos@lyx.org>
1774
1775         * output_docbook.C (makeEnvironment, searchEnvironment): place
1776         CDATA inside paragraphs and fix scope for listitems.
1777
1778 2004-10-24  José Matos  <jamatos@lyx.org>
1779
1780         * output_docbook.C: remove using statement for stack.
1781
1782 2004-10-23  José Matos  <jamatos@lyx.org>
1783
1784         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1785         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1786         docbook. The new scheme is recursive and makes use of iterators, the
1787         same as latex export works.
1788         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1789         directly with the paragraph contents. This code was moved up to
1790         output_docbook.C (docbookParagraphs).
1791         * sgml.C (openTag, closeTag): removed unneeded newlines.
1792         (closeEnvTags) removed.
1793
1794 2004-10-23  André Pönitz  <poenitz@gmx.net>
1795
1796         * undo.C (textUndoOrRedo):
1797         * dociterator.C (asDocIterator): work around crash
1798
1799         * cursor.C (getStatus): replace ASSERT by more verbose error message
1800           and manual correction of the problem. Should increase stability
1801           while providing more sensible information.
1802
1803 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1804
1805         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1806
1807         * bufferlist.C (previous, next): new methods
1808
1809         * lfuns.h:
1810         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1811
1812 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1813
1814         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1815         entities to preamble.
1816
1817 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1818
1819         * messages.C (Pimpl): strip off translation context information
1820
1821 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1822
1823         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1824         the cursor is correct (bug 1694)
1825
1826 2004-10-13  José Matos  <jamatos@lyx.org>
1827
1828         * output_docbook.C (docbookParagraphs): fix closing tags in the
1829         end of the document.
1830
1831 2004-10-09  José Matos  <jamatos@lyx.org>
1832
1833         * buffer.C: format up to 237.
1834         * bufferparams.C (write): use tostr to convert booleans to strings.
1835
1836 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1837
1838         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1839
1840 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1841
1842         * LaTeX.C: implement use of babel language in xindy.
1843
1844 2004-10-05  José Matos  <jamatos@lyx.org>
1845
1846         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1847         Add new translators to help reading and writing the lyx file.
1848
1849 2004-10-05  José Matos  <jamatos@lyx.org>
1850
1851         * ParagraphParameters.C (read):
1852         * text.C (readParToken): replace nexToken by more appropriate lex
1853         methods.
1854
1855 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1856
1857         * LaTeX.C (runMakeIndex):
1858         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1859         (usually 'makeindex') configurable.
1860
1861         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1862         with a variable rather than with a number.
1863
1864 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1865
1866         * output_latex.C (TeXOnePar): make sure font setting is the first
1867         thing that gets output (and the last at the end). Should fix bug
1868         1404.
1869
1870 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1871
1872         * pch.h: use proper signal include
1873
1874         * LaTeX.h: Use preferred calling of Boost.Signal
1875         * buffer.h: ditto
1876
1877 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1878
1879         * pch.h: dont include <boost/function/function0.hpp>
1880
1881         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1882
1883         * paragraph_pimpl.h: remove usage of ShareContainer
1884
1885         * paragraph_pimpl.C: remove initialization of ShareContainer.
1886
1887 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1888
1889         Fix bug #1666
1890
1891         * BufferView.C (putSelectionAt): change the semantics when
1892         backwards == true: now, this just swaps cursor and anchor wrt the
1893         forward case
1894
1895         * BufferView.h (putSelectionAt): add some documentation
1896
1897         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1898         make sure backwardChar is done at least once (to avoid getting
1899         stuck)
1900         (findNextChange): use putSelectionAt in the forward direction
1901         (operator()): use Paragraph::isWord
1902
1903 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1904
1905         * Spacing.C (set): c_str fix
1906
1907 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1908
1909         * lyx_cb.C (Reconfigure): quote the name of configure script in
1910         case it contains spaces
1911
1912 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1913
1914         * client: new dir
1915
1916         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1917         (BOOST_LIBS): use top_buildir when looking for the file
1918
1919 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1920
1921         * pch.h: do not use include boost/format.hpp, multiple symbols
1922                 will result (gcc bug)
1923
1924
1925 2004-08-23  José Matos  <jamatos@lyx.org>
1926
1927         * bufferparams.C (readToken): fix reading of the author field.
1928
1929 2004-08-20  José Matos  <jamatos@lyx.org>
1930
1931         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1932
1933 2004-08-20  José Matos  <jamatos@lyx.org>
1934
1935         * lyxlex.[Ch] (findToken): remove function.
1936
1937         * ParagraphParameters.C (findToken):
1938         * bufferparams.C (findToken): replace call for previous function
1939         with local copy. This local function has one more argument, the
1940         read string argument.
1941
1942 2004-08-16  José Matos  <jamatos@lyx.org>
1943
1944         * ParagraphParameters.C (write):
1945         * Spacing.C (writeFile):
1946         * bufferparams.C (writeLaTeX):
1947         * lyx_cb.C (Reconfigure):
1948         * paragraph.C (write):
1949         * tabular.C (write): remove unnecessary space at end of line.
1950
1951
1952 2004-08-16  José Matos  <jamatos@lyx.org>
1953
1954         * text.C (readParagraph): remove debug message.
1955
1956 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1957
1958         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1959         crash
1960
1961         * output_plaintext.C (asciiParagraph): set depth correctly
1962
1963         * outputparams.h: add member depth
1964
1965         * paragraph_funcs.C (ownerPar): remove.
1966
1967         * text2.C (setCounter): remove first_pit; comment out some
1968         non-working code that uses ownerPar
1969
1970         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1971         uses ownerPar
1972
1973 2004-08-16  José Matos  <jamatos@lyx.org>
1974
1975         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1976         For the same level of importance use the same chanel to report problems.
1977         (read): add code to deal with \begin_body and \end_body.
1978
1979
1980 2004-08-15  José Matos  <jamatos@lyx.org>
1981
1982         * lyxlex.C (getString): fix comment, buffer::readBody is now
1983         buffer:readDocument.
1984
1985         * tex-strings.C (string_papersize): Default -> default,
1986         Custom -> custom, for consistency with other options.
1987
1988 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1989
1990         * pch.h: new file
1991
1992         * Makefile.am: support pch
1993
1994 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1995
1996         * text.C (readParToken): remove the static LyXFont variable and
1997         pass it as a parameter instead. This fixes a nasty bug where an
1998         inset will be inserted with a bad font in some situations
1999         (readParagraph): adapt
2000
2001         * text2.C (setCounter): reduce number of calls to pars_[pit]
2002
2003         * text.C (singleWidth): add an assert, fix a test
2004
2005         * rowpainter.C (paintText): reduce number of calls to singleWidth
2006
2007         * paragraph.C (isHfill):
2008         (isNewline): ws only
2009
2010 2004-08-14  André Pönitz  <poenitz@gmx.net>
2011
2012         * text.C:
2013         * text2.C:
2014         * rowpainter.C:
2015         * lyxtext.h (several functions): use a Paragraph & argument
2016         instead of par_type
2017
2018 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2019
2020         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2021
2022         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2023
2024         * text.C (singleWidth): remove useless test
2025
2026 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2027
2028         * tabular.h: remove bogus comments
2029
2030         * tabular.C (getDescentOfRow):
2031         (isPartOfMultiColumn): add assertions
2032
2033         * lyxlength.C (inPixels): remove #warning
2034
2035 2004-08-14  André Pönitz  <poenitz@gmx.net>
2036
2037         * paragraph.h: inline getChar()
2038
2039         * BufferView.h: remove unused declarations
2040
2041 2004-08-14  José Matos  <jamatos@lyx.org>
2042
2043         * Buffer.[Ch] (readDocument): new name for old readBody.
2044         * Buffer.C: new file format, new keywords: \begin_document,
2045         \begin_header, \begin_body, \end_body.
2046
2047         * bufferparams.C (readToken): replace all calls to lex.nextToken
2048         by lex.next(). Do the same to eatLine except where really needed.
2049
2050         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2051         line when writing to the lyx file.
2052
2053         * output_plaintext.C (asciiParagraph): fix Bibliography style
2054         handling.
2055
2056         * text.C (read): fix end of file handling.
2057
2058 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2059
2060         * MenuBackend.C (Menu::operator[]): new method to access
2061         individual menu items
2062         (Menu::hasFunc): new method. search for an item that corresponds
2063         to a given func
2064         (MenuBackend::specialMenu): new method
2065         (MenuBackend::expand): if a special menu has been set, skip
2066         entries whose func() appears in this menu
2067
2068 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2069
2070         * text3.C: use Debug::DEBUG a bit more
2071
2072         * text.C (leftMargin): try to simplify a tiny bit change var x to
2073         l_margin. Dont output the wide margins always.
2074         (rightMargin): no margin in inner texts
2075
2076         * rowpainter.h (nestMargin): new func
2077         (changebarMargin): new func
2078         (rightMargin): new func
2079
2080         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2081         now functions.
2082         (paintLast): ditto
2083
2084         * factory.C (createInset): modify setDrawFrame
2085
2086         * cursor.C: use Debug::DEBUG a bit more
2087
2088 2004-08-14  André Pönitz  <poenitz@gmx.net>
2089
2090         * coordcache.[Ch]:
2091         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2092         cache for all insets in (at least partially) visible (top-level)
2093         paragraphs.
2094
2095         * BufferView_pimpl.C: reset external coord cache before every update.
2096         This means the coord cache only contains valid entries.
2097
2098 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2099
2100         bug 1096
2101         * BufferView_pimpl.C (getInsetByCode): move function out of class
2102         and change in to a template in anon namespace. Also fix to do what
2103         suits us better.
2104
2105 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2106
2107         bug 1305
2108         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2109         of char
2110         (breakParagraph): rename par to par_offset and use a local
2111         reference. Add code to keep the language over a rebreak.
2112         (breakParagraphConservative): rename par to par_offset, use a
2113         local reference
2114         (mergeParagraph): ditto
2115         (outerHook): ditto
2116         (isFirstInSequence): ditto
2117         (outerFont): rename pit to par_offset
2118
2119         * paragraph.C: ws change
2120         * paragraph.h: ditto
2121         * text3.C: ditto
2122         * text.C: ditto
2123
2124 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2125
2126         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2127         treatment for ']'
2128
2129         * paragraph.C (simpleTeXOnePar): when we have a \item with
2130         optional argument, enclose the argument with curly brackets (in
2131         case it contains a closing square bracket)
2132
2133         * text2.C (editXY):
2134         * text2.C (editXY):
2135         * text3.C (checkInsetHit): constify
2136
2137 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2138
2139         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2140         documents (bug 1629)
2141
2142 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2143
2144         Fix toggling of collapsable insets with the mouse (bug 1558)
2145
2146         * lyxfunc.C (dispatch): adapt to LCursor changes
2147
2148         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2149         make sure that dispatch is not invoked twice
2150
2151         * cursor.C (needsUpdate): new method
2152         (dispatch): return void
2153         (result): new method, to access the DispatchResult of the cursor.
2154
2155 2004-08-13  José Matos  <jamatos@lyx.org>
2156
2157         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2158
2159 2004-08-13  André Pönitz  <poenitz@gmx.net>
2160
2161         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2162
2163         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2164           multiple cells
2165
2166 2004-08-12  André Pönitz  <poenitz@gmx.net>
2167
2168         * text3.C: take out the 'cursor right' form insertInset and only
2169         do it in those places when it is really needed. Fixes crash on
2170         C-m...
2171
2172 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2173
2174         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2175
2176         * BufferView_pimpl.C (setBuffer): initialize the current font of
2177         the underlying LyXText
2178
2179 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2180
2181         * kbsequence.C (print): use UI native formatting for menu
2182         shortcuts
2183
2184         * text.C (insertChar): call Paragraph::insertChar with a font
2185         argument (cosmetic)
2186
2187         * paragraph.C (insertInset, insertChar): the version that takes a
2188         LyXFont argument is now a wrapper around the other one (the
2189         opposite used to be true).
2190
2191         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2192         argument. Font setting is done in Paragraph now.
2193
2194 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2195
2196         * outputparams.h: add new members intitle and lang.
2197
2198         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2199         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2200
2201 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2202
2203         * text3.C (dispatch): remove special handling of button 4 and 5,
2204         it is now taken care of in the frontend code.
2205
2206 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2207
2208         * Spacing.h: add <string> (STLPort compile fix)
2209
2210 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2211
2212         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2213
2214 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2215
2216         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2217         to bool.
2218
2219         * converter.C (showMessage): inherit from unary_function, make
2220         operator() const.
2221
2222         * buffer.C (writeFile): initialize retval
2223
2224         * InsetList.h: rename private variable list to list_
2225         * InsetList.[Ch]: adjust accordingly.
2226
2227 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2228
2229         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2230         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2231         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2232         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2233         * ParagraphParameters.C, LaTeXFeatures.C: replace
2234         "support/std_sstream.h" with <sstream>
2235
2236 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2237
2238         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2239         * lyxsocket.C (LyXServerSocket): ditto
2240         (serverCallback): ditto
2241
2242 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2243
2244         * LaTeXFeatures.C: check release date when loading jurabib.
2245
2246 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2247
2248         * lyxserver.C (startPipe): call register_socket_callback
2249         (endPipe): call unregister_socket_callback
2250
2251 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2252
2253         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2254         (LyXServerSocket): register the callback
2255         (LyXServerSocket): unregister the callback
2256         (fd): delete function
2257         (serverCallback): improve error checking and setup the callbacks.
2258         (dataCallback): change arg to fd.
2259         (writeln): new func (copied fro the client socket) used for server
2260         write to client.
2261         (LyXDataSocket): simplify
2262         (~LyXDataSocket): close ann unregiser callback
2263         (server): delete function
2264         (fd): delete function
2265         (readln): small changes, improve some std::string usage
2266         (writeln): constify a bit
2267
2268 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2269
2270         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2271         Qt frontend
2272
2273 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2274
2275         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2276         after it has been populated
2277
2278 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2279
2280         * text2.C (insertInset): move cursor when inserting inset.
2281
2282 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2283
2284         * kbmap.C (findbindings): a couple of new methods. returns a
2285         container of kb_sequence objects. The real work is done by the
2286         private recursive version
2287         (printbindings): uses findbindings to print out a bracketed list
2288         of bindings (renamed from findbinding).
2289
2290         * MenuBackend.C (binding): use kb_keymap::findbindings
2291
2292         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2293
2294 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2295
2296         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2297
2298 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2299
2300         * paragraph.C (isWord): return true on insets that report
2301         isLetter().
2302
2303         * text.C (getWord): use Paragraph::isWord to decide what is in a
2304         word and what is not; fix bug 1609.
2305
2306 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2307
2308         * tex-strings.C: add "none" to string_paperpackages[], fixes
2309         off-by-one-error in the paperpackage selection.
2310
2311         * lyxlex.[Ch]:
2312         * tex-strings.[Ch]: char const * string[n]
2313         -> char const * const string[]
2314
2315 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2316
2317         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2318         command, return early.
2319
2320 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2321
2322         * debug.h: add DEBUG to enum and fix size of ANY.
2323
2324         * debug.C: add support for Debug::DEBUG
2325         (showTags): cast errorTags.level to unsigned int
2326
2327         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2328         (redoCurrentBuffer): ditto
2329         (updateScrollbar): ditto
2330         * cursor.C (dispatch): ditto
2331         * text2.C (setLayout): ditto
2332         (setFont): ditto
2333         (updateCounters): ditto
2334         (editXY): ditto
2335         (deleteEmptyParagraphMechanism): ditto
2336
2337 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2338
2339         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2340         annotations to cleanup the Makefile slightly.
2341
2342 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2343
2344         * lyxrc.C: do not set user_email to a default value but use empty
2345         instead. The entry used to be translated, which does not work
2346         since at the point where lyxrc is constructed there is no
2347         translation service available
2348
2349         * messages.C (getLocaleDir): remove and use directly
2350         lyx_localedir() instead
2351
2352 2004-06-02  Angus Leeming  <leeming@lyx.org>
2353
2354         Fix crash caused by dereferencing null pointer 'exportdata' in
2355         OutputParams by creating a new ExportData variable on the heap,
2356         storing it in a boost::shared_ptr.
2357         The crash was triggered when generating an Instant Preview
2358         of an external inset.
2359
2360         * Makefile.am: add outputparams.C
2361
2362         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2363         (c-tor): allocate memory to it.
2364
2365         * exporter.C (c-tor): associated changes.
2366
2367 2004-06-01  Angus Leeming  <leeming@lyx.org>
2368
2369         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2370         contains data before calling isInset(0). (Bug 1513.)
2371
2372 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2373
2374         * exporter.C (checkOverwrite): new method
2375         * exporter.C (copyFile): new method
2376         * exporter.C (Export): copy referenced files to the document dir
2377         * exporter.[Ch]: new class ExportedFile
2378         * exporter.[Ch]: new class ExportData. Contains currently the
2379         names of referenced external files
2380         * outputparams.h: add exportdata member.
2381
2382 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2383
2384         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2385         version.C-tmp
2386
2387 2004-05-19  Angus Leeming  <leeming@lyx.org>
2388
2389         * LaTeXFeatures.C:
2390         * ToolbarBackend.C:
2391         * bufferparams.C:
2392         * lyxfunc.C: small changes due to the introduction of namespace
2393         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2394
2395 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2396
2397         * text3.C (dispatch): supress update when only moving the cursor
2398         * cursor.C (selHandle): remove commented code
2399
2400 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2401
2402         * paragraph.C (startTeXParParams): correct column count
2403         * CutAndPaste.C (pasteSelection): remove const_cast
2404         * output_docbook.C (docbookParagraphs): remove const_cast
2405         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2406         const_cast and return ParagraphList::const_iterator
2407         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2408         * output_plaintext.C (writeFileAscii): remove const_cast
2409         * paragraph.[Ch] (simpleTeXOnePar): make const
2410         * paragraph_funcs.C (outerPar): use const iterators
2411         * paragraph_pimpl.C (validate): use const iterators
2412         * text.C (setHeightOfRow): use const iterators
2413
2414 2004-05-17  Angus Leeming  <leeming@lyx.org>
2415
2416         * lfuns.h:
2417         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2418
2419         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2420         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2421         if the citation engine has changed.
2422
2423 2004-05-14  José Matos  <jamatos@lyx.org>
2424
2425         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2426         if the textclass does not provide it. Have it different for sgml and
2427         xml.
2428         support the language of document.
2429         * output_docbook.C (docbookParagraphs):
2430         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2431         first anchor as the id of the paragraph, remove special case code.
2432         * sgml.C (escapeChar): escape only < & >.
2433
2434 2004-05-14  Angus Leeming  <leeming@lyx.org>
2435
2436         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2437         dependencies on src/frontends/controllers/biblio.h. Define a
2438         CiteEngine_enum wrapper class to enable the enum to be forward
2439         declared.
2440
2441 2004-05-12  Angus Leeming  <leeming@lyx.org>
2442
2443         * buffer.C: up LYX_FORMAT to 234.
2444         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2445         use_numerical_citations with a single biblio::CiteEngine cite_engine
2446         variable.
2447         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2448
2449 2004-05-13  José Matos  <jamatos@lyx.org>
2450
2451         * converter.h:
2452         * converter.C (Converter, readFlags): add xml member.
2453         * outputparams.h: add XML flavor.
2454         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2455
2456 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2457
2458         * lyxfunc.C (dispatch):
2459         (getStatus): fix handling of LFUN_SEQUENCE
2460
2461 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2462
2463         * debug.C (showLevel): do not forget the end-of-line marker
2464
2465 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2466
2467         * kbmap.C (read): do not stop parsing a bind file when an error
2468         occurs (bug 1575)
2469
2470 2004-04-29  Angus Leeming  <leeming@lyx.org>
2471
2472         * cursor.C:
2473         * factory.C:
2474         * pariterator.C:
2475         * text2.C: wrap a bunch of #warning statements
2476         inside #ifdef WITH_WARNINGS blocks.
2477
2478 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2479
2480         * buffer.C: increment format to 233.
2481
2482 2004-04-28  Angus Leeming  <leeming@lyx.org>
2483
2484         * BufferView_pimpl.C:
2485         * lyxfunc.C:
2486         * text3.C:
2487         s/updateToolbar()/updateToolbars()/
2488         s/Toolbar.h/Toolbars.h/
2489
2490 2004-04-28  Angus Leeming  <leeming@lyx.org>
2491
2492         * BufferView.[Ch] (c-tor):
2493         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2494         No longer passes these data to the WorkArea generator.
2495
2496 2004-04-28  Angus Leeming  <leeming@lyx.org>
2497
2498         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2499
2500 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2501
2502         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2503
2504 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2505
2506         * output_latex.C (TeXEnvironment): make sure that there is a line
2507         break before \end{foo} for the last paragraph of a document
2508         (TeXOnePar): if the paragraph is at the end of the document (or
2509         inset) and the language has to be reset, then make sure that the
2510         line break is _before_ the language command, not after (fixes bug
2511         1225); also make sure that the language reset command is the first
2512         thing after the paragraph (to ensure proper nesting of
2513         environments and thus fix bug 1404)
2514
2515 2004-04-21  John Levon  <levon@movementarian.org>
2516
2517         * ToolbarBackend.h:
2518         * ToolbarBackend.C: make "name" be a programmatic name
2519         and a gui_name field.
2520
2521         * lyxfunc.C: display the minibuffer on M-x
2522
2523 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2524
2525         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2526         (bug 1526)
2527
2528 2004-04-19  Angus Leeming  <leeming@lyx.org>
2529
2530         * BufferView_pimpl.C (setBuffer): changed preview interface.
2531
2532         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2533         possible values.
2534
2535 2004-04-19  John Levon  <levon@movementarian.org>
2536
2537         * BufferView_pimpl.C:
2538         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2539
2540 2004-04-05  Angus Leeming  <leeming@lyx.org>
2541
2542         * text.C (redoParagraphs): add call to updateCounters(), thereby
2543         fixing the missing "Figure #:" label from the caption of a
2544         figure float.
2545
2546 2004-04-13  Angus Leeming  <leeming@lyx.org>
2547
2548         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2549         cursor is clicked out of an inset.
2550
2551 2004-04-13  Angus Leeming  <leeming@lyx.org>
2552
2553         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2554         than an InsetOld one.
2555
2556 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2557
2558         * format.[Ch]: add editor to Format
2559         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2560         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2561
2562 2004-04-08  André Pönitz  <poenitz@gmx.net>
2563
2564         * metricsinfo.h: remove PainterInfo::width member
2565
2566 2004-04-08  Angus Leeming  <leeming@lyx.org>
2567
2568         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2569         "\providecommand" rather than "\newcommand", thereby preventing
2570         clashes with packages that define "\boldsymbol" themselves.
2571         Eg, beamer.
2572
2573 2004-04-08  Angus Leeming  <leeming@lyx.org>
2574
2575         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2576         thereby squashing an unnecessary warning.
2577
2578 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2579
2580         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2581         setBuffer()
2582
2583 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2584
2585         * BufferView.C (setCursor): call redoParagraph (some insets could
2586         have been opened)
2587         (putSelectionAt): remove the 'double update' trick
2588
2589         * BufferView_pimpl.C (fitCursor): call refreshPar
2590         (workAreaDispatch): remove an uneeded update call
2591         (dispatch): remove some manual update calls
2592
2593         * cursor.[Ch]: remove cached_y_, updatePos
2594         (selHandle): set noUpdate when appropriate
2595
2596         * lyxfunc.C (dispatch): track if we need an update
2597
2598         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2599
2600         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2601         (paintSelection): cheap optimization, do not call cursorX when not
2602         needed
2603         (paintPars): change signature
2604         (refreshPar): add
2605         (paintText): adjust
2606         (paintTextInset): adjust
2607
2608         * text.C: adjust
2609
2610 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2611
2612         * lengthcommon.C: compilation fix: remove explicit array size from
2613         unit_name[] and friends
2614
2615 2004-04-05  Angus Leeming  <leeming@lyx.org>
2616
2617         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2618
2619         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2620         present only for the preferences dialog.
2621         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2622
2623 2004-04-05  Angus Leeming  <leeming@lyx.org>
2624
2625         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2626         to enable the frontends to export changes to lyxrc correctly.
2627
2628         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2629
2630 2004-04-07  André Pönitz  <poenitz@gmx.net>
2631
2632         * cursor.[Ch] (selClear, adjust): remove math
2633
2634         * cursor_slice.C: more agressive assert
2635
2636         * lyxfunc.C:
2637         * BufferView_pimpl.C: rework mouse event dispatch
2638
2639         * dociterator.C:
2640         * paragraph.C:
2641         * text2.C:
2642         * text3.C: adjust
2643
2644 2004-04-05  André Pönitz  <poenitz@gmx.net>
2645
2646         * cursor.[Ch] (valign, halign...): remove unneeded functions
2647
2648 2004-04-05  Angus Leeming  <leeming@lyx.org>
2649
2650         * lyxlength.[Ch] (unit_name et al.): const-correct.
2651
2652 2004-04-05  Angus Leeming  <leeming@lyx.org>
2653
2654         * BufferView_pimpl.C:
2655         * buffer.C:
2656         * counters.C:
2657         * cursor.C:
2658         * lyxfunc.C
2659         * paragraph.C:
2660         * pariterator.C:
2661         * text.C:
2662         * text2.C:
2663         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2664
2665 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2666
2667         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2668
2669 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2670
2671         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2672         * BufferView_pimpl.[Ch] (getStatus)
2673         * BufferView.[Ch] (getStatus): add
2674         * lyxfunc.C (getStatus): move lfuns handled in
2675         BufferView::dispatch to te function above
2676         * Cursor.C (setSelection): set selection() = true
2677
2678 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2679
2680         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2681
2682 2004-03-31  Angus Leeming  <leeming@lyx.org>
2683
2684         * lyxfunc.C (dispatch): Fall through to the generic
2685         Dialogs::show("preamble").
2686
2687 2004-03-31  Angus Leeming  <leeming@lyx.org>
2688
2689         * lyxfunc.C (dispatch): Fall through to the generic
2690         Dialogs::show("spellchecker").
2691
2692 2004-03-31  Angus Leeming  <leeming@lyx.org>
2693
2694         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2695         preferences dialog.
2696
2697 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2698
2699         * BufferView.C
2700         * cursor.[Ch]
2701         * dociterator.[Ch]:
2702         * insetiterator.[Ch]:
2703         * lyxfind.C:
2704         * lyxfunc.C:
2705         * pariterator.[Ch]:
2706         * text2.C:
2707         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2708
2709 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2710
2711         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2712         insets where we are putting the cursor.
2713
2714 2004-03-31  Angus Leeming  <leeming@lyx.org>
2715
2716         * lfuns.h:
2717         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2718
2719         * lyxrc.[Ch] (read, write): overloaded member functions taking
2720         a std::[io]stream arguments.
2721
2722         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2723
2724 2004-03-31  Angus Leeming  <leeming@lyx.org>
2725
2726         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2727         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2728
2729         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2730         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2731
2732 2004-03-31  Angus Leeming  <leeming@lyx.org>
2733
2734         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2735         the LFUN_ALL_INSETS_TOGGLE code.
2736
2737 2004-03-30  Angus Leeming  <leeming@lyx.org>
2738
2739         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2740         has died. Fall through to the generic Dialogs::show("document").
2741
2742 2004-03-30  Angus Leeming  <leeming@lyx.org>
2743
2744         * lfuns.h:
2745         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2746         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2747
2748         * lyxfunc.C (getStatus, dispatch): define the actions for these
2749         lfuns. Little more than a cut and pste job from ControlDocument.C
2750
2751         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2752
2753 2004-03-30  Angus Leeming  <leeming@lyx.org>
2754
2755         * lfuns.h:
2756         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2757         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2758
2759         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2760         open/closed state of ollapsable insets. Usage:
2761
2762         all-inset-toggle <state> <name>, where
2763         <state> == "open" || "closed" || "toggle" and
2764         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2765
2766         * lyxtext.h, text2.C (toggleInset): removed.
2767
2768         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2769         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2770         now passes LFUN_INSET_TOGGLE to the found inset.
2771
2772         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2773         is now invoked as "all-insets-toggle toggle branch".
2774
2775 2004-03-30  Angus Leeming  <leeming@lyx.org>
2776
2777         * dociterator.C:
2778         * insetiterator.C:
2779         * pariterator.[Ch]: added/corrected header blurb.
2780
2781 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2782
2783         * dociterator.[Ch]: add an inset_ member
2784         (backwardPos): implemented
2785         (backwardPos, forwardPos): use inset_ when the stack is empty.
2786         (doc_iterator_begin, doc_iterator_end): implemented
2787         * pariterator.[Ch]: adjust, add begin, end
2788         * insetiterator.[Ch]: adjust, add begin, end
2789         * cursor.C:
2790         * document.C:
2791         * BufferView.C:
2792         * BufferView_pimpl.C:
2793         * CutAndPaste.C: adjust
2794
2795 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2796
2797         * buffer.C: increment file format to 232.
2798         * LaTeXFeatures.C: add bibtopic package.
2799         * bufferparams.[Ch]: param \use_bibtopic.
2800
2801         * lyxrc.[Ch]: add lyxrc bibtex_command
2802         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2803
2804         * buffer.C: increment file format to 231.
2805
2806 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2807
2808         * dociterator.C: implement forwardPar
2809         * iterators.[Ch]: remove, replaced by
2810         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2811         * BufferView.C:
2812         * BufferView_pimpl.C:
2813         * CutAndPaste.C:
2814         * buffer.C:
2815         * bufferview_funcs.C:
2816         * cursor.C:
2817         * lyxfind.C
2818         * lyxfunc.C
2819         * paragraph_funcs.C
2820         * toc.C:
2821         * Makefile.am: adjust
2822
2823 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2824
2825         * CutAndPaste.C (pasteSelection): fix 2 crashes
2826         (eraseSelection): fix a crash
2827         * paragraph_funcs.C: remove a warning
2828
2829 2004-03-28  Angus Leeming  <leeming@lyx.org>
2830
2831         * lfuns.h:
2832         * LyXAction.C (init): new LFUN_PRINT.
2833
2834         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2835
2836 2004-03-27  Angus Leeming  <leeming@lyx.org>
2837
2838         * lfuns.h:
2839         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2840
2841         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2842
2843 2004-03-27  Angus Leeming  <leeming@lyx.org>
2844
2845         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2846         insetlist always contains non-null pointers to insets.
2847
2848 2004-03-26  Angus Leeming  <leeming@lyx.org>
2849
2850         * src/BufferView_pimpl.C:
2851         * src/CutAndPaste.C:
2852         * src/buffer.C:
2853         * src/iterators.C:
2854         * src/output_plaintext.C:
2855         * src/outputparams.h:
2856         * src/paragraph_funcs.C:
2857         * src/rowpainter.C:
2858         * src/text.C:
2859         * src/text2.C:
2860         * src/frontends/controllers/ControlErrorList.C:
2861         * src/frontends/gtk/FileDialogPrivate.C:
2862         * src/frontends/gtk/GPainter.C:
2863         * src/frontends/gtk/GToolbar.C:
2864         * src/frontends/qt2/QRef.C:
2865         * src/mathed/math_scriptinset.C: squash compiler warnings.
2866
2867 2004-03-26  Angus Leeming  <leeming@lyx.org>
2868
2869         * ispell.C (LaunchIspell::start):
2870         * lyx_cb.C (AutoSaveBuffer::start):
2871         invoke run(DontWait) rather than runNonBlocking().
2872
2873 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2874
2875         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2876
2877 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2878
2879         * kbsequence.C (print): adjust
2880
2881         * kbmap.C (printKeySym): rename and change signature
2882         (printKey): use LyXKeySym::print()
2883
2884 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2885
2886         * undo.C: add using std::advance to compile for stlport
2887
2888 2004-03-24  Angus Leeming  <leeming@lyx.org>
2889
2890         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2891         it leads to a crash when no buffer is present.
2892
2893 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2894             Martin Vermeer  <martin.vermeer@hut.fi>
2895
2896         * lyxfunc.C (dispatch):
2897         * bufferparams.C (readToken): use the new LColor::setColor
2898
2899         * LColor.[Ch] (setColor): new version that takes two strings as
2900         argument and creates a new color entry if necessary
2901
2902 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2903
2904         * buffer.C (makeLaTeXFile): if the main latex file that is
2905         processed is usually a subdocument of some master, then pretend
2906         for a while that it is actually the master
2907
2908 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2909
2910         * buffer.C (getLabelList):
2911         (getBibkeyList): use getMasterBuffer()
2912         (getMasterBuffer): new method. Returns the main document in the
2913         case where one is using included documents.
2914
2915 2004-03-25  André Pönitz  <poenitz@gmx.net>
2916
2917         * Makefile.am:
2918         * iterators.[Ch]:
2919         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2920
2921         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2922
2923         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2924         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2925
2926         * ParameterStruct.h: merge with ParagraphParameters
2927
2928         * lyxtext.h: remove LyXText::parOffset() and getPar()
2929
2930         * text3.C: Remove all 'manual' update calls. We do now one per user
2931         interaction which is completely sufficient.
2932
2933         * Bidi.C:
2934         * BufferView.[Ch]:
2935         * BufferView_pimpl.C:
2936         * FontIterator.[Ch]:
2937         * MenuBackend.C:
2938         * ParagraphParameters.[Ch]:
2939         * buffer.C:
2940         * buffer.h:
2941         * bufferlist.C:
2942         * cursor.[Ch]:
2943         * cursor_slice.[Ch]:
2944         * dociterator.[Ch]:
2945         * errorlist.[Ch]:
2946         * factory.C:
2947         * lfuns.h:
2948         * lyxfind.C:
2949         * lyxfunc.C:
2950         * output_docbook.[Ch]:
2951         * output_latex.[Ch]:
2952         * output_linuxdoc.[Ch]:
2953         * output_plaintext.[Ch]:
2954         * paragraph.[Ch]:
2955         * paragraph_funcs.[Ch]:
2956         * paragraph_pimpl.[Ch]:
2957         * rowpainter.C:
2958         * tabular.[Ch]:
2959         * text.C:
2960         * text2.C:
2961         * toc.C:
2962         * undo.[Ch]: adjust
2963
2964         * frontends/controllers/ControlDocument.C:
2965         * frontends/controllers/ControlErrorList.C:
2966         * frontends/controllers/ControlSpellchecker.C:
2967         * insets/inset.C:
2968         * insets/inset.h:
2969         * insets/insetbase.h:
2970         * insets/insetbibitem.C:
2971         * insets/insetbox.C:
2972         * insets/insetbranch.C:
2973         * insets/insetcaption.C:
2974         * insets/insetcharstyle.C:
2975         * insets/insetcharstyle.h:
2976         * insets/insetcollapsable.C:
2977         * insets/insetcollapsable.h:
2978         * insets/insetert.C:
2979         * insets/insetfloat.C:
2980         * insets/insetfoot.C:
2981         * insets/insetmarginal.C:
2982         * insets/insetnote.C:
2983         * insets/insetoptarg.C:
2984         * insets/insettabular.C:
2985         * insets/insettext.C:
2986         * insets/insettext.h:
2987         * insets/insetwrap.C:
2988         * mathed/math_mboxinset.C:
2989         * mathed/math_nestinset.C:
2990         * mathed/math_scriptinset.C:
2991         * mathed/math_scriptinset.h:
2992         * support/types.h:
2993
2994 2004-03-24  Angus Leeming  <leeming@lyx.org>
2995
2996         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2997         deal with any child processes that have finished but are waiting to
2998         communicate this fact to the rest of LyX.
2999
3000 2004-03-24  Angus Leeming  <leeming@lyx.org>
3001
3002         64-bit compile fixes.
3003
3004         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3005         (c-tor): pass lyx::pos_types rather than ints.
3006
3007         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3008         lyx::pos_type.
3009
3010         * text.C (Delete): compile fix.
3011         (getPar): ensure that function declaration is the same as that in
3012         the header file.
3013
3014 2004-03-23  Angus Leeming  <leeming@lyx.org>
3015
3016         * ispell.C (LaunchIspell):
3017         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3018         a boost::shred_ptr rather than a std::auto_ptr.
3019
3020 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3021
3022         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3023         handle LFUN_FILE_INSERT_*
3024
3025         * lyxrc.C (setDefaults, getDescription, output, read):
3026         * lyxrc.h: remove ps_command
3027
3028 2004-03-22  Angus Leeming  <leeming@lyx.org>
3029
3030         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3031         Ensure that error_handler is processed once only and that all data
3032         is saved before attempting to output any warning messages.
3033
3034         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3035
3036 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3037
3038         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3039
3040 2004-03-19  André Pönitz  <poenitz@gmx.net>
3041
3042         * cursor.[Ch] (reset): take main text inset as argument
3043
3044         * BufferView: adjust
3045         * BufferView_pimpl.C: adjust
3046
3047         * paragraph.[Ch]: fix completely broken operator=()
3048
3049 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3050
3051         * LColor.C (getFromLyXName): make sure that the color name is used
3052         as lowercase.
3053
3054 2004-03-17  Angus Leeming  <leeming@lyx.org>
3055
3056         * lfuns.h:
3057         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3058
3059         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3060         dialog and to kill a forked process.
3061
3062 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3063
3064         * text2.C (setCursorFromCoordinates): fix font problem
3065
3066 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3067
3068         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3069         bogus "rebuild cursor" code
3070
3071 2004-03-11  André Pönitz  <poenitz@gmx.net>
3072
3073         * buffer.[Ch]: use InsetText instead of LyXText as container for
3074         the main lyx text.
3075
3076         * dociterator.[Ch]: drop the BufferView * member which is not needed
3077         anymore after the change to buffer.C
3078
3079         * paragraph_funcs.C:
3080         * text.C:
3081         * text2.C:
3082         * BufferView.[Ch]:
3083         * BufferView_pimpl.[Ch]:
3084         * cursor.[Ch]:
3085         * cursor_slice.[Ch]: adjust
3086
3087         * text3.C: fix bug in mathDispatch
3088
3089 2004-03-08  André Pönitz  <poenitz@gmx.net>
3090
3091         * undo.[Ch]: use 'StableDocumentIterator' as base for
3092         the Undo struct.
3093
3094 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3095
3096         * LaTeXFeatures.C:
3097         * bufferparams.[Ch]: add jurabib support and param.
3098
3099         * LaTeX.C: add FIXME/comment.
3100
3101 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3102
3103         * buffer.C: increment file format to 230.
3104
3105 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3106
3107         * cursor.C (dispatch): avoid infinite loops
3108
3109 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3110
3111         * rowpainter.C (paintSelection): fix x coordinates
3112
3113 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3114
3115         * text.C (rowBreakPoint): fix breaking before displayed insets
3116
3117 2004-03-01  André Pönitz  <poenitz@gmx.net>
3118
3119         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3120
3121         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3122
3123         * Makefile.am:
3124         * BufferView.C:
3125         * BufferView_pimpl.C:
3126         * buffer.C:
3127         * lyxfind.C:
3128         * lyxfunc.C:
3129         * text.C:
3130         * text2.C:
3131         * text3.C: adjust
3132
3133 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3134
3135         * lyxtext.h:
3136         * text.C:
3137         * text2.C:
3138         * rowpainter.C:
3139         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3140         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3141
3142 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3143
3144         * Bidi.[Ch] (computeTables): const correctness
3145         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3146         fill_hfill, fill_label_hfill and x from Row
3147         * lyxtext.h: prepareToPrint returns a RowMetrics
3148         * rowPainter.C: adjust
3149         * text.C (prepareToPrint): use width, not textWidth. adjust
3150         (redoParagraphInternal, cursorX): adjust
3151         * text2.C (getColumnNearX): adjust
3152         (init): put a default value to the top LyXText::width
3153
3154 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3155
3156         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3157
3158 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3159
3160         * lyxtext.h: add FontIterator class
3161
3162         * text.C (FontIterator, operator*, operator->, operator++): add
3163         (rowBreakPoint, setRowWidth): adjust (fixing a
3164         rebreaking bug)
3165
3166 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3167
3168         * BufferView_pimpl.C (workAreaDispatch): allow also
3169         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3170
3171 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3172
3173         * text.C (rowBreakPoint): fix a bug showing with very large insets
3174
3175 2004-02-25  André Pönitz  <poenitz@gmx.net>
3176
3177         * text3.C:
3178         * cursor.[Ch]: move some mathed specific code to mathed
3179
3180 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3181
3182         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3183         use_tempdir in preferences
3184         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3185         tempfile creation
3186         * lyx_main.C: ensure that tempdir is valid
3187         * lyxlex.h: correct typo
3188         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3189         * paragraph.[Ch] (isMultiLingual): make const
3190         * cursor.[Ch] (openable): make const
3191
3192 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3193
3194         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3195
3196 2004-02-20  André Pönitz  <poenitz@gmx.net>
3197
3198         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3199
3200         * cursor.[Ch]: prepare for localized getStatus()
3201
3202         * lyxtext.h:
3203         * tabular.C:
3204         * text.C:
3205         * text2.C:
3206         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3207
3208 2004-02-20  André Pönitz  <poenitz@gmx.net>
3209
3210         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3211
3212 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3213
3214         * text2.C (setCursorFromCoordinates): switch to absolute coords
3215         (cursorUp): adjust
3216         (cursorDown): adjust
3217         * text3.C (dispatch): adjust
3218
3219 2004-02-16  André Pönitz  <poenitz@gmx.net>
3220
3221         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3222           insets/ChangeLog)
3223
3224         * cursor_slice.[Ch]: remove unneeded acessor function
3225
3226         * lyxtext.h: rename rtl() to isRTL()
3227
3228         * rowpainter.C:
3229         * tabular.C:
3230         * text.C:
3231         * text2.C:
3232         * text3.C: adjust
3233
3234 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3235
3236         * rowpainter.C (paintSelection): coord fix
3237
3238 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3239
3240         * Spacing.C: compile fix
3241
3242 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3243
3244         * cursor.C (dispatch): restore current_ before returning
3245
3246 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3247
3248         * text2.C (cursorUp, cursorDown): fix coords
3249         (moveUp): fix crash
3250
3251 2004-02-12  André Pönitz  <poenitz@gmx.net>
3252
3253         * lyxtext.h:
3254         * text.C:
3255         * text2.C:
3256         * text3.C: add LCursor & parameter to most cursor movement functions
3257           remove usage of LyXText::cursorRow() and cursorPar()
3258
3259         * cursor.[Ch]: add textRow() needed members
3260
3261         * BufferView.C:
3262         * BufferView_pimpl.C:
3263         * paragraph.[Ch]:
3264         * BufferView.C:
3265         * BufferView_pimpl.C: adjust
3266
3267 2004-02-11  André Pönitz  <poenitz@gmx.net>
3268
3269         * lyxfunc.C:
3270         * BufferView.[Ch]:
3271         * BufferView_pimpl.C: shift undo/redo handling
3272
3273         * cursor.[Ch]: fix mathed crash
3274
3275         * lyxfind.C:
3276         * lyxtext.h: move selectionAsText to LCursor
3277
3278         * output_latex.C:
3279         * paragraph.C:
3280         * text.C:
3281         * text2.C:
3282         * text3.C: adjust
3283
3284         * rowpainter.C: fix excessive drawing
3285
3286 2004-02-06  André Pönitz  <poenitz@gmx.net>
3287
3288         * BufferView.[Ch]:
3289         * BufferView_pimpl.[Ch]:
3290         * text3.C: move some text specific LFUN handling
3291
3292 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3293
3294         * text3.C (checkInsetHit): adjust coords
3295         * text2.C (getColumnNearX): adjust coords
3296         (edit): adjust coords
3297         * text.C (getRowNearY): add two asserts
3298
3299 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3300
3301         * converter.C:
3302         * format.C: add using std::distance to compile on gcc 2.95/stlport
3303
3304 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3305
3306         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3307
3308 2004-02-04  André Pönitz  <poenitz@gmx.net>
3309
3310         * BufferView.[Ch] (insertInset):
3311         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3312
3313         * text2.C:
3314         * text3.C: adjust
3315
3316 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3317
3318         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3319         on the default clause of the switch
3320         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3321         wasn't catched by LCursor::dispatch
3322
3323 2004-02-03  André Pönitz  <poenitz@gmx.net>
3324
3325         * BufferView.C:
3326         * cursor.[Ch]: some additional asserts
3327
3328         * undo.[Ch]: remove LyXText dependency in interface
3329
3330         * lyxfunc.C: adjust
3331
3332         * lyxtext.h (firstPar, lastPar): remove dead functions
3333
3334         * text.C:
3335         * text2.C:
3336         * text3.C:
3337         * paragraph.[Ch]: adjust
3338
3339 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3340
3341         * lyxfind.C (find): fix argument order in call to ::find
3342
3343 2004-02-02  André Pönitz  <poenitz@gmx.net>
3344
3345         * cursor.[Ch]: remove direct access to anchor
3346
3347         * text.C: remove findText() hack
3348
3349 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3350
3351         * iterators.[Ch] (lockPath): remove in favour of...
3352         * BufferView.[Ch] (setCursor): this addition
3353         * BufferView.C (putSelectionAt): adjust
3354         * undo.C (performUndoOrRedo): adjust
3355         * lyxfunc.C (dispatch): adjust
3356
3357 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3358
3359         * iterators.C (lockPath): add a missing slice
3360         * undo.C (performUndoOrRedo): remove redundant positioning code
3361
3362 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3363
3364         * vc-backend.C (scanMaster): ";" -> ';'
3365
3366 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3367
3368         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3369         std::binary_function
3370
3371         * lyxtextclass.C (compare_name): rename to...
3372         (LayoutNamesEqual): ...this
3373
3374         * lyxlex_pimpl.C (compare_tags): inherit from
3375         std::binary_function, put back into anon namespace
3376
3377         * lyxfind.C (MatchString): inherig from std::binary_function
3378         (findChange): use empty() istead of !size()
3379
3380         * format.C (FormatNamesEqual): new functor
3381         (getFormat): use it
3382         (getNumber): use it
3383         (add): use it
3384         (erase): use it
3385         (setViewer): use it
3386
3387         * converter.C (compare_Converter): rename to...
3388         (ConverterEqual): ...this, and fixup a bit.
3389         (getConverter): use it, and make function const
3390         (getNumber): use it, and make function const
3391         (add): use it
3392         (erase): use it:
3393
3394         * bufferlist.C: add using boost::bind
3395
3396         * MenuBackend.C (MenuNamesEqual): new functor
3397         (hasMenu): use it, and make function const
3398         (hasSubmenu): use nested bind to get rid of compare_memfun.
3399
3400 2004-01-30  André Pönitz  <poenitz@gmx.net>
3401
3402         * BufferView_pimpl.C:
3403         * cursor.C:
3404         * cursor.h:
3405         * cursor_slice.[Ch]:
3406         * lyxfunc.C:
3407         * lyxtext.h:
3408         * paragraph_funcs.C:
3409         * paragraph_funcs.h:
3410         * rowpainter.C:
3411         * text.C:
3412         * text2.C:
3413         * text3.C: move some of the edit(x,y) handling to the insets
3414         some coordinate changes.
3415
3416 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3417
3418         * text.C: add using statements for std::advance and std::distance
3419
3420         * paragraph.C: add using statement for std::distance
3421
3422         * lyxfind.C: add using statement for std::advance
3423
3424         * cursor.C (region): remove std:: from swap
3425         (openable): use nucleus in stead of operator->
3426
3427         * BufferView.C: add using statements for std::distance and std::swap
3428
3429 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3430
3431         * iterators.C: Remove the pimple, move the needed structures to
3432         the header file. Create accessor for the positions stack.
3433         (asPosIterator): remove function
3434
3435         * PosIterator.C (PosIterator): move constructors to top of file
3436         (PosIterator): reimplement the constructor taking a ParIterator in
3437         terms of setFrom.
3438         (setFrom): new function
3439         (operator!=): inline it
3440
3441 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3442
3443         * lyxfind.C (replaceAll): use std::advance
3444
3445         * iterators.h: inherit from std::iterator.
3446
3447         * PosIterator.C (advance, distance): remove
3448         * PosIterator.h: interit from std::iterator.
3449
3450 2004-01-26  André Pönitz  <poenitz@gmx.net>
3451
3452         * BufferView.[Ch]:
3453         * BufferView_pimpl.[Ch]:
3454         * InsetList.[Ch]:
3455         * PosIterator.[Ch]:
3456         * buffer.h:
3457         * bufferview_funcs.C:
3458         * cursor.[Ch]:
3459         * cursor_slice.h:
3460         * factory.[Ch]:
3461         * iterators.[Ch]:
3462         * lyxfind.C:
3463         * lyxfunc.C:
3464         * lyxtext.h:
3465         * output_docbook.C:
3466         * output_latex.C:
3467         * output_linuxdoc.C:
3468         * output_plaintext.C:
3469         * paragraph.[Ch]:
3470         * paragraph_funcs.[Ch]:
3471         * paragraph_pimpl.[Ch]:
3472         * rowpainter.C:
3473         * tabular.C:
3474         * tabular.h:
3475         * text.C:
3476         * text2.C:
3477         * text3.C: more IU:  dumps most of the rest of the mathcursor
3478     implementation into cursor.[Ch]; "globalize" a bit of it.
3479
3480 2004-01-25  Angus Leeming  <leeming@lyx.org>
3481
3482         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3483
3484 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3485
3486         * LaTeXFeatures.h: add nice_ and nice() const
3487         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3488
3489 2004-01-20  André Pönitz  <poenitz@gmx.net>
3490
3491         * BufferView.[Ch]:
3492         * BufferView_pimpl.C:
3493         * PosIterator.C:
3494         * bufferview_funcs.C:
3495         * cursor.[Ch]:
3496         * cursor_slice.[Ch]:
3497         * factory.C:
3498         * iterators.C:
3499         * lyx_cb.C:
3500         * lyxfind.C:
3501         * lyxfunc.C:
3502         * lyxtext.h:
3503         * rowpainter.C:
3504         * text.C:
3505         * text2.C:
3506         * text3.C:
3507         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3508           LCursor and mathcursor parts to LCursor and InsetBase.
3509
3510 2004-01-15  André Pönitz  <poenitz@gmx.net>
3511
3512         * cursor_slice.[Ch]: add a few covienience functions
3513
3514         * funcrequest.[Ch]: remove BufferView * member
3515
3516         * BufferView_pimpl.C:
3517         * cursor.C:
3518         * factory.[Ch]:
3519         * lyxfind.[Ch]:
3520         * lyxfunc.C:
3521         * lyxtext.h:
3522         * text3.C:
3523         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3524
3525 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3526
3527         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3528         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3529
3530 2004-01-13  André Pönitz  <poenitz@gmx.net>
3531
3532         * textcursor.[Ch]:
3533         * lyxtext.h: hide cursor and selection anchor behind accessor function
3534
3535         * BufferView.C:
3536         * BufferView_pimpl.[Ch]:
3537         * PosIterator.C:
3538         * bufferview_funcs.C:
3539         * cursor.h:
3540         * lyxfind.C:
3541         * lyxfunc.C:
3542         * text.C:
3543         * text2.C:
3544         * text3.C:
3545         * undo.C: adjust
3546
3547         * cursor.h:
3548         * cursor_slice.[Ch]: some integer type changes for inset unification
3549
3550         * lyxcursor.[hC]: remove, it's CursorSlice now.
3551
3552         * Makefile.am:
3553         * BufferView_pimpl.[Ch]:
3554         * bufferview_funcs.C:
3555         * cursor_slice.C:
3556         * lyxtext.h:
3557         * text.C:
3558         * text2.C:
3559         * text3.C:
3560         * textcursor.[Ch]: adjust
3561
3562 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3563
3564         * text2.C (undoSpan): add and use
3565         * text.C (breakParagraph): use undoSpan (fix bug 578)
3566         * lyxtext.h: adjust
3567
3568 2004-01-08  Angus Leeming  <leeming@lyx.org>
3569
3570         * BufferView_pimpl.C (MenuInsertLyXFile):
3571         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3572         * lyxfunc.C (menuNew, open, doImport):
3573         FileFilterList change to the FileDialog open and save functions.
3574
3575 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3576
3577         * ShareContainer.h: make isEqual and isUnique adaptable
3578
3579         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3580
3581 2004-01-07  Angus Leeming  <leeming@lyx.org>
3582
3583         * LyXAction.C:
3584         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3585
3586         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3587
3588         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3589         functions replacing find, replace and replaceAll.
3590
3591         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3592         LFUN_WORDFIND(FORWARD|BACKWARD).
3593
3594 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3595
3596         * text.C (breakParagraph): remove an outdated #warning
3597
3598 2004-01-07  André Pönitz  <poenitz@gmx.net>
3599
3600         * lyxfind.C: somewhat clearer logic
3601
3602         * text.C: prevent crash in cursorX on unitialized row cache
3603
3604 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3605
3606         * lyxcursor.[Ch] (operator>): add
3607         * textcursor.C (selStart, selEnd): use std::min and std::max
3608
3609 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3610
3611         * Chktex.C: include boost/format.hpp
3612
3613 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3614
3615         * InsetList.C: replace functor MathcIt with adaptable functor
3616         InsetTablePosLess
3617         (insetIterator): modify accordingly
3618
3619         * BranchList.h: move the BranchNamesEqual functor here from...
3620         * BranchList.C: ... to here
3621
3622         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3623         SameName and match.
3624         (add): replace a finding loop with std::find_if.
3625
3626 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3627
3628         * output_docbook.C: moving LatexParam functionality into
3629         .layout files
3630
3631 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3632
3633         * buffer.C: increment format to 229.
3634
3635 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3636
3637         * LaTeXFeatures.C:
3638         * lyx_sty.[Ch]: remove minipageindent_def
3639
3640         * LyXAction.C:
3641         * factory.C:
3642         * lfuns.h:
3643         * lyxfunc.C:
3644         * text3.C: remove LFUN_INSET_MINIPAGE
3645
3646 2003-12-28  Angus Leeming  <leeming@lyx.org>
3647
3648         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3649
3650 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3651
3652         * text2.C (setParagraph): fix off-by-one crash
3653
3654 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3655
3656         * output_docbook.C: header stuff for AGU
3657
3658 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3659
3660         * text2.C (redoCursor): remove
3661         * text.C:
3662         * text3.C:
3663         * BufferView_pimpl.C: remove calls to redoCursor and
3664         setCursor(cursor.par(), cursor.pos()) all around
3665
3666 2003-12-15  Angus Leeming  <leeming@lyx.org>
3667
3668         * buffer.C: up the format to 228.
3669
3670 2003-12-15  André Pönitz  <poenitz@gmx.net>
3671
3672         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3673         slices
3674
3675         * Makefile.am:
3676
3677         * BufferView_pimpl.C:
3678         * cursor.[Ch]:
3679         * lyxcursor.[Ch]:
3680         * rowpainter.[Ch]:
3681         * lyxtext.h:
3682         * text.C:
3683         * text2.C:
3684         * text3.C: adjust
3685
3686 2003-12-15  Angus Leeming  <leeming@lyx.org>
3687
3688         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3689         than getFromGUIName to manipulate the color.
3690
3691 2003-12-14  Angus Leeming  <leeming@lyx.org>
3692
3693         * BranchList.[Ch]: minimize the API.
3694         (Branch::getBranch, getColor): now return a 'const &'.
3695         (Branch::setSelected) now returns a bool set to true if the
3696         selection status changes.
3697         (BranchList::clear, size, getColor, setColor, setSelected,
3698         allBranches, allSelected, separator): removed.
3699         (BranchList::find): new functions, returning the Branch with
3700         the given name.
3701         (BranchList::add, remove): return a bool indicating that
3702         the operation was successful.
3703
3704         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3705         new InsetBranch::isBranchSlected member function.
3706
3707         * LColor.[Ch]: mimimize the API.
3708         (fill): renamed as addColor and made private.
3709         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3710         versions of these functions taking a string arg have been removed.
3711
3712         * bufferparams.C (readToken):
3713         * lyxfunc.C (dispatch):
3714         * lyxrc.C (read): changes due to the altered BranchList and
3715         LColor APIs.
3716
3717         * factory.C (createInset, readInset): changes due to altered
3718         InsetBranch c-tor.
3719
3720 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3721
3722         * factory.C:
3723         * lyxfunc.C: remove insetminipage. "minipage-insert"
3724         now produces a frameless minipage box inset.
3725
3726 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3727
3728         * textcursor.[Ch] (selStart,selEnd): add new methods
3729         remove selection::start, end, use LyXCursor::operator<
3730         * lyxcursor.[Ch] (operator<): add
3731         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3732         * BufferView.[Ch] (unsetXSel): add
3733         * text2.C (clearSelection): use unsetXSel,adjust
3734         * text.C: adjust
3735         * text3.C: adjust
3736         * rowpainter.C: adjust
3737         * bufferview_funcs.C (put_selection_at): adjust
3738
3739 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3740
3741         * BufferView_pimpl.C: small coord. correction
3742
3743 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3744
3745         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3746         dragging over the splash screen.
3747
3748 2003-12-11  Angus Leeming  <leeming@lyx.org>
3749
3750         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3751         as it is now handled in LyXText::dispatch.
3752
3753         * text3.C (doInsertInset): remove a level of nesting.
3754
3755 2003-12-11  Angus Leeming  <leeming@lyx.org>
3756
3757         * factory.C (createInset): changes due to the changed interface to
3758         InsetCommandMailer::string2params.
3759
3760 2003-12-10  Angus Leeming  <leeming@lyx.org>
3761
3762         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3763         'dialog-show-new-inset <inset name>'
3764
3765 2003-12-10  Angus Leeming  <leeming@lyx.org>
3766
3767         * buffer.C: up the format to 227.
3768
3769         * factory.C: the box inset is now identified simply by 'Box'.
3770
3771 2003-12-10  Angus Leeming  <leeming@lyx.org>
3772
3773         * buffer.C: up the format to 226.
3774
3775         * factory.C: the note inset is now identified simply by 'Note'.
3776
3777 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3778
3779         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3780         when a pit is enough. Standarize a couple of loops.
3781
3782 2003-12-05  Angus Leeming  <leeming@lyx.org>
3783
3784         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3785         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3786         data to the re-worked "log" dialog.
3787
3788 2003-12-03  André Pönitz  <poenitz@gmx.net>
3789
3790         * PosIterator.C:
3791         * iterators.C:
3792         * lyxtext.h:
3793         * output_latex.C:
3794         * paragraph_funcs.C:
3795         * text.C:
3796         * text2.C: use Inset::getText instead of Inset::getParagraph
3797
3798 2003-12-03  André Pönitz  <poenitz@gmx.net>
3799
3800         * buffer.[Ch]:
3801         * lyxtext.h:
3802         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3803         InsetText::read() as LyXText::read()
3804
3805 2003-12-02  Angus Leeming  <leeming@lyx.org>
3806
3807         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3808         type. Add a comment in the implementation that the function uses
3809         the stream's bad() function rather than fail() as the std::streams
3810         would do.
3811
3812 2003-12-02  André Pönitz  <poenitz@gmx.net>
3813
3814         * lyxlex.[Ch]: make interface more similar to std::stream
3815
3816         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3817
3818 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3819
3820         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3821
3822 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3823
3824         * vspace.[Ch]: remove VSpace::NONE
3825
3826 2003-12-01  André Pönitz  <poenitz@gmx.net>
3827
3828         * buffer.[Ch]:
3829         * lyxtext.h: move ParagraphList member to LyXText
3830         rename LyXText::ownerParagraphs to LyXText::paragraph
3831
3832         * CutAndPaste.C:
3833         * bufferview_funcs.C:
3834         * iterators.[Ch]:
3835         * lyx_cb.C:
3836         * paragraph.C:
3837         * rowpainter.C:
3838         * tabular.C:
3839         * text.C:
3840         * text2.C:
3841         * text3.C: adjust
3842
3843         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3844
3845         * undo.C: fix cursor positioning
3846
3847 2003-12-01  John Levon  <levon@movementarian.org>
3848
3849         * BufferView_pimpl.C: fix a crash on exit with
3850         a buffer open
3851
3852 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3853
3854         * BranchList.C: fix setSelected() method.
3855
3856 2003-11-28  André Pönitz  <poenitz@gmx.net>
3857
3858         * ParagraphParameters.[Ch]:
3859         * ParameterStruct.h: remove space above/below from Paragraph to
3860          InsetVSpace
3861
3862         * BufferView_pimpl.C:
3863         * factory.C:
3864         * lyxfunc.C:
3865         * lyxtext.h:
3866         * output_latex.C:
3867         * paragraph.C:
3868         * paragraph_funcs.C:
3869         * rowpainter.[Ch]:
3870         * text.C:
3871         * text2.C:
3872         * text3.C: adjust
3873
3874 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3875
3876         * factory.C: Syntax change for CharStyles
3877
3878 2003-11-28  André Pönitz  <poenitz@gmx.net>
3879
3880         * BufferView.[Ch]:
3881         * BufferView.[Ch]:
3882         * buffer.[Ch]:
3883         * buffer.[Ch]: move LyXText member
3884
3885 2003-11-28  André Pönitz  <poenitz@gmx.net>
3886
3887         * BufferView.[Ch]: make LyXText * text a private member
3888
3889         * BufferView_pimpl.C:
3890         * cursor.C:
3891         * iterators.C:
3892         * lyx_cb.C:
3893         * lyxfind.C:
3894         * lyxtext.h:
3895         * rowpainter.[Ch]:
3896         * text.C:
3897         * text2.C:
3898         * undo.C: adjust
3899
3900         * output_plaintext.C: cleanup
3901
3902 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3903
3904         * buffer.C:
3905         * lyxtextclass.[Ch]: parametrize SGML document header
3906
3907 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3908
3909         * converter.[Ch]:
3910         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3911         getFlavor().
3912
3913 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3914
3915         * text2.C (setFont): rework using PosIterator (no more recursive)
3916         (setCharFont): no more needed
3917         (setLayout): no more selection cursors fiddling (done by redoCursor)
3918         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3919         destroy remaining ones)
3920
3921 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3922
3923         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3924         * lyxtext.h: ditto
3925         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3926         selection cursors
3927         * lyxfunc.C: adjust
3928         * text3.C: adjust + re-allow multi par depth changes
3929         * textcursor.C: simplify a bit
3930
3931 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3932
3933         * src/buffer.C:
3934         * src/lyxlayout.C:
3935         * src/lyxlayout.h:
3936         * src/lyxtext.h:
3937         * src/output_docbook.C:
3938         * src/output_latex.C:
3939         * src/paragraph.C:
3940         * src/paragraph.h:
3941         * src/sgml.C:
3942         * src/sgml.h:
3943         * src/text2.C: Introducing a number of tags parametrizing various
3944         XML formats that we may want to support
3945
3946 2003-11-25  André Pönitz  <poenitz@gmx.net>
3947
3948         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3949
3950         * lyxtext.h (leftMargin/rightMargin): simplify interface
3951
3952         * rowpainter.C:
3953         * text.C:
3954         * text2.C:
3955         * text3.C: adjust
3956
3957 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3958
3959         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3960         master file to any child files. Fixes bug 546.
3961
3962 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3963
3964         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3965
3966 2003-11-24  André Pönitz  <poenitz@gmx.net>
3967
3968         * rowpainter.C: simplification
3969
3970         * text2.C (updateCounters): remove call to redoParagraph on
3971         changed labels as this is far too expensive.
3972
3973 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3974
3975         * converter.C (convert): fix a crash: this function gets
3976         called with buffer == 0 from importer code.
3977
3978 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3979
3980         * text3.C (cursorPrevious): make sure that we do not compare
3981         iterators form different containers.
3982         (cursorNext): ditto
3983
3984         * rowpainter.C (paintSelection): make sure that we do not compare
3985         iterators from different containers.
3986
3987         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3988         iterators from different ParagraphList containers.
3989         [NEXT] ditto
3990
3991         * text2.C (LyXText): change order of initialization slightly
3992         (operator=): new function. copy all variables except cache_par_
3993         (moveUp): make sure that we do not compare iterators from
3994         different ParagraphList constainers.
3995         (moveDown): ditto
3996
3997         * text.C (firstPar): new function
3998         (lastPar): new function
3999         (endPar): new function
4000
4001         * lyxtext.h: move things around and group public functions, public
4002         variables, private functions, private variables
4003
4004 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4005
4006         * factory.C: change call to InsetERT constructor to avoid
4007         additional invocation of method status
4008         * text2.C (toggleInset): remove redundant update() call
4009         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4010         instead of a Bufferview pointer
4011
4012 2003-11-21  André Pönitz  <poenitz@gmx.net>
4013
4014         * rowpainter.C: simplification
4015
4016 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4017
4018         * text3.C (dispatch): make possible to extend a word/row selection
4019         with the mouse
4020
4021 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4022
4023         * lyxtext.h: x0_,y0_ -> xo_,yo_
4024         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4025         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4026         * rowpainter.C (paintRows): paint full paragraphs
4027
4028 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4029
4030         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4031         screen coordinates)
4032
4033 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4034
4035         * lyxtext.h: add x0_, y0_
4036         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4037         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4038
4039 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4040
4041         * text2.C (setCursorIntern): move the x_target update here *
4042         * text3.C: change some bv() to true/false in calls to
4043         cursorUp/Down/Right/Left
4044         * cursor.C: use helper function.
4045
4046 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4047
4048         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4049         * paragraph_funcs.[Ch]: correct comment
4050         * rowpainter.C: do not paint selections away from bv->cursor()
4051         Fix a long standing selection painting bug.
4052         * text3.C: generalize mouse-selection code to LyXTexts other that
4053         top one
4054         * textcursor.C: do not use y coords if we can use par offsets
4055
4056 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4057
4058         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4059         cursor position after e.g. inset insert)
4060
4061 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4062
4063         * lyxfind.C (replace): adjust to locking removal + some
4064         code simplification
4065
4066 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4067
4068         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4069         of the path
4070
4071 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4072
4073         * lyxlayout.[Ch]:
4074         * output_docbook.C: XML sanitation: new layout
4075         parameters InnerTag and CommandDepth
4076
4077 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4078
4079         * BufferView_pimpl.C:
4080         * factory.C:
4081         * text3.C: Fix the insertion and modification of button-style
4082         insets
4083
4084 2003-11-13  André Pönitz  <poenitz@gmx.net>
4085
4086         * InsetList.[Ch]: remove deleteLyXText
4087
4088         * paragraph.[Ch]: cache beginOfBody position
4089
4090         * Bidi.C:
4091         * text.C:
4092         * text2.C:
4093         * text3.C: remove superfluous update() calls
4094
4095         * vspace.C: cleanup
4096
4097 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4098
4099         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4100         * BufferView.C (fitLockedInsetCursor): remove
4101         * cursor.[Ch] (getDim): add
4102         * text.C (getRowNearY): add faster version
4103         * text3.C: remove some update calls
4104
4105 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4106
4107         * LaTeXFeatures.C:
4108         * LyXAction.C:
4109         * MenuBackend.C:
4110         * MenuBackend.h:
4111         * dispatchresult.h:
4112         * factory.C:
4113         * lfuns.h:
4114         * lyxfunc.C:
4115         * lyxtextclass.C:
4116         * lyxtextclass.h:
4117         * text3.C: The Character Style /XML short element patch.
4118
4119 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4120
4121         * text3.C:
4122         * factory.C: Small step to solving 'unable to insert some insets'
4123         problem
4124
4125 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4126
4127         * cursor.[Ch] (updatePos): new function for updating the y
4128         position of the tip inset
4129         * bufferview_funcs.C (put_selection_at):
4130         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4131
4132 2003-11-11  André Pönitz  <poenitz@gmx.net>
4133
4134         * text.C: remove big comment on invalid Paragraph pointers as it is
4135         not valid anymore
4136
4137 2003-11-11  André Pönitz  <poenitz@gmx.net>
4138
4139         * text_funcs.[Ch]: merge with ...
4140
4141         * text.C: ... this
4142
4143         * lyxtext.h:
4144         * text2.C:
4145         * text3.C: adjust
4146
4147         * Makefile.am: remove text_funcs.[Ch]
4148
4149 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4150
4151         * cursor.C (getPos): return absolute cached y coord
4152
4153         * BufferView_pimpl.C (fitCursor): new simplistic code
4154         (workAreaDispatch): add a fitCursor call
4155
4156 2003-11-10  André Pönitz  <poenitz@gmx.net>
4157
4158         * BufferView.[Ch]:
4159         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4160
4161 2003-11-10  André Pönitz  <poenitz@gmx.net>
4162
4163         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4164         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4165         indicate that the cursor needs to leave an inset
4166
4167         * lyxtext.h: remove inset locking
4168
4169         * cursor.[Ch]: re-implement functionality provided by inset locking
4170
4171         * BufferView.[Ch]:
4172         * BufferView_pimpl.[Ch]:
4173         * LyXAction.C:
4174         * bufferview_funcs.[Ch]:
4175         * factory.C:
4176         * funcrequest.[Ch]:
4177         * iterators.C:
4178         * lyx_cb.C:
4179         * lyxfind.C:
4180         * lyxfunc.C:
4181         * text.C:
4182         * text2.C:
4183         * text3.C:
4184         * undo.C: adjust
4185
4186 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4187
4188         * PosIterator.[Ch]: replace the stack with a vector, add inset
4189         accesor
4190         * iterators.[C]: adjust
4191
4192 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4193
4194         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4195         replaced
4196         * paragraph_funcs.C (readParToken): put the correct id in the
4197         error item, not the id of the top paragraph
4198
4199 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4200
4201         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4202         * bufferview_funcs.C (put_selection_at): use the above
4203
4204 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4205
4206         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4207
4208 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4209
4210         * output_linuxdoc.h:
4211         * output_plaintext.h:
4212         * output.h:
4213         * output_docbook.h: add #include statements
4214
4215 2003-11-05  José Matos  <jamatos@lyx.org>
4216
4217         * output_docbook.[Ch]:
4218         * output_latex.[Ch]:
4219         * output_linuxdoc.[Ch]:
4220         * output_plaintext.[Ch]: New files for output formats.
4221         * output.[Ch]: New file for helper functions.
4222
4223         * buffer.[Ch]:
4224         * paragraph_funcs.[Ch]: output functions moved to new files.
4225
4226         * outputparams.h: rename of latexrunparams.h
4227
4228         * LaTeX.[Ch]:
4229         * buffer.[Ch]:
4230         * bufferlist.[Ch]:
4231         * converter.[Ch]:
4232         * exporter.C:
4233         * paragraph.[Ch]:
4234         * paragraph_funcs.[Ch]:
4235         * paragraph_pimpl.[Ch]:
4236         * tabular.[Ch]: rename ascii to plaintext
4237         and LatexRunParams to OutputParams.
4238
4239 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4240
4241         * iterators.[Ch] (text): require bv argument
4242         * undo.C (recordUndo):
4243         * lyxfunc.C (dispatch):
4244         * bufferview_funcs.C (put_selection_at): adjust
4245
4246 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4247
4248         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4249
4250 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4251
4252         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4253         nestings
4254
4255 2003-11-04  André Pönitz  <poenitz@gmx.net>
4256
4257         * cursor.[Ch]: restructure
4258
4259         * BufferView.[Ch]:
4260         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4261
4262         * iterators.[Ch] (asCursor): remove
4263
4264         * lfuns.h: remove LFUN_INSET_EDIT
4265
4266         * lyxfunc.C:
4267         * tabular.C:
4268         * text.C:
4269         * text2.C:
4270         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4271
4272 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4273
4274         * lyxfind.[Ch]: complete overhaul
4275         * BufferView_pimpl.C:
4276         * lyxfunc.C: adjust
4277         * paragraph.[Ch] (insert): add
4278
4279 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4280
4281         * BufferView.[Ch]:
4282         * lyxtext.h:
4283         * text.C: remove dead spellcheck code
4284
4285 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4286
4287         * dispatchresult.h: add a val setter
4288
4289         * cursor.C (dispatch): use a tempvar for data_[i]
4290
4291 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4292
4293         * PosIterator.[Ch]: compile fix
4294
4295 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4296
4297         * text.C (cursorPar): deactivate the cursor cache
4298
4299 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4300
4301         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4302
4303 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4304
4305         * text3.C (dispatch): adjust for new DisptchResult semantics.
4306
4307         * lyxfunc.C (dispatch): handle update when return from
4308         Cursor::dispatch, adjust for new DispatchResult semantics.
4309
4310         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4311         DispatchResult(true) mean to not update. Add class functions for
4312         setting dispatched and update, as well as reading.
4313
4314         * cursor.C (dispatch): don't handle update here
4315
4316 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4317
4318         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4319         * trans_mgr.C: adjust
4320
4321         * paragraph_funcs.C (readParToken): exception safety
4322
4323         * lyxvc.h: store the vcs pointer in a scoped_ptr
4324         * lyxvc.C: adjust
4325
4326         * lyxsocket.C (serverCallback): exception safety
4327
4328         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4329
4330         * ispell.C (clone): make it return a auto_ptr
4331
4332         * factory.C (createInset): exception safety
4333         (readInset): exception safety
4334
4335         * bufferlist.C (newBuffer): exception safety
4336
4337         * Thesaurus.C (Thesaurus): use initialization for aik_
4338
4339         * MenuBackend.C (expandToc): exception safety.
4340
4341 2003-11-03  André Pönitz  <poenitz@gmx.net>
4342
4343         * buffer.C:
4344         * buffer.h:
4345         * bufferview_funcs.C: remove getInsetFromId()
4346
4347         * lyxcursor.[Ch]:
4348         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4349
4350         * lyxfunc.C:
4351         * text2.C:
4352         * text3.C: adjust
4353
4354 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4355
4356         * PosIterator.C (distance, advance): new
4357         * bufferview_funcs.[Ch] (put_selection_at): new
4358         * iterators.[Ch] (lockPath): new
4359
4360 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4361
4362         * iterators.[Ch] (asPosIterator): added
4363         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4364         * PosIterator.[Ch]: added
4365
4366 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4367
4368         * text3.C:
4369         * lyxfunc.C:
4370         * cursor.C (dispatch):
4371         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4372
4373         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4374         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4375         contructor, add a class function dispatched. Remove operator>=
4376
4377 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4378
4379         * debug.C: only use the default constructor for debugstream
4380         (lyxerr) here.
4381
4382         * main.C (main): include debug.h and setup the lyxerr streambuf
4383         here.
4384
4385 2003-10-31  José Matos  <jamatos@lyx.org>
4386
4387         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4388
4389         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4390         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4391         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4392         * paragraph_pimpl.C (simpleTeXSpecialC):
4393         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4394         add LatexRunParams argument.
4395
4396         * exporter.C (Export): change call accordingly.
4397
4398         * latexrunparams.h: add new member to take care of the other backends.
4399 2003-10-30  José Matos  <jamatos@lyx.org>
4400
4401         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4402         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4403         factorise code for paragraph output.
4404         * buffer.[Ch]:
4405         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4406         move functions.
4407
4408 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4409
4410         * text3.C (dispatch):
4411         * lyxfunc.C (dispatch):
4412         * cursor.C (dispatch):
4413         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4414
4415         * dispatchresult.h: make the dispatch_result_t ctor explicit
4416
4417 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4418
4419         * sgml.[Ch]:
4420         * buffer.C: small refactoring of docbook stuff
4421
4422 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4423
4424         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4425         meaning.
4426
4427 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4428
4429         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4430         operator dispatch_result_t, and operators for == != and >=
4431
4432         * cursor.C (dispatch): adjust for operator dispatch_result_t
4433         removal. comment out call to update
4434
4435         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4436
4437 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4438
4439         * text3.C:
4440         * text2.C:
4441         * text.C:
4442         * lyxtext.h:
4443         * lyxfunc.C:
4444         * cursor.C:
4445         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4446         (dispatch):
4447
4448         * dispatchresult.h: new file, DispatchResult broken out of
4449         insets/insetbase.h
4450
4451         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4452
4453 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4454
4455         * text.C (rowBreakPoint): put a hack inside #if 0
4456
4457 2003-10-28  André Pönitz  <poenitz@gmx.net>
4458
4459         * lyxtext.h:
4460         * metricsinfo.C:
4461         * paragraph_funcs.C:
4462         * rowpainter.C:
4463         * text.C:
4464         * text2.C: general cleanup (lots of small stuff)
4465
4466 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4467
4468         * text2.C (cursorEnd): simple fix to the "end key goes to one
4469         before the end on last row" bug
4470
4471 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4472
4473         * text.C (backspace): fix the "zombie characters"
4474
4475 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4476
4477         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4478
4479 2003-10-27  André Pönitz  <poenitz@gmx.net>
4480
4481         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4482
4483         * factory.C: handle new InsetPagebreak, InsetLine
4484
4485         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4486         and move handling into new InsetPagebreak, InsetLine
4487
4488         * BufferView_pimpl.C:
4489         * LyXAction.C:
4490         * ParagraphParameters.C:
4491         * ParameterStruct.h:
4492         * lyxfunc.C:
4493         * lyxtext.h:
4494         * paragraph.C:
4495         * paragraph.h:
4496         * paragraph_funcs.C:
4497         * paragraph_pimpl.C:
4498         * rowpainter.C:
4499         * text.C:
4500         * text2.C:
4501         * text3.C: adjust
4502
4503 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4504
4505         * text.C:
4506         * lyxrow_funcs.[Ch]:
4507         * Bidi.C:
4508         * paragraph.C:
4509         * lyxtext.h:
4510         * rowpainter.C:
4511         * text2.C:
4512         * text3.C: remove lastPos uses in favour of Row::endpos
4513
4514 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4515
4516         * undo.C (performUndoOrRedo): fix two crashes by setting a
4517         cursor by hand and reordering some calls. Use bv->lockInset instead
4518         of inset->edit because the latter loses cursor information
4519
4520 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4521
4522         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4523         by Martin
4524         (rowBreakPoint): fix width. change point to point + 1.
4525         Add a missing check.
4526
4527 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4528
4529         * MenuBackend.C:
4530         * lyxfunc.C: fix (at least partly) the problems
4531         with the Nav menu and headers inside branch insets
4532         reported by Kayvan
4533
4534 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4535
4536         * paragraph.C (getChar): add strong asserts
4537
4538         * lyxrow_funcs.C (lastPos): remove hideous hack
4539
4540         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4541         (fill): adjust to that (avoid an infinite loop)
4542
4543 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4544
4545         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4546
4547 2003-10-23  André Pönitz  <poenitz@gmx.net>
4548
4549         * RowList_fwd.h: change list<> to vector<> to gain speed
4550         after suggestion from Alfredo
4551
4552 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4553
4554         * lyxtext.h: move the bidi stuff from here...
4555         * text.C: and here
4556         * text2.C: and here
4557         * Bidi.[Ch]: ... to here
4558
4559 2003-10-23  André Pönitz  <poenitz@gmx.net>
4560
4561         * lyxtext.h:
4562         * text.C (isLastRow, isFirstRow): new functions
4563
4564         * paragraph.h: new width cache member
4565
4566         * rowpainter.C: replace RowList::iterator with Row & where possible
4567
4568         * lyxfunc.C: replace several view()->text with a single call
4569
4570         * toc.C: fix 'unused' warning
4571
4572 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4573
4574         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4575         when woring with stream::pos_type
4576         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4577
4578 2003-10-22  André Pönitz  <poenitz@gmx.net>
4579
4580         * lyxtext.h:
4581         * text.C: use Row & instead of RowList::iterator
4582
4583         * lyxrow.h: rename end() to endpos()
4584
4585         * rowpainter.C:
4586         * text.C:
4587         * text2.C: adjust
4588
4589 2003-10-22  Angus Leeming  <leeming@lyx.org>
4590
4591         * buffer.[Ch] (fully_loaded): new member function, returning true
4592         only when the file has been loaded fully.
4593         Used to prevent the premature generation of previews and by the
4594         citation inset to prevent computation of the natbib-style label.
4595
4596         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4597         templates are all set up.
4598
4599         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4600
4601 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4602
4603         * text.C: fixed an "oops" in the "is a bit silly"
4604         bug fix
4605
4606 2003-10-21  André Pönitz  <poenitz@gmx.net>
4607
4608         * FuncStatus.[Ch]: small stuff, whitespace
4609
4610         * lyxfont.[Ch]: operator<<() for debug reasons
4611
4612         * lyxfunc.C:
4613         * lyxrow_funcs.C:
4614         * lyxtext.h: whitespace, spelling
4615
4616         * paragraph.C: naming of variables
4617
4618         * text.C:
4619         * text2.C: small stuff
4620
4621
4622 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4623
4624         * text.C: (1) finish off the inset display() work;
4625         (2) fix the "is a bit silly" bug (accessing char
4626         past end of par).
4627
4628 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4629
4630         * text.C: re-introduce display() for insets, fixing the
4631         various bugs (stretch of line above, math inset
4632         positioning, ...)
4633
4634 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4635
4636         * text.C (rightMargin): remove spurious semicolon
4637
4638         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4639         1415)
4640
4641 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4642
4643         * text3.C: fix one crash due to wrong cursor def
4644
4645 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4646
4647         * vc-backend.C (scanMaster): make the regex static
4648
4649         * LaTeX.C (scanAuxFile): make the regexs static
4650
4651         * text3.C (doInsertInset, dispatch, dispatch):
4652         * text2.C (cursorUp, cursorDown):
4653         * text.C (selectNextWordToSpellcheck):
4654         * BufferView_pimpl.C (dispatch):
4655         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4656
4657 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4658
4659         * lyxsocket.C: include <cerrno>
4660
4661 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4662
4663         * lyxfunc.C (dispatch): remove textcache stuff
4664
4665         * bufferlist.C (release): remove textcache stuff
4666         (closeAll): ditto
4667
4668         * TextCache.C: delete file
4669         * TextCache.h: delete file
4670
4671         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4672
4673         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4674         delete of the bv_->text.
4675         (resizeCurrentBuffer): remove texcache stuff
4676         (workAreaResize): ditto
4677
4678 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4679
4680         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4681         action.
4682
4683 2003-10-16  André Pönitz  <poenitz@gmx.net>
4684
4685         * lyxrow.[Ch]:
4686         * paragraph.h:
4687         * rowpainter.C:
4688         * text.C:
4689         * text2.C:
4690         * text3.C: speed up by storing y positions per paragraph plus per-row
4691         offset instead of having a 'full' y position in the row.
4692
4693 2003-10-15  André Pönitz  <poenitz@gmx.net>
4694
4695         * iterators.[Ch]:
4696         * iterators.[Ch]:
4697         * undo.[Ch]: make undo aware of inner insets
4698
4699 2003-10-14  Angus Leeming  <leeming@lyx.org>
4700
4701         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4702         static member functions LyX::ref() and LyX::cref.
4703         (lastfiles): new accessor functions for the new lastfiles_ member var.
4704         (addLyXView, views_): add a new LyXView to the list of views_.
4705         (updateInset): loop over all LyXViews to call their own updateInset
4706         member function, returning a pointer to the Buffer owning the inset.
4707
4708         * BufferView_pimpl.C (loadLyXFile):
4709         * MenuBackend.C (expandLastfiles):
4710         * bufferlist.C (MenuWrite, QuitLyX):
4711         lastfiles is no longer a global variable.
4712         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4713
4714         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4715         static function. Access through LyX::cref().emergencyCleanup().
4716
4717 2003-10-14  André Pönitz  <poenitz@gmx.net>
4718
4719         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4720
4721         * undo.[Ch]: restoring part of 'undo in insets'
4722
4723         * Makefile.am:
4724         * undo_funcs.[Ch]: merge with undo.[Ch]
4725
4726         * tabular.C: small cleansing stuff
4727
4728 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4729
4730         * paragraph_funcs.C (readParToken): report unknown insets as error
4731         boxes. Use the outer paragraph as location (also for unknown
4732         tokens).
4733
4734         * factory.C (readInset): do not abort on reading an unknown inset.
4735         Eat it and return 0.
4736
4737 2003-10-13  Angus Leeming  <leeming@lyx.org>
4738
4739         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4740
4741         * lyxrc.C: displayTranslator is now a function,
4742         declared in GraphicsTypes.h.
4743
4744 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4745
4746         * format.C: new placeholder $$a to pass the socket address.
4747
4748         * bufferlist.[Ch]: new function getBufferFromTmp.
4749
4750         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4751           files in the temporary dir.
4752
4753 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4754
4755         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4756
4757         * Makefile.am: add lyxsocket.[Ch].
4758
4759         * lyx_main.C (error_handler): handle SIGPIPE.
4760
4761 2003-10-13  André Pönitz  <poenitz@gmx.net>
4762
4763         * BufferView_pimpl.C:
4764         * lyxtext.h:
4765         * text.C:
4766         * text2.C:
4767         * text3.C:
4768         * undo_funcs.[Ch]: use paroffset_type instead of
4769           ParagraphList::iterators to prevent multiple conversion
4770           (and get a more robust interface)
4771
4772 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4773
4774         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4775         * lyxtext.h: ditto
4776         * text3.C (dispatch): ditto
4777
4778 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4779
4780         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4781         move the onlyfile, use onlyfile instead of foundfile in a couple
4782         of places.
4783
4784         * DepTable.C (update): flush the error stream a bit more
4785
4786 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4787
4788         * lyxserver.C (callback): adjust
4789
4790         * lyxfunc.C (getStatus): add a missing brace in commented code
4791         (ensureBufferClean): reindent
4792         (dispatch): delete version taking a string
4793
4794 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4795
4796         * LaTeX.C (deplog): move found file handlig from here...
4797         (handleFoundFile): .. to new function here.
4798         (deplog): make sure to discover several files mentioned on the
4799         same log line.
4800
4801 2003-10-10  André Pönitz  <poenitz@gmx.net>
4802
4803         * lyxfunc.C:
4804         * lyxtext.h:
4805         * tabular.C:
4806         * text.C:
4807         * text2.C:
4808         * text3.C: fix some of the tabular crashes
4809
4810 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4811
4812         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4813
4814         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4815
4816 2003-10-09  André Pönitz  <poenitz@gmx.net>
4817
4818         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4819
4820         * BufferView.C:
4821         * BufferView_pimpl.C:
4822         * bufferview_funcs.C:
4823         * lyx_cb.C:
4824         * lyxcursor.C:
4825         * lyxfind.C:
4826         * lyxfunc.C:
4827         * lyxtext.h:
4828         * text.C:
4829         * text2.C:
4830         * text3.C:
4831         * text_funcs.[Ch]:
4832         * textcursor.[Ch]:
4833         * undo_funcs.C: adjust
4834
4835 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4836
4837         * text2.C (incrementItemDepth): new function, use a backtracking
4838         algorithm to discover the correct item depth.
4839         (resetEnumCounterIfNeeded): new function, use a backtracking
4840         algorithm to discover if counter reset is needed.
4841         (setCounter): use them. Simplify a bit. Add different labels for
4842         different item depths for itemize.
4843
4844         * paragraph.C (Paragraph): remove initialization of enumdepth
4845         (operator=): ditto
4846
4847         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4848         enumerate and itemize. Change the type of itemdepth to signed char.
4849
4850 2003-10-08  André Pönitz  <poenitz@gmx.net>
4851
4852         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4853           thing assignable.
4854         * text.C:
4855         * text2.C: adjust
4856
4857         * tabular.[Ch]: fix crash after 'row-insert'
4858
4859 2003-10-08  Angus Leeming  <leeming@lyx.org>
4860
4861         Fix doxygen warnings.
4862
4863         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4864         Remove CutAndPaste:: prefix from header file declaration.
4865
4866         * LColor.h (fill): remove LColor:: prefix from declaration.
4867
4868         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4869         use lyx::depth_type rather than Paragraph::depth_type so that
4870         header file and .C file match.
4871
4872         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4873
4874         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4875         * aspell.C: \file aspell_local.C -> \file aspell.C
4876         * gettext.C: \file gettext.C -> \file src/gettext.C
4877         * gettext.h: \file gettext.h -> \file src/gettext.h
4878         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4879         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4880         * text.C: \file text.C -> \file src/text.C
4881
4882         * toc.C: move comment so that doxygen is not confused.
4883
4884 2003-10-07  Angus Leeming  <leeming@lyx.org>
4885
4886         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4887
4888 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4889
4890         * aspell.C:
4891         * aspell_local.h: add forgotten std::string's.
4892
4893 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4894
4895         * LaTeXFeatures.C:
4896         * LyXAction.C:
4897         * factory.C:
4898         * lfuns.h:
4899         * lyxfunc.C:
4900         * text3.C: The Box patch. Fancybox support, minipage, parbox
4901
4902 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4903
4904         * CutAndPaste.h:
4905         * DepTable.h:
4906         * FloatList.h:
4907         * LaTeXFeatures.h:
4908         * ParagraphParameters.h:
4909         * TextCache.h:
4910         * Thesaurus.h:
4911         * bufferlist.h:
4912         * exporter.h:
4913         * importer.h:
4914         * lastfiles.h:
4915         * lyxfind.h:
4916         * lyxfont.h:
4917         * lyxlex.h:
4918         * lyxtextclasslist.h:
4919         * messages.h:
4920         * paragraph.h:
4921         * paragraph_pimpl.C:
4922         * textcursor.h: add <string> and other small fixes to make Lars'
4923         std::string patch compile with STLport.
4924
4925 2003-10-06  Angus Leeming  <leeming@lyx.org>
4926
4927         * LColor.h: Add missing #include <string>.
4928
4929 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4930
4931         * All most all file in all subdirs: Make <string> be the prefered
4932         way of getting to std::string, add using declarations.
4933
4934 2003-10-06  André Pönitz  <poenitz@gmx.net>
4935
4936         * metricsinfo.C: initialize LyXFont before changing attribute.
4937         (fixes the 'math in \emph is upright' bug)
4938
4939 2003-10-06  André Pönitz  <poenitz@gmx.net>
4940
4941         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4942
4943 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4944
4945         * graph.C:
4946         * paragraph_pimpl.C: Small fixes to build using STLport
4947
4948 2003-10-02  André Pönitz  <poenitz@gmx.net>
4949
4950         * lyxfunc.C:
4951         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4952
4953 2003-10-01  André Pönitz  <poenitz@gmx.net>
4954
4955         * factory.C: assert early
4956
4957 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4958
4959         * lyx_main.C: remove the global debug object
4960
4961         * debug.h: adjust for new debugstream
4962
4963         * debug.C: adjust for new debugstream and keep the global debug
4964         object here.
4965
4966 2003-09-22  Angus Leeming  <leeming@lyx.org>
4967
4968         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4969         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4970         an incomplete class LyXFont.
4971
4972 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4973
4974         * factory.C: bug fix in branches
4975
4976 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4977
4978         * lyxfunc.C (processKeySym): adjust
4979         (dispatch): adjust
4980         (dispatch): change arg name from ev to func, adjust
4981         (sendDispatchMessage): ditto
4982
4983         * lyx_main.C (defaultKeyBindings): adjust keybindings
4984         (deadKeyBindings): ditto
4985
4986         * kbsequence.C (addkey): return a FuncRequest
4987
4988         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4989
4990         * kbmap.C (bind): take a FuncRequest as arg, adjust
4991         (read): adjust
4992         (lookup): adjust
4993         (defkey): change to take a FuncRequest as arg, adjust
4994         (findbinding): take a FuncRequest as arg, adjust.
4995
4996         * funcrequest.h (operator=): added
4997
4998         * funcrequest.C (FuncRequest): default kb_action changed from
4999         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5000
5001         * buffer.C (dispatch): simplify
5002         (dispatch): adjust to take a FuncRequest as arg, adjust
5003
5004         * boost.C (assertion_failed): change assertion message slightly
5005
5006         * ToolbarBackend.C (read): simplify
5007
5008         * MenuBackend.C (binding): adjust call to findbinding, add a
5009         message if no binding is found.
5010         (read): simplify
5011         (expandToc): correct by adding a empty FuncRequest
5012
5013         * LyXAction.C: include <boost/assert.hpp>
5014         (isPseudoAction): delete function
5015         (LookupFunc): change name to...
5016         (lookupFunc): this. change return type to FuncRequest.
5017         (getActionName): take kb_action as arg, simplify
5018         (funcHasFlag): add an assert, simplify.
5019
5020 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5021
5022         * toc.C (action): return a FuncRequest, simplify
5023
5024         * lyxfunc.C (processKeySym): adjust
5025         (getStatus): delete version that takes an int.
5026         (getStatus): adjust
5027         (dispatch): delete version that takes action as int
5028         (dispatch): adjust
5029         (sendDispatchMessage): simplify and adjust
5030
5031         * funcrequest.C (getArg): take unsigned int as arg
5032
5033         * ToolbarBackend.C (read): adjust
5034         (add): delete version that takes func as a string.
5035         (getIton): take a FuncRequest as arg
5036
5037         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5038         action.
5039
5040         * MenuBackend.C (MenuItem): add a new construct that only takes a
5041         Kind, simplify the constructor use for submenus.
5042         (add): adjust
5043         (expandLastfiles): adjust
5044         (expandDocuments): adjust
5045         (expandFormats): adjust
5046         (expandFloatListInsert): adjust
5047         (expandFloatInsert): adjust
5048         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5049
5050         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5051         Remove class variables lyx_pseudo_map and lyx_arg_map
5052
5053         * LyXAction.C (searchActionArg): delete function
5054         (getPseudoAction): delete function
5055         (retrieveActionArg): delete function
5056         (LookupFunc): make it return kb_action, simplify.
5057         (getActionName): simplify
5058
5059         * factory.C (createInset): fix new bug
5060
5061 2003-09-19  Angus Leeming  <leeming@lyx.org>
5062
5063         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5064         masterFilename_ parameter in the include inset.
5065
5066         * factory.C (createInset): changes due to the changes to InsetInclude.
5067
5068 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5069
5070         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5071
5072 2003-09-18  Angus Leeming  <leeming@lyx.org>
5073
5074         * buffer.C:
5075         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5076         Inset::fillWithBibKeys.
5077         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5078
5079 2003-09-18  Angus Leeming  <leeming@lyx.org>
5080
5081         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5082         variables.
5083         (ctor): pass and store a 'Buffer const &'
5084         (buffer): new member function.
5085
5086         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5087         '*this' to the LaTeXFeatures ctor.
5088
5089 2003-09-18  Angus Leeming  <leeming@lyx.org>
5090
5091         * LColor.h:
5092         * lyxfont.C:
5093         * lyxfont.h:
5094         * lyxtext.h:
5095         * text.C: rename EnumLColor as LColor_color.
5096
5097 2003-09-18  Angus Leeming  <leeming@lyx.org>
5098
5099         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5100         remove #include "insets/insetbase.h" from cursor.h.
5101
5102 2003-09-18  Angus Leeming  <leeming@lyx.org>
5103
5104         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5105         InsetOld_code to remove #include "inset.h".
5106
5107         * iterators.C: add #include "insets/inset.h"
5108
5109 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5110
5111         * BufferView.C: remove more locking stuff that apparently doesn't
5112         do anything sensible.
5113
5114 2003-09-16  André Pönitz  <poenitz@gmx.net>
5115
5116         * paragraph.[Ch]:
5117         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5118           performance boost.
5119
5120 2003-09-16  Angus Leeming  <leeming@lyx.org>
5121
5122         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5123
5124         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5125         arg/return type.
5126
5127         * paragraph.h: remove #include "lyxfont.h". Forward declare
5128         LyXFont_size.
5129
5130 2003-09-16  Angus Leeming  <leeming@lyx.org>
5131
5132         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5133         of support/textutils.h.
5134         (isWord): move the contents of support/textutils.h's IsWordChar here.
5135
5136         * buffer.C:
5137         * lyxfind.C:
5138         * rowpainter.C:
5139         * text.C:
5140         * text2.C: add #include "paragraph.h".
5141
5142         * rowpainter.C:
5143         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5144
5145 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5146
5147         * main.C:
5148         * lyx_main.C:
5149         * lyx_cb.C:
5150         * buffer.C:
5151         * LaTeX.C: use namespace alias for lyx::support::os
5152
5153 2003-09-16  Angus Leeming  <leeming@lyx.org>
5154
5155         * bufferparams.C:
5156         * bufferview_funcs.C:
5157         * factory.C:
5158         * lyxfunc.C:
5159         * paragraph_pimpl.C:
5160         * rowpainter.C:
5161         * text.C: add #include "LColor.h".
5162
5163 2003-09-16  Angus Leeming  <leeming@lyx.org>
5164
5165         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5166         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5167         return LyXFont &.
5168         Store the FontBits::color variable as an int rather than as an
5169         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5170         file.
5171
5172         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5173         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5174         string calls together.
5175
5176         * lyxrc.C: add #include "LColor.h".
5177
5178 2003-09-15  Angus Leeming  <leeming@lyx.org>
5179
5180         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5181         a cow_ptr.
5182
5183 2003-09-15  Angus Leeming  <leeming@lyx.org>
5184
5185         * LColor.h: add an EnumLColor wrapper for LColor::color.
5186
5187         * lyxfont.[Ch] (color, setColor, realColor):
5188         * lyxtext.h, text.C (backgroundColor):
5189         pass EnumLColor args to/from the functions, rather than LColor::color
5190         ones.
5191
5192         * lyxfont.h:
5193         * lyxtext.h: forward declare EnumLColor.
5194
5195         * lyx_main.C: add #include "LColor.h".
5196
5197 2003-09-15  Angus Leeming  <leeming@lyx.org>
5198
5199         * .cvsignore: add lyx-gtk.
5200
5201 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5202
5203         * Chktex.C
5204         * LaTeX.C
5205         * LaTeXFeatures.C
5206         * ParagraphParameters.C
5207         * Spacing.C
5208         * buffer.C
5209         * bufferparams.C
5210         * bufferview_funcs.C
5211         * chset.C
5212         * counters.C
5213         * funcrequest.C
5214         * lyxfont.C
5215         * lyxgluelength.C
5216         * lyxlength.C
5217         * paragraph.C
5218         * paragraph_funcs.C
5219         * text3.C
5220         * vc-backend.C: remove usage of STRCONV
5221
5222 2003-09-15  Angus Leeming  <leeming@lyx.org>
5223
5224         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5225         explicitly define the color passed to the painter.
5226
5227 2003-09-15  Angus Leeming  <leeming@lyx.org>
5228
5229         * bufferparams.C (BufferParams): reorder member initializers to avoid
5230         compiler warning.
5231
5232 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5233
5234         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5235         * text.C (updateRowPositions): remove an unusual nop
5236
5237 2003-09-12  André Pönitz  <poenitz@gmx.net>
5238
5239         * BufferView_pimpl.C:
5240         * Bullet.C:
5241         * layout.h:
5242         * lyxfunc.C:
5243         * lyxlayout.[Ch]:
5244         * lyxtextclass.C:
5245         * rowpainter.C:
5246         * text.C:
5247         * text2.C:
5248         * Counters.[Ch]: finish the 'automatic counters' job
5249
5250 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5251
5252         * aspell.C: include <boost/assert.cpp> (compile fix)
5253
5254 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5255
5256         * boost.C (assertion_failed): use lyx::support::abort instead of
5257         assert.
5258
5259 2003-09-10  Angus Leeming  <leeming@lyx.org>
5260
5261         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5262         with their _fwd progeny.
5263
5264 2003-09-09  Angus Leeming  <leeming@lyx.org>
5265
5266         134 files throughtout the source tree: replace 'using namespace abc;'
5267         directives with the appropriate 'using abc::xyz;' declarations.
5268
5269 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5270
5271         * boost.C (emergencyCleanup): moved here from LAssert.c
5272         (assertion_failed): new function, called by BOOST_ASSERT
5273
5274         * several files: change Assert to BOOST_ASSERT
5275
5276 2003-09-09  Angus Leeming  <leeming@lyx.org>
5277
5278         * buffer.[Ch]: Add an Impl class and move Buffer's member
5279         variables into it. As a result move several header files out of
5280         buffer.h.
5281
5282         Add header files to lots of .C files all over the tree as a result.
5283
5284 2003-09-09  Angus Leeming  <leeming@lyx.org>
5285
5286         * buffer.[Ch]: make Buffer's member variables private. Add
5287         accessor functions.
5288
5289         Lots of changes all over the tree as a result.
5290
5291 2003-09-08  Angus Leeming  <leeming@lyx.org>
5292
5293         * graph.C: #include <config.h>.
5294
5295 2003-09-08  Angus Leeming  <leeming@lyx.org>
5296
5297         * BranchList.C:
5298         * BufferView.C:
5299         * BufferView_pimpl.C:
5300         * CutAndPaste.C:
5301         * DepTable.C:
5302         * LaTeX.C:
5303         * LaTeXFeatures.C:
5304         * LyXAction.C:
5305         * MenuBackend.C:
5306         * TextCache.C:
5307         * aspell.C:
5308         * buffer.C:
5309         * bufferlist.C:
5310         * changes.C:
5311         * chset.C:
5312         * converter.C:
5313         * counters.C:
5314         * debug.C:
5315         * graph.C:
5316         * ispell.C:
5317         * lyx_cb.C:
5318         * lyxfind.C:
5319         * lyxfunc.C:
5320         * lyxlex_pimpl.C:
5321         * lyxrc.C:
5322         * lyxrow.C:
5323         * paragraph.C:
5324         * rowpainter.C:
5325         * texrow.C:
5326         * text.C:
5327         * text2.C:
5328         * toc.C: remove redundant using directives.
5329
5330 2003-09-07  Angus Leeming  <leeming@lyx.org>
5331
5332         * LaTeXFeatures.h: remove #include "support/types.h".
5333         * ToolbarBackend.h: remove #include <algorithm>.
5334         * changes.h: remove #include <ctime>.
5335         * debug.h: remove #include <iosfwd>.
5336         * graph.h: remove #include "support/std_string.h".
5337         * lyx_main.h: remove #include <csignal>.
5338         * lyxlex_pimpl.h: remove #include <fstream>.
5339         * sgml.h: remove #include <algorithm>, <utility>.
5340         * toc.h: remove #include "support/std_ostream.h".
5341         Add #include <iosfwd>.
5342
5343 2003-09-07  Angus Leeming  <leeming@lyx.org>
5344
5345         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5346
5347         * converter.h: forward declare LatexRunParams.
5348         * encoding.h: remove #include "lyxrc.h".
5349         * lyxtext.h: remove #include "LColor.h".
5350         * lyxtextclass.h: remove #include "support/types.h".
5351         * trans.h: remove #include "tex-accent.h".
5352         * trans_mgr.h: remove #include "tex-accent.h".
5353         * insets/inset.h: remove #include "support/types.h", <vector>.
5354         * insets/insetcollapsable.h: remove #include "LColor.h".
5355         * insets/insetinclude.h: remove #include "dimension.h".
5356         * insets/insetlatexaccent.h: remove #include "dimension.h".
5357         * insets/insetoptarg.h:: remove #include "insettext.h".
5358         * insets/insettext.h: remove #include "dimension.h",
5359         <boost/shared_ptr.hpp>
5360
5361         * insets/renderers.h: add #include "dimension.h".
5362         * insets/updatableinset.h: add #include "support/types.h".
5363
5364         * many .C files: Associated changes.
5365
5366 2003-09-06  Angus Leeming  <leeming@lyx.org>
5367
5368         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5369         one, inside testInvariant.
5370
5371         * PrinterParams.C: new file.
5372         * PrinterParams.[Ch]: move the function bodies out of line.
5373
5374 2003-09-06  Angus Leeming  <leeming@lyx.org>
5375
5376         * ParagraphParameters.h: forward declare ParameterStruct rather than
5377         including its header file.
5378         (depth): moved out-of-line.
5379
5380 2003-09-06  Angus Leeming  <leeming@lyx.org>
5381
5382         * BufferView_pimpl.h:
5383         * kbmap.h:
5384         * kbsequence.h:
5385         * lyxfunc.h: forward declare LyXKeySym rather than
5386         #include "frontends/LyXKeySym.h".
5387
5388         * BufferView_pimpl.C:
5389         * kbmap.C:
5390         * kbsequence.C:
5391         * lyxfunc.C: associated changes.
5392
5393 2003-09-06  Angus Leeming  <leeming@lyx.org>
5394
5395         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5396         As a result, can remove the #include "insets/inset.h" from BufferView.h
5397
5398 2003-09-06  Angus Leeming  <leeming@lyx.org>
5399
5400         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5401         As a result, can remove the #include "insets/inset.h" from BufferView.h
5402
5403 2003-09-06  Angus Leeming  <leeming@lyx.org>
5404
5405         * buffer_funcs.C:
5406         * buffer.h:
5407         * bufferlist.C:
5408         * BufferView.C:
5409         * bufferview_funcs.C:
5410         * BufferView_pimpl.C:
5411         * CutAndPaste.C:
5412         * lyx_cb.C:
5413         * lyxfunc.C:
5414         * paragraph.h:
5415         * ParagraphParameters.C:
5416         * tabular.C:
5417         * text3.C:
5418         * toc.C:
5419         * undo_funcs.C:
5420         * frontends/controllers/ControlDocument.C:
5421         * insets/insetcaption.C: rearrange the #includes into some sort of
5422         coherent order.
5423
5424         * buffer.h: remove #includes ErrorList.h, undo.h
5425
5426 2003-09-06  Angus Leeming  <leeming@lyx.org>
5427
5428         * support/types.h: add a 'depth_type' typedef, used to store the
5429         nesting depth of a paragraph.
5430
5431         * paragraph.h:
5432         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5433         defining explicitly.
5434
5435         * buffer.h:
5436         * paragraph_funcs.h:
5437         * ParagraphParameters.h:
5438         * sgml.h: use lyx::depth_type rather than Paragraph or
5439         ParameterStruct's depth_type.
5440
5441         * buffer.h
5442         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5443
5444         * BufferView.C:
5445         * BufferView_pimpl.C:
5446         * CutAndPaste.C:
5447         * ParagraphParameters.C:
5448         * buffer_funcs.C:
5449         * bufferlist.C:
5450         * bufferview_funcs.C:
5451         * lyx_cb.C:
5452         * lyxfunc.C:
5453         * tabular.C:
5454         * text3.C:
5455         * toc.C:
5456         * undo_funcs.C:
5457         * frontends/LyXView.C:
5458         * frontends/controllers/ControlDocument.C:
5459         * frontends/controllers/ControlErrorList.C:
5460         * insets/insetbibitem.C:
5461         * insets/insetbranch.C:
5462         * insets/insetcaption.C:
5463         * insets/insetcollapsable.C:
5464         * insets/insetenv.C:
5465         * insets/insetert.C:
5466         * insets/insetfloat.C:
5467         * insets/insetfoot.C:
5468         * insets/insetfootlike.C:
5469         * insets/insetnewline.C:
5470         * insets/insetquotes.C:
5471         * insets/insettabular.C:
5472         * insets/insettext.C:
5473         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5474
5475         * frontends/controllers/ControlChanges.C: #include "changes.h".
5476
5477 2003-09-06  Angus Leeming  <leeming@lyx.org>
5478
5479         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5480         than #including paragraph.h.
5481
5482         * ParagraphList.h:
5483         * RowList.h: deleted. Superfluous.
5484
5485         * CutAndPaste.h:
5486         * iterators.h:
5487         * lyxcursor.h:
5488         * lyxtext.h:
5489         * text_funcs.h:
5490         * undo.h:
5491         * undo_funcs.h:
5492         * insets/inset.h:
5493         * insets/insettext.h: use ParagraphList_fwd.h rather than
5494         ParagraphList.h.
5495
5496         * paragraph.h: don't forward declare ParagraphList.
5497
5498         * buffer.h:
5499         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5500         rather than ParagraphList.h. paragraph.h is still needed for the
5501         Paragraph::depth_type parameters.
5502
5503         * textcursor.h: enable it to compile stand-alone in light of the
5504         above changes.
5505
5506         * bufferview_funcs.C:
5507         * iterators.C:
5508         * lyxfunc.C:
5509         * lyxrow_funcs.C:
5510         * paragraph.C:
5511         * rowpainter.C:
5512         * text.C:
5513         * text2.C:
5514         * text3.C:
5515         * text_funcs.C:
5516         * textcursor.C:
5517         * undo.C:
5518         * frontends/controllers/ControlParagraph.C:
5519         * frontends/controllers/ControlTabular.C:
5520         * insets/insetmarginal.C:
5521         * insets/insetminipage.C:
5522         * insets/insetnote.C:
5523         * insets/insetoptarg.C: add header files needed to compile again.
5524
5525 2003-09-06  Angus Leeming  <leeming@lyx.org>
5526
5527         * RowList_fwd.h: new file, forward-declaring Row rather than
5528         #including lyxrow.h.
5529
5530         * lyxrow_funcs.h:
5531         * lyxtext.h:
5532         * paragraph.h:
5533         * insets/insettext.h: use it instead of RowList.h
5534
5535         * bufferview_funcs.C:
5536         * lyxfunc.C:
5537         * lyxrow_funcs.C:
5538         * paragraph.C:
5539         * rowpainter.C:
5540         * text.C:
5541         * text2.C:
5542         * text3.C: #include "RowList.h".
5543
5544 2003-09-05  Angus Leeming  <leeming@lyx.org>
5545
5546         * factory.C (createInset):
5547         * vspace.C (c-tor): replace sscanf call with an istringstream.
5548         * ispell.C: re-add missing HP/UX headers.
5549         * lyxserver.C: re-add missing  os2 headers.
5550
5551 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5552
5553         * BranchList.C:
5554         * graph.C:
5555         * ispell.C:
5556         * lastfiles.C:
5557         * lyx_cb.C:
5558         * lyxserver.C:
5559         * texrow.C:
5560         * text3.C: re-add missing system headers, needed for 2.95.2.
5561
5562 2003-09-05  Angus Leeming  <leeming@lyx.org>
5563
5564         Changes most place everywhere due to the removal of using directives
5565         from support/std_sstream.h.
5566
5567 2003-09-05  Angus Leeming  <leeming@lyx.org>
5568
5569         Replace LString.h with support/std_string.h,
5570         Lsstream.h with support/std_sstream.h,
5571         support/LIstream.h with support/std_istream.h,
5572         support/LOstream.h with support/std_ostream.h.
5573
5574         Changes resulting throughout the tree.
5575
5576 2003-09-05  Angus Leeming  <leeming@lyx.org>
5577
5578         * sgml.h: ensure that the header file can be compiled stand-alone.
5579         * *.C: strip out redundant #includes. (320 in total.)
5580
5581 2003-09-04  Angus Leeming  <leeming@lyx.org>
5582
5583         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5584         here (from getPackages).
5585
5586         * debug.[Ch]: add a new EXTERNAL tag.
5587
5588 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5589
5590         * text2.C (cursorEnd): simplify
5591         (setCursor): adjust
5592         (getColumnNearX): adjust
5593
5594         * text.C (computeBidiTables): adjust
5595         (fill): adjust
5596
5597         * rowpainter.C (paintChars): adjust
5598         (paintSelection): adjust
5599         (paintChangeBar): adjust
5600         (paintText): adjust
5601
5602         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5603         lastPos instead.
5604         (numberOfSeparators): adjust
5605
5606 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5607
5608         * LyXAction.C:
5609         * box.[Ch]:
5610         * lfuns.h:
5611         * lyxfunc.C:
5612         * text3.C: Restricts the mouse click functionality
5613         of insets like bibtex, include, toc and floatlist to the visible
5614         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5615         up the dialogs. Cursor has to be in front of the inset (i.e.
5616         start of row) for this to function.
5617
5618 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5619
5620         * bufferview_funcs.C (currentState): output row information
5621
5622 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5623
5624         * bufferview_funcs.C (currentState): output paragraph position
5625
5626 2003-09-04  Angus Leeming  <leeming@lyx.org>
5627
5628         * FloatList.h: move out #include "Floating.h".
5629         * LaTeX.h: move out #include "DepTable.h".
5630         * LyXAction.h: move out #include "funcrequest.h".
5631         * buffer.h: move out #include "author.h", "iterators.h".
5632         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5633         * lyx_main.h: move out #include "errorlist.h".
5634         * lyxfunc.h: move out #include "FuncStatus.h".
5635         * lyxtext: move out #include "lyxcursor.h".
5636         * paragraph_pimpl.h: move out #include "counters.h".
5637
5638 2003-09-03  Angus Leeming  <leeming@lyx.org>
5639
5640         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5641         preamble_snippets list, enabling us to add snippets to the preamble
5642         only if the snippet was not there already.
5643
5644 2003-09-04  Angus Leeming  <leeming@lyx.org>
5645
5646         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5647
5648 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5649
5650         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5651         update
5652
5653 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5654
5655         * BranchList.C: point fix, earlier forgotten
5656
5657 2003-09-02  Angus Leeming  <leeming@lyx.org>
5658
5659         * box.C (contains): renamed from 'contained' after a fantastic
5660         amount of hot air.
5661
5662 2003-09-02  John Levon  <levon@movementarian.org>
5663
5664         * BufferView.C:
5665         * lyxcursor.h:
5666         * lyxcursor.C:
5667         * lyxfunc.C:
5668         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5669
5670 2003-09-02  John Levon  <levon@movementarian.org>
5671
5672         * text2.C: simplification of cursorEnd(), including partial
5673         fix for bug 1376
5674
5675 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * buffer.C (readFile): add a space
5678
5679 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5680
5681         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5682
5683 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5684
5685         * buffer.C (readFile): new function, take a filename and a
5686         ParagraphList::iterator
5687         (readFile): adjust
5688         (readFile): adjust, make it private. don't use setStream, make
5689         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5690         always contain the filename.
5691
5692         * BufferView.C (insertLyXFile): simplify and make it work for
5693         gzipped files.
5694
5695 2003-08-30  John Levon  <levon@movementarian.org>
5696
5697         * Makefile.am: fix dist (from Kayvan)
5698
5699 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5700
5701         * most files: change to use const Buffer refs
5702
5703 2003-08-27  André Pönitz  <poenitz@gmx.net>
5704
5705         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5706         on top of ownerPar().
5707
5708 2003-08-27  John Levon  <levon@movementarian.org>
5709
5710         * funcrequest.C: properly initialise POD members
5711
5712 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5713
5714         * lyxtext.h (top_y): move top_y from here
5715         * text.C:
5716         * text2.C:
5717         * text3.C:
5718         * BufferView.[Ch]:
5719         * BufferView_pimpl.[Ch]: to here
5720         * frontends/screen.C:
5721         * insets/insettabular.C:
5722         * insets/insettext.C: adjust
5723         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5724
5725 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5726
5727         * BufferView.[Ch]:
5728         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5729
5730 2003-08-26  André Pönitz  <poenitz@gmx.net>
5731
5732         * paragraph_func.[Ch] (outerPar): new function
5733
5734         * paragraph.C:
5735         * paragraph_funcs.C:
5736         * paragraph_funcs.h:
5737         * paragraph_pimpl.C:
5738         * text2.C: remove Inset::par_owner
5739
5740 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5741
5742         * lyxrow_funcs.C:
5743         * lyxtext.h:
5744         * text.C:
5745         * text2.C: eliminates the needFullRow/display() stuff
5746         altogether, putting the logic in metrics/draw in the insets.
5747
5748 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5749
5750         * text2.C (redoParagraphInternal, redoParagraphs):
5751         * text.C (redoParagraph): add a call to updateRowPositions at the
5752         end of each 'metrics-like' call. Remove all others.
5753         (getRow): remove the 'y-computing' version.
5754         (getRowNearY): do not compute nor return the real y. Solve the
5755         'y < 0' problem and simplify.
5756
5757 2003-08-22  Angus Leeming  <leeming@lyx.org>
5758
5759         * *.[Ch]: clean-up of licence and author blurbs.
5760         Also move config.h out of a few .h files and into a few .C files.
5761
5762 2003-08-22  André Pönitz  <poenitz@gmx.net>
5763
5764         * lyxrow.[Ch]: add x_ and *fill_ members
5765
5766         * lyxtext.h:
5767         * text.C:
5768         * rowpainter.C:
5769         * text2.C: adjust/remove prepareToPrint() calls
5770
5771 2003-08-22  André Pönitz  <poenitz@gmx.net>
5772
5773         * lyxrow.[Ch]: add  end_ member
5774
5775         * lyxrow_funcs.C: use LyXRow::end_
5776
5777         * lyxtext.h (singleWidth): add LyXFont parameter
5778
5779         * rowpainter.C:
5780         * text2.C: adjust LyXText::singleWidth() calls
5781
5782         * text.C (redoParagraph): simplify row breaking logic
5783
5784
5785 2003-08-19  André Pönitz  <poenitz@gmx.net>
5786
5787         * funcrequest.C: initialize button_ member
5788
5789         * text3.C:
5790         * rowpainter.[Ch]: interface consolidation
5791
5792 2003-08-18  André Pönitz  <poenitz@gmx.net>
5793
5794         * BufferView.C:
5795         * BufferView_pimpl.C:
5796         * lyxfind.C:
5797         * paragraph_funcs.C:
5798         * rowpainter.C:
5799         * text3.C: remove LyXScreen::draw() and fitCursor calls
5800
5801         * BranchList.h: remove spurious semicolons
5802
5803         * MenuBackend.C: fix branchlist related crash
5804
5805 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5806
5807         * BranchList.[Ch]:
5808         * InsetList.[Ch]:
5809         * LColor.[Ch]:
5810         * LyXAction.C:
5811         * Makefile.am:
5812         * MenuBackend.[Ch]:
5813         * bufferparams.[Ch]:
5814         * factory.C:
5815         * lfuns.h:
5816         * lyxfunc.C:
5817         * text3.C: implements the 'branch inset'
5818         idea. This allows the output of various versions of a document
5819         from a single source version, selectively outputing or suppressing
5820         output of parts of the text.
5821         This implementation contains a 'branch list editor' in a separate
5822         tab of the document settings dialog. Branches are user definable
5823         and have a "display colour" to distinguish them on-screen.
5824
5825         ColorHandler was somewhat cleaned up.
5826         (1) make possible a dynamically growing LColor list by allowing
5827         the graphic context cache to grow along (vector);
5828         (2) eliminate an IMHO unnecessary step in colour allocation.
5829
5830 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5831
5832         * BufferView_pimpl.C: compile fix
5833
5834 2003-08-15  André Pönitz  <poenitz@gmx.net>
5835
5836         * rowpainter.C: remove extra metrics calls
5837
5838         * lyxtext.h: merge the two constructors into a single one,
5839           pass reference to owner's par list
5840
5841         * BufferView_pimpl.C:
5842         * text.C:
5843         * text2.C: adjust
5844
5845 2003-08-15  André Pönitz  <poenitz@gmx.net>
5846
5847         * lyxrow_funcs.[Ch]:
5848         * lyxtext.h:
5849         * paragraph.h:
5850         * paragraph_funcs.C:
5851         * rowpainter.C:
5852         * text.C:
5853         * text2.C:
5854         * text3.C:
5855         * text_funcs.C: split LyXText::rowlist_ into individual
5856         Paragraph::rows_ chunks
5857
5858         * BufferView.[Ch]:
5859         * BufferView_pimpl.[Ch]:
5860         * lyxfind.C:
5861         * lyxtext.h:
5862         * text3.C: remove toggleSelection()
5863
5864 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5865
5866         * bufferlist.C: beautify two alerts (shorter text of buttons)
5867         * buffer.C: Remove redundant ' ' from message
5868         * tabular.h:
5869         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5870         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5871         rename VALIGN_CENTER to VALIGN_MIDDLE
5872
5873 2003-08-11  André Pönitz  <poenitz@gmx.net>
5874
5875         * lyxtext.h (getPar):
5876         * text.C: new function
5877
5878 2003-08-11  André Pönitz  <poenitz@gmx.net>
5879
5880         * Makefile.am:
5881         * tracer.[Ch]: remove unneeded files
5882
5883         * InsetList.[Ch]: remove resizeInsetsLyXText()
5884
5885         * lyxtext.h:
5886         * text.C:
5887         * text2.C:
5888         * text3.C: merge insertParagraphs() and appendParagraph()
5889         remove breakAgain(), update()
5890
5891         * BufferView_pimpl.[Ch]:
5892         * bufferview_funcs.[Ch]:
5893         * lyxfunc.C:
5894         * paragraph.[Ch]:
5895         * rowpainter.C:
5896         * tabular.C: adjust after text & InsetList changes.
5897
5898 2003-08-08  André Pönitz  <poenitz@gmx.net>
5899
5900         * text.C (insertChar, backspace): replace rowlist fiddling
5901         with rebreak of full par
5902
5903         * lyxtext.h:
5904         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5905         checkParagraph, updateInset): removed
5906
5907 2003-08-07  André Pönitz  <poenitz@gmx.net>
5908
5909         * paragraph.C:
5910         * text3.C: merge some LFUN handlers, remove dead code
5911
5912 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5913
5914         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5915
5916 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5917
5918         * text2.C (DEPM): fix part of bug 1255 and 1256
5919
5920 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5921
5922         * BufferView_pimpl.C (workAreaDispatch): change to use
5923         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5924         that are no mouse related.
5925
5926 2003-08-05  André Pönitz  <poenitz@gmx.net>
5927
5928         * BufferView.[Ch]:
5929         * BufferView_pimpl.[Ch]:
5930         * bufferview_funcs.C:
5931         * text2.C:
5932         * text3.C: rip out "deep update"
5933
5934         * textcursor.[Ch] (last_sel_cursor): remove unused member
5935
5936 2003-08-04  André Pönitz  <poenitz@gmx.net>
5937
5938         * BufferView.[Ch]:
5939         * BufferView_pimpl.[Ch]:
5940         * ParagraphParameters.C:
5941         * bufferview_funcs.C:
5942         * lyx_cb.C:
5943         * lyxfind.C:
5944         * lyxfunc.C:
5945         * text.C:
5946         * text2.C:
5947         * text3.C: replace "complicated" BufferView::update(...) calls with
5948         simpler ones.
5949
5950         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5951
5952 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5953
5954         * Makefile.am (lyx_SOURCES): add paper.h
5955
5956 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5957
5958         * Makefile.am: move things around so that both lyx-qt and
5959         lyx-xforms can be built (according to --with-frontend). Then lyx
5960         is a symbolic link to lyx-[firstfrontend]
5961
5962 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5963
5964         * Always use std::endl with lyxerr
5965
5966 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5967
5968         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5969
5970 2003-08-01  André Pönitz  <poenitz@gmx.net>
5971
5972         * BufferView.[Ch]:
5973         * BufferView_pimpl.[Ch]:
5974         * lyxfunc.C:
5975         * text3.C: merge BufferView::repaint() and BufferView::update()
5976
5977 2003-08-01  José Matos  <jamatos@lyx.org>
5978
5979         * buffer.[Ch]: file_format is no longer a buffer data element.
5980
5981 2003-08-01  André Pönitz  <poenitz@gmx.net>
5982
5983         * BufferView.C:
5984         * lyxtext.h:
5985         * text.C:
5986         * text2.C: make redoParagraph more independent of current cursor
5987
5988         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5989         * text.C:
5990         * text2.C: remove unneeded members
5991
5992 2003-07-30  André Pönitz  <poenitz@gmx.net>
5993
5994         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5995
5996         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5997           create a single function...
5998
5999         * paragraph_funcs.C (moveItem): ... here.
6000
6001         * text.C:
6002           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6003
6004 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6005
6006         * LColor.[Ch]: Add comment and greyedout logical colors.
6007
6008 2003-07-30  André Pönitz  <poenitz@gmx.net>
6009
6010         * tabular.C: don't use Assert too heavily. This crashes where it
6011           shouldn't
6012
6013 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6014
6015         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6016         is disabled (bug 1232)
6017
6018 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6019
6020         * factory.C: limited 'arg' scope
6021
6022 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6023
6024         * factory.C: fixed Note submenu issues
6025
6026 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6027
6028         * factory.C: submenu for Note/Comment/Greyedout
6029
6030 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6031
6032         * lyx_main.C (LyX):
6033         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6034
6035 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6036
6037         * LaTeXFeatures.C:
6038         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6039         greyedout. Patch provided by Jürgen Spitzmüller.
6040
6041 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6042
6043         * kbmap.C (read): fix error message when reading bind files
6044
6045 2003-07-29  Angus Leeming  <leeming@lyx.org>
6046
6047         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6048         certainly does not do what it purports to do. I am doing it, and
6049         us, a favour by killing it.
6050
6051 2003-07-28  José Matos  <jamatos@lyx.org>
6052
6053         * buffer.C (readBody, do_writeFile):
6054         * paragraph.C(readParagraph): \end_document replaces \the_end.
6055
6056 2003-07-29  André Pönitz  <poenitz@gmx.net>
6057
6058         * BufferView.[Ch]:
6059         * BufferView_pimpl.[Ch]:
6060         * lyxfunc.C:
6061         * text2.C:
6062         * text3.C:
6063         * textcursor.[Ch]: remove toggleToggle & Co
6064
6065 2003-07-28  José Matos  <jamatos@fep.up.pt>
6066
6067         * buffer.C (readParagraph):
6068         * params_func (readParToken, readParagraph):
6069         * paragraph.C (write): \layout -> \begin_layout.
6070
6071 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6072
6073         * lyxlex_pimpl.C (setFile): clean up slightly.
6074
6075         * bufferparams.h: add compressed var
6076
6077         * buffer_funcs.C (readFile): adjust for LyXLex change
6078         (newFile): ditto + simplify
6079
6080         * buffer.C (writeFile): handle writing of compressed files
6081
6082         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6083         Check if the file is compressed and set a bufferparm if so.
6084
6085         * Makefile.am (lyx_LDADD): remove explicit -lz
6086
6087 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6088
6089         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6090         makeDocBookFile): put the real LyX version in the first line of
6091         the file
6092
6093         * version.h:
6094         * version.C.in: remove lyx_docversion
6095
6096         * tabular.C (write_attribute): add a template-based version to
6097         write enums properly
6098
6099 2003-07-28  André Pönitz  <poenitz@gmx.net>
6100
6101         * lyxtext.h:
6102         * text.C:
6103         * text2.C:
6104         * text3.C: use doubles again for x-coordinates. They are needed.
6105
6106 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6107
6108         * messages.C (getLocaleDir): use lyx_localedir()
6109
6110         * lyxlex_pimpl.C (setFile): compress stuff
6111
6112         * buffer.C (writeFile): add some compression stuff
6113         (do_writeFile): new func, dont call expliti close... will this
6114         breake anything?
6115
6116         * Makefile.am (lyx_LDADD): add -lz
6117
6118 2003-07-28  José Matos  <jamatos@fep.up.pt>
6119
6120         * buffer.C: increment file format.
6121         * paragraph_funcs (readParagraph, readParToken):
6122         * paragraph.C (readParagraph): add \end_layout.
6123
6124 2003-07-27  Angus Leeming  <leeming@lyx.org>
6125
6126         * Makefile.am: remove special casing for configure-time setting of
6127         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6128
6129         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6130         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6131
6132 2003-07-26  André Pönitz  <poenitz@gmx.net>
6133
6134         * paragraph_func.[Ch]:
6135         * paragraph.C (realizeFont): inline it whereever it is used
6136
6137         * rowpainter.C:
6138         * text.C:
6139         * text2.C:
6140         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6141
6142
6143 2003-07-26  André Pönitz  <poenitz@gmx.net>
6144
6145         *       lyxtext.h:
6146         * text.C:
6147         * text2.C: get rid of LyXText::need_break_row
6148
6149 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * toc.[Ch]: put namespace toc inside namespace lyx
6152
6153         * MenuBackend.C (expandToc2): adjust for lyx::toc
6154         (expandToc): ditto
6155
6156         * lyxfunc.C (dispatch): adjust for lyx::find
6157
6158         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6159         lyx::find instead. Reorganize a bit.
6160         (LyXReplace): rename to replace
6161         (LyXFind): rename to find
6162
6163         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6164         (dispatch): ditto
6165
6166 2003-07-26  André Pönitz  <poenitz@gmx.net>
6167
6168         * text.C (setHeightOfRow): restrict scope of temporary variable
6169
6170         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6171           code (never has been used?)
6172
6173 2003-07-27  Asger Alstrup  <alstrup@local>
6174
6175         * text.C (fill): Optimise algorithm to exploit that we can reuse
6176         the LyXFont for many characters.
6177         (setHeightOfRow): Same thing.
6178         (rowBreakPoint): Same thing.
6179
6180 2003-07-26  Asger Alstrup  <alstrup@local>
6181
6182         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6183
6184         * text.C (singleWidth): Spurious font copying in hot-spot
6185         singleWidth avoided. Reorder tests for arabic for efficiency.
6186
6187         * text.C (fill): handle empty paragraphs better.
6188
6189 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6190
6191         * ispell.C:
6192         * encoding.h: add includes
6193
6194         * lyxrc.C: remove reading of bind files
6195
6196         * lyx_main.C (init): setup bindings and menus only if we have a
6197         gui.
6198
6199         * kbmap.C (read): new method. Do the actual reading of bind
6200         files.
6201
6202         * converter.C (dvipdfm_options):
6203         * bufferparams.C:
6204         * lyxrc.C (read):
6205         (output): adapt PAPER_* enums.
6206
6207         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6208
6209         * bufferparams.h: remove paper-related enums from there
6210
6211         * paper.h: New file. A trivial header file to hold paper-related
6212         enums. It should later expand to contain many paper-related
6213         horrors access.
6214
6215         * lyxrc.C: declare extern displayTranslator
6216
6217 2003-07-27  José Matos  <jamatos@fep.up.pt>
6218
6219         * tabular.[Ch] (linuxdoc): add support for tables and figures
6220         (linuxdoc).
6221
6222 2003-07-27  José Matos  <jamatos@fep.up.pt>
6223
6224         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6225         consistency in both functions.
6226         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6227
6228 2003-07-26  Asger Alstrup  <alstrup@local>
6229
6230         * rowpainter.C (paintRows): Change algorithm to work directly on
6231         the insets rather than asking every character in the document
6232         whether its an inset.
6233
6234 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6235
6236         * buffer.C (openFileWrite): factorize some code
6237
6238 2003-07-26  Angus Leeming  <leeming@lyx.org>
6239
6240         * lyx_cb.C:
6241         * lyx_main.[Ch]: replace occurances of system_tempdir with
6242         os::getTmpDir().
6243
6244 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6245
6246         * rename Inset to InsetOld
6247
6248 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6249
6250         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6251         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6252         which I think is a bit clearer. EDIT is gone, since it was
6253         premature optimisation, and broken for mathed anyway.
6254         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6255         with cursor positioning in insets as well (math insets still do not
6256         work, but that's a different story anyway.) It mysteriously
6257         crashes sometimes with undo in the first paragraph, but I'm fairly
6258         confident that this is a compiler bug.
6259
6260 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6261
6262         * paragraph.C (Paragraph): adjust for new clone return type
6263         (operator==): ditto
6264         (copyIntoMinibuffer): ditto
6265
6266 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6267
6268         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6269         by not having a special case, and always doing a full rebreak of
6270         the document after undo.
6271
6272 2003-07-23  Angus Leeming  <leeming@lyx.org>
6273
6274         * factory.C (createInset): InsetExternal::setParams now takes a
6275         Buffer const * arg.
6276
6277 2003-07-23  Angus Leeming  <leeming@lyx.org>
6278
6279         * factory.C (createInset): changed interface to the external and
6280         graphics mailers' string2params functions.
6281
6282 2003-07-23  Angus Leeming  <leeming@lyx.org>
6283
6284         * factory.C (createInset): pass a
6285         Buffer const * parameter to InsetExternalMailer's string2params.
6286
6287 2003-07-22  John Levon  <levon@movementarian.org>
6288
6289         * Thesaurus.h: include the right aiksaurus header
6290
6291 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6292
6293         * MenuBackend.C (expand): check menu shortcuts unconditionally
6294
6295 2003-07-21  Angus Leeming  <leeming@lyx.org>
6296
6297         * factory.C (createInset): pass a
6298         buffer_path parameter to InsetGraphicsMailer's string2params.
6299
6300 2003-07-21  Angus Leeming  <leeming@lyx.org>
6301
6302         * BufferView_pimpl.C (buffer):
6303         * buffer.C (d-tor):
6304         * lyx_main.C (LyX):
6305         * lyxfunc.C (dispatch):
6306         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6307         rather than the grfx shortcut.
6308
6309 2003-07-21  André Pönitz  <poenitz@gmx.net>
6310
6311         * rowpainter.C: remove unused variables
6312
6313         * tabular_funcs.C:
6314         * tabular_funcs.h: move to tabular.C
6315         * Makefile.am: adjust
6316
6317         * tabular.[Ch]: basic optical cleaning
6318
6319         * author.h: pass references, not values
6320
6321 2003-07-18  André Pönitz  <poenitz@gmx.net>
6322
6323         * lyxtext.h:
6324         * metricsinfo.C:
6325         * metricsinfo.h:
6326         * rowpainter.C:
6327         * text.C:
6328         * text2.C:
6329         * text3.C: two-phase drawing for InsetText and InsetTabular
6330         some float -> int changes.
6331
6332 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6333
6334         * lyx_main.C: fix the fix
6335
6336 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6337
6338         * lyx_main.C: fix a crash in batch mode if no files specified
6339         * converter.C: ws
6340
6341 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6342
6343         * format.[Ch] (papersize): moved to BufferParams
6344         * converter.[Ch] (dvips_options): moved to BufferParams
6345         (dvipdfm_options): moved to anon namespace
6346         * bufferparams.[Ch]: added above functions.
6347
6348 2003-07-17  André Pönitz  <poenitz@gmx.net>
6349
6350         * lyxtext.h:
6351         * rowpainter.C:
6352         * text2.C: don't call inset->update() anymore
6353
6354         * metricsinfo.[Ch]: add convenience constructor
6355
6356 2003-07-16  André Pönitz  <poenitz@gmx.net>
6357
6358         * lyxcursor.[Ch]:
6359         * lyxfunc.[Ch]:
6360         * text.C:
6361         * text2.C: replace the LyXCursor::irow_ member with
6362          on-demand computation of the value
6363
6364 2003-07-16  John Levon  <levon@movementarian.org>
6365
6366         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6367
6368 2003-07-15  André Pönitz  <poenitz@gmx.net>
6369
6370         * text.C:
6371         * text2.C: remove no more needed refresh_row
6372
6373 2003-07-15  André Pönitz  <poenitz@gmx.net>
6374
6375         * lyxtext.h:
6376         * rowpainter.C:
6377         * text2.C:
6378         * text3.C: refresh_status tristate -> need_update bool
6379
6380 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6381
6382         * lyxtext.h (init): remove reinit argument (act as if always true)
6383         * text2.C: adjust to that
6384
6385 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6386
6387         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6388         * text3.C: use it to delete selections in some cases
6389         (bugs 441, 673, 702, 954).
6390
6391 2003-07-14  André Pönitz  <poenitz@gmx.net>
6392
6393         * rowpainter.[Ch]: reduce interface
6394
6395 2003-07-14  André Pönitz  <poenitz@gmx.net>
6396
6397         * BufferView_pimpl.C:
6398         * text2.C: adjust after removing unused BufferView * argument
6399
6400 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6401
6402         * text2.C (init): fix a crash fired on resize
6403
6404 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6405
6406         * buffer.[Ch]: added new closing signal
6407         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6408         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6409         BufferView::Pimpl via the closing the signal
6410
6411 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6412
6413         * buffer.[Ch]: take out all bv-related from buffer
6414         * BufferView.C:
6415         * BufferView_pimpl.[Ch]: connect to new signals
6416         * CutAndPaste.C: removed useless asserts
6417         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6418         * lyxvc.[Ch]:
6419         * vc-backend.[Ch]:
6420         * lyxfunc.C: moved view-related funciontality from vc here
6421         * paragraph.C: removed outdated comments
6422         * text.C: ws
6423
6424 2003-07-10  André Pönitz  <poenitz@gmx.net>
6425
6426         * BufferView_pimpl.C:
6427         * tabular.h:
6428         * tabular_funcs.C:
6429         * text.C:
6430         * text2.C: remove InsetText::InnerCache, clean up consequences
6431
6432 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6433
6434         * ispell.C: fix two typos in error messages
6435
6436 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6437
6438         * Extend Note inset to other forms of annotation like Comment
6439         and Greyedout. Right button click gives dialog.
6440
6441         Files modified or added (+):
6442
6443         * insetnote.[Ch]
6444         * FormNote.[Ch]      +
6445         * ControlNote.[Ch]   +
6446         * form_note.fd       +
6447         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6448         frontends/controllers
6449         * xforms/Dialogs.C
6450         * factory.C
6451
6452 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6453
6454         * aspell.C: add missing namespace lyx::support
6455
6456 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6457
6458         * BufferView.[Ch] (newFile): Add
6459         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6460         * LaTeX.[Ch] (message): added this signal and use it
6461         * buffer.[Ch] (busy, message): added these signals and use them
6462         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6463         * converter.C:
6464         * exporter.C:
6465         * format.C:
6466         * importer.C: use buffer signals instead of direct bv calling
6467         * lyx_cb.[Ch] (ShowMessage): removed
6468         * lyx_main.C:
6469         * lyxfunc.C:
6470         * paragraph_funcs.C:
6471         * text2.C: use buffer signals
6472
6473 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6474
6475         * introduce namespace lyx::graphics
6476
6477 2003-07-02  André Pönitz  <poenitz@gmx.net>
6478
6479         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6480
6481 2003-07-01  André Pönitz  <poenitz@gmx.net>
6482
6483         * text.C:
6484         * text2.C:
6485         * text3.C:
6486         * text_funcs.[Ch]:
6487         * textcursor.h:
6488         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6489           text*.C to text_func.C
6490
6491 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6492
6493         * introduce namespace lyx::support
6494
6495 2003-06-30  André Pönitz  <poenitz@gmx.net>
6496
6497         * Chktex.C:
6498         * funcrequest.C:
6499         * lyxtext.h:
6500         * text.C: re-enable --with-included-string
6501
6502 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6503
6504         * textcursor.C: add <config.h>
6505
6506         * text.C (getWord): remove const from word_location arg
6507
6508         * lyxvc.C (getLogFile): fix const type order
6509
6510         * lyxtext.h: remove const from word_location arg, add arg name
6511
6512         * lyxlayout.h: currect type on labeltype.
6513
6514         * importer.C: correct \file
6515
6516         * converter.C (intToFormat): use std:: on ret val, ws changes
6517
6518         * bufferlist.h: correct \file
6519
6520         * buffer.C (makeLinuxDocFile): fix const type order
6521         (makeDocBookFile): ditto
6522         (fillWithBibKeys): use std:: on stdlib args.
6523
6524         * CutAndPaste.C: fix authors.
6525         (availableSelections): use std:: on return vector
6526
6527 2003-06-27  André Pönitz  <poenitz@gmx.net>
6528
6529         * BufferView_pimpl.C:
6530         * bufferview_funcs.C:
6531         * lyxcursor.C:
6532         * lyxcursor.h:
6533         * lyxfunc.C:
6534         * lyxtext.h:
6535         * rowpainter.C:
6536         * text.C:
6537         * text2.C:
6538         * text3.C: remove LyXCursor::row_ member
6539
6540         * lyxtext.h:
6541         * text.C: rename fullRebreak() to partialRebreak() and implement
6542           a fullRebreak() that really bereks fully
6543
6544         * textcursor.h: new struct for cursor-related data
6545
6546 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6547
6548         * lyx_main.C (LyX): get full path of document loaded on the
6549         command line
6550
6551 2003-06-26  André Pönitz  <poenitz@gmx.net>
6552
6553         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6554           remove unused/broken operator>,<,>=.
6555
6556         *       text.C: remove only use of broken operator<= in an Assert().
6557
6558 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6559
6560         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6561         moved errorlist_.clear to showErrorList
6562
6563 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6564
6565         * converter.C (scanLog, runLaTeX):
6566         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6567         move the bv->showErrorList call to the callers
6568         * lyxfunc.C: i.e. here...
6569         * text2.C: and here
6570         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6571         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6572         namespace, the second to...
6573         * buffer_funcs (BufferFormat, parseErrors): added
6574         * errorlist.C (ErrorList(TeXErrors const &)): removed
6575
6576 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6577
6578         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6579
6580 2003-06-24  "Garst R. Reese" <reese@isn.net>
6581
6582         * debug.C: fix typo
6583
6584 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6585
6586         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6587
6588         * version.C.in: change docversion to 1.4
6589
6590 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6591
6592         * buffer.C: fix a bug just introduced
6593
6594 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6595
6596         * buffer.[Ch]: added the parseError signal and use it, removed
6597         sgmlError
6598         * BufferView.[Ch] (addError): moved to ...
6599         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6600         to the Buffer::parseError signal to catch (guess what) parse errors
6601         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6602
6603 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6604
6605         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6606         ability to create a buffer and to return an existing one from
6607         the list. Moved these functions to...
6608         * buffer_funcs.[Ch]: added
6609         * BufferView.[Ch] (loadLyXFile): added
6610         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6611         job removed from bufferlist::loadLyXFile.
6612         * buffer.C (setReadOnly): make it work without view
6613         (i.e added an if (users))
6614
6615 2003-06-19  Angus Leeming  <leeming@lyx.org>
6616
6617         * lfuns.h:
6618         * LyXAction.C (init):
6619         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6620         with LFUN_DIALOG_SHOW <name> <data>.
6621
6622 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6623
6624         * CutAndPaste.C (availableSelections): small compilation fix for
6625         ancient (gcc 2.9x) compilers
6626
6627 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6628
6629         * text3.C (cursorNext): add tmp var
6630
6631         * text2.C (updateCounters): for function calling out of for clause
6632         (replaceSelectionWithString): ditto
6633         (insertStringAsParagraphs): ditto
6634         (getColumnNearX): add tmp var
6635         (setCursorFromCoordinates): add tmp var
6636         (cursorDownParagraph): add tmp var
6637         (deleteEmptyParagraphMechanism): add tmp var
6638
6639         * text.C (insertChar): add tmp var
6640
6641         * rowpainter.C (paintDepthBar): add tmp var
6642
6643         * CutAndPaste.C (availableSelections): potentially check all
6644         paragraphs in a cut to fill the shown strings.
6645
6646 2003-06-18  André Pönitz  <poenitz@gmx.net>
6647
6648         * kbmap.[Ch]: use vector<> instead of list<>
6649
6650 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6651
6652         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6653         pasteSelection with index
6654
6655         * text2.C (pasteSelection): modify, call pasteSelection with index
6656
6657         * paragraph.C (asString): reimplement version with no interval to
6658         call the one with interval.
6659
6660         * lyxtext.h: add index arg to pasteSelection
6661
6662         * MenuBackend.C (MenuItem): handle PasteRecent
6663         (Menu::read::Menutags): add md_pasterecent
6664         (read): handle it
6665         (expandPasteRecent): new function
6666         (expand): use it
6667
6668         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6669
6670         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6671         the limited stack
6672         (availableSelections): new function
6673
6674 2003-06-17  Angus Leeming  <leeming@lyx.org>
6675
6676         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6677
6678 2003-06-17  Angus Leeming  <leeming@lyx.org>
6679
6680         * lfuns.h:
6681         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6682
6683         * lyxfunc.C (dispatch): invoke it.
6684
6685 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6686
6687         * iterators.C (operator++, ParPosition): reintroduce some
6688         const_cast for the benefit of older compilers.
6689
6690 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6691
6692         * text3.C (dispatch): do not modify clipboard when doing
6693         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6694         LFUN_DELETE_SKIP on a selection selection
6695
6696 2003-06-16  André Pönitz  <poenitz@gmx.net>
6697
6698         * BufferView.C:
6699         * buffer.C:
6700         * buffer.h:
6701         * paragraph.C:
6702         * tabular.[Ch]: IU of clone() and getLabelList();
6703
6704 2003-06-13  André Pönitz  <poenitz@gmx.net>
6705
6706         * tabular.h: compactification
6707
6708 2003-06-12  André Pönitz  <poenitz@gmx.net>
6709
6710         * tabular.C:
6711         * tabular.h:
6712         * tabular_funcs.h: some renaming plus whitespace
6713
6714 2003-06-12  André Pönitz  <poenitz@gmx.net>
6715
6716         * BufferView.C:
6717         * BufferView_pimpl.C:
6718         * CutAndPaste.C:
6719         * buffer.C:
6720         * iterators.[Ch]:
6721         * lyxfunc.C:
6722         * text.C:
6723         * toc.C: Return a Paragraph & for ParIterator::operator*()
6724
6725 2003-06-11  John Levon  <levon@movementarian.org>
6726
6727         * lyx_main.C:
6728         * ToolbarBackend.h:
6729         * ToolbarBackend.C: add "Toolbars" section and
6730         put the flags there
6731
6732 2003-06-10  Angus Leeming  <leeming@lyx.org>
6733
6734         * lfuns.h:
6735         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6736
6737         * lyxfunc.C (dispatch): invoke it.
6738
6739 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6740
6741         * main.C: protect <ios> with HAVE_IOS
6742         (main): protect sync_with_stdio with HAVE_IOS
6743
6744 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6745
6746         * text2.C (cutSelection): adjust
6747         (pasteSelection): adjust
6748
6749         * messages.C: handle get of empty string
6750
6751         * main.C (main): use sync_with_stdio(false)
6752
6753         * lyxfunc.C (dispatch): adjust
6754
6755         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6756         (WriteAs): remove unneeded BufferView arg.
6757
6758         * bufferparams.h: use correct types on papersize, papersize2 and
6759         paperpackage.
6760
6761         * bufferparams.C (readToken): adjust for type
6762         (writeLaTeX): add missing cases to switch.
6763
6764         * bufferlist.C (quitWriteBuffer): adjust
6765         (close): adjust
6766
6767         * buffer.C (asciiParagraph): remove some commented code.
6768
6769         * CutAndPaste.C: remove current_view extern variable.
6770         (cutSelection): add BufferParams arg.
6771         (eraseSelection): add BufferParams arg.
6772         (pasteSelection): add Buffer const & arg
6773
6774 2003-06-07  John Levon  <levon@movementarian.org>
6775
6776         * buffer.C:
6777         * paragraph_funcs.C:
6778         * paragraph_pimpl.C:
6779         * text.C:
6780         * text2.C:
6781         * paragraph.h:
6782         * paragraph.C: allow InsetERT to freely space lines,
6783         and some consolidation of code
6784
6785 2003-06-06  José Matos  <jamatos@fep.up.pt>
6786
6787         * buffer.C (makeDocBookFile): fix bug #821
6788
6789 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6790
6791         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6792
6793 2003-06-04  Angus Leeming  <leeming@lyx.org>
6794
6795         * buffer.C: bump format to 224.
6796
6797 2003-06-05  André Pönitz  <poenitz@gmx.net>
6798
6799         * text2.C (redoParagraphs): remove two const_cast<>
6800
6801 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6802
6803         * ParagraphList.h: remove last remnants of NO_STD_LIST
6804
6805 2003-06-03  Angus Leeming  <leeming@lyx.org>
6806
6807         * factory.C (createInset): small change to the way InsetExternal's params
6808         are set.
6809
6810 2003-06-04  André Pönitz  <poenitz@gmx.net>
6811
6812         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6813
6814         * paragraph_pimpl.h:
6815         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6816
6817         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6818
6819         * undo_funcs.C: make some simple cases of undo work again
6820
6821 2003-06-03  John Levon  <levon@movementarian.org>
6822
6823         * ispell.C: HPUX doesn't have sys/select.h
6824         (from Albert Chin)
6825
6826 2003-06-03  John Levon  <levon@movementarian.org>
6827
6828         * CutAndPaste.C: update tabular and include inset
6829         buffer references
6830
6831         * buffer.h:
6832         * paragraph.h:
6833         * paragraph.C: remove owningBuffer(), don't pass Buffer
6834         to clone()
6835
6836         * factory.C: insetGraphicsParams changed
6837
6838 2003-06-02  John Levon  <levon@movementarian.org>
6839
6840         * LyXAction.C:
6841         * factory.C:
6842         * lfuns.h:
6843         * lyxfunc.C:
6844         * text3.C: remove insetparent
6845
6846 2003-06-02  John Levon  <levon@movementarian.org>
6847
6848         * buffer.h:
6849         * buffer.C: fix inset_iterator.end(), move out of line
6850         (bug 1149)
6851
6852 2003-06-01  John Levon  <levon@movementarian.org>
6853
6854         * text3.C: use a proper cut/paste when doing inset
6855         insert (from Jürgen Spitzmüller)
6856
6857 2003-06-01  John Levon  <levon@movementarian.org>
6858
6859         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6860
6861 2003-05-30  André Pönitz  <poenitz@gmx.net>
6862
6863         * rowpainter.C: unify second drawing phase
6864
6865 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6866
6867         * trans_mgr.C: remove one case of current_view
6868
6869         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6870
6871         * paragraph_funcs.h: remove paragraph.h include
6872
6873         * paragraph.h: delete NO_STD_LIST stuff
6874
6875         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6876
6877         * buffer.h: remove paragraph.h include
6878
6879         * ParagraphList.C: delete file
6880
6881         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6882
6883         * toc.C (getTocList): adjust
6884
6885         * paragraph_pimpl.C (validate): adjust
6886
6887         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6888
6889         * paragraph.C (Paragraph): adjust
6890         (getPositionOfInset): use const_iterator, adjust
6891         (bibitem): use const_iterator, adjust
6892         (setInsetOwner): adjust
6893
6894         * iterators.C (operator++): adjust
6895
6896         * InsetList.[Ch]: Replace selfmade iterator with standard
6897         vector::iterator also introduce const_iterator. Remove getPos,
6898         getInset and setInset from InsetTable. Adjust accordingly.
6899
6900         * BufferView.C (lockInset): adjust
6901         (ChangeInsets): adjust
6902
6903         * tabular.[Ch]: delete commented same_id functions
6904
6905 2003-05-28  John Levon  <levon@movementarian.org>
6906
6907         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6908
6909 2003-05-28  André Pönitz  <poenitz@gmx.net>
6910
6911         * metricsinfo.[Ch]: remove 'fullredraw' member
6912
6913 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6914
6915         * lyxtextclass.C (operator): remove caching.
6916
6917 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6918
6919         * text3.C: adjust
6920
6921         * text2.C (cursorBottom): adjust
6922         (setCounter): use ParagraphList::find, adjust
6923
6924         * text.C (workWidth): use ParagraphList::find, adjust
6925
6926         * lyxcursor.C (LyXCursor): adjust
6927
6928         * buffer.C (inset_iterator): adjust
6929
6930         * ParagraphList.h: make iterator(value_type) private, make
6931         ParagraphList a friend of iterator.
6932
6933         * ParagraphList.C (find): new function
6934
6935         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6936
6937 2003-05-27  André Pönitz  <poenitz@gmx.net>
6938
6939         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6940
6941 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6942
6943         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6944
6945 2003-05-26  John Levon  <levon@movementarian.org>
6946
6947         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6948
6949 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6950
6951         * remove same_id from function signatures, adjust.
6952
6953 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6954
6955         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6956
6957         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6958
6959         * paragraph.C (Paragraph): get rid of same_ids parameter
6960
6961         * ParagraphList.C (insert): adjust
6962         (push_back): adjust
6963
6964 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6965
6966         * paragraph_funcs.C (breakParagraph): adjust
6967         (breakParagraphConservative): adjust
6968
6969         * buffer.C (readParagraph): adjust
6970
6971         * ParagraphList.C (insert): take a reference instead of a pointer
6972         (insert): adjust
6973
6974         * paragraph.[Ch] (id): new function
6975
6976         * bufferlist.C (newFile): adjust
6977
6978         * ParagraphList.C (ParagraphList): adjust
6979         (assign): adjust
6980         (push_back): take a reference instead of a pointer.
6981
6982         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6983
6984         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6985         instead.
6986
6987         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6988         set else use old code.
6989
6990         * ParagraphList.C: remove all NO_NEXT code and only compile this
6991         code of NO_STD_LIST is set.
6992
6993 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6994
6995         * BufferView_pimpl.C:
6996         * TextCache.C:
6997         * TextCache.h:
6998         * bufferlist.C:
6999         * errorlist.h:
7000         * format.C:
7001         * format.h:
7002         * graph.C:
7003         * lyxfunc.C:
7004         * lyxrc.C:
7005         * graphics/GraphicsConverter.C:
7006         * graphics/PreviewLoader.C: header adjustment
7007
7008 2003-05-23  Angus Leeming  <leeming@lyx.org>
7009
7010         * LaTeXFeatures.[Ch] (useBabel): new method.
7011         * bufferparams.C (writeLaTeX): use it.
7012
7013 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7014
7015         * ParagraphList.h (set): remove unused function.
7016
7017 2003-05-23  André Pönitz  <poenitz@gmx.net>
7018
7019         * BufferView.C:
7020         * BufferView_pimpl.C:
7021         * buffer.C:
7022         * buffer.h:
7023         * lyxfunc.C:
7024         * undo_funcs.C: setUndo reworked
7025
7026         * iterators.[Ch]: add access to topmost ParagraphList
7027
7028         * lyxtext.[Ch] (workWidth): add a const
7029
7030 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7031
7032         * texrow.[Ch] (increasePos): remove function
7033         * exporter.C (export): removed unused var and outdated comment
7034
7035 2003-05-23  Angus Leeming  <leeming@lyx.org>
7036
7037         * latexrunparams.h: rename fragile as moving_arg.
7038         * paragraph.C (simpleTeXOnePar): ditto.
7039         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7040
7041 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7042
7043         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7044         (createUndo): ditto
7045         (textUndoOrRedo): comment out a currently unused var.
7046
7047         * paragraph.h (NO_NEXT): enable NO_NEXT
7048
7049         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7050
7051         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7052
7053         * exporter.C (Export): adjust for removeAutoInsets removal.
7054
7055         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7056
7057         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7058
7059         * BufferView.[Ch] (removeAutoInsets): delete function
7060
7061 2003-05-22  Angus Leeming  <leeming@lyx.org>
7062
7063         * latexrunparams.h: add a free_spacing variable.
7064
7065         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7066         to pass moving_arg, as the data is stored in runparams.fragile.
7067
7068         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7069         to Inset::latexOptional or to simpleTeXOnePar.
7070
7071         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7072         free_spacing arg to Inset::latexOptional.
7073
7074         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7075         free_spacing arg.
7076
7077 2003-05-22  Angus Leeming  <leeming@lyx.org>
7078
7079         * latexrunparams.h: add fragile and use_babel variables.
7080
7081         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7082         * buffer.C (makeLaTeXFile): store this returned value in
7083         runparams.use_babel, thus passing it to the inset::latex methods.
7084
7085         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7086         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7087
7088         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7089         longer has a fragile arg, as it is stored in runparams.fragile.
7090
7091         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7092         moving_arg parameter as the data is stored in runparams.fragile.
7093
7094         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7095         a fragile parameter as the data is stored in runparams.fragile.
7096
7097 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7098
7099         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7100
7101 2003-05-22  Angus Leeming  <leeming@lyx.org>
7102
7103         * latexrunparams.h: add a 'bool nice' which defaults to false.
7104
7105         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7106         now encapsulated within runparams.
7107
7108         * bufferlist.C (updateIncludedTeXfiles):
7109         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7110
7111 2003-05-22  Angus Leeming  <leeming@lyx.org>
7112
7113         * latexrunparams.h: new file containing struct LatexRunParams.
7114         * Makefile.am: add new file.
7115
7116         * LaTeX.[Ch] (c-tor, run):
7117         * buffer.[Ch] (makeLaTeXFile):
7118         * bufferlist.[Ch] (updateIncludedTeXfiles):
7119         * converter.C (convert, scanLog):
7120         * converter.[Ch] (runLaTeX):
7121         * exporter.C (Export):
7122         * paragraph.[Ch] (simpleTeXOnePar):
7123         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7124         * paragraph_funcs.[Ch] (latexParagraphs):
7125         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7126         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7127         pass around a LatexRunParams parameter.
7128
7129 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7130
7131         * paragraph.[Ch]: remove unused constructor
7132
7133         * ParagraphList.C (erase): new function, taking two iterators
7134
7135 2003-05-22  André Pönitz  <poenitz@gmx.net>
7136
7137         * undo_funcs.C: remove duplicated code
7138
7139         * iterator.[Ch]: operator=
7140
7141 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7142
7143         * tabular.C (SetMultiColumn): ws changes
7144
7145         * rowpainter.C (paintFirst): get rid of a ->previous
7146
7147         * lyx_cb.C (getPossibleLabel): parlist simplification
7148
7149         * BufferView.C (ChangeInsets): simplify slightly.
7150
7151 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7152
7153         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7154         * lfuns.h: new LFUN_SPACE
7155         * lyxfunc.C: protected space has a new lfun
7156         * paragraph_funcs.C: read new space insets
7157         * text3.C:
7158         * factory.C: handle new space insets
7159
7160 2003-05-22  André Pönitz  <poenitz@gmx.net>
7161
7162         * BufferView.C:
7163         * BufferView_pimpl.C:
7164         * buffer.[Ch]:
7165         * lyxfunc.C:
7166         * undo_funcs.C: return a ParIterator from getParFromID.
7167
7168         * iterators.[Ch]: add two const's
7169
7170 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7171
7172         * toc.C (getTocList): adjust
7173
7174         * iterators.[Ch]: rework for parlist
7175
7176         * buffer.C (par_iterator_begin): adjust
7177         (par_iterator_end): adjust
7178
7179         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7180
7181         * BufferView.C (removeAutoInsets): adjust
7182         (ChangeInsets): adjust
7183
7184 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7185
7186         * text.C (top_y): fix bug 1110
7187
7188 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7189
7190         * errorlist.[Ch]: added
7191         * buffer.C:
7192         * BufferView.[Ch]:
7193         * BufferView_pimpl.C:
7194         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7195         instead
7196
7197 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7198
7199         * Makefile.am: ensure that lyx is relinked upon changes to the
7200         various "convenience" libs.
7201
7202 2003-05-20  Angus Leeming  <leeming@lyx.org>
7203
7204         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7205         files are compiled in alphabetical order again.
7206
7207         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7208
7209 2003-05-19  Angus Leeming  <leeming@lyx.org>
7210
7211         * gettext.[Ch]: remove "char const * _(char const *)".
7212
7213 2003-05-19  André Pönitz  <poenitz@gmx.net>
7214
7215         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7216
7217         * Makefile.am:
7218         * BufferView.C:
7219         * DepTable.h:
7220         * LaTeXFeatures.C:
7221         * buffer.C:
7222         * lyxfont.C:
7223         * lyxlex.h:
7224         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7225
7226 2003-05-19  André Pönitz  <poenitz@gmx.net>
7227
7228         * buffer.C:
7229         * lyxlayout.[Ch]:
7230         * lyxtextclass.[Ch]:
7231         * paragraph.C:
7232         * paragraph_funcs.[Ch]:
7233         * text2.C:
7234         * text3.C: more insetenv work
7235
7236 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7237
7238         * ParagraphParameters.C (params2string): small bug fixed
7239
7240 2003-05-16  André Pönitz  <poenitz@gmx.net>
7241
7242         * debug.C:
7243         * bufferview_funcs.C: patch from Kornel Benko to prevent
7244           crash when _(...) is called twice in a statement
7245
7246 2003-05-16  André Pönitz  <poenitz@gmx.net>
7247
7248         * BufferView.C:
7249         * lyxfunc.C:
7250         * text.C:
7251         * text2.C:
7252         * text3.C:
7253         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7254
7255 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7256
7257         * lyx_main.C (init): remove spurious static_cast
7258
7259 2003-05-14  André Pönitz  <poenitz@gmx.net>
7260
7261         * BufferView.C: fix format string
7262
7263 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7264
7265         * BufferView.[Ch] (insertErrors): removed
7266         * BufferView.[Ch] (showErrorList): added
7267         * buffer.C (runChkTeX):
7268         * converter.C (scanLog): call showErrorList instead of inserterrors
7269
7270 2003-05-13  André Pönitz  <poenitz@gmx.net>
7271
7272         * BufferView_pimpl.C:
7273         * buffer.C:
7274         * bufferview_func.C:
7275         * MenuBackend.C:
7276         * lyxfunc.C:
7277         * lyxrc.C:
7278         * tex-accent.C:
7279         * text3.C:
7280         * toc.C:
7281         * tabular_funcs.h: tostr() from its own header
7282
7283         * ParagraphParameters.C:
7284         * ToolbarBackend.C:
7285         * bufferparams.C:
7286         * format.C:
7287         * lyxlex_pimpl.C:
7288         * text3.C: STRCONV()
7289
7290 2003-05-12  André Pönitz  <poenitz@gmx.net>
7291
7292         * BufferView.C:
7293         * BufferView_pimpl.C:
7294         * CutAndPaste.C:
7295         * LaTeX.C:
7296         * LaTeXFeatures.C:
7297         * ParagraphParameters.C:
7298         * buffer.C:
7299         * bufferlist.C:
7300         * bufferparams.C:
7301         * bufferview_funcs.C:
7302         * converter.C:
7303         * counters.C:
7304         * debug.C:
7305         * exporter.C:
7306         * format.C:
7307         * importer.C:
7308         * lyx_cb.C:
7309         * lyx_main.C:
7310         * lyxfont.C:
7311         * lyxfunc.C:
7312         * lyxvc.C:
7313         * paragraph.C:
7314         * paragraph_funcs.C:
7315         * tabular.C:
7316         * tabular_funcs.C:
7317         * text2.C:
7318         * text3.C:  boost::format -> bformat  all over the place
7319
7320
7321 2003-05-09  André Pönitz  <poenitz@gmx.net>
7322
7323         * LColor.[Ch]: Pimpl the #include <map> away
7324
7325 2003-05-09  John Levon  <levon@movementarian.org>
7326
7327         * bufferlist.C: never remove emergency saves
7328
7329 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7330
7331         * Makefile.am: better lib building
7332
7333 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7334
7335         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7336         instead.
7337         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7338         (simpleTeXSpecialChars): adjust
7339         (simpleTeXSpecialChars): adjust
7340         * paragraph.C (simpleTeXOnePar): adjust
7341         * buffer.C (makeLaTeXFile): adjust
7342
7343         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7344
7345         * text2.C (changeDepth): parlist cleanup
7346         (getColumnNearX): ditto
7347
7348         * rowpainter.C (getLabelFont): parlist cleanup
7349
7350         * bufferlist.C (newFile): parlist cleanup
7351
7352         * CutAndPaste.C (eraseSelection): parlist cleanup
7353
7354         * BufferView_pimpl.C (trackChanges): parlist cleanup
7355         (dispatch): ditto
7356
7357         * BufferView.C (lockInset): parlist cleanup.
7358         (ChangeInsets): ditto
7359
7360 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7361
7362         * CutAndPaste.h: Update file header.
7363
7364         * CutAndPaste.C: Update file header.
7365         Store the parts cut out of the Document in a limited_stack.
7366         (copySelection): adjust
7367         (pasteSelection): new function, takes the index in the limited stack.
7368         (nrOfParagraphs): adjust
7369         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7370         simplify error inset insertion.
7371         (checkPastePossible): adjust
7372
7373 2003-05-06  John Levon  <levon@movementarian.org>
7374
7375         * text2.C: don't cast wrap inset to float
7376
7377 2003-05-05  André Pönitz  <poenitz@gmx.net>
7378
7379         * iterator.C:
7380         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7381
7382         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7383           few naked Paragraph *.
7384
7385 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7386
7387         * bufferparams.C: Output warning if a document with missing
7388         TeX document class is loaded
7389         * exporter.C: Disable TeX exports if the document class is missing
7390         * lyxtextclass.C:
7391         * lyxtextclass.h:
7392         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7393         isTeXClassAvailable()
7394
7395 2003-05-03  John Levon  <levon@movementarian.org>
7396
7397         * BufferView.h:
7398         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7399         explicit cursor show/hide
7400
7401         * BufferView_pimpl.h:
7402         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7403         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7404
7405         * lyxfunc.C: hide cursor before dispatching.
7406
7407         * lyx_cb.C:
7408         * lyxfind.C:
7409         * text.C:
7410         * text3.C: remove explicit cursor hides
7411
7412 2003-05-02  André Pönitz  <poenitz@gmx.net>
7413
7414         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7415
7416         * undo_funcs.C:
7417         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7418           linked lists
7419
7420         * text2.C: tiny whitespace
7421
7422 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7423
7424         * undo_funcs.C: almost only ws changes.
7425
7426         * ParagraphList.C (splice): just return if pl is empty.
7427
7428 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7429
7430         * ParagraphList.C (splice): new function.
7431
7432         * CutAndPaste.C (pasteSelection): use it
7433
7434 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7435
7436         * CutAndPaste.C (pasteSelection): remove the last next and
7437         previous from this file.
7438
7439 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7440
7441         * CutAndPaste.C (pasteSelection): more clean up, user proper
7442         ParagraphList functions for pasteing.
7443
7444         * ParagraphList.C (insert): new function, three arg insert
7445
7446 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7447
7448         * ParagraphList.C (insert): new function, three arg insert
7449
7450         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7451         not on paragraphs.
7452
7453 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7454
7455         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7456
7457 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7458
7459         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7460
7461 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7462
7463         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7464         (copySelection): clean up a bit.
7465         (pasteSelection): use make_pair
7466
7467         * ParagraphList.C (ParagraphList): implement copy constructor
7468         (operator=): implement, base on copy constructor.
7469         (assign): new func
7470
7471         * paragraph.C (erase): return a bool
7472
7473         * paragraph_pimpl.C (erasePos): remove function, move contents...
7474         (erase): ... here. Return a bool.
7475         (erase): call erase instead of erasePos.
7476
7477 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7478
7479         * ParagraphList.h: define PitPosPair
7480         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7481         ParagraphList, fix a bug on pasting multiple pars
7482         * text2.C: change interface to C&P
7483
7484 2003-04-30  André Pönitz  <poenitz@gmx.net>
7485
7486         * undo_func.C: revert part of yesterday's patch 2
7487
7488 2003-04-30  John Levon  <levon@movementarian.org>
7489
7490         * LColor.C: s/tabular/table/
7491
7492 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7493
7494         * text3.C (dispatch): do not convert iterator -> pointer
7495         * undo_funcs.C (setCursorParUndo): ditto
7496         * text_funcs.C (transposeChars): ditto
7497
7498         * text2.C (setLayout): ws changes only
7499
7500         * text.C (breakParagraph): do not convert iterator -> pointer
7501         (insertChar): ditto
7502         (acceptChange): ditto
7503         (rejectChange): ditto
7504         (changeCase): ditto
7505         (Delete): ditto
7506         (backspace): ditto
7507
7508         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7509         pointer
7510
7511 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7512
7513         * text3.C (gotoInset): YABG (yet another bad getChar)
7514
7515 2003-04-29  André Pönitz  <poenitz@gmx.net>
7516
7517         * paragraph.h: make operator= private unimplemented as long as
7518           it is unusable
7519
7520         * ParagraphList.C: whitespace
7521
7522         * paragraph.[Ch]:
7523         * paragraph_pimpl.[Ch]:
7524         * paragraph_funcs.C:
7525         * CutAndPaste.C:
7526         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7527
7528         * text2.C:
7529           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7530
7531 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7532
7533         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7534         * paragraph.[Ch] (erase):
7535         * paragraph_pimpl.[Ch] (erase): change return type and value
7536         * text2.C (cutSelection): some rework
7537
7538 2003-04-28  John Levon  <levon@movementarian.org>
7539
7540         * bufferlist.C: changes for unsaved changes dialog
7541
7542 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7543
7544         * bufferlist.C (newFile): set language (messages_) for new
7545         documents also.
7546
7547         * buffer.C (readFile): ws changes only.
7548
7549 2003-04-28  André Pönitz  <poenitz@gmx.net>
7550
7551         * undo_funcs.C:
7552         * lyxfunc.C:
7553         * buffer.[Ch]:
7554         * BufferView_pimpl.C:
7555         * BufferView.C: getParFromID related ParagraphList::iterator changes
7556
7557 2003-04-28  André Pönitz  <poenitz@gmx.net>
7558
7559         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7560           Changes
7561
7562 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7563
7564         * messages.C: remove one more localedir class variable.
7565
7566 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7567
7568         * messages.C (getLocaleDir): singleton generation function
7569         (Pimpl): use it.
7570         (Messages): add a default constructor.
7571
7572         * main.C (main): do not setup localedir here, do not call
7573         gettext_init.
7574
7575         * gettext.C (_): use it.
7576         (gettext_init): delete funciton
7577
7578 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7579
7580         * gettext.C (getLyXMessages): new singleton generating function.
7581
7582         * buffer.C (updateDocLang): adjust
7583
7584         * Makefile.am (messages.o): add target
7585         (main.o): remove target
7586
7587 2003-04-27  John Levon  <levon@movementarian.org>
7588
7589         * bufferlist.C:
7590         * lyx_cb.C:
7591         * lyxfunc.C:
7592         * lyxvc.C: specify cancel button in Alert::prompt
7593
7594 2003-04-26  John Levon  <levon@movementarian.org>
7595
7596         * text3.C:
7597         * lyxfunc.C:
7598         * lfuns.h:
7599         * LyXAction.C: add LFUN_INSET_SETTINGS
7600
7601         * lyxfunc.C: don't enable tabular-feature when there's
7602         just any locking inset
7603
7604 2003-04-26  John Levon  <levon@movementarian.org>
7605
7606         * bufferlist.C: re-add Cancel to buffer close question
7607
7608         * lyxfunc.C: fix import UI a bit
7609
7610 2003-04-25  John Levon  <levon@movementarian.org>
7611
7612         * gettext.C: remove the broken asserts for now
7613
7614 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7615
7616         * messages.C: make case where setlocale cannot comply work better.
7617
7618         * buffer.C (updateDocLang): new function
7619         (changeLanguage): use it
7620         (readFile): use it
7621
7622         * text2.C (setCounter): use B_ a bit.
7623
7624         * lyxlayout.C (Read): be sure to trim the label strings.
7625
7626         * messages.C (Messages): fix typo in comment
7627
7628         * buffer.C (readFile): set message_ after file is loaded.
7629         (makeDocBookFile): remove double return
7630         (changeLanguage): reset message_ upon language change.
7631         (B_): new func, use this to get translated buffer strings.
7632
7633         * main.C: add myself and Jean Marc as authors.
7634
7635 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7636
7637         * messages.[hC]: pimplify Messages, and three different pimpls to be
7638         used in different circumstances.
7639
7640         * gettext.[Ch]: change for use with new message code.
7641
7642 2003-04-24 André Pönitz <poenitz@gmx.net>
7643
7644         * factory.C: support for eqref
7645
7646 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7647
7648         * messages.[Ch]: add missing char
7649
7650         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7651
7652         * messages.[Ch]: New files
7653
7654 2003-04-18  John Levon  <levon@movementarian.org>
7655
7656         * BufferView.h:
7657         * BufferView.C:
7658         * BufferView_pimpl.C:
7659         * lfuns.h:
7660         * LyXAction.C:
7661         * lyxtext.h:
7662         * text2.C: remove layout-copy/paste (bug 778)
7663
7664 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7665
7666         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7667
7668 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7669
7670         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7671         if they succeed. Act accordingly.
7672
7673 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7674
7675         * text2.C (setCharFont): adjust
7676         (setCounter): adjust
7677         (insertStringAsLines): adjust
7678
7679         * text.C (leftMargin): adjust
7680         (setHeightOfRow): adjust
7681
7682         * rowpainter.C (paintFirst): adjust
7683         (paintLast): adjust
7684
7685         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7686         (outerHook): ditto
7687         (isFirstInSequence): ditto
7688         (getEndLabel): ditto
7689         (outerFont): adjust
7690
7691         * paragraph.C (getParLanguage): comment out some hard stuff.
7692
7693         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7694         (sgmlError): ditto
7695         (simpleDocBookOnePar): ditto
7696         (makeDocBookFile): use ParagraphList::iterator
7697
7698         * CutAndPaste.C (pasteSelection): adjust
7699
7700 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7701
7702         * text2.C (getFont): adjust
7703         (getLayoutFont): adjust
7704         (getLabelFont): adjust
7705
7706         * paragraph_funcs.C (TeXOnePar): adjust
7707
7708         * buffer.C (simpleLinuxDocOnePar): adjust
7709         (simpleDocBookOnePar): adjust
7710
7711         * CutAndPaste.C (pasteSelection): adjust
7712
7713         * BufferView.C (getEncoding): adjust
7714
7715         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7716
7717 2003-04-16  John Levon  <levon@movementarian.org>
7718
7719         * lyxfind.C: use parlist stuff for search/changes
7720
7721 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7722
7723         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7724
7725         * text2.C (deleteEmptyParagraphMechanism): adjust
7726
7727         * text2.[Ch] (ownerParagraph): delete func (both of them
7728
7729 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7732
7733 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7734
7735         * ParagraphList.C: prepare for NO_NEXT
7736
7737 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7738
7739         * text2.C (getFont): adjust
7740         (getLayoutFont): adjust
7741         (getLabelFont): adjust
7742
7743         * paragraph.C (getFont): adjust
7744         (getLabelFont): adjust
7745         (getLayoutFont): adjust
7746
7747         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7748
7749 2003-04-15  John Levon  <levon@movementarian.org>
7750
7751         From Angus Leeming
7752
7753         * lyx_main.C: handle Include in .ui files
7754
7755 2003-04-15  John Levon  <levon@movementarian.org>
7756
7757         * MenuBackend.C: make the doc files length shorter
7758
7759         * ToolbarBackend.h:
7760         * ToolbarBackend.C: handle toolbar placement flags,
7761         Minibuffer
7762
7763 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7764
7765         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7766         adjust
7767
7768         * paragraph_funcs.C (TeXOnePar): adjust
7769
7770         * paragraph.C (getLabelFont): add outerfont arg, adjust
7771         (getLayoutFont): ditto
7772         (simpleTeXOnePar): adjust
7773
7774         * paragraph_pimpl.C (realizeFont): delete func
7775
7776 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7777
7778         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7779         row argument, constify cur argument.
7780
7781 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7782
7783         * text2.C (getFont): adjust
7784         (getLayoutFont): adjust
7785         (getLabelFont): adjust
7786
7787         * paragraph_funcs.C (TeXOnePar): adjust
7788         (outerFont): new func...
7789         (realizeFont): ...moved out from here, changed this to facilitate
7790         transition
7791
7792         * paragraph.C (getFont): take outerfont as arg, adjust
7793         (simpleTeXOnePar): add outerfont arg, adjust
7794
7795         * buffer.C (simpleLinuxDocOnePar): adjust
7796         (simpleDocBookOnePar): adjust
7797
7798         * CutAndPaste.C (pasteSelection): adjust
7799
7800         * BufferView.C (getEncoding): adjust
7801
7802 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7803
7804         * text2.C (setCharFont): adjust
7805         (setCounter): adjust
7806
7807         * text.C (leftMargin): adjust
7808         (setHeightOfRow): adjust
7809
7810         * rowpainter.C (paintFirst): adjust
7811         (paintLast): adjust
7812
7813         * paragraph_pimpl.C (realizeFont): adjust
7814
7815         * paragraph.C (isFirstInSequence): move from here...
7816         * paragraph_funcs.C (isFirstInSequence): ...to here
7817
7818         * paragraph.C (outerHook): move from here...
7819         * paragraph_funcs.C (outerHook): ...to here
7820
7821         * paragraph.C (depthHook): move from here...
7822         * paragraph_funcs.C (depthHook): ...to here
7823
7824         * paragraph.C (getEndLabel): move from here...
7825         * paragraph_funcs.C (getEndLabel): ...to here
7826
7827         * text2.C (realizeFont): move from here...
7828         * paragraph_funcs.C (realizeFont): ...to here
7829
7830 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7831
7832         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7833
7834 2003-04-14  Angus Leeming  <leeming@lyx.org>
7835
7836         * LColor.[Ch]: scrap LColor mathcursor.
7837
7838 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7839
7840         * lyxlex.[Ch] (text): delete function
7841         * trans.C (Load): adjust
7842         * paragraph_funcs.C (readParToken): adjust
7843
7844 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7845
7846         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7847         vector<char> instead of a char[].
7848
7849         * lyxlex_pimpl.C (getString): adjust
7850         (next): adjust
7851         (lex): use getString
7852         (eatLine): adjust
7853         (nextToken): adjust
7854
7855         * lyxlex.C (text): use pimpl_->getString()
7856         (getBool): ditto
7857         (findToken): ditto
7858
7859 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7860
7861         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7862         (makeFontEntriesLayoutSpecific): temp var for par.size()
7863         (setLayout): temp var for ownerParagraphs().end()
7864         (fullRebreak): temp var for rows().end()
7865         (selectionAsString): temp var for boost::next(startpit), realize
7866         that the while really is a regular for loop.
7867         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7868         setCursor in one place.
7869         (setParagraph): temp vr for ownerParagraphs().end()
7870         (updateCounters): make the while loop a for loop
7871         (cutSelection): temp var for ownerParagraphs().end()
7872         (updateInset): make the do {} while() a regular for loop
7873         (getCursorX): use temp vars
7874         (setCurrentFont): use temp vars
7875         (getColumnNearX): use temp vars
7876
7877 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7878
7879         * text.C (transformChar): use temp var for getChar
7880         (computeBidiTables): use temp var for row->par()
7881         (fill): move temp vars for row->par() and pit->layout() earlier in
7882         the function.
7883         (labelFill): use temp var for row->par()
7884         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7885         asc and desc, realize that pit never changes and that firstpit is
7886         just a duplicate and not needed. Exchange rit->par() with pit in a
7887         lot of places.
7888         (breakAgain): use a temp var for boost::next(rit)
7889         (breakAgainOneRow): ditto
7890         (breakParagraph): use a temp var for rows().begin()
7891         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7892         (cursorRightOneWord): use temp var for cursor.par() and
7893         cursor.pos(), remove usage of tmpcursor.
7894         (cursorLeftOneWord): use temp var for cursor.par() and
7895         cursor.pos() only set cur at end of function.
7896
7897 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7898
7899         * text.C, text2.C: exchange all usage of Paragraph::next with
7900         boost::next(ParagraphList::iterator)
7901
7902         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7903
7904         * text2.C (cursorTop): simplify implementation
7905         (cursorBottom): ditto
7906         (setParagraph): use ParagraphList::iterator
7907         (setCurrentFont): adjust
7908         (getColumnNearX): adjust
7909         (cursorRight): adjust
7910         (cursorLeft): remove usage of Paragraph::previous
7911         (cursorUpParagraph): ditto
7912         (deleteEmptyParagraphMechanism): slight cleanup
7913
7914         * text.C (isBoundary): take a Paragraph const & instead of a
7915         pointer as arg.
7916         (addressBreakPoint): ditto
7917         (leftMargin): remove usage of Paragraph::previous.
7918         (setHeightOfRow): ditto
7919         (cursorLeftOneWord): ditto
7920         (selectNextWordToSpellcheck): ditto
7921         (Delete): ditto
7922         (backspace): ditto
7923         (breakParagraph): remove one usage of Paragraph::next
7924         (redoParagraph): ditto
7925         (acceptChange): ditto
7926         (insertChar): adjust
7927         (rowBreakPoint): adjust
7928
7929         * bufferview_funcs.C (toggleAndShow): adjust
7930
7931 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7932
7933         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7934         methods to access it.
7935         * lyxtext.h:
7936         * text.C: Added updateRowPositions to compute all row positions.
7937         Make top_y and getRowNearY() to use the cached y position
7938
7939 2003-04-11  John Levon  <levon@movementarian.org>
7940
7941         * text.C (rowBreakPoint): reintroduce the labelEnd
7942         checks, code copied from the row fill stuff. Deep voodoo.
7943
7944         * text.C (fill): add a comment and debugging for the
7945         next poor soul.
7946
7947 2003-04-11  John Levon  <levon@movementarian.org>
7948
7949         * text.C: make sure fullrow insets get wrapped to the next line,
7950         even when they're in a manual label
7951
7952 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7953
7954         * text2.C (insertParagraph): make it take ParagraphList::iterator
7955         as arg.
7956         (setLayout): make it return ParagraphList::iterator
7957         (redoParagraphs): ditto
7958         (setCounter): ditto
7959         (checkParagraph): ditto
7960
7961         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7962
7963         * text2.C: adjust several funcs.
7964         (realizeFont): take a ParagraphList::iterator as arg.
7965         (getLayoutFont): ditto
7966         (getLabelFont): ditto
7967         (setCharFont): ditto
7968
7969         * text.C: adjust several funcs.
7970
7971 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7972
7973         * text.C (selectNextWordToSpellcheck): don't accidentally
7974         skip insets
7975
7976 2003-04-10  John Levon  <levon@movementarian.org>
7977
7978         * ToolbarBackend.C (getIcon): special handling for
7979         LFUN_MATH_DELIM
7980
7981 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7982
7983         * text2.C (cursorRight): a getChar assert fixed
7984
7985 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7986
7987         * text2.C (getFont): change to take a ParagraphList::iterator
7988         instead of Paragraph*
7989         Adjust several functions.
7990
7991         * text.C (transformChar): change to take a ParagraphList::iterator
7992         instead of Paragraph*
7993         (singleWidth): ditto
7994         Adjust several functions.
7995
7996         * rowpainter.C: adjust several functions
7997         * rowpainter.h:store a ParagraphList::iterator and not a
7998         Paragraph&.
7999
8000
8001 2003-04-09  John Levon  <levon@movementarian.org>
8002
8003         * lyxfunc.C:
8004         * lfuns.h:
8005         * LyXAction.h:
8006         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8007         and the "help" bits as well
8008
8009 2003-04-09  John Levon  <levon@movementarian.org>
8010
8011         * ToolbarBackend.h:
8012         * ToolbarBackend.C: allow multiple toolbars
8013
8014 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8015
8016         * undo_funcs.C (setCursorParUndo): adjust
8017
8018         * text_funcs.C (transposeChars): adjust
8019
8020         * text3.C (gotoNextInset): adjust
8021         (dispatch): adjust
8022
8023         * text2.C (setLayout): adjust
8024         (changeDepth): adjust
8025         (setFont): adjust
8026         (redoParagraphs): adjust
8027         (selectionAsString): adjust
8028         (setParagraph): adjust
8029         (insertInset): adjust
8030         (cutSelection): adjust
8031         (copySelection): adjust
8032         (pasteSelection): adjust
8033         (insertStringAsLines): adjust
8034         (updateInset): adjust
8035         (setCursor): change to take a ParagraphList::iterator parameter
8036         (setCursorIntern): change to take a ParagraphList::iterator parameter
8037         (setCurrentFont): adjust
8038         (cursorLeft): adjust
8039         (cursorRight): adjust
8040         (deleteEmptyParagraphMechanism): adjust
8041
8042         * text.C (breakParagraph): adjust
8043         (insertChar): adjust
8044         (acceptChange): adjust
8045         (rejectChange): adjust
8046         (selectNextWordToSpellcheck): adjust
8047         (changeCase): adjust
8048         (Delete): adjust
8049         (backspace): adjust
8050
8051         * lyxfind.C (SearchForward): adjust
8052         (SearchBackward): adjust
8053         (nextChange): adjust
8054
8055         * lyxcursor.C (par): adjust
8056
8057         * lyxcursor.h: store a ParagraphList::iterator instead of a
8058         Paragraph*
8059
8060         * lyx_cb.C (getPossibleLabel): adjust
8061
8062         * bufferview_funcs.C (toggleAndShow): adjust
8063
8064         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8065         (dispatch): adjust
8066
8067         * BufferView.C (removeAutoInsets): adjust
8068         (lockedInsetStoreUndo): adjust
8069
8070 2003-04-09  John Levon  <levon@movementarian.org>
8071
8072         * ToolbarBackend.C: try icon without argument
8073         if with argument fails
8074
8075 2003-04-08  John Levon  <levon@movementarian.org>
8076
8077         * ToolbarBackend.h:
8078         * ToolbarBackend.C: add getIcon(), handle tooltip,
8079         and change from "Icon" to "Item".
8080
8081 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8082
8083         * BufferView.C (lockInset): another bad getchar crunched
8084
8085 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8086
8087         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8088         again)
8089
8090 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8091
8092         * lyxfind.C (searchForward, searchBackwards): bug 782
8093
8094 2003-04-07  John Levon  <levon@movementarian.org>
8095
8096         * paragraph.C: remove dead comment
8097
8098         * text.C: remove troublesome depth-fiddling code
8099         in leftMargin() and rightMargin() (bug 1017)
8100
8101         * text.C: fix breaking of rows in nested lists
8102         (bug 1004)
8103
8104         * text2.C (updateCounters): fix up depth values
8105         (bug 1013)
8106
8107 2003-04-07  John Levon  <levon@movementarian.org>
8108
8109         * BufferView_pimpl.C: clear message when doc finishes resizing,
8110         and after a mouse event
8111
8112         * lyxfunc.C: clear message after exiting inset
8113
8114 2003-04-07  John Levon  <levon@movementarian.org>
8115
8116         * bufferview_funcs.C: show math status not outside
8117         status in the statusbar
8118
8119 2003-04-07  John Levon  <levon@movementarian.org>
8120
8121         * lyxfunc.C: note status changed after a depth change
8122
8123 2003-04-04  Angus Leeming  <leeming@lyx.org>
8124
8125         * LaTeX.h: move AuxInfo operator==, != out of line.
8126         Remove LaTeX virtual destructor; nothing derives from it.
8127         Move operator()() out of public area and rename it startscript().
8128         Change protected for private.
8129
8130 2003-04-04  Angus Leeming  <leeming@lyx.org>
8131
8132         * lyxfunc.C:
8133         * text2.C: remove unneeded #includes.
8134
8135 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8136
8137         * text2.C (dEPM): fix the heigth of the next row
8138
8139 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8140
8141         * text.C: squashed an invalid getChar requester + some ws changes
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: make getStatus work for the env depth lfuns
8150
8151 2003-04-03  John Levon  <levon@movementarian.org>
8152
8153         * bufferview_funcs.h:
8154         * bufferview_funcs.C:
8155         * lyxfunc.C:
8156         * lyxtext.h:
8157         * text2.C: parlistize decDepth(), by merging it with incDepth()
8158
8159 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8160
8161         * lyxrow.h: store a ParagraphList::iterator instead of a
8162         Paragraph* and adjust other class functions to suit.
8163
8164         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8165         above.
8166
8167 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8168
8169         * text2.C (setCursor): do not anchor to cursor row for the time being
8170
8171 2003-04-02  John Levon  <levon@movementarian.org>
8172
8173         * LyXAction.C:
8174         * lfuns.h:
8175         * lyx_main.C:
8176         * lyxtext.h:
8177         * text.C:
8178         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8179
8180 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8181
8182         * paragraph.h: make ParagraphList and ParagraphList::iterator
8183         friends of Paragraph.
8184
8185         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8186
8187         * ParagraphList.C: Use the private next_ and previous_ from
8188         Paragraph.
8189
8190 2003-04-01  John Levon  <levon@movementarian.org>
8191
8192         * ToolbarBackend.h:
8193         * ToolbarBackend.C:
8194         * Makefile.am: rename, remove defaults gunk
8195
8196         * MenuBackend.h:
8197         * MenuBackend.C: remove defaults gunk
8198
8199         * Languages.h:
8200         * Languages.C: remove defaults gunk
8201
8202         * lyx_main.h:
8203         * lyx_main.C: error out if files couldn't be found.
8204
8205 2003-04-02  John Levon  <levon@movementarian.org>
8206
8207         * text2.C: make incDepth() use parlist
8208
8209 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8210
8211         * undo_funcs.C (firstUndoParagraph): adjust
8212
8213         * text3.C (gotoInset): adjust
8214         (dispatch): adjust, and rewrite loop.
8215
8216         * text2.C (init): adjust, and rewrite loop.
8217         (redoParagraphs): adjust
8218         (updateInset): adjust, and rewrite loop.
8219         (deleteEmptyParagraphMechanism): adjust
8220
8221         * tabular.C (LyXTabular): adjust
8222         (SetMultiColumn): adjust
8223         (TeXRow): adjust
8224
8225         * lyxtext.[Ch] (ownerParagraph): delete function
8226         (ownerParagraphs): new function returns a ParagraphList.
8227
8228         * BufferView.C (removeAutoInsets): adjust
8229         (insertErrors): adjust
8230         (setCursorFromRow): adjust
8231
8232 2003-04-01  Angus Leeming  <leeming@lyx.org>
8233
8234         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8235         in the frontends.
8236
8237 2003-04-02  John Levon  <levon@movementarian.org>
8238
8239         * lyxtext.h:
8240         * text.C:
8241         * Makefile.am:
8242         * text_funcs.h:
8243         * text_funcs.C: make transposeChars a free function
8244
8245         * lyxrow_funcs.C: remove wrong comment
8246
8247 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8248
8249         * lyxtext.h: adjust
8250         * rowpainter.C: adjust
8251         * text.C: adjust
8252         * text2.C: adjust
8253         * text3.C: adjust
8254
8255         * lyxrow_funcs. [Ch]: new files
8256
8257         * lyxrow.[Ch]: remove next and previous pointers
8258         (next,previous): remove accessor functions
8259         (isParEnd): move to lyxrow_funcs
8260         (lastPos): move to lyxrow_funcs
8261         (nextRowIsAllInset): move to lyxrow_funcs
8262         (lastPrintablePos): move to lyxrow_funcs
8263         (numberOfSeparators): move to lyxrow_funcs
8264         (numberOfHfills): move to lyxrow_funcs
8265         (numberOfLabelHfills): move to lyxrow_funcs
8266         (hfillExpansion): move to lyxrow_funcs
8267
8268         * lyxfunc.C: adjust
8269
8270         * bufferview_funcs.C (toggleAndShow): adjust
8271
8272         * RowList.h: Remove class RowList from file leave just a
8273         std::list<Row>.
8274
8275         * RowList.C: delete file
8276
8277         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8278         and lyxrow_funcs.h
8279
8280 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * text3.C (cursorPrevious): adjust
8283         (cursorNext): adjust
8284         (dispatch): adjust
8285
8286         * text2.C (redoHeightOfParagraph): adjust
8287         (redoDrawingOfParagraph): adjust
8288         (setCursor): adjust
8289
8290         * text.C (breakParagraph): adjust
8291         (insertChar): adjust
8292         (backspace): adjust
8293
8294         * rowpainter.C (RowPainter): adjust
8295         (leftMargin): simplify and adjust
8296         (most rowpainter functions): adjust.
8297
8298         * rowpainter.h: store the row as RowList::iterator not as Row*
8299
8300         * lyxcursor.C (row): taka RowList::iterator as arg
8301         (irow): ditto
8302
8303         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8304         of Row*.
8305
8306 2003-04-01  Angus Leeming  <leeming@lyx.org>
8307
8308         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8309         stuff like bool Bool.
8310
8311 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8312
8313         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8314         rewrite a loop
8315
8316 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8317
8318         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8319         RowList::iterator.
8320
8321         * lyxtext.h (rows): drop one version and leve a const variant that
8322         returns a RowList::iterator.
8323
8324 2003-03-31  Angus Leeming  <leeming@lyx.org>
8325
8326         * text.C (fill): ensure that the signature is the same as that in the
8327         header file.
8328
8329 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8330
8331         * text2.C (redoParagraphs): adjust
8332         (updateCounters): adjust
8333         (checkParagraph): adjust
8334         (getColumnNearX): adjust and reformat a bit.
8335
8336         * text.C (top_y): adjust
8337         (workWidth): adjust
8338         (leftMargin): adjust
8339         (prepareToPrint): adjust
8340         (getRow): adjust
8341         (getRowNearY): adjust
8342
8343         * lyxtext.h: make rowlist_ mutable.
8344
8345         * RowList.h: add const_iterator
8346         * RowList.C: adjust for RowList::const_iterator.
8347
8348         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8349         adjust.
8350
8351 2003-03-31  John Levon  <levon@movementarian.org>
8352
8353         * lyxrc.h:
8354         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8355
8356         * lyx_main.C: set default fonts from using lyx_gui funcs
8357
8358         * exporter.C: pdf_mode moved from lyxrc
8359
8360         * lyx_cb.C:
8361         * lyxfunc.C: changes from above
8362
8363 2003-03-31  John Levon  <levon@movementarian.org>
8364
8365         * lyx_main.C: fix to the last fix
8366
8367 2003-03-31  John Levon  <levon@movementarian.org>
8368
8369         * bufferlist.C: "Load original" -> "Load Original"
8370
8371         * converter.C:
8372         * exporter.C:
8373         * importer.C:
8374         * lyx_main.C:
8375         * format.C: more Alert cleanups
8376
8377 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8378
8379         * text2.C (removeParagraph): make it take a RowList::iterator as
8380         arg, adjust.
8381         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8382         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8383
8384         * text.C (anchor_row): make it take a RowList::iterator as arg,
8385         adjust.
8386         (computeBidiTables): make it take a const reference to Row instead
8387         of Row pointer, adjust.
8388         (leftMargin): make it take a RowList::iterator as arg, adjust.
8389         (rowBreakPoint): adjust
8390         (breakAgainOneRow): make it take a RowList::iterator as arg,
8391         adjust.
8392         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8393
8394         * bufferview_funcs.C (toggleAndShow): adjust
8395
8396 2003-03-30  John Levon  <levon@movementarian.org>
8397
8398         * Makefile.am:
8399         * BoostFormat.h:
8400         * boost-inst.C: moved to support
8401
8402         * several files: changes as a result
8403
8404 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8405
8406         * text2.C (LyXText): adjust.
8407         (init): adjust
8408         (removeRow): make it take a RowList::iterator as arg, adjust.
8409         (fullRebreak): adjust
8410         (deleteEmptyParagraphMechanism): adjust
8411         (clearPaint): adjust
8412         (postPaint): adjust
8413
8414         * text.C (top_y): adjust
8415         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8416         (breakAgain): make it take a RowList::iterator as arg, adjust.
8417         (breakParagraph): adjust
8418         (insertChar): adjust
8419         (backspace): adjust
8420
8421         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8422         need_break_row, and refresh_row.
8423
8424         * text3.C (dispatch): adjust
8425
8426         * text2.C (checkParagraph): adjust
8427         (setCursor): adjust
8428         (setCursorFromCoordinates): adjust
8429
8430         * text.C (top_y): adjust
8431         (workWidth): adjust
8432         (getRow): make it return a RowList::iterator, adjust
8433         (getRowNearY): make it return a RowList::iterator, adjust
8434
8435         * text2.C (init): adjust
8436         (insertRow): remove function
8437         (insertParagraph): adjust
8438         (redoParagraphs): adjust
8439         (fullRebreak): adjust
8440         (updateCounters): adjust
8441
8442         * text.C (top_y): rewrite to use RowList iterators.
8443         (top_y): adjust
8444         (setHeightOfRow): rewrite to sue RowList iterators.
8445         (appendParagraph): adjust
8446         (breakAgain): adjust
8447         (breakAgainOneRow): adjust
8448         (breakParagraph): adjust
8449         (getRow): adjust
8450         (getRowNearY): adjust, and remove commented code.
8451
8452         * lyxtext.h (firstRow): delete function
8453         (lastRow): delete function
8454         (rows): new function (const and non-const versions.)
8455         (insertRow): delete function
8456
8457         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8458
8459 2003-03-29  John Levon  <levon@movementarian.org>
8460
8461         * BufferView_pimpl.C: always update scrollbar top
8462         because pasting text when we're anchored could mean we
8463         miss an update altogether
8464
8465 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8466
8467         * text2.C (init): use rowlist_.end() and not 0.
8468         (insertRow): change to take a RowList::iterator as arg, adjust
8469         for this.
8470         (insertParagraph): change to take a RowList::iterator as arg,
8471         adjust for this.
8472         (redoParagraphs): remove some debug msgs.
8473
8474         * text.C (appendParagraph): change to take a RowList::iterator
8475         arg, adjust for this.
8476         (breakAgain): add an assert
8477         (breakAgainOneRow): ditto
8478
8479 2003-03-29  John Levon  <levon@movementarian.org>
8480
8481         * text2.C: do not clear selection after inc/decDepth
8482         (bug 550)
8483
8484 2003-03-29  John Levon  <levon@movementarian.org>
8485
8486         * BufferView.C:
8487         * buffer.C: fix broken strerrors according to Lars
8488
8489 2003-03-29  John Levon  <levon@movementarian.org>
8490
8491         * converters.C: more Alert cleanups
8492
8493 2003-03-29  John Levon  <levon@movementarian.org>
8494
8495         * bufferview_funcs.C: remove pointless Alert
8496
8497         * buffer.C: fix confusing error message when
8498         a template is chmoded 000
8499
8500 2003-03-29  John Levon  <levon@movementarian.org>
8501
8502         * BufferView.C:
8503         * BufferView.h:
8504         * BufferView_pimpl.C: Alert fixes
8505
8506         * Makefile.am:
8507         * tabular.C:
8508         * tabular-old.C: remove unused table compat reading
8509
8510 2003-03-29  John Levon  <levon@movementarian.org>
8511
8512         * BufferView.C:
8513         * buffer.C:
8514         * lyx_cb.h:
8515         * lyx_cb.C: more Alert cleanups
8516
8517         * lyxfunc.C: don't allow chktex if not latex document
8518
8519 2003-03-29  John Levon  <levon@movementarian.org>
8520
8521         * lyx_cb.C:
8522         * BufferView.C:
8523         * buffer.C: warnings pushed down from support/,
8524         kill err_alert
8525
8526 2003-03-29  John Levon  <levon@movementarian.org>
8527
8528         * lyxfunc.C: safety check for C-r (revert)
8529
8530 2003-03-29  John Levon  <levon@movementarian.org>
8531
8532         * bufferlist.h:
8533         * bufferlist.C: several UI fixes using Alert::prompt.
8534         Fix the pointless looping quit code. Fix stupid revert
8535         behaviour (bug 938)
8536
8537         * lyxvc.h:
8538         * lyxvc.C:
8539         * lyx_cb.C: use Alert::prompt
8540
8541         * lyx_main.C: remove a silly question
8542
8543         * lyxfunc.C: remove a couple of silly questions,
8544         use Alert::prompt
8545
8546 2003-03-28  John Levon  <levon@movementarian.org>
8547
8548         * text2.C: fix bug 974 (End on empty par)
8549
8550 2003-03-28  John Levon  <levon@movementarian.org>
8551
8552         * BufferView_pimpl.C:
8553         * LyXAction.C:
8554         * lfuns.h: remove do-nothing math greek lfuns
8555
8556 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8557
8558         * lyxgluelength.h (isValidGlueLength): add default arg on
8559         parameter 2. Remove default arg from friend in class.
8560
8561         * lyxlength.h (isValidLength): add default arg on parameter 2.
8562         Remove default arg from friend in class.
8563
8564         * text2.C (LyXText): adjust, initialize refresh_row.
8565         (init): adjust
8566         (removeRow): adjust
8567         (insertRow): adjust
8568         (insertParagraph): adjst
8569         (redoParagraphs): adjust
8570         (fullRebreak): adjust
8571         (updateCounters): adjust
8572         (deleteEmptyParagraphMechanism): first attempt at fixing a
8573         crashing bug.
8574
8575         * text.C (top_y): adjust
8576         (setHeightOfRow): adjust
8577         (getRow): adjust
8578         (getRowNearY): adjust
8579
8580         * lyxtext.h: include RowList.h
8581         (~LyXText): not needed anymore, deleted.
8582         (firstRow): modify for RowList
8583         (lastRow): new function
8584         Delete firstrow and lastrow class variables, add a Rowlist
8585         rowlist_ class variable.
8586
8587         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8588         paragraph is empty.
8589
8590         * RowList.C (insert): fix case where it == begin().
8591
8592 2003-03-26  Angus Leeming  <leeming@lyx.org>
8593
8594         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8595         the thesaurus dialog.
8596
8597 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8598
8599         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8600
8601         * RowList.[Ch]: new files
8602
8603         * ParagraphList.C (erase): handle the case where it == begin
8604         correctly.
8605
8606 2003-03-25  John Levon  <levon@movementarian.org>
8607
8608         * Makefile.am:
8609         * aspell_local.h:
8610         * aspell.C: add new aspell support
8611
8612         * lyxrc.h:
8613         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8614         have it accessible.
8615
8616 2003-03-25  Angus Leeming  <leeming@lyx.org>
8617
8618         * lfuns.h:
8619         * LyXAction.C (init): new LFUN_INSET_INSERT.
8620
8621         * BufferView_pimpl.C (dispatch): split out part of the
8622         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8623
8624         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8625         LFUN_INSET_APPLY.
8626
8627 2003-03-25  Angus Leeming  <leeming@lyx.org>
8628
8629         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8630
8631 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8632
8633         * text2.C:
8634         * text3.C: remove useless row->height(0)
8635
8636 2003-03-25  John Levon  <levon@movementarian.org>
8637
8638         * lyxtext.h:
8639         * text2.C:
8640         * text3.C: rename the refreshing stuff to better names
8641
8642 2003-03-24  John Levon  <levon@movementarian.org>
8643
8644         * BufferView_pimpl.h:
8645         * BufferView_pimpl.C: update layout choice on a mouse
8646         press/release
8647
8648 2003-03-23  John Levon  <levon@movementarian.org>
8649
8650         * Makefile.am: fix commandtags.h reference
8651
8652 2003-03-22  John Levon  <levon@movementarian.org>
8653
8654         * BufferView_pimpl.C:
8655         * lyxtext.h:
8656         * rowpainter.C:
8657         * rowpainter.h:
8658         * text.C:
8659         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8660
8661 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8662
8663         * lyxtext.h:
8664         * text.C: take the rtl methods out of line
8665
8666 2003-03-21 André Pönitz <poenitz@gmx.net>
8667
8668         * metricsinfo.[Ch]: new files containing structures to be passed around
8669         during the two-phase-drawing...
8670
8671 2003-03-21 André Pönitz <poenitz@gmx.net>
8672
8673         * lyxtextclass.C: read 'environment' tag.
8674
8675 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8676
8677         * text2.C (removeRow): fix bug 964
8678
8679 2003-03-20  John Levon  <levon@movementarian.org>
8680
8681         * rowpainter.C:
8682         * text.C:
8683         * text2.C: paint cleanups. Inset::update() dropped font
8684         parameter
8685
8686 2003-03-19  John Levon  <levon@movementarian.org>
8687
8688         * lyxfunc.C: only fitcursor/markDirty if available()
8689
8690 2003-03-19  John Levon  <levon@movementarian.org>
8691
8692         * commandtags.h: rename to ...
8693
8694         * lfuns.h: ... this, and renumber / cleanup
8695
8696 2003-03-19  John Levon  <levon@movementarian.org>
8697
8698         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8699         fit the cursor after an lfun
8700
8701         * BufferView.h:
8702         * BufferView.C:
8703         * BufferView_pimpl.h:
8704         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8705
8706         * LyXAction.C: layout-character should have ReadOnly
8707
8708         * ParagraphParameters.C:
8709         * buffer.C:
8710         * bufferview_funcs.C:
8711         * lyx_cb.C:
8712         * lyxfind.C:
8713         * lyxtext.h:
8714         * text.C:
8715         * text2.C:
8716         * text3.C:
8717         * undo_funcs.C: changes from above
8718
8719 2003-03-18  John Levon  <levon@movementarian.org>
8720
8721         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8722         remove it from update()
8723
8724         * lyxfunc.C: update layout choice after an lfun
8725
8726         * text3.C: remove extra updateLayoutChoice()s
8727
8728 2003-03-18  John Levon  <levon@movementarian.org>
8729
8730         * text.C: top_y change means full repaint, fix
8731         a drawing bug with cursor movement
8732
8733 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8734
8735         * lyxtext.h:
8736         * text.C:
8737         * text2.C: anchor row on setCursor
8738
8739 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8740
8741         * lyxtext.h: remove almost all mutable keywords
8742         * text.C:
8743         * text2.C:
8744         * text3.C: remove const keywords accordingly
8745
8746 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8747
8748         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8749         anon namespace
8750         (TeXEnvironment): ditto
8751         (TeXOnePar): ditto
8752
8753 2003-03-17  John Levon  <levon@movementarian.org>
8754
8755         * text.C (rowBreakPoint): remove attempt to fix displayed
8756         math insets inside a manual label
8757
8758 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8759
8760         * lyxtext.h: remove BufferView* as first arg from almost all class
8761         functions.
8762         * other files: adjust.
8763
8764 2003-03-17  John Levon  <levon@movementarian.org>
8765
8766         * lyxtext.h:
8767         * undo_funcs.C:
8768         * text2.C: more paint cleanups
8769
8770         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8771
8772         * rowpainter.h:
8773         * rowpainter.C: remove "smart" background painting code
8774
8775 2003-03-16  John Levon  <levon@movementarian.org>
8776
8777         * lyxtext.h:
8778         * text.C:
8779         * text2.C:
8780         * text3.C: add helper functions for setting refresh_row/y
8781
8782 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8783
8784         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8785         newline inset which *can* get inserted in the pass_thru layouts.
8786         This is primarily for literate documents.
8787
8788 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8789
8790         * buffer.C: increment LYX_FORMAT to 223
8791
8792 2003-03-14 André Pönitz <poenitz@gmx.net>
8793
8794         * textclass.h: prepare for environment handling, ws changes
8795         * lyxlayout.C: read latexheader and latexfooter tags
8796
8797 2003-03-14  John Levon  <levon@movementarian.org>
8798
8799         * text2.C: rewrite ::status() a bit
8800
8801 2003-03-13  John Levon  <levon@movementarian.org>
8802
8803         * lyxtext.h: add some docs
8804
8805 2003-03-13  John Levon  <levon@movementarian.org>
8806
8807         * lyxtext.h:
8808         * text.C:
8809         * text2.C:
8810         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8811
8812 2003-03-13  John Levon  <levon@movementarian.org>
8813
8814         * text3.C: fix appendix redrawing
8815
8816 2003-03-13  John Levon  <levon@movementarian.org>
8817
8818         * text.C (setHeightOfRow):
8819         * rowpainter.h:
8820         * rowpainter.C: make appendix mark have the text
8821           "Appendix" so the user knows what it is
8822
8823         * LColor.h:
8824         * LColor.C: s/appendixline/appendix/ from above
8825
8826 2003-03-13  John Levon  <levon@movementarian.org>
8827
8828         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8829
8830         * text.C: fix a getChar(pos) bug properly
8831
8832 2003-03-13  Angus Leeming  <leeming@lyx.org>
8833
8834         * commandtags.h:
8835         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8836         Probably only temporary. Let's see how things pan out.
8837
8838         * BufferView.C (unlockInset):
8839         * BufferView_pimpl.C (fitCursor):
8840         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8841
8842         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8843         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8844
8845         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8846         new functions that convert ParagraphParameters to and from a string.
8847
8848         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8849         BufferView::Pimpl's dispatch.
8850         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8851
8852 2003-03-13 André Pönitz <poenitz@gmx.net>
8853
8854         * lyxfunc.C:
8855         * text3.C:
8856         * factory.C: make it aware of InsetEnv
8857
8858 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8859
8860         * text2.C (setCursor): never ask for one past last
8861         (setCursor): add some debugging messages.
8862
8863         * text.C (singleWidth): never ask for one past last
8864         (singleWidth): ditto
8865         (leftMargin): ditto
8866         (rightMargin): ditto
8867         (rowBreakPoint): ditto
8868         (setHeightOfRow): ditto
8869         (prepareToPrint): ditto
8870
8871         * rowpainter.C (paintBackground): never ask for one past last
8872         (paintText): never ask for one past last
8873
8874         * paragraph_pimpl.C (getChar): make the assert stricter, never
8875         allow the one past last pos to be taken
8876
8877         * paragraph.C (getChar): ws changes only
8878
8879         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8880         (numberOfSeparators): ditto
8881         (numberOfHfills): ditto
8882
8883 2003-03-12  John Levon  <levon@movementarian.org>
8884
8885         * author.h:
8886         * author.C:
8887         * bufferparams.h:
8888         * bufferparams.C:
8889         * paragraph_funcs.C: fix per-buffer authorlists
8890
8891 2003-03-12  John Levon  <levon@movementarian.org>
8892
8893         * text.C: fix newline in right address
8894
8895 2003-03-12  Angus Leeming  <leeming@lyx.org>
8896
8897         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8898         duplicate those in LyXFunc::dispatch.
8899
8900         * commandtags.h:
8901         * LyXAction.C:
8902         * ToolbarDefaults.C:
8903         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8904         Add LFUN_FONTFREE_UPDATE.
8905
8906         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8907         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8908
8909         * bufferview_func.[Ch]: several new functions to facilliate
8910         transfer of data to and from the character dialog.
8911
8912 2003-03-12  John Levon  <levon@movementarian.org>
8913
8914         * buffer.C:
8915         * paragraph.h:
8916         * paragraph.C:
8917         * paragraph_funcs.C:
8918         * paragraph_pimpl.C:
8919         * sgml.C:
8920         * tabular.C:
8921         * text.C:
8922         * text3.C: remove META_NEWLINE in favour of an inset
8923
8924         * rowpainter.h:
8925         * rowpainter.C: remove paintNewline (done by inset)
8926
8927 2003-03-12  John Levon  <levon@movementarian.org>
8928
8929         * paragraph_pimpl.C: complain about bad getChar()s
8930         for a while at least
8931
8932 2003-03-12  John Levon  <levon@movementarian.org>
8933
8934         * buffer.h:
8935         * buffer.C: move paragraph read into a separate function,
8936         a little renaming to reflect that.
8937
8938         * bufferparams.h:
8939         * bufferparams.C: remove the author_ids map, not necessary now
8940
8941         * factory.h:
8942         * factory.C: moved Buffer::readInset to here
8943
8944         * paragraph_funcs.h:
8945         * paragraph_funcs.C: readParagraph free function moved from
8946         buffer.C
8947
8948         * tabular.C: name change
8949
8950 2003-03-12  John Levon  <levon@movementarian.org>
8951
8952         * buffer.C:
8953         * ParagraphParameters.C: move par params input to
8954         a read() method
8955
8956         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8957         behave like a normal read from the stream wrt reading
8958         a line vs. a \\token
8959
8960 2003-03-12  John Levon  <levon@movementarian.org>
8961
8962         * paragraph.C:
8963         * ParagraphParameters.h:
8964         * ParagraphParameters.C: move output code to a
8965         ::write() method
8966
8967 2003-03-12  John Levon  <levon@movementarian.org>
8968
8969         * BufferView.C (insertLyXFile):
8970         * buffer.h:
8971         * buffer.C:
8972         * tabular.C: use a parlist iterator for creating the
8973           document.
8974
8975 2003-03-12  John Levon  <levon@movementarian.org>
8976
8977         * buffer.C: make current_change static local not
8978           static file-scope
8979
8980 2003-03-12  John Levon  <levon@movementarian.org>
8981
8982         * buffer.C: fix insertStringAsLines for change tracking
8983
8984 2003-03-12  John Levon  <levon@movementarian.org>
8985
8986         * BufferView.C:
8987         * tabular.C:
8988         * buffer.h:
8989         * buffer.C:
8990         * bufferparams.h:
8991         * bufferparams.C: move author list into params. Rename some
8992           functions. Move the header reading into a separate token
8993           loop. Move the header token reading into BufferParams.
8994
8995 2003-03-12  John Levon  <levon@movementarian.org>
8996
8997         * changes.C: put debug inside lyxerr.debugging() checks
8998
8999 2003-03-11 André Pönitz <poenitz@gmx.net>
9000
9001         * factory.C: make it aware of InsetHFill
9002
9003 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9004
9005         * buffer.C (latexParagraphs): move function from here...
9006         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9007         args.
9008
9009 2003-03-10  Angus Leeming  <leeming@lyx.org>
9010
9011         * LyXAction.C (init): fix bug in poplating array with multiple entries
9012         with the same LFUN (spotted by JMarc).
9013
9014 2003-03-10  John Levon  <levon@movementarian.org>
9015
9016         * text.C:
9017         * text2.C: move getColumnNearX() near its
9018         only call site
9019
9020 2003-03-10  John Levon  <levon@movementarian.org>
9021
9022         * text.C: fix break before a minipage
9023
9024 2003-03-10  John Levon  <levon@movementarian.org>
9025
9026         * text.C: fix the last commit
9027
9028 2003-03-09  John Levon  <levon@movementarian.org>
9029
9030         * lyxtext.h:
9031         * text.C:
9032         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9033         bug 365 (don't break before insets unless needed). Don't
9034         return a value > last under any circumstances.
9035
9036 2003-03-09  Angus Leeming  <leeming@lyx.org>
9037
9038         * BufferView_pimpl.C (trackChanges, dispatch): call
9039         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9040
9041 2003-03-09  Angus Leeming  <leeming@lyx.org>
9042
9043         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9044         than Dialogs::showAboutlyx().
9045
9046 2003-03-09  Angus Leeming  <leeming@lyx.org>
9047
9048         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9049         than Dialogs::showTabularCreate().
9050
9051 2003-03-09  John Levon  <levon@movementarian.org>
9052
9053         * lyxtext.h:
9054         * text.C:
9055         * text2.C: 3rd arg to nextBreakPoint was always the same.
9056           Use references.
9057
9058 2003-03-08  John Levon  <levon@movementarian.org>
9059
9060         * lyxrow.C:
9061         * paragraph.C:
9062         * paragraph.h:
9063         * rowpainter.C:
9064         * text.C:
9065         * text2.C: Remove the "main" bit from the "main body"
9066           notion.
9067
9068 2003-03-08  John Levon  <levon@movementarian.org>
9069
9070         * text.C (leftMargin): The left margin of an empty
9071         manual label paragraph should not include the label width
9072         string length.
9073
9074         * text.C (prepareToPrint): don't attempt to measure hfills
9075         for empty manual label paragraphs - the answer should be 0
9076
9077 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9078
9079         * CutAndPaste.C: remove commented code and reindent.
9080
9081 2003-03-08  John Levon  <levon@movementarian.org>
9082
9083         * lyxfunc.h:
9084         * lyxfunc.C: move reloadBuffer()
9085
9086         * BufferView.h:
9087         * BufferView.C: to here
9088
9089         * lyxvc.C: add comment
9090
9091         * vc-backend.h:
9092         * vc-backend.C: call bv->reload() to avoid
9093           getStatus() check on MENURELOAD
9094
9095 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9096
9097         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9098         to an old format .dep file.
9099
9100 2003-03-07  Angus Leeming  <leeming@lyx.org>
9101
9102         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9103         when the LFUN_MOUSE_RELEASE should have been handled by
9104         inset->localDispatch.
9105
9106 2003-03-07  Angus Leeming  <leeming@lyx.org>
9107
9108         * BufferView_pimpl.C (dispatch):
9109         * LyXAction.C (init):
9110         * ToolbarDefaults.C (init):
9111         * commandtags.h:
9112         * lyxfunc.C (getStatus):
9113         remove LFUN_INSET_GRAPHICS.
9114
9115         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9116
9117 2003-03-07  Angus Leeming  <leeming@lyx.org>
9118
9119         * commandtags.h:
9120         * LyXAction.C (init):
9121         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9122
9123         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9124
9125         * commandtags.h:
9126         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9127
9128         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9129         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9130
9131 2003-03-07  Angus Leeming  <leeming@lyx.org>
9132
9133         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9134         remove "ert".
9135
9136 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9137
9138         * ParagraphList.C (front): new function
9139         (back): implement
9140
9141 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9142
9143         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9144         and top_row_offset_. removed var first_y.
9145         * text.C (top_y):
9146         * text2.C (LyXText, removeRow):
9147         * text3.C:
9148         * BufferView_pimpl.C:
9149         use these methods instead of using first_y
9150
9151 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9152
9153         * text2.C (pasteSelection): adjust for checkPastePossible
9154
9155         * CutAndPaste.C: remove Paragraph * buf and replace with
9156         ParagraphList paragraphs.
9157         (DeleteBuffer): delete
9158         (cutSelection): change the tc type to textclass_type
9159         (copySelection): change the tc type to textclass_type
9160         (copySelection): adjust for ParagraphList
9161         (pasteSelection): change the tc type to textclass_type
9162         (pasteSelection): adjust for Paragraphlist
9163         (nrOfParagraphs): simplify for ParagraphList
9164         (checkPastePossible): simplify for ParagraphList
9165         (checkPastePossible): remove unused arg
9166
9167         * ParagraphList.C (insert): handle the case where there are no
9168         paragraphs yet.
9169
9170         * CutAndPaste.h: make CutAndPaste a namespace.
9171
9172         * text3.C (dispatch): adjust
9173
9174         * text.C (breakParagraph): add a ParagraphList as arg
9175
9176         * paragraph_funcs.C (breakParagraph): change to take a
9177         BufferParams and a ParagraphList as args.
9178         (breakParagraphConservative): ditto
9179         (mergeParagraph): ditto
9180         (TeXDeeper): add a ParagraphList arg
9181         (TeXEnvironment): ditto
9182         (TeXOnePar): ditto
9183
9184         * buffer.C (readLyXformat2): adjust
9185         (insertStringAsLines): adjust
9186         (latexParagraphs): adjust
9187
9188         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9189         (cutSelection): adjust
9190         (pasteSelection): adjust
9191
9192         * BufferView_pimpl.C (insertInset): adjust
9193
9194 2003-03-05  Angus Leeming  <leeming@lyx.org>
9195
9196         * commandtags.h:
9197         * LyXAction.C (init):
9198         * BufferView_pimpl.C (dispatch):
9199         * lyxfunc.C (getStatus):
9200         remove LFUN_CHILD_INSERT.
9201
9202         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9203
9204 2003-03-05  Angus Leeming  <leeming@lyx.org>
9205
9206         * commandtags.h:
9207         * LyXAction.C (init):
9208         * src/factory.C (createInset):
9209         * lyxfunc.C (getStatus):
9210         * text3.C (dispatch):
9211         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9212
9213         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9214
9215 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9216
9217         * ParagraphList.C (insert): handle insert right before end()
9218         (erase): fix cases where it can be first or last paragraph.
9219
9220 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9221
9222         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9223         Paragraph::next and Paragraph::previous
9224         (TeXOnePar): ditto
9225
9226         * text.C (breakParagraph): adjust
9227
9228         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9229         BufferParams& as arg.
9230         (breakParagraph): use ParagraphList::insert
9231         (breakParagraphConservative): take a Buffer* instead of a
9232         BufferParams& as arg.
9233         (breakParagraphConservative): use ParagraphList::insert.
9234
9235         * buffer.C (insertStringAsLines): un-const it
9236         (insertStringAsLines): adjust
9237
9238         * ParagraphList.C (insert): new function
9239
9240         * CutAndPaste.C (pasteSelection): adjust
9241
9242         * text.C (backspace): adjust
9243
9244         * tabular.C (SetMultiColumn): adjust
9245
9246         * CutAndPaste.C (cutSelection): adjust
9247         (pasteSelection): adjust
9248
9249         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9250         Buffer const * as arg
9251
9252         * ParagraphList.C (erase): new function
9253         * paragraph_funcs.C (mergeParagraph): use it
9254         (mergeParagraph): make it take a Buffer* instead of a
9255         BufferParams* as arg
9256
9257         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9258         as arg
9259         (breakParagraphConservative): ditto
9260
9261         * paragraph.h: remove the breakParagraph friend
9262
9263         * paragraph.C (eraseIntern): new function
9264         (setChange): new function
9265
9266         * paragraph_funcs.C (mergeParagraph): make it take a
9267         ParagraphList::iterator instead of a Paragraph *, adjust
9268         accordingly.
9269
9270         * paragraph.h: move an #endif so that the change tracking stuff
9271         also works in the NO_NEXT case.
9272
9273 2003-03-04  Angus Leeming  <leeming@lyx.org>
9274
9275         * commandtags.h:
9276         * LyXAction.C: new LFUN_INSET_MODIFY.
9277
9278         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9279         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9280
9281 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9282
9283         * several files: ws changes only
9284
9285         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9286         (TeXEnvironment): ditto
9287         (TeXDeeper): ditto
9288
9289         * buffer.C (makeLaTeXFile): adjust
9290         (latexParagraphs): make it take ParagraphList::iterator as args
9291
9292 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9293
9294         * buffer.C (latexParagraphs): adjust
9295
9296         * paragraph.C (TeXOnePar): move function...
9297         (optArgInset): move function...
9298         (TeXEnvironment): move function...
9299         * paragraph_pimpl.C (TeXDeeper): move function...
9300         * paragraph_funcs.C: ...here
9301
9302         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9303
9304 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9305
9306         * buffer.C (readInset): remove compability code for old Figure and
9307         InsetInfo insets
9308
9309 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9310
9311         * buffer.C: ws changes
9312         (readInset):
9313
9314         * BufferView_pimpl.C: ditto
9315         * author.C: ditto
9316         * buffer.h: ditto
9317         * bufferlist.h: ditto
9318         * changes.h: ditto
9319         * lyxfunc.C: ditto
9320
9321 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9322
9323         * converter.[Ch]: split into itself +
9324         * graph.[Ch]
9325         * format.[Ch]
9326         * Makefile.am: += graph.[Ch] + format.[Ch]
9327         * MenuBackend.C
9328         * buffer.C
9329         * exporter.C
9330         * importer.C
9331         * lyx_main.C
9332         * lyxfunc.C
9333         * lyxrc.C: added #include "format.h"
9334
9335 2003-02-27  Angus Leeming  <leeming@lyx.org>
9336
9337         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9338           a label.
9339
9340         * factory.C (createInset): add "label" to the factory.
9341
9342         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9343           string and do no more.
9344
9345 2003-02-27  Angus Leeming  <leeming@lyx.org>
9346
9347         * commandtags.h:
9348         * LyXAction.C (init):
9349         * factory.C (createInset):
9350         * BufferView_pimpl.C (dispatch):
9351           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9352
9353         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9354
9355         * lyxfunc.C (dispatch):
9356         * text3.C (dispatch): pass name to params2string.
9357
9358 2003-02-26  Angus Leeming  <leeming@lyx.org>
9359
9360         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9361           blocks together.
9362           Rearrange the ~includes. Strip out the unnecessary ones.
9363
9364         * factory.C (createInset): reformat.
9365           create new insets for the various LFUN_XYZ_APPLY lfuns.
9366
9367 2003-02-26  John Levon  <levon@movementarian.org>
9368
9369         * lyxrow.h:
9370         * lyxrow.C: add isParStart,isParEnd helpers
9371
9372         * paragraph.h: make isInserted/DeletedText take refs
9373
9374         * paragraph_funcs.h:
9375         * paragraph_funcs.C: remove #if 0'd code
9376
9377         * lyxtext.h:
9378         * text3.C:
9379         * text2.C:
9380         * text.C: use lyxrow helpers above.
9381           Move draw and paint routines to RowPainter.
9382           Make several methods use refs not pointers.
9383           Make backgroundColor() const.
9384           Add markChangeInDraw(), isInInset().
9385           Merge changeRegionCase into changeCase.
9386           Make workWidth() shouldn't-happen code into an Assert.
9387
9388         * rowpainter.h:
9389         * rowpainter.C: new class for painting a row.
9390
9391         * vspace.h:
9392         * vspace.C: make inPixels take a ref
9393
9394 2003-02-26  Angus Leeming  <leeming@lyx.org>
9395
9396         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9397         LFUN_REF_APPLY.
9398
9399 2003-02-25  John Levon  <levon@movementarian.org>
9400
9401         * ispell.C: give the forked command a more accurate name
9402
9403 2003-02-22  John Levon  <levon@movementarian.org>
9404
9405         * toc.h:
9406         * toc.C: make TocItem store an id not a Paragraph *
9407           (bug #913)
9408
9409 2003-02-21  Angus Leeming  <leeming@lyx.org>
9410
9411         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9412           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9413           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9414           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9415           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9416           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9417
9418         * BufferView_pimpl.C (dispatch):
9419         * LyXAction.C (init):
9420         * factory.C (createInset):
9421         * lyxfunc.C (getStatus, dispatch):
9422         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9423
9424 2003-02-21  Angus Leeming  <leeming@lyx.org>
9425
9426         * BufferView_pimpl.C (MenuInsertLyXFile):
9427         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9428         * lyxfunc.C (menuNew, open, doImport):
9429           no longer pass a LyXView & to fileDlg.
9430
9431 2003-02-21  Angus Leeming  <leeming@lyx.org>
9432
9433         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9434         * LyXAction.C: change, BIBKEY to BIBITEM.
9435         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9436         Change InsetBibKey to InsetBibitem.
9437         Change BIBKEY_CODE to BIBITEM_CODE.
9438         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9439         * factory.C: replace insetbib.h with insetbibitem.h.
9440         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9441         * paragraph.C: replace insetbib.h with insetbibitem.h.
9442         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9443         Change bibkey() to bibitem().
9444         * text.C: remove insetbib.h.
9445         * text2.C: replace insetbib.h with insetbibitem.h.
9446         change bibkey() to bibitem().
9447         * text3.C: remove insetbib.h.
9448         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9449
9450 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9451
9452         * lyxrc.C (output): enclose user email in quotes (in case there are
9453         several words)
9454
9455 2003-02-18  John Levon  <levon@movementarian.org>
9456
9457         * buffer.h: add std::
9458
9459 2003-02-17  John Levon  <levon@movementarian.org>
9460
9461         * SpellBase.h:
9462         * ispell.h:
9463         * ispell.C:
9464         * pspell.h:
9465         * pspell.C: reworking. Especially in ispell, a large
9466           number of clean ups and bug fixes.
9467
9468         * lyxfunc.C: fix revert to behave sensibly
9469
9470 2003-02-17 André Pönitz <poenitz@gmx.net>
9471
9472         * LyXAction.C:
9473         * commandtags.h: new LFUN_INSERT_BIBKEY
9474
9475         * layout.h:
9476         * lyxlayout.C:
9477         * buffer.C:
9478         * factory.C:
9479         * text.C:
9480         * text2.C:
9481         * text3.C:
9482         * paragraph.[Ch]:
9483         * paragraph_func.C: remove special bibkey handling
9484
9485 2003-02-17  John Levon  <levon@movementarian.org>
9486
9487         * text.C (Delete): fix case where delete at the end of
9488           the very first paragraph would not merge the pars
9489
9490 2003-02-17  John Levon  <levon@movementarian.org>
9491
9492         * lyxrow.C: fix lastPrintablePos()
9493
9494 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9495
9496         * bufferparams.C (writeLaTeX): add a std:here
9497
9498         * buffer.C: and remove a using directive there
9499
9500 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9501
9502         * buffer.C (makeLaTeXFile): move the code that generates the
9503           preamble...
9504
9505         * bufferparams.C (writeLaTeX): ... in this new method
9506
9507         * LaTeXFeatures.C (getEncodingSet): make const
9508           (getLanguages): make const
9509
9510         * MenuBackend.C (binding): returns the binding associated to this
9511           action
9512           (add): sets the status of each item by calling getStatus. Adds
9513           some intelligence.
9514           (read): add support for OptSubMenu
9515           (expand): remove extra separator at the end of expanded menu
9516
9517 2003-02-15  John Levon  <levon@movementarian.org>
9518
9519         * BufferView.C:
9520         * BufferView_pimpl.C:
9521         * bufferlist.h:
9522         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9523           inset code that had no actual effect. Remove unneeded status
9524           code.
9525
9526 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9527
9528         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9529           in preamble
9530
9531 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9532
9533         * text.C (drawLengthMarker): also draw an arrow marker for
9534           symbolic lengths (medskip...)
9535
9536 2003-02-14  John Levon  <levon@movementarian.org>
9537
9538         * tabular.h:
9539         * tabular.C: better method names
9540
9541 2003-02-14  John Levon  <levon@movementarian.org>
9542
9543         * BufferView_pimpl.C:
9544         * bufferlist.C:
9545         * buffer.C:
9546         * converter.C:
9547         * lyx_cb.C:
9548         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9549           it's a more accurate name. Remove some pointless uses.
9550
9551 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9552
9553         * text2.C (LyXText): change order of initilizers to shut off
9554           warnings
9555
9556 2003-02-14  John Levon  <levon@movementarian.org>
9557
9558         * buffer.C: use ParIterator for getParFromID()
9559
9560         * paragraph.h:
9561         * paragraph.C:
9562         * paragraph_pimpl.h:
9563         * paragraph_pimpl.C: remove unused getParFromID()
9564
9565 2003-02-14  John Levon  <levon@movementarian.org>
9566
9567         * buffer.C: remove some very old #if 0'd parse code
9568
9569 2003-02-13  John Levon  <levon@movementarian.org>
9570
9571         * text.h:
9572         * text.C:
9573         * text2.C: move hfillExpansion(), numberOfSeparators(),
9574           rowLast(), rowLastPrintable(), numberofHfills(),
9575           numberOfLabelHfills() ...
9576
9577         * lyxrow.h:
9578         * lyxrow.C: ... to member functions here.
9579
9580         * paragraph.h:
9581         * paragraph.C:
9582         * lyxtext.h:
9583         * text.C: remove LyXText::beginningOfMainBody(), and call
9584           p->beginningOfMainBody() directly. Move the check for
9585           LABEL_MANUAL into the latter.
9586
9587         * text.h:
9588         * text.C:
9589         * text2.C:
9590         * vspace.C:
9591         * BufferView.h:
9592         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9593
9594         * text.h:
9595         * text.C:
9596         * text2.C:
9597         * text3.C:
9598         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9599           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9600
9601 2003-02-13  John Levon  <levon@movementarian.org>
9602
9603         * CutAndPaste.C: remove debug
9604
9605 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9606
9607         * paragraph.C (asString): remove two unused variables
9608
9609         * lyxtextclass.C (readTitleType):
9610           (Read):
9611           (LyXTextClass): handle new members titletype_ and titlename_
9612
9613         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9614
9615 2003-02-09  John Levon  <levon@movementarian.org>
9616
9617         * buffer.h:
9618         * buffer.C: replace hand-coded list with a map for the dep clean
9619
9620 2003-02-08  John Levon  <levon@movementarian.org>
9621
9622         * LaTeX.C: consolidate code into showRunMessage() helper
9623
9624 2003-02-08  John Levon  <levon@movementarian.org>
9625
9626         * lyxfind.C:
9627         * lyxtext.h:
9628         * text2.C:
9629         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9630           and pass the size in explicitly
9631
9632         * BufferView_pimpl.h:
9633         * BufferView_pimpl.C:
9634         * BufferView.h:
9635         * BufferView.C: add getCurrentChange()
9636
9637         * BufferView_pimpl.h:
9638         * BufferView_pimpl.C: handle change lfuns
9639
9640         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9641           for changes. Mark pasted paragraphs as new.
9642
9643         * support/lyxtime.h:
9644         * support/lyxtime.C:
9645         * DepTable.C: abstract time_t as lyx::time_type
9646
9647         * LColor.h:
9648         * LColor.C: add colours for new text, deleted text, changebars
9649
9650         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9651           package use "usenames" option.
9652
9653         * commandtags.h:
9654         * lyxfunc.C:
9655         * LyXAction.C: add change lfuns
9656
9657         * Makefile.am:
9658         * author.h:
9659         * author.C: author handling
9660
9661         * buffer.h:
9662         * buffer.C: add a per-buffer author list, with first entry as
9663           current author. Handle new .lyx tokens for change tracking. Output
9664           author list to .lyx file. Output dvipost stuff to .tex preamble.
9665           Bump lyx format to 222.
9666
9667         * bufferlist.h:
9668         * bufferlist.C: add setCurrentAuthor() to reset current author details
9669           in all buffers.
9670
9671         * bufferparams.h:
9672         * bufferparams.C: add param for tracking
9673
9674         * bufferview_funcs.C: output change info in minibuffer
9675
9676         * Makefile.am:
9677         * changes.h:
9678         * changes.C: add change-tracking structure
9679
9680         * debug.h:
9681         * debug.C: add CHANGES debug flag
9682
9683         * lyxfind.h:
9684         * lyxfind.C: add code for finding the next change piece
9685
9686         * lyxrc.h:
9687         * lyxrc.C: add user_name and user_email
9688
9689         * lyxrow.h:
9690         * lyxrow.C: add a metric for the top of the text line
9691
9692         * lyxtext.h:
9693         * text.C: implement accept/rejectChange()
9694
9695         * lyxtext.h:
9696         * text.C: paint changebars. Paint new/deleted text in the chosen
9697         colours. Strike through deleted text.
9698
9699         * paragraph.h:
9700         * paragraph.C:
9701         * paragraph_pimpl.h:
9702         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9703           in the current change to the insert functions. Rework erase to
9704           mark text as deleted, adding an eraseIntern() and a range-based
9705           erase(). Implement per-paragraph change lookup and
9706           accept/reject.
9707
9708         * paragraph_funcs.C: Fixup paste for change tracking.
9709
9710         * tabular.C: mark added row/columns as new.
9711
9712         * text.C: fix rowLast() to never return -1. Don't allow
9713           spellchecking of deleted text. Track transpose changes. Don't
9714           allow paragraph break or merge where appropriate.
9715
9716         * text2.C: leave cursor at end of selection after a cut.
9717
9718 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9719
9720         * text.C (getLengthMarkerHeight):
9721         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9722         visible on screen too.
9723
9724 2003-02-07  John Levon  <levon@movementarian.org>
9725
9726         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9727
9728 2003-02-05  Angus Leeming  <leeming@lyx.org>
9729
9730         * lyxserver.C (read_ready): revert my patch of 11 September last year
9731         as it sends PC cpu through the roof. Presumably this means that
9732         the lyxserver will no longer run on an Alpha...
9733
9734 2003-01-30  Angus Leeming  <leeming@lyx.org>
9735
9736         * factory.C (createInset): create an InsetCommandParam of type "index"
9737         and use it to 'do the right thing'.
9738
9739         * text2.C (getStringToIndex): ensure that cursor position is always
9740         reset to the reset_cursor position.
9741
9742 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9743
9744         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9745         disabled.
9746
9747 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9748
9749         * bufferview.C:
9750         * lyxcb.C:
9751         * lyxfunc.C: Output messages with identical spelling, punctuation,
9752         and spaces
9753
9754 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9755
9756         * MenuBackend.C (expandFormats): List only viewable export formats
9757         in "View" menu
9758
9759         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9760         message
9761
9762         * lyxfunc.C (getStatus): Make sure that formats other than
9763         "fax" can also be disabled
9764
9765 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9766
9767         * text3.C (dispatch): put the lfuns that insert insets in 3
9768         groups, and call doInsertInset with appropriate arguments.
9769         (doInsertInset): new function, that creates an inset and inserts
9770         it according to some boolean parameters.
9771
9772 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9773
9774         * buffer.C (readFile): remember to pass on 'par' when calling
9775         readFile recursively.
9776
9777 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9778
9779         * MenuBackend.C (expandFormats): add "..." to import formats.
9780
9781 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9782
9783         * paragraph.C (asString): Remove XForms RTL hacks.
9784
9785 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9786         * buffer.C: fix typo
9787
9788 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9789
9790         * Makefile.am (LIBS): delete var
9791         (lyx_LDADD): add @LIBS@ here instead.
9792
9793 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9794
9795         * Clarify the meaning of "wheel mouse jump"
9796
9797 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9798
9799         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9800         tabular in a float
9801
9802 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9803
9804         * importer.C (Loaders): do not preallocate 3 elements in the
9805         vector, since one ends up with 6 elements otherwise
9806
9807 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9808
9809         * DepTable.C (write): write the file name as last element of the
9810         .dep file (because it may contain spaces)
9811         (read): read info in the right order
9812
9813 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9814
9815         * paragraph_pimpl.C (simpleTeXBlanks):
9816         (simpleTeXSpecialChars):
9817         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9818
9819         * tabular.C (latex): add some missing case statements. Reindent.
9820
9821         * MenuBackend.C (expandToc): remove unused variable.
9822
9823 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9824
9825         * LColor.C:
9826         * LaTeX.C:
9827         * LyXAction.C:
9828         * MenuBackend.C:
9829         * buffer.C:
9830         * exporter.C:
9831         * lyxfunc.C:
9832         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9833         and the like.
9834
9835 2003-01-05  John Levon  <levon@movementarian.org>
9836
9837         * BufferView.h:
9838         * BufferView.C: add getEncoding()
9839
9840         * kbsequence.h:
9841         * kbsequence.C: do not store last keypress
9842
9843         * lyxfunc.h:
9844         * lyxfunc.C: store last keypress here instead. Pass encoding
9845           to getISOEncoded()
9846
9847 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9848
9849         * lyx_main.C (init): remove annoying error message when following
9850         symbolic links (bug #780)
9851
9852 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9853
9854         * text.C (insertChar):
9855         * lyxrc.C (getDescription): remove extra spaces
9856
9857 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9858
9859         * lyxrc.C (getDescription): remove extra spaces
9860
9861 2002-12-20  John Levon  <levon@movementarian.org>
9862
9863         * text3.C: hack fix for page up/down across tall rows
9864
9865 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9866
9867         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9868         not been invoked
9869
9870 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9871
9872         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9873         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9874         thesaurus is not compiled in
9875
9876 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9877
9878         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9879
9880 2002-12-16  Angus Leeming  <leeming@lyx.org>
9881
9882         * lyxrc.[Ch]:
9883         * lyx_main.C (init): remove override_x_deadkeys stuff.
9884
9885 2002-12-12  John Levon  <levon@movementarian.org>
9886
9887         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9888           insert. Only remove shift modifier under strict
9889           circumstances.
9890
9891 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9892
9893         * MenuBackend.C (expandToc): fix crash.
9894
9895 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9896
9897         * MenuBackend.C (expandToc): gettext on float names.
9898
9899 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9900
9901         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9902         implement bool empty() [bug 490]
9903
9904 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9905
9906         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9907
9908 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9909
9910         * several files: ws changes
9911
9912 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9913
9914         * text2.C (setCounter): clean up a bit, use boost.format.
9915         (updateCounters): initialize par upon declaration.
9916
9917         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9918         if the layout exists. We do not just store the layout any more.
9919         (SwitchLayoutsBetweenClasses): use boost.format
9920
9921 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9922
9923         * converter.C (convert): if from and to files are the same, use a
9924         temporary files as intermediary
9925
9926 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9927
9928         * commandtags.h:
9929         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9930
9931 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9932
9933         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9934
9935 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9936
9937         * tabular.C (asciiPrintCell): use string(size, char) instead of
9938         explicit loop.
9939
9940         * sgml.C (openTag): fix order of arguments to string constructor
9941         (closeTag): ditto
9942
9943         * lyxfunc.C (dispatch): use boost.format
9944
9945         * lots of files: change "c" -> 'c'
9946
9947 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9948
9949         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9950
9951 2002-11-25  Angus Leeming  <leeming@lyx.org>
9952
9953         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9954
9955         * lyx_main.C (init): compile fix.
9956
9957 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9958
9959         * lyx_cb.C (start): boost.formatify
9960         do not include <iostream>
9961
9962         * lengthcommon.C: ws only
9963
9964         * boost-inst.C,BoostFormat.h: add more explict instantations
9965
9966 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9967
9968         * lots of files: handle USE_BOOST_FORMAT
9969
9970 2002-11-21  John Levon  <levon@movementarian.org>
9971
9972         * pspell.C: fix compile
9973
9974 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9975
9976         * lyxfunc.C (dispatch): use boost::format
9977         (open): ditto
9978         (doImport): ditto
9979
9980         * lyxfont.C (stateText): use boost::format
9981
9982         * lyx_main.C (LyX): use boost::format
9983         (init): ditto
9984         (queryUserLyXDir): ditto
9985         (readRcFile): ditto
9986         (parse_dbg): ditto
9987         (typedef boost::function): use the recommened syntax.
9988
9989         * importer.C (Import): use boost::format
9990
9991         * debug.C (showLevel): use boost::format
9992
9993         * converter.C (view): use boost::format
9994         (convert): ditto
9995         (move): ditto
9996         (scanLog): ditto
9997
9998         * bufferview_funcs.C (currentState): use boost::format
9999
10000         * bufferlist.C (emergencyWrite): use boost::format
10001
10002         * buffer.C (readLyXformat2): use boost::format
10003         (parseSingleLyXformat2Token): ditto
10004
10005         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10006
10007         * LaTeX.C (run): use boost::format
10008
10009         * Chktex.C (scanLogFile): use boost::format
10010
10011         * BufferView_pimpl.C (savePosition): use boost::format
10012         (restorePosition): ditto
10013         (MenuInsertLyXFile): ditto
10014
10015         * BoostFormat.h: help file for explicit instation.
10016
10017 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10018
10019         * tabular.C (latex): Support for block alignment in fixed width
10020         columns.
10021
10022 2002-11-17  John Levon  <levon@movementarian.org>
10023
10024         * BufferView_pimpl.C:
10025         * lyx_cb.C:
10026         * lyxfunc.C: split filedialog into open/save
10027
10028 2002-11-08  Juergen Vigna  <jug@sad.it>
10029
10030         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10031         by my last patch (hopefully).
10032
10033 2002-11-08  John Levon  <levon@movementarian.org>
10034
10035         * iterators.h:
10036         * iterators.C:
10037         * buffer.h:
10038         * buffer.C:
10039         * paragraph.h:
10040         * paragraph.C:
10041         * toc.h:
10042         * toc.C: ParConstIterator, and use it (from Lars)
10043
10044 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10045
10046         * lyxtextclass.[Ch]: revise and add doxygen comments
10047
10048 2002-11-07  John Levon  <levon@movementarian.org>
10049
10050         * text.C: fix progress value for spellchecker
10051
10052         * toc.C: fix navigate menu for insetwrap inside minipage
10053
10054         * paragraph_funcs.C: added FIXME for suspect code
10055
10056 2002-11-07  John Levon  <levon@movementarian.org>
10057
10058         * BufferView_pimpl.C: fix redrawing of insets
10059           on buffer switch
10060
10061 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10062
10063         * text2.C (updateCounters): fix bug 668
10064
10065 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10066
10067         * text3.C (dispatch): Do not make the buffer dirty when moving the
10068         cursor.
10069
10070 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10071
10072         * vc-backend.C: STRCONV
10073         (scanMaster): ditto
10074
10075         * text2.C (setCounter): STRCONV
10076
10077         * paragraph.C (asString): STRCONV
10078
10079         * lyxlength.C (asString): STRCONV
10080         (asLatexString): ditto
10081
10082         * lyxgluelength.C (asString): STRCONV
10083         (asLatexString): ditto
10084
10085         * lyxfunc.C (dispatch): STRCONV
10086         (open): ditto
10087
10088         * lyxfont.C (stateText): STRCONV
10089
10090         * importer.C (Import): STRCONV
10091
10092         * counters.C (labelItem): STRCONV
10093         (numberLabel): ditto
10094         (numberLabel): remove unused ostringstream o
10095
10096         * chset.C: STRCONV
10097         (loadFile): ditto
10098
10099         * bufferview_funcs.C (currentState): STRCONV
10100
10101         * buffer.C (readFile): STRCONV
10102         (asciiParagraph): ditto
10103         (makeLaTeXFile): ditto
10104
10105         * Spacing.C (writeEnvirBegin): STRCONV
10106
10107         * LaTeXFeatures.C (getLanguages): STRCONV
10108         (getPackages): ditto
10109         (getMacros): ditto
10110         (getBabelOptions): ditto
10111         (getTClassPreamble): ditto
10112         (getLyXSGMLEntities): ditto
10113         (getIncludedFiles): ditto
10114
10115         * LaTeX.C: STRCONV
10116         (run): ditto
10117         (scanAuxFile): ditto
10118         (deplog): ditto
10119
10120         * LString.h: add the STRCONV macros
10121
10122         * BufferView_pimpl.C (savePosition): STRCONV
10123         (restorePosition): ditto
10124         (MenuInsertLyXFile): ditto
10125
10126         * vc-backend.C (scanMaster): change from submatch[...] to
10127         submatch.str(...)
10128
10129         * funcrequest.C: include config.h
10130
10131         * factory.C: include config.h
10132
10133         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10134
10135         * box.C: include config.h
10136
10137         * LaTeX.C (scanAuxFile): change from submatch[...] to
10138         submatch.str(...)
10139         (deplog): ditto
10140
10141 2002-10-25  Angus Leeming  <leeming@lyx.org>
10142
10143         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10144
10145         * ispell.[Ch] (setError): new method.
10146         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10147         Use setError() insetead of goto END.
10148
10149         * lyx_cb.C (AutoSave): move out child process into new class
10150         AutoSaveBuffer.
10151
10152 2002-10-30  John Levon  <levon@movementarian.org>
10153
10154         * text3.C: make start appendix undoable
10155
10156 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10157
10158         * lyxlength.C (inPixels): Fix returned value.
10159
10160         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10161         environment.
10162
10163 2002-10-24  Angus Leeming  <leeming@lyx.org>
10164
10165         * lyxgluelength.h: no need to forward declare BufferParams
10166         or BufferView, so don't.
10167
10168 2002-10-21  John Levon  <levon@movementarian.org>
10169
10170         * BufferView.C: menuUndo ->undo, redo
10171
10172         * BufferView.h: document, remove dead, make some methods private
10173
10174         * paragraph_funcs.h:
10175         * paragraph_funcs.C:
10176         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10177
10178         * buffer.h:
10179         * buffer.C:
10180         * sgml.h:
10181         * sgml.C: move sgml open/close tag into sgml.C
10182
10183         * bufferview_funcs.h: unused prototype
10184
10185         * lyxfunc.h:
10186         * lyxfunc.C: remove unused
10187
10188         * lyxtext.h:
10189         * text.C: remove unused
10190
10191 2002-10-21  John Levon  <levon@movementarian.org>
10192
10193         * BufferView.h:
10194         * BufferView.C:
10195         * BufferView_pimpl.h:
10196         * BufferView_pimpl.C: fix mouse wheel handling based on
10197           patch from Darren Freeman
10198
10199 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10200
10201         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10202
10203 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10204
10205         * lyxlength.C (inPixels): Fix hanfling of negative length.
10206         Fix LyXLength::MU case.
10207
10208 2002-10-16  John Levon  <levon@movementarian.org>
10209
10210         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10211
10212 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10213
10214         * converter.C (view): add support for $$i (file name) and $$p
10215         (file path) for the viewer command. If $$i is not specified, then
10216         it is appended to the command (for compatibility with old syntax)
10217
10218 2002-10-14  Juergen Vigna  <jug@sad.it>
10219
10220         * undo_funcs.C (textHandleUndo): alter the order in which the
10221         new undopar is added to the LyXText, as we have to set first
10222         the right prev/next and then add it as otherwise the rebuild of
10223         LyXText is not correct. Also reset the cursor to the right paragraph,
10224         with this IMO we could remove the hack in "redoParagraphs()".
10225
10226 2002-10-09  Angus Leeming  <leeming@lyx.org>
10227
10228         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10229         to turn off an optimisation if a new inset is to be inserted.
10230
10231 2002-10-11 André Pönitz <poenitz@gmx.net>
10232
10233         * lyxtext.h: make some functions public to allow access
10234         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10235
10236 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10237
10238         * text3.C (dispatch): when changing layout, avoid an infinite loop
10239         [bug #652]
10240
10241 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10242
10243         * lyxrc.C (read): treat a viewer or converter command of "none" as
10244         if it were empty.
10245
10246         * MenuBackend.C (expandFormats): for an update, also allow the
10247         formats that are not viewable
10248
10249         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10250         script if it is newer than the lyxrc.defaults in user directory
10251
10252 2002-10-07 André Pönitz <poenitz@gmx.net>
10253
10254         * text.C: Vitaly Lipatov's small i18n fix
10255
10256 2002-09-25  Angus Leeming  <leeming@lyx.org>
10257
10258         * ispell.h: doxygen fix.
10259
10260 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10261
10262         * buffer.h (readFile): Add a new argument to the method, to allow
10263         reading of old-format templates.
10264
10265 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10266
10267         * toc.C (getTocList): Get TOC from InsetWrap.
10268
10269 2002-09-16  John Levon  <levon@movementarian.org>
10270
10271         * lyxfunc.C: check tabular for cut/copy too
10272
10273 2002-09-12  John Levon  <levon@movementarian.org>
10274
10275         * LyXAction.C: tidy
10276
10277         * factory.h:
10278         * factory.C: add header
10279
10280         * paragraph_funcs.h:
10281         * paragraph_funcs.C: cleanup
10282
10283 2002-09-11  John Levon  <levon@movementarian.org>
10284
10285         * PrinterParams.h: odd/even default to true
10286
10287 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10288
10289         * PrinterParams.h: update printer parameters for new xforms dialog
10290
10291 2002-09-11  Angus Leeming  <leeming@lyx.org>
10292
10293         * lyxserver.C (read_ready): re-write to make it more transparent
10294         and to make it work in coherent fashion under Tru64 Unix.
10295
10296 2002-09-11  André Pönitz <poenitz@gmx.net>
10297
10298         * commandtags.h:
10299         * LyXAction.C:
10300         * text3.C: implement LFUN_WORDSEL
10301
10302 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10303
10304         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10305         make floatlist_ a boost::shared_ptr<FloatList>
10306
10307         * lyxtextclass.C: include FloatList.h
10308         (LyXTextClass): initialize floatlist_
10309         (TextClassTags): add TC_NOFLOAT
10310         (Read): match "nofloat" to TC_NOFLOAT and use it.
10311         (readFloat): modify call to floatlist_
10312         (floats): ditto
10313         (floats): ditto
10314
10315         * FloatList.[Ch] (FloatList): remove commented out float
10316         initialization.
10317         (erase): new function
10318
10319 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10320
10321         * MenuBackend.C (expandToc): fix crash when there is no document
10322         open
10323
10324 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10325
10326         * many files: Add insetwrap.
10327
10328 2002-09-09  John Levon  <levon@movementarian.org>
10329
10330         * text2.C: remove confusing and awkward depth wraparound
10331
10332 2002-09-09  John Levon  <levon@movementarian.org>
10333
10334         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10335
10336         * buffer.h:
10337         * buffer.C: remove getIncludeonlyList()
10338
10339         * paragraph.C:
10340         * lyxfunc.C: remove headers
10341
10342 2002-09-09  Juergen Vigna  <jug@sad.it>
10343
10344         * text.C (getColumnNearX): fix form Michael this is most
10345         probably a cut&paste bug.
10346
10347 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10348
10349         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10350
10351         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10352         references, ws changes.
10353
10354         * text2.C (init): update counters after init
10355         (insertParagraph): no need to set counter on idividual paragraphs.
10356         (setCounter): access the counters object in the textclass object
10357         on in the buffer object.
10358         (updateCounters): ditto
10359
10360         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10361         shared_ptr<Counters> to avoid loading counters.h in all
10362         compilation units.
10363         (LyXTextClass): initialize ctrs_
10364         (TextClassTags): add TC_COUNTER, and ...
10365         (Read): use it here.
10366         (CounterTags): new tags
10367         (readCounter): new function
10368         (counters): new funtion
10369         (defaultLayoutName): return a const reference
10370
10371         * counters.C (Counters): remove contructor
10372         (newCounter): remove a couple of unneeded statements.
10373         (newCounter): simplify a bit.
10374         (numberLabel): some small formatting changes.
10375
10376         * buffer.[Ch]: remove all traces of counters, move the Counters
10377         object to the LyXTextClass.
10378
10379 2002-09-06  Alain Castera  <castera@in2p3.fr>
10380
10381         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10382         package to set the horizontal alignment on fixed width columns.
10383
10384         * lyx_sty.C:
10385         * lyx_sty.h: added tabularnewline macro def.
10386
10387         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10388
10389 2002-09-06  John Levon  <levon@movementarian.org>
10390
10391         * LyXAction.C: tooltips for sub/superscript
10392
10393         * MenuBackend.C: a bit more verbose
10394
10395         * lyxfunc.C: tiny clean
10396
10397         * undo_funcs.C: document undo_frozen
10398
10399 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10400
10401         * counters.C (Counters): add missing algorithm counter.
10402
10403         * text2.C (setCounter): lookup the counter with layouts latexname
10404         instead of by section number.
10405         (setCounter): use a hackish way to lookup the correct enum
10406         counter.
10407         a float name->type change
10408         reset enum couners with counter name directly instead of depth value.
10409
10410         * counters.C (Counters): remove the push_backs, change to use the
10411         float type not the float name.
10412         (labelItem): remove unused string, float name->type change
10413
10414         * counters.h: don't include vector, loose the enums and sects vectors
10415
10416 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10417
10418         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10419         (Read): add float->TC_FLOAT to textclassTags
10420         (Read): and handle it in the switch
10421         (readFloat): new function
10422
10423         * FloatList.C (FloatList): comment out the hardcoded float
10424         definitions.
10425
10426         * lyxlayout.h: ws change.
10427
10428 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10429
10430         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10431
10432 2002-09-03  Angus Leeming  <leeming@lyx.org>
10433
10434         * BufferView_pimpl.h: qualified name is not allowed in member
10435         declaration: WorkArea & Pimpl::workarea() const;
10436
10437         * factory.C: added using std::endl directive.
10438
10439         * text3.C: added using std::find and std::vector directives.
10440
10441 2002-08-29  André Pönitz <poenitz@gmx.net>
10442
10443         * lyxtext.h:
10444         * text2.C: remove unused member number_of_rows
10445
10446         * Makefile.am:
10447         * BufferView2.C: remove file, move contents to...
10448         * BufferView.C: ... here
10449
10450         * BufferView_pimpl.C:
10451         * factory.C: move more inset creation to factory
10452
10453         * vspace.C: avoid direct usage of LyXText, ws changes
10454
10455         * BufferView.[Ch]:
10456                 don't provide direct access to WorkArea, use two simple
10457                 acessors haveSelction() and workHeight() instead
10458
10459
10460 2002-08-29  John Levon  <levon@movementarian.org>
10461
10462         * BufferView_pimpl.C (dispatch): do not continue when
10463           no buffer
10464
10465 2002-08-28  André Pönitz <poenitz@gmx.net>
10466
10467         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10468
10469         * BufferView.h:
10470         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10471
10472 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10473
10474         * buffer.C: increment LYX_FORMAT to 221
10475
10476         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10477         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10478
10479         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10480
10481         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10482
10483 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10484
10485         * factory.C (createInset): use LyXTextClass::floats
10486
10487         * MenuBackend.C (expandFloatListInsert):
10488         (expandFloatInsert):
10489         (expandToc):
10490
10491         * text2.C (setCounter):
10492
10493         * LaTeXFeatures.C (useFloat):
10494         (getFloatDefinitions):
10495
10496         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10497
10498         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10499         floatlist_, with accessor floats().
10500
10501         * FloatList.h: remove global FloatList
10502
10503 2002-08-26  André Pönitz <poenitz@gmx.net>
10504
10505         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10506
10507         * BufferView.h:
10508         * BufferView2.C:
10509         * BufferView_pimpl.C:
10510         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10511
10512 2002-08-25  John Levon  <levon@movementarian.org>
10513
10514         * LyXAction.C: fix margin note description
10515
10516 2002-08-24  John Levon  <levon@movementarian.org>
10517
10518         * buffer.C:
10519         * bufferlist.C:
10520         * bufferview_funcs.C:
10521         * lyxfont.C:
10522         * undo_funcs.C: cleanups
10523
10524         * lyxfunc.C: disable CUT/COPY when no selection
10525
10526 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10527
10528         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10529         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10530
10531         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10532         Add backward compatibility to "mono", "gray" and "no".
10533
10534 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10535
10536         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10537         (and file_format >= 200).
10538
10539 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10540
10541         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10542
10543 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10544
10545         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10546
10547 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10548
10549         * BufferView_pimpl.C:
10550         * LyXAction.C:
10551         * buffer.C:
10552         * commandtags.h:
10553         * lyxfunc.C:
10554         * paragraph.[Ch]:
10555         * text2.C:
10556         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10557         inset and code to make it  work with the paragraph code. The inset
10558         can be anywhere in the paragraph, but will only do the expected
10559         thing in LaTeX if the layout file contains the parameter line
10560                         OptionalArgs    1
10561         (or more generally, a nonzero value) for that layout.
10562
10563 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10564
10565         * paragraph.h: remove the declaration of undefined counters class
10566         function.
10567
10568 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10569
10570         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10571         Dr. Richard Hawkins.
10572
10573 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10574
10575         * paragraph_funcs.h: remove some unneeded includes
10576
10577         * text.C (backspace): pasteParagraph now in global scipe
10578
10579         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10580         (pasteSelection): ditto
10581
10582         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10583         * paragraph_funcs.C (pasteParagraph): ... here
10584
10585 2002-08-20  André Pönitz <poenitz@gmx.net>
10586
10587         * commandtags.h: new LFUNs for swapping/copying table row/colums
10588
10589         * LyXAction.C:
10590         * lyxfunc.C: support for new lfuns
10591
10592 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10593
10594         * tabular.C:
10595         * buffer.[Ch]: remove NO_COMPABILITY stuff
10596
10597 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10598
10599         * boost.C (throw_exception): new file, with helper function for
10600         boost compiled without exceptions.
10601
10602         * paragraph.h:
10603         * lyxlength.C:
10604         * buffer.C:
10605         * ParameterStruct.h:
10606         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10607
10608         * bufferlist.C (emergencyWriteAll): use boost bind
10609
10610         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10611
10612         * text.C: include paragraph_funcs.h
10613         (breakParagraph): breakParagraph is now in global scope
10614
10615         * paragraph_funcs.[Ch]: new files
10616
10617         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10618         global scope
10619
10620         * buffer.C: include paragraph_funcs.h
10621         (insertStringAsLines): breakParagraph is now in global scope
10622
10623         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10624         paragraph_funcs.C
10625
10626         * CutAndPaste.C: include paragraph_funcs.h
10627         (cutSelection): breakParagraphConservative is now in global scope
10628         (pasteSelection): ditto
10629
10630         * buffer.h: declare oprator== and operator!= for
10631         Buffer::inset_iterator
10632
10633         * bufferlist.C (emergencyWrite): don't use fmt(...)
10634
10635         * text3.C: add using std::endl
10636
10637         * BufferView.C (moveCursorUpdate): remove default arg
10638
10639 2002-08-20  André Pönitz <poenitz@gmx.net>
10640
10641         * buffer.[Ch]: move inline functions to .C
10642
10643         * BufferView2.C:
10644         * BufferView_pimpl.C:
10645         * text.C:
10646         * buffer.[Ch]: use improved inset_iterator
10647
10648         * buffer.C:
10649         * paragraph.[Ch]: write one paragraph at a time
10650
10651 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10652
10653         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10654         style if style is not specified.
10655
10656 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10657
10658         * text2.C (setCounter): when searching for right label for a
10659         caption, make sure to recurse to parent insets (so that a caption
10660         in a minipage in a figure float works) (bug #568)
10661
10662 2002-08-20  André Pönitz <poenitz@gmx.net>
10663
10664         * text3.C: new file for LyXText::dispatch() and helpers
10665
10666         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10667
10668         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10669
10670 2002-08-19  André Pönitz <poenitz@gmx.net>
10671
10672         * lyxtext.h:
10673         * text.C: new LyXText::dispatch()
10674
10675         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10676
10677 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10678
10679         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10680
10681         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10682         Hebrew text.
10683
10684 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10685
10686         * Makefile.am: use $(variables) instead of @substitutions@
10687
10688 2002-08-15  André Pönitz <poenitz@gmx.net>
10689
10690         * lyxfunc.C:
10691         * BufferView_pimpl.C: streamlining mathed <-> outer world
10692         interaction
10693
10694         * commandtags.h:
10695         * LyXAction.C: remove unused LFUN_MATH
10696
10697 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10698
10699         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10700
10701 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10702
10703         * paragraph.C (Paragraph): reformat a bit
10704         (cutIntoMinibuffer): use builtin InsetList function instad of
10705         doing it manually.
10706         (getInset): ditto
10707
10708         * buffer.C: include boost/bind.hpp, add using std::for_each
10709         (writeFileAscii): use ParagraphList iterators
10710         (validate): use for_each for validate traversal of paragraphs
10711         (getBibkeyList): use ParagraphList iterators
10712         (resizeInsets): use for_each to resizeInsetsLyXText for all
10713         paragraphs.
10714         (getParFromID): use ParagraphList iterators
10715
10716         * BufferView2.C (lockInset): use paragraph list and iterators
10717
10718 2002-08-14  John Levon  <levon@movementarian.org>
10719
10720         * lyxserver.C: remove spurious xforms include
10721
10722 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10723
10724         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10725
10726 2002-08-13  André Pönitz <poenitz@gmx.net>
10727
10728         * LyXAction.[Ch]:
10729         * lyxfunc.C: further cleaning
10730
10731 2002-08-13  André Pönitz <poenitz@gmx.net>
10732
10733         * funcrequest.h: new constructor
10734
10735         * funcrequest.C: move stuff here from .h
10736
10737         * Makefile.am:
10738         * BufferView_pimpl.C:
10739         * LyXAction.C:
10740         * toc.C:
10741         * lyxfunc.C: subsequent changes
10742
10743         * lyxfunc.h: new view() member function
10744
10745         * lyxfunc.C: subsequent changes
10746
10747 2002-08-13  Angus Leeming  <leeming@lyx.org>
10748
10749         * BufferView2.C:
10750         * BufferView_pimpl.C:
10751         * buffer.C:
10752         * converter.C:
10753         * importer.C:
10754         * lyxfunc.C:
10755         * lyxvc.C:
10756         * toc.C:
10757         * vc-backend.C:
10758         changes due to the changed LyXView interface that now returns references
10759         to member variables not pointers.
10760
10761 2002-08-13  Angus Leeming  <leeming@lyx.org>
10762
10763         * WordLangTuple (word, lang_code): return references to strings,
10764         not strings.
10765
10766         * BufferView.h:
10767         * SpellBase.h:
10768         * lyxtext.h: forward-declare WordLangTuple.
10769
10770         * BufferView2.C:
10771         * ispell.C:
10772         * pspell.C:
10773         * text.C: #include "WordLangTuple.h".
10774
10775         * lyxtext.h:
10776         * text.C: (selectNextWordToSpellcheck): constify return type.
10777
10778 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10779
10780         * buffer.C:
10781         * buffer.h:
10782         * lyxtext.h:
10783         * paragraph.C:
10784         * paragraph_pimpl.h:
10785         * text.C:
10786         * text2.C:
10787         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10788         suggested by Angus.
10789         Made updateCounter always count from start of buffer, and removed
10790         second argument (par).
10791         Reverted floats number display to '#'. Perhaps I'll try again when the
10792         code base is sanitized a bit.
10793
10794 2002-08-12  Angus Leeming  <leeming@lyx.org>
10795
10796         * buffer.[Ch] (getLabelList): constify.
10797
10798 2002-08-07  André Pönitz <poenitz@gmx.net>
10799
10800         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10801
10802         * funcrequest.h: extension to keep mouse (x,y) position
10803
10804 2002-08-12  Juergen Vigna  <jug@sad.it>
10805
10806         * BufferView2.C (insertErrors): forbid undo when inserting error
10807         insets.
10808
10809         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10810
10811 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10812
10813         * ParagraphList.[Ch]: new files
10814
10815         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10816
10817         * BufferView2.C (lockInset): ParagraphList changes
10818         * toc.C: ditto
10819         * text2.C: ditto
10820         * bufferlist.C: ditto
10821         * buffer.h: ditto
10822         * buffer.C: ditto
10823
10824 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10825
10826         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10827         unused class variable counter_,
10828
10829         * paragraph.[Ch] (getFirstCounter): delete unused function
10830
10831         * counters.C: include LAssert.h
10832         (reset): add a new function with no arg, change other version to
10833         not have def. arg and to not allow empty arg.
10834
10835         * text2.C (setCounter): remove empty arg from call to Counters::reset
10836
10837 2002-08-11  John Levon  <levon@movementarian.org>
10838
10839         * Makefile.am: add WordLangTuple.h
10840
10841 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10842
10843         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10844         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10845
10846         * insets/insettext.C: InsetList changes
10847
10848         * graphics/GraphicsSupport.C (operator()): InsetList changes
10849
10850         * toc.C (getTocList): InsetList changes
10851
10852         * paragraph_pimpl.[Ch]: InsetList changes
10853
10854         * paragraph.[Ch]: InsetList changes
10855
10856         * buffer.C (inset_iterator): InsetList changes
10857         (setParagraph): ditto
10858         * buffer.h (inset_iterator): ditto
10859         * iterators.C (operator++): ditto
10860         * iterators.h: ditto
10861
10862         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10863
10864         * InsetList.[Ch]: new files, most InsetList handling moved out of
10865         paragraph.C.
10866
10867         * BufferView2.C (removeAutoInsets): InsetList changes
10868         (lockInset): ditto
10869         (ChangeInsets): ditto
10870
10871 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10872
10873         * paragraph_pimpl.h (empty): new function
10874
10875         * paragraph.[Ch] (empty): new function
10876
10877         * other files: use the new Paragraph::empty function
10878
10879 2002-08-09  John Levon  <levon@movementarian.org>
10880
10881         * lyxtext.h: remove unused refresh_height
10882
10883 2002-08-09  John Levon  <levon@movementarian.org>
10884
10885         * Makefile.am:
10886         * sgml.h:
10887         * sgml.C:
10888         * buffer.C:
10889         * paragraph.h:
10890         * paragraph.C: move sgml char escaping out of paragraph
10891
10892         * paragraph.h:
10893         * paragraph.C: remove id setter
10894
10895         * buffer.C:
10896         * paragraph.C:
10897         * paragraph_pimpl.C: remove dead tex_code_break_column
10898
10899         * bufferview_funcs.C: small cleanup
10900
10901         * lyxfunc.C: remove dead proto
10902
10903         * lyxtext.h: make some stuff private. Remove some dead stuff.
10904
10905         * lyxgluelength.C: make as[LyX]String() readable
10906
10907 2002-08-08  John Levon  <levon@movementarian.org>
10908
10909         * LyXAction.h:
10910         * LyXAction.C:
10911         * MenuBackend.C:
10912         * ToolbarDefaults.C:
10913         * lyxfunc.C:
10914         * lyxrc.C:
10915         * toc.C: lyxaction cleanup
10916
10917 2002-08-08  John Levon  <levon@movementarian.org>
10918
10919         * BufferView2.C: small cleanup
10920
10921         * lyxfind.h:
10922         * lyxfind.C: move unnecessary header into the .C
10923
10924 2002-08-08  John Levon  <levon@movementarian.org>
10925
10926         * funcrequest.h: just tedious nonsense
10927
10928         * lyx_main.h:
10929         * lyx_main.C: cleanups
10930
10931         * buffer.C:
10932         * vspace.C: remove dead header lyx_main.h
10933
10934 2002-08-07  Angus Leeming  <leeming@lyx.org>
10935
10936         * Paragraph.[Ch]:
10937         * paragraph_pimpl.h:
10938         Forward declare class Counters in paragraph.h by moving the ctrs member
10939         variable into Paragraph::Pimpl.
10940         (counters): new method, returning a reference to pimpl_->ctrs.
10941
10942         * text2.C: ensuing changes.
10943
10944 2002-08-07  John Levon  <levon@movementarian.org>
10945
10946         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10947
10948         * BufferView_pimpl.C: announce X selection on double/triple
10949           click
10950
10951         * lyx_main.C: use correct bool in batch dispatch
10952
10953         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10954
10955 2002-08-07  André Pönitz <poenitz@gmx.net>
10956
10957         * funcrequest.h: new class to wrap a kb_action and its argument
10958
10959         * BufferView.[Ch]:
10960         * BufferView_pimpl[Ch]:
10961         * LaTeX.C:
10962         * LyXAction.[Ch]:
10963         * lyxfunc.[Ch]:
10964         * lyxrc.C: subsequent changes
10965
10966
10967 2002-08-07  John Levon  <levon@movementarian.org>
10968
10969         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10970           document options change.
10971
10972 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10973
10974         * counters.[Ch]
10975         * text2.C
10976         * paragraph.[Ch]
10977         * makefile.am: move counters functionality over from
10978         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10979
10980 2002-08-06  John Levon  <levon@movementarian.org>
10981
10982         * WordLangTuple.h: new file for word + language code tuple
10983
10984         * SpellBase.h:
10985         * pspell.h:
10986         * pspell.C:
10987         * ispell.h:
10988         * ispell.C:
10989         * lyxtext.h:
10990         * text.C:
10991         * text2.C:
10992         * BufferView.h:
10993         * BufferView2.C: use WordLangTuple
10994
10995         * layout.h:
10996         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10997
10998 2002-08-06  John Levon  <levon@movementarian.org>
10999
11000         * lyx_main.C: fix cmdline batch handling
11001
11002 2002-08-06  André Pönitz <poenitz@gmx.net>
11003
11004         * lyxrc.C: set default for show_banner to true
11005
11006 2002-08-06  John Levon  <levon@movementarian.org>
11007
11008         * pspell.C: fix a crash, and allow new aspell to work
11009
11010 2002-08-06  John Levon  <levon@movementarian.org>
11011
11012         * lyxfunc.C:
11013         * kbmap.C: small cleanup
11014
11015         * vspace.h:
11016         * vspace.C: add const
11017
11018 2002-08-05  John Levon  <levon@movementarian.org>
11019
11020         * LyXAction.C: back to tabular-insert
11021
11022 2002-08-04  John Levon  <levon@movementarian.org>
11023
11024         * BufferView.h:
11025         * BufferView.C: cosmetic change
11026
11027         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11028
11029         * bufferlist.C:
11030         * buffer.h:
11031         * buffer.C:
11032         * lyxcb.h:
11033         * lyxcb.C:
11034         * lyxserver.C:
11035         * lyxvc.C:
11036         * vc-backend.C:
11037         * BufferView2.C: purge all "Lyx" not "LyX" strings
11038
11039         * lyxcursor.h:
11040         * lyxcursor.C: attempt to add some documentation
11041
11042         * lyxfunc.C:
11043         * commandtags.h:
11044         * LyXAction.C:
11045         * ToolbarDefaults.C:
11046         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11047           merge with LFUN_TABULAR_INSERT
11048
11049         * Makefile.am:
11050         * SpellBase.h:
11051         * ispell.h:
11052         * ispell.C:
11053         * pspell.h:
11054         * pspell.C: split up i/pspell implementations into separate
11055           files, many cleanups
11056
11057         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11058
11059         * text2.C: some cleanup
11060
11061         * lyxfunc.C: don't check for isp_command == "none" any more, it
11062           didn't make any sense
11063
11064 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11065
11066         * counters.[Ch]
11067         * text2.C
11068         * paragraph.[Ch]
11069         * makefile.am: move counters functionality over
11070         from text2.C/paragraph.[Ch] to counters.[Ch], and
11071         make proper C++.
11072 2002-08-02  John Levon  <levon@movementarian.org>
11073
11074         * buffer.C: s/lyxconvert/lyx2lyx/
11075
11076 2002-08-02  Angus Leeming  <leeming@lyx.org>
11077
11078         * lyxlex.C: revert John's change as it breaks reading of the user
11079         preamble.
11080
11081 2002-08-02  Angus Leeming  <leeming@lyx.org>
11082
11083         * importer.C (Import):
11084         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11085         changes due to LyXView::view() now returning a boost::shared_ptr.
11086
11087 2002-08-02  John Levon  <levon@movementarian.org>
11088
11089         * lyxlex.C: small cleanup
11090
11091 2002-08-02  John Levon  <levon@movementarian.org>
11092
11093         * text2.C (status): small cleanup, no logic change
11094
11095 2002-08-01  John Levon  <levon@movementarian.org>
11096
11097         * buffer.h:
11098         * buffer.C (writeFile): don't output alerts, caller
11099           handles this
11100
11101         * bufferlist.C:
11102         * lyx_cb.C: from above
11103
11104         * lyxfunc.C: allow to open non-existent files
11105
11106 2002-07-31  John Levon  <levon@movementarian.org>
11107
11108         * lyxserver.C: don't let incidental errors get
11109           in the way (errno)
11110
11111 2002-07-30  John Levon  <levon@movementarian.org>
11112
11113         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11114
11115 2002-07-30  John Levon  <levon@movementarian.org>
11116
11117         * lyxserver.h:
11118         * lyxserver.C: remove I/O callback too
11119
11120 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11121
11122         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11123         log.
11124
11125 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11126
11127         * many files: strip,frontStrip -> trim,ltrim,rtrim
11128
11129 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11130
11131         * PrinterParams.h: remove extern containsOnly, and include
11132         support/lstrings.h instead.
11133
11134         * LaTeX.C (scanAuxFile): modify because of strip changes
11135         (deplog): ditto
11136         * buffer.C (makeLaTeXFile): ditto
11137         * bufferparams.C (writeFile): ditt
11138         * lyxfont.C (stateText): ditto
11139         * lyxserver.C (read_ready): ditto
11140         * vc-backend.C (scanMaster): ditto
11141
11142         * BufferView_pimpl.h: ws changes
11143
11144         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11145
11146 2002-07-26  André Pönitz <poenitz@gmx.net>
11147
11148         * kb_sequence.C: remove unnedred usings
11149
11150 2002-07-26  Juergen Vigna  <jug@sad.it>
11151
11152         * lyxfind.C (LyXReplace): we have to check better if the returned
11153         text is not of theLockingInset()->getLockingInset().
11154
11155 2002-07-25  Juergen Vigna  <jug@sad.it>
11156
11157         * lyxfind.C (LyXReplace): don't replace if we don't get the
11158         right LyXText.
11159
11160         * undo_funcs.C (createUndo): remove debugging code.
11161
11162 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11163
11164         * buffer.C (parseSingleLyXformat2Token): Use default placement
11165         when reading old floats.
11166
11167         * FloatList.C (FloatList): Change the default placement of figure
11168         and tables to "tbp".
11169
11170 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11171
11172         * MenuBackend.C: using std::max
11173
11174 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11175
11176         * MenuBackend.C (expandToc):
11177         (expandToc2): code moved from xforms menu frontend. It is now
11178         generic and TOCs are transparent to menu frontends.
11179
11180 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11181
11182         * toc.C (getTocList): protect against buf=0
11183
11184         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11185         Menu as first parameter. Now, this calls itself recursively to
11186         expand a whole tree (this will be useful for TOC handling)
11187         (expandFloatInsert): remove 'wide' version of floats
11188
11189         * MenuBackend.h (submenuname): returns the name of the submenu.
11190         (submenu): returns the submenu itself, provided it has been
11191         created by MenuBackend::expand
11192
11193 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11194
11195         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11196         insets which have noFontChange == true. (bug #172)
11197
11198 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11199
11200         * BufferView_pimpl.C: add connection objects and use them...
11201         (Pimpl): here.
11202
11203 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11204
11205         * MenuBackend.C (expandLastfiles):
11206         (expandDocuments):
11207         (expandFormats):
11208         (expandFloatListInsert):
11209         (expandFloatInsert):
11210         (expand): split expand in parts
11211
11212 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11213
11214         * lyx_gui.C: use lyx_gui::exit()
11215
11216 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11217
11218         * LyXAction.C: show the failing pseudo action
11219
11220 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11221
11222         * buffer.C (readFile): Run the lyxconvert script in order to read
11223         old files.
11224
11225 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11226
11227         * LyXAction.C:
11228         * commandtags.h:
11229         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11230
11231 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11232
11233         * LyXAction.C:
11234         * commandtags.h:
11235         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11236
11237 2002-07-22  Herbert Voss  <voss@lyx.org>
11238
11239         * lengthcommon.C:
11240         * lyxlength.[Ch]: add support for the vertical lengths
11241
11242 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11243
11244         * toc.[Ch]: std:: fixes
11245
11246 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11247
11248         * lyxrc.C: do not include lyx_main.h
11249
11250         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11251         for layouts
11252
11253         * lyxrc.C:
11254         * encoding.C:
11255         * bufferlist.C:
11256         * BufferView2.C: include "lyxlex.h"
11257
11258         * tabular.h:
11259         * bufferparams.h: do not #include "lyxlex.h"
11260
11261         * lyxtextclasslist.C (Add): remove method
11262         (classlist): renamed to classlist_
11263
11264         * paragraph_pimpl.C:
11265         * paragraph.C:
11266         * text2.C:
11267         * CutAndPaste.C:
11268         * bufferview_funcs.C:
11269         * bufferlist.C:
11270         * text.C:
11271         * LaTeXFeatures.C:
11272         * buffer.C:
11273         * toc.C (getTocList): use BufferParams::getLyXTextClass
11274
11275         * toc.C (getTocList): use InsetFloat::addToToc
11276
11277         * toc.[Ch]: new files, containing helper functions to handle table
11278         of contents
11279
11280         * lyxfunc.C (dispatch): no need to remove spaces around command
11281         given as a string
11282         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11283         first command of the sequence; it is not very clever, but I do not
11284         have a better idea, actually
11285
11286         * LyXAction.C (LookupFunc): make sure to remove space at the
11287         beginning and end of the command
11288
11289 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11290
11291         * MenuBackend.C (getMenubar): new method: return the menubar of
11292         this menu set
11293         (read): treat differently reading of menu and menubar (in
11294         particular, the menubar has no name now)
11295         (Menu::menubar): remove
11296
11297         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11298         saving is finished
11299
11300 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11301
11302         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11303         a bibitem inset in a RTL paragraph.
11304
11305 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11306
11307         * paragraph_pimpl.C: constify
11308
11309         * BufferView_pimpl.C:
11310         * LaTeX.C:
11311         * lyxfunc.C: fix dispatch in a nicer way
11312
11313 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11314
11315         * lyxfunc.C (dispatch):
11316         * BufferView_pimpl.C:
11317         * BufferView_pimpl.h:
11318         * BufferView.C:
11319         * BufferView.h: rename Dispatch() to dispatch()
11320
11321         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11322
11323         * lyxlayout.C (Read): honor DependsOn tag
11324
11325         * lyxlayout.[Ch] (depends_on): new method
11326
11327         * version.C.in: update lyx_docversion
11328
11329         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11330
11331         * paragraph.C (validate): remove from here...
11332         * paragraph_pimpl.C (validate): ... and move here
11333         (isTextAt): make it const
11334
11335         * buffer.C (getLists): ws cleanup
11336
11337 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11338
11339         * language.C (read): Use iso8859-1 encoding in latex_lang
11340         (this prevents LyX from crashing when using iso10646-1 encoding).
11341
11342 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11343
11344         * text2.C (toggleInset): if cursor is inside an inset, close the
11345         inset and leave cursor _after_ it
11346
11347 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11348
11349         * lyxfunc.C: move minibuffer completion handling out of here
11350
11351 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11352
11353         * BufferView_pimpl.C:
11354         * LaTeX.C: fix dispatch calls
11355
11356 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11357
11358         * text.C (drawChars): Fix Arabic text rendering.
11359
11360 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11361
11362         * LyXAction.C:
11363         * commandtags.h:
11364         * lyxfunc.C: remove message-push/pop
11365
11366         * lyxserver.C:
11367         * lyxfunc.h:
11368         * lyxfunc.C: rationalise some code by removing verboseDispatch
11369           in favour of a bool argument to dispatch()
11370
11371 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11372
11373         * lyx_main.C (init): make sure to read symlinks as absolute paths
11374
11375 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11376
11377         * lyxfunc.h:
11378         * lyxfunc.C: no need for commandshortcut to be a member
11379
11380 2002-07-15  André Pönitz <poenitz@gmx.net>
11381
11382         * converter.C: add support for $$s (scripts from lib/scripts dir)
11383         * lyx_main.C: white space
11384
11385 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11386
11387         * bufferlist.C:
11388         * lyxrc.h:
11389         * lyxrc.C: remove second exit confirmation
11390
11391 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11392
11393         * BufferView.h:
11394         * BufferView.C:
11395         * BufferView2.C:
11396         * BufferView_pimpl.h:
11397         * BufferView_pimpl.C:
11398         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11399
11400 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11401
11402         * MenuBackend.C (expand): add numeric shortcuts to document menu
11403
11404         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11405
11406 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11407
11408         * lyxfont.C (setLyXFamily):
11409         (setLyXSeries):
11410         (setLyXShape):
11411         (setLyXSize):
11412         (setLyXMisc):
11413         (lyxRead):
11414         * debug.C (value):
11415         * buffer.C (asciiParagraph): use ascii_lowercase
11416
11417 2002-07-15  Mike Fabian  <mfabian@suse.de>
11418
11419         * lyxlex_pimpl.C (search_kw):
11420         * lyxlex.C (getLongString):
11421         * converter.h (operator<):
11422         * converter.C (operator<):
11423         * buffer.C (parseSingleLyXformat2Token):
11424         (asciiParagraph):
11425         * ToolbarDefaults.C (read):
11426         * MenuBackend.C (checkShortcuts):
11427         (read):
11428         * LColor.C (getFromGUIName):
11429         (getFromLyXName): use the compare_ascii_no_case instead of
11430         compare_no_case, because in turkish, 'i' is not the lowercase
11431         version of 'I', and thus turkish locale breaks parsing of tags.
11432
11433 2002-07-16  Angus Leeming  <leeming@lyx.org>
11434
11435         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11436         now takes a Buffer const & argument.
11437
11438 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11439
11440         * BufferView.C (resize): check there's a buffer to resize
11441
11442 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11443
11444         * lyxfunc.C: remove dead code
11445
11446         * lyxserver.h:
11447         * lyxserver.C: use lyx_guii::set_read_callback
11448
11449 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11450
11451         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11452         an inset in a RTL paragraph.
11453
11454 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * lyxfunc.C: repaint after a font size update
11457
11458 2002-07-15  André Pönitz <poenitz@gmx.net>
11459
11460         * lyxlength.C: inBP should be able to return negative values
11461
11462 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11463
11464         * lyxfunc.C: use lyx_gui::update_fonts()
11465
11466 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11467
11468         * lyxfunc.C: use lyx_gui::update_color()
11469
11470 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11471
11472         * bufferlist.C:
11473         * lyxfunc.h:
11474         * lyxfunc.C:
11475         * lyxrc.h:
11476         * lyxrc.C: remove file->new asks for name option, and let
11477           buffer-new take an argument
11478
11479 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11480
11481         * BufferView_pimpl.C: remove unneeded extra repaint()
11482
11483 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11484
11485         * LyXAction.C: allow command-sequence with NoBuffer
11486
11487         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11488
11489 2002-07-10  Angus Leeming  <leeming@lyx.org>
11490
11491         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11492
11493 2002-07-09  Angus Leeming  <leeming@lyx.org>
11494
11495         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11496
11497 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11498
11499         * lengthcommon.h: whitespace
11500
11501         * lyxfunc.C: update scrollbar after goto paragraph
11502
11503         * lyxtext.h: factor out page break drawing, and fix it so
11504           page break/added space paints as selected nicely
11505
11506 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11507
11508         * BufferView_pimpl.C: add FIXMEs, clean up a little
11509
11510 2002-07-09  André Pönitz <poenitz@gmx.net>
11511
11512         * lyxfont.[Ch]: support for wasy symbols
11513
11514 2002-07-08  André Pönitz <poenitz@gmx.net>
11515
11516         * BufferView_pimpl.C: apply John's patch for #93.
11517
11518 2002-07-05  Angus Leeming  <leeming@lyx.org>
11519
11520         * BufferView_pimpl.C (buffer): generate previews if desired.
11521
11522         * LColor.h: add "preview" to the color enum.
11523
11524         * LColor.C (LColor): add a corresponding entry to the items array.
11525
11526         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11527         with this buffer.
11528
11529 2002-07-05  Angus Leeming  <leeming@lyx.org>
11530
11531         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11532         The body of the code is now in the method that is passed an ostream &
11533         rather than a file name.
11534         Pass an additional only_preamble parameter, useful for the forthcoming
11535         preview stuff.
11536
11537 2002-07-03  André Pönitz <poenitz@gmx.net>
11538
11539         * lyxfunc.C: simplify getStatus() a bit for math stuff
11540
11541 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11542
11543         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11544
11545 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11546
11547         * text.C (changeRegionCase): do not change case of all the
11548         document when region ends at paragraph end (bug #461)
11549
11550 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11551
11552         * paragraph.C (startTeXParParams):
11553         (endTeXParParams): add \protect when necessary
11554
11555 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11556
11557         * BufferView_pimpl.C (workAreaExpose): remove warning
11558
11559 2002-06-27  Angus Leeming  <leeming@lyx.org>
11560
11561         * Makefile.am: add lyxlayout_ptr_fwd.h.
11562
11563 2002-06-26  André Pönitz <poenitz@gmx.net>
11564
11565         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11566
11567 2002-06-25  Angus Leeming  <leeming@lyx.org>
11568
11569         * lyxfunc.C (dispatch): Comment out the call to
11570         grfx::GCache::changeDisplay. The method no longer exists now that the
11571         pixmap generation part of the graphics loader has been moved into
11572         InsetGraphics.
11573
11574 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11575
11576         * text2.C: layout as layout
11577
11578         * text.C: layout as layout
11579
11580         * tabular.C (OldFormatRead): layout as layout
11581
11582         * paragraph_pimpl.C (TeXDeeper): layout as layout
11583         (realizeFont): layout as layout
11584
11585         * paragraph.C (writeFile): layout as layout
11586         (validate): layout as layout
11587         (getFont): layout as layout
11588         (getLabelFont): layout as layout
11589         (getLayoutFont): layout as layout
11590         (breakParagraph): layout as layout
11591         (stripLeadingSpaces): layout as layout
11592         (getEndLabel): layout as layout
11593         (getMaxDepthAfter): layout as layout
11594         (applyLayout): layout as layout
11595         (TeXOnePar): layout as layout
11596         (simpleTeXOnePar): layout as layout
11597         (TeXEnvironment): layout as layout
11598         (layout): layout as layout
11599         (layout): layout as layout
11600
11601         * lyxtextclass.C (compare_name): new functor to work with
11602         shared_ptr, layout as layout
11603         (Read): layout as layout
11604         (hasLayout): layout as layout
11605         (operator): layout as layout
11606         (delete_layout): layout as layout
11607         (defaultLayout): layout as layout
11608
11609         * lyxlayout_ptr_fwd.h: new file
11610
11611         * lyxlayout.C (Read): layout as layout
11612
11613         * lyx_cb.C (MenuInsertLabel): layout as layout
11614
11615         * bufferlist.C (newFile): layout as layout
11616
11617         * buffer.C (readLyXformat2): layout as layout
11618         (parseSingleLyXformat2Token): layout as layout
11619         (insertStringAsLines): layout as layout
11620         (asciiParagraph): layout as layout
11621         (latexParagraphs): layout as layout
11622         (makeLinuxDocFile): layout as layout
11623         (simpleLinuxDocOnePar): layout as layout
11624         (makeDocBookFile): layout as layout
11625         (simpleDocBookOnePar): layout as layout
11626         (getLists): layout as layout
11627
11628         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11629
11630         * CutAndPaste.C (cutSelection): layout as layout
11631         (pasteSelection): layout as layout
11632         (SwitchLayoutsBetweenClasses): layout as layout
11633
11634         * BufferView_pimpl.C (Dispatch): layout as layout
11635         (smartQuote): layout as layout
11636
11637         * BufferView2.C (unlockInset): layout as layout
11638
11639 2002-06-24  André Pönitz <poenitz@gmx.net>
11640
11641         * lyxfunc.C: fix #487
11642
11643 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11644
11645         * lyxrc.h:
11646         * lyxrc.C:
11647         * lyxfunc.C: remove display_shortcuts, show_banner
11648
11649 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11650
11651         * Buffer_pimpl.C: oops, update on resize
11652
11653 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11654
11655         * buffer.C:
11656         * converter.C:
11657         * exporter.C:
11658         * lyxfunc.C:
11659         * BufferView.h:
11660         * BufferView.C: use repaint()
11661
11662         * BufferView_pimpl.h:
11663         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11664           as it's a clearer description. Remove superfluous
11665           redraws.
11666
11667 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11668
11669         * text.C: fix bug 488. Not ideal, but getting
11670           getWord() to work properly for the insets that
11671           matter is more difficult ...
11672
11673 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11674
11675         * BufferView_pimpl.C:
11676         * LyXAction.C:
11677         * commandtags.h:
11678         * lyxfunc.C: remove the six million index lyxfuncs to just
11679           one, and DTRT (bug 458)
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: clean up resize() stuff,
11687           and unnecessary updateScreen()s
11688
11689 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11690
11691         * BufferView.h:
11692         * BufferView.C:
11693         * BufferView_pimpl.h:
11694         * BufferView_pimpl.C:
11695         * lyxfind.h:
11696         * lyxfind.C:
11697         * minibuffer.C: remove focus management of workarea,
11698           not needed. Use screen's greyOut()
11699
11700 2002-06-17  Herbert Voss  <voss@lyx.org>
11701
11702         * converter.C: (convert) do not post a message, when converting
11703         fails, let the calling function decide what to do in this case
11704
11705 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11706
11707         * lyxfunc.C: tidy up a little
11708
11709 2002-06-16    <alstrup@diku.dk>
11710
11711         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11712         Got rid of FORMS_H_LOCATION include. Now we are
11713         GUII.
11714
11715 2002-06-15  LyX Development team  <lyx@rilke>
11716
11717         * buffer.[Ch] (sgmlOpenTag):
11718         (sgmlCloseTag): Added support for avoiding pernicious mixed
11719         content. Return number of lines written.
11720
11721         (makeLinuxDocFile):
11722         (makeDocBookFile): Fixed calls to sgml*Tag.
11723         Simple white space clean.
11724
11725         (simpleDocBookOnePar): Simple white space clean.
11726
11727         * tabular.[Ch] (docBook): Renamed to docbook and got another
11728         argument to related with the pernicious mixed content.
11729
11730         (docbookRow): Fixed calls for docbook inset method.
11731
11732 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11733
11734         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11735         so it's X11 independent.
11736
11737         * kb*.[Ch]: ditto.
11738
11739         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11740
11741 2002-06-15  Lyx Development team  <lyx@electronia>
11742
11743         * intl.h: Renamed getTrans to getTransManager.
11744
11745 2002-06-14  Angus Leeming  <leeming@lyx.org>
11746
11747         * Makefile.am: nuke forgotten stl_string_fwd.h.
11748
11749 2002-06-12  Angus Leeming  <leeming@lyx.org>
11750
11751         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11752
11753 2002-06-13  Angus Leeming  <leeming@lyx.org>
11754
11755         * LaTeX.C:
11756         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11757
11758 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11759
11760         * kbmap.C (getiso): add support for cyrillic and greek
11761
11762 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11763
11764         * BufferView.h:
11765         * BufferView.C:
11766         * BufferView_pimpl.h:
11767         * BufferView_pimpl.C: move bogus scrolling logic
11768           to xforms
11769
11770 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11771
11772         * lyxfunc.C:
11773         * BufferView_pimpl.C: view->resize() change
11774
11775 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11776
11777         * BufferView_pimpl.C: topCursorVisible
11778           prototype change
11779
11780 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11781
11782         * Makefile.am:
11783         * lyx_gui.h:
11784         * lyx_gui.C: move to frontends/
11785
11786         * main.C:
11787         * lyx_main.h:
11788         * lyx_main.C: changes from above
11789
11790 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11791
11792         * intl.C:
11793         * intl.h:
11794         * kbmap.C:
11795         * kbsequence.C:
11796         * lyx_cb.C:
11797         * lyx_main.C: minor tidy
11798
11799 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11800
11801         * BufferView_pimpl.h:
11802         * BufferView_pimpl.C:
11803         * BufferView.h:
11804         * BufferView.C: make painter() const,
11805           remove dead code
11806
11807         * BufferView2.C: use screen() accessor
11808
11809         * lyx_main.h:
11810         * lyx_main.C: some minor cleanup
11811
11812 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11813
11814         * BufferView_pimpl.h:
11815         * BufferView_pimpl.C: remove enter/leaveView,
11816           use workHeight()
11817
11818 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11819
11820         * BufferView.h:
11821         * BufferView.C:
11822         * BufferView2.C:
11823         * BufferView_pimpl.h:
11824         * BufferView_pimpl.C: only construct screen once,
11825           rename
11826
11827         * lyxrc.C: remove pointless comment
11828
11829 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11830
11831         * BufferView.h:
11832         * BufferView.C: remove active() and belowMouse()
11833
11834         * BufferView_pimpl.h:
11835         * BufferView_pimpl.C: use workarea() not workarea_,
11836           and make it use a scoped_ptr instead
11837
11838 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11839
11840         * lyx_gui.C: add debug message on BadWindow
11841
11842 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11843
11844         * sp_spell.C: fdopen is not part of the C++ standard.
11845
11846         * paragraph.C (InsetIterator): use >= instead of ==
11847
11848 2002-06-07  Angus Leeming  <leeming@lyx.org>
11849
11850         Fixes needed to compile with Compaq cxx 6.5.
11851         * BufferView_pimpl.C:
11852         * DepTable.C:
11853         * buffer.C:
11854         * converter.C:
11855         * encoding.C:
11856         * lyx_gui.C:
11857         * lyx_main.C:
11858         * lyxtextclasslist.C:
11859         * minibuffer.C:
11860         * sp_spell.C:
11861         * tabular_funcs.C:
11862         * vc-backend.C:
11863         all c-library variables have been moved into namespace std. Wrap
11864         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11865
11866         * lyxlength.C:
11867         * tabular-old.C:
11868         * tabular.C:
11869         Add a using std::abs declaration.
11870
11871         * kbmap.h (modifier_pair):
11872         * paragraph.h (InsetTable, InsetList):
11873         * lyxfont.h (FontBits):
11874         type definition made public.
11875
11876         * bufferlist.C (emergencyWriteAll): the compiler complains that
11877         there is more than one possible lyx::class_fun template to choose from.
11878         I re-named the void specialisation as lyx::void_class_fun.
11879
11880         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11881
11882         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11883         the compiler is is unable to find tostr in write_attribute.
11884
11885 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11886
11887         * buffer.C (sgmlError): hide #warning
11888
11889 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11890
11891         * xtl/*: get rid of xtl, which is not in use anyway
11892
11893         * LyXAction.C (init):
11894         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11895         were unimplemented xtl experimentation
11896
11897 2002-06-04  André Pönitz <poenitz@gmx.net>
11898
11899         * lyxfunc.C: disable array operation on simple formulae
11900
11901 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11902
11903         * converter.C: constify a bit
11904
11905 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11906
11907         * lyx_gui.C: check xforms version correctly
11908
11909 2002-04-30  Herbert Voss  <voss@lyx.org>
11910
11911         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11912         "keep" option
11913
11914 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11915
11916         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11917           attempt to register it with a VCS)
11918
11919 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11920
11921         * lyx_main.C (init): honor variables LYX_DIR_13x and
11922         LYX_USERDIR_13x
11923
11924 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11925
11926         * buffer.h:
11927         * buffer.C:
11928         * lyx_main.C: fix a crash on bad command line,
11929           and give a useful exit status on error
11930
11931         * lyxfunc.C (doImport): allow -i lyx to work
11932
11933 2002-03-30  André Pönitz <poenitz@gmx.net>
11934
11935         * lyxfunc.C: mathed font changes
11936
11937 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11938
11939         * LaTeX.C:
11940         * importer.h:
11941         * importer.C:
11942         * lyx_sty.h:
11943         * lyx_sty.C:
11944         * lyxlex.C:
11945         * lyxrow.h:
11946         * lyxtext.h:
11947         * paragraph.h:
11948         * paragraph.C:
11949         * texrow.h:
11950         * texrow.C:
11951         * text.C:
11952         * trans_mgr.h: srcdocs, and some minor cleanups
11953
11954 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11955
11956         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11957         call getFont all the time)
11958
11959 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11960
11961         * switch from SigC signals to boost::signals
11962
11963 2002-05-29  André Pönitz <poenitz@gmx.net>
11964
11965         * paragraph_pimpl.C (getChar): don't call size() too often...
11966
11967 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11968
11969         * paragraph_pimpl.C (insertChar): do not try to update tables when
11970         appending (pos == size())
11971
11972         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11973         in order to reduce drastically the number of comparisons needed to
11974         parse a large document
11975
11976 2002-05-29  André Pönitz <poenitz@gmx.net>
11977
11978         * text.C:
11979         * text2.C:
11980         * lyxtextclass.C:
11981         * sp_pspell.h:
11982         * textclasslist.[Ch]:
11983         * sp_ispell.h: whitespace change
11984
11985 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11986
11987         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11988         lyxaction directly now.
11989
11990 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11991
11992         * trans.C:
11993         * lyxfont.C:
11994         * lyxvc.C: remove unused headers
11995
11996 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11997
11998         * Makefile.am:
11999         * buffer.h:
12000         * undostack.h:
12001         * undostack.C:
12002         * undo_funcs.h:
12003         * undo_funcs.C: some cleanups. Use shared_ptr
12004           and a template for the undo stacks.
12005
12006 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12007
12008         * BufferView_pimpl.h:
12009         * BufferView_pimpl.C:
12010         * kbmap.h:
12011         * kbmap.C:
12012         * kbsequence.h:
12013         * kbsequence.C:
12014         * lyxfunc.h:
12015         * lyxfunc.C:
12016         * text2.C: use key_state/mouse_state
12017
12018 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12019
12020         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12021         and LSubstring
12022
12023         * chset.C: change include order
12024         (loadFile): use boost regex and get rid of LRegex and LSubstring
12025
12026         * Makefile.am (BOOST_LIBS): new variable
12027         (lyx_LDADD): use it
12028
12029         * LaTeX.C: change include order.
12030         (scanAuxFile): use boost regex and get rid of LRegex and
12031         LSubstring
12032         (deplog): ditto
12033
12034 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12035
12036         * ColorHandler.h:
12037         * ColorHandler.C:
12038         * FontInfo.h:
12039         * FontInfo.C: moved to frontends/xforms/
12040
12041         * FontLoader.h:
12042         * FontLoader.C: moved into frontends for GUIIzation
12043
12044         * Makefile.am:
12045         * lyx_gui.C:
12046         * lyxfont.C:
12047         * lyxfunc.C: changes from above
12048
12049 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12050
12051         * LColor.C: remove spurious X include
12052
12053         * BufferView_pimpl.C:
12054         * Makefile.am:
12055         * font.h:
12056         * font.C:
12057         * text.C:
12058         * text2.C: move font metrics to frontends/
12059
12060 2002-05-24  Juergen Vigna  <jug@sad.it>
12061
12062         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12063         setting the undo_cursor.
12064
12065         * ParagraphParameters.h: include local includes first.
12066
12067 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12068
12069         * BufferView_pimpl.C:
12070         * BufferView_pimpl.h:
12071         * Makefile.am:
12072         * WorkArea.h:
12073         * WorkArea.C:
12074         * screen.C: move WorkArea into frontends/
12075
12076         * lyxscreen.h:
12077         * screen.C:
12078         * text.C:
12079         * BufferView.C:
12080         * BufferView2.C: move LyXScreen into frontends/
12081
12082         * lyxlookup.h:
12083         * lyxlookup.C:
12084         * lyx_gui.C: move lyxlookup into frontends/xforms/
12085
12086 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12087
12088         * BufferView2.C:
12089         * BufferView_pimpl.C:
12090         * FontLoader.C:
12091         * LyXView.h:
12092         * LyXView.C:
12093         * Makefile.am:
12094         * WorkArea.C:
12095         * XFormsView.h:
12096         * XFormsView.C:
12097         * buffer.C:
12098         * bufferlist.C:
12099         * bufferview_funcs.C:
12100         * converter.C:
12101         * importer.C:
12102         * lyx_cb.C:
12103         * lyx_gui.C:
12104         * lyx_main.C:
12105         * lyx_find.C:
12106         * lyxfunc.C:
12107         * lyxvc.C:
12108         * minibuffer.C:
12109         * text.C:
12110         * text2.C:
12111         * trans.C:
12112         * vc-backend.C: move LyX/XFormsView into frontends/
12113
12114 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12115
12116         * Makefile.am:
12117         * PainterBase.C:
12118         * PainterBase.h:
12119         * Painter.C:
12120         * Painter.h:
12121         * WorkArea.C:
12122         * WorkArea.h:
12123         * screen.C:
12124         * tabular.C:
12125         * text.C:
12126         * text2.C: move Painter to frontends/
12127
12128 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12129
12130         * buffer.C: comment out some some code that depend upon lyx_format
12131         < 220
12132
12133         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12134         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12135
12136         * buffer.h (NO_COMPABILITY): turn off compability
12137
12138         * ColorHandler.C: include scoped_array.hpp
12139
12140         * font.C: Use more specific smart_ptr header.
12141         * Painter.C: ditto
12142         * gettext.C: ditto
12143         * ShareContainer.h: ditto
12144         * lyx_main.h: ditto
12145         * kbmap.h: ditto
12146         * FontInfo.h: ditto
12147         * BufferView_pimpl.h: ditto
12148         * ColorHandler.h: ditto
12149
12150         * kbmap.C (defkey): change call to shared_ptr::reset
12151
12152 2002-05-21  Juergen Vigna  <jug@sad.it>
12153
12154         * buffer.C (insertErtContents): fix to insert ert asis if it is
12155         non empty. Skip it completely if it contains only whitespaces.
12156
12157 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12158
12159         * BufferView_pimpl.C:
12160         * BufferView2.C: clear selection on paste (bug 393)
12161
12162 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12163
12164         * DepTable.C: include ctime
12165
12166 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12167
12168         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12169
12170 2002-05-14  Juergen Vigna  <jug@sad.it>
12171
12172         * text.C (breakParagraph): fixed function to honor the keepempty
12173         layout in the right maner and also to permit the right breaking
12174         algorithm on empty or non empyt keepempty paragraphs.
12175
12176         * paragraph.C (breakParagraph): we have to check also if the par
12177         is really empty (!size()) for isempty otherwise we do the wrong
12178         paragraph break.
12179
12180 2002-05-10  Juergen Vigna  <jug@sad.it>
12181
12182         * buffer.[Ch] : The following are only changes to the ert
12183         compatibility read reading old LaTeX layout and font stuff and
12184         convert it to ERTInsets.
12185
12186         * buffer.h: added isErtInset().
12187
12188         * buffer.C (struct ErtComp): add a fromlayout bool to check
12189         if we're inside a LaTeX layout.
12190         (isErtInset): new helper function.
12191         (insertErtContents): look for other ert insets before this one
12192         and insert the contents there, so that we don't have subsequent
12193         ERT insets with nothing between them. This way we create only one
12194         inset with multiple paragraphs. Also check if we don't insert only
12195         spaces ' ' as they are ignored anyway afterwards in the .tex file
12196         so if we have only spaces we will ignore this latex part in the
12197         new file.
12198         (parseSingleLyXformat2Token \\layout): better compatibility when
12199         reading layout-latex stuff.
12200         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12201         language tag.
12202         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12203         stuff after reading the inset only get the information back from
12204         the stack.
12205
12206 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12207
12208         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12209
12210         * LaTeXFeatures.C (getBabelOptions): New method.
12211
12212 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12213
12214         * BufferView_pimpl.C (Dispatch): work around missing argument for
12215         'layout'
12216
12217 2002-05-08  Juergen Vigna  <jug@sad.it>
12218
12219         * text.C (leftMargin): handle paragraph leftindent.
12220
12221         * paragraph.C (writeFile): write the new \\leftindent tag.
12222         (validate): handle leftindent code.
12223         (TeXEnvironment): handle paragraphleftindent code again.
12224
12225         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12226
12227         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12228         for paragrap_extra indent code and new token \\leftindent.
12229         (latexParagraphs): handle the leftindent as environment.
12230
12231         * ParameterStruct.h: added leftindent support.
12232
12233         * ParagraphParameters.C (leftIndent): added support functions for
12234         the paragraph left indent.
12235
12236         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12237         more appropriate.
12238
12239 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12240
12241         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12242         inside insetERT.
12243
12244         * text.C (computeBidiTables): No bidi in insetERT.
12245
12246         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12247         in RTL documents.
12248
12249 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12250
12251         * version.C.in: pre 5
12252
12253 2002-05-02  José Matos  <jamatos@fep.up.pt>
12254         * buffer.C (makeDocBookFile): white space changes, add newline to
12255         command styles.
12256         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12257
12258         * tabular.C (docBook): fix typo.
12259
12260 2002-05-03  Juergen Vigna  <jug@sad.it>
12261
12262         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12263         change in LyXText as we can not be sure it was not freed.
12264         (drawOneRow): remove unused code.
12265
12266         * text.C (drawInset): redo the calculation of the need_break_row as
12267         it could have a row which was already freed.
12268         (draw): look at the return value of drawInset and return false if
12269         it also returned false.
12270         (paintRowText): look at the return value of draw and return false if
12271         it also returned false.
12272
12273         * lyxtext.h: added bool return type to drawInset() and draw() so that
12274         if we have a change in the row so that the rowbreak has to be redone
12275         we abort drawing as it will be called again.
12276
12277 2002-05-02  Juergen Vigna  <jug@sad.it>
12278
12279         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12280         a change in the maintext also if we're inside an inset.
12281         (Dispatch): set the cursor again after a break line and after the
12282         screen has been updated as it could be we're in a different row.
12283
12284         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12285         to set the cursor behind the pargraph with > size().
12286         (setCursor): check also for the same paragraph when checking where
12287         to put the cursor if we have a NFR inset.
12288
12289         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12290         parts of layout read further up as it still was in the wrong
12291         position.
12292
12293 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12294
12295         * screen.C (drawFromTo): change sine fullRebreak always return
12296         true.
12297
12298         * buffer.C (parseSingleLyXformat2Token): reindent some
12299
12300         * BufferView_pimpl.C (update): change since fullRebreak always
12301         return true.
12302         (Dispatch): git rid of the last hardcoded "Standard"s.
12303
12304 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12305
12306         * text2.[Ch] (fullRebreak): make it return void now that we always
12307         returned true.
12308
12309 2002-04-30  Juergen Vigna  <jug@sad.it>
12310
12311         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12312         ert compatibility check for "latex" layout.
12313
12314 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12315
12316         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12317         minipages: use col% instead of p%, and also use the current font.
12318         (makeLaTeXFile): Fix use babel condition.
12319         (parseSingleLyXformat2Token): Correct font when reading old floats.
12320
12321 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12322
12323         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12324         inserting list of floats.
12325
12326 2002-04-25  Herbert Voss  <voss@lyx.org>
12327
12328         * MenuBackend.C (expand): don't add the graphics extensions to the
12329         export menu
12330
12331 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12332
12333         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12334         non-existing layout, do not complain if it was the default layout
12335         of the original class (bug #342)
12336
12337 2002-04-24  Juergen Vigna  <jug@sad.it>
12338
12339         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12340         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12341
12342 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12343
12344         * buffer.C (getBibkeyList): If using \bibliography, return the
12345         option field with the reference itself. Enables us to provide natbib
12346         support when using \bibliography.
12347
12348 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12349
12350         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12351
12352         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12353         natbib is provided by the LaTeX class.
12354
12355 2002-04-23  Juergen Vigna  <jug@sad.it>
12356
12357         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12358         Wakeup functions.
12359
12360         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12361
12362 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12363
12364         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12365
12366         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12367         ensuremath around textordmasculine, textordfeminine and
12368         textdegree.
12369
12370 2002-04-19  Juergen Vigna  <jug@sad.it>
12371
12372         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12373         reinitializing the buffer otherwise row-dimensions may be wrong.
12374         (update): reset also the selection cursors if they do exits otherwise
12375         their x/y positions may be wrong.
12376
12377         * text2.C (cursorDown): don't enter the inset if we came from a row
12378         above and are one row over the inset.
12379
12380         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12381         really leaving an inset.
12382
12383 2002-04-18  Juergen Vigna  <jug@sad.it>
12384
12385         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12386         of the selected paragraph does not have the selected layout also if
12387         the last one had!
12388
12389         * text2.C (setLayout): fixed bug which did not change last selected
12390         paragraph.
12391
12392         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12393         changed the read and substituted \\end_float with \\end_inset!
12394
12395         * BufferView_pimpl.C (cursorPrevious):
12396         (cursorNext): fixed to make it work with rows heigher than the work
12397         area without moving the cursor only the draw of the row.
12398         (workAreaMotionNotify): fix jumping over high rows.
12399
12400 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12401
12402         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12403         Ressler.
12404
12405 2002-04-16  Juergen Vigna  <jug@sad.it>
12406
12407         * text2.C (setCursor): set also the irow().
12408         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12409         (cursorUp):
12410         (cursorDown): support for locking an inset if the x_fix value goes
12411         inside it. That way I can transverse insets too with cursor up/down.
12412
12413         * lyxrow.h: added irow helper function same as other (i) functions.
12414
12415         * BufferView_pimpl.C (cursorPrevious):
12416         (cursorNext): fixed for insets!
12417
12418 2002-04-15  Juergen Vigna  <jug@sad.it>
12419
12420         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12421         position otherwise it is wrong in some cases.
12422
12423         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12424         inside the inset before the call.
12425
12426 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12427
12428         * buffer.[Ch] (getBibkeyList): make it const.
12429
12430 2002-04-12  Juergen Vigna  <jug@sad.it>
12431
12432         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12433
12434         * text2.C (getCursorX): new helper function
12435         (setCursor): compute also ix_
12436         (setCursorFromCoordinates): set also ix.
12437
12438         * lyxcursor.h: added ix_ and helper functions.
12439
12440         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12441
12442         * buffer.C (insertStringAsLines): dont break paragraph if the this
12443         paragraph is inside an inset which does not permit it!
12444
12445         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12446         also with no chars on this paragraph.
12447         (paintRowText): only paint stuff if it's inside the workarea!
12448
12449         * paragraph.C (breakParagraph): honor keepempty flag and break the
12450         paragraph always below not above.
12451
12452         * BufferView2.C (unlockInset): update the paragraph layout on inset
12453         unlock as we changed paragraph in such a case.
12454
12455         * lyxfind.C (LyXFind): clear the former selection if not found!
12456
12457         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12458         again called in insertChar().
12459
12460         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12461         an inset which uses the whole row!
12462         (rightMargin): ditto.
12463         (insertChar): force a rebreak if we inserted an inset!
12464
12465 2002-03-28  Herbert Voss  <voss@lyx.org>
12466
12467         * lyxlength.[Ch]: add inBP() to get the right PS-point
12468         units (BigPoint). With inPixels we have rounding errors
12469
12470 2002-04-11  Juergen Vigna  <jug@sad.it>
12471
12472         * text2.C (setCursorFromCoordinates): set iy to the right value.
12473         (setCursor): add check if row->previous exists!
12474
12475         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12476         an old float_type as this was the case in the old code!
12477
12478         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12479
12480         * BufferView2.C (showLockedInsetCursor): use iy
12481         (fitLockedInsetCursor): ditto
12482
12483         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12484         locked insets as there we have the right value now.
12485
12486         * lyxcursor.C: added iy_ variable and iy functions to set to the
12487         baseline of cursor-y of the locked inset.
12488
12489         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12490         (setCursor): fixed for insets which need a full row.
12491
12492         * text.C (rowLastPrintable): don't ignore the last space when before
12493         an inset which needs a full row.
12494         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12495         as last character of a row when before a inset which needs a full row.
12496
12497 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12498
12499         * version.C.in: update date
12500
12501         * text2.C (fullRebreak): try to always return true and see what
12502         happens...
12503
12504 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12505
12506         * MenuBackend.C (expand): use Floating::listName
12507
12508         * FloatList.C (FloatList): add listName argument to the built-in
12509         floats
12510
12511         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12512         text associated with the float.
12513
12514 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12515
12516         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12517
12518 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12519
12520         * ShareContainer.h: add a couple of missing typenames.
12521
12522 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12523
12524         * lyxrc.C (getDescription): use _() correctly rather than N_().
12525
12526 2002-03-28  Herbert Voss  <voss@lyx.org>
12527
12528         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12529         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12530
12531 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12532
12533         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12534         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12535
12536 2002-03-29  Juergen Vigna  <jug@sad.it>
12537
12538         * lyxfunc.C (dispatch): add a missing fitCursor call.
12539
12540         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12541         it was scrolled by a cursor move, so return the bool status.
12542
12543         * BufferView.C (fitCursor): return the bool flag also to the outside
12544         world as this is needed.
12545
12546         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12547
12548         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12549         call the edit() as it is not needed (and wrong) IMO.
12550         (workAreaButtonPress): set the screen_first variable before evt.
12551         unlock the inset as this may change screen_first and then we have
12552         a wrong y position for the click!
12553
12554 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12555
12556         * MenuBackend.C (expand): another translation that I missed
12557
12558 2002-03-28  Juergen Vigna  <jug@sad.it>
12559
12560         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12561
12562         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12563
12564 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12565
12566         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12567
12568         * MenuBackend.C (expand): fix export/view/update when there is no
12569         document open.
12570
12571 2002-03-27  Herbert Voss  <voss@lyx.org>
12572
12573         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12574         and text%
12575
12576 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12577
12578         * bufferview_funcs.C (currentState): only show paragraph number
12579         for is DEVEL_VERSION is set.
12580
12581         * lyxfunc.C (dispatch): put warning in INFO channel
12582
12583         * MenuBackend.C (expand): translate the name of floats
12584
12585         * FloatList.C (FloatList): mark the float names for translation
12586
12587         * converter.C (convert): use LibScriptSearch
12588
12589 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12590
12591         * MenuBackend.C (defaults): fix default menu (we might as well get
12592         rid of it...)
12593
12594 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12595
12596         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12597         directory.
12598
12599 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12600
12601         * lyxvc.C: reorder includes.
12602
12603 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12604
12605         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12606           properly
12607
12608 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12609
12610         * CutAndPaste.C: change layouts earlier on paste
12611           to avoid crashing when calling getFont()
12612
12613 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12614
12615         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12616         irritating #error.
12617
12618 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12619
12620         * WorkArea.C: remove 'Pending' debug message.
12621
12622         * most files: ws cleanup
12623
12624         * buffer.[Ch]: ws changes
12625
12626         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12627
12628 2002-03-21  Juergen Vigna  <jug@sad.it>
12629
12630         * tabular.C (SetMultiColumn): collapse also the contents of the
12631         cells and set the last border right. Added a Buffer const * param.
12632
12633 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12634
12635         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12636         linking or not.
12637
12638 2002-03-19  Juergen Vigna  <jug@sad.it>
12639
12640         * text2.C (clearSelection): reset also xsel_cache.
12641
12642         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12643         where it needs to be called (John tells us to do so too :)
12644         (selectionLost): reset sel_cache.
12645
12646         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12647
12648 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12649
12650         * text2.C (setCursorIntern): put debuging code in INSETS channel
12651
12652 2002-03-19  André Pönitz <poenitz@gmx.net>
12653
12654         * lyxfunc.C: tiny whitespace change
12655
12656 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12657
12658         * ToolbarDefaults.C (init):
12659         * LyXAction.C (init):
12660         * commandtags.h:
12661         * BufferView_pimpl.C (Dispatch):
12662         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12663
12664 2002-03-19  Allan Rae  <rae@lyx.org>
12665
12666         * exporter.C (Export): removeAutoInsets before doing anything else.
12667         While I've just introduced a dependency on BufferView this really is
12668         the best place to clean the buffer otherwise you need to cleanup in
12669         a dozen places before calling export or cleanup in a dozen functions
12670         that export calls.
12671
12672         * converter.C (runLaTeX):
12673         (scanLog): Better handling of removeAutoInsets and screen updates.
12674
12675         * lyxfunc.C (dispatch): small whitespace changes
12676
12677 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12678
12679         * WorkArea.C (C_WorkAreaEvent): return a value.
12680         (event_cb): return 1 if we handled the event, 0 otherwise.
12681
12682         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12683
12684 2002-03-18  Juergen Vigna  <jug@sad.it>
12685
12686         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12687         (GetAdditionalWidth): ditto.
12688         (RightLine): ditto.
12689         (LeftLine): ditto.
12690
12691         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12692         inset if we're there actually (probably not used right now but this
12693         is the direction to go for unifying code).
12694         (paste): disable code to clear the selection.
12695
12696         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12697         inside an InsetText and move the check further up as it is in the
12698         wrong place.
12699
12700         * text2.C (pasteSelection): set a selection over the pasted text.
12701
12702 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12703
12704         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12705         and libgraphics to build on Cygwin.
12706
12707 2002-03-15  Juergen Vigna  <jug@sad.it>
12708
12709         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12710         inserting an Inset into the paragraph. I know this is not the best
12711         fix but we already use current_view in CutAndPaste so we will remove
12712         all of it's using at the same time.
12713
12714         * buffer.C (sgmlError): deactivated function till it is rewritten in
12715         the right mode, now it can create problems.
12716
12717         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12718         before accessing it.
12719
12720 2002-03-14  Juergen Vigna  <jug@sad.it>
12721
12722         * undo_funcs.C (textHandleUndo): do the right thing when updating
12723         the inset after the undo/redo.
12724
12725         * text2.C (setCursor): just some testcode for #44 not ready yet.
12726
12727         * undo_funcs.C (textHandleUndo): set the next() and previous()
12728         pointers of the paragraph to 0 before deleting otherwise we have
12729         problems with the Paragraph::[destructor].
12730
12731         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12732         on a paragraph insertion.
12733
12734 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12735
12736         * buffer.C (asciiParagraph): use += operator for char append to
12737         string.
12738
12739         * paragraph.C (getFontSettings): compare >= not just >
12740         (highestFontInRange): ditto
12741         (setFont): ditto
12742
12743 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12744
12745         * paragraph.C: change several algorithm to be more appripriate for
12746         the problem domain. This is lookip in FontList and in the InsetList.
12747
12748 2002-03-13  André Pönitz <poenitz@gmx.net>
12749
12750         * commandtags.h:
12751         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12752
12753 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * commandtags.h:
12756         * LyXAction.C:
12757         * lyxfunc.C:
12758         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12759
12760 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12761
12762         * Painter.C (display): anon helper function, adjust code for this
12763         change.
12764         (pixmap): remove function.
12765
12766         * Painter.h: remove private display variable.
12767
12768         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12769
12770 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12771
12772         * WorkArea.[Ch]: remove figinset_canvas cruft.
12773
12774 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12775
12776         * lyxtextclass.C (operator): add one item cache optimization.
12777
12778         * bufferlist.h: doxy changes
12779
12780         * bufferlist.C: ws changes
12781
12782         * DepTable.[Ch] (ext_exist): place const in the right spot.
12783
12784         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12785         call resizeInsets.
12786         (workAreaExpose): call resizeInsets when the with BufferView changes.
12787         (Dispatch): adjust for protectedBlank removal
12788         (specialChar): call updateInset if the insert went ok.
12789
12790         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12791         specialChar instead.
12792
12793         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12794
12795         * BufferView.h: doxy change
12796
12797         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12798
12799         * lyxtextclass.C (operator[]): remove non-const version
12800         (defaultLayout): remove non-const version
12801
12802 2002-03-12  Juergen Vigna  <jug@sad.it>
12803
12804         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12805         did resize the LyXText too.
12806
12807         * buffer.C (readLyXformat2): set layout information on newly allocated
12808         paragraphs.
12809
12810         * tabular.C (OldFormatRead): set layout information on the paragraph.
12811
12812 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12813
12814         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12815
12816 2002-03-11  Juergen Vigna  <jug@sad.it>
12817
12818         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12819         plainly wrong.
12820         (resizeCurrentBuffer): force also the insets to resize themselfes.
12821         (moveCursorUpdate): fixed up for InsetText.
12822
12823 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12824
12825         * commandtags.h:
12826         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12827         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12828         value of Dialogs::tooltipsEnabled().
12829         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12830
12831 2002-03-08  Juergen Vigna  <jug@sad.it>
12832
12833         * BufferView_pimpl.C (updateInset): update inset inside inset also
12834         if it isn't inside theLockingInset().
12835
12836 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12837
12838         * buffer.C (asciiParagraph): redo some of the word and line length
12839         handling.
12840         (getLists): look for Caption instead of caption.
12841
12842 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12843
12844         * buffer.C (Buffer): initialize niceFile to true
12845         (makeLaTeXFile):
12846         (makeLinuxDocFile):
12847         (makeDocBookFile): make sure niceFile is true on exit
12848
12849 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12850
12851         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12852
12853 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12854
12855         * LyXSendto.C: remove.
12856         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12857         * lyx_gui.C: remove now-redundant comment.
12858         * ColorHandler.h: remove forward declaration of class WorkArea.
12859         * lyxfunc.C: remove #include "WorkArea.h".
12860
12861 2002-03-07  Juergen Vigna  <jug@sad.it>
12862
12863         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12864         got moved away with the DEPM and also set the inset_owner always
12865         right which before could have been omitted.
12866
12867 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12868
12869         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12870         wanted layout is not found.
12871
12872 2002-03-07  Juergen Vigna  <jug@sad.it>
12873
12874         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12875
12876 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12877
12878         * paragraph.C (breakParagraph): use default layout not layout of
12879         prev paragraph.
12880         (Paragraph): clear ParagraphParameters.
12881
12882 2002-03-06  Juergen Vigna  <jug@sad.it>
12883
12884         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12885         otherwise it would not be a valid lenght. Fixed a special case in
12886         the minipage compatibility read where we end the document with a
12887         minipage.
12888
12889         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12890         was set as it could be 0 for InsetTexts first entry.
12891
12892 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12893
12894         * paragraph.C (writeFile): if layout is empty write out
12895         defaultLayoutName().
12896
12897         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12898         file without named layout we set layout to defaultLayoutName().
12899
12900 2002-03-06  Juergen Vigna  <jug@sad.it>
12901
12902         * CutAndPaste.C (copySelection): set layout for new paragraph.
12903
12904         * text.C (prepareToPrint): leave ERT inset left aligned
12905         (leftMargin): don't indent paragraphs inside ERT insets
12906
12907 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12908
12909         * paragraph.C (breakParagraph): dont call clear do the work manually
12910
12911         * paragraph.[Ch] (clear): remove function
12912
12913 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12914
12915         * paragraph.C (Paragraph): dont call clear, the work has already
12916         been done.
12917
12918         * lyxtextclass.C (operator): assert if n is empty
12919
12920         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12921         work manually instead.
12922
12923 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12924
12925         * BufferView_pimpl.C: protect selectionLost against text == 0
12926
12927 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12928
12929         * text.C (breakParagraph): fix a setting layout to '0' problem.
12930
12931 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12932
12933         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12934         final location of file, for the included files, and graphics.
12935
12936 2002-03-05  Juergen Vigna  <jug@sad.it>
12937
12938         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12939
12940 2002-03-04  Juergen Vigna  <jug@sad.it>
12941
12942         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12943
12944         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12945         last column of multicolumn cells.
12946         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12947
12948 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12949
12950         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12951         file if it doesn't go to a temporary file.
12952
12953         * buffer.C (sgmlOpenTag):
12954         (sgmlCloseTag):  remove extra newline insertion.
12955
12956 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12957
12958         * text.C (getRowNearY): comment out debug msg
12959
12960 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12961
12962         * text2.C: first -> first_y
12963
12964         * text.C (getRowNearY): add some attemts at a possible
12965         optimization, not working.
12966
12967         * tabular.[Ch]: add BufferParams to several function so that newly
12968         created paragraph can be initialized to he default layotu for the
12969         buffers textclass.
12970
12971         * tabular-old.C (ReadOld): add buf->params to call of Init
12972
12973         * screen.C: rename text->first to text->first_y
12974
12975         * paragraph.C (breakParagraph): always set layout in the broken
12976         paragraph
12977
12978         * lyxtextclass.C (Read): remove lowercase
12979         (hasLayout): ditto
12980         (operator): ditto
12981         (delete_layout): ditto
12982
12983         * lyxtext.h: rename first -> first_y
12984
12985         * lyxlayout.C (Read): remove lowercase
12986         (name): ditto
12987         (setName): ditto
12988         (obsoleted_by): ditto
12989
12990         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12991
12992         * buffer.C (insertErtContents): add params are to InsetERT
12993         (parseSingleLyXformat2Token): add code to check if a paragraphs
12994         layout really exist.
12995         (parseSingleLyXformat2Token): add params to several inset
12996         constructors
12997         (asciiParagraph): remove lowercase, do the layout comparisons with
12998         no_case
12999
13000         * BufferView_pimpl.C (cursorNext): first -> first_y
13001         (resizeCurrentBuffer): first -> first_y
13002         (updateScrollbar): first -> first_y
13003         (scrollCB): first -> first_y
13004         (workAreaMotionNotify): first -> first_y
13005         (workAreaButtonPress): first -> first_y
13006         (checkInsetHit): first -> first_y
13007         (cursorPrevious): first -> first_y
13008         (cursorNext): first -> first_y
13009         (Dispatch): add buffer_->params to severl inset contructors
13010
13011 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13012
13013         * lyxlayout.C (Read): remove some debug info that I forgot.
13014
13015         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13016         clean up the code slightly.
13017         (makeLinuxDocFile): ditto
13018         (makeDocBookFile): ditto
13019
13020         * text2.C: layout as string
13021
13022         * text.C: layout as string
13023
13024         * paragraph_pimpl.C: layout as string
13025
13026         * paragraph.[Ch]: layout as string
13027
13028         * lyxtextclasslist.[Ch]: layout as string
13029
13030         * lyxtextclass.[Ch]: layout as string
13031
13032         * lyxtext.h: layout as string
13033
13034         * lyxlayout.[Ch]: layout as string
13035
13036         * lyx_cb.C: layout as string
13037
13038         * bufferview_funcs.C: layout as string
13039
13040         * bufferparams.C: layout as string
13041
13042         * buffer.C: layout as string
13043
13044         * LyXView.[Ch]: layout as string
13045
13046         * LaTeXFeatures.[Ch]: layout as string
13047
13048         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13049
13050         * BufferView_pimpl.C: change current_layout to string, remove
13051         lyx::layout_type.
13052         (Dispatch):
13053         (smartQuote):
13054         (insertInset):
13055         (workAreaButtonRelease): layout as string
13056
13057         * BufferView2.C (unlockInset): adjust
13058
13059         * vspace.C (asLatexCommand): use an explict temp variable.
13060
13061 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13062
13063         * Makefile.am: use FRONTEND_*
13064
13065 2002-03-01  Juergen Vigna  <jug@sad.it>
13066
13067         * tabular.C (SetWidthOfMulticolCell): changed to something better
13068         I hope but still work in progress.
13069         (recalculateMulticolumnsOfColumn): renamed function from
13070         recalculateMulticolCells as it is more appropriate now.
13071         (SetWidthOfCell): calculate multicols better.
13072
13073 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13074
13075         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13076
13077         * lyxfunc.C (processKeySym): print sequence also if it is
13078         `deleted' (complete)
13079
13080         * kbsequence.C (print): print sequence even if it is deleted
13081         (complete would be a better word, actually).
13082
13083         * lyxfunc.C (dispatch): print complete options after a prefix key
13084
13085         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13086
13087 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13088
13089         * text2.C (setCharFont): eliminate setCharFont code duplication.
13090
13091 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13092
13093         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13094         LFUN_TABULAR_FEATURE (bug #177)
13095
13096 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13097
13098         * Makefile.am: remove figure.h
13099
13100 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13101
13102         * Bufferview_pimpl.C:
13103         * CutAndPasteC:
13104         * LaTeX.C:
13105         * LyXSendto.C:
13106         * buffer.C:
13107         * bufferlist.C:
13108         * converter.C:
13109         * language.C:
13110         * lyxfunc.C:
13111         * lyxvc.C:
13112         * paragraph.C:
13113         * text.C:
13114         * text2.C: remove #include "lyx_gui_misc.h".
13115
13116         * LaTeX.C: added #include <cstdio>
13117
13118 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13119
13120         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13121         that the paragraph following this one can have.
13122
13123         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13124
13125         * vspace.C (asLatexCommand): fix bogus gcc warning
13126
13127         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13128
13129 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13130
13131         * text2.C (setLayout): get rid of redundant code
13132
13133 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13134
13135         * text2.C (incDepth): make sure depth cannot be increased beyond
13136         reasonable values.
13137
13138 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13139
13140         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13141         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13142
13143         * PainterBase.h (image):
13144         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13145         a LyXImage const *.
13146
13147 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13148
13149         * BufferView.C:
13150         * BufferView.h:
13151         * BufferView_pimpl.C:
13152         * BufferView_pimpl.h:
13153         * LaTeXFeatures.C:
13154         * LyXAction.C:
13155         * LyXView.C:
13156         * Makefile.am:
13157         * UpdateList.h:
13158         * UpdateList.C:
13159         * buffer.C:
13160         * figure.h:
13161         * figureForm.C:
13162         * figureForm.h:
13163         * figure_form.C:
13164         * figure_form.h:
13165         * lyx_cb.C:
13166         * lyx_gui.C:
13167         * lyx_gui_misc.C:
13168         * lyxfunc.C:
13169         * sp_base.h:
13170         * sp_ispell.h:
13171         * sp_pspell.h:
13172         * sp_spell.C: remove fig inset, and the crap house of
13173           cards that follows it
13174
13175 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13176
13177         * Makefile.am:
13178         * lyxserver.C:
13179         * os2_defines.h:
13180         * os2_errortable.h:
13181         * nt_defines.h: move .h into support/
13182
13183         * vms_defines.h: remove
13184
13185         * WorkArea.C: add space in debug output
13186
13187         * text2.C:
13188         * paragraph.C:
13189         * buffer.C: add WITH_WARNINGS
13190
13191         * vc-backend.h:
13192         * vc-backend.C:
13193         * bufferlist.C: s/retrive/retrieve/, add docs
13194
13195         * vspace.h:
13196         * vspace.C:
13197         * kbmap.h:
13198         * lyxlength.h:
13199         * lyxgluelength.h:
13200         * length_common.h:
13201         * chset.h:
13202         * chset.C: add docs
13203
13204         * lyxgui.C: add ID to X error handler
13205
13206         * lyxtestclass.c: fix typo
13207
13208 2002-02-26  Juergen Vigna  <jug@sad.it>
13209
13210         * tabular_funcs.C (write_attribute): changed so that some default
13211         attributes are not written at all.
13212         (getTokenValue): set default values before trying to read the
13213         value so we have the return value always set as default if we don't
13214         find the token we search for.
13215
13216         * tabular.C (Write): write bools as bools not as strings!
13217
13218 2002-02-22  Juergen Vigna  <jug@sad.it>
13219
13220         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13221         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13222
13223         * text.C (leftMargin): don't add an indent for paragraphs inside
13224         tabular cells (fix #208).
13225
13226 2002-02-21  José Matos  <jamatos@fep.up.pt>
13227
13228         * tabular.C (docBook): fixed support for long tables.
13229
13230 2002-02-20  Juergen Vigna  <jug@sad.it>
13231
13232         * text2.C (getFont): get the drawing font of the Inset if this
13233         paragraph is inside an inset (only important for InsetERT for now).
13234
13235         * buffer.C (insertErtContents): use new lanugage params in ERT
13236         constructor.
13237
13238         * CutAndPaste.C: commenting out seemingly uneeded code.
13239
13240 2002-02-19  Allan Rae  <rae@lyx.org>
13241
13242         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13243         Iterators might be simple to use but they also get invalidated.
13244         (removeAutoInsets): renamed saved cursor tracking variables and added
13245         some comments to clarify what everything does.
13246
13247 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13248
13249         * Chktex.C:
13250         * LaTeX.C:
13251         * LyXSendto.C:
13252         * converter.C:
13253         * lyx_cb.C:
13254         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13255         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13256
13257         * lyxfunc.C:
13258         * vc-backend.h: remove #include "support/syscall.h"
13259
13260         * LaTeX.C:
13261         * LyXSendto.C:
13262         * converter.C: rearrange #includes in Lars' approved fashion.
13263
13264         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13265         forward declare class Timeout in the header file.
13266
13267         * XFormsView.C: changes due to the above.
13268
13269         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13270         similar to LyXView.
13271
13272         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13273         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13274
13275 2002-02-18  José Matos  <jamatos@fep.up.pt>
13276
13277         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13278         insets contents.
13279
13280 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13281
13282         * a lot of small ws changes
13283         * add a lot of using std::XXX
13284         * use std construcs some places where approp.
13285         * use some exisint stuff from lyxfunctional where approp.
13286         * Make file changes to use partial linking (lets test this now...)
13287
13288 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13289
13290         * Chktex.C:
13291         * buffer.C:
13292         remove #include "support/syscontr.h" as it's redundant. Always has been.
13293
13294         * Chktex.C:
13295         * LaTeX.C:
13296         * LyXSendto.C:
13297         * converter.C:
13298         * lyx_cb.C:
13299         * vc-backend.C:
13300         change Systemcalls::System to Systemcalls::Wait and
13301         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13302         No change of functionality, just reflects the stripped down Systemcalls
13303         class.
13304
13305 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13306
13307         * debug.[Ch]: add a GRAPHICS type to the enum.
13308
13309 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13310
13311         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13312
13313         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13314         there is an inset.
13315
13316 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13317
13318         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13319         match the changes below.
13320
13321         * text2.C (toggleInset): if there is not editable inset at cursor
13322         position, try to see if cursor is _inside_ a collapsable inset
13323         and close it.
13324
13325 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13326
13327         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13328         document menu has a nice checkbox
13329
13330 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13331
13332         * lyxlength.C (asLatexString): change PW to output as percent of
13333         \textwidth.
13334
13335         * lengthcommon.C: change '%' to 't%'
13336
13337         * lyxfunc.C (dispatch): a few comments from Martin
13338
13339 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13340
13341         * WorkArea.h:
13342         * WorkArea.C:
13343         * BufferView_pimpl.h:
13344         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13345           the X selection.
13346
13347 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13348
13349         * vspace.C (inPixels): fix compiler warning
13350
13351 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13352
13353         * lyxfunc.C (getStatus): fix status message for disabled commands.
13354
13355 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13356
13357         * BufferView_pimpl.C: fix crash on close buffer
13358         during selection (#227)
13359
13360 2002-01-27  Herbert Voss  <voss@lyx.org>
13361
13362         * buffer.C: link old Figure to new graphic inset
13363
13364 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13365
13366         * FontLoader.C (getFontinfo): Change the latex font names in order
13367         to match the names of type1inst.
13368
13369 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13370
13371         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13372
13373         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13374         (extchanged): ditto
13375         (ext_exist): ditto
13376         (remove_files_with_extension): ditto
13377         (remove_file): ditto
13378         (write): ditto
13379
13380         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13381         document is smaller than the work area height. Do not initialize
13382         static variables to 0.
13383
13384 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13385
13386         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13387
13388         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13389         LFUN_LAYOUT_PARAGRAPHS.
13390
13391         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13392         tabular. It is possible to provide a possible cell, which will
13393         typically be the actcell from the corresponding insettabular
13394
13395         * lyxfunc.C (getStatus): small cleanup; disable
13396         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13397         true
13398
13399 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13400
13401         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13402
13403         * paragraph.C (startTeXParParams):
13404         (endTeXParParams): new methods. The LaTeX code to
13405         start/end paragraph formatting
13406         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13407         empty (fixes bug #200)
13408
13409         * vspace.C (inPixels): adapt to the change below
13410         (inPixels): [later] more cleanups (remove unused variables)
13411
13412         * lyxlength.C (inPixels): change to use a width and a height as
13413         parameter.
13414
13415 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13416
13417         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13418         Replaced with \paperwidth
13419
13420         * DepTable.C (insert): add std:: qualifier
13421
13422 2002-01-18  Allan Rae  <rae@lyx.org>
13423
13424         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13425         updated also?
13426
13427         * text.C (drawInset): Turned out I didn't know enough about how
13428         rebreaking worked.  This fixes most of the redraw problems.  I see
13429         an occasional cursor trail when a line is broken now and the cursor
13430         placement can seem out by a few pixels also after a rebreak.
13431
13432 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13433
13434         * buffer.C (parseSingleLyXformat2Token): update because minipage
13435         width is now a LyXLength
13436
13437         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13438
13439         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13440         math insets
13441
13442 2002-01-17  Juergen Vigna  <jug@sad.it>
13443
13444         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13445
13446         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13447         is set correctly and the inset is updated correctly.
13448
13449 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13450
13451         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13452         the beginning of the loop.
13453
13454 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13455
13456         * lyxrc.C: improve help for use_scalable_fonts
13457
13458 2002-01-17  Allan Rae  <rae@lyx.org>
13459
13460         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13461
13462 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13463
13464         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13465         make sure to set their inset_owner to the right value (bug #171)
13466
13467 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13468
13469         * DepTable.h
13470         * DepTable.C: Implement mtime checking to reduce time spent doing
13471         CRCs.
13472
13473 2002-01-16  Juergen Vigna  <jug@sad.it>
13474
13475         * tabular.C (GetAdditionalHeight): one of error fixed.
13476
13477         * lyxrc.C (output): small fix in writing use_pspell.
13478
13479 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13480
13481         * sp_base.h: #include LString.h
13482
13483 2002-01-16  Allan Rae  <rae@lyx.org>
13484
13485         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13486         Can someone check this please?
13487
13488         * text.C (drawInset): It was possible that p.row would be removed by
13489         breakAgainOneRow upsetting a few other settings.  There may be another
13490         small tweak possible by setting need_break_row = 0 when p.row has been
13491         removed but I don't know enough about the logic here.
13492
13493 2002-01-15  Allan Rae  <rae@lyx.org>
13494
13495         * text.C (insertChar): removed conditional truism.
13496
13497         * BufferView2.C (removeAutoInsets): More tweaks.
13498         cur_par_prev could be a stray pointer.  Check for trailing empty line
13499         in case last line was cur_par and only had an error inset on it.
13500
13501 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13502
13503         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13504         absolute
13505
13506         * vc-backend.C (most methods):
13507         * exporter.C (Export):
13508         * converter.C (convert):
13509         (runLaTeX):
13510         * LyXSendto.C (SendtoApplyCB):
13511         * lyxfunc.C (dispatch):
13512         (menuNew):
13513         (open):
13514         (doImport):
13515         * lyx_cb.C (AutoSave):
13516         (InsertAsciiFile):
13517         * BufferView_pimpl.C (MenuInsertLyXFile):
13518         * buffer.C (runChktex): use Buffer::filePath().
13519
13520         * buffer.h: rename filename to filename_; rename filepath to
13521         filepath_ and make it private
13522         (filePath): new method
13523
13524         * buffer.C (writeFile): use fileName()
13525         (getLatexName):
13526
13527         * lyx_main.C (init): fix starting  of LyX when the binary is a
13528         link from so,ewhere else.
13529
13530         * minibuffer.C: include <cctype> for isprint
13531
13532 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13533
13534         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13535         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13536         name clash with InsetCollapsable's width function.
13537
13538 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13539
13540         * lastfiles.C: include <iterator>
13541
13542 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13543
13544         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13545         std::count.
13546
13547         * buffer.C (makeLaTeXFile): ditto.
13548         Also make loop operation more transparent.
13549
13550 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13551
13552         * ToolbarDefaults.C: remove trailing comma closing namespace.
13553
13554         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13555
13556         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13557         as in WorkArea.
13558
13559         * trans.C (Load): comment out unused variable, allowed.
13560
13561 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13562
13563         * minibuffer.[Ch] (append_char): new method to recieve input from the
13564         drop-down completion browser. If a key was pressed, then recieve this
13565         char and append it to the existing string.
13566         (peek_event): modify the positioning data passed to the completion
13567         browser so that it can be placed above the minibuffer rather than below.
13568 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13569
13570         * LyXAction.C (init): alloe error-next for readonly documents.
13571
13572         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13573         count.
13574
13575 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13576
13577         * bufferlist.C (readFile): create the buffer _after_ checking that
13578         the file exists.
13579
13580         * lyxfunc.C (verboseDispatch): fix handling of arguments
13581
13582         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13583
13584         * lyxrc.C: use string::erase() instead of initializing to "".
13585
13586
13587 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13588
13589         * BufferView_pimpl.h:
13590         * BufferView_pimpl.C:
13591         * WorkArea.h:
13592         * WorkArea.C:
13593         * text2.C: tell X when we have made a selection for copying
13594
13595 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13596
13597         * BufferView_pimpl.C (MenuInsertLyXFile):
13598         * lyxfunc.C (menuNew):
13599         (open):
13600         (doImport): add shortcuts to directory buttons
13601
13602         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13603         open a float)
13604
13605         * lyxfunc.C (setStatusMessage):
13606         (getStatusMessage): new methods
13607         (getStatus):use setStatusMessage instead of setErrorMessage
13608         (dispatch): when function is disabled, set error message here
13609         [instead of in getStatus previously]
13610
13611         * BufferView_pimpl.C (workAreaButtonRelease): update
13612         toolbar/menubar here too.
13613
13614 2002-01-13  Allan Rae  <rae@lyx.org>
13615
13616         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13617         Now seems indestructible.  Remaining task is to audit all other
13618         code affected by deleteEmptyParagraphMechanism.  One small quirk
13619         left is that an empty document with an error in the preamble can
13620         be made to report an error but no error box appears.  I don't know
13621         where it goes.
13622         (removeAutoInsets): Improved comments.
13623
13624 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13625
13626         * Thesaurus.h:
13627         * Thesaurus.C: update for Aiksaurus 0.14
13628
13629 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13630
13631         * text2.C (firstParagraph): removed member function, all uses
13632         replaces with ownerParagraph
13633         (redoParagraphs): here
13634         (updateInset): here
13635         (toggleAppendix): here
13636         * BufferView2.C (insertErrors): here
13637         (setCursorFromRow): here
13638
13639 2002-01-13  Allan Rae  <rae@lyx.org>
13640
13641         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13642         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13643         There is still a way to segfault this although you may have to do this
13644         multiple times: Have an InsetERT with an unknown command in it.
13645         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13646         <down-arrow>, <Enter> again, View->DVI, BANG!
13647
13648         * text2.C (setCursor):
13649         (deleteEmptyParagraphMechanism):
13650         * lyxtext.h (setCursor):
13651         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13652         Making use of the return value may help fix other bugs.
13653
13654 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13655
13656         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13657
13658         * LyXView.C (updateMenubar): call MenuBar::update here
13659         (updateToolbar): but not here
13660         (showState): do not update toolbar/menubar
13661
13662         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13663         should need to care about that.
13664
13665         * lyxfunc.C (verboseDispatch): simplify a bit
13666         (getStatus): have a version which takes a pseudoaction, and
13667         another which requires a (kb_action,string).
13668
13669         * LyXAction.C (retrieveActionArg): make it work also when action
13670         is not a pseudo-action.
13671         (getActionName): simplify a bit
13672         (helpText):
13673
13674 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13675
13676         * lyxfunc.C (verboseDispatch): new families of methods with
13677         several ways to specify a command and a bool to indicate whether
13678         the command name and shortcut should be displayed in minibuffer
13679         (eventually, we could extend that to a finer bitmask like
13680         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13681         (dispatch): the pristine dispatch command which just, well,
13682         dispatchs! Note it still sets its result to minibuffer; I'm not
13683         sure we want that.
13684
13685         * lyxfunc.h: remove setHintMessage
13686
13687         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13688
13689 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13690
13691         * BufferView_pimpl.C (specialChar): delete new inset if we have
13692         not been able to insert it.
13693
13694         * kbmap.C: revert to using int instead of kb_action, since all we
13695         are dealing with is pseudo-actions.
13696
13697         * LyXAction.C (searchActionArg): change to return int instead of
13698         kb_action, since the result is a pseudoaction.
13699
13700 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13701
13702         * buffer.C (insertErtContents): Fix (partially) the font bug.
13703
13704 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13705
13706         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13707         as the other one is broken on my machine!
13708
13709 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13710
13711         * commandtags.h:
13712         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13713
13714 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13715
13716         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13717         reflect their actual use. Provide compatibility code for older lyxrc
13718         files.
13719
13720         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13721         FL_NORMAL_STYLE.
13722         change names of popup font variables in line with the changes to lyxrc.C
13723
13724 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13725
13726         * buffer.C (asciiParagraph): avoid outputing a word twice after
13727         an inset.
13728
13729         * lyxrc.C (getDescription): document that document_path and
13730         template_path can be empty.
13731
13732 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13733
13734         * LaTeXFeatures.C (getMacros):
13735         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13736
13737         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13738
13739         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13740         getPackages.
13741         (getPackages): rename feature "floats" to "float". Use an array to
13742         iterate over 'simple' features (i.e. just a \usepackage). Add
13743         handling of "amsmath" (renamed from "amsstyle").
13744
13745 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13746
13747         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13748         features list.
13749
13750 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13751
13752         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13753         FuncStaus::FuncStatus & FuncStaus::some_method().
13754
13755 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13756
13757         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13758         of the func_satus stuff. Edited and massaged in various ways by
13759         JMarc.
13760
13761         * lyxfunc.C (getStatus): use FuncStatus
13762
13763 2002-01-08  Juergen Vigna  <jug@sad.it>
13764
13765         * text.C (nextBreakPoint): use function Inset::isChar().
13766
13767         * paragraph.C (TeXOnePar): use function
13768         Inset::forceDefaultParagraphs.
13769
13770         * buffer.C (latexParagraphs): use function
13771         Inset::forceDefaultParagraphs.
13772
13773 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13774
13775         * lyx_gui.C (init): set the style of the menu popups to
13776         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13777
13778 2002-01-07  Juergen Vigna  <jug@sad.it>
13779
13780         * text.C (setHeightOfRow): small fix
13781         (prepareToPrint): don't look at alignment if we don't have the place
13782         for doing it.
13783
13784 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13785
13786         * box.C: New file. Move the Box methods and functions out of box.h,
13787         following Lars' suggestion.
13788
13789 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13790
13791         * box.h: #include "support/LOstream.h", needed for inlined function.
13792
13793         * lyxtextclass.C:
13794         * lyxtextclasslist.C: added some using std declarations.
13795
13796 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13797
13798         * box.h: make signed dimensions to allow insets wider than
13799           the screen (bug #162)
13800
13801         * BufferView_pimpl.C: add some insetHit debug
13802
13803 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13804
13805         * vc-backend.C: add FIXME
13806
13807 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13808
13809         * lyxfunc.C (getStatus): enable code for showing math font status
13810         in toolbar/menu.
13811
13812 2002-01-07  Juergen Vigna  <jug@sad.it>
13813
13814         * text.C (nextBreakPoint): removed debug output not needed anymore.
13815
13816 2002-01-06  Juergen Vigna  <jug@sad.it>
13817
13818         * text.C (nextBreakPoint): fixed up this function we had this bug
13819         since ever but now hopefully we break row better.
13820         (insertChar): we have to check if an inset is the next char as it
13821         could now happen that a large inset is causing a break.
13822
13823 2002-01-05  Juergen Vigna  <jug@sad.it>
13824
13825         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13826         if it doesn't like to be drawed.
13827
13828 2002-01-04  Juergen Vigna  <jug@sad.it>
13829
13830         * BufferView2.C (lockInset): forgot to set a cursor.
13831
13832         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13833
13834 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13835
13836         * FormMathsPanel.C:
13837         * FormMathsPanel.h
13838         * MathsSymbols.C:
13839         * form_maths_panel.C:
13840         * form_maths_panel.h:
13841         * form_maths_panel.fd: implemented sub- and super- buttons in math
13842         panel.
13843
13844         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13845         (or ^ space) to be used as in TeX (req'd by André).
13846
13847         * lyxfunc.C: Allow ^ and _ again to be used both as
13848         super/subscript (mathed) and as themselves (in text).
13849
13850 2002-01-03  Allan Rae  <rae@lyx.org>
13851
13852         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13853         "LyX" or the filename of the current buffer if it has one.  This is a
13854         modified form of John Levon's patch.
13855
13856         * XFormsView.C (setWindowTitle): also set icon title.
13857
13858         * LyXView.h (setWindowTitle): signature changed.
13859         * XFormsView.h (setWindowTitle): ditto.
13860
13861 2002-01-02  Juergen Vigna  <jug@sad.it>
13862
13863         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13864
13865 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13866
13867         * screen.C (topCursorVisible): introduce a temp var for
13868         text->cursor.row(), handle the case where this row is null. (kindo
13869         hachish)
13870
13871         * text2.C (setCursor): add a couple of asserts.
13872
13873         * paragraph.h (inset_iterator): add -> operator
13874
13875         * paragraph.[Ch] (autoDeleteInsets): remove member function
13876
13877         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13878         cursor pos correctly and handle inset deletion by itself.
13879         (insertErrors): move iterator declaration out of for expression
13880
13881         * lyxtextclass.C: add <algorithm>
13882
13883         * Makefile.am: added the new files to sources, removed layout.C
13884
13885         * layout.C: removed file
13886
13887         * layout.h: remove LYX_DUMMY_LAYOUT
13888
13889         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13890         layout.
13891
13892         * lyxlayout.[Ch]:
13893         * lyxtextclass.[Ch]:
13894         * lyxtextclasslist.[Ch]: new files
13895
13896         * include order changes to a lot of files, also changes because of
13897         the six new files.
13898
13899 2001-12-27  Juergen Vigna  <jug@sad.it>
13900
13901         * buffer.C (asciiParagraph): more fixes.
13902
13903         * tabular.C (ascii): make ascii export support export of only the
13904         data separated by a column-delimiter.
13905         (ascii): better support for ascii export.
13906
13907         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13908
13909 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13910
13911         * tabular_funcs.C: use a "using std::getline" instead of the
13912         previous fix from Angus (necessary for cxx + lyxstring)
13913
13914 2001-12-24  Juergen Vigna  <jug@sad.it>
13915
13916         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13917
13918         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13919         problems. First check a minipage also if we have some ert-contents
13920         (not only on par->size(), second set the right depth of the paragraph
13921         on the relink to the root-paragraph-list!
13922
13923         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13924         which then did not anymore update the main paragraphs on undo/redo!
13925
13926 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13927
13928         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13929         code. Support all font-changing funcs (even those which are not in
13930         menu currently). Support for reporting font settings in
13931         mathed (disabled until Andre provides a function on mathed's side).
13932
13933         * func_status.h (toggle): small helper function to set toggle
13934         state on a flag.
13935
13936 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13937
13938         * tabular_funcs.C: getline -> std::getline
13939
13940 2001-12-21  Juergen Vigna  <jug@sad.it>
13941
13942         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13943         accessed and could be 0 (I couldn't generate this but it seems
13944         Michael could!).
13945
13946 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13947
13948         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13949         * tabular_funcs.h: here and include iosfwd
13950
13951 2001-12-20  Juergen Vigna  <jug@sad.it>
13952
13953         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13954         inside inset but undo_par was.
13955
13956 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13957
13958         * Thesaurus.C: always include <config.h> in sources.
13959
13960         * Painter.h:
13961         * lyxlookup.h:
13962         * box.h: do not include <config.h> in header files
13963
13964         * text.C (paintLastRow): remove unused variable
13965
13966         * text.C (transformChar):
13967         (insertChar):
13968         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13969
13970         * Painter.C (text):
13971         * font.C (width): rewrite to use uppercase() instead of
13972         islower/toupper.
13973
13974         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13975
13976 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13977
13978         * lyxfind.C: clean up of find failure position change
13979
13980 2001-12-20  Juergen Vigna  <jug@sad.it>
13981
13982         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13983
13984         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13985         (TeXRow): added to LaTeX a single tabular row.
13986         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13987         (Latex): simplified and finally good LT-h/f support.
13988         (various_functions): just small adaptions for LT-h/f support.
13989
13990         * tabular_funcs.[hC]: added and moved here all not classfunctions
13991         of LyXTabular.
13992
13993 2001-12-19  Juergen Vigna  <jug@sad.it>
13994
13995         * tabular.[Ch]: better support for longtabular options (not finished
13996         yet!)
13997
13998 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13999
14000         * text.C (paintLastRow): use the label font instead of the font of
14001         the last character to compute the size of *_BOX. This makes more
14002         sense and avoids a crash with empty paragraphs.
14003         Use Painter::rectangle to draw EMPTY_BOX.
14004
14005 2001-12-19  Juergen Vigna  <jug@sad.it>
14006
14007         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14008         the paragraphs if the replaced paragraph is not the first one!
14009         Tried to delete not used paragraphs but does not work yet so for
14010         now it's inside #ifdef's and by default off!
14011
14012 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14013
14014         * MenuBackend.C: include "lyx_main.h" instead of declaring
14015         lastfiles (actually was declared as LastFiles* instead of a
14016         scoped_ptr).
14017
14018 2001-12-17  Juergen Vigna  <jug@sad.it>
14019
14020         * tabular.C (AppendColumn): applied John's fix
14021
14022 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14023
14024         * BufferView.h:
14025         * BufferView.C:
14026         * BufferView_pimpl.h:
14027         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14028
14029         * Makefile.am:
14030         * box.h: new start of class for above
14031
14032         * lyxfunc.C: ignore space-only minibuffer dispatches.
14033           Show the command name when it doesn't exist
14034
14035         * minibuffer.C: don't add empty lines to the history
14036
14037         * minibuffer.C: add a space on dropdown completion
14038
14039 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14040
14041         * text.C: fix line above/below drawing in insets
14042
14043 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14044
14045         * lyxlength.C (LyXLength): Initialize private variables.
14046
14047 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14048
14049         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14050         when inserting error insets.
14051
14052 2001-12-13  Juergen Vigna  <jug@sad.it>
14053
14054         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14055         actually sometimes the before-paragraph.
14056         (setUndo): don't clear the redostack if we're not actually undoing!
14057
14058 2001-12-06  Juergen Vigna  <jug@sad.it>
14059
14060         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14061         and fixed redoing of main paragraph, so we can use it now ;)
14062
14063         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14064
14065 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14066
14067         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14068         Juergen's request
14069
14070 2001-12-13  André Pönitz <poenitz@gmx.net>
14071
14072         * undostack.[Ch]:
14073         * undo_func.C: minor cleanup
14074
14075 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14076
14077         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14078         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14079         font in urw-fonts package which is marked as -urw-fontspecific and
14080         does not work (incidentally, changing the encoding in the
14081         fonts.dir of this package to -adobe-fontspecific fixes the
14082         problem).
14083
14084         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14085         is a crash when undoing first paragraph (Juergen, please take a
14086         look). THis does not mean the undo fix is wrong, just that it
14087         uncovers problems.
14088
14089         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14090         the (Paragraph*) version when needed instead of duplicating the
14091         code.
14092
14093         * text.C (workWidth): use Inset::parOwner to find out where the
14094         inset has been inserted. This is a huge performance gain for large
14095         documents with lots of insets. If Inset::parOwner is not set, fall
14096         back on the brute force method
14097
14098         * paragraph_pimpl.C (insertInset):
14099         * paragraph.C (Paragraph):
14100         (cutIntoMinibuffer): set parOwner of insets when
14101         inserting/removing them
14102
14103         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14104
14105 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14106
14107         * commandtags.h:
14108         * LyXAction.C:
14109         * lyx_main.C:
14110         * lyxfunc.C:
14111         * mathed/formulabase.C:
14112         * mathed/math_cursor.[Ch]:
14113         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14114
14115
14116 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14117
14118         * lyxlength.[Ch] (operator!=): new function
14119
14120 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14121
14122         * text.C (workWidth): use Inset::parOwner to find out where the
14123         inset has been inserted. This is a huge performance gain for large
14124         documents with lots of insets. If Inset::parOwner is not set, fall
14125         back on the brute force method
14126
14127         * paragraph_pimpl.C (insertInset):
14128         * paragraph.C (Paragraph):
14129         (cutIntoMinibuffer): set parOwner of insets when
14130         inserting/removing them
14131
14132         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14133
14134 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14135
14136         * tabular-old.C (getTokenValue):
14137         * tabular.C (getTokenValue):
14138         (write_attribute): new versions for LyXLength
14139         (everywhere): adjust the use of widths
14140
14141         * tabular.h: change the type of widths from string to LyXLength
14142
14143 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14144
14145         * paragraph.C: fixed missing line number count when exporting
14146         Environments to LaTeX file
14147
14148         * buffer.C: added informational message for checking line numbers.
14149
14150 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14151
14152         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14153         paragraph, do the 'double space' part, but not the 'empty
14154         paragraph' one.
14155
14156         * text.C (workWidth): small optimization
14157         (getLengthMarkerHeight): use minimal size for negative lengths.
14158
14159 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14160
14161         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14162
14163         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14164
14165 2001-12-11  André Pönitz <poenitz@gmx.net>
14166
14167         * FontLoader.C:
14168         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14169
14170 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14171
14172         * text2.C: keep selection on a setFont()
14173
14174 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14175
14176         * lyx_cb.C: another bv->text misuse, from insert label
14177
14178 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14179
14180         * kbsequence.h:
14181         * kbsequence.C: re-instate nmodifier mask
14182
14183 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14184
14185         * lyx_main.h: make lyxGUI private.
14186
14187 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14188
14189         * lyxfind.C: place the cursor correctly on failed search
14190
14191 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14192
14193         * text.C (getLengthMarkerHeight): for small heights, the arrows
14194         are not always on top/bottom of the text
14195         (drawLengthMarker): smaller arrows; take the left margin in
14196         account; draw also vfills.
14197         (paintFirstRow):
14198         (paintLastRow): remove special code for vfill and standard spaces,
14199         since everything is handled in drawLengthMarker now.
14200
14201 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14202
14203         * buffer.C (insertErtContents): try to handle font and language
14204         interaction a bit better.g
14205
14206         * ColorHandler.C (updateColor): change the hash to cover the whole
14207         LColor enum, ws cleanup
14208         (getGCLinepars): ditto
14209         (getGCLinepars): only lookup in the linecache once.
14210
14211 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14212
14213         * iterators.C (operator++): Make the iterator more robust
14214
14215         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14216         (John's patch)
14217         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14218
14219 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14220
14221         * lyxtext.h:
14222         * text.C: better added space drawing
14223
14224 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14225
14226         * LyXView.C:
14227         * BufferView2.C: fix layout combo update on inset unlock
14228
14229 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14230
14231         * Makefile.am: don't compile unused files
14232
14233 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14234
14235         * lyxfunc.C:
14236         * commandtags.h:
14237         * LyXAction.C: remove old LFUN_LAYOUTNO
14238
14239 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14240
14241         * paragraph_pimpl.h:
14242         * paragraph_pimpl.C: isTextAt() doesn't need font param
14243
14244 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14245
14246         * lyxlex.h:
14247         * lyxlex.C: little cleanup
14248
14249 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14250
14251         * BufferView_pimpl.C: fix insertAscii for insets
14252
14253 2001-12-05  Juergen Vigna  <jug@sad.it>
14254
14255         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14256         set the right font on the "multi" paragraph paste!
14257
14258 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14259
14260         * trans_decl.h:
14261         * trans_mgr.[Ch]:
14262         * trans.[Ch]:
14263         * lyxgluelength.C:
14264         * lyxlength.C: remove out-commented code.
14265
14266         * BufferView_pimpl:
14267         * CutAndPaste.C:
14268         * DepTable.C:
14269         * buffer.C:
14270         * chset.C:
14271         * lastfiles.C:
14272         * lyxlex.C:
14273         * lyxlex_pimpl.C:
14274         * lyxserver.C:
14275         * screen.C:
14276         * tabular-old.C:
14277         * tabular.C:
14278         * text.C:
14279         * trans_mgr.C:
14280         * vc-backend.C: change "while(" to "while ("
14281
14282         * lyxlength.[Ch]: add zero function to check if length is zero or
14283         not
14284         * lyxgluelength.C: use it
14285
14286 2001-12-05  Allan Rae  <rae@lyx.org>
14287
14288         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14289         Works for 2.95.3, from what I understand of Garst's reports this should
14290         work for other g++ versions.  We're screwed if the abs(int) definition
14291         changed between bugfix releases of gcc.
14292
14293 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14294
14295         * text.C: fix chapter label offset !
14296
14297 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14298
14299         * lyxtext.h:
14300         * text.C: fix hfill at end of line, clean up
14301
14302 2001-12-04  Juergen Vigna  <jug@sad.it>
14303
14304         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14305         that we force an update of the inset and it's owners if neccessary.
14306
14307 2001-12-03  Juergen Vigna  <jug@sad.it>
14308
14309         * text.C (rowLast): simplified code
14310
14311 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14312
14313         * lyxfunc.C: fix show options on timeout
14314
14315 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14316
14317         * screen.C (topCursorVisible): scroll half a page when the cursor
14318         reached top of bottom of screen
14319
14320 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14321
14322         * minibuffer.C: deactivate on loss of focus
14323
14324 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14325
14326         * vspace.[Ch] (operator!=): add operator.
14327
14328 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14329
14330         * BufferView_pimpl.C: refuse to open an inset when
14331         there's a selection.
14332
14333 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14334
14335         * BufferView_pimpl.C: allow to click on RHS of full row insets
14336
14337 2001-11-30  Juergen Vigna  <jug@sad.it>
14338
14339         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14340         insets for undo reasons.
14341
14342 2001-11-28  André Pönitz <poenitz@gmx.net>
14343
14344         * vspace.[Ch]: cosmetical changes
14345
14346 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14347
14348         * LyXAction.h:
14349         * LyXAction.C:
14350         * lyxfunc.h:
14351         * lyxfunc.C:
14352         * kbmap.h:
14353         * kbmap.C:
14354         * lyxrc.C:
14355         * kbsequence.h:
14356         * kbsequence.C: part re-write of old kb code
14357
14358         * Painter.C:
14359         * WorkArea.C: remove Lgb_bug_find_hack
14360
14361 2001-11-30  José Matos <jamatos@fep.up.pt>
14362
14363         * buffer.C (makeDocBookFile): add a comment to point a hack.
14364         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14365         Fixed a double write of labels.
14366
14367 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14368
14369         * LaTeX.C:
14370         * LaTeX.h Fixed bug in LaTeX class where it would not
14371         re-run latex if no depfiles were changed, but the .dvi was removed.
14372
14373 2001-11-28  André Pönitz <poenitz@gmx.net>
14374
14375         * all the files from the change on 2001/11/26:
14376         use lyx::layout_type instead of LyXTextClass::size_type
14377         use lyx::textclass_type instead of LyXTextClassList::size_type
14378
14379 2001-11-29  Juergen Vigna  <jug@sad.it>
14380
14381         * text.C: added support for paragraph::isFreeSpacing()
14382
14383         * buffer.C: same as above
14384
14385         * paragraph.h: inserted isFreeSpacing() function to enable
14386         FreeSpacing inside InsetERT.
14387
14388         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14389         of the paragraph's in the cut/copy buffer to 0!
14390
14391         * text2.C (removeRow): remove the assert as it can!
14392
14393         * lyxtext.h: added helper function firstRow returning firstrow and
14394         made firstrow private again.
14395
14396         * BufferView2.C (lockInset): don't relock if we're already locked!
14397
14398         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14399         the only paragraph.
14400         (removeRow): added Assert::(firstrow)
14401
14402         * debug.C: forgot to add INSETTEXT here.
14403
14404 2001-11-28  Juergen Vigna  <jug@sad.it>
14405
14406         * sp_spell.C (initialize): changed error text to more general
14407         spellchecker command use (not only ispell!)
14408
14409         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14410
14411         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14412
14413 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14414
14415         * vspace.C: initialise lyxgluelength on failure
14416
14417 2001-11-28  Allan Rae  <rae@lyx.org>
14418
14419         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14420         declaration & definition that looks like a function declaration.
14421
14422 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14423
14424         * BufferView2.C (copy):
14425         (copyEnvironment): do not clear the selection when doing a copy.
14426
14427         * text.C (paintFirstRow): compilation fix
14428
14429 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14430
14431         * tabular.C (Latex): correct line count when writing latex.
14432
14433 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14434
14435         * paragraph_pimpl.h:
14436         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14437           bug a bit
14438
14439 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14440
14441         * text.C:
14442         * LColor.h:
14443         * LColor.C: change vfillline->added_space
14444
14445         * text.C: add markers and text for added space
14446
14447         * vspace.C: fix comment
14448
14449 2001-11-28  André Pönitz <poenitz@gmx.net>
14450
14451         * paragraph.C: whitespace changes
14452         * all the other files from the change on 2001/11/26:
14453         change *::pos_type into lyx::pos_type
14454
14455 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14456
14457         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14458         language of the document when inserting error insets.
14459
14460 2001-11-26  André Pönitz <poenitz@gmx.net>
14461
14462         * BufferView_pimpl.[Ch]:
14463         *       CutAndPaste.C:
14464         * buffer.[Ch]:
14465         * lyxcursor.[Ch]:
14466         * lyxfind.C:
14467         * lyxfunc.C:
14468         * lyxrow.[Ch]:
14469         * paragraph.[Ch]:
14470         * paragraph_pimpl.[Ch]:
14471         * sp_spell.C:
14472         * text.C:
14473         * text2.C: reduce header dependencies, introduce type for positions
14474
14475 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14476
14477         * <various>: change to use Alert.h
14478
14479 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14480
14481         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14482         when encountering an unknown token.
14483         (readLyXformat2): Show an error message if there were unknown tokens.
14484
14485 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14486
14487         * BufferView2.C:
14488         * BufferView_pimpl.C:
14489         * buffer.C:
14490         * paragraph.h:
14491         * text.C:
14492         * text2.C: use par->isInset()
14493
14494 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14495
14496         * paragraph_pimpl.h:
14497         * paragraph_pimpl.C: cleanup
14498
14499 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14500
14501         * text2.C (removeRow):
14502         * text.C (setHeightOfRow): remove useless (and costly) call to
14503         getRow.
14504
14505 2001-11-20  Allan Rae  <rae@lyx.org>
14506
14507         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14508         Now need Inset*::checkInsertChar() to return true for appropriate
14509         cases so that the characters in the minibuffer will actually be
14510         inserted.
14511
14512 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14513
14514         * text.C: change the order of the includes.
14515         (workWidth): initialize it at once.
14516         (workWidth): make maxw unsigned
14517         (setHeightOfRow): remove unused variable (inset)
14518         (selectSelectedWord): remove unused variable (inset)
14519         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14520
14521 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14522
14523         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14524         server is not running.
14525         (openConnection):
14526         (closeConnection): add debug info when server is disabled.
14527
14528         * ColorHandler.C (getGCForeground): send debug message to GUI
14529         channel.
14530
14531         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14532
14533         * kbmap.C (bind): modify because return conventions of
14534         kb_sequence::parse have changed.
14535
14536         * kbsequence.C (parse): only ignore spaces and not any stupid
14537         control character. This avoids tests like s[i] <= ' ', which are
14538         guaranteed to fail with 8bit characters and signed chars.
14539         Change return code to string::npos when there have been no error
14540         (0 was a bad idea when error is at first character)
14541
14542 2001-11-14  José Matos  <jamatos@fep.up.pt>
14543
14544         * buffer.h:
14545         * buffer.C (simpleDocBookOnePar): removed unused argument.
14546
14547 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14548
14549         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14550         insets which are part of a word. Paragraph::isLetter takes care of
14551         that now. Use Paragraph::isInset to identify insets.
14552         (selectSelectedWord): do not test for hyphenation break.
14553
14554         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14555         that protected spaces are considered as spaces.
14556
14557         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14558         Inset::isLetter.
14559
14560 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14561
14562         * lyxserver.h:
14563         * lyxserver.C: fix it. and small cleanup.
14564
14565 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14566
14567         * BufferView_pimpl.C: use inline helpers
14568
14569         * LaTeXFeatures.h:
14570         * LaTeXFeatures.C: fix typos
14571
14572         * Spacing.h:
14573         * Spacing.C: move spacing_string into class
14574
14575         * ToolbarDefaults.C: move stuff into namespace anon
14576
14577         * layout.h: update enum
14578
14579         * lyxfunc.C: use better debug
14580
14581         * minibuffer.h: fix typo
14582
14583         * debug.h:
14584         * debug.C:
14585         * WorkArea.C: add and use Debug::WORKAREA
14586
14587         * lyxtext.h:
14588         * text.C:
14589         * text2.C: code re-organisation, inline helpers
14590
14591 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14592
14593         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14594         std::vector.empty().
14595
14596 2001-11-09  Allan Rae  <rae@lyx.org>
14597
14598         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14599         '\n's after tables.  Tabular and ERT inset work now makes this no
14600         longer necessary.
14601
14602 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14603
14604         * minibuffer.h:
14605         * minibuffer.C: fix crash, improve drop-down completion
14606
14607 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14608
14609         * lyxserver.h:
14610         * lyxserver.C: invalidate fd's when doing endPipe()
14611
14612 2001-11-08  José Matos  <jamatos@fep.up.pt>
14613
14614         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14615         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14616
14617         * paragraph.h:
14618         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14619
14620 2001-11-07  José Matos  <jamatos@fep.up.pt>
14621
14622         * buffer.h:
14623         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14624         const qualifier.
14625
14626         * buffer.C (sgmlOpenTag):
14627         * buffer.C (sgmlCloseTag): removed debug info.
14628
14629         * buffer.h (sgmlOpenTag):
14630         * buffer.h (sgmlCloseTag): made public.
14631
14632 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14633
14634         * buffer.C (saveParamsAsDefaults):
14635         * lyx_cb.C (MenuLayoutSave): remove
14636
14637         * LyXAction.C (init):
14638         * commandtags.h:
14639         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14640
14641 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14642
14643         * buffer.C (setPaperStuff): removed from here...
14644
14645         * bufferparams.C (setPaperStuff): ... and moved there.
14646
14647 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14648
14649         * minibuffer.h:
14650         * minibuffer.C:
14651         * XFormsView.C: add support for drop-down completion
14652
14653 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14654
14655         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14656         commands.
14657
14658 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14659
14660         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14661         disabled.
14662
14663 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14664
14665         * lyx_main.C: change ref to known bugs
14666
14667 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14668
14669         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14670         to work around older babel problems.
14671
14672 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14673
14674         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14675
14676 2001-10-24  Juergen Vigna  <jug@sad.it>
14677
14678         * tabular-old.C (ReadOld): below variable changes reflected.
14679
14680         * tabular.[Ch]: added ltType struct for longtable header/footer
14681         defines and changed all instances where they are used. Added
14682         future support for double top/bottom rows.
14683
14684 2001-10-24  José Matos  <jamatos@fep.up.pt>
14685
14686         * buffer.h (docbookHandleCaption):
14687         * buffer.C (docbookHandleCaption): removed unused function.
14688         (makeDocBookFile): moved docbook supported version to v4.1.
14689
14690 2001-10-24  José Matos  <jamatos@fep.up.pt>
14691
14692         * tabular.h:
14693         * tabular.C (docbookRow): new function to export docbook code of a row.
14694         (DocBook): now honors the longtable flags.
14695
14696 2001-10-23  José Matos  <jamatos@fep.up.pt>
14697
14698         * LaTeXFeatures.h:
14699         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14700         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14701
14702         * buffer.C (makeLinuxDocFile):
14703         (makeDocBookFile): reworked the preamble, more clean, and with
14704         support for lyx defined entities. Changed the document declaration
14705         to be more XML friendly.
14706
14707         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14708         if we need to output XML that should be done with a filter.
14709
14710 2001-10-22  Juergen Vigna  <jug@sad.it>
14711
14712         * sp_pspell.h (class PSpell): add alive function needed in the
14713         controller to see if the spellchecker could be started.
14714
14715 2001-10-22  Juergen Vigna  <jug@sad.it>
14716
14717         * buffer.C (insertStringAsLines): modify the font for inserting
14718         chars in certain conditions by calling checkInsertChar(font).
14719
14720 2001-10-19  Juergen Vigna  <jug@sad.it>
14721
14722         * text.C (workWidth): use getRow instead of wrong algorithm.
14723         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14724
14725 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14726
14727         * lyxserver.h:
14728         * lyxserver.C:
14729         * lyx_main.h:
14730         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14731
14732 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14733
14734         * text.C (workWidth): do not search for the exact row when
14735         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14736         optimization for big documents.
14737
14738 2001-10-18  Juergen Vigna  <jug@sad.it>
14739
14740         * text.C (workWidth): new function with added Inset * parameter.
14741
14742 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14743
14744         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14745
14746         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14747         change return type of getColumnNearX.
14748
14749
14750         * text.C (changeRegionCase): use uppercase/lowercase instead of
14751         toupper/tolower.
14752         (leftMargin):
14753         (rightMargin): simplify code by factoring out the uses of
14754         textclasslist.
14755         (labelFill):
14756         (numberOfHfills):
14757         (setHeightOfRow):
14758         (appendParagraph): use Paragraph::size_type
14759
14760 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14761
14762         * vspace.C (asLatexString): add a missing break
14763
14764 2001-10-15  Herbert Voss  <voss@perce.de>
14765
14766         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14767
14768 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14769
14770         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14771         is not available.
14772
14773 2001-10-10  André Pönitz <poenitz@gmx.net>
14774
14775         * lyxfunc.C: removed greek_kb_flag.
14776
14777 2001-10-10  Herbert Voss  <voss@perce.de>
14778
14779         * lyx_main.C: delete global string help_lyxdir.
14780
14781 2001-10-09  Herbert Voss  <voss@perce.de>
14782
14783         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14784
14785         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14786
14787         * lyx_main.C: added global string help_lyxdir.
14788
14789         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14790
14791 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14792
14793         * lyxrc.C (set_font_norm_type): support iso8859-4
14794
14795 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14796
14797         * LaTeX.C (deplog): add another regex for MikTeX
14798
14799 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14800
14801         * lyxrc.C (set_font_norm_type): support iso8859-3
14802
14803 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14804
14805         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14806
14807         * LaTeXFeatures.C: remove special case of french and index
14808
14809         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14810         before \begin{document}). This solves several incompatibilities.
14811
14812 2001-10-03  Garst Reese  <reese@isn.net>
14813
14814         * lyx_cb.C: change CheckTex error msg.
14815
14816 2001-10-03  José Matos  <jamatos@fep.up.pt>
14817
14818         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14819
14820 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * .cvsignore: update
14823
14824         * lyx_main.C (commandLineVersionInfo): use new style version info.
14825
14826         * buffer.C (writeFile):
14827         (makeLaTeXFile):
14828         (makeLinuxDocFile):
14829         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14830
14831         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14832
14833         * version.h: update to use stuff in version.C
14834
14835         * version.C.in: new file. Contains version information determined
14836         at compile time. This is a merging of version.h and
14837         version_info.h.in.
14838
14839 2001-10-03  Juergen Vigna  <jug@sad.it>
14840
14841         * BufferView_pimpl.C (update): don't change "dirty" status in
14842         updateInset call.
14843
14844 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14845
14846         * WorkArea.C (c-tor): re-position version string slightly.
14847
14848 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14849
14850         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14851         revert to previous code.
14852
14853         WorkArea.[Ch]: (show, destroySplash): methods removed.
14854
14855         WorkArea.C: rework code so that it's an amalgam of the codes before and
14856         after the splash screen was moved to WorkArea.
14857
14858 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14859
14860         * lyxrc.C (read):
14861         * vspace.C (inPixels):
14862         (lyx_advance):
14863         * kbmap.C (bind):
14864         * buffer.C (insertStringAsLines):
14865         (asciiParagraph): fix types to be large enough
14866
14867         * lyxlex_pimpl.h: change member status from short to int
14868
14869         * layout.h: fix type of endlabeltype
14870
14871         * kbmap.C (bind):
14872         * kbsequence.C (parse): change return type to string::size_type
14873
14874         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14875         variable
14876
14877         * Bullet.C (bulletSize):
14878         (bulletEntry): do not use short ints as parameters
14879
14880         * BufferView2.C (insertLyXFile): change a char to an int.
14881
14882         * WorkArea.C (WorkArea): remove unneeded floats in computation
14883
14884 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14885
14886         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14887
14888         * paragraph.C (asString): Do not ignore newline/hfill chars when
14889         copying to the clipboard.
14890
14891 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14892
14893         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14894         after a multi-line inset.
14895
14896 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14897
14898         * paragraph.C (validate): Set NeedLyXFootnoteCode
14899
14900 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14901
14902         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14903         and decrease-error to decrease.
14904
14905 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14906
14907         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14908         it more readable (should be equivalent)
14909
14910 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14911
14912         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14913
14914 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14915
14916         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14917         of a cursor (row, etc.) after a character has been deleted
14918         (deleteEmptyParagraphMechanism): call the method above on _all_
14919         cursors held by the LyXText when a double space has been
14920         detected/deleted.
14921
14922 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14923
14924         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14925         pixmap.
14926         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14927
14928         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14929         background. Use greyOut() and the new show() methods to toggle between
14930         the foreground and background. Add code to remove the splash after
14931         its initial showing.
14932
14933         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14934         (create_forms): no longer call Dialogs::showSplash.
14935
14936 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14937
14938         * .cvsignore: add version_info.h
14939
14940 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14941
14942         * version_info.h.in: new file
14943
14944         * Makefile.am: add version_info.h.in
14945
14946         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14947         version_info.h instead of VERSION_INFO
14948
14949 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14950
14951         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14952         The ERT inset now returns string().
14953
14954 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14955
14956         * lyxtext.h, text.C (selectNextWord): renamed as
14957         selectNextWordToSpellcheck.
14958
14959         * text.C (selectNextWordToSpellcheck): Modified to not select
14960         words inside an ERT inset.
14961
14962 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14963
14964         * lyx_cb.C (MenuLayoutSave): change a bit the question
14965
14966         * sp_base.h: include <sys/types.h>
14967
14968 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14969
14970         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14971
14972 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14973
14974         * several files: fix typos in user-visible strings
14975
14976 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14977
14978         * text2.C (pasteSelection): do not set the selection, since it
14979         will be cleared later. Actually, the intent was to fix the way the
14980         selection was set, but I figured rmoving the code was just as good.
14981
14982 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14983
14984         * FontLoader.C (available): Check if font is available without
14985         loading the font.
14986
14987 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14988
14989         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14990
14991 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14992
14993         * lyxrc.[Ch]: added display_graphics variable and associated code.
14994
14995 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14996
14997         * bufferparams.C (hasClassDefaults): new method. Returns true if
14998         the buffer parameters correspond to known class defaults
14999
15000 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15001
15002         * XFormsView.C (show): set minimum size to the main window.
15003
15004 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15005
15006         * text2.C (copySelection):
15007         (cutSelection):
15008         * lyxfind.C (LyXReplace):
15009         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15010         LyXText::selectionAsString.
15011
15012         * paragraph.C (asString): add "label" argument to the second form
15013
15014         * text2.C (selectionAsString): add "label" argument and pass it to
15015         Paragraph::asString.
15016
15017 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15018
15019         * lyx_main.C (commandLineHelp): remove version information
15020
15021 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15022
15023         * lyx_main.C: add -version commandline option
15024
15025 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15026
15027         * paragraph.h: make the optional constructor arg required instead.
15028         some modifications to other files because of this.
15029
15030         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15031
15032         * lyxserver.C (C_LyXComm_callback): make it static
15033
15034         * lyx_main.C (error_handler): make it static
15035
15036         * lyx_gui.C (LyX_XErrHandler): make it static
15037
15038         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15039
15040         * WorkArea.C: make the extern "C" methods static.
15041
15042         * Makefile.am (lyx_LDADD): simplify
15043
15044 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15045
15046         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15047         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15048
15049         * LyXAction.C (init):
15050         * lyxfunc.C (dispatch): associated code removal.
15051
15052 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15053
15054         * lyxfont.h (isSymbolFont): shut off warning
15055
15056         * text.C (setHeightOfRow):
15057         (getVisibleRow): fix crash with empty paragraphs which have a
15058         bottom line
15059
15060 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15061
15062         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15063         code.
15064
15065 2001-09-04  José Matos  <jamatos@fep.up.pt>
15066         * buffer.C
15067         * buffer.h
15068         * tabular.C (docbook): rename docBook method to docbook.
15069
15070 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15071
15072         * Makefile.am: add dependencies to main.o.
15073
15074 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15075
15076         * FontLoader.C (available): Return false if !lyxrc.use_gui
15077
15078 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15079
15080         * FontInfo.C (query):
15081         * converter.C (view):
15082         * importer.C (Import):
15083         * exporter.C (Export): Can not -> cannot.
15084
15085 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15086
15087         * BufferView_pimpl.C: allow to create index inset even if
15088           string is empty
15089
15090 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15091
15092         * buffer.C (getLists): replace boost::tie code with an explicit pair
15093         as boost::tie can break some compilers.
15094
15095         * iterators.h: Added a std:: declaration to the return type of
15096         ParIterator::size.
15097
15098 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15099
15100         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15101           case.
15102
15103 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15104
15105         * iterators.[Ch]: New files. Provide paragraph iterators.
15106
15107         * buffer.C (changeLanguage): Use paragraph iterators.
15108         (isMultiLingual): ditto
15109
15110         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15111
15112 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15113
15114         * FontLoader.C: Support for cmr font.
15115
15116 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15117
15118         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15119         (available): New method.
15120
15121         * FontInfo.C (getFontname): Use scalable fonts even when
15122         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15123         found.
15124
15125 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15126
15127         * converter.C (Formats::view): reverted! Incorrect fix.
15128
15129 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15130
15131         * converter.C (Formats::view): only output the -paper option
15132         if the dvi viewer is xdvi, thereby fixing bug #233429.
15133
15134 2001-08-23  Herbert Voss  <voss@perce>
15135
15136         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15137
15138 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15139
15140         * Spacing.h (Spacing): Set space to Default on in the default
15141         constructor.
15142
15143 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15144
15145         * vc-backend.h (RCS::versionString): add RCS to version
15146         (CVS::versionString): add CVS to version
15147
15148         * vc-backend.C (scanMaster): do not add CVS to version.
15149         (scanMaster): do not add RCS to version
15150
15151         * lyxvc.C (versionString): new method
15152
15153         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15154
15155 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15156
15157         * Spacing.C (set): initialize fval
15158
15159 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15160
15161         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15162         " or \.
15163
15164 2001-08-16  Juergen Vigna  <jug@sad.it>
15165
15166         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15167
15168 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15169
15170         * BufferView_pimpl.C:
15171         * figureForm.C:
15172         * lyxtext.h:
15173         * text2.C: setParagraph takes linespacing now
15174
15175 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15176
15177         * LyxAction.C: add internal LFUN_CITATION_INSERT
15178
15179         * LyXView.C: actually apply fix
15180
15181         * bufferlist.C: fix open non-existent file
15182
15183         * lyxfind.C: fix indentation
15184
15185         * lyxfunc.C: remove unneeded assert, fix typo
15186
15187 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15188
15189         * MenuBackend.C: use "Floatname List"
15190
15191 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15192
15193         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15194         when converting LaTeX layout to insetERT.
15195         Generate a non-collapsed float when reading old float
15196
15197 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15198
15199         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15200         ERT insets.
15201
15202 2001-08-13  Juergen Vigna  <jug@sad.it>
15203
15204         * text.C (fill): return 0 instead of 20 as this seems to be the more
15205         correct value.
15206
15207 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15208
15209         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15210         lyxrc.font_norm.
15211
15212 2001-08-13  Juergen Vigna  <jug@sad.it>
15213
15214         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15215         casesensitive off.
15216         (SearchBackward): comment out the unlocking of the inset_owner this
15217         should not be needed!
15218
15219 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15220
15221         * Many files: Remove inherit_language, and add latex_language
15222
15223         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15224         collapsible insets.
15225
15226 2001-08-10  Juergen Vigna  <jug@sad.it>
15227
15228         * text.C (prepareToPrint): fixed hfill-width in draw!
15229
15230         * BufferView2.C (selectLastWord): save the selection cursor as this
15231         now is cleared in the function LyXText::clearSelection!
15232
15233 2001-08-08  Juergen Vigna  <jug@sad.it>
15234
15235         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15236         BACKSPACE type functions.
15237
15238         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15239         is only cutted from the document but not put in the cut-buffer, where
15240         still the old stuff should be.
15241
15242         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15243
15244         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15245
15246         * tabular.C (SetWidthOfCell): fixed special case where the width
15247         was not updated!
15248         (LeftLine): handle '|' in align_special.
15249         (RightLine): ditto
15250         (LeftAlreadyDrawed): ditto
15251         (SetWidthOfCell): ditto
15252
15253 2001-08-07  Juergen Vigna  <jug@sad.it>
15254
15255         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15256
15257 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15258
15259         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15260         * lyxlex.[hC]: ditto
15261
15262 2001-08-06  Juergen Vigna  <jug@sad.it>
15263
15264         * text.C (getVisibleRow): fix up row clearing a bit.
15265
15266 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15267
15268         * minibuffer.C: make sure the X server sees the changes in the input.
15269
15270 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15271
15272         * paragraph.C (getFont): split into...
15273         (getLabelFont): this
15274         (getLayoutFont): and this
15275         * paragraph_pimpl.C (realizeFont): calling this
15276
15277         * text2.C (getFont): split into...
15278         (getLayoutFont): this
15279         (getLabelFont): and this
15280         (realizeFont): all three calling this
15281
15282         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15283         files where used.
15284
15285 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15286
15287         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15288
15289 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15290
15291         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15292         layouts from the Quote inset insertion.
15293
15294 2001-08-03  Juergen Vigna  <jug@sad.it>
15295
15296         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15297
15298         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15299         only if status not is already CHANGED_IN_DRAW (second level).
15300
15301         * text.C (draw): don't set the need_break_row when inside an
15302         InsetText LyXText.
15303
15304 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15305
15306         * buffer.C (parseSingleLyXformat2Token): handle more latex
15307         conversion cases.
15308
15309         * bufferview_funcs.[hC]: change function names to
15310         begin with small char, adjust other files.
15311
15312 2001-08-02  André Pönitz <poenitz@gmx.net>
15313
15314         * lyxfunc.C:
15315         BufferView_pimpl.C: remove broken special code for math-greek
15316
15317 2001-08-02  Juergen Vigna  <jug@sad.it>
15318
15319         * BufferView_pimpl.C (update): redone this function so that we
15320         update the text again if there was a CHANGE_IN_DRAW.
15321
15322         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15323         (drawFromTo): added a new internal bool which is used by draw() and
15324         redraw() function.
15325         (general): some cursor drawing problems fixed.
15326
15327 2001-08-01  Juergen Vigna  <jug@sad.it>
15328
15329         * lyxfind.C (LyXFind): fixed
15330         (SearchForward): ditto
15331         (SearchBackward): ditto
15332
15333         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15334         spurius drawing of the cursor in the main area.
15335
15336         * text2.C (status): small fix which could lead to a segfault!
15337         (clearSelection): remove unneeded BufferView param.
15338
15339 2001-08-01  André Pönitz <poenitz@gmx.net>
15340
15341         * lyxfunc.C: small change due to changed mathed interface
15342
15343 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15344
15345         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15346
15347 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15348
15349         * lyxfunc.c: fail gracefully if file doesn't exist
15350
15351         * LyXSendto.C:
15352         * buffer.C:
15353         * lyxfunc.C:
15354         * BufferView_pimpl.C: IsDirWriteable() proto changed
15355
15356         * LyXView.C: fix updateWindowTitle() to store the last title
15357
15358 2001-07-31  Juergen Vigna  <jug@sad.it>
15359
15360         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15361         the font (wrong since using of Paragraph::highestFontInRange).
15362
15363         * paragraph.C (highestFontInRange): added a default_size parameter.
15364
15365         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15366         (setHeightOfRow): reformat
15367
15368 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15369
15370         * converter.[hC] + affected files: move to (inital-char)lowercase
15371         function names.
15372
15373         * ParagraphParameters.C (ParagraphParameters): remove commented code
15374
15375         * PainterBase.[Ch]: remove commented code
15376
15377         * LaTeXFeatures.h: add "bool floats" for float.sty
15378
15379         * LaTeXFeatures.C (LaTeXFeatures): init floats
15380         (require): handle float
15381         (getPackages): do it with floats
15382
15383 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15384
15385         * BufferView_pimpl.C (Dispatch): improve handling of
15386         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15387
15388         * commandtags.h: #include lyxfont.h here temporarily to avoid
15389         keybinding bug.
15390
15391         * bufferlist.h: include LString.h here.
15392
15393 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15394
15395         * text2.C (getStringToIndex): new method.
15396
15397 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15398
15399         * *: Reduced header file dependencies all over.
15400
15401 2001-07-30  Baruch Even  <baruch@lyx.org>
15402
15403         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15404
15405 2001-07-29  Baruch Even  <baruch@lyx.org>
15406
15407         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15408
15409 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15410
15411         * ParameterStruct.h (endif): add a default constructor to make
15412         sure that all variables is initialized.
15413
15414         * ParagraphParameters.C (ParagraphParameters): adjust
15415
15416 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15417
15418         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15419         index; also, check that there is something to index, and that it
15420         does not span over several paragraphs.
15421         (doubleClick): use WHOLE_WORD_STRICT for double click.
15422
15423         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15424
15425         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15426         scheme.
15427
15428 2001-07-26  Baruch Even  <baruch@lyx.org>
15429
15430         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15431         an InsetFig figure, backwards compatible reading of old figure code.
15432
15433 2001-07-27  Juergen Vigna  <jug@sad.it>
15434
15435         * text2.C: font.realize function adaption.
15436
15437         * text.C (draw): add a warnings lyxerr text if needed.
15438
15439         * layout.C: font.realize function adaption.
15440
15441         * language.C: add inherit_language and implement it's handlings
15442
15443         * bufferview_funcs.C (StyleReset): remove language parameter from
15444         font creation (should be language_inherit now).
15445
15446         * bufferparams.C (writeFile): handle ignore_language.
15447
15448         * paragraph.C (getFontSettings): the language has to be resolved
15449         otherwise we have problems in LyXFont!
15450
15451         * lyxfont.C (lyxWriteChanges): added document_language parameter
15452         (update): removed unneeded language parameter
15453
15454         * paragraph.C (validate): fixed wrong output of color-package when
15455         using interface colors for certain fonts in certain environments,
15456         which should not seen as that on the final output.
15457
15458 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15459
15460         * BufferView_pimpl.C:
15461         * Thesaurus.h:
15462         * Thesaurus.C:
15463         * Makefile.am:
15464         * commandtags.h:
15465         * LyXAction.C: add thesaurus support
15466
15467         * lyxfind.h:
15468         * lyxfind.C: add "once" parameter, for thesaurus, to not
15469           move to the next match
15470
15471 2001-07-26  Juergen Vigna  <jug@sad.it>
15472
15473         * lyxfont.C (realize): honor ignore_language too!
15474         (resolved): ditto.
15475
15476         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15477
15478         * text.C (draw): one place more for ignore_language to not draw
15479         itself!
15480
15481 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15482
15483         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15484
15485 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15486
15487         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15488         the minipage conversion problem.
15489
15490 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15491
15492         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15493         insert an inset.
15494
15495 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15496
15497         * BufferView.h: don't forward declare WorkArea
15498
15499         * BufferView.C: don't include WorkArea.h
15500
15501 2001-07-25  André Pönitz <poenitz@gmx.net>
15502
15503         * commandtags.h:
15504         * LyXAction.C:
15505         * lyxfunc.C:  new LFUN 'math-space'
15506
15507         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15508
15509 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15510
15511         * text2.C (toggleInset): call open/close
15512
15513 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15514
15515         * lyxfunc.C (dispatch): add debug for the disabled case
15516
15517         * font.C (buttonText): make similar to rectText
15518
15519         * buffer.C (readInset): comment out parsing of insetlist and
15520         insttheorem
15521
15522         * PainterBase.C (rectText): small correction
15523
15524         * BufferView_pimpl.C: comment out insettheorem and insetlist
15525         * LyXAction.C: ditto
15526         * commandtags.h: ditto
15527
15528 2001-07-24  Juergen Vigna  <jug@sad.it>
15529
15530         * text.C (draw): honor the ignore_language.
15531
15532         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15533
15534 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15535
15536         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15537         char inset.
15538
15539 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15540
15541         * lyxtext.h: remove unused (and unimplemented) methods
15542
15543 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15544
15545         * text.C (getVisibleRow): honor background color
15546
15547         * PainterBase.h:
15548         * Painter.h: remove default color argument for fillRectangle
15549
15550         * text.C (backgroundColor): new method
15551
15552 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15553
15554         * text.C (getVisibleRow): adjust
15555
15556         * font.[Ch] (rectText): new method, metrics
15557         (buttonText): new method, metrics
15558
15559         * PainterBase.[hC]: make rectText and buttonText always draw and take
15560         fewer paramteres.
15561
15562 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15563
15564         * ToolbarDefaults.C (read):
15565         * MenuBackend.C (read): allow escaping in all strings
15566
15567         * BufferView_pimpl.C (insertAndEditInset): new method.
15568         (Dispatch): use insertAndEditInset whenever appropriate.
15569
15570         * BufferView_pimpl.C (insertNote): removed
15571
15572         * BufferView_pimpl.C (smartQuote): new method, moved from
15573         BufferView; if an insetquote cannot be inserted, insert a '"'
15574         character instead.
15575
15576         * BufferView2.C: remove insertCorrectQuote();
15577
15578         * lyxfunc.C (getStatus): Add support for all remaingin
15579         inset-insert lfuns.
15580
15581         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15582
15583         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15584         command (necessary to pass " as parameter of self-insert.
15585
15586         * text.C (selectWordWhenUnderCursor):
15587         (selectWord): add word_location parameter
15588         (selectWordWhenUnderCursor): same + remove special code for word
15589         boundary.
15590         (selectNextWord): use kind() to guess type of insetspecialchar,
15591         not latex().
15592
15593         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15594         (insertErtContents): create ert insets as collapsed.
15595         (readInset): better compatibility code for Info inset.
15596
15597 2001-07-20  Juergen Vigna  <jug@sad.it>
15598
15599         * lyxfunc.C (dispatch): use always LyXFind now!
15600
15601         * text2.C (init): add a reinit flag so that the LyXText can be
15602         reinited instead of deleted and reallocated (used in InsetText).
15603
15604         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15605
15606         * text.C: ditto
15607
15608         * text2.C: ditto
15609
15610 2001-07-18  Juergen Vigna  <jug@sad.it>
15611
15612         * text.C (selectNextWord): handle insets inside inset by calling
15613         always the bv->text functions so that we can go up the_locking_inset!
15614
15615         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15616         in strange locations when inside an inset!
15617
15618         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15619         handling to include insets.
15620
15621         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15622
15623 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15624
15625         * LyXAction.C (init):
15626         * commandtags.h:
15627         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15628         LIGATURE_BREAK, since the name is so stupid.
15629
15630 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15631
15632         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15633         InsetInfos.
15634
15635         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15636
15637         * sp_form.[Ch]: remove.
15638
15639         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15640
15641         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15642         InsetInfo.
15643
15644         * src/buffer.C (readInset): ditto.
15645
15646 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15647
15648         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15649         menuSeparator(), endOfSentenceDot(), ldots() and
15650         hyphenationPoint(), which are therefore removed.
15651         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15652
15653         * LyXAction.C (init):
15654         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15655
15656         * paragraph.C (getWord): removed.
15657
15658         * BufferView_pimpl.C (Dispatch): use last word or selection for
15659         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15660
15661         * lyx_main.C (queryUserLyXDir): do not ask before creating
15662         user_dir, except if it has been named explicitely.
15663
15664 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15665
15666         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15667         a document of zero size.
15668
15669 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15670
15671         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15672         approriately in the c-tor and in require().
15673         (getPackages): output the appropriate LaTeX for natbib support.
15674
15675         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15676         variables "use_natbib" and "use_numerical_citations" when reading the
15677         LyX file.
15678         (readInset): read the various natbib cite commands.
15679         (validate): white-space change.
15680
15681         * bufferparams.[Ch]: new variables "bool use_natbib" and
15682         "bool use_numerical_citations".
15683         (writeFile): output them in the LyX file.
15684
15685 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15686
15687         * lyxfunc.C (getStatus): add support for all the inset insertion
15688         commands.
15689
15690         * text2.C (insertInset):
15691         * paragraph.C (insetAllowed):
15692         * BufferView_pimpl.C (insertInset): update to take in account the
15693         renaming of insertInsetAllowed
15694
15695         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15696
15697         * text2.C (getInset): new method. returns inset at cursor position.
15698
15699         * BufferView_pimpl.C (Dispatch): changes because of this.
15700
15701         * LyXAction.C (init): rename open-stuff to inset-toggle.
15702
15703         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15704
15705         * text2.C (toggleInset): renamed from openStuff; use
15706         Inset::open().
15707
15708 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15709
15710         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15711
15712         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15713
15714 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15715
15716         * buffer.C (readLyXformat2): Add filename to the error dialog
15717
15718 2001-07-18  Juergen Vigna  <jug@sad.it>
15719
15720         * tabular.C (GetCellNumber): put an assert here instead of the check!
15721
15722 2001-07-17  Juergen Vigna  <jug@sad.it>
15723
15724         * BufferView_pimpl.C (toggleSelection): adapted too.
15725
15726         * text.C (selectNextWord): adapted for use with insets.
15727         (selectSelectedWord): ditto
15728
15729 2001-07-17  Juergen Vigna  <jug@sad.it>
15730
15731         * sp_spell.C (PSpell): fix initialitation order.
15732
15733 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15734
15735         * paragraph.C: spacing
15736
15737 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15738
15739         * sp_spell.C: repair language selection for pspell
15740
15741 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15742
15743         * lyxfunc.h: change more methods to begin with lower char.
15744
15745 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15746
15747         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15748         for unknown layouts.
15749
15750 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15751
15752         * buffer.C (readLyXformat2): Generate an error dialog if there are
15753         unknown layouts.
15754
15755 2001-07-16  Juergen Vigna  <jug@sad.it>
15756
15757         * sp_spell.C: always compile ISpell part.
15758
15759         * lyxrc.C: added use_pspell entry and it's handling.
15760
15761 2001-07-13  Juergen Vigna  <jug@sad.it>
15762
15763         * sp_spell.C: removed double includes.
15764
15765 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15766
15767         Consistent use of Lsstream.h:
15768         * Lsstream.h: added using std::stringstream for consistencies sake.
15769
15770         * buffer.C: removed using std::stringstream
15771
15772         * lyxfont.C (stateText):
15773         * paragraph.C (asString):
15774         * text.C (selectNextWord, selectSelectedWord):
15775         * text2.C (setCounter):
15776         * vspace.C (asString, asLatexString):
15777         std::ostringstream -> ostringstream.
15778
15779 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15780
15781         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15782         * commandtags.h: add LFUN_HELP_ABOUTLYX
15783         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15784
15785 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15786
15787         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15788         cursorToggle()
15789         * lyx_gui_misc.C: remove spellchecker
15790         * lyxfunc.C: showSpellchecker
15791         * sp_base.h: added
15792         * sp_ispell.h: added
15793         * sp_pspell.h: added
15794         * sp_spell.C: added
15795         * sp_form.[Ch]: removed
15796         * spellchecker.[Ch]: removed
15797
15798 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15799
15800         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15801         is set.
15802         (simpleTeXSpecialChars): Simply print the input character without
15803         any special translation if pass_thru is set.
15804
15805         * layout.h: Added bool pass_thru to layout class for being able to
15806         implement pass through of a paragraph for Literate Programming.
15807
15808         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15809         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15810         * layout.C (Read): add "passthru" to list of layout tags and add
15811         code to set the pass_thru boolean when it is read.
15812
15813 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15814
15815         * trans_decl.h: remove allowed from KmodInfo
15816
15817         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15818         remove allowed code
15819         (Load): adjust
15820
15821         * paragraph_pimpl.C (erase): use boost::prior
15822
15823         * Painter.C (text): use data() instead of c_str() when length is
15824         also provided.
15825         * WorkArea.C (putClipboard): ditto
15826         * font.h (width): ditto
15827
15828         * BufferView2.C: use it-> instead of (*it). for iterators
15829         * texrow.C: ditto
15830         * paragraph_pimpl.C: ditto
15831         * paragraph.C: ditto
15832         * minibuffer.C: ditto
15833         * language.C: ditto
15834         * kbmap.C: ditto
15835         * encoding.C: ditto
15836         * counters.C: ditto
15837         * converter.C: ditto
15838         * chset.C: ditto
15839         * Variables.C: ditto
15840         * TextCache.C: ditto
15841         * MenuBackend.C: ditto
15842         * LyXAction.C: ditto
15843         * LColor.C: ditto
15844         * FloatList.C: ditto
15845         * DepTable.C: ditto
15846         * ColorHandler.C (LyXColorHandler): ditto
15847
15848 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15849
15850         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15851
15852         * text2.C (openStuff): reintroduce this method (which had been
15853         nuked in NEW_INSETS frenzy).
15854
15855         * lyxfunc.C (Dispatch): when an action has not been handled, use
15856         its name in the error message, not its number.
15857
15858         * paragraph.C (inInset): change method name to begin with lowercase.
15859
15860         * undo_funcs.C:
15861         * text2.C: updates because of this.
15862
15863 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15864
15865         * ToolbarDefaults.C (add): add spaces in error message
15866
15867 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15868
15869         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15870         (readLyXformat2): rename return_par to first_par, use lyxlex's
15871         pushToken and remove the manual push handling.
15872         (parseSingleLyXformat2Token): add another ert comp. variable:
15873         in_tabular, rename return_par to first_par. handle newlines better
15874
15875 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15876
15877         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15878
15879 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15880
15881         * text2.C (getParFromID): removed
15882
15883         * buffer.C (getParFromID): new method moved form lyxtext.
15884         * BufferView2.C (insertErrors): adjust
15885         (setCursorFromRow): adjust
15886         * BufferView_pimpl.C (restorePosition): adjust
15887         * lyxfunc.C (Dispatch): adjust
15888         * undo_funcs.C (textUndo): adjust
15889         (textRedo): adjust
15890         (textHandleUndo): adjust
15891         (textHandleUndo): adjust
15892
15893 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15894
15895         * buffer.C: up' the LYX_FORMAT
15896
15897         * lyxfont.h: turn NO_LATEX on as default
15898
15899         * buffer.C (insertErtContents): new methods of tex style compability.
15900         (parseSingleLyXformat2Token): use it several places.
15901         * tabular.C (OldFormatRead): and here
15902
15903 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15904
15905         * text2.C: remove some commented code.
15906         reindent file.
15907
15908         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15909         * trans.C: changes because of the above.
15910
15911 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15912
15913         * text2.C (setCounter): Fix counters bug with bibliography layout.
15914
15915 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15916
15917         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15918         own member functions
15919         (simpleTeXSpecialChars): ditto
15920
15921 2001-07-06  Juergen Vigna  <jug@sad.it>
15922
15923         * a lot of files: changed the access to LyXText::status and the
15924         call of undo-functions.
15925
15926         * undo.[Ch]: added a inset_id to the undo informations.
15927
15928         * undo_funcs.[Ch]: added and moved here all undo functions.
15929
15930         * lyxtext.h: give the status enum a weight, made status_ a private
15931         variable and made accessor functions for it, removed the whole bunch
15932         of undo-functions as they are now in their own file, make some
15933         functions publically available. Added function ownerParagraph with
15934         int parameter.
15935
15936         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15937         made InInset() a const function, added getParFromID() function.
15938
15939         * buffer.[Ch]: added const version for inset_iterator functions,
15940         added getInsetFromID() function.
15941
15942         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15943         changed undo functions for new version.
15944
15945 2001-07-05  Juergen Vigna  <jug@sad.it>
15946
15947         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15948         unknow mechanism does not call the proper constructor but only this
15949         one also if I request the other!?
15950
15951 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15952
15953         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15954
15955         * text2.C (LyXText): use initialization lists.
15956
15957         * lyxtext.h (Selection): initialize set_ and mark_
15958         (init): remove method
15959
15960 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15961
15962         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15963
15964 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15965
15966         * screen.[Ch]: change method names to begin with lowercase
15967
15968         * BufferView_pimpl.C (updateScrollbar): simplify further and
15969         hopefully make it a bit faster.
15970
15971 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15972
15973         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15974         calling directly xforms functions.
15975
15976         * Painter.C (Painter):
15977         * lyx_cb.C (MenuWrite):
15978         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15979         fl_display.
15980
15981         * lyx_gui.C: remove bogus guiruntime extern declaration.
15982
15983 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15984
15985         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15986         in NEW_INSETS
15987         (redoDrawingOfParagraph): ditto
15988         (redoParagraphs): ditto
15989         (cutSelection): don't create a object for CutAndPaste use the
15990         static method directly
15991         (pasteSelection): ditto
15992
15993         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15994         LyXview (+ rename)
15995
15996 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15997
15998         * modifications to some other files because of this.
15999
16000         * Makefile.am (lyx_SOURCES): add XFormsView
16001
16002         * XFormsView.[Ch]: new files
16003
16004         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16005         the main window. Move the gui dependent stuff to XFormsView
16006
16007 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16008
16009         * tabular.C (GetCellInset): update cur_cell also in the row/col
16010         version of this function.
16011
16012         * lyxfunc.C: no need to include figure_form.h here.
16013
16014         * FontLoader.h:
16015         * lyxfunc.h:
16016         * lyxscreen.h:
16017         * text2.C:
16018         * lyxvc.C: no need to include forms.h here.
16019
16020 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16021
16022         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16023
16024         * lyxfunc.C (Dispatch):
16025         * Spacing.C (set):
16026         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16027         constructor argument.
16028
16029 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16030
16031         * paragraph.C (Paragraph): dont't clear, and just set layout.
16032         (makeSameLayout): use params's copy contructor.
16033
16034         * ParagraphParameters.[Ch] (makeSame): delete method
16035
16036 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16037
16038         * Variables.[Ch]: fix indentation, rename set to isSet
16039
16040 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16041
16042         * lyxfunc.C (Dispatch): fix typo
16043
16044 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16045
16046         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16047         upper_bound.
16048
16049         * bufferlist.C: include assert.h for emergencyWrite().
16050
16051 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16052
16053         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16054           give up at last (bug #425202) !
16055
16056 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16057
16058         * lyx_gui_misc.C:
16059         * sp_form.h:
16060         * sp_form.C:
16061         * spellchecker.h:
16062         * spellchecker.C: strip spellchecker options and bring up
16063           preferences tab instead
16064
16065 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16066
16067         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16068         the istringstream constructor
16069
16070 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16071
16072         * paragraph.C (getLayout): fix return value
16073
16074         * paragraph.h: do not declare getLayout as inline.
16075
16076         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16077
16078 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16079
16080         * lyxcursor.h (operator<): new func
16081         (operator>): new func
16082         (operator>=): new func
16083         (operator<=): new func
16084
16085         * text.C (changeCase): use selection.start and selection.end
16086         (changeRegionCase): require from to be <= to. Require par to be a
16087         valid paragraph.
16088
16089         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16090
16091 2001-06-27  Juergen Vigna  <jug@sad.it>
16092
16093         * text.C (cursorLeftOneWord): changed to return the cursor and added
16094         overlay with BufferView * parameter which calls this one.
16095         (getWord): added
16096         (selectWord): use new getWord function.
16097         (changeCase): renamed from changeWordCase as and extended to work
16098         also on selections.
16099
16100         * lyxtext.h: added enum word_location
16101
16102         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16103         changeCase as this operates now also on selections.
16104
16105 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16106
16107         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16108
16109         * many files: send debug output to Debug::INFO instead of
16110         Debug::ANY.
16111
16112         * converter.C (View):
16113         (Convert):
16114         (Move): send debug output to Debug::FILES instead of console.
16115
16116 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16117
16118         * lyxfunc.C (getStatus): use func_status
16119
16120         * func_status.h: new header, describing the results of
16121         LyXFunc::getStatus;
16122
16123         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16124         LFUN_MATH_HALIGN.
16125
16126 2001-06-25  The LyX Project  <jug@sad.it>
16127
16128         * buffer.C (sgmlOpenTag):
16129         (sgmlCloseTag):
16130         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16131
16132 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16133
16134         * text2.C: remove some dead code
16135
16136         * tabular.C (GetCellInset): store the last cell checked (gotten)
16137
16138         * tabular.h: add the helper for the speedup
16139
16140         * lyxtext.h: remove some dead code
16141
16142 2001-06-26  The LyX Project  <Asger>
16143
16144         * paragraph.C: Change export to LaTeX of alignment to
16145         \begin{center} and family for better roundtrip work with reLyX.
16146
16147         * Tune the math drawing a bit.
16148
16149 2001-06-25  The LyX Project  <Asger>
16150
16151         * LColor.C (LColor): New color for math background. New color
16152         for buttons.
16153
16154 2001-06-25  The LyX Project  <jug@sad.it>
16155
16156         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16157
16158         * lyxfunc.C (Open):
16159         * bufferlist.C (newFile): do not restrict to files ending with
16160         .lyx
16161
16162         * BufferView_pimpl.C (MenuInsertLyXFile):
16163
16164 2001-06-24  The LyX Project  <jug@sad.it>
16165
16166         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16167         of compare_no_case
16168
16169 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16170
16171         * lyxtext.h: rename most methods to begin with a small char.
16172         Lots of changes because of this.
16173
16174         * paragraph.C (Paragraph): do not call fitToSize
16175         (erase): call Pimpl::erase
16176         (insertChar): call Pimpl::insertChar
16177         (insertInset): call Pipl::insertInset
16178         (breakParagraph): do not call fitToSize
16179         (breakParagraphConservative): do not call fitToSize
16180         (fitToSize): remove method
16181
16182         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16183
16184 2001-06-24  The LyX Project  <Asger>
16185
16186         * Fix Qt compilation^2
16187
16188 2001-06-24  The LyX Project  <jug@sad.it>
16189
16190         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16191         depthHook(getDepth()-1).
16192
16193         * paragraph.h:
16194         * ParagraphParameters.h:
16195         * ParameterStruct.h: change type of depth to unsigned int ==
16196         depth_type. Many adaptations to other files before of that.
16197
16198 2001-06-24  The LyX Project  <Asger>
16199
16200         * Fix Qt compilation.
16201
16202 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16203
16204         * paragraph.h: renamed several methods to begin with small letter.
16205         several changes to many parts of the code because of this.
16206
16207 2001-06-23  The LyX Project  <jug@sad.it>
16208
16209         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16210         rewritten to discard all double spaces when KeepEmpty is off
16211         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16212         to only handle newlines but not fiddle with spaces and friends.
16213
16214         * lyxfunc.C (MenuNew): when doing 'new from template', use
16215         template_path as default directory
16216
16217 2001-06-23  The LyX Project  <Asger>
16218
16219         * Clean-up of header file includes all over
16220         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16221
16222 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16223
16224         * paragraph.h: renamed from lyxparagraph.h
16225
16226 2001-06-23  Asger  <lyx@violet.home.sad.it>
16227
16228         * Buffer.h: Removed Buffer::resize
16229         * BufferList.h: Removed BufferList::resize
16230         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16231         the document lazily when we change the width, or the font settings.
16232
16233 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16234
16235         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16236
16237 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16238
16239         * buffer.h: remove out of date comment
16240
16241 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16242
16243         * lyxscreen.h:
16244         * screen.C: fix "theoretical" GC leak
16245
16246 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16247
16248         * LaTeX.C (scanAuxFile):
16249         (deplog): remove trailing \r when reading stream (useful under
16250         win32)
16251
16252 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16253
16254         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16255         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16256         and BufferView::theLockingInset(Inset*), so should use them and not
16257         access bv_->text->the_locking_inset directly.
16258
16259         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16260
16261 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16262
16263         * Makefile.am:
16264         * tex-defs.h: remove old unused file
16265
16266 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16267
16268         * BufferView_pimpl.C: fix typo, remove minibuffer message
16269           when buffer has loaded
16270
16271 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16272
16273         * lyxfunc.C (Dispatch): use stringstream
16274         (MenuNew): use stringstream
16275         (Open): use stringstream
16276
16277         * importer.C (Import): use stringstream
16278
16279         * bufferview_funcs.C (CurrentState): use stringstream
16280
16281         * LaTeX.C (run): use stringstream
16282
16283         * BufferView_pimpl.C (savePosition): use stringstream
16284         (restorePosition): use stringstream
16285         (MenuInsertLyXFile): use stringstream
16286
16287 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16288
16289         * BufferView.C:
16290         * Bullet.C:
16291         * ColorHandler.C:
16292         * FontInfo.C:
16293         * FontLoader.C:
16294         * LColor.C:
16295         * LaTeXFeatures.C:
16296         * Painter.C:
16297         * gettext.C:
16298         * lyx_gui_misc.C:
16299         * lyxserver.C:
16300         * vspace.C: removed // -*- C++ -*- as first line.
16301
16302         * lyxfind.h:
16303         * version.h: added // -*- C++ -*- as first line.
16304
16305 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16306
16307         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16308
16309         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16310         of string
16311
16312 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16313
16314         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16315         of floats.
16316
16317 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16318
16319         * gettext.C: include LString.h even when --disable-nls is on.
16320
16321 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16322
16323         * converter.h (Get): changed argument type from int to
16324         FormatList::size_type to avoid unnecessary conversion.
16325
16326         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16327         before using it.
16328
16329 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16330
16331         * gettext.h: include LString.h even when --disable-nls is on.
16332
16333 2001-06-07  Juergen Vigna  <jug@sad.it>
16334
16335         * text.C (BreakAgain): subst spaces with tabs.
16336
16337         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16338         (resizeInsetsLyXText): set force on resizeLyXText.
16339
16340 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16341
16342         * gettext.h (gettext_init):
16343         (locale_init): use a real definition instead of a macro
16344
16345 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16346
16347         * Bufferview_pimpl.C:
16348         * LColor.h:
16349         * LColor.C: further lcolor tidies
16350
16351 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16352
16353         * BufferView_pimpl.C (updateScrollbar): simplify.
16354
16355         * BufferView2.C: don't include insets/insetinfo.h, change
16356         prototype for insertInset and call the Pimpl version. let
16357         updateInset call Pimpl version.
16358
16359         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16360         gotoInset to BufferView::Pimpl
16361
16362 2001-06-01  Juergen Vigna  <jug@sad.it>
16363
16364         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16365         inside a LockingInset (is the update needed at all?).
16366
16367 2001-05-31  Juergen Vigna  <jug@sad.it>
16368
16369         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16370         here not the old one otherwise how should we compare it afterwards
16371         if it's the same!
16372
16373 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16374
16375         * lyxfont.C:
16376         * tabular.C:
16377         * tabular-old.C:
16378         * FontInfo.C: bring C functions into global namespace when
16379         necessary
16380
16381 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16382
16383         * LString.h: make sure config.h has been loaded before LString.h.
16384
16385         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16386         (one for each char read by EatLine!).
16387
16388         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16389         variables.
16390
16391 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16392
16393         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16394         to the same as the par we break from
16395
16396 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16397
16398         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16399
16400         * MenuBackend.C (expand): also create menu entries for wide
16401         versions of the floats.
16402
16403         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16404
16405         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16406
16407         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16408         frontends/Makefile.am
16409
16410         * text2.C: adjust
16411         * text.C: adjust
16412
16413
16414         * tabular.C (getTokenValue): add std::
16415
16416         * tabular-old.C (getTokenValue): add std::
16417         (getTokenValue): ditto
16418         (getTokenValue): ditto
16419
16420         * screen.C (ToggleSelection): adjust
16421
16422         * lyxtext.h: put selection cursors inside a Selection struct.
16423
16424         * lyxfunc.C (moveCursorUpdate): adjust
16425
16426         * lyxfont.C (latexWriteStartChanges): add std::
16427
16428         * lyxfind.C: adjust
16429
16430         * font.h: delete with(char const *, LyXFont const &)
16431
16432         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16433
16434         * FontInfo.C (getFontname): add std::
16435
16436         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16437         (workAreaButtonPress): adjust
16438         (tripleClick): adjust
16439         (update): adjust
16440         (moveCursorUpdate): adjust
16441         (Dispatch): adjust
16442
16443         * BufferView2.C (gotoInset): adjust
16444
16445 2001-05-30  Juergen Vigna  <jug@sad.it>
16446
16447         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16448         to check pspell I add this as default as I now have new pspell
16449         libraries and they seem to use this.
16450
16451 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16452
16453         * text2.C (CutSelection): make the cursor valid before the call to
16454         ClearSelection.
16455
16456 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16457
16458         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16459         relied on 0 terminated strings and other horrors. Bug found due to
16460         the new assert in lyxstring!
16461
16462         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16463         KP_ keys.
16464
16465 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16466
16467         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16468         to latinkeys.bind.
16469
16470         * lyxfunc.C (processKeySym): change method of getting to the
16471         self-insert char.
16472
16473         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16474         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16475         * BufferView_pimpl.[Ch]: here as private methods.
16476
16477 2001-05-28  Juergen Vigna  <jug@sad.it>
16478
16479         * text.C (SetHeightOfRow): added the update() call again as it is
16480         needed to initialize inset dimensions!
16481
16482 2001-05-16  Juergen Vigna  <jug@sad.it>
16483
16484         * text2.C (SetCharFont): Add new function with BufferView * and
16485         bool toggleall parameters for setting insets internal fonts.
16486         (SetFont): Freeze the undo as we may change fonts in Insets and
16487         all this change should be inside only one Undo!
16488
16489         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16490         setting font's in insets as for them we have the SetFont function!
16491
16492 2001-05-15  Juergen Vigna  <jug@sad.it>
16493
16494         * text2.C (ClearSelection): to be sure we REALLY don't have any
16495         selection anymore!
16496
16497         * tabular.C (TeXCellPreamble): fixed the left border problem for
16498         multicolumn cells.
16499
16500 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16501
16502         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16503         dependancy file
16504
16505 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16506
16507         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16508         LFUN_BREAKPARAGRAPH.
16509
16510         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16511         help test to "internal only", similar for LFUN_INSERT_URL
16512
16513         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16514         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16515         auto_region_delete and deadkeys.
16516
16517 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16518
16519         * LColor.h:
16520         * LColor.C: remove some dead entries, tidy a little
16521
16522 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16523
16524         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16525         commented code.
16526         (Dispatch): implement LFUN_ESCAPE
16527
16528         * commandtags.h: add LFUN_ESCAPE
16529
16530         * LyXAction.C (init): add entry for LFUN_ESCAPE
16531
16532         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16533         Remove commented code.
16534         (insertNote): moved here
16535         (open_new_inset): moved here
16536
16537         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16538         BufferView_pimpl
16539
16540 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16541
16542         * kbmap.C (findbinding): clean it up and make it work correctly.
16543
16544         * lyx_main.C (init): do not pass argc and argv as parameters
16545
16546 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16547
16548         * buffer.C: fix path for OS/2 & Win32
16549
16550         * lyx_gui.C:
16551         * lyx_main:
16552         * lyx_main.C: Added os:: class.
16553
16554         * os2_defines.h: update
16555
16556 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16557
16558         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16559         better by trying again with reduced state.
16560
16561 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16562
16563         * lyxrc.C (read): print error about invalid key sequence only when
16564         debugging (because not all latinX keysyms are known to some X
16565         servers)
16566
16567         * kbsequence.C (getiso): add a few std:: qualifiers
16568         (getiso): comment out extra return statement.
16569
16570 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16571
16572         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16573         handling.
16574         (Dispatch): enhance the accent inset a bit. (not perfect)
16575
16576 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16577
16578         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16579
16580 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16581
16582         * bufferlist.C (emergencyWrite): fix assert() call
16583
16584 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16585
16586         * text.C (InsertChar): Added trivial patch to only send the "you
16587         can not do multiple spaces this way" message once during a
16588         session.
16589
16590 2001-05-08  Baruch Even  <baruch@lyx.org>
16591
16592         * Makefile.am: Changed order of libraries to get LyX to link properly
16593         with the gnome frontend.
16594
16595 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16596
16597         * LaTeXFeatures.h: add a std:: qualifier
16598
16599 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16600
16601         * paragraph.C (String): use stringstream
16602
16603 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16604
16605         * paragraph.C (writeFile): remove footflag arg
16606
16607         * buffer.C (makeLaTeXFile): use stringstream
16608         (latexParagraphs): remove footnot gurba
16609
16610         * LaTeXFeatures.C (getPackages): use stringstream
16611         (getMacros): likewise
16612         (getTClassPreamble): likewise
16613         (getFloatDefinitions): new method
16614
16615         * paragraph.C (writeFile): reindent
16616         (Erase): reindent
16617
16618         * WorkArea.h: revert the xpos + etc changes.
16619
16620         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16621
16622         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16623
16624         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16625         (pasteSelection): likewise
16626         * text2.C (CreateUndo): likewise
16627
16628 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16629
16630         * minibuffer.C (peek_event): temporarily reduce the functionality
16631         of the minibuffer (to allow args on lfuns)
16632
16633         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16634         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16635
16636         * buffer.C (readInset): add compability reading of old float
16637         lists, add reading of new style float list.
16638         (readInset): avoid reevaluation of inscmd.getCmdName()
16639         (getLists): reindent
16640
16641         * MenuBackend.C (MenuItem): implement parsing of
16642         md_floatlistinsert and md_floatinsert.
16643         (expand::LastFiles): move initalizaton of iterators out of loop,
16644         avoid reevaluation.
16645         (expand::Documents): introduce typdedef vector<string> Strings,
16646         and use it.
16647         (expand::ExportFormats): introduce typedef vector<Format const *>
16648         Formats, and use it.
16649         (expand): implement FloatListInsert and FloatInsert.
16650
16651         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16652         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16653         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16654
16655         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16656         handling.
16657         (Dispatch::LFUN_FLOAT_LIST): implement
16658
16659 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16660
16661         * LaTeX.C (run): Fix problem with --export code.
16662
16663 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16664
16665         * BufferView.[Ch] (workarea): removed.
16666         (getClipboard) new method; wrapper for workarea()->getClipboard()
16667
16668         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16669         bug.
16670
16671         * WorkArea.h (width, height, xpos, ypos): These methods all
16672         returned the dimensions of the work_area sub-area of WorkArea,
16673         resulting in a position error if the WorkArea were resized. Now
16674         return the dimensions of the entire WorkArea.
16675
16676         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16677
16678 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16679
16680         * LaTeX.C (deplog): correct the syntax of regex reg1
16681
16682 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16683
16684         * undo.C: remove !NEW_INSETS cruft
16685
16686 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16687
16688         * text2.C: remove !NEW_INSETS cruft
16689
16690         * text.C: remove !NEW_INSETS cruft
16691
16692         * tabular.C: remove !NEW_INSETS cruft
16693
16694         * spellchecker.C: remove !NEW_INSETS cruft
16695
16696         * lyxtext.h: remove !NEW_INSETS cruft
16697
16698         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16699
16700         * lyxfunc.C: remove !NEW_INSETS cruft
16701
16702         * lyxfind.C: remove !NEW_INSETS cruft
16703
16704         * lyx_cb.C: remove !NEW_INSETS cruft
16705
16706         * figureForm.C: remove  !NEW_INSETS cruft
16707
16708         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16709
16710         * buffer.[Ch]: remove !NEW_INSETS cruft
16711
16712         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16713
16714         * CutAndPaste.C: remove !NEW_INSETS cruft
16715
16716         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16717
16718         * BufferView2.C: remove !NEW_INSETS cruft
16719
16720         * BufferView.h: remove !NEW_INSETS cruft
16721
16722 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16723
16724         * Lsstream.h: include LString.h before the sstream headers to
16725         fix problem with gcc 2.95.3 and lyxstring
16726
16727 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16728
16729         * lyx_main.C: add using directives when needed for C functions
16730         declared in std:: namespace.
16731
16732 2001-04-27  Juergen Vigna  <jug@sad.it>
16733
16734         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16735         (SetHeightOfRow): comment out the update call should not be needed!
16736
16737 2001-04-13  Juergen Vigna  <jug@sad.it>
16738
16739         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16740         (LyXTabular): tried to minimize operator= operations (and realized
16741         hopfully Lars wish).
16742
16743 2001-04-27  Juergen Vigna  <jug@sad.it>
16744
16745         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16746
16747 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16748
16749         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16750
16751         * buffer.C (readInset): hack to make listof algorithm work
16752
16753         * BufferView_pimpl.C: hack to make listof algorithm work
16754
16755 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16756
16757         * LyXAction.C: removed all !NEW_INSETS cruft
16758         (init): moved lfun_item in method
16759
16760         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16761
16762 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16763
16764         * BufferView2.C (theLockingInset): white space.
16765
16766 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16767
16768         * minibuffer.C: include <iostream>
16769
16770         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16771
16772         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16773
16774         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16775
16776         * text.[Ch] (TransposeChars): new method
16777
16778 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16779
16780         * call message directly through LyXView instead of through LyXFunc
16781         * BufferView2.C: adjust
16782         * BufferView_pimpl.C: adjust
16783         * FontLoader.C: adjust
16784         * buffer.C: adjust
16785         * bufferview_funcs.C: adjust
16786         * converter.C: adjust
16787         * figureForm.C: adjust
16788         * importer.C: adjust
16789         * lyx_cb.C: adjust
16790         * lyx_gui_misc.C: adjust
16791         * lyxfunc.C: adjust
16792         * lyxvc.C: adjust
16793         * text2.C: adjust
16794         + more files in subdirs
16795
16796         * lyxparagraph.h (size): move up int file
16797         (GetLayout): ditto
16798
16799         * adjust all uses of Assert to lyx::Assert.
16800
16801         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16802         lyxfunctional in namespace lyx
16803         * layout.C (hasLayout): ditto
16804         (GetLayout): ditto
16805         (GetLayout): ditto
16806         (delete_layout): ditto
16807         (NumberOfClass): ditto
16808         * converter.C (GetFormat): ditto
16809         (GetNumber): ditto
16810         (Add): ditto
16811         (Delete): ditto
16812         (SetViewer): ditto
16813         * bufferlist.C (getFileNames): ditto
16814         (emergencyWriteAll): ditto
16815         (exists): ditto
16816         (getBuffer): ditto
16817         * MenuBackend.C (hasSubmenu): ditto
16818         (hasMenu): ditto
16819         (getMenu): ditto
16820         * BufferView_pimpl.C (getInsetByCode): ditto
16821
16822 2001-04-18  Juergen Vigna  <jug@sad.it>
16823
16824         * vspace.C (asLatexString): fixed the 100% problem.
16825
16826 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16827
16828         * lyxfunc.C (Dispatch):
16829         * minibuffer.C:
16830         * minibuffer.h: add a few std:: qualifiers
16831
16832 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16833
16834         * minibuffer.[Ch]: reimplement so that commands is initiated and
16835         run from lyxfunc, simplified som handling, and made the completion
16836         and history code for complete. wip.
16837
16838         * lyxfunc.C (processKeySym): call message
16839         (miniDispatch): new temporary method
16840         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16841         (LFUN_MESSAGE): implement
16842         (LFUN_MESSAGE_PUSH): implement
16843         (LFUN_MESSAGE_POP): implement
16844         (initMiniBuffer): the initial/defualt minibuffer message.
16845
16846         * lyxfont.[Ch]: inline some more getters
16847
16848         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16849
16850         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16851
16852         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16853         (AutoSave): use LFUN_MESSAGE
16854         (Reconfigure): ditto
16855
16856         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16857
16858         * figureForm.C: use LFUN_MESSAGE
16859
16860         * converter.C (runLaTeX): use LFUN_MESSAGE
16861
16862         * bufferview_funcs.C: use LFUN_MESSAGE
16863         (Melt): ditto
16864         (changeDepth): ditto
16865
16866         * bufferparams.h: use boost::
16867
16868         * bufferlist.h: inherit privately from noncopyable
16869
16870         * bufferlist.C (loadLyXFile): remove some commented code.
16871
16872         * buffer.C (runChktex): use LFUN_MESSAGE
16873
16874         * ShareContainer.h: inherit privately from noncopyable
16875
16876         * ParagraphParameters.[hC] (depth): inline it.
16877
16878         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16879         methods.
16880         (message): new method
16881         (messagePush): ditto
16882         (messagePop): ditto
16883         (show): init minibuffer
16884         (showState): direct call
16885
16886         * LaTeX.[Ch]: inherit privately from noncopyable
16887         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16888         instead of WriteStatus.
16889
16890         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16891
16892         * BufferView_pimpl.C (buffer): don't init minibuffer
16893         (workAreaButtonPress): use LFUN_MESSAGE
16894         (workAreaButtonRelease): ditto
16895         (savePosition): ditto
16896         (restorePosition): ditto
16897         (MenuInsertLyXFile): ditto
16898         (workAreaExpose): don't init minibuffer
16899         (update): remove commented code, simplify
16900
16901         * BufferView2.C (openStuff): use LFUN_MESSAGE
16902         (toggleFloat): ditto
16903         (menuUndo): ditto
16904         (menuRedo): ditto
16905         (copyEnvironment): ditto
16906         (pasteEnvironment): ditto
16907         (copy): ditto
16908         (cut): ditto
16909         (paste): ditto
16910         (gotoInset): ditto
16911         (updateInset): remove some commented code
16912
16913         * lastfiles.h: inherit privately from noncopyable
16914         * layout.h: ditto
16915         * lyx_gui.h: ditto
16916         * lyx_main.h: ditto
16917         * lyxlex.h: ditto
16918         * lyxlex_pimpl.h: ditto
16919
16920         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16921         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16922         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16923
16924         * LyXAction.h: inherit privately from noncopyable, add methods
16925         func_begin, func_end, returning iterators to the func map.
16926
16927         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16928         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16929         (func_begin): new method
16930         (func_end): new method
16931
16932         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16933         and not)
16934         (copySelection): ditto
16935         (pasteSelection): ditto
16936
16937         * BufferView.C: whitespace change
16938         * BufferView.h: inherit privately from noncopyable
16939
16940 2001-04-16  Allan Rae  <rae@lyx.org>
16941
16942         * tabular-old.C (l_getline):
16943         * spellchecker.C (sc_check_word):
16944         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16945         an unrecognised preprocessor directive.  So ensure they're wrapped.
16946
16947 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16948
16949         * src/exporter.C (Export): Give an error message when path to file
16950         contains spaces.
16951
16952 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16953
16954         * LaTeX.C (deplog): Always check that foundfile exists.
16955
16956 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16957
16958         * lyx_main.h:
16959         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16960
16961 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16962
16963         * tabular.[Ch] (getLabelList): implement new method
16964
16965         * minibuffer.h: comment ouf setTiimer
16966
16967         * minibuffer.C (ExecutingCB): constify res
16968         (peek_event): constify s
16969         (Set): constify ntext
16970         (Init): constify nicename
16971
16972         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16973
16974         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16975         (savePosition): use two params to Minibuffer::Set
16976         (restorePosition): ditto
16977
16978 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16979
16980         * lyx_main.C: include language.h
16981
16982         * Makefile.am (lyx_main.o): add language.h
16983
16984 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16985
16986         * exporter.C:
16987         * paragraph.C:
16988         * screen.C:
16989         * tabular.C:
16990         * CutAndPaste.C: include gettext.h
16991
16992         * lyxfont.h: remove old hack with ON and OFF.
16993
16994         * lyxparagraph.h:
16995         * lyxfont.h: do not include language.h...
16996
16997         * BufferView2.C:
16998         * LaTeXFeatures.C:
16999         * Painter.C:
17000         * bufferview_funcs.C:
17001         * font.C:
17002         * lyxfont.C:
17003         * text.C:
17004         * text2.C:
17005         * trans_mgr.C:
17006         * paragraph.C: ... but do it here instead
17007
17008 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17009
17010         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17011
17012         * tabular.C: small reformat
17013
17014         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17015         NEW_INSETS version
17016         (GetChar): ditto
17017         (BreakParagraph): ditto
17018         (SetOnlyLayout): ditto
17019         (SetLayout): ditto
17020
17021         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17022         with one arg less.
17023
17024         * lastfiles.C: removed most using decl, add std:: where needed
17025
17026         * buffer.C: ws changes
17027
17028         * MenuBackend.C (class compare_format): put into anon namespace
17029         (expand): constify label, names, action, action2
17030         (expand):
17031
17032         * text.C (SingleWidth): constify font
17033         (IsBoundary): constify rtl2
17034         (GetVisibleRow): constify ww
17035
17036         * LaTeX.C (deplog): constify logfile
17037
17038         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17039         start_x, end_x
17040         (workAreaExpose): constify widthChange, heightChange
17041
17042         * lyxrow.C (par): moved
17043         (height): moved
17044         (next): moved
17045         * lyxrow.h: as inlines here
17046
17047         * lyxfont.h (shape): moved from lyxfont.C
17048         (emph): moved from lyxfont.C
17049
17050         * lyxfont.C (LyXFont): use initialization list for all
17051         constructors
17052         (shape): move to lyxfont.h as inline
17053         (emph): move to lyxfont.h as inline
17054
17055
17056 2001-04-04  Juergen Vigna  <jug@sad.it>
17057
17058         * vspace.C: had to include stdio.h for use of sscanf
17059
17060 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17061
17062         * BufferView.h:
17063         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17064         independent of xforms.
17065
17066 2001-04-02  Juergen Vigna  <jug@sad.it>
17067
17068         * spellchecker.C: fixed namespace placing!
17069
17070 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17071
17072         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17073         the LyXParagraph * is 0.
17074
17075 2001-03-29  Juergen Vigna  <jug@sad.it>
17076
17077         * vspace.C: added support for %, c%, p%, l%.
17078         (stringFromUnit): added helper function.
17079         (asLatexString): changed to give right results for the %-values.
17080
17081         * buffer.C: convert the widthp in a width%.
17082
17083 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17084
17085         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17086         figureForm.[Ch].
17087
17088         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17089         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17090
17091         * lyx_cb.[Ch]: see above.
17092
17093         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17094         form1.[Ch].
17095
17096         * form1.[Ch]:
17097         * lyx.[Ch]: replaced by figure_form.[Ch].
17098
17099         * lyx_gui.C:
17100         * lyx_gui_misc.C:
17101         * lyxfunc.C: changed headers associated with above changes.
17102
17103 2001-03-27  Juergen Vigna  <jug@sad.it>
17104
17105         * BufferView_pimpl.C: set the temporary cursor right!
17106
17107 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17108
17109         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17110
17111 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17112
17113         * LString.h: removed "using std::getline"!
17114
17115         * BufferView_pimpl.C (Dispatch): changes due to changes in
17116         InsetInclude::Params.
17117
17118         * buffer.C (tag_name): removed redundant break statements as they were
17119         producing lots of warnings with my compiler.
17120
17121 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17122
17123         * LString.h: add "using std::getline" when using the real <string>.
17124
17125 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17126
17127         * buffer.C: removed bitset usage.
17128         PAR_TAG moved to an anonymous name space.
17129         (tag_name): new funtion, also in the anonymous namespace.
17130         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17131         (makeDocBookFile): clean code. Completed transition from string arrays
17132         to string vectors.
17133         (SimpleDocBookOnePar): code clean.
17134
17135 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17136
17137         * tabular.C: add some comments.
17138
17139 2001-03-22  Juergen Vigna  <jug@sad.it>
17140
17141         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17142         compatibility read a bit and fixed bug with minipage in different
17143         depth.
17144
17145 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17146
17147         * buffer.C (pop_tag): removed.
17148         (push_tag): removed.
17149         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17150         array replaced with vector. Added support for CDATA sections.
17151         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17152         at any nest level.
17153         (makeDocBookFile): XML conformant declaration of CDATA section,
17154         fixed bug related to <emphasis> in the first paragraph char.
17155         (sgmlOpenTag): exclude empty tags.
17156         (sgmlCloseTag): ditto.
17157
17158         * buffer.h (pop_tag): removed.
17159         (push_tag): removed.
17160
17161 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17162
17163         * language.h (Languages): added size_type and size().
17164
17165 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17166
17167         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17168         response on compability reading of minipages. One probliem is that
17169         the old usage of minipages was «flertydig»
17170
17171         * several files here and in subdirs: don't use static at file
17172         scope use anon namespaces instead.
17173
17174 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17175
17176         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17177         LaTeX output. This is necessary for Literate document
17178         processing.
17179
17180 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17181
17182         * buffer.C: insert hfill when needed.
17183
17184         * tabular.C (l_getline): use string::erase, small whitespace change.
17185
17186         * BufferView_pimpl.C: try the anon namespace.
17187         * WorkArea.C: ditto
17188
17189 2001-03-16  Juergen Vigna  <jug@sad.it>
17190
17191         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17192         otherwise it won't open options-dialogs.
17193
17194         * buffer.C: honor pextraWidth(p) on converting minipages.
17195
17196         * tabular.C (l_getline): changed the functions to strip trailing \r.
17197
17198 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17199
17200         * BufferView_pimpl.C:
17201         * minibuffer..C: added "using SigC::slot" declaration.
17202
17203 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17204
17205         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17206
17207         * text2.C: ditto
17208
17209         * text.C: ditto
17210
17211         * paragraph.C: ditto
17212
17213         * lyxtext.h: NO_PEXTRA
17214
17215         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17216
17217         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17218         * ParameterStruct.h: ditto
17219         * ParagraphParameters.h: ditto
17220         * lyxparagraph.h: ditto
17221
17222 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17223
17224         * buffer.C: add compability for minipage alignment.
17225         (latexParagraphs): remove unwanted pextra check.
17226
17227         * several files: remove CXX_WORKING_NAMESPACES
17228
17229         * buffer.C (pop_tag): tie is in namespace boost
17230
17231         * BufferView.h: noncopyable is in namespace boost
17232         * lyxlex.h: ditto
17233         * lyx_main.h: ditto
17234         * lyx_gui.h: ditto
17235         * layout.h: ditto
17236         * lastfiles.h: ditto
17237         * bufferlist.h: ditto
17238         * ShareContainer.h: ditto
17239         * LyXView.h: ditto
17240         * LyXAction.h: ditto
17241         * LaTeX.h: ditto
17242
17243 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17244
17245         * Merging changes from BRANCH_MVC back into HEAD.
17246
17247         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17248
17249 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17250
17251         * BufferView_pimpl.C: change from intl.C
17252
17253         * combox.h:
17254         * combox.C:
17255         * Makefile.am: move combox.*
17256
17257         * form1.h:
17258         * form1.C:
17259         * lyx_gui.C:
17260         * intl.h:
17261         * intl.C: remove dialog (covered by prefs)
17262
17263 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17264
17265         * lyxfunc.C (Dispatch): removed redundant break statement.
17266
17267 2001-03-14  Juergen Vigna  <jug@sad.it>
17268
17269         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17270
17271 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17272
17273         * buffer.C: add hack to fix compability reading of minipages.
17274
17275 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17276
17277         * buffer.C (getLists): Cleanup.
17278
17279 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17280
17281         * lyxfont.C (update): don't honor toggleall on font size.
17282
17283 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17284
17285         * bmtable.c:
17286         * bmtable.h:
17287         * Makefile.am: moved to frontends/xforms/
17288
17289         * lyx_gui_misc.C:
17290         * lyxfunc.C:
17291         * BufferView_pimpl.C: changes for moved mathpanel
17292
17293 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17294
17295         * gettext.h: fix gettext_init() in --disable-nls
17296
17297 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17298
17299         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17300
17301 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17302
17303         * lyx.C:
17304         * lyx.h: strip external form
17305
17306 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17307
17308         * BufferView_pimpl.C: add comment, destroySplash()
17309
17310 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17311
17312         * BufferView_pimpl.C:
17313         * LyXAction.C:
17314         * buffer.C:
17315         * commandtags.h:
17316         * lyxfunc.C: use re-worked insetinclude
17317
17318 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17319
17320         * buffer.C: add using std::stringstream.
17321
17322         * lyx_cb.C: readd using std::ios.
17323
17324         * buffer.C: add using std::map.
17325
17326         * BufferView_pimpl.C: add using std::vector.
17327
17328         * ShareContainer.h: add std:: to swap.
17329
17330         * buffer.h: add some typedefs
17331         * buffer.C (getLists): use them
17332         (getLists): renamed from getTocList.
17333         add a counter for the different float types and use it in the
17334         generated string.
17335         (getLists): use the same counter for the NEW_INSETS and the "non"
17336         NEW_INSETS
17337
17338         * lyx_cb.h: remove unused items, includes, using etc.
17339
17340         * ShareContainer.h: remove some commented code, add more comments
17341         and "documentation".
17342
17343 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17344
17345         * buffer.C (getTocList): make the list also when NEW_INSETS is
17346         defined.
17347
17348         * buffer.h: remove TocType
17349
17350         * buffer.C (getTocList): change to return a map<string,
17351         vector<TocItem> >, implement for dynamic number of list.
17352
17353         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17354         * text2.C (PasteSelection): adjust
17355         * CutAndPaste.C (pasteSelection): adjust
17356
17357         * FloatList.C (FloatList): update from the new_insets branch.
17358         * Floating.[Ch]: ditto
17359         * LaTeXFeatures.C: ditto
17360         * buffer.C: ditto
17361         * lyxlex_pimpl.C: ditto
17362
17363         * paragraph.C (Last): remove when NEW_INSETS is defined.
17364
17365         * other file: changes because of the above.
17366
17367 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17368
17369         * lyxparagraph.h: rename next to next_, previous to previous_,
17370         make them private for NEW_INSETS. Rename Next() to next(),
17371         Previous() to previous().
17372
17373         * other files: changes because of the above.
17374
17375 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17376
17377         * BufferView.h:
17378         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17379         problem.
17380
17381 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17382
17383         * main.C (main): pass lyx_localedir to gettext_init().
17384
17385         * gettext.h: remove locale_init and gettext_init macros
17386
17387         * gettext.C (locale_init): new function
17388         (gettext_init): new function
17389
17390         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17391         setlocale().
17392
17393 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17394
17395         * Moved credits to frontends:
17396         * credits.[Ch]: removed
17397         * credits_form.[Ch]: removed
17398         * lyx_gui_misc.C: remove credits stuff
17399         * Makefile.am:
17400
17401 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17402
17403         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17404
17405         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17406         unneeded destructor.
17407
17408         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17409         a standalone pointer again.
17410
17411         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17412
17413 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17414
17415         * Makefile.am:
17416         * filedlg.h:
17417         * filedlg.C:
17418         * LyXAction.C:
17419         * ToolbarDefaults.C:
17420         * bufferlist.C:
17421         * commandtags.h:
17422         * form1.C:
17423         * form1.h:
17424         * lyx_cb.C:
17425         * lyx_cb.h:
17426         * lyxfunc.h:
17427         * lyxfunc.C:
17428         * BufferView_pimpl.C: use new file dialog in GUII
17429
17430         * lyx_cb.h:
17431         * lyx_cb.C: remove LayoutsCB to Toolbar
17432
17433 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17434
17435         * ShareContainer.h (get): add std:: qualifier
17436
17437 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17438
17439         * ShareContainer.h: define a proper ShareContainer::value_type
17440         type (and use typename to please compaq cxx)
17441
17442 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17443
17444         * lyxparagraph.h: move serveral local vars to
17445         ParameterStruct/ParagraphParameters., use ShareContainer in
17446         FontTable., make vars in FontTable private and add getter and
17447         setter.
17448
17449         * paragraph.C: changes because of the above.
17450
17451         * lyxfont.h: remove copy constructor and copy assignment. (the
17452         default ones is ok), move number inside FontBits. move inlines to
17453         lyxfont.C
17454
17455         * lyxfont.C: add number to initializaton of statics, move several
17456         inlines here. constify several local vars. some whitespace
17457         cleanup. Dont hide outerscope variables.
17458
17459         * Spacing.h: add two new constructors to match the set methods.
17460
17461         * ShareContainer.h: new file, will perhaps be moved to support
17462
17463         * ParameterStruct.h: new file
17464
17465         * ParagraphParameters.h: new file
17466
17467         * ParagraphParameters.C: new file
17468
17469         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17470         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17471
17472         * BufferView_pimpl.C: ParagraphParameter changes.
17473         * buffer.C: Likewise.
17474         * bufferview_funcs.C: Likewise.
17475         * text.C: Likewise.
17476         * text2.C: Likewise.
17477
17478 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17479
17480         * lyxfind.C (LyXReplace): do not redefine default argument in
17481         implementation.
17482         (IsStringInText): ditto
17483         (SearchForward): ditto
17484         (SearchBackward): ditto
17485
17486 2001-03-06  Juergen Vigna  <jug@sad.it>
17487
17488         * lyxfind.C (IsStringInText): put parentes around expressions.
17489
17490 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17491
17492         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17493
17494 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17495
17496         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17497
17498         * stl_string_fwd.h: add comment
17499
17500         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17501
17502         * tabular.h:
17503         * tabular.C: remove unused DocBook methods
17504
17505         * intl.C:
17506         * language.C:
17507         * paragraph.C:
17508         * buffer.C:
17509         killed DO_USE_DEFAULT_LANGUAGE
17510
17511 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17512
17513         * lyx_gui.C: do not include language.h.
17514
17515         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17516         arguments in function implementation.
17517
17518 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17519
17520         * BufferView_pimpl.C: add <ctime>
17521
17522 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17523
17524         * BufferView_pimpl.C: add using std::find_if
17525
17526 2001-02-27  José Matos  <jamatos@fep.up.pt>
17527
17528         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17529         by OnlyPath.
17530
17531 2001-02-11  José Matos  <jamatos@fep.up.pt>
17532
17533         * buffer.C (makeDocBookFile): command styles now have a parameter as
17534         "title" by default.
17535
17536 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17537
17538         * layout_forms.[Ch]: removed
17539         * lyx_cb.[Ch]: out character
17540         * lyx_gui.C: out character
17541         * lyx_gui_misc.C: out character
17542         * bufferview_funcs.C: : out character,
17543         added toggleall as parameter in ToggleAndShow
17544
17545 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17546
17547         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17548
17549         * text2.C (SetCurrentFont): Disable number property at boundary.
17550
17551 2001-02-26  Juergen Vigna  <jug@sad.it>
17552
17553         * lyxfunc.C (getStatus): added a string argument override function so
17554         that this is correctly called from LyXFunc::Dispatch if it contains a
17555         do_not_use_argument which is used!
17556         (Dispatch): added check for "custom" export and call appropriate func.
17557
17558 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17559
17560         * lyxrc.C: Add language_command_local, language_use_babel and
17561         language_global_options.
17562
17563         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17564
17565         * buffer.C (makeLaTeXFile): Use language_use_babel and
17566         language_global_options.
17567
17568 2001-02-23  Juergen Vigna  <jug@sad.it>
17569
17570         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17571         which works with LyXText and putted it inside BufferView. Here now we
17572         only call for that part the BufferView::Dispatch() function.
17573
17574         * BufferView.C (Dispatch): added.
17575
17576         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17577         functions which needs to use a LyXText over from LyXFunc.
17578         (MenuInsertLyXFile): added
17579         (getInsetByCode): added
17580         (moveCursorUpdate): added
17581         (static TEXT): added
17582
17583 2001-02-22  Juergen Vigna  <jug@sad.it>
17584
17585         * BufferView_pimpl.C (update): call a status update to see if LyXText
17586         needs it.
17587
17588 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17589
17590         * vc-backend.C (revert): implement for CVS
17591         (getLog): implement for CVS
17592
17593 2001-02-20  Juergen Vigna  <jug@sad.it>
17594
17595         * text2.C (ClearSelection): added BufferView param for inset_owner call
17596
17597         * lyxfunc.C (TEXT): added this function and use it instead of
17598         directly owner->view()-text of getLyXText().
17599
17600 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17601
17602         * src/layout_forms.C: out preamble
17603         * src/layout_forms.h: out preamble
17604         * src/lyx_cb.C: out preamble
17605         * src/lyx_cb.h: out preamble
17606         * src/lyx_gui.C: out preamble
17607         * src/lyx_gui_misc.C: out preamble
17608         * src/lyxfunc.C: connect with guii preamble
17609
17610 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17611
17612         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17613
17614 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17615
17616         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17617         whether to run bibtex.
17618
17619 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17620
17621         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17622
17623 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17624
17625         * Makefile.am (lyx_SOURCES): removed bibforms.h
17626
17627         * vspace.h: doxygen
17628
17629         * text.C (GetVisibleRow): make several local vars const
17630
17631         * tabular.C: small cleanup.
17632
17633         * lyxserver.C (callback): use compare instead of strncmp
17634
17635         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17636         inlines to after class or to paragraph.C
17637
17638         * lyxfont.h: remove friend operator!=
17639
17640         * converter.h: move friend bool operator< to non friend and after
17641         class def.
17642
17643         * combox.h: small cleanup
17644
17645         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17646         to inlines after class def.
17647
17648         * buffer.C (pop_tag): use string operations instead of strcmp
17649
17650         * bmtable.c: doxygen, small cleanup
17651
17652         * LaTeX.h: remove friend operator==
17653
17654 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17655
17656         * screen.C:
17657         * lyxrc.[Ch]:
17658         * lyxfunc.C:
17659         * lyxfont.[Ch]:
17660         * lyx_cb.C:
17661         * intl.[Ch]:
17662         * commandtags.h:
17663         * buffer.C:
17664         * WorkArea.[Ch]:
17665         * LyXAction.C:
17666         * BufferView_pimpl.C:
17667         * BufferView.[Ch]: remove cruft
17668
17669 2001-02-14  Juergen Vigna  <jug@sad.it>
17670
17671         * lyxfunc.C: removed #if 0 unused code
17672
17673         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17674
17675         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17676
17677         * text2.C (SetSelection): added a BufferView * parameter
17678
17679 2001-02-13  Juergen Vigna  <jug@sad.it>
17680
17681         * lyxfunc.C (Dispatch): fixed protected blank problem.
17682         * BufferView2.C (protectedBlank): added LyxText * parameter.
17683
17684         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17685         (AppendColumn): same as above for column_info.
17686
17687         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17688         (moveCursorUpdate): use a LyXText param for support of InsetText.
17689
17690         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17691         (tripleClick): ditto
17692
17693         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17694
17695         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17696
17697         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17698
17699         * text2.C (SetSelection): set correct update status if inset_owner
17700         (ToggleFree): ditto
17701
17702 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17703
17704         * tabular.C: remove some commented code.
17705
17706 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17707
17708         * BufferView_pimpl.C: call hideSplash()
17709
17710         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17711
17712         * include_form.h:
17713         * bibforms.h: remove
17714
17715         * lyxfunc.C:
17716         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17717           add LFUN_CHILD_CREATE
17718
17719         * counters.h: fix tiny typo
17720
17721         * lyx_cb.C:
17722         * lyx.h:
17723         * lyx_gui.C:
17724         * lyx.C: move splash to frontends/xforms/
17725
17726         * lyx_gui_misc.C: move Include and Bibform to frontends
17727
17728         * lyxvc.h: clarify comment
17729
17730         * vspace.C: tiny housekeeping
17731
17732 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17733
17734         * text.C (PrepareToPrint): RTL Fix.
17735
17736         * paragraph.C (GetUChar): New method.
17737         (String):  Use GetUChar.
17738
17739         * buffer.C (asciiParagraph): Use GetUChar.
17740
17741 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17742
17743         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17744
17745 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17746
17747         * buffer.h:
17748         * buffer.C: rename to getLogName(), handle
17749           build log / latex log nicely
17750
17751 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17752
17753         * MenuBackend.C:
17754         * MenuBackend.h: remove support for reference menuitem type.
17755
17756 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17757
17758         * BufferView_pimpl.C: housekeeping
17759         * BufferView_pimpl.h:
17760         * LyXView.h:
17761         * Makefile.am:
17762         * Timeout.C:
17763         * Timeout.h:
17764         * minibuffer.h: move Timeout GUI-I
17765
17766 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17767
17768         * lyxrc.C (read): Update converters data-structures.
17769
17770 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17771
17772         * LaTeX.h (operator!=): add operator != for Aux_Info
17773
17774 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17775
17776         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17777
17778         * LaTeXLog.C: deleted, useful code moved to Buffer
17779
17780         * buffer.h:
17781         * buffer.C: new function getLatexLogName()
17782
17783         * lyx_gui_misc.C:
17784         * lyx_gui.C:
17785         * lyxvc.C:
17786         * lyxvc.h:
17787         * lyxfunc.C: use frontends for LaTeX and VC logs
17788
17789 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17790
17791         * LaTeX.h: yet another std:: that Allan forgot.
17792
17793         * Variables.C (set): renamed from isset(), because this clashes
17794         with some HP-UX macros (grr).
17795
17796 2001-02-06  Allan Rae  <rae@lyx.org>
17797
17798         * LaTeX.h: Another bug fix.  Missing std:: this time.
17799
17800 2001-02-04  Allan Rae  <rae@lyx.org>
17801
17802         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17803         floats problem. I've left it commented out because it's not quite
17804         correct.  It should also test that the current object is a table or
17805         figure inset.  But I haven't gotten around to figuring out how to do
17806         that.  I *think* it'll be something like: "table" == inset.type()
17807
17808         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17809         bool.
17810
17811 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17812
17813         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17814         all the citation/databases/styles in the auxilary file.
17815         (run): Rerun latex if there was a babel language error.
17816
17817 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17818
17819         * text.C (Backspace): Preserve the font when changing newline char
17820         with a space.
17821         (BreakParagraph): If the cursor is before a space, delete the space.
17822
17823         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17824
17825 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17826
17827         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17828         new argument (code).
17829         (ChangeCitationsIfUnique): New method.
17830
17831         * paragraph.C (GetPositionOfInset): Handle bibkey.
17832
17833 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17834
17835         * BufferView_pimpl.h: change type of Position::par_pos to
17836         LyXParagraph::size_type.
17837
17838 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17839
17840         * BufferView_pimpl.C (savePosition, restorePosition): Write
17841         messages to minibuffer.
17842
17843 2001-01-28  José Matos  <jamatos@fep.up.pt>
17844
17845         * buffer.C (makeDocBookFile): adds support for document language.
17846         A silly restriction on the name of LatexCommand types where removed.
17847         Added support for CDATA sections, allows to chars unescaped, used
17848         among others in code, to avoid escape < and >.
17849
17850 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17851
17852         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17853         saved positions instrad of a stack. Furthermore, a position is
17854         stored using paragraph id/paragraph position.
17855
17856         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17857         Remove LFUN_REF_BACK.
17858
17859 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17860
17861         * converter.C (dvipdfm_options): New method.
17862
17863 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17864
17865         * vspace.C (isValidLength): Fix for empty input string.
17866
17867 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17868
17869         * LyXAction.C (init): change description of LFUN_FIGURE to
17870         "Insert Graphics"
17871
17872 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17873
17874         * LaTeX.C: add using directive
17875
17876 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17877
17878         * MenuBackend.C (expand): Fix the sorting of the formats.
17879
17880 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17881
17882         * lyx_main.C: tiny error message fix
17883
17884 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17885
17886         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17887         calling fl_initialize(). This fixes the problem with ',' as
17888         decimal separator in text files.
17889
17890 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17891
17892         * trans.C (process): Fix the keymap bug.
17893
17894 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17895
17896         * LaTeX.C (scanAuxFiles): New method. Provides support for
17897         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17898         (scanLogFile) Scan for "run BibTeX" messages.
17899
17900         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17901         OT1 font encoding. Also, load the aecompl package if the ae
17902         package is loaded.
17903
17904         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17905
17906 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17907
17908         * texrow.C (increasePos): turn two error messages into debug
17909         messages.
17910
17911 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17912
17913         * LaTeX.C (scanAux): Handle the \@input macro.
17914         (runBibTeX): Use scanAux().
17915
17916         * language.C (latex_options_): New field.
17917
17918         * LaTeXFeatures.C (getMacros): Add language macros.
17919
17920         * buffer.C (makeLaTeXFile): Small fix.
17921
17922 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17923
17924         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17925
17926         * text2.C: add a using directive.
17927
17928 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17929
17930         * BufferView2.C:
17931         * lyx_gui_misc.h:
17932         * lyxfr1.C:
17933         * lyxfunc.C: kill LyXBell.
17934
17935 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17936
17937         * text.C (IsBoundary): Remove the error message
17938
17939         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17940
17941         * lyxrc.C (setDefaults): Correct initialization value for
17942         font_norm_type.
17943
17944 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17945
17946         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17947         gotoError().
17948
17949         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17950         and GotoNextNote().
17951
17952         * src/LyXAction.C: Added reference-next.
17953
17954         * text.C (InsertChar): Use contains instead of strchr.
17955
17956         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17957
17958 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17959
17960         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17961         alignment commands (when needed).
17962
17963         * text.C (InsertChar): Add ':' to number separator chars.