]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
4c8c3dc44735e82c0c7a00e6b5f765c305d127be
[lyx.git] / src / ChangeLog
1 2005-06-14  Angus Leeming  <leeming@lyx.org>
2
3         * lyx_main.C (init): ensure that the LyX binary dir is the first
4         element in the PATH on non-POSIX builds.
5
6 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
7
8         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
9
10 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * rowpainter.C (paintInset, paintHebrewComposeChar)
13         (paintArabicComposeChar, paintChars): add a LyXFont argument.
14         (paintChars): use getFontSpan to reduce calls to getFont to a
15         minimum; use Paragraph::lookupChange instead of isXXXText.
16         (paintForeignMark): rename LyXFont argument.
17         (paintFromPos): pass a LyXFont object to the various paintXXX
18         methods.
19
20         * FontIterator.C (FontIterator, operator++): use
21         Paragraph::getFontSpan
22
23         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
24         version that returns the font span as a pair.
25
26 2005-06-09  Angus Leeming  <leeming@lyx.org>
27
28         * converter.C (convert): Don't forget "outfile = real_outfile" as
29         the final step in a conversion where the input and output file names
30         are the same. Otherwise, future conversion steps won't work...
31
32 2005-06-09  Angus Leeming  <leeming@lyx.org>
33
34         * lyxsocket.C: remove stub code as it isn't needed by
35         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
36
37 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
38
39         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
40         effectively disabled -x
41
42 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
43
44         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
45         when it actually makes sense.
46
47 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
48
49         * BufferView_pimpl.C: revert to showCursor in connection with
50         Lars's front-end stack
51
52 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
53
54         * text.C (redoParagraph): move cursor right after a bibitem
55         has been inserted.
56
57         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
58
59 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
60
61         * buffer_funcs.C (bufferErrors): fix computation of the end of an
62         error range.
63
64 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
65
66         * BufferView.[Ch] (update):
67         * BufferView_pimpl.[Ch] (update, metrics):
68         * dimension.h (operator==):
69         * lyxfunc.C (dispatch):
70         * metricsinfo.h (ViewMetricsInfo):
71         * rowpainter.C (paintText):
72         * lyxtext.h:
73         * text.C (redoParagraph):
74         * text3.C (dispatch): Make LyX only repaint current paragraph in
75         case of character insert --> speedup. Also fix cursor draw
76         artifacts
77
78 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
79
80         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
81         avoid a crash (bug 1891)
82
83 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
84
85         Fix bug 1892:
86
87         * text2.C (getStringToIndex): constify cur argument.
88
89         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
90         argument has been given
91         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
92         try to invoke LFUN_INSET_APPLY).
93
94         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
95         if no inset was created by doInsertInset
96         (doInsertInset): return true if an inset has been inserted.
97
98 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
99
100         * vspace.C (asGUIName): new method. A version of the space
101         suitable for showing on screen.
102
103 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
104
105         * MenuBackend.C:
106         * lyxrc.C: rename "ASCII" to "Plain Text"
107
108 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
109
110         * buffer_funcs.C (expandLabel): take a Buffer as argument;
111         translate the labelstring.
112         (setCounter): translate labelstring as needed.
113
114         * output_docbook.C (makeCommand): fix expandLabel invokation
115
116 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
117
118         * BufferView.C: fix dialog title
119
120 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
121
122         * lyx_main.C (priv_exec): fix logic error with help from Angus
123         * lyx_main.C (parse_execute): set is_gui = false and remove now
124         obsolete comment about a segfault
125
126 2005-05-18  Angus Leeming  <leeming@lyx.org>
127
128         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
129
130 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
131
132         * tabular.[hC]: added setCellInset to fix tabular paste.
133
134 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
135
136         * buffer.C (save): check if destination is writable before trying
137         to copy a file
138
139 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
140
141         * BufferView_pimpl.C (update): fix processEvents -caused update
142         recursion bug
143
144 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
145
146         * buffer_funcs.C (setCounter): fix test for numbering of
147         environments.
148
149         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
150         depth correctly; use optional argument when it exists
151
152         * lyxtextclass.C: remove unused MaxCounterTags enum
153         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
154         (max_toclevel, min_toclevel): new methods.
155
156         * MenuBackend.C (expandToc2): fix case where depth is smaller than
157         the smallest depth in toc.
158
159         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
160         layouts that should not appear in a table of contents.
161
162 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
163
164         * cursor.h (undispatched, noUpdate): add comments from André
165
166 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
167
168         * lfuns.h:
169         * LyXAction.C:
170         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
171
172 2005-05-07  André Pönitz  <poenitz@gmx.net>
173
174         * cursor.[Ch] (leaveInset): new function
175
176 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
177
178         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
179
180 2005-05-04  Angus Leeming  <leeming@lyx.org>
181
182         * lyxfunc.C (getStatus): disable the spell checker dialog if
183         none of USE_[AIP]SPELL are defined.
184
185 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
186
187         * tabular.C (setWidthOfCell): remove obsolete comment
188
189 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
190
191         * paragraph.C (bibitem):
192         * buffer_funcs.C (setCounter):
193         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
194
195 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
196
197         * text3.C (getStatus): immediately return after setOnOff
198
199         * rowpainter.C: fix drawing of appendix start
200
201 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
202
203         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
204         SwitchBetweenClasses and remove the unused return value.
205         Handle character styles, too
206
207 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
208
209         * factory.C (createInset): handle undefined character styles
210
211 2005-05-02  Angus Leeming  <leeming@lyx.org>
212
213         * buffer.C: protect the #include of utime.h with a preprocessor
214         guard.
215
216 2005-05-02  Angus Leeming  <leeming@lyx.org>
217
218         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
219         function so that auto-saving works, albeit in a blocking manner.
220
221         * Makefile.am: make compilation of the client sub directory, of
222         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
223         on conditionals set at configure time.
224
225         * SpellBase.[Ch]: no longer an abstract base class. Instead,
226         it can be compiled in its own right but has no-op functionality.
227
228         * aspell.C, pspell.C: remove preprocessor guards. The files should
229         be compiled only if the necessary functionality exists.
230
231         * lyxserver.C, lyxsocket.C: disable on Windows.
232
233 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
234
235         * text.C (leftMargin): Fix the parindent use bug (1764)
236         by dirty trick
237
238 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
239
240         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
241         argument.
242
243 2005-04-25  Angus Leeming  <leeming@lyx.org>
244
245         * Bidi.[Ch]:
246         * coordcache.[Ch]:
247         * ispell.C:
248         * lyxserver.C:
249         * mover.C:
250         * pch.h:
251         include <config.h> in .C files, not .h ones.
252         add licence blurb.
253         protect headers inside preprocessor guards.
254
255 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
256
257         * FuncStatus.h (StatusCodes): document
258
259 2005-04-21  André Pönitz  <poenitz@gmx.net>
260
261         * FuncStatus.h (enabled, onoff): document
262
263 2005-04-19  Angus Leeming  <leeming@lyx.org>
264
265         * BufferView_pimpl.C (cursorToggle): no longer test whether
266         any child processes have been reaped before calling
267         handleCompletedProcesses().
268
269 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
270
271         * text3.C (dispatch): fix, finally fix, the language problem in
272         new lyxtexts, without disabling on-the-fly font changes (Helge's
273         bug report)
274
275 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
276
277         * text3.C (dispatch): set cursor on double/triple click events
278         (bug 1811)
279
280 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
281
282         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
283         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
284
285         * rowpainter.C (paintFirst): simplify the code a little bit. In
286         particular, remove the test for secnumdepth.
287         * text.C (setHeightOfRow): only allocate space for chapter number
288         when updateCounters provided an actual label, instead of looking
289         at secnumdepth directly.
290
291         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
292
293         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
294         paragraphs when secnumdepth is large enough or, for environments,
295         when they are not the first in a sequence.
296
297 2005-04-17  Angus Leeming  <leeming@lyx.org>
298
299         * buffer.C (makeLaTeXFile): replace code to manipulate a path
300         containing space and '~' characters with a call to latex_path().
301
302 2005-04-17  Angus Leeming  <leeming@lyx.org>
303
304         * converter.C (convert): protect all args of convertDefault.sh
305         script with quotes.
306
307 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
308
309         * text3.C (dispatch): change the layout to "Caption" after inserting
310         a float.
311
312 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
313
314         * text3.C (dispatch): fix language problem in newly created
315         textinsets (and main text) in non-english docs
316
317 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
318
319         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
320         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
321         * text3.C (getStatus): disable LFUN_INSET_MODIFY
322
323 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
324
325         * lyxtext.h:
326         * text.C (metrics):
327         * text2.C (getFont):
328         * rowpainter.C (getFont): Fix metrics bug introduced by inset
329         fonts fix
330
331 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
332
333         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
334         output of \item arguments without trailing text.
335
336 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         * FontIterator.C (operator*): avoid a copy of the font.
339
340 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
341
342         * rowpainter.C (getFont): fix language bug from previous fix
343
344 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
345
346         * rowpainter.C (RowPainter, getFont): fix font inside inset
347         (bugs 1766, 1809)
348
349 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
350
351         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
352         preventing inserted font, deco, delim insets jumping to start of
353         surrounding inset.
354
355 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
356
357         * lyxfunc.C (dispatch): translate message before sending it to the
358         minibuffer.
359
360 2005-03-29  Angus Leeming  <leeming@lyx.org>
361
362         * lyx_main.C (priv_exec): call os::internal_path on each file passed
363         to LyX on the command line.
364
365 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
366
367         * vc-backend.C: use QuoteName to protect file names wherever
368         necessary.
369
370 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
371
372         * buffer.[Ch]:
373         * BranchList.h: fix bugs 1844,1845: document settings don't
374         stick
375
376 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
377
378         * lyxrc.C (setDefaults, read, output, getDescription): add support
379         for tex_allows_spaces.
380
381         * exporter.C (Export): allows files in directory containing spaces
382         if tex_allows_spaces is true.
383
384         * buffer.C (makeLaTeXFile): if the document path contains spaces,
385         output it in double quotes.
386
387 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
388
389         * rowpainter.C: use default text height for drawing change tracker
390         strikeout lines.
391
392 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
393
394         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
395
396 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
399         directory is missing.
400
401 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
402
403         * text2.C: fixed the fix, extended to other case.
404
405 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
406
407         * text2.C: fix for cursor up/down stuck in math [bug 1792]
408
409 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
410
411         * text2.C (cursorUp): get rid of a crash
412         * text.C (x2pos): add an assert
413
414 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
415
416         * lyxfunc.C (getStatus): fix warning when assertions are disabled
417
418         * text3.C:
419         * lyxfunc.C:
420         * dociterator.C: include <boost/current_function.hpp>, which is
421         needed when assertions are disabled.
422
423 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
424
425         * text2.C: fix for stuck cursor when traversing two
426         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
427
428 2005-02-25  Andreas Vox  <avox@arcor.de>
429
430         * output_docbook.C (makeParagraph): suppress trailing newline
431         after a run of paragraphs
432
433 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
434
435         * paragraph.C: fix for confused change tracker when pasting
436         text that begins with a lineseparator. [bug 1827]
437         (setChange(0, Change::INSERTED);)
438
439         * paragraph_funcs.C: fix for lost changes on triple-paste
440         in change tracking mode [bug 1827] (par.setChange()).
441
442 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
443
444         * text2.C (updateCounters, setCounter, expandLabel): move to
445         buffer_funcs.
446
447         * buffer_funcs.C (updateCounters): turn into a free standing
448         function and add a buffer parameter. Remove dead code for tracking
449         labelstring change.
450         (setCounter): change into a free-standing function which gets a
451         dociterator as argument. Use this iterator to fix captions in a
452         simple way. When no float is found above the caption, use the
453         labelstring of the caption layout as default.
454
455         * text.C (breakParagraph, backspace):
456         * text2.C (init, setLayout, changeDepth):
457         * text3.C (dispatch):
458         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
459         updateCounters.
460
461         * dociterator.C (forwardPar): make it much faster by calling
462         forwardPos() only when really necessary.
463
464         * output_docbook.C (makeCommand): adapt to expandLabel move.
465
466         * cursor.C: remove unused variable
467
468 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
469
470         * paragraph_funcs.C: fix crash when pasting insets in change
471         tracking mode [bug 1277] (honour change type in moveItem).
472
473 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
474
475         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
476
477 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
478
479         * BufferView.C (setCursor): change to use a DocIterator.
480         (gotoLabel): use BufferView::setCursor (other part of bug 781).
481         (putSelectionAt): adapt to BufferView::setCursor change.
482
483         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
484         moved here from LyXText and rewritten to use proper cursor
485         methods. Fixes bug 1787, 616 and 835.
486
487         * BufferView_pimpl.C (restorePosition): set the cursor correctly
488         when inside an inset (part of bug 781).
489         (dispatch): adapt to change of BufferView::setCursor.
490         (getStatus, dispatch): handle LFUN_GOTOERROR,
491         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
492
493         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
494         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
495         * text3.C (gotoNextInset, gotoInset): removed.
496
497 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
498
499         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
500
501 2005-02-15  Angus Leeming  <leeming@lyx.org>
502
503         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
504         can be used meaningfully in a comparison.
505
506 2005-02-13  André Pönitz  <poenitz@gmx.net>
507
508         * bufferview_funcs.C (coordOffset): improve cursor drawing
509
510 2005-02-13  André Pönitz  <poenitz@gmx.net>
511
512         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
513         * Cursor.C (dispatch): use fixIfBroken
514         * lyxfunc.C (getStatus): use fixIfBroken
515
516 2005-02-15  Angus Leeming  <leeming@lyx.org>
517
518         * lyx_main.C (error_handler):
519         * lyxfunc.C:
520         * lyxrc.C (setDefaults):
521         s/GetEnv/getEnv/.
522         #include "environment.h".
523
524         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
525
526 2005-02-15  Angus Leeming  <leeming@lyx.org>
527
528         * lyxserver.C (startPipe): squash MSVC warning "local variable
529         'fd' used without having been initialized".
530
531 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
532
533         * BufferView_pimpl.C: revert accidental commit.
534
535 2005-02-14  André Pönitz  <poenitz@gmx.net>
536
537         * dociterator.[Ch]: new member forwardPosNoDescent(),
538         which doesn't enter nested insets.
539         * text2.C (setFont): use forwardPosNoDescent() instead
540         of ForwardPos() (fixes crash on font change).
541
542 2005-02-13  Angus Leeming  <leeming@lyx.org>
543
544         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
545         only if lyxrc.path_prefix is not empty.
546
547 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
548
549         * bufferparams.C (readGraphicsDriver): prevent crash
550
551 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
552
553         * text2.C (setCounter): check for inInset() == 0
554
555 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
556
557         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
558         but use update() to get correct screen display; use convert
559         instead of istringstream.
560         (getStatus): handle LFUN_GOTO_PARAGRAPH
561
562         * lyxfunc.C (dispatch, getStatus): do not handle
563         LFUN_GOTO_PARAGRAPH here.
564
565 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
566
567         * text3.C (dispatch): size() -> depth()
568
569         * text2.C: remove some debug output
570
571         * paragraph.C: ws changes only
572
573         * lyxfunc.C (getStatus): size() -> depth()
574
575         * dociterator.h (clear, push_back, pop_back, internalData,
576         operator[], resize, empty): new functions
577         Make StableDocIterator and operator== be friends. Don't inherit
578         from std::vector use a privat class variable slices_ instead.
579         Modify to fit.
580
581         * dociterator.C: update because of not inheriting from std::vector
582         anymore. Call explictly to slices_ instead. Use depth() instead of
583         size() and top() instead of back()
584
585         * cursor.C: chagne size() -> depth and back() -> top(). Also
586         remove some direct operator[](i) calls in favour of foo[i]
587         (getFont): remove some dead code
588
589         * bufferview_funcs.C (coordOffset): size() -> depth()
590
591         * buffer.C: ws changes only
592
593         * CutAndPaste.C (eraseSelection): back() -> top()
594
595         * BufferView_pimpl.C (selectionRequested): back() -> top()
596
597         * BufferView.C (setCursor): size() -> depth()
598
599 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
600
601         * text3.C (cursorPrevious): return true if depm changed something
602         (cursorNext): ditto
603         (dispatch): rename sl to oldTopSlice, remove moving use the new
604         NoUpdate func attrib instead. Make sure that needsUpdate is set
605         for function that have NoUpdate, but where depm might have changed
606         the buffer anyway.
607
608         * text2.C (cursorLeft): make us return true if depm changed
609         something
610         (cursorRight): ditto
611         (cursorUpParagraph): ditto
612         (curosrDownParagraph): ditto
613         (cursorUp, cursorDown): ditto, make sure to read comments in code
614         (deleteEmptyParagraphMechanism): remove an assert, also return
615         true if just a single char was deleted.
616
617         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
618         cursor that we modify, to avoid modifying an active cursor before
619         we call setCursor. This allows depm to run. Also return true if
620         depm deleted something.
621
622         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
623         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
624         cursorDownParagraph, cursorPrevious and cursorNext, return true if
625         something was changed in the buffer because of them (ie. depm run)
626
627         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
628         debug messages. Make update by default be false. Make sure that
629         the result of update is retained throught several calls down to
630         dispatch.
631
632         * LyXAction.h: add a new func_attrib: NoUpdate
633
634         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
635         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
636         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
637         and LFUN_WORDLEFT
638         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
639
640 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
641
642         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
643         bv_->owner(), bv_->buffer() by direct references to the private
644         members.
645         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
646         (getStatus): isSavedPosition() is in BufferView::Pimpl.
647         (fitCursor): center() is in BufferView::Pimpl.
648         (getStatus, trackChanges, dispatch): no need for a temporary buf
649         variable
650         (fitCursor, workAreaDispatch): use workarea().workheight()
651
652 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
653
654         * CutAndPaste.C (pasteSelectionHelper): fix a crash
655
656 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
657
658         * buffer.C: format up to 241.
659         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
660         break if pasting into ERT
661         * lyxfunc.C (getStatus): suppress mathpanel and
662         LFUN_DIALOG_SHOW_NEW_INSET in ERT
663
664 2005-02-01  Angus Leeming  <leeming@lyx.org>
665
666         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
667
668 2005-02-01  Angus Leeming  <leeming@lyx.org>
669
670         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
671         calling fs::is_directory().
672
673 2005-01-31  Angus Leeming  <leeming@lyx.org>
674
675         * lyx_main.C (priv_exec): specify explicitly the relative location
676         of the top level build directory when run in-place.
677
678 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
679
680         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
681         LyXText containing the cursor, not the top-level one.
682
683         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
684         true.
685         (insertStringAsLines): rename par to pit; use temporary variable
686         par to hold a Paragraph; do not store par.layout() in a variable,
687         since the pointer may die when breaking paragraphs; pass pars to
688         breakParagraph() instead of Buffer::paragraphs().
689
690 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
691
692         * lyxlex_pimpl.h: #include <fstream>.
693
694         * BufferView.[Ch] (getLyXText): add a const version.
695
696         * BufferView_pimpl.C: add debug aids.
697
698         * RowList_fwd.h:
699         * buffer.h:
700         * lyxrow.h:
701         * paragraph_funcs.h: add commentary explaining what the class does.
702
703
704         * coordcache.[Ch]: add lots of commentary.
705         (startUpdating, doneUpdating): debug aids.
706         (arrays, insets, parPos, getParPos): accessors to private data.
707
708         * cursor_slice.[Ch] (text): add a const version.
709         * dociterator.[Ch] (text, innerText): add const versions.
710
711         * lyxtext.h (breakParagraph): change the keep_layout arg to a
712         bool.
713
714         * paragraph.C (getRow, pos2ros): add asserts.
715
716         * paragraph.h: add commentary. Lots of.
717
718         * paragraph.[Ch] (metrucs, draw): removed.
719
720         * cursor.C:
721         * rowpainter.[Ch]: const-correct changes.
722
723         * text.C: various obvious clean-ups. Removal of ancient cruft.
724         Bug fixes, even.
725
726 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
727
728         * vc-backend.C (find_file): rewrite to use boost.filesystem
729         (scanMaster): ditto
730
731         * main.C (main): set default name check for boost.filesystem to
732         no check
733
734         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
735         (open): ditto
736         (doImport): ditto
737         (actOnUpdatedPrefs): ditto
738
739         * lyx_main.C (init): rewrite to use boost.filesystem
740         (queryUserLyXDir): ditto
741
742         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
743         (getContentsOfAsciiFile): ditto
744
745         * lastfiles.C (readFile): rewrite to use boost.filesystem
746
747         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
748
749         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
750         (loadLyXFile): ditto
751
752         * buffer.C (Buffer): adjust for destroydir
753         (getLogName): rewrite to use boost.filesystem
754         (setFileName): ditto
755         (save): use fs::copy_file (from fs_extras)
756
757         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
758
759         * LaTeX.C (run): rewrite to use boost.filesystem
760         (scanAuxFiles): ditto
761         (handleFoundFile): ditto
762
763 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
764
765         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
766
767         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
768
769 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
770
771         * lyxlayout.[Ch]: change some vars from float to double
772
773         * buffer.C (readFile): make a local var const
774
775         * Several files: use convert<> instead of atoi,strToXXX and friends
776
777 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
778
779         * LaTeXFeatures.[Ch]: Add a static list packages_ that
780         holds the contents of packages.lst. New functions getAvailable
781         and isAvailable to parse and check that list, resp.
782
783         * LyXAction.C:
784         * lfuns.h:
785         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
786
787         * bufferparams.[Ch]: new param output_changes.
788
789         * Buffer.C: increase file format to 240.
790         Use output_changes and isVailable.
791
792         * changes.[Ch]:
793         * paragraph.C:
794         * paragraph_pimpl.C: Use output_changes and isVailable.
795
796 2005-01-23  Angus Leeming  <leeming@lyx.org>
797
798         * output_latex.C: #include "insetbibitem.h", rather than
799         forward declare function bibitemWidest.
800
801 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
802
803         * lyx_main.C (init): make it compile on the Mac.
804
805 2005-01-20  Angus Leeming  <leeming@lyx.org>
806
807         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
808         (setLyXMisc): (char string literal) != (char string literal) is
809         performing a comparison on the addresses. Convert one operand
810         explicitly to string to guarantee expected behaviour.
811         From MSVC warning.
812
813 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
814
815         * buffer.C:
816         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
817
818         * output_plaintext.C: remove unneeded #include gzstream.h.
819
820 2005-01-20  Angus Leeming  <leeming@lyx.org>
821
822         * SpellBase.h: rename some of the elements of the Result enum.
823
824         * aspell_local.h:
825         * ispell.h:
826         * pspell.h:
827         * aspell.C (check):
828         * ispell.C (check):
829         * pspell.C (check): ditto
830
831 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
832
833         * buffer.C: add #include <fstream>.
834
835         * lyx_main.C (init): Compile fix.
836
837         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
838
839 2005-01-20  Angus Leeming  <leeming@lyx.org>
840
841         * mover.h: change commentary to reflect the changed meaning of
842         the $$s placeholder.
843
844 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
845
846         * output_linuxdoc.C (linuxdocParagraphs): silence warning
847
848         * lyxfind.C (MatchString::operator()): remove bogus semicolon
849
850 2005-01-20  Angus Leeming  <leeming@lyx.org>
851
852         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
853         printing diagnostic data by not dereferecing an iterator past the
854         end.
855
856 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
857
858         * buffer.C (readHeader): use "&&" rather than "and".
859
860         * lyxserver.h (inPipeName, outPipeName): make these const.
861
862 2005-01-19  Angus Leeming  <leeming@lyx.org>
863
864         * lyx_main.C (error_handler, init): protect SIGHUP with
865         #ifdef SIGHUP guards.
866
867 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
868
869         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
870
871 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
872
873         * text.C (setHeightOfRow): add a margin at the top and bottom of
874         the document (bug 1761)
875
876 2005-01-17  Angus Leeming  <leeming@lyx.org>
877
878         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
879         with "python ". Workaround for a brain-dead Windows.
880
881 2005-01-16  Angus Leeming  <leeming@lyx.org>
882
883         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
884         for MacOSX and Windows to use prependEnvPath.
885         Strip out the hard-coded block to add elements to the PATH for
886         MacOSX and replace it with a call to prependEnvPath using the
887         contents of LyXRC::path_prefix.
888         (queryUserLyXDir): strip out the code to run reconfigure, instead
889         returning a boolean indicating the necessity to do so.
890         (reconfigureUserLyXDir): contains the code to reconfigure the
891         user support directory. Is now called after the various LyXRC data
892         files have been read.
893
894         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
895
896 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
897
898         * converter.[Ch] (convert): take a new parameter try_default. Use
899         a default converter (imagemagick) if try_default is true.
900
901 2005-01-13  Angus Leeming  <leeming@lyx.org>
902
903         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
904         os::cygwin_path_fix.
905         (write): output LyXRC::cygwin_path_fix as necessary.
906
907 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
908
909         * lyxrc.h:
910         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
911
912 2005-01-12  Angus Leeming  <leeming@lyx.org>
913
914         * lyx_main.C (init): set the PATH variable to include the
915         directory containing the LyX binary when running on Mac or Windows.
916
917 2005-01-12  Angus Leeming  <leeming@lyx.org>
918
919         * lyx_main.C (init): remove cruft that purports to set the locale
920         dir. It doesn't and is not needed anyway.
921
922 2005-01-10  Angus Leeming  <leeming@lyx.org>
923
924         * Makefile.am: remove the lyx_main.C special casing.
925
926         * BufferView_pimpl.C:
927         * bufferlist.C:
928         * exporter.C:
929         * lyx_cb.C:
930         * lyx_main.C:
931         * lyxfunc.C:
932         * messages.C: use support/package.h to provide the paths to the
933         various directories used by LyX.
934
935 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
936
937         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
938         layout if pasting into an empty paragraph)
939
940 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
941
942         * tex-accent.C: add <string>
943
944 2005-01-06  José Matos  <jamatos@lyx.org>
945
946         * ParagraphParameters.C (write): put every parameter in its own line.
947         * paragraph.C (write): reduce number of consecutive empty lines exported.
948         * buffer.C (LYX_FORMAT): increase file format to 239.
949
950 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
951
952         * everywhere: change support/tostr.h -> support/convert.h
953
954         * tabular.C: make all write_attributes templates, tostr -> convert
955
956         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
957         (emptyTag): and -> &&, and fix type for ret from getChar
958         (getFirstWord): fix type for ret from getChar
959         (onlyText): and -> &&
960         (simpleDocBookOnePar): and not -> && !, fix type for ret from
961         getChar
962
963         * toc.C (goTo, action):
964         * text3.C (dispatch):
965         * text.C (currentState):
966         * tex-accent.C (DoAccent):
967         * sgml.C:
968         * lyxrc.C:
969         * lyxfunc.C (menuNew):
970         * lyxfinc.C (replace):
971         * counters.C (laberItem):
972         * bufferview_funcs.C (font2string):
973         * bufferparams.C (writeFile):
974         * buffer.C (readFile):
975         * Spacing.C (set):
976         * MenuBackend.C: tostr -> convert
977
978         * LaTeX.C (runMessage): fix format
979         (scanAuxFiles): tostr -> convert
980
981         * BufferView_pimpl.C (savePosition): fix format
982         (restorePosition): ditto
983         (dispatch): ditto
984
985 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
986
987         * Spacing.[Ch]: New method getValueAsString().
988
989         * Spacing.[Ch]:
990         * bufferparams.C:
991         * ParagraphParameters.C:
992         * lyxlayout.C:
993         * text.C:
994         * text3.C: store/read spacing value as string.
995
996         * rowpainter.C: change float value (spacing_val) to double.
997
998         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
999         broken custom document spacing).
1000
1001 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1002
1003         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1004         namespace, also more use of temp references and const
1005
1006         * cursor.[Ch] (getStatus): move to lyxfunc.C
1007
1008         * bufferparams.C: reformat slightly
1009
1010         * bufferview_funcs.C (font2string): constify arg
1011
1012         * changes.C:
1013         * converter.C:
1014         * counters.C:
1015         * bufferlist.C:
1016         * buffer_funcs.C: (many funcs): constify arg on function
1017         definitions, also make more local vars const, also add ASSERTS on
1018         pointer args.
1019
1020         * buffer.C (LYX_FORMAT): put const in correct place
1021         (many funcs): constify arg on function definitions, also make
1022         more local vars const
1023
1024         * aspell_local.h: remove "struct" from typdef setup
1025
1026         * aspell.C (check): make word_ok const
1027         (nextMiss): simplify slightly
1028         (error): ditto
1029
1030 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1031
1032         * lyxrc.[Ch]: store all float values as strings.
1033         use int (not float) for lyxrc.dpi.
1034
1035 2005-01-04  Angus Leeming  <leeming@lyx.org>
1036
1037         * lyx_cb.C (Reconfigure):
1038         * lyx_main.C (queryUserLyXDir):
1039         to run the <system_lyxdir>/configure correctly on Windows, prefix
1040         the path to the script with "sh " when generating the string that
1041         is passed to system().
1042
1043 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1044
1045         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1046
1047 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1048
1049         * lyxlength.C (asLatexString): get rid of setprecision
1050
1051 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1052
1053         * text2.C (setLayout): remove unused variable endpit.
1054         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1055
1056         * paragraph.C (onlyText): remove unused variable style.
1057
1058         * cursor.C (bruteFind): remove unused variables beg and end.
1059
1060         * Makefile.am (dist_noinset_DATA): not needed anymore
1061
1062         * cheaders/*: remove.
1063
1064 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1065
1066         * text3.C: fix LFUN_MATH_MODE.
1067
1068 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1069
1070         * buffer_funcs.C (countWords): new function. Counts words between
1071         two iterators.
1072
1073         * BufferView_pimpl.C (getStatus, dispatch): handle
1074         LFUN_WORDS_COUNT.
1075
1076         * LyXAction.C (init):
1077         * lfuns.h: add LFUN_WORDS_COUNT.
1078
1079 2004-12-19  Angus Leeming  <leeming@lyx.org>
1080
1081         * buffer.C (save): s/slashify_path/internal_path/.
1082
1083 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1084
1085         * lyxfind.C (findChange): do not search for end of pars, because
1086         the change tracker cannot handle this (fixes bug 1719).
1087
1088 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1089
1090         * paragraph.[Ch] (autoBreakRows): remove
1091
1092         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1093
1094         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1095         avoid using the paragraph one
1096
1097         * text2.C (LyXText, insertStringAsLines): adjust
1098
1099 2004-12-16  Angus Leeming  <leeming@lyx.org>
1100
1101         * bufferlist.C:
1102         * lyx_main.C:
1103         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1104
1105 2004-12-14  Angus Leeming  <leeming@lyx.org>
1106
1107         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1108
1109         * bufferlist.C (emergencyWrite):
1110         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1111         GetEnvPath("HOME").
1112
1113 2004-12-14  Angus Leeming  <leeming@lyx.org>
1114
1115         * main.C: (main): no longer pass pointers to os::init.
1116
1117 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1118
1119         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1120         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1121
1122 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1123
1124         * lyxfunc.C:
1125         * text3.C: remove selection_possible global flag
1126
1127 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1128
1129         * text2.C (getSelectionSpan): remove
1130         (changeDepth, changeDepthAllowed): adjust
1131
1132 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1133
1134         * Makefile.am (BOOST_LIBS): use boost variables
1135
1136 2004-12-03  José Matos  <jamatos@lyx.org>
1137
1138         * buffer.C: format up to 238.
1139
1140 2004-12-03  José Matos  <jamatos@lyx.org>
1141
1142         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1143
1144 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1145
1146         * cursor.C (goUpDown): remove call to idxUpDown2
1147
1148 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1149
1150         * tabular.[Ch]: use size_t-like types for cell, row and column
1151         indices
1152
1153 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1154
1155         * lyxfunc.C (getStatus): do not lose previous information when
1156         calling BufferView::getStatus; do not set a default "Command
1157         disabled" message at the beginning, but just before returning.
1158
1159 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1160
1161         * cursor.h (getStatus): add better comment from src/cursor.C
1162
1163 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1164
1165         * text3.C (getStatus): return false when the lfun is not handled
1166
1167 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1168
1169         * broken_headers.h: remove
1170
1171         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1172
1173 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1174
1175         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1176         offset_ref accessors
1177
1178         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1179         top_y_, merge fitcursor with update
1180         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1181         coord scheme
1182         (metrics): introduce
1183         (workAreaDispatch): adapt to new coord scheme
1184         (redoCurrentBuffer): remove
1185
1186         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1187
1188         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1189         CurStatus enum.
1190
1191         * coordcache.[Ch]: add paragraph cache and helpers
1192
1193         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1194         adjust everywhere
1195
1196         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1197         (targetX, setTargetX): introduce
1198
1199         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1200         baseline -> ascent, as the rest of lyx
1201
1202         * lyxtext.h: remove redoParagraphs, updateParPositions,
1203         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1204         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1205         have ascent/descent (ascent is ascent of first par)
1206
1207         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1208         step of BufferView
1209
1210         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1211
1212         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1213
1214         * pariterator.C: fix infinite loop introduced in par->pit renaming
1215
1216         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1217         in insets and LyXText, draw two off-screen paragraphs using
1218         NullPainter, and adapt to new coord scheme
1219
1220         * text.C:
1221         * text2.C:
1222         * text3.C: adapt lfun handlers to the new coord scheme, which
1223         means: there's only guaranteed coord information for onscreen pars
1224         plus one above and one below. This implies that one can do search
1225         from y coordinates in the range [-1,workHeight]
1226
1227 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1228
1229         * rename a lot of InsetOld to InsetBase
1230
1231 2004-11-25  Angus Leeming  <leeming@lyx.org>
1232
1233         * BufferView_pimpl.C:
1234         * lyx_cb.C:
1235         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1236
1237 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1238
1239         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1240         call BufferView::getStatus if LCursor::getStatus did nothing
1241         (setStatusMessage, getStatusMessage): removed.
1242
1243         * FuncStatus.C (message): new methods. Used to provide an error
1244         message indicating why a command is disabled.
1245         (clear, |=, FuncStatus): update for message.
1246
1247 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1248
1249         * lyxfunc.C (dispatch): always call sendDispatchMessage
1250
1251 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1252
1253         * BufferView.C:
1254         * BufferView_pimpl.C:
1255         * CutAndPaste.C:
1256         * FontIterator.C:
1257         * buffer.C:
1258         * cursor.C:
1259         * cursor_slice.[Ch]:
1260         * dociterator.[Ch]:
1261         * lyxfind.C:
1262         * paragraph_funcs.C:
1263         * pariterator.C:
1264         * rowpainter.C:
1265         * text.C:
1266         * text2.C:
1267         * text3.C:
1268         * undo.C: par->pit renaming
1269
1270 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1271
1272         * tabular.C (cellstruct): use initialization, store a shared_ptr
1273         to insettext instead of the insettext directly, adjust to fit.
1274         (operator=):  new function
1275         (swap): new function
1276         (rowstruct): use initialization
1277         (columnstruct): use initialization
1278         (ltType): use initialization
1279
1280
1281         * lyxlength.h (swap): new function
1282
1283         * LColor.[Ch] (operator=): use the common semantics
1284
1285 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1286
1287         * lyxfind.C (findNextChange): update the bufferview after setting
1288         the selection.
1289
1290 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1291
1292         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1293         number of InsetOptArgs has already been inserted.
1294
1295         * output_latex.C (latexOptArgInsets): new method. This outputs all
1296         the optarg insets, up to the limit defined in the layout file.
1297         (optArgInset): removed
1298         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1299
1300 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1301
1302         * paragraph.C (isLetter): remove special spellchecker-related
1303         code; return true also for digits
1304         (isWord, isKomma): remove
1305
1306         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1307         * lyxfind.C (MatchString()): use isLetter instead of isWord
1308
1309 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1310
1311         * pariterator.h (operatir=): comment out un-implemented member
1312         function.
1313
1314         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1315         static cast.
1316
1317 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1318
1319         * lyxfont.h: include LColor.h to satisfy concept checks.
1320
1321 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1322
1323         * pariterator.h: add typdefs for value_type, difference_type,
1324         pointer and reference to satisfy concept checks. Also add default
1325         constructor for same reason.
1326
1327         * pariterator.C (operator++): add post-increment operator to
1328         satisfy concept checks.
1329
1330         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1331         checks.
1332
1333         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1334
1335         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1336         checks. Also rename base_type to BaseType to follow naming
1337         standard better.
1338
1339         * FloatList.h: include Floating.h to satisfy concept checks.
1340
1341 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1342
1343         * lyxfunc.C (getStatus): when the origin of the request is menu or
1344         toolbar, and the LyXView does not have focus, do as if there was
1345         no buffer (bug 1720)
1346
1347         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1348         FuncRequest to individual entries of LFUN_SEQUENCE
1349
1350 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1351
1352         * output_latex.C (TeXOnePar): override runparams.moving_arg
1353         according to the needprotect value of the current paragraph (bug
1354         1739)
1355
1356         * paragraph.C (simpleTeXOnePar): no need to override
1357         runparams.moving_args here
1358
1359 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1360
1361         * vspace.C: fix off-by-one-error, related to fix #1682
1362
1363 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1364
1365         * lengthcommon.C: a more general fix for bug 1682
1366
1367 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1368
1369         * text.C (backspace): fix crash
1370
1371 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1372
1373         * format.[Ch] (getFormatFromFile): new method
1374         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1375
1376 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1377
1378         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1379
1380 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1381
1382         * lyxfunc.C (dispatch): remove the verbose argument
1383         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1384         instead
1385
1386         * kbmap.C (defkey): set the origin of func to KEYBOARD
1387
1388         * MenuBackend.C (MenuItem):
1389         * ToolbarBackend.C (add): set the origin of func to UI
1390
1391         * funcrequest.[Ch]: add origin member, which indicates which part
1392         of LyX requests an action
1393
1394 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1395
1396         * converter.C (move): don't lie in the error message
1397         * converter.h (isReachable, move): document
1398
1399 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1400
1401         * buffer.C: remove unused using lyx::support::atoi
1402         * paragraph_funcs.C: ditto
1403
1404 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1405
1406         * bufferlist.C (exists): use bind and equal_to instead of
1407         compare_memfun
1408         (getBuffer): ditto
1409         * lyxtextclasslist.C (NumberOfClass): ditto
1410
1411         * cursor.C (insert): use for_each instead of explicit for loop
1412
1413         * bufferlist.C (getFileNames): use std::transform and
1414         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1415
1416         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1417         for loop
1418
1419         * buffer.C (changeLanguage): use for_each instead of explicit for
1420         loop
1421         (hasParWithID): implement using getParFromID
1422
1423         * LaTeXFeatures.C: ws change only
1424
1425         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1426         to cleanup a bit.
1427
1428         * BufferView_pimpl.C (trackChanges): use for_each instead of
1429         expilicit for loop
1430
1431 2004-11-04  André Pönitz  <poenitz@gmx.net>
1432
1433         * undo.h:
1434         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1435
1436         * dociterator.C (asDocIterator): use hard assert again.
1437
1438 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1439
1440         * lyxlength.C (asLatexString): rewrite so that it does not use
1441         snprintf anymore
1442
1443 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1444
1445         * text3.C (specialChar, dispatch): make sure cursor moves to the
1446         right after inserting an inset
1447
1448 2004-11-02  José Matos  <jamatos@lyx.org>
1449
1450         * output_docbook.C (docbook):
1451         * paragraph.C (getID):
1452         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1453         garantee that the output is always legal.
1454
1455         * tabular.C (docbook):
1456         * outputprams.[Ch]: remove mixed contents.
1457
1458 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1459
1460         * text2.C (setCounter): prevent endless loop
1461
1462 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1463
1464         * exporter.C (copyFile): use the mover instead of support::copy()
1465         * exporter.C (Export): pass format and latex name to copyFile()
1466         * exporter.h (addExternalFile): document
1467         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1468
1469 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1470
1471         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1472
1473 2004-10-30  José Matos  <jamatos@lyx.org>
1474
1475         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1476         text and no inset or font change. This allows to use CDATA
1477         sections just for the whole paragraph.
1478
1479 2004-10-30  José Matos  <jamatos@lyx.org>
1480
1481         * paragraph.C (getFirstWord): remove unused variable.
1482
1483 2004-10-30  José Matos  <jamatos@lyx.org>
1484
1485         * paragraph.C (getFirstWord): the content should always be escaped
1486         there.
1487         (simpleDocBookOnePar):
1488         * output_docbook.C (makeEnvironment): replace reference to CDATA
1489         to style pass_thru.
1490
1491 2004-10-30  José Matos  <jamatos@lyx.org>
1492
1493         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1494
1495 2004-10-30  José Matos  <jamatos@lyx.org>
1496
1497         * output_docbook.C (makeParagraphs):
1498         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1499         standard paragraph has only a given type of content drop the wrapper.
1500
1501 2004-10-29  José Matos  <jamatos@lyx.org>
1502
1503         * output_docbook.C (makeEnvironment):
1504         * sgml.C (openTag):
1505         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1506
1507 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1508
1509         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1510         (cleanID): sanitize any id.
1511
1512 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1513
1514         * buffer.C, lyxlex_pimpl.C:
1515         * lyxlex_pimpl.C (setFile):
1516         s/getExtFromContents/getFormatFromContents/
1517
1518 2004-10-28  José Matos  <jamatos@lyx.org>
1519
1520         * output_docbook.C (makeEnvironment): move id to broadest possible
1521         scope.
1522
1523         * sgml.C (openTag): apply substitution of <> for all attributes.
1524
1525 2004-10-28  José Matos  <jamatos@lyx.org>
1526
1527         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1528         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1529         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1530
1531         * sgml.[Ch]: new version for open and closeTag for paragraph and
1532         for strings. Now they handle the ids of paragraphs.
1533
1534 2004-10-26  Angus Leeming  <leeming@lyx.org>
1535
1536         * Makefile.am: add mover.[Ch].
1537
1538         * converter.C (convert, move): use the new Movers to move external
1539         files to the temp directory.
1540
1541         * lyx_main.C (init): ensure that the global system_movers data
1542         is initialised.
1543
1544         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1545         preferences file.
1546
1547         * mover.[Ch]: new files, defining a Mover as a utility to move an
1548         external file between directories and, if necessary, manipulate this
1549         file using a helper script.
1550
1551 2004-10-25  José Matos  <jamatos@lyx.org>
1552
1553         * output_docbook.C (makeCommand): merge two if's that tested the
1554         same condition.
1555
1556 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1557
1558         * sgml.C (escapeString): fix warning in a better way
1559
1560 2004-10-25  José Matos  <jamatos@lyx.org>
1561
1562         * sgml.C (escapeString): import the require boosts header file for
1563         tie, and avoid a signed unsigned comparison.
1564
1565 2004-10-25  José Matos  <jamatos@lyx.org>
1566
1567         * sgml.h: add #include <string>
1568
1569 2004-10-25  José Matos  <jamatos@lyx.org>
1570
1571         * sgml.[Ch] (escapeString): new function to escape all the string.
1572
1573 2004-10-24  José Matos  <jamatos@lyx.org>
1574
1575         * paragraph.[Ch] (getFirstWord): new function to get the first
1576         word. Useful for description.
1577         (simpleDocBookOnePar): remove depth argument, add another that
1578         says where to start the paragraph.
1579
1580         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1581         use the new functions to fix cleanly the support for descriptions.
1582
1583 2004-10-24  José Matos  <jamatos@lyx.org>
1584
1585         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1586         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1587         * output_linuxdoc.C (linuxdocParagraphs):
1588         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1589         add buffer as argument.
1590
1591 2004-10-24  José Matos  <jamatos@lyx.org>
1592
1593         * output_docbook.C (makeEnvironment, searchEnvironment): place
1594         CDATA inside paragraphs and fix scope for listitems.
1595
1596 2004-10-24  José Matos  <jamatos@lyx.org>
1597
1598         * output_docbook.C: remove using statement for stack.
1599
1600 2004-10-23  José Matos  <jamatos@lyx.org>
1601
1602         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1603         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1604         docbook. The new scheme is recursive and makes use of iterators, the
1605         same as latex export works.
1606         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1607         directly with the paragraph contents. This code was moved up to
1608         output_docbook.C (docbookParagraphs).
1609         * sgml.C (openTag, closeTag): removed unneeded newlines.
1610         (closeEnvTags) removed.
1611
1612 2004-10-23  André Pönitz  <poenitz@gmx.net>
1613
1614         * undo.C (textUndoOrRedo):
1615         * dociterator.C (asDocIterator): work around crash
1616
1617         * cursor.C (getStatus): replace ASSERT by more verbose error message
1618           and manual correction of the problem. Should increase stability
1619           while providing more sensible information.
1620
1621 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1622
1623         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1624
1625         * bufferlist.C (previous, next): new methods
1626
1627         * lfuns.h:
1628         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1629
1630 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1631
1632         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1633         entities to preamble.
1634
1635 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1636
1637         * messages.C (Pimpl): strip off translation context information
1638
1639 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1640
1641         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1642         the cursor is correct (bug 1694)
1643
1644 2004-10-13  José Matos  <jamatos@lyx.org>
1645
1646         * output_docbook.C (docbookParagraphs): fix closing tags in the
1647         end of the document.
1648
1649 2004-10-09  José Matos  <jamatos@lyx.org>
1650
1651         * buffer.C: format up to 237.
1652         * bufferparams.C (write): use tostr to convert booleans to strings.
1653
1654 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1655
1656         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1657
1658 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1659
1660         * LaTeX.C: implement use of babel language in xindy.
1661
1662 2004-10-05  José Matos  <jamatos@lyx.org>
1663
1664         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1665         Add new translators to help reading and writing the lyx file.
1666
1667 2004-10-05  José Matos  <jamatos@lyx.org>
1668
1669         * ParagraphParameters.C (read):
1670         * text.C (readParToken): replace nexToken by more appropriate lex
1671         methods.
1672
1673 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1674
1675         * LaTeX.C (runMakeIndex):
1676         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1677         (usually 'makeindex') configurable.
1678
1679         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1680         with a variable rather than with a number.
1681
1682 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1683
1684         * output_latex.C (TeXOnePar): make sure font setting is the first
1685         thing that gets output (and the last at the end). Should fix bug
1686         1404.
1687
1688 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1689
1690         * pch.h: use proper signal include
1691
1692         * LaTeX.h: Use preferred calling of Boost.Signal
1693         * buffer.h: ditto
1694
1695 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1696
1697         * pch.h: dont include <boost/function/function0.hpp>
1698
1699         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1700
1701         * paragraph_pimpl.h: remove usage of ShareContainer
1702
1703         * paragraph_pimpl.C: remove initialization of ShareContainer.
1704
1705 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1706
1707         Fix bug #1666
1708
1709         * BufferView.C (putSelectionAt): change the semantics when
1710         backwards == true: now, this just swaps cursor and anchor wrt the
1711         forward case
1712
1713         * BufferView.h (putSelectionAt): add some documentation
1714
1715         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1716         make sure backwardChar is done at least once (to avoid getting
1717         stuck)
1718         (findNextChange): use putSelectionAt in the forward direction
1719         (operator()): use Paragraph::isWord
1720
1721 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1722
1723         * Spacing.C (set): c_str fix
1724
1725 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1726
1727         * lyx_cb.C (Reconfigure): quote the name of configure script in
1728         case it contains spaces
1729
1730 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1731
1732         * client: new dir
1733
1734         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1735         (BOOST_LIBS): use top_buildir when looking for the file
1736
1737 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1738
1739         * pch.h: do not use include boost/format.hpp, multiple symbols
1740                 will result (gcc bug)
1741
1742
1743 2004-08-23  José Matos  <jamatos@lyx.org>
1744
1745         * bufferparams.C (readToken): fix reading of the author field.
1746
1747 2004-08-20  José Matos  <jamatos@lyx.org>
1748
1749         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1750
1751 2004-08-20  José Matos  <jamatos@lyx.org>
1752
1753         * lyxlex.[Ch] (findToken): remove function.
1754
1755         * ParagraphParameters.C (findToken):
1756         * bufferparams.C (findToken): replace call for previous function
1757         with local copy. This local function has one more argument, the
1758         read string argument.
1759
1760 2004-08-16  José Matos  <jamatos@lyx.org>
1761
1762         * ParagraphParameters.C (write):
1763         * Spacing.C (writeFile):
1764         * bufferparams.C (writeLaTeX):
1765         * lyx_cb.C (Reconfigure):
1766         * paragraph.C (write):
1767         * tabular.C (write): remove unnecessary space at end of line.
1768
1769
1770 2004-08-16  José Matos  <jamatos@lyx.org>
1771
1772         * text.C (readParagraph): remove debug message.
1773
1774 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1775
1776         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1777         crash
1778
1779         * output_plaintext.C (asciiParagraph): set depth correctly
1780
1781         * outputparams.h: add member depth
1782
1783         * paragraph_funcs.C (ownerPar): remove.
1784
1785         * text2.C (setCounter): remove first_pit; comment out some
1786         non-working code that uses ownerPar
1787
1788         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1789         uses ownerPar
1790
1791 2004-08-16  José Matos  <jamatos@lyx.org>
1792
1793         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1794         For the same level of importance use the same chanel to report problems.
1795         (read): add code to deal with \begin_body and \end_body.
1796
1797
1798 2004-08-15  José Matos  <jamatos@lyx.org>
1799
1800         * lyxlex.C (getString): fix comment, buffer::readBody is now
1801         buffer:readDocument.
1802
1803         * tex-strings.C (string_papersize): Default -> default,
1804         Custom -> custom, for consistency with other options.
1805
1806 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1807
1808         * pch.h: new file
1809
1810         * Makefile.am: support pch
1811
1812 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1813
1814         * text.C (readParToken): remove the static LyXFont variable and
1815         pass it as a parameter instead. This fixes a nasty bug where an
1816         inset will be inserted with a bad font in some situations
1817         (readParagraph): adapt
1818
1819         * text2.C (setCounter): reduce number of calls to pars_[pit]
1820
1821         * text.C (singleWidth): add an assert, fix a test
1822
1823         * rowpainter.C (paintText): reduce number of calls to singleWidth
1824
1825         * paragraph.C (isHfill):
1826         (isNewline): ws only
1827
1828 2004-08-14  André Pönitz  <poenitz@gmx.net>
1829
1830         * text.C:
1831         * text2.C:
1832         * rowpainter.C:
1833         * lyxtext.h (several functions): use a Paragraph & argument
1834         instead of par_type
1835
1836 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1837
1838         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1839
1840         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1841
1842         * text.C (singleWidth): remove useless test
1843
1844 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1845
1846         * tabular.h: remove bogus comments
1847
1848         * tabular.C (getDescentOfRow):
1849         (isPartOfMultiColumn): add assertions
1850
1851         * lyxlength.C (inPixels): remove #warning
1852
1853 2004-08-14  André Pönitz  <poenitz@gmx.net>
1854
1855         * paragraph.h: inline getChar()
1856
1857         * BufferView.h: remove unused declarations
1858
1859 2004-08-14  José Matos  <jamatos@lyx.org>
1860
1861         * Buffer.[Ch] (readDocument): new name for old readBody.
1862         * Buffer.C: new file format, new keywords: \begin_document,
1863         \begin_header, \begin_body, \end_body.
1864
1865         * bufferparams.C (readToken): replace all calls to lex.nextToken
1866         by lex.next(). Do the same to eatLine except where really needed.
1867
1868         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1869         line when writing to the lyx file.
1870
1871         * output_plaintext.C (asciiParagraph): fix Bibliography style
1872         handling.
1873
1874         * text.C (read): fix end of file handling.
1875
1876 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1877
1878         * MenuBackend.C (Menu::operator[]): new method to access
1879         individual menu items
1880         (Menu::hasFunc): new method. search for an item that corresponds
1881         to a given func
1882         (MenuBackend::specialMenu): new method
1883         (MenuBackend::expand): if a special menu has been set, skip
1884         entries whose func() appears in this menu
1885
1886 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1887
1888         * text3.C: use Debug::DEBUG a bit more
1889
1890         * text.C (leftMargin): try to simplify a tiny bit change var x to
1891         l_margin. Dont output the wide margins always.
1892         (rightMargin): no margin in inner texts
1893
1894         * rowpainter.h (nestMargin): new func
1895         (changebarMargin): new func
1896         (rightMargin): new func
1897
1898         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1899         now functions.
1900         (paintLast): ditto
1901
1902         * factory.C (createInset): modify setDrawFrame
1903
1904         * cursor.C: use Debug::DEBUG a bit more
1905
1906 2004-08-14  André Pönitz  <poenitz@gmx.net>
1907
1908         * coordcache.[Ch]:
1909         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1910         cache for all insets in (at least partially) visible (top-level)
1911         paragraphs.
1912
1913         * BufferView_pimpl.C: reset external coord cache before every update.
1914         This means the coord cache only contains valid entries.
1915
1916 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1917
1918         bug 1096
1919         * BufferView_pimpl.C (getInsetByCode): move function out of class
1920         and change in to a template in anon namespace. Also fix to do what
1921         suits us better.
1922
1923 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1924
1925         bug 1305
1926         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1927         of char
1928         (breakParagraph): rename par to par_offset and use a local
1929         reference. Add code to keep the language over a rebreak.
1930         (breakParagraphConservative): rename par to par_offset, use a
1931         local reference
1932         (mergeParagraph): ditto
1933         (outerHook): ditto
1934         (isFirstInSequence): ditto
1935         (outerFont): rename pit to par_offset
1936
1937         * paragraph.C: ws change
1938         * paragraph.h: ditto
1939         * text3.C: ditto
1940         * text.C: ditto
1941
1942 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1943
1944         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1945         treatment for ']'
1946
1947         * paragraph.C (simpleTeXOnePar): when we have a \item with
1948         optional argument, enclose the argument with curly brackets (in
1949         case it contains a closing square bracket)
1950
1951         * text2.C (editXY):
1952         * text2.C (editXY):
1953         * text3.C (checkInsetHit): constify
1954
1955 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1956
1957         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1958         documents (bug 1629)
1959
1960 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1961
1962         Fix toggling of collapsable insets with the mouse (bug 1558)
1963
1964         * lyxfunc.C (dispatch): adapt to LCursor changes
1965
1966         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1967         make sure that dispatch is not invoked twice
1968
1969         * cursor.C (needsUpdate): new method
1970         (dispatch): return void
1971         (result): new method, to access the DispatchResult of the cursor.
1972
1973 2004-08-13  José Matos  <jamatos@lyx.org>
1974
1975         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1976
1977 2004-08-13  André Pönitz  <poenitz@gmx.net>
1978
1979         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1980
1981         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1982           multiple cells
1983
1984 2004-08-12  André Pönitz  <poenitz@gmx.net>
1985
1986         * text3.C: take out the 'cursor right' form insertInset and only
1987         do it in those places when it is really needed. Fixes crash on
1988         C-m...
1989
1990 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1991
1992         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1993
1994         * BufferView_pimpl.C (setBuffer): initialize the current font of
1995         the underlying LyXText
1996
1997 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1998
1999         * kbsequence.C (print): use UI native formatting for menu
2000         shortcuts
2001
2002         * text.C (insertChar): call Paragraph::insertChar with a font
2003         argument (cosmetic)
2004
2005         * paragraph.C (insertInset, insertChar): the version that takes a
2006         LyXFont argument is now a wrapper around the other one (the
2007         opposite used to be true).
2008
2009         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2010         argument. Font setting is done in Paragraph now.
2011
2012 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2013
2014         * outputparams.h: add new members intitle and lang.
2015
2016         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2017         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2018
2019 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2020
2021         * text3.C (dispatch): remove special handling of button 4 and 5,
2022         it is now taken care of in the frontend code.
2023
2024 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2025
2026         * Spacing.h: add <string> (STLPort compile fix)
2027
2028 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2029
2030         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2031
2032 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2033
2034         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2035         to bool.
2036
2037         * converter.C (showMessage): inherit from unary_function, make
2038         operator() const.
2039
2040         * buffer.C (writeFile): initialize retval
2041
2042         * InsetList.h: rename private variable list to list_
2043         * InsetList.[Ch]: adjust accordingly.
2044
2045 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2046
2047         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2048         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2049         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2050         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2051         * ParagraphParameters.C, LaTeXFeatures.C: replace
2052         "support/std_sstream.h" with <sstream>
2053
2054 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2055
2056         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2057         * lyxsocket.C (LyXServerSocket): ditto
2058         (serverCallback): ditto
2059
2060 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2061
2062         * LaTeXFeatures.C: check release date when loading jurabib.
2063
2064 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2065
2066         * lyxserver.C (startPipe): call register_socket_callback
2067         (endPipe): call unregister_socket_callback
2068
2069 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2070
2071         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2072         (LyXServerSocket): register the callback
2073         (LyXServerSocket): unregister the callback
2074         (fd): delete function
2075         (serverCallback): improve error checking and setup the callbacks.
2076         (dataCallback): change arg to fd.
2077         (writeln): new func (copied fro the client socket) used for server
2078         write to client.
2079         (LyXDataSocket): simplify
2080         (~LyXDataSocket): close ann unregiser callback
2081         (server): delete function
2082         (fd): delete function
2083         (readln): small changes, improve some std::string usage
2084         (writeln): constify a bit
2085
2086 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2087
2088         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2089         Qt frontend
2090
2091 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2092
2093         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2094         after it has been populated
2095
2096 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2097
2098         * text2.C (insertInset): move cursor when inserting inset.
2099
2100 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2101
2102         * kbmap.C (findbindings): a couple of new methods. returns a
2103         container of kb_sequence objects. The real work is done by the
2104         private recursive version
2105         (printbindings): uses findbindings to print out a bracketed list
2106         of bindings (renamed from findbinding).
2107
2108         * MenuBackend.C (binding): use kb_keymap::findbindings
2109
2110         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2111
2112 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2113
2114         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2115
2116 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2117
2118         * paragraph.C (isWord): return true on insets that report
2119         isLetter().
2120
2121         * text.C (getWord): use Paragraph::isWord to decide what is in a
2122         word and what is not; fix bug 1609.
2123
2124 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2125
2126         * tex-strings.C: add "none" to string_paperpackages[], fixes
2127         off-by-one-error in the paperpackage selection.
2128
2129         * lyxlex.[Ch]:
2130         * tex-strings.[Ch]: char const * string[n]
2131         -> char const * const string[]
2132
2133 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2134
2135         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2136         command, return early.
2137
2138 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2139
2140         * debug.h: add DEBUG to enum and fix size of ANY.
2141
2142         * debug.C: add support for Debug::DEBUG
2143         (showTags): cast errorTags.level to unsigned int
2144
2145         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2146         (redoCurrentBuffer): ditto
2147         (updateScrollbar): ditto
2148         * cursor.C (dispatch): ditto
2149         * text2.C (setLayout): ditto
2150         (setFont): ditto
2151         (updateCounters): ditto
2152         (editXY): ditto
2153         (deleteEmptyParagraphMechanism): ditto
2154
2155 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2156
2157         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2158         annotations to cleanup the Makefile slightly.
2159
2160 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2161
2162         * lyxrc.C: do not set user_email to a default value but use empty
2163         instead. The entry used to be translated, which does not work
2164         since at the point where lyxrc is constructed there is no
2165         translation service available
2166
2167         * messages.C (getLocaleDir): remove and use directly
2168         lyx_localedir() instead
2169
2170 2004-06-02  Angus Leeming  <leeming@lyx.org>
2171
2172         Fix crash caused by dereferencing null pointer 'exportdata' in
2173         OutputParams by creating a new ExportData variable on the heap,
2174         storing it in a boost::shared_ptr.
2175         The crash was triggered when generating an Instant Preview
2176         of an external inset.
2177
2178         * Makefile.am: add outputparams.C
2179
2180         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2181         (c-tor): allocate memory to it.
2182
2183         * exporter.C (c-tor): associated changes.
2184
2185 2004-06-01  Angus Leeming  <leeming@lyx.org>
2186
2187         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2188         contains data before calling isInset(0). (Bug 1513.)
2189
2190 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2191
2192         * exporter.C (checkOverwrite): new method
2193         * exporter.C (copyFile): new method
2194         * exporter.C (Export): copy referenced files to the document dir
2195         * exporter.[Ch]: new class ExportedFile
2196         * exporter.[Ch]: new class ExportData. Contains currently the
2197         names of referenced external files
2198         * outputparams.h: add exportdata member.
2199
2200 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2201
2202         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2203         version.C-tmp
2204
2205 2004-05-19  Angus Leeming  <leeming@lyx.org>
2206
2207         * LaTeXFeatures.C:
2208         * ToolbarBackend.C:
2209         * bufferparams.C:
2210         * lyxfunc.C: small changes due to the introduction of namespace
2211         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2212
2213 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2214
2215         * text3.C (dispatch): supress update when only moving the cursor
2216         * cursor.C (selHandle): remove commented code
2217
2218 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2219
2220         * paragraph.C (startTeXParParams): correct column count
2221         * CutAndPaste.C (pasteSelection): remove const_cast
2222         * output_docbook.C (docbookParagraphs): remove const_cast
2223         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2224         const_cast and return ParagraphList::const_iterator
2225         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2226         * output_plaintext.C (writeFileAscii): remove const_cast
2227         * paragraph.[Ch] (simpleTeXOnePar): make const
2228         * paragraph_funcs.C (outerPar): use const iterators
2229         * paragraph_pimpl.C (validate): use const iterators
2230         * text.C (setHeightOfRow): use const iterators
2231
2232 2004-05-17  Angus Leeming  <leeming@lyx.org>
2233
2234         * lfuns.h:
2235         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2236
2237         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2238         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2239         if the citation engine has changed.
2240
2241 2004-05-14  José Matos  <jamatos@lyx.org>
2242
2243         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2244         if the textclass does not provide it. Have it different for sgml and
2245         xml.
2246         support the language of document.
2247         * output_docbook.C (docbookParagraphs):
2248         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2249         first anchor as the id of the paragraph, remove special case code.
2250         * sgml.C (escapeChar): escape only < & >.
2251
2252 2004-05-14  Angus Leeming  <leeming@lyx.org>
2253
2254         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2255         dependencies on src/frontends/controllers/biblio.h. Define a
2256         CiteEngine_enum wrapper class to enable the enum to be forward
2257         declared.
2258
2259 2004-05-12  Angus Leeming  <leeming@lyx.org>
2260
2261         * buffer.C: up LYX_FORMAT to 234.
2262         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2263         use_numerical_citations with a single biblio::CiteEngine cite_engine
2264         variable.
2265         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2266
2267 2004-05-13  José Matos  <jamatos@lyx.org>
2268
2269         * converter.h:
2270         * converter.C (Converter, readFlags): add xml member.
2271         * outputparams.h: add XML flavor.
2272         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2273
2274 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2275
2276         * lyxfunc.C (dispatch):
2277         (getStatus): fix handling of LFUN_SEQUENCE
2278
2279 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2280
2281         * debug.C (showLevel): do not forget the end-of-line marker
2282
2283 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2284
2285         * kbmap.C (read): do not stop parsing a bind file when an error
2286         occurs (bug 1575)
2287
2288 2004-04-29  Angus Leeming  <leeming@lyx.org>
2289
2290         * cursor.C:
2291         * factory.C:
2292         * pariterator.C:
2293         * text2.C: wrap a bunch of #warning statements
2294         inside #ifdef WITH_WARNINGS blocks.
2295
2296 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2297
2298         * buffer.C: increment format to 233.
2299
2300 2004-04-28  Angus Leeming  <leeming@lyx.org>
2301
2302         * BufferView_pimpl.C:
2303         * lyxfunc.C:
2304         * text3.C:
2305         s/updateToolbar()/updateToolbars()/
2306         s/Toolbar.h/Toolbars.h/
2307
2308 2004-04-28  Angus Leeming  <leeming@lyx.org>
2309
2310         * BufferView.[Ch] (c-tor):
2311         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2312         No longer passes these data to the WorkArea generator.
2313
2314 2004-04-28  Angus Leeming  <leeming@lyx.org>
2315
2316         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2317
2318 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2319
2320         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2321
2322 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2323
2324         * output_latex.C (TeXEnvironment): make sure that there is a line
2325         break before \end{foo} for the last paragraph of a document
2326         (TeXOnePar): if the paragraph is at the end of the document (or
2327         inset) and the language has to be reset, then make sure that the
2328         line break is _before_ the language command, not after (fixes bug
2329         1225); also make sure that the language reset command is the first
2330         thing after the paragraph (to ensure proper nesting of
2331         environments and thus fix bug 1404)
2332
2333 2004-04-21  John Levon  <levon@movementarian.org>
2334
2335         * ToolbarBackend.h:
2336         * ToolbarBackend.C: make "name" be a programmatic name
2337         and a gui_name field.
2338
2339         * lyxfunc.C: display the minibuffer on M-x
2340
2341 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2342
2343         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2344         (bug 1526)
2345
2346 2004-04-19  Angus Leeming  <leeming@lyx.org>
2347
2348         * BufferView_pimpl.C (setBuffer): changed preview interface.
2349
2350         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2351         possible values.
2352
2353 2004-04-19  John Levon  <levon@movementarian.org>
2354
2355         * BufferView_pimpl.C:
2356         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2357
2358 2004-04-05  Angus Leeming  <leeming@lyx.org>
2359
2360         * text.C (redoParagraphs): add call to updateCounters(), thereby
2361         fixing the missing "Figure #:" label from the caption of a
2362         figure float.
2363
2364 2004-04-13  Angus Leeming  <leeming@lyx.org>
2365
2366         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2367         cursor is clicked out of an inset.
2368
2369 2004-04-13  Angus Leeming  <leeming@lyx.org>
2370
2371         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2372         than an InsetOld one.
2373
2374 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2375
2376         * format.[Ch]: add editor to Format
2377         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2378         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2379
2380 2004-04-08  André Pönitz  <poenitz@gmx.net>
2381
2382         * metricsinfo.h: remove PainterInfo::width member
2383
2384 2004-04-08  Angus Leeming  <leeming@lyx.org>
2385
2386         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2387         "\providecommand" rather than "\newcommand", thereby preventing
2388         clashes with packages that define "\boldsymbol" themselves.
2389         Eg, beamer.
2390
2391 2004-04-08  Angus Leeming  <leeming@lyx.org>
2392
2393         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2394         thereby squashing an unnecessary warning.
2395
2396 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2397
2398         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2399         setBuffer()
2400
2401 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2402
2403         * BufferView.C (setCursor): call redoParagraph (some insets could
2404         have been opened)
2405         (putSelectionAt): remove the 'double update' trick
2406
2407         * BufferView_pimpl.C (fitCursor): call refreshPar
2408         (workAreaDispatch): remove an uneeded update call
2409         (dispatch): remove some manual update calls
2410
2411         * cursor.[Ch]: remove cached_y_, updatePos
2412         (selHandle): set noUpdate when appropriate
2413
2414         * lyxfunc.C (dispatch): track if we need an update
2415
2416         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2417
2418         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2419         (paintSelection): cheap optimization, do not call cursorX when not
2420         needed
2421         (paintPars): change signature
2422         (refreshPar): add
2423         (paintText): adjust
2424         (paintTextInset): adjust
2425
2426         * text.C: adjust
2427
2428 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2429
2430         * lengthcommon.C: compilation fix: remove explicit array size from
2431         unit_name[] and friends
2432
2433 2004-04-05  Angus Leeming  <leeming@lyx.org>
2434
2435         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2436
2437         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2438         present only for the preferences dialog.
2439         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2440
2441 2004-04-05  Angus Leeming  <leeming@lyx.org>
2442
2443         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2444         to enable the frontends to export changes to lyxrc correctly.
2445
2446         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2447
2448 2004-04-07  André Pönitz  <poenitz@gmx.net>
2449
2450         * cursor.[Ch] (selClear, adjust): remove math
2451
2452         * cursor_slice.C: more agressive assert
2453
2454         * lyxfunc.C:
2455         * BufferView_pimpl.C: rework mouse event dispatch
2456
2457         * dociterator.C:
2458         * paragraph.C:
2459         * text2.C:
2460         * text3.C: adjust
2461
2462 2004-04-05  André Pönitz  <poenitz@gmx.net>
2463
2464         * cursor.[Ch] (valign, halign...): remove unneeded functions
2465
2466 2004-04-05  Angus Leeming  <leeming@lyx.org>
2467
2468         * lyxlength.[Ch] (unit_name et al.): const-correct.
2469
2470 2004-04-05  Angus Leeming  <leeming@lyx.org>
2471
2472         * BufferView_pimpl.C:
2473         * buffer.C:
2474         * counters.C:
2475         * cursor.C:
2476         * lyxfunc.C
2477         * paragraph.C:
2478         * pariterator.C:
2479         * text.C:
2480         * text2.C:
2481         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2482
2483 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2484
2485         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2486
2487 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2488
2489         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2490         * BufferView_pimpl.[Ch] (getStatus)
2491         * BufferView.[Ch] (getStatus): add
2492         * lyxfunc.C (getStatus): move lfuns handled in
2493         BufferView::dispatch to te function above
2494         * Cursor.C (setSelection): set selection() = true
2495
2496 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2497
2498         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2499
2500 2004-03-31  Angus Leeming  <leeming@lyx.org>
2501
2502         * lyxfunc.C (dispatch): Fall through to the generic
2503         Dialogs::show("preamble").
2504
2505 2004-03-31  Angus Leeming  <leeming@lyx.org>
2506
2507         * lyxfunc.C (dispatch): Fall through to the generic
2508         Dialogs::show("spellchecker").
2509
2510 2004-03-31  Angus Leeming  <leeming@lyx.org>
2511
2512         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2513         preferences dialog.
2514
2515 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2516
2517         * BufferView.C
2518         * cursor.[Ch]
2519         * dociterator.[Ch]:
2520         * insetiterator.[Ch]:
2521         * lyxfind.C:
2522         * lyxfunc.C:
2523         * pariterator.[Ch]:
2524         * text2.C:
2525         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2526
2527 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2528
2529         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2530         insets where we are putting the cursor.
2531
2532 2004-03-31  Angus Leeming  <leeming@lyx.org>
2533
2534         * lfuns.h:
2535         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2536
2537         * lyxrc.[Ch] (read, write): overloaded member functions taking
2538         a std::[io]stream arguments.
2539
2540         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2541
2542 2004-03-31  Angus Leeming  <leeming@lyx.org>
2543
2544         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2545         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2546
2547         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2548         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2549
2550 2004-03-31  Angus Leeming  <leeming@lyx.org>
2551
2552         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2553         the LFUN_ALL_INSETS_TOGGLE code.
2554
2555 2004-03-30  Angus Leeming  <leeming@lyx.org>
2556
2557         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2558         has died. Fall through to the generic Dialogs::show("document").
2559
2560 2004-03-30  Angus Leeming  <leeming@lyx.org>
2561
2562         * lfuns.h:
2563         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2564         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2565
2566         * lyxfunc.C (getStatus, dispatch): define the actions for these
2567         lfuns. Little more than a cut and pste job from ControlDocument.C
2568
2569         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2570
2571 2004-03-30  Angus Leeming  <leeming@lyx.org>
2572
2573         * lfuns.h:
2574         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2575         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2576
2577         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2578         open/closed state of ollapsable insets. Usage:
2579
2580         all-inset-toggle <state> <name>, where
2581         <state> == "open" || "closed" || "toggle" and
2582         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2583
2584         * lyxtext.h, text2.C (toggleInset): removed.
2585
2586         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2587         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2588         now passes LFUN_INSET_TOGGLE to the found inset.
2589
2590         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2591         is now invoked as "all-insets-toggle toggle branch".
2592
2593 2004-03-30  Angus Leeming  <leeming@lyx.org>
2594
2595         * dociterator.C:
2596         * insetiterator.C:
2597         * pariterator.[Ch]: added/corrected header blurb.
2598
2599 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2600
2601         * dociterator.[Ch]: add an inset_ member
2602         (backwardPos): implemented
2603         (backwardPos, forwardPos): use inset_ when the stack is empty.
2604         (doc_iterator_begin, doc_iterator_end): implemented
2605         * pariterator.[Ch]: adjust, add begin, end
2606         * insetiterator.[Ch]: adjust, add begin, end
2607         * cursor.C:
2608         * document.C:
2609         * BufferView.C:
2610         * BufferView_pimpl.C:
2611         * CutAndPaste.C: adjust
2612
2613 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2614
2615         * buffer.C: increment file format to 232.
2616         * LaTeXFeatures.C: add bibtopic package.
2617         * bufferparams.[Ch]: param \use_bibtopic.
2618
2619         * lyxrc.[Ch]: add lyxrc bibtex_command
2620         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2621
2622         * buffer.C: increment file format to 231.
2623
2624 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2625
2626         * dociterator.C: implement forwardPar
2627         * iterators.[Ch]: remove, replaced by
2628         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2629         * BufferView.C:
2630         * BufferView_pimpl.C:
2631         * CutAndPaste.C:
2632         * buffer.C:
2633         * bufferview_funcs.C:
2634         * cursor.C:
2635         * lyxfind.C
2636         * lyxfunc.C
2637         * paragraph_funcs.C
2638         * toc.C:
2639         * Makefile.am: adjust
2640
2641 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2642
2643         * CutAndPaste.C (pasteSelection): fix 2 crashes
2644         (eraseSelection): fix a crash
2645         * paragraph_funcs.C: remove a warning
2646
2647 2004-03-28  Angus Leeming  <leeming@lyx.org>
2648
2649         * lfuns.h:
2650         * LyXAction.C (init): new LFUN_PRINT.
2651
2652         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2653
2654 2004-03-27  Angus Leeming  <leeming@lyx.org>
2655
2656         * lfuns.h:
2657         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2658
2659         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2660
2661 2004-03-27  Angus Leeming  <leeming@lyx.org>
2662
2663         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2664         insetlist always contains non-null pointers to insets.
2665
2666 2004-03-26  Angus Leeming  <leeming@lyx.org>
2667
2668         * src/BufferView_pimpl.C:
2669         * src/CutAndPaste.C:
2670         * src/buffer.C:
2671         * src/iterators.C:
2672         * src/output_plaintext.C:
2673         * src/outputparams.h:
2674         * src/paragraph_funcs.C:
2675         * src/rowpainter.C:
2676         * src/text.C:
2677         * src/text2.C:
2678         * src/frontends/controllers/ControlErrorList.C:
2679         * src/frontends/gtk/FileDialogPrivate.C:
2680         * src/frontends/gtk/GPainter.C:
2681         * src/frontends/gtk/GToolbar.C:
2682         * src/frontends/qt2/QRef.C:
2683         * src/mathed/math_scriptinset.C: squash compiler warnings.
2684
2685 2004-03-26  Angus Leeming  <leeming@lyx.org>
2686
2687         * ispell.C (LaunchIspell::start):
2688         * lyx_cb.C (AutoSaveBuffer::start):
2689         invoke run(DontWait) rather than runNonBlocking().
2690
2691 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2692
2693         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2694
2695 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2696
2697         * kbsequence.C (print): adjust
2698
2699         * kbmap.C (printKeySym): rename and change signature
2700         (printKey): use LyXKeySym::print()
2701
2702 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2703
2704         * undo.C: add using std::advance to compile for stlport
2705
2706 2004-03-24  Angus Leeming  <leeming@lyx.org>
2707
2708         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2709         it leads to a crash when no buffer is present.
2710
2711 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2712             Martin Vermeer  <martin.vermeer@hut.fi>
2713
2714         * lyxfunc.C (dispatch):
2715         * bufferparams.C (readToken): use the new LColor::setColor
2716
2717         * LColor.[Ch] (setColor): new version that takes two strings as
2718         argument and creates a new color entry if necessary
2719
2720 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2721
2722         * buffer.C (makeLaTeXFile): if the main latex file that is
2723         processed is usually a subdocument of some master, then pretend
2724         for a while that it is actually the master
2725
2726 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2727
2728         * buffer.C (getLabelList):
2729         (getBibkeyList): use getMasterBuffer()
2730         (getMasterBuffer): new method. Returns the main document in the
2731         case where one is using included documents.
2732
2733 2004-03-25  André Pönitz  <poenitz@gmx.net>
2734
2735         * Makefile.am:
2736         * iterators.[Ch]:
2737         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2738
2739         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2740
2741         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2742         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2743
2744         * ParameterStruct.h: merge with ParagraphParameters
2745
2746         * lyxtext.h: remove LyXText::parOffset() and getPar()
2747
2748         * text3.C: Remove all 'manual' update calls. We do now one per user
2749         interaction which is completely sufficient.
2750
2751         * Bidi.C:
2752         * BufferView.[Ch]:
2753         * BufferView_pimpl.C:
2754         * FontIterator.[Ch]:
2755         * MenuBackend.C:
2756         * ParagraphParameters.[Ch]:
2757         * buffer.C:
2758         * buffer.h:
2759         * bufferlist.C:
2760         * cursor.[Ch]:
2761         * cursor_slice.[Ch]:
2762         * dociterator.[Ch]:
2763         * errorlist.[Ch]:
2764         * factory.C:
2765         * lfuns.h:
2766         * lyxfind.C:
2767         * lyxfunc.C:
2768         * output_docbook.[Ch]:
2769         * output_latex.[Ch]:
2770         * output_linuxdoc.[Ch]:
2771         * output_plaintext.[Ch]:
2772         * paragraph.[Ch]:
2773         * paragraph_funcs.[Ch]:
2774         * paragraph_pimpl.[Ch]:
2775         * rowpainter.C:
2776         * tabular.[Ch]:
2777         * text.C:
2778         * text2.C:
2779         * toc.C:
2780         * undo.[Ch]: adjust
2781
2782         * frontends/controllers/ControlDocument.C:
2783         * frontends/controllers/ControlErrorList.C:
2784         * frontends/controllers/ControlSpellchecker.C:
2785         * insets/inset.C:
2786         * insets/inset.h:
2787         * insets/insetbase.h:
2788         * insets/insetbibitem.C:
2789         * insets/insetbox.C:
2790         * insets/insetbranch.C:
2791         * insets/insetcaption.C:
2792         * insets/insetcharstyle.C:
2793         * insets/insetcharstyle.h:
2794         * insets/insetcollapsable.C:
2795         * insets/insetcollapsable.h:
2796         * insets/insetert.C:
2797         * insets/insetfloat.C:
2798         * insets/insetfoot.C:
2799         * insets/insetmarginal.C:
2800         * insets/insetnote.C:
2801         * insets/insetoptarg.C:
2802         * insets/insettabular.C:
2803         * insets/insettext.C:
2804         * insets/insettext.h:
2805         * insets/insetwrap.C:
2806         * mathed/math_mboxinset.C:
2807         * mathed/math_nestinset.C:
2808         * mathed/math_scriptinset.C:
2809         * mathed/math_scriptinset.h:
2810         * support/types.h:
2811
2812 2004-03-24  Angus Leeming  <leeming@lyx.org>
2813
2814         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2815         deal with any child processes that have finished but are waiting to
2816         communicate this fact to the rest of LyX.
2817
2818 2004-03-24  Angus Leeming  <leeming@lyx.org>
2819
2820         64-bit compile fixes.
2821
2822         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2823         (c-tor): pass lyx::pos_types rather than ints.
2824
2825         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2826         lyx::pos_type.
2827
2828         * text.C (Delete): compile fix.
2829         (getPar): ensure that function declaration is the same as that in
2830         the header file.
2831
2832 2004-03-23  Angus Leeming  <leeming@lyx.org>
2833
2834         * ispell.C (LaunchIspell):
2835         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2836         a boost::shred_ptr rather than a std::auto_ptr.
2837
2838 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2839
2840         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2841         handle LFUN_FILE_INSERT_*
2842
2843         * lyxrc.C (setDefaults, getDescription, output, read):
2844         * lyxrc.h: remove ps_command
2845
2846 2004-03-22  Angus Leeming  <leeming@lyx.org>
2847
2848         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2849         Ensure that error_handler is processed once only and that all data
2850         is saved before attempting to output any warning messages.
2851
2852         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2853
2854 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2855
2856         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2857
2858 2004-03-19  André Pönitz  <poenitz@gmx.net>
2859
2860         * cursor.[Ch] (reset): take main text inset as argument
2861
2862         * BufferView: adjust
2863         * BufferView_pimpl.C: adjust
2864
2865         * paragraph.[Ch]: fix completely broken operator=()
2866
2867 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2868
2869         * LColor.C (getFromLyXName): make sure that the color name is used
2870         as lowercase.
2871
2872 2004-03-17  Angus Leeming  <leeming@lyx.org>
2873
2874         * lfuns.h:
2875         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2876
2877         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2878         dialog and to kill a forked process.
2879
2880 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2881
2882         * text2.C (setCursorFromCoordinates): fix font problem
2883
2884 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2885
2886         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2887         bogus "rebuild cursor" code
2888
2889 2004-03-11  André Pönitz  <poenitz@gmx.net>
2890
2891         * buffer.[Ch]: use InsetText instead of LyXText as container for
2892         the main lyx text.
2893
2894         * dociterator.[Ch]: drop the BufferView * member which is not needed
2895         anymore after the change to buffer.C
2896
2897         * paragraph_funcs.C:
2898         * text.C:
2899         * text2.C:
2900         * BufferView.[Ch]:
2901         * BufferView_pimpl.[Ch]:
2902         * cursor.[Ch]:
2903         * cursor_slice.[Ch]: adjust
2904
2905         * text3.C: fix bug in mathDispatch
2906
2907 2004-03-08  André Pönitz  <poenitz@gmx.net>
2908
2909         * undo.[Ch]: use 'StableDocumentIterator' as base for
2910         the Undo struct.
2911
2912 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2913
2914         * LaTeXFeatures.C:
2915         * bufferparams.[Ch]: add jurabib support and param.
2916
2917         * LaTeX.C: add FIXME/comment.
2918
2919 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2920
2921         * buffer.C: increment file format to 230.
2922
2923 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2924
2925         * cursor.C (dispatch): avoid infinite loops
2926
2927 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2928
2929         * rowpainter.C (paintSelection): fix x coordinates
2930
2931 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2932
2933         * text.C (rowBreakPoint): fix breaking before displayed insets
2934
2935 2004-03-01  André Pönitz  <poenitz@gmx.net>
2936
2937         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2938
2939         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2940
2941         * Makefile.am:
2942         * BufferView.C:
2943         * BufferView_pimpl.C:
2944         * buffer.C:
2945         * lyxfind.C:
2946         * lyxfunc.C:
2947         * text.C:
2948         * text2.C:
2949         * text3.C: adjust
2950
2951 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2952
2953         * lyxtext.h:
2954         * text.C:
2955         * text2.C:
2956         * rowpainter.C:
2957         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2958         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2959
2960 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2961
2962         * Bidi.[Ch] (computeTables): const correctness
2963         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2964         fill_hfill, fill_label_hfill and x from Row
2965         * lyxtext.h: prepareToPrint returns a RowMetrics
2966         * rowPainter.C: adjust
2967         * text.C (prepareToPrint): use width, not textWidth. adjust
2968         (redoParagraphInternal, cursorX): adjust
2969         * text2.C (getColumnNearX): adjust
2970         (init): put a default value to the top LyXText::width
2971
2972 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2973
2974         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2975
2976 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2977
2978         * lyxtext.h: add FontIterator class
2979
2980         * text.C (FontIterator, operator*, operator->, operator++): add
2981         (rowBreakPoint, setRowWidth): adjust (fixing a
2982         rebreaking bug)
2983
2984 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2985
2986         * BufferView_pimpl.C (workAreaDispatch): allow also
2987         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2988
2989 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2990
2991         * text.C (rowBreakPoint): fix a bug showing with very large insets
2992
2993 2004-02-25  André Pönitz  <poenitz@gmx.net>
2994
2995         * text3.C:
2996         * cursor.[Ch]: move some mathed specific code to mathed
2997
2998 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2999
3000         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3001         use_tempdir in preferences
3002         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3003         tempfile creation
3004         * lyx_main.C: ensure that tempdir is valid
3005         * lyxlex.h: correct typo
3006         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3007         * paragraph.[Ch] (isMultiLingual): make const
3008         * cursor.[Ch] (openable): make const
3009
3010 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3011
3012         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3013
3014 2004-02-20  André Pönitz  <poenitz@gmx.net>
3015
3016         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3017
3018         * cursor.[Ch]: prepare for localized getStatus()
3019
3020         * lyxtext.h:
3021         * tabular.C:
3022         * text.C:
3023         * text2.C:
3024         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3025
3026 2004-02-20  André Pönitz  <poenitz@gmx.net>
3027
3028         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3029
3030 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3031
3032         * text2.C (setCursorFromCoordinates): switch to absolute coords
3033         (cursorUp): adjust
3034         (cursorDown): adjust
3035         * text3.C (dispatch): adjust
3036
3037 2004-02-16  André Pönitz  <poenitz@gmx.net>
3038
3039         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3040           insets/ChangeLog)
3041
3042         * cursor_slice.[Ch]: remove unneeded acessor function
3043
3044         * lyxtext.h: rename rtl() to isRTL()
3045
3046         * rowpainter.C:
3047         * tabular.C:
3048         * text.C:
3049         * text2.C:
3050         * text3.C: adjust
3051
3052 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3053
3054         * rowpainter.C (paintSelection): coord fix
3055
3056 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3057
3058         * Spacing.C: compile fix
3059
3060 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3061
3062         * cursor.C (dispatch): restore current_ before returning
3063
3064 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3065
3066         * text2.C (cursorUp, cursorDown): fix coords
3067         (moveUp): fix crash
3068
3069 2004-02-12  André Pönitz  <poenitz@gmx.net>
3070
3071         * lyxtext.h:
3072         * text.C:
3073         * text2.C:
3074         * text3.C: add LCursor & parameter to most cursor movement functions
3075           remove usage of LyXText::cursorRow() and cursorPar()
3076
3077         * cursor.[Ch]: add textRow() needed members
3078
3079         * BufferView.C:
3080         * BufferView_pimpl.C:
3081         * paragraph.[Ch]:
3082         * BufferView.C:
3083         * BufferView_pimpl.C: adjust
3084
3085 2004-02-11  André Pönitz  <poenitz@gmx.net>
3086
3087         * lyxfunc.C:
3088         * BufferView.[Ch]:
3089         * BufferView_pimpl.C: shift undo/redo handling
3090
3091         * cursor.[Ch]: fix mathed crash
3092
3093         * lyxfind.C:
3094         * lyxtext.h: move selectionAsText to LCursor
3095
3096         * output_latex.C:
3097         * paragraph.C:
3098         * text.C:
3099         * text2.C:
3100         * text3.C: adjust
3101
3102         * rowpainter.C: fix excessive drawing
3103
3104 2004-02-06  André Pönitz  <poenitz@gmx.net>
3105
3106         * BufferView.[Ch]:
3107         * BufferView_pimpl.[Ch]:
3108         * text3.C: move some text specific LFUN handling
3109
3110 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3111
3112         * text3.C (checkInsetHit): adjust coords
3113         * text2.C (getColumnNearX): adjust coords
3114         (edit): adjust coords
3115         * text.C (getRowNearY): add two asserts
3116
3117 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3118
3119         * converter.C:
3120         * format.C: add using std::distance to compile on gcc 2.95/stlport
3121
3122 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3123
3124         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3125
3126 2004-02-04  André Pönitz  <poenitz@gmx.net>
3127
3128         * BufferView.[Ch] (insertInset):
3129         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3130
3131         * text2.C:
3132         * text3.C: adjust
3133
3134 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3135
3136         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3137         on the default clause of the switch
3138         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3139         wasn't catched by LCursor::dispatch
3140
3141 2004-02-03  André Pönitz  <poenitz@gmx.net>
3142
3143         * BufferView.C:
3144         * cursor.[Ch]: some additional asserts
3145
3146         * undo.[Ch]: remove LyXText dependency in interface
3147
3148         * lyxfunc.C: adjust
3149
3150         * lyxtext.h (firstPar, lastPar): remove dead functions
3151
3152         * text.C:
3153         * text2.C:
3154         * text3.C:
3155         * paragraph.[Ch]: adjust
3156
3157 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3158
3159         * lyxfind.C (find): fix argument order in call to ::find
3160
3161 2004-02-02  André Pönitz  <poenitz@gmx.net>
3162
3163         * cursor.[Ch]: remove direct access to anchor
3164
3165         * text.C: remove findText() hack
3166
3167 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3168
3169         * iterators.[Ch] (lockPath): remove in favour of...
3170         * BufferView.[Ch] (setCursor): this addition
3171         * BufferView.C (putSelectionAt): adjust
3172         * undo.C (performUndoOrRedo): adjust
3173         * lyxfunc.C (dispatch): adjust
3174
3175 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3176
3177         * iterators.C (lockPath): add a missing slice
3178         * undo.C (performUndoOrRedo): remove redundant positioning code
3179
3180 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3181
3182         * vc-backend.C (scanMaster): ";" -> ';'
3183
3184 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3185
3186         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3187         std::binary_function
3188
3189         * lyxtextclass.C (compare_name): rename to...
3190         (LayoutNamesEqual): ...this
3191
3192         * lyxlex_pimpl.C (compare_tags): inherit from
3193         std::binary_function, put back into anon namespace
3194
3195         * lyxfind.C (MatchString): inherig from std::binary_function
3196         (findChange): use empty() istead of !size()
3197
3198         * format.C (FormatNamesEqual): new functor
3199         (getFormat): use it
3200         (getNumber): use it
3201         (add): use it
3202         (erase): use it
3203         (setViewer): use it
3204
3205         * converter.C (compare_Converter): rename to...
3206         (ConverterEqual): ...this, and fixup a bit.
3207         (getConverter): use it, and make function const
3208         (getNumber): use it, and make function const
3209         (add): use it
3210         (erase): use it:
3211
3212         * bufferlist.C: add using boost::bind
3213
3214         * MenuBackend.C (MenuNamesEqual): new functor
3215         (hasMenu): use it, and make function const
3216         (hasSubmenu): use nested bind to get rid of compare_memfun.
3217
3218 2004-01-30  André Pönitz  <poenitz@gmx.net>
3219
3220         * BufferView_pimpl.C:
3221         * cursor.C:
3222         * cursor.h:
3223         * cursor_slice.[Ch]:
3224         * lyxfunc.C:
3225         * lyxtext.h:
3226         * paragraph_funcs.C:
3227         * paragraph_funcs.h:
3228         * rowpainter.C:
3229         * text.C:
3230         * text2.C:
3231         * text3.C: move some of the edit(x,y) handling to the insets
3232         some coordinate changes.
3233
3234 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3235
3236         * text.C: add using statements for std::advance and std::distance
3237
3238         * paragraph.C: add using statement for std::distance
3239
3240         * lyxfind.C: add using statement for std::advance
3241
3242         * cursor.C (region): remove std:: from swap
3243         (openable): use nucleus in stead of operator->
3244
3245         * BufferView.C: add using statements for std::distance and std::swap
3246
3247 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3248
3249         * iterators.C: Remove the pimple, move the needed structures to
3250         the header file. Create accessor for the positions stack.
3251         (asPosIterator): remove function
3252
3253         * PosIterator.C (PosIterator): move constructors to top of file
3254         (PosIterator): reimplement the constructor taking a ParIterator in
3255         terms of setFrom.
3256         (setFrom): new function
3257         (operator!=): inline it
3258
3259 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3260
3261         * lyxfind.C (replaceAll): use std::advance
3262
3263         * iterators.h: inherit from std::iterator.
3264
3265         * PosIterator.C (advance, distance): remove
3266         * PosIterator.h: interit from std::iterator.
3267
3268 2004-01-26  André Pönitz  <poenitz@gmx.net>
3269
3270         * BufferView.[Ch]:
3271         * BufferView_pimpl.[Ch]:
3272         * InsetList.[Ch]:
3273         * PosIterator.[Ch]:
3274         * buffer.h:
3275         * bufferview_funcs.C:
3276         * cursor.[Ch]:
3277         * cursor_slice.h:
3278         * factory.[Ch]:
3279         * iterators.[Ch]:
3280         * lyxfind.C:
3281         * lyxfunc.C:
3282         * lyxtext.h:
3283         * output_docbook.C:
3284         * output_latex.C:
3285         * output_linuxdoc.C:
3286         * output_plaintext.C:
3287         * paragraph.[Ch]:
3288         * paragraph_funcs.[Ch]:
3289         * paragraph_pimpl.[Ch]:
3290         * rowpainter.C:
3291         * tabular.C:
3292         * tabular.h:
3293         * text.C:
3294         * text2.C:
3295         * text3.C: more IU:  dumps most of the rest of the mathcursor
3296     implementation into cursor.[Ch]; "globalize" a bit of it.
3297
3298 2004-01-25  Angus Leeming  <leeming@lyx.org>
3299
3300         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3301
3302 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3303
3304         * LaTeXFeatures.h: add nice_ and nice() const
3305         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3306
3307 2004-01-20  André Pönitz  <poenitz@gmx.net>
3308
3309         * BufferView.[Ch]:
3310         * BufferView_pimpl.C:
3311         * PosIterator.C:
3312         * bufferview_funcs.C:
3313         * cursor.[Ch]:
3314         * cursor_slice.[Ch]:
3315         * factory.C:
3316         * iterators.C:
3317         * lyx_cb.C:
3318         * lyxfind.C:
3319         * lyxfunc.C:
3320         * lyxtext.h:
3321         * rowpainter.C:
3322         * text.C:
3323         * text2.C:
3324         * text3.C:
3325         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3326           LCursor and mathcursor parts to LCursor and InsetBase.
3327
3328 2004-01-15  André Pönitz  <poenitz@gmx.net>
3329
3330         * cursor_slice.[Ch]: add a few covienience functions
3331
3332         * funcrequest.[Ch]: remove BufferView * member
3333
3334         * BufferView_pimpl.C:
3335         * cursor.C:
3336         * factory.[Ch]:
3337         * lyxfind.[Ch]:
3338         * lyxfunc.C:
3339         * lyxtext.h:
3340         * text3.C:
3341         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3342
3343 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3344
3345         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3346         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3347
3348 2004-01-13  André Pönitz  <poenitz@gmx.net>
3349
3350         * textcursor.[Ch]:
3351         * lyxtext.h: hide cursor and selection anchor behind accessor function
3352
3353         * BufferView.C:
3354         * BufferView_pimpl.[Ch]:
3355         * PosIterator.C:
3356         * bufferview_funcs.C:
3357         * cursor.h:
3358         * lyxfind.C:
3359         * lyxfunc.C:
3360         * text.C:
3361         * text2.C:
3362         * text3.C:
3363         * undo.C: adjust
3364
3365         * cursor.h:
3366         * cursor_slice.[Ch]: some integer type changes for inset unification
3367
3368         * lyxcursor.[hC]: remove, it's CursorSlice now.
3369
3370         * Makefile.am:
3371         * BufferView_pimpl.[Ch]:
3372         * bufferview_funcs.C:
3373         * cursor_slice.C:
3374         * lyxtext.h:
3375         * text.C:
3376         * text2.C:
3377         * text3.C:
3378         * textcursor.[Ch]: adjust
3379
3380 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3381
3382         * text2.C (undoSpan): add and use
3383         * text.C (breakParagraph): use undoSpan (fix bug 578)
3384         * lyxtext.h: adjust
3385
3386 2004-01-08  Angus Leeming  <leeming@lyx.org>
3387
3388         * BufferView_pimpl.C (MenuInsertLyXFile):
3389         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3390         * lyxfunc.C (menuNew, open, doImport):
3391         FileFilterList change to the FileDialog open and save functions.
3392
3393 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3394
3395         * ShareContainer.h: make isEqual and isUnique adaptable
3396
3397         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3398
3399 2004-01-07  Angus Leeming  <leeming@lyx.org>
3400
3401         * LyXAction.C:
3402         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3403
3404         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3405
3406         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3407         functions replacing find, replace and replaceAll.
3408
3409         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3410         LFUN_WORDFIND(FORWARD|BACKWARD).
3411
3412 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3413
3414         * text.C (breakParagraph): remove an outdated #warning
3415
3416 2004-01-07  André Pönitz  <poenitz@gmx.net>
3417
3418         * lyxfind.C: somewhat clearer logic
3419
3420         * text.C: prevent crash in cursorX on unitialized row cache
3421
3422 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3423
3424         * lyxcursor.[Ch] (operator>): add
3425         * textcursor.C (selStart, selEnd): use std::min and std::max
3426
3427 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3428
3429         * Chktex.C: include boost/format.hpp
3430
3431 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3432
3433         * InsetList.C: replace functor MathcIt with adaptable functor
3434         InsetTablePosLess
3435         (insetIterator): modify accordingly
3436
3437         * BranchList.h: move the BranchNamesEqual functor here from...
3438         * BranchList.C: ... to here
3439
3440         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3441         SameName and match.
3442         (add): replace a finding loop with std::find_if.
3443
3444 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3445
3446         * output_docbook.C: moving LatexParam functionality into
3447         .layout files
3448
3449 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3450
3451         * buffer.C: increment format to 229.
3452
3453 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3454
3455         * LaTeXFeatures.C:
3456         * lyx_sty.[Ch]: remove minipageindent_def
3457
3458         * LyXAction.C:
3459         * factory.C:
3460         * lfuns.h:
3461         * lyxfunc.C:
3462         * text3.C: remove LFUN_INSET_MINIPAGE
3463
3464 2003-12-28  Angus Leeming  <leeming@lyx.org>
3465
3466         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3467
3468 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3469
3470         * text2.C (setParagraph): fix off-by-one crash
3471
3472 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3473
3474         * output_docbook.C: header stuff for AGU
3475
3476 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3477
3478         * text2.C (redoCursor): remove
3479         * text.C:
3480         * text3.C:
3481         * BufferView_pimpl.C: remove calls to redoCursor and
3482         setCursor(cursor.par(), cursor.pos()) all around
3483
3484 2003-12-15  Angus Leeming  <leeming@lyx.org>
3485
3486         * buffer.C: up the format to 228.
3487
3488 2003-12-15  André Pönitz  <poenitz@gmx.net>
3489
3490         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3491         slices
3492
3493         * Makefile.am:
3494
3495         * BufferView_pimpl.C:
3496         * cursor.[Ch]:
3497         * lyxcursor.[Ch]:
3498         * rowpainter.[Ch]:
3499         * lyxtext.h:
3500         * text.C:
3501         * text2.C:
3502         * text3.C: adjust
3503
3504 2003-12-15  Angus Leeming  <leeming@lyx.org>
3505
3506         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3507         than getFromGUIName to manipulate the color.
3508
3509 2003-12-14  Angus Leeming  <leeming@lyx.org>
3510
3511         * BranchList.[Ch]: minimize the API.
3512         (Branch::getBranch, getColor): now return a 'const &'.
3513         (Branch::setSelected) now returns a bool set to true if the
3514         selection status changes.
3515         (BranchList::clear, size, getColor, setColor, setSelected,
3516         allBranches, allSelected, separator): removed.
3517         (BranchList::find): new functions, returning the Branch with
3518         the given name.
3519         (BranchList::add, remove): return a bool indicating that
3520         the operation was successful.
3521
3522         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3523         new InsetBranch::isBranchSlected member function.
3524
3525         * LColor.[Ch]: mimimize the API.
3526         (fill): renamed as addColor and made private.
3527         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3528         versions of these functions taking a string arg have been removed.
3529
3530         * bufferparams.C (readToken):
3531         * lyxfunc.C (dispatch):
3532         * lyxrc.C (read): changes due to the altered BranchList and
3533         LColor APIs.
3534
3535         * factory.C (createInset, readInset): changes due to altered
3536         InsetBranch c-tor.
3537
3538 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3539
3540         * factory.C:
3541         * lyxfunc.C: remove insetminipage. "minipage-insert"
3542         now produces a frameless minipage box inset.
3543
3544 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3545
3546         * textcursor.[Ch] (selStart,selEnd): add new methods
3547         remove selection::start, end, use LyXCursor::operator<
3548         * lyxcursor.[Ch] (operator<): add
3549         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3550         * BufferView.[Ch] (unsetXSel): add
3551         * text2.C (clearSelection): use unsetXSel,adjust
3552         * text.C: adjust
3553         * text3.C: adjust
3554         * rowpainter.C: adjust
3555         * bufferview_funcs.C (put_selection_at): adjust
3556
3557 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3558
3559         * BufferView_pimpl.C: small coord. correction
3560
3561 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3562
3563         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3564         dragging over the splash screen.
3565
3566 2003-12-11  Angus Leeming  <leeming@lyx.org>
3567
3568         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3569         as it is now handled in LyXText::dispatch.
3570
3571         * text3.C (doInsertInset): remove a level of nesting.
3572
3573 2003-12-11  Angus Leeming  <leeming@lyx.org>
3574
3575         * factory.C (createInset): changes due to the changed interface to
3576         InsetCommandMailer::string2params.
3577
3578 2003-12-10  Angus Leeming  <leeming@lyx.org>
3579
3580         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3581         'dialog-show-new-inset <inset name>'
3582
3583 2003-12-10  Angus Leeming  <leeming@lyx.org>
3584
3585         * buffer.C: up the format to 227.
3586
3587         * factory.C: the box inset is now identified simply by 'Box'.
3588
3589 2003-12-10  Angus Leeming  <leeming@lyx.org>
3590
3591         * buffer.C: up the format to 226.
3592
3593         * factory.C: the note inset is now identified simply by 'Note'.
3594
3595 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3596
3597         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3598         when a pit is enough. Standarize a couple of loops.
3599
3600 2003-12-05  Angus Leeming  <leeming@lyx.org>
3601
3602         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3603         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3604         data to the re-worked "log" dialog.
3605
3606 2003-12-03  André Pönitz  <poenitz@gmx.net>
3607
3608         * PosIterator.C:
3609         * iterators.C:
3610         * lyxtext.h:
3611         * output_latex.C:
3612         * paragraph_funcs.C:
3613         * text.C:
3614         * text2.C: use Inset::getText instead of Inset::getParagraph
3615
3616 2003-12-03  André Pönitz  <poenitz@gmx.net>
3617
3618         * buffer.[Ch]:
3619         * lyxtext.h:
3620         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3621         InsetText::read() as LyXText::read()
3622
3623 2003-12-02  Angus Leeming  <leeming@lyx.org>
3624
3625         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3626         type. Add a comment in the implementation that the function uses
3627         the stream's bad() function rather than fail() as the std::streams
3628         would do.
3629
3630 2003-12-02  André Pönitz  <poenitz@gmx.net>
3631
3632         * lyxlex.[Ch]: make interface more similar to std::stream
3633
3634         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3635
3636 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3637
3638         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3639
3640 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3641
3642         * vspace.[Ch]: remove VSpace::NONE
3643
3644 2003-12-01  André Pönitz  <poenitz@gmx.net>
3645
3646         * buffer.[Ch]:
3647         * lyxtext.h: move ParagraphList member to LyXText
3648         rename LyXText::ownerParagraphs to LyXText::paragraph
3649
3650         * CutAndPaste.C:
3651         * bufferview_funcs.C:
3652         * iterators.[Ch]:
3653         * lyx_cb.C:
3654         * paragraph.C:
3655         * rowpainter.C:
3656         * tabular.C:
3657         * text.C:
3658         * text2.C:
3659         * text3.C: adjust
3660
3661         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3662
3663         * undo.C: fix cursor positioning
3664
3665 2003-12-01  John Levon  <levon@movementarian.org>
3666
3667         * BufferView_pimpl.C: fix a crash on exit with
3668         a buffer open
3669
3670 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3671
3672         * BranchList.C: fix setSelected() method.
3673
3674 2003-11-28  André Pönitz  <poenitz@gmx.net>
3675
3676         * ParagraphParameters.[Ch]:
3677         * ParameterStruct.h: remove space above/below from Paragraph to
3678          InsetVSpace
3679
3680         * BufferView_pimpl.C:
3681         * factory.C:
3682         * lyxfunc.C:
3683         * lyxtext.h:
3684         * output_latex.C:
3685         * paragraph.C:
3686         * paragraph_funcs.C:
3687         * rowpainter.[Ch]:
3688         * text.C:
3689         * text2.C:
3690         * text3.C: adjust
3691
3692 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3693
3694         * factory.C: Syntax change for CharStyles
3695
3696 2003-11-28  André Pönitz  <poenitz@gmx.net>
3697
3698         * BufferView.[Ch]:
3699         * BufferView.[Ch]:
3700         * buffer.[Ch]:
3701         * buffer.[Ch]: move LyXText member
3702
3703 2003-11-28  André Pönitz  <poenitz@gmx.net>
3704
3705         * BufferView.[Ch]: make LyXText * text a private member
3706
3707         * BufferView_pimpl.C:
3708         * cursor.C:
3709         * iterators.C:
3710         * lyx_cb.C:
3711         * lyxfind.C:
3712         * lyxtext.h:
3713         * rowpainter.[Ch]:
3714         * text.C:
3715         * text2.C:
3716         * undo.C: adjust
3717
3718         * output_plaintext.C: cleanup
3719
3720 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3721
3722         * buffer.C:
3723         * lyxtextclass.[Ch]: parametrize SGML document header
3724
3725 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3726
3727         * converter.[Ch]:
3728         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3729         getFlavor().
3730
3731 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3732
3733         * text2.C (setFont): rework using PosIterator (no more recursive)
3734         (setCharFont): no more needed
3735         (setLayout): no more selection cursors fiddling (done by redoCursor)
3736         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3737         destroy remaining ones)
3738
3739 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3740
3741         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3742         * lyxtext.h: ditto
3743         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3744         selection cursors
3745         * lyxfunc.C: adjust
3746         * text3.C: adjust + re-allow multi par depth changes
3747         * textcursor.C: simplify a bit
3748
3749 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3750
3751         * src/buffer.C:
3752         * src/lyxlayout.C:
3753         * src/lyxlayout.h:
3754         * src/lyxtext.h:
3755         * src/output_docbook.C:
3756         * src/output_latex.C:
3757         * src/paragraph.C:
3758         * src/paragraph.h:
3759         * src/sgml.C:
3760         * src/sgml.h:
3761         * src/text2.C: Introducing a number of tags parametrizing various
3762         XML formats that we may want to support
3763
3764 2003-11-25  André Pönitz  <poenitz@gmx.net>
3765
3766         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3767
3768         * lyxtext.h (leftMargin/rightMargin): simplify interface
3769
3770         * rowpainter.C:
3771         * text.C:
3772         * text2.C:
3773         * text3.C: adjust
3774
3775 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3776
3777         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3778         master file to any child files. Fixes bug 546.
3779
3780 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3781
3782         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3783
3784 2003-11-24  André Pönitz  <poenitz@gmx.net>
3785
3786         * rowpainter.C: simplification
3787
3788         * text2.C (updateCounters): remove call to redoParagraph on
3789         changed labels as this is far too expensive.
3790
3791 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3792
3793         * converter.C (convert): fix a crash: this function gets
3794         called with buffer == 0 from importer code.
3795
3796 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3797
3798         * text3.C (cursorPrevious): make sure that we do not compare
3799         iterators form different containers.
3800         (cursorNext): ditto
3801
3802         * rowpainter.C (paintSelection): make sure that we do not compare
3803         iterators from different containers.
3804
3805         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3806         iterators from different ParagraphList containers.
3807         [NEXT] ditto
3808
3809         * text2.C (LyXText): change order of initialization slightly
3810         (operator=): new function. copy all variables except cache_par_
3811         (moveUp): make sure that we do not compare iterators from
3812         different ParagraphList constainers.
3813         (moveDown): ditto
3814
3815         * text.C (firstPar): new function
3816         (lastPar): new function
3817         (endPar): new function
3818
3819         * lyxtext.h: move things around and group public functions, public
3820         variables, private functions, private variables
3821
3822 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3823
3824         * factory.C: change call to InsetERT constructor to avoid
3825         additional invocation of method status
3826         * text2.C (toggleInset): remove redundant update() call
3827         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3828         instead of a Bufferview pointer
3829
3830 2003-11-21  André Pönitz  <poenitz@gmx.net>
3831
3832         * rowpainter.C: simplification
3833
3834 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3835
3836         * text3.C (dispatch): make possible to extend a word/row selection
3837         with the mouse
3838
3839 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3840
3841         * lyxtext.h: x0_,y0_ -> xo_,yo_
3842         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3843         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3844         * rowpainter.C (paintRows): paint full paragraphs
3845
3846 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3847
3848         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3849         screen coordinates)
3850
3851 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3852
3853         * lyxtext.h: add x0_, y0_
3854         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3855         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3856
3857 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3858
3859         * text2.C (setCursorIntern): move the x_target update here *
3860         * text3.C: change some bv() to true/false in calls to
3861         cursorUp/Down/Right/Left
3862         * cursor.C: use helper function.
3863
3864 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3865
3866         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3867         * paragraph_funcs.[Ch]: correct comment
3868         * rowpainter.C: do not paint selections away from bv->cursor()
3869         Fix a long standing selection painting bug.
3870         * text3.C: generalize mouse-selection code to LyXTexts other that
3871         top one
3872         * textcursor.C: do not use y coords if we can use par offsets
3873
3874 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3875
3876         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3877         cursor position after e.g. inset insert)
3878
3879 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3880
3881         * lyxfind.C (replace): adjust to locking removal + some
3882         code simplification
3883
3884 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3885
3886         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3887         of the path
3888
3889 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3890
3891         * lyxlayout.[Ch]:
3892         * output_docbook.C: XML sanitation: new layout
3893         parameters InnerTag and CommandDepth
3894
3895 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3896
3897         * BufferView_pimpl.C:
3898         * factory.C:
3899         * text3.C: Fix the insertion and modification of button-style
3900         insets
3901
3902 2003-11-13  André Pönitz  <poenitz@gmx.net>
3903
3904         * InsetList.[Ch]: remove deleteLyXText
3905
3906         * paragraph.[Ch]: cache beginOfBody position
3907
3908         * Bidi.C:
3909         * text.C:
3910         * text2.C:
3911         * text3.C: remove superfluous update() calls
3912
3913         * vspace.C: cleanup
3914
3915 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3916
3917         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3918         * BufferView.C (fitLockedInsetCursor): remove
3919         * cursor.[Ch] (getDim): add
3920         * text.C (getRowNearY): add faster version
3921         * text3.C: remove some update calls
3922
3923 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3924
3925         * LaTeXFeatures.C:
3926         * LyXAction.C:
3927         * MenuBackend.C:
3928         * MenuBackend.h:
3929         * dispatchresult.h:
3930         * factory.C:
3931         * lfuns.h:
3932         * lyxfunc.C:
3933         * lyxtextclass.C:
3934         * lyxtextclass.h:
3935         * text3.C: The Character Style /XML short element patch.
3936
3937 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3938
3939         * text3.C:
3940         * factory.C: Small step to solving 'unable to insert some insets'
3941         problem
3942
3943 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3944
3945         * cursor.[Ch] (updatePos): new function for updating the y
3946         position of the tip inset
3947         * bufferview_funcs.C (put_selection_at):
3948         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3949
3950 2003-11-11  André Pönitz  <poenitz@gmx.net>
3951
3952         * text.C: remove big comment on invalid Paragraph pointers as it is
3953         not valid anymore
3954
3955 2003-11-11  André Pönitz  <poenitz@gmx.net>
3956
3957         * text_funcs.[Ch]: merge with ...
3958
3959         * text.C: ... this
3960
3961         * lyxtext.h:
3962         * text2.C:
3963         * text3.C: adjust
3964
3965         * Makefile.am: remove text_funcs.[Ch]
3966
3967 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3968
3969         * cursor.C (getPos): return absolute cached y coord
3970
3971         * BufferView_pimpl.C (fitCursor): new simplistic code
3972         (workAreaDispatch): add a fitCursor call
3973
3974 2003-11-10  André Pönitz  <poenitz@gmx.net>
3975
3976         * BufferView.[Ch]:
3977         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3978
3979 2003-11-10  André Pönitz  <poenitz@gmx.net>
3980
3981         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3982         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3983         indicate that the cursor needs to leave an inset
3984
3985         * lyxtext.h: remove inset locking
3986
3987         * cursor.[Ch]: re-implement functionality provided by inset locking
3988
3989         * BufferView.[Ch]:
3990         * BufferView_pimpl.[Ch]:
3991         * LyXAction.C:
3992         * bufferview_funcs.[Ch]:
3993         * factory.C:
3994         * funcrequest.[Ch]:
3995         * iterators.C:
3996         * lyx_cb.C:
3997         * lyxfind.C:
3998         * lyxfunc.C:
3999         * text.C:
4000         * text2.C:
4001         * text3.C:
4002         * undo.C: adjust
4003
4004 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4005
4006         * PosIterator.[Ch]: replace the stack with a vector, add inset
4007         accesor
4008         * iterators.[C]: adjust
4009
4010 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4011
4012         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4013         replaced
4014         * paragraph_funcs.C (readParToken): put the correct id in the
4015         error item, not the id of the top paragraph
4016
4017 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4018
4019         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4020         * bufferview_funcs.C (put_selection_at): use the above
4021
4022 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4023
4024         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4025
4026 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4027
4028         * output_linuxdoc.h:
4029         * output_plaintext.h:
4030         * output.h:
4031         * output_docbook.h: add #include statements
4032
4033 2003-11-05  José Matos  <jamatos@lyx.org>
4034
4035         * output_docbook.[Ch]:
4036         * output_latex.[Ch]:
4037         * output_linuxdoc.[Ch]:
4038         * output_plaintext.[Ch]: New files for output formats.
4039         * output.[Ch]: New file for helper functions.
4040
4041         * buffer.[Ch]:
4042         * paragraph_funcs.[Ch]: output functions moved to new files.
4043
4044         * outputparams.h: rename of latexrunparams.h
4045
4046         * LaTeX.[Ch]:
4047         * buffer.[Ch]:
4048         * bufferlist.[Ch]:
4049         * converter.[Ch]:
4050         * exporter.C:
4051         * paragraph.[Ch]:
4052         * paragraph_funcs.[Ch]:
4053         * paragraph_pimpl.[Ch]:
4054         * tabular.[Ch]: rename ascii to plaintext
4055         and LatexRunParams to OutputParams.
4056
4057 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4058
4059         * iterators.[Ch] (text): require bv argument
4060         * undo.C (recordUndo):
4061         * lyxfunc.C (dispatch):
4062         * bufferview_funcs.C (put_selection_at): adjust
4063
4064 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4065
4066         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4067
4068 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4069
4070         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4071         nestings
4072
4073 2003-11-04  André Pönitz  <poenitz@gmx.net>
4074
4075         * cursor.[Ch]: restructure
4076
4077         * BufferView.[Ch]:
4078         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4079
4080         * iterators.[Ch] (asCursor): remove
4081
4082         * lfuns.h: remove LFUN_INSET_EDIT
4083
4084         * lyxfunc.C:
4085         * tabular.C:
4086         * text.C:
4087         * text2.C:
4088         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4089
4090 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4091
4092         * lyxfind.[Ch]: complete overhaul
4093         * BufferView_pimpl.C:
4094         * lyxfunc.C: adjust
4095         * paragraph.[Ch] (insert): add
4096
4097 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4098
4099         * BufferView.[Ch]:
4100         * lyxtext.h:
4101         * text.C: remove dead spellcheck code
4102
4103 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4104
4105         * dispatchresult.h: add a val setter
4106
4107         * cursor.C (dispatch): use a tempvar for data_[i]
4108
4109 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4110
4111         * PosIterator.[Ch]: compile fix
4112
4113 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4114
4115         * text.C (cursorPar): deactivate the cursor cache
4116
4117 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4118
4119         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4120
4121 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4122
4123         * text3.C (dispatch): adjust for new DisptchResult semantics.
4124
4125         * lyxfunc.C (dispatch): handle update when return from
4126         Cursor::dispatch, adjust for new DispatchResult semantics.
4127
4128         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4129         DispatchResult(true) mean to not update. Add class functions for
4130         setting dispatched and update, as well as reading.
4131
4132         * cursor.C (dispatch): don't handle update here
4133
4134 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4135
4136         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4137         * trans_mgr.C: adjust
4138
4139         * paragraph_funcs.C (readParToken): exception safety
4140
4141         * lyxvc.h: store the vcs pointer in a scoped_ptr
4142         * lyxvc.C: adjust
4143
4144         * lyxsocket.C (serverCallback): exception safety
4145
4146         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4147
4148         * ispell.C (clone): make it return a auto_ptr
4149
4150         * factory.C (createInset): exception safety
4151         (readInset): exception safety
4152
4153         * bufferlist.C (newBuffer): exception safety
4154
4155         * Thesaurus.C (Thesaurus): use initialization for aik_
4156
4157         * MenuBackend.C (expandToc): exception safety.
4158
4159 2003-11-03  André Pönitz  <poenitz@gmx.net>
4160
4161         * buffer.C:
4162         * buffer.h:
4163         * bufferview_funcs.C: remove getInsetFromId()
4164
4165         * lyxcursor.[Ch]:
4166         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4167
4168         * lyxfunc.C:
4169         * text2.C:
4170         * text3.C: adjust
4171
4172 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4173
4174         * PosIterator.C (distance, advance): new
4175         * bufferview_funcs.[Ch] (put_selection_at): new
4176         * iterators.[Ch] (lockPath): new
4177
4178 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4179
4180         * iterators.[Ch] (asPosIterator): added
4181         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4182         * PosIterator.[Ch]: added
4183
4184 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4185
4186         * text3.C:
4187         * lyxfunc.C:
4188         * cursor.C (dispatch):
4189         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4190
4191         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4192         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4193         contructor, add a class function dispatched. Remove operator>=
4194
4195 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4196
4197         * debug.C: only use the default constructor for debugstream
4198         (lyxerr) here.
4199
4200         * main.C (main): include debug.h and setup the lyxerr streambuf
4201         here.
4202
4203 2003-10-31  José Matos  <jamatos@lyx.org>
4204
4205         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4206
4207         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4208         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4209         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4210         * paragraph_pimpl.C (simpleTeXSpecialC):
4211         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4212         add LatexRunParams argument.
4213
4214         * exporter.C (Export): change call accordingly.
4215
4216         * latexrunparams.h: add new member to take care of the other backends.
4217 2003-10-30  José Matos  <jamatos@lyx.org>
4218
4219         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4220         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4221         factorise code for paragraph output.
4222         * buffer.[Ch]:
4223         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4224         move functions.
4225
4226 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4227
4228         * text3.C (dispatch):
4229         * lyxfunc.C (dispatch):
4230         * cursor.C (dispatch):
4231         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4232
4233         * dispatchresult.h: make the dispatch_result_t ctor explicit
4234
4235 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4236
4237         * sgml.[Ch]:
4238         * buffer.C: small refactoring of docbook stuff
4239
4240 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4241
4242         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4243         meaning.
4244
4245 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4246
4247         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4248         operator dispatch_result_t, and operators for == != and >=
4249
4250         * cursor.C (dispatch): adjust for operator dispatch_result_t
4251         removal. comment out call to update
4252
4253         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4254
4255 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4256
4257         * text3.C:
4258         * text2.C:
4259         * text.C:
4260         * lyxtext.h:
4261         * lyxfunc.C:
4262         * cursor.C:
4263         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4264         (dispatch):
4265
4266         * dispatchresult.h: new file, DispatchResult broken out of
4267         insets/insetbase.h
4268
4269         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4270
4271 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4272
4273         * text.C (rowBreakPoint): put a hack inside #if 0
4274
4275 2003-10-28  André Pönitz  <poenitz@gmx.net>
4276
4277         * lyxtext.h:
4278         * metricsinfo.C:
4279         * paragraph_funcs.C:
4280         * rowpainter.C:
4281         * text.C:
4282         * text2.C: general cleanup (lots of small stuff)
4283
4284 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4285
4286         * text2.C (cursorEnd): simple fix to the "end key goes to one
4287         before the end on last row" bug
4288
4289 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4290
4291         * text.C (backspace): fix the "zombie characters"
4292
4293 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4294
4295         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4296
4297 2003-10-27  André Pönitz  <poenitz@gmx.net>
4298
4299         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4300
4301         * factory.C: handle new InsetPagebreak, InsetLine
4302
4303         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4304         and move handling into new InsetPagebreak, InsetLine
4305
4306         * BufferView_pimpl.C:
4307         * LyXAction.C:
4308         * ParagraphParameters.C:
4309         * ParameterStruct.h:
4310         * lyxfunc.C:
4311         * lyxtext.h:
4312         * paragraph.C:
4313         * paragraph.h:
4314         * paragraph_funcs.C:
4315         * paragraph_pimpl.C:
4316         * rowpainter.C:
4317         * text.C:
4318         * text2.C:
4319         * text3.C: adjust
4320
4321 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4322
4323         * text.C:
4324         * lyxrow_funcs.[Ch]:
4325         * Bidi.C:
4326         * paragraph.C:
4327         * lyxtext.h:
4328         * rowpainter.C:
4329         * text2.C:
4330         * text3.C: remove lastPos uses in favour of Row::endpos
4331
4332 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4333
4334         * undo.C (performUndoOrRedo): fix two crashes by setting a
4335         cursor by hand and reordering some calls. Use bv->lockInset instead
4336         of inset->edit because the latter loses cursor information
4337
4338 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4339
4340         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4341         by Martin
4342         (rowBreakPoint): fix width. change point to point + 1.
4343         Add a missing check.
4344
4345 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4346
4347         * MenuBackend.C:
4348         * lyxfunc.C: fix (at least partly) the problems
4349         with the Nav menu and headers inside branch insets
4350         reported by Kayvan
4351
4352 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4353
4354         * paragraph.C (getChar): add strong asserts
4355
4356         * lyxrow_funcs.C (lastPos): remove hideous hack
4357
4358         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4359         (fill): adjust to that (avoid an infinite loop)
4360
4361 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4362
4363         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4364
4365 2003-10-23  André Pönitz  <poenitz@gmx.net>
4366
4367         * RowList_fwd.h: change list<> to vector<> to gain speed
4368         after suggestion from Alfredo
4369
4370 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4371
4372         * lyxtext.h: move the bidi stuff from here...
4373         * text.C: and here
4374         * text2.C: and here
4375         * Bidi.[Ch]: ... to here
4376
4377 2003-10-23  André Pönitz  <poenitz@gmx.net>
4378
4379         * lyxtext.h:
4380         * text.C (isLastRow, isFirstRow): new functions
4381
4382         * paragraph.h: new width cache member
4383
4384         * rowpainter.C: replace RowList::iterator with Row & where possible
4385
4386         * lyxfunc.C: replace several view()->text with a single call
4387
4388         * toc.C: fix 'unused' warning
4389
4390 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4391
4392         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4393         when woring with stream::pos_type
4394         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4395
4396 2003-10-22  André Pönitz  <poenitz@gmx.net>
4397
4398         * lyxtext.h:
4399         * text.C: use Row & instead of RowList::iterator
4400
4401         * lyxrow.h: rename end() to endpos()
4402
4403         * rowpainter.C:
4404         * text.C:
4405         * text2.C: adjust
4406
4407 2003-10-22  Angus Leeming  <leeming@lyx.org>
4408
4409         * buffer.[Ch] (fully_loaded): new member function, returning true
4410         only when the file has been loaded fully.
4411         Used to prevent the premature generation of previews and by the
4412         citation inset to prevent computation of the natbib-style label.
4413
4414         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4415         templates are all set up.
4416
4417         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4418
4419 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4420
4421         * text.C: fixed an "oops" in the "is a bit silly"
4422         bug fix
4423
4424 2003-10-21  André Pönitz  <poenitz@gmx.net>
4425
4426         * FuncStatus.[Ch]: small stuff, whitespace
4427
4428         * lyxfont.[Ch]: operator<<() for debug reasons
4429
4430         * lyxfunc.C:
4431         * lyxrow_funcs.C:
4432         * lyxtext.h: whitespace, spelling
4433
4434         * paragraph.C: naming of variables
4435
4436         * text.C:
4437         * text2.C: small stuff
4438
4439
4440 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4441
4442         * text.C: (1) finish off the inset display() work;
4443         (2) fix the "is a bit silly" bug (accessing char
4444         past end of par).
4445
4446 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4447
4448         * text.C: re-introduce display() for insets, fixing the
4449         various bugs (stretch of line above, math inset
4450         positioning, ...)
4451
4452 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4453
4454         * text.C (rightMargin): remove spurious semicolon
4455
4456         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4457         1415)
4458
4459 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4460
4461         * text3.C: fix one crash due to wrong cursor def
4462
4463 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4464
4465         * vc-backend.C (scanMaster): make the regex static
4466
4467         * LaTeX.C (scanAuxFile): make the regexs static
4468
4469         * text3.C (doInsertInset, dispatch, dispatch):
4470         * text2.C (cursorUp, cursorDown):
4471         * text.C (selectNextWordToSpellcheck):
4472         * BufferView_pimpl.C (dispatch):
4473         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4474
4475 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4476
4477         * lyxsocket.C: include <cerrno>
4478
4479 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4480
4481         * lyxfunc.C (dispatch): remove textcache stuff
4482
4483         * bufferlist.C (release): remove textcache stuff
4484         (closeAll): ditto
4485
4486         * TextCache.C: delete file
4487         * TextCache.h: delete file
4488
4489         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4490
4491         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4492         delete of the bv_->text.
4493         (resizeCurrentBuffer): remove texcache stuff
4494         (workAreaResize): ditto
4495
4496 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4497
4498         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4499         action.
4500
4501 2003-10-16  André Pönitz  <poenitz@gmx.net>
4502
4503         * lyxrow.[Ch]:
4504         * paragraph.h:
4505         * rowpainter.C:
4506         * text.C:
4507         * text2.C:
4508         * text3.C: speed up by storing y positions per paragraph plus per-row
4509         offset instead of having a 'full' y position in the row.
4510
4511 2003-10-15  André Pönitz  <poenitz@gmx.net>
4512
4513         * iterators.[Ch]:
4514         * iterators.[Ch]:
4515         * undo.[Ch]: make undo aware of inner insets
4516
4517 2003-10-14  Angus Leeming  <leeming@lyx.org>
4518
4519         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4520         static member functions LyX::ref() and LyX::cref.
4521         (lastfiles): new accessor functions for the new lastfiles_ member var.
4522         (addLyXView, views_): add a new LyXView to the list of views_.
4523         (updateInset): loop over all LyXViews to call their own updateInset
4524         member function, returning a pointer to the Buffer owning the inset.
4525
4526         * BufferView_pimpl.C (loadLyXFile):
4527         * MenuBackend.C (expandLastfiles):
4528         * bufferlist.C (MenuWrite, QuitLyX):
4529         lastfiles is no longer a global variable.
4530         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4531
4532         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4533         static function. Access through LyX::cref().emergencyCleanup().
4534
4535 2003-10-14  André Pönitz  <poenitz@gmx.net>
4536
4537         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4538
4539         * undo.[Ch]: restoring part of 'undo in insets'
4540
4541         * Makefile.am:
4542         * undo_funcs.[Ch]: merge with undo.[Ch]
4543
4544         * tabular.C: small cleansing stuff
4545
4546 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4547
4548         * paragraph_funcs.C (readParToken): report unknown insets as error
4549         boxes. Use the outer paragraph as location (also for unknown
4550         tokens).
4551
4552         * factory.C (readInset): do not abort on reading an unknown inset.
4553         Eat it and return 0.
4554
4555 2003-10-13  Angus Leeming  <leeming@lyx.org>
4556
4557         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4558
4559         * lyxrc.C: displayTranslator is now a function,
4560         declared in GraphicsTypes.h.
4561
4562 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4563
4564         * format.C: new placeholder $$a to pass the socket address.
4565
4566         * bufferlist.[Ch]: new function getBufferFromTmp.
4567
4568         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4569           files in the temporary dir.
4570
4571 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4572
4573         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4574
4575         * Makefile.am: add lyxsocket.[Ch].
4576
4577         * lyx_main.C (error_handler): handle SIGPIPE.
4578
4579 2003-10-13  André Pönitz  <poenitz@gmx.net>
4580
4581         * BufferView_pimpl.C:
4582         * lyxtext.h:
4583         * text.C:
4584         * text2.C:
4585         * text3.C:
4586         * undo_funcs.[Ch]: use paroffset_type instead of
4587           ParagraphList::iterators to prevent multiple conversion
4588           (and get a more robust interface)
4589
4590 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4591
4592         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4593         * lyxtext.h: ditto
4594         * text3.C (dispatch): ditto
4595
4596 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4597
4598         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4599         move the onlyfile, use onlyfile instead of foundfile in a couple
4600         of places.
4601
4602         * DepTable.C (update): flush the error stream a bit more
4603
4604 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4605
4606         * lyxserver.C (callback): adjust
4607
4608         * lyxfunc.C (getStatus): add a missing brace in commented code
4609         (ensureBufferClean): reindent
4610         (dispatch): delete version taking a string
4611
4612 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4613
4614         * LaTeX.C (deplog): move found file handlig from here...
4615         (handleFoundFile): .. to new function here.
4616         (deplog): make sure to discover several files mentioned on the
4617         same log line.
4618
4619 2003-10-10  André Pönitz  <poenitz@gmx.net>
4620
4621         * lyxfunc.C:
4622         * lyxtext.h:
4623         * tabular.C:
4624         * text.C:
4625         * text2.C:
4626         * text3.C: fix some of the tabular crashes
4627
4628 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4629
4630         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4631
4632         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4633
4634 2003-10-09  André Pönitz  <poenitz@gmx.net>
4635
4636         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4637
4638         * BufferView.C:
4639         * BufferView_pimpl.C:
4640         * bufferview_funcs.C:
4641         * lyx_cb.C:
4642         * lyxcursor.C:
4643         * lyxfind.C:
4644         * lyxfunc.C:
4645         * lyxtext.h:
4646         * text.C:
4647         * text2.C:
4648         * text3.C:
4649         * text_funcs.[Ch]:
4650         * textcursor.[Ch]:
4651         * undo_funcs.C: adjust
4652
4653 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4654
4655         * text2.C (incrementItemDepth): new function, use a backtracking
4656         algorithm to discover the correct item depth.
4657         (resetEnumCounterIfNeeded): new function, use a backtracking
4658         algorithm to discover if counter reset is needed.
4659         (setCounter): use them. Simplify a bit. Add different labels for
4660         different item depths for itemize.
4661
4662         * paragraph.C (Paragraph): remove initialization of enumdepth
4663         (operator=): ditto
4664
4665         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4666         enumerate and itemize. Change the type of itemdepth to signed char.
4667
4668 2003-10-08  André Pönitz  <poenitz@gmx.net>
4669
4670         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4671           thing assignable.
4672         * text.C:
4673         * text2.C: adjust
4674
4675         * tabular.[Ch]: fix crash after 'row-insert'
4676
4677 2003-10-08  Angus Leeming  <leeming@lyx.org>
4678
4679         Fix doxygen warnings.
4680
4681         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4682         Remove CutAndPaste:: prefix from header file declaration.
4683
4684         * LColor.h (fill): remove LColor:: prefix from declaration.
4685
4686         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4687         use lyx::depth_type rather than Paragraph::depth_type so that
4688         header file and .C file match.
4689
4690         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4691
4692         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4693         * aspell.C: \file aspell_local.C -> \file aspell.C
4694         * gettext.C: \file gettext.C -> \file src/gettext.C
4695         * gettext.h: \file gettext.h -> \file src/gettext.h
4696         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4697         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4698         * text.C: \file text.C -> \file src/text.C
4699
4700         * toc.C: move comment so that doxygen is not confused.
4701
4702 2003-10-07  Angus Leeming  <leeming@lyx.org>
4703
4704         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4705
4706 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4707
4708         * aspell.C:
4709         * aspell_local.h: add forgotten std::string's.
4710
4711 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4712
4713         * LaTeXFeatures.C:
4714         * LyXAction.C:
4715         * factory.C:
4716         * lfuns.h:
4717         * lyxfunc.C:
4718         * text3.C: The Box patch. Fancybox support, minipage, parbox
4719
4720 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4721
4722         * CutAndPaste.h:
4723         * DepTable.h:
4724         * FloatList.h:
4725         * LaTeXFeatures.h:
4726         * ParagraphParameters.h:
4727         * TextCache.h:
4728         * Thesaurus.h:
4729         * bufferlist.h:
4730         * exporter.h:
4731         * importer.h:
4732         * lastfiles.h:
4733         * lyxfind.h:
4734         * lyxfont.h:
4735         * lyxlex.h:
4736         * lyxtextclasslist.h:
4737         * messages.h:
4738         * paragraph.h:
4739         * paragraph_pimpl.C:
4740         * textcursor.h: add <string> and other small fixes to make Lars'
4741         std::string patch compile with STLport.
4742
4743 2003-10-06  Angus Leeming  <leeming@lyx.org>
4744
4745         * LColor.h: Add missing #include <string>.
4746
4747 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4748
4749         * All most all file in all subdirs: Make <string> be the prefered
4750         way of getting to std::string, add using declarations.
4751
4752 2003-10-06  André Pönitz  <poenitz@gmx.net>
4753
4754         * metricsinfo.C: initialize LyXFont before changing attribute.
4755         (fixes the 'math in \emph is upright' bug)
4756
4757 2003-10-06  André Pönitz  <poenitz@gmx.net>
4758
4759         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4760
4761 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4762
4763         * graph.C:
4764         * paragraph_pimpl.C: Small fixes to build using STLport
4765
4766 2003-10-02  André Pönitz  <poenitz@gmx.net>
4767
4768         * lyxfunc.C:
4769         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4770
4771 2003-10-01  André Pönitz  <poenitz@gmx.net>
4772
4773         * factory.C: assert early
4774
4775 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4776
4777         * lyx_main.C: remove the global debug object
4778
4779         * debug.h: adjust for new debugstream
4780
4781         * debug.C: adjust for new debugstream and keep the global debug
4782         object here.
4783
4784 2003-09-22  Angus Leeming  <leeming@lyx.org>
4785
4786         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4787         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4788         an incomplete class LyXFont.
4789
4790 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4791
4792         * factory.C: bug fix in branches
4793
4794 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4795
4796         * lyxfunc.C (processKeySym): adjust
4797         (dispatch): adjust
4798         (dispatch): change arg name from ev to func, adjust
4799         (sendDispatchMessage): ditto
4800
4801         * lyx_main.C (defaultKeyBindings): adjust keybindings
4802         (deadKeyBindings): ditto
4803
4804         * kbsequence.C (addkey): return a FuncRequest
4805
4806         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4807
4808         * kbmap.C (bind): take a FuncRequest as arg, adjust
4809         (read): adjust
4810         (lookup): adjust
4811         (defkey): change to take a FuncRequest as arg, adjust
4812         (findbinding): take a FuncRequest as arg, adjust.
4813
4814         * funcrequest.h (operator=): added
4815
4816         * funcrequest.C (FuncRequest): default kb_action changed from
4817         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4818
4819         * buffer.C (dispatch): simplify
4820         (dispatch): adjust to take a FuncRequest as arg, adjust
4821
4822         * boost.C (assertion_failed): change assertion message slightly
4823
4824         * ToolbarBackend.C (read): simplify
4825
4826         * MenuBackend.C (binding): adjust call to findbinding, add a
4827         message if no binding is found.
4828         (read): simplify
4829         (expandToc): correct by adding a empty FuncRequest
4830
4831         * LyXAction.C: include <boost/assert.hpp>
4832         (isPseudoAction): delete function
4833         (LookupFunc): change name to...
4834         (lookupFunc): this. change return type to FuncRequest.
4835         (getActionName): take kb_action as arg, simplify
4836         (funcHasFlag): add an assert, simplify.
4837
4838 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4839
4840         * toc.C (action): return a FuncRequest, simplify
4841
4842         * lyxfunc.C (processKeySym): adjust
4843         (getStatus): delete version that takes an int.
4844         (getStatus): adjust
4845         (dispatch): delete version that takes action as int
4846         (dispatch): adjust
4847         (sendDispatchMessage): simplify and adjust
4848
4849         * funcrequest.C (getArg): take unsigned int as arg
4850
4851         * ToolbarBackend.C (read): adjust
4852         (add): delete version that takes func as a string.
4853         (getIton): take a FuncRequest as arg
4854
4855         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4856         action.
4857
4858         * MenuBackend.C (MenuItem): add a new construct that only takes a
4859         Kind, simplify the constructor use for submenus.
4860         (add): adjust
4861         (expandLastfiles): adjust
4862         (expandDocuments): adjust
4863         (expandFormats): adjust
4864         (expandFloatListInsert): adjust
4865         (expandFloatInsert): adjust
4866         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4867
4868         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4869         Remove class variables lyx_pseudo_map and lyx_arg_map
4870
4871         * LyXAction.C (searchActionArg): delete function
4872         (getPseudoAction): delete function
4873         (retrieveActionArg): delete function
4874         (LookupFunc): make it return kb_action, simplify.
4875         (getActionName): simplify
4876
4877         * factory.C (createInset): fix new bug
4878
4879 2003-09-19  Angus Leeming  <leeming@lyx.org>
4880
4881         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4882         masterFilename_ parameter in the include inset.
4883
4884         * factory.C (createInset): changes due to the changes to InsetInclude.
4885
4886 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4887
4888         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4889
4890 2003-09-18  Angus Leeming  <leeming@lyx.org>
4891
4892         * buffer.C:
4893         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4894         Inset::fillWithBibKeys.
4895         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4896
4897 2003-09-18  Angus Leeming  <leeming@lyx.org>
4898
4899         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4900         variables.
4901         (ctor): pass and store a 'Buffer const &'
4902         (buffer): new member function.
4903
4904         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4905         '*this' to the LaTeXFeatures ctor.
4906
4907 2003-09-18  Angus Leeming  <leeming@lyx.org>
4908
4909         * LColor.h:
4910         * lyxfont.C:
4911         * lyxfont.h:
4912         * lyxtext.h:
4913         * text.C: rename EnumLColor as LColor_color.
4914
4915 2003-09-18  Angus Leeming  <leeming@lyx.org>
4916
4917         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4918         remove #include "insets/insetbase.h" from cursor.h.
4919
4920 2003-09-18  Angus Leeming  <leeming@lyx.org>
4921
4922         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4923         InsetOld_code to remove #include "inset.h".
4924
4925         * iterators.C: add #include "insets/inset.h"
4926
4927 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4928
4929         * BufferView.C: remove more locking stuff that apparently doesn't
4930         do anything sensible.
4931
4932 2003-09-16  André Pönitz  <poenitz@gmx.net>
4933
4934         * paragraph.[Ch]:
4935         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4936           performance boost.
4937
4938 2003-09-16  Angus Leeming  <leeming@lyx.org>
4939
4940         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4941
4942         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4943         arg/return type.
4944
4945         * paragraph.h: remove #include "lyxfont.h". Forward declare
4946         LyXFont_size.
4947
4948 2003-09-16  Angus Leeming  <leeming@lyx.org>
4949
4950         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4951         of support/textutils.h.
4952         (isWord): move the contents of support/textutils.h's IsWordChar here.
4953
4954         * buffer.C:
4955         * lyxfind.C:
4956         * rowpainter.C:
4957         * text.C:
4958         * text2.C: add #include "paragraph.h".
4959
4960         * rowpainter.C:
4961         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4962
4963 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4964
4965         * main.C:
4966         * lyx_main.C:
4967         * lyx_cb.C:
4968         * buffer.C:
4969         * LaTeX.C: use namespace alias for lyx::support::os
4970
4971 2003-09-16  Angus Leeming  <leeming@lyx.org>
4972
4973         * bufferparams.C:
4974         * bufferview_funcs.C:
4975         * factory.C:
4976         * lyxfunc.C:
4977         * paragraph_pimpl.C:
4978         * rowpainter.C:
4979         * text.C: add #include "LColor.h".
4980
4981 2003-09-16  Angus Leeming  <leeming@lyx.org>
4982
4983         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4984         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4985         return LyXFont &.
4986         Store the FontBits::color variable as an int rather than as an
4987         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4988         file.
4989
4990         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4991         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4992         string calls together.
4993
4994         * lyxrc.C: add #include "LColor.h".
4995
4996 2003-09-15  Angus Leeming  <leeming@lyx.org>
4997
4998         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4999         a cow_ptr.
5000
5001 2003-09-15  Angus Leeming  <leeming@lyx.org>
5002
5003         * LColor.h: add an EnumLColor wrapper for LColor::color.
5004
5005         * lyxfont.[Ch] (color, setColor, realColor):
5006         * lyxtext.h, text.C (backgroundColor):
5007         pass EnumLColor args to/from the functions, rather than LColor::color
5008         ones.
5009
5010         * lyxfont.h:
5011         * lyxtext.h: forward declare EnumLColor.
5012
5013         * lyx_main.C: add #include "LColor.h".
5014
5015 2003-09-15  Angus Leeming  <leeming@lyx.org>
5016
5017         * .cvsignore: add lyx-gtk.
5018
5019 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5020
5021         * Chktex.C
5022         * LaTeX.C
5023         * LaTeXFeatures.C
5024         * ParagraphParameters.C
5025         * Spacing.C
5026         * buffer.C
5027         * bufferparams.C
5028         * bufferview_funcs.C
5029         * chset.C
5030         * counters.C
5031         * funcrequest.C
5032         * lyxfont.C
5033         * lyxgluelength.C
5034         * lyxlength.C
5035         * paragraph.C
5036         * paragraph_funcs.C
5037         * text3.C
5038         * vc-backend.C: remove usage of STRCONV
5039
5040 2003-09-15  Angus Leeming  <leeming@lyx.org>
5041
5042         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5043         explicitly define the color passed to the painter.
5044
5045 2003-09-15  Angus Leeming  <leeming@lyx.org>
5046
5047         * bufferparams.C (BufferParams): reorder member initializers to avoid
5048         compiler warning.
5049
5050 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5051
5052         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5053         * text.C (updateRowPositions): remove an unusual nop
5054
5055 2003-09-12  André Pönitz  <poenitz@gmx.net>
5056
5057         * BufferView_pimpl.C:
5058         * Bullet.C:
5059         * layout.h:
5060         * lyxfunc.C:
5061         * lyxlayout.[Ch]:
5062         * lyxtextclass.C:
5063         * rowpainter.C:
5064         * text.C:
5065         * text2.C:
5066         * Counters.[Ch]: finish the 'automatic counters' job
5067
5068 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5069
5070         * aspell.C: include <boost/assert.cpp> (compile fix)
5071
5072 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5073
5074         * boost.C (assertion_failed): use lyx::support::abort instead of
5075         assert.
5076
5077 2003-09-10  Angus Leeming  <leeming@lyx.org>
5078
5079         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5080         with their _fwd progeny.
5081
5082 2003-09-09  Angus Leeming  <leeming@lyx.org>
5083
5084         134 files throughtout the source tree: replace 'using namespace abc;'
5085         directives with the appropriate 'using abc::xyz;' declarations.
5086
5087 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5088
5089         * boost.C (emergencyCleanup): moved here from LAssert.c
5090         (assertion_failed): new function, called by BOOST_ASSERT
5091
5092         * several files: change Assert to BOOST_ASSERT
5093
5094 2003-09-09  Angus Leeming  <leeming@lyx.org>
5095
5096         * buffer.[Ch]: Add an Impl class and move Buffer's member
5097         variables into it. As a result move several header files out of
5098         buffer.h.
5099
5100         Add header files to lots of .C files all over the tree as a result.
5101
5102 2003-09-09  Angus Leeming  <leeming@lyx.org>
5103
5104         * buffer.[Ch]: make Buffer's member variables private. Add
5105         accessor functions.
5106
5107         Lots of changes all over the tree as a result.
5108
5109 2003-09-08  Angus Leeming  <leeming@lyx.org>
5110
5111         * graph.C: #include <config.h>.
5112
5113 2003-09-08  Angus Leeming  <leeming@lyx.org>
5114
5115         * BranchList.C:
5116         * BufferView.C:
5117         * BufferView_pimpl.C:
5118         * CutAndPaste.C:
5119         * DepTable.C:
5120         * LaTeX.C:
5121         * LaTeXFeatures.C:
5122         * LyXAction.C:
5123         * MenuBackend.C:
5124         * TextCache.C:
5125         * aspell.C:
5126         * buffer.C:
5127         * bufferlist.C:
5128         * changes.C:
5129         * chset.C:
5130         * converter.C:
5131         * counters.C:
5132         * debug.C:
5133         * graph.C:
5134         * ispell.C:
5135         * lyx_cb.C:
5136         * lyxfind.C:
5137         * lyxfunc.C:
5138         * lyxlex_pimpl.C:
5139         * lyxrc.C:
5140         * lyxrow.C:
5141         * paragraph.C:
5142         * rowpainter.C:
5143         * texrow.C:
5144         * text.C:
5145         * text2.C:
5146         * toc.C: remove redundant using directives.
5147
5148 2003-09-07  Angus Leeming  <leeming@lyx.org>
5149
5150         * LaTeXFeatures.h: remove #include "support/types.h".
5151         * ToolbarBackend.h: remove #include <algorithm>.
5152         * changes.h: remove #include <ctime>.
5153         * debug.h: remove #include <iosfwd>.
5154         * graph.h: remove #include "support/std_string.h".
5155         * lyx_main.h: remove #include <csignal>.
5156         * lyxlex_pimpl.h: remove #include <fstream>.
5157         * sgml.h: remove #include <algorithm>, <utility>.
5158         * toc.h: remove #include "support/std_ostream.h".
5159         Add #include <iosfwd>.
5160
5161 2003-09-07  Angus Leeming  <leeming@lyx.org>
5162
5163         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5164
5165         * converter.h: forward declare LatexRunParams.
5166         * encoding.h: remove #include "lyxrc.h".
5167         * lyxtext.h: remove #include "LColor.h".
5168         * lyxtextclass.h: remove #include "support/types.h".
5169         * trans.h: remove #include "tex-accent.h".
5170         * trans_mgr.h: remove #include "tex-accent.h".
5171         * insets/inset.h: remove #include "support/types.h", <vector>.
5172         * insets/insetcollapsable.h: remove #include "LColor.h".
5173         * insets/insetinclude.h: remove #include "dimension.h".
5174         * insets/insetlatexaccent.h: remove #include "dimension.h".
5175         * insets/insetoptarg.h:: remove #include "insettext.h".
5176         * insets/insettext.h: remove #include "dimension.h",
5177         <boost/shared_ptr.hpp>
5178
5179         * insets/renderers.h: add #include "dimension.h".
5180         * insets/updatableinset.h: add #include "support/types.h".
5181
5182         * many .C files: Associated changes.
5183
5184 2003-09-06  Angus Leeming  <leeming@lyx.org>
5185
5186         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5187         one, inside testInvariant.
5188
5189         * PrinterParams.C: new file.
5190         * PrinterParams.[Ch]: move the function bodies out of line.
5191
5192 2003-09-06  Angus Leeming  <leeming@lyx.org>
5193
5194         * ParagraphParameters.h: forward declare ParameterStruct rather than
5195         including its header file.
5196         (depth): moved out-of-line.
5197
5198 2003-09-06  Angus Leeming  <leeming@lyx.org>
5199
5200         * BufferView_pimpl.h:
5201         * kbmap.h:
5202         * kbsequence.h:
5203         * lyxfunc.h: forward declare LyXKeySym rather than
5204         #include "frontends/LyXKeySym.h".
5205
5206         * BufferView_pimpl.C:
5207         * kbmap.C:
5208         * kbsequence.C:
5209         * lyxfunc.C: associated changes.
5210
5211 2003-09-06  Angus Leeming  <leeming@lyx.org>
5212
5213         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5214         As a result, can remove the #include "insets/inset.h" from BufferView.h
5215
5216 2003-09-06  Angus Leeming  <leeming@lyx.org>
5217
5218         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5219         As a result, can remove the #include "insets/inset.h" from BufferView.h
5220
5221 2003-09-06  Angus Leeming  <leeming@lyx.org>
5222
5223         * buffer_funcs.C:
5224         * buffer.h:
5225         * bufferlist.C:
5226         * BufferView.C:
5227         * bufferview_funcs.C:
5228         * BufferView_pimpl.C:
5229         * CutAndPaste.C:
5230         * lyx_cb.C:
5231         * lyxfunc.C:
5232         * paragraph.h:
5233         * ParagraphParameters.C:
5234         * tabular.C:
5235         * text3.C:
5236         * toc.C:
5237         * undo_funcs.C:
5238         * frontends/controllers/ControlDocument.C:
5239         * insets/insetcaption.C: rearrange the #includes into some sort of
5240         coherent order.
5241
5242         * buffer.h: remove #includes ErrorList.h, undo.h
5243
5244 2003-09-06  Angus Leeming  <leeming@lyx.org>
5245
5246         * support/types.h: add a 'depth_type' typedef, used to store the
5247         nesting depth of a paragraph.
5248
5249         * paragraph.h:
5250         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5251         defining explicitly.
5252
5253         * buffer.h:
5254         * paragraph_funcs.h:
5255         * ParagraphParameters.h:
5256         * sgml.h: use lyx::depth_type rather than Paragraph or
5257         ParameterStruct's depth_type.
5258
5259         * buffer.h
5260         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5261
5262         * BufferView.C:
5263         * BufferView_pimpl.C:
5264         * CutAndPaste.C:
5265         * ParagraphParameters.C:
5266         * buffer_funcs.C:
5267         * bufferlist.C:
5268         * bufferview_funcs.C:
5269         * lyx_cb.C:
5270         * lyxfunc.C:
5271         * tabular.C:
5272         * text3.C:
5273         * toc.C:
5274         * undo_funcs.C:
5275         * frontends/LyXView.C:
5276         * frontends/controllers/ControlDocument.C:
5277         * frontends/controllers/ControlErrorList.C:
5278         * insets/insetbibitem.C:
5279         * insets/insetbranch.C:
5280         * insets/insetcaption.C:
5281         * insets/insetcollapsable.C:
5282         * insets/insetenv.C:
5283         * insets/insetert.C:
5284         * insets/insetfloat.C:
5285         * insets/insetfoot.C:
5286         * insets/insetfootlike.C:
5287         * insets/insetnewline.C:
5288         * insets/insetquotes.C:
5289         * insets/insettabular.C:
5290         * insets/insettext.C:
5291         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5292
5293         * frontends/controllers/ControlChanges.C: #include "changes.h".
5294
5295 2003-09-06  Angus Leeming  <leeming@lyx.org>
5296
5297         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5298         than #including paragraph.h.
5299
5300         * ParagraphList.h:
5301         * RowList.h: deleted. Superfluous.
5302
5303         * CutAndPaste.h:
5304         * iterators.h:
5305         * lyxcursor.h:
5306         * lyxtext.h:
5307         * text_funcs.h:
5308         * undo.h:
5309         * undo_funcs.h:
5310         * insets/inset.h:
5311         * insets/insettext.h: use ParagraphList_fwd.h rather than
5312         ParagraphList.h.
5313
5314         * paragraph.h: don't forward declare ParagraphList.
5315
5316         * buffer.h:
5317         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5318         rather than ParagraphList.h. paragraph.h is still needed for the
5319         Paragraph::depth_type parameters.
5320
5321         * textcursor.h: enable it to compile stand-alone in light of the
5322         above changes.
5323
5324         * bufferview_funcs.C:
5325         * iterators.C:
5326         * lyxfunc.C:
5327         * lyxrow_funcs.C:
5328         * paragraph.C:
5329         * rowpainter.C:
5330         * text.C:
5331         * text2.C:
5332         * text3.C:
5333         * text_funcs.C:
5334         * textcursor.C:
5335         * undo.C:
5336         * frontends/controllers/ControlParagraph.C:
5337         * frontends/controllers/ControlTabular.C:
5338         * insets/insetmarginal.C:
5339         * insets/insetminipage.C:
5340         * insets/insetnote.C:
5341         * insets/insetoptarg.C: add header files needed to compile again.
5342
5343 2003-09-06  Angus Leeming  <leeming@lyx.org>
5344
5345         * RowList_fwd.h: new file, forward-declaring Row rather than
5346         #including lyxrow.h.
5347
5348         * lyxrow_funcs.h:
5349         * lyxtext.h:
5350         * paragraph.h:
5351         * insets/insettext.h: use it instead of RowList.h
5352
5353         * bufferview_funcs.C:
5354         * lyxfunc.C:
5355         * lyxrow_funcs.C:
5356         * paragraph.C:
5357         * rowpainter.C:
5358         * text.C:
5359         * text2.C:
5360         * text3.C: #include "RowList.h".
5361
5362 2003-09-05  Angus Leeming  <leeming@lyx.org>
5363
5364         * factory.C (createInset):
5365         * vspace.C (c-tor): replace sscanf call with an istringstream.
5366         * ispell.C: re-add missing HP/UX headers.
5367         * lyxserver.C: re-add missing  os2 headers.
5368
5369 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5370
5371         * BranchList.C:
5372         * graph.C:
5373         * ispell.C:
5374         * lastfiles.C:
5375         * lyx_cb.C:
5376         * lyxserver.C:
5377         * texrow.C:
5378         * text3.C: re-add missing system headers, needed for 2.95.2.
5379
5380 2003-09-05  Angus Leeming  <leeming@lyx.org>
5381
5382         Changes most place everywhere due to the removal of using directives
5383         from support/std_sstream.h.
5384
5385 2003-09-05  Angus Leeming  <leeming@lyx.org>
5386
5387         Replace LString.h with support/std_string.h,
5388         Lsstream.h with support/std_sstream.h,
5389         support/LIstream.h with support/std_istream.h,
5390         support/LOstream.h with support/std_ostream.h.
5391
5392         Changes resulting throughout the tree.
5393
5394 2003-09-05  Angus Leeming  <leeming@lyx.org>
5395
5396         * sgml.h: ensure that the header file can be compiled stand-alone.
5397         * *.C: strip out redundant #includes. (320 in total.)
5398
5399 2003-09-04  Angus Leeming  <leeming@lyx.org>
5400
5401         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5402         here (from getPackages).
5403
5404         * debug.[Ch]: add a new EXTERNAL tag.
5405
5406 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5407
5408         * text2.C (cursorEnd): simplify
5409         (setCursor): adjust
5410         (getColumnNearX): adjust
5411
5412         * text.C (computeBidiTables): adjust
5413         (fill): adjust
5414
5415         * rowpainter.C (paintChars): adjust
5416         (paintSelection): adjust
5417         (paintChangeBar): adjust
5418         (paintText): adjust
5419
5420         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5421         lastPos instead.
5422         (numberOfSeparators): adjust
5423
5424 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5425
5426         * LyXAction.C:
5427         * box.[Ch]:
5428         * lfuns.h:
5429         * lyxfunc.C:
5430         * text3.C: Restricts the mouse click functionality
5431         of insets like bibtex, include, toc and floatlist to the visible
5432         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5433         up the dialogs. Cursor has to be in front of the inset (i.e.
5434         start of row) for this to function.
5435
5436 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5437
5438         * bufferview_funcs.C (currentState): output row information
5439
5440 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5441
5442         * bufferview_funcs.C (currentState): output paragraph position
5443
5444 2003-09-04  Angus Leeming  <leeming@lyx.org>
5445
5446         * FloatList.h: move out #include "Floating.h".
5447         * LaTeX.h: move out #include "DepTable.h".
5448         * LyXAction.h: move out #include "funcrequest.h".
5449         * buffer.h: move out #include "author.h", "iterators.h".
5450         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5451         * lyx_main.h: move out #include "errorlist.h".
5452         * lyxfunc.h: move out #include "FuncStatus.h".
5453         * lyxtext: move out #include "lyxcursor.h".
5454         * paragraph_pimpl.h: move out #include "counters.h".
5455
5456 2003-09-03  Angus Leeming  <leeming@lyx.org>
5457
5458         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5459         preamble_snippets list, enabling us to add snippets to the preamble
5460         only if the snippet was not there already.
5461
5462 2003-09-04  Angus Leeming  <leeming@lyx.org>
5463
5464         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5465
5466 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5467
5468         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5469         update
5470
5471 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5472
5473         * BranchList.C: point fix, earlier forgotten
5474
5475 2003-09-02  Angus Leeming  <leeming@lyx.org>
5476
5477         * box.C (contains): renamed from 'contained' after a fantastic
5478         amount of hot air.
5479
5480 2003-09-02  John Levon  <levon@movementarian.org>
5481
5482         * BufferView.C:
5483         * lyxcursor.h:
5484         * lyxcursor.C:
5485         * lyxfunc.C:
5486         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5487
5488 2003-09-02  John Levon  <levon@movementarian.org>
5489
5490         * text2.C: simplification of cursorEnd(), including partial
5491         fix for bug 1376
5492
5493 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5494
5495         * buffer.C (readFile): add a space
5496
5497 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5498
5499         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5500
5501 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5502
5503         * buffer.C (readFile): new function, take a filename and a
5504         ParagraphList::iterator
5505         (readFile): adjust
5506         (readFile): adjust, make it private. don't use setStream, make
5507         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5508         always contain the filename.
5509
5510         * BufferView.C (insertLyXFile): simplify and make it work for
5511         gzipped files.
5512
5513 2003-08-30  John Levon  <levon@movementarian.org>
5514
5515         * Makefile.am: fix dist (from Kayvan)
5516
5517 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5518
5519         * most files: change to use const Buffer refs
5520
5521 2003-08-27  André Pönitz  <poenitz@gmx.net>
5522
5523         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5524         on top of ownerPar().
5525
5526 2003-08-27  John Levon  <levon@movementarian.org>
5527
5528         * funcrequest.C: properly initialise POD members
5529
5530 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5531
5532         * lyxtext.h (top_y): move top_y from here
5533         * text.C:
5534         * text2.C:
5535         * text3.C:
5536         * BufferView.[Ch]:
5537         * BufferView_pimpl.[Ch]: to here
5538         * frontends/screen.C:
5539         * insets/insettabular.C:
5540         * insets/insettext.C: adjust
5541         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5542
5543 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5544
5545         * BufferView.[Ch]:
5546         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5547
5548 2003-08-26  André Pönitz  <poenitz@gmx.net>
5549
5550         * paragraph_func.[Ch] (outerPar): new function
5551
5552         * paragraph.C:
5553         * paragraph_funcs.C:
5554         * paragraph_funcs.h:
5555         * paragraph_pimpl.C:
5556         * text2.C: remove Inset::par_owner
5557
5558 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5559
5560         * lyxrow_funcs.C:
5561         * lyxtext.h:
5562         * text.C:
5563         * text2.C: eliminates the needFullRow/display() stuff
5564         altogether, putting the logic in metrics/draw in the insets.
5565
5566 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5567
5568         * text2.C (redoParagraphInternal, redoParagraphs):
5569         * text.C (redoParagraph): add a call to updateRowPositions at the
5570         end of each 'metrics-like' call. Remove all others.
5571         (getRow): remove the 'y-computing' version.
5572         (getRowNearY): do not compute nor return the real y. Solve the
5573         'y < 0' problem and simplify.
5574
5575 2003-08-22  Angus Leeming  <leeming@lyx.org>
5576
5577         * *.[Ch]: clean-up of licence and author blurbs.
5578         Also move config.h out of a few .h files and into a few .C files.
5579
5580 2003-08-22  André Pönitz  <poenitz@gmx.net>
5581
5582         * lyxrow.[Ch]: add x_ and *fill_ members
5583
5584         * lyxtext.h:
5585         * text.C:
5586         * rowpainter.C:
5587         * text2.C: adjust/remove prepareToPrint() calls
5588
5589 2003-08-22  André Pönitz  <poenitz@gmx.net>
5590
5591         * lyxrow.[Ch]: add  end_ member
5592
5593         * lyxrow_funcs.C: use LyXRow::end_
5594
5595         * lyxtext.h (singleWidth): add LyXFont parameter
5596
5597         * rowpainter.C:
5598         * text2.C: adjust LyXText::singleWidth() calls
5599
5600         * text.C (redoParagraph): simplify row breaking logic
5601
5602
5603 2003-08-19  André Pönitz  <poenitz@gmx.net>
5604
5605         * funcrequest.C: initialize button_ member
5606
5607         * text3.C:
5608         * rowpainter.[Ch]: interface consolidation
5609
5610 2003-08-18  André Pönitz  <poenitz@gmx.net>
5611
5612         * BufferView.C:
5613         * BufferView_pimpl.C:
5614         * lyxfind.C:
5615         * paragraph_funcs.C:
5616         * rowpainter.C:
5617         * text3.C: remove LyXScreen::draw() and fitCursor calls
5618
5619         * BranchList.h: remove spurious semicolons
5620
5621         * MenuBackend.C: fix branchlist related crash
5622
5623 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5624
5625         * BranchList.[Ch]:
5626         * InsetList.[Ch]:
5627         * LColor.[Ch]:
5628         * LyXAction.C:
5629         * Makefile.am:
5630         * MenuBackend.[Ch]:
5631         * bufferparams.[Ch]:
5632         * factory.C:
5633         * lfuns.h:
5634         * lyxfunc.C:
5635         * text3.C: implements the 'branch inset'
5636         idea. This allows the output of various versions of a document
5637         from a single source version, selectively outputing or suppressing
5638         output of parts of the text.
5639         This implementation contains a 'branch list editor' in a separate
5640         tab of the document settings dialog. Branches are user definable
5641         and have a "display colour" to distinguish them on-screen.
5642
5643         ColorHandler was somewhat cleaned up.
5644         (1) make possible a dynamically growing LColor list by allowing
5645         the graphic context cache to grow along (vector);
5646         (2) eliminate an IMHO unnecessary step in colour allocation.
5647
5648 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5649
5650         * BufferView_pimpl.C: compile fix
5651
5652 2003-08-15  André Pönitz  <poenitz@gmx.net>
5653
5654         * rowpainter.C: remove extra metrics calls
5655
5656         * lyxtext.h: merge the two constructors into a single one,
5657           pass reference to owner's par list
5658
5659         * BufferView_pimpl.C:
5660         * text.C:
5661         * text2.C: adjust
5662
5663 2003-08-15  André Pönitz  <poenitz@gmx.net>
5664
5665         * lyxrow_funcs.[Ch]:
5666         * lyxtext.h:
5667         * paragraph.h:
5668         * paragraph_funcs.C:
5669         * rowpainter.C:
5670         * text.C:
5671         * text2.C:
5672         * text3.C:
5673         * text_funcs.C: split LyXText::rowlist_ into individual
5674         Paragraph::rows_ chunks
5675
5676         * BufferView.[Ch]:
5677         * BufferView_pimpl.[Ch]:
5678         * lyxfind.C:
5679         * lyxtext.h:
5680         * text3.C: remove toggleSelection()
5681
5682 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5683
5684         * bufferlist.C: beautify two alerts (shorter text of buttons)
5685         * buffer.C: Remove redundant ' ' from message
5686         * tabular.h:
5687         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5688         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5689         rename VALIGN_CENTER to VALIGN_MIDDLE
5690
5691 2003-08-11  André Pönitz  <poenitz@gmx.net>
5692
5693         * lyxtext.h (getPar):
5694         * text.C: new function
5695
5696 2003-08-11  André Pönitz  <poenitz@gmx.net>
5697
5698         * Makefile.am:
5699         * tracer.[Ch]: remove unneeded files
5700
5701         * InsetList.[Ch]: remove resizeInsetsLyXText()
5702
5703         * lyxtext.h:
5704         * text.C:
5705         * text2.C:
5706         * text3.C: merge insertParagraphs() and appendParagraph()
5707         remove breakAgain(), update()
5708
5709         * BufferView_pimpl.[Ch]:
5710         * bufferview_funcs.[Ch]:
5711         * lyxfunc.C:
5712         * paragraph.[Ch]:
5713         * rowpainter.C:
5714         * tabular.C: adjust after text & InsetList changes.
5715
5716 2003-08-08  André Pönitz  <poenitz@gmx.net>
5717
5718         * text.C (insertChar, backspace): replace rowlist fiddling
5719         with rebreak of full par
5720
5721         * lyxtext.h:
5722         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5723         checkParagraph, updateInset): removed
5724
5725 2003-08-07  André Pönitz  <poenitz@gmx.net>
5726
5727         * paragraph.C:
5728         * text3.C: merge some LFUN handlers, remove dead code
5729
5730 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5731
5732         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5733
5734 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5735
5736         * text2.C (DEPM): fix part of bug 1255 and 1256
5737
5738 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5739
5740         * BufferView_pimpl.C (workAreaDispatch): change to use
5741         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5742         that are no mouse related.
5743
5744 2003-08-05  André Pönitz  <poenitz@gmx.net>
5745
5746         * BufferView.[Ch]:
5747         * BufferView_pimpl.[Ch]:
5748         * bufferview_funcs.C:
5749         * text2.C:
5750         * text3.C: rip out "deep update"
5751
5752         * textcursor.[Ch] (last_sel_cursor): remove unused member
5753
5754 2003-08-04  André Pönitz  <poenitz@gmx.net>
5755
5756         * BufferView.[Ch]:
5757         * BufferView_pimpl.[Ch]:
5758         * ParagraphParameters.C:
5759         * bufferview_funcs.C:
5760         * lyx_cb.C:
5761         * lyxfind.C:
5762         * lyxfunc.C:
5763         * text.C:
5764         * text2.C:
5765         * text3.C: replace "complicated" BufferView::update(...) calls with
5766         simpler ones.
5767
5768         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5769
5770 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5771
5772         * Makefile.am (lyx_SOURCES): add paper.h
5773
5774 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5775
5776         * Makefile.am: move things around so that both lyx-qt and
5777         lyx-xforms can be built (according to --with-frontend). Then lyx
5778         is a symbolic link to lyx-[firstfrontend]
5779
5780 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5781
5782         * Always use std::endl with lyxerr
5783
5784 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5785
5786         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5787
5788 2003-08-01  André Pönitz  <poenitz@gmx.net>
5789
5790         * BufferView.[Ch]:
5791         * BufferView_pimpl.[Ch]:
5792         * lyxfunc.C:
5793         * text3.C: merge BufferView::repaint() and BufferView::update()
5794
5795 2003-08-01  José Matos  <jamatos@lyx.org>
5796
5797         * buffer.[Ch]: file_format is no longer a buffer data element.
5798
5799 2003-08-01  André Pönitz  <poenitz@gmx.net>
5800
5801         * BufferView.C:
5802         * lyxtext.h:
5803         * text.C:
5804         * text2.C: make redoParagraph more independent of current cursor
5805
5806         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5807         * text.C:
5808         * text2.C: remove unneeded members
5809
5810 2003-07-30  André Pönitz  <poenitz@gmx.net>
5811
5812         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5813
5814         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5815           create a single function...
5816
5817         * paragraph_funcs.C (moveItem): ... here.
5818
5819         * text.C:
5820           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5821
5822 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5823
5824         * LColor.[Ch]: Add comment and greyedout logical colors.
5825
5826 2003-07-30  André Pönitz  <poenitz@gmx.net>
5827
5828         * tabular.C: don't use Assert too heavily. This crashes where it
5829           shouldn't
5830
5831 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5832
5833         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5834         is disabled (bug 1232)
5835
5836 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5837
5838         * factory.C: limited 'arg' scope
5839
5840 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5841
5842         * factory.C: fixed Note submenu issues
5843
5844 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5845
5846         * factory.C: submenu for Note/Comment/Greyedout
5847
5848 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5849
5850         * lyx_main.C (LyX):
5851         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5852
5853 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5854
5855         * LaTeXFeatures.C:
5856         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5857         greyedout. Patch provided by Jürgen Spitzmüller.
5858
5859 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5860
5861         * kbmap.C (read): fix error message when reading bind files
5862
5863 2003-07-29  Angus Leeming  <leeming@lyx.org>
5864
5865         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5866         certainly does not do what it purports to do. I am doing it, and
5867         us, a favour by killing it.
5868
5869 2003-07-28  José Matos  <jamatos@lyx.org>
5870
5871         * buffer.C (readBody, do_writeFile):
5872         * paragraph.C(readParagraph): \end_document replaces \the_end.
5873
5874 2003-07-29  André Pönitz  <poenitz@gmx.net>
5875
5876         * BufferView.[Ch]:
5877         * BufferView_pimpl.[Ch]:
5878         * lyxfunc.C:
5879         * text2.C:
5880         * text3.C:
5881         * textcursor.[Ch]: remove toggleToggle & Co
5882
5883 2003-07-28  José Matos  <jamatos@fep.up.pt>
5884
5885         * buffer.C (readParagraph):
5886         * params_func (readParToken, readParagraph):
5887         * paragraph.C (write): \layout -> \begin_layout.
5888
5889 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5890
5891         * lyxlex_pimpl.C (setFile): clean up slightly.
5892
5893         * bufferparams.h: add compressed var
5894
5895         * buffer_funcs.C (readFile): adjust for LyXLex change
5896         (newFile): ditto + simplify
5897
5898         * buffer.C (writeFile): handle writing of compressed files
5899
5900         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5901         Check if the file is compressed and set a bufferparm if so.
5902
5903         * Makefile.am (lyx_LDADD): remove explicit -lz
5904
5905 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5906
5907         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5908         makeDocBookFile): put the real LyX version in the first line of
5909         the file
5910
5911         * version.h:
5912         * version.C.in: remove lyx_docversion
5913
5914         * tabular.C (write_attribute): add a template-based version to
5915         write enums properly
5916
5917 2003-07-28  André Pönitz  <poenitz@gmx.net>
5918
5919         * lyxtext.h:
5920         * text.C:
5921         * text2.C:
5922         * text3.C: use doubles again for x-coordinates. They are needed.
5923
5924 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5925
5926         * messages.C (getLocaleDir): use lyx_localedir()
5927
5928         * lyxlex_pimpl.C (setFile): compress stuff
5929
5930         * buffer.C (writeFile): add some compression stuff
5931         (do_writeFile): new func, dont call expliti close... will this
5932         breake anything?
5933
5934         * Makefile.am (lyx_LDADD): add -lz
5935
5936 2003-07-28  José Matos  <jamatos@fep.up.pt>
5937
5938         * buffer.C: increment file format.
5939         * paragraph_funcs (readParagraph, readParToken):
5940         * paragraph.C (readParagraph): add \end_layout.
5941
5942 2003-07-27  Angus Leeming  <leeming@lyx.org>
5943
5944         * Makefile.am: remove special casing for configure-time setting of
5945         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5946
5947         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5948         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5949
5950 2003-07-26  André Pönitz  <poenitz@gmx.net>
5951
5952         * paragraph_func.[Ch]:
5953         * paragraph.C (realizeFont): inline it whereever it is used
5954
5955         * rowpainter.C:
5956         * text.C:
5957         * text2.C:
5958         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5959
5960
5961 2003-07-26  André Pönitz  <poenitz@gmx.net>
5962
5963         *       lyxtext.h:
5964         * text.C:
5965         * text2.C: get rid of LyXText::need_break_row
5966
5967 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5968
5969         * toc.[Ch]: put namespace toc inside namespace lyx
5970
5971         * MenuBackend.C (expandToc2): adjust for lyx::toc
5972         (expandToc): ditto
5973
5974         * lyxfunc.C (dispatch): adjust for lyx::find
5975
5976         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5977         lyx::find instead. Reorganize a bit.
5978         (LyXReplace): rename to replace
5979         (LyXFind): rename to find
5980
5981         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5982         (dispatch): ditto
5983
5984 2003-07-26  André Pönitz  <poenitz@gmx.net>
5985
5986         * text.C (setHeightOfRow): restrict scope of temporary variable
5987
5988         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5989           code (never has been used?)
5990
5991 2003-07-27  Asger Alstrup  <alstrup@local>
5992
5993         * text.C (fill): Optimise algorithm to exploit that we can reuse
5994         the LyXFont for many characters.
5995         (setHeightOfRow): Same thing.
5996         (rowBreakPoint): Same thing.
5997
5998 2003-07-26  Asger Alstrup  <alstrup@local>
5999
6000         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6001
6002         * text.C (singleWidth): Spurious font copying in hot-spot
6003         singleWidth avoided. Reorder tests for arabic for efficiency.
6004
6005         * text.C (fill): handle empty paragraphs better.
6006
6007 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6008
6009         * ispell.C:
6010         * encoding.h: add includes
6011
6012         * lyxrc.C: remove reading of bind files
6013
6014         * lyx_main.C (init): setup bindings and menus only if we have a
6015         gui.
6016
6017         * kbmap.C (read): new method. Do the actual reading of bind
6018         files.
6019
6020         * converter.C (dvipdfm_options):
6021         * bufferparams.C:
6022         * lyxrc.C (read):
6023         (output): adapt PAPER_* enums.
6024
6025         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6026
6027         * bufferparams.h: remove paper-related enums from there
6028
6029         * paper.h: New file. A trivial header file to hold paper-related
6030         enums. It should later expand to contain many paper-related
6031         horrors access.
6032
6033         * lyxrc.C: declare extern displayTranslator
6034
6035 2003-07-27  José Matos  <jamatos@fep.up.pt>
6036
6037         * tabular.[Ch] (linuxdoc): add support for tables and figures
6038         (linuxdoc).
6039
6040 2003-07-27  José Matos  <jamatos@fep.up.pt>
6041
6042         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6043         consistency in both functions.
6044         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6045
6046 2003-07-26  Asger Alstrup  <alstrup@local>
6047
6048         * rowpainter.C (paintRows): Change algorithm to work directly on
6049         the insets rather than asking every character in the document
6050         whether its an inset.
6051
6052 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6053
6054         * buffer.C (openFileWrite): factorize some code
6055
6056 2003-07-26  Angus Leeming  <leeming@lyx.org>
6057
6058         * lyx_cb.C:
6059         * lyx_main.[Ch]: replace occurances of system_tempdir with
6060         os::getTmpDir().
6061
6062 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6063
6064         * rename Inset to InsetOld
6065
6066 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6067
6068         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6069         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6070         which I think is a bit clearer. EDIT is gone, since it was
6071         premature optimisation, and broken for mathed anyway.
6072         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6073         with cursor positioning in insets as well (math insets still do not
6074         work, but that's a different story anyway.) It mysteriously
6075         crashes sometimes with undo in the first paragraph, but I'm fairly
6076         confident that this is a compiler bug.
6077
6078 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6079
6080         * paragraph.C (Paragraph): adjust for new clone return type
6081         (operator==): ditto
6082         (copyIntoMinibuffer): ditto
6083
6084 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6085
6086         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6087         by not having a special case, and always doing a full rebreak of
6088         the document after undo.
6089
6090 2003-07-23  Angus Leeming  <leeming@lyx.org>
6091
6092         * factory.C (createInset): InsetExternal::setParams now takes a
6093         Buffer const * arg.
6094
6095 2003-07-23  Angus Leeming  <leeming@lyx.org>
6096
6097         * factory.C (createInset): changed interface to the external and
6098         graphics mailers' string2params functions.
6099
6100 2003-07-23  Angus Leeming  <leeming@lyx.org>
6101
6102         * factory.C (createInset): pass a
6103         Buffer const * parameter to InsetExternalMailer's string2params.
6104
6105 2003-07-22  John Levon  <levon@movementarian.org>
6106
6107         * Thesaurus.h: include the right aiksaurus header
6108
6109 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6110
6111         * MenuBackend.C (expand): check menu shortcuts unconditionally
6112
6113 2003-07-21  Angus Leeming  <leeming@lyx.org>
6114
6115         * factory.C (createInset): pass a
6116         buffer_path parameter to InsetGraphicsMailer's string2params.
6117
6118 2003-07-21  Angus Leeming  <leeming@lyx.org>
6119
6120         * BufferView_pimpl.C (buffer):
6121         * buffer.C (d-tor):
6122         * lyx_main.C (LyX):
6123         * lyxfunc.C (dispatch):
6124         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6125         rather than the grfx shortcut.
6126
6127 2003-07-21  André Pönitz  <poenitz@gmx.net>
6128
6129         * rowpainter.C: remove unused variables
6130
6131         * tabular_funcs.C:
6132         * tabular_funcs.h: move to tabular.C
6133         * Makefile.am: adjust
6134
6135         * tabular.[Ch]: basic optical cleaning
6136
6137         * author.h: pass references, not values
6138
6139 2003-07-18  André Pönitz  <poenitz@gmx.net>
6140
6141         * lyxtext.h:
6142         * metricsinfo.C:
6143         * metricsinfo.h:
6144         * rowpainter.C:
6145         * text.C:
6146         * text2.C:
6147         * text3.C: two-phase drawing for InsetText and InsetTabular
6148         some float -> int changes.
6149
6150 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6151
6152         * lyx_main.C: fix the fix
6153
6154 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6155
6156         * lyx_main.C: fix a crash in batch mode if no files specified
6157         * converter.C: ws
6158
6159 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6160
6161         * format.[Ch] (papersize): moved to BufferParams
6162         * converter.[Ch] (dvips_options): moved to BufferParams
6163         (dvipdfm_options): moved to anon namespace
6164         * bufferparams.[Ch]: added above functions.
6165
6166 2003-07-17  André Pönitz  <poenitz@gmx.net>
6167
6168         * lyxtext.h:
6169         * rowpainter.C:
6170         * text2.C: don't call inset->update() anymore
6171
6172         * metricsinfo.[Ch]: add convenience constructor
6173
6174 2003-07-16  André Pönitz  <poenitz@gmx.net>
6175
6176         * lyxcursor.[Ch]:
6177         * lyxfunc.[Ch]:
6178         * text.C:
6179         * text2.C: replace the LyXCursor::irow_ member with
6180          on-demand computation of the value
6181
6182 2003-07-16  John Levon  <levon@movementarian.org>
6183
6184         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6185
6186 2003-07-15  André Pönitz  <poenitz@gmx.net>
6187
6188         * text.C:
6189         * text2.C: remove no more needed refresh_row
6190
6191 2003-07-15  André Pönitz  <poenitz@gmx.net>
6192
6193         * lyxtext.h:
6194         * rowpainter.C:
6195         * text2.C:
6196         * text3.C: refresh_status tristate -> need_update bool
6197
6198 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6199
6200         * lyxtext.h (init): remove reinit argument (act as if always true)
6201         * text2.C: adjust to that
6202
6203 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6204
6205         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6206         * text3.C: use it to delete selections in some cases
6207         (bugs 441, 673, 702, 954).
6208
6209 2003-07-14  André Pönitz  <poenitz@gmx.net>
6210
6211         * rowpainter.[Ch]: reduce interface
6212
6213 2003-07-14  André Pönitz  <poenitz@gmx.net>
6214
6215         * BufferView_pimpl.C:
6216         * text2.C: adjust after removing unused BufferView * argument
6217
6218 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6219
6220         * text2.C (init): fix a crash fired on resize
6221
6222 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6223
6224         * buffer.[Ch]: added new closing signal
6225         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6226         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6227         BufferView::Pimpl via the closing the signal
6228
6229 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6230
6231         * buffer.[Ch]: take out all bv-related from buffer
6232         * BufferView.C:
6233         * BufferView_pimpl.[Ch]: connect to new signals
6234         * CutAndPaste.C: removed useless asserts
6235         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6236         * lyxvc.[Ch]:
6237         * vc-backend.[Ch]:
6238         * lyxfunc.C: moved view-related funciontality from vc here
6239         * paragraph.C: removed outdated comments
6240         * text.C: ws
6241
6242 2003-07-10  André Pönitz  <poenitz@gmx.net>
6243
6244         * BufferView_pimpl.C:
6245         * tabular.h:
6246         * tabular_funcs.C:
6247         * text.C:
6248         * text2.C: remove InsetText::InnerCache, clean up consequences
6249
6250 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6251
6252         * ispell.C: fix two typos in error messages
6253
6254 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6255
6256         * Extend Note inset to other forms of annotation like Comment
6257         and Greyedout. Right button click gives dialog.
6258
6259         Files modified or added (+):
6260
6261         * insetnote.[Ch]
6262         * FormNote.[Ch]      +
6263         * ControlNote.[Ch]   +
6264         * form_note.fd       +
6265         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6266         frontends/controllers
6267         * xforms/Dialogs.C
6268         * factory.C
6269
6270 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6271
6272         * aspell.C: add missing namespace lyx::support
6273
6274 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6275
6276         * BufferView.[Ch] (newFile): Add
6277         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6278         * LaTeX.[Ch] (message): added this signal and use it
6279         * buffer.[Ch] (busy, message): added these signals and use them
6280         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6281         * converter.C:
6282         * exporter.C:
6283         * format.C:
6284         * importer.C: use buffer signals instead of direct bv calling
6285         * lyx_cb.[Ch] (ShowMessage): removed
6286         * lyx_main.C:
6287         * lyxfunc.C:
6288         * paragraph_funcs.C:
6289         * text2.C: use buffer signals
6290
6291 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6292
6293         * introduce namespace lyx::graphics
6294
6295 2003-07-02  André Pönitz  <poenitz@gmx.net>
6296
6297         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6298
6299 2003-07-01  André Pönitz  <poenitz@gmx.net>
6300
6301         * text.C:
6302         * text2.C:
6303         * text3.C:
6304         * text_funcs.[Ch]:
6305         * textcursor.h:
6306         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6307           text*.C to text_func.C
6308
6309 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6310
6311         * introduce namespace lyx::support
6312
6313 2003-06-30  André Pönitz  <poenitz@gmx.net>
6314
6315         * Chktex.C:
6316         * funcrequest.C:
6317         * lyxtext.h:
6318         * text.C: re-enable --with-included-string
6319
6320 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6321
6322         * textcursor.C: add <config.h>
6323
6324         * text.C (getWord): remove const from word_location arg
6325
6326         * lyxvc.C (getLogFile): fix const type order
6327
6328         * lyxtext.h: remove const from word_location arg, add arg name
6329
6330         * lyxlayout.h: currect type on labeltype.
6331
6332         * importer.C: correct \file
6333
6334         * converter.C (intToFormat): use std:: on ret val, ws changes
6335
6336         * bufferlist.h: correct \file
6337
6338         * buffer.C (makeLinuxDocFile): fix const type order
6339         (makeDocBookFile): ditto
6340         (fillWithBibKeys): use std:: on stdlib args.
6341
6342         * CutAndPaste.C: fix authors.
6343         (availableSelections): use std:: on return vector
6344
6345 2003-06-27  André Pönitz  <poenitz@gmx.net>
6346
6347         * BufferView_pimpl.C:
6348         * bufferview_funcs.C:
6349         * lyxcursor.C:
6350         * lyxcursor.h:
6351         * lyxfunc.C:
6352         * lyxtext.h:
6353         * rowpainter.C:
6354         * text.C:
6355         * text2.C:
6356         * text3.C: remove LyXCursor::row_ member
6357
6358         * lyxtext.h:
6359         * text.C: rename fullRebreak() to partialRebreak() and implement
6360           a fullRebreak() that really bereks fully
6361
6362         * textcursor.h: new struct for cursor-related data
6363
6364 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6365
6366         * lyx_main.C (LyX): get full path of document loaded on the
6367         command line
6368
6369 2003-06-26  André Pönitz  <poenitz@gmx.net>
6370
6371         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6372           remove unused/broken operator>,<,>=.
6373
6374         *       text.C: remove only use of broken operator<= in an Assert().
6375
6376 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6377
6378         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6379         moved errorlist_.clear to showErrorList
6380
6381 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6382
6383         * converter.C (scanLog, runLaTeX):
6384         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6385         move the bv->showErrorList call to the callers
6386         * lyxfunc.C: i.e. here...
6387         * text2.C: and here
6388         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6389         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6390         namespace, the second to...
6391         * buffer_funcs (BufferFormat, parseErrors): added
6392         * errorlist.C (ErrorList(TeXErrors const &)): removed
6393
6394 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6395
6396         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6397
6398 2003-06-24  "Garst R. Reese" <reese@isn.net>
6399
6400         * debug.C: fix typo
6401
6402 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6403
6404         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6405
6406         * version.C.in: change docversion to 1.4
6407
6408 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6409
6410         * buffer.C: fix a bug just introduced
6411
6412 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6413
6414         * buffer.[Ch]: added the parseError signal and use it, removed
6415         sgmlError
6416         * BufferView.[Ch] (addError): moved to ...
6417         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6418         to the Buffer::parseError signal to catch (guess what) parse errors
6419         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6420
6421 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6422
6423         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6424         ability to create a buffer and to return an existing one from
6425         the list. Moved these functions to...
6426         * buffer_funcs.[Ch]: added
6427         * BufferView.[Ch] (loadLyXFile): added
6428         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6429         job removed from bufferlist::loadLyXFile.
6430         * buffer.C (setReadOnly): make it work without view
6431         (i.e added an if (users))
6432
6433 2003-06-19  Angus Leeming  <leeming@lyx.org>
6434
6435         * lfuns.h:
6436         * LyXAction.C (init):
6437         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6438         with LFUN_DIALOG_SHOW <name> <data>.
6439
6440 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6441
6442         * CutAndPaste.C (availableSelections): small compilation fix for
6443         ancient (gcc 2.9x) compilers
6444
6445 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6446
6447         * text3.C (cursorNext): add tmp var
6448
6449         * text2.C (updateCounters): for function calling out of for clause
6450         (replaceSelectionWithString): ditto
6451         (insertStringAsParagraphs): ditto
6452         (getColumnNearX): add tmp var
6453         (setCursorFromCoordinates): add tmp var
6454         (cursorDownParagraph): add tmp var
6455         (deleteEmptyParagraphMechanism): add tmp var
6456
6457         * text.C (insertChar): add tmp var
6458
6459         * rowpainter.C (paintDepthBar): add tmp var
6460
6461         * CutAndPaste.C (availableSelections): potentially check all
6462         paragraphs in a cut to fill the shown strings.
6463
6464 2003-06-18  André Pönitz  <poenitz@gmx.net>
6465
6466         * kbmap.[Ch]: use vector<> instead of list<>
6467
6468 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6469
6470         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6471         pasteSelection with index
6472
6473         * text2.C (pasteSelection): modify, call pasteSelection with index
6474
6475         * paragraph.C (asString): reimplement version with no interval to
6476         call the one with interval.
6477
6478         * lyxtext.h: add index arg to pasteSelection
6479
6480         * MenuBackend.C (MenuItem): handle PasteRecent
6481         (Menu::read::Menutags): add md_pasterecent
6482         (read): handle it
6483         (expandPasteRecent): new function
6484         (expand): use it
6485
6486         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6487
6488         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6489         the limited stack
6490         (availableSelections): new function
6491
6492 2003-06-17  Angus Leeming  <leeming@lyx.org>
6493
6494         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6495
6496 2003-06-17  Angus Leeming  <leeming@lyx.org>
6497
6498         * lfuns.h:
6499         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6500
6501         * lyxfunc.C (dispatch): invoke it.
6502
6503 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6504
6505         * iterators.C (operator++, ParPosition): reintroduce some
6506         const_cast for the benefit of older compilers.
6507
6508 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6509
6510         * text3.C (dispatch): do not modify clipboard when doing
6511         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6512         LFUN_DELETE_SKIP on a selection selection
6513
6514 2003-06-16  André Pönitz  <poenitz@gmx.net>
6515
6516         * BufferView.C:
6517         * buffer.C:
6518         * buffer.h:
6519         * paragraph.C:
6520         * tabular.[Ch]: IU of clone() and getLabelList();
6521
6522 2003-06-13  André Pönitz  <poenitz@gmx.net>
6523
6524         * tabular.h: compactification
6525
6526 2003-06-12  André Pönitz  <poenitz@gmx.net>
6527
6528         * tabular.C:
6529         * tabular.h:
6530         * tabular_funcs.h: some renaming plus whitespace
6531
6532 2003-06-12  André Pönitz  <poenitz@gmx.net>
6533
6534         * BufferView.C:
6535         * BufferView_pimpl.C:
6536         * CutAndPaste.C:
6537         * buffer.C:
6538         * iterators.[Ch]:
6539         * lyxfunc.C:
6540         * text.C:
6541         * toc.C: Return a Paragraph & for ParIterator::operator*()
6542
6543 2003-06-11  John Levon  <levon@movementarian.org>
6544
6545         * lyx_main.C:
6546         * ToolbarBackend.h:
6547         * ToolbarBackend.C: add "Toolbars" section and
6548         put the flags there
6549
6550 2003-06-10  Angus Leeming  <leeming@lyx.org>
6551
6552         * lfuns.h:
6553         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6554
6555         * lyxfunc.C (dispatch): invoke it.
6556
6557 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6558
6559         * main.C: protect <ios> with HAVE_IOS
6560         (main): protect sync_with_stdio with HAVE_IOS
6561
6562 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6563
6564         * text2.C (cutSelection): adjust
6565         (pasteSelection): adjust
6566
6567         * messages.C: handle get of empty string
6568
6569         * main.C (main): use sync_with_stdio(false)
6570
6571         * lyxfunc.C (dispatch): adjust
6572
6573         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6574         (WriteAs): remove unneeded BufferView arg.
6575
6576         * bufferparams.h: use correct types on papersize, papersize2 and
6577         paperpackage.
6578
6579         * bufferparams.C (readToken): adjust for type
6580         (writeLaTeX): add missing cases to switch.
6581
6582         * bufferlist.C (quitWriteBuffer): adjust
6583         (close): adjust
6584
6585         * buffer.C (asciiParagraph): remove some commented code.
6586
6587         * CutAndPaste.C: remove current_view extern variable.
6588         (cutSelection): add BufferParams arg.
6589         (eraseSelection): add BufferParams arg.
6590         (pasteSelection): add Buffer const & arg
6591
6592 2003-06-07  John Levon  <levon@movementarian.org>
6593
6594         * buffer.C:
6595         * paragraph_funcs.C:
6596         * paragraph_pimpl.C:
6597         * text.C:
6598         * text2.C:
6599         * paragraph.h:
6600         * paragraph.C: allow InsetERT to freely space lines,
6601         and some consolidation of code
6602
6603 2003-06-06  José Matos  <jamatos@fep.up.pt>
6604
6605         * buffer.C (makeDocBookFile): fix bug #821
6606
6607 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6608
6609         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6610
6611 2003-06-04  Angus Leeming  <leeming@lyx.org>
6612
6613         * buffer.C: bump format to 224.
6614
6615 2003-06-05  André Pönitz  <poenitz@gmx.net>
6616
6617         * text2.C (redoParagraphs): remove two const_cast<>
6618
6619 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6620
6621         * ParagraphList.h: remove last remnants of NO_STD_LIST
6622
6623 2003-06-03  Angus Leeming  <leeming@lyx.org>
6624
6625         * factory.C (createInset): small change to the way InsetExternal's params
6626         are set.
6627
6628 2003-06-04  André Pönitz  <poenitz@gmx.net>
6629
6630         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6631
6632         * paragraph_pimpl.h:
6633         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6634
6635         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6636
6637         * undo_funcs.C: make some simple cases of undo work again
6638
6639 2003-06-03  John Levon  <levon@movementarian.org>
6640
6641         * ispell.C: HPUX doesn't have sys/select.h
6642         (from Albert Chin)
6643
6644 2003-06-03  John Levon  <levon@movementarian.org>
6645
6646         * CutAndPaste.C: update tabular and include inset
6647         buffer references
6648
6649         * buffer.h:
6650         * paragraph.h:
6651         * paragraph.C: remove owningBuffer(), don't pass Buffer
6652         to clone()
6653
6654         * factory.C: insetGraphicsParams changed
6655
6656 2003-06-02  John Levon  <levon@movementarian.org>
6657
6658         * LyXAction.C:
6659         * factory.C:
6660         * lfuns.h:
6661         * lyxfunc.C:
6662         * text3.C: remove insetparent
6663
6664 2003-06-02  John Levon  <levon@movementarian.org>
6665
6666         * buffer.h:
6667         * buffer.C: fix inset_iterator.end(), move out of line
6668         (bug 1149)
6669
6670 2003-06-01  John Levon  <levon@movementarian.org>
6671
6672         * text3.C: use a proper cut/paste when doing inset
6673         insert (from Jürgen Spitzmüller)
6674
6675 2003-06-01  John Levon  <levon@movementarian.org>
6676
6677         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6678
6679 2003-05-30  André Pönitz  <poenitz@gmx.net>
6680
6681         * rowpainter.C: unify second drawing phase
6682
6683 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6684
6685         * trans_mgr.C: remove one case of current_view
6686
6687         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6688
6689         * paragraph_funcs.h: remove paragraph.h include
6690
6691         * paragraph.h: delete NO_STD_LIST stuff
6692
6693         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6694
6695         * buffer.h: remove paragraph.h include
6696
6697         * ParagraphList.C: delete file
6698
6699         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6700
6701         * toc.C (getTocList): adjust
6702
6703         * paragraph_pimpl.C (validate): adjust
6704
6705         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6706
6707         * paragraph.C (Paragraph): adjust
6708         (getPositionOfInset): use const_iterator, adjust
6709         (bibitem): use const_iterator, adjust
6710         (setInsetOwner): adjust
6711
6712         * iterators.C (operator++): adjust
6713
6714         * InsetList.[Ch]: Replace selfmade iterator with standard
6715         vector::iterator also introduce const_iterator. Remove getPos,
6716         getInset and setInset from InsetTable. Adjust accordingly.
6717
6718         * BufferView.C (lockInset): adjust
6719         (ChangeInsets): adjust
6720
6721         * tabular.[Ch]: delete commented same_id functions
6722
6723 2003-05-28  John Levon  <levon@movementarian.org>
6724
6725         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6726
6727 2003-05-28  André Pönitz  <poenitz@gmx.net>
6728
6729         * metricsinfo.[Ch]: remove 'fullredraw' member
6730
6731 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6732
6733         * lyxtextclass.C (operator): remove caching.
6734
6735 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6736
6737         * text3.C: adjust
6738
6739         * text2.C (cursorBottom): adjust
6740         (setCounter): use ParagraphList::find, adjust
6741
6742         * text.C (workWidth): use ParagraphList::find, adjust
6743
6744         * lyxcursor.C (LyXCursor): adjust
6745
6746         * buffer.C (inset_iterator): adjust
6747
6748         * ParagraphList.h: make iterator(value_type) private, make
6749         ParagraphList a friend of iterator.
6750
6751         * ParagraphList.C (find): new function
6752
6753         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6754
6755 2003-05-27  André Pönitz  <poenitz@gmx.net>
6756
6757         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6758
6759 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6760
6761         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6762
6763 2003-05-26  John Levon  <levon@movementarian.org>
6764
6765         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6766
6767 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6768
6769         * remove same_id from function signatures, adjust.
6770
6771 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6774
6775         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6776
6777         * paragraph.C (Paragraph): get rid of same_ids parameter
6778
6779         * ParagraphList.C (insert): adjust
6780         (push_back): adjust
6781
6782 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6783
6784         * paragraph_funcs.C (breakParagraph): adjust
6785         (breakParagraphConservative): adjust
6786
6787         * buffer.C (readParagraph): adjust
6788
6789         * ParagraphList.C (insert): take a reference instead of a pointer
6790         (insert): adjust
6791
6792         * paragraph.[Ch] (id): new function
6793
6794         * bufferlist.C (newFile): adjust
6795
6796         * ParagraphList.C (ParagraphList): adjust
6797         (assign): adjust
6798         (push_back): take a reference instead of a pointer.
6799
6800         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6801
6802         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6803         instead.
6804
6805         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6806         set else use old code.
6807
6808         * ParagraphList.C: remove all NO_NEXT code and only compile this
6809         code of NO_STD_LIST is set.
6810
6811 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6812
6813         * BufferView_pimpl.C:
6814         * TextCache.C:
6815         * TextCache.h:
6816         * bufferlist.C:
6817         * errorlist.h:
6818         * format.C:
6819         * format.h:
6820         * graph.C:
6821         * lyxfunc.C:
6822         * lyxrc.C:
6823         * graphics/GraphicsConverter.C:
6824         * graphics/PreviewLoader.C: header adjustment
6825
6826 2003-05-23  Angus Leeming  <leeming@lyx.org>
6827
6828         * LaTeXFeatures.[Ch] (useBabel): new method.
6829         * bufferparams.C (writeLaTeX): use it.
6830
6831 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6832
6833         * ParagraphList.h (set): remove unused function.
6834
6835 2003-05-23  André Pönitz  <poenitz@gmx.net>
6836
6837         * BufferView.C:
6838         * BufferView_pimpl.C:
6839         * buffer.C:
6840         * buffer.h:
6841         * lyxfunc.C:
6842         * undo_funcs.C: setUndo reworked
6843
6844         * iterators.[Ch]: add access to topmost ParagraphList
6845
6846         * lyxtext.[Ch] (workWidth): add a const
6847
6848 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6849
6850         * texrow.[Ch] (increasePos): remove function
6851         * exporter.C (export): removed unused var and outdated comment
6852
6853 2003-05-23  Angus Leeming  <leeming@lyx.org>
6854
6855         * latexrunparams.h: rename fragile as moving_arg.
6856         * paragraph.C (simpleTeXOnePar): ditto.
6857         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6858
6859 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6860
6861         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6862         (createUndo): ditto
6863         (textUndoOrRedo): comment out a currently unused var.
6864
6865         * paragraph.h (NO_NEXT): enable NO_NEXT
6866
6867         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6868
6869         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6870
6871         * exporter.C (Export): adjust for removeAutoInsets removal.
6872
6873         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6874
6875         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6876
6877         * BufferView.[Ch] (removeAutoInsets): delete function
6878
6879 2003-05-22  Angus Leeming  <leeming@lyx.org>
6880
6881         * latexrunparams.h: add a free_spacing variable.
6882
6883         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6884         to pass moving_arg, as the data is stored in runparams.fragile.
6885
6886         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6887         to Inset::latexOptional or to simpleTeXOnePar.
6888
6889         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6890         free_spacing arg to Inset::latexOptional.
6891
6892         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6893         free_spacing arg.
6894
6895 2003-05-22  Angus Leeming  <leeming@lyx.org>
6896
6897         * latexrunparams.h: add fragile and use_babel variables.
6898
6899         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6900         * buffer.C (makeLaTeXFile): store this returned value in
6901         runparams.use_babel, thus passing it to the inset::latex methods.
6902
6903         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6904         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6905
6906         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6907         longer has a fragile arg, as it is stored in runparams.fragile.
6908
6909         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6910         moving_arg parameter as the data is stored in runparams.fragile.
6911
6912         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6913         a fragile parameter as the data is stored in runparams.fragile.
6914
6915 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6916
6917         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6918
6919 2003-05-22  Angus Leeming  <leeming@lyx.org>
6920
6921         * latexrunparams.h: add a 'bool nice' which defaults to false.
6922
6923         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6924         now encapsulated within runparams.
6925
6926         * bufferlist.C (updateIncludedTeXfiles):
6927         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6928
6929 2003-05-22  Angus Leeming  <leeming@lyx.org>
6930
6931         * latexrunparams.h: new file containing struct LatexRunParams.
6932         * Makefile.am: add new file.
6933
6934         * LaTeX.[Ch] (c-tor, run):
6935         * buffer.[Ch] (makeLaTeXFile):
6936         * bufferlist.[Ch] (updateIncludedTeXfiles):
6937         * converter.C (convert, scanLog):
6938         * converter.[Ch] (runLaTeX):
6939         * exporter.C (Export):
6940         * paragraph.[Ch] (simpleTeXOnePar):
6941         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6942         * paragraph_funcs.[Ch] (latexParagraphs):
6943         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6944         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6945         pass around a LatexRunParams parameter.
6946
6947 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6948
6949         * paragraph.[Ch]: remove unused constructor
6950
6951         * ParagraphList.C (erase): new function, taking two iterators
6952
6953 2003-05-22  André Pönitz  <poenitz@gmx.net>
6954
6955         * undo_funcs.C: remove duplicated code
6956
6957         * iterator.[Ch]: operator=
6958
6959 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6960
6961         * tabular.C (SetMultiColumn): ws changes
6962
6963         * rowpainter.C (paintFirst): get rid of a ->previous
6964
6965         * lyx_cb.C (getPossibleLabel): parlist simplification
6966
6967         * BufferView.C (ChangeInsets): simplify slightly.
6968
6969 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6970
6971         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6972         * lfuns.h: new LFUN_SPACE
6973         * lyxfunc.C: protected space has a new lfun
6974         * paragraph_funcs.C: read new space insets
6975         * text3.C:
6976         * factory.C: handle new space insets
6977
6978 2003-05-22  André Pönitz  <poenitz@gmx.net>
6979
6980         * BufferView.C:
6981         * BufferView_pimpl.C:
6982         * buffer.[Ch]:
6983         * lyxfunc.C:
6984         * undo_funcs.C: return a ParIterator from getParFromID.
6985
6986         * iterators.[Ch]: add two const's
6987
6988 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6989
6990         * toc.C (getTocList): adjust
6991
6992         * iterators.[Ch]: rework for parlist
6993
6994         * buffer.C (par_iterator_begin): adjust
6995         (par_iterator_end): adjust
6996
6997         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6998
6999         * BufferView.C (removeAutoInsets): adjust
7000         (ChangeInsets): adjust
7001
7002 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7003
7004         * text.C (top_y): fix bug 1110
7005
7006 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7007
7008         * errorlist.[Ch]: added
7009         * buffer.C:
7010         * BufferView.[Ch]:
7011         * BufferView_pimpl.C:
7012         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7013         instead
7014
7015 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7016
7017         * Makefile.am: ensure that lyx is relinked upon changes to the
7018         various "convenience" libs.
7019
7020 2003-05-20  Angus Leeming  <leeming@lyx.org>
7021
7022         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7023         files are compiled in alphabetical order again.
7024
7025         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7026
7027 2003-05-19  Angus Leeming  <leeming@lyx.org>
7028
7029         * gettext.[Ch]: remove "char const * _(char const *)".
7030
7031 2003-05-19  André Pönitz  <poenitz@gmx.net>
7032
7033         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7034
7035         * Makefile.am:
7036         * BufferView.C:
7037         * DepTable.h:
7038         * LaTeXFeatures.C:
7039         * buffer.C:
7040         * lyxfont.C:
7041         * lyxlex.h:
7042         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7043
7044 2003-05-19  André Pönitz  <poenitz@gmx.net>
7045
7046         * buffer.C:
7047         * lyxlayout.[Ch]:
7048         * lyxtextclass.[Ch]:
7049         * paragraph.C:
7050         * paragraph_funcs.[Ch]:
7051         * text2.C:
7052         * text3.C: more insetenv work
7053
7054 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7055
7056         * ParagraphParameters.C (params2string): small bug fixed
7057
7058 2003-05-16  André Pönitz  <poenitz@gmx.net>
7059
7060         * debug.C:
7061         * bufferview_funcs.C: patch from Kornel Benko to prevent
7062           crash when _(...) is called twice in a statement
7063
7064 2003-05-16  André Pönitz  <poenitz@gmx.net>
7065
7066         * BufferView.C:
7067         * lyxfunc.C:
7068         * text.C:
7069         * text2.C:
7070         * text3.C:
7071         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7072
7073 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7074
7075         * lyx_main.C (init): remove spurious static_cast
7076
7077 2003-05-14  André Pönitz  <poenitz@gmx.net>
7078
7079         * BufferView.C: fix format string
7080
7081 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7082
7083         * BufferView.[Ch] (insertErrors): removed
7084         * BufferView.[Ch] (showErrorList): added
7085         * buffer.C (runChkTeX):
7086         * converter.C (scanLog): call showErrorList instead of inserterrors
7087
7088 2003-05-13  André Pönitz  <poenitz@gmx.net>
7089
7090         * BufferView_pimpl.C:
7091         * buffer.C:
7092         * bufferview_func.C:
7093         * MenuBackend.C:
7094         * lyxfunc.C:
7095         * lyxrc.C:
7096         * tex-accent.C:
7097         * text3.C:
7098         * toc.C:
7099         * tabular_funcs.h: tostr() from its own header
7100
7101         * ParagraphParameters.C:
7102         * ToolbarBackend.C:
7103         * bufferparams.C:
7104         * format.C:
7105         * lyxlex_pimpl.C:
7106         * text3.C: STRCONV()
7107
7108 2003-05-12  André Pönitz  <poenitz@gmx.net>
7109
7110         * BufferView.C:
7111         * BufferView_pimpl.C:
7112         * CutAndPaste.C:
7113         * LaTeX.C:
7114         * LaTeXFeatures.C:
7115         * ParagraphParameters.C:
7116         * buffer.C:
7117         * bufferlist.C:
7118         * bufferparams.C:
7119         * bufferview_funcs.C:
7120         * converter.C:
7121         * counters.C:
7122         * debug.C:
7123         * exporter.C:
7124         * format.C:
7125         * importer.C:
7126         * lyx_cb.C:
7127         * lyx_main.C:
7128         * lyxfont.C:
7129         * lyxfunc.C:
7130         * lyxvc.C:
7131         * paragraph.C:
7132         * paragraph_funcs.C:
7133         * tabular.C:
7134         * tabular_funcs.C:
7135         * text2.C:
7136         * text3.C:  boost::format -> bformat  all over the place
7137
7138
7139 2003-05-09  André Pönitz  <poenitz@gmx.net>
7140
7141         * LColor.[Ch]: Pimpl the #include <map> away
7142
7143 2003-05-09  John Levon  <levon@movementarian.org>
7144
7145         * bufferlist.C: never remove emergency saves
7146
7147 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7148
7149         * Makefile.am: better lib building
7150
7151 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7152
7153         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7154         instead.
7155         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7156         (simpleTeXSpecialChars): adjust
7157         (simpleTeXSpecialChars): adjust
7158         * paragraph.C (simpleTeXOnePar): adjust
7159         * buffer.C (makeLaTeXFile): adjust
7160
7161         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7162
7163         * text2.C (changeDepth): parlist cleanup
7164         (getColumnNearX): ditto
7165
7166         * rowpainter.C (getLabelFont): parlist cleanup
7167
7168         * bufferlist.C (newFile): parlist cleanup
7169
7170         * CutAndPaste.C (eraseSelection): parlist cleanup
7171
7172         * BufferView_pimpl.C (trackChanges): parlist cleanup
7173         (dispatch): ditto
7174
7175         * BufferView.C (lockInset): parlist cleanup.
7176         (ChangeInsets): ditto
7177
7178 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7179
7180         * CutAndPaste.h: Update file header.
7181
7182         * CutAndPaste.C: Update file header.
7183         Store the parts cut out of the Document in a limited_stack.
7184         (copySelection): adjust
7185         (pasteSelection): new function, takes the index in the limited stack.
7186         (nrOfParagraphs): adjust
7187         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7188         simplify error inset insertion.
7189         (checkPastePossible): adjust
7190
7191 2003-05-06  John Levon  <levon@movementarian.org>
7192
7193         * text2.C: don't cast wrap inset to float
7194
7195 2003-05-05  André Pönitz  <poenitz@gmx.net>
7196
7197         * iterator.C:
7198         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7199
7200         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7201           few naked Paragraph *.
7202
7203 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7204
7205         * bufferparams.C: Output warning if a document with missing
7206         TeX document class is loaded
7207         * exporter.C: Disable TeX exports if the document class is missing
7208         * lyxtextclass.C:
7209         * lyxtextclass.h:
7210         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7211         isTeXClassAvailable()
7212
7213 2003-05-03  John Levon  <levon@movementarian.org>
7214
7215         * BufferView.h:
7216         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7217         explicit cursor show/hide
7218
7219         * BufferView_pimpl.h:
7220         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7221         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7222
7223         * lyxfunc.C: hide cursor before dispatching.
7224
7225         * lyx_cb.C:
7226         * lyxfind.C:
7227         * text.C:
7228         * text3.C: remove explicit cursor hides
7229
7230 2003-05-02  André Pönitz  <poenitz@gmx.net>
7231
7232         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7233
7234         * undo_funcs.C:
7235         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7236           linked lists
7237
7238         * text2.C: tiny whitespace
7239
7240 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7241
7242         * undo_funcs.C: almost only ws changes.
7243
7244         * ParagraphList.C (splice): just return if pl is empty.
7245
7246 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7247
7248         * ParagraphList.C (splice): new function.
7249
7250         * CutAndPaste.C (pasteSelection): use it
7251
7252 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7253
7254         * CutAndPaste.C (pasteSelection): remove the last next and
7255         previous from this file.
7256
7257 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7258
7259         * CutAndPaste.C (pasteSelection): more clean up, user proper
7260         ParagraphList functions for pasteing.
7261
7262         * ParagraphList.C (insert): new function, three arg insert
7263
7264 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7265
7266         * ParagraphList.C (insert): new function, three arg insert
7267
7268         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7269         not on paragraphs.
7270
7271 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7272
7273         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7274
7275 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7276
7277         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7278
7279 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7280
7281         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7282         (copySelection): clean up a bit.
7283         (pasteSelection): use make_pair
7284
7285         * ParagraphList.C (ParagraphList): implement copy constructor
7286         (operator=): implement, base on copy constructor.
7287         (assign): new func
7288
7289         * paragraph.C (erase): return a bool
7290
7291         * paragraph_pimpl.C (erasePos): remove function, move contents...
7292         (erase): ... here. Return a bool.
7293         (erase): call erase instead of erasePos.
7294
7295 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7296
7297         * ParagraphList.h: define PitPosPair
7298         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7299         ParagraphList, fix a bug on pasting multiple pars
7300         * text2.C: change interface to C&P
7301
7302 2003-04-30  André Pönitz  <poenitz@gmx.net>
7303
7304         * undo_func.C: revert part of yesterday's patch 2
7305
7306 2003-04-30  John Levon  <levon@movementarian.org>
7307
7308         * LColor.C: s/tabular/table/
7309
7310 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7311
7312         * text3.C (dispatch): do not convert iterator -> pointer
7313         * undo_funcs.C (setCursorParUndo): ditto
7314         * text_funcs.C (transposeChars): ditto
7315
7316         * text2.C (setLayout): ws changes only
7317
7318         * text.C (breakParagraph): do not convert iterator -> pointer
7319         (insertChar): ditto
7320         (acceptChange): ditto
7321         (rejectChange): ditto
7322         (changeCase): ditto
7323         (Delete): ditto
7324         (backspace): ditto
7325
7326         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7327         pointer
7328
7329 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7330
7331         * text3.C (gotoInset): YABG (yet another bad getChar)
7332
7333 2003-04-29  André Pönitz  <poenitz@gmx.net>
7334
7335         * paragraph.h: make operator= private unimplemented as long as
7336           it is unusable
7337
7338         * ParagraphList.C: whitespace
7339
7340         * paragraph.[Ch]:
7341         * paragraph_pimpl.[Ch]:
7342         * paragraph_funcs.C:
7343         * CutAndPaste.C:
7344         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7345
7346         * text2.C:
7347           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7348
7349 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7350
7351         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7352         * paragraph.[Ch] (erase):
7353         * paragraph_pimpl.[Ch] (erase): change return type and value
7354         * text2.C (cutSelection): some rework
7355
7356 2003-04-28  John Levon  <levon@movementarian.org>
7357
7358         * bufferlist.C: changes for unsaved changes dialog
7359
7360 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7361
7362         * bufferlist.C (newFile): set language (messages_) for new
7363         documents also.
7364
7365         * buffer.C (readFile): ws changes only.
7366
7367 2003-04-28  André Pönitz  <poenitz@gmx.net>
7368
7369         * undo_funcs.C:
7370         * lyxfunc.C:
7371         * buffer.[Ch]:
7372         * BufferView_pimpl.C:
7373         * BufferView.C: getParFromID related ParagraphList::iterator changes
7374
7375 2003-04-28  André Pönitz  <poenitz@gmx.net>
7376
7377         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7378           Changes
7379
7380 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7381
7382         * messages.C: remove one more localedir class variable.
7383
7384 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7385
7386         * messages.C (getLocaleDir): singleton generation function
7387         (Pimpl): use it.
7388         (Messages): add a default constructor.
7389
7390         * main.C (main): do not setup localedir here, do not call
7391         gettext_init.
7392
7393         * gettext.C (_): use it.
7394         (gettext_init): delete funciton
7395
7396 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7397
7398         * gettext.C (getLyXMessages): new singleton generating function.
7399
7400         * buffer.C (updateDocLang): adjust
7401
7402         * Makefile.am (messages.o): add target
7403         (main.o): remove target
7404
7405 2003-04-27  John Levon  <levon@movementarian.org>
7406
7407         * bufferlist.C:
7408         * lyx_cb.C:
7409         * lyxfunc.C:
7410         * lyxvc.C: specify cancel button in Alert::prompt
7411
7412 2003-04-26  John Levon  <levon@movementarian.org>
7413
7414         * text3.C:
7415         * lyxfunc.C:
7416         * lfuns.h:
7417         * LyXAction.C: add LFUN_INSET_SETTINGS
7418
7419         * lyxfunc.C: don't enable tabular-feature when there's
7420         just any locking inset
7421
7422 2003-04-26  John Levon  <levon@movementarian.org>
7423
7424         * bufferlist.C: re-add Cancel to buffer close question
7425
7426         * lyxfunc.C: fix import UI a bit
7427
7428 2003-04-25  John Levon  <levon@movementarian.org>
7429
7430         * gettext.C: remove the broken asserts for now
7431
7432 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7433
7434         * messages.C: make case where setlocale cannot comply work better.
7435
7436         * buffer.C (updateDocLang): new function
7437         (changeLanguage): use it
7438         (readFile): use it
7439
7440         * text2.C (setCounter): use B_ a bit.
7441
7442         * lyxlayout.C (Read): be sure to trim the label strings.
7443
7444         * messages.C (Messages): fix typo in comment
7445
7446         * buffer.C (readFile): set message_ after file is loaded.
7447         (makeDocBookFile): remove double return
7448         (changeLanguage): reset message_ upon language change.
7449         (B_): new func, use this to get translated buffer strings.
7450
7451         * main.C: add myself and Jean Marc as authors.
7452
7453 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7454
7455         * messages.[hC]: pimplify Messages, and three different pimpls to be
7456         used in different circumstances.
7457
7458         * gettext.[Ch]: change for use with new message code.
7459
7460 2003-04-24 André Pönitz <poenitz@gmx.net>
7461
7462         * factory.C: support for eqref
7463
7464 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7465
7466         * messages.[Ch]: add missing char
7467
7468         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7469
7470         * messages.[Ch]: New files
7471
7472 2003-04-18  John Levon  <levon@movementarian.org>
7473
7474         * BufferView.h:
7475         * BufferView.C:
7476         * BufferView_pimpl.C:
7477         * lfuns.h:
7478         * LyXAction.C:
7479         * lyxtext.h:
7480         * text2.C: remove layout-copy/paste (bug 778)
7481
7482 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7483
7484         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7485
7486 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7487
7488         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7489         if they succeed. Act accordingly.
7490
7491 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7492
7493         * text2.C (setCharFont): adjust
7494         (setCounter): adjust
7495         (insertStringAsLines): adjust
7496
7497         * text.C (leftMargin): adjust
7498         (setHeightOfRow): adjust
7499
7500         * rowpainter.C (paintFirst): adjust
7501         (paintLast): adjust
7502
7503         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7504         (outerHook): ditto
7505         (isFirstInSequence): ditto
7506         (getEndLabel): ditto
7507         (outerFont): adjust
7508
7509         * paragraph.C (getParLanguage): comment out some hard stuff.
7510
7511         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7512         (sgmlError): ditto
7513         (simpleDocBookOnePar): ditto
7514         (makeDocBookFile): use ParagraphList::iterator
7515
7516         * CutAndPaste.C (pasteSelection): adjust
7517
7518 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7519
7520         * text2.C (getFont): adjust
7521         (getLayoutFont): adjust
7522         (getLabelFont): adjust
7523
7524         * paragraph_funcs.C (TeXOnePar): adjust
7525
7526         * buffer.C (simpleLinuxDocOnePar): adjust
7527         (simpleDocBookOnePar): adjust
7528
7529         * CutAndPaste.C (pasteSelection): adjust
7530
7531         * BufferView.C (getEncoding): adjust
7532
7533         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7534
7535 2003-04-16  John Levon  <levon@movementarian.org>
7536
7537         * lyxfind.C: use parlist stuff for search/changes
7538
7539 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7540
7541         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7542
7543         * text2.C (deleteEmptyParagraphMechanism): adjust
7544
7545         * text2.[Ch] (ownerParagraph): delete func (both of them
7546
7547 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7548
7549         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7550
7551 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7552
7553         * ParagraphList.C: prepare for NO_NEXT
7554
7555 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7556
7557         * text2.C (getFont): adjust
7558         (getLayoutFont): adjust
7559         (getLabelFont): adjust
7560
7561         * paragraph.C (getFont): adjust
7562         (getLabelFont): adjust
7563         (getLayoutFont): adjust
7564
7565         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7566
7567 2003-04-15  John Levon  <levon@movementarian.org>
7568
7569         From Angus Leeming
7570
7571         * lyx_main.C: handle Include in .ui files
7572
7573 2003-04-15  John Levon  <levon@movementarian.org>
7574
7575         * MenuBackend.C: make the doc files length shorter
7576
7577         * ToolbarBackend.h:
7578         * ToolbarBackend.C: handle toolbar placement flags,
7579         Minibuffer
7580
7581 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7582
7583         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7584         adjust
7585
7586         * paragraph_funcs.C (TeXOnePar): adjust
7587
7588         * paragraph.C (getLabelFont): add outerfont arg, adjust
7589         (getLayoutFont): ditto
7590         (simpleTeXOnePar): adjust
7591
7592         * paragraph_pimpl.C (realizeFont): delete func
7593
7594 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7595
7596         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7597         row argument, constify cur argument.
7598
7599 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7600
7601         * text2.C (getFont): adjust
7602         (getLayoutFont): adjust
7603         (getLabelFont): adjust
7604
7605         * paragraph_funcs.C (TeXOnePar): adjust
7606         (outerFont): new func...
7607         (realizeFont): ...moved out from here, changed this to facilitate
7608         transition
7609
7610         * paragraph.C (getFont): take outerfont as arg, adjust
7611         (simpleTeXOnePar): add outerfont arg, adjust
7612
7613         * buffer.C (simpleLinuxDocOnePar): adjust
7614         (simpleDocBookOnePar): adjust
7615
7616         * CutAndPaste.C (pasteSelection): adjust
7617
7618         * BufferView.C (getEncoding): adjust
7619
7620 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7621
7622         * text2.C (setCharFont): adjust
7623         (setCounter): adjust
7624
7625         * text.C (leftMargin): adjust
7626         (setHeightOfRow): adjust
7627
7628         * rowpainter.C (paintFirst): adjust
7629         (paintLast): adjust
7630
7631         * paragraph_pimpl.C (realizeFont): adjust
7632
7633         * paragraph.C (isFirstInSequence): move from here...
7634         * paragraph_funcs.C (isFirstInSequence): ...to here
7635
7636         * paragraph.C (outerHook): move from here...
7637         * paragraph_funcs.C (outerHook): ...to here
7638
7639         * paragraph.C (depthHook): move from here...
7640         * paragraph_funcs.C (depthHook): ...to here
7641
7642         * paragraph.C (getEndLabel): move from here...
7643         * paragraph_funcs.C (getEndLabel): ...to here
7644
7645         * text2.C (realizeFont): move from here...
7646         * paragraph_funcs.C (realizeFont): ...to here
7647
7648 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7649
7650         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7651
7652 2003-04-14  Angus Leeming  <leeming@lyx.org>
7653
7654         * LColor.[Ch]: scrap LColor mathcursor.
7655
7656 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7657
7658         * lyxlex.[Ch] (text): delete function
7659         * trans.C (Load): adjust
7660         * paragraph_funcs.C (readParToken): adjust
7661
7662 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7663
7664         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7665         vector<char> instead of a char[].
7666
7667         * lyxlex_pimpl.C (getString): adjust
7668         (next): adjust
7669         (lex): use getString
7670         (eatLine): adjust
7671         (nextToken): adjust
7672
7673         * lyxlex.C (text): use pimpl_->getString()
7674         (getBool): ditto
7675         (findToken): ditto
7676
7677 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7678
7679         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7680         (makeFontEntriesLayoutSpecific): temp var for par.size()
7681         (setLayout): temp var for ownerParagraphs().end()
7682         (fullRebreak): temp var for rows().end()
7683         (selectionAsString): temp var for boost::next(startpit), realize
7684         that the while really is a regular for loop.
7685         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7686         setCursor in one place.
7687         (setParagraph): temp vr for ownerParagraphs().end()
7688         (updateCounters): make the while loop a for loop
7689         (cutSelection): temp var for ownerParagraphs().end()
7690         (updateInset): make the do {} while() a regular for loop
7691         (getCursorX): use temp vars
7692         (setCurrentFont): use temp vars
7693         (getColumnNearX): use temp vars
7694
7695 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7696
7697         * text.C (transformChar): use temp var for getChar
7698         (computeBidiTables): use temp var for row->par()
7699         (fill): move temp vars for row->par() and pit->layout() earlier in
7700         the function.
7701         (labelFill): use temp var for row->par()
7702         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7703         asc and desc, realize that pit never changes and that firstpit is
7704         just a duplicate and not needed. Exchange rit->par() with pit in a
7705         lot of places.
7706         (breakAgain): use a temp var for boost::next(rit)
7707         (breakAgainOneRow): ditto
7708         (breakParagraph): use a temp var for rows().begin()
7709         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7710         (cursorRightOneWord): use temp var for cursor.par() and
7711         cursor.pos(), remove usage of tmpcursor.
7712         (cursorLeftOneWord): use temp var for cursor.par() and
7713         cursor.pos() only set cur at end of function.
7714
7715 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7716
7717         * text.C, text2.C: exchange all usage of Paragraph::next with
7718         boost::next(ParagraphList::iterator)
7719
7720         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7721
7722         * text2.C (cursorTop): simplify implementation
7723         (cursorBottom): ditto
7724         (setParagraph): use ParagraphList::iterator
7725         (setCurrentFont): adjust
7726         (getColumnNearX): adjust
7727         (cursorRight): adjust
7728         (cursorLeft): remove usage of Paragraph::previous
7729         (cursorUpParagraph): ditto
7730         (deleteEmptyParagraphMechanism): slight cleanup
7731
7732         * text.C (isBoundary): take a Paragraph const & instead of a
7733         pointer as arg.
7734         (addressBreakPoint): ditto
7735         (leftMargin): remove usage of Paragraph::previous.
7736         (setHeightOfRow): ditto
7737         (cursorLeftOneWord): ditto
7738         (selectNextWordToSpellcheck): ditto
7739         (Delete): ditto
7740         (backspace): ditto
7741         (breakParagraph): remove one usage of Paragraph::next
7742         (redoParagraph): ditto
7743         (acceptChange): ditto
7744         (insertChar): adjust
7745         (rowBreakPoint): adjust
7746
7747         * bufferview_funcs.C (toggleAndShow): adjust
7748
7749 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7750
7751         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7752         methods to access it.
7753         * lyxtext.h:
7754         * text.C: Added updateRowPositions to compute all row positions.
7755         Make top_y and getRowNearY() to use the cached y position
7756
7757 2003-04-11  John Levon  <levon@movementarian.org>
7758
7759         * text.C (rowBreakPoint): reintroduce the labelEnd
7760         checks, code copied from the row fill stuff. Deep voodoo.
7761
7762         * text.C (fill): add a comment and debugging for the
7763         next poor soul.
7764
7765 2003-04-11  John Levon  <levon@movementarian.org>
7766
7767         * text.C: make sure fullrow insets get wrapped to the next line,
7768         even when they're in a manual label
7769
7770 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7771
7772         * text2.C (insertParagraph): make it take ParagraphList::iterator
7773         as arg.
7774         (setLayout): make it return ParagraphList::iterator
7775         (redoParagraphs): ditto
7776         (setCounter): ditto
7777         (checkParagraph): ditto
7778
7779         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7780
7781         * text2.C: adjust several funcs.
7782         (realizeFont): take a ParagraphList::iterator as arg.
7783         (getLayoutFont): ditto
7784         (getLabelFont): ditto
7785         (setCharFont): ditto
7786
7787         * text.C: adjust several funcs.
7788
7789 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7790
7791         * text.C (selectNextWordToSpellcheck): don't accidentally
7792         skip insets
7793
7794 2003-04-10  John Levon  <levon@movementarian.org>
7795
7796         * ToolbarBackend.C (getIcon): special handling for
7797         LFUN_MATH_DELIM
7798
7799 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7800
7801         * text2.C (cursorRight): a getChar assert fixed
7802
7803 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7804
7805         * text2.C (getFont): change to take a ParagraphList::iterator
7806         instead of Paragraph*
7807         Adjust several functions.
7808
7809         * text.C (transformChar): change to take a ParagraphList::iterator
7810         instead of Paragraph*
7811         (singleWidth): ditto
7812         Adjust several functions.
7813
7814         * rowpainter.C: adjust several functions
7815         * rowpainter.h:store a ParagraphList::iterator and not a
7816         Paragraph&.
7817
7818
7819 2003-04-09  John Levon  <levon@movementarian.org>
7820
7821         * lyxfunc.C:
7822         * lfuns.h:
7823         * LyXAction.h:
7824         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7825         and the "help" bits as well
7826
7827 2003-04-09  John Levon  <levon@movementarian.org>
7828
7829         * ToolbarBackend.h:
7830         * ToolbarBackend.C: allow multiple toolbars
7831
7832 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7833
7834         * undo_funcs.C (setCursorParUndo): adjust
7835
7836         * text_funcs.C (transposeChars): adjust
7837
7838         * text3.C (gotoNextInset): adjust
7839         (dispatch): adjust
7840
7841         * text2.C (setLayout): adjust
7842         (changeDepth): adjust
7843         (setFont): adjust
7844         (redoParagraphs): adjust
7845         (selectionAsString): adjust
7846         (setParagraph): adjust
7847         (insertInset): adjust
7848         (cutSelection): adjust
7849         (copySelection): adjust
7850         (pasteSelection): adjust
7851         (insertStringAsLines): adjust
7852         (updateInset): adjust
7853         (setCursor): change to take a ParagraphList::iterator parameter
7854         (setCursorIntern): change to take a ParagraphList::iterator parameter
7855         (setCurrentFont): adjust
7856         (cursorLeft): adjust
7857         (cursorRight): adjust
7858         (deleteEmptyParagraphMechanism): adjust
7859
7860         * text.C (breakParagraph): adjust
7861         (insertChar): adjust
7862         (acceptChange): adjust
7863         (rejectChange): adjust
7864         (selectNextWordToSpellcheck): adjust
7865         (changeCase): adjust
7866         (Delete): adjust
7867         (backspace): adjust
7868
7869         * lyxfind.C (SearchForward): adjust
7870         (SearchBackward): adjust
7871         (nextChange): adjust
7872
7873         * lyxcursor.C (par): adjust
7874
7875         * lyxcursor.h: store a ParagraphList::iterator instead of a
7876         Paragraph*
7877
7878         * lyx_cb.C (getPossibleLabel): adjust
7879
7880         * bufferview_funcs.C (toggleAndShow): adjust
7881
7882         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7883         (dispatch): adjust
7884
7885         * BufferView.C (removeAutoInsets): adjust
7886         (lockedInsetStoreUndo): adjust
7887
7888 2003-04-09  John Levon  <levon@movementarian.org>
7889
7890         * ToolbarBackend.C: try icon without argument
7891         if with argument fails
7892
7893 2003-04-08  John Levon  <levon@movementarian.org>
7894
7895         * ToolbarBackend.h:
7896         * ToolbarBackend.C: add getIcon(), handle tooltip,
7897         and change from "Icon" to "Item".
7898
7899 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7900
7901         * BufferView.C (lockInset): another bad getchar crunched
7902
7903 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7904
7905         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7906         again)
7907
7908 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7909
7910         * lyxfind.C (searchForward, searchBackwards): bug 782
7911
7912 2003-04-07  John Levon  <levon@movementarian.org>
7913
7914         * paragraph.C: remove dead comment
7915
7916         * text.C: remove troublesome depth-fiddling code
7917         in leftMargin() and rightMargin() (bug 1017)
7918
7919         * text.C: fix breaking of rows in nested lists
7920         (bug 1004)
7921
7922         * text2.C (updateCounters): fix up depth values
7923         (bug 1013)
7924
7925 2003-04-07  John Levon  <levon@movementarian.org>
7926
7927         * BufferView_pimpl.C: clear message when doc finishes resizing,
7928         and after a mouse event
7929
7930         * lyxfunc.C: clear message after exiting inset
7931
7932 2003-04-07  John Levon  <levon@movementarian.org>
7933
7934         * bufferview_funcs.C: show math status not outside
7935         status in the statusbar
7936
7937 2003-04-07  John Levon  <levon@movementarian.org>
7938
7939         * lyxfunc.C: note status changed after a depth change
7940
7941 2003-04-04  Angus Leeming  <leeming@lyx.org>
7942
7943         * LaTeX.h: move AuxInfo operator==, != out of line.
7944         Remove LaTeX virtual destructor; nothing derives from it.
7945         Move operator()() out of public area and rename it startscript().
7946         Change protected for private.
7947
7948 2003-04-04  Angus Leeming  <leeming@lyx.org>
7949
7950         * lyxfunc.C:
7951         * text2.C: remove unneeded #includes.
7952
7953 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7954
7955         * text2.C (dEPM): fix the heigth of the next row
7956
7957 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7958
7959         * text.C: squashed an invalid getChar requester + some ws changes
7960
7961 2003-04-03  John Levon  <levon@movementarian.org>
7962
7963         * bufferview_funcs.h:
7964         * bufferview_funcs.C:
7965         * lyxfunc.C:
7966         * lyxtext.h:
7967         * text2.C: make getStatus work for the env depth lfuns
7968
7969 2003-04-03  John Levon  <levon@movementarian.org>
7970
7971         * bufferview_funcs.h:
7972         * bufferview_funcs.C:
7973         * lyxfunc.C:
7974         * lyxtext.h:
7975         * text2.C: parlistize decDepth(), by merging it with incDepth()
7976
7977 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7978
7979         * lyxrow.h: store a ParagraphList::iterator instead of a
7980         Paragraph* and adjust other class functions to suit.
7981
7982         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7983         above.
7984
7985 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7986
7987         * text2.C (setCursor): do not anchor to cursor row for the time being
7988
7989 2003-04-02  John Levon  <levon@movementarian.org>
7990
7991         * LyXAction.C:
7992         * lfuns.h:
7993         * lyx_main.C:
7994         * lyxtext.h:
7995         * text.C:
7996         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7997
7998 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7999
8000         * paragraph.h: make ParagraphList and ParagraphList::iterator
8001         friends of Paragraph.
8002
8003         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8004
8005         * ParagraphList.C: Use the private next_ and previous_ from
8006         Paragraph.
8007
8008 2003-04-01  John Levon  <levon@movementarian.org>
8009
8010         * ToolbarBackend.h:
8011         * ToolbarBackend.C:
8012         * Makefile.am: rename, remove defaults gunk
8013
8014         * MenuBackend.h:
8015         * MenuBackend.C: remove defaults gunk
8016
8017         * Languages.h:
8018         * Languages.C: remove defaults gunk
8019
8020         * lyx_main.h:
8021         * lyx_main.C: error out if files couldn't be found.
8022
8023 2003-04-02  John Levon  <levon@movementarian.org>
8024
8025         * text2.C: make incDepth() use parlist
8026
8027 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8028
8029         * undo_funcs.C (firstUndoParagraph): adjust
8030
8031         * text3.C (gotoInset): adjust
8032         (dispatch): adjust, and rewrite loop.
8033
8034         * text2.C (init): adjust, and rewrite loop.
8035         (redoParagraphs): adjust
8036         (updateInset): adjust, and rewrite loop.
8037         (deleteEmptyParagraphMechanism): adjust
8038
8039         * tabular.C (LyXTabular): adjust
8040         (SetMultiColumn): adjust
8041         (TeXRow): adjust
8042
8043         * lyxtext.[Ch] (ownerParagraph): delete function
8044         (ownerParagraphs): new function returns a ParagraphList.
8045
8046         * BufferView.C (removeAutoInsets): adjust
8047         (insertErrors): adjust
8048         (setCursorFromRow): adjust
8049
8050 2003-04-01  Angus Leeming  <leeming@lyx.org>
8051
8052         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8053         in the frontends.
8054
8055 2003-04-02  John Levon  <levon@movementarian.org>
8056
8057         * lyxtext.h:
8058         * text.C:
8059         * Makefile.am:
8060         * text_funcs.h:
8061         * text_funcs.C: make transposeChars a free function
8062
8063         * lyxrow_funcs.C: remove wrong comment
8064
8065 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8066
8067         * lyxtext.h: adjust
8068         * rowpainter.C: adjust
8069         * text.C: adjust
8070         * text2.C: adjust
8071         * text3.C: adjust
8072
8073         * lyxrow_funcs. [Ch]: new files
8074
8075         * lyxrow.[Ch]: remove next and previous pointers
8076         (next,previous): remove accessor functions
8077         (isParEnd): move to lyxrow_funcs
8078         (lastPos): move to lyxrow_funcs
8079         (nextRowIsAllInset): move to lyxrow_funcs
8080         (lastPrintablePos): move to lyxrow_funcs
8081         (numberOfSeparators): move to lyxrow_funcs
8082         (numberOfHfills): move to lyxrow_funcs
8083         (numberOfLabelHfills): move to lyxrow_funcs
8084         (hfillExpansion): move to lyxrow_funcs
8085
8086         * lyxfunc.C: adjust
8087
8088         * bufferview_funcs.C (toggleAndShow): adjust
8089
8090         * RowList.h: Remove class RowList from file leave just a
8091         std::list<Row>.
8092
8093         * RowList.C: delete file
8094
8095         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8096         and lyxrow_funcs.h
8097
8098 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8099
8100         * text3.C (cursorPrevious): adjust
8101         (cursorNext): adjust
8102         (dispatch): adjust
8103
8104         * text2.C (redoHeightOfParagraph): adjust
8105         (redoDrawingOfParagraph): adjust
8106         (setCursor): adjust
8107
8108         * text.C (breakParagraph): adjust
8109         (insertChar): adjust
8110         (backspace): adjust
8111
8112         * rowpainter.C (RowPainter): adjust
8113         (leftMargin): simplify and adjust
8114         (most rowpainter functions): adjust.
8115
8116         * rowpainter.h: store the row as RowList::iterator not as Row*
8117
8118         * lyxcursor.C (row): taka RowList::iterator as arg
8119         (irow): ditto
8120
8121         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8122         of Row*.
8123
8124 2003-04-01  Angus Leeming  <leeming@lyx.org>
8125
8126         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8127         stuff like bool Bool.
8128
8129 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8130
8131         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8132         rewrite a loop
8133
8134 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8135
8136         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8137         RowList::iterator.
8138
8139         * lyxtext.h (rows): drop one version and leve a const variant that
8140         returns a RowList::iterator.
8141
8142 2003-03-31  Angus Leeming  <leeming@lyx.org>
8143
8144         * text.C (fill): ensure that the signature is the same as that in the
8145         header file.
8146
8147 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8148
8149         * text2.C (redoParagraphs): adjust
8150         (updateCounters): adjust
8151         (checkParagraph): adjust
8152         (getColumnNearX): adjust and reformat a bit.
8153
8154         * text.C (top_y): adjust
8155         (workWidth): adjust
8156         (leftMargin): adjust
8157         (prepareToPrint): adjust
8158         (getRow): adjust
8159         (getRowNearY): adjust
8160
8161         * lyxtext.h: make rowlist_ mutable.
8162
8163         * RowList.h: add const_iterator
8164         * RowList.C: adjust for RowList::const_iterator.
8165
8166         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8167         adjust.
8168
8169 2003-03-31  John Levon  <levon@movementarian.org>
8170
8171         * lyxrc.h:
8172         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8173
8174         * lyx_main.C: set default fonts from using lyx_gui funcs
8175
8176         * exporter.C: pdf_mode moved from lyxrc
8177
8178         * lyx_cb.C:
8179         * lyxfunc.C: changes from above
8180
8181 2003-03-31  John Levon  <levon@movementarian.org>
8182
8183         * lyx_main.C: fix to the last fix
8184
8185 2003-03-31  John Levon  <levon@movementarian.org>
8186
8187         * bufferlist.C: "Load original" -> "Load Original"
8188
8189         * converter.C:
8190         * exporter.C:
8191         * importer.C:
8192         * lyx_main.C:
8193         * format.C: more Alert cleanups
8194
8195 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8196
8197         * text2.C (removeParagraph): make it take a RowList::iterator as
8198         arg, adjust.
8199         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8200         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8201
8202         * text.C (anchor_row): make it take a RowList::iterator as arg,
8203         adjust.
8204         (computeBidiTables): make it take a const reference to Row instead
8205         of Row pointer, adjust.
8206         (leftMargin): make it take a RowList::iterator as arg, adjust.
8207         (rowBreakPoint): adjust
8208         (breakAgainOneRow): make it take a RowList::iterator as arg,
8209         adjust.
8210         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8211
8212         * bufferview_funcs.C (toggleAndShow): adjust
8213
8214 2003-03-30  John Levon  <levon@movementarian.org>
8215
8216         * Makefile.am:
8217         * BoostFormat.h:
8218         * boost-inst.C: moved to support
8219
8220         * several files: changes as a result
8221
8222 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8223
8224         * text2.C (LyXText): adjust.
8225         (init): adjust
8226         (removeRow): make it take a RowList::iterator as arg, adjust.
8227         (fullRebreak): adjust
8228         (deleteEmptyParagraphMechanism): adjust
8229         (clearPaint): adjust
8230         (postPaint): adjust
8231
8232         * text.C (top_y): adjust
8233         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8234         (breakAgain): make it take a RowList::iterator as arg, adjust.
8235         (breakParagraph): adjust
8236         (insertChar): adjust
8237         (backspace): adjust
8238
8239         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8240         need_break_row, and refresh_row.
8241
8242         * text3.C (dispatch): adjust
8243
8244         * text2.C (checkParagraph): adjust
8245         (setCursor): adjust
8246         (setCursorFromCoordinates): adjust
8247
8248         * text.C (top_y): adjust
8249         (workWidth): adjust
8250         (getRow): make it return a RowList::iterator, adjust
8251         (getRowNearY): make it return a RowList::iterator, adjust
8252
8253         * text2.C (init): adjust
8254         (insertRow): remove function
8255         (insertParagraph): adjust
8256         (redoParagraphs): adjust
8257         (fullRebreak): adjust
8258         (updateCounters): adjust
8259
8260         * text.C (top_y): rewrite to use RowList iterators.
8261         (top_y): adjust
8262         (setHeightOfRow): rewrite to sue RowList iterators.
8263         (appendParagraph): adjust
8264         (breakAgain): adjust
8265         (breakAgainOneRow): adjust
8266         (breakParagraph): adjust
8267         (getRow): adjust
8268         (getRowNearY): adjust, and remove commented code.
8269
8270         * lyxtext.h (firstRow): delete function
8271         (lastRow): delete function
8272         (rows): new function (const and non-const versions.)
8273         (insertRow): delete function
8274
8275         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8276
8277 2003-03-29  John Levon  <levon@movementarian.org>
8278
8279         * BufferView_pimpl.C: always update scrollbar top
8280         because pasting text when we're anchored could mean we
8281         miss an update altogether
8282
8283 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8284
8285         * text2.C (init): use rowlist_.end() and not 0.
8286         (insertRow): change to take a RowList::iterator as arg, adjust
8287         for this.
8288         (insertParagraph): change to take a RowList::iterator as arg,
8289         adjust for this.
8290         (redoParagraphs): remove some debug msgs.
8291
8292         * text.C (appendParagraph): change to take a RowList::iterator
8293         arg, adjust for this.
8294         (breakAgain): add an assert
8295         (breakAgainOneRow): ditto
8296
8297 2003-03-29  John Levon  <levon@movementarian.org>
8298
8299         * text2.C: do not clear selection after inc/decDepth
8300         (bug 550)
8301
8302 2003-03-29  John Levon  <levon@movementarian.org>
8303
8304         * BufferView.C:
8305         * buffer.C: fix broken strerrors according to Lars
8306
8307 2003-03-29  John Levon  <levon@movementarian.org>
8308
8309         * converters.C: more Alert cleanups
8310
8311 2003-03-29  John Levon  <levon@movementarian.org>
8312
8313         * bufferview_funcs.C: remove pointless Alert
8314
8315         * buffer.C: fix confusing error message when
8316         a template is chmoded 000
8317
8318 2003-03-29  John Levon  <levon@movementarian.org>
8319
8320         * BufferView.C:
8321         * BufferView.h:
8322         * BufferView_pimpl.C: Alert fixes
8323
8324         * Makefile.am:
8325         * tabular.C:
8326         * tabular-old.C: remove unused table compat reading
8327
8328 2003-03-29  John Levon  <levon@movementarian.org>
8329
8330         * BufferView.C:
8331         * buffer.C:
8332         * lyx_cb.h:
8333         * lyx_cb.C: more Alert cleanups
8334
8335         * lyxfunc.C: don't allow chktex if not latex document
8336
8337 2003-03-29  John Levon  <levon@movementarian.org>
8338
8339         * lyx_cb.C:
8340         * BufferView.C:
8341         * buffer.C: warnings pushed down from support/,
8342         kill err_alert
8343
8344 2003-03-29  John Levon  <levon@movementarian.org>
8345
8346         * lyxfunc.C: safety check for C-r (revert)
8347
8348 2003-03-29  John Levon  <levon@movementarian.org>
8349
8350         * bufferlist.h:
8351         * bufferlist.C: several UI fixes using Alert::prompt.
8352         Fix the pointless looping quit code. Fix stupid revert
8353         behaviour (bug 938)
8354
8355         * lyxvc.h:
8356         * lyxvc.C:
8357         * lyx_cb.C: use Alert::prompt
8358
8359         * lyx_main.C: remove a silly question
8360
8361         * lyxfunc.C: remove a couple of silly questions,
8362         use Alert::prompt
8363
8364 2003-03-28  John Levon  <levon@movementarian.org>
8365
8366         * text2.C: fix bug 974 (End on empty par)
8367
8368 2003-03-28  John Levon  <levon@movementarian.org>
8369
8370         * BufferView_pimpl.C:
8371         * LyXAction.C:
8372         * lfuns.h: remove do-nothing math greek lfuns
8373
8374 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8375
8376         * lyxgluelength.h (isValidGlueLength): add default arg on
8377         parameter 2. Remove default arg from friend in class.
8378
8379         * lyxlength.h (isValidLength): add default arg on parameter 2.
8380         Remove default arg from friend in class.
8381
8382         * text2.C (LyXText): adjust, initialize refresh_row.
8383         (init): adjust
8384         (removeRow): adjust
8385         (insertRow): adjust
8386         (insertParagraph): adjst
8387         (redoParagraphs): adjust
8388         (fullRebreak): adjust
8389         (updateCounters): adjust
8390         (deleteEmptyParagraphMechanism): first attempt at fixing a
8391         crashing bug.
8392
8393         * text.C (top_y): adjust
8394         (setHeightOfRow): adjust
8395         (getRow): adjust
8396         (getRowNearY): adjust
8397
8398         * lyxtext.h: include RowList.h
8399         (~LyXText): not needed anymore, deleted.
8400         (firstRow): modify for RowList
8401         (lastRow): new function
8402         Delete firstrow and lastrow class variables, add a Rowlist
8403         rowlist_ class variable.
8404
8405         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8406         paragraph is empty.
8407
8408         * RowList.C (insert): fix case where it == begin().
8409
8410 2003-03-26  Angus Leeming  <leeming@lyx.org>
8411
8412         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8413         the thesaurus dialog.
8414
8415 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8416
8417         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8418
8419         * RowList.[Ch]: new files
8420
8421         * ParagraphList.C (erase): handle the case where it == begin
8422         correctly.
8423
8424 2003-03-25  John Levon  <levon@movementarian.org>
8425
8426         * Makefile.am:
8427         * aspell_local.h:
8428         * aspell.C: add new aspell support
8429
8430         * lyxrc.h:
8431         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8432         have it accessible.
8433
8434 2003-03-25  Angus Leeming  <leeming@lyx.org>
8435
8436         * lfuns.h:
8437         * LyXAction.C (init): new LFUN_INSET_INSERT.
8438
8439         * BufferView_pimpl.C (dispatch): split out part of the
8440         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8441
8442         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8443         LFUN_INSET_APPLY.
8444
8445 2003-03-25  Angus Leeming  <leeming@lyx.org>
8446
8447         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8448
8449 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8450
8451         * text2.C:
8452         * text3.C: remove useless row->height(0)
8453
8454 2003-03-25  John Levon  <levon@movementarian.org>
8455
8456         * lyxtext.h:
8457         * text2.C:
8458         * text3.C: rename the refreshing stuff to better names
8459
8460 2003-03-24  John Levon  <levon@movementarian.org>
8461
8462         * BufferView_pimpl.h:
8463         * BufferView_pimpl.C: update layout choice on a mouse
8464         press/release
8465
8466 2003-03-23  John Levon  <levon@movementarian.org>
8467
8468         * Makefile.am: fix commandtags.h reference
8469
8470 2003-03-22  John Levon  <levon@movementarian.org>
8471
8472         * BufferView_pimpl.C:
8473         * lyxtext.h:
8474         * rowpainter.C:
8475         * rowpainter.h:
8476         * text.C:
8477         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8478
8479 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8480
8481         * lyxtext.h:
8482         * text.C: take the rtl methods out of line
8483
8484 2003-03-21 André Pönitz <poenitz@gmx.net>
8485
8486         * metricsinfo.[Ch]: new files containing structures to be passed around
8487         during the two-phase-drawing...
8488
8489 2003-03-21 André Pönitz <poenitz@gmx.net>
8490
8491         * lyxtextclass.C: read 'environment' tag.
8492
8493 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8494
8495         * text2.C (removeRow): fix bug 964
8496
8497 2003-03-20  John Levon  <levon@movementarian.org>
8498
8499         * rowpainter.C:
8500         * text.C:
8501         * text2.C: paint cleanups. Inset::update() dropped font
8502         parameter
8503
8504 2003-03-19  John Levon  <levon@movementarian.org>
8505
8506         * lyxfunc.C: only fitcursor/markDirty if available()
8507
8508 2003-03-19  John Levon  <levon@movementarian.org>
8509
8510         * commandtags.h: rename to ...
8511
8512         * lfuns.h: ... this, and renumber / cleanup
8513
8514 2003-03-19  John Levon  <levon@movementarian.org>
8515
8516         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8517         fit the cursor after an lfun
8518
8519         * BufferView.h:
8520         * BufferView.C:
8521         * BufferView_pimpl.h:
8522         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8523
8524         * LyXAction.C: layout-character should have ReadOnly
8525
8526         * ParagraphParameters.C:
8527         * buffer.C:
8528         * bufferview_funcs.C:
8529         * lyx_cb.C:
8530         * lyxfind.C:
8531         * lyxtext.h:
8532         * text.C:
8533         * text2.C:
8534         * text3.C:
8535         * undo_funcs.C: changes from above
8536
8537 2003-03-18  John Levon  <levon@movementarian.org>
8538
8539         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8540         remove it from update()
8541
8542         * lyxfunc.C: update layout choice after an lfun
8543
8544         * text3.C: remove extra updateLayoutChoice()s
8545
8546 2003-03-18  John Levon  <levon@movementarian.org>
8547
8548         * text.C: top_y change means full repaint, fix
8549         a drawing bug with cursor movement
8550
8551 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8552
8553         * lyxtext.h:
8554         * text.C:
8555         * text2.C: anchor row on setCursor
8556
8557 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8558
8559         * lyxtext.h: remove almost all mutable keywords
8560         * text.C:
8561         * text2.C:
8562         * text3.C: remove const keywords accordingly
8563
8564 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8565
8566         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8567         anon namespace
8568         (TeXEnvironment): ditto
8569         (TeXOnePar): ditto
8570
8571 2003-03-17  John Levon  <levon@movementarian.org>
8572
8573         * text.C (rowBreakPoint): remove attempt to fix displayed
8574         math insets inside a manual label
8575
8576 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8577
8578         * lyxtext.h: remove BufferView* as first arg from almost all class
8579         functions.
8580         * other files: adjust.
8581
8582 2003-03-17  John Levon  <levon@movementarian.org>
8583
8584         * lyxtext.h:
8585         * undo_funcs.C:
8586         * text2.C: more paint cleanups
8587
8588         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8589
8590         * rowpainter.h:
8591         * rowpainter.C: remove "smart" background painting code
8592
8593 2003-03-16  John Levon  <levon@movementarian.org>
8594
8595         * lyxtext.h:
8596         * text.C:
8597         * text2.C:
8598         * text3.C: add helper functions for setting refresh_row/y
8599
8600 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8601
8602         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8603         newline inset which *can* get inserted in the pass_thru layouts.
8604         This is primarily for literate documents.
8605
8606 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8607
8608         * buffer.C: increment LYX_FORMAT to 223
8609
8610 2003-03-14 André Pönitz <poenitz@gmx.net>
8611
8612         * textclass.h: prepare for environment handling, ws changes
8613         * lyxlayout.C: read latexheader and latexfooter tags
8614
8615 2003-03-14  John Levon  <levon@movementarian.org>
8616
8617         * text2.C: rewrite ::status() a bit
8618
8619 2003-03-13  John Levon  <levon@movementarian.org>
8620
8621         * lyxtext.h: add some docs
8622
8623 2003-03-13  John Levon  <levon@movementarian.org>
8624
8625         * lyxtext.h:
8626         * text.C:
8627         * text2.C:
8628         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8629
8630 2003-03-13  John Levon  <levon@movementarian.org>
8631
8632         * text3.C: fix appendix redrawing
8633
8634 2003-03-13  John Levon  <levon@movementarian.org>
8635
8636         * text.C (setHeightOfRow):
8637         * rowpainter.h:
8638         * rowpainter.C: make appendix mark have the text
8639           "Appendix" so the user knows what it is
8640
8641         * LColor.h:
8642         * LColor.C: s/appendixline/appendix/ from above
8643
8644 2003-03-13  John Levon  <levon@movementarian.org>
8645
8646         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8647
8648         * text.C: fix a getChar(pos) bug properly
8649
8650 2003-03-13  Angus Leeming  <leeming@lyx.org>
8651
8652         * commandtags.h:
8653         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8654         Probably only temporary. Let's see how things pan out.
8655
8656         * BufferView.C (unlockInset):
8657         * BufferView_pimpl.C (fitCursor):
8658         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8659
8660         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8661         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8662
8663         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8664         new functions that convert ParagraphParameters to and from a string.
8665
8666         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8667         BufferView::Pimpl's dispatch.
8668         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8669
8670 2003-03-13 André Pönitz <poenitz@gmx.net>
8671
8672         * lyxfunc.C:
8673         * text3.C:
8674         * factory.C: make it aware of InsetEnv
8675
8676 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8677
8678         * text2.C (setCursor): never ask for one past last
8679         (setCursor): add some debugging messages.
8680
8681         * text.C (singleWidth): never ask for one past last
8682         (singleWidth): ditto
8683         (leftMargin): ditto
8684         (rightMargin): ditto
8685         (rowBreakPoint): ditto
8686         (setHeightOfRow): ditto
8687         (prepareToPrint): ditto
8688
8689         * rowpainter.C (paintBackground): never ask for one past last
8690         (paintText): never ask for one past last
8691
8692         * paragraph_pimpl.C (getChar): make the assert stricter, never
8693         allow the one past last pos to be taken
8694
8695         * paragraph.C (getChar): ws changes only
8696
8697         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8698         (numberOfSeparators): ditto
8699         (numberOfHfills): ditto
8700
8701 2003-03-12  John Levon  <levon@movementarian.org>
8702
8703         * author.h:
8704         * author.C:
8705         * bufferparams.h:
8706         * bufferparams.C:
8707         * paragraph_funcs.C: fix per-buffer authorlists
8708
8709 2003-03-12  John Levon  <levon@movementarian.org>
8710
8711         * text.C: fix newline in right address
8712
8713 2003-03-12  Angus Leeming  <leeming@lyx.org>
8714
8715         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8716         duplicate those in LyXFunc::dispatch.
8717
8718         * commandtags.h:
8719         * LyXAction.C:
8720         * ToolbarDefaults.C:
8721         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8722         Add LFUN_FONTFREE_UPDATE.
8723
8724         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8725         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8726
8727         * bufferview_func.[Ch]: several new functions to facilliate
8728         transfer of data to and from the character dialog.
8729
8730 2003-03-12  John Levon  <levon@movementarian.org>
8731
8732         * buffer.C:
8733         * paragraph.h:
8734         * paragraph.C:
8735         * paragraph_funcs.C:
8736         * paragraph_pimpl.C:
8737         * sgml.C:
8738         * tabular.C:
8739         * text.C:
8740         * text3.C: remove META_NEWLINE in favour of an inset
8741
8742         * rowpainter.h:
8743         * rowpainter.C: remove paintNewline (done by inset)
8744
8745 2003-03-12  John Levon  <levon@movementarian.org>
8746
8747         * paragraph_pimpl.C: complain about bad getChar()s
8748         for a while at least
8749
8750 2003-03-12  John Levon  <levon@movementarian.org>
8751
8752         * buffer.h:
8753         * buffer.C: move paragraph read into a separate function,
8754         a little renaming to reflect that.
8755
8756         * bufferparams.h:
8757         * bufferparams.C: remove the author_ids map, not necessary now
8758
8759         * factory.h:
8760         * factory.C: moved Buffer::readInset to here
8761
8762         * paragraph_funcs.h:
8763         * paragraph_funcs.C: readParagraph free function moved from
8764         buffer.C
8765
8766         * tabular.C: name change
8767
8768 2003-03-12  John Levon  <levon@movementarian.org>
8769
8770         * buffer.C:
8771         * ParagraphParameters.C: move par params input to
8772         a read() method
8773
8774         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8775         behave like a normal read from the stream wrt reading
8776         a line vs. a \\token
8777
8778 2003-03-12  John Levon  <levon@movementarian.org>
8779
8780         * paragraph.C:
8781         * ParagraphParameters.h:
8782         * ParagraphParameters.C: move output code to a
8783         ::write() method
8784
8785 2003-03-12  John Levon  <levon@movementarian.org>
8786
8787         * BufferView.C (insertLyXFile):
8788         * buffer.h:
8789         * buffer.C:
8790         * tabular.C: use a parlist iterator for creating the
8791           document.
8792
8793 2003-03-12  John Levon  <levon@movementarian.org>
8794
8795         * buffer.C: make current_change static local not
8796           static file-scope
8797
8798 2003-03-12  John Levon  <levon@movementarian.org>
8799
8800         * buffer.C: fix insertStringAsLines for change tracking
8801
8802 2003-03-12  John Levon  <levon@movementarian.org>
8803
8804         * BufferView.C:
8805         * tabular.C:
8806         * buffer.h:
8807         * buffer.C:
8808         * bufferparams.h:
8809         * bufferparams.C: move author list into params. Rename some
8810           functions. Move the header reading into a separate token
8811           loop. Move the header token reading into BufferParams.
8812
8813 2003-03-12  John Levon  <levon@movementarian.org>
8814
8815         * changes.C: put debug inside lyxerr.debugging() checks
8816
8817 2003-03-11 André Pönitz <poenitz@gmx.net>
8818
8819         * factory.C: make it aware of InsetHFill
8820
8821 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8822
8823         * buffer.C (latexParagraphs): move function from here...
8824         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8825         args.
8826
8827 2003-03-10  Angus Leeming  <leeming@lyx.org>
8828
8829         * LyXAction.C (init): fix bug in poplating array with multiple entries
8830         with the same LFUN (spotted by JMarc).
8831
8832 2003-03-10  John Levon  <levon@movementarian.org>
8833
8834         * text.C:
8835         * text2.C: move getColumnNearX() near its
8836         only call site
8837
8838 2003-03-10  John Levon  <levon@movementarian.org>
8839
8840         * text.C: fix break before a minipage
8841
8842 2003-03-10  John Levon  <levon@movementarian.org>
8843
8844         * text.C: fix the last commit
8845
8846 2003-03-09  John Levon  <levon@movementarian.org>
8847
8848         * lyxtext.h:
8849         * text.C:
8850         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8851         bug 365 (don't break before insets unless needed). Don't
8852         return a value > last under any circumstances.
8853
8854 2003-03-09  Angus Leeming  <leeming@lyx.org>
8855
8856         * BufferView_pimpl.C (trackChanges, dispatch): call
8857         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8858
8859 2003-03-09  Angus Leeming  <leeming@lyx.org>
8860
8861         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8862         than Dialogs::showAboutlyx().
8863
8864 2003-03-09  Angus Leeming  <leeming@lyx.org>
8865
8866         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8867         than Dialogs::showTabularCreate().
8868
8869 2003-03-09  John Levon  <levon@movementarian.org>
8870
8871         * lyxtext.h:
8872         * text.C:
8873         * text2.C: 3rd arg to nextBreakPoint was always the same.
8874           Use references.
8875
8876 2003-03-08  John Levon  <levon@movementarian.org>
8877
8878         * lyxrow.C:
8879         * paragraph.C:
8880         * paragraph.h:
8881         * rowpainter.C:
8882         * text.C:
8883         * text2.C: Remove the "main" bit from the "main body"
8884           notion.
8885
8886 2003-03-08  John Levon  <levon@movementarian.org>
8887
8888         * text.C (leftMargin): The left margin of an empty
8889         manual label paragraph should not include the label width
8890         string length.
8891
8892         * text.C (prepareToPrint): don't attempt to measure hfills
8893         for empty manual label paragraphs - the answer should be 0
8894
8895 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8896
8897         * CutAndPaste.C: remove commented code and reindent.
8898
8899 2003-03-08  John Levon  <levon@movementarian.org>
8900
8901         * lyxfunc.h:
8902         * lyxfunc.C: move reloadBuffer()
8903
8904         * BufferView.h:
8905         * BufferView.C: to here
8906
8907         * lyxvc.C: add comment
8908
8909         * vc-backend.h:
8910         * vc-backend.C: call bv->reload() to avoid
8911           getStatus() check on MENURELOAD
8912
8913 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8914
8915         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8916         to an old format .dep file.
8917
8918 2003-03-07  Angus Leeming  <leeming@lyx.org>
8919
8920         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8921         when the LFUN_MOUSE_RELEASE should have been handled by
8922         inset->localDispatch.
8923
8924 2003-03-07  Angus Leeming  <leeming@lyx.org>
8925
8926         * BufferView_pimpl.C (dispatch):
8927         * LyXAction.C (init):
8928         * ToolbarDefaults.C (init):
8929         * commandtags.h:
8930         * lyxfunc.C (getStatus):
8931         remove LFUN_INSET_GRAPHICS.
8932
8933         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8934
8935 2003-03-07  Angus Leeming  <leeming@lyx.org>
8936
8937         * commandtags.h:
8938         * LyXAction.C (init):
8939         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8940
8941         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8942
8943         * commandtags.h:
8944         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8945
8946         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8947         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8948
8949 2003-03-07  Angus Leeming  <leeming@lyx.org>
8950
8951         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8952         remove "ert".
8953
8954 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8955
8956         * ParagraphList.C (front): new function
8957         (back): implement
8958
8959 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8960
8961         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8962         and top_row_offset_. removed var first_y.
8963         * text.C (top_y):
8964         * text2.C (LyXText, removeRow):
8965         * text3.C:
8966         * BufferView_pimpl.C:
8967         use these methods instead of using first_y
8968
8969 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8970
8971         * text2.C (pasteSelection): adjust for checkPastePossible
8972
8973         * CutAndPaste.C: remove Paragraph * buf and replace with
8974         ParagraphList paragraphs.
8975         (DeleteBuffer): delete
8976         (cutSelection): change the tc type to textclass_type
8977         (copySelection): change the tc type to textclass_type
8978         (copySelection): adjust for ParagraphList
8979         (pasteSelection): change the tc type to textclass_type
8980         (pasteSelection): adjust for Paragraphlist
8981         (nrOfParagraphs): simplify for ParagraphList
8982         (checkPastePossible): simplify for ParagraphList
8983         (checkPastePossible): remove unused arg
8984
8985         * ParagraphList.C (insert): handle the case where there are no
8986         paragraphs yet.
8987
8988         * CutAndPaste.h: make CutAndPaste a namespace.
8989
8990         * text3.C (dispatch): adjust
8991
8992         * text.C (breakParagraph): add a ParagraphList as arg
8993
8994         * paragraph_funcs.C (breakParagraph): change to take a
8995         BufferParams and a ParagraphList as args.
8996         (breakParagraphConservative): ditto
8997         (mergeParagraph): ditto
8998         (TeXDeeper): add a ParagraphList arg
8999         (TeXEnvironment): ditto
9000         (TeXOnePar): ditto
9001
9002         * buffer.C (readLyXformat2): adjust
9003         (insertStringAsLines): adjust
9004         (latexParagraphs): adjust
9005
9006         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9007         (cutSelection): adjust
9008         (pasteSelection): adjust
9009
9010         * BufferView_pimpl.C (insertInset): adjust
9011
9012 2003-03-05  Angus Leeming  <leeming@lyx.org>
9013
9014         * commandtags.h:
9015         * LyXAction.C (init):
9016         * BufferView_pimpl.C (dispatch):
9017         * lyxfunc.C (getStatus):
9018         remove LFUN_CHILD_INSERT.
9019
9020         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9021
9022 2003-03-05  Angus Leeming  <leeming@lyx.org>
9023
9024         * commandtags.h:
9025         * LyXAction.C (init):
9026         * src/factory.C (createInset):
9027         * lyxfunc.C (getStatus):
9028         * text3.C (dispatch):
9029         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9030
9031         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9032
9033 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9034
9035         * ParagraphList.C (insert): handle insert right before end()
9036         (erase): fix cases where it can be first or last paragraph.
9037
9038 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9039
9040         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9041         Paragraph::next and Paragraph::previous
9042         (TeXOnePar): ditto
9043
9044         * text.C (breakParagraph): adjust
9045
9046         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9047         BufferParams& as arg.
9048         (breakParagraph): use ParagraphList::insert
9049         (breakParagraphConservative): take a Buffer* instead of a
9050         BufferParams& as arg.
9051         (breakParagraphConservative): use ParagraphList::insert.
9052
9053         * buffer.C (insertStringAsLines): un-const it
9054         (insertStringAsLines): adjust
9055
9056         * ParagraphList.C (insert): new function
9057
9058         * CutAndPaste.C (pasteSelection): adjust
9059
9060         * text.C (backspace): adjust
9061
9062         * tabular.C (SetMultiColumn): adjust
9063
9064         * CutAndPaste.C (cutSelection): adjust
9065         (pasteSelection): adjust
9066
9067         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9068         Buffer const * as arg
9069
9070         * ParagraphList.C (erase): new function
9071         * paragraph_funcs.C (mergeParagraph): use it
9072         (mergeParagraph): make it take a Buffer* instead of a
9073         BufferParams* as arg
9074
9075         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9076         as arg
9077         (breakParagraphConservative): ditto
9078
9079         * paragraph.h: remove the breakParagraph friend
9080
9081         * paragraph.C (eraseIntern): new function
9082         (setChange): new function
9083
9084         * paragraph_funcs.C (mergeParagraph): make it take a
9085         ParagraphList::iterator instead of a Paragraph *, adjust
9086         accordingly.
9087
9088         * paragraph.h: move an #endif so that the change tracking stuff
9089         also works in the NO_NEXT case.
9090
9091 2003-03-04  Angus Leeming  <leeming@lyx.org>
9092
9093         * commandtags.h:
9094         * LyXAction.C: new LFUN_INSET_MODIFY.
9095
9096         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9097         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9098
9099 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9100
9101         * several files: ws changes only
9102
9103         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9104         (TeXEnvironment): ditto
9105         (TeXDeeper): ditto
9106
9107         * buffer.C (makeLaTeXFile): adjust
9108         (latexParagraphs): make it take ParagraphList::iterator as args
9109
9110 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9111
9112         * buffer.C (latexParagraphs): adjust
9113
9114         * paragraph.C (TeXOnePar): move function...
9115         (optArgInset): move function...
9116         (TeXEnvironment): move function...
9117         * paragraph_pimpl.C (TeXDeeper): move function...
9118         * paragraph_funcs.C: ...here
9119
9120         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9121
9122 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9123
9124         * buffer.C (readInset): remove compability code for old Figure and
9125         InsetInfo insets
9126
9127 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9128
9129         * buffer.C: ws changes
9130         (readInset):
9131
9132         * BufferView_pimpl.C: ditto
9133         * author.C: ditto
9134         * buffer.h: ditto
9135         * bufferlist.h: ditto
9136         * changes.h: ditto
9137         * lyxfunc.C: ditto
9138
9139 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9140
9141         * converter.[Ch]: split into itself +
9142         * graph.[Ch]
9143         * format.[Ch]
9144         * Makefile.am: += graph.[Ch] + format.[Ch]
9145         * MenuBackend.C
9146         * buffer.C
9147         * exporter.C
9148         * importer.C
9149         * lyx_main.C
9150         * lyxfunc.C
9151         * lyxrc.C: added #include "format.h"
9152
9153 2003-02-27  Angus Leeming  <leeming@lyx.org>
9154
9155         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9156           a label.
9157
9158         * factory.C (createInset): add "label" to the factory.
9159
9160         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9161           string and do no more.
9162
9163 2003-02-27  Angus Leeming  <leeming@lyx.org>
9164
9165         * commandtags.h:
9166         * LyXAction.C (init):
9167         * factory.C (createInset):
9168         * BufferView_pimpl.C (dispatch):
9169           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9170
9171         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9172
9173         * lyxfunc.C (dispatch):
9174         * text3.C (dispatch): pass name to params2string.
9175
9176 2003-02-26  Angus Leeming  <leeming@lyx.org>
9177
9178         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9179           blocks together.
9180           Rearrange the ~includes. Strip out the unnecessary ones.
9181
9182         * factory.C (createInset): reformat.
9183           create new insets for the various LFUN_XYZ_APPLY lfuns.
9184
9185 2003-02-26  John Levon  <levon@movementarian.org>
9186
9187         * lyxrow.h:
9188         * lyxrow.C: add isParStart,isParEnd helpers
9189
9190         * paragraph.h: make isInserted/DeletedText take refs
9191
9192         * paragraph_funcs.h:
9193         * paragraph_funcs.C: remove #if 0'd code
9194
9195         * lyxtext.h:
9196         * text3.C:
9197         * text2.C:
9198         * text.C: use lyxrow helpers above.
9199           Move draw and paint routines to RowPainter.
9200           Make several methods use refs not pointers.
9201           Make backgroundColor() const.
9202           Add markChangeInDraw(), isInInset().
9203           Merge changeRegionCase into changeCase.
9204           Make workWidth() shouldn't-happen code into an Assert.
9205
9206         * rowpainter.h:
9207         * rowpainter.C: new class for painting a row.
9208
9209         * vspace.h:
9210         * vspace.C: make inPixels take a ref
9211
9212 2003-02-26  Angus Leeming  <leeming@lyx.org>
9213
9214         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9215         LFUN_REF_APPLY.
9216
9217 2003-02-25  John Levon  <levon@movementarian.org>
9218
9219         * ispell.C: give the forked command a more accurate name
9220
9221 2003-02-22  John Levon  <levon@movementarian.org>
9222
9223         * toc.h:
9224         * toc.C: make TocItem store an id not a Paragraph *
9225           (bug #913)
9226
9227 2003-02-21  Angus Leeming  <leeming@lyx.org>
9228
9229         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9230           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9231           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9232           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9233           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9234           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9235
9236         * BufferView_pimpl.C (dispatch):
9237         * LyXAction.C (init):
9238         * factory.C (createInset):
9239         * lyxfunc.C (getStatus, dispatch):
9240         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9241
9242 2003-02-21  Angus Leeming  <leeming@lyx.org>
9243
9244         * BufferView_pimpl.C (MenuInsertLyXFile):
9245         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9246         * lyxfunc.C (menuNew, open, doImport):
9247           no longer pass a LyXView & to fileDlg.
9248
9249 2003-02-21  Angus Leeming  <leeming@lyx.org>
9250
9251         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9252         * LyXAction.C: change, BIBKEY to BIBITEM.
9253         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9254         Change InsetBibKey to InsetBibitem.
9255         Change BIBKEY_CODE to BIBITEM_CODE.
9256         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9257         * factory.C: replace insetbib.h with insetbibitem.h.
9258         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9259         * paragraph.C: replace insetbib.h with insetbibitem.h.
9260         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9261         Change bibkey() to bibitem().
9262         * text.C: remove insetbib.h.
9263         * text2.C: replace insetbib.h with insetbibitem.h.
9264         change bibkey() to bibitem().
9265         * text3.C: remove insetbib.h.
9266         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9267
9268 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9269
9270         * lyxrc.C (output): enclose user email in quotes (in case there are
9271         several words)
9272
9273 2003-02-18  John Levon  <levon@movementarian.org>
9274
9275         * buffer.h: add std::
9276
9277 2003-02-17  John Levon  <levon@movementarian.org>
9278
9279         * SpellBase.h:
9280         * ispell.h:
9281         * ispell.C:
9282         * pspell.h:
9283         * pspell.C: reworking. Especially in ispell, a large
9284           number of clean ups and bug fixes.
9285
9286         * lyxfunc.C: fix revert to behave sensibly
9287
9288 2003-02-17 André Pönitz <poenitz@gmx.net>
9289
9290         * LyXAction.C:
9291         * commandtags.h: new LFUN_INSERT_BIBKEY
9292
9293         * layout.h:
9294         * lyxlayout.C:
9295         * buffer.C:
9296         * factory.C:
9297         * text.C:
9298         * text2.C:
9299         * text3.C:
9300         * paragraph.[Ch]:
9301         * paragraph_func.C: remove special bibkey handling
9302
9303 2003-02-17  John Levon  <levon@movementarian.org>
9304
9305         * text.C (Delete): fix case where delete at the end of
9306           the very first paragraph would not merge the pars
9307
9308 2003-02-17  John Levon  <levon@movementarian.org>
9309
9310         * lyxrow.C: fix lastPrintablePos()
9311
9312 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9313
9314         * bufferparams.C (writeLaTeX): add a std:here
9315
9316         * buffer.C: and remove a using directive there
9317
9318 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9319
9320         * buffer.C (makeLaTeXFile): move the code that generates the
9321           preamble...
9322
9323         * bufferparams.C (writeLaTeX): ... in this new method
9324
9325         * LaTeXFeatures.C (getEncodingSet): make const
9326           (getLanguages): make const
9327
9328         * MenuBackend.C (binding): returns the binding associated to this
9329           action
9330           (add): sets the status of each item by calling getStatus. Adds
9331           some intelligence.
9332           (read): add support for OptSubMenu
9333           (expand): remove extra separator at the end of expanded menu
9334
9335 2003-02-15  John Levon  <levon@movementarian.org>
9336
9337         * BufferView.C:
9338         * BufferView_pimpl.C:
9339         * bufferlist.h:
9340         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9341           inset code that had no actual effect. Remove unneeded status
9342           code.
9343
9344 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9345
9346         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9347           in preamble
9348
9349 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9350
9351         * text.C (drawLengthMarker): also draw an arrow marker for
9352           symbolic lengths (medskip...)
9353
9354 2003-02-14  John Levon  <levon@movementarian.org>
9355
9356         * tabular.h:
9357         * tabular.C: better method names
9358
9359 2003-02-14  John Levon  <levon@movementarian.org>
9360
9361         * BufferView_pimpl.C:
9362         * bufferlist.C:
9363         * buffer.C:
9364         * converter.C:
9365         * lyx_cb.C:
9366         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9367           it's a more accurate name. Remove some pointless uses.
9368
9369 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9370
9371         * text2.C (LyXText): change order of initilizers to shut off
9372           warnings
9373
9374 2003-02-14  John Levon  <levon@movementarian.org>
9375
9376         * buffer.C: use ParIterator for getParFromID()
9377
9378         * paragraph.h:
9379         * paragraph.C:
9380         * paragraph_pimpl.h:
9381         * paragraph_pimpl.C: remove unused getParFromID()
9382
9383 2003-02-14  John Levon  <levon@movementarian.org>
9384
9385         * buffer.C: remove some very old #if 0'd parse code
9386
9387 2003-02-13  John Levon  <levon@movementarian.org>
9388
9389         * text.h:
9390         * text.C:
9391         * text2.C: move hfillExpansion(), numberOfSeparators(),
9392           rowLast(), rowLastPrintable(), numberofHfills(),
9393           numberOfLabelHfills() ...
9394
9395         * lyxrow.h:
9396         * lyxrow.C: ... to member functions here.
9397
9398         * paragraph.h:
9399         * paragraph.C:
9400         * lyxtext.h:
9401         * text.C: remove LyXText::beginningOfMainBody(), and call
9402           p->beginningOfMainBody() directly. Move the check for
9403           LABEL_MANUAL into the latter.
9404
9405         * text.h:
9406         * text.C:
9407         * text2.C:
9408         * vspace.C:
9409         * BufferView.h:
9410         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9411
9412         * text.h:
9413         * text.C:
9414         * text2.C:
9415         * text3.C:
9416         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9417           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9418
9419 2003-02-13  John Levon  <levon@movementarian.org>
9420
9421         * CutAndPaste.C: remove debug
9422
9423 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9424
9425         * paragraph.C (asString): remove two unused variables
9426
9427         * lyxtextclass.C (readTitleType):
9428           (Read):
9429           (LyXTextClass): handle new members titletype_ and titlename_
9430
9431         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9432
9433 2003-02-09  John Levon  <levon@movementarian.org>
9434
9435         * buffer.h:
9436         * buffer.C: replace hand-coded list with a map for the dep clean
9437
9438 2003-02-08  John Levon  <levon@movementarian.org>
9439
9440         * LaTeX.C: consolidate code into showRunMessage() helper
9441
9442 2003-02-08  John Levon  <levon@movementarian.org>
9443
9444         * lyxfind.C:
9445         * lyxtext.h:
9446         * text2.C:
9447         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9448           and pass the size in explicitly
9449
9450         * BufferView_pimpl.h:
9451         * BufferView_pimpl.C:
9452         * BufferView.h:
9453         * BufferView.C: add getCurrentChange()
9454
9455         * BufferView_pimpl.h:
9456         * BufferView_pimpl.C: handle change lfuns
9457
9458         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9459           for changes. Mark pasted paragraphs as new.
9460
9461         * support/lyxtime.h:
9462         * support/lyxtime.C:
9463         * DepTable.C: abstract time_t as lyx::time_type
9464
9465         * LColor.h:
9466         * LColor.C: add colours for new text, deleted text, changebars
9467
9468         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9469           package use "usenames" option.
9470
9471         * commandtags.h:
9472         * lyxfunc.C:
9473         * LyXAction.C: add change lfuns
9474
9475         * Makefile.am:
9476         * author.h:
9477         * author.C: author handling
9478
9479         * buffer.h:
9480         * buffer.C: add a per-buffer author list, with first entry as
9481           current author. Handle new .lyx tokens for change tracking. Output
9482           author list to .lyx file. Output dvipost stuff to .tex preamble.
9483           Bump lyx format to 222.
9484
9485         * bufferlist.h:
9486         * bufferlist.C: add setCurrentAuthor() to reset current author details
9487           in all buffers.
9488
9489         * bufferparams.h:
9490         * bufferparams.C: add param for tracking
9491
9492         * bufferview_funcs.C: output change info in minibuffer
9493
9494         * Makefile.am:
9495         * changes.h:
9496         * changes.C: add change-tracking structure
9497
9498         * debug.h:
9499         * debug.C: add CHANGES debug flag
9500
9501         * lyxfind.h:
9502         * lyxfind.C: add code for finding the next change piece
9503
9504         * lyxrc.h:
9505         * lyxrc.C: add user_name and user_email
9506
9507         * lyxrow.h:
9508         * lyxrow.C: add a metric for the top of the text line
9509
9510         * lyxtext.h:
9511         * text.C: implement accept/rejectChange()
9512
9513         * lyxtext.h:
9514         * text.C: paint changebars. Paint new/deleted text in the chosen
9515         colours. Strike through deleted text.
9516
9517         * paragraph.h:
9518         * paragraph.C:
9519         * paragraph_pimpl.h:
9520         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9521           in the current change to the insert functions. Rework erase to
9522           mark text as deleted, adding an eraseIntern() and a range-based
9523           erase(). Implement per-paragraph change lookup and
9524           accept/reject.
9525
9526         * paragraph_funcs.C: Fixup paste for change tracking.
9527
9528         * tabular.C: mark added row/columns as new.
9529
9530         * text.C: fix rowLast() to never return -1. Don't allow
9531           spellchecking of deleted text. Track transpose changes. Don't
9532           allow paragraph break or merge where appropriate.
9533
9534         * text2.C: leave cursor at end of selection after a cut.
9535
9536 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9537
9538         * text.C (getLengthMarkerHeight):
9539         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9540         visible on screen too.
9541
9542 2003-02-07  John Levon  <levon@movementarian.org>
9543
9544         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9545
9546 2003-02-05  Angus Leeming  <leeming@lyx.org>
9547
9548         * lyxserver.C (read_ready): revert my patch of 11 September last year
9549         as it sends PC cpu through the roof. Presumably this means that
9550         the lyxserver will no longer run on an Alpha...
9551
9552 2003-01-30  Angus Leeming  <leeming@lyx.org>
9553
9554         * factory.C (createInset): create an InsetCommandParam of type "index"
9555         and use it to 'do the right thing'.
9556
9557         * text2.C (getStringToIndex): ensure that cursor position is always
9558         reset to the reset_cursor position.
9559
9560 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9561
9562         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9563         disabled.
9564
9565 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9566
9567         * bufferview.C:
9568         * lyxcb.C:
9569         * lyxfunc.C: Output messages with identical spelling, punctuation,
9570         and spaces
9571
9572 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9573
9574         * MenuBackend.C (expandFormats): List only viewable export formats
9575         in "View" menu
9576
9577         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9578         message
9579
9580         * lyxfunc.C (getStatus): Make sure that formats other than
9581         "fax" can also be disabled
9582
9583 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9584
9585         * text3.C (dispatch): put the lfuns that insert insets in 3
9586         groups, and call doInsertInset with appropriate arguments.
9587         (doInsertInset): new function, that creates an inset and inserts
9588         it according to some boolean parameters.
9589
9590 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9591
9592         * buffer.C (readFile): remember to pass on 'par' when calling
9593         readFile recursively.
9594
9595 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9596
9597         * MenuBackend.C (expandFormats): add "..." to import formats.
9598
9599 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9600
9601         * paragraph.C (asString): Remove XForms RTL hacks.
9602
9603 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9604         * buffer.C: fix typo
9605
9606 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9607
9608         * Makefile.am (LIBS): delete var
9609         (lyx_LDADD): add @LIBS@ here instead.
9610
9611 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9612
9613         * Clarify the meaning of "wheel mouse jump"
9614
9615 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9616
9617         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9618         tabular in a float
9619
9620 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9621
9622         * importer.C (Loaders): do not preallocate 3 elements in the
9623         vector, since one ends up with 6 elements otherwise
9624
9625 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9626
9627         * DepTable.C (write): write the file name as last element of the
9628         .dep file (because it may contain spaces)
9629         (read): read info in the right order
9630
9631 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9632
9633         * paragraph_pimpl.C (simpleTeXBlanks):
9634         (simpleTeXSpecialChars):
9635         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9636
9637         * tabular.C (latex): add some missing case statements. Reindent.
9638
9639         * MenuBackend.C (expandToc): remove unused variable.
9640
9641 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9642
9643         * LColor.C:
9644         * LaTeX.C:
9645         * LyXAction.C:
9646         * MenuBackend.C:
9647         * buffer.C:
9648         * exporter.C:
9649         * lyxfunc.C:
9650         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9651         and the like.
9652
9653 2003-01-05  John Levon  <levon@movementarian.org>
9654
9655         * BufferView.h:
9656         * BufferView.C: add getEncoding()
9657
9658         * kbsequence.h:
9659         * kbsequence.C: do not store last keypress
9660
9661         * lyxfunc.h:
9662         * lyxfunc.C: store last keypress here instead. Pass encoding
9663           to getISOEncoded()
9664
9665 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9666
9667         * lyx_main.C (init): remove annoying error message when following
9668         symbolic links (bug #780)
9669
9670 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9671
9672         * text.C (insertChar):
9673         * lyxrc.C (getDescription): remove extra spaces
9674
9675 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9676
9677         * lyxrc.C (getDescription): remove extra spaces
9678
9679 2002-12-20  John Levon  <levon@movementarian.org>
9680
9681         * text3.C: hack fix for page up/down across tall rows
9682
9683 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9684
9685         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9686         not been invoked
9687
9688 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9689
9690         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9691         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9692         thesaurus is not compiled in
9693
9694 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9695
9696         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9697
9698 2002-12-16  Angus Leeming  <leeming@lyx.org>
9699
9700         * lyxrc.[Ch]:
9701         * lyx_main.C (init): remove override_x_deadkeys stuff.
9702
9703 2002-12-12  John Levon  <levon@movementarian.org>
9704
9705         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9706           insert. Only remove shift modifier under strict
9707           circumstances.
9708
9709 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9710
9711         * MenuBackend.C (expandToc): fix crash.
9712
9713 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9714
9715         * MenuBackend.C (expandToc): gettext on float names.
9716
9717 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9718
9719         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9720         implement bool empty() [bug 490]
9721
9722 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9723
9724         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9725
9726 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9727
9728         * several files: ws changes
9729
9730 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9731
9732         * text2.C (setCounter): clean up a bit, use boost.format.
9733         (updateCounters): initialize par upon declaration.
9734
9735         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9736         if the layout exists. We do not just store the layout any more.
9737         (SwitchLayoutsBetweenClasses): use boost.format
9738
9739 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9740
9741         * converter.C (convert): if from and to files are the same, use a
9742         temporary files as intermediary
9743
9744 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9745
9746         * commandtags.h:
9747         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9748
9749 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9750
9751         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9752
9753 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9754
9755         * tabular.C (asciiPrintCell): use string(size, char) instead of
9756         explicit loop.
9757
9758         * sgml.C (openTag): fix order of arguments to string constructor
9759         (closeTag): ditto
9760
9761         * lyxfunc.C (dispatch): use boost.format
9762
9763         * lots of files: change "c" -> 'c'
9764
9765 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9766
9767         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9768
9769 2002-11-25  Angus Leeming  <leeming@lyx.org>
9770
9771         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9772
9773         * lyx_main.C (init): compile fix.
9774
9775 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9776
9777         * lyx_cb.C (start): boost.formatify
9778         do not include <iostream>
9779
9780         * lengthcommon.C: ws only
9781
9782         * boost-inst.C,BoostFormat.h: add more explict instantations
9783
9784 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9785
9786         * lots of files: handle USE_BOOST_FORMAT
9787
9788 2002-11-21  John Levon  <levon@movementarian.org>
9789
9790         * pspell.C: fix compile
9791
9792 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9793
9794         * lyxfunc.C (dispatch): use boost::format
9795         (open): ditto
9796         (doImport): ditto
9797
9798         * lyxfont.C (stateText): use boost::format
9799
9800         * lyx_main.C (LyX): use boost::format
9801         (init): ditto
9802         (queryUserLyXDir): ditto
9803         (readRcFile): ditto
9804         (parse_dbg): ditto
9805         (typedef boost::function): use the recommened syntax.
9806
9807         * importer.C (Import): use boost::format
9808
9809         * debug.C (showLevel): use boost::format
9810
9811         * converter.C (view): use boost::format
9812         (convert): ditto
9813         (move): ditto
9814         (scanLog): ditto
9815
9816         * bufferview_funcs.C (currentState): use boost::format
9817
9818         * bufferlist.C (emergencyWrite): use boost::format
9819
9820         * buffer.C (readLyXformat2): use boost::format
9821         (parseSingleLyXformat2Token): ditto
9822
9823         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9824
9825         * LaTeX.C (run): use boost::format
9826
9827         * Chktex.C (scanLogFile): use boost::format
9828
9829         * BufferView_pimpl.C (savePosition): use boost::format
9830         (restorePosition): ditto
9831         (MenuInsertLyXFile): ditto
9832
9833         * BoostFormat.h: help file for explicit instation.
9834
9835 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9836
9837         * tabular.C (latex): Support for block alignment in fixed width
9838         columns.
9839
9840 2002-11-17  John Levon  <levon@movementarian.org>
9841
9842         * BufferView_pimpl.C:
9843         * lyx_cb.C:
9844         * lyxfunc.C: split filedialog into open/save
9845
9846 2002-11-08  Juergen Vigna  <jug@sad.it>
9847
9848         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9849         by my last patch (hopefully).
9850
9851 2002-11-08  John Levon  <levon@movementarian.org>
9852
9853         * iterators.h:
9854         * iterators.C:
9855         * buffer.h:
9856         * buffer.C:
9857         * paragraph.h:
9858         * paragraph.C:
9859         * toc.h:
9860         * toc.C: ParConstIterator, and use it (from Lars)
9861
9862 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9863
9864         * lyxtextclass.[Ch]: revise and add doxygen comments
9865
9866 2002-11-07  John Levon  <levon@movementarian.org>
9867
9868         * text.C: fix progress value for spellchecker
9869
9870         * toc.C: fix navigate menu for insetwrap inside minipage
9871
9872         * paragraph_funcs.C: added FIXME for suspect code
9873
9874 2002-11-07  John Levon  <levon@movementarian.org>
9875
9876         * BufferView_pimpl.C: fix redrawing of insets
9877           on buffer switch
9878
9879 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9880
9881         * text2.C (updateCounters): fix bug 668
9882
9883 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9884
9885         * text3.C (dispatch): Do not make the buffer dirty when moving the
9886         cursor.
9887
9888 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9889
9890         * vc-backend.C: STRCONV
9891         (scanMaster): ditto
9892
9893         * text2.C (setCounter): STRCONV
9894
9895         * paragraph.C (asString): STRCONV
9896
9897         * lyxlength.C (asString): STRCONV
9898         (asLatexString): ditto
9899
9900         * lyxgluelength.C (asString): STRCONV
9901         (asLatexString): ditto
9902
9903         * lyxfunc.C (dispatch): STRCONV
9904         (open): ditto
9905
9906         * lyxfont.C (stateText): STRCONV
9907
9908         * importer.C (Import): STRCONV
9909
9910         * counters.C (labelItem): STRCONV
9911         (numberLabel): ditto
9912         (numberLabel): remove unused ostringstream o
9913
9914         * chset.C: STRCONV
9915         (loadFile): ditto
9916
9917         * bufferview_funcs.C (currentState): STRCONV
9918
9919         * buffer.C (readFile): STRCONV
9920         (asciiParagraph): ditto
9921         (makeLaTeXFile): ditto
9922
9923         * Spacing.C (writeEnvirBegin): STRCONV
9924
9925         * LaTeXFeatures.C (getLanguages): STRCONV
9926         (getPackages): ditto
9927         (getMacros): ditto
9928         (getBabelOptions): ditto
9929         (getTClassPreamble): ditto
9930         (getLyXSGMLEntities): ditto
9931         (getIncludedFiles): ditto
9932
9933         * LaTeX.C: STRCONV
9934         (run): ditto
9935         (scanAuxFile): ditto
9936         (deplog): ditto
9937
9938         * LString.h: add the STRCONV macros
9939
9940         * BufferView_pimpl.C (savePosition): STRCONV
9941         (restorePosition): ditto
9942         (MenuInsertLyXFile): ditto
9943
9944         * vc-backend.C (scanMaster): change from submatch[...] to
9945         submatch.str(...)
9946
9947         * funcrequest.C: include config.h
9948
9949         * factory.C: include config.h
9950
9951         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9952
9953         * box.C: include config.h
9954
9955         * LaTeX.C (scanAuxFile): change from submatch[...] to
9956         submatch.str(...)
9957         (deplog): ditto
9958
9959 2002-10-25  Angus Leeming  <leeming@lyx.org>
9960
9961         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9962
9963         * ispell.[Ch] (setError): new method.
9964         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9965         Use setError() insetead of goto END.
9966
9967         * lyx_cb.C (AutoSave): move out child process into new class
9968         AutoSaveBuffer.
9969
9970 2002-10-30  John Levon  <levon@movementarian.org>
9971
9972         * text3.C: make start appendix undoable
9973
9974 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9975
9976         * lyxlength.C (inPixels): Fix returned value.
9977
9978         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9979         environment.
9980
9981 2002-10-24  Angus Leeming  <leeming@lyx.org>
9982
9983         * lyxgluelength.h: no need to forward declare BufferParams
9984         or BufferView, so don't.
9985
9986 2002-10-21  John Levon  <levon@movementarian.org>
9987
9988         * BufferView.C: menuUndo ->undo, redo
9989
9990         * BufferView.h: document, remove dead, make some methods private
9991
9992         * paragraph_funcs.h:
9993         * paragraph_funcs.C:
9994         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9995
9996         * buffer.h:
9997         * buffer.C:
9998         * sgml.h:
9999         * sgml.C: move sgml open/close tag into sgml.C
10000
10001         * bufferview_funcs.h: unused prototype
10002
10003         * lyxfunc.h:
10004         * lyxfunc.C: remove unused
10005
10006         * lyxtext.h:
10007         * text.C: remove unused
10008
10009 2002-10-21  John Levon  <levon@movementarian.org>
10010
10011         * BufferView.h:
10012         * BufferView.C:
10013         * BufferView_pimpl.h:
10014         * BufferView_pimpl.C: fix mouse wheel handling based on
10015           patch from Darren Freeman
10016
10017 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10018
10019         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10020
10021 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10022
10023         * lyxlength.C (inPixels): Fix hanfling of negative length.
10024         Fix LyXLength::MU case.
10025
10026 2002-10-16  John Levon  <levon@movementarian.org>
10027
10028         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10029
10030 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10031
10032         * converter.C (view): add support for $$i (file name) and $$p
10033         (file path) for the viewer command. If $$i is not specified, then
10034         it is appended to the command (for compatibility with old syntax)
10035
10036 2002-10-14  Juergen Vigna  <jug@sad.it>
10037
10038         * undo_funcs.C (textHandleUndo): alter the order in which the
10039         new undopar is added to the LyXText, as we have to set first
10040         the right prev/next and then add it as otherwise the rebuild of
10041         LyXText is not correct. Also reset the cursor to the right paragraph,
10042         with this IMO we could remove the hack in "redoParagraphs()".
10043
10044 2002-10-09  Angus Leeming  <leeming@lyx.org>
10045
10046         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10047         to turn off an optimisation if a new inset is to be inserted.
10048
10049 2002-10-11 André Pönitz <poenitz@gmx.net>
10050
10051         * lyxtext.h: make some functions public to allow access
10052         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10053
10054 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10055
10056         * text3.C (dispatch): when changing layout, avoid an infinite loop
10057         [bug #652]
10058
10059 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10060
10061         * lyxrc.C (read): treat a viewer or converter command of "none" as
10062         if it were empty.
10063
10064         * MenuBackend.C (expandFormats): for an update, also allow the
10065         formats that are not viewable
10066
10067         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10068         script if it is newer than the lyxrc.defaults in user directory
10069
10070 2002-10-07 André Pönitz <poenitz@gmx.net>
10071
10072         * text.C: Vitaly Lipatov's small i18n fix
10073
10074 2002-09-25  Angus Leeming  <leeming@lyx.org>
10075
10076         * ispell.h: doxygen fix.
10077
10078 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10079
10080         * buffer.h (readFile): Add a new argument to the method, to allow
10081         reading of old-format templates.
10082
10083 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10084
10085         * toc.C (getTocList): Get TOC from InsetWrap.
10086
10087 2002-09-16  John Levon  <levon@movementarian.org>
10088
10089         * lyxfunc.C: check tabular for cut/copy too
10090
10091 2002-09-12  John Levon  <levon@movementarian.org>
10092
10093         * LyXAction.C: tidy
10094
10095         * factory.h:
10096         * factory.C: add header
10097
10098         * paragraph_funcs.h:
10099         * paragraph_funcs.C: cleanup
10100
10101 2002-09-11  John Levon  <levon@movementarian.org>
10102
10103         * PrinterParams.h: odd/even default to true
10104
10105 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10106
10107         * PrinterParams.h: update printer parameters for new xforms dialog
10108
10109 2002-09-11  Angus Leeming  <leeming@lyx.org>
10110
10111         * lyxserver.C (read_ready): re-write to make it more transparent
10112         and to make it work in coherent fashion under Tru64 Unix.
10113
10114 2002-09-11  André Pönitz <poenitz@gmx.net>
10115
10116         * commandtags.h:
10117         * LyXAction.C:
10118         * text3.C: implement LFUN_WORDSEL
10119
10120 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10121
10122         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10123         make floatlist_ a boost::shared_ptr<FloatList>
10124
10125         * lyxtextclass.C: include FloatList.h
10126         (LyXTextClass): initialize floatlist_
10127         (TextClassTags): add TC_NOFLOAT
10128         (Read): match "nofloat" to TC_NOFLOAT and use it.
10129         (readFloat): modify call to floatlist_
10130         (floats): ditto
10131         (floats): ditto
10132
10133         * FloatList.[Ch] (FloatList): remove commented out float
10134         initialization.
10135         (erase): new function
10136
10137 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10138
10139         * MenuBackend.C (expandToc): fix crash when there is no document
10140         open
10141
10142 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10143
10144         * many files: Add insetwrap.
10145
10146 2002-09-09  John Levon  <levon@movementarian.org>
10147
10148         * text2.C: remove confusing and awkward depth wraparound
10149
10150 2002-09-09  John Levon  <levon@movementarian.org>
10151
10152         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10153
10154         * buffer.h:
10155         * buffer.C: remove getIncludeonlyList()
10156
10157         * paragraph.C:
10158         * lyxfunc.C: remove headers
10159
10160 2002-09-09  Juergen Vigna  <jug@sad.it>
10161
10162         * text.C (getColumnNearX): fix form Michael this is most
10163         probably a cut&paste bug.
10164
10165 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10166
10167         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10168
10169         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10170         references, ws changes.
10171
10172         * text2.C (init): update counters after init
10173         (insertParagraph): no need to set counter on idividual paragraphs.
10174         (setCounter): access the counters object in the textclass object
10175         on in the buffer object.
10176         (updateCounters): ditto
10177
10178         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10179         shared_ptr<Counters> to avoid loading counters.h in all
10180         compilation units.
10181         (LyXTextClass): initialize ctrs_
10182         (TextClassTags): add TC_COUNTER, and ...
10183         (Read): use it here.
10184         (CounterTags): new tags
10185         (readCounter): new function
10186         (counters): new funtion
10187         (defaultLayoutName): return a const reference
10188
10189         * counters.C (Counters): remove contructor
10190         (newCounter): remove a couple of unneeded statements.
10191         (newCounter): simplify a bit.
10192         (numberLabel): some small formatting changes.
10193
10194         * buffer.[Ch]: remove all traces of counters, move the Counters
10195         object to the LyXTextClass.
10196
10197 2002-09-06  Alain Castera  <castera@in2p3.fr>
10198
10199         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10200         package to set the horizontal alignment on fixed width columns.
10201
10202         * lyx_sty.C:
10203         * lyx_sty.h: added tabularnewline macro def.
10204
10205         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10206
10207 2002-09-06  John Levon  <levon@movementarian.org>
10208
10209         * LyXAction.C: tooltips for sub/superscript
10210
10211         * MenuBackend.C: a bit more verbose
10212
10213         * lyxfunc.C: tiny clean
10214
10215         * undo_funcs.C: document undo_frozen
10216
10217 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10218
10219         * counters.C (Counters): add missing algorithm counter.
10220
10221         * text2.C (setCounter): lookup the counter with layouts latexname
10222         instead of by section number.
10223         (setCounter): use a hackish way to lookup the correct enum
10224         counter.
10225         a float name->type change
10226         reset enum couners with counter name directly instead of depth value.
10227
10228         * counters.C (Counters): remove the push_backs, change to use the
10229         float type not the float name.
10230         (labelItem): remove unused string, float name->type change
10231
10232         * counters.h: don't include vector, loose the enums and sects vectors
10233
10234 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10235
10236         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10237         (Read): add float->TC_FLOAT to textclassTags
10238         (Read): and handle it in the switch
10239         (readFloat): new function
10240
10241         * FloatList.C (FloatList): comment out the hardcoded float
10242         definitions.
10243
10244         * lyxlayout.h: ws change.
10245
10246 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10247
10248         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10249
10250 2002-09-03  Angus Leeming  <leeming@lyx.org>
10251
10252         * BufferView_pimpl.h: qualified name is not allowed in member
10253         declaration: WorkArea & Pimpl::workarea() const;
10254
10255         * factory.C: added using std::endl directive.
10256
10257         * text3.C: added using std::find and std::vector directives.
10258
10259 2002-08-29  André Pönitz <poenitz@gmx.net>
10260
10261         * lyxtext.h:
10262         * text2.C: remove unused member number_of_rows
10263
10264         * Makefile.am:
10265         * BufferView2.C: remove file, move contents to...
10266         * BufferView.C: ... here
10267
10268         * BufferView_pimpl.C:
10269         * factory.C: move more inset creation to factory
10270
10271         * vspace.C: avoid direct usage of LyXText, ws changes
10272
10273         * BufferView.[Ch]:
10274                 don't provide direct access to WorkArea, use two simple
10275                 acessors haveSelction() and workHeight() instead
10276
10277
10278 2002-08-29  John Levon  <levon@movementarian.org>
10279
10280         * BufferView_pimpl.C (dispatch): do not continue when
10281           no buffer
10282
10283 2002-08-28  André Pönitz <poenitz@gmx.net>
10284
10285         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10286
10287         * BufferView.h:
10288         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10289
10290 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10291
10292         * buffer.C: increment LYX_FORMAT to 221
10293
10294         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10295         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10296
10297         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10298
10299         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10300
10301 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10302
10303         * factory.C (createInset): use LyXTextClass::floats
10304
10305         * MenuBackend.C (expandFloatListInsert):
10306         (expandFloatInsert):
10307         (expandToc):
10308
10309         * text2.C (setCounter):
10310
10311         * LaTeXFeatures.C (useFloat):
10312         (getFloatDefinitions):
10313
10314         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10315
10316         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10317         floatlist_, with accessor floats().
10318
10319         * FloatList.h: remove global FloatList
10320
10321 2002-08-26  André Pönitz <poenitz@gmx.net>
10322
10323         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10324
10325         * BufferView.h:
10326         * BufferView2.C:
10327         * BufferView_pimpl.C:
10328         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10329
10330 2002-08-25  John Levon  <levon@movementarian.org>
10331
10332         * LyXAction.C: fix margin note description
10333
10334 2002-08-24  John Levon  <levon@movementarian.org>
10335
10336         * buffer.C:
10337         * bufferlist.C:
10338         * bufferview_funcs.C:
10339         * lyxfont.C:
10340         * undo_funcs.C: cleanups
10341
10342         * lyxfunc.C: disable CUT/COPY when no selection
10343
10344 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10345
10346         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10347         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10348
10349         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10350         Add backward compatibility to "mono", "gray" and "no".
10351
10352 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10353
10354         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10355         (and file_format >= 200).
10356
10357 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10358
10359         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10360
10361 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10362
10363         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10364
10365 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10366
10367         * BufferView_pimpl.C:
10368         * LyXAction.C:
10369         * buffer.C:
10370         * commandtags.h:
10371         * lyxfunc.C:
10372         * paragraph.[Ch]:
10373         * text2.C:
10374         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10375         inset and code to make it  work with the paragraph code. The inset
10376         can be anywhere in the paragraph, but will only do the expected
10377         thing in LaTeX if the layout file contains the parameter line
10378                         OptionalArgs    1
10379         (or more generally, a nonzero value) for that layout.
10380
10381 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10382
10383         * paragraph.h: remove the declaration of undefined counters class
10384         function.
10385
10386 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10387
10388         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10389         Dr. Richard Hawkins.
10390
10391 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10392
10393         * paragraph_funcs.h: remove some unneeded includes
10394
10395         * text.C (backspace): pasteParagraph now in global scipe
10396
10397         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10398         (pasteSelection): ditto
10399
10400         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10401         * paragraph_funcs.C (pasteParagraph): ... here
10402
10403 2002-08-20  André Pönitz <poenitz@gmx.net>
10404
10405         * commandtags.h: new LFUNs for swapping/copying table row/colums
10406
10407         * LyXAction.C:
10408         * lyxfunc.C: support for new lfuns
10409
10410 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10411
10412         * tabular.C:
10413         * buffer.[Ch]: remove NO_COMPABILITY stuff
10414
10415 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10416
10417         * boost.C (throw_exception): new file, with helper function for
10418         boost compiled without exceptions.
10419
10420         * paragraph.h:
10421         * lyxlength.C:
10422         * buffer.C:
10423         * ParameterStruct.h:
10424         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10425
10426         * bufferlist.C (emergencyWriteAll): use boost bind
10427
10428         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10429
10430         * text.C: include paragraph_funcs.h
10431         (breakParagraph): breakParagraph is now in global scope
10432
10433         * paragraph_funcs.[Ch]: new files
10434
10435         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10436         global scope
10437
10438         * buffer.C: include paragraph_funcs.h
10439         (insertStringAsLines): breakParagraph is now in global scope
10440
10441         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10442         paragraph_funcs.C
10443
10444         * CutAndPaste.C: include paragraph_funcs.h
10445         (cutSelection): breakParagraphConservative is now in global scope
10446         (pasteSelection): ditto
10447
10448         * buffer.h: declare oprator== and operator!= for
10449         Buffer::inset_iterator
10450
10451         * bufferlist.C (emergencyWrite): don't use fmt(...)
10452
10453         * text3.C: add using std::endl
10454
10455         * BufferView.C (moveCursorUpdate): remove default arg
10456
10457 2002-08-20  André Pönitz <poenitz@gmx.net>
10458
10459         * buffer.[Ch]: move inline functions to .C
10460
10461         * BufferView2.C:
10462         * BufferView_pimpl.C:
10463         * text.C:
10464         * buffer.[Ch]: use improved inset_iterator
10465
10466         * buffer.C:
10467         * paragraph.[Ch]: write one paragraph at a time
10468
10469 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10470
10471         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10472         style if style is not specified.
10473
10474 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10475
10476         * text2.C (setCounter): when searching for right label for a
10477         caption, make sure to recurse to parent insets (so that a caption
10478         in a minipage in a figure float works) (bug #568)
10479
10480 2002-08-20  André Pönitz <poenitz@gmx.net>
10481
10482         * text3.C: new file for LyXText::dispatch() and helpers
10483
10484         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10485
10486         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10487
10488 2002-08-19  André Pönitz <poenitz@gmx.net>
10489
10490         * lyxtext.h:
10491         * text.C: new LyXText::dispatch()
10492
10493         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10494
10495 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10496
10497         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10498
10499         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10500         Hebrew text.
10501
10502 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10503
10504         * Makefile.am: use $(variables) instead of @substitutions@
10505
10506 2002-08-15  André Pönitz <poenitz@gmx.net>
10507
10508         * lyxfunc.C:
10509         * BufferView_pimpl.C: streamlining mathed <-> outer world
10510         interaction
10511
10512         * commandtags.h:
10513         * LyXAction.C: remove unused LFUN_MATH
10514
10515 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10516
10517         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10518
10519 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10520
10521         * paragraph.C (Paragraph): reformat a bit
10522         (cutIntoMinibuffer): use builtin InsetList function instad of
10523         doing it manually.
10524         (getInset): ditto
10525
10526         * buffer.C: include boost/bind.hpp, add using std::for_each
10527         (writeFileAscii): use ParagraphList iterators
10528         (validate): use for_each for validate traversal of paragraphs
10529         (getBibkeyList): use ParagraphList iterators
10530         (resizeInsets): use for_each to resizeInsetsLyXText for all
10531         paragraphs.
10532         (getParFromID): use ParagraphList iterators
10533
10534         * BufferView2.C (lockInset): use paragraph list and iterators
10535
10536 2002-08-14  John Levon  <levon@movementarian.org>
10537
10538         * lyxserver.C: remove spurious xforms include
10539
10540 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10541
10542         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10543
10544 2002-08-13  André Pönitz <poenitz@gmx.net>
10545
10546         * LyXAction.[Ch]:
10547         * lyxfunc.C: further cleaning
10548
10549 2002-08-13  André Pönitz <poenitz@gmx.net>
10550
10551         * funcrequest.h: new constructor
10552
10553         * funcrequest.C: move stuff here from .h
10554
10555         * Makefile.am:
10556         * BufferView_pimpl.C:
10557         * LyXAction.C:
10558         * toc.C:
10559         * lyxfunc.C: subsequent changes
10560
10561         * lyxfunc.h: new view() member function
10562
10563         * lyxfunc.C: subsequent changes
10564
10565 2002-08-13  Angus Leeming  <leeming@lyx.org>
10566
10567         * BufferView2.C:
10568         * BufferView_pimpl.C:
10569         * buffer.C:
10570         * converter.C:
10571         * importer.C:
10572         * lyxfunc.C:
10573         * lyxvc.C:
10574         * toc.C:
10575         * vc-backend.C:
10576         changes due to the changed LyXView interface that now returns references
10577         to member variables not pointers.
10578
10579 2002-08-13  Angus Leeming  <leeming@lyx.org>
10580
10581         * WordLangTuple (word, lang_code): return references to strings,
10582         not strings.
10583
10584         * BufferView.h:
10585         * SpellBase.h:
10586         * lyxtext.h: forward-declare WordLangTuple.
10587
10588         * BufferView2.C:
10589         * ispell.C:
10590         * pspell.C:
10591         * text.C: #include "WordLangTuple.h".
10592
10593         * lyxtext.h:
10594         * text.C: (selectNextWordToSpellcheck): constify return type.
10595
10596 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10597
10598         * buffer.C:
10599         * buffer.h:
10600         * lyxtext.h:
10601         * paragraph.C:
10602         * paragraph_pimpl.h:
10603         * text.C:
10604         * text2.C:
10605         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10606         suggested by Angus.
10607         Made updateCounter always count from start of buffer, and removed
10608         second argument (par).
10609         Reverted floats number display to '#'. Perhaps I'll try again when the
10610         code base is sanitized a bit.
10611
10612 2002-08-12  Angus Leeming  <leeming@lyx.org>
10613
10614         * buffer.[Ch] (getLabelList): constify.
10615
10616 2002-08-07  André Pönitz <poenitz@gmx.net>
10617
10618         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10619
10620         * funcrequest.h: extension to keep mouse (x,y) position
10621
10622 2002-08-12  Juergen Vigna  <jug@sad.it>
10623
10624         * BufferView2.C (insertErrors): forbid undo when inserting error
10625         insets.
10626
10627         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10628
10629 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10630
10631         * ParagraphList.[Ch]: new files
10632
10633         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10634
10635         * BufferView2.C (lockInset): ParagraphList changes
10636         * toc.C: ditto
10637         * text2.C: ditto
10638         * bufferlist.C: ditto
10639         * buffer.h: ditto
10640         * buffer.C: ditto
10641
10642 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10643
10644         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10645         unused class variable counter_,
10646
10647         * paragraph.[Ch] (getFirstCounter): delete unused function
10648
10649         * counters.C: include LAssert.h
10650         (reset): add a new function with no arg, change other version to
10651         not have def. arg and to not allow empty arg.
10652
10653         * text2.C (setCounter): remove empty arg from call to Counters::reset
10654
10655 2002-08-11  John Levon  <levon@movementarian.org>
10656
10657         * Makefile.am: add WordLangTuple.h
10658
10659 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10660
10661         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10662         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10663
10664         * insets/insettext.C: InsetList changes
10665
10666         * graphics/GraphicsSupport.C (operator()): InsetList changes
10667
10668         * toc.C (getTocList): InsetList changes
10669
10670         * paragraph_pimpl.[Ch]: InsetList changes
10671
10672         * paragraph.[Ch]: InsetList changes
10673
10674         * buffer.C (inset_iterator): InsetList changes
10675         (setParagraph): ditto
10676         * buffer.h (inset_iterator): ditto
10677         * iterators.C (operator++): ditto
10678         * iterators.h: ditto
10679
10680         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10681
10682         * InsetList.[Ch]: new files, most InsetList handling moved out of
10683         paragraph.C.
10684
10685         * BufferView2.C (removeAutoInsets): InsetList changes
10686         (lockInset): ditto
10687         (ChangeInsets): ditto
10688
10689 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10690
10691         * paragraph_pimpl.h (empty): new function
10692
10693         * paragraph.[Ch] (empty): new function
10694
10695         * other files: use the new Paragraph::empty function
10696
10697 2002-08-09  John Levon  <levon@movementarian.org>
10698
10699         * lyxtext.h: remove unused refresh_height
10700
10701 2002-08-09  John Levon  <levon@movementarian.org>
10702
10703         * Makefile.am:
10704         * sgml.h:
10705         * sgml.C:
10706         * buffer.C:
10707         * paragraph.h:
10708         * paragraph.C: move sgml char escaping out of paragraph
10709
10710         * paragraph.h:
10711         * paragraph.C: remove id setter
10712
10713         * buffer.C:
10714         * paragraph.C:
10715         * paragraph_pimpl.C: remove dead tex_code_break_column
10716
10717         * bufferview_funcs.C: small cleanup
10718
10719         * lyxfunc.C: remove dead proto
10720
10721         * lyxtext.h: make some stuff private. Remove some dead stuff.
10722
10723         * lyxgluelength.C: make as[LyX]String() readable
10724
10725 2002-08-08  John Levon  <levon@movementarian.org>
10726
10727         * LyXAction.h:
10728         * LyXAction.C:
10729         * MenuBackend.C:
10730         * ToolbarDefaults.C:
10731         * lyxfunc.C:
10732         * lyxrc.C:
10733         * toc.C: lyxaction cleanup
10734
10735 2002-08-08  John Levon  <levon@movementarian.org>
10736
10737         * BufferView2.C: small cleanup
10738
10739         * lyxfind.h:
10740         * lyxfind.C: move unnecessary header into the .C
10741
10742 2002-08-08  John Levon  <levon@movementarian.org>
10743
10744         * funcrequest.h: just tedious nonsense
10745
10746         * lyx_main.h:
10747         * lyx_main.C: cleanups
10748
10749         * buffer.C:
10750         * vspace.C: remove dead header lyx_main.h
10751
10752 2002-08-07  Angus Leeming  <leeming@lyx.org>
10753
10754         * Paragraph.[Ch]:
10755         * paragraph_pimpl.h:
10756         Forward declare class Counters in paragraph.h by moving the ctrs member
10757         variable into Paragraph::Pimpl.
10758         (counters): new method, returning a reference to pimpl_->ctrs.
10759
10760         * text2.C: ensuing changes.
10761
10762 2002-08-07  John Levon  <levon@movementarian.org>
10763
10764         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10765
10766         * BufferView_pimpl.C: announce X selection on double/triple
10767           click
10768
10769         * lyx_main.C: use correct bool in batch dispatch
10770
10771         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10772
10773 2002-08-07  André Pönitz <poenitz@gmx.net>
10774
10775         * funcrequest.h: new class to wrap a kb_action and its argument
10776
10777         * BufferView.[Ch]:
10778         * BufferView_pimpl[Ch]:
10779         * LaTeX.C:
10780         * LyXAction.[Ch]:
10781         * lyxfunc.[Ch]:
10782         * lyxrc.C: subsequent changes
10783
10784
10785 2002-08-07  John Levon  <levon@movementarian.org>
10786
10787         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10788           document options change.
10789
10790 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10791
10792         * counters.[Ch]
10793         * text2.C
10794         * paragraph.[Ch]
10795         * makefile.am: move counters functionality over from
10796         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10797
10798 2002-08-06  John Levon  <levon@movementarian.org>
10799
10800         * WordLangTuple.h: new file for word + language code tuple
10801
10802         * SpellBase.h:
10803         * pspell.h:
10804         * pspell.C:
10805         * ispell.h:
10806         * ispell.C:
10807         * lyxtext.h:
10808         * text.C:
10809         * text2.C:
10810         * BufferView.h:
10811         * BufferView2.C: use WordLangTuple
10812
10813         * layout.h:
10814         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10815
10816 2002-08-06  John Levon  <levon@movementarian.org>
10817
10818         * lyx_main.C: fix cmdline batch handling
10819
10820 2002-08-06  André Pönitz <poenitz@gmx.net>
10821
10822         * lyxrc.C: set default for show_banner to true
10823
10824 2002-08-06  John Levon  <levon@movementarian.org>
10825
10826         * pspell.C: fix a crash, and allow new aspell to work
10827
10828 2002-08-06  John Levon  <levon@movementarian.org>
10829
10830         * lyxfunc.C:
10831         * kbmap.C: small cleanup
10832
10833         * vspace.h:
10834         * vspace.C: add const
10835
10836 2002-08-05  John Levon  <levon@movementarian.org>
10837
10838         * LyXAction.C: back to tabular-insert
10839
10840 2002-08-04  John Levon  <levon@movementarian.org>
10841
10842         * BufferView.h:
10843         * BufferView.C: cosmetic change
10844
10845         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10846
10847         * bufferlist.C:
10848         * buffer.h:
10849         * buffer.C:
10850         * lyxcb.h:
10851         * lyxcb.C:
10852         * lyxserver.C:
10853         * lyxvc.C:
10854         * vc-backend.C:
10855         * BufferView2.C: purge all "Lyx" not "LyX" strings
10856
10857         * lyxcursor.h:
10858         * lyxcursor.C: attempt to add some documentation
10859
10860         * lyxfunc.C:
10861         * commandtags.h:
10862         * LyXAction.C:
10863         * ToolbarDefaults.C:
10864         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10865           merge with LFUN_TABULAR_INSERT
10866
10867         * Makefile.am:
10868         * SpellBase.h:
10869         * ispell.h:
10870         * ispell.C:
10871         * pspell.h:
10872         * pspell.C: split up i/pspell implementations into separate
10873           files, many cleanups
10874
10875         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10876
10877         * text2.C: some cleanup
10878
10879         * lyxfunc.C: don't check for isp_command == "none" any more, it
10880           didn't make any sense
10881
10882 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10883
10884         * counters.[Ch]
10885         * text2.C
10886         * paragraph.[Ch]
10887         * makefile.am: move counters functionality over
10888         from text2.C/paragraph.[Ch] to counters.[Ch], and
10889         make proper C++.
10890 2002-08-02  John Levon  <levon@movementarian.org>
10891
10892         * buffer.C: s/lyxconvert/lyx2lyx/
10893
10894 2002-08-02  Angus Leeming  <leeming@lyx.org>
10895
10896         * lyxlex.C: revert John's change as it breaks reading of the user
10897         preamble.
10898
10899 2002-08-02  Angus Leeming  <leeming@lyx.org>
10900
10901         * importer.C (Import):
10902         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10903         changes due to LyXView::view() now returning a boost::shared_ptr.
10904
10905 2002-08-02  John Levon  <levon@movementarian.org>
10906
10907         * lyxlex.C: small cleanup
10908
10909 2002-08-02  John Levon  <levon@movementarian.org>
10910
10911         * text2.C (status): small cleanup, no logic change
10912
10913 2002-08-01  John Levon  <levon@movementarian.org>
10914
10915         * buffer.h:
10916         * buffer.C (writeFile): don't output alerts, caller
10917           handles this
10918
10919         * bufferlist.C:
10920         * lyx_cb.C: from above
10921
10922         * lyxfunc.C: allow to open non-existent files
10923
10924 2002-07-31  John Levon  <levon@movementarian.org>
10925
10926         * lyxserver.C: don't let incidental errors get
10927           in the way (errno)
10928
10929 2002-07-30  John Levon  <levon@movementarian.org>
10930
10931         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10932
10933 2002-07-30  John Levon  <levon@movementarian.org>
10934
10935         * lyxserver.h:
10936         * lyxserver.C: remove I/O callback too
10937
10938 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10939
10940         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10941         log.
10942
10943 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10944
10945         * many files: strip,frontStrip -> trim,ltrim,rtrim
10946
10947 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10948
10949         * PrinterParams.h: remove extern containsOnly, and include
10950         support/lstrings.h instead.
10951
10952         * LaTeX.C (scanAuxFile): modify because of strip changes
10953         (deplog): ditto
10954         * buffer.C (makeLaTeXFile): ditto
10955         * bufferparams.C (writeFile): ditt
10956         * lyxfont.C (stateText): ditto
10957         * lyxserver.C (read_ready): ditto
10958         * vc-backend.C (scanMaster): ditto
10959
10960         * BufferView_pimpl.h: ws changes
10961
10962         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10963
10964 2002-07-26  André Pönitz <poenitz@gmx.net>
10965
10966         * kb_sequence.C: remove unnedred usings
10967
10968 2002-07-26  Juergen Vigna  <jug@sad.it>
10969
10970         * lyxfind.C (LyXReplace): we have to check better if the returned
10971         text is not of theLockingInset()->getLockingInset().
10972
10973 2002-07-25  Juergen Vigna  <jug@sad.it>
10974
10975         * lyxfind.C (LyXReplace): don't replace if we don't get the
10976         right LyXText.
10977
10978         * undo_funcs.C (createUndo): remove debugging code.
10979
10980 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10981
10982         * buffer.C (parseSingleLyXformat2Token): Use default placement
10983         when reading old floats.
10984
10985         * FloatList.C (FloatList): Change the default placement of figure
10986         and tables to "tbp".
10987
10988 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10989
10990         * MenuBackend.C: using std::max
10991
10992 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10993
10994         * MenuBackend.C (expandToc):
10995         (expandToc2): code moved from xforms menu frontend. It is now
10996         generic and TOCs are transparent to menu frontends.
10997
10998 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10999
11000         * toc.C (getTocList): protect against buf=0
11001
11002         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11003         Menu as first parameter. Now, this calls itself recursively to
11004         expand a whole tree (this will be useful for TOC handling)
11005         (expandFloatInsert): remove 'wide' version of floats
11006
11007         * MenuBackend.h (submenuname): returns the name of the submenu.
11008         (submenu): returns the submenu itself, provided it has been
11009         created by MenuBackend::expand
11010
11011 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11012
11013         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11014         insets which have noFontChange == true. (bug #172)
11015
11016 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11017
11018         * BufferView_pimpl.C: add connection objects and use them...
11019         (Pimpl): here.
11020
11021 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11022
11023         * MenuBackend.C (expandLastfiles):
11024         (expandDocuments):
11025         (expandFormats):
11026         (expandFloatListInsert):
11027         (expandFloatInsert):
11028         (expand): split expand in parts
11029
11030 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11031
11032         * lyx_gui.C: use lyx_gui::exit()
11033
11034 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11035
11036         * LyXAction.C: show the failing pseudo action
11037
11038 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11039
11040         * buffer.C (readFile): Run the lyxconvert script in order to read
11041         old files.
11042
11043 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11044
11045         * LyXAction.C:
11046         * commandtags.h:
11047         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11048
11049 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11050
11051         * LyXAction.C:
11052         * commandtags.h:
11053         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11054
11055 2002-07-22  Herbert Voss  <voss@lyx.org>
11056
11057         * lengthcommon.C:
11058         * lyxlength.[Ch]: add support for the vertical lengths
11059
11060 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11061
11062         * toc.[Ch]: std:: fixes
11063
11064 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11065
11066         * lyxrc.C: do not include lyx_main.h
11067
11068         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11069         for layouts
11070
11071         * lyxrc.C:
11072         * encoding.C:
11073         * bufferlist.C:
11074         * BufferView2.C: include "lyxlex.h"
11075
11076         * tabular.h:
11077         * bufferparams.h: do not #include "lyxlex.h"
11078
11079         * lyxtextclasslist.C (Add): remove method
11080         (classlist): renamed to classlist_
11081
11082         * paragraph_pimpl.C:
11083         * paragraph.C:
11084         * text2.C:
11085         * CutAndPaste.C:
11086         * bufferview_funcs.C:
11087         * bufferlist.C:
11088         * text.C:
11089         * LaTeXFeatures.C:
11090         * buffer.C:
11091         * toc.C (getTocList): use BufferParams::getLyXTextClass
11092
11093         * toc.C (getTocList): use InsetFloat::addToToc
11094
11095         * toc.[Ch]: new files, containing helper functions to handle table
11096         of contents
11097
11098         * lyxfunc.C (dispatch): no need to remove spaces around command
11099         given as a string
11100         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11101         first command of the sequence; it is not very clever, but I do not
11102         have a better idea, actually
11103
11104         * LyXAction.C (LookupFunc): make sure to remove space at the
11105         beginning and end of the command
11106
11107 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11108
11109         * MenuBackend.C (getMenubar): new method: return the menubar of
11110         this menu set
11111         (read): treat differently reading of menu and menubar (in
11112         particular, the menubar has no name now)
11113         (Menu::menubar): remove
11114
11115         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11116         saving is finished
11117
11118 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11119
11120         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11121         a bibitem inset in a RTL paragraph.
11122
11123 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11124
11125         * paragraph_pimpl.C: constify
11126
11127         * BufferView_pimpl.C:
11128         * LaTeX.C:
11129         * lyxfunc.C: fix dispatch in a nicer way
11130
11131 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11132
11133         * lyxfunc.C (dispatch):
11134         * BufferView_pimpl.C:
11135         * BufferView_pimpl.h:
11136         * BufferView.C:
11137         * BufferView.h: rename Dispatch() to dispatch()
11138
11139         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11140
11141         * lyxlayout.C (Read): honor DependsOn tag
11142
11143         * lyxlayout.[Ch] (depends_on): new method
11144
11145         * version.C.in: update lyx_docversion
11146
11147         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11148
11149         * paragraph.C (validate): remove from here...
11150         * paragraph_pimpl.C (validate): ... and move here
11151         (isTextAt): make it const
11152
11153         * buffer.C (getLists): ws cleanup
11154
11155 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11156
11157         * language.C (read): Use iso8859-1 encoding in latex_lang
11158         (this prevents LyX from crashing when using iso10646-1 encoding).
11159
11160 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11161
11162         * text2.C (toggleInset): if cursor is inside an inset, close the
11163         inset and leave cursor _after_ it
11164
11165 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11166
11167         * lyxfunc.C: move minibuffer completion handling out of here
11168
11169 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11170
11171         * BufferView_pimpl.C:
11172         * LaTeX.C: fix dispatch calls
11173
11174 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11175
11176         * text.C (drawChars): Fix Arabic text rendering.
11177
11178 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11179
11180         * LyXAction.C:
11181         * commandtags.h:
11182         * lyxfunc.C: remove message-push/pop
11183
11184         * lyxserver.C:
11185         * lyxfunc.h:
11186         * lyxfunc.C: rationalise some code by removing verboseDispatch
11187           in favour of a bool argument to dispatch()
11188
11189 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11190
11191         * lyx_main.C (init): make sure to read symlinks as absolute paths
11192
11193 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11194
11195         * lyxfunc.h:
11196         * lyxfunc.C: no need for commandshortcut to be a member
11197
11198 2002-07-15  André Pönitz <poenitz@gmx.net>
11199
11200         * converter.C: add support for $$s (scripts from lib/scripts dir)
11201         * lyx_main.C: white space
11202
11203 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11204
11205         * bufferlist.C:
11206         * lyxrc.h:
11207         * lyxrc.C: remove second exit confirmation
11208
11209 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11210
11211         * BufferView.h:
11212         * BufferView.C:
11213         * BufferView2.C:
11214         * BufferView_pimpl.h:
11215         * BufferView_pimpl.C:
11216         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11217
11218 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11219
11220         * MenuBackend.C (expand): add numeric shortcuts to document menu
11221
11222         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11223
11224 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11225
11226         * lyxfont.C (setLyXFamily):
11227         (setLyXSeries):
11228         (setLyXShape):
11229         (setLyXSize):
11230         (setLyXMisc):
11231         (lyxRead):
11232         * debug.C (value):
11233         * buffer.C (asciiParagraph): use ascii_lowercase
11234
11235 2002-07-15  Mike Fabian  <mfabian@suse.de>
11236
11237         * lyxlex_pimpl.C (search_kw):
11238         * lyxlex.C (getLongString):
11239         * converter.h (operator<):
11240         * converter.C (operator<):
11241         * buffer.C (parseSingleLyXformat2Token):
11242         (asciiParagraph):
11243         * ToolbarDefaults.C (read):
11244         * MenuBackend.C (checkShortcuts):
11245         (read):
11246         * LColor.C (getFromGUIName):
11247         (getFromLyXName): use the compare_ascii_no_case instead of
11248         compare_no_case, because in turkish, 'i' is not the lowercase
11249         version of 'I', and thus turkish locale breaks parsing of tags.
11250
11251 2002-07-16  Angus Leeming  <leeming@lyx.org>
11252
11253         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11254         now takes a Buffer const & argument.
11255
11256 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11257
11258         * BufferView.C (resize): check there's a buffer to resize
11259
11260 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11261
11262         * lyxfunc.C: remove dead code
11263
11264         * lyxserver.h:
11265         * lyxserver.C: use lyx_guii::set_read_callback
11266
11267 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11268
11269         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11270         an inset in a RTL paragraph.
11271
11272 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11273
11274         * lyxfunc.C: repaint after a font size update
11275
11276 2002-07-15  André Pönitz <poenitz@gmx.net>
11277
11278         * lyxlength.C: inBP should be able to return negative values
11279
11280 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11281
11282         * lyxfunc.C: use lyx_gui::update_fonts()
11283
11284 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11285
11286         * lyxfunc.C: use lyx_gui::update_color()
11287
11288 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11289
11290         * bufferlist.C:
11291         * lyxfunc.h:
11292         * lyxfunc.C:
11293         * lyxrc.h:
11294         * lyxrc.C: remove file->new asks for name option, and let
11295           buffer-new take an argument
11296
11297 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11298
11299         * BufferView_pimpl.C: remove unneeded extra repaint()
11300
11301 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11302
11303         * LyXAction.C: allow command-sequence with NoBuffer
11304
11305         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11306
11307 2002-07-10  Angus Leeming  <leeming@lyx.org>
11308
11309         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11310
11311 2002-07-09  Angus Leeming  <leeming@lyx.org>
11312
11313         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11314
11315 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11316
11317         * lengthcommon.h: whitespace
11318
11319         * lyxfunc.C: update scrollbar after goto paragraph
11320
11321         * lyxtext.h: factor out page break drawing, and fix it so
11322           page break/added space paints as selected nicely
11323
11324 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11325
11326         * BufferView_pimpl.C: add FIXMEs, clean up a little
11327
11328 2002-07-09  André Pönitz <poenitz@gmx.net>
11329
11330         * lyxfont.[Ch]: support for wasy symbols
11331
11332 2002-07-08  André Pönitz <poenitz@gmx.net>
11333
11334         * BufferView_pimpl.C: apply John's patch for #93.
11335
11336 2002-07-05  Angus Leeming  <leeming@lyx.org>
11337
11338         * BufferView_pimpl.C (buffer): generate previews if desired.
11339
11340         * LColor.h: add "preview" to the color enum.
11341
11342         * LColor.C (LColor): add a corresponding entry to the items array.
11343
11344         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11345         with this buffer.
11346
11347 2002-07-05  Angus Leeming  <leeming@lyx.org>
11348
11349         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11350         The body of the code is now in the method that is passed an ostream &
11351         rather than a file name.
11352         Pass an additional only_preamble parameter, useful for the forthcoming
11353         preview stuff.
11354
11355 2002-07-03  André Pönitz <poenitz@gmx.net>
11356
11357         * lyxfunc.C: simplify getStatus() a bit for math stuff
11358
11359 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11360
11361         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11362
11363 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11364
11365         * text.C (changeRegionCase): do not change case of all the
11366         document when region ends at paragraph end (bug #461)
11367
11368 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11369
11370         * paragraph.C (startTeXParParams):
11371         (endTeXParParams): add \protect when necessary
11372
11373 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11374
11375         * BufferView_pimpl.C (workAreaExpose): remove warning
11376
11377 2002-06-27  Angus Leeming  <leeming@lyx.org>
11378
11379         * Makefile.am: add lyxlayout_ptr_fwd.h.
11380
11381 2002-06-26  André Pönitz <poenitz@gmx.net>
11382
11383         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11384
11385 2002-06-25  Angus Leeming  <leeming@lyx.org>
11386
11387         * lyxfunc.C (dispatch): Comment out the call to
11388         grfx::GCache::changeDisplay. The method no longer exists now that the
11389         pixmap generation part of the graphics loader has been moved into
11390         InsetGraphics.
11391
11392 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11393
11394         * text2.C: layout as layout
11395
11396         * text.C: layout as layout
11397
11398         * tabular.C (OldFormatRead): layout as layout
11399
11400         * paragraph_pimpl.C (TeXDeeper): layout as layout
11401         (realizeFont): layout as layout
11402
11403         * paragraph.C (writeFile): layout as layout
11404         (validate): layout as layout
11405         (getFont): layout as layout
11406         (getLabelFont): layout as layout
11407         (getLayoutFont): layout as layout
11408         (breakParagraph): layout as layout
11409         (stripLeadingSpaces): layout as layout
11410         (getEndLabel): layout as layout
11411         (getMaxDepthAfter): layout as layout
11412         (applyLayout): layout as layout
11413         (TeXOnePar): layout as layout
11414         (simpleTeXOnePar): layout as layout
11415         (TeXEnvironment): layout as layout
11416         (layout): layout as layout
11417         (layout): layout as layout
11418
11419         * lyxtextclass.C (compare_name): new functor to work with
11420         shared_ptr, layout as layout
11421         (Read): layout as layout
11422         (hasLayout): layout as layout
11423         (operator): layout as layout
11424         (delete_layout): layout as layout
11425         (defaultLayout): layout as layout
11426
11427         * lyxlayout_ptr_fwd.h: new file
11428
11429         * lyxlayout.C (Read): layout as layout
11430
11431         * lyx_cb.C (MenuInsertLabel): layout as layout
11432
11433         * bufferlist.C (newFile): layout as layout
11434
11435         * buffer.C (readLyXformat2): layout as layout
11436         (parseSingleLyXformat2Token): layout as layout
11437         (insertStringAsLines): layout as layout
11438         (asciiParagraph): layout as layout
11439         (latexParagraphs): layout as layout
11440         (makeLinuxDocFile): layout as layout
11441         (simpleLinuxDocOnePar): layout as layout
11442         (makeDocBookFile): layout as layout
11443         (simpleDocBookOnePar): layout as layout
11444         (getLists): layout as layout
11445
11446         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11447
11448         * CutAndPaste.C (cutSelection): layout as layout
11449         (pasteSelection): layout as layout
11450         (SwitchLayoutsBetweenClasses): layout as layout
11451
11452         * BufferView_pimpl.C (Dispatch): layout as layout
11453         (smartQuote): layout as layout
11454
11455         * BufferView2.C (unlockInset): layout as layout
11456
11457 2002-06-24  André Pönitz <poenitz@gmx.net>
11458
11459         * lyxfunc.C: fix #487
11460
11461 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11462
11463         * lyxrc.h:
11464         * lyxrc.C:
11465         * lyxfunc.C: remove display_shortcuts, show_banner
11466
11467 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11468
11469         * Buffer_pimpl.C: oops, update on resize
11470
11471 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11472
11473         * buffer.C:
11474         * converter.C:
11475         * exporter.C:
11476         * lyxfunc.C:
11477         * BufferView.h:
11478         * BufferView.C: use repaint()
11479
11480         * BufferView_pimpl.h:
11481         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11482           as it's a clearer description. Remove superfluous
11483           redraws.
11484
11485 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11486
11487         * text.C: fix bug 488. Not ideal, but getting
11488           getWord() to work properly for the insets that
11489           matter is more difficult ...
11490
11491 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11492
11493         * BufferView_pimpl.C:
11494         * LyXAction.C:
11495         * commandtags.h:
11496         * lyxfunc.C: remove the six million index lyxfuncs to just
11497           one, and DTRT (bug 458)
11498
11499 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * BufferView.h:
11502         * BufferView.C:
11503         * BufferView_pimpl.h:
11504         * BufferView_pimpl.C: clean up resize() stuff,
11505           and unnecessary updateScreen()s
11506
11507 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11508
11509         * BufferView.h:
11510         * BufferView.C:
11511         * BufferView_pimpl.h:
11512         * BufferView_pimpl.C:
11513         * lyxfind.h:
11514         * lyxfind.C:
11515         * minibuffer.C: remove focus management of workarea,
11516           not needed. Use screen's greyOut()
11517
11518 2002-06-17  Herbert Voss  <voss@lyx.org>
11519
11520         * converter.C: (convert) do not post a message, when converting
11521         fails, let the calling function decide what to do in this case
11522
11523 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11524
11525         * lyxfunc.C: tidy up a little
11526
11527 2002-06-16    <alstrup@diku.dk>
11528
11529         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11530         Got rid of FORMS_H_LOCATION include. Now we are
11531         GUII.
11532
11533 2002-06-15  LyX Development team  <lyx@rilke>
11534
11535         * buffer.[Ch] (sgmlOpenTag):
11536         (sgmlCloseTag): Added support for avoiding pernicious mixed
11537         content. Return number of lines written.
11538
11539         (makeLinuxDocFile):
11540         (makeDocBookFile): Fixed calls to sgml*Tag.
11541         Simple white space clean.
11542
11543         (simpleDocBookOnePar): Simple white space clean.
11544
11545         * tabular.[Ch] (docBook): Renamed to docbook and got another
11546         argument to related with the pernicious mixed content.
11547
11548         (docbookRow): Fixed calls for docbook inset method.
11549
11550 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11551
11552         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11553         so it's X11 independent.
11554
11555         * kb*.[Ch]: ditto.
11556
11557         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11558
11559 2002-06-15  Lyx Development team  <lyx@electronia>
11560
11561         * intl.h: Renamed getTrans to getTransManager.
11562
11563 2002-06-14  Angus Leeming  <leeming@lyx.org>
11564
11565         * Makefile.am: nuke forgotten stl_string_fwd.h.
11566
11567 2002-06-12  Angus Leeming  <leeming@lyx.org>
11568
11569         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11570
11571 2002-06-13  Angus Leeming  <leeming@lyx.org>
11572
11573         * LaTeX.C:
11574         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11575
11576 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11577
11578         * kbmap.C (getiso): add support for cyrillic and greek
11579
11580 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11581
11582         * BufferView.h:
11583         * BufferView.C:
11584         * BufferView_pimpl.h:
11585         * BufferView_pimpl.C: move bogus scrolling logic
11586           to xforms
11587
11588 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11589
11590         * lyxfunc.C:
11591         * BufferView_pimpl.C: view->resize() change
11592
11593 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11594
11595         * BufferView_pimpl.C: topCursorVisible
11596           prototype change
11597
11598 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11599
11600         * Makefile.am:
11601         * lyx_gui.h:
11602         * lyx_gui.C: move to frontends/
11603
11604         * main.C:
11605         * lyx_main.h:
11606         * lyx_main.C: changes from above
11607
11608 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11609
11610         * intl.C:
11611         * intl.h:
11612         * kbmap.C:
11613         * kbsequence.C:
11614         * lyx_cb.C:
11615         * lyx_main.C: minor tidy
11616
11617 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11618
11619         * BufferView_pimpl.h:
11620         * BufferView_pimpl.C:
11621         * BufferView.h:
11622         * BufferView.C: make painter() const,
11623           remove dead code
11624
11625         * BufferView2.C: use screen() accessor
11626
11627         * lyx_main.h:
11628         * lyx_main.C: some minor cleanup
11629
11630 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11631
11632         * BufferView_pimpl.h:
11633         * BufferView_pimpl.C: remove enter/leaveView,
11634           use workHeight()
11635
11636 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11637
11638         * BufferView.h:
11639         * BufferView.C:
11640         * BufferView2.C:
11641         * BufferView_pimpl.h:
11642         * BufferView_pimpl.C: only construct screen once,
11643           rename
11644
11645         * lyxrc.C: remove pointless comment
11646
11647 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11648
11649         * BufferView.h:
11650         * BufferView.C: remove active() and belowMouse()
11651
11652         * BufferView_pimpl.h:
11653         * BufferView_pimpl.C: use workarea() not workarea_,
11654           and make it use a scoped_ptr instead
11655
11656 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11657
11658         * lyx_gui.C: add debug message on BadWindow
11659
11660 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11661
11662         * sp_spell.C: fdopen is not part of the C++ standard.
11663
11664         * paragraph.C (InsetIterator): use >= instead of ==
11665
11666 2002-06-07  Angus Leeming  <leeming@lyx.org>
11667
11668         Fixes needed to compile with Compaq cxx 6.5.
11669         * BufferView_pimpl.C:
11670         * DepTable.C:
11671         * buffer.C:
11672         * converter.C:
11673         * encoding.C:
11674         * lyx_gui.C:
11675         * lyx_main.C:
11676         * lyxtextclasslist.C:
11677         * minibuffer.C:
11678         * sp_spell.C:
11679         * tabular_funcs.C:
11680         * vc-backend.C:
11681         all c-library variables have been moved into namespace std. Wrap
11682         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11683
11684         * lyxlength.C:
11685         * tabular-old.C:
11686         * tabular.C:
11687         Add a using std::abs declaration.
11688
11689         * kbmap.h (modifier_pair):
11690         * paragraph.h (InsetTable, InsetList):
11691         * lyxfont.h (FontBits):
11692         type definition made public.
11693
11694         * bufferlist.C (emergencyWriteAll): the compiler complains that
11695         there is more than one possible lyx::class_fun template to choose from.
11696         I re-named the void specialisation as lyx::void_class_fun.
11697
11698         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11699
11700         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11701         the compiler is is unable to find tostr in write_attribute.
11702
11703 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11704
11705         * buffer.C (sgmlError): hide #warning
11706
11707 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11708
11709         * xtl/*: get rid of xtl, which is not in use anyway
11710
11711         * LyXAction.C (init):
11712         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11713         were unimplemented xtl experimentation
11714
11715 2002-06-04  André Pönitz <poenitz@gmx.net>
11716
11717         * lyxfunc.C: disable array operation on simple formulae
11718
11719 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11720
11721         * converter.C: constify a bit
11722
11723 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11724
11725         * lyx_gui.C: check xforms version correctly
11726
11727 2002-04-30  Herbert Voss  <voss@lyx.org>
11728
11729         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11730         "keep" option
11731
11732 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11733
11734         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11735           attempt to register it with a VCS)
11736
11737 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11738
11739         * lyx_main.C (init): honor variables LYX_DIR_13x and
11740         LYX_USERDIR_13x
11741
11742 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11743
11744         * buffer.h:
11745         * buffer.C:
11746         * lyx_main.C: fix a crash on bad command line,
11747           and give a useful exit status on error
11748
11749         * lyxfunc.C (doImport): allow -i lyx to work
11750
11751 2002-03-30  André Pönitz <poenitz@gmx.net>
11752
11753         * lyxfunc.C: mathed font changes
11754
11755 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11756
11757         * LaTeX.C:
11758         * importer.h:
11759         * importer.C:
11760         * lyx_sty.h:
11761         * lyx_sty.C:
11762         * lyxlex.C:
11763         * lyxrow.h:
11764         * lyxtext.h:
11765         * paragraph.h:
11766         * paragraph.C:
11767         * texrow.h:
11768         * texrow.C:
11769         * text.C:
11770         * trans_mgr.h: srcdocs, and some minor cleanups
11771
11772 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11773
11774         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11775         call getFont all the time)
11776
11777 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11778
11779         * switch from SigC signals to boost::signals
11780
11781 2002-05-29  André Pönitz <poenitz@gmx.net>
11782
11783         * paragraph_pimpl.C (getChar): don't call size() too often...
11784
11785 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11786
11787         * paragraph_pimpl.C (insertChar): do not try to update tables when
11788         appending (pos == size())
11789
11790         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11791         in order to reduce drastically the number of comparisons needed to
11792         parse a large document
11793
11794 2002-05-29  André Pönitz <poenitz@gmx.net>
11795
11796         * text.C:
11797         * text2.C:
11798         * lyxtextclass.C:
11799         * sp_pspell.h:
11800         * textclasslist.[Ch]:
11801         * sp_ispell.h: whitespace change
11802
11803 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11804
11805         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11806         lyxaction directly now.
11807
11808 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11809
11810         * trans.C:
11811         * lyxfont.C:
11812         * lyxvc.C: remove unused headers
11813
11814 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11815
11816         * Makefile.am:
11817         * buffer.h:
11818         * undostack.h:
11819         * undostack.C:
11820         * undo_funcs.h:
11821         * undo_funcs.C: some cleanups. Use shared_ptr
11822           and a template for the undo stacks.
11823
11824 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11825
11826         * BufferView_pimpl.h:
11827         * BufferView_pimpl.C:
11828         * kbmap.h:
11829         * kbmap.C:
11830         * kbsequence.h:
11831         * kbsequence.C:
11832         * lyxfunc.h:
11833         * lyxfunc.C:
11834         * text2.C: use key_state/mouse_state
11835
11836 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11837
11838         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11839         and LSubstring
11840
11841         * chset.C: change include order
11842         (loadFile): use boost regex and get rid of LRegex and LSubstring
11843
11844         * Makefile.am (BOOST_LIBS): new variable
11845         (lyx_LDADD): use it
11846
11847         * LaTeX.C: change include order.
11848         (scanAuxFile): use boost regex and get rid of LRegex and
11849         LSubstring
11850         (deplog): ditto
11851
11852 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11853
11854         * ColorHandler.h:
11855         * ColorHandler.C:
11856         * FontInfo.h:
11857         * FontInfo.C: moved to frontends/xforms/
11858
11859         * FontLoader.h:
11860         * FontLoader.C: moved into frontends for GUIIzation
11861
11862         * Makefile.am:
11863         * lyx_gui.C:
11864         * lyxfont.C:
11865         * lyxfunc.C: changes from above
11866
11867 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11868
11869         * LColor.C: remove spurious X include
11870
11871         * BufferView_pimpl.C:
11872         * Makefile.am:
11873         * font.h:
11874         * font.C:
11875         * text.C:
11876         * text2.C: move font metrics to frontends/
11877
11878 2002-05-24  Juergen Vigna  <jug@sad.it>
11879
11880         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11881         setting the undo_cursor.
11882
11883         * ParagraphParameters.h: include local includes first.
11884
11885 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11886
11887         * BufferView_pimpl.C:
11888         * BufferView_pimpl.h:
11889         * Makefile.am:
11890         * WorkArea.h:
11891         * WorkArea.C:
11892         * screen.C: move WorkArea into frontends/
11893
11894         * lyxscreen.h:
11895         * screen.C:
11896         * text.C:
11897         * BufferView.C:
11898         * BufferView2.C: move LyXScreen into frontends/
11899
11900         * lyxlookup.h:
11901         * lyxlookup.C:
11902         * lyx_gui.C: move lyxlookup into frontends/xforms/
11903
11904 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11905
11906         * BufferView2.C:
11907         * BufferView_pimpl.C:
11908         * FontLoader.C:
11909         * LyXView.h:
11910         * LyXView.C:
11911         * Makefile.am:
11912         * WorkArea.C:
11913         * XFormsView.h:
11914         * XFormsView.C:
11915         * buffer.C:
11916         * bufferlist.C:
11917         * bufferview_funcs.C:
11918         * converter.C:
11919         * importer.C:
11920         * lyx_cb.C:
11921         * lyx_gui.C:
11922         * lyx_main.C:
11923         * lyx_find.C:
11924         * lyxfunc.C:
11925         * lyxvc.C:
11926         * minibuffer.C:
11927         * text.C:
11928         * text2.C:
11929         * trans.C:
11930         * vc-backend.C: move LyX/XFormsView into frontends/
11931
11932 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11933
11934         * Makefile.am:
11935         * PainterBase.C:
11936         * PainterBase.h:
11937         * Painter.C:
11938         * Painter.h:
11939         * WorkArea.C:
11940         * WorkArea.h:
11941         * screen.C:
11942         * tabular.C:
11943         * text.C:
11944         * text2.C: move Painter to frontends/
11945
11946 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11947
11948         * buffer.C: comment out some some code that depend upon lyx_format
11949         < 220
11950
11951         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11952         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11953
11954         * buffer.h (NO_COMPABILITY): turn off compability
11955
11956         * ColorHandler.C: include scoped_array.hpp
11957
11958         * font.C: Use more specific smart_ptr header.
11959         * Painter.C: ditto
11960         * gettext.C: ditto
11961         * ShareContainer.h: ditto
11962         * lyx_main.h: ditto
11963         * kbmap.h: ditto
11964         * FontInfo.h: ditto
11965         * BufferView_pimpl.h: ditto
11966         * ColorHandler.h: ditto
11967
11968         * kbmap.C (defkey): change call to shared_ptr::reset
11969
11970 2002-05-21  Juergen Vigna  <jug@sad.it>
11971
11972         * buffer.C (insertErtContents): fix to insert ert asis if it is
11973         non empty. Skip it completely if it contains only whitespaces.
11974
11975 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11976
11977         * BufferView_pimpl.C:
11978         * BufferView2.C: clear selection on paste (bug 393)
11979
11980 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11981
11982         * DepTable.C: include ctime
11983
11984 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11985
11986         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11987
11988 2002-05-14  Juergen Vigna  <jug@sad.it>
11989
11990         * text.C (breakParagraph): fixed function to honor the keepempty
11991         layout in the right maner and also to permit the right breaking
11992         algorithm on empty or non empyt keepempty paragraphs.
11993
11994         * paragraph.C (breakParagraph): we have to check also if the par
11995         is really empty (!size()) for isempty otherwise we do the wrong
11996         paragraph break.
11997
11998 2002-05-10  Juergen Vigna  <jug@sad.it>
11999
12000         * buffer.[Ch] : The following are only changes to the ert
12001         compatibility read reading old LaTeX layout and font stuff and
12002         convert it to ERTInsets.
12003
12004         * buffer.h: added isErtInset().
12005
12006         * buffer.C (struct ErtComp): add a fromlayout bool to check
12007         if we're inside a LaTeX layout.
12008         (isErtInset): new helper function.
12009         (insertErtContents): look for other ert insets before this one
12010         and insert the contents there, so that we don't have subsequent
12011         ERT insets with nothing between them. This way we create only one
12012         inset with multiple paragraphs. Also check if we don't insert only
12013         spaces ' ' as they are ignored anyway afterwards in the .tex file
12014         so if we have only spaces we will ignore this latex part in the
12015         new file.
12016         (parseSingleLyXformat2Token \\layout): better compatibility when
12017         reading layout-latex stuff.
12018         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12019         language tag.
12020         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12021         stuff after reading the inset only get the information back from
12022         the stack.
12023
12024 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12025
12026         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12027
12028         * LaTeXFeatures.C (getBabelOptions): New method.
12029
12030 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12031
12032         * BufferView_pimpl.C (Dispatch): work around missing argument for
12033         'layout'
12034
12035 2002-05-08  Juergen Vigna  <jug@sad.it>
12036
12037         * text.C (leftMargin): handle paragraph leftindent.
12038
12039         * paragraph.C (writeFile): write the new \\leftindent tag.
12040         (validate): handle leftindent code.
12041         (TeXEnvironment): handle paragraphleftindent code again.
12042
12043         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12044
12045         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12046         for paragrap_extra indent code and new token \\leftindent.
12047         (latexParagraphs): handle the leftindent as environment.
12048
12049         * ParameterStruct.h: added leftindent support.
12050
12051         * ParagraphParameters.C (leftIndent): added support functions for
12052         the paragraph left indent.
12053
12054         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12055         more appropriate.
12056
12057 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12058
12059         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12060         inside insetERT.
12061
12062         * text.C (computeBidiTables): No bidi in insetERT.
12063
12064         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12065         in RTL documents.
12066
12067 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12068
12069         * version.C.in: pre 5
12070
12071 2002-05-02  José Matos  <jamatos@fep.up.pt>
12072         * buffer.C (makeDocBookFile): white space changes, add newline to
12073         command styles.
12074         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12075
12076         * tabular.C (docBook): fix typo.
12077
12078 2002-05-03  Juergen Vigna  <jug@sad.it>
12079
12080         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12081         change in LyXText as we can not be sure it was not freed.
12082         (drawOneRow): remove unused code.
12083
12084         * text.C (drawInset): redo the calculation of the need_break_row as
12085         it could have a row which was already freed.
12086         (draw): look at the return value of drawInset and return false if
12087         it also returned false.
12088         (paintRowText): look at the return value of draw and return false if
12089         it also returned false.
12090
12091         * lyxtext.h: added bool return type to drawInset() and draw() so that
12092         if we have a change in the row so that the rowbreak has to be redone
12093         we abort drawing as it will be called again.
12094
12095 2002-05-02  Juergen Vigna  <jug@sad.it>
12096
12097         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12098         a change in the maintext also if we're inside an inset.
12099         (Dispatch): set the cursor again after a break line and after the
12100         screen has been updated as it could be we're in a different row.
12101
12102         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12103         to set the cursor behind the pargraph with > size().
12104         (setCursor): check also for the same paragraph when checking where
12105         to put the cursor if we have a NFR inset.
12106
12107         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12108         parts of layout read further up as it still was in the wrong
12109         position.
12110
12111 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12112
12113         * screen.C (drawFromTo): change sine fullRebreak always return
12114         true.
12115
12116         * buffer.C (parseSingleLyXformat2Token): reindent some
12117
12118         * BufferView_pimpl.C (update): change since fullRebreak always
12119         return true.
12120         (Dispatch): git rid of the last hardcoded "Standard"s.
12121
12122 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12123
12124         * text2.[Ch] (fullRebreak): make it return void now that we always
12125         returned true.
12126
12127 2002-04-30  Juergen Vigna  <jug@sad.it>
12128
12129         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12130         ert compatibility check for "latex" layout.
12131
12132 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12133
12134         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12135         minipages: use col% instead of p%, and also use the current font.
12136         (makeLaTeXFile): Fix use babel condition.
12137         (parseSingleLyXformat2Token): Correct font when reading old floats.
12138
12139 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12140
12141         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12142         inserting list of floats.
12143
12144 2002-04-25  Herbert Voss  <voss@lyx.org>
12145
12146         * MenuBackend.C (expand): don't add the graphics extensions to the
12147         export menu
12148
12149 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12150
12151         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12152         non-existing layout, do not complain if it was the default layout
12153         of the original class (bug #342)
12154
12155 2002-04-24  Juergen Vigna  <jug@sad.it>
12156
12157         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12158         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12159
12160 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12161
12162         * buffer.C (getBibkeyList): If using \bibliography, return the
12163         option field with the reference itself. Enables us to provide natbib
12164         support when using \bibliography.
12165
12166 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12167
12168         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12169
12170         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12171         natbib is provided by the LaTeX class.
12172
12173 2002-04-23  Juergen Vigna  <jug@sad.it>
12174
12175         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12176         Wakeup functions.
12177
12178         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12179
12180 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12181
12182         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12183
12184         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12185         ensuremath around textordmasculine, textordfeminine and
12186         textdegree.
12187
12188 2002-04-19  Juergen Vigna  <jug@sad.it>
12189
12190         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12191         reinitializing the buffer otherwise row-dimensions may be wrong.
12192         (update): reset also the selection cursors if they do exits otherwise
12193         their x/y positions may be wrong.
12194
12195         * text2.C (cursorDown): don't enter the inset if we came from a row
12196         above and are one row over the inset.
12197
12198         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12199         really leaving an inset.
12200
12201 2002-04-18  Juergen Vigna  <jug@sad.it>
12202
12203         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12204         of the selected paragraph does not have the selected layout also if
12205         the last one had!
12206
12207         * text2.C (setLayout): fixed bug which did not change last selected
12208         paragraph.
12209
12210         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12211         changed the read and substituted \\end_float with \\end_inset!
12212
12213         * BufferView_pimpl.C (cursorPrevious):
12214         (cursorNext): fixed to make it work with rows heigher than the work
12215         area without moving the cursor only the draw of the row.
12216         (workAreaMotionNotify): fix jumping over high rows.
12217
12218 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12219
12220         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12221         Ressler.
12222
12223 2002-04-16  Juergen Vigna  <jug@sad.it>
12224
12225         * text2.C (setCursor): set also the irow().
12226         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12227         (cursorUp):
12228         (cursorDown): support for locking an inset if the x_fix value goes
12229         inside it. That way I can transverse insets too with cursor up/down.
12230
12231         * lyxrow.h: added irow helper function same as other (i) functions.
12232
12233         * BufferView_pimpl.C (cursorPrevious):
12234         (cursorNext): fixed for insets!
12235
12236 2002-04-15  Juergen Vigna  <jug@sad.it>
12237
12238         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12239         position otherwise it is wrong in some cases.
12240
12241         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12242         inside the inset before the call.
12243
12244 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12245
12246         * buffer.[Ch] (getBibkeyList): make it const.
12247
12248 2002-04-12  Juergen Vigna  <jug@sad.it>
12249
12250         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12251
12252         * text2.C (getCursorX): new helper function
12253         (setCursor): compute also ix_
12254         (setCursorFromCoordinates): set also ix.
12255
12256         * lyxcursor.h: added ix_ and helper functions.
12257
12258         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12259
12260         * buffer.C (insertStringAsLines): dont break paragraph if the this
12261         paragraph is inside an inset which does not permit it!
12262
12263         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12264         also with no chars on this paragraph.
12265         (paintRowText): only paint stuff if it's inside the workarea!
12266
12267         * paragraph.C (breakParagraph): honor keepempty flag and break the
12268         paragraph always below not above.
12269
12270         * BufferView2.C (unlockInset): update the paragraph layout on inset
12271         unlock as we changed paragraph in such a case.
12272
12273         * lyxfind.C (LyXFind): clear the former selection if not found!
12274
12275         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12276         again called in insertChar().
12277
12278         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12279         an inset which uses the whole row!
12280         (rightMargin): ditto.
12281         (insertChar): force a rebreak if we inserted an inset!
12282
12283 2002-03-28  Herbert Voss  <voss@lyx.org>
12284
12285         * lyxlength.[Ch]: add inBP() to get the right PS-point
12286         units (BigPoint). With inPixels we have rounding errors
12287
12288 2002-04-11  Juergen Vigna  <jug@sad.it>
12289
12290         * text2.C (setCursorFromCoordinates): set iy to the right value.
12291         (setCursor): add check if row->previous exists!
12292
12293         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12294         an old float_type as this was the case in the old code!
12295
12296         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12297
12298         * BufferView2.C (showLockedInsetCursor): use iy
12299         (fitLockedInsetCursor): ditto
12300
12301         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12302         locked insets as there we have the right value now.
12303
12304         * lyxcursor.C: added iy_ variable and iy functions to set to the
12305         baseline of cursor-y of the locked inset.
12306
12307         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12308         (setCursor): fixed for insets which need a full row.
12309
12310         * text.C (rowLastPrintable): don't ignore the last space when before
12311         an inset which needs a full row.
12312         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12313         as last character of a row when before a inset which needs a full row.
12314
12315 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12316
12317         * version.C.in: update date
12318
12319         * text2.C (fullRebreak): try to always return true and see what
12320         happens...
12321
12322 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12323
12324         * MenuBackend.C (expand): use Floating::listName
12325
12326         * FloatList.C (FloatList): add listName argument to the built-in
12327         floats
12328
12329         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12330         text associated with the float.
12331
12332 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12333
12334         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12335
12336 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12337
12338         * ShareContainer.h: add a couple of missing typenames.
12339
12340 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12341
12342         * lyxrc.C (getDescription): use _() correctly rather than N_().
12343
12344 2002-03-28  Herbert Voss  <voss@lyx.org>
12345
12346         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12347         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12348
12349 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12350
12351         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12352         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12353
12354 2002-03-29  Juergen Vigna  <jug@sad.it>
12355
12356         * lyxfunc.C (dispatch): add a missing fitCursor call.
12357
12358         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12359         it was scrolled by a cursor move, so return the bool status.
12360
12361         * BufferView.C (fitCursor): return the bool flag also to the outside
12362         world as this is needed.
12363
12364         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12365
12366         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12367         call the edit() as it is not needed (and wrong) IMO.
12368         (workAreaButtonPress): set the screen_first variable before evt.
12369         unlock the inset as this may change screen_first and then we have
12370         a wrong y position for the click!
12371
12372 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12373
12374         * MenuBackend.C (expand): another translation that I missed
12375
12376 2002-03-28  Juergen Vigna  <jug@sad.it>
12377
12378         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12379
12380         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12381
12382 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12383
12384         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12385
12386         * MenuBackend.C (expand): fix export/view/update when there is no
12387         document open.
12388
12389 2002-03-27  Herbert Voss  <voss@lyx.org>
12390
12391         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12392         and text%
12393
12394 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12395
12396         * bufferview_funcs.C (currentState): only show paragraph number
12397         for is DEVEL_VERSION is set.
12398
12399         * lyxfunc.C (dispatch): put warning in INFO channel
12400
12401         * MenuBackend.C (expand): translate the name of floats
12402
12403         * FloatList.C (FloatList): mark the float names for translation
12404
12405         * converter.C (convert): use LibScriptSearch
12406
12407 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12408
12409         * MenuBackend.C (defaults): fix default menu (we might as well get
12410         rid of it...)
12411
12412 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12413
12414         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12415         directory.
12416
12417 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12418
12419         * lyxvc.C: reorder includes.
12420
12421 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12422
12423         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12424           properly
12425
12426 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12427
12428         * CutAndPaste.C: change layouts earlier on paste
12429           to avoid crashing when calling getFont()
12430
12431 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12432
12433         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12434         irritating #error.
12435
12436 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12437
12438         * WorkArea.C: remove 'Pending' debug message.
12439
12440         * most files: ws cleanup
12441
12442         * buffer.[Ch]: ws changes
12443
12444         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12445
12446 2002-03-21  Juergen Vigna  <jug@sad.it>
12447
12448         * tabular.C (SetMultiColumn): collapse also the contents of the
12449         cells and set the last border right. Added a Buffer const * param.
12450
12451 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12452
12453         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12454         linking or not.
12455
12456 2002-03-19  Juergen Vigna  <jug@sad.it>
12457
12458         * text2.C (clearSelection): reset also xsel_cache.
12459
12460         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12461         where it needs to be called (John tells us to do so too :)
12462         (selectionLost): reset sel_cache.
12463
12464         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12465
12466 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12467
12468         * text2.C (setCursorIntern): put debuging code in INSETS channel
12469
12470 2002-03-19  André Pönitz <poenitz@gmx.net>
12471
12472         * lyxfunc.C: tiny whitespace change
12473
12474 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12475
12476         * ToolbarDefaults.C (init):
12477         * LyXAction.C (init):
12478         * commandtags.h:
12479         * BufferView_pimpl.C (Dispatch):
12480         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12481
12482 2002-03-19  Allan Rae  <rae@lyx.org>
12483
12484         * exporter.C (Export): removeAutoInsets before doing anything else.
12485         While I've just introduced a dependency on BufferView this really is
12486         the best place to clean the buffer otherwise you need to cleanup in
12487         a dozen places before calling export or cleanup in a dozen functions
12488         that export calls.
12489
12490         * converter.C (runLaTeX):
12491         (scanLog): Better handling of removeAutoInsets and screen updates.
12492
12493         * lyxfunc.C (dispatch): small whitespace changes
12494
12495 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12496
12497         * WorkArea.C (C_WorkAreaEvent): return a value.
12498         (event_cb): return 1 if we handled the event, 0 otherwise.
12499
12500         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12501
12502 2002-03-18  Juergen Vigna  <jug@sad.it>
12503
12504         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12505         (GetAdditionalWidth): ditto.
12506         (RightLine): ditto.
12507         (LeftLine): ditto.
12508
12509         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12510         inset if we're there actually (probably not used right now but this
12511         is the direction to go for unifying code).
12512         (paste): disable code to clear the selection.
12513
12514         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12515         inside an InsetText and move the check further up as it is in the
12516         wrong place.
12517
12518         * text2.C (pasteSelection): set a selection over the pasted text.
12519
12520 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12521
12522         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12523         and libgraphics to build on Cygwin.
12524
12525 2002-03-15  Juergen Vigna  <jug@sad.it>
12526
12527         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12528         inserting an Inset into the paragraph. I know this is not the best
12529         fix but we already use current_view in CutAndPaste so we will remove
12530         all of it's using at the same time.
12531
12532         * buffer.C (sgmlError): deactivated function till it is rewritten in
12533         the right mode, now it can create problems.
12534
12535         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12536         before accessing it.
12537
12538 2002-03-14  Juergen Vigna  <jug@sad.it>
12539
12540         * undo_funcs.C (textHandleUndo): do the right thing when updating
12541         the inset after the undo/redo.
12542
12543         * text2.C (setCursor): just some testcode for #44 not ready yet.
12544
12545         * undo_funcs.C (textHandleUndo): set the next() and previous()
12546         pointers of the paragraph to 0 before deleting otherwise we have
12547         problems with the Paragraph::[destructor].
12548
12549         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12550         on a paragraph insertion.
12551
12552 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12553
12554         * buffer.C (asciiParagraph): use += operator for char append to
12555         string.
12556
12557         * paragraph.C (getFontSettings): compare >= not just >
12558         (highestFontInRange): ditto
12559         (setFont): ditto
12560
12561 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12562
12563         * paragraph.C: change several algorithm to be more appripriate for
12564         the problem domain. This is lookip in FontList and in the InsetList.
12565
12566 2002-03-13  André Pönitz <poenitz@gmx.net>
12567
12568         * commandtags.h:
12569         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12570
12571 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * commandtags.h:
12574         * LyXAction.C:
12575         * lyxfunc.C:
12576         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12577
12578 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12579
12580         * Painter.C (display): anon helper function, adjust code for this
12581         change.
12582         (pixmap): remove function.
12583
12584         * Painter.h: remove private display variable.
12585
12586         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12587
12588 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12589
12590         * WorkArea.[Ch]: remove figinset_canvas cruft.
12591
12592 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12593
12594         * lyxtextclass.C (operator): add one item cache optimization.
12595
12596         * bufferlist.h: doxy changes
12597
12598         * bufferlist.C: ws changes
12599
12600         * DepTable.[Ch] (ext_exist): place const in the right spot.
12601
12602         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12603         call resizeInsets.
12604         (workAreaExpose): call resizeInsets when the with BufferView changes.
12605         (Dispatch): adjust for protectedBlank removal
12606         (specialChar): call updateInset if the insert went ok.
12607
12608         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12609         specialChar instead.
12610
12611         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12612
12613         * BufferView.h: doxy change
12614
12615         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12616
12617         * lyxtextclass.C (operator[]): remove non-const version
12618         (defaultLayout): remove non-const version
12619
12620 2002-03-12  Juergen Vigna  <jug@sad.it>
12621
12622         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12623         did resize the LyXText too.
12624
12625         * buffer.C (readLyXformat2): set layout information on newly allocated
12626         paragraphs.
12627
12628         * tabular.C (OldFormatRead): set layout information on the paragraph.
12629
12630 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12631
12632         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12633
12634 2002-03-11  Juergen Vigna  <jug@sad.it>
12635
12636         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12637         plainly wrong.
12638         (resizeCurrentBuffer): force also the insets to resize themselfes.
12639         (moveCursorUpdate): fixed up for InsetText.
12640
12641 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12642
12643         * commandtags.h:
12644         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12645         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12646         value of Dialogs::tooltipsEnabled().
12647         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12648
12649 2002-03-08  Juergen Vigna  <jug@sad.it>
12650
12651         * BufferView_pimpl.C (updateInset): update inset inside inset also
12652         if it isn't inside theLockingInset().
12653
12654 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12655
12656         * buffer.C (asciiParagraph): redo some of the word and line length
12657         handling.
12658         (getLists): look for Caption instead of caption.
12659
12660 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12661
12662         * buffer.C (Buffer): initialize niceFile to true
12663         (makeLaTeXFile):
12664         (makeLinuxDocFile):
12665         (makeDocBookFile): make sure niceFile is true on exit
12666
12667 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12668
12669         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12670
12671 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12672
12673         * LyXSendto.C: remove.
12674         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12675         * lyx_gui.C: remove now-redundant comment.
12676         * ColorHandler.h: remove forward declaration of class WorkArea.
12677         * lyxfunc.C: remove #include "WorkArea.h".
12678
12679 2002-03-07  Juergen Vigna  <jug@sad.it>
12680
12681         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12682         got moved away with the DEPM and also set the inset_owner always
12683         right which before could have been omitted.
12684
12685 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12686
12687         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12688         wanted layout is not found.
12689
12690 2002-03-07  Juergen Vigna  <jug@sad.it>
12691
12692         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12693
12694 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12695
12696         * paragraph.C (breakParagraph): use default layout not layout of
12697         prev paragraph.
12698         (Paragraph): clear ParagraphParameters.
12699
12700 2002-03-06  Juergen Vigna  <jug@sad.it>
12701
12702         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12703         otherwise it would not be a valid lenght. Fixed a special case in
12704         the minipage compatibility read where we end the document with a
12705         minipage.
12706
12707         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12708         was set as it could be 0 for InsetTexts first entry.
12709
12710 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * paragraph.C (writeFile): if layout is empty write out
12713         defaultLayoutName().
12714
12715         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12716         file without named layout we set layout to defaultLayoutName().
12717
12718 2002-03-06  Juergen Vigna  <jug@sad.it>
12719
12720         * CutAndPaste.C (copySelection): set layout for new paragraph.
12721
12722         * text.C (prepareToPrint): leave ERT inset left aligned
12723         (leftMargin): don't indent paragraphs inside ERT insets
12724
12725 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12726
12727         * paragraph.C (breakParagraph): dont call clear do the work manually
12728
12729         * paragraph.[Ch] (clear): remove function
12730
12731 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12732
12733         * paragraph.C (Paragraph): dont call clear, the work has already
12734         been done.
12735
12736         * lyxtextclass.C (operator): assert if n is empty
12737
12738         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12739         work manually instead.
12740
12741 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12742
12743         * BufferView_pimpl.C: protect selectionLost against text == 0
12744
12745 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12746
12747         * text.C (breakParagraph): fix a setting layout to '0' problem.
12748
12749 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12750
12751         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12752         final location of file, for the included files, and graphics.
12753
12754 2002-03-05  Juergen Vigna  <jug@sad.it>
12755
12756         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12757
12758 2002-03-04  Juergen Vigna  <jug@sad.it>
12759
12760         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12761
12762         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12763         last column of multicolumn cells.
12764         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12765
12766 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12767
12768         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12769         file if it doesn't go to a temporary file.
12770
12771         * buffer.C (sgmlOpenTag):
12772         (sgmlCloseTag):  remove extra newline insertion.
12773
12774 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12775
12776         * text.C (getRowNearY): comment out debug msg
12777
12778 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12779
12780         * text2.C: first -> first_y
12781
12782         * text.C (getRowNearY): add some attemts at a possible
12783         optimization, not working.
12784
12785         * tabular.[Ch]: add BufferParams to several function so that newly
12786         created paragraph can be initialized to he default layotu for the
12787         buffers textclass.
12788
12789         * tabular-old.C (ReadOld): add buf->params to call of Init
12790
12791         * screen.C: rename text->first to text->first_y
12792
12793         * paragraph.C (breakParagraph): always set layout in the broken
12794         paragraph
12795
12796         * lyxtextclass.C (Read): remove lowercase
12797         (hasLayout): ditto
12798         (operator): ditto
12799         (delete_layout): ditto
12800
12801         * lyxtext.h: rename first -> first_y
12802
12803         * lyxlayout.C (Read): remove lowercase
12804         (name): ditto
12805         (setName): ditto
12806         (obsoleted_by): ditto
12807
12808         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12809
12810         * buffer.C (insertErtContents): add params are to InsetERT
12811         (parseSingleLyXformat2Token): add code to check if a paragraphs
12812         layout really exist.
12813         (parseSingleLyXformat2Token): add params to several inset
12814         constructors
12815         (asciiParagraph): remove lowercase, do the layout comparisons with
12816         no_case
12817
12818         * BufferView_pimpl.C (cursorNext): first -> first_y
12819         (resizeCurrentBuffer): first -> first_y
12820         (updateScrollbar): first -> first_y
12821         (scrollCB): first -> first_y
12822         (workAreaMotionNotify): first -> first_y
12823         (workAreaButtonPress): first -> first_y
12824         (checkInsetHit): first -> first_y
12825         (cursorPrevious): first -> first_y
12826         (cursorNext): first -> first_y
12827         (Dispatch): add buffer_->params to severl inset contructors
12828
12829 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12830
12831         * lyxlayout.C (Read): remove some debug info that I forgot.
12832
12833         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12834         clean up the code slightly.
12835         (makeLinuxDocFile): ditto
12836         (makeDocBookFile): ditto
12837
12838         * text2.C: layout as string
12839
12840         * text.C: layout as string
12841
12842         * paragraph_pimpl.C: layout as string
12843
12844         * paragraph.[Ch]: layout as string
12845
12846         * lyxtextclasslist.[Ch]: layout as string
12847
12848         * lyxtextclass.[Ch]: layout as string
12849
12850         * lyxtext.h: layout as string
12851
12852         * lyxlayout.[Ch]: layout as string
12853
12854         * lyx_cb.C: layout as string
12855
12856         * bufferview_funcs.C: layout as string
12857
12858         * bufferparams.C: layout as string
12859
12860         * buffer.C: layout as string
12861
12862         * LyXView.[Ch]: layout as string
12863
12864         * LaTeXFeatures.[Ch]: layout as string
12865
12866         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12867
12868         * BufferView_pimpl.C: change current_layout to string, remove
12869         lyx::layout_type.
12870         (Dispatch):
12871         (smartQuote):
12872         (insertInset):
12873         (workAreaButtonRelease): layout as string
12874
12875         * BufferView2.C (unlockInset): adjust
12876
12877         * vspace.C (asLatexCommand): use an explict temp variable.
12878
12879 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12880
12881         * Makefile.am: use FRONTEND_*
12882
12883 2002-03-01  Juergen Vigna  <jug@sad.it>
12884
12885         * tabular.C (SetWidthOfMulticolCell): changed to something better
12886         I hope but still work in progress.
12887         (recalculateMulticolumnsOfColumn): renamed function from
12888         recalculateMulticolCells as it is more appropriate now.
12889         (SetWidthOfCell): calculate multicols better.
12890
12891 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12892
12893         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12894
12895         * lyxfunc.C (processKeySym): print sequence also if it is
12896         `deleted' (complete)
12897
12898         * kbsequence.C (print): print sequence even if it is deleted
12899         (complete would be a better word, actually).
12900
12901         * lyxfunc.C (dispatch): print complete options after a prefix key
12902
12903         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12904
12905 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12906
12907         * text2.C (setCharFont): eliminate setCharFont code duplication.
12908
12909 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12910
12911         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12912         LFUN_TABULAR_FEATURE (bug #177)
12913
12914 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12915
12916         * Makefile.am: remove figure.h
12917
12918 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12919
12920         * Bufferview_pimpl.C:
12921         * CutAndPasteC:
12922         * LaTeX.C:
12923         * LyXSendto.C:
12924         * buffer.C:
12925         * bufferlist.C:
12926         * converter.C:
12927         * language.C:
12928         * lyxfunc.C:
12929         * lyxvc.C:
12930         * paragraph.C:
12931         * text.C:
12932         * text2.C: remove #include "lyx_gui_misc.h".
12933
12934         * LaTeX.C: added #include <cstdio>
12935
12936 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12937
12938         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12939         that the paragraph following this one can have.
12940
12941         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12942
12943         * vspace.C (asLatexCommand): fix bogus gcc warning
12944
12945         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12946
12947 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12948
12949         * text2.C (setLayout): get rid of redundant code
12950
12951 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12952
12953         * text2.C (incDepth): make sure depth cannot be increased beyond
12954         reasonable values.
12955
12956 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12957
12958         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12959         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12960
12961         * PainterBase.h (image):
12962         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12963         a LyXImage const *.
12964
12965 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12966
12967         * BufferView.C:
12968         * BufferView.h:
12969         * BufferView_pimpl.C:
12970         * BufferView_pimpl.h:
12971         * LaTeXFeatures.C:
12972         * LyXAction.C:
12973         * LyXView.C:
12974         * Makefile.am:
12975         * UpdateList.h:
12976         * UpdateList.C:
12977         * buffer.C:
12978         * figure.h:
12979         * figureForm.C:
12980         * figureForm.h:
12981         * figure_form.C:
12982         * figure_form.h:
12983         * lyx_cb.C:
12984         * lyx_gui.C:
12985         * lyx_gui_misc.C:
12986         * lyxfunc.C:
12987         * sp_base.h:
12988         * sp_ispell.h:
12989         * sp_pspell.h:
12990         * sp_spell.C: remove fig inset, and the crap house of
12991           cards that follows it
12992
12993 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12994
12995         * Makefile.am:
12996         * lyxserver.C:
12997         * os2_defines.h:
12998         * os2_errortable.h:
12999         * nt_defines.h: move .h into support/
13000
13001         * vms_defines.h: remove
13002
13003         * WorkArea.C: add space in debug output
13004
13005         * text2.C:
13006         * paragraph.C:
13007         * buffer.C: add WITH_WARNINGS
13008
13009         * vc-backend.h:
13010         * vc-backend.C:
13011         * bufferlist.C: s/retrive/retrieve/, add docs
13012
13013         * vspace.h:
13014         * vspace.C:
13015         * kbmap.h:
13016         * lyxlength.h:
13017         * lyxgluelength.h:
13018         * length_common.h:
13019         * chset.h:
13020         * chset.C: add docs
13021
13022         * lyxgui.C: add ID to X error handler
13023
13024         * lyxtestclass.c: fix typo
13025
13026 2002-02-26  Juergen Vigna  <jug@sad.it>
13027
13028         * tabular_funcs.C (write_attribute): changed so that some default
13029         attributes are not written at all.
13030         (getTokenValue): set default values before trying to read the
13031         value so we have the return value always set as default if we don't
13032         find the token we search for.
13033
13034         * tabular.C (Write): write bools as bools not as strings!
13035
13036 2002-02-22  Juergen Vigna  <jug@sad.it>
13037
13038         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13039         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13040
13041         * text.C (leftMargin): don't add an indent for paragraphs inside
13042         tabular cells (fix #208).
13043
13044 2002-02-21  José Matos  <jamatos@fep.up.pt>
13045
13046         * tabular.C (docBook): fixed support for long tables.
13047
13048 2002-02-20  Juergen Vigna  <jug@sad.it>
13049
13050         * text2.C (getFont): get the drawing font of the Inset if this
13051         paragraph is inside an inset (only important for InsetERT for now).
13052
13053         * buffer.C (insertErtContents): use new lanugage params in ERT
13054         constructor.
13055
13056         * CutAndPaste.C: commenting out seemingly uneeded code.
13057
13058 2002-02-19  Allan Rae  <rae@lyx.org>
13059
13060         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13061         Iterators might be simple to use but they also get invalidated.
13062         (removeAutoInsets): renamed saved cursor tracking variables and added
13063         some comments to clarify what everything does.
13064
13065 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13066
13067         * Chktex.C:
13068         * LaTeX.C:
13069         * LyXSendto.C:
13070         * converter.C:
13071         * lyx_cb.C:
13072         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13073         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13074
13075         * lyxfunc.C:
13076         * vc-backend.h: remove #include "support/syscall.h"
13077
13078         * LaTeX.C:
13079         * LyXSendto.C:
13080         * converter.C: rearrange #includes in Lars' approved fashion.
13081
13082         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13083         forward declare class Timeout in the header file.
13084
13085         * XFormsView.C: changes due to the above.
13086
13087         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13088         similar to LyXView.
13089
13090         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13091         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13092
13093 2002-02-18  José Matos  <jamatos@fep.up.pt>
13094
13095         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13096         insets contents.
13097
13098 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13099
13100         * a lot of small ws changes
13101         * add a lot of using std::XXX
13102         * use std construcs some places where approp.
13103         * use some exisint stuff from lyxfunctional where approp.
13104         * Make file changes to use partial linking (lets test this now...)
13105
13106 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13107
13108         * Chktex.C:
13109         * buffer.C:
13110         remove #include "support/syscontr.h" as it's redundant. Always has been.
13111
13112         * Chktex.C:
13113         * LaTeX.C:
13114         * LyXSendto.C:
13115         * converter.C:
13116         * lyx_cb.C:
13117         * vc-backend.C:
13118         change Systemcalls::System to Systemcalls::Wait and
13119         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13120         No change of functionality, just reflects the stripped down Systemcalls
13121         class.
13122
13123 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13124
13125         * debug.[Ch]: add a GRAPHICS type to the enum.
13126
13127 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13128
13129         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13130
13131         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13132         there is an inset.
13133
13134 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13135
13136         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13137         match the changes below.
13138
13139         * text2.C (toggleInset): if there is not editable inset at cursor
13140         position, try to see if cursor is _inside_ a collapsable inset
13141         and close it.
13142
13143 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13144
13145         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13146         document menu has a nice checkbox
13147
13148 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13149
13150         * lyxlength.C (asLatexString): change PW to output as percent of
13151         \textwidth.
13152
13153         * lengthcommon.C: change '%' to 't%'
13154
13155         * lyxfunc.C (dispatch): a few comments from Martin
13156
13157 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13158
13159         * WorkArea.h:
13160         * WorkArea.C:
13161         * BufferView_pimpl.h:
13162         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13163           the X selection.
13164
13165 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13166
13167         * vspace.C (inPixels): fix compiler warning
13168
13169 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13170
13171         * lyxfunc.C (getStatus): fix status message for disabled commands.
13172
13173 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13174
13175         * BufferView_pimpl.C: fix crash on close buffer
13176         during selection (#227)
13177
13178 2002-01-27  Herbert Voss  <voss@lyx.org>
13179
13180         * buffer.C: link old Figure to new graphic inset
13181
13182 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13183
13184         * FontLoader.C (getFontinfo): Change the latex font names in order
13185         to match the names of type1inst.
13186
13187 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13188
13189         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13190
13191         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13192         (extchanged): ditto
13193         (ext_exist): ditto
13194         (remove_files_with_extension): ditto
13195         (remove_file): ditto
13196         (write): ditto
13197
13198         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13199         document is smaller than the work area height. Do not initialize
13200         static variables to 0.
13201
13202 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13203
13204         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13205
13206         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13207         LFUN_LAYOUT_PARAGRAPHS.
13208
13209         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13210         tabular. It is possible to provide a possible cell, which will
13211         typically be the actcell from the corresponding insettabular
13212
13213         * lyxfunc.C (getStatus): small cleanup; disable
13214         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13215         true
13216
13217 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13218
13219         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13220
13221         * paragraph.C (startTeXParParams):
13222         (endTeXParParams): new methods. The LaTeX code to
13223         start/end paragraph formatting
13224         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13225         empty (fixes bug #200)
13226
13227         * vspace.C (inPixels): adapt to the change below
13228         (inPixels): [later] more cleanups (remove unused variables)
13229
13230         * lyxlength.C (inPixels): change to use a width and a height as
13231         parameter.
13232
13233 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13234
13235         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13236         Replaced with \paperwidth
13237
13238         * DepTable.C (insert): add std:: qualifier
13239
13240 2002-01-18  Allan Rae  <rae@lyx.org>
13241
13242         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13243         updated also?
13244
13245         * text.C (drawInset): Turned out I didn't know enough about how
13246         rebreaking worked.  This fixes most of the redraw problems.  I see
13247         an occasional cursor trail when a line is broken now and the cursor
13248         placement can seem out by a few pixels also after a rebreak.
13249
13250 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13251
13252         * buffer.C (parseSingleLyXformat2Token): update because minipage
13253         width is now a LyXLength
13254
13255         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13256
13257         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13258         math insets
13259
13260 2002-01-17  Juergen Vigna  <jug@sad.it>
13261
13262         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13263
13264         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13265         is set correctly and the inset is updated correctly.
13266
13267 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13268
13269         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13270         the beginning of the loop.
13271
13272 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13273
13274         * lyxrc.C: improve help for use_scalable_fonts
13275
13276 2002-01-17  Allan Rae  <rae@lyx.org>
13277
13278         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13279
13280 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13281
13282         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13283         make sure to set their inset_owner to the right value (bug #171)
13284
13285 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13286
13287         * DepTable.h
13288         * DepTable.C: Implement mtime checking to reduce time spent doing
13289         CRCs.
13290
13291 2002-01-16  Juergen Vigna  <jug@sad.it>
13292
13293         * tabular.C (GetAdditionalHeight): one of error fixed.
13294
13295         * lyxrc.C (output): small fix in writing use_pspell.
13296
13297 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13298
13299         * sp_base.h: #include LString.h
13300
13301 2002-01-16  Allan Rae  <rae@lyx.org>
13302
13303         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13304         Can someone check this please?
13305
13306         * text.C (drawInset): It was possible that p.row would be removed by
13307         breakAgainOneRow upsetting a few other settings.  There may be another
13308         small tweak possible by setting need_break_row = 0 when p.row has been
13309         removed but I don't know enough about the logic here.
13310
13311 2002-01-15  Allan Rae  <rae@lyx.org>
13312
13313         * text.C (insertChar): removed conditional truism.
13314
13315         * BufferView2.C (removeAutoInsets): More tweaks.
13316         cur_par_prev could be a stray pointer.  Check for trailing empty line
13317         in case last line was cur_par and only had an error inset on it.
13318
13319 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13320
13321         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13322         absolute
13323
13324         * vc-backend.C (most methods):
13325         * exporter.C (Export):
13326         * converter.C (convert):
13327         (runLaTeX):
13328         * LyXSendto.C (SendtoApplyCB):
13329         * lyxfunc.C (dispatch):
13330         (menuNew):
13331         (open):
13332         (doImport):
13333         * lyx_cb.C (AutoSave):
13334         (InsertAsciiFile):
13335         * BufferView_pimpl.C (MenuInsertLyXFile):
13336         * buffer.C (runChktex): use Buffer::filePath().
13337
13338         * buffer.h: rename filename to filename_; rename filepath to
13339         filepath_ and make it private
13340         (filePath): new method
13341
13342         * buffer.C (writeFile): use fileName()
13343         (getLatexName):
13344
13345         * lyx_main.C (init): fix starting  of LyX when the binary is a
13346         link from so,ewhere else.
13347
13348         * minibuffer.C: include <cctype> for isprint
13349
13350 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13351
13352         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13353         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13354         name clash with InsetCollapsable's width function.
13355
13356 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13357
13358         * lastfiles.C: include <iterator>
13359
13360 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13361
13362         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13363         std::count.
13364
13365         * buffer.C (makeLaTeXFile): ditto.
13366         Also make loop operation more transparent.
13367
13368 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13369
13370         * ToolbarDefaults.C: remove trailing comma closing namespace.
13371
13372         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13373
13374         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13375         as in WorkArea.
13376
13377         * trans.C (Load): comment out unused variable, allowed.
13378
13379 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13380
13381         * minibuffer.[Ch] (append_char): new method to recieve input from the
13382         drop-down completion browser. If a key was pressed, then recieve this
13383         char and append it to the existing string.
13384         (peek_event): modify the positioning data passed to the completion
13385         browser so that it can be placed above the minibuffer rather than below.
13386 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13387
13388         * LyXAction.C (init): alloe error-next for readonly documents.
13389
13390         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13391         count.
13392
13393 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13394
13395         * bufferlist.C (readFile): create the buffer _after_ checking that
13396         the file exists.
13397
13398         * lyxfunc.C (verboseDispatch): fix handling of arguments
13399
13400         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13401
13402         * lyxrc.C: use string::erase() instead of initializing to "".
13403
13404
13405 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13406
13407         * BufferView_pimpl.h:
13408         * BufferView_pimpl.C:
13409         * WorkArea.h:
13410         * WorkArea.C:
13411         * text2.C: tell X when we have made a selection for copying
13412
13413 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13414
13415         * BufferView_pimpl.C (MenuInsertLyXFile):
13416         * lyxfunc.C (menuNew):
13417         (open):
13418         (doImport): add shortcuts to directory buttons
13419
13420         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13421         open a float)
13422
13423         * lyxfunc.C (setStatusMessage):
13424         (getStatusMessage): new methods
13425         (getStatus):use setStatusMessage instead of setErrorMessage
13426         (dispatch): when function is disabled, set error message here
13427         [instead of in getStatus previously]
13428
13429         * BufferView_pimpl.C (workAreaButtonRelease): update
13430         toolbar/menubar here too.
13431
13432 2002-01-13  Allan Rae  <rae@lyx.org>
13433
13434         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13435         Now seems indestructible.  Remaining task is to audit all other
13436         code affected by deleteEmptyParagraphMechanism.  One small quirk
13437         left is that an empty document with an error in the preamble can
13438         be made to report an error but no error box appears.  I don't know
13439         where it goes.
13440         (removeAutoInsets): Improved comments.
13441
13442 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13443
13444         * Thesaurus.h:
13445         * Thesaurus.C: update for Aiksaurus 0.14
13446
13447 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13448
13449         * text2.C (firstParagraph): removed member function, all uses
13450         replaces with ownerParagraph
13451         (redoParagraphs): here
13452         (updateInset): here
13453         (toggleAppendix): here
13454         * BufferView2.C (insertErrors): here
13455         (setCursorFromRow): here
13456
13457 2002-01-13  Allan Rae  <rae@lyx.org>
13458
13459         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13460         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13461         There is still a way to segfault this although you may have to do this
13462         multiple times: Have an InsetERT with an unknown command in it.
13463         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13464         <down-arrow>, <Enter> again, View->DVI, BANG!
13465
13466         * text2.C (setCursor):
13467         (deleteEmptyParagraphMechanism):
13468         * lyxtext.h (setCursor):
13469         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13470         Making use of the return value may help fix other bugs.
13471
13472 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13473
13474         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13475
13476         * LyXView.C (updateMenubar): call MenuBar::update here
13477         (updateToolbar): but not here
13478         (showState): do not update toolbar/menubar
13479
13480         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13481         should need to care about that.
13482
13483         * lyxfunc.C (verboseDispatch): simplify a bit
13484         (getStatus): have a version which takes a pseudoaction, and
13485         another which requires a (kb_action,string).
13486
13487         * LyXAction.C (retrieveActionArg): make it work also when action
13488         is not a pseudo-action.
13489         (getActionName): simplify a bit
13490         (helpText):
13491
13492 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13493
13494         * lyxfunc.C (verboseDispatch): new families of methods with
13495         several ways to specify a command and a bool to indicate whether
13496         the command name and shortcut should be displayed in minibuffer
13497         (eventually, we could extend that to a finer bitmask like
13498         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13499         (dispatch): the pristine dispatch command which just, well,
13500         dispatchs! Note it still sets its result to minibuffer; I'm not
13501         sure we want that.
13502
13503         * lyxfunc.h: remove setHintMessage
13504
13505         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13506
13507 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13508
13509         * BufferView_pimpl.C (specialChar): delete new inset if we have
13510         not been able to insert it.
13511
13512         * kbmap.C: revert to using int instead of kb_action, since all we
13513         are dealing with is pseudo-actions.
13514
13515         * LyXAction.C (searchActionArg): change to return int instead of
13516         kb_action, since the result is a pseudoaction.
13517
13518 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13519
13520         * buffer.C (insertErtContents): Fix (partially) the font bug.
13521
13522 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13523
13524         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13525         as the other one is broken on my machine!
13526
13527 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13528
13529         * commandtags.h:
13530         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13531
13532 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13533
13534         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13535         reflect their actual use. Provide compatibility code for older lyxrc
13536         files.
13537
13538         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13539         FL_NORMAL_STYLE.
13540         change names of popup font variables in line with the changes to lyxrc.C
13541
13542 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13543
13544         * buffer.C (asciiParagraph): avoid outputing a word twice after
13545         an inset.
13546
13547         * lyxrc.C (getDescription): document that document_path and
13548         template_path can be empty.
13549
13550 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13551
13552         * LaTeXFeatures.C (getMacros):
13553         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13554
13555         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13556
13557         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13558         getPackages.
13559         (getPackages): rename feature "floats" to "float". Use an array to
13560         iterate over 'simple' features (i.e. just a \usepackage). Add
13561         handling of "amsmath" (renamed from "amsstyle").
13562
13563 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13564
13565         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13566         features list.
13567
13568 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13569
13570         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13571         FuncStaus::FuncStatus & FuncStaus::some_method().
13572
13573 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13574
13575         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13576         of the func_satus stuff. Edited and massaged in various ways by
13577         JMarc.
13578
13579         * lyxfunc.C (getStatus): use FuncStatus
13580
13581 2002-01-08  Juergen Vigna  <jug@sad.it>
13582
13583         * text.C (nextBreakPoint): use function Inset::isChar().
13584
13585         * paragraph.C (TeXOnePar): use function
13586         Inset::forceDefaultParagraphs.
13587
13588         * buffer.C (latexParagraphs): use function
13589         Inset::forceDefaultParagraphs.
13590
13591 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13592
13593         * lyx_gui.C (init): set the style of the menu popups to
13594         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13595
13596 2002-01-07  Juergen Vigna  <jug@sad.it>
13597
13598         * text.C (setHeightOfRow): small fix
13599         (prepareToPrint): don't look at alignment if we don't have the place
13600         for doing it.
13601
13602 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13603
13604         * box.C: New file. Move the Box methods and functions out of box.h,
13605         following Lars' suggestion.
13606
13607 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13608
13609         * box.h: #include "support/LOstream.h", needed for inlined function.
13610
13611         * lyxtextclass.C:
13612         * lyxtextclasslist.C: added some using std declarations.
13613
13614 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13615
13616         * box.h: make signed dimensions to allow insets wider than
13617           the screen (bug #162)
13618
13619         * BufferView_pimpl.C: add some insetHit debug
13620
13621 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13622
13623         * vc-backend.C: add FIXME
13624
13625 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13626
13627         * lyxfunc.C (getStatus): enable code for showing math font status
13628         in toolbar/menu.
13629
13630 2002-01-07  Juergen Vigna  <jug@sad.it>
13631
13632         * text.C (nextBreakPoint): removed debug output not needed anymore.
13633
13634 2002-01-06  Juergen Vigna  <jug@sad.it>
13635
13636         * text.C (nextBreakPoint): fixed up this function we had this bug
13637         since ever but now hopefully we break row better.
13638         (insertChar): we have to check if an inset is the next char as it
13639         could now happen that a large inset is causing a break.
13640
13641 2002-01-05  Juergen Vigna  <jug@sad.it>
13642
13643         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13644         if it doesn't like to be drawed.
13645
13646 2002-01-04  Juergen Vigna  <jug@sad.it>
13647
13648         * BufferView2.C (lockInset): forgot to set a cursor.
13649
13650         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13651
13652 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13653
13654         * FormMathsPanel.C:
13655         * FormMathsPanel.h
13656         * MathsSymbols.C:
13657         * form_maths_panel.C:
13658         * form_maths_panel.h:
13659         * form_maths_panel.fd: implemented sub- and super- buttons in math
13660         panel.
13661
13662         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13663         (or ^ space) to be used as in TeX (req'd by André).
13664
13665         * lyxfunc.C: Allow ^ and _ again to be used both as
13666         super/subscript (mathed) and as themselves (in text).
13667
13668 2002-01-03  Allan Rae  <rae@lyx.org>
13669
13670         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13671         "LyX" or the filename of the current buffer if it has one.  This is a
13672         modified form of John Levon's patch.
13673
13674         * XFormsView.C (setWindowTitle): also set icon title.
13675
13676         * LyXView.h (setWindowTitle): signature changed.
13677         * XFormsView.h (setWindowTitle): ditto.
13678
13679 2002-01-02  Juergen Vigna  <jug@sad.it>
13680
13681         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13682
13683 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13684
13685         * screen.C (topCursorVisible): introduce a temp var for
13686         text->cursor.row(), handle the case where this row is null. (kindo
13687         hachish)
13688
13689         * text2.C (setCursor): add a couple of asserts.
13690
13691         * paragraph.h (inset_iterator): add -> operator
13692
13693         * paragraph.[Ch] (autoDeleteInsets): remove member function
13694
13695         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13696         cursor pos correctly and handle inset deletion by itself.
13697         (insertErrors): move iterator declaration out of for expression
13698
13699         * lyxtextclass.C: add <algorithm>
13700
13701         * Makefile.am: added the new files to sources, removed layout.C
13702
13703         * layout.C: removed file
13704
13705         * layout.h: remove LYX_DUMMY_LAYOUT
13706
13707         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13708         layout.
13709
13710         * lyxlayout.[Ch]:
13711         * lyxtextclass.[Ch]:
13712         * lyxtextclasslist.[Ch]: new files
13713
13714         * include order changes to a lot of files, also changes because of
13715         the six new files.
13716
13717 2001-12-27  Juergen Vigna  <jug@sad.it>
13718
13719         * buffer.C (asciiParagraph): more fixes.
13720
13721         * tabular.C (ascii): make ascii export support export of only the
13722         data separated by a column-delimiter.
13723         (ascii): better support for ascii export.
13724
13725         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13726
13727 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13728
13729         * tabular_funcs.C: use a "using std::getline" instead of the
13730         previous fix from Angus (necessary for cxx + lyxstring)
13731
13732 2001-12-24  Juergen Vigna  <jug@sad.it>
13733
13734         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13735
13736         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13737         problems. First check a minipage also if we have some ert-contents
13738         (not only on par->size(), second set the right depth of the paragraph
13739         on the relink to the root-paragraph-list!
13740
13741         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13742         which then did not anymore update the main paragraphs on undo/redo!
13743
13744 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13745
13746         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13747         code. Support all font-changing funcs (even those which are not in
13748         menu currently). Support for reporting font settings in
13749         mathed (disabled until Andre provides a function on mathed's side).
13750
13751         * func_status.h (toggle): small helper function to set toggle
13752         state on a flag.
13753
13754 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13755
13756         * tabular_funcs.C: getline -> std::getline
13757
13758 2001-12-21  Juergen Vigna  <jug@sad.it>
13759
13760         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13761         accessed and could be 0 (I couldn't generate this but it seems
13762         Michael could!).
13763
13764 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13765
13766         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13767         * tabular_funcs.h: here and include iosfwd
13768
13769 2001-12-20  Juergen Vigna  <jug@sad.it>
13770
13771         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13772         inside inset but undo_par was.
13773
13774 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13775
13776         * Thesaurus.C: always include <config.h> in sources.
13777
13778         * Painter.h:
13779         * lyxlookup.h:
13780         * box.h: do not include <config.h> in header files
13781
13782         * text.C (paintLastRow): remove unused variable
13783
13784         * text.C (transformChar):
13785         (insertChar):
13786         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13787
13788         * Painter.C (text):
13789         * font.C (width): rewrite to use uppercase() instead of
13790         islower/toupper.
13791
13792         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13793
13794 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13795
13796         * lyxfind.C: clean up of find failure position change
13797
13798 2001-12-20  Juergen Vigna  <jug@sad.it>
13799
13800         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13801
13802         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13803         (TeXRow): added to LaTeX a single tabular row.
13804         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13805         (Latex): simplified and finally good LT-h/f support.
13806         (various_functions): just small adaptions for LT-h/f support.
13807
13808         * tabular_funcs.[hC]: added and moved here all not classfunctions
13809         of LyXTabular.
13810
13811 2001-12-19  Juergen Vigna  <jug@sad.it>
13812
13813         * tabular.[Ch]: better support for longtabular options (not finished
13814         yet!)
13815
13816 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13817
13818         * text.C (paintLastRow): use the label font instead of the font of
13819         the last character to compute the size of *_BOX. This makes more
13820         sense and avoids a crash with empty paragraphs.
13821         Use Painter::rectangle to draw EMPTY_BOX.
13822
13823 2001-12-19  Juergen Vigna  <jug@sad.it>
13824
13825         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13826         the paragraphs if the replaced paragraph is not the first one!
13827         Tried to delete not used paragraphs but does not work yet so for
13828         now it's inside #ifdef's and by default off!
13829
13830 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13831
13832         * MenuBackend.C: include "lyx_main.h" instead of declaring
13833         lastfiles (actually was declared as LastFiles* instead of a
13834         scoped_ptr).
13835
13836 2001-12-17  Juergen Vigna  <jug@sad.it>
13837
13838         * tabular.C (AppendColumn): applied John's fix
13839
13840 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13841
13842         * BufferView.h:
13843         * BufferView.C:
13844         * BufferView_pimpl.h:
13845         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13846
13847         * Makefile.am:
13848         * box.h: new start of class for above
13849
13850         * lyxfunc.C: ignore space-only minibuffer dispatches.
13851           Show the command name when it doesn't exist
13852
13853         * minibuffer.C: don't add empty lines to the history
13854
13855         * minibuffer.C: add a space on dropdown completion
13856
13857 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13858
13859         * text.C: fix line above/below drawing in insets
13860
13861 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13862
13863         * lyxlength.C (LyXLength): Initialize private variables.
13864
13865 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13866
13867         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13868         when inserting error insets.
13869
13870 2001-12-13  Juergen Vigna  <jug@sad.it>
13871
13872         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13873         actually sometimes the before-paragraph.
13874         (setUndo): don't clear the redostack if we're not actually undoing!
13875
13876 2001-12-06  Juergen Vigna  <jug@sad.it>
13877
13878         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13879         and fixed redoing of main paragraph, so we can use it now ;)
13880
13881         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13882
13883 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13884
13885         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13886         Juergen's request
13887
13888 2001-12-13  André Pönitz <poenitz@gmx.net>
13889
13890         * undostack.[Ch]:
13891         * undo_func.C: minor cleanup
13892
13893 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13894
13895         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13896         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13897         font in urw-fonts package which is marked as -urw-fontspecific and
13898         does not work (incidentally, changing the encoding in the
13899         fonts.dir of this package to -adobe-fontspecific fixes the
13900         problem).
13901
13902         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13903         is a crash when undoing first paragraph (Juergen, please take a
13904         look). THis does not mean the undo fix is wrong, just that it
13905         uncovers problems.
13906
13907         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13908         the (Paragraph*) version when needed instead of duplicating the
13909         code.
13910
13911         * text.C (workWidth): use Inset::parOwner to find out where the
13912         inset has been inserted. This is a huge performance gain for large
13913         documents with lots of insets. If Inset::parOwner is not set, fall
13914         back on the brute force method
13915
13916         * paragraph_pimpl.C (insertInset):
13917         * paragraph.C (Paragraph):
13918         (cutIntoMinibuffer): set parOwner of insets when
13919         inserting/removing them
13920
13921         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13922
13923 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13924
13925         * commandtags.h:
13926         * LyXAction.C:
13927         * lyx_main.C:
13928         * lyxfunc.C:
13929         * mathed/formulabase.C:
13930         * mathed/math_cursor.[Ch]:
13931         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13932
13933
13934 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13935
13936         * lyxlength.[Ch] (operator!=): new function
13937
13938 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13939
13940         * text.C (workWidth): use Inset::parOwner to find out where the
13941         inset has been inserted. This is a huge performance gain for large
13942         documents with lots of insets. If Inset::parOwner is not set, fall
13943         back on the brute force method
13944
13945         * paragraph_pimpl.C (insertInset):
13946         * paragraph.C (Paragraph):
13947         (cutIntoMinibuffer): set parOwner of insets when
13948         inserting/removing them
13949
13950         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13951
13952 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13953
13954         * tabular-old.C (getTokenValue):
13955         * tabular.C (getTokenValue):
13956         (write_attribute): new versions for LyXLength
13957         (everywhere): adjust the use of widths
13958
13959         * tabular.h: change the type of widths from string to LyXLength
13960
13961 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13962
13963         * paragraph.C: fixed missing line number count when exporting
13964         Environments to LaTeX file
13965
13966         * buffer.C: added informational message for checking line numbers.
13967
13968 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13969
13970         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13971         paragraph, do the 'double space' part, but not the 'empty
13972         paragraph' one.
13973
13974         * text.C (workWidth): small optimization
13975         (getLengthMarkerHeight): use minimal size for negative lengths.
13976
13977 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13978
13979         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13980
13981         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13982
13983 2001-12-11  André Pönitz <poenitz@gmx.net>
13984
13985         * FontLoader.C:
13986         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13987
13988 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13989
13990         * text2.C: keep selection on a setFont()
13991
13992 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13993
13994         * lyx_cb.C: another bv->text misuse, from insert label
13995
13996 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13997
13998         * kbsequence.h:
13999         * kbsequence.C: re-instate nmodifier mask
14000
14001 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14002
14003         * lyx_main.h: make lyxGUI private.
14004
14005 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14006
14007         * lyxfind.C: place the cursor correctly on failed search
14008
14009 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14010
14011         * text.C (getLengthMarkerHeight): for small heights, the arrows
14012         are not always on top/bottom of the text
14013         (drawLengthMarker): smaller arrows; take the left margin in
14014         account; draw also vfills.
14015         (paintFirstRow):
14016         (paintLastRow): remove special code for vfill and standard spaces,
14017         since everything is handled in drawLengthMarker now.
14018
14019 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14020
14021         * buffer.C (insertErtContents): try to handle font and language
14022         interaction a bit better.g
14023
14024         * ColorHandler.C (updateColor): change the hash to cover the whole
14025         LColor enum, ws cleanup
14026         (getGCLinepars): ditto
14027         (getGCLinepars): only lookup in the linecache once.
14028
14029 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14030
14031         * iterators.C (operator++): Make the iterator more robust
14032
14033         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14034         (John's patch)
14035         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14036
14037 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14038
14039         * lyxtext.h:
14040         * text.C: better added space drawing
14041
14042 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14043
14044         * LyXView.C:
14045         * BufferView2.C: fix layout combo update on inset unlock
14046
14047 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14048
14049         * Makefile.am: don't compile unused files
14050
14051 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14052
14053         * lyxfunc.C:
14054         * commandtags.h:
14055         * LyXAction.C: remove old LFUN_LAYOUTNO
14056
14057 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14058
14059         * paragraph_pimpl.h:
14060         * paragraph_pimpl.C: isTextAt() doesn't need font param
14061
14062 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14063
14064         * lyxlex.h:
14065         * lyxlex.C: little cleanup
14066
14067 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14068
14069         * BufferView_pimpl.C: fix insertAscii for insets
14070
14071 2001-12-05  Juergen Vigna  <jug@sad.it>
14072
14073         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14074         set the right font on the "multi" paragraph paste!
14075
14076 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14077
14078         * trans_decl.h:
14079         * trans_mgr.[Ch]:
14080         * trans.[Ch]:
14081         * lyxgluelength.C:
14082         * lyxlength.C: remove out-commented code.
14083
14084         * BufferView_pimpl:
14085         * CutAndPaste.C:
14086         * DepTable.C:
14087         * buffer.C:
14088         * chset.C:
14089         * lastfiles.C:
14090         * lyxlex.C:
14091         * lyxlex_pimpl.C:
14092         * lyxserver.C:
14093         * screen.C:
14094         * tabular-old.C:
14095         * tabular.C:
14096         * text.C:
14097         * trans_mgr.C:
14098         * vc-backend.C: change "while(" to "while ("
14099
14100         * lyxlength.[Ch]: add zero function to check if length is zero or
14101         not
14102         * lyxgluelength.C: use it
14103
14104 2001-12-05  Allan Rae  <rae@lyx.org>
14105
14106         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14107         Works for 2.95.3, from what I understand of Garst's reports this should
14108         work for other g++ versions.  We're screwed if the abs(int) definition
14109         changed between bugfix releases of gcc.
14110
14111 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14112
14113         * text.C: fix chapter label offset !
14114
14115 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14116
14117         * lyxtext.h:
14118         * text.C: fix hfill at end of line, clean up
14119
14120 2001-12-04  Juergen Vigna  <jug@sad.it>
14121
14122         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14123         that we force an update of the inset and it's owners if neccessary.
14124
14125 2001-12-03  Juergen Vigna  <jug@sad.it>
14126
14127         * text.C (rowLast): simplified code
14128
14129 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14130
14131         * lyxfunc.C: fix show options on timeout
14132
14133 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14134
14135         * screen.C (topCursorVisible): scroll half a page when the cursor
14136         reached top of bottom of screen
14137
14138 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14139
14140         * minibuffer.C: deactivate on loss of focus
14141
14142 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14143
14144         * vspace.[Ch] (operator!=): add operator.
14145
14146 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14147
14148         * BufferView_pimpl.C: refuse to open an inset when
14149         there's a selection.
14150
14151 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14152
14153         * BufferView_pimpl.C: allow to click on RHS of full row insets
14154
14155 2001-11-30  Juergen Vigna  <jug@sad.it>
14156
14157         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14158         insets for undo reasons.
14159
14160 2001-11-28  André Pönitz <poenitz@gmx.net>
14161
14162         * vspace.[Ch]: cosmetical changes
14163
14164 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14165
14166         * LyXAction.h:
14167         * LyXAction.C:
14168         * lyxfunc.h:
14169         * lyxfunc.C:
14170         * kbmap.h:
14171         * kbmap.C:
14172         * lyxrc.C:
14173         * kbsequence.h:
14174         * kbsequence.C: part re-write of old kb code
14175
14176         * Painter.C:
14177         * WorkArea.C: remove Lgb_bug_find_hack
14178
14179 2001-11-30  José Matos <jamatos@fep.up.pt>
14180
14181         * buffer.C (makeDocBookFile): add a comment to point a hack.
14182         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14183         Fixed a double write of labels.
14184
14185 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14186
14187         * LaTeX.C:
14188         * LaTeX.h Fixed bug in LaTeX class where it would not
14189         re-run latex if no depfiles were changed, but the .dvi was removed.
14190
14191 2001-11-28  André Pönitz <poenitz@gmx.net>
14192
14193         * all the files from the change on 2001/11/26:
14194         use lyx::layout_type instead of LyXTextClass::size_type
14195         use lyx::textclass_type instead of LyXTextClassList::size_type
14196
14197 2001-11-29  Juergen Vigna  <jug@sad.it>
14198
14199         * text.C: added support for paragraph::isFreeSpacing()
14200
14201         * buffer.C: same as above
14202
14203         * paragraph.h: inserted isFreeSpacing() function to enable
14204         FreeSpacing inside InsetERT.
14205
14206         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14207         of the paragraph's in the cut/copy buffer to 0!
14208
14209         * text2.C (removeRow): remove the assert as it can!
14210
14211         * lyxtext.h: added helper function firstRow returning firstrow and
14212         made firstrow private again.
14213
14214         * BufferView2.C (lockInset): don't relock if we're already locked!
14215
14216         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14217         the only paragraph.
14218         (removeRow): added Assert::(firstrow)
14219
14220         * debug.C: forgot to add INSETTEXT here.
14221
14222 2001-11-28  Juergen Vigna  <jug@sad.it>
14223
14224         * sp_spell.C (initialize): changed error text to more general
14225         spellchecker command use (not only ispell!)
14226
14227         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14228
14229         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14230
14231 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14232
14233         * vspace.C: initialise lyxgluelength on failure
14234
14235 2001-11-28  Allan Rae  <rae@lyx.org>
14236
14237         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14238         declaration & definition that looks like a function declaration.
14239
14240 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14241
14242         * BufferView2.C (copy):
14243         (copyEnvironment): do not clear the selection when doing a copy.
14244
14245         * text.C (paintFirstRow): compilation fix
14246
14247 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14248
14249         * tabular.C (Latex): correct line count when writing latex.
14250
14251 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14252
14253         * paragraph_pimpl.h:
14254         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14255           bug a bit
14256
14257 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14258
14259         * text.C:
14260         * LColor.h:
14261         * LColor.C: change vfillline->added_space
14262
14263         * text.C: add markers and text for added space
14264
14265         * vspace.C: fix comment
14266
14267 2001-11-28  André Pönitz <poenitz@gmx.net>
14268
14269         * paragraph.C: whitespace changes
14270         * all the other files from the change on 2001/11/26:
14271         change *::pos_type into lyx::pos_type
14272
14273 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14274
14275         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14276         language of the document when inserting error insets.
14277
14278 2001-11-26  André Pönitz <poenitz@gmx.net>
14279
14280         * BufferView_pimpl.[Ch]:
14281         *       CutAndPaste.C:
14282         * buffer.[Ch]:
14283         * lyxcursor.[Ch]:
14284         * lyxfind.C:
14285         * lyxfunc.C:
14286         * lyxrow.[Ch]:
14287         * paragraph.[Ch]:
14288         * paragraph_pimpl.[Ch]:
14289         * sp_spell.C:
14290         * text.C:
14291         * text2.C: reduce header dependencies, introduce type for positions
14292
14293 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14294
14295         * <various>: change to use Alert.h
14296
14297 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14298
14299         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14300         when encountering an unknown token.
14301         (readLyXformat2): Show an error message if there were unknown tokens.
14302
14303 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14304
14305         * BufferView2.C:
14306         * BufferView_pimpl.C:
14307         * buffer.C:
14308         * paragraph.h:
14309         * text.C:
14310         * text2.C: use par->isInset()
14311
14312 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14313
14314         * paragraph_pimpl.h:
14315         * paragraph_pimpl.C: cleanup
14316
14317 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14318
14319         * text2.C (removeRow):
14320         * text.C (setHeightOfRow): remove useless (and costly) call to
14321         getRow.
14322
14323 2001-11-20  Allan Rae  <rae@lyx.org>
14324
14325         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14326         Now need Inset*::checkInsertChar() to return true for appropriate
14327         cases so that the characters in the minibuffer will actually be
14328         inserted.
14329
14330 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14331
14332         * text.C: change the order of the includes.
14333         (workWidth): initialize it at once.
14334         (workWidth): make maxw unsigned
14335         (setHeightOfRow): remove unused variable (inset)
14336         (selectSelectedWord): remove unused variable (inset)
14337         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14338
14339 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14340
14341         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14342         server is not running.
14343         (openConnection):
14344         (closeConnection): add debug info when server is disabled.
14345
14346         * ColorHandler.C (getGCForeground): send debug message to GUI
14347         channel.
14348
14349         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14350
14351         * kbmap.C (bind): modify because return conventions of
14352         kb_sequence::parse have changed.
14353
14354         * kbsequence.C (parse): only ignore spaces and not any stupid
14355         control character. This avoids tests like s[i] <= ' ', which are
14356         guaranteed to fail with 8bit characters and signed chars.
14357         Change return code to string::npos when there have been no error
14358         (0 was a bad idea when error is at first character)
14359
14360 2001-11-14  José Matos  <jamatos@fep.up.pt>
14361
14362         * buffer.h:
14363         * buffer.C (simpleDocBookOnePar): removed unused argument.
14364
14365 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14366
14367         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14368         insets which are part of a word. Paragraph::isLetter takes care of
14369         that now. Use Paragraph::isInset to identify insets.
14370         (selectSelectedWord): do not test for hyphenation break.
14371
14372         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14373         that protected spaces are considered as spaces.
14374
14375         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14376         Inset::isLetter.
14377
14378 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14379
14380         * lyxserver.h:
14381         * lyxserver.C: fix it. and small cleanup.
14382
14383 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14384
14385         * BufferView_pimpl.C: use inline helpers
14386
14387         * LaTeXFeatures.h:
14388         * LaTeXFeatures.C: fix typos
14389
14390         * Spacing.h:
14391         * Spacing.C: move spacing_string into class
14392
14393         * ToolbarDefaults.C: move stuff into namespace anon
14394
14395         * layout.h: update enum
14396
14397         * lyxfunc.C: use better debug
14398
14399         * minibuffer.h: fix typo
14400
14401         * debug.h:
14402         * debug.C:
14403         * WorkArea.C: add and use Debug::WORKAREA
14404
14405         * lyxtext.h:
14406         * text.C:
14407         * text2.C: code re-organisation, inline helpers
14408
14409 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14410
14411         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14412         std::vector.empty().
14413
14414 2001-11-09  Allan Rae  <rae@lyx.org>
14415
14416         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14417         '\n's after tables.  Tabular and ERT inset work now makes this no
14418         longer necessary.
14419
14420 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14421
14422         * minibuffer.h:
14423         * minibuffer.C: fix crash, improve drop-down completion
14424
14425 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14426
14427         * lyxserver.h:
14428         * lyxserver.C: invalidate fd's when doing endPipe()
14429
14430 2001-11-08  José Matos  <jamatos@fep.up.pt>
14431
14432         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14433         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14434
14435         * paragraph.h:
14436         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14437
14438 2001-11-07  José Matos  <jamatos@fep.up.pt>
14439
14440         * buffer.h:
14441         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14442         const qualifier.
14443
14444         * buffer.C (sgmlOpenTag):
14445         * buffer.C (sgmlCloseTag): removed debug info.
14446
14447         * buffer.h (sgmlOpenTag):
14448         * buffer.h (sgmlCloseTag): made public.
14449
14450 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14451
14452         * buffer.C (saveParamsAsDefaults):
14453         * lyx_cb.C (MenuLayoutSave): remove
14454
14455         * LyXAction.C (init):
14456         * commandtags.h:
14457         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14458
14459 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14460
14461         * buffer.C (setPaperStuff): removed from here...
14462
14463         * bufferparams.C (setPaperStuff): ... and moved there.
14464
14465 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14466
14467         * minibuffer.h:
14468         * minibuffer.C:
14469         * XFormsView.C: add support for drop-down completion
14470
14471 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14472
14473         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14474         commands.
14475
14476 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14477
14478         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14479         disabled.
14480
14481 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14482
14483         * lyx_main.C: change ref to known bugs
14484
14485 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14486
14487         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14488         to work around older babel problems.
14489
14490 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14491
14492         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14493
14494 2001-10-24  Juergen Vigna  <jug@sad.it>
14495
14496         * tabular-old.C (ReadOld): below variable changes reflected.
14497
14498         * tabular.[Ch]: added ltType struct for longtable header/footer
14499         defines and changed all instances where they are used. Added
14500         future support for double top/bottom rows.
14501
14502 2001-10-24  José Matos  <jamatos@fep.up.pt>
14503
14504         * buffer.h (docbookHandleCaption):
14505         * buffer.C (docbookHandleCaption): removed unused function.
14506         (makeDocBookFile): moved docbook supported version to v4.1.
14507
14508 2001-10-24  José Matos  <jamatos@fep.up.pt>
14509
14510         * tabular.h:
14511         * tabular.C (docbookRow): new function to export docbook code of a row.
14512         (DocBook): now honors the longtable flags.
14513
14514 2001-10-23  José Matos  <jamatos@fep.up.pt>
14515
14516         * LaTeXFeatures.h:
14517         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14518         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14519
14520         * buffer.C (makeLinuxDocFile):
14521         (makeDocBookFile): reworked the preamble, more clean, and with
14522         support for lyx defined entities. Changed the document declaration
14523         to be more XML friendly.
14524
14525         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14526         if we need to output XML that should be done with a filter.
14527
14528 2001-10-22  Juergen Vigna  <jug@sad.it>
14529
14530         * sp_pspell.h (class PSpell): add alive function needed in the
14531         controller to see if the spellchecker could be started.
14532
14533 2001-10-22  Juergen Vigna  <jug@sad.it>
14534
14535         * buffer.C (insertStringAsLines): modify the font for inserting
14536         chars in certain conditions by calling checkInsertChar(font).
14537
14538 2001-10-19  Juergen Vigna  <jug@sad.it>
14539
14540         * text.C (workWidth): use getRow instead of wrong algorithm.
14541         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14542
14543 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14544
14545         * lyxserver.h:
14546         * lyxserver.C:
14547         * lyx_main.h:
14548         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14549
14550 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14551
14552         * text.C (workWidth): do not search for the exact row when
14553         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14554         optimization for big documents.
14555
14556 2001-10-18  Juergen Vigna  <jug@sad.it>
14557
14558         * text.C (workWidth): new function with added Inset * parameter.
14559
14560 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14561
14562         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14563
14564         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14565         change return type of getColumnNearX.
14566
14567
14568         * text.C (changeRegionCase): use uppercase/lowercase instead of
14569         toupper/tolower.
14570         (leftMargin):
14571         (rightMargin): simplify code by factoring out the uses of
14572         textclasslist.
14573         (labelFill):
14574         (numberOfHfills):
14575         (setHeightOfRow):
14576         (appendParagraph): use Paragraph::size_type
14577
14578 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14579
14580         * vspace.C (asLatexString): add a missing break
14581
14582 2001-10-15  Herbert Voss  <voss@perce.de>
14583
14584         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14585
14586 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14587
14588         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14589         is not available.
14590
14591 2001-10-10  André Pönitz <poenitz@gmx.net>
14592
14593         * lyxfunc.C: removed greek_kb_flag.
14594
14595 2001-10-10  Herbert Voss  <voss@perce.de>
14596
14597         * lyx_main.C: delete global string help_lyxdir.
14598
14599 2001-10-09  Herbert Voss  <voss@perce.de>
14600
14601         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14602
14603         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14604
14605         * lyx_main.C: added global string help_lyxdir.
14606
14607         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14608
14609 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14610
14611         * lyxrc.C (set_font_norm_type): support iso8859-4
14612
14613 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14614
14615         * LaTeX.C (deplog): add another regex for MikTeX
14616
14617 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14618
14619         * lyxrc.C (set_font_norm_type): support iso8859-3
14620
14621 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14622
14623         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14624
14625         * LaTeXFeatures.C: remove special case of french and index
14626
14627         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14628         before \begin{document}). This solves several incompatibilities.
14629
14630 2001-10-03  Garst Reese  <reese@isn.net>
14631
14632         * lyx_cb.C: change CheckTex error msg.
14633
14634 2001-10-03  José Matos  <jamatos@fep.up.pt>
14635
14636         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14637
14638 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14639
14640         * .cvsignore: update
14641
14642         * lyx_main.C (commandLineVersionInfo): use new style version info.
14643
14644         * buffer.C (writeFile):
14645         (makeLaTeXFile):
14646         (makeLinuxDocFile):
14647         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14648
14649         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14650
14651         * version.h: update to use stuff in version.C
14652
14653         * version.C.in: new file. Contains version information determined
14654         at compile time. This is a merging of version.h and
14655         version_info.h.in.
14656
14657 2001-10-03  Juergen Vigna  <jug@sad.it>
14658
14659         * BufferView_pimpl.C (update): don't change "dirty" status in
14660         updateInset call.
14661
14662 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14663
14664         * WorkArea.C (c-tor): re-position version string slightly.
14665
14666 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14667
14668         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14669         revert to previous code.
14670
14671         WorkArea.[Ch]: (show, destroySplash): methods removed.
14672
14673         WorkArea.C: rework code so that it's an amalgam of the codes before and
14674         after the splash screen was moved to WorkArea.
14675
14676 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14677
14678         * lyxrc.C (read):
14679         * vspace.C (inPixels):
14680         (lyx_advance):
14681         * kbmap.C (bind):
14682         * buffer.C (insertStringAsLines):
14683         (asciiParagraph): fix types to be large enough
14684
14685         * lyxlex_pimpl.h: change member status from short to int
14686
14687         * layout.h: fix type of endlabeltype
14688
14689         * kbmap.C (bind):
14690         * kbsequence.C (parse): change return type to string::size_type
14691
14692         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14693         variable
14694
14695         * Bullet.C (bulletSize):
14696         (bulletEntry): do not use short ints as parameters
14697
14698         * BufferView2.C (insertLyXFile): change a char to an int.
14699
14700         * WorkArea.C (WorkArea): remove unneeded floats in computation
14701
14702 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14703
14704         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14705
14706         * paragraph.C (asString): Do not ignore newline/hfill chars when
14707         copying to the clipboard.
14708
14709 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14710
14711         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14712         after a multi-line inset.
14713
14714 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14715
14716         * paragraph.C (validate): Set NeedLyXFootnoteCode
14717
14718 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14719
14720         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14721         and decrease-error to decrease.
14722
14723 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14724
14725         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14726         it more readable (should be equivalent)
14727
14728 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14729
14730         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14731
14732 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14733
14734         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14735         of a cursor (row, etc.) after a character has been deleted
14736         (deleteEmptyParagraphMechanism): call the method above on _all_
14737         cursors held by the LyXText when a double space has been
14738         detected/deleted.
14739
14740 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14741
14742         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14743         pixmap.
14744         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14745
14746         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14747         background. Use greyOut() and the new show() methods to toggle between
14748         the foreground and background. Add code to remove the splash after
14749         its initial showing.
14750
14751         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14752         (create_forms): no longer call Dialogs::showSplash.
14753
14754 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14755
14756         * .cvsignore: add version_info.h
14757
14758 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14759
14760         * version_info.h.in: new file
14761
14762         * Makefile.am: add version_info.h.in
14763
14764         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14765         version_info.h instead of VERSION_INFO
14766
14767 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14768
14769         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14770         The ERT inset now returns string().
14771
14772 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14773
14774         * lyxtext.h, text.C (selectNextWord): renamed as
14775         selectNextWordToSpellcheck.
14776
14777         * text.C (selectNextWordToSpellcheck): Modified to not select
14778         words inside an ERT inset.
14779
14780 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14781
14782         * lyx_cb.C (MenuLayoutSave): change a bit the question
14783
14784         * sp_base.h: include <sys/types.h>
14785
14786 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14787
14788         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14789
14790 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14791
14792         * several files: fix typos in user-visible strings
14793
14794 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14795
14796         * text2.C (pasteSelection): do not set the selection, since it
14797         will be cleared later. Actually, the intent was to fix the way the
14798         selection was set, but I figured rmoving the code was just as good.
14799
14800 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14801
14802         * FontLoader.C (available): Check if font is available without
14803         loading the font.
14804
14805 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14806
14807         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14808
14809 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14810
14811         * lyxrc.[Ch]: added display_graphics variable and associated code.
14812
14813 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14814
14815         * bufferparams.C (hasClassDefaults): new method. Returns true if
14816         the buffer parameters correspond to known class defaults
14817
14818 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14819
14820         * XFormsView.C (show): set minimum size to the main window.
14821
14822 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14823
14824         * text2.C (copySelection):
14825         (cutSelection):
14826         * lyxfind.C (LyXReplace):
14827         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14828         LyXText::selectionAsString.
14829
14830         * paragraph.C (asString): add "label" argument to the second form
14831
14832         * text2.C (selectionAsString): add "label" argument and pass it to
14833         Paragraph::asString.
14834
14835 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14836
14837         * lyx_main.C (commandLineHelp): remove version information
14838
14839 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14840
14841         * lyx_main.C: add -version commandline option
14842
14843 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14844
14845         * paragraph.h: make the optional constructor arg required instead.
14846         some modifications to other files because of this.
14847
14848         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14849
14850         * lyxserver.C (C_LyXComm_callback): make it static
14851
14852         * lyx_main.C (error_handler): make it static
14853
14854         * lyx_gui.C (LyX_XErrHandler): make it static
14855
14856         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14857
14858         * WorkArea.C: make the extern "C" methods static.
14859
14860         * Makefile.am (lyx_LDADD): simplify
14861
14862 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14863
14864         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14865         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14866
14867         * LyXAction.C (init):
14868         * lyxfunc.C (dispatch): associated code removal.
14869
14870 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14871
14872         * lyxfont.h (isSymbolFont): shut off warning
14873
14874         * text.C (setHeightOfRow):
14875         (getVisibleRow): fix crash with empty paragraphs which have a
14876         bottom line
14877
14878 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14879
14880         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14881         code.
14882
14883 2001-09-04  José Matos  <jamatos@fep.up.pt>
14884         * buffer.C
14885         * buffer.h
14886         * tabular.C (docbook): rename docBook method to docbook.
14887
14888 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14889
14890         * Makefile.am: add dependencies to main.o.
14891
14892 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14893
14894         * FontLoader.C (available): Return false if !lyxrc.use_gui
14895
14896 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14897
14898         * FontInfo.C (query):
14899         * converter.C (view):
14900         * importer.C (Import):
14901         * exporter.C (Export): Can not -> cannot.
14902
14903 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14904
14905         * BufferView_pimpl.C: allow to create index inset even if
14906           string is empty
14907
14908 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14909
14910         * buffer.C (getLists): replace boost::tie code with an explicit pair
14911         as boost::tie can break some compilers.
14912
14913         * iterators.h: Added a std:: declaration to the return type of
14914         ParIterator::size.
14915
14916 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14917
14918         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14919           case.
14920
14921 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14922
14923         * iterators.[Ch]: New files. Provide paragraph iterators.
14924
14925         * buffer.C (changeLanguage): Use paragraph iterators.
14926         (isMultiLingual): ditto
14927
14928         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14929
14930 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14931
14932         * FontLoader.C: Support for cmr font.
14933
14934 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14935
14936         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14937         (available): New method.
14938
14939         * FontInfo.C (getFontname): Use scalable fonts even when
14940         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14941         found.
14942
14943 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14944
14945         * converter.C (Formats::view): reverted! Incorrect fix.
14946
14947 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14948
14949         * converter.C (Formats::view): only output the -paper option
14950         if the dvi viewer is xdvi, thereby fixing bug #233429.
14951
14952 2001-08-23  Herbert Voss  <voss@perce>
14953
14954         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14955
14956 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14957
14958         * Spacing.h (Spacing): Set space to Default on in the default
14959         constructor.
14960
14961 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14962
14963         * vc-backend.h (RCS::versionString): add RCS to version
14964         (CVS::versionString): add CVS to version
14965
14966         * vc-backend.C (scanMaster): do not add CVS to version.
14967         (scanMaster): do not add RCS to version
14968
14969         * lyxvc.C (versionString): new method
14970
14971         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14972
14973 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14974
14975         * Spacing.C (set): initialize fval
14976
14977 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14978
14979         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14980         " or \.
14981
14982 2001-08-16  Juergen Vigna  <jug@sad.it>
14983
14984         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14985
14986 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14987
14988         * BufferView_pimpl.C:
14989         * figureForm.C:
14990         * lyxtext.h:
14991         * text2.C: setParagraph takes linespacing now
14992
14993 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14994
14995         * LyxAction.C: add internal LFUN_CITATION_INSERT
14996
14997         * LyXView.C: actually apply fix
14998
14999         * bufferlist.C: fix open non-existent file
15000
15001         * lyxfind.C: fix indentation
15002
15003         * lyxfunc.C: remove unneeded assert, fix typo
15004
15005 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15006
15007         * MenuBackend.C: use "Floatname List"
15008
15009 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15010
15011         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15012         when converting LaTeX layout to insetERT.
15013         Generate a non-collapsed float when reading old float
15014
15015 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15016
15017         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15018         ERT insets.
15019
15020 2001-08-13  Juergen Vigna  <jug@sad.it>
15021
15022         * text.C (fill): return 0 instead of 20 as this seems to be the more
15023         correct value.
15024
15025 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15026
15027         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15028         lyxrc.font_norm.
15029
15030 2001-08-13  Juergen Vigna  <jug@sad.it>
15031
15032         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15033         casesensitive off.
15034         (SearchBackward): comment out the unlocking of the inset_owner this
15035         should not be needed!
15036
15037 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15038
15039         * Many files: Remove inherit_language, and add latex_language
15040
15041         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15042         collapsible insets.
15043
15044 2001-08-10  Juergen Vigna  <jug@sad.it>
15045
15046         * text.C (prepareToPrint): fixed hfill-width in draw!
15047
15048         * BufferView2.C (selectLastWord): save the selection cursor as this
15049         now is cleared in the function LyXText::clearSelection!
15050
15051 2001-08-08  Juergen Vigna  <jug@sad.it>
15052
15053         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15054         BACKSPACE type functions.
15055
15056         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15057         is only cutted from the document but not put in the cut-buffer, where
15058         still the old stuff should be.
15059
15060         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15061
15062         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15063
15064         * tabular.C (SetWidthOfCell): fixed special case where the width
15065         was not updated!
15066         (LeftLine): handle '|' in align_special.
15067         (RightLine): ditto
15068         (LeftAlreadyDrawed): ditto
15069         (SetWidthOfCell): ditto
15070
15071 2001-08-07  Juergen Vigna  <jug@sad.it>
15072
15073         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15074
15075 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15076
15077         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15078         * lyxlex.[hC]: ditto
15079
15080 2001-08-06  Juergen Vigna  <jug@sad.it>
15081
15082         * text.C (getVisibleRow): fix up row clearing a bit.
15083
15084 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15085
15086         * minibuffer.C: make sure the X server sees the changes in the input.
15087
15088 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15089
15090         * paragraph.C (getFont): split into...
15091         (getLabelFont): this
15092         (getLayoutFont): and this
15093         * paragraph_pimpl.C (realizeFont): calling this
15094
15095         * text2.C (getFont): split into...
15096         (getLayoutFont): this
15097         (getLabelFont): and this
15098         (realizeFont): all three calling this
15099
15100         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15101         files where used.
15102
15103 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15104
15105         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15106
15107 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15108
15109         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15110         layouts from the Quote inset insertion.
15111
15112 2001-08-03  Juergen Vigna  <jug@sad.it>
15113
15114         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15115
15116         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15117         only if status not is already CHANGED_IN_DRAW (second level).
15118
15119         * text.C (draw): don't set the need_break_row when inside an
15120         InsetText LyXText.
15121
15122 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15123
15124         * buffer.C (parseSingleLyXformat2Token): handle more latex
15125         conversion cases.
15126
15127         * bufferview_funcs.[hC]: change function names to
15128         begin with small char, adjust other files.
15129
15130 2001-08-02  André Pönitz <poenitz@gmx.net>
15131
15132         * lyxfunc.C:
15133         BufferView_pimpl.C: remove broken special code for math-greek
15134
15135 2001-08-02  Juergen Vigna  <jug@sad.it>
15136
15137         * BufferView_pimpl.C (update): redone this function so that we
15138         update the text again if there was a CHANGE_IN_DRAW.
15139
15140         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15141         (drawFromTo): added a new internal bool which is used by draw() and
15142         redraw() function.
15143         (general): some cursor drawing problems fixed.
15144
15145 2001-08-01  Juergen Vigna  <jug@sad.it>
15146
15147         * lyxfind.C (LyXFind): fixed
15148         (SearchForward): ditto
15149         (SearchBackward): ditto
15150
15151         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15152         spurius drawing of the cursor in the main area.
15153
15154         * text2.C (status): small fix which could lead to a segfault!
15155         (clearSelection): remove unneeded BufferView param.
15156
15157 2001-08-01  André Pönitz <poenitz@gmx.net>
15158
15159         * lyxfunc.C: small change due to changed mathed interface
15160
15161 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15162
15163         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15164
15165 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15166
15167         * lyxfunc.c: fail gracefully if file doesn't exist
15168
15169         * LyXSendto.C:
15170         * buffer.C:
15171         * lyxfunc.C:
15172         * BufferView_pimpl.C: IsDirWriteable() proto changed
15173
15174         * LyXView.C: fix updateWindowTitle() to store the last title
15175
15176 2001-07-31  Juergen Vigna  <jug@sad.it>
15177
15178         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15179         the font (wrong since using of Paragraph::highestFontInRange).
15180
15181         * paragraph.C (highestFontInRange): added a default_size parameter.
15182
15183         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15184         (setHeightOfRow): reformat
15185
15186 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15187
15188         * converter.[hC] + affected files: move to (inital-char)lowercase
15189         function names.
15190
15191         * ParagraphParameters.C (ParagraphParameters): remove commented code
15192
15193         * PainterBase.[Ch]: remove commented code
15194
15195         * LaTeXFeatures.h: add "bool floats" for float.sty
15196
15197         * LaTeXFeatures.C (LaTeXFeatures): init floats
15198         (require): handle float
15199         (getPackages): do it with floats
15200
15201 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15202
15203         * BufferView_pimpl.C (Dispatch): improve handling of
15204         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15205
15206         * commandtags.h: #include lyxfont.h here temporarily to avoid
15207         keybinding bug.
15208
15209         * bufferlist.h: include LString.h here.
15210
15211 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15212
15213         * text2.C (getStringToIndex): new method.
15214
15215 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15216
15217         * *: Reduced header file dependencies all over.
15218
15219 2001-07-30  Baruch Even  <baruch@lyx.org>
15220
15221         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15222
15223 2001-07-29  Baruch Even  <baruch@lyx.org>
15224
15225         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15226
15227 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15228
15229         * ParameterStruct.h (endif): add a default constructor to make
15230         sure that all variables is initialized.
15231
15232         * ParagraphParameters.C (ParagraphParameters): adjust
15233
15234 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15235
15236         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15237         index; also, check that there is something to index, and that it
15238         does not span over several paragraphs.
15239         (doubleClick): use WHOLE_WORD_STRICT for double click.
15240
15241         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15242
15243         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15244         scheme.
15245
15246 2001-07-26  Baruch Even  <baruch@lyx.org>
15247
15248         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15249         an InsetFig figure, backwards compatible reading of old figure code.
15250
15251 2001-07-27  Juergen Vigna  <jug@sad.it>
15252
15253         * text2.C: font.realize function adaption.
15254
15255         * text.C (draw): add a warnings lyxerr text if needed.
15256
15257         * layout.C: font.realize function adaption.
15258
15259         * language.C: add inherit_language and implement it's handlings
15260
15261         * bufferview_funcs.C (StyleReset): remove language parameter from
15262         font creation (should be language_inherit now).
15263
15264         * bufferparams.C (writeFile): handle ignore_language.
15265
15266         * paragraph.C (getFontSettings): the language has to be resolved
15267         otherwise we have problems in LyXFont!
15268
15269         * lyxfont.C (lyxWriteChanges): added document_language parameter
15270         (update): removed unneeded language parameter
15271
15272         * paragraph.C (validate): fixed wrong output of color-package when
15273         using interface colors for certain fonts in certain environments,
15274         which should not seen as that on the final output.
15275
15276 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15277
15278         * BufferView_pimpl.C:
15279         * Thesaurus.h:
15280         * Thesaurus.C:
15281         * Makefile.am:
15282         * commandtags.h:
15283         * LyXAction.C: add thesaurus support
15284
15285         * lyxfind.h:
15286         * lyxfind.C: add "once" parameter, for thesaurus, to not
15287           move to the next match
15288
15289 2001-07-26  Juergen Vigna  <jug@sad.it>
15290
15291         * lyxfont.C (realize): honor ignore_language too!
15292         (resolved): ditto.
15293
15294         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15295
15296         * text.C (draw): one place more for ignore_language to not draw
15297         itself!
15298
15299 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15300
15301         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15302
15303 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15304
15305         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15306         the minipage conversion problem.
15307
15308 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15309
15310         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15311         insert an inset.
15312
15313 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15314
15315         * BufferView.h: don't forward declare WorkArea
15316
15317         * BufferView.C: don't include WorkArea.h
15318
15319 2001-07-25  André Pönitz <poenitz@gmx.net>
15320
15321         * commandtags.h:
15322         * LyXAction.C:
15323         * lyxfunc.C:  new LFUN 'math-space'
15324
15325         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15326
15327 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15328
15329         * text2.C (toggleInset): call open/close
15330
15331 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15332
15333         * lyxfunc.C (dispatch): add debug for the disabled case
15334
15335         * font.C (buttonText): make similar to rectText
15336
15337         * buffer.C (readInset): comment out parsing of insetlist and
15338         insttheorem
15339
15340         * PainterBase.C (rectText): small correction
15341
15342         * BufferView_pimpl.C: comment out insettheorem and insetlist
15343         * LyXAction.C: ditto
15344         * commandtags.h: ditto
15345
15346 2001-07-24  Juergen Vigna  <jug@sad.it>
15347
15348         * text.C (draw): honor the ignore_language.
15349
15350         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15351
15352 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15353
15354         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15355         char inset.
15356
15357 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15358
15359         * lyxtext.h: remove unused (and unimplemented) methods
15360
15361 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15362
15363         * text.C (getVisibleRow): honor background color
15364
15365         * PainterBase.h:
15366         * Painter.h: remove default color argument for fillRectangle
15367
15368         * text.C (backgroundColor): new method
15369
15370 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15371
15372         * text.C (getVisibleRow): adjust
15373
15374         * font.[Ch] (rectText): new method, metrics
15375         (buttonText): new method, metrics
15376
15377         * PainterBase.[hC]: make rectText and buttonText always draw and take
15378         fewer paramteres.
15379
15380 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15381
15382         * ToolbarDefaults.C (read):
15383         * MenuBackend.C (read): allow escaping in all strings
15384
15385         * BufferView_pimpl.C (insertAndEditInset): new method.
15386         (Dispatch): use insertAndEditInset whenever appropriate.
15387
15388         * BufferView_pimpl.C (insertNote): removed
15389
15390         * BufferView_pimpl.C (smartQuote): new method, moved from
15391         BufferView; if an insetquote cannot be inserted, insert a '"'
15392         character instead.
15393
15394         * BufferView2.C: remove insertCorrectQuote();
15395
15396         * lyxfunc.C (getStatus): Add support for all remaingin
15397         inset-insert lfuns.
15398
15399         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15400
15401         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15402         command (necessary to pass " as parameter of self-insert.
15403
15404         * text.C (selectWordWhenUnderCursor):
15405         (selectWord): add word_location parameter
15406         (selectWordWhenUnderCursor): same + remove special code for word
15407         boundary.
15408         (selectNextWord): use kind() to guess type of insetspecialchar,
15409         not latex().
15410
15411         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15412         (insertErtContents): create ert insets as collapsed.
15413         (readInset): better compatibility code for Info inset.
15414
15415 2001-07-20  Juergen Vigna  <jug@sad.it>
15416
15417         * lyxfunc.C (dispatch): use always LyXFind now!
15418
15419         * text2.C (init): add a reinit flag so that the LyXText can be
15420         reinited instead of deleted and reallocated (used in InsetText).
15421
15422         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15423
15424         * text.C: ditto
15425
15426         * text2.C: ditto
15427
15428 2001-07-18  Juergen Vigna  <jug@sad.it>
15429
15430         * text.C (selectNextWord): handle insets inside inset by calling
15431         always the bv->text functions so that we can go up the_locking_inset!
15432
15433         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15434         in strange locations when inside an inset!
15435
15436         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15437         handling to include insets.
15438
15439         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15440
15441 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15442
15443         * LyXAction.C (init):
15444         * commandtags.h:
15445         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15446         LIGATURE_BREAK, since the name is so stupid.
15447
15448 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15449
15450         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15451         InsetInfos.
15452
15453         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15454
15455         * sp_form.[Ch]: remove.
15456
15457         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15458
15459         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15460         InsetInfo.
15461
15462         * src/buffer.C (readInset): ditto.
15463
15464 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15465
15466         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15467         menuSeparator(), endOfSentenceDot(), ldots() and
15468         hyphenationPoint(), which are therefore removed.
15469         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15470
15471         * LyXAction.C (init):
15472         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15473
15474         * paragraph.C (getWord): removed.
15475
15476         * BufferView_pimpl.C (Dispatch): use last word or selection for
15477         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15478
15479         * lyx_main.C (queryUserLyXDir): do not ask before creating
15480         user_dir, except if it has been named explicitely.
15481
15482 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15483
15484         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15485         a document of zero size.
15486
15487 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15488
15489         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15490         approriately in the c-tor and in require().
15491         (getPackages): output the appropriate LaTeX for natbib support.
15492
15493         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15494         variables "use_natbib" and "use_numerical_citations" when reading the
15495         LyX file.
15496         (readInset): read the various natbib cite commands.
15497         (validate): white-space change.
15498
15499         * bufferparams.[Ch]: new variables "bool use_natbib" and
15500         "bool use_numerical_citations".
15501         (writeFile): output them in the LyX file.
15502
15503 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15504
15505         * lyxfunc.C (getStatus): add support for all the inset insertion
15506         commands.
15507
15508         * text2.C (insertInset):
15509         * paragraph.C (insetAllowed):
15510         * BufferView_pimpl.C (insertInset): update to take in account the
15511         renaming of insertInsetAllowed
15512
15513         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15514
15515         * text2.C (getInset): new method. returns inset at cursor position.
15516
15517         * BufferView_pimpl.C (Dispatch): changes because of this.
15518
15519         * LyXAction.C (init): rename open-stuff to inset-toggle.
15520
15521         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15522
15523         * text2.C (toggleInset): renamed from openStuff; use
15524         Inset::open().
15525
15526 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15527
15528         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15529
15530         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15531
15532 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15533
15534         * buffer.C (readLyXformat2): Add filename to the error dialog
15535
15536 2001-07-18  Juergen Vigna  <jug@sad.it>
15537
15538         * tabular.C (GetCellNumber): put an assert here instead of the check!
15539
15540 2001-07-17  Juergen Vigna  <jug@sad.it>
15541
15542         * BufferView_pimpl.C (toggleSelection): adapted too.
15543
15544         * text.C (selectNextWord): adapted for use with insets.
15545         (selectSelectedWord): ditto
15546
15547 2001-07-17  Juergen Vigna  <jug@sad.it>
15548
15549         * sp_spell.C (PSpell): fix initialitation order.
15550
15551 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15552
15553         * paragraph.C: spacing
15554
15555 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15556
15557         * sp_spell.C: repair language selection for pspell
15558
15559 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15560
15561         * lyxfunc.h: change more methods to begin with lower char.
15562
15563 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15564
15565         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15566         for unknown layouts.
15567
15568 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15569
15570         * buffer.C (readLyXformat2): Generate an error dialog if there are
15571         unknown layouts.
15572
15573 2001-07-16  Juergen Vigna  <jug@sad.it>
15574
15575         * sp_spell.C: always compile ISpell part.
15576
15577         * lyxrc.C: added use_pspell entry and it's handling.
15578
15579 2001-07-13  Juergen Vigna  <jug@sad.it>
15580
15581         * sp_spell.C: removed double includes.
15582
15583 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15584
15585         Consistent use of Lsstream.h:
15586         * Lsstream.h: added using std::stringstream for consistencies sake.
15587
15588         * buffer.C: removed using std::stringstream
15589
15590         * lyxfont.C (stateText):
15591         * paragraph.C (asString):
15592         * text.C (selectNextWord, selectSelectedWord):
15593         * text2.C (setCounter):
15594         * vspace.C (asString, asLatexString):
15595         std::ostringstream -> ostringstream.
15596
15597 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15598
15599         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15600         * commandtags.h: add LFUN_HELP_ABOUTLYX
15601         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15602
15603 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15604
15605         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15606         cursorToggle()
15607         * lyx_gui_misc.C: remove spellchecker
15608         * lyxfunc.C: showSpellchecker
15609         * sp_base.h: added
15610         * sp_ispell.h: added
15611         * sp_pspell.h: added
15612         * sp_spell.C: added
15613         * sp_form.[Ch]: removed
15614         * spellchecker.[Ch]: removed
15615
15616 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15617
15618         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15619         is set.
15620         (simpleTeXSpecialChars): Simply print the input character without
15621         any special translation if pass_thru is set.
15622
15623         * layout.h: Added bool pass_thru to layout class for being able to
15624         implement pass through of a paragraph for Literate Programming.
15625
15626         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15627         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15628         * layout.C (Read): add "passthru" to list of layout tags and add
15629         code to set the pass_thru boolean when it is read.
15630
15631 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15632
15633         * trans_decl.h: remove allowed from KmodInfo
15634
15635         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15636         remove allowed code
15637         (Load): adjust
15638
15639         * paragraph_pimpl.C (erase): use boost::prior
15640
15641         * Painter.C (text): use data() instead of c_str() when length is
15642         also provided.
15643         * WorkArea.C (putClipboard): ditto
15644         * font.h (width): ditto
15645
15646         * BufferView2.C: use it-> instead of (*it). for iterators
15647         * texrow.C: ditto
15648         * paragraph_pimpl.C: ditto
15649         * paragraph.C: ditto
15650         * minibuffer.C: ditto
15651         * language.C: ditto
15652         * kbmap.C: ditto
15653         * encoding.C: ditto
15654         * counters.C: ditto
15655         * converter.C: ditto
15656         * chset.C: ditto
15657         * Variables.C: ditto
15658         * TextCache.C: ditto
15659         * MenuBackend.C: ditto
15660         * LyXAction.C: ditto
15661         * LColor.C: ditto
15662         * FloatList.C: ditto
15663         * DepTable.C: ditto
15664         * ColorHandler.C (LyXColorHandler): ditto
15665
15666 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15667
15668         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15669
15670         * text2.C (openStuff): reintroduce this method (which had been
15671         nuked in NEW_INSETS frenzy).
15672
15673         * lyxfunc.C (Dispatch): when an action has not been handled, use
15674         its name in the error message, not its number.
15675
15676         * paragraph.C (inInset): change method name to begin with lowercase.
15677
15678         * undo_funcs.C:
15679         * text2.C: updates because of this.
15680
15681 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15682
15683         * ToolbarDefaults.C (add): add spaces in error message
15684
15685 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15686
15687         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15688         (readLyXformat2): rename return_par to first_par, use lyxlex's
15689         pushToken and remove the manual push handling.
15690         (parseSingleLyXformat2Token): add another ert comp. variable:
15691         in_tabular, rename return_par to first_par. handle newlines better
15692
15693 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15694
15695         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15696
15697 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15698
15699         * text2.C (getParFromID): removed
15700
15701         * buffer.C (getParFromID): new method moved form lyxtext.
15702         * BufferView2.C (insertErrors): adjust
15703         (setCursorFromRow): adjust
15704         * BufferView_pimpl.C (restorePosition): adjust
15705         * lyxfunc.C (Dispatch): adjust
15706         * undo_funcs.C (textUndo): adjust
15707         (textRedo): adjust
15708         (textHandleUndo): adjust
15709         (textHandleUndo): adjust
15710
15711 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15712
15713         * buffer.C: up' the LYX_FORMAT
15714
15715         * lyxfont.h: turn NO_LATEX on as default
15716
15717         * buffer.C (insertErtContents): new methods of tex style compability.
15718         (parseSingleLyXformat2Token): use it several places.
15719         * tabular.C (OldFormatRead): and here
15720
15721 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15722
15723         * text2.C: remove some commented code.
15724         reindent file.
15725
15726         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15727         * trans.C: changes because of the above.
15728
15729 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15730
15731         * text2.C (setCounter): Fix counters bug with bibliography layout.
15732
15733 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15734
15735         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15736         own member functions
15737         (simpleTeXSpecialChars): ditto
15738
15739 2001-07-06  Juergen Vigna  <jug@sad.it>
15740
15741         * a lot of files: changed the access to LyXText::status and the
15742         call of undo-functions.
15743
15744         * undo.[Ch]: added a inset_id to the undo informations.
15745
15746         * undo_funcs.[Ch]: added and moved here all undo functions.
15747
15748         * lyxtext.h: give the status enum a weight, made status_ a private
15749         variable and made accessor functions for it, removed the whole bunch
15750         of undo-functions as they are now in their own file, make some
15751         functions publically available. Added function ownerParagraph with
15752         int parameter.
15753
15754         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15755         made InInset() a const function, added getParFromID() function.
15756
15757         * buffer.[Ch]: added const version for inset_iterator functions,
15758         added getInsetFromID() function.
15759
15760         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15761         changed undo functions for new version.
15762
15763 2001-07-05  Juergen Vigna  <jug@sad.it>
15764
15765         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15766         unknow mechanism does not call the proper constructor but only this
15767         one also if I request the other!?
15768
15769 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15770
15771         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15772
15773         * text2.C (LyXText): use initialization lists.
15774
15775         * lyxtext.h (Selection): initialize set_ and mark_
15776         (init): remove method
15777
15778 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15779
15780         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15781
15782 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15783
15784         * screen.[Ch]: change method names to begin with lowercase
15785
15786         * BufferView_pimpl.C (updateScrollbar): simplify further and
15787         hopefully make it a bit faster.
15788
15789 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15790
15791         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15792         calling directly xforms functions.
15793
15794         * Painter.C (Painter):
15795         * lyx_cb.C (MenuWrite):
15796         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15797         fl_display.
15798
15799         * lyx_gui.C: remove bogus guiruntime extern declaration.
15800
15801 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15802
15803         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15804         in NEW_INSETS
15805         (redoDrawingOfParagraph): ditto
15806         (redoParagraphs): ditto
15807         (cutSelection): don't create a object for CutAndPaste use the
15808         static method directly
15809         (pasteSelection): ditto
15810
15811         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15812         LyXview (+ rename)
15813
15814 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15815
15816         * modifications to some other files because of this.
15817
15818         * Makefile.am (lyx_SOURCES): add XFormsView
15819
15820         * XFormsView.[Ch]: new files
15821
15822         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15823         the main window. Move the gui dependent stuff to XFormsView
15824
15825 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15826
15827         * tabular.C (GetCellInset): update cur_cell also in the row/col
15828         version of this function.
15829
15830         * lyxfunc.C: no need to include figure_form.h here.
15831
15832         * FontLoader.h:
15833         * lyxfunc.h:
15834         * lyxscreen.h:
15835         * text2.C:
15836         * lyxvc.C: no need to include forms.h here.
15837
15838 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15839
15840         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15841
15842         * lyxfunc.C (Dispatch):
15843         * Spacing.C (set):
15844         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15845         constructor argument.
15846
15847 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15848
15849         * paragraph.C (Paragraph): dont't clear, and just set layout.
15850         (makeSameLayout): use params's copy contructor.
15851
15852         * ParagraphParameters.[Ch] (makeSame): delete method
15853
15854 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15855
15856         * Variables.[Ch]: fix indentation, rename set to isSet
15857
15858 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15859
15860         * lyxfunc.C (Dispatch): fix typo
15861
15862 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15863
15864         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15865         upper_bound.
15866
15867         * bufferlist.C: include assert.h for emergencyWrite().
15868
15869 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15870
15871         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15872           give up at last (bug #425202) !
15873
15874 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15875
15876         * lyx_gui_misc.C:
15877         * sp_form.h:
15878         * sp_form.C:
15879         * spellchecker.h:
15880         * spellchecker.C: strip spellchecker options and bring up
15881           preferences tab instead
15882
15883 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15884
15885         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15886         the istringstream constructor
15887
15888 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15889
15890         * paragraph.C (getLayout): fix return value
15891
15892         * paragraph.h: do not declare getLayout as inline.
15893
15894         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15895
15896 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15897
15898         * lyxcursor.h (operator<): new func
15899         (operator>): new func
15900         (operator>=): new func
15901         (operator<=): new func
15902
15903         * text.C (changeCase): use selection.start and selection.end
15904         (changeRegionCase): require from to be <= to. Require par to be a
15905         valid paragraph.
15906
15907         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15908
15909 2001-06-27  Juergen Vigna  <jug@sad.it>
15910
15911         * text.C (cursorLeftOneWord): changed to return the cursor and added
15912         overlay with BufferView * parameter which calls this one.
15913         (getWord): added
15914         (selectWord): use new getWord function.
15915         (changeCase): renamed from changeWordCase as and extended to work
15916         also on selections.
15917
15918         * lyxtext.h: added enum word_location
15919
15920         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15921         changeCase as this operates now also on selections.
15922
15923 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15924
15925         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15926
15927         * many files: send debug output to Debug::INFO instead of
15928         Debug::ANY.
15929
15930         * converter.C (View):
15931         (Convert):
15932         (Move): send debug output to Debug::FILES instead of console.
15933
15934 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15935
15936         * lyxfunc.C (getStatus): use func_status
15937
15938         * func_status.h: new header, describing the results of
15939         LyXFunc::getStatus;
15940
15941         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15942         LFUN_MATH_HALIGN.
15943
15944 2001-06-25  The LyX Project  <jug@sad.it>
15945
15946         * buffer.C (sgmlOpenTag):
15947         (sgmlCloseTag):
15948         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15949
15950 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15951
15952         * text2.C: remove some dead code
15953
15954         * tabular.C (GetCellInset): store the last cell checked (gotten)
15955
15956         * tabular.h: add the helper for the speedup
15957
15958         * lyxtext.h: remove some dead code
15959
15960 2001-06-26  The LyX Project  <Asger>
15961
15962         * paragraph.C: Change export to LaTeX of alignment to
15963         \begin{center} and family for better roundtrip work with reLyX.
15964
15965         * Tune the math drawing a bit.
15966
15967 2001-06-25  The LyX Project  <Asger>
15968
15969         * LColor.C (LColor): New color for math background. New color
15970         for buttons.
15971
15972 2001-06-25  The LyX Project  <jug@sad.it>
15973
15974         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15975
15976         * lyxfunc.C (Open):
15977         * bufferlist.C (newFile): do not restrict to files ending with
15978         .lyx
15979
15980         * BufferView_pimpl.C (MenuInsertLyXFile):
15981
15982 2001-06-24  The LyX Project  <jug@sad.it>
15983
15984         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15985         of compare_no_case
15986
15987 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15988
15989         * lyxtext.h: rename most methods to begin with a small char.
15990         Lots of changes because of this.
15991
15992         * paragraph.C (Paragraph): do not call fitToSize
15993         (erase): call Pimpl::erase
15994         (insertChar): call Pimpl::insertChar
15995         (insertInset): call Pipl::insertInset
15996         (breakParagraph): do not call fitToSize
15997         (breakParagraphConservative): do not call fitToSize
15998         (fitToSize): remove method
15999
16000         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16001
16002 2001-06-24  The LyX Project  <Asger>
16003
16004         * Fix Qt compilation^2
16005
16006 2001-06-24  The LyX Project  <jug@sad.it>
16007
16008         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16009         depthHook(getDepth()-1).
16010
16011         * paragraph.h:
16012         * ParagraphParameters.h:
16013         * ParameterStruct.h: change type of depth to unsigned int ==
16014         depth_type. Many adaptations to other files before of that.
16015
16016 2001-06-24  The LyX Project  <Asger>
16017
16018         * Fix Qt compilation.
16019
16020 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16021
16022         * paragraph.h: renamed several methods to begin with small letter.
16023         several changes to many parts of the code because of this.
16024
16025 2001-06-23  The LyX Project  <jug@sad.it>
16026
16027         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16028         rewritten to discard all double spaces when KeepEmpty is off
16029         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16030         to only handle newlines but not fiddle with spaces and friends.
16031
16032         * lyxfunc.C (MenuNew): when doing 'new from template', use
16033         template_path as default directory
16034
16035 2001-06-23  The LyX Project  <Asger>
16036
16037         * Clean-up of header file includes all over
16038         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16039
16040 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16041
16042         * paragraph.h: renamed from lyxparagraph.h
16043
16044 2001-06-23  Asger  <lyx@violet.home.sad.it>
16045
16046         * Buffer.h: Removed Buffer::resize
16047         * BufferList.h: Removed BufferList::resize
16048         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16049         the document lazily when we change the width, or the font settings.
16050
16051 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16052
16053         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16054
16055 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16056
16057         * buffer.h: remove out of date comment
16058
16059 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16060
16061         * lyxscreen.h:
16062         * screen.C: fix "theoretical" GC leak
16063
16064 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16065
16066         * LaTeX.C (scanAuxFile):
16067         (deplog): remove trailing \r when reading stream (useful under
16068         win32)
16069
16070 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16071
16072         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16073         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16074         and BufferView::theLockingInset(Inset*), so should use them and not
16075         access bv_->text->the_locking_inset directly.
16076
16077         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16078
16079 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16080
16081         * Makefile.am:
16082         * tex-defs.h: remove old unused file
16083
16084 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16085
16086         * BufferView_pimpl.C: fix typo, remove minibuffer message
16087           when buffer has loaded
16088
16089 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16090
16091         * lyxfunc.C (Dispatch): use stringstream
16092         (MenuNew): use stringstream
16093         (Open): use stringstream
16094
16095         * importer.C (Import): use stringstream
16096
16097         * bufferview_funcs.C (CurrentState): use stringstream
16098
16099         * LaTeX.C (run): use stringstream
16100
16101         * BufferView_pimpl.C (savePosition): use stringstream
16102         (restorePosition): use stringstream
16103         (MenuInsertLyXFile): use stringstream
16104
16105 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16106
16107         * BufferView.C:
16108         * Bullet.C:
16109         * ColorHandler.C:
16110         * FontInfo.C:
16111         * FontLoader.C:
16112         * LColor.C:
16113         * LaTeXFeatures.C:
16114         * Painter.C:
16115         * gettext.C:
16116         * lyx_gui_misc.C:
16117         * lyxserver.C:
16118         * vspace.C: removed // -*- C++ -*- as first line.
16119
16120         * lyxfind.h:
16121         * version.h: added // -*- C++ -*- as first line.
16122
16123 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16124
16125         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16126
16127         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16128         of string
16129
16130 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16131
16132         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16133         of floats.
16134
16135 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16136
16137         * gettext.C: include LString.h even when --disable-nls is on.
16138
16139 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16140
16141         * converter.h (Get): changed argument type from int to
16142         FormatList::size_type to avoid unnecessary conversion.
16143
16144         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16145         before using it.
16146
16147 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16148
16149         * gettext.h: include LString.h even when --disable-nls is on.
16150
16151 2001-06-07  Juergen Vigna  <jug@sad.it>
16152
16153         * text.C (BreakAgain): subst spaces with tabs.
16154
16155         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16156         (resizeInsetsLyXText): set force on resizeLyXText.
16157
16158 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16159
16160         * gettext.h (gettext_init):
16161         (locale_init): use a real definition instead of a macro
16162
16163 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16164
16165         * Bufferview_pimpl.C:
16166         * LColor.h:
16167         * LColor.C: further lcolor tidies
16168
16169 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16170
16171         * BufferView_pimpl.C (updateScrollbar): simplify.
16172
16173         * BufferView2.C: don't include insets/insetinfo.h, change
16174         prototype for insertInset and call the Pimpl version. let
16175         updateInset call Pimpl version.
16176
16177         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16178         gotoInset to BufferView::Pimpl
16179
16180 2001-06-01  Juergen Vigna  <jug@sad.it>
16181
16182         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16183         inside a LockingInset (is the update needed at all?).
16184
16185 2001-05-31  Juergen Vigna  <jug@sad.it>
16186
16187         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16188         here not the old one otherwise how should we compare it afterwards
16189         if it's the same!
16190
16191 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16192
16193         * lyxfont.C:
16194         * tabular.C:
16195         * tabular-old.C:
16196         * FontInfo.C: bring C functions into global namespace when
16197         necessary
16198
16199 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16200
16201         * LString.h: make sure config.h has been loaded before LString.h.
16202
16203         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16204         (one for each char read by EatLine!).
16205
16206         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16207         variables.
16208
16209 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16210
16211         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16212         to the same as the par we break from
16213
16214 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16215
16216         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16217
16218         * MenuBackend.C (expand): also create menu entries for wide
16219         versions of the floats.
16220
16221         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16222
16223         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16224
16225         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16226         frontends/Makefile.am
16227
16228         * text2.C: adjust
16229         * text.C: adjust
16230
16231
16232         * tabular.C (getTokenValue): add std::
16233
16234         * tabular-old.C (getTokenValue): add std::
16235         (getTokenValue): ditto
16236         (getTokenValue): ditto
16237
16238         * screen.C (ToggleSelection): adjust
16239
16240         * lyxtext.h: put selection cursors inside a Selection struct.
16241
16242         * lyxfunc.C (moveCursorUpdate): adjust
16243
16244         * lyxfont.C (latexWriteStartChanges): add std::
16245
16246         * lyxfind.C: adjust
16247
16248         * font.h: delete with(char const *, LyXFont const &)
16249
16250         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16251
16252         * FontInfo.C (getFontname): add std::
16253
16254         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16255         (workAreaButtonPress): adjust
16256         (tripleClick): adjust
16257         (update): adjust
16258         (moveCursorUpdate): adjust
16259         (Dispatch): adjust
16260
16261         * BufferView2.C (gotoInset): adjust
16262
16263 2001-05-30  Juergen Vigna  <jug@sad.it>
16264
16265         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16266         to check pspell I add this as default as I now have new pspell
16267         libraries and they seem to use this.
16268
16269 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16270
16271         * text2.C (CutSelection): make the cursor valid before the call to
16272         ClearSelection.
16273
16274 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16275
16276         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16277         relied on 0 terminated strings and other horrors. Bug found due to
16278         the new assert in lyxstring!
16279
16280         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16281         KP_ keys.
16282
16283 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16284
16285         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16286         to latinkeys.bind.
16287
16288         * lyxfunc.C (processKeySym): change method of getting to the
16289         self-insert char.
16290
16291         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16292         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16293         * BufferView_pimpl.[Ch]: here as private methods.
16294
16295 2001-05-28  Juergen Vigna  <jug@sad.it>
16296
16297         * text.C (SetHeightOfRow): added the update() call again as it is
16298         needed to initialize inset dimensions!
16299
16300 2001-05-16  Juergen Vigna  <jug@sad.it>
16301
16302         * text2.C (SetCharFont): Add new function with BufferView * and
16303         bool toggleall parameters for setting insets internal fonts.
16304         (SetFont): Freeze the undo as we may change fonts in Insets and
16305         all this change should be inside only one Undo!
16306
16307         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16308         setting font's in insets as for them we have the SetFont function!
16309
16310 2001-05-15  Juergen Vigna  <jug@sad.it>
16311
16312         * text2.C (ClearSelection): to be sure we REALLY don't have any
16313         selection anymore!
16314
16315         * tabular.C (TeXCellPreamble): fixed the left border problem for
16316         multicolumn cells.
16317
16318 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16319
16320         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16321         dependancy file
16322
16323 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16324
16325         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16326         LFUN_BREAKPARAGRAPH.
16327
16328         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16329         help test to "internal only", similar for LFUN_INSERT_URL
16330
16331         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16332         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16333         auto_region_delete and deadkeys.
16334
16335 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16336
16337         * LColor.h:
16338         * LColor.C: remove some dead entries, tidy a little
16339
16340 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16341
16342         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16343         commented code.
16344         (Dispatch): implement LFUN_ESCAPE
16345
16346         * commandtags.h: add LFUN_ESCAPE
16347
16348         * LyXAction.C (init): add entry for LFUN_ESCAPE
16349
16350         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16351         Remove commented code.
16352         (insertNote): moved here
16353         (open_new_inset): moved here
16354
16355         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16356         BufferView_pimpl
16357
16358 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16359
16360         * kbmap.C (findbinding): clean it up and make it work correctly.
16361
16362         * lyx_main.C (init): do not pass argc and argv as parameters
16363
16364 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16365
16366         * buffer.C: fix path for OS/2 & Win32
16367
16368         * lyx_gui.C:
16369         * lyx_main:
16370         * lyx_main.C: Added os:: class.
16371
16372         * os2_defines.h: update
16373
16374 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16375
16376         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16377         better by trying again with reduced state.
16378
16379 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16380
16381         * lyxrc.C (read): print error about invalid key sequence only when
16382         debugging (because not all latinX keysyms are known to some X
16383         servers)
16384
16385         * kbsequence.C (getiso): add a few std:: qualifiers
16386         (getiso): comment out extra return statement.
16387
16388 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16389
16390         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16391         handling.
16392         (Dispatch): enhance the accent inset a bit. (not perfect)
16393
16394 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16395
16396         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16397
16398 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16399
16400         * bufferlist.C (emergencyWrite): fix assert() call
16401
16402 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16403
16404         * text.C (InsertChar): Added trivial patch to only send the "you
16405         can not do multiple spaces this way" message once during a
16406         session.
16407
16408 2001-05-08  Baruch Even  <baruch@lyx.org>
16409
16410         * Makefile.am: Changed order of libraries to get LyX to link properly
16411         with the gnome frontend.
16412
16413 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16414
16415         * LaTeXFeatures.h: add a std:: qualifier
16416
16417 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16418
16419         * paragraph.C (String): use stringstream
16420
16421 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16422
16423         * paragraph.C (writeFile): remove footflag arg
16424
16425         * buffer.C (makeLaTeXFile): use stringstream
16426         (latexParagraphs): remove footnot gurba
16427
16428         * LaTeXFeatures.C (getPackages): use stringstream
16429         (getMacros): likewise
16430         (getTClassPreamble): likewise
16431         (getFloatDefinitions): new method
16432
16433         * paragraph.C (writeFile): reindent
16434         (Erase): reindent
16435
16436         * WorkArea.h: revert the xpos + etc changes.
16437
16438         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16439
16440         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16441
16442         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16443         (pasteSelection): likewise
16444         * text2.C (CreateUndo): likewise
16445
16446 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16447
16448         * minibuffer.C (peek_event): temporarily reduce the functionality
16449         of the minibuffer (to allow args on lfuns)
16450
16451         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16452         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16453
16454         * buffer.C (readInset): add compability reading of old float
16455         lists, add reading of new style float list.
16456         (readInset): avoid reevaluation of inscmd.getCmdName()
16457         (getLists): reindent
16458
16459         * MenuBackend.C (MenuItem): implement parsing of
16460         md_floatlistinsert and md_floatinsert.
16461         (expand::LastFiles): move initalizaton of iterators out of loop,
16462         avoid reevaluation.
16463         (expand::Documents): introduce typdedef vector<string> Strings,
16464         and use it.
16465         (expand::ExportFormats): introduce typedef vector<Format const *>
16466         Formats, and use it.
16467         (expand): implement FloatListInsert and FloatInsert.
16468
16469         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16470         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16471         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16472
16473         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16474         handling.
16475         (Dispatch::LFUN_FLOAT_LIST): implement
16476
16477 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16478
16479         * LaTeX.C (run): Fix problem with --export code.
16480
16481 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16482
16483         * BufferView.[Ch] (workarea): removed.
16484         (getClipboard) new method; wrapper for workarea()->getClipboard()
16485
16486         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16487         bug.
16488
16489         * WorkArea.h (width, height, xpos, ypos): These methods all
16490         returned the dimensions of the work_area sub-area of WorkArea,
16491         resulting in a position error if the WorkArea were resized. Now
16492         return the dimensions of the entire WorkArea.
16493
16494         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16495
16496 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16497
16498         * LaTeX.C (deplog): correct the syntax of regex reg1
16499
16500 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16501
16502         * undo.C: remove !NEW_INSETS cruft
16503
16504 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16505
16506         * text2.C: remove !NEW_INSETS cruft
16507
16508         * text.C: remove !NEW_INSETS cruft
16509
16510         * tabular.C: remove !NEW_INSETS cruft
16511
16512         * spellchecker.C: remove !NEW_INSETS cruft
16513
16514         * lyxtext.h: remove !NEW_INSETS cruft
16515
16516         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16517
16518         * lyxfunc.C: remove !NEW_INSETS cruft
16519
16520         * lyxfind.C: remove !NEW_INSETS cruft
16521
16522         * lyx_cb.C: remove !NEW_INSETS cruft
16523
16524         * figureForm.C: remove  !NEW_INSETS cruft
16525
16526         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16527
16528         * buffer.[Ch]: remove !NEW_INSETS cruft
16529
16530         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16531
16532         * CutAndPaste.C: remove !NEW_INSETS cruft
16533
16534         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16535
16536         * BufferView2.C: remove !NEW_INSETS cruft
16537
16538         * BufferView.h: remove !NEW_INSETS cruft
16539
16540 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16541
16542         * Lsstream.h: include LString.h before the sstream headers to
16543         fix problem with gcc 2.95.3 and lyxstring
16544
16545 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16546
16547         * lyx_main.C: add using directives when needed for C functions
16548         declared in std:: namespace.
16549
16550 2001-04-27  Juergen Vigna  <jug@sad.it>
16551
16552         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16553         (SetHeightOfRow): comment out the update call should not be needed!
16554
16555 2001-04-13  Juergen Vigna  <jug@sad.it>
16556
16557         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16558         (LyXTabular): tried to minimize operator= operations (and realized
16559         hopfully Lars wish).
16560
16561 2001-04-27  Juergen Vigna  <jug@sad.it>
16562
16563         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16564
16565 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16566
16567         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16568
16569         * buffer.C (readInset): hack to make listof algorithm work
16570
16571         * BufferView_pimpl.C: hack to make listof algorithm work
16572
16573 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16574
16575         * LyXAction.C: removed all !NEW_INSETS cruft
16576         (init): moved lfun_item in method
16577
16578         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16579
16580 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16581
16582         * BufferView2.C (theLockingInset): white space.
16583
16584 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16585
16586         * minibuffer.C: include <iostream>
16587
16588         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16589
16590         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16591
16592         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16593
16594         * text.[Ch] (TransposeChars): new method
16595
16596 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16597
16598         * call message directly through LyXView instead of through LyXFunc
16599         * BufferView2.C: adjust
16600         * BufferView_pimpl.C: adjust
16601         * FontLoader.C: adjust
16602         * buffer.C: adjust
16603         * bufferview_funcs.C: adjust
16604         * converter.C: adjust
16605         * figureForm.C: adjust
16606         * importer.C: adjust
16607         * lyx_cb.C: adjust
16608         * lyx_gui_misc.C: adjust
16609         * lyxfunc.C: adjust
16610         * lyxvc.C: adjust
16611         * text2.C: adjust
16612         + more files in subdirs
16613
16614         * lyxparagraph.h (size): move up int file
16615         (GetLayout): ditto
16616
16617         * adjust all uses of Assert to lyx::Assert.
16618
16619         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16620         lyxfunctional in namespace lyx
16621         * layout.C (hasLayout): ditto
16622         (GetLayout): ditto
16623         (GetLayout): ditto
16624         (delete_layout): ditto
16625         (NumberOfClass): ditto
16626         * converter.C (GetFormat): ditto
16627         (GetNumber): ditto
16628         (Add): ditto
16629         (Delete): ditto
16630         (SetViewer): ditto
16631         * bufferlist.C (getFileNames): ditto
16632         (emergencyWriteAll): ditto
16633         (exists): ditto
16634         (getBuffer): ditto
16635         * MenuBackend.C (hasSubmenu): ditto
16636         (hasMenu): ditto
16637         (getMenu): ditto
16638         * BufferView_pimpl.C (getInsetByCode): ditto
16639
16640 2001-04-18  Juergen Vigna  <jug@sad.it>
16641
16642         * vspace.C (asLatexString): fixed the 100% problem.
16643
16644 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16645
16646         * lyxfunc.C (Dispatch):
16647         * minibuffer.C:
16648         * minibuffer.h: add a few std:: qualifiers
16649
16650 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16651
16652         * minibuffer.[Ch]: reimplement so that commands is initiated and
16653         run from lyxfunc, simplified som handling, and made the completion
16654         and history code for complete. wip.
16655
16656         * lyxfunc.C (processKeySym): call message
16657         (miniDispatch): new temporary method
16658         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16659         (LFUN_MESSAGE): implement
16660         (LFUN_MESSAGE_PUSH): implement
16661         (LFUN_MESSAGE_POP): implement
16662         (initMiniBuffer): the initial/defualt minibuffer message.
16663
16664         * lyxfont.[Ch]: inline some more getters
16665
16666         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16667
16668         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16669
16670         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16671         (AutoSave): use LFUN_MESSAGE
16672         (Reconfigure): ditto
16673
16674         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16675
16676         * figureForm.C: use LFUN_MESSAGE
16677
16678         * converter.C (runLaTeX): use LFUN_MESSAGE
16679
16680         * bufferview_funcs.C: use LFUN_MESSAGE
16681         (Melt): ditto
16682         (changeDepth): ditto
16683
16684         * bufferparams.h: use boost::
16685
16686         * bufferlist.h: inherit privately from noncopyable
16687
16688         * bufferlist.C (loadLyXFile): remove some commented code.
16689
16690         * buffer.C (runChktex): use LFUN_MESSAGE
16691
16692         * ShareContainer.h: inherit privately from noncopyable
16693
16694         * ParagraphParameters.[hC] (depth): inline it.
16695
16696         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16697         methods.
16698         (message): new method
16699         (messagePush): ditto
16700         (messagePop): ditto
16701         (show): init minibuffer
16702         (showState): direct call
16703
16704         * LaTeX.[Ch]: inherit privately from noncopyable
16705         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16706         instead of WriteStatus.
16707
16708         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16709
16710         * BufferView_pimpl.C (buffer): don't init minibuffer
16711         (workAreaButtonPress): use LFUN_MESSAGE
16712         (workAreaButtonRelease): ditto
16713         (savePosition): ditto
16714         (restorePosition): ditto
16715         (MenuInsertLyXFile): ditto
16716         (workAreaExpose): don't init minibuffer
16717         (update): remove commented code, simplify
16718
16719         * BufferView2.C (openStuff): use LFUN_MESSAGE
16720         (toggleFloat): ditto
16721         (menuUndo): ditto
16722         (menuRedo): ditto
16723         (copyEnvironment): ditto
16724         (pasteEnvironment): ditto
16725         (copy): ditto
16726         (cut): ditto
16727         (paste): ditto
16728         (gotoInset): ditto
16729         (updateInset): remove some commented code
16730
16731         * lastfiles.h: inherit privately from noncopyable
16732         * layout.h: ditto
16733         * lyx_gui.h: ditto
16734         * lyx_main.h: ditto
16735         * lyxlex.h: ditto
16736         * lyxlex_pimpl.h: ditto
16737
16738         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16739         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16740         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16741
16742         * LyXAction.h: inherit privately from noncopyable, add methods
16743         func_begin, func_end, returning iterators to the func map.
16744
16745         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16746         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16747         (func_begin): new method
16748         (func_end): new method
16749
16750         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16751         and not)
16752         (copySelection): ditto
16753         (pasteSelection): ditto
16754
16755         * BufferView.C: whitespace change
16756         * BufferView.h: inherit privately from noncopyable
16757
16758 2001-04-16  Allan Rae  <rae@lyx.org>
16759
16760         * tabular-old.C (l_getline):
16761         * spellchecker.C (sc_check_word):
16762         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16763         an unrecognised preprocessor directive.  So ensure they're wrapped.
16764
16765 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16766
16767         * src/exporter.C (Export): Give an error message when path to file
16768         contains spaces.
16769
16770 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16771
16772         * LaTeX.C (deplog): Always check that foundfile exists.
16773
16774 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16775
16776         * lyx_main.h:
16777         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16778
16779 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16780
16781         * tabular.[Ch] (getLabelList): implement new method
16782
16783         * minibuffer.h: comment ouf setTiimer
16784
16785         * minibuffer.C (ExecutingCB): constify res
16786         (peek_event): constify s
16787         (Set): constify ntext
16788         (Init): constify nicename
16789
16790         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16791
16792         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16793         (savePosition): use two params to Minibuffer::Set
16794         (restorePosition): ditto
16795
16796 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16797
16798         * lyx_main.C: include language.h
16799
16800         * Makefile.am (lyx_main.o): add language.h
16801
16802 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16803
16804         * exporter.C:
16805         * paragraph.C:
16806         * screen.C:
16807         * tabular.C:
16808         * CutAndPaste.C: include gettext.h
16809
16810         * lyxfont.h: remove old hack with ON and OFF.
16811
16812         * lyxparagraph.h:
16813         * lyxfont.h: do not include language.h...
16814
16815         * BufferView2.C:
16816         * LaTeXFeatures.C:
16817         * Painter.C:
16818         * bufferview_funcs.C:
16819         * font.C:
16820         * lyxfont.C:
16821         * text.C:
16822         * text2.C:
16823         * trans_mgr.C:
16824         * paragraph.C: ... but do it here instead
16825
16826 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16827
16828         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16829
16830         * tabular.C: small reformat
16831
16832         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16833         NEW_INSETS version
16834         (GetChar): ditto
16835         (BreakParagraph): ditto
16836         (SetOnlyLayout): ditto
16837         (SetLayout): ditto
16838
16839         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16840         with one arg less.
16841
16842         * lastfiles.C: removed most using decl, add std:: where needed
16843
16844         * buffer.C: ws changes
16845
16846         * MenuBackend.C (class compare_format): put into anon namespace
16847         (expand): constify label, names, action, action2
16848         (expand):
16849
16850         * text.C (SingleWidth): constify font
16851         (IsBoundary): constify rtl2
16852         (GetVisibleRow): constify ww
16853
16854         * LaTeX.C (deplog): constify logfile
16855
16856         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16857         start_x, end_x
16858         (workAreaExpose): constify widthChange, heightChange
16859
16860         * lyxrow.C (par): moved
16861         (height): moved
16862         (next): moved
16863         * lyxrow.h: as inlines here
16864
16865         * lyxfont.h (shape): moved from lyxfont.C
16866         (emph): moved from lyxfont.C
16867
16868         * lyxfont.C (LyXFont): use initialization list for all
16869         constructors
16870         (shape): move to lyxfont.h as inline
16871         (emph): move to lyxfont.h as inline
16872
16873
16874 2001-04-04  Juergen Vigna  <jug@sad.it>
16875
16876         * vspace.C: had to include stdio.h for use of sscanf
16877
16878 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16879
16880         * BufferView.h:
16881         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16882         independent of xforms.
16883
16884 2001-04-02  Juergen Vigna  <jug@sad.it>
16885
16886         * spellchecker.C: fixed namespace placing!
16887
16888 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16889
16890         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16891         the LyXParagraph * is 0.
16892
16893 2001-03-29  Juergen Vigna  <jug@sad.it>
16894
16895         * vspace.C: added support for %, c%, p%, l%.
16896         (stringFromUnit): added helper function.
16897         (asLatexString): changed to give right results for the %-values.
16898
16899         * buffer.C: convert the widthp in a width%.
16900
16901 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16902
16903         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16904         figureForm.[Ch].
16905
16906         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16907         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16908
16909         * lyx_cb.[Ch]: see above.
16910
16911         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16912         form1.[Ch].
16913
16914         * form1.[Ch]:
16915         * lyx.[Ch]: replaced by figure_form.[Ch].
16916
16917         * lyx_gui.C:
16918         * lyx_gui_misc.C:
16919         * lyxfunc.C: changed headers associated with above changes.
16920
16921 2001-03-27  Juergen Vigna  <jug@sad.it>
16922
16923         * BufferView_pimpl.C: set the temporary cursor right!
16924
16925 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16926
16927         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16928
16929 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16930
16931         * LString.h: removed "using std::getline"!
16932
16933         * BufferView_pimpl.C (Dispatch): changes due to changes in
16934         InsetInclude::Params.
16935
16936         * buffer.C (tag_name): removed redundant break statements as they were
16937         producing lots of warnings with my compiler.
16938
16939 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16940
16941         * LString.h: add "using std::getline" when using the real <string>.
16942
16943 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16944
16945         * buffer.C: removed bitset usage.
16946         PAR_TAG moved to an anonymous name space.
16947         (tag_name): new funtion, also in the anonymous namespace.
16948         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16949         (makeDocBookFile): clean code. Completed transition from string arrays
16950         to string vectors.
16951         (SimpleDocBookOnePar): code clean.
16952
16953 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16954
16955         * tabular.C: add some comments.
16956
16957 2001-03-22  Juergen Vigna  <jug@sad.it>
16958
16959         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16960         compatibility read a bit and fixed bug with minipage in different
16961         depth.
16962
16963 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16964
16965         * buffer.C (pop_tag): removed.
16966         (push_tag): removed.
16967         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16968         array replaced with vector. Added support for CDATA sections.
16969         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16970         at any nest level.
16971         (makeDocBookFile): XML conformant declaration of CDATA section,
16972         fixed bug related to <emphasis> in the first paragraph char.
16973         (sgmlOpenTag): exclude empty tags.
16974         (sgmlCloseTag): ditto.
16975
16976         * buffer.h (pop_tag): removed.
16977         (push_tag): removed.
16978
16979 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16980
16981         * language.h (Languages): added size_type and size().
16982
16983 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16984
16985         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16986         response on compability reading of minipages. One probliem is that
16987         the old usage of minipages was «flertydig»
16988
16989         * several files here and in subdirs: don't use static at file
16990         scope use anon namespaces instead.
16991
16992 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16993
16994         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16995         LaTeX output. This is necessary for Literate document
16996         processing.
16997
16998 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16999
17000         * buffer.C: insert hfill when needed.
17001
17002         * tabular.C (l_getline): use string::erase, small whitespace change.
17003
17004         * BufferView_pimpl.C: try the anon namespace.
17005         * WorkArea.C: ditto
17006
17007 2001-03-16  Juergen Vigna  <jug@sad.it>
17008
17009         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17010         otherwise it won't open options-dialogs.
17011
17012         * buffer.C: honor pextraWidth(p) on converting minipages.
17013
17014         * tabular.C (l_getline): changed the functions to strip trailing \r.
17015
17016 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17017
17018         * BufferView_pimpl.C:
17019         * minibuffer..C: added "using SigC::slot" declaration.
17020
17021 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17022
17023         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17024
17025         * text2.C: ditto
17026
17027         * text.C: ditto
17028
17029         * paragraph.C: ditto
17030
17031         * lyxtext.h: NO_PEXTRA
17032
17033         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17034
17035         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17036         * ParameterStruct.h: ditto
17037         * ParagraphParameters.h: ditto
17038         * lyxparagraph.h: ditto
17039
17040 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17041
17042         * buffer.C: add compability for minipage alignment.
17043         (latexParagraphs): remove unwanted pextra check.
17044
17045         * several files: remove CXX_WORKING_NAMESPACES
17046
17047         * buffer.C (pop_tag): tie is in namespace boost
17048
17049         * BufferView.h: noncopyable is in namespace boost
17050         * lyxlex.h: ditto
17051         * lyx_main.h: ditto
17052         * lyx_gui.h: ditto
17053         * layout.h: ditto
17054         * lastfiles.h: ditto
17055         * bufferlist.h: ditto
17056         * ShareContainer.h: ditto
17057         * LyXView.h: ditto
17058         * LyXAction.h: ditto
17059         * LaTeX.h: ditto
17060
17061 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17062
17063         * Merging changes from BRANCH_MVC back into HEAD.
17064
17065         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17066
17067 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17068
17069         * BufferView_pimpl.C: change from intl.C
17070
17071         * combox.h:
17072         * combox.C:
17073         * Makefile.am: move combox.*
17074
17075         * form1.h:
17076         * form1.C:
17077         * lyx_gui.C:
17078         * intl.h:
17079         * intl.C: remove dialog (covered by prefs)
17080
17081 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17082
17083         * lyxfunc.C (Dispatch): removed redundant break statement.
17084
17085 2001-03-14  Juergen Vigna  <jug@sad.it>
17086
17087         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17088
17089 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17090
17091         * buffer.C: add hack to fix compability reading of minipages.
17092
17093 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17094
17095         * buffer.C (getLists): Cleanup.
17096
17097 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17098
17099         * lyxfont.C (update): don't honor toggleall on font size.
17100
17101 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17102
17103         * bmtable.c:
17104         * bmtable.h:
17105         * Makefile.am: moved to frontends/xforms/
17106
17107         * lyx_gui_misc.C:
17108         * lyxfunc.C:
17109         * BufferView_pimpl.C: changes for moved mathpanel
17110
17111 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17112
17113         * gettext.h: fix gettext_init() in --disable-nls
17114
17115 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17116
17117         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17118
17119 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17120
17121         * lyx.C:
17122         * lyx.h: strip external form
17123
17124 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17125
17126         * BufferView_pimpl.C: add comment, destroySplash()
17127
17128 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17129
17130         * BufferView_pimpl.C:
17131         * LyXAction.C:
17132         * buffer.C:
17133         * commandtags.h:
17134         * lyxfunc.C: use re-worked insetinclude
17135
17136 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17137
17138         * buffer.C: add using std::stringstream.
17139
17140         * lyx_cb.C: readd using std::ios.
17141
17142         * buffer.C: add using std::map.
17143
17144         * BufferView_pimpl.C: add using std::vector.
17145
17146         * ShareContainer.h: add std:: to swap.
17147
17148         * buffer.h: add some typedefs
17149         * buffer.C (getLists): use them
17150         (getLists): renamed from getTocList.
17151         add a counter for the different float types and use it in the
17152         generated string.
17153         (getLists): use the same counter for the NEW_INSETS and the "non"
17154         NEW_INSETS
17155
17156         * lyx_cb.h: remove unused items, includes, using etc.
17157
17158         * ShareContainer.h: remove some commented code, add more comments
17159         and "documentation".
17160
17161 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17162
17163         * buffer.C (getTocList): make the list also when NEW_INSETS is
17164         defined.
17165
17166         * buffer.h: remove TocType
17167
17168         * buffer.C (getTocList): change to return a map<string,
17169         vector<TocItem> >, implement for dynamic number of list.
17170
17171         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17172         * text2.C (PasteSelection): adjust
17173         * CutAndPaste.C (pasteSelection): adjust
17174
17175         * FloatList.C (FloatList): update from the new_insets branch.
17176         * Floating.[Ch]: ditto
17177         * LaTeXFeatures.C: ditto
17178         * buffer.C: ditto
17179         * lyxlex_pimpl.C: ditto
17180
17181         * paragraph.C (Last): remove when NEW_INSETS is defined.
17182
17183         * other file: changes because of the above.
17184
17185 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17186
17187         * lyxparagraph.h: rename next to next_, previous to previous_,
17188         make them private for NEW_INSETS. Rename Next() to next(),
17189         Previous() to previous().
17190
17191         * other files: changes because of the above.
17192
17193 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17194
17195         * BufferView.h:
17196         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17197         problem.
17198
17199 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17200
17201         * main.C (main): pass lyx_localedir to gettext_init().
17202
17203         * gettext.h: remove locale_init and gettext_init macros
17204
17205         * gettext.C (locale_init): new function
17206         (gettext_init): new function
17207
17208         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17209         setlocale().
17210
17211 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17212
17213         * Moved credits to frontends:
17214         * credits.[Ch]: removed
17215         * credits_form.[Ch]: removed
17216         * lyx_gui_misc.C: remove credits stuff
17217         * Makefile.am:
17218
17219 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17220
17221         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17222
17223         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17224         unneeded destructor.
17225
17226         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17227         a standalone pointer again.
17228
17229         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17230
17231 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17232
17233         * Makefile.am:
17234         * filedlg.h:
17235         * filedlg.C:
17236         * LyXAction.C:
17237         * ToolbarDefaults.C:
17238         * bufferlist.C:
17239         * commandtags.h:
17240         * form1.C:
17241         * form1.h:
17242         * lyx_cb.C:
17243         * lyx_cb.h:
17244         * lyxfunc.h:
17245         * lyxfunc.C:
17246         * BufferView_pimpl.C: use new file dialog in GUII
17247
17248         * lyx_cb.h:
17249         * lyx_cb.C: remove LayoutsCB to Toolbar
17250
17251 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17252
17253         * ShareContainer.h (get): add std:: qualifier
17254
17255 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17256
17257         * ShareContainer.h: define a proper ShareContainer::value_type
17258         type (and use typename to please compaq cxx)
17259
17260 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17261
17262         * lyxparagraph.h: move serveral local vars to
17263         ParameterStruct/ParagraphParameters., use ShareContainer in
17264         FontTable., make vars in FontTable private and add getter and
17265         setter.
17266
17267         * paragraph.C: changes because of the above.
17268
17269         * lyxfont.h: remove copy constructor and copy assignment. (the
17270         default ones is ok), move number inside FontBits. move inlines to
17271         lyxfont.C
17272
17273         * lyxfont.C: add number to initializaton of statics, move several
17274         inlines here. constify several local vars. some whitespace
17275         cleanup. Dont hide outerscope variables.
17276
17277         * Spacing.h: add two new constructors to match the set methods.
17278
17279         * ShareContainer.h: new file, will perhaps be moved to support
17280
17281         * ParameterStruct.h: new file
17282
17283         * ParagraphParameters.h: new file
17284
17285         * ParagraphParameters.C: new file
17286
17287         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17288         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17289
17290         * BufferView_pimpl.C: ParagraphParameter changes.
17291         * buffer.C: Likewise.
17292         * bufferview_funcs.C: Likewise.
17293         * text.C: Likewise.
17294         * text2.C: Likewise.
17295
17296 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17297
17298         * lyxfind.C (LyXReplace): do not redefine default argument in
17299         implementation.
17300         (IsStringInText): ditto
17301         (SearchForward): ditto
17302         (SearchBackward): ditto
17303
17304 2001-03-06  Juergen Vigna  <jug@sad.it>
17305
17306         * lyxfind.C (IsStringInText): put parentes around expressions.
17307
17308 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17309
17310         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17311
17312 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17313
17314         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17315
17316         * stl_string_fwd.h: add comment
17317
17318         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17319
17320         * tabular.h:
17321         * tabular.C: remove unused DocBook methods
17322
17323         * intl.C:
17324         * language.C:
17325         * paragraph.C:
17326         * buffer.C:
17327         killed DO_USE_DEFAULT_LANGUAGE
17328
17329 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17330
17331         * lyx_gui.C: do not include language.h.
17332
17333         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17334         arguments in function implementation.
17335
17336 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17337
17338         * BufferView_pimpl.C: add <ctime>
17339
17340 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17341
17342         * BufferView_pimpl.C: add using std::find_if
17343
17344 2001-02-27  José Matos  <jamatos@fep.up.pt>
17345
17346         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17347         by OnlyPath.
17348
17349 2001-02-11  José Matos  <jamatos@fep.up.pt>
17350
17351         * buffer.C (makeDocBookFile): command styles now have a parameter as
17352         "title" by default.
17353
17354 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17355
17356         * layout_forms.[Ch]: removed
17357         * lyx_cb.[Ch]: out character
17358         * lyx_gui.C: out character
17359         * lyx_gui_misc.C: out character
17360         * bufferview_funcs.C: : out character,
17361         added toggleall as parameter in ToggleAndShow
17362
17363 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17364
17365         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17366
17367         * text2.C (SetCurrentFont): Disable number property at boundary.
17368
17369 2001-02-26  Juergen Vigna  <jug@sad.it>
17370
17371         * lyxfunc.C (getStatus): added a string argument override function so
17372         that this is correctly called from LyXFunc::Dispatch if it contains a
17373         do_not_use_argument which is used!
17374         (Dispatch): added check for "custom" export and call appropriate func.
17375
17376 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17377
17378         * lyxrc.C: Add language_command_local, language_use_babel and
17379         language_global_options.
17380
17381         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17382
17383         * buffer.C (makeLaTeXFile): Use language_use_babel and
17384         language_global_options.
17385
17386 2001-02-23  Juergen Vigna  <jug@sad.it>
17387
17388         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17389         which works with LyXText and putted it inside BufferView. Here now we
17390         only call for that part the BufferView::Dispatch() function.
17391
17392         * BufferView.C (Dispatch): added.
17393
17394         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17395         functions which needs to use a LyXText over from LyXFunc.
17396         (MenuInsertLyXFile): added
17397         (getInsetByCode): added
17398         (moveCursorUpdate): added
17399         (static TEXT): added
17400
17401 2001-02-22  Juergen Vigna  <jug@sad.it>
17402
17403         * BufferView_pimpl.C (update): call a status update to see if LyXText
17404         needs it.
17405
17406 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17407
17408         * vc-backend.C (revert): implement for CVS
17409         (getLog): implement for CVS
17410
17411 2001-02-20  Juergen Vigna  <jug@sad.it>
17412
17413         * text2.C (ClearSelection): added BufferView param for inset_owner call
17414
17415         * lyxfunc.C (TEXT): added this function and use it instead of
17416         directly owner->view()-text of getLyXText().
17417
17418 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17419
17420         * src/layout_forms.C: out preamble
17421         * src/layout_forms.h: out preamble
17422         * src/lyx_cb.C: out preamble
17423         * src/lyx_cb.h: out preamble
17424         * src/lyx_gui.C: out preamble
17425         * src/lyx_gui_misc.C: out preamble
17426         * src/lyxfunc.C: connect with guii preamble
17427
17428 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17429
17430         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17431
17432 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17433
17434         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17435         whether to run bibtex.
17436
17437 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17438
17439         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17440
17441 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17442
17443         * Makefile.am (lyx_SOURCES): removed bibforms.h
17444
17445         * vspace.h: doxygen
17446
17447         * text.C (GetVisibleRow): make several local vars const
17448
17449         * tabular.C: small cleanup.
17450
17451         * lyxserver.C (callback): use compare instead of strncmp
17452
17453         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17454         inlines to after class or to paragraph.C
17455
17456         * lyxfont.h: remove friend operator!=
17457
17458         * converter.h: move friend bool operator< to non friend and after
17459         class def.
17460
17461         * combox.h: small cleanup
17462
17463         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17464         to inlines after class def.
17465
17466         * buffer.C (pop_tag): use string operations instead of strcmp
17467
17468         * bmtable.c: doxygen, small cleanup
17469
17470         * LaTeX.h: remove friend operator==
17471
17472 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17473
17474         * screen.C:
17475         * lyxrc.[Ch]:
17476         * lyxfunc.C:
17477         * lyxfont.[Ch]:
17478         * lyx_cb.C:
17479         * intl.[Ch]:
17480         * commandtags.h:
17481         * buffer.C:
17482         * WorkArea.[Ch]:
17483         * LyXAction.C:
17484         * BufferView_pimpl.C:
17485         * BufferView.[Ch]: remove cruft
17486
17487 2001-02-14  Juergen Vigna  <jug@sad.it>
17488
17489         * lyxfunc.C: removed #if 0 unused code
17490
17491         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17492
17493         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17494
17495         * text2.C (SetSelection): added a BufferView * parameter
17496
17497 2001-02-13  Juergen Vigna  <jug@sad.it>
17498
17499         * lyxfunc.C (Dispatch): fixed protected blank problem.
17500         * BufferView2.C (protectedBlank): added LyxText * parameter.
17501
17502         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17503         (AppendColumn): same as above for column_info.
17504
17505         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17506         (moveCursorUpdate): use a LyXText param for support of InsetText.
17507
17508         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17509         (tripleClick): ditto
17510
17511         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17512
17513         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17514
17515         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17516
17517         * text2.C (SetSelection): set correct update status if inset_owner
17518         (ToggleFree): ditto
17519
17520 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17521
17522         * tabular.C: remove some commented code.
17523
17524 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17525
17526         * BufferView_pimpl.C: call hideSplash()
17527
17528         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17529
17530         * include_form.h:
17531         * bibforms.h: remove
17532
17533         * lyxfunc.C:
17534         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17535           add LFUN_CHILD_CREATE
17536
17537         * counters.h: fix tiny typo
17538
17539         * lyx_cb.C:
17540         * lyx.h:
17541         * lyx_gui.C:
17542         * lyx.C: move splash to frontends/xforms/
17543
17544         * lyx_gui_misc.C: move Include and Bibform to frontends
17545
17546         * lyxvc.h: clarify comment
17547
17548         * vspace.C: tiny housekeeping
17549
17550 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17551
17552         * text.C (PrepareToPrint): RTL Fix.
17553
17554         * paragraph.C (GetUChar): New method.
17555         (String):  Use GetUChar.
17556
17557         * buffer.C (asciiParagraph): Use GetUChar.
17558
17559 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17560
17561         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17562
17563 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17564
17565         * buffer.h:
17566         * buffer.C: rename to getLogName(), handle
17567           build log / latex log nicely
17568
17569 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17570
17571         * MenuBackend.C:
17572         * MenuBackend.h: remove support for reference menuitem type.
17573
17574 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17575
17576         * BufferView_pimpl.C: housekeeping
17577         * BufferView_pimpl.h:
17578         * LyXView.h:
17579         * Makefile.am:
17580         * Timeout.C:
17581         * Timeout.h:
17582         * minibuffer.h: move Timeout GUI-I
17583
17584 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17585
17586         * lyxrc.C (read): Update converters data-structures.
17587
17588 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17589
17590         * LaTeX.h (operator!=): add operator != for Aux_Info
17591
17592 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17593
17594         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17595
17596         * LaTeXLog.C: deleted, useful code moved to Buffer
17597
17598         * buffer.h:
17599         * buffer.C: new function getLatexLogName()
17600
17601         * lyx_gui_misc.C:
17602         * lyx_gui.C:
17603         * lyxvc.C:
17604         * lyxvc.h:
17605         * lyxfunc.C: use frontends for LaTeX and VC logs
17606
17607 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17608
17609         * LaTeX.h: yet another std:: that Allan forgot.
17610
17611         * Variables.C (set): renamed from isset(), because this clashes
17612         with some HP-UX macros (grr).
17613
17614 2001-02-06  Allan Rae  <rae@lyx.org>
17615
17616         * LaTeX.h: Another bug fix.  Missing std:: this time.
17617
17618 2001-02-04  Allan Rae  <rae@lyx.org>
17619
17620         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17621         floats problem. I've left it commented out because it's not quite
17622         correct.  It should also test that the current object is a table or
17623         figure inset.  But I haven't gotten around to figuring out how to do
17624         that.  I *think* it'll be something like: "table" == inset.type()
17625
17626         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17627         bool.
17628
17629 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17630
17631         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17632         all the citation/databases/styles in the auxilary file.
17633         (run): Rerun latex if there was a babel language error.
17634
17635 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17636
17637         * text.C (Backspace): Preserve the font when changing newline char
17638         with a space.
17639         (BreakParagraph): If the cursor is before a space, delete the space.
17640
17641         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17642
17643 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17644
17645         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17646         new argument (code).
17647         (ChangeCitationsIfUnique): New method.
17648
17649         * paragraph.C (GetPositionOfInset): Handle bibkey.
17650
17651 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17652
17653         * BufferView_pimpl.h: change type of Position::par_pos to
17654         LyXParagraph::size_type.
17655
17656 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17657
17658         * BufferView_pimpl.C (savePosition, restorePosition): Write
17659         messages to minibuffer.
17660
17661 2001-01-28  José Matos  <jamatos@fep.up.pt>
17662
17663         * buffer.C (makeDocBookFile): adds support for document language.
17664         A silly restriction on the name of LatexCommand types where removed.
17665         Added support for CDATA sections, allows to chars unescaped, used
17666         among others in code, to avoid escape < and >.
17667
17668 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17669
17670         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17671         saved positions instrad of a stack. Furthermore, a position is
17672         stored using paragraph id/paragraph position.
17673
17674         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17675         Remove LFUN_REF_BACK.
17676
17677 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17678
17679         * converter.C (dvipdfm_options): New method.
17680
17681 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17682
17683         * vspace.C (isValidLength): Fix for empty input string.
17684
17685 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17686
17687         * LyXAction.C (init): change description of LFUN_FIGURE to
17688         "Insert Graphics"
17689
17690 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17691
17692         * LaTeX.C: add using directive
17693
17694 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17695
17696         * MenuBackend.C (expand): Fix the sorting of the formats.
17697
17698 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17699
17700         * lyx_main.C: tiny error message fix
17701
17702 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17703
17704         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17705         calling fl_initialize(). This fixes the problem with ',' as
17706         decimal separator in text files.
17707
17708 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17709
17710         * trans.C (process): Fix the keymap bug.
17711
17712 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17713
17714         * LaTeX.C (scanAuxFiles): New method. Provides support for
17715         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17716         (scanLogFile) Scan for "run BibTeX" messages.
17717
17718         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17719         OT1 font encoding. Also, load the aecompl package if the ae
17720         package is loaded.
17721
17722         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17723
17724 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17725
17726         * texrow.C (increasePos): turn two error messages into debug
17727         messages.
17728
17729 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17730
17731         * LaTeX.C (scanAux): Handle the \@input macro.
17732         (runBibTeX): Use scanAux().
17733
17734         * language.C (latex_options_): New field.
17735
17736         * LaTeXFeatures.C (getMacros): Add language macros.
17737
17738         * buffer.C (makeLaTeXFile): Small fix.
17739
17740 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17741
17742         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17743
17744         * text2.C: add a using directive.
17745
17746 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17747
17748         * BufferView2.C:
17749         * lyx_gui_misc.h:
17750         * lyxfr1.C:
17751         * lyxfunc.C: kill LyXBell.
17752
17753 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17754
17755         * text.C (IsBoundary): Remove the error message
17756
17757         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17758
17759         * lyxrc.C (setDefaults): Correct initialization value for
17760         font_norm_type.
17761
17762 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17763
17764         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17765         gotoError().
17766
17767         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17768         and GotoNextNote().
17769
17770         * src/LyXAction.C: Added reference-next.
17771
17772         * text.C (InsertChar): Use contains instead of strchr.
17773
17774         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17775
17776 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17777
17778         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17779         alignment commands (when needed).
17780
17781         * text.C (InsertChar): Add ':' to number separator chars.