]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
handle special case Newline Inset
[lyx.git] / src / ChangeLog
1 2005-07-16  Juergen Vigna  <jug@lyx.org>
2
3         * text2.C (getColumnNearX): handle special case Newline Inset
4
5         * text.C (singleWidth): Just remove bogus check
6
7 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
8
9         * funcrequest.C (split): avoid reading uninitialized char c
10
11 2005-07-16  José Matos  <jamatos@fc.up.pt>
12
13         * buffer.C:
14         * converter.C:
15         * lyxrc.C:
16         * paper.h:
17         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
18         single papersize variable.
19
20 2005-07-16  Juergen Vigna  <jug@lyx.org>
21
22         * text3.C (dispatch): honor boundary when checking if a cursor
23         movement has been done
24
25         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
26         (setCursor, setCursorIntern): fix cursor movement with boundary
27
28 2005-07-16  Juergen Vigna  <jug@lyx.org>
29
30         * text.C (currentState): output the actual Boundary
31
32 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
33
34         * factory.C (createInset): fix bad logic for tabular creation
35
36 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
37
38         * lyx_main.C (init): change some reLyX reference to tex2lyx
39
40 2005-07-16  Juergen Vigna  <jug@lyx.org>
41
42         * dociterator.C (DocIterator): initialize boundary
43
44 2005-07-16  Juergen Vigna  <jug@lyx.org>
45
46         * text2.C (getColumnNearX): Consider rows without trailing blank.  
47
48 2005-07-16  André Pönitz  <poenitz@gmx.net>
49
50         * lyxfont.h: Change order of declarations to give the compiler
51         a better chance to inline things
52
53         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
54         questions on unsaved docs for better scritability
55
56 2005-07-16  André Pönitz  <poenitz@gmx.net>
57
58         * paragraph.h (getChar): remove asserts as the same kind of security
59         can be achieved by using a suitable standard library implementation
60         and the function was in the critical path (25.9% in profiler)
61
62 2005-07-16  Juergen Vigna  <jug@lyx.org>
63
64         * cursor.C (bruteFind2):
65         * bufferview_funcs.C (coordOffset): 
66         * text.C (cursorX,cursorY): Handle cursor position after last char
67         in row before a inset which uses a whole row.
68
69 2005-07-15  José Matos <jamatos@lyx.org>
70
71         * output_plaintext.[Ch] (writeFileAscii): control reference title
72         printing.
73         (asciiParagraph): noparbreak was already deal and was incorrectly
74         used.
75
76 2005-07-15  Juergen Vigna <jug@lyx.org>
77
78         * lyxfunc.C (dispatch): save and restore the cursor after a
79         textclass switch.
80
81 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
82
83         * text.C (backspace): bug 806 for empty keepempty paragraphs we
84         change the layout to default before letting DEPM do its thing.
85
86         * paragraph_funcs.C (breakParagraph): dont reset the layout on
87         keepEmpty paragraphs
88
89         * text.C (setCursorFromCoordinates): add a debug statement
90
91         * text2.C (getColumnNearX): bug 1825 make sure that we don't
92         return a pos that is not on the row
93
94         * output_latex.C (TeXDeeper): get rid of potential dereferencing
95         of past the end iterator
96
97 2005-07-14  André Pönitz  <poenitz@gmx.net>
98
99         * undo.C (recordUndoFullBuffer): implement undo for
100         textclass switches
101
102 2005-07-14  André Pönitz  <poenitz@gmx.net>
103
104         * cursor.C (setSelection): open insets when selection is set there
105         to avoid crashs with cold coord cache
106
107 2005-07-14  André Pönitz  <poenitz@gmx.net>
108
109         * trans_mgr.C (insert): move cursor to the right after inserting
110         a char.
111
112 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
113
114         * BufferView_pimpl.C (update): dampen some of the debug blabbering
115         * factory.C (readInset): ditto
116         * text.C, text2.C: ditto
117
118 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
119
120         * buffer.C: format incremented to 242. There is no file format per
121         se, but the "frenchb" language has been removed from lib/language
122         and has to be translated to "french" by lyx2lyx.
123
124 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
125
126         * cursor_slice.h, dociterator.h: add some documentation
127         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
128
129 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
130
131         * text.C (leftMargin): do not add identation to display() style
132         insets, because they are always centered (bug 1293).
133
134 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
135
136         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
137         formatted_time methods in support/lyxtime.
138
139 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
140
141         * toc.[Ch]: new method getGuiName, which is used by the frontends 
142         to set the toc combo (fixes bug 1870). Make TOC string translatable.
143
144 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
145
146         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
147         StableDocIterator const &)
148         * undo.C (recordUndo): use the above instead of cell.size() comparison
149         (fixes bug 1808; instructed by André).
150
151 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
152
153         * cursor_slice.h: 
154         * dociterator.h: Fix the assert when copying rows/cols in math
155
156 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
157
158         * BufferView_pimpl.C:
159         * LyXAction.C:
160         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
161
162         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
163         (findInset): new functions, refactored from goto Inset that return 
164         the position of a certain inset without setting the buffer's cursor
165         (by Jean-Marc); 
166         (gotoInset): rewrite to call findInset and then set the cursor
167         (by Jean-Marc).
168
169 2005-06-16  Angus Leeming  <leeming@lyx.org>
170
171         * lyxrc.C (output, read): wrap all input and output of paths with
172         calls to os::internal_path and os::external_path, respectively.
173         (output): wrap bind_file inside quotes.
174
175         * format.C (view): enable the viewer to use the '$$s' placeholder.
176
177 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
178
179         * LColor.[Ch] (getFromLaTeXName): new
180
181 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
182
183         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
184
185 2005-06-14  Angus Leeming  <leeming@lyx.org>
186
187         * lyx_main.C (init): ensure that the LyX binary dir is the first
188         element in the PATH on non-POSIX builds.
189
190 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
191
192         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
193
194 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
195
196         * rowpainter.C (paintInset, paintHebrewComposeChar)
197         (paintArabicComposeChar, paintChars): add a LyXFont argument.
198         (paintChars): use getFontSpan to reduce calls to getFont to a
199         minimum; use Paragraph::lookupChange instead of isXXXText.
200         (paintForeignMark): rename LyXFont argument.
201         (paintFromPos): pass a LyXFont object to the various paintXXX
202         methods.
203
204         * FontIterator.C (FontIterator, operator++): use
205         Paragraph::getFontSpan
206
207         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
208         version that returns the font span as a pair.
209
210 2005-06-09  Angus Leeming  <leeming@lyx.org>
211
212         * converter.C (convert): Don't forget "outfile = real_outfile" as
213         the final step in a conversion where the input and output file names
214         are the same. Otherwise, future conversion steps won't work...
215
216 2005-06-09  Angus Leeming  <leeming@lyx.org>
217
218         * lyxsocket.C: remove stub code as it isn't needed by
219         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
220
221 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
222
223         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
224         effectively disabled -x
225
226 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
227
228         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
229         when it actually makes sense.
230
231 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
232
233         * BufferView_pimpl.C: revert to showCursor in connection with
234         Lars's front-end stack
235
236 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
237
238         * text.C (redoParagraph): move cursor right after a bibitem
239         has been inserted.
240
241         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
242
243 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
244
245         * buffer_funcs.C (bufferErrors): fix computation of the end of an
246         error range.
247
248 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
249
250         * BufferView.[Ch] (update):
251         * BufferView_pimpl.[Ch] (update, metrics):
252         * dimension.h (operator==):
253         * lyxfunc.C (dispatch):
254         * metricsinfo.h (ViewMetricsInfo):
255         * rowpainter.C (paintText):
256         * lyxtext.h:
257         * text.C (redoParagraph):
258         * text3.C (dispatch): Make LyX only repaint current paragraph in
259         case of character insert --> speedup. Also fix cursor draw
260         artifacts
261
262 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
263
264         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
265         avoid a crash (bug 1891)
266
267 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
268
269         Fix bug 1892:
270
271         * text2.C (getStringToIndex): constify cur argument.
272
273         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
274         argument has been given
275         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
276         try to invoke LFUN_INSET_APPLY).
277
278         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
279         if no inset was created by doInsertInset
280         (doInsertInset): return true if an inset has been inserted.
281
282 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
283
284         * vspace.C (asGUIName): new method. A version of the space
285         suitable for showing on screen.
286
287 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
288
289         * MenuBackend.C:
290         * lyxrc.C: rename "ASCII" to "Plain Text"
291
292 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
293
294         * buffer_funcs.C (expandLabel): take a Buffer as argument;
295         translate the labelstring.
296         (setCounter): translate labelstring as needed.
297
298         * output_docbook.C (makeCommand): fix expandLabel invokation
299
300 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
301
302         * BufferView.C: fix dialog title
303
304 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
305
306         * lyx_main.C (priv_exec): fix logic error with help from Angus
307         * lyx_main.C (parse_execute): set is_gui = false and remove now
308         obsolete comment about a segfault
309
310 2005-05-18  Angus Leeming  <leeming@lyx.org>
311
312         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
313
314 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
315
316         * tabular.[hC]: added setCellInset to fix tabular paste.
317
318 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
319
320         * buffer.C (save): check if destination is writable before trying
321         to copy a file
322
323 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
324
325         * BufferView_pimpl.C (update): fix processEvents -caused update
326         recursion bug
327
328 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
329
330         * buffer_funcs.C (setCounter): fix test for numbering of
331         environments.
332
333         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
334         depth correctly; use optional argument when it exists
335
336         * lyxtextclass.C: remove unused MaxCounterTags enum
337         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
338         (max_toclevel, min_toclevel): new methods.
339
340         * MenuBackend.C (expandToc2): fix case where depth is smaller than
341         the smallest depth in toc.
342
343         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
344         layouts that should not appear in a table of contents.
345
346 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
347
348         * cursor.h (undispatched, noUpdate): add comments from André
349
350 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
351
352         * lfuns.h:
353         * LyXAction.C:
354         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
355
356 2005-05-07  André Pönitz  <poenitz@gmx.net>
357
358         * cursor.[Ch] (leaveInset): new function
359
360 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
361
362         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
363
364 2005-05-04  Angus Leeming  <leeming@lyx.org>
365
366         * lyxfunc.C (getStatus): disable the spell checker dialog if
367         none of USE_[AIP]SPELL are defined.
368
369 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
370
371         * tabular.C (setWidthOfCell): remove obsolete comment
372
373 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
374
375         * paragraph.C (bibitem):
376         * buffer_funcs.C (setCounter):
377         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
378
379 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
380
381         * text3.C (getStatus): immediately return after setOnOff
382
383         * rowpainter.C: fix drawing of appendix start
384
385 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
386
387         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
388         SwitchBetweenClasses and remove the unused return value.
389         Handle character styles, too
390
391 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
392
393         * factory.C (createInset): handle undefined character styles
394
395 2005-05-02  Angus Leeming  <leeming@lyx.org>
396
397         * buffer.C: protect the #include of utime.h with a preprocessor
398         guard.
399
400 2005-05-02  Angus Leeming  <leeming@lyx.org>
401
402         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
403         function so that auto-saving works, albeit in a blocking manner.
404
405         * Makefile.am: make compilation of the client sub directory, of
406         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
407         on conditionals set at configure time.
408
409         * SpellBase.[Ch]: no longer an abstract base class. Instead,
410         it can be compiled in its own right but has no-op functionality.
411
412         * aspell.C, pspell.C: remove preprocessor guards. The files should
413         be compiled only if the necessary functionality exists.
414
415         * lyxserver.C, lyxsocket.C: disable on Windows.
416
417 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
418
419         * text.C (leftMargin): Fix the parindent use bug (1764)
420         by dirty trick
421
422 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
423
424         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
425         argument.
426
427 2005-04-25  Angus Leeming  <leeming@lyx.org>
428
429         * Bidi.[Ch]:
430         * coordcache.[Ch]:
431         * ispell.C:
432         * lyxserver.C:
433         * mover.C:
434         * pch.h:
435         include <config.h> in .C files, not .h ones.
436         add licence blurb.
437         protect headers inside preprocessor guards.
438
439 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
440
441         * FuncStatus.h (StatusCodes): document
442
443 2005-04-21  André Pönitz  <poenitz@gmx.net>
444
445         * FuncStatus.h (enabled, onoff): document
446
447 2005-04-19  Angus Leeming  <leeming@lyx.org>
448
449         * BufferView_pimpl.C (cursorToggle): no longer test whether
450         any child processes have been reaped before calling
451         handleCompletedProcesses().
452
453 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
454
455         * text3.C (dispatch): fix, finally fix, the language problem in
456         new lyxtexts, without disabling on-the-fly font changes (Helge's
457         bug report)
458
459 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
460
461         * text3.C (dispatch): set cursor on double/triple click events
462         (bug 1811)
463
464 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
465
466         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
467         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
468
469         * rowpainter.C (paintFirst): simplify the code a little bit. In
470         particular, remove the test for secnumdepth.
471         * text.C (setHeightOfRow): only allocate space for chapter number
472         when updateCounters provided an actual label, instead of looking
473         at secnumdepth directly.
474
475         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
476
477         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
478         paragraphs when secnumdepth is large enough or, for environments,
479         when they are not the first in a sequence.
480
481 2005-04-17  Angus Leeming  <leeming@lyx.org>
482
483         * buffer.C (makeLaTeXFile): replace code to manipulate a path
484         containing space and '~' characters with a call to latex_path().
485
486 2005-04-17  Angus Leeming  <leeming@lyx.org>
487
488         * converter.C (convert): protect all args of convertDefault.sh
489         script with quotes.
490
491 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
492
493         * text3.C (dispatch): change the layout to "Caption" after inserting
494         a float.
495
496 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
497
498         * text3.C (dispatch): fix language problem in newly created
499         textinsets (and main text) in non-english docs
500
501 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
502
503         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
504         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
505         * text3.C (getStatus): disable LFUN_INSET_MODIFY
506
507 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
508
509         * lyxtext.h:
510         * text.C (metrics):
511         * text2.C (getFont):
512         * rowpainter.C (getFont): Fix metrics bug introduced by inset
513         fonts fix
514
515 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
516
517         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
518         output of \item arguments without trailing text.
519
520 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
521
522         * FontIterator.C (operator*): avoid a copy of the font.
523
524 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
525
526         * rowpainter.C (getFont): fix language bug from previous fix
527
528 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
529
530         * rowpainter.C (RowPainter, getFont): fix font inside inset
531         (bugs 1766, 1809)
532
533 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
534
535         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
536         preventing inserted font, deco, delim insets jumping to start of
537         surrounding inset.
538
539 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
540
541         * lyxfunc.C (dispatch): translate message before sending it to the
542         minibuffer.
543
544 2005-03-29  Angus Leeming  <leeming@lyx.org>
545
546         * lyx_main.C (priv_exec): call os::internal_path on each file passed
547         to LyX on the command line.
548
549 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
550
551         * vc-backend.C: use QuoteName to protect file names wherever
552         necessary.
553
554 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
555
556         * buffer.[Ch]:
557         * BranchList.h: fix bugs 1844,1845: document settings don't
558         stick
559
560 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
561
562         * lyxrc.C (setDefaults, read, output, getDescription): add support
563         for tex_allows_spaces.
564
565         * exporter.C (Export): allows files in directory containing spaces
566         if tex_allows_spaces is true.
567
568         * buffer.C (makeLaTeXFile): if the document path contains spaces,
569         output it in double quotes.
570
571 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
572
573         * rowpainter.C: use default text height for drawing change tracker
574         strikeout lines.
575
576 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
577
578         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
579
580 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
581
582         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
583         directory is missing.
584
585 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
586
587         * text2.C: fixed the fix, extended to other case.
588
589 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
590
591         * text2.C: fix for cursor up/down stuck in math [bug 1792]
592
593 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
594
595         * text2.C (cursorUp): get rid of a crash
596         * text.C (x2pos): add an assert
597
598 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
599
600         * lyxfunc.C (getStatus): fix warning when assertions are disabled
601
602         * text3.C:
603         * lyxfunc.C:
604         * dociterator.C: include <boost/current_function.hpp>, which is
605         needed when assertions are disabled.
606
607 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
608
609         * text2.C: fix for stuck cursor when traversing two
610         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
611
612 2005-02-25  Andreas Vox  <avox@arcor.de>
613
614         * output_docbook.C (makeParagraph): suppress trailing newline
615         after a run of paragraphs
616
617 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
618
619         * paragraph.C: fix for confused change tracker when pasting
620         text that begins with a lineseparator. [bug 1827]
621         (setChange(0, Change::INSERTED);)
622
623         * paragraph_funcs.C: fix for lost changes on triple-paste
624         in change tracking mode [bug 1827] (par.setChange()).
625
626 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
627
628         * text2.C (updateCounters, setCounter, expandLabel): move to
629         buffer_funcs.
630
631         * buffer_funcs.C (updateCounters): turn into a free standing
632         function and add a buffer parameter. Remove dead code for tracking
633         labelstring change.
634         (setCounter): change into a free-standing function which gets a
635         dociterator as argument. Use this iterator to fix captions in a
636         simple way. When no float is found above the caption, use the
637         labelstring of the caption layout as default.
638
639         * text.C (breakParagraph, backspace):
640         * text2.C (init, setLayout, changeDepth):
641         * text3.C (dispatch):
642         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
643         updateCounters.
644
645         * dociterator.C (forwardPar): make it much faster by calling
646         forwardPos() only when really necessary.
647
648         * output_docbook.C (makeCommand): adapt to expandLabel move.
649
650         * cursor.C: remove unused variable
651
652 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
653
654         * paragraph_funcs.C: fix crash when pasting insets in change
655         tracking mode [bug 1277] (honour change type in moveItem).
656
657 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
658
659         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
660
661 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * BufferView.C (setCursor): change to use a DocIterator.
664         (gotoLabel): use BufferView::setCursor (other part of bug 781).
665         (putSelectionAt): adapt to BufferView::setCursor change.
666
667         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
668         moved here from LyXText and rewritten to use proper cursor
669         methods. Fixes bug 1787, 616 and 835.
670
671         * BufferView_pimpl.C (restorePosition): set the cursor correctly
672         when inside an inset (part of bug 781).
673         (dispatch): adapt to change of BufferView::setCursor.
674         (getStatus, dispatch): handle LFUN_GOTOERROR,
675         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
676
677         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
678         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
679         * text3.C (gotoNextInset, gotoInset): removed.
680
681 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
682
683         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
684
685 2005-02-15  Angus Leeming  <leeming@lyx.org>
686
687         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
688         can be used meaningfully in a comparison.
689
690 2005-02-13  André Pönitz  <poenitz@gmx.net>
691
692         * bufferview_funcs.C (coordOffset): improve cursor drawing
693
694 2005-02-13  André Pönitz  <poenitz@gmx.net>
695
696         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
697         * Cursor.C (dispatch): use fixIfBroken
698         * lyxfunc.C (getStatus): use fixIfBroken
699
700 2005-02-15  Angus Leeming  <leeming@lyx.org>
701
702         * lyx_main.C (error_handler):
703         * lyxfunc.C:
704         * lyxrc.C (setDefaults):
705         s/GetEnv/getEnv/.
706         #include "environment.h".
707
708         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
709
710 2005-02-15  Angus Leeming  <leeming@lyx.org>
711
712         * lyxserver.C (startPipe): squash MSVC warning "local variable
713         'fd' used without having been initialized".
714
715 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
716
717         * BufferView_pimpl.C: revert accidental commit.
718
719 2005-02-14  André Pönitz  <poenitz@gmx.net>
720
721         * dociterator.[Ch]: new member forwardPosNoDescent(),
722         which doesn't enter nested insets.
723         * text2.C (setFont): use forwardPosNoDescent() instead
724         of ForwardPos() (fixes crash on font change).
725
726 2005-02-13  Angus Leeming  <leeming@lyx.org>
727
728         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
729         only if lyxrc.path_prefix is not empty.
730
731 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
732
733         * bufferparams.C (readGraphicsDriver): prevent crash
734
735 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
736
737         * text2.C (setCounter): check for inInset() == 0
738
739 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
740
741         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
742         but use update() to get correct screen display; use convert
743         instead of istringstream.
744         (getStatus): handle LFUN_GOTO_PARAGRAPH
745
746         * lyxfunc.C (dispatch, getStatus): do not handle
747         LFUN_GOTO_PARAGRAPH here.
748
749 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
750
751         * text3.C (dispatch): size() -> depth()
752
753         * text2.C: remove some debug output
754
755         * paragraph.C: ws changes only
756
757         * lyxfunc.C (getStatus): size() -> depth()
758
759         * dociterator.h (clear, push_back, pop_back, internalData,
760         operator[], resize, empty): new functions
761         Make StableDocIterator and operator== be friends. Don't inherit
762         from std::vector use a privat class variable slices_ instead.
763         Modify to fit.
764
765         * dociterator.C: update because of not inheriting from std::vector
766         anymore. Call explictly to slices_ instead. Use depth() instead of
767         size() and top() instead of back()
768
769         * cursor.C: chagne size() -> depth and back() -> top(). Also
770         remove some direct operator[](i) calls in favour of foo[i]
771         (getFont): remove some dead code
772
773         * bufferview_funcs.C (coordOffset): size() -> depth()
774
775         * buffer.C: ws changes only
776
777         * CutAndPaste.C (eraseSelection): back() -> top()
778
779         * BufferView_pimpl.C (selectionRequested): back() -> top()
780
781         * BufferView.C (setCursor): size() -> depth()
782
783 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
784
785         * text3.C (cursorPrevious): return true if depm changed something
786         (cursorNext): ditto
787         (dispatch): rename sl to oldTopSlice, remove moving use the new
788         NoUpdate func attrib instead. Make sure that needsUpdate is set
789         for function that have NoUpdate, but where depm might have changed
790         the buffer anyway.
791
792         * text2.C (cursorLeft): make us return true if depm changed
793         something
794         (cursorRight): ditto
795         (cursorUpParagraph): ditto
796         (curosrDownParagraph): ditto
797         (cursorUp, cursorDown): ditto, make sure to read comments in code
798         (deleteEmptyParagraphMechanism): remove an assert, also return
799         true if just a single char was deleted.
800
801         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
802         cursor that we modify, to avoid modifying an active cursor before
803         we call setCursor. This allows depm to run. Also return true if
804         depm deleted something.
805
806         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
807         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
808         cursorDownParagraph, cursorPrevious and cursorNext, return true if
809         something was changed in the buffer because of them (ie. depm run)
810
811         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
812         debug messages. Make update by default be false. Make sure that
813         the result of update is retained throught several calls down to
814         dispatch.
815
816         * LyXAction.h: add a new func_attrib: NoUpdate
817
818         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
819         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
820         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
821         and LFUN_WORDLEFT
822         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
823
824 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
825
826         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
827         bv_->owner(), bv_->buffer() by direct references to the private
828         members.
829         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
830         (getStatus): isSavedPosition() is in BufferView::Pimpl.
831         (fitCursor): center() is in BufferView::Pimpl.
832         (getStatus, trackChanges, dispatch): no need for a temporary buf
833         variable
834         (fitCursor, workAreaDispatch): use workarea().workheight()
835
836 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
837
838         * CutAndPaste.C (pasteSelectionHelper): fix a crash
839
840 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
841
842         * buffer.C: format up to 241.
843         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
844         break if pasting into ERT
845         * lyxfunc.C (getStatus): suppress mathpanel and
846         LFUN_DIALOG_SHOW_NEW_INSET in ERT
847
848 2005-02-01  Angus Leeming  <leeming@lyx.org>
849
850         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
851
852 2005-02-01  Angus Leeming  <leeming@lyx.org>
853
854         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
855         calling fs::is_directory().
856
857 2005-01-31  Angus Leeming  <leeming@lyx.org>
858
859         * lyx_main.C (priv_exec): specify explicitly the relative location
860         of the top level build directory when run in-place.
861
862 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
863
864         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
865         LyXText containing the cursor, not the top-level one.
866
867         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
868         true.
869         (insertStringAsLines): rename par to pit; use temporary variable
870         par to hold a Paragraph; do not store par.layout() in a variable,
871         since the pointer may die when breaking paragraphs; pass pars to
872         breakParagraph() instead of Buffer::paragraphs().
873
874 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
875
876         * lyxlex_pimpl.h: #include <fstream>.
877
878         * BufferView.[Ch] (getLyXText): add a const version.
879
880         * BufferView_pimpl.C: add debug aids.
881
882         * RowList_fwd.h:
883         * buffer.h:
884         * lyxrow.h:
885         * paragraph_funcs.h: add commentary explaining what the class does.
886
887
888         * coordcache.[Ch]: add lots of commentary.
889         (startUpdating, doneUpdating): debug aids.
890         (arrays, insets, parPos, getParPos): accessors to private data.
891
892         * cursor_slice.[Ch] (text): add a const version.
893         * dociterator.[Ch] (text, innerText): add const versions.
894
895         * lyxtext.h (breakParagraph): change the keep_layout arg to a
896         bool.
897
898         * paragraph.C (getRow, pos2ros): add asserts.
899
900         * paragraph.h: add commentary. Lots of.
901
902         * paragraph.[Ch] (metrucs, draw): removed.
903
904         * cursor.C:
905         * rowpainter.[Ch]: const-correct changes.
906
907         * text.C: various obvious clean-ups. Removal of ancient cruft.
908         Bug fixes, even.
909
910 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
911
912         * vc-backend.C (find_file): rewrite to use boost.filesystem
913         (scanMaster): ditto
914
915         * main.C (main): set default name check for boost.filesystem to
916         no check
917
918         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
919         (open): ditto
920         (doImport): ditto
921         (actOnUpdatedPrefs): ditto
922
923         * lyx_main.C (init): rewrite to use boost.filesystem
924         (queryUserLyXDir): ditto
925
926         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
927         (getContentsOfAsciiFile): ditto
928
929         * lastfiles.C (readFile): rewrite to use boost.filesystem
930
931         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
932
933         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
934         (loadLyXFile): ditto
935
936         * buffer.C (Buffer): adjust for destroydir
937         (getLogName): rewrite to use boost.filesystem
938         (setFileName): ditto
939         (save): use fs::copy_file (from fs_extras)
940
941         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
942
943         * LaTeX.C (run): rewrite to use boost.filesystem
944         (scanAuxFiles): ditto
945         (handleFoundFile): ditto
946
947 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
948
949         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
950
951         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
952
953 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
954
955         * lyxlayout.[Ch]: change some vars from float to double
956
957         * buffer.C (readFile): make a local var const
958
959         * Several files: use convert<> instead of atoi,strToXXX and friends
960
961 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
962
963         * LaTeXFeatures.[Ch]: Add a static list packages_ that
964         holds the contents of packages.lst. New functions getAvailable
965         and isAvailable to parse and check that list, resp.
966
967         * LyXAction.C:
968         * lfuns.h:
969         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
970
971         * bufferparams.[Ch]: new param output_changes.
972
973         * Buffer.C: increase file format to 240.
974         Use output_changes and isVailable.
975
976         * changes.[Ch]:
977         * paragraph.C:
978         * paragraph_pimpl.C: Use output_changes and isVailable.
979
980 2005-01-23  Angus Leeming  <leeming@lyx.org>
981
982         * output_latex.C: #include "insetbibitem.h", rather than
983         forward declare function bibitemWidest.
984
985 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
986
987         * lyx_main.C (init): make it compile on the Mac.
988
989 2005-01-20  Angus Leeming  <leeming@lyx.org>
990
991         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
992         (setLyXMisc): (char string literal) != (char string literal) is
993         performing a comparison on the addresses. Convert one operand
994         explicitly to string to guarantee expected behaviour.
995         From MSVC warning.
996
997 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
998
999         * buffer.C:
1000         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1001
1002         * output_plaintext.C: remove unneeded #include gzstream.h.
1003
1004 2005-01-20  Angus Leeming  <leeming@lyx.org>
1005
1006         * SpellBase.h: rename some of the elements of the Result enum.
1007
1008         * aspell_local.h:
1009         * ispell.h:
1010         * pspell.h:
1011         * aspell.C (check):
1012         * ispell.C (check):
1013         * pspell.C (check): ditto
1014
1015 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1016
1017         * buffer.C: add #include <fstream>.
1018
1019         * lyx_main.C (init): Compile fix.
1020
1021         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1022
1023 2005-01-20  Angus Leeming  <leeming@lyx.org>
1024
1025         * mover.h: change commentary to reflect the changed meaning of
1026         the $$s placeholder.
1027
1028 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1029
1030         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1031
1032         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1033
1034 2005-01-20  Angus Leeming  <leeming@lyx.org>
1035
1036         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1037         printing diagnostic data by not dereferecing an iterator past the
1038         end.
1039
1040 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1041
1042         * buffer.C (readHeader): use "&&" rather than "and".
1043
1044         * lyxserver.h (inPipeName, outPipeName): make these const.
1045
1046 2005-01-19  Angus Leeming  <leeming@lyx.org>
1047
1048         * lyx_main.C (error_handler, init): protect SIGHUP with
1049         #ifdef SIGHUP guards.
1050
1051 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1052
1053         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1054
1055 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1056
1057         * text.C (setHeightOfRow): add a margin at the top and bottom of
1058         the document (bug 1761)
1059
1060 2005-01-17  Angus Leeming  <leeming@lyx.org>
1061
1062         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1063         with "python ". Workaround for a brain-dead Windows.
1064
1065 2005-01-16  Angus Leeming  <leeming@lyx.org>
1066
1067         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1068         for MacOSX and Windows to use prependEnvPath.
1069         Strip out the hard-coded block to add elements to the PATH for
1070         MacOSX and replace it with a call to prependEnvPath using the
1071         contents of LyXRC::path_prefix.
1072         (queryUserLyXDir): strip out the code to run reconfigure, instead
1073         returning a boolean indicating the necessity to do so.
1074         (reconfigureUserLyXDir): contains the code to reconfigure the
1075         user support directory. Is now called after the various LyXRC data
1076         files have been read.
1077
1078         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1079
1080 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1081
1082         * converter.[Ch] (convert): take a new parameter try_default. Use
1083         a default converter (imagemagick) if try_default is true.
1084
1085 2005-01-13  Angus Leeming  <leeming@lyx.org>
1086
1087         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1088         os::cygwin_path_fix.
1089         (write): output LyXRC::cygwin_path_fix as necessary.
1090
1091 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1092
1093         * lyxrc.h:
1094         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1095
1096 2005-01-12  Angus Leeming  <leeming@lyx.org>
1097
1098         * lyx_main.C (init): set the PATH variable to include the
1099         directory containing the LyX binary when running on Mac or Windows.
1100
1101 2005-01-12  Angus Leeming  <leeming@lyx.org>
1102
1103         * lyx_main.C (init): remove cruft that purports to set the locale
1104         dir. It doesn't and is not needed anyway.
1105
1106 2005-01-10  Angus Leeming  <leeming@lyx.org>
1107
1108         * Makefile.am: remove the lyx_main.C special casing.
1109
1110         * BufferView_pimpl.C:
1111         * bufferlist.C:
1112         * exporter.C:
1113         * lyx_cb.C:
1114         * lyx_main.C:
1115         * lyxfunc.C:
1116         * messages.C: use support/package.h to provide the paths to the
1117         various directories used by LyX.
1118
1119 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1120
1121         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1122         layout if pasting into an empty paragraph)
1123
1124 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1125
1126         * tex-accent.C: add <string>
1127
1128 2005-01-06  José Matos  <jamatos@lyx.org>
1129
1130         * ParagraphParameters.C (write): put every parameter in its own line.
1131         * paragraph.C (write): reduce number of consecutive empty lines exported.
1132         * buffer.C (LYX_FORMAT): increase file format to 239.
1133
1134 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1135
1136         * everywhere: change support/tostr.h -> support/convert.h
1137
1138         * tabular.C: make all write_attributes templates, tostr -> convert
1139
1140         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1141         (emptyTag): and -> &&, and fix type for ret from getChar
1142         (getFirstWord): fix type for ret from getChar
1143         (onlyText): and -> &&
1144         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1145         getChar
1146
1147         * toc.C (goTo, action):
1148         * text3.C (dispatch):
1149         * text.C (currentState):
1150         * tex-accent.C (DoAccent):
1151         * sgml.C:
1152         * lyxrc.C:
1153         * lyxfunc.C (menuNew):
1154         * lyxfinc.C (replace):
1155         * counters.C (laberItem):
1156         * bufferview_funcs.C (font2string):
1157         * bufferparams.C (writeFile):
1158         * buffer.C (readFile):
1159         * Spacing.C (set):
1160         * MenuBackend.C: tostr -> convert
1161
1162         * LaTeX.C (runMessage): fix format
1163         (scanAuxFiles): tostr -> convert
1164
1165         * BufferView_pimpl.C (savePosition): fix format
1166         (restorePosition): ditto
1167         (dispatch): ditto
1168
1169 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1170
1171         * Spacing.[Ch]: New method getValueAsString().
1172
1173         * Spacing.[Ch]:
1174         * bufferparams.C:
1175         * ParagraphParameters.C:
1176         * lyxlayout.C:
1177         * text.C:
1178         * text3.C: store/read spacing value as string.
1179
1180         * rowpainter.C: change float value (spacing_val) to double.
1181
1182         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1183         broken custom document spacing).
1184
1185 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1186
1187         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1188         namespace, also more use of temp references and const
1189
1190         * cursor.[Ch] (getStatus): move to lyxfunc.C
1191
1192         * bufferparams.C: reformat slightly
1193
1194         * bufferview_funcs.C (font2string): constify arg
1195
1196         * changes.C:
1197         * converter.C:
1198         * counters.C:
1199         * bufferlist.C:
1200         * buffer_funcs.C: (many funcs): constify arg on function
1201         definitions, also make more local vars const, also add ASSERTS on
1202         pointer args.
1203
1204         * buffer.C (LYX_FORMAT): put const in correct place
1205         (many funcs): constify arg on function definitions, also make
1206         more local vars const
1207
1208         * aspell_local.h: remove "struct" from typdef setup
1209
1210         * aspell.C (check): make word_ok const
1211         (nextMiss): simplify slightly
1212         (error): ditto
1213
1214 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1215
1216         * lyxrc.[Ch]: store all float values as strings.
1217         use int (not float) for lyxrc.dpi.
1218
1219 2005-01-04  Angus Leeming  <leeming@lyx.org>
1220
1221         * lyx_cb.C (Reconfigure):
1222         * lyx_main.C (queryUserLyXDir):
1223         to run the <system_lyxdir>/configure correctly on Windows, prefix
1224         the path to the script with "sh " when generating the string that
1225         is passed to system().
1226
1227 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1228
1229         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1230
1231 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1232
1233         * lyxlength.C (asLatexString): get rid of setprecision
1234
1235 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1236
1237         * text2.C (setLayout): remove unused variable endpit.
1238         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1239
1240         * paragraph.C (onlyText): remove unused variable style.
1241
1242         * cursor.C (bruteFind): remove unused variables beg and end.
1243
1244         * Makefile.am (dist_noinset_DATA): not needed anymore
1245
1246         * cheaders/*: remove.
1247
1248 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1249
1250         * text3.C: fix LFUN_MATH_MODE.
1251
1252 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1253
1254         * buffer_funcs.C (countWords): new function. Counts words between
1255         two iterators.
1256
1257         * BufferView_pimpl.C (getStatus, dispatch): handle
1258         LFUN_WORDS_COUNT.
1259
1260         * LyXAction.C (init):
1261         * lfuns.h: add LFUN_WORDS_COUNT.
1262
1263 2004-12-19  Angus Leeming  <leeming@lyx.org>
1264
1265         * buffer.C (save): s/slashify_path/internal_path/.
1266
1267 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1268
1269         * lyxfind.C (findChange): do not search for end of pars, because
1270         the change tracker cannot handle this (fixes bug 1719).
1271
1272 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1273
1274         * paragraph.[Ch] (autoBreakRows): remove
1275
1276         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1277
1278         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1279         avoid using the paragraph one
1280
1281         * text2.C (LyXText, insertStringAsLines): adjust
1282
1283 2004-12-16  Angus Leeming  <leeming@lyx.org>
1284
1285         * bufferlist.C:
1286         * lyx_main.C:
1287         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1288
1289 2004-12-14  Angus Leeming  <leeming@lyx.org>
1290
1291         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1292
1293         * bufferlist.C (emergencyWrite):
1294         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1295         GetEnvPath("HOME").
1296
1297 2004-12-14  Angus Leeming  <leeming@lyx.org>
1298
1299         * main.C: (main): no longer pass pointers to os::init.
1300
1301 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1302
1303         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1304         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1305
1306 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1307
1308         * lyxfunc.C:
1309         * text3.C: remove selection_possible global flag
1310
1311 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1312
1313         * text2.C (getSelectionSpan): remove
1314         (changeDepth, changeDepthAllowed): adjust
1315
1316 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1317
1318         * Makefile.am (BOOST_LIBS): use boost variables
1319
1320 2004-12-03  José Matos  <jamatos@lyx.org>
1321
1322         * buffer.C: format up to 238.
1323
1324 2004-12-03  José Matos  <jamatos@lyx.org>
1325
1326         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1327
1328 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1329
1330         * cursor.C (goUpDown): remove call to idxUpDown2
1331
1332 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1333
1334         * tabular.[Ch]: use size_t-like types for cell, row and column
1335         indices
1336
1337 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1338
1339         * lyxfunc.C (getStatus): do not lose previous information when
1340         calling BufferView::getStatus; do not set a default "Command
1341         disabled" message at the beginning, but just before returning.
1342
1343 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1344
1345         * cursor.h (getStatus): add better comment from src/cursor.C
1346
1347 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1348
1349         * text3.C (getStatus): return false when the lfun is not handled
1350
1351 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1352
1353         * broken_headers.h: remove
1354
1355         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1356
1357 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1358
1359         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1360         offset_ref accessors
1361
1362         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1363         top_y_, merge fitcursor with update
1364         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1365         coord scheme
1366         (metrics): introduce
1367         (workAreaDispatch): adapt to new coord scheme
1368         (redoCurrentBuffer): remove
1369
1370         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1371
1372         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1373         CurStatus enum.
1374
1375         * coordcache.[Ch]: add paragraph cache and helpers
1376
1377         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1378         adjust everywhere
1379
1380         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1381         (targetX, setTargetX): introduce
1382
1383         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1384         baseline -> ascent, as the rest of lyx
1385
1386         * lyxtext.h: remove redoParagraphs, updateParPositions,
1387         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1388         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1389         have ascent/descent (ascent is ascent of first par)
1390
1391         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1392         step of BufferView
1393
1394         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1395
1396         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1397
1398         * pariterator.C: fix infinite loop introduced in par->pit renaming
1399
1400         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1401         in insets and LyXText, draw two off-screen paragraphs using
1402         NullPainter, and adapt to new coord scheme
1403
1404         * text.C:
1405         * text2.C:
1406         * text3.C: adapt lfun handlers to the new coord scheme, which
1407         means: there's only guaranteed coord information for onscreen pars
1408         plus one above and one below. This implies that one can do search
1409         from y coordinates in the range [-1,workHeight]
1410
1411 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1412
1413         * rename a lot of InsetOld to InsetBase
1414
1415 2004-11-25  Angus Leeming  <leeming@lyx.org>
1416
1417         * BufferView_pimpl.C:
1418         * lyx_cb.C:
1419         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1420
1421 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1422
1423         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1424         call BufferView::getStatus if LCursor::getStatus did nothing
1425         (setStatusMessage, getStatusMessage): removed.
1426
1427         * FuncStatus.C (message): new methods. Used to provide an error
1428         message indicating why a command is disabled.
1429         (clear, |=, FuncStatus): update for message.
1430
1431 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1432
1433         * lyxfunc.C (dispatch): always call sendDispatchMessage
1434
1435 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1436
1437         * BufferView.C:
1438         * BufferView_pimpl.C:
1439         * CutAndPaste.C:
1440         * FontIterator.C:
1441         * buffer.C:
1442         * cursor.C:
1443         * cursor_slice.[Ch]:
1444         * dociterator.[Ch]:
1445         * lyxfind.C:
1446         * paragraph_funcs.C:
1447         * pariterator.C:
1448         * rowpainter.C:
1449         * text.C:
1450         * text2.C:
1451         * text3.C:
1452         * undo.C: par->pit renaming
1453
1454 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1455
1456         * tabular.C (cellstruct): use initialization, store a shared_ptr
1457         to insettext instead of the insettext directly, adjust to fit.
1458         (operator=):  new function
1459         (swap): new function
1460         (rowstruct): use initialization
1461         (columnstruct): use initialization
1462         (ltType): use initialization
1463
1464
1465         * lyxlength.h (swap): new function
1466
1467         * LColor.[Ch] (operator=): use the common semantics
1468
1469 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1470
1471         * lyxfind.C (findNextChange): update the bufferview after setting
1472         the selection.
1473
1474 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1475
1476         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1477         number of InsetOptArgs has already been inserted.
1478
1479         * output_latex.C (latexOptArgInsets): new method. This outputs all
1480         the optarg insets, up to the limit defined in the layout file.
1481         (optArgInset): removed
1482         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1483
1484 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1485
1486         * paragraph.C (isLetter): remove special spellchecker-related
1487         code; return true also for digits
1488         (isWord, isKomma): remove
1489
1490         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1491         * lyxfind.C (MatchString()): use isLetter instead of isWord
1492
1493 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1494
1495         * pariterator.h (operatir=): comment out un-implemented member
1496         function.
1497
1498         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1499         static cast.
1500
1501 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1502
1503         * lyxfont.h: include LColor.h to satisfy concept checks.
1504
1505 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1506
1507         * pariterator.h: add typdefs for value_type, difference_type,
1508         pointer and reference to satisfy concept checks. Also add default
1509         constructor for same reason.
1510
1511         * pariterator.C (operator++): add post-increment operator to
1512         satisfy concept checks.
1513
1514         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1515         checks.
1516
1517         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1518
1519         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1520         checks. Also rename base_type to BaseType to follow naming
1521         standard better.
1522
1523         * FloatList.h: include Floating.h to satisfy concept checks.
1524
1525 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1526
1527         * lyxfunc.C (getStatus): when the origin of the request is menu or
1528         toolbar, and the LyXView does not have focus, do as if there was
1529         no buffer (bug 1720)
1530
1531         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1532         FuncRequest to individual entries of LFUN_SEQUENCE
1533
1534 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1535
1536         * output_latex.C (TeXOnePar): override runparams.moving_arg
1537         according to the needprotect value of the current paragraph (bug
1538         1739)
1539
1540         * paragraph.C (simpleTeXOnePar): no need to override
1541         runparams.moving_args here
1542
1543 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1544
1545         * vspace.C: fix off-by-one-error, related to fix #1682
1546
1547 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1548
1549         * lengthcommon.C: a more general fix for bug 1682
1550
1551 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1552
1553         * text.C (backspace): fix crash
1554
1555 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1556
1557         * format.[Ch] (getFormatFromFile): new method
1558         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1559
1560 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1561
1562         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1563
1564 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1565
1566         * lyxfunc.C (dispatch): remove the verbose argument
1567         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1568         instead
1569
1570         * kbmap.C (defkey): set the origin of func to KEYBOARD
1571
1572         * MenuBackend.C (MenuItem):
1573         * ToolbarBackend.C (add): set the origin of func to UI
1574
1575         * funcrequest.[Ch]: add origin member, which indicates which part
1576         of LyX requests an action
1577
1578 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1579
1580         * converter.C (move): don't lie in the error message
1581         * converter.h (isReachable, move): document
1582
1583 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1584
1585         * buffer.C: remove unused using lyx::support::atoi
1586         * paragraph_funcs.C: ditto
1587
1588 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1589
1590         * bufferlist.C (exists): use bind and equal_to instead of
1591         compare_memfun
1592         (getBuffer): ditto
1593         * lyxtextclasslist.C (NumberOfClass): ditto
1594
1595         * cursor.C (insert): use for_each instead of explicit for loop
1596
1597         * bufferlist.C (getFileNames): use std::transform and
1598         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1599
1600         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1601         for loop
1602
1603         * buffer.C (changeLanguage): use for_each instead of explicit for
1604         loop
1605         (hasParWithID): implement using getParFromID
1606
1607         * LaTeXFeatures.C: ws change only
1608
1609         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1610         to cleanup a bit.
1611
1612         * BufferView_pimpl.C (trackChanges): use for_each instead of
1613         expilicit for loop
1614
1615 2004-11-04  André Pönitz  <poenitz@gmx.net>
1616
1617         * undo.h:
1618         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1619
1620         * dociterator.C (asDocIterator): use hard assert again.
1621
1622 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1623
1624         * lyxlength.C (asLatexString): rewrite so that it does not use
1625         snprintf anymore
1626
1627 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1628
1629         * text3.C (specialChar, dispatch): make sure cursor moves to the
1630         right after inserting an inset
1631
1632 2004-11-02  José Matos  <jamatos@lyx.org>
1633
1634         * output_docbook.C (docbook):
1635         * paragraph.C (getID):
1636         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1637         garantee that the output is always legal.
1638
1639         * tabular.C (docbook):
1640         * outputprams.[Ch]: remove mixed contents.
1641
1642 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1643
1644         * text2.C (setCounter): prevent endless loop
1645
1646 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1647
1648         * exporter.C (copyFile): use the mover instead of support::copy()
1649         * exporter.C (Export): pass format and latex name to copyFile()
1650         * exporter.h (addExternalFile): document
1651         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1652
1653 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1654
1655         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1656
1657 2004-10-30  José Matos  <jamatos@lyx.org>
1658
1659         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1660         text and no inset or font change. This allows to use CDATA
1661         sections just for the whole paragraph.
1662
1663 2004-10-30  José Matos  <jamatos@lyx.org>
1664
1665         * paragraph.C (getFirstWord): remove unused variable.
1666
1667 2004-10-30  José Matos  <jamatos@lyx.org>
1668
1669         * paragraph.C (getFirstWord): the content should always be escaped
1670         there.
1671         (simpleDocBookOnePar):
1672         * output_docbook.C (makeEnvironment): replace reference to CDATA
1673         to style pass_thru.
1674
1675 2004-10-30  José Matos  <jamatos@lyx.org>
1676
1677         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1678
1679 2004-10-30  José Matos  <jamatos@lyx.org>
1680
1681         * output_docbook.C (makeParagraphs):
1682         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1683         standard paragraph has only a given type of content drop the wrapper.
1684
1685 2004-10-29  José Matos  <jamatos@lyx.org>
1686
1687         * output_docbook.C (makeEnvironment):
1688         * sgml.C (openTag):
1689         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1690
1691 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1692
1693         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1694         (cleanID): sanitize any id.
1695
1696 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1697
1698         * buffer.C, lyxlex_pimpl.C:
1699         * lyxlex_pimpl.C (setFile):
1700         s/getExtFromContents/getFormatFromContents/
1701
1702 2004-10-28  José Matos  <jamatos@lyx.org>
1703
1704         * output_docbook.C (makeEnvironment): move id to broadest possible
1705         scope.
1706
1707         * sgml.C (openTag): apply substitution of <> for all attributes.
1708
1709 2004-10-28  José Matos  <jamatos@lyx.org>
1710
1711         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1712         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1713         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1714
1715         * sgml.[Ch]: new version for open and closeTag for paragraph and
1716         for strings. Now they handle the ids of paragraphs.
1717
1718 2004-10-26  Angus Leeming  <leeming@lyx.org>
1719
1720         * Makefile.am: add mover.[Ch].
1721
1722         * converter.C (convert, move): use the new Movers to move external
1723         files to the temp directory.
1724
1725         * lyx_main.C (init): ensure that the global system_movers data
1726         is initialised.
1727
1728         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1729         preferences file.
1730
1731         * mover.[Ch]: new files, defining a Mover as a utility to move an
1732         external file between directories and, if necessary, manipulate this
1733         file using a helper script.
1734
1735 2004-10-25  José Matos  <jamatos@lyx.org>
1736
1737         * output_docbook.C (makeCommand): merge two if's that tested the
1738         same condition.
1739
1740 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1741
1742         * sgml.C (escapeString): fix warning in a better way
1743
1744 2004-10-25  José Matos  <jamatos@lyx.org>
1745
1746         * sgml.C (escapeString): import the require boosts header file for
1747         tie, and avoid a signed unsigned comparison.
1748
1749 2004-10-25  José Matos  <jamatos@lyx.org>
1750
1751         * sgml.h: add #include <string>
1752
1753 2004-10-25  José Matos  <jamatos@lyx.org>
1754
1755         * sgml.[Ch] (escapeString): new function to escape all the string.
1756
1757 2004-10-24  José Matos  <jamatos@lyx.org>
1758
1759         * paragraph.[Ch] (getFirstWord): new function to get the first
1760         word. Useful for description.
1761         (simpleDocBookOnePar): remove depth argument, add another that
1762         says where to start the paragraph.
1763
1764         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1765         use the new functions to fix cleanly the support for descriptions.
1766
1767 2004-10-24  José Matos  <jamatos@lyx.org>
1768
1769         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1770         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1771         * output_linuxdoc.C (linuxdocParagraphs):
1772         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1773         add buffer as argument.
1774
1775 2004-10-24  José Matos  <jamatos@lyx.org>
1776
1777         * output_docbook.C (makeEnvironment, searchEnvironment): place
1778         CDATA inside paragraphs and fix scope for listitems.
1779
1780 2004-10-24  José Matos  <jamatos@lyx.org>
1781
1782         * output_docbook.C: remove using statement for stack.
1783
1784 2004-10-23  José Matos  <jamatos@lyx.org>
1785
1786         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1787         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1788         docbook. The new scheme is recursive and makes use of iterators, the
1789         same as latex export works.
1790         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1791         directly with the paragraph contents. This code was moved up to
1792         output_docbook.C (docbookParagraphs).
1793         * sgml.C (openTag, closeTag): removed unneeded newlines.
1794         (closeEnvTags) removed.
1795
1796 2004-10-23  André Pönitz  <poenitz@gmx.net>
1797
1798         * undo.C (textUndoOrRedo):
1799         * dociterator.C (asDocIterator): work around crash
1800
1801         * cursor.C (getStatus): replace ASSERT by more verbose error message
1802           and manual correction of the problem. Should increase stability
1803           while providing more sensible information.
1804
1805 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1806
1807         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1808
1809         * bufferlist.C (previous, next): new methods
1810
1811         * lfuns.h:
1812         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1813
1814 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1815
1816         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1817         entities to preamble.
1818
1819 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1820
1821         * messages.C (Pimpl): strip off translation context information
1822
1823 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1824
1825         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1826         the cursor is correct (bug 1694)
1827
1828 2004-10-13  José Matos  <jamatos@lyx.org>
1829
1830         * output_docbook.C (docbookParagraphs): fix closing tags in the
1831         end of the document.
1832
1833 2004-10-09  José Matos  <jamatos@lyx.org>
1834
1835         * buffer.C: format up to 237.
1836         * bufferparams.C (write): use tostr to convert booleans to strings.
1837
1838 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1839
1840         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1841
1842 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1843
1844         * LaTeX.C: implement use of babel language in xindy.
1845
1846 2004-10-05  José Matos  <jamatos@lyx.org>
1847
1848         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1849         Add new translators to help reading and writing the lyx file.
1850
1851 2004-10-05  José Matos  <jamatos@lyx.org>
1852
1853         * ParagraphParameters.C (read):
1854         * text.C (readParToken): replace nexToken by more appropriate lex
1855         methods.
1856
1857 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1858
1859         * LaTeX.C (runMakeIndex):
1860         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1861         (usually 'makeindex') configurable.
1862
1863         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1864         with a variable rather than with a number.
1865
1866 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1867
1868         * output_latex.C (TeXOnePar): make sure font setting is the first
1869         thing that gets output (and the last at the end). Should fix bug
1870         1404.
1871
1872 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1873
1874         * pch.h: use proper signal include
1875
1876         * LaTeX.h: Use preferred calling of Boost.Signal
1877         * buffer.h: ditto
1878
1879 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1880
1881         * pch.h: dont include <boost/function/function0.hpp>
1882
1883         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1884
1885         * paragraph_pimpl.h: remove usage of ShareContainer
1886
1887         * paragraph_pimpl.C: remove initialization of ShareContainer.
1888
1889 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1890
1891         Fix bug #1666
1892
1893         * BufferView.C (putSelectionAt): change the semantics when
1894         backwards == true: now, this just swaps cursor and anchor wrt the
1895         forward case
1896
1897         * BufferView.h (putSelectionAt): add some documentation
1898
1899         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1900         make sure backwardChar is done at least once (to avoid getting
1901         stuck)
1902         (findNextChange): use putSelectionAt in the forward direction
1903         (operator()): use Paragraph::isWord
1904
1905 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1906
1907         * Spacing.C (set): c_str fix
1908
1909 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1910
1911         * lyx_cb.C (Reconfigure): quote the name of configure script in
1912         case it contains spaces
1913
1914 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1915
1916         * client: new dir
1917
1918         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1919         (BOOST_LIBS): use top_buildir when looking for the file
1920
1921 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1922
1923         * pch.h: do not use include boost/format.hpp, multiple symbols
1924                 will result (gcc bug)
1925
1926
1927 2004-08-23  José Matos  <jamatos@lyx.org>
1928
1929         * bufferparams.C (readToken): fix reading of the author field.
1930
1931 2004-08-20  José Matos  <jamatos@lyx.org>
1932
1933         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1934
1935 2004-08-20  José Matos  <jamatos@lyx.org>
1936
1937         * lyxlex.[Ch] (findToken): remove function.
1938
1939         * ParagraphParameters.C (findToken):
1940         * bufferparams.C (findToken): replace call for previous function
1941         with local copy. This local function has one more argument, the
1942         read string argument.
1943
1944 2004-08-16  José Matos  <jamatos@lyx.org>
1945
1946         * ParagraphParameters.C (write):
1947         * Spacing.C (writeFile):
1948         * bufferparams.C (writeLaTeX):
1949         * lyx_cb.C (Reconfigure):
1950         * paragraph.C (write):
1951         * tabular.C (write): remove unnecessary space at end of line.
1952
1953
1954 2004-08-16  José Matos  <jamatos@lyx.org>
1955
1956         * text.C (readParagraph): remove debug message.
1957
1958 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1959
1960         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1961         crash
1962
1963         * output_plaintext.C (asciiParagraph): set depth correctly
1964
1965         * outputparams.h: add member depth
1966
1967         * paragraph_funcs.C (ownerPar): remove.
1968
1969         * text2.C (setCounter): remove first_pit; comment out some
1970         non-working code that uses ownerPar
1971
1972         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1973         uses ownerPar
1974
1975 2004-08-16  José Matos  <jamatos@lyx.org>
1976
1977         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1978         For the same level of importance use the same chanel to report problems.
1979         (read): add code to deal with \begin_body and \end_body.
1980
1981
1982 2004-08-15  José Matos  <jamatos@lyx.org>
1983
1984         * lyxlex.C (getString): fix comment, buffer::readBody is now
1985         buffer:readDocument.
1986
1987         * tex-strings.C (string_papersize): Default -> default,
1988         Custom -> custom, for consistency with other options.
1989
1990 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1991
1992         * pch.h: new file
1993
1994         * Makefile.am: support pch
1995
1996 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1997
1998         * text.C (readParToken): remove the static LyXFont variable and
1999         pass it as a parameter instead. This fixes a nasty bug where an
2000         inset will be inserted with a bad font in some situations
2001         (readParagraph): adapt
2002
2003         * text2.C (setCounter): reduce number of calls to pars_[pit]
2004
2005         * text.C (singleWidth): add an assert, fix a test
2006
2007         * rowpainter.C (paintText): reduce number of calls to singleWidth
2008
2009         * paragraph.C (isHfill):
2010         (isNewline): ws only
2011
2012 2004-08-14  André Pönitz  <poenitz@gmx.net>
2013
2014         * text.C:
2015         * text2.C:
2016         * rowpainter.C:
2017         * lyxtext.h (several functions): use a Paragraph & argument
2018         instead of par_type
2019
2020 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2021
2022         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2023
2024         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2025
2026         * text.C (singleWidth): remove useless test
2027
2028 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2029
2030         * tabular.h: remove bogus comments
2031
2032         * tabular.C (getDescentOfRow):
2033         (isPartOfMultiColumn): add assertions
2034
2035         * lyxlength.C (inPixels): remove #warning
2036
2037 2004-08-14  André Pönitz  <poenitz@gmx.net>
2038
2039         * paragraph.h: inline getChar()
2040
2041         * BufferView.h: remove unused declarations
2042
2043 2004-08-14  José Matos  <jamatos@lyx.org>
2044
2045         * Buffer.[Ch] (readDocument): new name for old readBody.
2046         * Buffer.C: new file format, new keywords: \begin_document,
2047         \begin_header, \begin_body, \end_body.
2048
2049         * bufferparams.C (readToken): replace all calls to lex.nextToken
2050         by lex.next(). Do the same to eatLine except where really needed.
2051
2052         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2053         line when writing to the lyx file.
2054
2055         * output_plaintext.C (asciiParagraph): fix Bibliography style
2056         handling.
2057
2058         * text.C (read): fix end of file handling.
2059
2060 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2061
2062         * MenuBackend.C (Menu::operator[]): new method to access
2063         individual menu items
2064         (Menu::hasFunc): new method. search for an item that corresponds
2065         to a given func
2066         (MenuBackend::specialMenu): new method
2067         (MenuBackend::expand): if a special menu has been set, skip
2068         entries whose func() appears in this menu
2069
2070 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2071
2072         * text3.C: use Debug::DEBUG a bit more
2073
2074         * text.C (leftMargin): try to simplify a tiny bit change var x to
2075         l_margin. Dont output the wide margins always.
2076         (rightMargin): no margin in inner texts
2077
2078         * rowpainter.h (nestMargin): new func
2079         (changebarMargin): new func
2080         (rightMargin): new func
2081
2082         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2083         now functions.
2084         (paintLast): ditto
2085
2086         * factory.C (createInset): modify setDrawFrame
2087
2088         * cursor.C: use Debug::DEBUG a bit more
2089
2090 2004-08-14  André Pönitz  <poenitz@gmx.net>
2091
2092         * coordcache.[Ch]:
2093         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2094         cache for all insets in (at least partially) visible (top-level)
2095         paragraphs.
2096
2097         * BufferView_pimpl.C: reset external coord cache before every update.
2098         This means the coord cache only contains valid entries.
2099
2100 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2101
2102         bug 1096
2103         * BufferView_pimpl.C (getInsetByCode): move function out of class
2104         and change in to a template in anon namespace. Also fix to do what
2105         suits us better.
2106
2107 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2108
2109         bug 1305
2110         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2111         of char
2112         (breakParagraph): rename par to par_offset and use a local
2113         reference. Add code to keep the language over a rebreak.
2114         (breakParagraphConservative): rename par to par_offset, use a
2115         local reference
2116         (mergeParagraph): ditto
2117         (outerHook): ditto
2118         (isFirstInSequence): ditto
2119         (outerFont): rename pit to par_offset
2120
2121         * paragraph.C: ws change
2122         * paragraph.h: ditto
2123         * text3.C: ditto
2124         * text.C: ditto
2125
2126 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2127
2128         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2129         treatment for ']'
2130
2131         * paragraph.C (simpleTeXOnePar): when we have a \item with
2132         optional argument, enclose the argument with curly brackets (in
2133         case it contains a closing square bracket)
2134
2135         * text2.C (editXY):
2136         * text2.C (editXY):
2137         * text3.C (checkInsetHit): constify
2138
2139 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2140
2141         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2142         documents (bug 1629)
2143
2144 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2145
2146         Fix toggling of collapsable insets with the mouse (bug 1558)
2147
2148         * lyxfunc.C (dispatch): adapt to LCursor changes
2149
2150         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2151         make sure that dispatch is not invoked twice
2152
2153         * cursor.C (needsUpdate): new method
2154         (dispatch): return void
2155         (result): new method, to access the DispatchResult of the cursor.
2156
2157 2004-08-13  José Matos  <jamatos@lyx.org>
2158
2159         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2160
2161 2004-08-13  André Pönitz  <poenitz@gmx.net>
2162
2163         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2164
2165         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2166           multiple cells
2167
2168 2004-08-12  André Pönitz  <poenitz@gmx.net>
2169
2170         * text3.C: take out the 'cursor right' form insertInset and only
2171         do it in those places when it is really needed. Fixes crash on
2172         C-m...
2173
2174 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2175
2176         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2177
2178         * BufferView_pimpl.C (setBuffer): initialize the current font of
2179         the underlying LyXText
2180
2181 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2182
2183         * kbsequence.C (print): use UI native formatting for menu
2184         shortcuts
2185
2186         * text.C (insertChar): call Paragraph::insertChar with a font
2187         argument (cosmetic)
2188
2189         * paragraph.C (insertInset, insertChar): the version that takes a
2190         LyXFont argument is now a wrapper around the other one (the
2191         opposite used to be true).
2192
2193         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2194         argument. Font setting is done in Paragraph now.
2195
2196 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2197
2198         * outputparams.h: add new members intitle and lang.
2199
2200         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2201         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2202
2203 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2204
2205         * text3.C (dispatch): remove special handling of button 4 and 5,
2206         it is now taken care of in the frontend code.
2207
2208 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2209
2210         * Spacing.h: add <string> (STLPort compile fix)
2211
2212 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2213
2214         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2215
2216 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2217
2218         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2219         to bool.
2220
2221         * converter.C (showMessage): inherit from unary_function, make
2222         operator() const.
2223
2224         * buffer.C (writeFile): initialize retval
2225
2226         * InsetList.h: rename private variable list to list_
2227         * InsetList.[Ch]: adjust accordingly.
2228
2229 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2230
2231         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2232         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2233         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2234         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2235         * ParagraphParameters.C, LaTeXFeatures.C: replace
2236         "support/std_sstream.h" with <sstream>
2237
2238 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2239
2240         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2241         * lyxsocket.C (LyXServerSocket): ditto
2242         (serverCallback): ditto
2243
2244 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2245
2246         * LaTeXFeatures.C: check release date when loading jurabib.
2247
2248 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2249
2250         * lyxserver.C (startPipe): call register_socket_callback
2251         (endPipe): call unregister_socket_callback
2252
2253 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2254
2255         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2256         (LyXServerSocket): register the callback
2257         (LyXServerSocket): unregister the callback
2258         (fd): delete function
2259         (serverCallback): improve error checking and setup the callbacks.
2260         (dataCallback): change arg to fd.
2261         (writeln): new func (copied fro the client socket) used for server
2262         write to client.
2263         (LyXDataSocket): simplify
2264         (~LyXDataSocket): close ann unregiser callback
2265         (server): delete function
2266         (fd): delete function
2267         (readln): small changes, improve some std::string usage
2268         (writeln): constify a bit
2269
2270 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2271
2272         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2273         Qt frontend
2274
2275 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2276
2277         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2278         after it has been populated
2279
2280 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2281
2282         * text2.C (insertInset): move cursor when inserting inset.
2283
2284 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2285
2286         * kbmap.C (findbindings): a couple of new methods. returns a
2287         container of kb_sequence objects. The real work is done by the
2288         private recursive version
2289         (printbindings): uses findbindings to print out a bracketed list
2290         of bindings (renamed from findbinding).
2291
2292         * MenuBackend.C (binding): use kb_keymap::findbindings
2293
2294         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2295
2296 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2297
2298         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2299
2300 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2301
2302         * paragraph.C (isWord): return true on insets that report
2303         isLetter().
2304
2305         * text.C (getWord): use Paragraph::isWord to decide what is in a
2306         word and what is not; fix bug 1609.
2307
2308 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2309
2310         * tex-strings.C: add "none" to string_paperpackages[], fixes
2311         off-by-one-error in the paperpackage selection.
2312
2313         * lyxlex.[Ch]:
2314         * tex-strings.[Ch]: char const * string[n]
2315         -> char const * const string[]
2316
2317 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2318
2319         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2320         command, return early.
2321
2322 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2323
2324         * debug.h: add DEBUG to enum and fix size of ANY.
2325
2326         * debug.C: add support for Debug::DEBUG
2327         (showTags): cast errorTags.level to unsigned int
2328
2329         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2330         (redoCurrentBuffer): ditto
2331         (updateScrollbar): ditto
2332         * cursor.C (dispatch): ditto
2333         * text2.C (setLayout): ditto
2334         (setFont): ditto
2335         (updateCounters): ditto
2336         (editXY): ditto
2337         (deleteEmptyParagraphMechanism): ditto
2338
2339 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2340
2341         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2342         annotations to cleanup the Makefile slightly.
2343
2344 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2345
2346         * lyxrc.C: do not set user_email to a default value but use empty
2347         instead. The entry used to be translated, which does not work
2348         since at the point where lyxrc is constructed there is no
2349         translation service available
2350
2351         * messages.C (getLocaleDir): remove and use directly
2352         lyx_localedir() instead
2353
2354 2004-06-02  Angus Leeming  <leeming@lyx.org>
2355
2356         Fix crash caused by dereferencing null pointer 'exportdata' in
2357         OutputParams by creating a new ExportData variable on the heap,
2358         storing it in a boost::shared_ptr.
2359         The crash was triggered when generating an Instant Preview
2360         of an external inset.
2361
2362         * Makefile.am: add outputparams.C
2363
2364         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2365         (c-tor): allocate memory to it.
2366
2367         * exporter.C (c-tor): associated changes.
2368
2369 2004-06-01  Angus Leeming  <leeming@lyx.org>
2370
2371         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2372         contains data before calling isInset(0). (Bug 1513.)
2373
2374 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2375
2376         * exporter.C (checkOverwrite): new method
2377         * exporter.C (copyFile): new method
2378         * exporter.C (Export): copy referenced files to the document dir
2379         * exporter.[Ch]: new class ExportedFile
2380         * exporter.[Ch]: new class ExportData. Contains currently the
2381         names of referenced external files
2382         * outputparams.h: add exportdata member.
2383
2384 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2385
2386         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2387         version.C-tmp
2388
2389 2004-05-19  Angus Leeming  <leeming@lyx.org>
2390
2391         * LaTeXFeatures.C:
2392         * ToolbarBackend.C:
2393         * bufferparams.C:
2394         * lyxfunc.C: small changes due to the introduction of namespace
2395         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2396
2397 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2398
2399         * text3.C (dispatch): supress update when only moving the cursor
2400         * cursor.C (selHandle): remove commented code
2401
2402 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2403
2404         * paragraph.C (startTeXParParams): correct column count
2405         * CutAndPaste.C (pasteSelection): remove const_cast
2406         * output_docbook.C (docbookParagraphs): remove const_cast
2407         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2408         const_cast and return ParagraphList::const_iterator
2409         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2410         * output_plaintext.C (writeFileAscii): remove const_cast
2411         * paragraph.[Ch] (simpleTeXOnePar): make const
2412         * paragraph_funcs.C (outerPar): use const iterators
2413         * paragraph_pimpl.C (validate): use const iterators
2414         * text.C (setHeightOfRow): use const iterators
2415
2416 2004-05-17  Angus Leeming  <leeming@lyx.org>
2417
2418         * lfuns.h:
2419         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2420
2421         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2422         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2423         if the citation engine has changed.
2424
2425 2004-05-14  José Matos  <jamatos@lyx.org>
2426
2427         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2428         if the textclass does not provide it. Have it different for sgml and
2429         xml.
2430         support the language of document.
2431         * output_docbook.C (docbookParagraphs):
2432         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2433         first anchor as the id of the paragraph, remove special case code.
2434         * sgml.C (escapeChar): escape only < & >.
2435
2436 2004-05-14  Angus Leeming  <leeming@lyx.org>
2437
2438         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2439         dependencies on src/frontends/controllers/biblio.h. Define a
2440         CiteEngine_enum wrapper class to enable the enum to be forward
2441         declared.
2442
2443 2004-05-12  Angus Leeming  <leeming@lyx.org>
2444
2445         * buffer.C: up LYX_FORMAT to 234.
2446         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2447         use_numerical_citations with a single biblio::CiteEngine cite_engine
2448         variable.
2449         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2450
2451 2004-05-13  José Matos  <jamatos@lyx.org>
2452
2453         * converter.h:
2454         * converter.C (Converter, readFlags): add xml member.
2455         * outputparams.h: add XML flavor.
2456         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2457
2458 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2459
2460         * lyxfunc.C (dispatch):
2461         (getStatus): fix handling of LFUN_SEQUENCE
2462
2463 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2464
2465         * debug.C (showLevel): do not forget the end-of-line marker
2466
2467 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2468
2469         * kbmap.C (read): do not stop parsing a bind file when an error
2470         occurs (bug 1575)
2471
2472 2004-04-29  Angus Leeming  <leeming@lyx.org>
2473
2474         * cursor.C:
2475         * factory.C:
2476         * pariterator.C:
2477         * text2.C: wrap a bunch of #warning statements
2478         inside #ifdef WITH_WARNINGS blocks.
2479
2480 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2481
2482         * buffer.C: increment format to 233.
2483
2484 2004-04-28  Angus Leeming  <leeming@lyx.org>
2485
2486         * BufferView_pimpl.C:
2487         * lyxfunc.C:
2488         * text3.C:
2489         s/updateToolbar()/updateToolbars()/
2490         s/Toolbar.h/Toolbars.h/
2491
2492 2004-04-28  Angus Leeming  <leeming@lyx.org>
2493
2494         * BufferView.[Ch] (c-tor):
2495         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2496         No longer passes these data to the WorkArea generator.
2497
2498 2004-04-28  Angus Leeming  <leeming@lyx.org>
2499
2500         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2501
2502 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2503
2504         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2505
2506 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2507
2508         * output_latex.C (TeXEnvironment): make sure that there is a line
2509         break before \end{foo} for the last paragraph of a document
2510         (TeXOnePar): if the paragraph is at the end of the document (or
2511         inset) and the language has to be reset, then make sure that the
2512         line break is _before_ the language command, not after (fixes bug
2513         1225); also make sure that the language reset command is the first
2514         thing after the paragraph (to ensure proper nesting of
2515         environments and thus fix bug 1404)
2516
2517 2004-04-21  John Levon  <levon@movementarian.org>
2518
2519         * ToolbarBackend.h:
2520         * ToolbarBackend.C: make "name" be a programmatic name
2521         and a gui_name field.
2522
2523         * lyxfunc.C: display the minibuffer on M-x
2524
2525 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2526
2527         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2528         (bug 1526)
2529
2530 2004-04-19  Angus Leeming  <leeming@lyx.org>
2531
2532         * BufferView_pimpl.C (setBuffer): changed preview interface.
2533
2534         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2535         possible values.
2536
2537 2004-04-19  John Levon  <levon@movementarian.org>
2538
2539         * BufferView_pimpl.C:
2540         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2541
2542 2004-04-05  Angus Leeming  <leeming@lyx.org>
2543
2544         * text.C (redoParagraphs): add call to updateCounters(), thereby
2545         fixing the missing "Figure #:" label from the caption of a
2546         figure float.
2547
2548 2004-04-13  Angus Leeming  <leeming@lyx.org>
2549
2550         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2551         cursor is clicked out of an inset.
2552
2553 2004-04-13  Angus Leeming  <leeming@lyx.org>
2554
2555         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2556         than an InsetOld one.
2557
2558 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2559
2560         * format.[Ch]: add editor to Format
2561         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2562         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2563
2564 2004-04-08  André Pönitz  <poenitz@gmx.net>
2565
2566         * metricsinfo.h: remove PainterInfo::width member
2567
2568 2004-04-08  Angus Leeming  <leeming@lyx.org>
2569
2570         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2571         "\providecommand" rather than "\newcommand", thereby preventing
2572         clashes with packages that define "\boldsymbol" themselves.
2573         Eg, beamer.
2574
2575 2004-04-08  Angus Leeming  <leeming@lyx.org>
2576
2577         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2578         thereby squashing an unnecessary warning.
2579
2580 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2581
2582         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2583         setBuffer()
2584
2585 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2586
2587         * BufferView.C (setCursor): call redoParagraph (some insets could
2588         have been opened)
2589         (putSelectionAt): remove the 'double update' trick
2590
2591         * BufferView_pimpl.C (fitCursor): call refreshPar
2592         (workAreaDispatch): remove an uneeded update call
2593         (dispatch): remove some manual update calls
2594
2595         * cursor.[Ch]: remove cached_y_, updatePos
2596         (selHandle): set noUpdate when appropriate
2597
2598         * lyxfunc.C (dispatch): track if we need an update
2599
2600         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2601
2602         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2603         (paintSelection): cheap optimization, do not call cursorX when not
2604         needed
2605         (paintPars): change signature
2606         (refreshPar): add
2607         (paintText): adjust
2608         (paintTextInset): adjust
2609
2610         * text.C: adjust
2611
2612 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2613
2614         * lengthcommon.C: compilation fix: remove explicit array size from
2615         unit_name[] and friends
2616
2617 2004-04-05  Angus Leeming  <leeming@lyx.org>
2618
2619         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2620
2621         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2622         present only for the preferences dialog.
2623         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2624
2625 2004-04-05  Angus Leeming  <leeming@lyx.org>
2626
2627         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2628         to enable the frontends to export changes to lyxrc correctly.
2629
2630         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2631
2632 2004-04-07  André Pönitz  <poenitz@gmx.net>
2633
2634         * cursor.[Ch] (selClear, adjust): remove math
2635
2636         * cursor_slice.C: more agressive assert
2637
2638         * lyxfunc.C:
2639         * BufferView_pimpl.C: rework mouse event dispatch
2640
2641         * dociterator.C:
2642         * paragraph.C:
2643         * text2.C:
2644         * text3.C: adjust
2645
2646 2004-04-05  André Pönitz  <poenitz@gmx.net>
2647
2648         * cursor.[Ch] (valign, halign...): remove unneeded functions
2649
2650 2004-04-05  Angus Leeming  <leeming@lyx.org>
2651
2652         * lyxlength.[Ch] (unit_name et al.): const-correct.
2653
2654 2004-04-05  Angus Leeming  <leeming@lyx.org>
2655
2656         * BufferView_pimpl.C:
2657         * buffer.C:
2658         * counters.C:
2659         * cursor.C:
2660         * lyxfunc.C
2661         * paragraph.C:
2662         * pariterator.C:
2663         * text.C:
2664         * text2.C:
2665         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2666
2667 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2668
2669         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2670
2671 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2672
2673         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2674         * BufferView_pimpl.[Ch] (getStatus)
2675         * BufferView.[Ch] (getStatus): add
2676         * lyxfunc.C (getStatus): move lfuns handled in
2677         BufferView::dispatch to te function above
2678         * Cursor.C (setSelection): set selection() = true
2679
2680 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2681
2682         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2683
2684 2004-03-31  Angus Leeming  <leeming@lyx.org>
2685
2686         * lyxfunc.C (dispatch): Fall through to the generic
2687         Dialogs::show("preamble").
2688
2689 2004-03-31  Angus Leeming  <leeming@lyx.org>
2690
2691         * lyxfunc.C (dispatch): Fall through to the generic
2692         Dialogs::show("spellchecker").
2693
2694 2004-03-31  Angus Leeming  <leeming@lyx.org>
2695
2696         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2697         preferences dialog.
2698
2699 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2700
2701         * BufferView.C
2702         * cursor.[Ch]
2703         * dociterator.[Ch]:
2704         * insetiterator.[Ch]:
2705         * lyxfind.C:
2706         * lyxfunc.C:
2707         * pariterator.[Ch]:
2708         * text2.C:
2709         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2710
2711 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2712
2713         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2714         insets where we are putting the cursor.
2715
2716 2004-03-31  Angus Leeming  <leeming@lyx.org>
2717
2718         * lfuns.h:
2719         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2720
2721         * lyxrc.[Ch] (read, write): overloaded member functions taking
2722         a std::[io]stream arguments.
2723
2724         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2725
2726 2004-03-31  Angus Leeming  <leeming@lyx.org>
2727
2728         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2729         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2730
2731         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2732         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2733
2734 2004-03-31  Angus Leeming  <leeming@lyx.org>
2735
2736         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2737         the LFUN_ALL_INSETS_TOGGLE code.
2738
2739 2004-03-30  Angus Leeming  <leeming@lyx.org>
2740
2741         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2742         has died. Fall through to the generic Dialogs::show("document").
2743
2744 2004-03-30  Angus Leeming  <leeming@lyx.org>
2745
2746         * lfuns.h:
2747         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2748         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2749
2750         * lyxfunc.C (getStatus, dispatch): define the actions for these
2751         lfuns. Little more than a cut and pste job from ControlDocument.C
2752
2753         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2754
2755 2004-03-30  Angus Leeming  <leeming@lyx.org>
2756
2757         * lfuns.h:
2758         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2759         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2760
2761         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2762         open/closed state of ollapsable insets. Usage:
2763
2764         all-inset-toggle <state> <name>, where
2765         <state> == "open" || "closed" || "toggle" and
2766         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2767
2768         * lyxtext.h, text2.C (toggleInset): removed.
2769
2770         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2771         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2772         now passes LFUN_INSET_TOGGLE to the found inset.
2773
2774         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2775         is now invoked as "all-insets-toggle toggle branch".
2776
2777 2004-03-30  Angus Leeming  <leeming@lyx.org>
2778
2779         * dociterator.C:
2780         * insetiterator.C:
2781         * pariterator.[Ch]: added/corrected header blurb.
2782
2783 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2784
2785         * dociterator.[Ch]: add an inset_ member
2786         (backwardPos): implemented
2787         (backwardPos, forwardPos): use inset_ when the stack is empty.
2788         (doc_iterator_begin, doc_iterator_end): implemented
2789         * pariterator.[Ch]: adjust, add begin, end
2790         * insetiterator.[Ch]: adjust, add begin, end
2791         * cursor.C:
2792         * document.C:
2793         * BufferView.C:
2794         * BufferView_pimpl.C:
2795         * CutAndPaste.C: adjust
2796
2797 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2798
2799         * buffer.C: increment file format to 232.
2800         * LaTeXFeatures.C: add bibtopic package.
2801         * bufferparams.[Ch]: param \use_bibtopic.
2802
2803         * lyxrc.[Ch]: add lyxrc bibtex_command
2804         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2805
2806         * buffer.C: increment file format to 231.
2807
2808 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2809
2810         * dociterator.C: implement forwardPar
2811         * iterators.[Ch]: remove, replaced by
2812         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2813         * BufferView.C:
2814         * BufferView_pimpl.C:
2815         * CutAndPaste.C:
2816         * buffer.C:
2817         * bufferview_funcs.C:
2818         * cursor.C:
2819         * lyxfind.C
2820         * lyxfunc.C
2821         * paragraph_funcs.C
2822         * toc.C:
2823         * Makefile.am: adjust
2824
2825 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2826
2827         * CutAndPaste.C (pasteSelection): fix 2 crashes
2828         (eraseSelection): fix a crash
2829         * paragraph_funcs.C: remove a warning
2830
2831 2004-03-28  Angus Leeming  <leeming@lyx.org>
2832
2833         * lfuns.h:
2834         * LyXAction.C (init): new LFUN_PRINT.
2835
2836         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2837
2838 2004-03-27  Angus Leeming  <leeming@lyx.org>
2839
2840         * lfuns.h:
2841         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2842
2843         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2844
2845 2004-03-27  Angus Leeming  <leeming@lyx.org>
2846
2847         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2848         insetlist always contains non-null pointers to insets.
2849
2850 2004-03-26  Angus Leeming  <leeming@lyx.org>
2851
2852         * src/BufferView_pimpl.C:
2853         * src/CutAndPaste.C:
2854         * src/buffer.C:
2855         * src/iterators.C:
2856         * src/output_plaintext.C:
2857         * src/outputparams.h:
2858         * src/paragraph_funcs.C:
2859         * src/rowpainter.C:
2860         * src/text.C:
2861         * src/text2.C:
2862         * src/frontends/controllers/ControlErrorList.C:
2863         * src/frontends/gtk/FileDialogPrivate.C:
2864         * src/frontends/gtk/GPainter.C:
2865         * src/frontends/gtk/GToolbar.C:
2866         * src/frontends/qt2/QRef.C:
2867         * src/mathed/math_scriptinset.C: squash compiler warnings.
2868
2869 2004-03-26  Angus Leeming  <leeming@lyx.org>
2870
2871         * ispell.C (LaunchIspell::start):
2872         * lyx_cb.C (AutoSaveBuffer::start):
2873         invoke run(DontWait) rather than runNonBlocking().
2874
2875 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2876
2877         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2878
2879 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2880
2881         * kbsequence.C (print): adjust
2882
2883         * kbmap.C (printKeySym): rename and change signature
2884         (printKey): use LyXKeySym::print()
2885
2886 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2887
2888         * undo.C: add using std::advance to compile for stlport
2889
2890 2004-03-24  Angus Leeming  <leeming@lyx.org>
2891
2892         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2893         it leads to a crash when no buffer is present.
2894
2895 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2896             Martin Vermeer  <martin.vermeer@hut.fi>
2897
2898         * lyxfunc.C (dispatch):
2899         * bufferparams.C (readToken): use the new LColor::setColor
2900
2901         * LColor.[Ch] (setColor): new version that takes two strings as
2902         argument and creates a new color entry if necessary
2903
2904 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2905
2906         * buffer.C (makeLaTeXFile): if the main latex file that is
2907         processed is usually a subdocument of some master, then pretend
2908         for a while that it is actually the master
2909
2910 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2911
2912         * buffer.C (getLabelList):
2913         (getBibkeyList): use getMasterBuffer()
2914         (getMasterBuffer): new method. Returns the main document in the
2915         case where one is using included documents.
2916
2917 2004-03-25  André Pönitz  <poenitz@gmx.net>
2918
2919         * Makefile.am:
2920         * iterators.[Ch]:
2921         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2922
2923         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2924
2925         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2926         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2927
2928         * ParameterStruct.h: merge with ParagraphParameters
2929
2930         * lyxtext.h: remove LyXText::parOffset() and getPar()
2931
2932         * text3.C: Remove all 'manual' update calls. We do now one per user
2933         interaction which is completely sufficient.
2934
2935         * Bidi.C:
2936         * BufferView.[Ch]:
2937         * BufferView_pimpl.C:
2938         * FontIterator.[Ch]:
2939         * MenuBackend.C:
2940         * ParagraphParameters.[Ch]:
2941         * buffer.C:
2942         * buffer.h:
2943         * bufferlist.C:
2944         * cursor.[Ch]:
2945         * cursor_slice.[Ch]:
2946         * dociterator.[Ch]:
2947         * errorlist.[Ch]:
2948         * factory.C:
2949         * lfuns.h:
2950         * lyxfind.C:
2951         * lyxfunc.C:
2952         * output_docbook.[Ch]:
2953         * output_latex.[Ch]:
2954         * output_linuxdoc.[Ch]:
2955         * output_plaintext.[Ch]:
2956         * paragraph.[Ch]:
2957         * paragraph_funcs.[Ch]:
2958         * paragraph_pimpl.[Ch]:
2959         * rowpainter.C:
2960         * tabular.[Ch]:
2961         * text.C:
2962         * text2.C:
2963         * toc.C:
2964         * undo.[Ch]: adjust
2965
2966         * frontends/controllers/ControlDocument.C:
2967         * frontends/controllers/ControlErrorList.C:
2968         * frontends/controllers/ControlSpellchecker.C:
2969         * insets/inset.C:
2970         * insets/inset.h:
2971         * insets/insetbase.h:
2972         * insets/insetbibitem.C:
2973         * insets/insetbox.C:
2974         * insets/insetbranch.C:
2975         * insets/insetcaption.C:
2976         * insets/insetcharstyle.C:
2977         * insets/insetcharstyle.h:
2978         * insets/insetcollapsable.C:
2979         * insets/insetcollapsable.h:
2980         * insets/insetert.C:
2981         * insets/insetfloat.C:
2982         * insets/insetfoot.C:
2983         * insets/insetmarginal.C:
2984         * insets/insetnote.C:
2985         * insets/insetoptarg.C:
2986         * insets/insettabular.C:
2987         * insets/insettext.C:
2988         * insets/insettext.h:
2989         * insets/insetwrap.C:
2990         * mathed/math_mboxinset.C:
2991         * mathed/math_nestinset.C:
2992         * mathed/math_scriptinset.C:
2993         * mathed/math_scriptinset.h:
2994         * support/types.h:
2995
2996 2004-03-24  Angus Leeming  <leeming@lyx.org>
2997
2998         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2999         deal with any child processes that have finished but are waiting to
3000         communicate this fact to the rest of LyX.
3001
3002 2004-03-24  Angus Leeming  <leeming@lyx.org>
3003
3004         64-bit compile fixes.
3005
3006         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3007         (c-tor): pass lyx::pos_types rather than ints.
3008
3009         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3010         lyx::pos_type.
3011
3012         * text.C (Delete): compile fix.
3013         (getPar): ensure that function declaration is the same as that in
3014         the header file.
3015
3016 2004-03-23  Angus Leeming  <leeming@lyx.org>
3017
3018         * ispell.C (LaunchIspell):
3019         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3020         a boost::shred_ptr rather than a std::auto_ptr.
3021
3022 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3023
3024         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3025         handle LFUN_FILE_INSERT_*
3026
3027         * lyxrc.C (setDefaults, getDescription, output, read):
3028         * lyxrc.h: remove ps_command
3029
3030 2004-03-22  Angus Leeming  <leeming@lyx.org>
3031
3032         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3033         Ensure that error_handler is processed once only and that all data
3034         is saved before attempting to output any warning messages.
3035
3036         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3037
3038 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3039
3040         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3041
3042 2004-03-19  André Pönitz  <poenitz@gmx.net>
3043
3044         * cursor.[Ch] (reset): take main text inset as argument
3045
3046         * BufferView: adjust
3047         * BufferView_pimpl.C: adjust
3048
3049         * paragraph.[Ch]: fix completely broken operator=()
3050
3051 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3052
3053         * LColor.C (getFromLyXName): make sure that the color name is used
3054         as lowercase.
3055
3056 2004-03-17  Angus Leeming  <leeming@lyx.org>
3057
3058         * lfuns.h:
3059         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3060
3061         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3062         dialog and to kill a forked process.
3063
3064 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3065
3066         * text2.C (setCursorFromCoordinates): fix font problem
3067
3068 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3069
3070         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3071         bogus "rebuild cursor" code
3072
3073 2004-03-11  André Pönitz  <poenitz@gmx.net>
3074
3075         * buffer.[Ch]: use InsetText instead of LyXText as container for
3076         the main lyx text.
3077
3078         * dociterator.[Ch]: drop the BufferView * member which is not needed
3079         anymore after the change to buffer.C
3080
3081         * paragraph_funcs.C:
3082         * text.C:
3083         * text2.C:
3084         * BufferView.[Ch]:
3085         * BufferView_pimpl.[Ch]:
3086         * cursor.[Ch]:
3087         * cursor_slice.[Ch]: adjust
3088
3089         * text3.C: fix bug in mathDispatch
3090
3091 2004-03-08  André Pönitz  <poenitz@gmx.net>
3092
3093         * undo.[Ch]: use 'StableDocumentIterator' as base for
3094         the Undo struct.
3095
3096 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3097
3098         * LaTeXFeatures.C:
3099         * bufferparams.[Ch]: add jurabib support and param.
3100
3101         * LaTeX.C: add FIXME/comment.
3102
3103 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3104
3105         * buffer.C: increment file format to 230.
3106
3107 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3108
3109         * cursor.C (dispatch): avoid infinite loops
3110
3111 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3112
3113         * rowpainter.C (paintSelection): fix x coordinates
3114
3115 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3116
3117         * text.C (rowBreakPoint): fix breaking before displayed insets
3118
3119 2004-03-01  André Pönitz  <poenitz@gmx.net>
3120
3121         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3122
3123         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3124
3125         * Makefile.am:
3126         * BufferView.C:
3127         * BufferView_pimpl.C:
3128         * buffer.C:
3129         * lyxfind.C:
3130         * lyxfunc.C:
3131         * text.C:
3132         * text2.C:
3133         * text3.C: adjust
3134
3135 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3136
3137         * lyxtext.h:
3138         * text.C:
3139         * text2.C:
3140         * rowpainter.C:
3141         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3142         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3143
3144 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3145
3146         * Bidi.[Ch] (computeTables): const correctness
3147         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3148         fill_hfill, fill_label_hfill and x from Row
3149         * lyxtext.h: prepareToPrint returns a RowMetrics
3150         * rowPainter.C: adjust
3151         * text.C (prepareToPrint): use width, not textWidth. adjust
3152         (redoParagraphInternal, cursorX): adjust
3153         * text2.C (getColumnNearX): adjust
3154         (init): put a default value to the top LyXText::width
3155
3156 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3157
3158         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3159
3160 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3161
3162         * lyxtext.h: add FontIterator class
3163
3164         * text.C (FontIterator, operator*, operator->, operator++): add
3165         (rowBreakPoint, setRowWidth): adjust (fixing a
3166         rebreaking bug)
3167
3168 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3169
3170         * BufferView_pimpl.C (workAreaDispatch): allow also
3171         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3172
3173 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3174
3175         * text.C (rowBreakPoint): fix a bug showing with very large insets
3176
3177 2004-02-25  André Pönitz  <poenitz@gmx.net>
3178
3179         * text3.C:
3180         * cursor.[Ch]: move some mathed specific code to mathed
3181
3182 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3183
3184         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3185         use_tempdir in preferences
3186         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3187         tempfile creation
3188         * lyx_main.C: ensure that tempdir is valid
3189         * lyxlex.h: correct typo
3190         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3191         * paragraph.[Ch] (isMultiLingual): make const
3192         * cursor.[Ch] (openable): make const
3193
3194 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3195
3196         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3197
3198 2004-02-20  André Pönitz  <poenitz@gmx.net>
3199
3200         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3201
3202         * cursor.[Ch]: prepare for localized getStatus()
3203
3204         * lyxtext.h:
3205         * tabular.C:
3206         * text.C:
3207         * text2.C:
3208         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3209
3210 2004-02-20  André Pönitz  <poenitz@gmx.net>
3211
3212         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3213
3214 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3215
3216         * text2.C (setCursorFromCoordinates): switch to absolute coords
3217         (cursorUp): adjust
3218         (cursorDown): adjust
3219         * text3.C (dispatch): adjust
3220
3221 2004-02-16  André Pönitz  <poenitz@gmx.net>
3222
3223         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3224           insets/ChangeLog)
3225
3226         * cursor_slice.[Ch]: remove unneeded acessor function
3227
3228         * lyxtext.h: rename rtl() to isRTL()
3229
3230         * rowpainter.C:
3231         * tabular.C:
3232         * text.C:
3233         * text2.C:
3234         * text3.C: adjust
3235
3236 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3237
3238         * rowpainter.C (paintSelection): coord fix
3239
3240 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3241
3242         * Spacing.C: compile fix
3243
3244 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3245
3246         * cursor.C (dispatch): restore current_ before returning
3247
3248 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3249
3250         * text2.C (cursorUp, cursorDown): fix coords
3251         (moveUp): fix crash
3252
3253 2004-02-12  André Pönitz  <poenitz@gmx.net>
3254
3255         * lyxtext.h:
3256         * text.C:
3257         * text2.C:
3258         * text3.C: add LCursor & parameter to most cursor movement functions
3259           remove usage of LyXText::cursorRow() and cursorPar()
3260
3261         * cursor.[Ch]: add textRow() needed members
3262
3263         * BufferView.C:
3264         * BufferView_pimpl.C:
3265         * paragraph.[Ch]:
3266         * BufferView.C:
3267         * BufferView_pimpl.C: adjust
3268
3269 2004-02-11  André Pönitz  <poenitz@gmx.net>
3270
3271         * lyxfunc.C:
3272         * BufferView.[Ch]:
3273         * BufferView_pimpl.C: shift undo/redo handling
3274
3275         * cursor.[Ch]: fix mathed crash
3276
3277         * lyxfind.C:
3278         * lyxtext.h: move selectionAsText to LCursor
3279
3280         * output_latex.C:
3281         * paragraph.C:
3282         * text.C:
3283         * text2.C:
3284         * text3.C: adjust
3285
3286         * rowpainter.C: fix excessive drawing
3287
3288 2004-02-06  André Pönitz  <poenitz@gmx.net>
3289
3290         * BufferView.[Ch]:
3291         * BufferView_pimpl.[Ch]:
3292         * text3.C: move some text specific LFUN handling
3293
3294 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3295
3296         * text3.C (checkInsetHit): adjust coords
3297         * text2.C (getColumnNearX): adjust coords
3298         (edit): adjust coords
3299         * text.C (getRowNearY): add two asserts
3300
3301 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3302
3303         * converter.C:
3304         * format.C: add using std::distance to compile on gcc 2.95/stlport
3305
3306 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3307
3308         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3309
3310 2004-02-04  André Pönitz  <poenitz@gmx.net>
3311
3312         * BufferView.[Ch] (insertInset):
3313         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3314
3315         * text2.C:
3316         * text3.C: adjust
3317
3318 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3319
3320         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3321         on the default clause of the switch
3322         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3323         wasn't catched by LCursor::dispatch
3324
3325 2004-02-03  André Pönitz  <poenitz@gmx.net>
3326
3327         * BufferView.C:
3328         * cursor.[Ch]: some additional asserts
3329
3330         * undo.[Ch]: remove LyXText dependency in interface
3331
3332         * lyxfunc.C: adjust
3333
3334         * lyxtext.h (firstPar, lastPar): remove dead functions
3335
3336         * text.C:
3337         * text2.C:
3338         * text3.C:
3339         * paragraph.[Ch]: adjust
3340
3341 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3342
3343         * lyxfind.C (find): fix argument order in call to ::find
3344
3345 2004-02-02  André Pönitz  <poenitz@gmx.net>
3346
3347         * cursor.[Ch]: remove direct access to anchor
3348
3349         * text.C: remove findText() hack
3350
3351 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3352
3353         * iterators.[Ch] (lockPath): remove in favour of...
3354         * BufferView.[Ch] (setCursor): this addition
3355         * BufferView.C (putSelectionAt): adjust
3356         * undo.C (performUndoOrRedo): adjust
3357         * lyxfunc.C (dispatch): adjust
3358
3359 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3360
3361         * iterators.C (lockPath): add a missing slice
3362         * undo.C (performUndoOrRedo): remove redundant positioning code
3363
3364 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3365
3366         * vc-backend.C (scanMaster): ";" -> ';'
3367
3368 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3369
3370         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3371         std::binary_function
3372
3373         * lyxtextclass.C (compare_name): rename to...
3374         (LayoutNamesEqual): ...this
3375
3376         * lyxlex_pimpl.C (compare_tags): inherit from
3377         std::binary_function, put back into anon namespace
3378
3379         * lyxfind.C (MatchString): inherig from std::binary_function
3380         (findChange): use empty() istead of !size()
3381
3382         * format.C (FormatNamesEqual): new functor
3383         (getFormat): use it
3384         (getNumber): use it
3385         (add): use it
3386         (erase): use it
3387         (setViewer): use it
3388
3389         * converter.C (compare_Converter): rename to...
3390         (ConverterEqual): ...this, and fixup a bit.
3391         (getConverter): use it, and make function const
3392         (getNumber): use it, and make function const
3393         (add): use it
3394         (erase): use it:
3395
3396         * bufferlist.C: add using boost::bind
3397
3398         * MenuBackend.C (MenuNamesEqual): new functor
3399         (hasMenu): use it, and make function const
3400         (hasSubmenu): use nested bind to get rid of compare_memfun.
3401
3402 2004-01-30  André Pönitz  <poenitz@gmx.net>
3403
3404         * BufferView_pimpl.C:
3405         * cursor.C:
3406         * cursor.h:
3407         * cursor_slice.[Ch]:
3408         * lyxfunc.C:
3409         * lyxtext.h:
3410         * paragraph_funcs.C:
3411         * paragraph_funcs.h:
3412         * rowpainter.C:
3413         * text.C:
3414         * text2.C:
3415         * text3.C: move some of the edit(x,y) handling to the insets
3416         some coordinate changes.
3417
3418 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3419
3420         * text.C: add using statements for std::advance and std::distance
3421
3422         * paragraph.C: add using statement for std::distance
3423
3424         * lyxfind.C: add using statement for std::advance
3425
3426         * cursor.C (region): remove std:: from swap
3427         (openable): use nucleus in stead of operator->
3428
3429         * BufferView.C: add using statements for std::distance and std::swap
3430
3431 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3432
3433         * iterators.C: Remove the pimple, move the needed structures to
3434         the header file. Create accessor for the positions stack.
3435         (asPosIterator): remove function
3436
3437         * PosIterator.C (PosIterator): move constructors to top of file
3438         (PosIterator): reimplement the constructor taking a ParIterator in
3439         terms of setFrom.
3440         (setFrom): new function
3441         (operator!=): inline it
3442
3443 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3444
3445         * lyxfind.C (replaceAll): use std::advance
3446
3447         * iterators.h: inherit from std::iterator.
3448
3449         * PosIterator.C (advance, distance): remove
3450         * PosIterator.h: interit from std::iterator.
3451
3452 2004-01-26  André Pönitz  <poenitz@gmx.net>
3453
3454         * BufferView.[Ch]:
3455         * BufferView_pimpl.[Ch]:
3456         * InsetList.[Ch]:
3457         * PosIterator.[Ch]:
3458         * buffer.h:
3459         * bufferview_funcs.C:
3460         * cursor.[Ch]:
3461         * cursor_slice.h:
3462         * factory.[Ch]:
3463         * iterators.[Ch]:
3464         * lyxfind.C:
3465         * lyxfunc.C:
3466         * lyxtext.h:
3467         * output_docbook.C:
3468         * output_latex.C:
3469         * output_linuxdoc.C:
3470         * output_plaintext.C:
3471         * paragraph.[Ch]:
3472         * paragraph_funcs.[Ch]:
3473         * paragraph_pimpl.[Ch]:
3474         * rowpainter.C:
3475         * tabular.C:
3476         * tabular.h:
3477         * text.C:
3478         * text2.C:
3479         * text3.C: more IU:  dumps most of the rest of the mathcursor
3480     implementation into cursor.[Ch]; "globalize" a bit of it.
3481
3482 2004-01-25  Angus Leeming  <leeming@lyx.org>
3483
3484         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3485
3486 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3487
3488         * LaTeXFeatures.h: add nice_ and nice() const
3489         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3490
3491 2004-01-20  André Pönitz  <poenitz@gmx.net>
3492
3493         * BufferView.[Ch]:
3494         * BufferView_pimpl.C:
3495         * PosIterator.C:
3496         * bufferview_funcs.C:
3497         * cursor.[Ch]:
3498         * cursor_slice.[Ch]:
3499         * factory.C:
3500         * iterators.C:
3501         * lyx_cb.C:
3502         * lyxfind.C:
3503         * lyxfunc.C:
3504         * lyxtext.h:
3505         * rowpainter.C:
3506         * text.C:
3507         * text2.C:
3508         * text3.C:
3509         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3510           LCursor and mathcursor parts to LCursor and InsetBase.
3511
3512 2004-01-15  André Pönitz  <poenitz@gmx.net>
3513
3514         * cursor_slice.[Ch]: add a few covienience functions
3515
3516         * funcrequest.[Ch]: remove BufferView * member
3517
3518         * BufferView_pimpl.C:
3519         * cursor.C:
3520         * factory.[Ch]:
3521         * lyxfind.[Ch]:
3522         * lyxfunc.C:
3523         * lyxtext.h:
3524         * text3.C:
3525         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3526
3527 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3528
3529         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3530         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3531
3532 2004-01-13  André Pönitz  <poenitz@gmx.net>
3533
3534         * textcursor.[Ch]:
3535         * lyxtext.h: hide cursor and selection anchor behind accessor function
3536
3537         * BufferView.C:
3538         * BufferView_pimpl.[Ch]:
3539         * PosIterator.C:
3540         * bufferview_funcs.C:
3541         * cursor.h:
3542         * lyxfind.C:
3543         * lyxfunc.C:
3544         * text.C:
3545         * text2.C:
3546         * text3.C:
3547         * undo.C: adjust
3548
3549         * cursor.h:
3550         * cursor_slice.[Ch]: some integer type changes for inset unification
3551
3552         * lyxcursor.[hC]: remove, it's CursorSlice now.
3553
3554         * Makefile.am:
3555         * BufferView_pimpl.[Ch]:
3556         * bufferview_funcs.C:
3557         * cursor_slice.C:
3558         * lyxtext.h:
3559         * text.C:
3560         * text2.C:
3561         * text3.C:
3562         * textcursor.[Ch]: adjust
3563
3564 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3565
3566         * text2.C (undoSpan): add and use
3567         * text.C (breakParagraph): use undoSpan (fix bug 578)
3568         * lyxtext.h: adjust
3569
3570 2004-01-08  Angus Leeming  <leeming@lyx.org>
3571
3572         * BufferView_pimpl.C (MenuInsertLyXFile):
3573         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3574         * lyxfunc.C (menuNew, open, doImport):
3575         FileFilterList change to the FileDialog open and save functions.
3576
3577 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3578
3579         * ShareContainer.h: make isEqual and isUnique adaptable
3580
3581         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3582
3583 2004-01-07  Angus Leeming  <leeming@lyx.org>
3584
3585         * LyXAction.C:
3586         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3587
3588         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3589
3590         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3591         functions replacing find, replace and replaceAll.
3592
3593         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3594         LFUN_WORDFIND(FORWARD|BACKWARD).
3595
3596 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3597
3598         * text.C (breakParagraph): remove an outdated #warning
3599
3600 2004-01-07  André Pönitz  <poenitz@gmx.net>
3601
3602         * lyxfind.C: somewhat clearer logic
3603
3604         * text.C: prevent crash in cursorX on unitialized row cache
3605
3606 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3607
3608         * lyxcursor.[Ch] (operator>): add
3609         * textcursor.C (selStart, selEnd): use std::min and std::max
3610
3611 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3612
3613         * Chktex.C: include boost/format.hpp
3614
3615 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3616
3617         * InsetList.C: replace functor MathcIt with adaptable functor
3618         InsetTablePosLess
3619         (insetIterator): modify accordingly
3620
3621         * BranchList.h: move the BranchNamesEqual functor here from...
3622         * BranchList.C: ... to here
3623
3624         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3625         SameName and match.
3626         (add): replace a finding loop with std::find_if.
3627
3628 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3629
3630         * output_docbook.C: moving LatexParam functionality into
3631         .layout files
3632
3633 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3634
3635         * buffer.C: increment format to 229.
3636
3637 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3638
3639         * LaTeXFeatures.C:
3640         * lyx_sty.[Ch]: remove minipageindent_def
3641
3642         * LyXAction.C:
3643         * factory.C:
3644         * lfuns.h:
3645         * lyxfunc.C:
3646         * text3.C: remove LFUN_INSET_MINIPAGE
3647
3648 2003-12-28  Angus Leeming  <leeming@lyx.org>
3649
3650         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3651
3652 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3653
3654         * text2.C (setParagraph): fix off-by-one crash
3655
3656 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3657
3658         * output_docbook.C: header stuff for AGU
3659
3660 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3661
3662         * text2.C (redoCursor): remove
3663         * text.C:
3664         * text3.C:
3665         * BufferView_pimpl.C: remove calls to redoCursor and
3666         setCursor(cursor.par(), cursor.pos()) all around
3667
3668 2003-12-15  Angus Leeming  <leeming@lyx.org>
3669
3670         * buffer.C: up the format to 228.
3671
3672 2003-12-15  André Pönitz  <poenitz@gmx.net>
3673
3674         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3675         slices
3676
3677         * Makefile.am:
3678
3679         * BufferView_pimpl.C:
3680         * cursor.[Ch]:
3681         * lyxcursor.[Ch]:
3682         * rowpainter.[Ch]:
3683         * lyxtext.h:
3684         * text.C:
3685         * text2.C:
3686         * text3.C: adjust
3687
3688 2003-12-15  Angus Leeming  <leeming@lyx.org>
3689
3690         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3691         than getFromGUIName to manipulate the color.
3692
3693 2003-12-14  Angus Leeming  <leeming@lyx.org>
3694
3695         * BranchList.[Ch]: minimize the API.
3696         (Branch::getBranch, getColor): now return a 'const &'.
3697         (Branch::setSelected) now returns a bool set to true if the
3698         selection status changes.
3699         (BranchList::clear, size, getColor, setColor, setSelected,
3700         allBranches, allSelected, separator): removed.
3701         (BranchList::find): new functions, returning the Branch with
3702         the given name.
3703         (BranchList::add, remove): return a bool indicating that
3704         the operation was successful.
3705
3706         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3707         new InsetBranch::isBranchSlected member function.
3708
3709         * LColor.[Ch]: mimimize the API.
3710         (fill): renamed as addColor and made private.
3711         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3712         versions of these functions taking a string arg have been removed.
3713
3714         * bufferparams.C (readToken):
3715         * lyxfunc.C (dispatch):
3716         * lyxrc.C (read): changes due to the altered BranchList and
3717         LColor APIs.
3718
3719         * factory.C (createInset, readInset): changes due to altered
3720         InsetBranch c-tor.
3721
3722 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3723
3724         * factory.C:
3725         * lyxfunc.C: remove insetminipage. "minipage-insert"
3726         now produces a frameless minipage box inset.
3727
3728 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3729
3730         * textcursor.[Ch] (selStart,selEnd): add new methods
3731         remove selection::start, end, use LyXCursor::operator<
3732         * lyxcursor.[Ch] (operator<): add
3733         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3734         * BufferView.[Ch] (unsetXSel): add
3735         * text2.C (clearSelection): use unsetXSel,adjust
3736         * text.C: adjust
3737         * text3.C: adjust
3738         * rowpainter.C: adjust
3739         * bufferview_funcs.C (put_selection_at): adjust
3740
3741 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3742
3743         * BufferView_pimpl.C: small coord. correction
3744
3745 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3746
3747         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3748         dragging over the splash screen.
3749
3750 2003-12-11  Angus Leeming  <leeming@lyx.org>
3751
3752         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3753         as it is now handled in LyXText::dispatch.
3754
3755         * text3.C (doInsertInset): remove a level of nesting.
3756
3757 2003-12-11  Angus Leeming  <leeming@lyx.org>
3758
3759         * factory.C (createInset): changes due to the changed interface to
3760         InsetCommandMailer::string2params.
3761
3762 2003-12-10  Angus Leeming  <leeming@lyx.org>
3763
3764         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3765         'dialog-show-new-inset <inset name>'
3766
3767 2003-12-10  Angus Leeming  <leeming@lyx.org>
3768
3769         * buffer.C: up the format to 227.
3770
3771         * factory.C: the box inset is now identified simply by 'Box'.
3772
3773 2003-12-10  Angus Leeming  <leeming@lyx.org>
3774
3775         * buffer.C: up the format to 226.
3776
3777         * factory.C: the note inset is now identified simply by 'Note'.
3778
3779 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3780
3781         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3782         when a pit is enough. Standarize a couple of loops.
3783
3784 2003-12-05  Angus Leeming  <leeming@lyx.org>
3785
3786         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3787         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3788         data to the re-worked "log" dialog.
3789
3790 2003-12-03  André Pönitz  <poenitz@gmx.net>
3791
3792         * PosIterator.C:
3793         * iterators.C:
3794         * lyxtext.h:
3795         * output_latex.C:
3796         * paragraph_funcs.C:
3797         * text.C:
3798         * text2.C: use Inset::getText instead of Inset::getParagraph
3799
3800 2003-12-03  André Pönitz  <poenitz@gmx.net>
3801
3802         * buffer.[Ch]:
3803         * lyxtext.h:
3804         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3805         InsetText::read() as LyXText::read()
3806
3807 2003-12-02  Angus Leeming  <leeming@lyx.org>
3808
3809         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3810         type. Add a comment in the implementation that the function uses
3811         the stream's bad() function rather than fail() as the std::streams
3812         would do.
3813
3814 2003-12-02  André Pönitz  <poenitz@gmx.net>
3815
3816         * lyxlex.[Ch]: make interface more similar to std::stream
3817
3818         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3819
3820 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3821
3822         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3823
3824 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3825
3826         * vspace.[Ch]: remove VSpace::NONE
3827
3828 2003-12-01  André Pönitz  <poenitz@gmx.net>
3829
3830         * buffer.[Ch]:
3831         * lyxtext.h: move ParagraphList member to LyXText
3832         rename LyXText::ownerParagraphs to LyXText::paragraph
3833
3834         * CutAndPaste.C:
3835         * bufferview_funcs.C:
3836         * iterators.[Ch]:
3837         * lyx_cb.C:
3838         * paragraph.C:
3839         * rowpainter.C:
3840         * tabular.C:
3841         * text.C:
3842         * text2.C:
3843         * text3.C: adjust
3844
3845         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3846
3847         * undo.C: fix cursor positioning
3848
3849 2003-12-01  John Levon  <levon@movementarian.org>
3850
3851         * BufferView_pimpl.C: fix a crash on exit with
3852         a buffer open
3853
3854 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3855
3856         * BranchList.C: fix setSelected() method.
3857
3858 2003-11-28  André Pönitz  <poenitz@gmx.net>
3859
3860         * ParagraphParameters.[Ch]:
3861         * ParameterStruct.h: remove space above/below from Paragraph to
3862          InsetVSpace
3863
3864         * BufferView_pimpl.C:
3865         * factory.C:
3866         * lyxfunc.C:
3867         * lyxtext.h:
3868         * output_latex.C:
3869         * paragraph.C:
3870         * paragraph_funcs.C:
3871         * rowpainter.[Ch]:
3872         * text.C:
3873         * text2.C:
3874         * text3.C: adjust
3875
3876 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3877
3878         * factory.C: Syntax change for CharStyles
3879
3880 2003-11-28  André Pönitz  <poenitz@gmx.net>
3881
3882         * BufferView.[Ch]:
3883         * BufferView.[Ch]:
3884         * buffer.[Ch]:
3885         * buffer.[Ch]: move LyXText member
3886
3887 2003-11-28  André Pönitz  <poenitz@gmx.net>
3888
3889         * BufferView.[Ch]: make LyXText * text a private member
3890
3891         * BufferView_pimpl.C:
3892         * cursor.C:
3893         * iterators.C:
3894         * lyx_cb.C:
3895         * lyxfind.C:
3896         * lyxtext.h:
3897         * rowpainter.[Ch]:
3898         * text.C:
3899         * text2.C:
3900         * undo.C: adjust
3901
3902         * output_plaintext.C: cleanup
3903
3904 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3905
3906         * buffer.C:
3907         * lyxtextclass.[Ch]: parametrize SGML document header
3908
3909 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3910
3911         * converter.[Ch]:
3912         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3913         getFlavor().
3914
3915 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3916
3917         * text2.C (setFont): rework using PosIterator (no more recursive)
3918         (setCharFont): no more needed
3919         (setLayout): no more selection cursors fiddling (done by redoCursor)
3920         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3921         destroy remaining ones)
3922
3923 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3924
3925         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3926         * lyxtext.h: ditto
3927         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3928         selection cursors
3929         * lyxfunc.C: adjust
3930         * text3.C: adjust + re-allow multi par depth changes
3931         * textcursor.C: simplify a bit
3932
3933 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3934
3935         * src/buffer.C:
3936         * src/lyxlayout.C:
3937         * src/lyxlayout.h:
3938         * src/lyxtext.h:
3939         * src/output_docbook.C:
3940         * src/output_latex.C:
3941         * src/paragraph.C:
3942         * src/paragraph.h:
3943         * src/sgml.C:
3944         * src/sgml.h:
3945         * src/text2.C: Introducing a number of tags parametrizing various
3946         XML formats that we may want to support
3947
3948 2003-11-25  André Pönitz  <poenitz@gmx.net>
3949
3950         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3951
3952         * lyxtext.h (leftMargin/rightMargin): simplify interface
3953
3954         * rowpainter.C:
3955         * text.C:
3956         * text2.C:
3957         * text3.C: adjust
3958
3959 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3960
3961         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3962         master file to any child files. Fixes bug 546.
3963
3964 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3965
3966         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3967
3968 2003-11-24  André Pönitz  <poenitz@gmx.net>
3969
3970         * rowpainter.C: simplification
3971
3972         * text2.C (updateCounters): remove call to redoParagraph on
3973         changed labels as this is far too expensive.
3974
3975 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3976
3977         * converter.C (convert): fix a crash: this function gets
3978         called with buffer == 0 from importer code.
3979
3980 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3981
3982         * text3.C (cursorPrevious): make sure that we do not compare
3983         iterators form different containers.
3984         (cursorNext): ditto
3985
3986         * rowpainter.C (paintSelection): make sure that we do not compare
3987         iterators from different containers.
3988
3989         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3990         iterators from different ParagraphList containers.
3991         [NEXT] ditto
3992
3993         * text2.C (LyXText): change order of initialization slightly
3994         (operator=): new function. copy all variables except cache_par_
3995         (moveUp): make sure that we do not compare iterators from
3996         different ParagraphList constainers.
3997         (moveDown): ditto
3998
3999         * text.C (firstPar): new function
4000         (lastPar): new function
4001         (endPar): new function
4002
4003         * lyxtext.h: move things around and group public functions, public
4004         variables, private functions, private variables
4005
4006 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4007
4008         * factory.C: change call to InsetERT constructor to avoid
4009         additional invocation of method status
4010         * text2.C (toggleInset): remove redundant update() call
4011         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4012         instead of a Bufferview pointer
4013
4014 2003-11-21  André Pönitz  <poenitz@gmx.net>
4015
4016         * rowpainter.C: simplification
4017
4018 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4019
4020         * text3.C (dispatch): make possible to extend a word/row selection
4021         with the mouse
4022
4023 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4024
4025         * lyxtext.h: x0_,y0_ -> xo_,yo_
4026         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4027         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4028         * rowpainter.C (paintRows): paint full paragraphs
4029
4030 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4031
4032         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4033         screen coordinates)
4034
4035 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4036
4037         * lyxtext.h: add x0_, y0_
4038         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4039         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4040
4041 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4042
4043         * text2.C (setCursorIntern): move the x_target update here *
4044         * text3.C: change some bv() to true/false in calls to
4045         cursorUp/Down/Right/Left
4046         * cursor.C: use helper function.
4047
4048 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4049
4050         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4051         * paragraph_funcs.[Ch]: correct comment
4052         * rowpainter.C: do not paint selections away from bv->cursor()
4053         Fix a long standing selection painting bug.
4054         * text3.C: generalize mouse-selection code to LyXTexts other that
4055         top one
4056         * textcursor.C: do not use y coords if we can use par offsets
4057
4058 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4059
4060         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4061         cursor position after e.g. inset insert)
4062
4063 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4064
4065         * lyxfind.C (replace): adjust to locking removal + some
4066         code simplification
4067
4068 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4069
4070         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4071         of the path
4072
4073 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4074
4075         * lyxlayout.[Ch]:
4076         * output_docbook.C: XML sanitation: new layout
4077         parameters InnerTag and CommandDepth
4078
4079 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4080
4081         * BufferView_pimpl.C:
4082         * factory.C:
4083         * text3.C: Fix the insertion and modification of button-style
4084         insets
4085
4086 2003-11-13  André Pönitz  <poenitz@gmx.net>
4087
4088         * InsetList.[Ch]: remove deleteLyXText
4089
4090         * paragraph.[Ch]: cache beginOfBody position
4091
4092         * Bidi.C:
4093         * text.C:
4094         * text2.C:
4095         * text3.C: remove superfluous update() calls
4096
4097         * vspace.C: cleanup
4098
4099 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4100
4101         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4102         * BufferView.C (fitLockedInsetCursor): remove
4103         * cursor.[Ch] (getDim): add
4104         * text.C (getRowNearY): add faster version
4105         * text3.C: remove some update calls
4106
4107 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4108
4109         * LaTeXFeatures.C:
4110         * LyXAction.C:
4111         * MenuBackend.C:
4112         * MenuBackend.h:
4113         * dispatchresult.h:
4114         * factory.C:
4115         * lfuns.h:
4116         * lyxfunc.C:
4117         * lyxtextclass.C:
4118         * lyxtextclass.h:
4119         * text3.C: The Character Style /XML short element patch.
4120
4121 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4122
4123         * text3.C:
4124         * factory.C: Small step to solving 'unable to insert some insets'
4125         problem
4126
4127 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4128
4129         * cursor.[Ch] (updatePos): new function for updating the y
4130         position of the tip inset
4131         * bufferview_funcs.C (put_selection_at):
4132         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4133
4134 2003-11-11  André Pönitz  <poenitz@gmx.net>
4135
4136         * text.C: remove big comment on invalid Paragraph pointers as it is
4137         not valid anymore
4138
4139 2003-11-11  André Pönitz  <poenitz@gmx.net>
4140
4141         * text_funcs.[Ch]: merge with ...
4142
4143         * text.C: ... this
4144
4145         * lyxtext.h:
4146         * text2.C:
4147         * text3.C: adjust
4148
4149         * Makefile.am: remove text_funcs.[Ch]
4150
4151 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4152
4153         * cursor.C (getPos): return absolute cached y coord
4154
4155         * BufferView_pimpl.C (fitCursor): new simplistic code
4156         (workAreaDispatch): add a fitCursor call
4157
4158 2003-11-10  André Pönitz  <poenitz@gmx.net>
4159
4160         * BufferView.[Ch]:
4161         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4162
4163 2003-11-10  André Pönitz  <poenitz@gmx.net>
4164
4165         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4166         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4167         indicate that the cursor needs to leave an inset
4168
4169         * lyxtext.h: remove inset locking
4170
4171         * cursor.[Ch]: re-implement functionality provided by inset locking
4172
4173         * BufferView.[Ch]:
4174         * BufferView_pimpl.[Ch]:
4175         * LyXAction.C:
4176         * bufferview_funcs.[Ch]:
4177         * factory.C:
4178         * funcrequest.[Ch]:
4179         * iterators.C:
4180         * lyx_cb.C:
4181         * lyxfind.C:
4182         * lyxfunc.C:
4183         * text.C:
4184         * text2.C:
4185         * text3.C:
4186         * undo.C: adjust
4187
4188 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4189
4190         * PosIterator.[Ch]: replace the stack with a vector, add inset
4191         accesor
4192         * iterators.[C]: adjust
4193
4194 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4195
4196         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4197         replaced
4198         * paragraph_funcs.C (readParToken): put the correct id in the
4199         error item, not the id of the top paragraph
4200
4201 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4202
4203         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4204         * bufferview_funcs.C (put_selection_at): use the above
4205
4206 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4207
4208         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4209
4210 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4211
4212         * output_linuxdoc.h:
4213         * output_plaintext.h:
4214         * output.h:
4215         * output_docbook.h: add #include statements
4216
4217 2003-11-05  José Matos  <jamatos@lyx.org>
4218
4219         * output_docbook.[Ch]:
4220         * output_latex.[Ch]:
4221         * output_linuxdoc.[Ch]:
4222         * output_plaintext.[Ch]: New files for output formats.
4223         * output.[Ch]: New file for helper functions.
4224
4225         * buffer.[Ch]:
4226         * paragraph_funcs.[Ch]: output functions moved to new files.
4227
4228         * outputparams.h: rename of latexrunparams.h
4229
4230         * LaTeX.[Ch]:
4231         * buffer.[Ch]:
4232         * bufferlist.[Ch]:
4233         * converter.[Ch]:
4234         * exporter.C:
4235         * paragraph.[Ch]:
4236         * paragraph_funcs.[Ch]:
4237         * paragraph_pimpl.[Ch]:
4238         * tabular.[Ch]: rename ascii to plaintext
4239         and LatexRunParams to OutputParams.
4240
4241 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4242
4243         * iterators.[Ch] (text): require bv argument
4244         * undo.C (recordUndo):
4245         * lyxfunc.C (dispatch):
4246         * bufferview_funcs.C (put_selection_at): adjust
4247
4248 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4249
4250         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4251
4252 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4253
4254         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4255         nestings
4256
4257 2003-11-04  André Pönitz  <poenitz@gmx.net>
4258
4259         * cursor.[Ch]: restructure
4260
4261         * BufferView.[Ch]:
4262         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4263
4264         * iterators.[Ch] (asCursor): remove
4265
4266         * lfuns.h: remove LFUN_INSET_EDIT
4267
4268         * lyxfunc.C:
4269         * tabular.C:
4270         * text.C:
4271         * text2.C:
4272         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4273
4274 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4275
4276         * lyxfind.[Ch]: complete overhaul
4277         * BufferView_pimpl.C:
4278         * lyxfunc.C: adjust
4279         * paragraph.[Ch] (insert): add
4280
4281 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4282
4283         * BufferView.[Ch]:
4284         * lyxtext.h:
4285         * text.C: remove dead spellcheck code
4286
4287 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4288
4289         * dispatchresult.h: add a val setter
4290
4291         * cursor.C (dispatch): use a tempvar for data_[i]
4292
4293 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4294
4295         * PosIterator.[Ch]: compile fix
4296
4297 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4298
4299         * text.C (cursorPar): deactivate the cursor cache
4300
4301 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4302
4303         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4304
4305 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4306
4307         * text3.C (dispatch): adjust for new DisptchResult semantics.
4308
4309         * lyxfunc.C (dispatch): handle update when return from
4310         Cursor::dispatch, adjust for new DispatchResult semantics.
4311
4312         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4313         DispatchResult(true) mean to not update. Add class functions for
4314         setting dispatched and update, as well as reading.
4315
4316         * cursor.C (dispatch): don't handle update here
4317
4318 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4319
4320         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4321         * trans_mgr.C: adjust
4322
4323         * paragraph_funcs.C (readParToken): exception safety
4324
4325         * lyxvc.h: store the vcs pointer in a scoped_ptr
4326         * lyxvc.C: adjust
4327
4328         * lyxsocket.C (serverCallback): exception safety
4329
4330         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4331
4332         * ispell.C (clone): make it return a auto_ptr
4333
4334         * factory.C (createInset): exception safety
4335         (readInset): exception safety
4336
4337         * bufferlist.C (newBuffer): exception safety
4338
4339         * Thesaurus.C (Thesaurus): use initialization for aik_
4340
4341         * MenuBackend.C (expandToc): exception safety.
4342
4343 2003-11-03  André Pönitz  <poenitz@gmx.net>
4344
4345         * buffer.C:
4346         * buffer.h:
4347         * bufferview_funcs.C: remove getInsetFromId()
4348
4349         * lyxcursor.[Ch]:
4350         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4351
4352         * lyxfunc.C:
4353         * text2.C:
4354         * text3.C: adjust
4355
4356 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4357
4358         * PosIterator.C (distance, advance): new
4359         * bufferview_funcs.[Ch] (put_selection_at): new
4360         * iterators.[Ch] (lockPath): new
4361
4362 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4363
4364         * iterators.[Ch] (asPosIterator): added
4365         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4366         * PosIterator.[Ch]: added
4367
4368 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4369
4370         * text3.C:
4371         * lyxfunc.C:
4372         * cursor.C (dispatch):
4373         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4374
4375         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4376         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4377         contructor, add a class function dispatched. Remove operator>=
4378
4379 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4380
4381         * debug.C: only use the default constructor for debugstream
4382         (lyxerr) here.
4383
4384         * main.C (main): include debug.h and setup the lyxerr streambuf
4385         here.
4386
4387 2003-10-31  José Matos  <jamatos@lyx.org>
4388
4389         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4390
4391         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4392         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4393         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4394         * paragraph_pimpl.C (simpleTeXSpecialC):
4395         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4396         add LatexRunParams argument.
4397
4398         * exporter.C (Export): change call accordingly.
4399
4400         * latexrunparams.h: add new member to take care of the other backends.
4401 2003-10-30  José Matos  <jamatos@lyx.org>
4402
4403         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4404         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4405         factorise code for paragraph output.
4406         * buffer.[Ch]:
4407         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4408         move functions.
4409
4410 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4411
4412         * text3.C (dispatch):
4413         * lyxfunc.C (dispatch):
4414         * cursor.C (dispatch):
4415         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4416
4417         * dispatchresult.h: make the dispatch_result_t ctor explicit
4418
4419 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4420
4421         * sgml.[Ch]:
4422         * buffer.C: small refactoring of docbook stuff
4423
4424 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4425
4426         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4427         meaning.
4428
4429 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4430
4431         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4432         operator dispatch_result_t, and operators for == != and >=
4433
4434         * cursor.C (dispatch): adjust for operator dispatch_result_t
4435         removal. comment out call to update
4436
4437         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4438
4439 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4440
4441         * text3.C:
4442         * text2.C:
4443         * text.C:
4444         * lyxtext.h:
4445         * lyxfunc.C:
4446         * cursor.C:
4447         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4448         (dispatch):
4449
4450         * dispatchresult.h: new file, DispatchResult broken out of
4451         insets/insetbase.h
4452
4453         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4454
4455 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4456
4457         * text.C (rowBreakPoint): put a hack inside #if 0
4458
4459 2003-10-28  André Pönitz  <poenitz@gmx.net>
4460
4461         * lyxtext.h:
4462         * metricsinfo.C:
4463         * paragraph_funcs.C:
4464         * rowpainter.C:
4465         * text.C:
4466         * text2.C: general cleanup (lots of small stuff)
4467
4468 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4469
4470         * text2.C (cursorEnd): simple fix to the "end key goes to one
4471         before the end on last row" bug
4472
4473 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4474
4475         * text.C (backspace): fix the "zombie characters"
4476
4477 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4478
4479         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4480
4481 2003-10-27  André Pönitz  <poenitz@gmx.net>
4482
4483         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4484
4485         * factory.C: handle new InsetPagebreak, InsetLine
4486
4487         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4488         and move handling into new InsetPagebreak, InsetLine
4489
4490         * BufferView_pimpl.C:
4491         * LyXAction.C:
4492         * ParagraphParameters.C:
4493         * ParameterStruct.h:
4494         * lyxfunc.C:
4495         * lyxtext.h:
4496         * paragraph.C:
4497         * paragraph.h:
4498         * paragraph_funcs.C:
4499         * paragraph_pimpl.C:
4500         * rowpainter.C:
4501         * text.C:
4502         * text2.C:
4503         * text3.C: adjust
4504
4505 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4506
4507         * text.C:
4508         * lyxrow_funcs.[Ch]:
4509         * Bidi.C:
4510         * paragraph.C:
4511         * lyxtext.h:
4512         * rowpainter.C:
4513         * text2.C:
4514         * text3.C: remove lastPos uses in favour of Row::endpos
4515
4516 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4517
4518         * undo.C (performUndoOrRedo): fix two crashes by setting a
4519         cursor by hand and reordering some calls. Use bv->lockInset instead
4520         of inset->edit because the latter loses cursor information
4521
4522 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4523
4524         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4525         by Martin
4526         (rowBreakPoint): fix width. change point to point + 1.
4527         Add a missing check.
4528
4529 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4530
4531         * MenuBackend.C:
4532         * lyxfunc.C: fix (at least partly) the problems
4533         with the Nav menu and headers inside branch insets
4534         reported by Kayvan
4535
4536 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4537
4538         * paragraph.C (getChar): add strong asserts
4539
4540         * lyxrow_funcs.C (lastPos): remove hideous hack
4541
4542         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4543         (fill): adjust to that (avoid an infinite loop)
4544
4545 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4546
4547         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4548
4549 2003-10-23  André Pönitz  <poenitz@gmx.net>
4550
4551         * RowList_fwd.h: change list<> to vector<> to gain speed
4552         after suggestion from Alfredo
4553
4554 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4555
4556         * lyxtext.h: move the bidi stuff from here...
4557         * text.C: and here
4558         * text2.C: and here
4559         * Bidi.[Ch]: ... to here
4560
4561 2003-10-23  André Pönitz  <poenitz@gmx.net>
4562
4563         * lyxtext.h:
4564         * text.C (isLastRow, isFirstRow): new functions
4565
4566         * paragraph.h: new width cache member
4567
4568         * rowpainter.C: replace RowList::iterator with Row & where possible
4569
4570         * lyxfunc.C: replace several view()->text with a single call
4571
4572         * toc.C: fix 'unused' warning
4573
4574 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4575
4576         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4577         when woring with stream::pos_type
4578         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4579
4580 2003-10-22  André Pönitz  <poenitz@gmx.net>
4581
4582         * lyxtext.h:
4583         * text.C: use Row & instead of RowList::iterator
4584
4585         * lyxrow.h: rename end() to endpos()
4586
4587         * rowpainter.C:
4588         * text.C:
4589         * text2.C: adjust
4590
4591 2003-10-22  Angus Leeming  <leeming@lyx.org>
4592
4593         * buffer.[Ch] (fully_loaded): new member function, returning true
4594         only when the file has been loaded fully.
4595         Used to prevent the premature generation of previews and by the
4596         citation inset to prevent computation of the natbib-style label.
4597
4598         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4599         templates are all set up.
4600
4601         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4602
4603 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4604
4605         * text.C: fixed an "oops" in the "is a bit silly"
4606         bug fix
4607
4608 2003-10-21  André Pönitz  <poenitz@gmx.net>
4609
4610         * FuncStatus.[Ch]: small stuff, whitespace
4611
4612         * lyxfont.[Ch]: operator<<() for debug reasons
4613
4614         * lyxfunc.C:
4615         * lyxrow_funcs.C:
4616         * lyxtext.h: whitespace, spelling
4617
4618         * paragraph.C: naming of variables
4619
4620         * text.C:
4621         * text2.C: small stuff
4622
4623
4624 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4625
4626         * text.C: (1) finish off the inset display() work;
4627         (2) fix the "is a bit silly" bug (accessing char
4628         past end of par).
4629
4630 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4631
4632         * text.C: re-introduce display() for insets, fixing the
4633         various bugs (stretch of line above, math inset
4634         positioning, ...)
4635
4636 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4637
4638         * text.C (rightMargin): remove spurious semicolon
4639
4640         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4641         1415)
4642
4643 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4644
4645         * text3.C: fix one crash due to wrong cursor def
4646
4647 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4648
4649         * vc-backend.C (scanMaster): make the regex static
4650
4651         * LaTeX.C (scanAuxFile): make the regexs static
4652
4653         * text3.C (doInsertInset, dispatch, dispatch):
4654         * text2.C (cursorUp, cursorDown):
4655         * text.C (selectNextWordToSpellcheck):
4656         * BufferView_pimpl.C (dispatch):
4657         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4658
4659 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4660
4661         * lyxsocket.C: include <cerrno>
4662
4663 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4664
4665         * lyxfunc.C (dispatch): remove textcache stuff
4666
4667         * bufferlist.C (release): remove textcache stuff
4668         (closeAll): ditto
4669
4670         * TextCache.C: delete file
4671         * TextCache.h: delete file
4672
4673         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4674
4675         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4676         delete of the bv_->text.
4677         (resizeCurrentBuffer): remove texcache stuff
4678         (workAreaResize): ditto
4679
4680 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4681
4682         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4683         action.
4684
4685 2003-10-16  André Pönitz  <poenitz@gmx.net>
4686
4687         * lyxrow.[Ch]:
4688         * paragraph.h:
4689         * rowpainter.C:
4690         * text.C:
4691         * text2.C:
4692         * text3.C: speed up by storing y positions per paragraph plus per-row
4693         offset instead of having a 'full' y position in the row.
4694
4695 2003-10-15  André Pönitz  <poenitz@gmx.net>
4696
4697         * iterators.[Ch]:
4698         * iterators.[Ch]:
4699         * undo.[Ch]: make undo aware of inner insets
4700
4701 2003-10-14  Angus Leeming  <leeming@lyx.org>
4702
4703         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4704         static member functions LyX::ref() and LyX::cref.
4705         (lastfiles): new accessor functions for the new lastfiles_ member var.
4706         (addLyXView, views_): add a new LyXView to the list of views_.
4707         (updateInset): loop over all LyXViews to call their own updateInset
4708         member function, returning a pointer to the Buffer owning the inset.
4709
4710         * BufferView_pimpl.C (loadLyXFile):
4711         * MenuBackend.C (expandLastfiles):
4712         * bufferlist.C (MenuWrite, QuitLyX):
4713         lastfiles is no longer a global variable.
4714         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4715
4716         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4717         static function. Access through LyX::cref().emergencyCleanup().
4718
4719 2003-10-14  André Pönitz  <poenitz@gmx.net>
4720
4721         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4722
4723         * undo.[Ch]: restoring part of 'undo in insets'
4724
4725         * Makefile.am:
4726         * undo_funcs.[Ch]: merge with undo.[Ch]
4727
4728         * tabular.C: small cleansing stuff
4729
4730 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4731
4732         * paragraph_funcs.C (readParToken): report unknown insets as error
4733         boxes. Use the outer paragraph as location (also for unknown
4734         tokens).
4735
4736         * factory.C (readInset): do not abort on reading an unknown inset.
4737         Eat it and return 0.
4738
4739 2003-10-13  Angus Leeming  <leeming@lyx.org>
4740
4741         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4742
4743         * lyxrc.C: displayTranslator is now a function,
4744         declared in GraphicsTypes.h.
4745
4746 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4747
4748         * format.C: new placeholder $$a to pass the socket address.
4749
4750         * bufferlist.[Ch]: new function getBufferFromTmp.
4751
4752         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4753           files in the temporary dir.
4754
4755 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4756
4757         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4758
4759         * Makefile.am: add lyxsocket.[Ch].
4760
4761         * lyx_main.C (error_handler): handle SIGPIPE.
4762
4763 2003-10-13  André Pönitz  <poenitz@gmx.net>
4764
4765         * BufferView_pimpl.C:
4766         * lyxtext.h:
4767         * text.C:
4768         * text2.C:
4769         * text3.C:
4770         * undo_funcs.[Ch]: use paroffset_type instead of
4771           ParagraphList::iterators to prevent multiple conversion
4772           (and get a more robust interface)
4773
4774 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4775
4776         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4777         * lyxtext.h: ditto
4778         * text3.C (dispatch): ditto
4779
4780 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4781
4782         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4783         move the onlyfile, use onlyfile instead of foundfile in a couple
4784         of places.
4785
4786         * DepTable.C (update): flush the error stream a bit more
4787
4788 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4789
4790         * lyxserver.C (callback): adjust
4791
4792         * lyxfunc.C (getStatus): add a missing brace in commented code
4793         (ensureBufferClean): reindent
4794         (dispatch): delete version taking a string
4795
4796 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4797
4798         * LaTeX.C (deplog): move found file handlig from here...
4799         (handleFoundFile): .. to new function here.
4800         (deplog): make sure to discover several files mentioned on the
4801         same log line.
4802
4803 2003-10-10  André Pönitz  <poenitz@gmx.net>
4804
4805         * lyxfunc.C:
4806         * lyxtext.h:
4807         * tabular.C:
4808         * text.C:
4809         * text2.C:
4810         * text3.C: fix some of the tabular crashes
4811
4812 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4813
4814         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4815
4816         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4817
4818 2003-10-09  André Pönitz  <poenitz@gmx.net>
4819
4820         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4821
4822         * BufferView.C:
4823         * BufferView_pimpl.C:
4824         * bufferview_funcs.C:
4825         * lyx_cb.C:
4826         * lyxcursor.C:
4827         * lyxfind.C:
4828         * lyxfunc.C:
4829         * lyxtext.h:
4830         * text.C:
4831         * text2.C:
4832         * text3.C:
4833         * text_funcs.[Ch]:
4834         * textcursor.[Ch]:
4835         * undo_funcs.C: adjust
4836
4837 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * text2.C (incrementItemDepth): new function, use a backtracking
4840         algorithm to discover the correct item depth.
4841         (resetEnumCounterIfNeeded): new function, use a backtracking
4842         algorithm to discover if counter reset is needed.
4843         (setCounter): use them. Simplify a bit. Add different labels for
4844         different item depths for itemize.
4845
4846         * paragraph.C (Paragraph): remove initialization of enumdepth
4847         (operator=): ditto
4848
4849         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4850         enumerate and itemize. Change the type of itemdepth to signed char.
4851
4852 2003-10-08  André Pönitz  <poenitz@gmx.net>
4853
4854         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4855           thing assignable.
4856         * text.C:
4857         * text2.C: adjust
4858
4859         * tabular.[Ch]: fix crash after 'row-insert'
4860
4861 2003-10-08  Angus Leeming  <leeming@lyx.org>
4862
4863         Fix doxygen warnings.
4864
4865         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4866         Remove CutAndPaste:: prefix from header file declaration.
4867
4868         * LColor.h (fill): remove LColor:: prefix from declaration.
4869
4870         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4871         use lyx::depth_type rather than Paragraph::depth_type so that
4872         header file and .C file match.
4873
4874         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4875
4876         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4877         * aspell.C: \file aspell_local.C -> \file aspell.C
4878         * gettext.C: \file gettext.C -> \file src/gettext.C
4879         * gettext.h: \file gettext.h -> \file src/gettext.h
4880         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4881         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4882         * text.C: \file text.C -> \file src/text.C
4883
4884         * toc.C: move comment so that doxygen is not confused.
4885
4886 2003-10-07  Angus Leeming  <leeming@lyx.org>
4887
4888         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4889
4890 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4891
4892         * aspell.C:
4893         * aspell_local.h: add forgotten std::string's.
4894
4895 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4896
4897         * LaTeXFeatures.C:
4898         * LyXAction.C:
4899         * factory.C:
4900         * lfuns.h:
4901         * lyxfunc.C:
4902         * text3.C: The Box patch. Fancybox support, minipage, parbox
4903
4904 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4905
4906         * CutAndPaste.h:
4907         * DepTable.h:
4908         * FloatList.h:
4909         * LaTeXFeatures.h:
4910         * ParagraphParameters.h:
4911         * TextCache.h:
4912         * Thesaurus.h:
4913         * bufferlist.h:
4914         * exporter.h:
4915         * importer.h:
4916         * lastfiles.h:
4917         * lyxfind.h:
4918         * lyxfont.h:
4919         * lyxlex.h:
4920         * lyxtextclasslist.h:
4921         * messages.h:
4922         * paragraph.h:
4923         * paragraph_pimpl.C:
4924         * textcursor.h: add <string> and other small fixes to make Lars'
4925         std::string patch compile with STLport.
4926
4927 2003-10-06  Angus Leeming  <leeming@lyx.org>
4928
4929         * LColor.h: Add missing #include <string>.
4930
4931 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4932
4933         * All most all file in all subdirs: Make <string> be the prefered
4934         way of getting to std::string, add using declarations.
4935
4936 2003-10-06  André Pönitz  <poenitz@gmx.net>
4937
4938         * metricsinfo.C: initialize LyXFont before changing attribute.
4939         (fixes the 'math in \emph is upright' bug)
4940
4941 2003-10-06  André Pönitz  <poenitz@gmx.net>
4942
4943         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4944
4945 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4946
4947         * graph.C:
4948         * paragraph_pimpl.C: Small fixes to build using STLport
4949
4950 2003-10-02  André Pönitz  <poenitz@gmx.net>
4951
4952         * lyxfunc.C:
4953         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4954
4955 2003-10-01  André Pönitz  <poenitz@gmx.net>
4956
4957         * factory.C: assert early
4958
4959 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4960
4961         * lyx_main.C: remove the global debug object
4962
4963         * debug.h: adjust for new debugstream
4964
4965         * debug.C: adjust for new debugstream and keep the global debug
4966         object here.
4967
4968 2003-09-22  Angus Leeming  <leeming@lyx.org>
4969
4970         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4971         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4972         an incomplete class LyXFont.
4973
4974 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4975
4976         * factory.C: bug fix in branches
4977
4978 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4979
4980         * lyxfunc.C (processKeySym): adjust
4981         (dispatch): adjust
4982         (dispatch): change arg name from ev to func, adjust
4983         (sendDispatchMessage): ditto
4984
4985         * lyx_main.C (defaultKeyBindings): adjust keybindings
4986         (deadKeyBindings): ditto
4987
4988         * kbsequence.C (addkey): return a FuncRequest
4989
4990         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4991
4992         * kbmap.C (bind): take a FuncRequest as arg, adjust
4993         (read): adjust
4994         (lookup): adjust
4995         (defkey): change to take a FuncRequest as arg, adjust
4996         (findbinding): take a FuncRequest as arg, adjust.
4997
4998         * funcrequest.h (operator=): added
4999
5000         * funcrequest.C (FuncRequest): default kb_action changed from
5001         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5002
5003         * buffer.C (dispatch): simplify
5004         (dispatch): adjust to take a FuncRequest as arg, adjust
5005
5006         * boost.C (assertion_failed): change assertion message slightly
5007
5008         * ToolbarBackend.C (read): simplify
5009
5010         * MenuBackend.C (binding): adjust call to findbinding, add a
5011         message if no binding is found.
5012         (read): simplify
5013         (expandToc): correct by adding a empty FuncRequest
5014
5015         * LyXAction.C: include <boost/assert.hpp>
5016         (isPseudoAction): delete function
5017         (LookupFunc): change name to...
5018         (lookupFunc): this. change return type to FuncRequest.
5019         (getActionName): take kb_action as arg, simplify
5020         (funcHasFlag): add an assert, simplify.
5021
5022 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5023
5024         * toc.C (action): return a FuncRequest, simplify
5025
5026         * lyxfunc.C (processKeySym): adjust
5027         (getStatus): delete version that takes an int.
5028         (getStatus): adjust
5029         (dispatch): delete version that takes action as int
5030         (dispatch): adjust
5031         (sendDispatchMessage): simplify and adjust
5032
5033         * funcrequest.C (getArg): take unsigned int as arg
5034
5035         * ToolbarBackend.C (read): adjust
5036         (add): delete version that takes func as a string.
5037         (getIton): take a FuncRequest as arg
5038
5039         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5040         action.
5041
5042         * MenuBackend.C (MenuItem): add a new construct that only takes a
5043         Kind, simplify the constructor use for submenus.
5044         (add): adjust
5045         (expandLastfiles): adjust
5046         (expandDocuments): adjust
5047         (expandFormats): adjust
5048         (expandFloatListInsert): adjust
5049         (expandFloatInsert): adjust
5050         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5051
5052         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5053         Remove class variables lyx_pseudo_map and lyx_arg_map
5054
5055         * LyXAction.C (searchActionArg): delete function
5056         (getPseudoAction): delete function
5057         (retrieveActionArg): delete function
5058         (LookupFunc): make it return kb_action, simplify.
5059         (getActionName): simplify
5060
5061         * factory.C (createInset): fix new bug
5062
5063 2003-09-19  Angus Leeming  <leeming@lyx.org>
5064
5065         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5066         masterFilename_ parameter in the include inset.
5067
5068         * factory.C (createInset): changes due to the changes to InsetInclude.
5069
5070 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5071
5072         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5073
5074 2003-09-18  Angus Leeming  <leeming@lyx.org>
5075
5076         * buffer.C:
5077         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5078         Inset::fillWithBibKeys.
5079         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5080
5081 2003-09-18  Angus Leeming  <leeming@lyx.org>
5082
5083         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5084         variables.
5085         (ctor): pass and store a 'Buffer const &'
5086         (buffer): new member function.
5087
5088         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5089         '*this' to the LaTeXFeatures ctor.
5090
5091 2003-09-18  Angus Leeming  <leeming@lyx.org>
5092
5093         * LColor.h:
5094         * lyxfont.C:
5095         * lyxfont.h:
5096         * lyxtext.h:
5097         * text.C: rename EnumLColor as LColor_color.
5098
5099 2003-09-18  Angus Leeming  <leeming@lyx.org>
5100
5101         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5102         remove #include "insets/insetbase.h" from cursor.h.
5103
5104 2003-09-18  Angus Leeming  <leeming@lyx.org>
5105
5106         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5107         InsetOld_code to remove #include "inset.h".
5108
5109         * iterators.C: add #include "insets/inset.h"
5110
5111 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5112
5113         * BufferView.C: remove more locking stuff that apparently doesn't
5114         do anything sensible.
5115
5116 2003-09-16  André Pönitz  <poenitz@gmx.net>
5117
5118         * paragraph.[Ch]:
5119         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5120           performance boost.
5121
5122 2003-09-16  Angus Leeming  <leeming@lyx.org>
5123
5124         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5125
5126         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5127         arg/return type.
5128
5129         * paragraph.h: remove #include "lyxfont.h". Forward declare
5130         LyXFont_size.
5131
5132 2003-09-16  Angus Leeming  <leeming@lyx.org>
5133
5134         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5135         of support/textutils.h.
5136         (isWord): move the contents of support/textutils.h's IsWordChar here.
5137
5138         * buffer.C:
5139         * lyxfind.C:
5140         * rowpainter.C:
5141         * text.C:
5142         * text2.C: add #include "paragraph.h".
5143
5144         * rowpainter.C:
5145         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5146
5147 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5148
5149         * main.C:
5150         * lyx_main.C:
5151         * lyx_cb.C:
5152         * buffer.C:
5153         * LaTeX.C: use namespace alias for lyx::support::os
5154
5155 2003-09-16  Angus Leeming  <leeming@lyx.org>
5156
5157         * bufferparams.C:
5158         * bufferview_funcs.C:
5159         * factory.C:
5160         * lyxfunc.C:
5161         * paragraph_pimpl.C:
5162         * rowpainter.C:
5163         * text.C: add #include "LColor.h".
5164
5165 2003-09-16  Angus Leeming  <leeming@lyx.org>
5166
5167         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5168         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5169         return LyXFont &.
5170         Store the FontBits::color variable as an int rather than as an
5171         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5172         file.
5173
5174         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5175         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5176         string calls together.
5177
5178         * lyxrc.C: add #include "LColor.h".
5179
5180 2003-09-15  Angus Leeming  <leeming@lyx.org>
5181
5182         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5183         a cow_ptr.
5184
5185 2003-09-15  Angus Leeming  <leeming@lyx.org>
5186
5187         * LColor.h: add an EnumLColor wrapper for LColor::color.
5188
5189         * lyxfont.[Ch] (color, setColor, realColor):
5190         * lyxtext.h, text.C (backgroundColor):
5191         pass EnumLColor args to/from the functions, rather than LColor::color
5192         ones.
5193
5194         * lyxfont.h:
5195         * lyxtext.h: forward declare EnumLColor.
5196
5197         * lyx_main.C: add #include "LColor.h".
5198
5199 2003-09-15  Angus Leeming  <leeming@lyx.org>
5200
5201         * .cvsignore: add lyx-gtk.
5202
5203 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5204
5205         * Chktex.C
5206         * LaTeX.C
5207         * LaTeXFeatures.C
5208         * ParagraphParameters.C
5209         * Spacing.C
5210         * buffer.C
5211         * bufferparams.C
5212         * bufferview_funcs.C
5213         * chset.C
5214         * counters.C
5215         * funcrequest.C
5216         * lyxfont.C
5217         * lyxgluelength.C
5218         * lyxlength.C
5219         * paragraph.C
5220         * paragraph_funcs.C
5221         * text3.C
5222         * vc-backend.C: remove usage of STRCONV
5223
5224 2003-09-15  Angus Leeming  <leeming@lyx.org>
5225
5226         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5227         explicitly define the color passed to the painter.
5228
5229 2003-09-15  Angus Leeming  <leeming@lyx.org>
5230
5231         * bufferparams.C (BufferParams): reorder member initializers to avoid
5232         compiler warning.
5233
5234 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5235
5236         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5237         * text.C (updateRowPositions): remove an unusual nop
5238
5239 2003-09-12  André Pönitz  <poenitz@gmx.net>
5240
5241         * BufferView_pimpl.C:
5242         * Bullet.C:
5243         * layout.h:
5244         * lyxfunc.C:
5245         * lyxlayout.[Ch]:
5246         * lyxtextclass.C:
5247         * rowpainter.C:
5248         * text.C:
5249         * text2.C:
5250         * Counters.[Ch]: finish the 'automatic counters' job
5251
5252 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5253
5254         * aspell.C: include <boost/assert.cpp> (compile fix)
5255
5256 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5257
5258         * boost.C (assertion_failed): use lyx::support::abort instead of
5259         assert.
5260
5261 2003-09-10  Angus Leeming  <leeming@lyx.org>
5262
5263         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5264         with their _fwd progeny.
5265
5266 2003-09-09  Angus Leeming  <leeming@lyx.org>
5267
5268         134 files throughtout the source tree: replace 'using namespace abc;'
5269         directives with the appropriate 'using abc::xyz;' declarations.
5270
5271 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5272
5273         * boost.C (emergencyCleanup): moved here from LAssert.c
5274         (assertion_failed): new function, called by BOOST_ASSERT
5275
5276         * several files: change Assert to BOOST_ASSERT
5277
5278 2003-09-09  Angus Leeming  <leeming@lyx.org>
5279
5280         * buffer.[Ch]: Add an Impl class and move Buffer's member
5281         variables into it. As a result move several header files out of
5282         buffer.h.
5283
5284         Add header files to lots of .C files all over the tree as a result.
5285
5286 2003-09-09  Angus Leeming  <leeming@lyx.org>
5287
5288         * buffer.[Ch]: make Buffer's member variables private. Add
5289         accessor functions.
5290
5291         Lots of changes all over the tree as a result.
5292
5293 2003-09-08  Angus Leeming  <leeming@lyx.org>
5294
5295         * graph.C: #include <config.h>.
5296
5297 2003-09-08  Angus Leeming  <leeming@lyx.org>
5298
5299         * BranchList.C:
5300         * BufferView.C:
5301         * BufferView_pimpl.C:
5302         * CutAndPaste.C:
5303         * DepTable.C:
5304         * LaTeX.C:
5305         * LaTeXFeatures.C:
5306         * LyXAction.C:
5307         * MenuBackend.C:
5308         * TextCache.C:
5309         * aspell.C:
5310         * buffer.C:
5311         * bufferlist.C:
5312         * changes.C:
5313         * chset.C:
5314         * converter.C:
5315         * counters.C:
5316         * debug.C:
5317         * graph.C:
5318         * ispell.C:
5319         * lyx_cb.C:
5320         * lyxfind.C:
5321         * lyxfunc.C:
5322         * lyxlex_pimpl.C:
5323         * lyxrc.C:
5324         * lyxrow.C:
5325         * paragraph.C:
5326         * rowpainter.C:
5327         * texrow.C:
5328         * text.C:
5329         * text2.C:
5330         * toc.C: remove redundant using directives.
5331
5332 2003-09-07  Angus Leeming  <leeming@lyx.org>
5333
5334         * LaTeXFeatures.h: remove #include "support/types.h".
5335         * ToolbarBackend.h: remove #include <algorithm>.
5336         * changes.h: remove #include <ctime>.
5337         * debug.h: remove #include <iosfwd>.
5338         * graph.h: remove #include "support/std_string.h".
5339         * lyx_main.h: remove #include <csignal>.
5340         * lyxlex_pimpl.h: remove #include <fstream>.
5341         * sgml.h: remove #include <algorithm>, <utility>.
5342         * toc.h: remove #include "support/std_ostream.h".
5343         Add #include <iosfwd>.
5344
5345 2003-09-07  Angus Leeming  <leeming@lyx.org>
5346
5347         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5348
5349         * converter.h: forward declare LatexRunParams.
5350         * encoding.h: remove #include "lyxrc.h".
5351         * lyxtext.h: remove #include "LColor.h".
5352         * lyxtextclass.h: remove #include "support/types.h".
5353         * trans.h: remove #include "tex-accent.h".
5354         * trans_mgr.h: remove #include "tex-accent.h".
5355         * insets/inset.h: remove #include "support/types.h", <vector>.
5356         * insets/insetcollapsable.h: remove #include "LColor.h".
5357         * insets/insetinclude.h: remove #include "dimension.h".
5358         * insets/insetlatexaccent.h: remove #include "dimension.h".
5359         * insets/insetoptarg.h:: remove #include "insettext.h".
5360         * insets/insettext.h: remove #include "dimension.h",
5361         <boost/shared_ptr.hpp>
5362
5363         * insets/renderers.h: add #include "dimension.h".
5364         * insets/updatableinset.h: add #include "support/types.h".
5365
5366         * many .C files: Associated changes.
5367
5368 2003-09-06  Angus Leeming  <leeming@lyx.org>
5369
5370         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5371         one, inside testInvariant.
5372
5373         * PrinterParams.C: new file.
5374         * PrinterParams.[Ch]: move the function bodies out of line.
5375
5376 2003-09-06  Angus Leeming  <leeming@lyx.org>
5377
5378         * ParagraphParameters.h: forward declare ParameterStruct rather than
5379         including its header file.
5380         (depth): moved out-of-line.
5381
5382 2003-09-06  Angus Leeming  <leeming@lyx.org>
5383
5384         * BufferView_pimpl.h:
5385         * kbmap.h:
5386         * kbsequence.h:
5387         * lyxfunc.h: forward declare LyXKeySym rather than
5388         #include "frontends/LyXKeySym.h".
5389
5390         * BufferView_pimpl.C:
5391         * kbmap.C:
5392         * kbsequence.C:
5393         * lyxfunc.C: associated changes.
5394
5395 2003-09-06  Angus Leeming  <leeming@lyx.org>
5396
5397         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5398         As a result, can remove the #include "insets/inset.h" from BufferView.h
5399
5400 2003-09-06  Angus Leeming  <leeming@lyx.org>
5401
5402         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5403         As a result, can remove the #include "insets/inset.h" from BufferView.h
5404
5405 2003-09-06  Angus Leeming  <leeming@lyx.org>
5406
5407         * buffer_funcs.C:
5408         * buffer.h:
5409         * bufferlist.C:
5410         * BufferView.C:
5411         * bufferview_funcs.C:
5412         * BufferView_pimpl.C:
5413         * CutAndPaste.C:
5414         * lyx_cb.C:
5415         * lyxfunc.C:
5416         * paragraph.h:
5417         * ParagraphParameters.C:
5418         * tabular.C:
5419         * text3.C:
5420         * toc.C:
5421         * undo_funcs.C:
5422         * frontends/controllers/ControlDocument.C:
5423         * insets/insetcaption.C: rearrange the #includes into some sort of
5424         coherent order.
5425
5426         * buffer.h: remove #includes ErrorList.h, undo.h
5427
5428 2003-09-06  Angus Leeming  <leeming@lyx.org>
5429
5430         * support/types.h: add a 'depth_type' typedef, used to store the
5431         nesting depth of a paragraph.
5432
5433         * paragraph.h:
5434         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5435         defining explicitly.
5436
5437         * buffer.h:
5438         * paragraph_funcs.h:
5439         * ParagraphParameters.h:
5440         * sgml.h: use lyx::depth_type rather than Paragraph or
5441         ParameterStruct's depth_type.
5442
5443         * buffer.h
5444         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5445
5446         * BufferView.C:
5447         * BufferView_pimpl.C:
5448         * CutAndPaste.C:
5449         * ParagraphParameters.C:
5450         * buffer_funcs.C:
5451         * bufferlist.C:
5452         * bufferview_funcs.C:
5453         * lyx_cb.C:
5454         * lyxfunc.C:
5455         * tabular.C:
5456         * text3.C:
5457         * toc.C:
5458         * undo_funcs.C:
5459         * frontends/LyXView.C:
5460         * frontends/controllers/ControlDocument.C:
5461         * frontends/controllers/ControlErrorList.C:
5462         * insets/insetbibitem.C:
5463         * insets/insetbranch.C:
5464         * insets/insetcaption.C:
5465         * insets/insetcollapsable.C:
5466         * insets/insetenv.C:
5467         * insets/insetert.C:
5468         * insets/insetfloat.C:
5469         * insets/insetfoot.C:
5470         * insets/insetfootlike.C:
5471         * insets/insetnewline.C:
5472         * insets/insetquotes.C:
5473         * insets/insettabular.C:
5474         * insets/insettext.C:
5475         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5476
5477         * frontends/controllers/ControlChanges.C: #include "changes.h".
5478
5479 2003-09-06  Angus Leeming  <leeming@lyx.org>
5480
5481         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5482         than #including paragraph.h.
5483
5484         * ParagraphList.h:
5485         * RowList.h: deleted. Superfluous.
5486
5487         * CutAndPaste.h:
5488         * iterators.h:
5489         * lyxcursor.h:
5490         * lyxtext.h:
5491         * text_funcs.h:
5492         * undo.h:
5493         * undo_funcs.h:
5494         * insets/inset.h:
5495         * insets/insettext.h: use ParagraphList_fwd.h rather than
5496         ParagraphList.h.
5497
5498         * paragraph.h: don't forward declare ParagraphList.
5499
5500         * buffer.h:
5501         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5502         rather than ParagraphList.h. paragraph.h is still needed for the
5503         Paragraph::depth_type parameters.
5504
5505         * textcursor.h: enable it to compile stand-alone in light of the
5506         above changes.
5507
5508         * bufferview_funcs.C:
5509         * iterators.C:
5510         * lyxfunc.C:
5511         * lyxrow_funcs.C:
5512         * paragraph.C:
5513         * rowpainter.C:
5514         * text.C:
5515         * text2.C:
5516         * text3.C:
5517         * text_funcs.C:
5518         * textcursor.C:
5519         * undo.C:
5520         * frontends/controllers/ControlParagraph.C:
5521         * frontends/controllers/ControlTabular.C:
5522         * insets/insetmarginal.C:
5523         * insets/insetminipage.C:
5524         * insets/insetnote.C:
5525         * insets/insetoptarg.C: add header files needed to compile again.
5526
5527 2003-09-06  Angus Leeming  <leeming@lyx.org>
5528
5529         * RowList_fwd.h: new file, forward-declaring Row rather than
5530         #including lyxrow.h.
5531
5532         * lyxrow_funcs.h:
5533         * lyxtext.h:
5534         * paragraph.h:
5535         * insets/insettext.h: use it instead of RowList.h
5536
5537         * bufferview_funcs.C:
5538         * lyxfunc.C:
5539         * lyxrow_funcs.C:
5540         * paragraph.C:
5541         * rowpainter.C:
5542         * text.C:
5543         * text2.C:
5544         * text3.C: #include "RowList.h".
5545
5546 2003-09-05  Angus Leeming  <leeming@lyx.org>
5547
5548         * factory.C (createInset):
5549         * vspace.C (c-tor): replace sscanf call with an istringstream.
5550         * ispell.C: re-add missing HP/UX headers.
5551         * lyxserver.C: re-add missing  os2 headers.
5552
5553 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5554
5555         * BranchList.C:
5556         * graph.C:
5557         * ispell.C:
5558         * lastfiles.C:
5559         * lyx_cb.C:
5560         * lyxserver.C:
5561         * texrow.C:
5562         * text3.C: re-add missing system headers, needed for 2.95.2.
5563
5564 2003-09-05  Angus Leeming  <leeming@lyx.org>
5565
5566         Changes most place everywhere due to the removal of using directives
5567         from support/std_sstream.h.
5568
5569 2003-09-05  Angus Leeming  <leeming@lyx.org>
5570
5571         Replace LString.h with support/std_string.h,
5572         Lsstream.h with support/std_sstream.h,
5573         support/LIstream.h with support/std_istream.h,
5574         support/LOstream.h with support/std_ostream.h.
5575
5576         Changes resulting throughout the tree.
5577
5578 2003-09-05  Angus Leeming  <leeming@lyx.org>
5579
5580         * sgml.h: ensure that the header file can be compiled stand-alone.
5581         * *.C: strip out redundant #includes. (320 in total.)
5582
5583 2003-09-04  Angus Leeming  <leeming@lyx.org>
5584
5585         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5586         here (from getPackages).
5587
5588         * debug.[Ch]: add a new EXTERNAL tag.
5589
5590 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5591
5592         * text2.C (cursorEnd): simplify
5593         (setCursor): adjust
5594         (getColumnNearX): adjust
5595
5596         * text.C (computeBidiTables): adjust
5597         (fill): adjust
5598
5599         * rowpainter.C (paintChars): adjust
5600         (paintSelection): adjust
5601         (paintChangeBar): adjust
5602         (paintText): adjust
5603
5604         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5605         lastPos instead.
5606         (numberOfSeparators): adjust
5607
5608 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5609
5610         * LyXAction.C:
5611         * box.[Ch]:
5612         * lfuns.h:
5613         * lyxfunc.C:
5614         * text3.C: Restricts the mouse click functionality
5615         of insets like bibtex, include, toc and floatlist to the visible
5616         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5617         up the dialogs. Cursor has to be in front of the inset (i.e.
5618         start of row) for this to function.
5619
5620 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5621
5622         * bufferview_funcs.C (currentState): output row information
5623
5624 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5625
5626         * bufferview_funcs.C (currentState): output paragraph position
5627
5628 2003-09-04  Angus Leeming  <leeming@lyx.org>
5629
5630         * FloatList.h: move out #include "Floating.h".
5631         * LaTeX.h: move out #include "DepTable.h".
5632         * LyXAction.h: move out #include "funcrequest.h".
5633         * buffer.h: move out #include "author.h", "iterators.h".
5634         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5635         * lyx_main.h: move out #include "errorlist.h".
5636         * lyxfunc.h: move out #include "FuncStatus.h".
5637         * lyxtext: move out #include "lyxcursor.h".
5638         * paragraph_pimpl.h: move out #include "counters.h".
5639
5640 2003-09-03  Angus Leeming  <leeming@lyx.org>
5641
5642         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5643         preamble_snippets list, enabling us to add snippets to the preamble
5644         only if the snippet was not there already.
5645
5646 2003-09-04  Angus Leeming  <leeming@lyx.org>
5647
5648         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5649
5650 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5651
5652         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5653         update
5654
5655 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5656
5657         * BranchList.C: point fix, earlier forgotten
5658
5659 2003-09-02  Angus Leeming  <leeming@lyx.org>
5660
5661         * box.C (contains): renamed from 'contained' after a fantastic
5662         amount of hot air.
5663
5664 2003-09-02  John Levon  <levon@movementarian.org>
5665
5666         * BufferView.C:
5667         * lyxcursor.h:
5668         * lyxcursor.C:
5669         * lyxfunc.C:
5670         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5671
5672 2003-09-02  John Levon  <levon@movementarian.org>
5673
5674         * text2.C: simplification of cursorEnd(), including partial
5675         fix for bug 1376
5676
5677 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5678
5679         * buffer.C (readFile): add a space
5680
5681 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5682
5683         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5684
5685 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5686
5687         * buffer.C (readFile): new function, take a filename and a
5688         ParagraphList::iterator
5689         (readFile): adjust
5690         (readFile): adjust, make it private. don't use setStream, make
5691         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5692         always contain the filename.
5693
5694         * BufferView.C (insertLyXFile): simplify and make it work for
5695         gzipped files.
5696
5697 2003-08-30  John Levon  <levon@movementarian.org>
5698
5699         * Makefile.am: fix dist (from Kayvan)
5700
5701 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5702
5703         * most files: change to use const Buffer refs
5704
5705 2003-08-27  André Pönitz  <poenitz@gmx.net>
5706
5707         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5708         on top of ownerPar().
5709
5710 2003-08-27  John Levon  <levon@movementarian.org>
5711
5712         * funcrequest.C: properly initialise POD members
5713
5714 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5715
5716         * lyxtext.h (top_y): move top_y from here
5717         * text.C:
5718         * text2.C:
5719         * text3.C:
5720         * BufferView.[Ch]:
5721         * BufferView_pimpl.[Ch]: to here
5722         * frontends/screen.C:
5723         * insets/insettabular.C:
5724         * insets/insettext.C: adjust
5725         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5726
5727 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5728
5729         * BufferView.[Ch]:
5730         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5731
5732 2003-08-26  André Pönitz  <poenitz@gmx.net>
5733
5734         * paragraph_func.[Ch] (outerPar): new function
5735
5736         * paragraph.C:
5737         * paragraph_funcs.C:
5738         * paragraph_funcs.h:
5739         * paragraph_pimpl.C:
5740         * text2.C: remove Inset::par_owner
5741
5742 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5743
5744         * lyxrow_funcs.C:
5745         * lyxtext.h:
5746         * text.C:
5747         * text2.C: eliminates the needFullRow/display() stuff
5748         altogether, putting the logic in metrics/draw in the insets.
5749
5750 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5751
5752         * text2.C (redoParagraphInternal, redoParagraphs):
5753         * text.C (redoParagraph): add a call to updateRowPositions at the
5754         end of each 'metrics-like' call. Remove all others.
5755         (getRow): remove the 'y-computing' version.
5756         (getRowNearY): do not compute nor return the real y. Solve the
5757         'y < 0' problem and simplify.
5758
5759 2003-08-22  Angus Leeming  <leeming@lyx.org>
5760
5761         * *.[Ch]: clean-up of licence and author blurbs.
5762         Also move config.h out of a few .h files and into a few .C files.
5763
5764 2003-08-22  André Pönitz  <poenitz@gmx.net>
5765
5766         * lyxrow.[Ch]: add x_ and *fill_ members
5767
5768         * lyxtext.h:
5769         * text.C:
5770         * rowpainter.C:
5771         * text2.C: adjust/remove prepareToPrint() calls
5772
5773 2003-08-22  André Pönitz  <poenitz@gmx.net>
5774
5775         * lyxrow.[Ch]: add  end_ member
5776
5777         * lyxrow_funcs.C: use LyXRow::end_
5778
5779         * lyxtext.h (singleWidth): add LyXFont parameter
5780
5781         * rowpainter.C:
5782         * text2.C: adjust LyXText::singleWidth() calls
5783
5784         * text.C (redoParagraph): simplify row breaking logic
5785
5786
5787 2003-08-19  André Pönitz  <poenitz@gmx.net>
5788
5789         * funcrequest.C: initialize button_ member
5790
5791         * text3.C:
5792         * rowpainter.[Ch]: interface consolidation
5793
5794 2003-08-18  André Pönitz  <poenitz@gmx.net>
5795
5796         * BufferView.C:
5797         * BufferView_pimpl.C:
5798         * lyxfind.C:
5799         * paragraph_funcs.C:
5800         * rowpainter.C:
5801         * text3.C: remove LyXScreen::draw() and fitCursor calls
5802
5803         * BranchList.h: remove spurious semicolons
5804
5805         * MenuBackend.C: fix branchlist related crash
5806
5807 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5808
5809         * BranchList.[Ch]:
5810         * InsetList.[Ch]:
5811         * LColor.[Ch]:
5812         * LyXAction.C:
5813         * Makefile.am:
5814         * MenuBackend.[Ch]:
5815         * bufferparams.[Ch]:
5816         * factory.C:
5817         * lfuns.h:
5818         * lyxfunc.C:
5819         * text3.C: implements the 'branch inset'
5820         idea. This allows the output of various versions of a document
5821         from a single source version, selectively outputing or suppressing
5822         output of parts of the text.
5823         This implementation contains a 'branch list editor' in a separate
5824         tab of the document settings dialog. Branches are user definable
5825         and have a "display colour" to distinguish them on-screen.
5826
5827         ColorHandler was somewhat cleaned up.
5828         (1) make possible a dynamically growing LColor list by allowing
5829         the graphic context cache to grow along (vector);
5830         (2) eliminate an IMHO unnecessary step in colour allocation.
5831
5832 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5833
5834         * BufferView_pimpl.C: compile fix
5835
5836 2003-08-15  André Pönitz  <poenitz@gmx.net>
5837
5838         * rowpainter.C: remove extra metrics calls
5839
5840         * lyxtext.h: merge the two constructors into a single one,
5841           pass reference to owner's par list
5842
5843         * BufferView_pimpl.C:
5844         * text.C:
5845         * text2.C: adjust
5846
5847 2003-08-15  André Pönitz  <poenitz@gmx.net>
5848
5849         * lyxrow_funcs.[Ch]:
5850         * lyxtext.h:
5851         * paragraph.h:
5852         * paragraph_funcs.C:
5853         * rowpainter.C:
5854         * text.C:
5855         * text2.C:
5856         * text3.C:
5857         * text_funcs.C: split LyXText::rowlist_ into individual
5858         Paragraph::rows_ chunks
5859
5860         * BufferView.[Ch]:
5861         * BufferView_pimpl.[Ch]:
5862         * lyxfind.C:
5863         * lyxtext.h:
5864         * text3.C: remove toggleSelection()
5865
5866 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5867
5868         * bufferlist.C: beautify two alerts (shorter text of buttons)
5869         * buffer.C: Remove redundant ' ' from message
5870         * tabular.h:
5871         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5872         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5873         rename VALIGN_CENTER to VALIGN_MIDDLE
5874
5875 2003-08-11  André Pönitz  <poenitz@gmx.net>
5876
5877         * lyxtext.h (getPar):
5878         * text.C: new function
5879
5880 2003-08-11  André Pönitz  <poenitz@gmx.net>
5881
5882         * Makefile.am:
5883         * tracer.[Ch]: remove unneeded files
5884
5885         * InsetList.[Ch]: remove resizeInsetsLyXText()
5886
5887         * lyxtext.h:
5888         * text.C:
5889         * text2.C:
5890         * text3.C: merge insertParagraphs() and appendParagraph()
5891         remove breakAgain(), update()
5892
5893         * BufferView_pimpl.[Ch]:
5894         * bufferview_funcs.[Ch]:
5895         * lyxfunc.C:
5896         * paragraph.[Ch]:
5897         * rowpainter.C:
5898         * tabular.C: adjust after text & InsetList changes.
5899
5900 2003-08-08  André Pönitz  <poenitz@gmx.net>
5901
5902         * text.C (insertChar, backspace): replace rowlist fiddling
5903         with rebreak of full par
5904
5905         * lyxtext.h:
5906         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5907         checkParagraph, updateInset): removed
5908
5909 2003-08-07  André Pönitz  <poenitz@gmx.net>
5910
5911         * paragraph.C:
5912         * text3.C: merge some LFUN handlers, remove dead code
5913
5914 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5915
5916         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5917
5918 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5919
5920         * text2.C (DEPM): fix part of bug 1255 and 1256
5921
5922 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5923
5924         * BufferView_pimpl.C (workAreaDispatch): change to use
5925         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5926         that are no mouse related.
5927
5928 2003-08-05  André Pönitz  <poenitz@gmx.net>
5929
5930         * BufferView.[Ch]:
5931         * BufferView_pimpl.[Ch]:
5932         * bufferview_funcs.C:
5933         * text2.C:
5934         * text3.C: rip out "deep update"
5935
5936         * textcursor.[Ch] (last_sel_cursor): remove unused member
5937
5938 2003-08-04  André Pönitz  <poenitz@gmx.net>
5939
5940         * BufferView.[Ch]:
5941         * BufferView_pimpl.[Ch]:
5942         * ParagraphParameters.C:
5943         * bufferview_funcs.C:
5944         * lyx_cb.C:
5945         * lyxfind.C:
5946         * lyxfunc.C:
5947         * text.C:
5948         * text2.C:
5949         * text3.C: replace "complicated" BufferView::update(...) calls with
5950         simpler ones.
5951
5952         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5953
5954 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5955
5956         * Makefile.am (lyx_SOURCES): add paper.h
5957
5958 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5959
5960         * Makefile.am: move things around so that both lyx-qt and
5961         lyx-xforms can be built (according to --with-frontend). Then lyx
5962         is a symbolic link to lyx-[firstfrontend]
5963
5964 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5965
5966         * Always use std::endl with lyxerr
5967
5968 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5969
5970         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5971
5972 2003-08-01  André Pönitz  <poenitz@gmx.net>
5973
5974         * BufferView.[Ch]:
5975         * BufferView_pimpl.[Ch]:
5976         * lyxfunc.C:
5977         * text3.C: merge BufferView::repaint() and BufferView::update()
5978
5979 2003-08-01  José Matos  <jamatos@lyx.org>
5980
5981         * buffer.[Ch]: file_format is no longer a buffer data element.
5982
5983 2003-08-01  André Pönitz  <poenitz@gmx.net>
5984
5985         * BufferView.C:
5986         * lyxtext.h:
5987         * text.C:
5988         * text2.C: make redoParagraph more independent of current cursor
5989
5990         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5991         * text.C:
5992         * text2.C: remove unneeded members
5993
5994 2003-07-30  André Pönitz  <poenitz@gmx.net>
5995
5996         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5997
5998         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5999           create a single function...
6000
6001         * paragraph_funcs.C (moveItem): ... here.
6002
6003         * text.C:
6004           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6005
6006 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6007
6008         * LColor.[Ch]: Add comment and greyedout logical colors.
6009
6010 2003-07-30  André Pönitz  <poenitz@gmx.net>
6011
6012         * tabular.C: don't use Assert too heavily. This crashes where it
6013           shouldn't
6014
6015 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6016
6017         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6018         is disabled (bug 1232)
6019
6020 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6021
6022         * factory.C: limited 'arg' scope
6023
6024 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6025
6026         * factory.C: fixed Note submenu issues
6027
6028 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6029
6030         * factory.C: submenu for Note/Comment/Greyedout
6031
6032 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6033
6034         * lyx_main.C (LyX):
6035         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6036
6037 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6038
6039         * LaTeXFeatures.C:
6040         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6041         greyedout. Patch provided by Jürgen Spitzmüller.
6042
6043 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6044
6045         * kbmap.C (read): fix error message when reading bind files
6046
6047 2003-07-29  Angus Leeming  <leeming@lyx.org>
6048
6049         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6050         certainly does not do what it purports to do. I am doing it, and
6051         us, a favour by killing it.
6052
6053 2003-07-28  José Matos  <jamatos@lyx.org>
6054
6055         * buffer.C (readBody, do_writeFile):
6056         * paragraph.C(readParagraph): \end_document replaces \the_end.
6057
6058 2003-07-29  André Pönitz  <poenitz@gmx.net>
6059
6060         * BufferView.[Ch]:
6061         * BufferView_pimpl.[Ch]:
6062         * lyxfunc.C:
6063         * text2.C:
6064         * text3.C:
6065         * textcursor.[Ch]: remove toggleToggle & Co
6066
6067 2003-07-28  José Matos  <jamatos@fep.up.pt>
6068
6069         * buffer.C (readParagraph):
6070         * params_func (readParToken, readParagraph):
6071         * paragraph.C (write): \layout -> \begin_layout.
6072
6073 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6074
6075         * lyxlex_pimpl.C (setFile): clean up slightly.
6076
6077         * bufferparams.h: add compressed var
6078
6079         * buffer_funcs.C (readFile): adjust for LyXLex change
6080         (newFile): ditto + simplify
6081
6082         * buffer.C (writeFile): handle writing of compressed files
6083
6084         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6085         Check if the file is compressed and set a bufferparm if so.
6086
6087         * Makefile.am (lyx_LDADD): remove explicit -lz
6088
6089 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6090
6091         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6092         makeDocBookFile): put the real LyX version in the first line of
6093         the file
6094
6095         * version.h:
6096         * version.C.in: remove lyx_docversion
6097
6098         * tabular.C (write_attribute): add a template-based version to
6099         write enums properly
6100
6101 2003-07-28  André Pönitz  <poenitz@gmx.net>
6102
6103         * lyxtext.h:
6104         * text.C:
6105         * text2.C:
6106         * text3.C: use doubles again for x-coordinates. They are needed.
6107
6108 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6109
6110         * messages.C (getLocaleDir): use lyx_localedir()
6111
6112         * lyxlex_pimpl.C (setFile): compress stuff
6113
6114         * buffer.C (writeFile): add some compression stuff
6115         (do_writeFile): new func, dont call expliti close... will this
6116         breake anything?
6117
6118         * Makefile.am (lyx_LDADD): add -lz
6119
6120 2003-07-28  José Matos  <jamatos@fep.up.pt>
6121
6122         * buffer.C: increment file format.
6123         * paragraph_funcs (readParagraph, readParToken):
6124         * paragraph.C (readParagraph): add \end_layout.
6125
6126 2003-07-27  Angus Leeming  <leeming@lyx.org>
6127
6128         * Makefile.am: remove special casing for configure-time setting of
6129         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6130
6131         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6132         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6133
6134 2003-07-26  André Pönitz  <poenitz@gmx.net>
6135
6136         * paragraph_func.[Ch]:
6137         * paragraph.C (realizeFont): inline it whereever it is used
6138
6139         * rowpainter.C:
6140         * text.C:
6141         * text2.C:
6142         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6143
6144
6145 2003-07-26  André Pönitz  <poenitz@gmx.net>
6146
6147         *       lyxtext.h:
6148         * text.C:
6149         * text2.C: get rid of LyXText::need_break_row
6150
6151 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6152
6153         * toc.[Ch]: put namespace toc inside namespace lyx
6154
6155         * MenuBackend.C (expandToc2): adjust for lyx::toc
6156         (expandToc): ditto
6157
6158         * lyxfunc.C (dispatch): adjust for lyx::find
6159
6160         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6161         lyx::find instead. Reorganize a bit.
6162         (LyXReplace): rename to replace
6163         (LyXFind): rename to find
6164
6165         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6166         (dispatch): ditto
6167
6168 2003-07-26  André Pönitz  <poenitz@gmx.net>
6169
6170         * text.C (setHeightOfRow): restrict scope of temporary variable
6171
6172         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6173           code (never has been used?)
6174
6175 2003-07-27  Asger Alstrup  <alstrup@local>
6176
6177         * text.C (fill): Optimise algorithm to exploit that we can reuse
6178         the LyXFont for many characters.
6179         (setHeightOfRow): Same thing.
6180         (rowBreakPoint): Same thing.
6181
6182 2003-07-26  Asger Alstrup  <alstrup@local>
6183
6184         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6185
6186         * text.C (singleWidth): Spurious font copying in hot-spot
6187         singleWidth avoided. Reorder tests for arabic for efficiency.
6188
6189         * text.C (fill): handle empty paragraphs better.
6190
6191 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6192
6193         * ispell.C:
6194         * encoding.h: add includes
6195
6196         * lyxrc.C: remove reading of bind files
6197
6198         * lyx_main.C (init): setup bindings and menus only if we have a
6199         gui.
6200
6201         * kbmap.C (read): new method. Do the actual reading of bind
6202         files.
6203
6204         * converter.C (dvipdfm_options):
6205         * bufferparams.C:
6206         * lyxrc.C (read):
6207         (output): adapt PAPER_* enums.
6208
6209         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6210
6211         * bufferparams.h: remove paper-related enums from there
6212
6213         * paper.h: New file. A trivial header file to hold paper-related
6214         enums. It should later expand to contain many paper-related
6215         horrors access.
6216
6217         * lyxrc.C: declare extern displayTranslator
6218
6219 2003-07-27  José Matos  <jamatos@fep.up.pt>
6220
6221         * tabular.[Ch] (linuxdoc): add support for tables and figures
6222         (linuxdoc).
6223
6224 2003-07-27  José Matos  <jamatos@fep.up.pt>
6225
6226         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6227         consistency in both functions.
6228         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6229
6230 2003-07-26  Asger Alstrup  <alstrup@local>
6231
6232         * rowpainter.C (paintRows): Change algorithm to work directly on
6233         the insets rather than asking every character in the document
6234         whether its an inset.
6235
6236 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6237
6238         * buffer.C (openFileWrite): factorize some code
6239
6240 2003-07-26  Angus Leeming  <leeming@lyx.org>
6241
6242         * lyx_cb.C:
6243         * lyx_main.[Ch]: replace occurances of system_tempdir with
6244         os::getTmpDir().
6245
6246 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6247
6248         * rename Inset to InsetOld
6249
6250 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6251
6252         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6253         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6254         which I think is a bit clearer. EDIT is gone, since it was
6255         premature optimisation, and broken for mathed anyway.
6256         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6257         with cursor positioning in insets as well (math insets still do not
6258         work, but that's a different story anyway.) It mysteriously
6259         crashes sometimes with undo in the first paragraph, but I'm fairly
6260         confident that this is a compiler bug.
6261
6262 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6263
6264         * paragraph.C (Paragraph): adjust for new clone return type
6265         (operator==): ditto
6266         (copyIntoMinibuffer): ditto
6267
6268 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6269
6270         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6271         by not having a special case, and always doing a full rebreak of
6272         the document after undo.
6273
6274 2003-07-23  Angus Leeming  <leeming@lyx.org>
6275
6276         * factory.C (createInset): InsetExternal::setParams now takes a
6277         Buffer const * arg.
6278
6279 2003-07-23  Angus Leeming  <leeming@lyx.org>
6280
6281         * factory.C (createInset): changed interface to the external and
6282         graphics mailers' string2params functions.
6283
6284 2003-07-23  Angus Leeming  <leeming@lyx.org>
6285
6286         * factory.C (createInset): pass a
6287         Buffer const * parameter to InsetExternalMailer's string2params.
6288
6289 2003-07-22  John Levon  <levon@movementarian.org>
6290
6291         * Thesaurus.h: include the right aiksaurus header
6292
6293 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6294
6295         * MenuBackend.C (expand): check menu shortcuts unconditionally
6296
6297 2003-07-21  Angus Leeming  <leeming@lyx.org>
6298
6299         * factory.C (createInset): pass a
6300         buffer_path parameter to InsetGraphicsMailer's string2params.
6301
6302 2003-07-21  Angus Leeming  <leeming@lyx.org>
6303
6304         * BufferView_pimpl.C (buffer):
6305         * buffer.C (d-tor):
6306         * lyx_main.C (LyX):
6307         * lyxfunc.C (dispatch):
6308         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6309         rather than the grfx shortcut.
6310
6311 2003-07-21  André Pönitz  <poenitz@gmx.net>
6312
6313         * rowpainter.C: remove unused variables
6314
6315         * tabular_funcs.C:
6316         * tabular_funcs.h: move to tabular.C
6317         * Makefile.am: adjust
6318
6319         * tabular.[Ch]: basic optical cleaning
6320
6321         * author.h: pass references, not values
6322
6323 2003-07-18  André Pönitz  <poenitz@gmx.net>
6324
6325         * lyxtext.h:
6326         * metricsinfo.C:
6327         * metricsinfo.h:
6328         * rowpainter.C:
6329         * text.C:
6330         * text2.C:
6331         * text3.C: two-phase drawing for InsetText and InsetTabular
6332         some float -> int changes.
6333
6334 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6335
6336         * lyx_main.C: fix the fix
6337
6338 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6339
6340         * lyx_main.C: fix a crash in batch mode if no files specified
6341         * converter.C: ws
6342
6343 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6344
6345         * format.[Ch] (papersize): moved to BufferParams
6346         * converter.[Ch] (dvips_options): moved to BufferParams
6347         (dvipdfm_options): moved to anon namespace
6348         * bufferparams.[Ch]: added above functions.
6349
6350 2003-07-17  André Pönitz  <poenitz@gmx.net>
6351
6352         * lyxtext.h:
6353         * rowpainter.C:
6354         * text2.C: don't call inset->update() anymore
6355
6356         * metricsinfo.[Ch]: add convenience constructor
6357
6358 2003-07-16  André Pönitz  <poenitz@gmx.net>
6359
6360         * lyxcursor.[Ch]:
6361         * lyxfunc.[Ch]:
6362         * text.C:
6363         * text2.C: replace the LyXCursor::irow_ member with
6364          on-demand computation of the value
6365
6366 2003-07-16  John Levon  <levon@movementarian.org>
6367
6368         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6369
6370 2003-07-15  André Pönitz  <poenitz@gmx.net>
6371
6372         * text.C:
6373         * text2.C: remove no more needed refresh_row
6374
6375 2003-07-15  André Pönitz  <poenitz@gmx.net>
6376
6377         * lyxtext.h:
6378         * rowpainter.C:
6379         * text2.C:
6380         * text3.C: refresh_status tristate -> need_update bool
6381
6382 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6383
6384         * lyxtext.h (init): remove reinit argument (act as if always true)
6385         * text2.C: adjust to that
6386
6387 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6388
6389         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6390         * text3.C: use it to delete selections in some cases
6391         (bugs 441, 673, 702, 954).
6392
6393 2003-07-14  André Pönitz  <poenitz@gmx.net>
6394
6395         * rowpainter.[Ch]: reduce interface
6396
6397 2003-07-14  André Pönitz  <poenitz@gmx.net>
6398
6399         * BufferView_pimpl.C:
6400         * text2.C: adjust after removing unused BufferView * argument
6401
6402 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6403
6404         * text2.C (init): fix a crash fired on resize
6405
6406 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6407
6408         * buffer.[Ch]: added new closing signal
6409         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6410         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6411         BufferView::Pimpl via the closing the signal
6412
6413 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6414
6415         * buffer.[Ch]: take out all bv-related from buffer
6416         * BufferView.C:
6417         * BufferView_pimpl.[Ch]: connect to new signals
6418         * CutAndPaste.C: removed useless asserts
6419         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6420         * lyxvc.[Ch]:
6421         * vc-backend.[Ch]:
6422         * lyxfunc.C: moved view-related funciontality from vc here
6423         * paragraph.C: removed outdated comments
6424         * text.C: ws
6425
6426 2003-07-10  André Pönitz  <poenitz@gmx.net>
6427
6428         * BufferView_pimpl.C:
6429         * tabular.h:
6430         * tabular_funcs.C:
6431         * text.C:
6432         * text2.C: remove InsetText::InnerCache, clean up consequences
6433
6434 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6435
6436         * ispell.C: fix two typos in error messages
6437
6438 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6439
6440         * Extend Note inset to other forms of annotation like Comment
6441         and Greyedout. Right button click gives dialog.
6442
6443         Files modified or added (+):
6444
6445         * insetnote.[Ch]
6446         * FormNote.[Ch]      +
6447         * ControlNote.[Ch]   +
6448         * form_note.fd       +
6449         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6450         frontends/controllers
6451         * xforms/Dialogs.C
6452         * factory.C
6453
6454 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6455
6456         * aspell.C: add missing namespace lyx::support
6457
6458 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6459
6460         * BufferView.[Ch] (newFile): Add
6461         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6462         * LaTeX.[Ch] (message): added this signal and use it
6463         * buffer.[Ch] (busy, message): added these signals and use them
6464         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6465         * converter.C:
6466         * exporter.C:
6467         * format.C:
6468         * importer.C: use buffer signals instead of direct bv calling
6469         * lyx_cb.[Ch] (ShowMessage): removed
6470         * lyx_main.C:
6471         * lyxfunc.C:
6472         * paragraph_funcs.C:
6473         * text2.C: use buffer signals
6474
6475 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6476
6477         * introduce namespace lyx::graphics
6478
6479 2003-07-02  André Pönitz  <poenitz@gmx.net>
6480
6481         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6482
6483 2003-07-01  André Pönitz  <poenitz@gmx.net>
6484
6485         * text.C:
6486         * text2.C:
6487         * text3.C:
6488         * text_funcs.[Ch]:
6489         * textcursor.h:
6490         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6491           text*.C to text_func.C
6492
6493 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6494
6495         * introduce namespace lyx::support
6496
6497 2003-06-30  André Pönitz  <poenitz@gmx.net>
6498
6499         * Chktex.C:
6500         * funcrequest.C:
6501         * lyxtext.h:
6502         * text.C: re-enable --with-included-string
6503
6504 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6505
6506         * textcursor.C: add <config.h>
6507
6508         * text.C (getWord): remove const from word_location arg
6509
6510         * lyxvc.C (getLogFile): fix const type order
6511
6512         * lyxtext.h: remove const from word_location arg, add arg name
6513
6514         * lyxlayout.h: currect type on labeltype.
6515
6516         * importer.C: correct \file
6517
6518         * converter.C (intToFormat): use std:: on ret val, ws changes
6519
6520         * bufferlist.h: correct \file
6521
6522         * buffer.C (makeLinuxDocFile): fix const type order
6523         (makeDocBookFile): ditto
6524         (fillWithBibKeys): use std:: on stdlib args.
6525
6526         * CutAndPaste.C: fix authors.
6527         (availableSelections): use std:: on return vector
6528
6529 2003-06-27  André Pönitz  <poenitz@gmx.net>
6530
6531         * BufferView_pimpl.C:
6532         * bufferview_funcs.C:
6533         * lyxcursor.C:
6534         * lyxcursor.h:
6535         * lyxfunc.C:
6536         * lyxtext.h:
6537         * rowpainter.C:
6538         * text.C:
6539         * text2.C:
6540         * text3.C: remove LyXCursor::row_ member
6541
6542         * lyxtext.h:
6543         * text.C: rename fullRebreak() to partialRebreak() and implement
6544           a fullRebreak() that really bereks fully
6545
6546         * textcursor.h: new struct for cursor-related data
6547
6548 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6549
6550         * lyx_main.C (LyX): get full path of document loaded on the
6551         command line
6552
6553 2003-06-26  André Pönitz  <poenitz@gmx.net>
6554
6555         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6556           remove unused/broken operator>,<,>=.
6557
6558         *       text.C: remove only use of broken operator<= in an Assert().
6559
6560 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6561
6562         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6563         moved errorlist_.clear to showErrorList
6564
6565 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6566
6567         * converter.C (scanLog, runLaTeX):
6568         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6569         move the bv->showErrorList call to the callers
6570         * lyxfunc.C: i.e. here...
6571         * text2.C: and here
6572         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6573         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6574         namespace, the second to...
6575         * buffer_funcs (BufferFormat, parseErrors): added
6576         * errorlist.C (ErrorList(TeXErrors const &)): removed
6577
6578 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6579
6580         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6581
6582 2003-06-24  "Garst R. Reese" <reese@isn.net>
6583
6584         * debug.C: fix typo
6585
6586 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6587
6588         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6589
6590         * version.C.in: change docversion to 1.4
6591
6592 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6593
6594         * buffer.C: fix a bug just introduced
6595
6596 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6597
6598         * buffer.[Ch]: added the parseError signal and use it, removed
6599         sgmlError
6600         * BufferView.[Ch] (addError): moved to ...
6601         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6602         to the Buffer::parseError signal to catch (guess what) parse errors
6603         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6604
6605 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6606
6607         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6608         ability to create a buffer and to return an existing one from
6609         the list. Moved these functions to...
6610         * buffer_funcs.[Ch]: added
6611         * BufferView.[Ch] (loadLyXFile): added
6612         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6613         job removed from bufferlist::loadLyXFile.
6614         * buffer.C (setReadOnly): make it work without view
6615         (i.e added an if (users))
6616
6617 2003-06-19  Angus Leeming  <leeming@lyx.org>
6618
6619         * lfuns.h:
6620         * LyXAction.C (init):
6621         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6622         with LFUN_DIALOG_SHOW <name> <data>.
6623
6624 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6625
6626         * CutAndPaste.C (availableSelections): small compilation fix for
6627         ancient (gcc 2.9x) compilers
6628
6629 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6630
6631         * text3.C (cursorNext): add tmp var
6632
6633         * text2.C (updateCounters): for function calling out of for clause
6634         (replaceSelectionWithString): ditto
6635         (insertStringAsParagraphs): ditto
6636         (getColumnNearX): add tmp var
6637         (setCursorFromCoordinates): add tmp var
6638         (cursorDownParagraph): add tmp var
6639         (deleteEmptyParagraphMechanism): add tmp var
6640
6641         * text.C (insertChar): add tmp var
6642
6643         * rowpainter.C (paintDepthBar): add tmp var
6644
6645         * CutAndPaste.C (availableSelections): potentially check all
6646         paragraphs in a cut to fill the shown strings.
6647
6648 2003-06-18  André Pönitz  <poenitz@gmx.net>
6649
6650         * kbmap.[Ch]: use vector<> instead of list<>
6651
6652 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6653
6654         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6655         pasteSelection with index
6656
6657         * text2.C (pasteSelection): modify, call pasteSelection with index
6658
6659         * paragraph.C (asString): reimplement version with no interval to
6660         call the one with interval.
6661
6662         * lyxtext.h: add index arg to pasteSelection
6663
6664         * MenuBackend.C (MenuItem): handle PasteRecent
6665         (Menu::read::Menutags): add md_pasterecent
6666         (read): handle it
6667         (expandPasteRecent): new function
6668         (expand): use it
6669
6670         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6671
6672         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6673         the limited stack
6674         (availableSelections): new function
6675
6676 2003-06-17  Angus Leeming  <leeming@lyx.org>
6677
6678         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6679
6680 2003-06-17  Angus Leeming  <leeming@lyx.org>
6681
6682         * lfuns.h:
6683         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6684
6685         * lyxfunc.C (dispatch): invoke it.
6686
6687 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6688
6689         * iterators.C (operator++, ParPosition): reintroduce some
6690         const_cast for the benefit of older compilers.
6691
6692 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6693
6694         * text3.C (dispatch): do not modify clipboard when doing
6695         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6696         LFUN_DELETE_SKIP on a selection selection
6697
6698 2003-06-16  André Pönitz  <poenitz@gmx.net>
6699
6700         * BufferView.C:
6701         * buffer.C:
6702         * buffer.h:
6703         * paragraph.C:
6704         * tabular.[Ch]: IU of clone() and getLabelList();
6705
6706 2003-06-13  André Pönitz  <poenitz@gmx.net>
6707
6708         * tabular.h: compactification
6709
6710 2003-06-12  André Pönitz  <poenitz@gmx.net>
6711
6712         * tabular.C:
6713         * tabular.h:
6714         * tabular_funcs.h: some renaming plus whitespace
6715
6716 2003-06-12  André Pönitz  <poenitz@gmx.net>
6717
6718         * BufferView.C:
6719         * BufferView_pimpl.C:
6720         * CutAndPaste.C:
6721         * buffer.C:
6722         * iterators.[Ch]:
6723         * lyxfunc.C:
6724         * text.C:
6725         * toc.C: Return a Paragraph & for ParIterator::operator*()
6726
6727 2003-06-11  John Levon  <levon@movementarian.org>
6728
6729         * lyx_main.C:
6730         * ToolbarBackend.h:
6731         * ToolbarBackend.C: add "Toolbars" section and
6732         put the flags there
6733
6734 2003-06-10  Angus Leeming  <leeming@lyx.org>
6735
6736         * lfuns.h:
6737         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6738
6739         * lyxfunc.C (dispatch): invoke it.
6740
6741 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * main.C: protect <ios> with HAVE_IOS
6744         (main): protect sync_with_stdio with HAVE_IOS
6745
6746 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6747
6748         * text2.C (cutSelection): adjust
6749         (pasteSelection): adjust
6750
6751         * messages.C: handle get of empty string
6752
6753         * main.C (main): use sync_with_stdio(false)
6754
6755         * lyxfunc.C (dispatch): adjust
6756
6757         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6758         (WriteAs): remove unneeded BufferView arg.
6759
6760         * bufferparams.h: use correct types on papersize, papersize2 and
6761         paperpackage.
6762
6763         * bufferparams.C (readToken): adjust for type
6764         (writeLaTeX): add missing cases to switch.
6765
6766         * bufferlist.C (quitWriteBuffer): adjust
6767         (close): adjust
6768
6769         * buffer.C (asciiParagraph): remove some commented code.
6770
6771         * CutAndPaste.C: remove current_view extern variable.
6772         (cutSelection): add BufferParams arg.
6773         (eraseSelection): add BufferParams arg.
6774         (pasteSelection): add Buffer const & arg
6775
6776 2003-06-07  John Levon  <levon@movementarian.org>
6777
6778         * buffer.C:
6779         * paragraph_funcs.C:
6780         * paragraph_pimpl.C:
6781         * text.C:
6782         * text2.C:
6783         * paragraph.h:
6784         * paragraph.C: allow InsetERT to freely space lines,
6785         and some consolidation of code
6786
6787 2003-06-06  José Matos  <jamatos@fep.up.pt>
6788
6789         * buffer.C (makeDocBookFile): fix bug #821
6790
6791 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6792
6793         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6794
6795 2003-06-04  Angus Leeming  <leeming@lyx.org>
6796
6797         * buffer.C: bump format to 224.
6798
6799 2003-06-05  André Pönitz  <poenitz@gmx.net>
6800
6801         * text2.C (redoParagraphs): remove two const_cast<>
6802
6803 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6804
6805         * ParagraphList.h: remove last remnants of NO_STD_LIST
6806
6807 2003-06-03  Angus Leeming  <leeming@lyx.org>
6808
6809         * factory.C (createInset): small change to the way InsetExternal's params
6810         are set.
6811
6812 2003-06-04  André Pönitz  <poenitz@gmx.net>
6813
6814         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6815
6816         * paragraph_pimpl.h:
6817         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6818
6819         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6820
6821         * undo_funcs.C: make some simple cases of undo work again
6822
6823 2003-06-03  John Levon  <levon@movementarian.org>
6824
6825         * ispell.C: HPUX doesn't have sys/select.h
6826         (from Albert Chin)
6827
6828 2003-06-03  John Levon  <levon@movementarian.org>
6829
6830         * CutAndPaste.C: update tabular and include inset
6831         buffer references
6832
6833         * buffer.h:
6834         * paragraph.h:
6835         * paragraph.C: remove owningBuffer(), don't pass Buffer
6836         to clone()
6837
6838         * factory.C: insetGraphicsParams changed
6839
6840 2003-06-02  John Levon  <levon@movementarian.org>
6841
6842         * LyXAction.C:
6843         * factory.C:
6844         * lfuns.h:
6845         * lyxfunc.C:
6846         * text3.C: remove insetparent
6847
6848 2003-06-02  John Levon  <levon@movementarian.org>
6849
6850         * buffer.h:
6851         * buffer.C: fix inset_iterator.end(), move out of line
6852         (bug 1149)
6853
6854 2003-06-01  John Levon  <levon@movementarian.org>
6855
6856         * text3.C: use a proper cut/paste when doing inset
6857         insert (from Jürgen Spitzmüller)
6858
6859 2003-06-01  John Levon  <levon@movementarian.org>
6860
6861         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6862
6863 2003-05-30  André Pönitz  <poenitz@gmx.net>
6864
6865         * rowpainter.C: unify second drawing phase
6866
6867 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6868
6869         * trans_mgr.C: remove one case of current_view
6870
6871         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6872
6873         * paragraph_funcs.h: remove paragraph.h include
6874
6875         * paragraph.h: delete NO_STD_LIST stuff
6876
6877         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6878
6879         * buffer.h: remove paragraph.h include
6880
6881         * ParagraphList.C: delete file
6882
6883         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6884
6885         * toc.C (getTocList): adjust
6886
6887         * paragraph_pimpl.C (validate): adjust
6888
6889         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6890
6891         * paragraph.C (Paragraph): adjust
6892         (getPositionOfInset): use const_iterator, adjust
6893         (bibitem): use const_iterator, adjust
6894         (setInsetOwner): adjust
6895
6896         * iterators.C (operator++): adjust
6897
6898         * InsetList.[Ch]: Replace selfmade iterator with standard
6899         vector::iterator also introduce const_iterator. Remove getPos,
6900         getInset and setInset from InsetTable. Adjust accordingly.
6901
6902         * BufferView.C (lockInset): adjust
6903         (ChangeInsets): adjust
6904
6905         * tabular.[Ch]: delete commented same_id functions
6906
6907 2003-05-28  John Levon  <levon@movementarian.org>
6908
6909         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6910
6911 2003-05-28  André Pönitz  <poenitz@gmx.net>
6912
6913         * metricsinfo.[Ch]: remove 'fullredraw' member
6914
6915 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6916
6917         * lyxtextclass.C (operator): remove caching.
6918
6919 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6920
6921         * text3.C: adjust
6922
6923         * text2.C (cursorBottom): adjust
6924         (setCounter): use ParagraphList::find, adjust
6925
6926         * text.C (workWidth): use ParagraphList::find, adjust
6927
6928         * lyxcursor.C (LyXCursor): adjust
6929
6930         * buffer.C (inset_iterator): adjust
6931
6932         * ParagraphList.h: make iterator(value_type) private, make
6933         ParagraphList a friend of iterator.
6934
6935         * ParagraphList.C (find): new function
6936
6937         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6938
6939 2003-05-27  André Pönitz  <poenitz@gmx.net>
6940
6941         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6942
6943 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6944
6945         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6946
6947 2003-05-26  John Levon  <levon@movementarian.org>
6948
6949         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6950
6951 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6952
6953         * remove same_id from function signatures, adjust.
6954
6955 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6956
6957         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6958
6959         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6960
6961         * paragraph.C (Paragraph): get rid of same_ids parameter
6962
6963         * ParagraphList.C (insert): adjust
6964         (push_back): adjust
6965
6966 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6967
6968         * paragraph_funcs.C (breakParagraph): adjust
6969         (breakParagraphConservative): adjust
6970
6971         * buffer.C (readParagraph): adjust
6972
6973         * ParagraphList.C (insert): take a reference instead of a pointer
6974         (insert): adjust
6975
6976         * paragraph.[Ch] (id): new function
6977
6978         * bufferlist.C (newFile): adjust
6979
6980         * ParagraphList.C (ParagraphList): adjust
6981         (assign): adjust
6982         (push_back): take a reference instead of a pointer.
6983
6984         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6985
6986         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6987         instead.
6988
6989         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6990         set else use old code.
6991
6992         * ParagraphList.C: remove all NO_NEXT code and only compile this
6993         code of NO_STD_LIST is set.
6994
6995 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6996
6997         * BufferView_pimpl.C:
6998         * TextCache.C:
6999         * TextCache.h:
7000         * bufferlist.C:
7001         * errorlist.h:
7002         * format.C:
7003         * format.h:
7004         * graph.C:
7005         * lyxfunc.C:
7006         * lyxrc.C:
7007         * graphics/GraphicsConverter.C:
7008         * graphics/PreviewLoader.C: header adjustment
7009
7010 2003-05-23  Angus Leeming  <leeming@lyx.org>
7011
7012         * LaTeXFeatures.[Ch] (useBabel): new method.
7013         * bufferparams.C (writeLaTeX): use it.
7014
7015 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7016
7017         * ParagraphList.h (set): remove unused function.
7018
7019 2003-05-23  André Pönitz  <poenitz@gmx.net>
7020
7021         * BufferView.C:
7022         * BufferView_pimpl.C:
7023         * buffer.C:
7024         * buffer.h:
7025         * lyxfunc.C:
7026         * undo_funcs.C: setUndo reworked
7027
7028         * iterators.[Ch]: add access to topmost ParagraphList
7029
7030         * lyxtext.[Ch] (workWidth): add a const
7031
7032 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7033
7034         * texrow.[Ch] (increasePos): remove function
7035         * exporter.C (export): removed unused var and outdated comment
7036
7037 2003-05-23  Angus Leeming  <leeming@lyx.org>
7038
7039         * latexrunparams.h: rename fragile as moving_arg.
7040         * paragraph.C (simpleTeXOnePar): ditto.
7041         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7042
7043 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7044
7045         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7046         (createUndo): ditto
7047         (textUndoOrRedo): comment out a currently unused var.
7048
7049         * paragraph.h (NO_NEXT): enable NO_NEXT
7050
7051         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7052
7053         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7054
7055         * exporter.C (Export): adjust for removeAutoInsets removal.
7056
7057         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7058
7059         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7060
7061         * BufferView.[Ch] (removeAutoInsets): delete function
7062
7063 2003-05-22  Angus Leeming  <leeming@lyx.org>
7064
7065         * latexrunparams.h: add a free_spacing variable.
7066
7067         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7068         to pass moving_arg, as the data is stored in runparams.fragile.
7069
7070         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7071         to Inset::latexOptional or to simpleTeXOnePar.
7072
7073         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7074         free_spacing arg to Inset::latexOptional.
7075
7076         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7077         free_spacing arg.
7078
7079 2003-05-22  Angus Leeming  <leeming@lyx.org>
7080
7081         * latexrunparams.h: add fragile and use_babel variables.
7082
7083         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7084         * buffer.C (makeLaTeXFile): store this returned value in
7085         runparams.use_babel, thus passing it to the inset::latex methods.
7086
7087         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7088         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7089
7090         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7091         longer has a fragile arg, as it is stored in runparams.fragile.
7092
7093         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7094         moving_arg parameter as the data is stored in runparams.fragile.
7095
7096         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7097         a fragile parameter as the data is stored in runparams.fragile.
7098
7099 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7100
7101         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7102
7103 2003-05-22  Angus Leeming  <leeming@lyx.org>
7104
7105         * latexrunparams.h: add a 'bool nice' which defaults to false.
7106
7107         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7108         now encapsulated within runparams.
7109
7110         * bufferlist.C (updateIncludedTeXfiles):
7111         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7112
7113 2003-05-22  Angus Leeming  <leeming@lyx.org>
7114
7115         * latexrunparams.h: new file containing struct LatexRunParams.
7116         * Makefile.am: add new file.
7117
7118         * LaTeX.[Ch] (c-tor, run):
7119         * buffer.[Ch] (makeLaTeXFile):
7120         * bufferlist.[Ch] (updateIncludedTeXfiles):
7121         * converter.C (convert, scanLog):
7122         * converter.[Ch] (runLaTeX):
7123         * exporter.C (Export):
7124         * paragraph.[Ch] (simpleTeXOnePar):
7125         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7126         * paragraph_funcs.[Ch] (latexParagraphs):
7127         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7128         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7129         pass around a LatexRunParams parameter.
7130
7131 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * paragraph.[Ch]: remove unused constructor
7134
7135         * ParagraphList.C (erase): new function, taking two iterators
7136
7137 2003-05-22  André Pönitz  <poenitz@gmx.net>
7138
7139         * undo_funcs.C: remove duplicated code
7140
7141         * iterator.[Ch]: operator=
7142
7143 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7144
7145         * tabular.C (SetMultiColumn): ws changes
7146
7147         * rowpainter.C (paintFirst): get rid of a ->previous
7148
7149         * lyx_cb.C (getPossibleLabel): parlist simplification
7150
7151         * BufferView.C (ChangeInsets): simplify slightly.
7152
7153 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7154
7155         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7156         * lfuns.h: new LFUN_SPACE
7157         * lyxfunc.C: protected space has a new lfun
7158         * paragraph_funcs.C: read new space insets
7159         * text3.C:
7160         * factory.C: handle new space insets
7161
7162 2003-05-22  André Pönitz  <poenitz@gmx.net>
7163
7164         * BufferView.C:
7165         * BufferView_pimpl.C:
7166         * buffer.[Ch]:
7167         * lyxfunc.C:
7168         * undo_funcs.C: return a ParIterator from getParFromID.
7169
7170         * iterators.[Ch]: add two const's
7171
7172 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7173
7174         * toc.C (getTocList): adjust
7175
7176         * iterators.[Ch]: rework for parlist
7177
7178         * buffer.C (par_iterator_begin): adjust
7179         (par_iterator_end): adjust
7180
7181         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7182
7183         * BufferView.C (removeAutoInsets): adjust
7184         (ChangeInsets): adjust
7185
7186 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7187
7188         * text.C (top_y): fix bug 1110
7189
7190 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7191
7192         * errorlist.[Ch]: added
7193         * buffer.C:
7194         * BufferView.[Ch]:
7195         * BufferView_pimpl.C:
7196         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7197         instead
7198
7199 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7200
7201         * Makefile.am: ensure that lyx is relinked upon changes to the
7202         various "convenience" libs.
7203
7204 2003-05-20  Angus Leeming  <leeming@lyx.org>
7205
7206         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7207         files are compiled in alphabetical order again.
7208
7209         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7210
7211 2003-05-19  Angus Leeming  <leeming@lyx.org>
7212
7213         * gettext.[Ch]: remove "char const * _(char const *)".
7214
7215 2003-05-19  André Pönitz  <poenitz@gmx.net>
7216
7217         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7218
7219         * Makefile.am:
7220         * BufferView.C:
7221         * DepTable.h:
7222         * LaTeXFeatures.C:
7223         * buffer.C:
7224         * lyxfont.C:
7225         * lyxlex.h:
7226         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7227
7228 2003-05-19  André Pönitz  <poenitz@gmx.net>
7229
7230         * buffer.C:
7231         * lyxlayout.[Ch]:
7232         * lyxtextclass.[Ch]:
7233         * paragraph.C:
7234         * paragraph_funcs.[Ch]:
7235         * text2.C:
7236         * text3.C: more insetenv work
7237
7238 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7239
7240         * ParagraphParameters.C (params2string): small bug fixed
7241
7242 2003-05-16  André Pönitz  <poenitz@gmx.net>
7243
7244         * debug.C:
7245         * bufferview_funcs.C: patch from Kornel Benko to prevent
7246           crash when _(...) is called twice in a statement
7247
7248 2003-05-16  André Pönitz  <poenitz@gmx.net>
7249
7250         * BufferView.C:
7251         * lyxfunc.C:
7252         * text.C:
7253         * text2.C:
7254         * text3.C:
7255         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7256
7257 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7258
7259         * lyx_main.C (init): remove spurious static_cast
7260
7261 2003-05-14  André Pönitz  <poenitz@gmx.net>
7262
7263         * BufferView.C: fix format string
7264
7265 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7266
7267         * BufferView.[Ch] (insertErrors): removed
7268         * BufferView.[Ch] (showErrorList): added
7269         * buffer.C (runChkTeX):
7270         * converter.C (scanLog): call showErrorList instead of inserterrors
7271
7272 2003-05-13  André Pönitz  <poenitz@gmx.net>
7273
7274         * BufferView_pimpl.C:
7275         * buffer.C:
7276         * bufferview_func.C:
7277         * MenuBackend.C:
7278         * lyxfunc.C:
7279         * lyxrc.C:
7280         * tex-accent.C:
7281         * text3.C:
7282         * toc.C:
7283         * tabular_funcs.h: tostr() from its own header
7284
7285         * ParagraphParameters.C:
7286         * ToolbarBackend.C:
7287         * bufferparams.C:
7288         * format.C:
7289         * lyxlex_pimpl.C:
7290         * text3.C: STRCONV()
7291
7292 2003-05-12  André Pönitz  <poenitz@gmx.net>
7293
7294         * BufferView.C:
7295         * BufferView_pimpl.C:
7296         * CutAndPaste.C:
7297         * LaTeX.C:
7298         * LaTeXFeatures.C:
7299         * ParagraphParameters.C:
7300         * buffer.C:
7301         * bufferlist.C:
7302         * bufferparams.C:
7303         * bufferview_funcs.C:
7304         * converter.C:
7305         * counters.C:
7306         * debug.C:
7307         * exporter.C:
7308         * format.C:
7309         * importer.C:
7310         * lyx_cb.C:
7311         * lyx_main.C:
7312         * lyxfont.C:
7313         * lyxfunc.C:
7314         * lyxvc.C:
7315         * paragraph.C:
7316         * paragraph_funcs.C:
7317         * tabular.C:
7318         * tabular_funcs.C:
7319         * text2.C:
7320         * text3.C:  boost::format -> bformat  all over the place
7321
7322
7323 2003-05-09  André Pönitz  <poenitz@gmx.net>
7324
7325         * LColor.[Ch]: Pimpl the #include <map> away
7326
7327 2003-05-09  John Levon  <levon@movementarian.org>
7328
7329         * bufferlist.C: never remove emergency saves
7330
7331 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7332
7333         * Makefile.am: better lib building
7334
7335 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7336
7337         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7338         instead.
7339         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7340         (simpleTeXSpecialChars): adjust
7341         (simpleTeXSpecialChars): adjust
7342         * paragraph.C (simpleTeXOnePar): adjust
7343         * buffer.C (makeLaTeXFile): adjust
7344
7345         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7346
7347         * text2.C (changeDepth): parlist cleanup
7348         (getColumnNearX): ditto
7349
7350         * rowpainter.C (getLabelFont): parlist cleanup
7351
7352         * bufferlist.C (newFile): parlist cleanup
7353
7354         * CutAndPaste.C (eraseSelection): parlist cleanup
7355
7356         * BufferView_pimpl.C (trackChanges): parlist cleanup
7357         (dispatch): ditto
7358
7359         * BufferView.C (lockInset): parlist cleanup.
7360         (ChangeInsets): ditto
7361
7362 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7363
7364         * CutAndPaste.h: Update file header.
7365
7366         * CutAndPaste.C: Update file header.
7367         Store the parts cut out of the Document in a limited_stack.
7368         (copySelection): adjust
7369         (pasteSelection): new function, takes the index in the limited stack.
7370         (nrOfParagraphs): adjust
7371         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7372         simplify error inset insertion.
7373         (checkPastePossible): adjust
7374
7375 2003-05-06  John Levon  <levon@movementarian.org>
7376
7377         * text2.C: don't cast wrap inset to float
7378
7379 2003-05-05  André Pönitz  <poenitz@gmx.net>
7380
7381         * iterator.C:
7382         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7383
7384         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7385           few naked Paragraph *.
7386
7387 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7388
7389         * bufferparams.C: Output warning if a document with missing
7390         TeX document class is loaded
7391         * exporter.C: Disable TeX exports if the document class is missing
7392         * lyxtextclass.C:
7393         * lyxtextclass.h:
7394         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7395         isTeXClassAvailable()
7396
7397 2003-05-03  John Levon  <levon@movementarian.org>
7398
7399         * BufferView.h:
7400         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7401         explicit cursor show/hide
7402
7403         * BufferView_pimpl.h:
7404         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7405         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7406
7407         * lyxfunc.C: hide cursor before dispatching.
7408
7409         * lyx_cb.C:
7410         * lyxfind.C:
7411         * text.C:
7412         * text3.C: remove explicit cursor hides
7413
7414 2003-05-02  André Pönitz  <poenitz@gmx.net>
7415
7416         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7417
7418         * undo_funcs.C:
7419         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7420           linked lists
7421
7422         * text2.C: tiny whitespace
7423
7424 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7425
7426         * undo_funcs.C: almost only ws changes.
7427
7428         * ParagraphList.C (splice): just return if pl is empty.
7429
7430 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7431
7432         * ParagraphList.C (splice): new function.
7433
7434         * CutAndPaste.C (pasteSelection): use it
7435
7436 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7437
7438         * CutAndPaste.C (pasteSelection): remove the last next and
7439         previous from this file.
7440
7441 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7442
7443         * CutAndPaste.C (pasteSelection): more clean up, user proper
7444         ParagraphList functions for pasteing.
7445
7446         * ParagraphList.C (insert): new function, three arg insert
7447
7448 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7449
7450         * ParagraphList.C (insert): new function, three arg insert
7451
7452         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7453         not on paragraphs.
7454
7455 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7456
7457         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7458
7459 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7460
7461         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7462
7463 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7464
7465         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7466         (copySelection): clean up a bit.
7467         (pasteSelection): use make_pair
7468
7469         * ParagraphList.C (ParagraphList): implement copy constructor
7470         (operator=): implement, base on copy constructor.
7471         (assign): new func
7472
7473         * paragraph.C (erase): return a bool
7474
7475         * paragraph_pimpl.C (erasePos): remove function, move contents...
7476         (erase): ... here. Return a bool.
7477         (erase): call erase instead of erasePos.
7478
7479 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7480
7481         * ParagraphList.h: define PitPosPair
7482         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7483         ParagraphList, fix a bug on pasting multiple pars
7484         * text2.C: change interface to C&P
7485
7486 2003-04-30  André Pönitz  <poenitz@gmx.net>
7487
7488         * undo_func.C: revert part of yesterday's patch 2
7489
7490 2003-04-30  John Levon  <levon@movementarian.org>
7491
7492         * LColor.C: s/tabular/table/
7493
7494 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7495
7496         * text3.C (dispatch): do not convert iterator -> pointer
7497         * undo_funcs.C (setCursorParUndo): ditto
7498         * text_funcs.C (transposeChars): ditto
7499
7500         * text2.C (setLayout): ws changes only
7501
7502         * text.C (breakParagraph): do not convert iterator -> pointer
7503         (insertChar): ditto
7504         (acceptChange): ditto
7505         (rejectChange): ditto
7506         (changeCase): ditto
7507         (Delete): ditto
7508         (backspace): ditto
7509
7510         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7511         pointer
7512
7513 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7514
7515         * text3.C (gotoInset): YABG (yet another bad getChar)
7516
7517 2003-04-29  André Pönitz  <poenitz@gmx.net>
7518
7519         * paragraph.h: make operator= private unimplemented as long as
7520           it is unusable
7521
7522         * ParagraphList.C: whitespace
7523
7524         * paragraph.[Ch]:
7525         * paragraph_pimpl.[Ch]:
7526         * paragraph_funcs.C:
7527         * CutAndPaste.C:
7528         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7529
7530         * text2.C:
7531           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7532
7533 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7534
7535         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7536         * paragraph.[Ch] (erase):
7537         * paragraph_pimpl.[Ch] (erase): change return type and value
7538         * text2.C (cutSelection): some rework
7539
7540 2003-04-28  John Levon  <levon@movementarian.org>
7541
7542         * bufferlist.C: changes for unsaved changes dialog
7543
7544 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7545
7546         * bufferlist.C (newFile): set language (messages_) for new
7547         documents also.
7548
7549         * buffer.C (readFile): ws changes only.
7550
7551 2003-04-28  André Pönitz  <poenitz@gmx.net>
7552
7553         * undo_funcs.C:
7554         * lyxfunc.C:
7555         * buffer.[Ch]:
7556         * BufferView_pimpl.C:
7557         * BufferView.C: getParFromID related ParagraphList::iterator changes
7558
7559 2003-04-28  André Pönitz  <poenitz@gmx.net>
7560
7561         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7562           Changes
7563
7564 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7565
7566         * messages.C: remove one more localedir class variable.
7567
7568 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7569
7570         * messages.C (getLocaleDir): singleton generation function
7571         (Pimpl): use it.
7572         (Messages): add a default constructor.
7573
7574         * main.C (main): do not setup localedir here, do not call
7575         gettext_init.
7576
7577         * gettext.C (_): use it.
7578         (gettext_init): delete funciton
7579
7580 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7581
7582         * gettext.C (getLyXMessages): new singleton generating function.
7583
7584         * buffer.C (updateDocLang): adjust
7585
7586         * Makefile.am (messages.o): add target
7587         (main.o): remove target
7588
7589 2003-04-27  John Levon  <levon@movementarian.org>
7590
7591         * bufferlist.C:
7592         * lyx_cb.C:
7593         * lyxfunc.C:
7594         * lyxvc.C: specify cancel button in Alert::prompt
7595
7596 2003-04-26  John Levon  <levon@movementarian.org>
7597
7598         * text3.C:
7599         * lyxfunc.C:
7600         * lfuns.h:
7601         * LyXAction.C: add LFUN_INSET_SETTINGS
7602
7603         * lyxfunc.C: don't enable tabular-feature when there's
7604         just any locking inset
7605
7606 2003-04-26  John Levon  <levon@movementarian.org>
7607
7608         * bufferlist.C: re-add Cancel to buffer close question
7609
7610         * lyxfunc.C: fix import UI a bit
7611
7612 2003-04-25  John Levon  <levon@movementarian.org>
7613
7614         * gettext.C: remove the broken asserts for now
7615
7616 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7617
7618         * messages.C: make case where setlocale cannot comply work better.
7619
7620         * buffer.C (updateDocLang): new function
7621         (changeLanguage): use it
7622         (readFile): use it
7623
7624         * text2.C (setCounter): use B_ a bit.
7625
7626         * lyxlayout.C (Read): be sure to trim the label strings.
7627
7628         * messages.C (Messages): fix typo in comment
7629
7630         * buffer.C (readFile): set message_ after file is loaded.
7631         (makeDocBookFile): remove double return
7632         (changeLanguage): reset message_ upon language change.
7633         (B_): new func, use this to get translated buffer strings.
7634
7635         * main.C: add myself and Jean Marc as authors.
7636
7637 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7638
7639         * messages.[hC]: pimplify Messages, and three different pimpls to be
7640         used in different circumstances.
7641
7642         * gettext.[Ch]: change for use with new message code.
7643
7644 2003-04-24 André Pönitz <poenitz@gmx.net>
7645
7646         * factory.C: support for eqref
7647
7648 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7649
7650         * messages.[Ch]: add missing char
7651
7652         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7653
7654         * messages.[Ch]: New files
7655
7656 2003-04-18  John Levon  <levon@movementarian.org>
7657
7658         * BufferView.h:
7659         * BufferView.C:
7660         * BufferView_pimpl.C:
7661         * lfuns.h:
7662         * LyXAction.C:
7663         * lyxtext.h:
7664         * text2.C: remove layout-copy/paste (bug 778)
7665
7666 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7667
7668         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7669
7670 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7671
7672         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7673         if they succeed. Act accordingly.
7674
7675 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7676
7677         * text2.C (setCharFont): adjust
7678         (setCounter): adjust
7679         (insertStringAsLines): adjust
7680
7681         * text.C (leftMargin): adjust
7682         (setHeightOfRow): adjust
7683
7684         * rowpainter.C (paintFirst): adjust
7685         (paintLast): adjust
7686
7687         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7688         (outerHook): ditto
7689         (isFirstInSequence): ditto
7690         (getEndLabel): ditto
7691         (outerFont): adjust
7692
7693         * paragraph.C (getParLanguage): comment out some hard stuff.
7694
7695         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7696         (sgmlError): ditto
7697         (simpleDocBookOnePar): ditto
7698         (makeDocBookFile): use ParagraphList::iterator
7699
7700         * CutAndPaste.C (pasteSelection): adjust
7701
7702 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7703
7704         * text2.C (getFont): adjust
7705         (getLayoutFont): adjust
7706         (getLabelFont): adjust
7707
7708         * paragraph_funcs.C (TeXOnePar): adjust
7709
7710         * buffer.C (simpleLinuxDocOnePar): adjust
7711         (simpleDocBookOnePar): adjust
7712
7713         * CutAndPaste.C (pasteSelection): adjust
7714
7715         * BufferView.C (getEncoding): adjust
7716
7717         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7718
7719 2003-04-16  John Levon  <levon@movementarian.org>
7720
7721         * lyxfind.C: use parlist stuff for search/changes
7722
7723 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7724
7725         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7726
7727         * text2.C (deleteEmptyParagraphMechanism): adjust
7728
7729         * text2.[Ch] (ownerParagraph): delete func (both of them
7730
7731 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7732
7733         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7734
7735 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7736
7737         * ParagraphList.C: prepare for NO_NEXT
7738
7739 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7740
7741         * text2.C (getFont): adjust
7742         (getLayoutFont): adjust
7743         (getLabelFont): adjust
7744
7745         * paragraph.C (getFont): adjust
7746         (getLabelFont): adjust
7747         (getLayoutFont): adjust
7748
7749         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7750
7751 2003-04-15  John Levon  <levon@movementarian.org>
7752
7753         From Angus Leeming
7754
7755         * lyx_main.C: handle Include in .ui files
7756
7757 2003-04-15  John Levon  <levon@movementarian.org>
7758
7759         * MenuBackend.C: make the doc files length shorter
7760
7761         * ToolbarBackend.h:
7762         * ToolbarBackend.C: handle toolbar placement flags,
7763         Minibuffer
7764
7765 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7766
7767         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7768         adjust
7769
7770         * paragraph_funcs.C (TeXOnePar): adjust
7771
7772         * paragraph.C (getLabelFont): add outerfont arg, adjust
7773         (getLayoutFont): ditto
7774         (simpleTeXOnePar): adjust
7775
7776         * paragraph_pimpl.C (realizeFont): delete func
7777
7778 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7779
7780         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7781         row argument, constify cur argument.
7782
7783 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7784
7785         * text2.C (getFont): adjust
7786         (getLayoutFont): adjust
7787         (getLabelFont): adjust
7788
7789         * paragraph_funcs.C (TeXOnePar): adjust
7790         (outerFont): new func...
7791         (realizeFont): ...moved out from here, changed this to facilitate
7792         transition
7793
7794         * paragraph.C (getFont): take outerfont as arg, adjust
7795         (simpleTeXOnePar): add outerfont arg, adjust
7796
7797         * buffer.C (simpleLinuxDocOnePar): adjust
7798         (simpleDocBookOnePar): adjust
7799
7800         * CutAndPaste.C (pasteSelection): adjust
7801
7802         * BufferView.C (getEncoding): adjust
7803
7804 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * text2.C (setCharFont): adjust
7807         (setCounter): adjust
7808
7809         * text.C (leftMargin): adjust
7810         (setHeightOfRow): adjust
7811
7812         * rowpainter.C (paintFirst): adjust
7813         (paintLast): adjust
7814
7815         * paragraph_pimpl.C (realizeFont): adjust
7816
7817         * paragraph.C (isFirstInSequence): move from here...
7818         * paragraph_funcs.C (isFirstInSequence): ...to here
7819
7820         * paragraph.C (outerHook): move from here...
7821         * paragraph_funcs.C (outerHook): ...to here
7822
7823         * paragraph.C (depthHook): move from here...
7824         * paragraph_funcs.C (depthHook): ...to here
7825
7826         * paragraph.C (getEndLabel): move from here...
7827         * paragraph_funcs.C (getEndLabel): ...to here
7828
7829         * text2.C (realizeFont): move from here...
7830         * paragraph_funcs.C (realizeFont): ...to here
7831
7832 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7833
7834         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7835
7836 2003-04-14  Angus Leeming  <leeming@lyx.org>
7837
7838         * LColor.[Ch]: scrap LColor mathcursor.
7839
7840 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7841
7842         * lyxlex.[Ch] (text): delete function
7843         * trans.C (Load): adjust
7844         * paragraph_funcs.C (readParToken): adjust
7845
7846 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7847
7848         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7849         vector<char> instead of a char[].
7850
7851         * lyxlex_pimpl.C (getString): adjust
7852         (next): adjust
7853         (lex): use getString
7854         (eatLine): adjust
7855         (nextToken): adjust
7856
7857         * lyxlex.C (text): use pimpl_->getString()
7858         (getBool): ditto
7859         (findToken): ditto
7860
7861 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7862
7863         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7864         (makeFontEntriesLayoutSpecific): temp var for par.size()
7865         (setLayout): temp var for ownerParagraphs().end()
7866         (fullRebreak): temp var for rows().end()
7867         (selectionAsString): temp var for boost::next(startpit), realize
7868         that the while really is a regular for loop.
7869         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7870         setCursor in one place.
7871         (setParagraph): temp vr for ownerParagraphs().end()
7872         (updateCounters): make the while loop a for loop
7873         (cutSelection): temp var for ownerParagraphs().end()
7874         (updateInset): make the do {} while() a regular for loop
7875         (getCursorX): use temp vars
7876         (setCurrentFont): use temp vars
7877         (getColumnNearX): use temp vars
7878
7879 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7880
7881         * text.C (transformChar): use temp var for getChar
7882         (computeBidiTables): use temp var for row->par()
7883         (fill): move temp vars for row->par() and pit->layout() earlier in
7884         the function.
7885         (labelFill): use temp var for row->par()
7886         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7887         asc and desc, realize that pit never changes and that firstpit is
7888         just a duplicate and not needed. Exchange rit->par() with pit in a
7889         lot of places.
7890         (breakAgain): use a temp var for boost::next(rit)
7891         (breakAgainOneRow): ditto
7892         (breakParagraph): use a temp var for rows().begin()
7893         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7894         (cursorRightOneWord): use temp var for cursor.par() and
7895         cursor.pos(), remove usage of tmpcursor.
7896         (cursorLeftOneWord): use temp var for cursor.par() and
7897         cursor.pos() only set cur at end of function.
7898
7899 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7900
7901         * text.C, text2.C: exchange all usage of Paragraph::next with
7902         boost::next(ParagraphList::iterator)
7903
7904         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7905
7906         * text2.C (cursorTop): simplify implementation
7907         (cursorBottom): ditto
7908         (setParagraph): use ParagraphList::iterator
7909         (setCurrentFont): adjust
7910         (getColumnNearX): adjust
7911         (cursorRight): adjust
7912         (cursorLeft): remove usage of Paragraph::previous
7913         (cursorUpParagraph): ditto
7914         (deleteEmptyParagraphMechanism): slight cleanup
7915
7916         * text.C (isBoundary): take a Paragraph const & instead of a
7917         pointer as arg.
7918         (addressBreakPoint): ditto
7919         (leftMargin): remove usage of Paragraph::previous.
7920         (setHeightOfRow): ditto
7921         (cursorLeftOneWord): ditto
7922         (selectNextWordToSpellcheck): ditto
7923         (Delete): ditto
7924         (backspace): ditto
7925         (breakParagraph): remove one usage of Paragraph::next
7926         (redoParagraph): ditto
7927         (acceptChange): ditto
7928         (insertChar): adjust
7929         (rowBreakPoint): adjust
7930
7931         * bufferview_funcs.C (toggleAndShow): adjust
7932
7933 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7934
7935         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7936         methods to access it.
7937         * lyxtext.h:
7938         * text.C: Added updateRowPositions to compute all row positions.
7939         Make top_y and getRowNearY() to use the cached y position
7940
7941 2003-04-11  John Levon  <levon@movementarian.org>
7942
7943         * text.C (rowBreakPoint): reintroduce the labelEnd
7944         checks, code copied from the row fill stuff. Deep voodoo.
7945
7946         * text.C (fill): add a comment and debugging for the
7947         next poor soul.
7948
7949 2003-04-11  John Levon  <levon@movementarian.org>
7950
7951         * text.C: make sure fullrow insets get wrapped to the next line,
7952         even when they're in a manual label
7953
7954 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7955
7956         * text2.C (insertParagraph): make it take ParagraphList::iterator
7957         as arg.
7958         (setLayout): make it return ParagraphList::iterator
7959         (redoParagraphs): ditto
7960         (setCounter): ditto
7961         (checkParagraph): ditto
7962
7963         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7964
7965         * text2.C: adjust several funcs.
7966         (realizeFont): take a ParagraphList::iterator as arg.
7967         (getLayoutFont): ditto
7968         (getLabelFont): ditto
7969         (setCharFont): ditto
7970
7971         * text.C: adjust several funcs.
7972
7973 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7974
7975         * text.C (selectNextWordToSpellcheck): don't accidentally
7976         skip insets
7977
7978 2003-04-10  John Levon  <levon@movementarian.org>
7979
7980         * ToolbarBackend.C (getIcon): special handling for
7981         LFUN_MATH_DELIM
7982
7983 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7984
7985         * text2.C (cursorRight): a getChar assert fixed
7986
7987 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * text2.C (getFont): change to take a ParagraphList::iterator
7990         instead of Paragraph*
7991         Adjust several functions.
7992
7993         * text.C (transformChar): change to take a ParagraphList::iterator
7994         instead of Paragraph*
7995         (singleWidth): ditto
7996         Adjust several functions.
7997
7998         * rowpainter.C: adjust several functions
7999         * rowpainter.h:store a ParagraphList::iterator and not a
8000         Paragraph&.
8001
8002
8003 2003-04-09  John Levon  <levon@movementarian.org>
8004
8005         * lyxfunc.C:
8006         * lfuns.h:
8007         * LyXAction.h:
8008         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8009         and the "help" bits as well
8010
8011 2003-04-09  John Levon  <levon@movementarian.org>
8012
8013         * ToolbarBackend.h:
8014         * ToolbarBackend.C: allow multiple toolbars
8015
8016 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8017
8018         * undo_funcs.C (setCursorParUndo): adjust
8019
8020         * text_funcs.C (transposeChars): adjust
8021
8022         * text3.C (gotoNextInset): adjust
8023         (dispatch): adjust
8024
8025         * text2.C (setLayout): adjust
8026         (changeDepth): adjust
8027         (setFont): adjust
8028         (redoParagraphs): adjust
8029         (selectionAsString): adjust
8030         (setParagraph): adjust
8031         (insertInset): adjust
8032         (cutSelection): adjust
8033         (copySelection): adjust
8034         (pasteSelection): adjust
8035         (insertStringAsLines): adjust
8036         (updateInset): adjust
8037         (setCursor): change to take a ParagraphList::iterator parameter
8038         (setCursorIntern): change to take a ParagraphList::iterator parameter
8039         (setCurrentFont): adjust
8040         (cursorLeft): adjust
8041         (cursorRight): adjust
8042         (deleteEmptyParagraphMechanism): adjust
8043
8044         * text.C (breakParagraph): adjust
8045         (insertChar): adjust
8046         (acceptChange): adjust
8047         (rejectChange): adjust
8048         (selectNextWordToSpellcheck): adjust
8049         (changeCase): adjust
8050         (Delete): adjust
8051         (backspace): adjust
8052
8053         * lyxfind.C (SearchForward): adjust
8054         (SearchBackward): adjust
8055         (nextChange): adjust
8056
8057         * lyxcursor.C (par): adjust
8058
8059         * lyxcursor.h: store a ParagraphList::iterator instead of a
8060         Paragraph*
8061
8062         * lyx_cb.C (getPossibleLabel): adjust
8063
8064         * bufferview_funcs.C (toggleAndShow): adjust
8065
8066         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8067         (dispatch): adjust
8068
8069         * BufferView.C (removeAutoInsets): adjust
8070         (lockedInsetStoreUndo): adjust
8071
8072 2003-04-09  John Levon  <levon@movementarian.org>
8073
8074         * ToolbarBackend.C: try icon without argument
8075         if with argument fails
8076
8077 2003-04-08  John Levon  <levon@movementarian.org>
8078
8079         * ToolbarBackend.h:
8080         * ToolbarBackend.C: add getIcon(), handle tooltip,
8081         and change from "Icon" to "Item".
8082
8083 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8084
8085         * BufferView.C (lockInset): another bad getchar crunched
8086
8087 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8088
8089         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8090         again)
8091
8092 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8093
8094         * lyxfind.C (searchForward, searchBackwards): bug 782
8095
8096 2003-04-07  John Levon  <levon@movementarian.org>
8097
8098         * paragraph.C: remove dead comment
8099
8100         * text.C: remove troublesome depth-fiddling code
8101         in leftMargin() and rightMargin() (bug 1017)
8102
8103         * text.C: fix breaking of rows in nested lists
8104         (bug 1004)
8105
8106         * text2.C (updateCounters): fix up depth values
8107         (bug 1013)
8108
8109 2003-04-07  John Levon  <levon@movementarian.org>
8110
8111         * BufferView_pimpl.C: clear message when doc finishes resizing,
8112         and after a mouse event
8113
8114         * lyxfunc.C: clear message after exiting inset
8115
8116 2003-04-07  John Levon  <levon@movementarian.org>
8117
8118         * bufferview_funcs.C: show math status not outside
8119         status in the statusbar
8120
8121 2003-04-07  John Levon  <levon@movementarian.org>
8122
8123         * lyxfunc.C: note status changed after a depth change
8124
8125 2003-04-04  Angus Leeming  <leeming@lyx.org>
8126
8127         * LaTeX.h: move AuxInfo operator==, != out of line.
8128         Remove LaTeX virtual destructor; nothing derives from it.
8129         Move operator()() out of public area and rename it startscript().
8130         Change protected for private.
8131
8132 2003-04-04  Angus Leeming  <leeming@lyx.org>
8133
8134         * lyxfunc.C:
8135         * text2.C: remove unneeded #includes.
8136
8137 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8138
8139         * text2.C (dEPM): fix the heigth of the next row
8140
8141 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8142
8143         * text.C: squashed an invalid getChar requester + some ws changes
8144
8145 2003-04-03  John Levon  <levon@movementarian.org>
8146
8147         * bufferview_funcs.h:
8148         * bufferview_funcs.C:
8149         * lyxfunc.C:
8150         * lyxtext.h:
8151         * text2.C: make getStatus work for the env depth lfuns
8152
8153 2003-04-03  John Levon  <levon@movementarian.org>
8154
8155         * bufferview_funcs.h:
8156         * bufferview_funcs.C:
8157         * lyxfunc.C:
8158         * lyxtext.h:
8159         * text2.C: parlistize decDepth(), by merging it with incDepth()
8160
8161 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8162
8163         * lyxrow.h: store a ParagraphList::iterator instead of a
8164         Paragraph* and adjust other class functions to suit.
8165
8166         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8167         above.
8168
8169 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8170
8171         * text2.C (setCursor): do not anchor to cursor row for the time being
8172
8173 2003-04-02  John Levon  <levon@movementarian.org>
8174
8175         * LyXAction.C:
8176         * lfuns.h:
8177         * lyx_main.C:
8178         * lyxtext.h:
8179         * text.C:
8180         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8181
8182 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8183
8184         * paragraph.h: make ParagraphList and ParagraphList::iterator
8185         friends of Paragraph.
8186
8187         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8188
8189         * ParagraphList.C: Use the private next_ and previous_ from
8190         Paragraph.
8191
8192 2003-04-01  John Levon  <levon@movementarian.org>
8193
8194         * ToolbarBackend.h:
8195         * ToolbarBackend.C:
8196         * Makefile.am: rename, remove defaults gunk
8197
8198         * MenuBackend.h:
8199         * MenuBackend.C: remove defaults gunk
8200
8201         * Languages.h:
8202         * Languages.C: remove defaults gunk
8203
8204         * lyx_main.h:
8205         * lyx_main.C: error out if files couldn't be found.
8206
8207 2003-04-02  John Levon  <levon@movementarian.org>
8208
8209         * text2.C: make incDepth() use parlist
8210
8211 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8212
8213         * undo_funcs.C (firstUndoParagraph): adjust
8214
8215         * text3.C (gotoInset): adjust
8216         (dispatch): adjust, and rewrite loop.
8217
8218         * text2.C (init): adjust, and rewrite loop.
8219         (redoParagraphs): adjust
8220         (updateInset): adjust, and rewrite loop.
8221         (deleteEmptyParagraphMechanism): adjust
8222
8223         * tabular.C (LyXTabular): adjust
8224         (SetMultiColumn): adjust
8225         (TeXRow): adjust
8226
8227         * lyxtext.[Ch] (ownerParagraph): delete function
8228         (ownerParagraphs): new function returns a ParagraphList.
8229
8230         * BufferView.C (removeAutoInsets): adjust
8231         (insertErrors): adjust
8232         (setCursorFromRow): adjust
8233
8234 2003-04-01  Angus Leeming  <leeming@lyx.org>
8235
8236         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8237         in the frontends.
8238
8239 2003-04-02  John Levon  <levon@movementarian.org>
8240
8241         * lyxtext.h:
8242         * text.C:
8243         * Makefile.am:
8244         * text_funcs.h:
8245         * text_funcs.C: make transposeChars a free function
8246
8247         * lyxrow_funcs.C: remove wrong comment
8248
8249 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8250
8251         * lyxtext.h: adjust
8252         * rowpainter.C: adjust
8253         * text.C: adjust
8254         * text2.C: adjust
8255         * text3.C: adjust
8256
8257         * lyxrow_funcs. [Ch]: new files
8258
8259         * lyxrow.[Ch]: remove next and previous pointers
8260         (next,previous): remove accessor functions
8261         (isParEnd): move to lyxrow_funcs
8262         (lastPos): move to lyxrow_funcs
8263         (nextRowIsAllInset): move to lyxrow_funcs
8264         (lastPrintablePos): move to lyxrow_funcs
8265         (numberOfSeparators): move to lyxrow_funcs
8266         (numberOfHfills): move to lyxrow_funcs
8267         (numberOfLabelHfills): move to lyxrow_funcs
8268         (hfillExpansion): move to lyxrow_funcs
8269
8270         * lyxfunc.C: adjust
8271
8272         * bufferview_funcs.C (toggleAndShow): adjust
8273
8274         * RowList.h: Remove class RowList from file leave just a
8275         std::list<Row>.
8276
8277         * RowList.C: delete file
8278
8279         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8280         and lyxrow_funcs.h
8281
8282 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8283
8284         * text3.C (cursorPrevious): adjust
8285         (cursorNext): adjust
8286         (dispatch): adjust
8287
8288         * text2.C (redoHeightOfParagraph): adjust
8289         (redoDrawingOfParagraph): adjust
8290         (setCursor): adjust
8291
8292         * text.C (breakParagraph): adjust
8293         (insertChar): adjust
8294         (backspace): adjust
8295
8296         * rowpainter.C (RowPainter): adjust
8297         (leftMargin): simplify and adjust
8298         (most rowpainter functions): adjust.
8299
8300         * rowpainter.h: store the row as RowList::iterator not as Row*
8301
8302         * lyxcursor.C (row): taka RowList::iterator as arg
8303         (irow): ditto
8304
8305         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8306         of Row*.
8307
8308 2003-04-01  Angus Leeming  <leeming@lyx.org>
8309
8310         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8311         stuff like bool Bool.
8312
8313 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8314
8315         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8316         rewrite a loop
8317
8318 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8319
8320         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8321         RowList::iterator.
8322
8323         * lyxtext.h (rows): drop one version and leve a const variant that
8324         returns a RowList::iterator.
8325
8326 2003-03-31  Angus Leeming  <leeming@lyx.org>
8327
8328         * text.C (fill): ensure that the signature is the same as that in the
8329         header file.
8330
8331 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8332
8333         * text2.C (redoParagraphs): adjust
8334         (updateCounters): adjust
8335         (checkParagraph): adjust
8336         (getColumnNearX): adjust and reformat a bit.
8337
8338         * text.C (top_y): adjust
8339         (workWidth): adjust
8340         (leftMargin): adjust
8341         (prepareToPrint): adjust
8342         (getRow): adjust
8343         (getRowNearY): adjust
8344
8345         * lyxtext.h: make rowlist_ mutable.
8346
8347         * RowList.h: add const_iterator
8348         * RowList.C: adjust for RowList::const_iterator.
8349
8350         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8351         adjust.
8352
8353 2003-03-31  John Levon  <levon@movementarian.org>
8354
8355         * lyxrc.h:
8356         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8357
8358         * lyx_main.C: set default fonts from using lyx_gui funcs
8359
8360         * exporter.C: pdf_mode moved from lyxrc
8361
8362         * lyx_cb.C:
8363         * lyxfunc.C: changes from above
8364
8365 2003-03-31  John Levon  <levon@movementarian.org>
8366
8367         * lyx_main.C: fix to the last fix
8368
8369 2003-03-31  John Levon  <levon@movementarian.org>
8370
8371         * bufferlist.C: "Load original" -> "Load Original"
8372
8373         * converter.C:
8374         * exporter.C:
8375         * importer.C:
8376         * lyx_main.C:
8377         * format.C: more Alert cleanups
8378
8379 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8380
8381         * text2.C (removeParagraph): make it take a RowList::iterator as
8382         arg, adjust.
8383         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8384         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8385
8386         * text.C (anchor_row): make it take a RowList::iterator as arg,
8387         adjust.
8388         (computeBidiTables): make it take a const reference to Row instead
8389         of Row pointer, adjust.
8390         (leftMargin): make it take a RowList::iterator as arg, adjust.
8391         (rowBreakPoint): adjust
8392         (breakAgainOneRow): make it take a RowList::iterator as arg,
8393         adjust.
8394         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8395
8396         * bufferview_funcs.C (toggleAndShow): adjust
8397
8398 2003-03-30  John Levon  <levon@movementarian.org>
8399
8400         * Makefile.am:
8401         * BoostFormat.h:
8402         * boost-inst.C: moved to support
8403
8404         * several files: changes as a result
8405
8406 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8407
8408         * text2.C (LyXText): adjust.
8409         (init): adjust
8410         (removeRow): make it take a RowList::iterator as arg, adjust.
8411         (fullRebreak): adjust
8412         (deleteEmptyParagraphMechanism): adjust
8413         (clearPaint): adjust
8414         (postPaint): adjust
8415
8416         * text.C (top_y): adjust
8417         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8418         (breakAgain): make it take a RowList::iterator as arg, adjust.
8419         (breakParagraph): adjust
8420         (insertChar): adjust
8421         (backspace): adjust
8422
8423         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8424         need_break_row, and refresh_row.
8425
8426         * text3.C (dispatch): adjust
8427
8428         * text2.C (checkParagraph): adjust
8429         (setCursor): adjust
8430         (setCursorFromCoordinates): adjust
8431
8432         * text.C (top_y): adjust
8433         (workWidth): adjust
8434         (getRow): make it return a RowList::iterator, adjust
8435         (getRowNearY): make it return a RowList::iterator, adjust
8436
8437         * text2.C (init): adjust
8438         (insertRow): remove function
8439         (insertParagraph): adjust
8440         (redoParagraphs): adjust
8441         (fullRebreak): adjust
8442         (updateCounters): adjust
8443
8444         * text.C (top_y): rewrite to use RowList iterators.
8445         (top_y): adjust
8446         (setHeightOfRow): rewrite to sue RowList iterators.
8447         (appendParagraph): adjust
8448         (breakAgain): adjust
8449         (breakAgainOneRow): adjust
8450         (breakParagraph): adjust
8451         (getRow): adjust
8452         (getRowNearY): adjust, and remove commented code.
8453
8454         * lyxtext.h (firstRow): delete function
8455         (lastRow): delete function
8456         (rows): new function (const and non-const versions.)
8457         (insertRow): delete function
8458
8459         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8460
8461 2003-03-29  John Levon  <levon@movementarian.org>
8462
8463         * BufferView_pimpl.C: always update scrollbar top
8464         because pasting text when we're anchored could mean we
8465         miss an update altogether
8466
8467 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8468
8469         * text2.C (init): use rowlist_.end() and not 0.
8470         (insertRow): change to take a RowList::iterator as arg, adjust
8471         for this.
8472         (insertParagraph): change to take a RowList::iterator as arg,
8473         adjust for this.
8474         (redoParagraphs): remove some debug msgs.
8475
8476         * text.C (appendParagraph): change to take a RowList::iterator
8477         arg, adjust for this.
8478         (breakAgain): add an assert
8479         (breakAgainOneRow): ditto
8480
8481 2003-03-29  John Levon  <levon@movementarian.org>
8482
8483         * text2.C: do not clear selection after inc/decDepth
8484         (bug 550)
8485
8486 2003-03-29  John Levon  <levon@movementarian.org>
8487
8488         * BufferView.C:
8489         * buffer.C: fix broken strerrors according to Lars
8490
8491 2003-03-29  John Levon  <levon@movementarian.org>
8492
8493         * converters.C: more Alert cleanups
8494
8495 2003-03-29  John Levon  <levon@movementarian.org>
8496
8497         * bufferview_funcs.C: remove pointless Alert
8498
8499         * buffer.C: fix confusing error message when
8500         a template is chmoded 000
8501
8502 2003-03-29  John Levon  <levon@movementarian.org>
8503
8504         * BufferView.C:
8505         * BufferView.h:
8506         * BufferView_pimpl.C: Alert fixes
8507
8508         * Makefile.am:
8509         * tabular.C:
8510         * tabular-old.C: remove unused table compat reading
8511
8512 2003-03-29  John Levon  <levon@movementarian.org>
8513
8514         * BufferView.C:
8515         * buffer.C:
8516         * lyx_cb.h:
8517         * lyx_cb.C: more Alert cleanups
8518
8519         * lyxfunc.C: don't allow chktex if not latex document
8520
8521 2003-03-29  John Levon  <levon@movementarian.org>
8522
8523         * lyx_cb.C:
8524         * BufferView.C:
8525         * buffer.C: warnings pushed down from support/,
8526         kill err_alert
8527
8528 2003-03-29  John Levon  <levon@movementarian.org>
8529
8530         * lyxfunc.C: safety check for C-r (revert)
8531
8532 2003-03-29  John Levon  <levon@movementarian.org>
8533
8534         * bufferlist.h:
8535         * bufferlist.C: several UI fixes using Alert::prompt.
8536         Fix the pointless looping quit code. Fix stupid revert
8537         behaviour (bug 938)
8538
8539         * lyxvc.h:
8540         * lyxvc.C:
8541         * lyx_cb.C: use Alert::prompt
8542
8543         * lyx_main.C: remove a silly question
8544
8545         * lyxfunc.C: remove a couple of silly questions,
8546         use Alert::prompt
8547
8548 2003-03-28  John Levon  <levon@movementarian.org>
8549
8550         * text2.C: fix bug 974 (End on empty par)
8551
8552 2003-03-28  John Levon  <levon@movementarian.org>
8553
8554         * BufferView_pimpl.C:
8555         * LyXAction.C:
8556         * lfuns.h: remove do-nothing math greek lfuns
8557
8558 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8559
8560         * lyxgluelength.h (isValidGlueLength): add default arg on
8561         parameter 2. Remove default arg from friend in class.
8562
8563         * lyxlength.h (isValidLength): add default arg on parameter 2.
8564         Remove default arg from friend in class.
8565
8566         * text2.C (LyXText): adjust, initialize refresh_row.
8567         (init): adjust
8568         (removeRow): adjust
8569         (insertRow): adjust
8570         (insertParagraph): adjst
8571         (redoParagraphs): adjust
8572         (fullRebreak): adjust
8573         (updateCounters): adjust
8574         (deleteEmptyParagraphMechanism): first attempt at fixing a
8575         crashing bug.
8576
8577         * text.C (top_y): adjust
8578         (setHeightOfRow): adjust
8579         (getRow): adjust
8580         (getRowNearY): adjust
8581
8582         * lyxtext.h: include RowList.h
8583         (~LyXText): not needed anymore, deleted.
8584         (firstRow): modify for RowList
8585         (lastRow): new function
8586         Delete firstrow and lastrow class variables, add a Rowlist
8587         rowlist_ class variable.
8588
8589         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8590         paragraph is empty.
8591
8592         * RowList.C (insert): fix case where it == begin().
8593
8594 2003-03-26  Angus Leeming  <leeming@lyx.org>
8595
8596         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8597         the thesaurus dialog.
8598
8599 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8600
8601         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8602
8603         * RowList.[Ch]: new files
8604
8605         * ParagraphList.C (erase): handle the case where it == begin
8606         correctly.
8607
8608 2003-03-25  John Levon  <levon@movementarian.org>
8609
8610         * Makefile.am:
8611         * aspell_local.h:
8612         * aspell.C: add new aspell support
8613
8614         * lyxrc.h:
8615         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8616         have it accessible.
8617
8618 2003-03-25  Angus Leeming  <leeming@lyx.org>
8619
8620         * lfuns.h:
8621         * LyXAction.C (init): new LFUN_INSET_INSERT.
8622
8623         * BufferView_pimpl.C (dispatch): split out part of the
8624         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8625
8626         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8627         LFUN_INSET_APPLY.
8628
8629 2003-03-25  Angus Leeming  <leeming@lyx.org>
8630
8631         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8632
8633 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8634
8635         * text2.C:
8636         * text3.C: remove useless row->height(0)
8637
8638 2003-03-25  John Levon  <levon@movementarian.org>
8639
8640         * lyxtext.h:
8641         * text2.C:
8642         * text3.C: rename the refreshing stuff to better names
8643
8644 2003-03-24  John Levon  <levon@movementarian.org>
8645
8646         * BufferView_pimpl.h:
8647         * BufferView_pimpl.C: update layout choice on a mouse
8648         press/release
8649
8650 2003-03-23  John Levon  <levon@movementarian.org>
8651
8652         * Makefile.am: fix commandtags.h reference
8653
8654 2003-03-22  John Levon  <levon@movementarian.org>
8655
8656         * BufferView_pimpl.C:
8657         * lyxtext.h:
8658         * rowpainter.C:
8659         * rowpainter.h:
8660         * text.C:
8661         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8662
8663 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8664
8665         * lyxtext.h:
8666         * text.C: take the rtl methods out of line
8667
8668 2003-03-21 André Pönitz <poenitz@gmx.net>
8669
8670         * metricsinfo.[Ch]: new files containing structures to be passed around
8671         during the two-phase-drawing...
8672
8673 2003-03-21 André Pönitz <poenitz@gmx.net>
8674
8675         * lyxtextclass.C: read 'environment' tag.
8676
8677 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8678
8679         * text2.C (removeRow): fix bug 964
8680
8681 2003-03-20  John Levon  <levon@movementarian.org>
8682
8683         * rowpainter.C:
8684         * text.C:
8685         * text2.C: paint cleanups. Inset::update() dropped font
8686         parameter
8687
8688 2003-03-19  John Levon  <levon@movementarian.org>
8689
8690         * lyxfunc.C: only fitcursor/markDirty if available()
8691
8692 2003-03-19  John Levon  <levon@movementarian.org>
8693
8694         * commandtags.h: rename to ...
8695
8696         * lfuns.h: ... this, and renumber / cleanup
8697
8698 2003-03-19  John Levon  <levon@movementarian.org>
8699
8700         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8701         fit the cursor after an lfun
8702
8703         * BufferView.h:
8704         * BufferView.C:
8705         * BufferView_pimpl.h:
8706         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8707
8708         * LyXAction.C: layout-character should have ReadOnly
8709
8710         * ParagraphParameters.C:
8711         * buffer.C:
8712         * bufferview_funcs.C:
8713         * lyx_cb.C:
8714         * lyxfind.C:
8715         * lyxtext.h:
8716         * text.C:
8717         * text2.C:
8718         * text3.C:
8719         * undo_funcs.C: changes from above
8720
8721 2003-03-18  John Levon  <levon@movementarian.org>
8722
8723         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8724         remove it from update()
8725
8726         * lyxfunc.C: update layout choice after an lfun
8727
8728         * text3.C: remove extra updateLayoutChoice()s
8729
8730 2003-03-18  John Levon  <levon@movementarian.org>
8731
8732         * text.C: top_y change means full repaint, fix
8733         a drawing bug with cursor movement
8734
8735 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8736
8737         * lyxtext.h:
8738         * text.C:
8739         * text2.C: anchor row on setCursor
8740
8741 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8742
8743         * lyxtext.h: remove almost all mutable keywords
8744         * text.C:
8745         * text2.C:
8746         * text3.C: remove const keywords accordingly
8747
8748 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8749
8750         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8751         anon namespace
8752         (TeXEnvironment): ditto
8753         (TeXOnePar): ditto
8754
8755 2003-03-17  John Levon  <levon@movementarian.org>
8756
8757         * text.C (rowBreakPoint): remove attempt to fix displayed
8758         math insets inside a manual label
8759
8760 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8761
8762         * lyxtext.h: remove BufferView* as first arg from almost all class
8763         functions.
8764         * other files: adjust.
8765
8766 2003-03-17  John Levon  <levon@movementarian.org>
8767
8768         * lyxtext.h:
8769         * undo_funcs.C:
8770         * text2.C: more paint cleanups
8771
8772         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8773
8774         * rowpainter.h:
8775         * rowpainter.C: remove "smart" background painting code
8776
8777 2003-03-16  John Levon  <levon@movementarian.org>
8778
8779         * lyxtext.h:
8780         * text.C:
8781         * text2.C:
8782         * text3.C: add helper functions for setting refresh_row/y
8783
8784 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8785
8786         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8787         newline inset which *can* get inserted in the pass_thru layouts.
8788         This is primarily for literate documents.
8789
8790 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8791
8792         * buffer.C: increment LYX_FORMAT to 223
8793
8794 2003-03-14 André Pönitz <poenitz@gmx.net>
8795
8796         * textclass.h: prepare for environment handling, ws changes
8797         * lyxlayout.C: read latexheader and latexfooter tags
8798
8799 2003-03-14  John Levon  <levon@movementarian.org>
8800
8801         * text2.C: rewrite ::status() a bit
8802
8803 2003-03-13  John Levon  <levon@movementarian.org>
8804
8805         * lyxtext.h: add some docs
8806
8807 2003-03-13  John Levon  <levon@movementarian.org>
8808
8809         * lyxtext.h:
8810         * text.C:
8811         * text2.C:
8812         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8813
8814 2003-03-13  John Levon  <levon@movementarian.org>
8815
8816         * text3.C: fix appendix redrawing
8817
8818 2003-03-13  John Levon  <levon@movementarian.org>
8819
8820         * text.C (setHeightOfRow):
8821         * rowpainter.h:
8822         * rowpainter.C: make appendix mark have the text
8823           "Appendix" so the user knows what it is
8824
8825         * LColor.h:
8826         * LColor.C: s/appendixline/appendix/ from above
8827
8828 2003-03-13  John Levon  <levon@movementarian.org>
8829
8830         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8831
8832         * text.C: fix a getChar(pos) bug properly
8833
8834 2003-03-13  Angus Leeming  <leeming@lyx.org>
8835
8836         * commandtags.h:
8837         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8838         Probably only temporary. Let's see how things pan out.
8839
8840         * BufferView.C (unlockInset):
8841         * BufferView_pimpl.C (fitCursor):
8842         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8843
8844         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8845         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8846
8847         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8848         new functions that convert ParagraphParameters to and from a string.
8849
8850         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8851         BufferView::Pimpl's dispatch.
8852         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8853
8854 2003-03-13 André Pönitz <poenitz@gmx.net>
8855
8856         * lyxfunc.C:
8857         * text3.C:
8858         * factory.C: make it aware of InsetEnv
8859
8860 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8861
8862         * text2.C (setCursor): never ask for one past last
8863         (setCursor): add some debugging messages.
8864
8865         * text.C (singleWidth): never ask for one past last
8866         (singleWidth): ditto
8867         (leftMargin): ditto
8868         (rightMargin): ditto
8869         (rowBreakPoint): ditto
8870         (setHeightOfRow): ditto
8871         (prepareToPrint): ditto
8872
8873         * rowpainter.C (paintBackground): never ask for one past last
8874         (paintText): never ask for one past last
8875
8876         * paragraph_pimpl.C (getChar): make the assert stricter, never
8877         allow the one past last pos to be taken
8878
8879         * paragraph.C (getChar): ws changes only
8880
8881         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8882         (numberOfSeparators): ditto
8883         (numberOfHfills): ditto
8884
8885 2003-03-12  John Levon  <levon@movementarian.org>
8886
8887         * author.h:
8888         * author.C:
8889         * bufferparams.h:
8890         * bufferparams.C:
8891         * paragraph_funcs.C: fix per-buffer authorlists
8892
8893 2003-03-12  John Levon  <levon@movementarian.org>
8894
8895         * text.C: fix newline in right address
8896
8897 2003-03-12  Angus Leeming  <leeming@lyx.org>
8898
8899         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8900         duplicate those in LyXFunc::dispatch.
8901
8902         * commandtags.h:
8903         * LyXAction.C:
8904         * ToolbarDefaults.C:
8905         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8906         Add LFUN_FONTFREE_UPDATE.
8907
8908         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8909         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8910
8911         * bufferview_func.[Ch]: several new functions to facilliate
8912         transfer of data to and from the character dialog.
8913
8914 2003-03-12  John Levon  <levon@movementarian.org>
8915
8916         * buffer.C:
8917         * paragraph.h:
8918         * paragraph.C:
8919         * paragraph_funcs.C:
8920         * paragraph_pimpl.C:
8921         * sgml.C:
8922         * tabular.C:
8923         * text.C:
8924         * text3.C: remove META_NEWLINE in favour of an inset
8925
8926         * rowpainter.h:
8927         * rowpainter.C: remove paintNewline (done by inset)
8928
8929 2003-03-12  John Levon  <levon@movementarian.org>
8930
8931         * paragraph_pimpl.C: complain about bad getChar()s
8932         for a while at least
8933
8934 2003-03-12  John Levon  <levon@movementarian.org>
8935
8936         * buffer.h:
8937         * buffer.C: move paragraph read into a separate function,
8938         a little renaming to reflect that.
8939
8940         * bufferparams.h:
8941         * bufferparams.C: remove the author_ids map, not necessary now
8942
8943         * factory.h:
8944         * factory.C: moved Buffer::readInset to here
8945
8946         * paragraph_funcs.h:
8947         * paragraph_funcs.C: readParagraph free function moved from
8948         buffer.C
8949
8950         * tabular.C: name change
8951
8952 2003-03-12  John Levon  <levon@movementarian.org>
8953
8954         * buffer.C:
8955         * ParagraphParameters.C: move par params input to
8956         a read() method
8957
8958         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8959         behave like a normal read from the stream wrt reading
8960         a line vs. a \\token
8961
8962 2003-03-12  John Levon  <levon@movementarian.org>
8963
8964         * paragraph.C:
8965         * ParagraphParameters.h:
8966         * ParagraphParameters.C: move output code to a
8967         ::write() method
8968
8969 2003-03-12  John Levon  <levon@movementarian.org>
8970
8971         * BufferView.C (insertLyXFile):
8972         * buffer.h:
8973         * buffer.C:
8974         * tabular.C: use a parlist iterator for creating the
8975           document.
8976
8977 2003-03-12  John Levon  <levon@movementarian.org>
8978
8979         * buffer.C: make current_change static local not
8980           static file-scope
8981
8982 2003-03-12  John Levon  <levon@movementarian.org>
8983
8984         * buffer.C: fix insertStringAsLines for change tracking
8985
8986 2003-03-12  John Levon  <levon@movementarian.org>
8987
8988         * BufferView.C:
8989         * tabular.C:
8990         * buffer.h:
8991         * buffer.C:
8992         * bufferparams.h:
8993         * bufferparams.C: move author list into params. Rename some
8994           functions. Move the header reading into a separate token
8995           loop. Move the header token reading into BufferParams.
8996
8997 2003-03-12  John Levon  <levon@movementarian.org>
8998
8999         * changes.C: put debug inside lyxerr.debugging() checks
9000
9001 2003-03-11 André Pönitz <poenitz@gmx.net>
9002
9003         * factory.C: make it aware of InsetHFill
9004
9005 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9006
9007         * buffer.C (latexParagraphs): move function from here...
9008         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9009         args.
9010
9011 2003-03-10  Angus Leeming  <leeming@lyx.org>
9012
9013         * LyXAction.C (init): fix bug in poplating array with multiple entries
9014         with the same LFUN (spotted by JMarc).
9015
9016 2003-03-10  John Levon  <levon@movementarian.org>
9017
9018         * text.C:
9019         * text2.C: move getColumnNearX() near its
9020         only call site
9021
9022 2003-03-10  John Levon  <levon@movementarian.org>
9023
9024         * text.C: fix break before a minipage
9025
9026 2003-03-10  John Levon  <levon@movementarian.org>
9027
9028         * text.C: fix the last commit
9029
9030 2003-03-09  John Levon  <levon@movementarian.org>
9031
9032         * lyxtext.h:
9033         * text.C:
9034         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9035         bug 365 (don't break before insets unless needed). Don't
9036         return a value > last under any circumstances.
9037
9038 2003-03-09  Angus Leeming  <leeming@lyx.org>
9039
9040         * BufferView_pimpl.C (trackChanges, dispatch): call
9041         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9042
9043 2003-03-09  Angus Leeming  <leeming@lyx.org>
9044
9045         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9046         than Dialogs::showAboutlyx().
9047
9048 2003-03-09  Angus Leeming  <leeming@lyx.org>
9049
9050         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9051         than Dialogs::showTabularCreate().
9052
9053 2003-03-09  John Levon  <levon@movementarian.org>
9054
9055         * lyxtext.h:
9056         * text.C:
9057         * text2.C: 3rd arg to nextBreakPoint was always the same.
9058           Use references.
9059
9060 2003-03-08  John Levon  <levon@movementarian.org>
9061
9062         * lyxrow.C:
9063         * paragraph.C:
9064         * paragraph.h:
9065         * rowpainter.C:
9066         * text.C:
9067         * text2.C: Remove the "main" bit from the "main body"
9068           notion.
9069
9070 2003-03-08  John Levon  <levon@movementarian.org>
9071
9072         * text.C (leftMargin): The left margin of an empty
9073         manual label paragraph should not include the label width
9074         string length.
9075
9076         * text.C (prepareToPrint): don't attempt to measure hfills
9077         for empty manual label paragraphs - the answer should be 0
9078
9079 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9080
9081         * CutAndPaste.C: remove commented code and reindent.
9082
9083 2003-03-08  John Levon  <levon@movementarian.org>
9084
9085         * lyxfunc.h:
9086         * lyxfunc.C: move reloadBuffer()
9087
9088         * BufferView.h:
9089         * BufferView.C: to here
9090
9091         * lyxvc.C: add comment
9092
9093         * vc-backend.h:
9094         * vc-backend.C: call bv->reload() to avoid
9095           getStatus() check on MENURELOAD
9096
9097 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9098
9099         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9100         to an old format .dep file.
9101
9102 2003-03-07  Angus Leeming  <leeming@lyx.org>
9103
9104         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9105         when the LFUN_MOUSE_RELEASE should have been handled by
9106         inset->localDispatch.
9107
9108 2003-03-07  Angus Leeming  <leeming@lyx.org>
9109
9110         * BufferView_pimpl.C (dispatch):
9111         * LyXAction.C (init):
9112         * ToolbarDefaults.C (init):
9113         * commandtags.h:
9114         * lyxfunc.C (getStatus):
9115         remove LFUN_INSET_GRAPHICS.
9116
9117         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9118
9119 2003-03-07  Angus Leeming  <leeming@lyx.org>
9120
9121         * commandtags.h:
9122         * LyXAction.C (init):
9123         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9124
9125         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9126
9127         * commandtags.h:
9128         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9129
9130         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9131         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9132
9133 2003-03-07  Angus Leeming  <leeming@lyx.org>
9134
9135         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9136         remove "ert".
9137
9138 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9139
9140         * ParagraphList.C (front): new function
9141         (back): implement
9142
9143 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9144
9145         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9146         and top_row_offset_. removed var first_y.
9147         * text.C (top_y):
9148         * text2.C (LyXText, removeRow):
9149         * text3.C:
9150         * BufferView_pimpl.C:
9151         use these methods instead of using first_y
9152
9153 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9154
9155         * text2.C (pasteSelection): adjust for checkPastePossible
9156
9157         * CutAndPaste.C: remove Paragraph * buf and replace with
9158         ParagraphList paragraphs.
9159         (DeleteBuffer): delete
9160         (cutSelection): change the tc type to textclass_type
9161         (copySelection): change the tc type to textclass_type
9162         (copySelection): adjust for ParagraphList
9163         (pasteSelection): change the tc type to textclass_type
9164         (pasteSelection): adjust for Paragraphlist
9165         (nrOfParagraphs): simplify for ParagraphList
9166         (checkPastePossible): simplify for ParagraphList
9167         (checkPastePossible): remove unused arg
9168
9169         * ParagraphList.C (insert): handle the case where there are no
9170         paragraphs yet.
9171
9172         * CutAndPaste.h: make CutAndPaste a namespace.
9173
9174         * text3.C (dispatch): adjust
9175
9176         * text.C (breakParagraph): add a ParagraphList as arg
9177
9178         * paragraph_funcs.C (breakParagraph): change to take a
9179         BufferParams and a ParagraphList as args.
9180         (breakParagraphConservative): ditto
9181         (mergeParagraph): ditto
9182         (TeXDeeper): add a ParagraphList arg
9183         (TeXEnvironment): ditto
9184         (TeXOnePar): ditto
9185
9186         * buffer.C (readLyXformat2): adjust
9187         (insertStringAsLines): adjust
9188         (latexParagraphs): adjust
9189
9190         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9191         (cutSelection): adjust
9192         (pasteSelection): adjust
9193
9194         * BufferView_pimpl.C (insertInset): adjust
9195
9196 2003-03-05  Angus Leeming  <leeming@lyx.org>
9197
9198         * commandtags.h:
9199         * LyXAction.C (init):
9200         * BufferView_pimpl.C (dispatch):
9201         * lyxfunc.C (getStatus):
9202         remove LFUN_CHILD_INSERT.
9203
9204         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9205
9206 2003-03-05  Angus Leeming  <leeming@lyx.org>
9207
9208         * commandtags.h:
9209         * LyXAction.C (init):
9210         * src/factory.C (createInset):
9211         * lyxfunc.C (getStatus):
9212         * text3.C (dispatch):
9213         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9214
9215         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9216
9217 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9218
9219         * ParagraphList.C (insert): handle insert right before end()
9220         (erase): fix cases where it can be first or last paragraph.
9221
9222 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9223
9224         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9225         Paragraph::next and Paragraph::previous
9226         (TeXOnePar): ditto
9227
9228         * text.C (breakParagraph): adjust
9229
9230         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9231         BufferParams& as arg.
9232         (breakParagraph): use ParagraphList::insert
9233         (breakParagraphConservative): take a Buffer* instead of a
9234         BufferParams& as arg.
9235         (breakParagraphConservative): use ParagraphList::insert.
9236
9237         * buffer.C (insertStringAsLines): un-const it
9238         (insertStringAsLines): adjust
9239
9240         * ParagraphList.C (insert): new function
9241
9242         * CutAndPaste.C (pasteSelection): adjust
9243
9244         * text.C (backspace): adjust
9245
9246         * tabular.C (SetMultiColumn): adjust
9247
9248         * CutAndPaste.C (cutSelection): adjust
9249         (pasteSelection): adjust
9250
9251         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9252         Buffer const * as arg
9253
9254         * ParagraphList.C (erase): new function
9255         * paragraph_funcs.C (mergeParagraph): use it
9256         (mergeParagraph): make it take a Buffer* instead of a
9257         BufferParams* as arg
9258
9259         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9260         as arg
9261         (breakParagraphConservative): ditto
9262
9263         * paragraph.h: remove the breakParagraph friend
9264
9265         * paragraph.C (eraseIntern): new function
9266         (setChange): new function
9267
9268         * paragraph_funcs.C (mergeParagraph): make it take a
9269         ParagraphList::iterator instead of a Paragraph *, adjust
9270         accordingly.
9271
9272         * paragraph.h: move an #endif so that the change tracking stuff
9273         also works in the NO_NEXT case.
9274
9275 2003-03-04  Angus Leeming  <leeming@lyx.org>
9276
9277         * commandtags.h:
9278         * LyXAction.C: new LFUN_INSET_MODIFY.
9279
9280         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9281         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9282
9283 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9284
9285         * several files: ws changes only
9286
9287         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9288         (TeXEnvironment): ditto
9289         (TeXDeeper): ditto
9290
9291         * buffer.C (makeLaTeXFile): adjust
9292         (latexParagraphs): make it take ParagraphList::iterator as args
9293
9294 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9295
9296         * buffer.C (latexParagraphs): adjust
9297
9298         * paragraph.C (TeXOnePar): move function...
9299         (optArgInset): move function...
9300         (TeXEnvironment): move function...
9301         * paragraph_pimpl.C (TeXDeeper): move function...
9302         * paragraph_funcs.C: ...here
9303
9304         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9305
9306 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9307
9308         * buffer.C (readInset): remove compability code for old Figure and
9309         InsetInfo insets
9310
9311 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9312
9313         * buffer.C: ws changes
9314         (readInset):
9315
9316         * BufferView_pimpl.C: ditto
9317         * author.C: ditto
9318         * buffer.h: ditto
9319         * bufferlist.h: ditto
9320         * changes.h: ditto
9321         * lyxfunc.C: ditto
9322
9323 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9324
9325         * converter.[Ch]: split into itself +
9326         * graph.[Ch]
9327         * format.[Ch]
9328         * Makefile.am: += graph.[Ch] + format.[Ch]
9329         * MenuBackend.C
9330         * buffer.C
9331         * exporter.C
9332         * importer.C
9333         * lyx_main.C
9334         * lyxfunc.C
9335         * lyxrc.C: added #include "format.h"
9336
9337 2003-02-27  Angus Leeming  <leeming@lyx.org>
9338
9339         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9340           a label.
9341
9342         * factory.C (createInset): add "label" to the factory.
9343
9344         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9345           string and do no more.
9346
9347 2003-02-27  Angus Leeming  <leeming@lyx.org>
9348
9349         * commandtags.h:
9350         * LyXAction.C (init):
9351         * factory.C (createInset):
9352         * BufferView_pimpl.C (dispatch):
9353           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9354
9355         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9356
9357         * lyxfunc.C (dispatch):
9358         * text3.C (dispatch): pass name to params2string.
9359
9360 2003-02-26  Angus Leeming  <leeming@lyx.org>
9361
9362         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9363           blocks together.
9364           Rearrange the ~includes. Strip out the unnecessary ones.
9365
9366         * factory.C (createInset): reformat.
9367           create new insets for the various LFUN_XYZ_APPLY lfuns.
9368
9369 2003-02-26  John Levon  <levon@movementarian.org>
9370
9371         * lyxrow.h:
9372         * lyxrow.C: add isParStart,isParEnd helpers
9373
9374         * paragraph.h: make isInserted/DeletedText take refs
9375
9376         * paragraph_funcs.h:
9377         * paragraph_funcs.C: remove #if 0'd code
9378
9379         * lyxtext.h:
9380         * text3.C:
9381         * text2.C:
9382         * text.C: use lyxrow helpers above.
9383           Move draw and paint routines to RowPainter.
9384           Make several methods use refs not pointers.
9385           Make backgroundColor() const.
9386           Add markChangeInDraw(), isInInset().
9387           Merge changeRegionCase into changeCase.
9388           Make workWidth() shouldn't-happen code into an Assert.
9389
9390         * rowpainter.h:
9391         * rowpainter.C: new class for painting a row.
9392
9393         * vspace.h:
9394         * vspace.C: make inPixels take a ref
9395
9396 2003-02-26  Angus Leeming  <leeming@lyx.org>
9397
9398         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9399         LFUN_REF_APPLY.
9400
9401 2003-02-25  John Levon  <levon@movementarian.org>
9402
9403         * ispell.C: give the forked command a more accurate name
9404
9405 2003-02-22  John Levon  <levon@movementarian.org>
9406
9407         * toc.h:
9408         * toc.C: make TocItem store an id not a Paragraph *
9409           (bug #913)
9410
9411 2003-02-21  Angus Leeming  <leeming@lyx.org>
9412
9413         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9414           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9415           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9416           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9417           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9418           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9419
9420         * BufferView_pimpl.C (dispatch):
9421         * LyXAction.C (init):
9422         * factory.C (createInset):
9423         * lyxfunc.C (getStatus, dispatch):
9424         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9425
9426 2003-02-21  Angus Leeming  <leeming@lyx.org>
9427
9428         * BufferView_pimpl.C (MenuInsertLyXFile):
9429         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9430         * lyxfunc.C (menuNew, open, doImport):
9431           no longer pass a LyXView & to fileDlg.
9432
9433 2003-02-21  Angus Leeming  <leeming@lyx.org>
9434
9435         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9436         * LyXAction.C: change, BIBKEY to BIBITEM.
9437         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9438         Change InsetBibKey to InsetBibitem.
9439         Change BIBKEY_CODE to BIBITEM_CODE.
9440         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9441         * factory.C: replace insetbib.h with insetbibitem.h.
9442         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9443         * paragraph.C: replace insetbib.h with insetbibitem.h.
9444         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9445         Change bibkey() to bibitem().
9446         * text.C: remove insetbib.h.
9447         * text2.C: replace insetbib.h with insetbibitem.h.
9448         change bibkey() to bibitem().
9449         * text3.C: remove insetbib.h.
9450         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9451
9452 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9453
9454         * lyxrc.C (output): enclose user email in quotes (in case there are
9455         several words)
9456
9457 2003-02-18  John Levon  <levon@movementarian.org>
9458
9459         * buffer.h: add std::
9460
9461 2003-02-17  John Levon  <levon@movementarian.org>
9462
9463         * SpellBase.h:
9464         * ispell.h:
9465         * ispell.C:
9466         * pspell.h:
9467         * pspell.C: reworking. Especially in ispell, a large
9468           number of clean ups and bug fixes.
9469
9470         * lyxfunc.C: fix revert to behave sensibly
9471
9472 2003-02-17 André Pönitz <poenitz@gmx.net>
9473
9474         * LyXAction.C:
9475         * commandtags.h: new LFUN_INSERT_BIBKEY
9476
9477         * layout.h:
9478         * lyxlayout.C:
9479         * buffer.C:
9480         * factory.C:
9481         * text.C:
9482         * text2.C:
9483         * text3.C:
9484         * paragraph.[Ch]:
9485         * paragraph_func.C: remove special bibkey handling
9486
9487 2003-02-17  John Levon  <levon@movementarian.org>
9488
9489         * text.C (Delete): fix case where delete at the end of
9490           the very first paragraph would not merge the pars
9491
9492 2003-02-17  John Levon  <levon@movementarian.org>
9493
9494         * lyxrow.C: fix lastPrintablePos()
9495
9496 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9497
9498         * bufferparams.C (writeLaTeX): add a std:here
9499
9500         * buffer.C: and remove a using directive there
9501
9502 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9503
9504         * buffer.C (makeLaTeXFile): move the code that generates the
9505           preamble...
9506
9507         * bufferparams.C (writeLaTeX): ... in this new method
9508
9509         * LaTeXFeatures.C (getEncodingSet): make const
9510           (getLanguages): make const
9511
9512         * MenuBackend.C (binding): returns the binding associated to this
9513           action
9514           (add): sets the status of each item by calling getStatus. Adds
9515           some intelligence.
9516           (read): add support for OptSubMenu
9517           (expand): remove extra separator at the end of expanded menu
9518
9519 2003-02-15  John Levon  <levon@movementarian.org>
9520
9521         * BufferView.C:
9522         * BufferView_pimpl.C:
9523         * bufferlist.h:
9524         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9525           inset code that had no actual effect. Remove unneeded status
9526           code.
9527
9528 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9529
9530         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9531           in preamble
9532
9533 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9534
9535         * text.C (drawLengthMarker): also draw an arrow marker for
9536           symbolic lengths (medskip...)
9537
9538 2003-02-14  John Levon  <levon@movementarian.org>
9539
9540         * tabular.h:
9541         * tabular.C: better method names
9542
9543 2003-02-14  John Levon  <levon@movementarian.org>
9544
9545         * BufferView_pimpl.C:
9546         * bufferlist.C:
9547         * buffer.C:
9548         * converter.C:
9549         * lyx_cb.C:
9550         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9551           it's a more accurate name. Remove some pointless uses.
9552
9553 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9554
9555         * text2.C (LyXText): change order of initilizers to shut off
9556           warnings
9557
9558 2003-02-14  John Levon  <levon@movementarian.org>
9559
9560         * buffer.C: use ParIterator for getParFromID()
9561
9562         * paragraph.h:
9563         * paragraph.C:
9564         * paragraph_pimpl.h:
9565         * paragraph_pimpl.C: remove unused getParFromID()
9566
9567 2003-02-14  John Levon  <levon@movementarian.org>
9568
9569         * buffer.C: remove some very old #if 0'd parse code
9570
9571 2003-02-13  John Levon  <levon@movementarian.org>
9572
9573         * text.h:
9574         * text.C:
9575         * text2.C: move hfillExpansion(), numberOfSeparators(),
9576           rowLast(), rowLastPrintable(), numberofHfills(),
9577           numberOfLabelHfills() ...
9578
9579         * lyxrow.h:
9580         * lyxrow.C: ... to member functions here.
9581
9582         * paragraph.h:
9583         * paragraph.C:
9584         * lyxtext.h:
9585         * text.C: remove LyXText::beginningOfMainBody(), and call
9586           p->beginningOfMainBody() directly. Move the check for
9587           LABEL_MANUAL into the latter.
9588
9589         * text.h:
9590         * text.C:
9591         * text2.C:
9592         * vspace.C:
9593         * BufferView.h:
9594         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9595
9596         * text.h:
9597         * text.C:
9598         * text2.C:
9599         * text3.C:
9600         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9601           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9602
9603 2003-02-13  John Levon  <levon@movementarian.org>
9604
9605         * CutAndPaste.C: remove debug
9606
9607 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9608
9609         * paragraph.C (asString): remove two unused variables
9610
9611         * lyxtextclass.C (readTitleType):
9612           (Read):
9613           (LyXTextClass): handle new members titletype_ and titlename_
9614
9615         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9616
9617 2003-02-09  John Levon  <levon@movementarian.org>
9618
9619         * buffer.h:
9620         * buffer.C: replace hand-coded list with a map for the dep clean
9621
9622 2003-02-08  John Levon  <levon@movementarian.org>
9623
9624         * LaTeX.C: consolidate code into showRunMessage() helper
9625
9626 2003-02-08  John Levon  <levon@movementarian.org>
9627
9628         * lyxfind.C:
9629         * lyxtext.h:
9630         * text2.C:
9631         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9632           and pass the size in explicitly
9633
9634         * BufferView_pimpl.h:
9635         * BufferView_pimpl.C:
9636         * BufferView.h:
9637         * BufferView.C: add getCurrentChange()
9638
9639         * BufferView_pimpl.h:
9640         * BufferView_pimpl.C: handle change lfuns
9641
9642         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9643           for changes. Mark pasted paragraphs as new.
9644
9645         * support/lyxtime.h:
9646         * support/lyxtime.C:
9647         * DepTable.C: abstract time_t as lyx::time_type
9648
9649         * LColor.h:
9650         * LColor.C: add colours for new text, deleted text, changebars
9651
9652         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9653           package use "usenames" option.
9654
9655         * commandtags.h:
9656         * lyxfunc.C:
9657         * LyXAction.C: add change lfuns
9658
9659         * Makefile.am:
9660         * author.h:
9661         * author.C: author handling
9662
9663         * buffer.h:
9664         * buffer.C: add a per-buffer author list, with first entry as
9665           current author. Handle new .lyx tokens for change tracking. Output
9666           author list to .lyx file. Output dvipost stuff to .tex preamble.
9667           Bump lyx format to 222.
9668
9669         * bufferlist.h:
9670         * bufferlist.C: add setCurrentAuthor() to reset current author details
9671           in all buffers.
9672
9673         * bufferparams.h:
9674         * bufferparams.C: add param for tracking
9675
9676         * bufferview_funcs.C: output change info in minibuffer
9677
9678         * Makefile.am:
9679         * changes.h:
9680         * changes.C: add change-tracking structure
9681
9682         * debug.h:
9683         * debug.C: add CHANGES debug flag
9684
9685         * lyxfind.h:
9686         * lyxfind.C: add code for finding the next change piece
9687
9688         * lyxrc.h:
9689         * lyxrc.C: add user_name and user_email
9690
9691         * lyxrow.h:
9692         * lyxrow.C: add a metric for the top of the text line
9693
9694         * lyxtext.h:
9695         * text.C: implement accept/rejectChange()
9696
9697         * lyxtext.h:
9698         * text.C: paint changebars. Paint new/deleted text in the chosen
9699         colours. Strike through deleted text.
9700
9701         * paragraph.h:
9702         * paragraph.C:
9703         * paragraph_pimpl.h:
9704         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9705           in the current change to the insert functions. Rework erase to
9706           mark text as deleted, adding an eraseIntern() and a range-based
9707           erase(). Implement per-paragraph change lookup and
9708           accept/reject.
9709
9710         * paragraph_funcs.C: Fixup paste for change tracking.
9711
9712         * tabular.C: mark added row/columns as new.
9713
9714         * text.C: fix rowLast() to never return -1. Don't allow
9715           spellchecking of deleted text. Track transpose changes. Don't
9716           allow paragraph break or merge where appropriate.
9717
9718         * text2.C: leave cursor at end of selection after a cut.
9719
9720 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9721
9722         * text.C (getLengthMarkerHeight):
9723         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9724         visible on screen too.
9725
9726 2003-02-07  John Levon  <levon@movementarian.org>
9727
9728         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9729
9730 2003-02-05  Angus Leeming  <leeming@lyx.org>
9731
9732         * lyxserver.C (read_ready): revert my patch of 11 September last year
9733         as it sends PC cpu through the roof. Presumably this means that
9734         the lyxserver will no longer run on an Alpha...
9735
9736 2003-01-30  Angus Leeming  <leeming@lyx.org>
9737
9738         * factory.C (createInset): create an InsetCommandParam of type "index"
9739         and use it to 'do the right thing'.
9740
9741         * text2.C (getStringToIndex): ensure that cursor position is always
9742         reset to the reset_cursor position.
9743
9744 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9745
9746         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9747         disabled.
9748
9749 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9750
9751         * bufferview.C:
9752         * lyxcb.C:
9753         * lyxfunc.C: Output messages with identical spelling, punctuation,
9754         and spaces
9755
9756 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9757
9758         * MenuBackend.C (expandFormats): List only viewable export formats
9759         in "View" menu
9760
9761         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9762         message
9763
9764         * lyxfunc.C (getStatus): Make sure that formats other than
9765         "fax" can also be disabled
9766
9767 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9768
9769         * text3.C (dispatch): put the lfuns that insert insets in 3
9770         groups, and call doInsertInset with appropriate arguments.
9771         (doInsertInset): new function, that creates an inset and inserts
9772         it according to some boolean parameters.
9773
9774 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9775
9776         * buffer.C (readFile): remember to pass on 'par' when calling
9777         readFile recursively.
9778
9779 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9780
9781         * MenuBackend.C (expandFormats): add "..." to import formats.
9782
9783 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9784
9785         * paragraph.C (asString): Remove XForms RTL hacks.
9786
9787 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9788         * buffer.C: fix typo
9789
9790 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9791
9792         * Makefile.am (LIBS): delete var
9793         (lyx_LDADD): add @LIBS@ here instead.
9794
9795 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9796
9797         * Clarify the meaning of "wheel mouse jump"
9798
9799 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9800
9801         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9802         tabular in a float
9803
9804 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9805
9806         * importer.C (Loaders): do not preallocate 3 elements in the
9807         vector, since one ends up with 6 elements otherwise
9808
9809 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9810
9811         * DepTable.C (write): write the file name as last element of the
9812         .dep file (because it may contain spaces)
9813         (read): read info in the right order
9814
9815 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9816
9817         * paragraph_pimpl.C (simpleTeXBlanks):
9818         (simpleTeXSpecialChars):
9819         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9820
9821         * tabular.C (latex): add some missing case statements. Reindent.
9822
9823         * MenuBackend.C (expandToc): remove unused variable.
9824
9825 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9826
9827         * LColor.C:
9828         * LaTeX.C:
9829         * LyXAction.C:
9830         * MenuBackend.C:
9831         * buffer.C:
9832         * exporter.C:
9833         * lyxfunc.C:
9834         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9835         and the like.
9836
9837 2003-01-05  John Levon  <levon@movementarian.org>
9838
9839         * BufferView.h:
9840         * BufferView.C: add getEncoding()
9841
9842         * kbsequence.h:
9843         * kbsequence.C: do not store last keypress
9844
9845         * lyxfunc.h:
9846         * lyxfunc.C: store last keypress here instead. Pass encoding
9847           to getISOEncoded()
9848
9849 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9850
9851         * lyx_main.C (init): remove annoying error message when following
9852         symbolic links (bug #780)
9853
9854 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9855
9856         * text.C (insertChar):
9857         * lyxrc.C (getDescription): remove extra spaces
9858
9859 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9860
9861         * lyxrc.C (getDescription): remove extra spaces
9862
9863 2002-12-20  John Levon  <levon@movementarian.org>
9864
9865         * text3.C: hack fix for page up/down across tall rows
9866
9867 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9868
9869         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9870         not been invoked
9871
9872 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9873
9874         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9875         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9876         thesaurus is not compiled in
9877
9878 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9879
9880         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9881
9882 2002-12-16  Angus Leeming  <leeming@lyx.org>
9883
9884         * lyxrc.[Ch]:
9885         * lyx_main.C (init): remove override_x_deadkeys stuff.
9886
9887 2002-12-12  John Levon  <levon@movementarian.org>
9888
9889         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9890           insert. Only remove shift modifier under strict
9891           circumstances.
9892
9893 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9894
9895         * MenuBackend.C (expandToc): fix crash.
9896
9897 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9898
9899         * MenuBackend.C (expandToc): gettext on float names.
9900
9901 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9902
9903         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9904         implement bool empty() [bug 490]
9905
9906 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9907
9908         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9909
9910 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9911
9912         * several files: ws changes
9913
9914 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9915
9916         * text2.C (setCounter): clean up a bit, use boost.format.
9917         (updateCounters): initialize par upon declaration.
9918
9919         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9920         if the layout exists. We do not just store the layout any more.
9921         (SwitchLayoutsBetweenClasses): use boost.format
9922
9923 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9924
9925         * converter.C (convert): if from and to files are the same, use a
9926         temporary files as intermediary
9927
9928 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9929
9930         * commandtags.h:
9931         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9932
9933 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9934
9935         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9936
9937 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9938
9939         * tabular.C (asciiPrintCell): use string(size, char) instead of
9940         explicit loop.
9941
9942         * sgml.C (openTag): fix order of arguments to string constructor
9943         (closeTag): ditto
9944
9945         * lyxfunc.C (dispatch): use boost.format
9946
9947         * lots of files: change "c" -> 'c'
9948
9949 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9950
9951         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9952
9953 2002-11-25  Angus Leeming  <leeming@lyx.org>
9954
9955         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9956
9957         * lyx_main.C (init): compile fix.
9958
9959 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9960
9961         * lyx_cb.C (start): boost.formatify
9962         do not include <iostream>
9963
9964         * lengthcommon.C: ws only
9965
9966         * boost-inst.C,BoostFormat.h: add more explict instantations
9967
9968 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9969
9970         * lots of files: handle USE_BOOST_FORMAT
9971
9972 2002-11-21  John Levon  <levon@movementarian.org>
9973
9974         * pspell.C: fix compile
9975
9976 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9977
9978         * lyxfunc.C (dispatch): use boost::format
9979         (open): ditto
9980         (doImport): ditto
9981
9982         * lyxfont.C (stateText): use boost::format
9983
9984         * lyx_main.C (LyX): use boost::format
9985         (init): ditto
9986         (queryUserLyXDir): ditto
9987         (readRcFile): ditto
9988         (parse_dbg): ditto
9989         (typedef boost::function): use the recommened syntax.
9990
9991         * importer.C (Import): use boost::format
9992
9993         * debug.C (showLevel): use boost::format
9994
9995         * converter.C (view): use boost::format
9996         (convert): ditto
9997         (move): ditto
9998         (scanLog): ditto
9999
10000         * bufferview_funcs.C (currentState): use boost::format
10001
10002         * bufferlist.C (emergencyWrite): use boost::format
10003
10004         * buffer.C (readLyXformat2): use boost::format
10005         (parseSingleLyXformat2Token): ditto
10006
10007         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10008
10009         * LaTeX.C (run): use boost::format
10010
10011         * Chktex.C (scanLogFile): use boost::format
10012
10013         * BufferView_pimpl.C (savePosition): use boost::format
10014         (restorePosition): ditto
10015         (MenuInsertLyXFile): ditto
10016
10017         * BoostFormat.h: help file for explicit instation.
10018
10019 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10020
10021         * tabular.C (latex): Support for block alignment in fixed width
10022         columns.
10023
10024 2002-11-17  John Levon  <levon@movementarian.org>
10025
10026         * BufferView_pimpl.C:
10027         * lyx_cb.C:
10028         * lyxfunc.C: split filedialog into open/save
10029
10030 2002-11-08  Juergen Vigna  <jug@sad.it>
10031
10032         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10033         by my last patch (hopefully).
10034
10035 2002-11-08  John Levon  <levon@movementarian.org>
10036
10037         * iterators.h:
10038         * iterators.C:
10039         * buffer.h:
10040         * buffer.C:
10041         * paragraph.h:
10042         * paragraph.C:
10043         * toc.h:
10044         * toc.C: ParConstIterator, and use it (from Lars)
10045
10046 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10047
10048         * lyxtextclass.[Ch]: revise and add doxygen comments
10049
10050 2002-11-07  John Levon  <levon@movementarian.org>
10051
10052         * text.C: fix progress value for spellchecker
10053
10054         * toc.C: fix navigate menu for insetwrap inside minipage
10055
10056         * paragraph_funcs.C: added FIXME for suspect code
10057
10058 2002-11-07  John Levon  <levon@movementarian.org>
10059
10060         * BufferView_pimpl.C: fix redrawing of insets
10061           on buffer switch
10062
10063 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10064
10065         * text2.C (updateCounters): fix bug 668
10066
10067 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10068
10069         * text3.C (dispatch): Do not make the buffer dirty when moving the
10070         cursor.
10071
10072 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10073
10074         * vc-backend.C: STRCONV
10075         (scanMaster): ditto
10076
10077         * text2.C (setCounter): STRCONV
10078
10079         * paragraph.C (asString): STRCONV
10080
10081         * lyxlength.C (asString): STRCONV
10082         (asLatexString): ditto
10083
10084         * lyxgluelength.C (asString): STRCONV
10085         (asLatexString): ditto
10086
10087         * lyxfunc.C (dispatch): STRCONV
10088         (open): ditto
10089
10090         * lyxfont.C (stateText): STRCONV
10091
10092         * importer.C (Import): STRCONV
10093
10094         * counters.C (labelItem): STRCONV
10095         (numberLabel): ditto
10096         (numberLabel): remove unused ostringstream o
10097
10098         * chset.C: STRCONV
10099         (loadFile): ditto
10100
10101         * bufferview_funcs.C (currentState): STRCONV
10102
10103         * buffer.C (readFile): STRCONV
10104         (asciiParagraph): ditto
10105         (makeLaTeXFile): ditto
10106
10107         * Spacing.C (writeEnvirBegin): STRCONV
10108
10109         * LaTeXFeatures.C (getLanguages): STRCONV
10110         (getPackages): ditto
10111         (getMacros): ditto
10112         (getBabelOptions): ditto
10113         (getTClassPreamble): ditto
10114         (getLyXSGMLEntities): ditto
10115         (getIncludedFiles): ditto
10116
10117         * LaTeX.C: STRCONV
10118         (run): ditto
10119         (scanAuxFile): ditto
10120         (deplog): ditto
10121
10122         * LString.h: add the STRCONV macros
10123
10124         * BufferView_pimpl.C (savePosition): STRCONV
10125         (restorePosition): ditto
10126         (MenuInsertLyXFile): ditto
10127
10128         * vc-backend.C (scanMaster): change from submatch[...] to
10129         submatch.str(...)
10130
10131         * funcrequest.C: include config.h
10132
10133         * factory.C: include config.h
10134
10135         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10136
10137         * box.C: include config.h
10138
10139         * LaTeX.C (scanAuxFile): change from submatch[...] to
10140         submatch.str(...)
10141         (deplog): ditto
10142
10143 2002-10-25  Angus Leeming  <leeming@lyx.org>
10144
10145         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10146
10147         * ispell.[Ch] (setError): new method.
10148         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10149         Use setError() insetead of goto END.
10150
10151         * lyx_cb.C (AutoSave): move out child process into new class
10152         AutoSaveBuffer.
10153
10154 2002-10-30  John Levon  <levon@movementarian.org>
10155
10156         * text3.C: make start appendix undoable
10157
10158 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10159
10160         * lyxlength.C (inPixels): Fix returned value.
10161
10162         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10163         environment.
10164
10165 2002-10-24  Angus Leeming  <leeming@lyx.org>
10166
10167         * lyxgluelength.h: no need to forward declare BufferParams
10168         or BufferView, so don't.
10169
10170 2002-10-21  John Levon  <levon@movementarian.org>
10171
10172         * BufferView.C: menuUndo ->undo, redo
10173
10174         * BufferView.h: document, remove dead, make some methods private
10175
10176         * paragraph_funcs.h:
10177         * paragraph_funcs.C:
10178         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10179
10180         * buffer.h:
10181         * buffer.C:
10182         * sgml.h:
10183         * sgml.C: move sgml open/close tag into sgml.C
10184
10185         * bufferview_funcs.h: unused prototype
10186
10187         * lyxfunc.h:
10188         * lyxfunc.C: remove unused
10189
10190         * lyxtext.h:
10191         * text.C: remove unused
10192
10193 2002-10-21  John Levon  <levon@movementarian.org>
10194
10195         * BufferView.h:
10196         * BufferView.C:
10197         * BufferView_pimpl.h:
10198         * BufferView_pimpl.C: fix mouse wheel handling based on
10199           patch from Darren Freeman
10200
10201 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10202
10203         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10204
10205 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10206
10207         * lyxlength.C (inPixels): Fix hanfling of negative length.
10208         Fix LyXLength::MU case.
10209
10210 2002-10-16  John Levon  <levon@movementarian.org>
10211
10212         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10213
10214 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10215
10216         * converter.C (view): add support for $$i (file name) and $$p
10217         (file path) for the viewer command. If $$i is not specified, then
10218         it is appended to the command (for compatibility with old syntax)
10219
10220 2002-10-14  Juergen Vigna  <jug@sad.it>
10221
10222         * undo_funcs.C (textHandleUndo): alter the order in which the
10223         new undopar is added to the LyXText, as we have to set first
10224         the right prev/next and then add it as otherwise the rebuild of
10225         LyXText is not correct. Also reset the cursor to the right paragraph,
10226         with this IMO we could remove the hack in "redoParagraphs()".
10227
10228 2002-10-09  Angus Leeming  <leeming@lyx.org>
10229
10230         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10231         to turn off an optimisation if a new inset is to be inserted.
10232
10233 2002-10-11 André Pönitz <poenitz@gmx.net>
10234
10235         * lyxtext.h: make some functions public to allow access
10236         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10237
10238 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10239
10240         * text3.C (dispatch): when changing layout, avoid an infinite loop
10241         [bug #652]
10242
10243 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10244
10245         * lyxrc.C (read): treat a viewer or converter command of "none" as
10246         if it were empty.
10247
10248         * MenuBackend.C (expandFormats): for an update, also allow the
10249         formats that are not viewable
10250
10251         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10252         script if it is newer than the lyxrc.defaults in user directory
10253
10254 2002-10-07 André Pönitz <poenitz@gmx.net>
10255
10256         * text.C: Vitaly Lipatov's small i18n fix
10257
10258 2002-09-25  Angus Leeming  <leeming@lyx.org>
10259
10260         * ispell.h: doxygen fix.
10261
10262 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10263
10264         * buffer.h (readFile): Add a new argument to the method, to allow
10265         reading of old-format templates.
10266
10267 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10268
10269         * toc.C (getTocList): Get TOC from InsetWrap.
10270
10271 2002-09-16  John Levon  <levon@movementarian.org>
10272
10273         * lyxfunc.C: check tabular for cut/copy too
10274
10275 2002-09-12  John Levon  <levon@movementarian.org>
10276
10277         * LyXAction.C: tidy
10278
10279         * factory.h:
10280         * factory.C: add header
10281
10282         * paragraph_funcs.h:
10283         * paragraph_funcs.C: cleanup
10284
10285 2002-09-11  John Levon  <levon@movementarian.org>
10286
10287         * PrinterParams.h: odd/even default to true
10288
10289 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10290
10291         * PrinterParams.h: update printer parameters for new xforms dialog
10292
10293 2002-09-11  Angus Leeming  <leeming@lyx.org>
10294
10295         * lyxserver.C (read_ready): re-write to make it more transparent
10296         and to make it work in coherent fashion under Tru64 Unix.
10297
10298 2002-09-11  André Pönitz <poenitz@gmx.net>
10299
10300         * commandtags.h:
10301         * LyXAction.C:
10302         * text3.C: implement LFUN_WORDSEL
10303
10304 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10305
10306         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10307         make floatlist_ a boost::shared_ptr<FloatList>
10308
10309         * lyxtextclass.C: include FloatList.h
10310         (LyXTextClass): initialize floatlist_
10311         (TextClassTags): add TC_NOFLOAT
10312         (Read): match "nofloat" to TC_NOFLOAT and use it.
10313         (readFloat): modify call to floatlist_
10314         (floats): ditto
10315         (floats): ditto
10316
10317         * FloatList.[Ch] (FloatList): remove commented out float
10318         initialization.
10319         (erase): new function
10320
10321 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10322
10323         * MenuBackend.C (expandToc): fix crash when there is no document
10324         open
10325
10326 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10327
10328         * many files: Add insetwrap.
10329
10330 2002-09-09  John Levon  <levon@movementarian.org>
10331
10332         * text2.C: remove confusing and awkward depth wraparound
10333
10334 2002-09-09  John Levon  <levon@movementarian.org>
10335
10336         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10337
10338         * buffer.h:
10339         * buffer.C: remove getIncludeonlyList()
10340
10341         * paragraph.C:
10342         * lyxfunc.C: remove headers
10343
10344 2002-09-09  Juergen Vigna  <jug@sad.it>
10345
10346         * text.C (getColumnNearX): fix form Michael this is most
10347         probably a cut&paste bug.
10348
10349 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10350
10351         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10352
10353         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10354         references, ws changes.
10355
10356         * text2.C (init): update counters after init
10357         (insertParagraph): no need to set counter on idividual paragraphs.
10358         (setCounter): access the counters object in the textclass object
10359         on in the buffer object.
10360         (updateCounters): ditto
10361
10362         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10363         shared_ptr<Counters> to avoid loading counters.h in all
10364         compilation units.
10365         (LyXTextClass): initialize ctrs_
10366         (TextClassTags): add TC_COUNTER, and ...
10367         (Read): use it here.
10368         (CounterTags): new tags
10369         (readCounter): new function
10370         (counters): new funtion
10371         (defaultLayoutName): return a const reference
10372
10373         * counters.C (Counters): remove contructor
10374         (newCounter): remove a couple of unneeded statements.
10375         (newCounter): simplify a bit.
10376         (numberLabel): some small formatting changes.
10377
10378         * buffer.[Ch]: remove all traces of counters, move the Counters
10379         object to the LyXTextClass.
10380
10381 2002-09-06  Alain Castera  <castera@in2p3.fr>
10382
10383         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10384         package to set the horizontal alignment on fixed width columns.
10385
10386         * lyx_sty.C:
10387         * lyx_sty.h: added tabularnewline macro def.
10388
10389         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10390
10391 2002-09-06  John Levon  <levon@movementarian.org>
10392
10393         * LyXAction.C: tooltips for sub/superscript
10394
10395         * MenuBackend.C: a bit more verbose
10396
10397         * lyxfunc.C: tiny clean
10398
10399         * undo_funcs.C: document undo_frozen
10400
10401 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10402
10403         * counters.C (Counters): add missing algorithm counter.
10404
10405         * text2.C (setCounter): lookup the counter with layouts latexname
10406         instead of by section number.
10407         (setCounter): use a hackish way to lookup the correct enum
10408         counter.
10409         a float name->type change
10410         reset enum couners with counter name directly instead of depth value.
10411
10412         * counters.C (Counters): remove the push_backs, change to use the
10413         float type not the float name.
10414         (labelItem): remove unused string, float name->type change
10415
10416         * counters.h: don't include vector, loose the enums and sects vectors
10417
10418 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10419
10420         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10421         (Read): add float->TC_FLOAT to textclassTags
10422         (Read): and handle it in the switch
10423         (readFloat): new function
10424
10425         * FloatList.C (FloatList): comment out the hardcoded float
10426         definitions.
10427
10428         * lyxlayout.h: ws change.
10429
10430 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10431
10432         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10433
10434 2002-09-03  Angus Leeming  <leeming@lyx.org>
10435
10436         * BufferView_pimpl.h: qualified name is not allowed in member
10437         declaration: WorkArea & Pimpl::workarea() const;
10438
10439         * factory.C: added using std::endl directive.
10440
10441         * text3.C: added using std::find and std::vector directives.
10442
10443 2002-08-29  André Pönitz <poenitz@gmx.net>
10444
10445         * lyxtext.h:
10446         * text2.C: remove unused member number_of_rows
10447
10448         * Makefile.am:
10449         * BufferView2.C: remove file, move contents to...
10450         * BufferView.C: ... here
10451
10452         * BufferView_pimpl.C:
10453         * factory.C: move more inset creation to factory
10454
10455         * vspace.C: avoid direct usage of LyXText, ws changes
10456
10457         * BufferView.[Ch]:
10458                 don't provide direct access to WorkArea, use two simple
10459                 acessors haveSelction() and workHeight() instead
10460
10461
10462 2002-08-29  John Levon  <levon@movementarian.org>
10463
10464         * BufferView_pimpl.C (dispatch): do not continue when
10465           no buffer
10466
10467 2002-08-28  André Pönitz <poenitz@gmx.net>
10468
10469         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10470
10471         * BufferView.h:
10472         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10473
10474 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10475
10476         * buffer.C: increment LYX_FORMAT to 221
10477
10478         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10479         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10480
10481         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10482
10483         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10484
10485 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10486
10487         * factory.C (createInset): use LyXTextClass::floats
10488
10489         * MenuBackend.C (expandFloatListInsert):
10490         (expandFloatInsert):
10491         (expandToc):
10492
10493         * text2.C (setCounter):
10494
10495         * LaTeXFeatures.C (useFloat):
10496         (getFloatDefinitions):
10497
10498         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10499
10500         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10501         floatlist_, with accessor floats().
10502
10503         * FloatList.h: remove global FloatList
10504
10505 2002-08-26  André Pönitz <poenitz@gmx.net>
10506
10507         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10508
10509         * BufferView.h:
10510         * BufferView2.C:
10511         * BufferView_pimpl.C:
10512         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10513
10514 2002-08-25  John Levon  <levon@movementarian.org>
10515
10516         * LyXAction.C: fix margin note description
10517
10518 2002-08-24  John Levon  <levon@movementarian.org>
10519
10520         * buffer.C:
10521         * bufferlist.C:
10522         * bufferview_funcs.C:
10523         * lyxfont.C:
10524         * undo_funcs.C: cleanups
10525
10526         * lyxfunc.C: disable CUT/COPY when no selection
10527
10528 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10529
10530         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10531         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10532
10533         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10534         Add backward compatibility to "mono", "gray" and "no".
10535
10536 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10537
10538         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10539         (and file_format >= 200).
10540
10541 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10542
10543         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10544
10545 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10546
10547         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10548
10549 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10550
10551         * BufferView_pimpl.C:
10552         * LyXAction.C:
10553         * buffer.C:
10554         * commandtags.h:
10555         * lyxfunc.C:
10556         * paragraph.[Ch]:
10557         * text2.C:
10558         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10559         inset and code to make it  work with the paragraph code. The inset
10560         can be anywhere in the paragraph, but will only do the expected
10561         thing in LaTeX if the layout file contains the parameter line
10562                         OptionalArgs    1
10563         (or more generally, a nonzero value) for that layout.
10564
10565 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10566
10567         * paragraph.h: remove the declaration of undefined counters class
10568         function.
10569
10570 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10571
10572         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10573         Dr. Richard Hawkins.
10574
10575 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10576
10577         * paragraph_funcs.h: remove some unneeded includes
10578
10579         * text.C (backspace): pasteParagraph now in global scipe
10580
10581         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10582         (pasteSelection): ditto
10583
10584         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10585         * paragraph_funcs.C (pasteParagraph): ... here
10586
10587 2002-08-20  André Pönitz <poenitz@gmx.net>
10588
10589         * commandtags.h: new LFUNs for swapping/copying table row/colums
10590
10591         * LyXAction.C:
10592         * lyxfunc.C: support for new lfuns
10593
10594 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10595
10596         * tabular.C:
10597         * buffer.[Ch]: remove NO_COMPABILITY stuff
10598
10599 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10600
10601         * boost.C (throw_exception): new file, with helper function for
10602         boost compiled without exceptions.
10603
10604         * paragraph.h:
10605         * lyxlength.C:
10606         * buffer.C:
10607         * ParameterStruct.h:
10608         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10609
10610         * bufferlist.C (emergencyWriteAll): use boost bind
10611
10612         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10613
10614         * text.C: include paragraph_funcs.h
10615         (breakParagraph): breakParagraph is now in global scope
10616
10617         * paragraph_funcs.[Ch]: new files
10618
10619         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10620         global scope
10621
10622         * buffer.C: include paragraph_funcs.h
10623         (insertStringAsLines): breakParagraph is now in global scope
10624
10625         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10626         paragraph_funcs.C
10627
10628         * CutAndPaste.C: include paragraph_funcs.h
10629         (cutSelection): breakParagraphConservative is now in global scope
10630         (pasteSelection): ditto
10631
10632         * buffer.h: declare oprator== and operator!= for
10633         Buffer::inset_iterator
10634
10635         * bufferlist.C (emergencyWrite): don't use fmt(...)
10636
10637         * text3.C: add using std::endl
10638
10639         * BufferView.C (moveCursorUpdate): remove default arg
10640
10641 2002-08-20  André Pönitz <poenitz@gmx.net>
10642
10643         * buffer.[Ch]: move inline functions to .C
10644
10645         * BufferView2.C:
10646         * BufferView_pimpl.C:
10647         * text.C:
10648         * buffer.[Ch]: use improved inset_iterator
10649
10650         * buffer.C:
10651         * paragraph.[Ch]: write one paragraph at a time
10652
10653 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10654
10655         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10656         style if style is not specified.
10657
10658 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10659
10660         * text2.C (setCounter): when searching for right label for a
10661         caption, make sure to recurse to parent insets (so that a caption
10662         in a minipage in a figure float works) (bug #568)
10663
10664 2002-08-20  André Pönitz <poenitz@gmx.net>
10665
10666         * text3.C: new file for LyXText::dispatch() and helpers
10667
10668         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10669
10670         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10671
10672 2002-08-19  André Pönitz <poenitz@gmx.net>
10673
10674         * lyxtext.h:
10675         * text.C: new LyXText::dispatch()
10676
10677         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10678
10679 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10680
10681         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10682
10683         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10684         Hebrew text.
10685
10686 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10687
10688         * Makefile.am: use $(variables) instead of @substitutions@
10689
10690 2002-08-15  André Pönitz <poenitz@gmx.net>
10691
10692         * lyxfunc.C:
10693         * BufferView_pimpl.C: streamlining mathed <-> outer world
10694         interaction
10695
10696         * commandtags.h:
10697         * LyXAction.C: remove unused LFUN_MATH
10698
10699 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10700
10701         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10702
10703 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10704
10705         * paragraph.C (Paragraph): reformat a bit
10706         (cutIntoMinibuffer): use builtin InsetList function instad of
10707         doing it manually.
10708         (getInset): ditto
10709
10710         * buffer.C: include boost/bind.hpp, add using std::for_each
10711         (writeFileAscii): use ParagraphList iterators
10712         (validate): use for_each for validate traversal of paragraphs
10713         (getBibkeyList): use ParagraphList iterators
10714         (resizeInsets): use for_each to resizeInsetsLyXText for all
10715         paragraphs.
10716         (getParFromID): use ParagraphList iterators
10717
10718         * BufferView2.C (lockInset): use paragraph list and iterators
10719
10720 2002-08-14  John Levon  <levon@movementarian.org>
10721
10722         * lyxserver.C: remove spurious xforms include
10723
10724 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10725
10726         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10727
10728 2002-08-13  André Pönitz <poenitz@gmx.net>
10729
10730         * LyXAction.[Ch]:
10731         * lyxfunc.C: further cleaning
10732
10733 2002-08-13  André Pönitz <poenitz@gmx.net>
10734
10735         * funcrequest.h: new constructor
10736
10737         * funcrequest.C: move stuff here from .h
10738
10739         * Makefile.am:
10740         * BufferView_pimpl.C:
10741         * LyXAction.C:
10742         * toc.C:
10743         * lyxfunc.C: subsequent changes
10744
10745         * lyxfunc.h: new view() member function
10746
10747         * lyxfunc.C: subsequent changes
10748
10749 2002-08-13  Angus Leeming  <leeming@lyx.org>
10750
10751         * BufferView2.C:
10752         * BufferView_pimpl.C:
10753         * buffer.C:
10754         * converter.C:
10755         * importer.C:
10756         * lyxfunc.C:
10757         * lyxvc.C:
10758         * toc.C:
10759         * vc-backend.C:
10760         changes due to the changed LyXView interface that now returns references
10761         to member variables not pointers.
10762
10763 2002-08-13  Angus Leeming  <leeming@lyx.org>
10764
10765         * WordLangTuple (word, lang_code): return references to strings,
10766         not strings.
10767
10768         * BufferView.h:
10769         * SpellBase.h:
10770         * lyxtext.h: forward-declare WordLangTuple.
10771
10772         * BufferView2.C:
10773         * ispell.C:
10774         * pspell.C:
10775         * text.C: #include "WordLangTuple.h".
10776
10777         * lyxtext.h:
10778         * text.C: (selectNextWordToSpellcheck): constify return type.
10779
10780 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10781
10782         * buffer.C:
10783         * buffer.h:
10784         * lyxtext.h:
10785         * paragraph.C:
10786         * paragraph_pimpl.h:
10787         * text.C:
10788         * text2.C:
10789         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10790         suggested by Angus.
10791         Made updateCounter always count from start of buffer, and removed
10792         second argument (par).
10793         Reverted floats number display to '#'. Perhaps I'll try again when the
10794         code base is sanitized a bit.
10795
10796 2002-08-12  Angus Leeming  <leeming@lyx.org>
10797
10798         * buffer.[Ch] (getLabelList): constify.
10799
10800 2002-08-07  André Pönitz <poenitz@gmx.net>
10801
10802         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10803
10804         * funcrequest.h: extension to keep mouse (x,y) position
10805
10806 2002-08-12  Juergen Vigna  <jug@sad.it>
10807
10808         * BufferView2.C (insertErrors): forbid undo when inserting error
10809         insets.
10810
10811         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10812
10813 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10814
10815         * ParagraphList.[Ch]: new files
10816
10817         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10818
10819         * BufferView2.C (lockInset): ParagraphList changes
10820         * toc.C: ditto
10821         * text2.C: ditto
10822         * bufferlist.C: ditto
10823         * buffer.h: ditto
10824         * buffer.C: ditto
10825
10826 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10827
10828         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10829         unused class variable counter_,
10830
10831         * paragraph.[Ch] (getFirstCounter): delete unused function
10832
10833         * counters.C: include LAssert.h
10834         (reset): add a new function with no arg, change other version to
10835         not have def. arg and to not allow empty arg.
10836
10837         * text2.C (setCounter): remove empty arg from call to Counters::reset
10838
10839 2002-08-11  John Levon  <levon@movementarian.org>
10840
10841         * Makefile.am: add WordLangTuple.h
10842
10843 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10844
10845         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10846         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10847
10848         * insets/insettext.C: InsetList changes
10849
10850         * graphics/GraphicsSupport.C (operator()): InsetList changes
10851
10852         * toc.C (getTocList): InsetList changes
10853
10854         * paragraph_pimpl.[Ch]: InsetList changes
10855
10856         * paragraph.[Ch]: InsetList changes
10857
10858         * buffer.C (inset_iterator): InsetList changes
10859         (setParagraph): ditto
10860         * buffer.h (inset_iterator): ditto
10861         * iterators.C (operator++): ditto
10862         * iterators.h: ditto
10863
10864         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10865
10866         * InsetList.[Ch]: new files, most InsetList handling moved out of
10867         paragraph.C.
10868
10869         * BufferView2.C (removeAutoInsets): InsetList changes
10870         (lockInset): ditto
10871         (ChangeInsets): ditto
10872
10873 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10874
10875         * paragraph_pimpl.h (empty): new function
10876
10877         * paragraph.[Ch] (empty): new function
10878
10879         * other files: use the new Paragraph::empty function
10880
10881 2002-08-09  John Levon  <levon@movementarian.org>
10882
10883         * lyxtext.h: remove unused refresh_height
10884
10885 2002-08-09  John Levon  <levon@movementarian.org>
10886
10887         * Makefile.am:
10888         * sgml.h:
10889         * sgml.C:
10890         * buffer.C:
10891         * paragraph.h:
10892         * paragraph.C: move sgml char escaping out of paragraph
10893
10894         * paragraph.h:
10895         * paragraph.C: remove id setter
10896
10897         * buffer.C:
10898         * paragraph.C:
10899         * paragraph_pimpl.C: remove dead tex_code_break_column
10900
10901         * bufferview_funcs.C: small cleanup
10902
10903         * lyxfunc.C: remove dead proto
10904
10905         * lyxtext.h: make some stuff private. Remove some dead stuff.
10906
10907         * lyxgluelength.C: make as[LyX]String() readable
10908
10909 2002-08-08  John Levon  <levon@movementarian.org>
10910
10911         * LyXAction.h:
10912         * LyXAction.C:
10913         * MenuBackend.C:
10914         * ToolbarDefaults.C:
10915         * lyxfunc.C:
10916         * lyxrc.C:
10917         * toc.C: lyxaction cleanup
10918
10919 2002-08-08  John Levon  <levon@movementarian.org>
10920
10921         * BufferView2.C: small cleanup
10922
10923         * lyxfind.h:
10924         * lyxfind.C: move unnecessary header into the .C
10925
10926 2002-08-08  John Levon  <levon@movementarian.org>
10927
10928         * funcrequest.h: just tedious nonsense
10929
10930         * lyx_main.h:
10931         * lyx_main.C: cleanups
10932
10933         * buffer.C:
10934         * vspace.C: remove dead header lyx_main.h
10935
10936 2002-08-07  Angus Leeming  <leeming@lyx.org>
10937
10938         * Paragraph.[Ch]:
10939         * paragraph_pimpl.h:
10940         Forward declare class Counters in paragraph.h by moving the ctrs member
10941         variable into Paragraph::Pimpl.
10942         (counters): new method, returning a reference to pimpl_->ctrs.
10943
10944         * text2.C: ensuing changes.
10945
10946 2002-08-07  John Levon  <levon@movementarian.org>
10947
10948         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10949
10950         * BufferView_pimpl.C: announce X selection on double/triple
10951           click
10952
10953         * lyx_main.C: use correct bool in batch dispatch
10954
10955         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10956
10957 2002-08-07  André Pönitz <poenitz@gmx.net>
10958
10959         * funcrequest.h: new class to wrap a kb_action and its argument
10960
10961         * BufferView.[Ch]:
10962         * BufferView_pimpl[Ch]:
10963         * LaTeX.C:
10964         * LyXAction.[Ch]:
10965         * lyxfunc.[Ch]:
10966         * lyxrc.C: subsequent changes
10967
10968
10969 2002-08-07  John Levon  <levon@movementarian.org>
10970
10971         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10972           document options change.
10973
10974 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10975
10976         * counters.[Ch]
10977         * text2.C
10978         * paragraph.[Ch]
10979         * makefile.am: move counters functionality over from
10980         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10981
10982 2002-08-06  John Levon  <levon@movementarian.org>
10983
10984         * WordLangTuple.h: new file for word + language code tuple
10985
10986         * SpellBase.h:
10987         * pspell.h:
10988         * pspell.C:
10989         * ispell.h:
10990         * ispell.C:
10991         * lyxtext.h:
10992         * text.C:
10993         * text2.C:
10994         * BufferView.h:
10995         * BufferView2.C: use WordLangTuple
10996
10997         * layout.h:
10998         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10999
11000 2002-08-06  John Levon  <levon@movementarian.org>
11001
11002         * lyx_main.C: fix cmdline batch handling
11003
11004 2002-08-06  André Pönitz <poenitz@gmx.net>
11005
11006         * lyxrc.C: set default for show_banner to true
11007
11008 2002-08-06  John Levon  <levon@movementarian.org>
11009
11010         * pspell.C: fix a crash, and allow new aspell to work
11011
11012 2002-08-06  John Levon  <levon@movementarian.org>
11013
11014         * lyxfunc.C:
11015         * kbmap.C: small cleanup
11016
11017         * vspace.h:
11018         * vspace.C: add const
11019
11020 2002-08-05  John Levon  <levon@movementarian.org>
11021
11022         * LyXAction.C: back to tabular-insert
11023
11024 2002-08-04  John Levon  <levon@movementarian.org>
11025
11026         * BufferView.h:
11027         * BufferView.C: cosmetic change
11028
11029         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11030
11031         * bufferlist.C:
11032         * buffer.h:
11033         * buffer.C:
11034         * lyxcb.h:
11035         * lyxcb.C:
11036         * lyxserver.C:
11037         * lyxvc.C:
11038         * vc-backend.C:
11039         * BufferView2.C: purge all "Lyx" not "LyX" strings
11040
11041         * lyxcursor.h:
11042         * lyxcursor.C: attempt to add some documentation
11043
11044         * lyxfunc.C:
11045         * commandtags.h:
11046         * LyXAction.C:
11047         * ToolbarDefaults.C:
11048         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11049           merge with LFUN_TABULAR_INSERT
11050
11051         * Makefile.am:
11052         * SpellBase.h:
11053         * ispell.h:
11054         * ispell.C:
11055         * pspell.h:
11056         * pspell.C: split up i/pspell implementations into separate
11057           files, many cleanups
11058
11059         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11060
11061         * text2.C: some cleanup
11062
11063         * lyxfunc.C: don't check for isp_command == "none" any more, it
11064           didn't make any sense
11065
11066 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11067
11068         * counters.[Ch]
11069         * text2.C
11070         * paragraph.[Ch]
11071         * makefile.am: move counters functionality over
11072         from text2.C/paragraph.[Ch] to counters.[Ch], and
11073         make proper C++.
11074 2002-08-02  John Levon  <levon@movementarian.org>
11075
11076         * buffer.C: s/lyxconvert/lyx2lyx/
11077
11078 2002-08-02  Angus Leeming  <leeming@lyx.org>
11079
11080         * lyxlex.C: revert John's change as it breaks reading of the user
11081         preamble.
11082
11083 2002-08-02  Angus Leeming  <leeming@lyx.org>
11084
11085         * importer.C (Import):
11086         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11087         changes due to LyXView::view() now returning a boost::shared_ptr.
11088
11089 2002-08-02  John Levon  <levon@movementarian.org>
11090
11091         * lyxlex.C: small cleanup
11092
11093 2002-08-02  John Levon  <levon@movementarian.org>
11094
11095         * text2.C (status): small cleanup, no logic change
11096
11097 2002-08-01  John Levon  <levon@movementarian.org>
11098
11099         * buffer.h:
11100         * buffer.C (writeFile): don't output alerts, caller
11101           handles this
11102
11103         * bufferlist.C:
11104         * lyx_cb.C: from above
11105
11106         * lyxfunc.C: allow to open non-existent files
11107
11108 2002-07-31  John Levon  <levon@movementarian.org>
11109
11110         * lyxserver.C: don't let incidental errors get
11111           in the way (errno)
11112
11113 2002-07-30  John Levon  <levon@movementarian.org>
11114
11115         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11116
11117 2002-07-30  John Levon  <levon@movementarian.org>
11118
11119         * lyxserver.h:
11120         * lyxserver.C: remove I/O callback too
11121
11122 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11123
11124         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11125         log.
11126
11127 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11128
11129         * many files: strip,frontStrip -> trim,ltrim,rtrim
11130
11131 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11132
11133         * PrinterParams.h: remove extern containsOnly, and include
11134         support/lstrings.h instead.
11135
11136         * LaTeX.C (scanAuxFile): modify because of strip changes
11137         (deplog): ditto
11138         * buffer.C (makeLaTeXFile): ditto
11139         * bufferparams.C (writeFile): ditt
11140         * lyxfont.C (stateText): ditto
11141         * lyxserver.C (read_ready): ditto
11142         * vc-backend.C (scanMaster): ditto
11143
11144         * BufferView_pimpl.h: ws changes
11145
11146         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11147
11148 2002-07-26  André Pönitz <poenitz@gmx.net>
11149
11150         * kb_sequence.C: remove unnedred usings
11151
11152 2002-07-26  Juergen Vigna  <jug@sad.it>
11153
11154         * lyxfind.C (LyXReplace): we have to check better if the returned
11155         text is not of theLockingInset()->getLockingInset().
11156
11157 2002-07-25  Juergen Vigna  <jug@sad.it>
11158
11159         * lyxfind.C (LyXReplace): don't replace if we don't get the
11160         right LyXText.
11161
11162         * undo_funcs.C (createUndo): remove debugging code.
11163
11164 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11165
11166         * buffer.C (parseSingleLyXformat2Token): Use default placement
11167         when reading old floats.
11168
11169         * FloatList.C (FloatList): Change the default placement of figure
11170         and tables to "tbp".
11171
11172 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11173
11174         * MenuBackend.C: using std::max
11175
11176 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11177
11178         * MenuBackend.C (expandToc):
11179         (expandToc2): code moved from xforms menu frontend. It is now
11180         generic and TOCs are transparent to menu frontends.
11181
11182 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11183
11184         * toc.C (getTocList): protect against buf=0
11185
11186         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11187         Menu as first parameter. Now, this calls itself recursively to
11188         expand a whole tree (this will be useful for TOC handling)
11189         (expandFloatInsert): remove 'wide' version of floats
11190
11191         * MenuBackend.h (submenuname): returns the name of the submenu.
11192         (submenu): returns the submenu itself, provided it has been
11193         created by MenuBackend::expand
11194
11195 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11196
11197         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11198         insets which have noFontChange == true. (bug #172)
11199
11200 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11201
11202         * BufferView_pimpl.C: add connection objects and use them...
11203         (Pimpl): here.
11204
11205 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11206
11207         * MenuBackend.C (expandLastfiles):
11208         (expandDocuments):
11209         (expandFormats):
11210         (expandFloatListInsert):
11211         (expandFloatInsert):
11212         (expand): split expand in parts
11213
11214 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11215
11216         * lyx_gui.C: use lyx_gui::exit()
11217
11218 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11219
11220         * LyXAction.C: show the failing pseudo action
11221
11222 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11223
11224         * buffer.C (readFile): Run the lyxconvert script in order to read
11225         old files.
11226
11227 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11228
11229         * LyXAction.C:
11230         * commandtags.h:
11231         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11232
11233 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11234
11235         * LyXAction.C:
11236         * commandtags.h:
11237         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11238
11239 2002-07-22  Herbert Voss  <voss@lyx.org>
11240
11241         * lengthcommon.C:
11242         * lyxlength.[Ch]: add support for the vertical lengths
11243
11244 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11245
11246         * toc.[Ch]: std:: fixes
11247
11248 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11249
11250         * lyxrc.C: do not include lyx_main.h
11251
11252         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11253         for layouts
11254
11255         * lyxrc.C:
11256         * encoding.C:
11257         * bufferlist.C:
11258         * BufferView2.C: include "lyxlex.h"
11259
11260         * tabular.h:
11261         * bufferparams.h: do not #include "lyxlex.h"
11262
11263         * lyxtextclasslist.C (Add): remove method
11264         (classlist): renamed to classlist_
11265
11266         * paragraph_pimpl.C:
11267         * paragraph.C:
11268         * text2.C:
11269         * CutAndPaste.C:
11270         * bufferview_funcs.C:
11271         * bufferlist.C:
11272         * text.C:
11273         * LaTeXFeatures.C:
11274         * buffer.C:
11275         * toc.C (getTocList): use BufferParams::getLyXTextClass
11276
11277         * toc.C (getTocList): use InsetFloat::addToToc
11278
11279         * toc.[Ch]: new files, containing helper functions to handle table
11280         of contents
11281
11282         * lyxfunc.C (dispatch): no need to remove spaces around command
11283         given as a string
11284         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11285         first command of the sequence; it is not very clever, but I do not
11286         have a better idea, actually
11287
11288         * LyXAction.C (LookupFunc): make sure to remove space at the
11289         beginning and end of the command
11290
11291 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11292
11293         * MenuBackend.C (getMenubar): new method: return the menubar of
11294         this menu set
11295         (read): treat differently reading of menu and menubar (in
11296         particular, the menubar has no name now)
11297         (Menu::menubar): remove
11298
11299         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11300         saving is finished
11301
11302 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11303
11304         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11305         a bibitem inset in a RTL paragraph.
11306
11307 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11308
11309         * paragraph_pimpl.C: constify
11310
11311         * BufferView_pimpl.C:
11312         * LaTeX.C:
11313         * lyxfunc.C: fix dispatch in a nicer way
11314
11315 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11316
11317         * lyxfunc.C (dispatch):
11318         * BufferView_pimpl.C:
11319         * BufferView_pimpl.h:
11320         * BufferView.C:
11321         * BufferView.h: rename Dispatch() to dispatch()
11322
11323         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11324
11325         * lyxlayout.C (Read): honor DependsOn tag
11326
11327         * lyxlayout.[Ch] (depends_on): new method
11328
11329         * version.C.in: update lyx_docversion
11330
11331         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11332
11333         * paragraph.C (validate): remove from here...
11334         * paragraph_pimpl.C (validate): ... and move here
11335         (isTextAt): make it const
11336
11337         * buffer.C (getLists): ws cleanup
11338
11339 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11340
11341         * language.C (read): Use iso8859-1 encoding in latex_lang
11342         (this prevents LyX from crashing when using iso10646-1 encoding).
11343
11344 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11345
11346         * text2.C (toggleInset): if cursor is inside an inset, close the
11347         inset and leave cursor _after_ it
11348
11349 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11350
11351         * lyxfunc.C: move minibuffer completion handling out of here
11352
11353 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11354
11355         * BufferView_pimpl.C:
11356         * LaTeX.C: fix dispatch calls
11357
11358 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11359
11360         * text.C (drawChars): Fix Arabic text rendering.
11361
11362 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11363
11364         * LyXAction.C:
11365         * commandtags.h:
11366         * lyxfunc.C: remove message-push/pop
11367
11368         * lyxserver.C:
11369         * lyxfunc.h:
11370         * lyxfunc.C: rationalise some code by removing verboseDispatch
11371           in favour of a bool argument to dispatch()
11372
11373 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11374
11375         * lyx_main.C (init): make sure to read symlinks as absolute paths
11376
11377 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11378
11379         * lyxfunc.h:
11380         * lyxfunc.C: no need for commandshortcut to be a member
11381
11382 2002-07-15  André Pönitz <poenitz@gmx.net>
11383
11384         * converter.C: add support for $$s (scripts from lib/scripts dir)
11385         * lyx_main.C: white space
11386
11387 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11388
11389         * bufferlist.C:
11390         * lyxrc.h:
11391         * lyxrc.C: remove second exit confirmation
11392
11393 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11394
11395         * BufferView.h:
11396         * BufferView.C:
11397         * BufferView2.C:
11398         * BufferView_pimpl.h:
11399         * BufferView_pimpl.C:
11400         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11401
11402 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11403
11404         * MenuBackend.C (expand): add numeric shortcuts to document menu
11405
11406         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11407
11408 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11409
11410         * lyxfont.C (setLyXFamily):
11411         (setLyXSeries):
11412         (setLyXShape):
11413         (setLyXSize):
11414         (setLyXMisc):
11415         (lyxRead):
11416         * debug.C (value):
11417         * buffer.C (asciiParagraph): use ascii_lowercase
11418
11419 2002-07-15  Mike Fabian  <mfabian@suse.de>
11420
11421         * lyxlex_pimpl.C (search_kw):
11422         * lyxlex.C (getLongString):
11423         * converter.h (operator<):
11424         * converter.C (operator<):
11425         * buffer.C (parseSingleLyXformat2Token):
11426         (asciiParagraph):
11427         * ToolbarDefaults.C (read):
11428         * MenuBackend.C (checkShortcuts):
11429         (read):
11430         * LColor.C (getFromGUIName):
11431         (getFromLyXName): use the compare_ascii_no_case instead of
11432         compare_no_case, because in turkish, 'i' is not the lowercase
11433         version of 'I', and thus turkish locale breaks parsing of tags.
11434
11435 2002-07-16  Angus Leeming  <leeming@lyx.org>
11436
11437         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11438         now takes a Buffer const & argument.
11439
11440 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11441
11442         * BufferView.C (resize): check there's a buffer to resize
11443
11444 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11445
11446         * lyxfunc.C: remove dead code
11447
11448         * lyxserver.h:
11449         * lyxserver.C: use lyx_guii::set_read_callback
11450
11451 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11452
11453         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11454         an inset in a RTL paragraph.
11455
11456 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11457
11458         * lyxfunc.C: repaint after a font size update
11459
11460 2002-07-15  André Pönitz <poenitz@gmx.net>
11461
11462         * lyxlength.C: inBP should be able to return negative values
11463
11464 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11465
11466         * lyxfunc.C: use lyx_gui::update_fonts()
11467
11468 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11469
11470         * lyxfunc.C: use lyx_gui::update_color()
11471
11472 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11473
11474         * bufferlist.C:
11475         * lyxfunc.h:
11476         * lyxfunc.C:
11477         * lyxrc.h:
11478         * lyxrc.C: remove file->new asks for name option, and let
11479           buffer-new take an argument
11480
11481 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11482
11483         * BufferView_pimpl.C: remove unneeded extra repaint()
11484
11485 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11486
11487         * LyXAction.C: allow command-sequence with NoBuffer
11488
11489         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11490
11491 2002-07-10  Angus Leeming  <leeming@lyx.org>
11492
11493         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11494
11495 2002-07-09  Angus Leeming  <leeming@lyx.org>
11496
11497         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11498
11499 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * lengthcommon.h: whitespace
11502
11503         * lyxfunc.C: update scrollbar after goto paragraph
11504
11505         * lyxtext.h: factor out page break drawing, and fix it so
11506           page break/added space paints as selected nicely
11507
11508 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11509
11510         * BufferView_pimpl.C: add FIXMEs, clean up a little
11511
11512 2002-07-09  André Pönitz <poenitz@gmx.net>
11513
11514         * lyxfont.[Ch]: support for wasy symbols
11515
11516 2002-07-08  André Pönitz <poenitz@gmx.net>
11517
11518         * BufferView_pimpl.C: apply John's patch for #93.
11519
11520 2002-07-05  Angus Leeming  <leeming@lyx.org>
11521
11522         * BufferView_pimpl.C (buffer): generate previews if desired.
11523
11524         * LColor.h: add "preview" to the color enum.
11525
11526         * LColor.C (LColor): add a corresponding entry to the items array.
11527
11528         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11529         with this buffer.
11530
11531 2002-07-05  Angus Leeming  <leeming@lyx.org>
11532
11533         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11534         The body of the code is now in the method that is passed an ostream &
11535         rather than a file name.
11536         Pass an additional only_preamble parameter, useful for the forthcoming
11537         preview stuff.
11538
11539 2002-07-03  André Pönitz <poenitz@gmx.net>
11540
11541         * lyxfunc.C: simplify getStatus() a bit for math stuff
11542
11543 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11544
11545         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11546
11547 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11548
11549         * text.C (changeRegionCase): do not change case of all the
11550         document when region ends at paragraph end (bug #461)
11551
11552 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11553
11554         * paragraph.C (startTeXParParams):
11555         (endTeXParParams): add \protect when necessary
11556
11557 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11558
11559         * BufferView_pimpl.C (workAreaExpose): remove warning
11560
11561 2002-06-27  Angus Leeming  <leeming@lyx.org>
11562
11563         * Makefile.am: add lyxlayout_ptr_fwd.h.
11564
11565 2002-06-26  André Pönitz <poenitz@gmx.net>
11566
11567         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11568
11569 2002-06-25  Angus Leeming  <leeming@lyx.org>
11570
11571         * lyxfunc.C (dispatch): Comment out the call to
11572         grfx::GCache::changeDisplay. The method no longer exists now that the
11573         pixmap generation part of the graphics loader has been moved into
11574         InsetGraphics.
11575
11576 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11577
11578         * text2.C: layout as layout
11579
11580         * text.C: layout as layout
11581
11582         * tabular.C (OldFormatRead): layout as layout
11583
11584         * paragraph_pimpl.C (TeXDeeper): layout as layout
11585         (realizeFont): layout as layout
11586
11587         * paragraph.C (writeFile): layout as layout
11588         (validate): layout as layout
11589         (getFont): layout as layout
11590         (getLabelFont): layout as layout
11591         (getLayoutFont): layout as layout
11592         (breakParagraph): layout as layout
11593         (stripLeadingSpaces): layout as layout
11594         (getEndLabel): layout as layout
11595         (getMaxDepthAfter): layout as layout
11596         (applyLayout): layout as layout
11597         (TeXOnePar): layout as layout
11598         (simpleTeXOnePar): layout as layout
11599         (TeXEnvironment): layout as layout
11600         (layout): layout as layout
11601         (layout): layout as layout
11602
11603         * lyxtextclass.C (compare_name): new functor to work with
11604         shared_ptr, layout as layout
11605         (Read): layout as layout
11606         (hasLayout): layout as layout
11607         (operator): layout as layout
11608         (delete_layout): layout as layout
11609         (defaultLayout): layout as layout
11610
11611         * lyxlayout_ptr_fwd.h: new file
11612
11613         * lyxlayout.C (Read): layout as layout
11614
11615         * lyx_cb.C (MenuInsertLabel): layout as layout
11616
11617         * bufferlist.C (newFile): layout as layout
11618
11619         * buffer.C (readLyXformat2): layout as layout
11620         (parseSingleLyXformat2Token): layout as layout
11621         (insertStringAsLines): layout as layout
11622         (asciiParagraph): layout as layout
11623         (latexParagraphs): layout as layout
11624         (makeLinuxDocFile): layout as layout
11625         (simpleLinuxDocOnePar): layout as layout
11626         (makeDocBookFile): layout as layout
11627         (simpleDocBookOnePar): layout as layout
11628         (getLists): layout as layout
11629
11630         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11631
11632         * CutAndPaste.C (cutSelection): layout as layout
11633         (pasteSelection): layout as layout
11634         (SwitchLayoutsBetweenClasses): layout as layout
11635
11636         * BufferView_pimpl.C (Dispatch): layout as layout
11637         (smartQuote): layout as layout
11638
11639         * BufferView2.C (unlockInset): layout as layout
11640
11641 2002-06-24  André Pönitz <poenitz@gmx.net>
11642
11643         * lyxfunc.C: fix #487
11644
11645 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11646
11647         * lyxrc.h:
11648         * lyxrc.C:
11649         * lyxfunc.C: remove display_shortcuts, show_banner
11650
11651 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11652
11653         * Buffer_pimpl.C: oops, update on resize
11654
11655 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11656
11657         * buffer.C:
11658         * converter.C:
11659         * exporter.C:
11660         * lyxfunc.C:
11661         * BufferView.h:
11662         * BufferView.C: use repaint()
11663
11664         * BufferView_pimpl.h:
11665         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11666           as it's a clearer description. Remove superfluous
11667           redraws.
11668
11669 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11670
11671         * text.C: fix bug 488. Not ideal, but getting
11672           getWord() to work properly for the insets that
11673           matter is more difficult ...
11674
11675 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11676
11677         * BufferView_pimpl.C:
11678         * LyXAction.C:
11679         * commandtags.h:
11680         * lyxfunc.C: remove the six million index lyxfuncs to just
11681           one, and DTRT (bug 458)
11682
11683 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11684
11685         * BufferView.h:
11686         * BufferView.C:
11687         * BufferView_pimpl.h:
11688         * BufferView_pimpl.C: clean up resize() stuff,
11689           and unnecessary updateScreen()s
11690
11691 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11692
11693         * BufferView.h:
11694         * BufferView.C:
11695         * BufferView_pimpl.h:
11696         * BufferView_pimpl.C:
11697         * lyxfind.h:
11698         * lyxfind.C:
11699         * minibuffer.C: remove focus management of workarea,
11700           not needed. Use screen's greyOut()
11701
11702 2002-06-17  Herbert Voss  <voss@lyx.org>
11703
11704         * converter.C: (convert) do not post a message, when converting
11705         fails, let the calling function decide what to do in this case
11706
11707 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11708
11709         * lyxfunc.C: tidy up a little
11710
11711 2002-06-16    <alstrup@diku.dk>
11712
11713         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11714         Got rid of FORMS_H_LOCATION include. Now we are
11715         GUII.
11716
11717 2002-06-15  LyX Development team  <lyx@rilke>
11718
11719         * buffer.[Ch] (sgmlOpenTag):
11720         (sgmlCloseTag): Added support for avoiding pernicious mixed
11721         content. Return number of lines written.
11722
11723         (makeLinuxDocFile):
11724         (makeDocBookFile): Fixed calls to sgml*Tag.
11725         Simple white space clean.
11726
11727         (simpleDocBookOnePar): Simple white space clean.
11728
11729         * tabular.[Ch] (docBook): Renamed to docbook and got another
11730         argument to related with the pernicious mixed content.
11731
11732         (docbookRow): Fixed calls for docbook inset method.
11733
11734 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11735
11736         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11737         so it's X11 independent.
11738
11739         * kb*.[Ch]: ditto.
11740
11741         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11742
11743 2002-06-15  Lyx Development team  <lyx@electronia>
11744
11745         * intl.h: Renamed getTrans to getTransManager.
11746
11747 2002-06-14  Angus Leeming  <leeming@lyx.org>
11748
11749         * Makefile.am: nuke forgotten stl_string_fwd.h.
11750
11751 2002-06-12  Angus Leeming  <leeming@lyx.org>
11752
11753         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11754
11755 2002-06-13  Angus Leeming  <leeming@lyx.org>
11756
11757         * LaTeX.C:
11758         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11759
11760 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11761
11762         * kbmap.C (getiso): add support for cyrillic and greek
11763
11764 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11765
11766         * BufferView.h:
11767         * BufferView.C:
11768         * BufferView_pimpl.h:
11769         * BufferView_pimpl.C: move bogus scrolling logic
11770           to xforms
11771
11772 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11773
11774         * lyxfunc.C:
11775         * BufferView_pimpl.C: view->resize() change
11776
11777 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11778
11779         * BufferView_pimpl.C: topCursorVisible
11780           prototype change
11781
11782 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11783
11784         * Makefile.am:
11785         * lyx_gui.h:
11786         * lyx_gui.C: move to frontends/
11787
11788         * main.C:
11789         * lyx_main.h:
11790         * lyx_main.C: changes from above
11791
11792 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11793
11794         * intl.C:
11795         * intl.h:
11796         * kbmap.C:
11797         * kbsequence.C:
11798         * lyx_cb.C:
11799         * lyx_main.C: minor tidy
11800
11801 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11802
11803         * BufferView_pimpl.h:
11804         * BufferView_pimpl.C:
11805         * BufferView.h:
11806         * BufferView.C: make painter() const,
11807           remove dead code
11808
11809         * BufferView2.C: use screen() accessor
11810
11811         * lyx_main.h:
11812         * lyx_main.C: some minor cleanup
11813
11814 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11815
11816         * BufferView_pimpl.h:
11817         * BufferView_pimpl.C: remove enter/leaveView,
11818           use workHeight()
11819
11820 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11821
11822         * BufferView.h:
11823         * BufferView.C:
11824         * BufferView2.C:
11825         * BufferView_pimpl.h:
11826         * BufferView_pimpl.C: only construct screen once,
11827           rename
11828
11829         * lyxrc.C: remove pointless comment
11830
11831 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11832
11833         * BufferView.h:
11834         * BufferView.C: remove active() and belowMouse()
11835
11836         * BufferView_pimpl.h:
11837         * BufferView_pimpl.C: use workarea() not workarea_,
11838           and make it use a scoped_ptr instead
11839
11840 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11841
11842         * lyx_gui.C: add debug message on BadWindow
11843
11844 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11845
11846         * sp_spell.C: fdopen is not part of the C++ standard.
11847
11848         * paragraph.C (InsetIterator): use >= instead of ==
11849
11850 2002-06-07  Angus Leeming  <leeming@lyx.org>
11851
11852         Fixes needed to compile with Compaq cxx 6.5.
11853         * BufferView_pimpl.C:
11854         * DepTable.C:
11855         * buffer.C:
11856         * converter.C:
11857         * encoding.C:
11858         * lyx_gui.C:
11859         * lyx_main.C:
11860         * lyxtextclasslist.C:
11861         * minibuffer.C:
11862         * sp_spell.C:
11863         * tabular_funcs.C:
11864         * vc-backend.C:
11865         all c-library variables have been moved into namespace std. Wrap
11866         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11867
11868         * lyxlength.C:
11869         * tabular-old.C:
11870         * tabular.C:
11871         Add a using std::abs declaration.
11872
11873         * kbmap.h (modifier_pair):
11874         * paragraph.h (InsetTable, InsetList):
11875         * lyxfont.h (FontBits):
11876         type definition made public.
11877
11878         * bufferlist.C (emergencyWriteAll): the compiler complains that
11879         there is more than one possible lyx::class_fun template to choose from.
11880         I re-named the void specialisation as lyx::void_class_fun.
11881
11882         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11883
11884         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11885         the compiler is is unable to find tostr in write_attribute.
11886
11887 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11888
11889         * buffer.C (sgmlError): hide #warning
11890
11891 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11892
11893         * xtl/*: get rid of xtl, which is not in use anyway
11894
11895         * LyXAction.C (init):
11896         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11897         were unimplemented xtl experimentation
11898
11899 2002-06-04  André Pönitz <poenitz@gmx.net>
11900
11901         * lyxfunc.C: disable array operation on simple formulae
11902
11903 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11904
11905         * converter.C: constify a bit
11906
11907 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11908
11909         * lyx_gui.C: check xforms version correctly
11910
11911 2002-04-30  Herbert Voss  <voss@lyx.org>
11912
11913         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11914         "keep" option
11915
11916 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11917
11918         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11919           attempt to register it with a VCS)
11920
11921 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11922
11923         * lyx_main.C (init): honor variables LYX_DIR_13x and
11924         LYX_USERDIR_13x
11925
11926 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11927
11928         * buffer.h:
11929         * buffer.C:
11930         * lyx_main.C: fix a crash on bad command line,
11931           and give a useful exit status on error
11932
11933         * lyxfunc.C (doImport): allow -i lyx to work
11934
11935 2002-03-30  André Pönitz <poenitz@gmx.net>
11936
11937         * lyxfunc.C: mathed font changes
11938
11939 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11940
11941         * LaTeX.C:
11942         * importer.h:
11943         * importer.C:
11944         * lyx_sty.h:
11945         * lyx_sty.C:
11946         * lyxlex.C:
11947         * lyxrow.h:
11948         * lyxtext.h:
11949         * paragraph.h:
11950         * paragraph.C:
11951         * texrow.h:
11952         * texrow.C:
11953         * text.C:
11954         * trans_mgr.h: srcdocs, and some minor cleanups
11955
11956 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11957
11958         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11959         call getFont all the time)
11960
11961 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11962
11963         * switch from SigC signals to boost::signals
11964
11965 2002-05-29  André Pönitz <poenitz@gmx.net>
11966
11967         * paragraph_pimpl.C (getChar): don't call size() too often...
11968
11969 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11970
11971         * paragraph_pimpl.C (insertChar): do not try to update tables when
11972         appending (pos == size())
11973
11974         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11975         in order to reduce drastically the number of comparisons needed to
11976         parse a large document
11977
11978 2002-05-29  André Pönitz <poenitz@gmx.net>
11979
11980         * text.C:
11981         * text2.C:
11982         * lyxtextclass.C:
11983         * sp_pspell.h:
11984         * textclasslist.[Ch]:
11985         * sp_ispell.h: whitespace change
11986
11987 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11988
11989         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11990         lyxaction directly now.
11991
11992 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11993
11994         * trans.C:
11995         * lyxfont.C:
11996         * lyxvc.C: remove unused headers
11997
11998 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11999
12000         * Makefile.am:
12001         * buffer.h:
12002         * undostack.h:
12003         * undostack.C:
12004         * undo_funcs.h:
12005         * undo_funcs.C: some cleanups. Use shared_ptr
12006           and a template for the undo stacks.
12007
12008 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12009
12010         * BufferView_pimpl.h:
12011         * BufferView_pimpl.C:
12012         * kbmap.h:
12013         * kbmap.C:
12014         * kbsequence.h:
12015         * kbsequence.C:
12016         * lyxfunc.h:
12017         * lyxfunc.C:
12018         * text2.C: use key_state/mouse_state
12019
12020 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12021
12022         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12023         and LSubstring
12024
12025         * chset.C: change include order
12026         (loadFile): use boost regex and get rid of LRegex and LSubstring
12027
12028         * Makefile.am (BOOST_LIBS): new variable
12029         (lyx_LDADD): use it
12030
12031         * LaTeX.C: change include order.
12032         (scanAuxFile): use boost regex and get rid of LRegex and
12033         LSubstring
12034         (deplog): ditto
12035
12036 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12037
12038         * ColorHandler.h:
12039         * ColorHandler.C:
12040         * FontInfo.h:
12041         * FontInfo.C: moved to frontends/xforms/
12042
12043         * FontLoader.h:
12044         * FontLoader.C: moved into frontends for GUIIzation
12045
12046         * Makefile.am:
12047         * lyx_gui.C:
12048         * lyxfont.C:
12049         * lyxfunc.C: changes from above
12050
12051 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12052
12053         * LColor.C: remove spurious X include
12054
12055         * BufferView_pimpl.C:
12056         * Makefile.am:
12057         * font.h:
12058         * font.C:
12059         * text.C:
12060         * text2.C: move font metrics to frontends/
12061
12062 2002-05-24  Juergen Vigna  <jug@sad.it>
12063
12064         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12065         setting the undo_cursor.
12066
12067         * ParagraphParameters.h: include local includes first.
12068
12069 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12070
12071         * BufferView_pimpl.C:
12072         * BufferView_pimpl.h:
12073         * Makefile.am:
12074         * WorkArea.h:
12075         * WorkArea.C:
12076         * screen.C: move WorkArea into frontends/
12077
12078         * lyxscreen.h:
12079         * screen.C:
12080         * text.C:
12081         * BufferView.C:
12082         * BufferView2.C: move LyXScreen into frontends/
12083
12084         * lyxlookup.h:
12085         * lyxlookup.C:
12086         * lyx_gui.C: move lyxlookup into frontends/xforms/
12087
12088 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12089
12090         * BufferView2.C:
12091         * BufferView_pimpl.C:
12092         * FontLoader.C:
12093         * LyXView.h:
12094         * LyXView.C:
12095         * Makefile.am:
12096         * WorkArea.C:
12097         * XFormsView.h:
12098         * XFormsView.C:
12099         * buffer.C:
12100         * bufferlist.C:
12101         * bufferview_funcs.C:
12102         * converter.C:
12103         * importer.C:
12104         * lyx_cb.C:
12105         * lyx_gui.C:
12106         * lyx_main.C:
12107         * lyx_find.C:
12108         * lyxfunc.C:
12109         * lyxvc.C:
12110         * minibuffer.C:
12111         * text.C:
12112         * text2.C:
12113         * trans.C:
12114         * vc-backend.C: move LyX/XFormsView into frontends/
12115
12116 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12117
12118         * Makefile.am:
12119         * PainterBase.C:
12120         * PainterBase.h:
12121         * Painter.C:
12122         * Painter.h:
12123         * WorkArea.C:
12124         * WorkArea.h:
12125         * screen.C:
12126         * tabular.C:
12127         * text.C:
12128         * text2.C: move Painter to frontends/
12129
12130 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12131
12132         * buffer.C: comment out some some code that depend upon lyx_format
12133         < 220
12134
12135         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12136         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12137
12138         * buffer.h (NO_COMPABILITY): turn off compability
12139
12140         * ColorHandler.C: include scoped_array.hpp
12141
12142         * font.C: Use more specific smart_ptr header.
12143         * Painter.C: ditto
12144         * gettext.C: ditto
12145         * ShareContainer.h: ditto
12146         * lyx_main.h: ditto
12147         * kbmap.h: ditto
12148         * FontInfo.h: ditto
12149         * BufferView_pimpl.h: ditto
12150         * ColorHandler.h: ditto
12151
12152         * kbmap.C (defkey): change call to shared_ptr::reset
12153
12154 2002-05-21  Juergen Vigna  <jug@sad.it>
12155
12156         * buffer.C (insertErtContents): fix to insert ert asis if it is
12157         non empty. Skip it completely if it contains only whitespaces.
12158
12159 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12160
12161         * BufferView_pimpl.C:
12162         * BufferView2.C: clear selection on paste (bug 393)
12163
12164 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12165
12166         * DepTable.C: include ctime
12167
12168 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12169
12170         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12171
12172 2002-05-14  Juergen Vigna  <jug@sad.it>
12173
12174         * text.C (breakParagraph): fixed function to honor the keepempty
12175         layout in the right maner and also to permit the right breaking
12176         algorithm on empty or non empyt keepempty paragraphs.
12177
12178         * paragraph.C (breakParagraph): we have to check also if the par
12179         is really empty (!size()) for isempty otherwise we do the wrong
12180         paragraph break.
12181
12182 2002-05-10  Juergen Vigna  <jug@sad.it>
12183
12184         * buffer.[Ch] : The following are only changes to the ert
12185         compatibility read reading old LaTeX layout and font stuff and
12186         convert it to ERTInsets.
12187
12188         * buffer.h: added isErtInset().
12189
12190         * buffer.C (struct ErtComp): add a fromlayout bool to check
12191         if we're inside a LaTeX layout.
12192         (isErtInset): new helper function.
12193         (insertErtContents): look for other ert insets before this one
12194         and insert the contents there, so that we don't have subsequent
12195         ERT insets with nothing between them. This way we create only one
12196         inset with multiple paragraphs. Also check if we don't insert only
12197         spaces ' ' as they are ignored anyway afterwards in the .tex file
12198         so if we have only spaces we will ignore this latex part in the
12199         new file.
12200         (parseSingleLyXformat2Token \\layout): better compatibility when
12201         reading layout-latex stuff.
12202         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12203         language tag.
12204         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12205         stuff after reading the inset only get the information back from
12206         the stack.
12207
12208 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12209
12210         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12211
12212         * LaTeXFeatures.C (getBabelOptions): New method.
12213
12214 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12215
12216         * BufferView_pimpl.C (Dispatch): work around missing argument for
12217         'layout'
12218
12219 2002-05-08  Juergen Vigna  <jug@sad.it>
12220
12221         * text.C (leftMargin): handle paragraph leftindent.
12222
12223         * paragraph.C (writeFile): write the new \\leftindent tag.
12224         (validate): handle leftindent code.
12225         (TeXEnvironment): handle paragraphleftindent code again.
12226
12227         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12228
12229         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12230         for paragrap_extra indent code and new token \\leftindent.
12231         (latexParagraphs): handle the leftindent as environment.
12232
12233         * ParameterStruct.h: added leftindent support.
12234
12235         * ParagraphParameters.C (leftIndent): added support functions for
12236         the paragraph left indent.
12237
12238         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12239         more appropriate.
12240
12241 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12242
12243         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12244         inside insetERT.
12245
12246         * text.C (computeBidiTables): No bidi in insetERT.
12247
12248         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12249         in RTL documents.
12250
12251 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12252
12253         * version.C.in: pre 5
12254
12255 2002-05-02  José Matos  <jamatos@fep.up.pt>
12256         * buffer.C (makeDocBookFile): white space changes, add newline to
12257         command styles.
12258         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12259
12260         * tabular.C (docBook): fix typo.
12261
12262 2002-05-03  Juergen Vigna  <jug@sad.it>
12263
12264         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12265         change in LyXText as we can not be sure it was not freed.
12266         (drawOneRow): remove unused code.
12267
12268         * text.C (drawInset): redo the calculation of the need_break_row as
12269         it could have a row which was already freed.
12270         (draw): look at the return value of drawInset and return false if
12271         it also returned false.
12272         (paintRowText): look at the return value of draw and return false if
12273         it also returned false.
12274
12275         * lyxtext.h: added bool return type to drawInset() and draw() so that
12276         if we have a change in the row so that the rowbreak has to be redone
12277         we abort drawing as it will be called again.
12278
12279 2002-05-02  Juergen Vigna  <jug@sad.it>
12280
12281         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12282         a change in the maintext also if we're inside an inset.
12283         (Dispatch): set the cursor again after a break line and after the
12284         screen has been updated as it could be we're in a different row.
12285
12286         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12287         to set the cursor behind the pargraph with > size().
12288         (setCursor): check also for the same paragraph when checking where
12289         to put the cursor if we have a NFR inset.
12290
12291         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12292         parts of layout read further up as it still was in the wrong
12293         position.
12294
12295 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12296
12297         * screen.C (drawFromTo): change sine fullRebreak always return
12298         true.
12299
12300         * buffer.C (parseSingleLyXformat2Token): reindent some
12301
12302         * BufferView_pimpl.C (update): change since fullRebreak always
12303         return true.
12304         (Dispatch): git rid of the last hardcoded "Standard"s.
12305
12306 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12307
12308         * text2.[Ch] (fullRebreak): make it return void now that we always
12309         returned true.
12310
12311 2002-04-30  Juergen Vigna  <jug@sad.it>
12312
12313         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12314         ert compatibility check for "latex" layout.
12315
12316 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12317
12318         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12319         minipages: use col% instead of p%, and also use the current font.
12320         (makeLaTeXFile): Fix use babel condition.
12321         (parseSingleLyXformat2Token): Correct font when reading old floats.
12322
12323 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12324
12325         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12326         inserting list of floats.
12327
12328 2002-04-25  Herbert Voss  <voss@lyx.org>
12329
12330         * MenuBackend.C (expand): don't add the graphics extensions to the
12331         export menu
12332
12333 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12334
12335         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12336         non-existing layout, do not complain if it was the default layout
12337         of the original class (bug #342)
12338
12339 2002-04-24  Juergen Vigna  <jug@sad.it>
12340
12341         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12342         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12343
12344 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12345
12346         * buffer.C (getBibkeyList): If using \bibliography, return the
12347         option field with the reference itself. Enables us to provide natbib
12348         support when using \bibliography.
12349
12350 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12351
12352         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12353
12354         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12355         natbib is provided by the LaTeX class.
12356
12357 2002-04-23  Juergen Vigna  <jug@sad.it>
12358
12359         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12360         Wakeup functions.
12361
12362         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12363
12364 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12365
12366         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12367
12368         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12369         ensuremath around textordmasculine, textordfeminine and
12370         textdegree.
12371
12372 2002-04-19  Juergen Vigna  <jug@sad.it>
12373
12374         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12375         reinitializing the buffer otherwise row-dimensions may be wrong.
12376         (update): reset also the selection cursors if they do exits otherwise
12377         their x/y positions may be wrong.
12378
12379         * text2.C (cursorDown): don't enter the inset if we came from a row
12380         above and are one row over the inset.
12381
12382         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12383         really leaving an inset.
12384
12385 2002-04-18  Juergen Vigna  <jug@sad.it>
12386
12387         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12388         of the selected paragraph does not have the selected layout also if
12389         the last one had!
12390
12391         * text2.C (setLayout): fixed bug which did not change last selected
12392         paragraph.
12393
12394         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12395         changed the read and substituted \\end_float with \\end_inset!
12396
12397         * BufferView_pimpl.C (cursorPrevious):
12398         (cursorNext): fixed to make it work with rows heigher than the work
12399         area without moving the cursor only the draw of the row.
12400         (workAreaMotionNotify): fix jumping over high rows.
12401
12402 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12403
12404         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12405         Ressler.
12406
12407 2002-04-16  Juergen Vigna  <jug@sad.it>
12408
12409         * text2.C (setCursor): set also the irow().
12410         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12411         (cursorUp):
12412         (cursorDown): support for locking an inset if the x_fix value goes
12413         inside it. That way I can transverse insets too with cursor up/down.
12414
12415         * lyxrow.h: added irow helper function same as other (i) functions.
12416
12417         * BufferView_pimpl.C (cursorPrevious):
12418         (cursorNext): fixed for insets!
12419
12420 2002-04-15  Juergen Vigna  <jug@sad.it>
12421
12422         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12423         position otherwise it is wrong in some cases.
12424
12425         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12426         inside the inset before the call.
12427
12428 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12429
12430         * buffer.[Ch] (getBibkeyList): make it const.
12431
12432 2002-04-12  Juergen Vigna  <jug@sad.it>
12433
12434         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12435
12436         * text2.C (getCursorX): new helper function
12437         (setCursor): compute also ix_
12438         (setCursorFromCoordinates): set also ix.
12439
12440         * lyxcursor.h: added ix_ and helper functions.
12441
12442         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12443
12444         * buffer.C (insertStringAsLines): dont break paragraph if the this
12445         paragraph is inside an inset which does not permit it!
12446
12447         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12448         also with no chars on this paragraph.
12449         (paintRowText): only paint stuff if it's inside the workarea!
12450
12451         * paragraph.C (breakParagraph): honor keepempty flag and break the
12452         paragraph always below not above.
12453
12454         * BufferView2.C (unlockInset): update the paragraph layout on inset
12455         unlock as we changed paragraph in such a case.
12456
12457         * lyxfind.C (LyXFind): clear the former selection if not found!
12458
12459         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12460         again called in insertChar().
12461
12462         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12463         an inset which uses the whole row!
12464         (rightMargin): ditto.
12465         (insertChar): force a rebreak if we inserted an inset!
12466
12467 2002-03-28  Herbert Voss  <voss@lyx.org>
12468
12469         * lyxlength.[Ch]: add inBP() to get the right PS-point
12470         units (BigPoint). With inPixels we have rounding errors
12471
12472 2002-04-11  Juergen Vigna  <jug@sad.it>
12473
12474         * text2.C (setCursorFromCoordinates): set iy to the right value.
12475         (setCursor): add check if row->previous exists!
12476
12477         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12478         an old float_type as this was the case in the old code!
12479
12480         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12481
12482         * BufferView2.C (showLockedInsetCursor): use iy
12483         (fitLockedInsetCursor): ditto
12484
12485         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12486         locked insets as there we have the right value now.
12487
12488         * lyxcursor.C: added iy_ variable and iy functions to set to the
12489         baseline of cursor-y of the locked inset.
12490
12491         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12492         (setCursor): fixed for insets which need a full row.
12493
12494         * text.C (rowLastPrintable): don't ignore the last space when before
12495         an inset which needs a full row.
12496         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12497         as last character of a row when before a inset which needs a full row.
12498
12499 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12500
12501         * version.C.in: update date
12502
12503         * text2.C (fullRebreak): try to always return true and see what
12504         happens...
12505
12506 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12507
12508         * MenuBackend.C (expand): use Floating::listName
12509
12510         * FloatList.C (FloatList): add listName argument to the built-in
12511         floats
12512
12513         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12514         text associated with the float.
12515
12516 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12517
12518         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12519
12520 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12521
12522         * ShareContainer.h: add a couple of missing typenames.
12523
12524 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12525
12526         * lyxrc.C (getDescription): use _() correctly rather than N_().
12527
12528 2002-03-28  Herbert Voss  <voss@lyx.org>
12529
12530         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12531         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12532
12533 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12534
12535         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12536         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12537
12538 2002-03-29  Juergen Vigna  <jug@sad.it>
12539
12540         * lyxfunc.C (dispatch): add a missing fitCursor call.
12541
12542         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12543         it was scrolled by a cursor move, so return the bool status.
12544
12545         * BufferView.C (fitCursor): return the bool flag also to the outside
12546         world as this is needed.
12547
12548         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12549
12550         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12551         call the edit() as it is not needed (and wrong) IMO.
12552         (workAreaButtonPress): set the screen_first variable before evt.
12553         unlock the inset as this may change screen_first and then we have
12554         a wrong y position for the click!
12555
12556 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12557
12558         * MenuBackend.C (expand): another translation that I missed
12559
12560 2002-03-28  Juergen Vigna  <jug@sad.it>
12561
12562         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12563
12564         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12565
12566 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12567
12568         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12569
12570         * MenuBackend.C (expand): fix export/view/update when there is no
12571         document open.
12572
12573 2002-03-27  Herbert Voss  <voss@lyx.org>
12574
12575         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12576         and text%
12577
12578 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12579
12580         * bufferview_funcs.C (currentState): only show paragraph number
12581         for is DEVEL_VERSION is set.
12582
12583         * lyxfunc.C (dispatch): put warning in INFO channel
12584
12585         * MenuBackend.C (expand): translate the name of floats
12586
12587         * FloatList.C (FloatList): mark the float names for translation
12588
12589         * converter.C (convert): use LibScriptSearch
12590
12591 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12592
12593         * MenuBackend.C (defaults): fix default menu (we might as well get
12594         rid of it...)
12595
12596 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12597
12598         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12599         directory.
12600
12601 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12602
12603         * lyxvc.C: reorder includes.
12604
12605 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12606
12607         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12608           properly
12609
12610 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12611
12612         * CutAndPaste.C: change layouts earlier on paste
12613           to avoid crashing when calling getFont()
12614
12615 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12616
12617         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12618         irritating #error.
12619
12620 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12621
12622         * WorkArea.C: remove 'Pending' debug message.
12623
12624         * most files: ws cleanup
12625
12626         * buffer.[Ch]: ws changes
12627
12628         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12629
12630 2002-03-21  Juergen Vigna  <jug@sad.it>
12631
12632         * tabular.C (SetMultiColumn): collapse also the contents of the
12633         cells and set the last border right. Added a Buffer const * param.
12634
12635 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12636
12637         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12638         linking or not.
12639
12640 2002-03-19  Juergen Vigna  <jug@sad.it>
12641
12642         * text2.C (clearSelection): reset also xsel_cache.
12643
12644         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12645         where it needs to be called (John tells us to do so too :)
12646         (selectionLost): reset sel_cache.
12647
12648         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12649
12650 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12651
12652         * text2.C (setCursorIntern): put debuging code in INSETS channel
12653
12654 2002-03-19  André Pönitz <poenitz@gmx.net>
12655
12656         * lyxfunc.C: tiny whitespace change
12657
12658 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12659
12660         * ToolbarDefaults.C (init):
12661         * LyXAction.C (init):
12662         * commandtags.h:
12663         * BufferView_pimpl.C (Dispatch):
12664         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12665
12666 2002-03-19  Allan Rae  <rae@lyx.org>
12667
12668         * exporter.C (Export): removeAutoInsets before doing anything else.
12669         While I've just introduced a dependency on BufferView this really is
12670         the best place to clean the buffer otherwise you need to cleanup in
12671         a dozen places before calling export or cleanup in a dozen functions
12672         that export calls.
12673
12674         * converter.C (runLaTeX):
12675         (scanLog): Better handling of removeAutoInsets and screen updates.
12676
12677         * lyxfunc.C (dispatch): small whitespace changes
12678
12679 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * WorkArea.C (C_WorkAreaEvent): return a value.
12682         (event_cb): return 1 if we handled the event, 0 otherwise.
12683
12684         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12685
12686 2002-03-18  Juergen Vigna  <jug@sad.it>
12687
12688         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12689         (GetAdditionalWidth): ditto.
12690         (RightLine): ditto.
12691         (LeftLine): ditto.
12692
12693         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12694         inset if we're there actually (probably not used right now but this
12695         is the direction to go for unifying code).
12696         (paste): disable code to clear the selection.
12697
12698         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12699         inside an InsetText and move the check further up as it is in the
12700         wrong place.
12701
12702         * text2.C (pasteSelection): set a selection over the pasted text.
12703
12704 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12705
12706         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12707         and libgraphics to build on Cygwin.
12708
12709 2002-03-15  Juergen Vigna  <jug@sad.it>
12710
12711         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12712         inserting an Inset into the paragraph. I know this is not the best
12713         fix but we already use current_view in CutAndPaste so we will remove
12714         all of it's using at the same time.
12715
12716         * buffer.C (sgmlError): deactivated function till it is rewritten in
12717         the right mode, now it can create problems.
12718
12719         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12720         before accessing it.
12721
12722 2002-03-14  Juergen Vigna  <jug@sad.it>
12723
12724         * undo_funcs.C (textHandleUndo): do the right thing when updating
12725         the inset after the undo/redo.
12726
12727         * text2.C (setCursor): just some testcode for #44 not ready yet.
12728
12729         * undo_funcs.C (textHandleUndo): set the next() and previous()
12730         pointers of the paragraph to 0 before deleting otherwise we have
12731         problems with the Paragraph::[destructor].
12732
12733         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12734         on a paragraph insertion.
12735
12736 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12737
12738         * buffer.C (asciiParagraph): use += operator for char append to
12739         string.
12740
12741         * paragraph.C (getFontSettings): compare >= not just >
12742         (highestFontInRange): ditto
12743         (setFont): ditto
12744
12745 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12746
12747         * paragraph.C: change several algorithm to be more appripriate for
12748         the problem domain. This is lookip in FontList and in the InsetList.
12749
12750 2002-03-13  André Pönitz <poenitz@gmx.net>
12751
12752         * commandtags.h:
12753         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12754
12755 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12756
12757         * commandtags.h:
12758         * LyXAction.C:
12759         * lyxfunc.C:
12760         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12761
12762 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12763
12764         * Painter.C (display): anon helper function, adjust code for this
12765         change.
12766         (pixmap): remove function.
12767
12768         * Painter.h: remove private display variable.
12769
12770         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12771
12772 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12773
12774         * WorkArea.[Ch]: remove figinset_canvas cruft.
12775
12776 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12777
12778         * lyxtextclass.C (operator): add one item cache optimization.
12779
12780         * bufferlist.h: doxy changes
12781
12782         * bufferlist.C: ws changes
12783
12784         * DepTable.[Ch] (ext_exist): place const in the right spot.
12785
12786         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12787         call resizeInsets.
12788         (workAreaExpose): call resizeInsets when the with BufferView changes.
12789         (Dispatch): adjust for protectedBlank removal
12790         (specialChar): call updateInset if the insert went ok.
12791
12792         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12793         specialChar instead.
12794
12795         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12796
12797         * BufferView.h: doxy change
12798
12799         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12800
12801         * lyxtextclass.C (operator[]): remove non-const version
12802         (defaultLayout): remove non-const version
12803
12804 2002-03-12  Juergen Vigna  <jug@sad.it>
12805
12806         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12807         did resize the LyXText too.
12808
12809         * buffer.C (readLyXformat2): set layout information on newly allocated
12810         paragraphs.
12811
12812         * tabular.C (OldFormatRead): set layout information on the paragraph.
12813
12814 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12815
12816         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12817
12818 2002-03-11  Juergen Vigna  <jug@sad.it>
12819
12820         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12821         plainly wrong.
12822         (resizeCurrentBuffer): force also the insets to resize themselfes.
12823         (moveCursorUpdate): fixed up for InsetText.
12824
12825 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12826
12827         * commandtags.h:
12828         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12829         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12830         value of Dialogs::tooltipsEnabled().
12831         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12832
12833 2002-03-08  Juergen Vigna  <jug@sad.it>
12834
12835         * BufferView_pimpl.C (updateInset): update inset inside inset also
12836         if it isn't inside theLockingInset().
12837
12838 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12839
12840         * buffer.C (asciiParagraph): redo some of the word and line length
12841         handling.
12842         (getLists): look for Caption instead of caption.
12843
12844 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12845
12846         * buffer.C (Buffer): initialize niceFile to true
12847         (makeLaTeXFile):
12848         (makeLinuxDocFile):
12849         (makeDocBookFile): make sure niceFile is true on exit
12850
12851 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12852
12853         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12854
12855 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12856
12857         * LyXSendto.C: remove.
12858         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12859         * lyx_gui.C: remove now-redundant comment.
12860         * ColorHandler.h: remove forward declaration of class WorkArea.
12861         * lyxfunc.C: remove #include "WorkArea.h".
12862
12863 2002-03-07  Juergen Vigna  <jug@sad.it>
12864
12865         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12866         got moved away with the DEPM and also set the inset_owner always
12867         right which before could have been omitted.
12868
12869 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12870
12871         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12872         wanted layout is not found.
12873
12874 2002-03-07  Juergen Vigna  <jug@sad.it>
12875
12876         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12877
12878 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12879
12880         * paragraph.C (breakParagraph): use default layout not layout of
12881         prev paragraph.
12882         (Paragraph): clear ParagraphParameters.
12883
12884 2002-03-06  Juergen Vigna  <jug@sad.it>
12885
12886         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12887         otherwise it would not be a valid lenght. Fixed a special case in
12888         the minipage compatibility read where we end the document with a
12889         minipage.
12890
12891         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12892         was set as it could be 0 for InsetTexts first entry.
12893
12894 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12895
12896         * paragraph.C (writeFile): if layout is empty write out
12897         defaultLayoutName().
12898
12899         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12900         file without named layout we set layout to defaultLayoutName().
12901
12902 2002-03-06  Juergen Vigna  <jug@sad.it>
12903
12904         * CutAndPaste.C (copySelection): set layout for new paragraph.
12905
12906         * text.C (prepareToPrint): leave ERT inset left aligned
12907         (leftMargin): don't indent paragraphs inside ERT insets
12908
12909 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12910
12911         * paragraph.C (breakParagraph): dont call clear do the work manually
12912
12913         * paragraph.[Ch] (clear): remove function
12914
12915 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12916
12917         * paragraph.C (Paragraph): dont call clear, the work has already
12918         been done.
12919
12920         * lyxtextclass.C (operator): assert if n is empty
12921
12922         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12923         work manually instead.
12924
12925 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12926
12927         * BufferView_pimpl.C: protect selectionLost against text == 0
12928
12929 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12930
12931         * text.C (breakParagraph): fix a setting layout to '0' problem.
12932
12933 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12934
12935         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12936         final location of file, for the included files, and graphics.
12937
12938 2002-03-05  Juergen Vigna  <jug@sad.it>
12939
12940         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12941
12942 2002-03-04  Juergen Vigna  <jug@sad.it>
12943
12944         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12945
12946         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12947         last column of multicolumn cells.
12948         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12949
12950 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12951
12952         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12953         file if it doesn't go to a temporary file.
12954
12955         * buffer.C (sgmlOpenTag):
12956         (sgmlCloseTag):  remove extra newline insertion.
12957
12958 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12959
12960         * text.C (getRowNearY): comment out debug msg
12961
12962 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12963
12964         * text2.C: first -> first_y
12965
12966         * text.C (getRowNearY): add some attemts at a possible
12967         optimization, not working.
12968
12969         * tabular.[Ch]: add BufferParams to several function so that newly
12970         created paragraph can be initialized to he default layotu for the
12971         buffers textclass.
12972
12973         * tabular-old.C (ReadOld): add buf->params to call of Init
12974
12975         * screen.C: rename text->first to text->first_y
12976
12977         * paragraph.C (breakParagraph): always set layout in the broken
12978         paragraph
12979
12980         * lyxtextclass.C (Read): remove lowercase
12981         (hasLayout): ditto
12982         (operator): ditto
12983         (delete_layout): ditto
12984
12985         * lyxtext.h: rename first -> first_y
12986
12987         * lyxlayout.C (Read): remove lowercase
12988         (name): ditto
12989         (setName): ditto
12990         (obsoleted_by): ditto
12991
12992         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12993
12994         * buffer.C (insertErtContents): add params are to InsetERT
12995         (parseSingleLyXformat2Token): add code to check if a paragraphs
12996         layout really exist.
12997         (parseSingleLyXformat2Token): add params to several inset
12998         constructors
12999         (asciiParagraph): remove lowercase, do the layout comparisons with
13000         no_case
13001
13002         * BufferView_pimpl.C (cursorNext): first -> first_y
13003         (resizeCurrentBuffer): first -> first_y
13004         (updateScrollbar): first -> first_y
13005         (scrollCB): first -> first_y
13006         (workAreaMotionNotify): first -> first_y
13007         (workAreaButtonPress): first -> first_y
13008         (checkInsetHit): first -> first_y
13009         (cursorPrevious): first -> first_y
13010         (cursorNext): first -> first_y
13011         (Dispatch): add buffer_->params to severl inset contructors
13012
13013 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13014
13015         * lyxlayout.C (Read): remove some debug info that I forgot.
13016
13017         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13018         clean up the code slightly.
13019         (makeLinuxDocFile): ditto
13020         (makeDocBookFile): ditto
13021
13022         * text2.C: layout as string
13023
13024         * text.C: layout as string
13025
13026         * paragraph_pimpl.C: layout as string
13027
13028         * paragraph.[Ch]: layout as string
13029
13030         * lyxtextclasslist.[Ch]: layout as string
13031
13032         * lyxtextclass.[Ch]: layout as string
13033
13034         * lyxtext.h: layout as string
13035
13036         * lyxlayout.[Ch]: layout as string
13037
13038         * lyx_cb.C: layout as string
13039
13040         * bufferview_funcs.C: layout as string
13041
13042         * bufferparams.C: layout as string
13043
13044         * buffer.C: layout as string
13045
13046         * LyXView.[Ch]: layout as string
13047
13048         * LaTeXFeatures.[Ch]: layout as string
13049
13050         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13051
13052         * BufferView_pimpl.C: change current_layout to string, remove
13053         lyx::layout_type.
13054         (Dispatch):
13055         (smartQuote):
13056         (insertInset):
13057         (workAreaButtonRelease): layout as string
13058
13059         * BufferView2.C (unlockInset): adjust
13060
13061         * vspace.C (asLatexCommand): use an explict temp variable.
13062
13063 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13064
13065         * Makefile.am: use FRONTEND_*
13066
13067 2002-03-01  Juergen Vigna  <jug@sad.it>
13068
13069         * tabular.C (SetWidthOfMulticolCell): changed to something better
13070         I hope but still work in progress.
13071         (recalculateMulticolumnsOfColumn): renamed function from
13072         recalculateMulticolCells as it is more appropriate now.
13073         (SetWidthOfCell): calculate multicols better.
13074
13075 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13076
13077         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13078
13079         * lyxfunc.C (processKeySym): print sequence also if it is
13080         `deleted' (complete)
13081
13082         * kbsequence.C (print): print sequence even if it is deleted
13083         (complete would be a better word, actually).
13084
13085         * lyxfunc.C (dispatch): print complete options after a prefix key
13086
13087         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13088
13089 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13090
13091         * text2.C (setCharFont): eliminate setCharFont code duplication.
13092
13093 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13094
13095         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13096         LFUN_TABULAR_FEATURE (bug #177)
13097
13098 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13099
13100         * Makefile.am: remove figure.h
13101
13102 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13103
13104         * Bufferview_pimpl.C:
13105         * CutAndPasteC:
13106         * LaTeX.C:
13107         * LyXSendto.C:
13108         * buffer.C:
13109         * bufferlist.C:
13110         * converter.C:
13111         * language.C:
13112         * lyxfunc.C:
13113         * lyxvc.C:
13114         * paragraph.C:
13115         * text.C:
13116         * text2.C: remove #include "lyx_gui_misc.h".
13117
13118         * LaTeX.C: added #include <cstdio>
13119
13120 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13121
13122         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13123         that the paragraph following this one can have.
13124
13125         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13126
13127         * vspace.C (asLatexCommand): fix bogus gcc warning
13128
13129         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13130
13131 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13132
13133         * text2.C (setLayout): get rid of redundant code
13134
13135 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13136
13137         * text2.C (incDepth): make sure depth cannot be increased beyond
13138         reasonable values.
13139
13140 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13141
13142         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13143         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13144
13145         * PainterBase.h (image):
13146         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13147         a LyXImage const *.
13148
13149 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13150
13151         * BufferView.C:
13152         * BufferView.h:
13153         * BufferView_pimpl.C:
13154         * BufferView_pimpl.h:
13155         * LaTeXFeatures.C:
13156         * LyXAction.C:
13157         * LyXView.C:
13158         * Makefile.am:
13159         * UpdateList.h:
13160         * UpdateList.C:
13161         * buffer.C:
13162         * figure.h:
13163         * figureForm.C:
13164         * figureForm.h:
13165         * figure_form.C:
13166         * figure_form.h:
13167         * lyx_cb.C:
13168         * lyx_gui.C:
13169         * lyx_gui_misc.C:
13170         * lyxfunc.C:
13171         * sp_base.h:
13172         * sp_ispell.h:
13173         * sp_pspell.h:
13174         * sp_spell.C: remove fig inset, and the crap house of
13175           cards that follows it
13176
13177 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13178
13179         * Makefile.am:
13180         * lyxserver.C:
13181         * os2_defines.h:
13182         * os2_errortable.h:
13183         * nt_defines.h: move .h into support/
13184
13185         * vms_defines.h: remove
13186
13187         * WorkArea.C: add space in debug output
13188
13189         * text2.C:
13190         * paragraph.C:
13191         * buffer.C: add WITH_WARNINGS
13192
13193         * vc-backend.h:
13194         * vc-backend.C:
13195         * bufferlist.C: s/retrive/retrieve/, add docs
13196
13197         * vspace.h:
13198         * vspace.C:
13199         * kbmap.h:
13200         * lyxlength.h:
13201         * lyxgluelength.h:
13202         * length_common.h:
13203         * chset.h:
13204         * chset.C: add docs
13205
13206         * lyxgui.C: add ID to X error handler
13207
13208         * lyxtestclass.c: fix typo
13209
13210 2002-02-26  Juergen Vigna  <jug@sad.it>
13211
13212         * tabular_funcs.C (write_attribute): changed so that some default
13213         attributes are not written at all.
13214         (getTokenValue): set default values before trying to read the
13215         value so we have the return value always set as default if we don't
13216         find the token we search for.
13217
13218         * tabular.C (Write): write bools as bools not as strings!
13219
13220 2002-02-22  Juergen Vigna  <jug@sad.it>
13221
13222         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13223         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13224
13225         * text.C (leftMargin): don't add an indent for paragraphs inside
13226         tabular cells (fix #208).
13227
13228 2002-02-21  José Matos  <jamatos@fep.up.pt>
13229
13230         * tabular.C (docBook): fixed support for long tables.
13231
13232 2002-02-20  Juergen Vigna  <jug@sad.it>
13233
13234         * text2.C (getFont): get the drawing font of the Inset if this
13235         paragraph is inside an inset (only important for InsetERT for now).
13236
13237         * buffer.C (insertErtContents): use new lanugage params in ERT
13238         constructor.
13239
13240         * CutAndPaste.C: commenting out seemingly uneeded code.
13241
13242 2002-02-19  Allan Rae  <rae@lyx.org>
13243
13244         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13245         Iterators might be simple to use but they also get invalidated.
13246         (removeAutoInsets): renamed saved cursor tracking variables and added
13247         some comments to clarify what everything does.
13248
13249 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13250
13251         * Chktex.C:
13252         * LaTeX.C:
13253         * LyXSendto.C:
13254         * converter.C:
13255         * lyx_cb.C:
13256         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13257         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13258
13259         * lyxfunc.C:
13260         * vc-backend.h: remove #include "support/syscall.h"
13261
13262         * LaTeX.C:
13263         * LyXSendto.C:
13264         * converter.C: rearrange #includes in Lars' approved fashion.
13265
13266         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13267         forward declare class Timeout in the header file.
13268
13269         * XFormsView.C: changes due to the above.
13270
13271         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13272         similar to LyXView.
13273
13274         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13275         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13276
13277 2002-02-18  José Matos  <jamatos@fep.up.pt>
13278
13279         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13280         insets contents.
13281
13282 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13283
13284         * a lot of small ws changes
13285         * add a lot of using std::XXX
13286         * use std construcs some places where approp.
13287         * use some exisint stuff from lyxfunctional where approp.
13288         * Make file changes to use partial linking (lets test this now...)
13289
13290 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13291
13292         * Chktex.C:
13293         * buffer.C:
13294         remove #include "support/syscontr.h" as it's redundant. Always has been.
13295
13296         * Chktex.C:
13297         * LaTeX.C:
13298         * LyXSendto.C:
13299         * converter.C:
13300         * lyx_cb.C:
13301         * vc-backend.C:
13302         change Systemcalls::System to Systemcalls::Wait and
13303         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13304         No change of functionality, just reflects the stripped down Systemcalls
13305         class.
13306
13307 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13308
13309         * debug.[Ch]: add a GRAPHICS type to the enum.
13310
13311 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13312
13313         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13314
13315         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13316         there is an inset.
13317
13318 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13319
13320         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13321         match the changes below.
13322
13323         * text2.C (toggleInset): if there is not editable inset at cursor
13324         position, try to see if cursor is _inside_ a collapsable inset
13325         and close it.
13326
13327 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13328
13329         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13330         document menu has a nice checkbox
13331
13332 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13333
13334         * lyxlength.C (asLatexString): change PW to output as percent of
13335         \textwidth.
13336
13337         * lengthcommon.C: change '%' to 't%'
13338
13339         * lyxfunc.C (dispatch): a few comments from Martin
13340
13341 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13342
13343         * WorkArea.h:
13344         * WorkArea.C:
13345         * BufferView_pimpl.h:
13346         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13347           the X selection.
13348
13349 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13350
13351         * vspace.C (inPixels): fix compiler warning
13352
13353 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13354
13355         * lyxfunc.C (getStatus): fix status message for disabled commands.
13356
13357 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13358
13359         * BufferView_pimpl.C: fix crash on close buffer
13360         during selection (#227)
13361
13362 2002-01-27  Herbert Voss  <voss@lyx.org>
13363
13364         * buffer.C: link old Figure to new graphic inset
13365
13366 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13367
13368         * FontLoader.C (getFontinfo): Change the latex font names in order
13369         to match the names of type1inst.
13370
13371 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13372
13373         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13374
13375         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13376         (extchanged): ditto
13377         (ext_exist): ditto
13378         (remove_files_with_extension): ditto
13379         (remove_file): ditto
13380         (write): ditto
13381
13382         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13383         document is smaller than the work area height. Do not initialize
13384         static variables to 0.
13385
13386 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13387
13388         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13389
13390         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13391         LFUN_LAYOUT_PARAGRAPHS.
13392
13393         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13394         tabular. It is possible to provide a possible cell, which will
13395         typically be the actcell from the corresponding insettabular
13396
13397         * lyxfunc.C (getStatus): small cleanup; disable
13398         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13399         true
13400
13401 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13402
13403         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13404
13405         * paragraph.C (startTeXParParams):
13406         (endTeXParParams): new methods. The LaTeX code to
13407         start/end paragraph formatting
13408         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13409         empty (fixes bug #200)
13410
13411         * vspace.C (inPixels): adapt to the change below
13412         (inPixels): [later] more cleanups (remove unused variables)
13413
13414         * lyxlength.C (inPixels): change to use a width and a height as
13415         parameter.
13416
13417 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13418
13419         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13420         Replaced with \paperwidth
13421
13422         * DepTable.C (insert): add std:: qualifier
13423
13424 2002-01-18  Allan Rae  <rae@lyx.org>
13425
13426         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13427         updated also?
13428
13429         * text.C (drawInset): Turned out I didn't know enough about how
13430         rebreaking worked.  This fixes most of the redraw problems.  I see
13431         an occasional cursor trail when a line is broken now and the cursor
13432         placement can seem out by a few pixels also after a rebreak.
13433
13434 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13435
13436         * buffer.C (parseSingleLyXformat2Token): update because minipage
13437         width is now a LyXLength
13438
13439         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13440
13441         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13442         math insets
13443
13444 2002-01-17  Juergen Vigna  <jug@sad.it>
13445
13446         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13447
13448         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13449         is set correctly and the inset is updated correctly.
13450
13451 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13452
13453         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13454         the beginning of the loop.
13455
13456 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13457
13458         * lyxrc.C: improve help for use_scalable_fonts
13459
13460 2002-01-17  Allan Rae  <rae@lyx.org>
13461
13462         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13463
13464 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13465
13466         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13467         make sure to set their inset_owner to the right value (bug #171)
13468
13469 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13470
13471         * DepTable.h
13472         * DepTable.C: Implement mtime checking to reduce time spent doing
13473         CRCs.
13474
13475 2002-01-16  Juergen Vigna  <jug@sad.it>
13476
13477         * tabular.C (GetAdditionalHeight): one of error fixed.
13478
13479         * lyxrc.C (output): small fix in writing use_pspell.
13480
13481 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13482
13483         * sp_base.h: #include LString.h
13484
13485 2002-01-16  Allan Rae  <rae@lyx.org>
13486
13487         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13488         Can someone check this please?
13489
13490         * text.C (drawInset): It was possible that p.row would be removed by
13491         breakAgainOneRow upsetting a few other settings.  There may be another
13492         small tweak possible by setting need_break_row = 0 when p.row has been
13493         removed but I don't know enough about the logic here.
13494
13495 2002-01-15  Allan Rae  <rae@lyx.org>
13496
13497         * text.C (insertChar): removed conditional truism.
13498
13499         * BufferView2.C (removeAutoInsets): More tweaks.
13500         cur_par_prev could be a stray pointer.  Check for trailing empty line
13501         in case last line was cur_par and only had an error inset on it.
13502
13503 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13504
13505         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13506         absolute
13507
13508         * vc-backend.C (most methods):
13509         * exporter.C (Export):
13510         * converter.C (convert):
13511         (runLaTeX):
13512         * LyXSendto.C (SendtoApplyCB):
13513         * lyxfunc.C (dispatch):
13514         (menuNew):
13515         (open):
13516         (doImport):
13517         * lyx_cb.C (AutoSave):
13518         (InsertAsciiFile):
13519         * BufferView_pimpl.C (MenuInsertLyXFile):
13520         * buffer.C (runChktex): use Buffer::filePath().
13521
13522         * buffer.h: rename filename to filename_; rename filepath to
13523         filepath_ and make it private
13524         (filePath): new method
13525
13526         * buffer.C (writeFile): use fileName()
13527         (getLatexName):
13528
13529         * lyx_main.C (init): fix starting  of LyX when the binary is a
13530         link from so,ewhere else.
13531
13532         * minibuffer.C: include <cctype> for isprint
13533
13534 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13535
13536         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13537         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13538         name clash with InsetCollapsable's width function.
13539
13540 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13541
13542         * lastfiles.C: include <iterator>
13543
13544 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13545
13546         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13547         std::count.
13548
13549         * buffer.C (makeLaTeXFile): ditto.
13550         Also make loop operation more transparent.
13551
13552 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13553
13554         * ToolbarDefaults.C: remove trailing comma closing namespace.
13555
13556         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13557
13558         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13559         as in WorkArea.
13560
13561         * trans.C (Load): comment out unused variable, allowed.
13562
13563 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13564
13565         * minibuffer.[Ch] (append_char): new method to recieve input from the
13566         drop-down completion browser. If a key was pressed, then recieve this
13567         char and append it to the existing string.
13568         (peek_event): modify the positioning data passed to the completion
13569         browser so that it can be placed above the minibuffer rather than below.
13570 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13571
13572         * LyXAction.C (init): alloe error-next for readonly documents.
13573
13574         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13575         count.
13576
13577 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13578
13579         * bufferlist.C (readFile): create the buffer _after_ checking that
13580         the file exists.
13581
13582         * lyxfunc.C (verboseDispatch): fix handling of arguments
13583
13584         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13585
13586         * lyxrc.C: use string::erase() instead of initializing to "".
13587
13588
13589 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13590
13591         * BufferView_pimpl.h:
13592         * BufferView_pimpl.C:
13593         * WorkArea.h:
13594         * WorkArea.C:
13595         * text2.C: tell X when we have made a selection for copying
13596
13597 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13598
13599         * BufferView_pimpl.C (MenuInsertLyXFile):
13600         * lyxfunc.C (menuNew):
13601         (open):
13602         (doImport): add shortcuts to directory buttons
13603
13604         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13605         open a float)
13606
13607         * lyxfunc.C (setStatusMessage):
13608         (getStatusMessage): new methods
13609         (getStatus):use setStatusMessage instead of setErrorMessage
13610         (dispatch): when function is disabled, set error message here
13611         [instead of in getStatus previously]
13612
13613         * BufferView_pimpl.C (workAreaButtonRelease): update
13614         toolbar/menubar here too.
13615
13616 2002-01-13  Allan Rae  <rae@lyx.org>
13617
13618         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13619         Now seems indestructible.  Remaining task is to audit all other
13620         code affected by deleteEmptyParagraphMechanism.  One small quirk
13621         left is that an empty document with an error in the preamble can
13622         be made to report an error but no error box appears.  I don't know
13623         where it goes.
13624         (removeAutoInsets): Improved comments.
13625
13626 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13627
13628         * Thesaurus.h:
13629         * Thesaurus.C: update for Aiksaurus 0.14
13630
13631 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13632
13633         * text2.C (firstParagraph): removed member function, all uses
13634         replaces with ownerParagraph
13635         (redoParagraphs): here
13636         (updateInset): here
13637         (toggleAppendix): here
13638         * BufferView2.C (insertErrors): here
13639         (setCursorFromRow): here
13640
13641 2002-01-13  Allan Rae  <rae@lyx.org>
13642
13643         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13644         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13645         There is still a way to segfault this although you may have to do this
13646         multiple times: Have an InsetERT with an unknown command in it.
13647         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13648         <down-arrow>, <Enter> again, View->DVI, BANG!
13649
13650         * text2.C (setCursor):
13651         (deleteEmptyParagraphMechanism):
13652         * lyxtext.h (setCursor):
13653         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13654         Making use of the return value may help fix other bugs.
13655
13656 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13657
13658         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13659
13660         * LyXView.C (updateMenubar): call MenuBar::update here
13661         (updateToolbar): but not here
13662         (showState): do not update toolbar/menubar
13663
13664         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13665         should need to care about that.
13666
13667         * lyxfunc.C (verboseDispatch): simplify a bit
13668         (getStatus): have a version which takes a pseudoaction, and
13669         another which requires a (kb_action,string).
13670
13671         * LyXAction.C (retrieveActionArg): make it work also when action
13672         is not a pseudo-action.
13673         (getActionName): simplify a bit
13674         (helpText):
13675
13676 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13677
13678         * lyxfunc.C (verboseDispatch): new families of methods with
13679         several ways to specify a command and a bool to indicate whether
13680         the command name and shortcut should be displayed in minibuffer
13681         (eventually, we could extend that to a finer bitmask like
13682         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13683         (dispatch): the pristine dispatch command which just, well,
13684         dispatchs! Note it still sets its result to minibuffer; I'm not
13685         sure we want that.
13686
13687         * lyxfunc.h: remove setHintMessage
13688
13689         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13690
13691 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13692
13693         * BufferView_pimpl.C (specialChar): delete new inset if we have
13694         not been able to insert it.
13695
13696         * kbmap.C: revert to using int instead of kb_action, since all we
13697         are dealing with is pseudo-actions.
13698
13699         * LyXAction.C (searchActionArg): change to return int instead of
13700         kb_action, since the result is a pseudoaction.
13701
13702 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13703
13704         * buffer.C (insertErtContents): Fix (partially) the font bug.
13705
13706 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13707
13708         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13709         as the other one is broken on my machine!
13710
13711 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13712
13713         * commandtags.h:
13714         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13715
13716 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13717
13718         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13719         reflect their actual use. Provide compatibility code for older lyxrc
13720         files.
13721
13722         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13723         FL_NORMAL_STYLE.
13724         change names of popup font variables in line with the changes to lyxrc.C
13725
13726 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13727
13728         * buffer.C (asciiParagraph): avoid outputing a word twice after
13729         an inset.
13730
13731         * lyxrc.C (getDescription): document that document_path and
13732         template_path can be empty.
13733
13734 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13735
13736         * LaTeXFeatures.C (getMacros):
13737         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13738
13739         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13740
13741         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13742         getPackages.
13743         (getPackages): rename feature "floats" to "float". Use an array to
13744         iterate over 'simple' features (i.e. just a \usepackage). Add
13745         handling of "amsmath" (renamed from "amsstyle").
13746
13747 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13748
13749         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13750         features list.
13751
13752 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13753
13754         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13755         FuncStaus::FuncStatus & FuncStaus::some_method().
13756
13757 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13758
13759         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13760         of the func_satus stuff. Edited and massaged in various ways by
13761         JMarc.
13762
13763         * lyxfunc.C (getStatus): use FuncStatus
13764
13765 2002-01-08  Juergen Vigna  <jug@sad.it>
13766
13767         * text.C (nextBreakPoint): use function Inset::isChar().
13768
13769         * paragraph.C (TeXOnePar): use function
13770         Inset::forceDefaultParagraphs.
13771
13772         * buffer.C (latexParagraphs): use function
13773         Inset::forceDefaultParagraphs.
13774
13775 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13776
13777         * lyx_gui.C (init): set the style of the menu popups to
13778         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13779
13780 2002-01-07  Juergen Vigna  <jug@sad.it>
13781
13782         * text.C (setHeightOfRow): small fix
13783         (prepareToPrint): don't look at alignment if we don't have the place
13784         for doing it.
13785
13786 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13787
13788         * box.C: New file. Move the Box methods and functions out of box.h,
13789         following Lars' suggestion.
13790
13791 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13792
13793         * box.h: #include "support/LOstream.h", needed for inlined function.
13794
13795         * lyxtextclass.C:
13796         * lyxtextclasslist.C: added some using std declarations.
13797
13798 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13799
13800         * box.h: make signed dimensions to allow insets wider than
13801           the screen (bug #162)
13802
13803         * BufferView_pimpl.C: add some insetHit debug
13804
13805 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13806
13807         * vc-backend.C: add FIXME
13808
13809 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13810
13811         * lyxfunc.C (getStatus): enable code for showing math font status
13812         in toolbar/menu.
13813
13814 2002-01-07  Juergen Vigna  <jug@sad.it>
13815
13816         * text.C (nextBreakPoint): removed debug output not needed anymore.
13817
13818 2002-01-06  Juergen Vigna  <jug@sad.it>
13819
13820         * text.C (nextBreakPoint): fixed up this function we had this bug
13821         since ever but now hopefully we break row better.
13822         (insertChar): we have to check if an inset is the next char as it
13823         could now happen that a large inset is causing a break.
13824
13825 2002-01-05  Juergen Vigna  <jug@sad.it>
13826
13827         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13828         if it doesn't like to be drawed.
13829
13830 2002-01-04  Juergen Vigna  <jug@sad.it>
13831
13832         * BufferView2.C (lockInset): forgot to set a cursor.
13833
13834         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13835
13836 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13837
13838         * FormMathsPanel.C:
13839         * FormMathsPanel.h
13840         * MathsSymbols.C:
13841         * form_maths_panel.C:
13842         * form_maths_panel.h:
13843         * form_maths_panel.fd: implemented sub- and super- buttons in math
13844         panel.
13845
13846         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13847         (or ^ space) to be used as in TeX (req'd by André).
13848
13849         * lyxfunc.C: Allow ^ and _ again to be used both as
13850         super/subscript (mathed) and as themselves (in text).
13851
13852 2002-01-03  Allan Rae  <rae@lyx.org>
13853
13854         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13855         "LyX" or the filename of the current buffer if it has one.  This is a
13856         modified form of John Levon's patch.
13857
13858         * XFormsView.C (setWindowTitle): also set icon title.
13859
13860         * LyXView.h (setWindowTitle): signature changed.
13861         * XFormsView.h (setWindowTitle): ditto.
13862
13863 2002-01-02  Juergen Vigna  <jug@sad.it>
13864
13865         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13866
13867 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13868
13869         * screen.C (topCursorVisible): introduce a temp var for
13870         text->cursor.row(), handle the case where this row is null. (kindo
13871         hachish)
13872
13873         * text2.C (setCursor): add a couple of asserts.
13874
13875         * paragraph.h (inset_iterator): add -> operator
13876
13877         * paragraph.[Ch] (autoDeleteInsets): remove member function
13878
13879         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13880         cursor pos correctly and handle inset deletion by itself.
13881         (insertErrors): move iterator declaration out of for expression
13882
13883         * lyxtextclass.C: add <algorithm>
13884
13885         * Makefile.am: added the new files to sources, removed layout.C
13886
13887         * layout.C: removed file
13888
13889         * layout.h: remove LYX_DUMMY_LAYOUT
13890
13891         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13892         layout.
13893
13894         * lyxlayout.[Ch]:
13895         * lyxtextclass.[Ch]:
13896         * lyxtextclasslist.[Ch]: new files
13897
13898         * include order changes to a lot of files, also changes because of
13899         the six new files.
13900
13901 2001-12-27  Juergen Vigna  <jug@sad.it>
13902
13903         * buffer.C (asciiParagraph): more fixes.
13904
13905         * tabular.C (ascii): make ascii export support export of only the
13906         data separated by a column-delimiter.
13907         (ascii): better support for ascii export.
13908
13909         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13910
13911 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13912
13913         * tabular_funcs.C: use a "using std::getline" instead of the
13914         previous fix from Angus (necessary for cxx + lyxstring)
13915
13916 2001-12-24  Juergen Vigna  <jug@sad.it>
13917
13918         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13919
13920         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13921         problems. First check a minipage also if we have some ert-contents
13922         (not only on par->size(), second set the right depth of the paragraph
13923         on the relink to the root-paragraph-list!
13924
13925         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13926         which then did not anymore update the main paragraphs on undo/redo!
13927
13928 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13929
13930         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13931         code. Support all font-changing funcs (even those which are not in
13932         menu currently). Support for reporting font settings in
13933         mathed (disabled until Andre provides a function on mathed's side).
13934
13935         * func_status.h (toggle): small helper function to set toggle
13936         state on a flag.
13937
13938 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13939
13940         * tabular_funcs.C: getline -> std::getline
13941
13942 2001-12-21  Juergen Vigna  <jug@sad.it>
13943
13944         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13945         accessed and could be 0 (I couldn't generate this but it seems
13946         Michael could!).
13947
13948 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13949
13950         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13951         * tabular_funcs.h: here and include iosfwd
13952
13953 2001-12-20  Juergen Vigna  <jug@sad.it>
13954
13955         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13956         inside inset but undo_par was.
13957
13958 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13959
13960         * Thesaurus.C: always include <config.h> in sources.
13961
13962         * Painter.h:
13963         * lyxlookup.h:
13964         * box.h: do not include <config.h> in header files
13965
13966         * text.C (paintLastRow): remove unused variable
13967
13968         * text.C (transformChar):
13969         (insertChar):
13970         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13971
13972         * Painter.C (text):
13973         * font.C (width): rewrite to use uppercase() instead of
13974         islower/toupper.
13975
13976         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13977
13978 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13979
13980         * lyxfind.C: clean up of find failure position change
13981
13982 2001-12-20  Juergen Vigna  <jug@sad.it>
13983
13984         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13985
13986         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13987         (TeXRow): added to LaTeX a single tabular row.
13988         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13989         (Latex): simplified and finally good LT-h/f support.
13990         (various_functions): just small adaptions for LT-h/f support.
13991
13992         * tabular_funcs.[hC]: added and moved here all not classfunctions
13993         of LyXTabular.
13994
13995 2001-12-19  Juergen Vigna  <jug@sad.it>
13996
13997         * tabular.[Ch]: better support for longtabular options (not finished
13998         yet!)
13999
14000 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14001
14002         * text.C (paintLastRow): use the label font instead of the font of
14003         the last character to compute the size of *_BOX. This makes more
14004         sense and avoids a crash with empty paragraphs.
14005         Use Painter::rectangle to draw EMPTY_BOX.
14006
14007 2001-12-19  Juergen Vigna  <jug@sad.it>
14008
14009         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14010         the paragraphs if the replaced paragraph is not the first one!
14011         Tried to delete not used paragraphs but does not work yet so for
14012         now it's inside #ifdef's and by default off!
14013
14014 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14015
14016         * MenuBackend.C: include "lyx_main.h" instead of declaring
14017         lastfiles (actually was declared as LastFiles* instead of a
14018         scoped_ptr).
14019
14020 2001-12-17  Juergen Vigna  <jug@sad.it>
14021
14022         * tabular.C (AppendColumn): applied John's fix
14023
14024 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14025
14026         * BufferView.h:
14027         * BufferView.C:
14028         * BufferView_pimpl.h:
14029         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14030
14031         * Makefile.am:
14032         * box.h: new start of class for above
14033
14034         * lyxfunc.C: ignore space-only minibuffer dispatches.
14035           Show the command name when it doesn't exist
14036
14037         * minibuffer.C: don't add empty lines to the history
14038
14039         * minibuffer.C: add a space on dropdown completion
14040
14041 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14042
14043         * text.C: fix line above/below drawing in insets
14044
14045 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14046
14047         * lyxlength.C (LyXLength): Initialize private variables.
14048
14049 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14050
14051         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14052         when inserting error insets.
14053
14054 2001-12-13  Juergen Vigna  <jug@sad.it>
14055
14056         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14057         actually sometimes the before-paragraph.
14058         (setUndo): don't clear the redostack if we're not actually undoing!
14059
14060 2001-12-06  Juergen Vigna  <jug@sad.it>
14061
14062         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14063         and fixed redoing of main paragraph, so we can use it now ;)
14064
14065         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14066
14067 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14068
14069         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14070         Juergen's request
14071
14072 2001-12-13  André Pönitz <poenitz@gmx.net>
14073
14074         * undostack.[Ch]:
14075         * undo_func.C: minor cleanup
14076
14077 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14078
14079         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14080         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14081         font in urw-fonts package which is marked as -urw-fontspecific and
14082         does not work (incidentally, changing the encoding in the
14083         fonts.dir of this package to -adobe-fontspecific fixes the
14084         problem).
14085
14086         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14087         is a crash when undoing first paragraph (Juergen, please take a
14088         look). THis does not mean the undo fix is wrong, just that it
14089         uncovers problems.
14090
14091         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14092         the (Paragraph*) version when needed instead of duplicating the
14093         code.
14094
14095         * text.C (workWidth): use Inset::parOwner to find out where the
14096         inset has been inserted. This is a huge performance gain for large
14097         documents with lots of insets. If Inset::parOwner is not set, fall
14098         back on the brute force method
14099
14100         * paragraph_pimpl.C (insertInset):
14101         * paragraph.C (Paragraph):
14102         (cutIntoMinibuffer): set parOwner of insets when
14103         inserting/removing them
14104
14105         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14106
14107 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14108
14109         * commandtags.h:
14110         * LyXAction.C:
14111         * lyx_main.C:
14112         * lyxfunc.C:
14113         * mathed/formulabase.C:
14114         * mathed/math_cursor.[Ch]:
14115         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14116
14117
14118 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14119
14120         * lyxlength.[Ch] (operator!=): new function
14121
14122 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14123
14124         * text.C (workWidth): use Inset::parOwner to find out where the
14125         inset has been inserted. This is a huge performance gain for large
14126         documents with lots of insets. If Inset::parOwner is not set, fall
14127         back on the brute force method
14128
14129         * paragraph_pimpl.C (insertInset):
14130         * paragraph.C (Paragraph):
14131         (cutIntoMinibuffer): set parOwner of insets when
14132         inserting/removing them
14133
14134         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14135
14136 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14137
14138         * tabular-old.C (getTokenValue):
14139         * tabular.C (getTokenValue):
14140         (write_attribute): new versions for LyXLength
14141         (everywhere): adjust the use of widths
14142
14143         * tabular.h: change the type of widths from string to LyXLength
14144
14145 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14146
14147         * paragraph.C: fixed missing line number count when exporting
14148         Environments to LaTeX file
14149
14150         * buffer.C: added informational message for checking line numbers.
14151
14152 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14153
14154         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14155         paragraph, do the 'double space' part, but not the 'empty
14156         paragraph' one.
14157
14158         * text.C (workWidth): small optimization
14159         (getLengthMarkerHeight): use minimal size for negative lengths.
14160
14161 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14162
14163         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14164
14165         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14166
14167 2001-12-11  André Pönitz <poenitz@gmx.net>
14168
14169         * FontLoader.C:
14170         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14171
14172 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14173
14174         * text2.C: keep selection on a setFont()
14175
14176 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14177
14178         * lyx_cb.C: another bv->text misuse, from insert label
14179
14180 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14181
14182         * kbsequence.h:
14183         * kbsequence.C: re-instate nmodifier mask
14184
14185 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14186
14187         * lyx_main.h: make lyxGUI private.
14188
14189 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14190
14191         * lyxfind.C: place the cursor correctly on failed search
14192
14193 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14194
14195         * text.C (getLengthMarkerHeight): for small heights, the arrows
14196         are not always on top/bottom of the text
14197         (drawLengthMarker): smaller arrows; take the left margin in
14198         account; draw also vfills.
14199         (paintFirstRow):
14200         (paintLastRow): remove special code for vfill and standard spaces,
14201         since everything is handled in drawLengthMarker now.
14202
14203 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14204
14205         * buffer.C (insertErtContents): try to handle font and language
14206         interaction a bit better.g
14207
14208         * ColorHandler.C (updateColor): change the hash to cover the whole
14209         LColor enum, ws cleanup
14210         (getGCLinepars): ditto
14211         (getGCLinepars): only lookup in the linecache once.
14212
14213 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14214
14215         * iterators.C (operator++): Make the iterator more robust
14216
14217         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14218         (John's patch)
14219         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14220
14221 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14222
14223         * lyxtext.h:
14224         * text.C: better added space drawing
14225
14226 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14227
14228         * LyXView.C:
14229         * BufferView2.C: fix layout combo update on inset unlock
14230
14231 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14232
14233         * Makefile.am: don't compile unused files
14234
14235 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14236
14237         * lyxfunc.C:
14238         * commandtags.h:
14239         * LyXAction.C: remove old LFUN_LAYOUTNO
14240
14241 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14242
14243         * paragraph_pimpl.h:
14244         * paragraph_pimpl.C: isTextAt() doesn't need font param
14245
14246 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14247
14248         * lyxlex.h:
14249         * lyxlex.C: little cleanup
14250
14251 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14252
14253         * BufferView_pimpl.C: fix insertAscii for insets
14254
14255 2001-12-05  Juergen Vigna  <jug@sad.it>
14256
14257         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14258         set the right font on the "multi" paragraph paste!
14259
14260 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14261
14262         * trans_decl.h:
14263         * trans_mgr.[Ch]:
14264         * trans.[Ch]:
14265         * lyxgluelength.C:
14266         * lyxlength.C: remove out-commented code.
14267
14268         * BufferView_pimpl:
14269         * CutAndPaste.C:
14270         * DepTable.C:
14271         * buffer.C:
14272         * chset.C:
14273         * lastfiles.C:
14274         * lyxlex.C:
14275         * lyxlex_pimpl.C:
14276         * lyxserver.C:
14277         * screen.C:
14278         * tabular-old.C:
14279         * tabular.C:
14280         * text.C:
14281         * trans_mgr.C:
14282         * vc-backend.C: change "while(" to "while ("
14283
14284         * lyxlength.[Ch]: add zero function to check if length is zero or
14285         not
14286         * lyxgluelength.C: use it
14287
14288 2001-12-05  Allan Rae  <rae@lyx.org>
14289
14290         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14291         Works for 2.95.3, from what I understand of Garst's reports this should
14292         work for other g++ versions.  We're screwed if the abs(int) definition
14293         changed between bugfix releases of gcc.
14294
14295 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14296
14297         * text.C: fix chapter label offset !
14298
14299 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14300
14301         * lyxtext.h:
14302         * text.C: fix hfill at end of line, clean up
14303
14304 2001-12-04  Juergen Vigna  <jug@sad.it>
14305
14306         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14307         that we force an update of the inset and it's owners if neccessary.
14308
14309 2001-12-03  Juergen Vigna  <jug@sad.it>
14310
14311         * text.C (rowLast): simplified code
14312
14313 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14314
14315         * lyxfunc.C: fix show options on timeout
14316
14317 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14318
14319         * screen.C (topCursorVisible): scroll half a page when the cursor
14320         reached top of bottom of screen
14321
14322 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14323
14324         * minibuffer.C: deactivate on loss of focus
14325
14326 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14327
14328         * vspace.[Ch] (operator!=): add operator.
14329
14330 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14331
14332         * BufferView_pimpl.C: refuse to open an inset when
14333         there's a selection.
14334
14335 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14336
14337         * BufferView_pimpl.C: allow to click on RHS of full row insets
14338
14339 2001-11-30  Juergen Vigna  <jug@sad.it>
14340
14341         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14342         insets for undo reasons.
14343
14344 2001-11-28  André Pönitz <poenitz@gmx.net>
14345
14346         * vspace.[Ch]: cosmetical changes
14347
14348 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14349
14350         * LyXAction.h:
14351         * LyXAction.C:
14352         * lyxfunc.h:
14353         * lyxfunc.C:
14354         * kbmap.h:
14355         * kbmap.C:
14356         * lyxrc.C:
14357         * kbsequence.h:
14358         * kbsequence.C: part re-write of old kb code
14359
14360         * Painter.C:
14361         * WorkArea.C: remove Lgb_bug_find_hack
14362
14363 2001-11-30  José Matos <jamatos@fep.up.pt>
14364
14365         * buffer.C (makeDocBookFile): add a comment to point a hack.
14366         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14367         Fixed a double write of labels.
14368
14369 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14370
14371         * LaTeX.C:
14372         * LaTeX.h Fixed bug in LaTeX class where it would not
14373         re-run latex if no depfiles were changed, but the .dvi was removed.
14374
14375 2001-11-28  André Pönitz <poenitz@gmx.net>
14376
14377         * all the files from the change on 2001/11/26:
14378         use lyx::layout_type instead of LyXTextClass::size_type
14379         use lyx::textclass_type instead of LyXTextClassList::size_type
14380
14381 2001-11-29  Juergen Vigna  <jug@sad.it>
14382
14383         * text.C: added support for paragraph::isFreeSpacing()
14384
14385         * buffer.C: same as above
14386
14387         * paragraph.h: inserted isFreeSpacing() function to enable
14388         FreeSpacing inside InsetERT.
14389
14390         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14391         of the paragraph's in the cut/copy buffer to 0!
14392
14393         * text2.C (removeRow): remove the assert as it can!
14394
14395         * lyxtext.h: added helper function firstRow returning firstrow and
14396         made firstrow private again.
14397
14398         * BufferView2.C (lockInset): don't relock if we're already locked!
14399
14400         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14401         the only paragraph.
14402         (removeRow): added Assert::(firstrow)
14403
14404         * debug.C: forgot to add INSETTEXT here.
14405
14406 2001-11-28  Juergen Vigna  <jug@sad.it>
14407
14408         * sp_spell.C (initialize): changed error text to more general
14409         spellchecker command use (not only ispell!)
14410
14411         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14412
14413         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14414
14415 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14416
14417         * vspace.C: initialise lyxgluelength on failure
14418
14419 2001-11-28  Allan Rae  <rae@lyx.org>
14420
14421         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14422         declaration & definition that looks like a function declaration.
14423
14424 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14425
14426         * BufferView2.C (copy):
14427         (copyEnvironment): do not clear the selection when doing a copy.
14428
14429         * text.C (paintFirstRow): compilation fix
14430
14431 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14432
14433         * tabular.C (Latex): correct line count when writing latex.
14434
14435 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14436
14437         * paragraph_pimpl.h:
14438         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14439           bug a bit
14440
14441 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14442
14443         * text.C:
14444         * LColor.h:
14445         * LColor.C: change vfillline->added_space
14446
14447         * text.C: add markers and text for added space
14448
14449         * vspace.C: fix comment
14450
14451 2001-11-28  André Pönitz <poenitz@gmx.net>
14452
14453         * paragraph.C: whitespace changes
14454         * all the other files from the change on 2001/11/26:
14455         change *::pos_type into lyx::pos_type
14456
14457 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14458
14459         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14460         language of the document when inserting error insets.
14461
14462 2001-11-26  André Pönitz <poenitz@gmx.net>
14463
14464         * BufferView_pimpl.[Ch]:
14465         *       CutAndPaste.C:
14466         * buffer.[Ch]:
14467         * lyxcursor.[Ch]:
14468         * lyxfind.C:
14469         * lyxfunc.C:
14470         * lyxrow.[Ch]:
14471         * paragraph.[Ch]:
14472         * paragraph_pimpl.[Ch]:
14473         * sp_spell.C:
14474         * text.C:
14475         * text2.C: reduce header dependencies, introduce type for positions
14476
14477 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14478
14479         * <various>: change to use Alert.h
14480
14481 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14482
14483         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14484         when encountering an unknown token.
14485         (readLyXformat2): Show an error message if there were unknown tokens.
14486
14487 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14488
14489         * BufferView2.C:
14490         * BufferView_pimpl.C:
14491         * buffer.C:
14492         * paragraph.h:
14493         * text.C:
14494         * text2.C: use par->isInset()
14495
14496 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14497
14498         * paragraph_pimpl.h:
14499         * paragraph_pimpl.C: cleanup
14500
14501 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14502
14503         * text2.C (removeRow):
14504         * text.C (setHeightOfRow): remove useless (and costly) call to
14505         getRow.
14506
14507 2001-11-20  Allan Rae  <rae@lyx.org>
14508
14509         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14510         Now need Inset*::checkInsertChar() to return true for appropriate
14511         cases so that the characters in the minibuffer will actually be
14512         inserted.
14513
14514 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14515
14516         * text.C: change the order of the includes.
14517         (workWidth): initialize it at once.
14518         (workWidth): make maxw unsigned
14519         (setHeightOfRow): remove unused variable (inset)
14520         (selectSelectedWord): remove unused variable (inset)
14521         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14522
14523 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14524
14525         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14526         server is not running.
14527         (openConnection):
14528         (closeConnection): add debug info when server is disabled.
14529
14530         * ColorHandler.C (getGCForeground): send debug message to GUI
14531         channel.
14532
14533         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14534
14535         * kbmap.C (bind): modify because return conventions of
14536         kb_sequence::parse have changed.
14537
14538         * kbsequence.C (parse): only ignore spaces and not any stupid
14539         control character. This avoids tests like s[i] <= ' ', which are
14540         guaranteed to fail with 8bit characters and signed chars.
14541         Change return code to string::npos when there have been no error
14542         (0 was a bad idea when error is at first character)
14543
14544 2001-11-14  José Matos  <jamatos@fep.up.pt>
14545
14546         * buffer.h:
14547         * buffer.C (simpleDocBookOnePar): removed unused argument.
14548
14549 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14550
14551         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14552         insets which are part of a word. Paragraph::isLetter takes care of
14553         that now. Use Paragraph::isInset to identify insets.
14554         (selectSelectedWord): do not test for hyphenation break.
14555
14556         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14557         that protected spaces are considered as spaces.
14558
14559         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14560         Inset::isLetter.
14561
14562 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14563
14564         * lyxserver.h:
14565         * lyxserver.C: fix it. and small cleanup.
14566
14567 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14568
14569         * BufferView_pimpl.C: use inline helpers
14570
14571         * LaTeXFeatures.h:
14572         * LaTeXFeatures.C: fix typos
14573
14574         * Spacing.h:
14575         * Spacing.C: move spacing_string into class
14576
14577         * ToolbarDefaults.C: move stuff into namespace anon
14578
14579         * layout.h: update enum
14580
14581         * lyxfunc.C: use better debug
14582
14583         * minibuffer.h: fix typo
14584
14585         * debug.h:
14586         * debug.C:
14587         * WorkArea.C: add and use Debug::WORKAREA
14588
14589         * lyxtext.h:
14590         * text.C:
14591         * text2.C: code re-organisation, inline helpers
14592
14593 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14594
14595         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14596         std::vector.empty().
14597
14598 2001-11-09  Allan Rae  <rae@lyx.org>
14599
14600         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14601         '\n's after tables.  Tabular and ERT inset work now makes this no
14602         longer necessary.
14603
14604 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14605
14606         * minibuffer.h:
14607         * minibuffer.C: fix crash, improve drop-down completion
14608
14609 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14610
14611         * lyxserver.h:
14612         * lyxserver.C: invalidate fd's when doing endPipe()
14613
14614 2001-11-08  José Matos  <jamatos@fep.up.pt>
14615
14616         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14617         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14618
14619         * paragraph.h:
14620         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14621
14622 2001-11-07  José Matos  <jamatos@fep.up.pt>
14623
14624         * buffer.h:
14625         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14626         const qualifier.
14627
14628         * buffer.C (sgmlOpenTag):
14629         * buffer.C (sgmlCloseTag): removed debug info.
14630
14631         * buffer.h (sgmlOpenTag):
14632         * buffer.h (sgmlCloseTag): made public.
14633
14634 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14635
14636         * buffer.C (saveParamsAsDefaults):
14637         * lyx_cb.C (MenuLayoutSave): remove
14638
14639         * LyXAction.C (init):
14640         * commandtags.h:
14641         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14642
14643 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14644
14645         * buffer.C (setPaperStuff): removed from here...
14646
14647         * bufferparams.C (setPaperStuff): ... and moved there.
14648
14649 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14650
14651         * minibuffer.h:
14652         * minibuffer.C:
14653         * XFormsView.C: add support for drop-down completion
14654
14655 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14656
14657         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14658         commands.
14659
14660 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14661
14662         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14663         disabled.
14664
14665 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14666
14667         * lyx_main.C: change ref to known bugs
14668
14669 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14670
14671         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14672         to work around older babel problems.
14673
14674 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14675
14676         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14677
14678 2001-10-24  Juergen Vigna  <jug@sad.it>
14679
14680         * tabular-old.C (ReadOld): below variable changes reflected.
14681
14682         * tabular.[Ch]: added ltType struct for longtable header/footer
14683         defines and changed all instances where they are used. Added
14684         future support for double top/bottom rows.
14685
14686 2001-10-24  José Matos  <jamatos@fep.up.pt>
14687
14688         * buffer.h (docbookHandleCaption):
14689         * buffer.C (docbookHandleCaption): removed unused function.
14690         (makeDocBookFile): moved docbook supported version to v4.1.
14691
14692 2001-10-24  José Matos  <jamatos@fep.up.pt>
14693
14694         * tabular.h:
14695         * tabular.C (docbookRow): new function to export docbook code of a row.
14696         (DocBook): now honors the longtable flags.
14697
14698 2001-10-23  José Matos  <jamatos@fep.up.pt>
14699
14700         * LaTeXFeatures.h:
14701         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14702         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14703
14704         * buffer.C (makeLinuxDocFile):
14705         (makeDocBookFile): reworked the preamble, more clean, and with
14706         support for lyx defined entities. Changed the document declaration
14707         to be more XML friendly.
14708
14709         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14710         if we need to output XML that should be done with a filter.
14711
14712 2001-10-22  Juergen Vigna  <jug@sad.it>
14713
14714         * sp_pspell.h (class PSpell): add alive function needed in the
14715         controller to see if the spellchecker could be started.
14716
14717 2001-10-22  Juergen Vigna  <jug@sad.it>
14718
14719         * buffer.C (insertStringAsLines): modify the font for inserting
14720         chars in certain conditions by calling checkInsertChar(font).
14721
14722 2001-10-19  Juergen Vigna  <jug@sad.it>
14723
14724         * text.C (workWidth): use getRow instead of wrong algorithm.
14725         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14726
14727 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14728
14729         * lyxserver.h:
14730         * lyxserver.C:
14731         * lyx_main.h:
14732         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14733
14734 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14735
14736         * text.C (workWidth): do not search for the exact row when
14737         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14738         optimization for big documents.
14739
14740 2001-10-18  Juergen Vigna  <jug@sad.it>
14741
14742         * text.C (workWidth): new function with added Inset * parameter.
14743
14744 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14745
14746         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14747
14748         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14749         change return type of getColumnNearX.
14750
14751
14752         * text.C (changeRegionCase): use uppercase/lowercase instead of
14753         toupper/tolower.
14754         (leftMargin):
14755         (rightMargin): simplify code by factoring out the uses of
14756         textclasslist.
14757         (labelFill):
14758         (numberOfHfills):
14759         (setHeightOfRow):
14760         (appendParagraph): use Paragraph::size_type
14761
14762 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14763
14764         * vspace.C (asLatexString): add a missing break
14765
14766 2001-10-15  Herbert Voss  <voss@perce.de>
14767
14768         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14769
14770 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14771
14772         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14773         is not available.
14774
14775 2001-10-10  André Pönitz <poenitz@gmx.net>
14776
14777         * lyxfunc.C: removed greek_kb_flag.
14778
14779 2001-10-10  Herbert Voss  <voss@perce.de>
14780
14781         * lyx_main.C: delete global string help_lyxdir.
14782
14783 2001-10-09  Herbert Voss  <voss@perce.de>
14784
14785         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14786
14787         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14788
14789         * lyx_main.C: added global string help_lyxdir.
14790
14791         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14792
14793 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14794
14795         * lyxrc.C (set_font_norm_type): support iso8859-4
14796
14797 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14798
14799         * LaTeX.C (deplog): add another regex for MikTeX
14800
14801 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14802
14803         * lyxrc.C (set_font_norm_type): support iso8859-3
14804
14805 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14806
14807         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14808
14809         * LaTeXFeatures.C: remove special case of french and index
14810
14811         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14812         before \begin{document}). This solves several incompatibilities.
14813
14814 2001-10-03  Garst Reese  <reese@isn.net>
14815
14816         * lyx_cb.C: change CheckTex error msg.
14817
14818 2001-10-03  José Matos  <jamatos@fep.up.pt>
14819
14820         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14821
14822 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14823
14824         * .cvsignore: update
14825
14826         * lyx_main.C (commandLineVersionInfo): use new style version info.
14827
14828         * buffer.C (writeFile):
14829         (makeLaTeXFile):
14830         (makeLinuxDocFile):
14831         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14832
14833         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14834
14835         * version.h: update to use stuff in version.C
14836
14837         * version.C.in: new file. Contains version information determined
14838         at compile time. This is a merging of version.h and
14839         version_info.h.in.
14840
14841 2001-10-03  Juergen Vigna  <jug@sad.it>
14842
14843         * BufferView_pimpl.C (update): don't change "dirty" status in
14844         updateInset call.
14845
14846 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14847
14848         * WorkArea.C (c-tor): re-position version string slightly.
14849
14850 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14851
14852         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14853         revert to previous code.
14854
14855         WorkArea.[Ch]: (show, destroySplash): methods removed.
14856
14857         WorkArea.C: rework code so that it's an amalgam of the codes before and
14858         after the splash screen was moved to WorkArea.
14859
14860 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14861
14862         * lyxrc.C (read):
14863         * vspace.C (inPixels):
14864         (lyx_advance):
14865         * kbmap.C (bind):
14866         * buffer.C (insertStringAsLines):
14867         (asciiParagraph): fix types to be large enough
14868
14869         * lyxlex_pimpl.h: change member status from short to int
14870
14871         * layout.h: fix type of endlabeltype
14872
14873         * kbmap.C (bind):
14874         * kbsequence.C (parse): change return type to string::size_type
14875
14876         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14877         variable
14878
14879         * Bullet.C (bulletSize):
14880         (bulletEntry): do not use short ints as parameters
14881
14882         * BufferView2.C (insertLyXFile): change a char to an int.
14883
14884         * WorkArea.C (WorkArea): remove unneeded floats in computation
14885
14886 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14887
14888         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14889
14890         * paragraph.C (asString): Do not ignore newline/hfill chars when
14891         copying to the clipboard.
14892
14893 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14894
14895         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14896         after a multi-line inset.
14897
14898 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14899
14900         * paragraph.C (validate): Set NeedLyXFootnoteCode
14901
14902 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14903
14904         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14905         and decrease-error to decrease.
14906
14907 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14908
14909         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14910         it more readable (should be equivalent)
14911
14912 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14913
14914         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14915
14916 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14917
14918         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14919         of a cursor (row, etc.) after a character has been deleted
14920         (deleteEmptyParagraphMechanism): call the method above on _all_
14921         cursors held by the LyXText when a double space has been
14922         detected/deleted.
14923
14924 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14925
14926         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14927         pixmap.
14928         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14929
14930         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14931         background. Use greyOut() and the new show() methods to toggle between
14932         the foreground and background. Add code to remove the splash after
14933         its initial showing.
14934
14935         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14936         (create_forms): no longer call Dialogs::showSplash.
14937
14938 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14939
14940         * .cvsignore: add version_info.h
14941
14942 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14943
14944         * version_info.h.in: new file
14945
14946         * Makefile.am: add version_info.h.in
14947
14948         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14949         version_info.h instead of VERSION_INFO
14950
14951 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14952
14953         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14954         The ERT inset now returns string().
14955
14956 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14957
14958         * lyxtext.h, text.C (selectNextWord): renamed as
14959         selectNextWordToSpellcheck.
14960
14961         * text.C (selectNextWordToSpellcheck): Modified to not select
14962         words inside an ERT inset.
14963
14964 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14965
14966         * lyx_cb.C (MenuLayoutSave): change a bit the question
14967
14968         * sp_base.h: include <sys/types.h>
14969
14970 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14971
14972         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14973
14974 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14975
14976         * several files: fix typos in user-visible strings
14977
14978 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14979
14980         * text2.C (pasteSelection): do not set the selection, since it
14981         will be cleared later. Actually, the intent was to fix the way the
14982         selection was set, but I figured rmoving the code was just as good.
14983
14984 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14985
14986         * FontLoader.C (available): Check if font is available without
14987         loading the font.
14988
14989 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14990
14991         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14992
14993 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14994
14995         * lyxrc.[Ch]: added display_graphics variable and associated code.
14996
14997 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14998
14999         * bufferparams.C (hasClassDefaults): new method. Returns true if
15000         the buffer parameters correspond to known class defaults
15001
15002 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15003
15004         * XFormsView.C (show): set minimum size to the main window.
15005
15006 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15007
15008         * text2.C (copySelection):
15009         (cutSelection):
15010         * lyxfind.C (LyXReplace):
15011         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15012         LyXText::selectionAsString.
15013
15014         * paragraph.C (asString): add "label" argument to the second form
15015
15016         * text2.C (selectionAsString): add "label" argument and pass it to
15017         Paragraph::asString.
15018
15019 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15020
15021         * lyx_main.C (commandLineHelp): remove version information
15022
15023 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15024
15025         * lyx_main.C: add -version commandline option
15026
15027 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15028
15029         * paragraph.h: make the optional constructor arg required instead.
15030         some modifications to other files because of this.
15031
15032         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15033
15034         * lyxserver.C (C_LyXComm_callback): make it static
15035
15036         * lyx_main.C (error_handler): make it static
15037
15038         * lyx_gui.C (LyX_XErrHandler): make it static
15039
15040         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15041
15042         * WorkArea.C: make the extern "C" methods static.
15043
15044         * Makefile.am (lyx_LDADD): simplify
15045
15046 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15047
15048         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15049         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15050
15051         * LyXAction.C (init):
15052         * lyxfunc.C (dispatch): associated code removal.
15053
15054 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15055
15056         * lyxfont.h (isSymbolFont): shut off warning
15057
15058         * text.C (setHeightOfRow):
15059         (getVisibleRow): fix crash with empty paragraphs which have a
15060         bottom line
15061
15062 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15063
15064         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15065         code.
15066
15067 2001-09-04  José Matos  <jamatos@fep.up.pt>
15068         * buffer.C
15069         * buffer.h
15070         * tabular.C (docbook): rename docBook method to docbook.
15071
15072 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15073
15074         * Makefile.am: add dependencies to main.o.
15075
15076 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15077
15078         * FontLoader.C (available): Return false if !lyxrc.use_gui
15079
15080 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15081
15082         * FontInfo.C (query):
15083         * converter.C (view):
15084         * importer.C (Import):
15085         * exporter.C (Export): Can not -> cannot.
15086
15087 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15088
15089         * BufferView_pimpl.C: allow to create index inset even if
15090           string is empty
15091
15092 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15093
15094         * buffer.C (getLists): replace boost::tie code with an explicit pair
15095         as boost::tie can break some compilers.
15096
15097         * iterators.h: Added a std:: declaration to the return type of
15098         ParIterator::size.
15099
15100 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15101
15102         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15103           case.
15104
15105 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15106
15107         * iterators.[Ch]: New files. Provide paragraph iterators.
15108
15109         * buffer.C (changeLanguage): Use paragraph iterators.
15110         (isMultiLingual): ditto
15111
15112         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15113
15114 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15115
15116         * FontLoader.C: Support for cmr font.
15117
15118 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15119
15120         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15121         (available): New method.
15122
15123         * FontInfo.C (getFontname): Use scalable fonts even when
15124         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15125         found.
15126
15127 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15128
15129         * converter.C (Formats::view): reverted! Incorrect fix.
15130
15131 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15132
15133         * converter.C (Formats::view): only output the -paper option
15134         if the dvi viewer is xdvi, thereby fixing bug #233429.
15135
15136 2001-08-23  Herbert Voss  <voss@perce>
15137
15138         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15139
15140 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15141
15142         * Spacing.h (Spacing): Set space to Default on in the default
15143         constructor.
15144
15145 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15146
15147         * vc-backend.h (RCS::versionString): add RCS to version
15148         (CVS::versionString): add CVS to version
15149
15150         * vc-backend.C (scanMaster): do not add CVS to version.
15151         (scanMaster): do not add RCS to version
15152
15153         * lyxvc.C (versionString): new method
15154
15155         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15156
15157 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15158
15159         * Spacing.C (set): initialize fval
15160
15161 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15162
15163         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15164         " or \.
15165
15166 2001-08-16  Juergen Vigna  <jug@sad.it>
15167
15168         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15169
15170 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15171
15172         * BufferView_pimpl.C:
15173         * figureForm.C:
15174         * lyxtext.h:
15175         * text2.C: setParagraph takes linespacing now
15176
15177 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15178
15179         * LyxAction.C: add internal LFUN_CITATION_INSERT
15180
15181         * LyXView.C: actually apply fix
15182
15183         * bufferlist.C: fix open non-existent file
15184
15185         * lyxfind.C: fix indentation
15186
15187         * lyxfunc.C: remove unneeded assert, fix typo
15188
15189 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15190
15191         * MenuBackend.C: use "Floatname List"
15192
15193 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15194
15195         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15196         when converting LaTeX layout to insetERT.
15197         Generate a non-collapsed float when reading old float
15198
15199 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15200
15201         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15202         ERT insets.
15203
15204 2001-08-13  Juergen Vigna  <jug@sad.it>
15205
15206         * text.C (fill): return 0 instead of 20 as this seems to be the more
15207         correct value.
15208
15209 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15210
15211         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15212         lyxrc.font_norm.
15213
15214 2001-08-13  Juergen Vigna  <jug@sad.it>
15215
15216         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15217         casesensitive off.
15218         (SearchBackward): comment out the unlocking of the inset_owner this
15219         should not be needed!
15220
15221 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15222
15223         * Many files: Remove inherit_language, and add latex_language
15224
15225         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15226         collapsible insets.
15227
15228 2001-08-10  Juergen Vigna  <jug@sad.it>
15229
15230         * text.C (prepareToPrint): fixed hfill-width in draw!
15231
15232         * BufferView2.C (selectLastWord): save the selection cursor as this
15233         now is cleared in the function LyXText::clearSelection!
15234
15235 2001-08-08  Juergen Vigna  <jug@sad.it>
15236
15237         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15238         BACKSPACE type functions.
15239
15240         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15241         is only cutted from the document but not put in the cut-buffer, where
15242         still the old stuff should be.
15243
15244         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15245
15246         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15247
15248         * tabular.C (SetWidthOfCell): fixed special case where the width
15249         was not updated!
15250         (LeftLine): handle '|' in align_special.
15251         (RightLine): ditto
15252         (LeftAlreadyDrawed): ditto
15253         (SetWidthOfCell): ditto
15254
15255 2001-08-07  Juergen Vigna  <jug@sad.it>
15256
15257         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15258
15259 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15260
15261         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15262         * lyxlex.[hC]: ditto
15263
15264 2001-08-06  Juergen Vigna  <jug@sad.it>
15265
15266         * text.C (getVisibleRow): fix up row clearing a bit.
15267
15268 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15269
15270         * minibuffer.C: make sure the X server sees the changes in the input.
15271
15272 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15273
15274         * paragraph.C (getFont): split into...
15275         (getLabelFont): this
15276         (getLayoutFont): and this
15277         * paragraph_pimpl.C (realizeFont): calling this
15278
15279         * text2.C (getFont): split into...
15280         (getLayoutFont): this
15281         (getLabelFont): and this
15282         (realizeFont): all three calling this
15283
15284         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15285         files where used.
15286
15287 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15288
15289         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15290
15291 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15292
15293         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15294         layouts from the Quote inset insertion.
15295
15296 2001-08-03  Juergen Vigna  <jug@sad.it>
15297
15298         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15299
15300         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15301         only if status not is already CHANGED_IN_DRAW (second level).
15302
15303         * text.C (draw): don't set the need_break_row when inside an
15304         InsetText LyXText.
15305
15306 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15307
15308         * buffer.C (parseSingleLyXformat2Token): handle more latex
15309         conversion cases.
15310
15311         * bufferview_funcs.[hC]: change function names to
15312         begin with small char, adjust other files.
15313
15314 2001-08-02  André Pönitz <poenitz@gmx.net>
15315
15316         * lyxfunc.C:
15317         BufferView_pimpl.C: remove broken special code for math-greek
15318
15319 2001-08-02  Juergen Vigna  <jug@sad.it>
15320
15321         * BufferView_pimpl.C (update): redone this function so that we
15322         update the text again if there was a CHANGE_IN_DRAW.
15323
15324         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15325         (drawFromTo): added a new internal bool which is used by draw() and
15326         redraw() function.
15327         (general): some cursor drawing problems fixed.
15328
15329 2001-08-01  Juergen Vigna  <jug@sad.it>
15330
15331         * lyxfind.C (LyXFind): fixed
15332         (SearchForward): ditto
15333         (SearchBackward): ditto
15334
15335         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15336         spurius drawing of the cursor in the main area.
15337
15338         * text2.C (status): small fix which could lead to a segfault!
15339         (clearSelection): remove unneeded BufferView param.
15340
15341 2001-08-01  André Pönitz <poenitz@gmx.net>
15342
15343         * lyxfunc.C: small change due to changed mathed interface
15344
15345 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15346
15347         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15348
15349 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15350
15351         * lyxfunc.c: fail gracefully if file doesn't exist
15352
15353         * LyXSendto.C:
15354         * buffer.C:
15355         * lyxfunc.C:
15356         * BufferView_pimpl.C: IsDirWriteable() proto changed
15357
15358         * LyXView.C: fix updateWindowTitle() to store the last title
15359
15360 2001-07-31  Juergen Vigna  <jug@sad.it>
15361
15362         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15363         the font (wrong since using of Paragraph::highestFontInRange).
15364
15365         * paragraph.C (highestFontInRange): added a default_size parameter.
15366
15367         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15368         (setHeightOfRow): reformat
15369
15370 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15371
15372         * converter.[hC] + affected files: move to (inital-char)lowercase
15373         function names.
15374
15375         * ParagraphParameters.C (ParagraphParameters): remove commented code
15376
15377         * PainterBase.[Ch]: remove commented code
15378
15379         * LaTeXFeatures.h: add "bool floats" for float.sty
15380
15381         * LaTeXFeatures.C (LaTeXFeatures): init floats
15382         (require): handle float
15383         (getPackages): do it with floats
15384
15385 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15386
15387         * BufferView_pimpl.C (Dispatch): improve handling of
15388         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15389
15390         * commandtags.h: #include lyxfont.h here temporarily to avoid
15391         keybinding bug.
15392
15393         * bufferlist.h: include LString.h here.
15394
15395 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15396
15397         * text2.C (getStringToIndex): new method.
15398
15399 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15400
15401         * *: Reduced header file dependencies all over.
15402
15403 2001-07-30  Baruch Even  <baruch@lyx.org>
15404
15405         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15406
15407 2001-07-29  Baruch Even  <baruch@lyx.org>
15408
15409         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15410
15411 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15412
15413         * ParameterStruct.h (endif): add a default constructor to make
15414         sure that all variables is initialized.
15415
15416         * ParagraphParameters.C (ParagraphParameters): adjust
15417
15418 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15419
15420         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15421         index; also, check that there is something to index, and that it
15422         does not span over several paragraphs.
15423         (doubleClick): use WHOLE_WORD_STRICT for double click.
15424
15425         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15426
15427         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15428         scheme.
15429
15430 2001-07-26  Baruch Even  <baruch@lyx.org>
15431
15432         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15433         an InsetFig figure, backwards compatible reading of old figure code.
15434
15435 2001-07-27  Juergen Vigna  <jug@sad.it>
15436
15437         * text2.C: font.realize function adaption.
15438
15439         * text.C (draw): add a warnings lyxerr text if needed.
15440
15441         * layout.C: font.realize function adaption.
15442
15443         * language.C: add inherit_language and implement it's handlings
15444
15445         * bufferview_funcs.C (StyleReset): remove language parameter from
15446         font creation (should be language_inherit now).
15447
15448         * bufferparams.C (writeFile): handle ignore_language.
15449
15450         * paragraph.C (getFontSettings): the language has to be resolved
15451         otherwise we have problems in LyXFont!
15452
15453         * lyxfont.C (lyxWriteChanges): added document_language parameter
15454         (update): removed unneeded language parameter
15455
15456         * paragraph.C (validate): fixed wrong output of color-package when
15457         using interface colors for certain fonts in certain environments,
15458         which should not seen as that on the final output.
15459
15460 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15461
15462         * BufferView_pimpl.C:
15463         * Thesaurus.h:
15464         * Thesaurus.C:
15465         * Makefile.am:
15466         * commandtags.h:
15467         * LyXAction.C: add thesaurus support
15468
15469         * lyxfind.h:
15470         * lyxfind.C: add "once" parameter, for thesaurus, to not
15471           move to the next match
15472
15473 2001-07-26  Juergen Vigna  <jug@sad.it>
15474
15475         * lyxfont.C (realize): honor ignore_language too!
15476         (resolved): ditto.
15477
15478         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15479
15480         * text.C (draw): one place more for ignore_language to not draw
15481         itself!
15482
15483 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15484
15485         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15486
15487 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15488
15489         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15490         the minipage conversion problem.
15491
15492 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15493
15494         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15495         insert an inset.
15496
15497 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15498
15499         * BufferView.h: don't forward declare WorkArea
15500
15501         * BufferView.C: don't include WorkArea.h
15502
15503 2001-07-25  André Pönitz <poenitz@gmx.net>
15504
15505         * commandtags.h:
15506         * LyXAction.C:
15507         * lyxfunc.C:  new LFUN 'math-space'
15508
15509         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15510
15511 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15512
15513         * text2.C (toggleInset): call open/close
15514
15515 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15516
15517         * lyxfunc.C (dispatch): add debug for the disabled case
15518
15519         * font.C (buttonText): make similar to rectText
15520
15521         * buffer.C (readInset): comment out parsing of insetlist and
15522         insttheorem
15523
15524         * PainterBase.C (rectText): small correction
15525
15526         * BufferView_pimpl.C: comment out insettheorem and insetlist
15527         * LyXAction.C: ditto
15528         * commandtags.h: ditto
15529
15530 2001-07-24  Juergen Vigna  <jug@sad.it>
15531
15532         * text.C (draw): honor the ignore_language.
15533
15534         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15535
15536 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15537
15538         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15539         char inset.
15540
15541 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15542
15543         * lyxtext.h: remove unused (and unimplemented) methods
15544
15545 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15546
15547         * text.C (getVisibleRow): honor background color
15548
15549         * PainterBase.h:
15550         * Painter.h: remove default color argument for fillRectangle
15551
15552         * text.C (backgroundColor): new method
15553
15554 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15555
15556         * text.C (getVisibleRow): adjust
15557
15558         * font.[Ch] (rectText): new method, metrics
15559         (buttonText): new method, metrics
15560
15561         * PainterBase.[hC]: make rectText and buttonText always draw and take
15562         fewer paramteres.
15563
15564 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15565
15566         * ToolbarDefaults.C (read):
15567         * MenuBackend.C (read): allow escaping in all strings
15568
15569         * BufferView_pimpl.C (insertAndEditInset): new method.
15570         (Dispatch): use insertAndEditInset whenever appropriate.
15571
15572         * BufferView_pimpl.C (insertNote): removed
15573
15574         * BufferView_pimpl.C (smartQuote): new method, moved from
15575         BufferView; if an insetquote cannot be inserted, insert a '"'
15576         character instead.
15577
15578         * BufferView2.C: remove insertCorrectQuote();
15579
15580         * lyxfunc.C (getStatus): Add support for all remaingin
15581         inset-insert lfuns.
15582
15583         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15584
15585         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15586         command (necessary to pass " as parameter of self-insert.
15587
15588         * text.C (selectWordWhenUnderCursor):
15589         (selectWord): add word_location parameter
15590         (selectWordWhenUnderCursor): same + remove special code for word
15591         boundary.
15592         (selectNextWord): use kind() to guess type of insetspecialchar,
15593         not latex().
15594
15595         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15596         (insertErtContents): create ert insets as collapsed.
15597         (readInset): better compatibility code for Info inset.
15598
15599 2001-07-20  Juergen Vigna  <jug@sad.it>
15600
15601         * lyxfunc.C (dispatch): use always LyXFind now!
15602
15603         * text2.C (init): add a reinit flag so that the LyXText can be
15604         reinited instead of deleted and reallocated (used in InsetText).
15605
15606         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15607
15608         * text.C: ditto
15609
15610         * text2.C: ditto
15611
15612 2001-07-18  Juergen Vigna  <jug@sad.it>
15613
15614         * text.C (selectNextWord): handle insets inside inset by calling
15615         always the bv->text functions so that we can go up the_locking_inset!
15616
15617         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15618         in strange locations when inside an inset!
15619
15620         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15621         handling to include insets.
15622
15623         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15624
15625 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15626
15627         * LyXAction.C (init):
15628         * commandtags.h:
15629         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15630         LIGATURE_BREAK, since the name is so stupid.
15631
15632 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15633
15634         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15635         InsetInfos.
15636
15637         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15638
15639         * sp_form.[Ch]: remove.
15640
15641         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15642
15643         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15644         InsetInfo.
15645
15646         * src/buffer.C (readInset): ditto.
15647
15648 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15649
15650         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15651         menuSeparator(), endOfSentenceDot(), ldots() and
15652         hyphenationPoint(), which are therefore removed.
15653         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15654
15655         * LyXAction.C (init):
15656         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15657
15658         * paragraph.C (getWord): removed.
15659
15660         * BufferView_pimpl.C (Dispatch): use last word or selection for
15661         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15662
15663         * lyx_main.C (queryUserLyXDir): do not ask before creating
15664         user_dir, except if it has been named explicitely.
15665
15666 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15667
15668         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15669         a document of zero size.
15670
15671 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15672
15673         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15674         approriately in the c-tor and in require().
15675         (getPackages): output the appropriate LaTeX for natbib support.
15676
15677         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15678         variables "use_natbib" and "use_numerical_citations" when reading the
15679         LyX file.
15680         (readInset): read the various natbib cite commands.
15681         (validate): white-space change.
15682
15683         * bufferparams.[Ch]: new variables "bool use_natbib" and
15684         "bool use_numerical_citations".
15685         (writeFile): output them in the LyX file.
15686
15687 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15688
15689         * lyxfunc.C (getStatus): add support for all the inset insertion
15690         commands.
15691
15692         * text2.C (insertInset):
15693         * paragraph.C (insetAllowed):
15694         * BufferView_pimpl.C (insertInset): update to take in account the
15695         renaming of insertInsetAllowed
15696
15697         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15698
15699         * text2.C (getInset): new method. returns inset at cursor position.
15700
15701         * BufferView_pimpl.C (Dispatch): changes because of this.
15702
15703         * LyXAction.C (init): rename open-stuff to inset-toggle.
15704
15705         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15706
15707         * text2.C (toggleInset): renamed from openStuff; use
15708         Inset::open().
15709
15710 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15711
15712         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15713
15714         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15715
15716 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15717
15718         * buffer.C (readLyXformat2): Add filename to the error dialog
15719
15720 2001-07-18  Juergen Vigna  <jug@sad.it>
15721
15722         * tabular.C (GetCellNumber): put an assert here instead of the check!
15723
15724 2001-07-17  Juergen Vigna  <jug@sad.it>
15725
15726         * BufferView_pimpl.C (toggleSelection): adapted too.
15727
15728         * text.C (selectNextWord): adapted for use with insets.
15729         (selectSelectedWord): ditto
15730
15731 2001-07-17  Juergen Vigna  <jug@sad.it>
15732
15733         * sp_spell.C (PSpell): fix initialitation order.
15734
15735 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15736
15737         * paragraph.C: spacing
15738
15739 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15740
15741         * sp_spell.C: repair language selection for pspell
15742
15743 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15744
15745         * lyxfunc.h: change more methods to begin with lower char.
15746
15747 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15748
15749         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15750         for unknown layouts.
15751
15752 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15753
15754         * buffer.C (readLyXformat2): Generate an error dialog if there are
15755         unknown layouts.
15756
15757 2001-07-16  Juergen Vigna  <jug@sad.it>
15758
15759         * sp_spell.C: always compile ISpell part.
15760
15761         * lyxrc.C: added use_pspell entry and it's handling.
15762
15763 2001-07-13  Juergen Vigna  <jug@sad.it>
15764
15765         * sp_spell.C: removed double includes.
15766
15767 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15768
15769         Consistent use of Lsstream.h:
15770         * Lsstream.h: added using std::stringstream for consistencies sake.
15771
15772         * buffer.C: removed using std::stringstream
15773
15774         * lyxfont.C (stateText):
15775         * paragraph.C (asString):
15776         * text.C (selectNextWord, selectSelectedWord):
15777         * text2.C (setCounter):
15778         * vspace.C (asString, asLatexString):
15779         std::ostringstream -> ostringstream.
15780
15781 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15782
15783         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15784         * commandtags.h: add LFUN_HELP_ABOUTLYX
15785         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15786
15787 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15788
15789         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15790         cursorToggle()
15791         * lyx_gui_misc.C: remove spellchecker
15792         * lyxfunc.C: showSpellchecker
15793         * sp_base.h: added
15794         * sp_ispell.h: added
15795         * sp_pspell.h: added
15796         * sp_spell.C: added
15797         * sp_form.[Ch]: removed
15798         * spellchecker.[Ch]: removed
15799
15800 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15801
15802         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15803         is set.
15804         (simpleTeXSpecialChars): Simply print the input character without
15805         any special translation if pass_thru is set.
15806
15807         * layout.h: Added bool pass_thru to layout class for being able to
15808         implement pass through of a paragraph for Literate Programming.
15809
15810         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15811         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15812         * layout.C (Read): add "passthru" to list of layout tags and add
15813         code to set the pass_thru boolean when it is read.
15814
15815 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15816
15817         * trans_decl.h: remove allowed from KmodInfo
15818
15819         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15820         remove allowed code
15821         (Load): adjust
15822
15823         * paragraph_pimpl.C (erase): use boost::prior
15824
15825         * Painter.C (text): use data() instead of c_str() when length is
15826         also provided.
15827         * WorkArea.C (putClipboard): ditto
15828         * font.h (width): ditto
15829
15830         * BufferView2.C: use it-> instead of (*it). for iterators
15831         * texrow.C: ditto
15832         * paragraph_pimpl.C: ditto
15833         * paragraph.C: ditto
15834         * minibuffer.C: ditto
15835         * language.C: ditto
15836         * kbmap.C: ditto
15837         * encoding.C: ditto
15838         * counters.C: ditto
15839         * converter.C: ditto
15840         * chset.C: ditto
15841         * Variables.C: ditto
15842         * TextCache.C: ditto
15843         * MenuBackend.C: ditto
15844         * LyXAction.C: ditto
15845         * LColor.C: ditto
15846         * FloatList.C: ditto
15847         * DepTable.C: ditto
15848         * ColorHandler.C (LyXColorHandler): ditto
15849
15850 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15851
15852         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15853
15854         * text2.C (openStuff): reintroduce this method (which had been
15855         nuked in NEW_INSETS frenzy).
15856
15857         * lyxfunc.C (Dispatch): when an action has not been handled, use
15858         its name in the error message, not its number.
15859
15860         * paragraph.C (inInset): change method name to begin with lowercase.
15861
15862         * undo_funcs.C:
15863         * text2.C: updates because of this.
15864
15865 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15866
15867         * ToolbarDefaults.C (add): add spaces in error message
15868
15869 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15870
15871         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15872         (readLyXformat2): rename return_par to first_par, use lyxlex's
15873         pushToken and remove the manual push handling.
15874         (parseSingleLyXformat2Token): add another ert comp. variable:
15875         in_tabular, rename return_par to first_par. handle newlines better
15876
15877 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15878
15879         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15880
15881 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15882
15883         * text2.C (getParFromID): removed
15884
15885         * buffer.C (getParFromID): new method moved form lyxtext.
15886         * BufferView2.C (insertErrors): adjust
15887         (setCursorFromRow): adjust
15888         * BufferView_pimpl.C (restorePosition): adjust
15889         * lyxfunc.C (Dispatch): adjust
15890         * undo_funcs.C (textUndo): adjust
15891         (textRedo): adjust
15892         (textHandleUndo): adjust
15893         (textHandleUndo): adjust
15894
15895 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15896
15897         * buffer.C: up' the LYX_FORMAT
15898
15899         * lyxfont.h: turn NO_LATEX on as default
15900
15901         * buffer.C (insertErtContents): new methods of tex style compability.
15902         (parseSingleLyXformat2Token): use it several places.
15903         * tabular.C (OldFormatRead): and here
15904
15905 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15906
15907         * text2.C: remove some commented code.
15908         reindent file.
15909
15910         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15911         * trans.C: changes because of the above.
15912
15913 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15914
15915         * text2.C (setCounter): Fix counters bug with bibliography layout.
15916
15917 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15918
15919         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15920         own member functions
15921         (simpleTeXSpecialChars): ditto
15922
15923 2001-07-06  Juergen Vigna  <jug@sad.it>
15924
15925         * a lot of files: changed the access to LyXText::status and the
15926         call of undo-functions.
15927
15928         * undo.[Ch]: added a inset_id to the undo informations.
15929
15930         * undo_funcs.[Ch]: added and moved here all undo functions.
15931
15932         * lyxtext.h: give the status enum a weight, made status_ a private
15933         variable and made accessor functions for it, removed the whole bunch
15934         of undo-functions as they are now in their own file, make some
15935         functions publically available. Added function ownerParagraph with
15936         int parameter.
15937
15938         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15939         made InInset() a const function, added getParFromID() function.
15940
15941         * buffer.[Ch]: added const version for inset_iterator functions,
15942         added getInsetFromID() function.
15943
15944         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15945         changed undo functions for new version.
15946
15947 2001-07-05  Juergen Vigna  <jug@sad.it>
15948
15949         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15950         unknow mechanism does not call the proper constructor but only this
15951         one also if I request the other!?
15952
15953 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15954
15955         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15956
15957         * text2.C (LyXText): use initialization lists.
15958
15959         * lyxtext.h (Selection): initialize set_ and mark_
15960         (init): remove method
15961
15962 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15963
15964         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15965
15966 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15967
15968         * screen.[Ch]: change method names to begin with lowercase
15969
15970         * BufferView_pimpl.C (updateScrollbar): simplify further and
15971         hopefully make it a bit faster.
15972
15973 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15974
15975         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15976         calling directly xforms functions.
15977
15978         * Painter.C (Painter):
15979         * lyx_cb.C (MenuWrite):
15980         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15981         fl_display.
15982
15983         * lyx_gui.C: remove bogus guiruntime extern declaration.
15984
15985 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15986
15987         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15988         in NEW_INSETS
15989         (redoDrawingOfParagraph): ditto
15990         (redoParagraphs): ditto
15991         (cutSelection): don't create a object for CutAndPaste use the
15992         static method directly
15993         (pasteSelection): ditto
15994
15995         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15996         LyXview (+ rename)
15997
15998 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15999
16000         * modifications to some other files because of this.
16001
16002         * Makefile.am (lyx_SOURCES): add XFormsView
16003
16004         * XFormsView.[Ch]: new files
16005
16006         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16007         the main window. Move the gui dependent stuff to XFormsView
16008
16009 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16010
16011         * tabular.C (GetCellInset): update cur_cell also in the row/col
16012         version of this function.
16013
16014         * lyxfunc.C: no need to include figure_form.h here.
16015
16016         * FontLoader.h:
16017         * lyxfunc.h:
16018         * lyxscreen.h:
16019         * text2.C:
16020         * lyxvc.C: no need to include forms.h here.
16021
16022 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16023
16024         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16025
16026         * lyxfunc.C (Dispatch):
16027         * Spacing.C (set):
16028         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16029         constructor argument.
16030
16031 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16032
16033         * paragraph.C (Paragraph): dont't clear, and just set layout.
16034         (makeSameLayout): use params's copy contructor.
16035
16036         * ParagraphParameters.[Ch] (makeSame): delete method
16037
16038 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16039
16040         * Variables.[Ch]: fix indentation, rename set to isSet
16041
16042 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16043
16044         * lyxfunc.C (Dispatch): fix typo
16045
16046 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16047
16048         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16049         upper_bound.
16050
16051         * bufferlist.C: include assert.h for emergencyWrite().
16052
16053 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16054
16055         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16056           give up at last (bug #425202) !
16057
16058 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16059
16060         * lyx_gui_misc.C:
16061         * sp_form.h:
16062         * sp_form.C:
16063         * spellchecker.h:
16064         * spellchecker.C: strip spellchecker options and bring up
16065           preferences tab instead
16066
16067 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16068
16069         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16070         the istringstream constructor
16071
16072 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16073
16074         * paragraph.C (getLayout): fix return value
16075
16076         * paragraph.h: do not declare getLayout as inline.
16077
16078         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16079
16080 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16081
16082         * lyxcursor.h (operator<): new func
16083         (operator>): new func
16084         (operator>=): new func
16085         (operator<=): new func
16086
16087         * text.C (changeCase): use selection.start and selection.end
16088         (changeRegionCase): require from to be <= to. Require par to be a
16089         valid paragraph.
16090
16091         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16092
16093 2001-06-27  Juergen Vigna  <jug@sad.it>
16094
16095         * text.C (cursorLeftOneWord): changed to return the cursor and added
16096         overlay with BufferView * parameter which calls this one.
16097         (getWord): added
16098         (selectWord): use new getWord function.
16099         (changeCase): renamed from changeWordCase as and extended to work
16100         also on selections.
16101
16102         * lyxtext.h: added enum word_location
16103
16104         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16105         changeCase as this operates now also on selections.
16106
16107 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16108
16109         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16110
16111         * many files: send debug output to Debug::INFO instead of
16112         Debug::ANY.
16113
16114         * converter.C (View):
16115         (Convert):
16116         (Move): send debug output to Debug::FILES instead of console.
16117
16118 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16119
16120         * lyxfunc.C (getStatus): use func_status
16121
16122         * func_status.h: new header, describing the results of
16123         LyXFunc::getStatus;
16124
16125         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16126         LFUN_MATH_HALIGN.
16127
16128 2001-06-25  The LyX Project  <jug@sad.it>
16129
16130         * buffer.C (sgmlOpenTag):
16131         (sgmlCloseTag):
16132         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16133
16134 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16135
16136         * text2.C: remove some dead code
16137
16138         * tabular.C (GetCellInset): store the last cell checked (gotten)
16139
16140         * tabular.h: add the helper for the speedup
16141
16142         * lyxtext.h: remove some dead code
16143
16144 2001-06-26  The LyX Project  <Asger>
16145
16146         * paragraph.C: Change export to LaTeX of alignment to
16147         \begin{center} and family for better roundtrip work with reLyX.
16148
16149         * Tune the math drawing a bit.
16150
16151 2001-06-25  The LyX Project  <Asger>
16152
16153         * LColor.C (LColor): New color for math background. New color
16154         for buttons.
16155
16156 2001-06-25  The LyX Project  <jug@sad.it>
16157
16158         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16159
16160         * lyxfunc.C (Open):
16161         * bufferlist.C (newFile): do not restrict to files ending with
16162         .lyx
16163
16164         * BufferView_pimpl.C (MenuInsertLyXFile):
16165
16166 2001-06-24  The LyX Project  <jug@sad.it>
16167
16168         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16169         of compare_no_case
16170
16171 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16172
16173         * lyxtext.h: rename most methods to begin with a small char.
16174         Lots of changes because of this.
16175
16176         * paragraph.C (Paragraph): do not call fitToSize
16177         (erase): call Pimpl::erase
16178         (insertChar): call Pimpl::insertChar
16179         (insertInset): call Pipl::insertInset
16180         (breakParagraph): do not call fitToSize
16181         (breakParagraphConservative): do not call fitToSize
16182         (fitToSize): remove method
16183
16184         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16185
16186 2001-06-24  The LyX Project  <Asger>
16187
16188         * Fix Qt compilation^2
16189
16190 2001-06-24  The LyX Project  <jug@sad.it>
16191
16192         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16193         depthHook(getDepth()-1).
16194
16195         * paragraph.h:
16196         * ParagraphParameters.h:
16197         * ParameterStruct.h: change type of depth to unsigned int ==
16198         depth_type. Many adaptations to other files before of that.
16199
16200 2001-06-24  The LyX Project  <Asger>
16201
16202         * Fix Qt compilation.
16203
16204 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16205
16206         * paragraph.h: renamed several methods to begin with small letter.
16207         several changes to many parts of the code because of this.
16208
16209 2001-06-23  The LyX Project  <jug@sad.it>
16210
16211         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16212         rewritten to discard all double spaces when KeepEmpty is off
16213         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16214         to only handle newlines but not fiddle with spaces and friends.
16215
16216         * lyxfunc.C (MenuNew): when doing 'new from template', use
16217         template_path as default directory
16218
16219 2001-06-23  The LyX Project  <Asger>
16220
16221         * Clean-up of header file includes all over
16222         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16223
16224 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16225
16226         * paragraph.h: renamed from lyxparagraph.h
16227
16228 2001-06-23  Asger  <lyx@violet.home.sad.it>
16229
16230         * Buffer.h: Removed Buffer::resize
16231         * BufferList.h: Removed BufferList::resize
16232         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16233         the document lazily when we change the width, or the font settings.
16234
16235 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16236
16237         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16238
16239 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16240
16241         * buffer.h: remove out of date comment
16242
16243 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16244
16245         * lyxscreen.h:
16246         * screen.C: fix "theoretical" GC leak
16247
16248 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16249
16250         * LaTeX.C (scanAuxFile):
16251         (deplog): remove trailing \r when reading stream (useful under
16252         win32)
16253
16254 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16255
16256         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16257         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16258         and BufferView::theLockingInset(Inset*), so should use them and not
16259         access bv_->text->the_locking_inset directly.
16260
16261         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16262
16263 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16264
16265         * Makefile.am:
16266         * tex-defs.h: remove old unused file
16267
16268 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16269
16270         * BufferView_pimpl.C: fix typo, remove minibuffer message
16271           when buffer has loaded
16272
16273 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16274
16275         * lyxfunc.C (Dispatch): use stringstream
16276         (MenuNew): use stringstream
16277         (Open): use stringstream
16278
16279         * importer.C (Import): use stringstream
16280
16281         * bufferview_funcs.C (CurrentState): use stringstream
16282
16283         * LaTeX.C (run): use stringstream
16284
16285         * BufferView_pimpl.C (savePosition): use stringstream
16286         (restorePosition): use stringstream
16287         (MenuInsertLyXFile): use stringstream
16288
16289 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16290
16291         * BufferView.C:
16292         * Bullet.C:
16293         * ColorHandler.C:
16294         * FontInfo.C:
16295         * FontLoader.C:
16296         * LColor.C:
16297         * LaTeXFeatures.C:
16298         * Painter.C:
16299         * gettext.C:
16300         * lyx_gui_misc.C:
16301         * lyxserver.C:
16302         * vspace.C: removed // -*- C++ -*- as first line.
16303
16304         * lyxfind.h:
16305         * version.h: added // -*- C++ -*- as first line.
16306
16307 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16308
16309         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16310
16311         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16312         of string
16313
16314 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16315
16316         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16317         of floats.
16318
16319 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16320
16321         * gettext.C: include LString.h even when --disable-nls is on.
16322
16323 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16324
16325         * converter.h (Get): changed argument type from int to
16326         FormatList::size_type to avoid unnecessary conversion.
16327
16328         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16329         before using it.
16330
16331 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16332
16333         * gettext.h: include LString.h even when --disable-nls is on.
16334
16335 2001-06-07  Juergen Vigna  <jug@sad.it>
16336
16337         * text.C (BreakAgain): subst spaces with tabs.
16338
16339         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16340         (resizeInsetsLyXText): set force on resizeLyXText.
16341
16342 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16343
16344         * gettext.h (gettext_init):
16345         (locale_init): use a real definition instead of a macro
16346
16347 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16348
16349         * Bufferview_pimpl.C:
16350         * LColor.h:
16351         * LColor.C: further lcolor tidies
16352
16353 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16354
16355         * BufferView_pimpl.C (updateScrollbar): simplify.
16356
16357         * BufferView2.C: don't include insets/insetinfo.h, change
16358         prototype for insertInset and call the Pimpl version. let
16359         updateInset call Pimpl version.
16360
16361         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16362         gotoInset to BufferView::Pimpl
16363
16364 2001-06-01  Juergen Vigna  <jug@sad.it>
16365
16366         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16367         inside a LockingInset (is the update needed at all?).
16368
16369 2001-05-31  Juergen Vigna  <jug@sad.it>
16370
16371         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16372         here not the old one otherwise how should we compare it afterwards
16373         if it's the same!
16374
16375 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16376
16377         * lyxfont.C:
16378         * tabular.C:
16379         * tabular-old.C:
16380         * FontInfo.C: bring C functions into global namespace when
16381         necessary
16382
16383 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16384
16385         * LString.h: make sure config.h has been loaded before LString.h.
16386
16387         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16388         (one for each char read by EatLine!).
16389
16390         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16391         variables.
16392
16393 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16394
16395         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16396         to the same as the par we break from
16397
16398 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16399
16400         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16401
16402         * MenuBackend.C (expand): also create menu entries for wide
16403         versions of the floats.
16404
16405         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16406
16407         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16408
16409         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16410         frontends/Makefile.am
16411
16412         * text2.C: adjust
16413         * text.C: adjust
16414
16415
16416         * tabular.C (getTokenValue): add std::
16417
16418         * tabular-old.C (getTokenValue): add std::
16419         (getTokenValue): ditto
16420         (getTokenValue): ditto
16421
16422         * screen.C (ToggleSelection): adjust
16423
16424         * lyxtext.h: put selection cursors inside a Selection struct.
16425
16426         * lyxfunc.C (moveCursorUpdate): adjust
16427
16428         * lyxfont.C (latexWriteStartChanges): add std::
16429
16430         * lyxfind.C: adjust
16431
16432         * font.h: delete with(char const *, LyXFont const &)
16433
16434         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16435
16436         * FontInfo.C (getFontname): add std::
16437
16438         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16439         (workAreaButtonPress): adjust
16440         (tripleClick): adjust
16441         (update): adjust
16442         (moveCursorUpdate): adjust
16443         (Dispatch): adjust
16444
16445         * BufferView2.C (gotoInset): adjust
16446
16447 2001-05-30  Juergen Vigna  <jug@sad.it>
16448
16449         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16450         to check pspell I add this as default as I now have new pspell
16451         libraries and they seem to use this.
16452
16453 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16454
16455         * text2.C (CutSelection): make the cursor valid before the call to
16456         ClearSelection.
16457
16458 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16459
16460         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16461         relied on 0 terminated strings and other horrors. Bug found due to
16462         the new assert in lyxstring!
16463
16464         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16465         KP_ keys.
16466
16467 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16468
16469         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16470         to latinkeys.bind.
16471
16472         * lyxfunc.C (processKeySym): change method of getting to the
16473         self-insert char.
16474
16475         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16476         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16477         * BufferView_pimpl.[Ch]: here as private methods.
16478
16479 2001-05-28  Juergen Vigna  <jug@sad.it>
16480
16481         * text.C (SetHeightOfRow): added the update() call again as it is
16482         needed to initialize inset dimensions!
16483
16484 2001-05-16  Juergen Vigna  <jug@sad.it>
16485
16486         * text2.C (SetCharFont): Add new function with BufferView * and
16487         bool toggleall parameters for setting insets internal fonts.
16488         (SetFont): Freeze the undo as we may change fonts in Insets and
16489         all this change should be inside only one Undo!
16490
16491         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16492         setting font's in insets as for them we have the SetFont function!
16493
16494 2001-05-15  Juergen Vigna  <jug@sad.it>
16495
16496         * text2.C (ClearSelection): to be sure we REALLY don't have any
16497         selection anymore!
16498
16499         * tabular.C (TeXCellPreamble): fixed the left border problem for
16500         multicolumn cells.
16501
16502 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16503
16504         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16505         dependancy file
16506
16507 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16508
16509         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16510         LFUN_BREAKPARAGRAPH.
16511
16512         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16513         help test to "internal only", similar for LFUN_INSERT_URL
16514
16515         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16516         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16517         auto_region_delete and deadkeys.
16518
16519 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16520
16521         * LColor.h:
16522         * LColor.C: remove some dead entries, tidy a little
16523
16524 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16525
16526         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16527         commented code.
16528         (Dispatch): implement LFUN_ESCAPE
16529
16530         * commandtags.h: add LFUN_ESCAPE
16531
16532         * LyXAction.C (init): add entry for LFUN_ESCAPE
16533
16534         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16535         Remove commented code.
16536         (insertNote): moved here
16537         (open_new_inset): moved here
16538
16539         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16540         BufferView_pimpl
16541
16542 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16543
16544         * kbmap.C (findbinding): clean it up and make it work correctly.
16545
16546         * lyx_main.C (init): do not pass argc and argv as parameters
16547
16548 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16549
16550         * buffer.C: fix path for OS/2 & Win32
16551
16552         * lyx_gui.C:
16553         * lyx_main:
16554         * lyx_main.C: Added os:: class.
16555
16556         * os2_defines.h: update
16557
16558 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16559
16560         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16561         better by trying again with reduced state.
16562
16563 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16564
16565         * lyxrc.C (read): print error about invalid key sequence only when
16566         debugging (because not all latinX keysyms are known to some X
16567         servers)
16568
16569         * kbsequence.C (getiso): add a few std:: qualifiers
16570         (getiso): comment out extra return statement.
16571
16572 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16573
16574         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16575         handling.
16576         (Dispatch): enhance the accent inset a bit. (not perfect)
16577
16578 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16579
16580         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16581
16582 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16583
16584         * bufferlist.C (emergencyWrite): fix assert() call
16585
16586 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16587
16588         * text.C (InsertChar): Added trivial patch to only send the "you
16589         can not do multiple spaces this way" message once during a
16590         session.
16591
16592 2001-05-08  Baruch Even  <baruch@lyx.org>
16593
16594         * Makefile.am: Changed order of libraries to get LyX to link properly
16595         with the gnome frontend.
16596
16597 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16598
16599         * LaTeXFeatures.h: add a std:: qualifier
16600
16601 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16602
16603         * paragraph.C (String): use stringstream
16604
16605 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16606
16607         * paragraph.C (writeFile): remove footflag arg
16608
16609         * buffer.C (makeLaTeXFile): use stringstream
16610         (latexParagraphs): remove footnot gurba
16611
16612         * LaTeXFeatures.C (getPackages): use stringstream
16613         (getMacros): likewise
16614         (getTClassPreamble): likewise
16615         (getFloatDefinitions): new method
16616
16617         * paragraph.C (writeFile): reindent
16618         (Erase): reindent
16619
16620         * WorkArea.h: revert the xpos + etc changes.
16621
16622         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16623
16624         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16625
16626         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16627         (pasteSelection): likewise
16628         * text2.C (CreateUndo): likewise
16629
16630 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16631
16632         * minibuffer.C (peek_event): temporarily reduce the functionality
16633         of the minibuffer (to allow args on lfuns)
16634
16635         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16636         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16637
16638         * buffer.C (readInset): add compability reading of old float
16639         lists, add reading of new style float list.
16640         (readInset): avoid reevaluation of inscmd.getCmdName()
16641         (getLists): reindent
16642
16643         * MenuBackend.C (MenuItem): implement parsing of
16644         md_floatlistinsert and md_floatinsert.
16645         (expand::LastFiles): move initalizaton of iterators out of loop,
16646         avoid reevaluation.
16647         (expand::Documents): introduce typdedef vector<string> Strings,
16648         and use it.
16649         (expand::ExportFormats): introduce typedef vector<Format const *>
16650         Formats, and use it.
16651         (expand): implement FloatListInsert and FloatInsert.
16652
16653         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16654         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16655         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16656
16657         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16658         handling.
16659         (Dispatch::LFUN_FLOAT_LIST): implement
16660
16661 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16662
16663         * LaTeX.C (run): Fix problem with --export code.
16664
16665 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16666
16667         * BufferView.[Ch] (workarea): removed.
16668         (getClipboard) new method; wrapper for workarea()->getClipboard()
16669
16670         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16671         bug.
16672
16673         * WorkArea.h (width, height, xpos, ypos): These methods all
16674         returned the dimensions of the work_area sub-area of WorkArea,
16675         resulting in a position error if the WorkArea were resized. Now
16676         return the dimensions of the entire WorkArea.
16677
16678         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16679
16680 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16681
16682         * LaTeX.C (deplog): correct the syntax of regex reg1
16683
16684 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16685
16686         * undo.C: remove !NEW_INSETS cruft
16687
16688 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16689
16690         * text2.C: remove !NEW_INSETS cruft
16691
16692         * text.C: remove !NEW_INSETS cruft
16693
16694         * tabular.C: remove !NEW_INSETS cruft
16695
16696         * spellchecker.C: remove !NEW_INSETS cruft
16697
16698         * lyxtext.h: remove !NEW_INSETS cruft
16699
16700         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16701
16702         * lyxfunc.C: remove !NEW_INSETS cruft
16703
16704         * lyxfind.C: remove !NEW_INSETS cruft
16705
16706         * lyx_cb.C: remove !NEW_INSETS cruft
16707
16708         * figureForm.C: remove  !NEW_INSETS cruft
16709
16710         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16711
16712         * buffer.[Ch]: remove !NEW_INSETS cruft
16713
16714         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16715
16716         * CutAndPaste.C: remove !NEW_INSETS cruft
16717
16718         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16719
16720         * BufferView2.C: remove !NEW_INSETS cruft
16721
16722         * BufferView.h: remove !NEW_INSETS cruft
16723
16724 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16725
16726         * Lsstream.h: include LString.h before the sstream headers to
16727         fix problem with gcc 2.95.3 and lyxstring
16728
16729 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16730
16731         * lyx_main.C: add using directives when needed for C functions
16732         declared in std:: namespace.
16733
16734 2001-04-27  Juergen Vigna  <jug@sad.it>
16735
16736         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16737         (SetHeightOfRow): comment out the update call should not be needed!
16738
16739 2001-04-13  Juergen Vigna  <jug@sad.it>
16740
16741         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16742         (LyXTabular): tried to minimize operator= operations (and realized
16743         hopfully Lars wish).
16744
16745 2001-04-27  Juergen Vigna  <jug@sad.it>
16746
16747         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16748
16749 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16750
16751         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16752
16753         * buffer.C (readInset): hack to make listof algorithm work
16754
16755         * BufferView_pimpl.C: hack to make listof algorithm work
16756
16757 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16758
16759         * LyXAction.C: removed all !NEW_INSETS cruft
16760         (init): moved lfun_item in method
16761
16762         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16763
16764 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16765
16766         * BufferView2.C (theLockingInset): white space.
16767
16768 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16769
16770         * minibuffer.C: include <iostream>
16771
16772         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16773
16774         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16775
16776         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16777
16778         * text.[Ch] (TransposeChars): new method
16779
16780 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16781
16782         * call message directly through LyXView instead of through LyXFunc
16783         * BufferView2.C: adjust
16784         * BufferView_pimpl.C: adjust
16785         * FontLoader.C: adjust
16786         * buffer.C: adjust
16787         * bufferview_funcs.C: adjust
16788         * converter.C: adjust
16789         * figureForm.C: adjust
16790         * importer.C: adjust
16791         * lyx_cb.C: adjust
16792         * lyx_gui_misc.C: adjust
16793         * lyxfunc.C: adjust
16794         * lyxvc.C: adjust
16795         * text2.C: adjust
16796         + more files in subdirs
16797
16798         * lyxparagraph.h (size): move up int file
16799         (GetLayout): ditto
16800
16801         * adjust all uses of Assert to lyx::Assert.
16802
16803         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16804         lyxfunctional in namespace lyx
16805         * layout.C (hasLayout): ditto
16806         (GetLayout): ditto
16807         (GetLayout): ditto
16808         (delete_layout): ditto
16809         (NumberOfClass): ditto
16810         * converter.C (GetFormat): ditto
16811         (GetNumber): ditto
16812         (Add): ditto
16813         (Delete): ditto
16814         (SetViewer): ditto
16815         * bufferlist.C (getFileNames): ditto
16816         (emergencyWriteAll): ditto
16817         (exists): ditto
16818         (getBuffer): ditto
16819         * MenuBackend.C (hasSubmenu): ditto
16820         (hasMenu): ditto
16821         (getMenu): ditto
16822         * BufferView_pimpl.C (getInsetByCode): ditto
16823
16824 2001-04-18  Juergen Vigna  <jug@sad.it>
16825
16826         * vspace.C (asLatexString): fixed the 100% problem.
16827
16828 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16829
16830         * lyxfunc.C (Dispatch):
16831         * minibuffer.C:
16832         * minibuffer.h: add a few std:: qualifiers
16833
16834 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16835
16836         * minibuffer.[Ch]: reimplement so that commands is initiated and
16837         run from lyxfunc, simplified som handling, and made the completion
16838         and history code for complete. wip.
16839
16840         * lyxfunc.C (processKeySym): call message
16841         (miniDispatch): new temporary method
16842         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16843         (LFUN_MESSAGE): implement
16844         (LFUN_MESSAGE_PUSH): implement
16845         (LFUN_MESSAGE_POP): implement
16846         (initMiniBuffer): the initial/defualt minibuffer message.
16847
16848         * lyxfont.[Ch]: inline some more getters
16849
16850         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16851
16852         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16853
16854         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16855         (AutoSave): use LFUN_MESSAGE
16856         (Reconfigure): ditto
16857
16858         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16859
16860         * figureForm.C: use LFUN_MESSAGE
16861
16862         * converter.C (runLaTeX): use LFUN_MESSAGE
16863
16864         * bufferview_funcs.C: use LFUN_MESSAGE
16865         (Melt): ditto
16866         (changeDepth): ditto
16867
16868         * bufferparams.h: use boost::
16869
16870         * bufferlist.h: inherit privately from noncopyable
16871
16872         * bufferlist.C (loadLyXFile): remove some commented code.
16873
16874         * buffer.C (runChktex): use LFUN_MESSAGE
16875
16876         * ShareContainer.h: inherit privately from noncopyable
16877
16878         * ParagraphParameters.[hC] (depth): inline it.
16879
16880         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16881         methods.
16882         (message): new method
16883         (messagePush): ditto
16884         (messagePop): ditto
16885         (show): init minibuffer
16886         (showState): direct call
16887
16888         * LaTeX.[Ch]: inherit privately from noncopyable
16889         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16890         instead of WriteStatus.
16891
16892         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16893
16894         * BufferView_pimpl.C (buffer): don't init minibuffer
16895         (workAreaButtonPress): use LFUN_MESSAGE
16896         (workAreaButtonRelease): ditto
16897         (savePosition): ditto
16898         (restorePosition): ditto
16899         (MenuInsertLyXFile): ditto
16900         (workAreaExpose): don't init minibuffer
16901         (update): remove commented code, simplify
16902
16903         * BufferView2.C (openStuff): use LFUN_MESSAGE
16904         (toggleFloat): ditto
16905         (menuUndo): ditto
16906         (menuRedo): ditto
16907         (copyEnvironment): ditto
16908         (pasteEnvironment): ditto
16909         (copy): ditto
16910         (cut): ditto
16911         (paste): ditto
16912         (gotoInset): ditto
16913         (updateInset): remove some commented code
16914
16915         * lastfiles.h: inherit privately from noncopyable
16916         * layout.h: ditto
16917         * lyx_gui.h: ditto
16918         * lyx_main.h: ditto
16919         * lyxlex.h: ditto
16920         * lyxlex_pimpl.h: ditto
16921
16922         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16923         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16924         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16925
16926         * LyXAction.h: inherit privately from noncopyable, add methods
16927         func_begin, func_end, returning iterators to the func map.
16928
16929         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16930         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16931         (func_begin): new method
16932         (func_end): new method
16933
16934         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16935         and not)
16936         (copySelection): ditto
16937         (pasteSelection): ditto
16938
16939         * BufferView.C: whitespace change
16940         * BufferView.h: inherit privately from noncopyable
16941
16942 2001-04-16  Allan Rae  <rae@lyx.org>
16943
16944         * tabular-old.C (l_getline):
16945         * spellchecker.C (sc_check_word):
16946         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16947         an unrecognised preprocessor directive.  So ensure they're wrapped.
16948
16949 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16950
16951         * src/exporter.C (Export): Give an error message when path to file
16952         contains spaces.
16953
16954 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16955
16956         * LaTeX.C (deplog): Always check that foundfile exists.
16957
16958 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16959
16960         * lyx_main.h:
16961         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16962
16963 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16964
16965         * tabular.[Ch] (getLabelList): implement new method
16966
16967         * minibuffer.h: comment ouf setTiimer
16968
16969         * minibuffer.C (ExecutingCB): constify res
16970         (peek_event): constify s
16971         (Set): constify ntext
16972         (Init): constify nicename
16973
16974         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16975
16976         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16977         (savePosition): use two params to Minibuffer::Set
16978         (restorePosition): ditto
16979
16980 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16981
16982         * lyx_main.C: include language.h
16983
16984         * Makefile.am (lyx_main.o): add language.h
16985
16986 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16987
16988         * exporter.C:
16989         * paragraph.C:
16990         * screen.C:
16991         * tabular.C:
16992         * CutAndPaste.C: include gettext.h
16993
16994         * lyxfont.h: remove old hack with ON and OFF.
16995
16996         * lyxparagraph.h:
16997         * lyxfont.h: do not include language.h...
16998
16999         * BufferView2.C:
17000         * LaTeXFeatures.C:
17001         * Painter.C:
17002         * bufferview_funcs.C:
17003         * font.C:
17004         * lyxfont.C:
17005         * text.C:
17006         * text2.C:
17007         * trans_mgr.C:
17008         * paragraph.C: ... but do it here instead
17009
17010 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17011
17012         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17013
17014         * tabular.C: small reformat
17015
17016         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17017         NEW_INSETS version
17018         (GetChar): ditto
17019         (BreakParagraph): ditto
17020         (SetOnlyLayout): ditto
17021         (SetLayout): ditto
17022
17023         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17024         with one arg less.
17025
17026         * lastfiles.C: removed most using decl, add std:: where needed
17027
17028         * buffer.C: ws changes
17029
17030         * MenuBackend.C (class compare_format): put into anon namespace
17031         (expand): constify label, names, action, action2
17032         (expand):
17033
17034         * text.C (SingleWidth): constify font
17035         (IsBoundary): constify rtl2
17036         (GetVisibleRow): constify ww
17037
17038         * LaTeX.C (deplog): constify logfile
17039
17040         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17041         start_x, end_x
17042         (workAreaExpose): constify widthChange, heightChange
17043
17044         * lyxrow.C (par): moved
17045         (height): moved
17046         (next): moved
17047         * lyxrow.h: as inlines here
17048
17049         * lyxfont.h (shape): moved from lyxfont.C
17050         (emph): moved from lyxfont.C
17051
17052         * lyxfont.C (LyXFont): use initialization list for all
17053         constructors
17054         (shape): move to lyxfont.h as inline
17055         (emph): move to lyxfont.h as inline
17056
17057
17058 2001-04-04  Juergen Vigna  <jug@sad.it>
17059
17060         * vspace.C: had to include stdio.h for use of sscanf
17061
17062 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17063
17064         * BufferView.h:
17065         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17066         independent of xforms.
17067
17068 2001-04-02  Juergen Vigna  <jug@sad.it>
17069
17070         * spellchecker.C: fixed namespace placing!
17071
17072 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17073
17074         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17075         the LyXParagraph * is 0.
17076
17077 2001-03-29  Juergen Vigna  <jug@sad.it>
17078
17079         * vspace.C: added support for %, c%, p%, l%.
17080         (stringFromUnit): added helper function.
17081         (asLatexString): changed to give right results for the %-values.
17082
17083         * buffer.C: convert the widthp in a width%.
17084
17085 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17086
17087         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17088         figureForm.[Ch].
17089
17090         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17091         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17092
17093         * lyx_cb.[Ch]: see above.
17094
17095         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17096         form1.[Ch].
17097
17098         * form1.[Ch]:
17099         * lyx.[Ch]: replaced by figure_form.[Ch].
17100
17101         * lyx_gui.C:
17102         * lyx_gui_misc.C:
17103         * lyxfunc.C: changed headers associated with above changes.
17104
17105 2001-03-27  Juergen Vigna  <jug@sad.it>
17106
17107         * BufferView_pimpl.C: set the temporary cursor right!
17108
17109 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17110
17111         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17112
17113 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17114
17115         * LString.h: removed "using std::getline"!
17116
17117         * BufferView_pimpl.C (Dispatch): changes due to changes in
17118         InsetInclude::Params.
17119
17120         * buffer.C (tag_name): removed redundant break statements as they were
17121         producing lots of warnings with my compiler.
17122
17123 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17124
17125         * LString.h: add "using std::getline" when using the real <string>.
17126
17127 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17128
17129         * buffer.C: removed bitset usage.
17130         PAR_TAG moved to an anonymous name space.
17131         (tag_name): new funtion, also in the anonymous namespace.
17132         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17133         (makeDocBookFile): clean code. Completed transition from string arrays
17134         to string vectors.
17135         (SimpleDocBookOnePar): code clean.
17136
17137 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17138
17139         * tabular.C: add some comments.
17140
17141 2001-03-22  Juergen Vigna  <jug@sad.it>
17142
17143         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17144         compatibility read a bit and fixed bug with minipage in different
17145         depth.
17146
17147 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17148
17149         * buffer.C (pop_tag): removed.
17150         (push_tag): removed.
17151         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17152         array replaced with vector. Added support for CDATA sections.
17153         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17154         at any nest level.
17155         (makeDocBookFile): XML conformant declaration of CDATA section,
17156         fixed bug related to <emphasis> in the first paragraph char.
17157         (sgmlOpenTag): exclude empty tags.
17158         (sgmlCloseTag): ditto.
17159
17160         * buffer.h (pop_tag): removed.
17161         (push_tag): removed.
17162
17163 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17164
17165         * language.h (Languages): added size_type and size().
17166
17167 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17168
17169         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17170         response on compability reading of minipages. One probliem is that
17171         the old usage of minipages was «flertydig»
17172
17173         * several files here and in subdirs: don't use static at file
17174         scope use anon namespaces instead.
17175
17176 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17177
17178         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17179         LaTeX output. This is necessary for Literate document
17180         processing.
17181
17182 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17183
17184         * buffer.C: insert hfill when needed.
17185
17186         * tabular.C (l_getline): use string::erase, small whitespace change.
17187
17188         * BufferView_pimpl.C: try the anon namespace.
17189         * WorkArea.C: ditto
17190
17191 2001-03-16  Juergen Vigna  <jug@sad.it>
17192
17193         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17194         otherwise it won't open options-dialogs.
17195
17196         * buffer.C: honor pextraWidth(p) on converting minipages.
17197
17198         * tabular.C (l_getline): changed the functions to strip trailing \r.
17199
17200 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17201
17202         * BufferView_pimpl.C:
17203         * minibuffer..C: added "using SigC::slot" declaration.
17204
17205 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17206
17207         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17208
17209         * text2.C: ditto
17210
17211         * text.C: ditto
17212
17213         * paragraph.C: ditto
17214
17215         * lyxtext.h: NO_PEXTRA
17216
17217         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17218
17219         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17220         * ParameterStruct.h: ditto
17221         * ParagraphParameters.h: ditto
17222         * lyxparagraph.h: ditto
17223
17224 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17225
17226         * buffer.C: add compability for minipage alignment.
17227         (latexParagraphs): remove unwanted pextra check.
17228
17229         * several files: remove CXX_WORKING_NAMESPACES
17230
17231         * buffer.C (pop_tag): tie is in namespace boost
17232
17233         * BufferView.h: noncopyable is in namespace boost
17234         * lyxlex.h: ditto
17235         * lyx_main.h: ditto
17236         * lyx_gui.h: ditto
17237         * layout.h: ditto
17238         * lastfiles.h: ditto
17239         * bufferlist.h: ditto
17240         * ShareContainer.h: ditto
17241         * LyXView.h: ditto
17242         * LyXAction.h: ditto
17243         * LaTeX.h: ditto
17244
17245 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17246
17247         * Merging changes from BRANCH_MVC back into HEAD.
17248
17249         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17250
17251 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17252
17253         * BufferView_pimpl.C: change from intl.C
17254
17255         * combox.h:
17256         * combox.C:
17257         * Makefile.am: move combox.*
17258
17259         * form1.h:
17260         * form1.C:
17261         * lyx_gui.C:
17262         * intl.h:
17263         * intl.C: remove dialog (covered by prefs)
17264
17265 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17266
17267         * lyxfunc.C (Dispatch): removed redundant break statement.
17268
17269 2001-03-14  Juergen Vigna  <jug@sad.it>
17270
17271         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17272
17273 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17274
17275         * buffer.C: add hack to fix compability reading of minipages.
17276
17277 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17278
17279         * buffer.C (getLists): Cleanup.
17280
17281 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17282
17283         * lyxfont.C (update): don't honor toggleall on font size.
17284
17285 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17286
17287         * bmtable.c:
17288         * bmtable.h:
17289         * Makefile.am: moved to frontends/xforms/
17290
17291         * lyx_gui_misc.C:
17292         * lyxfunc.C:
17293         * BufferView_pimpl.C: changes for moved mathpanel
17294
17295 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17296
17297         * gettext.h: fix gettext_init() in --disable-nls
17298
17299 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17300
17301         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17302
17303 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17304
17305         * lyx.C:
17306         * lyx.h: strip external form
17307
17308 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17309
17310         * BufferView_pimpl.C: add comment, destroySplash()
17311
17312 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17313
17314         * BufferView_pimpl.C:
17315         * LyXAction.C:
17316         * buffer.C:
17317         * commandtags.h:
17318         * lyxfunc.C: use re-worked insetinclude
17319
17320 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17321
17322         * buffer.C: add using std::stringstream.
17323
17324         * lyx_cb.C: readd using std::ios.
17325
17326         * buffer.C: add using std::map.
17327
17328         * BufferView_pimpl.C: add using std::vector.
17329
17330         * ShareContainer.h: add std:: to swap.
17331
17332         * buffer.h: add some typedefs
17333         * buffer.C (getLists): use them
17334         (getLists): renamed from getTocList.
17335         add a counter for the different float types and use it in the
17336         generated string.
17337         (getLists): use the same counter for the NEW_INSETS and the "non"
17338         NEW_INSETS
17339
17340         * lyx_cb.h: remove unused items, includes, using etc.
17341
17342         * ShareContainer.h: remove some commented code, add more comments
17343         and "documentation".
17344
17345 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17346
17347         * buffer.C (getTocList): make the list also when NEW_INSETS is
17348         defined.
17349
17350         * buffer.h: remove TocType
17351
17352         * buffer.C (getTocList): change to return a map<string,
17353         vector<TocItem> >, implement for dynamic number of list.
17354
17355         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17356         * text2.C (PasteSelection): adjust
17357         * CutAndPaste.C (pasteSelection): adjust
17358
17359         * FloatList.C (FloatList): update from the new_insets branch.
17360         * Floating.[Ch]: ditto
17361         * LaTeXFeatures.C: ditto
17362         * buffer.C: ditto
17363         * lyxlex_pimpl.C: ditto
17364
17365         * paragraph.C (Last): remove when NEW_INSETS is defined.
17366
17367         * other file: changes because of the above.
17368
17369 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17370
17371         * lyxparagraph.h: rename next to next_, previous to previous_,
17372         make them private for NEW_INSETS. Rename Next() to next(),
17373         Previous() to previous().
17374
17375         * other files: changes because of the above.
17376
17377 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17378
17379         * BufferView.h:
17380         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17381         problem.
17382
17383 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17384
17385         * main.C (main): pass lyx_localedir to gettext_init().
17386
17387         * gettext.h: remove locale_init and gettext_init macros
17388
17389         * gettext.C (locale_init): new function
17390         (gettext_init): new function
17391
17392         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17393         setlocale().
17394
17395 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17396
17397         * Moved credits to frontends:
17398         * credits.[Ch]: removed
17399         * credits_form.[Ch]: removed
17400         * lyx_gui_misc.C: remove credits stuff
17401         * Makefile.am:
17402
17403 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17404
17405         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17406
17407         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17408         unneeded destructor.
17409
17410         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17411         a standalone pointer again.
17412
17413         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17414
17415 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17416
17417         * Makefile.am:
17418         * filedlg.h:
17419         * filedlg.C:
17420         * LyXAction.C:
17421         * ToolbarDefaults.C:
17422         * bufferlist.C:
17423         * commandtags.h:
17424         * form1.C:
17425         * form1.h:
17426         * lyx_cb.C:
17427         * lyx_cb.h:
17428         * lyxfunc.h:
17429         * lyxfunc.C:
17430         * BufferView_pimpl.C: use new file dialog in GUII
17431
17432         * lyx_cb.h:
17433         * lyx_cb.C: remove LayoutsCB to Toolbar
17434
17435 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17436
17437         * ShareContainer.h (get): add std:: qualifier
17438
17439 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17440
17441         * ShareContainer.h: define a proper ShareContainer::value_type
17442         type (and use typename to please compaq cxx)
17443
17444 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17445
17446         * lyxparagraph.h: move serveral local vars to
17447         ParameterStruct/ParagraphParameters., use ShareContainer in
17448         FontTable., make vars in FontTable private and add getter and
17449         setter.
17450
17451         * paragraph.C: changes because of the above.
17452
17453         * lyxfont.h: remove copy constructor and copy assignment. (the
17454         default ones is ok), move number inside FontBits. move inlines to
17455         lyxfont.C
17456
17457         * lyxfont.C: add number to initializaton of statics, move several
17458         inlines here. constify several local vars. some whitespace
17459         cleanup. Dont hide outerscope variables.
17460
17461         * Spacing.h: add two new constructors to match the set methods.
17462
17463         * ShareContainer.h: new file, will perhaps be moved to support
17464
17465         * ParameterStruct.h: new file
17466
17467         * ParagraphParameters.h: new file
17468
17469         * ParagraphParameters.C: new file
17470
17471         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17472         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17473
17474         * BufferView_pimpl.C: ParagraphParameter changes.
17475         * buffer.C: Likewise.
17476         * bufferview_funcs.C: Likewise.
17477         * text.C: Likewise.
17478         * text2.C: Likewise.
17479
17480 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17481
17482         * lyxfind.C (LyXReplace): do not redefine default argument in
17483         implementation.
17484         (IsStringInText): ditto
17485         (SearchForward): ditto
17486         (SearchBackward): ditto
17487
17488 2001-03-06  Juergen Vigna  <jug@sad.it>
17489
17490         * lyxfind.C (IsStringInText): put parentes around expressions.
17491
17492 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17493
17494         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17495
17496 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17497
17498         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17499
17500         * stl_string_fwd.h: add comment
17501
17502         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17503
17504         * tabular.h:
17505         * tabular.C: remove unused DocBook methods
17506
17507         * intl.C:
17508         * language.C:
17509         * paragraph.C:
17510         * buffer.C:
17511         killed DO_USE_DEFAULT_LANGUAGE
17512
17513 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17514
17515         * lyx_gui.C: do not include language.h.
17516
17517         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17518         arguments in function implementation.
17519
17520 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17521
17522         * BufferView_pimpl.C: add <ctime>
17523
17524 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17525
17526         * BufferView_pimpl.C: add using std::find_if
17527
17528 2001-02-27  José Matos  <jamatos@fep.up.pt>
17529
17530         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17531         by OnlyPath.
17532
17533 2001-02-11  José Matos  <jamatos@fep.up.pt>
17534
17535         * buffer.C (makeDocBookFile): command styles now have a parameter as
17536         "title" by default.
17537
17538 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17539
17540         * layout_forms.[Ch]: removed
17541         * lyx_cb.[Ch]: out character
17542         * lyx_gui.C: out character
17543         * lyx_gui_misc.C: out character
17544         * bufferview_funcs.C: : out character,
17545         added toggleall as parameter in ToggleAndShow
17546
17547 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17548
17549         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17550
17551         * text2.C (SetCurrentFont): Disable number property at boundary.
17552
17553 2001-02-26  Juergen Vigna  <jug@sad.it>
17554
17555         * lyxfunc.C (getStatus): added a string argument override function so
17556         that this is correctly called from LyXFunc::Dispatch if it contains a
17557         do_not_use_argument which is used!
17558         (Dispatch): added check for "custom" export and call appropriate func.
17559
17560 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17561
17562         * lyxrc.C: Add language_command_local, language_use_babel and
17563         language_global_options.
17564
17565         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17566
17567         * buffer.C (makeLaTeXFile): Use language_use_babel and
17568         language_global_options.
17569
17570 2001-02-23  Juergen Vigna  <jug@sad.it>
17571
17572         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17573         which works with LyXText and putted it inside BufferView. Here now we
17574         only call for that part the BufferView::Dispatch() function.
17575
17576         * BufferView.C (Dispatch): added.
17577
17578         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17579         functions which needs to use a LyXText over from LyXFunc.
17580         (MenuInsertLyXFile): added
17581         (getInsetByCode): added
17582         (moveCursorUpdate): added
17583         (static TEXT): added
17584
17585 2001-02-22  Juergen Vigna  <jug@sad.it>
17586
17587         * BufferView_pimpl.C (update): call a status update to see if LyXText
17588         needs it.
17589
17590 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17591
17592         * vc-backend.C (revert): implement for CVS
17593         (getLog): implement for CVS
17594
17595 2001-02-20  Juergen Vigna  <jug@sad.it>
17596
17597         * text2.C (ClearSelection): added BufferView param for inset_owner call
17598
17599         * lyxfunc.C (TEXT): added this function and use it instead of
17600         directly owner->view()-text of getLyXText().
17601
17602 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17603
17604         * src/layout_forms.C: out preamble
17605         * src/layout_forms.h: out preamble
17606         * src/lyx_cb.C: out preamble
17607         * src/lyx_cb.h: out preamble
17608         * src/lyx_gui.C: out preamble
17609         * src/lyx_gui_misc.C: out preamble
17610         * src/lyxfunc.C: connect with guii preamble
17611
17612 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17613
17614         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17615
17616 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17617
17618         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17619         whether to run bibtex.
17620
17621 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17622
17623         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17624
17625 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17626
17627         * Makefile.am (lyx_SOURCES): removed bibforms.h
17628
17629         * vspace.h: doxygen
17630
17631         * text.C (GetVisibleRow): make several local vars const
17632
17633         * tabular.C: small cleanup.
17634
17635         * lyxserver.C (callback): use compare instead of strncmp
17636
17637         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17638         inlines to after class or to paragraph.C
17639
17640         * lyxfont.h: remove friend operator!=
17641
17642         * converter.h: move friend bool operator< to non friend and after
17643         class def.
17644
17645         * combox.h: small cleanup
17646
17647         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17648         to inlines after class def.
17649
17650         * buffer.C (pop_tag): use string operations instead of strcmp
17651
17652         * bmtable.c: doxygen, small cleanup
17653
17654         * LaTeX.h: remove friend operator==
17655
17656 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17657
17658         * screen.C:
17659         * lyxrc.[Ch]:
17660         * lyxfunc.C:
17661         * lyxfont.[Ch]:
17662         * lyx_cb.C:
17663         * intl.[Ch]:
17664         * commandtags.h:
17665         * buffer.C:
17666         * WorkArea.[Ch]:
17667         * LyXAction.C:
17668         * BufferView_pimpl.C:
17669         * BufferView.[Ch]: remove cruft
17670
17671 2001-02-14  Juergen Vigna  <jug@sad.it>
17672
17673         * lyxfunc.C: removed #if 0 unused code
17674
17675         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17676
17677         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17678
17679         * text2.C (SetSelection): added a BufferView * parameter
17680
17681 2001-02-13  Juergen Vigna  <jug@sad.it>
17682
17683         * lyxfunc.C (Dispatch): fixed protected blank problem.
17684         * BufferView2.C (protectedBlank): added LyxText * parameter.
17685
17686         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17687         (AppendColumn): same as above for column_info.
17688
17689         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17690         (moveCursorUpdate): use a LyXText param for support of InsetText.
17691
17692         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17693         (tripleClick): ditto
17694
17695         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17696
17697         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17698
17699         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17700
17701         * text2.C (SetSelection): set correct update status if inset_owner
17702         (ToggleFree): ditto
17703
17704 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17705
17706         * tabular.C: remove some commented code.
17707
17708 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17709
17710         * BufferView_pimpl.C: call hideSplash()
17711
17712         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17713
17714         * include_form.h:
17715         * bibforms.h: remove
17716
17717         * lyxfunc.C:
17718         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17719           add LFUN_CHILD_CREATE
17720
17721         * counters.h: fix tiny typo
17722
17723         * lyx_cb.C:
17724         * lyx.h:
17725         * lyx_gui.C:
17726         * lyx.C: move splash to frontends/xforms/
17727
17728         * lyx_gui_misc.C: move Include and Bibform to frontends
17729
17730         * lyxvc.h: clarify comment
17731
17732         * vspace.C: tiny housekeeping
17733
17734 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17735
17736         * text.C (PrepareToPrint): RTL Fix.
17737
17738         * paragraph.C (GetUChar): New method.
17739         (String):  Use GetUChar.
17740
17741         * buffer.C (asciiParagraph): Use GetUChar.
17742
17743 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17744
17745         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17746
17747 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17748
17749         * buffer.h:
17750         * buffer.C: rename to getLogName(), handle
17751           build log / latex log nicely
17752
17753 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17754
17755         * MenuBackend.C:
17756         * MenuBackend.h: remove support for reference menuitem type.
17757
17758 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17759
17760         * BufferView_pimpl.C: housekeeping
17761         * BufferView_pimpl.h:
17762         * LyXView.h:
17763         * Makefile.am:
17764         * Timeout.C:
17765         * Timeout.h:
17766         * minibuffer.h: move Timeout GUI-I
17767
17768 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17769
17770         * lyxrc.C (read): Update converters data-structures.
17771
17772 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17773
17774         * LaTeX.h (operator!=): add operator != for Aux_Info
17775
17776 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17777
17778         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17779
17780         * LaTeXLog.C: deleted, useful code moved to Buffer
17781
17782         * buffer.h:
17783         * buffer.C: new function getLatexLogName()
17784
17785         * lyx_gui_misc.C:
17786         * lyx_gui.C:
17787         * lyxvc.C:
17788         * lyxvc.h:
17789         * lyxfunc.C: use frontends for LaTeX and VC logs
17790
17791 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17792
17793         * LaTeX.h: yet another std:: that Allan forgot.
17794
17795         * Variables.C (set): renamed from isset(), because this clashes
17796         with some HP-UX macros (grr).
17797
17798 2001-02-06  Allan Rae  <rae@lyx.org>
17799
17800         * LaTeX.h: Another bug fix.  Missing std:: this time.
17801
17802 2001-02-04  Allan Rae  <rae@lyx.org>
17803
17804         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17805         floats problem. I've left it commented out because it's not quite
17806         correct.  It should also test that the current object is a table or
17807         figure inset.  But I haven't gotten around to figuring out how to do
17808         that.  I *think* it'll be something like: "table" == inset.type()
17809
17810         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17811         bool.
17812
17813 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17814
17815         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17816         all the citation/databases/styles in the auxilary file.
17817         (run): Rerun latex if there was a babel language error.
17818
17819 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17820
17821         * text.C (Backspace): Preserve the font when changing newline char
17822         with a space.
17823         (BreakParagraph): If the cursor is before a space, delete the space.
17824
17825         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17826
17827 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17828
17829         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17830         new argument (code).
17831         (ChangeCitationsIfUnique): New method.
17832
17833         * paragraph.C (GetPositionOfInset): Handle bibkey.
17834
17835 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17836
17837         * BufferView_pimpl.h: change type of Position::par_pos to
17838         LyXParagraph::size_type.
17839
17840 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17841
17842         * BufferView_pimpl.C (savePosition, restorePosition): Write
17843         messages to minibuffer.
17844
17845 2001-01-28  José Matos  <jamatos@fep.up.pt>
17846
17847         * buffer.C (makeDocBookFile): adds support for document language.
17848         A silly restriction on the name of LatexCommand types where removed.
17849         Added support for CDATA sections, allows to chars unescaped, used
17850         among others in code, to avoid escape < and >.
17851
17852 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17853
17854         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17855         saved positions instrad of a stack. Furthermore, a position is
17856         stored using paragraph id/paragraph position.
17857
17858         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17859         Remove LFUN_REF_BACK.
17860
17861 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17862
17863         * converter.C (dvipdfm_options): New method.
17864
17865 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17866
17867         * vspace.C (isValidLength): Fix for empty input string.
17868
17869 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17870
17871         * LyXAction.C (init): change description of LFUN_FIGURE to
17872         "Insert Graphics"
17873
17874 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17875
17876         * LaTeX.C: add using directive
17877
17878 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17879
17880         * MenuBackend.C (expand): Fix the sorting of the formats.
17881
17882 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17883
17884         * lyx_main.C: tiny error message fix
17885
17886 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17887
17888         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17889         calling fl_initialize(). This fixes the problem with ',' as
17890         decimal separator in text files.
17891
17892 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17893
17894         * trans.C (process): Fix the keymap bug.
17895
17896 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17897
17898         * LaTeX.C (scanAuxFiles): New method. Provides support for
17899         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17900         (scanLogFile) Scan for "run BibTeX" messages.
17901
17902         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17903         OT1 font encoding. Also, load the aecompl package if the ae
17904         package is loaded.
17905
17906         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17907
17908 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17909
17910         * texrow.C (increasePos): turn two error messages into debug
17911         messages.
17912
17913 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17914
17915         * LaTeX.C (scanAux): Handle the \@input macro.
17916         (runBibTeX): Use scanAux().
17917
17918         * language.C (latex_options_): New field.
17919
17920         * LaTeXFeatures.C (getMacros): Add language macros.
17921
17922         * buffer.C (makeLaTeXFile): Small fix.
17923
17924 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17925
17926         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17927
17928         * text2.C: add a using directive.
17929
17930 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17931
17932         * BufferView2.C:
17933         * lyx_gui_misc.h:
17934         * lyxfr1.C:
17935         * lyxfunc.C: kill LyXBell.
17936
17937 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17938
17939         * text.C (IsBoundary): Remove the error message
17940
17941         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17942
17943         * lyxrc.C (setDefaults): Correct initialization value for
17944         font_norm_type.
17945
17946 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17947
17948         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17949         gotoError().
17950
17951         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17952         and GotoNextNote().
17953
17954         * src/LyXAction.C: Added reference-next.
17955
17956         * text.C (InsertChar): Use contains instead of strchr.
17957
17958         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17959
17960 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17961
17962         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17963         alignment commands (when needed).
17964
17965         * text.C (InsertChar): Add ':' to number separator chars.