]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
1d231eb77db3b4a1f53e8f24b55ae8c42d6b17cb
[lyx.git] / src / ChangeLog
1 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * rowpainter.C (paintInset, paintHebrewComposeChar) 
4         (paintArabicComposeChar, paintChars): add a LyXFont argument.
5         (paintChars): use getFontSpan to reduce calls to getFont to a
6         minimum; use Paragraph::lookupChange instead of isXXXText.
7         (paintForeignMark): rename LyXFont argument.
8         (paintFromPos): pass a LyXFont object to the various paintXXX
9         methods. 
10
11         * FontIterator.C (FontIterator, operator++): use
12         Paragraph::getFontSpan 
13
14         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
15         version that returns the font span as a pair.
16
17 2005-06-09  Angus Leeming  <leeming@lyx.org>
18
19         * converter.C (convert): Don't forget "outfile = real_outfile" as
20         the final step in a conversion where the input and output file names
21         are the same. Otherwise, future conversion steps won't work...
22
23 2005-06-09  Angus Leeming  <leeming@lyx.org>
24
25         * lyxsocket.C: remove stub code as it isn't needed by
26         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
27
28 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
29
30         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
31         effectively disabled -x
32
33 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
34
35         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
36         when it actually makes sense.
37
38 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
39
40         * BufferView_pimpl.C: revert to showCursor in connection with
41         Lars's front-end stack
42
43 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
44
45         * text.C (redoParagraph): move cursor right after a bibitem
46         has been inserted.
47
48         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
49
50 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
51
52         * buffer_funcs.C (bufferErrors): fix computation of the end of an
53         error range.
54
55 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
56
57         * BufferView.[Ch] (update):
58         * BufferView_pimpl.[Ch] (update, metrics):
59         * dimension.h (operator==):
60         * lyxfunc.C (dispatch):
61         * metricsinfo.h (ViewMetricsInfo):
62         * rowpainter.C (paintText):
63         * lyxtext.h:
64         * text.C (redoParagraph):
65         * text3.C (dispatch): Make LyX only repaint current paragraph in
66         case of character insert --> speedup. Also fix cursor draw
67         artifacts
68
69 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
70
71         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
72         avoid a crash (bug 1891)
73
74 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
75
76         Fix bug 1892:
77
78         * text2.C (getStringToIndex): constify cur argument.
79
80         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
81         argument has been given
82         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
83         try to invoke LFUN_INSET_APPLY).
84
85         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
86         if no inset was created by doInsertInset
87         (doInsertInset): return true if an inset has been inserted.
88
89 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
90
91         * vspace.C (asGUIName): new method. A version of the space
92         suitable for showing on screen.
93
94 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
95
96         * MenuBackend.C:
97         * lyxrc.C: rename "ASCII" to "Plain Text"
98
99 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
100
101         * buffer_funcs.C (expandLabel): take a Buffer as argument;
102         translate the labelstring.
103         (setCounter): translate labelstring as needed.
104
105         * output_docbook.C (makeCommand): fix expandLabel invokation
106
107 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
108
109         * BufferView.C: fix dialog title
110
111 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
112
113         * lyx_main.C (priv_exec): fix logic error with help from Angus
114         * lyx_main.C (parse_execute): set is_gui = false and remove now
115         obsolete comment about a segfault
116
117 2005-05-18  Angus Leeming  <leeming@lyx.org>
118
119         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
120
121 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
122
123         * tabular.[hC]: added setCellInset to fix tabular paste.
124
125 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
126
127         * buffer.C (save): check if destination is writable before trying
128         to copy a file
129
130 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
131
132         * BufferView_pimpl.C (update): fix processEvents -caused update
133         recursion bug
134
135 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
136
137         * buffer_funcs.C (setCounter): fix test for numbering of
138         environments.
139
140         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
141         depth correctly; use optional argument when it exists
142
143         * lyxtextclass.C: remove unused MaxCounterTags enum
144         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
145         (max_toclevel, min_toclevel): new methods.
146
147         * MenuBackend.C (expandToc2): fix case where depth is smaller than
148         the smallest depth in toc.
149
150         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
151         layouts that should not appear in a table of contents.
152
153 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
154
155         * cursor.h (undispatched, noUpdate): add comments from André
156
157 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
158
159         * lfuns.h:
160         * LyXAction.C:
161         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
162
163 2005-05-07  André Pönitz  <poenitz@gmx.net>
164
165         * cursor.[Ch] (leaveInset): new function
166
167 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
168
169         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
170
171 2005-05-04  Angus Leeming  <leeming@lyx.org>
172
173         * lyxfunc.C (getStatus): disable the spell checker dialog if
174         none of USE_[AIP]SPELL are defined.
175
176 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
177
178         * tabular.C (setWidthOfCell): remove obsolete comment
179
180 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
181
182         * paragraph.C (bibitem):
183         * buffer_funcs.C (setCounter):
184         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
185
186 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
187
188         * text3.C (getStatus): immediately return after setOnOff
189
190         * rowpainter.C: fix drawing of appendix start
191
192 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
193
194         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
195         SwitchBetweenClasses and remove the unused return value.
196         Handle character styles, too
197
198 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
199
200         * factory.C (createInset): handle undefined character styles
201
202 2005-05-02  Angus Leeming  <leeming@lyx.org>
203
204         * buffer.C: protect the #include of utime.h with a preprocessor
205         guard.
206
207 2005-05-02  Angus Leeming  <leeming@lyx.org>
208
209         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
210         function so that auto-saving works, albeit in a blocking manner.
211
212         * Makefile.am: make compilation of the client sub directory, of
213         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
214         on conditionals set at configure time.
215
216         * SpellBase.[Ch]: no longer an abstract base class. Instead,
217         it can be compiled in its own right but has no-op functionality.
218
219         * aspell.C, pspell.C: remove preprocessor guards. The files should
220         be compiled only if the necessary functionality exists.
221
222         * lyxserver.C, lyxsocket.C: disable on Windows.
223
224 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
225
226         * text.C (leftMargin): Fix the parindent use bug (1764)
227         by dirty trick
228
229 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
230
231         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
232         argument.
233
234 2005-04-25  Angus Leeming  <leeming@lyx.org>
235
236         * Bidi.[Ch]:
237         * coordcache.[Ch]:
238         * ispell.C:
239         * lyxserver.C:
240         * mover.C:
241         * pch.h:
242         include <config.h> in .C files, not .h ones.
243         add licence blurb.
244         protect headers inside preprocessor guards.
245
246 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
247
248         * FuncStatus.h (StatusCodes): document
249
250 2005-04-21  André Pönitz  <poenitz@gmx.net>
251
252         * FuncStatus.h (enabled, onoff): document
253
254 2005-04-19  Angus Leeming  <leeming@lyx.org>
255
256         * BufferView_pimpl.C (cursorToggle): no longer test whether
257         any child processes have been reaped before calling
258         handleCompletedProcesses().
259
260 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
261
262         * text3.C (dispatch): fix, finally fix, the language problem in
263         new lyxtexts, without disabling on-the-fly font changes (Helge's
264         bug report)
265
266 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
267
268         * text3.C (dispatch): set cursor on double/triple click events
269         (bug 1811)
270
271 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
272
273         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
274         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
275
276         * rowpainter.C (paintFirst): simplify the code a little bit. In
277         particular, remove the test for secnumdepth.
278         * text.C (setHeightOfRow): only allocate space for chapter number
279         when updateCounters provided an actual label, instead of looking
280         at secnumdepth directly.
281
282         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
283
284         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
285         paragraphs when secnumdepth is large enough or, for environments,
286         when they are not the first in a sequence.
287
288 2005-04-17  Angus Leeming  <leeming@lyx.org>
289
290         * buffer.C (makeLaTeXFile): replace code to manipulate a path
291         containing space and '~' characters with a call to latex_path().
292
293 2005-04-17  Angus Leeming  <leeming@lyx.org>
294
295         * converter.C (convert): protect all args of convertDefault.sh
296         script with quotes.
297
298 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
299
300         * text3.C (dispatch): change the layout to "Caption" after inserting
301         a float.
302
303 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
304
305         * text3.C (dispatch): fix language problem in newly created
306         textinsets (and main text) in non-english docs
307
308 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
309
310         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
311         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
312         * text3.C (getStatus): disable LFUN_INSET_MODIFY
313
314 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
315
316         * lyxtext.h:
317         * text.C (metrics):
318         * text2.C (getFont):
319         * rowpainter.C (getFont): Fix metrics bug introduced by inset
320         fonts fix
321
322 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
323
324         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
325         output of \item arguments without trailing text.
326
327 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
328
329         * FontIterator.C (operator*): avoid a copy of the font.
330
331 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
332
333         * rowpainter.C (getFont): fix language bug from previous fix
334
335 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
336
337         * rowpainter.C (RowPainter, getFont): fix font inside inset
338         (bugs 1766, 1809)
339
340 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
341
342         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
343         preventing inserted font, deco, delim insets jumping to start of
344         surrounding inset.
345
346 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
347
348         * lyxfunc.C (dispatch): translate message before sending it to the
349         minibuffer.
350
351 2005-03-29  Angus Leeming  <leeming@lyx.org>
352
353         * lyx_main.C (priv_exec): call os::internal_path on each file passed
354         to LyX on the command line.
355
356 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
357
358         * vc-backend.C: use QuoteName to protect file names wherever
359         necessary.
360
361 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
362
363         * buffer.[Ch]:
364         * BranchList.h: fix bugs 1844,1845: document settings don't
365         stick
366
367 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * lyxrc.C (setDefaults, read, output, getDescription): add support
370         for tex_allows_spaces.
371
372         * exporter.C (Export): allows files in directory containing spaces
373         if tex_allows_spaces is true.
374
375         * buffer.C (makeLaTeXFile): if the document path contains spaces,
376         output it in double quotes.
377
378 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
379
380         * rowpainter.C: use default text height for drawing change tracker
381         strikeout lines.
382
383 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
384
385         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
386
387 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
390         directory is missing.
391
392 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
393
394         * text2.C: fixed the fix, extended to other case.
395
396 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
397
398         * text2.C: fix for cursor up/down stuck in math [bug 1792]
399
400 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
401
402         * text2.C (cursorUp): get rid of a crash
403         * text.C (x2pos): add an assert
404
405 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
406
407         * lyxfunc.C (getStatus): fix warning when assertions are disabled
408
409         * text3.C:
410         * lyxfunc.C:
411         * dociterator.C: include <boost/current_function.hpp>, which is
412         needed when assertions are disabled.
413
414 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
415
416         * text2.C: fix for stuck cursor when traversing two
417         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
418
419 2005-02-25  Andreas Vox  <avox@arcor.de>
420
421         * output_docbook.C (makeParagraph): suppress trailing newline
422         after a run of paragraphs
423
424 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
425
426         * paragraph.C: fix for confused change tracker when pasting
427         text that begins with a lineseparator. [bug 1827]
428         (setChange(0, Change::INSERTED);)
429
430         * paragraph_funcs.C: fix for lost changes on triple-paste
431         in change tracking mode [bug 1827] (par.setChange()).
432
433 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
434
435         * text2.C (updateCounters, setCounter, expandLabel): move to
436         buffer_funcs.
437
438         * buffer_funcs.C (updateCounters): turn into a free standing
439         function and add a buffer parameter. Remove dead code for tracking
440         labelstring change.
441         (setCounter): change into a free-standing function which gets a
442         dociterator as argument. Use this iterator to fix captions in a
443         simple way. When no float is found above the caption, use the
444         labelstring of the caption layout as default.
445
446         * text.C (breakParagraph, backspace):
447         * text2.C (init, setLayout, changeDepth):
448         * text3.C (dispatch):
449         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
450         updateCounters.
451
452         * dociterator.C (forwardPar): make it much faster by calling
453         forwardPos() only when really necessary.
454
455         * output_docbook.C (makeCommand): adapt to expandLabel move.
456
457         * cursor.C: remove unused variable
458
459 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
460
461         * paragraph_funcs.C: fix crash when pasting insets in change
462         tracking mode [bug 1277] (honour change type in moveItem).
463
464 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
465
466         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
467
468 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
469
470         * BufferView.C (setCursor): change to use a DocIterator.
471         (gotoLabel): use BufferView::setCursor (other part of bug 781).
472         (putSelectionAt): adapt to BufferView::setCursor change.
473
474         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
475         moved here from LyXText and rewritten to use proper cursor
476         methods. Fixes bug 1787, 616 and 835.
477
478         * BufferView_pimpl.C (restorePosition): set the cursor correctly
479         when inside an inset (part of bug 781).
480         (dispatch): adapt to change of BufferView::setCursor.
481         (getStatus, dispatch): handle LFUN_GOTOERROR,
482         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
483
484         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
485         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
486         * text3.C (gotoNextInset, gotoInset): removed.
487
488 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
489
490         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
491
492 2005-02-15  Angus Leeming  <leeming@lyx.org>
493
494         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
495         can be used meaningfully in a comparison.
496
497 2005-02-13  André Pönitz  <poenitz@gmx.net>
498
499         * bufferview_funcs.C (coordOffset): improve cursor drawing
500
501 2005-02-13  André Pönitz  <poenitz@gmx.net>
502
503         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
504         * Cursor.C (dispatch): use fixIfBroken
505         * lyxfunc.C (getStatus): use fixIfBroken
506
507 2005-02-15  Angus Leeming  <leeming@lyx.org>
508
509         * lyx_main.C (error_handler):
510         * lyxfunc.C:
511         * lyxrc.C (setDefaults):
512         s/GetEnv/getEnv/.
513         #include "environment.h".
514
515         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
516
517 2005-02-15  Angus Leeming  <leeming@lyx.org>
518
519         * lyxserver.C (startPipe): squash MSVC warning "local variable
520         'fd' used without having been initialized".
521
522 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
523
524         * BufferView_pimpl.C: revert accidental commit.
525
526 2005-02-14  André Pönitz  <poenitz@gmx.net>
527
528         * dociterator.[Ch]: new member forwardPosNoDescent(),
529         which doesn't enter nested insets.
530         * text2.C (setFont): use forwardPosNoDescent() instead
531         of ForwardPos() (fixes crash on font change).
532
533 2005-02-13  Angus Leeming  <leeming@lyx.org>
534
535         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
536         only if lyxrc.path_prefix is not empty.
537
538 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
539
540         * bufferparams.C (readGraphicsDriver): prevent crash
541
542 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
543
544         * text2.C (setCounter): check for inInset() == 0
545
546 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
547
548         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
549         but use update() to get correct screen display; use convert
550         instead of istringstream.
551         (getStatus): handle LFUN_GOTO_PARAGRAPH
552
553         * lyxfunc.C (dispatch, getStatus): do not handle
554         LFUN_GOTO_PARAGRAPH here.
555
556 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
557
558         * text3.C (dispatch): size() -> depth()
559
560         * text2.C: remove some debug output
561
562         * paragraph.C: ws changes only
563
564         * lyxfunc.C (getStatus): size() -> depth()
565
566         * dociterator.h (clear, push_back, pop_back, internalData,
567         operator[], resize, empty): new functions
568         Make StableDocIterator and operator== be friends. Don't inherit
569         from std::vector use a privat class variable slices_ instead.
570         Modify to fit.
571
572         * dociterator.C: update because of not inheriting from std::vector
573         anymore. Call explictly to slices_ instead. Use depth() instead of
574         size() and top() instead of back()
575
576         * cursor.C: chagne size() -> depth and back() -> top(). Also
577         remove some direct operator[](i) calls in favour of foo[i]
578         (getFont): remove some dead code
579
580         * bufferview_funcs.C (coordOffset): size() -> depth()
581
582         * buffer.C: ws changes only
583
584         * CutAndPaste.C (eraseSelection): back() -> top()
585
586         * BufferView_pimpl.C (selectionRequested): back() -> top()
587
588         * BufferView.C (setCursor): size() -> depth()
589
590 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
591
592         * text3.C (cursorPrevious): return true if depm changed something
593         (cursorNext): ditto
594         (dispatch): rename sl to oldTopSlice, remove moving use the new
595         NoUpdate func attrib instead. Make sure that needsUpdate is set
596         for function that have NoUpdate, but where depm might have changed
597         the buffer anyway.
598
599         * text2.C (cursorLeft): make us return true if depm changed
600         something
601         (cursorRight): ditto
602         (cursorUpParagraph): ditto
603         (curosrDownParagraph): ditto
604         (cursorUp, cursorDown): ditto, make sure to read comments in code
605         (deleteEmptyParagraphMechanism): remove an assert, also return
606         true if just a single char was deleted.
607
608         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
609         cursor that we modify, to avoid modifying an active cursor before
610         we call setCursor. This allows depm to run. Also return true if
611         depm deleted something.
612
613         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
614         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
615         cursorDownParagraph, cursorPrevious and cursorNext, return true if
616         something was changed in the buffer because of them (ie. depm run)
617
618         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
619         debug messages. Make update by default be false. Make sure that
620         the result of update is retained throught several calls down to
621         dispatch.
622
623         * LyXAction.h: add a new func_attrib: NoUpdate
624
625         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
626         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
627         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
628         and LFUN_WORDLEFT
629         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
630
631 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
632
633         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
634         bv_->owner(), bv_->buffer() by direct references to the private
635         members.
636         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
637         (getStatus): isSavedPosition() is in BufferView::Pimpl.
638         (fitCursor): center() is in BufferView::Pimpl.
639         (getStatus, trackChanges, dispatch): no need for a temporary buf
640         variable
641         (fitCursor, workAreaDispatch): use workarea().workheight()
642
643 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
644
645         * CutAndPaste.C (pasteSelectionHelper): fix a crash
646
647 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
648
649         * buffer.C: format up to 241.
650         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
651         break if pasting into ERT
652         * lyxfunc.C (getStatus): suppress mathpanel and
653         LFUN_DIALOG_SHOW_NEW_INSET in ERT
654
655 2005-02-01  Angus Leeming  <leeming@lyx.org>
656
657         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
658
659 2005-02-01  Angus Leeming  <leeming@lyx.org>
660
661         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
662         calling fs::is_directory().
663
664 2005-01-31  Angus Leeming  <leeming@lyx.org>
665
666         * lyx_main.C (priv_exec): specify explicitly the relative location
667         of the top level build directory when run in-place.
668
669 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
670
671         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
672         LyXText containing the cursor, not the top-level one.
673
674         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
675         true.
676         (insertStringAsLines): rename par to pit; use temporary variable
677         par to hold a Paragraph; do not store par.layout() in a variable,
678         since the pointer may die when breaking paragraphs; pass pars to
679         breakParagraph() instead of Buffer::paragraphs().
680
681 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
682
683         * lyxlex_pimpl.h: #include <fstream>.
684
685         * BufferView.[Ch] (getLyXText): add a const version.
686
687         * BufferView_pimpl.C: add debug aids.
688
689         * RowList_fwd.h:
690         * buffer.h:
691         * lyxrow.h:
692         * paragraph_funcs.h: add commentary explaining what the class does.
693
694
695         * coordcache.[Ch]: add lots of commentary.
696         (startUpdating, doneUpdating): debug aids.
697         (arrays, insets, parPos, getParPos): accessors to private data.
698
699         * cursor_slice.[Ch] (text): add a const version.
700         * dociterator.[Ch] (text, innerText): add const versions.
701
702         * lyxtext.h (breakParagraph): change the keep_layout arg to a
703         bool.
704
705         * paragraph.C (getRow, pos2ros): add asserts.
706
707         * paragraph.h: add commentary. Lots of.
708
709         * paragraph.[Ch] (metrucs, draw): removed.
710
711         * cursor.C:
712         * rowpainter.[Ch]: const-correct changes.
713
714         * text.C: various obvious clean-ups. Removal of ancient cruft.
715         Bug fixes, even.
716
717 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
718
719         * vc-backend.C (find_file): rewrite to use boost.filesystem
720         (scanMaster): ditto
721
722         * main.C (main): set default name check for boost.filesystem to
723         no check
724
725         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
726         (open): ditto
727         (doImport): ditto
728         (actOnUpdatedPrefs): ditto
729
730         * lyx_main.C (init): rewrite to use boost.filesystem
731         (queryUserLyXDir): ditto
732
733         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
734         (getContentsOfAsciiFile): ditto
735
736         * lastfiles.C (readFile): rewrite to use boost.filesystem
737
738         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
739
740         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
741         (loadLyXFile): ditto
742
743         * buffer.C (Buffer): adjust for destroydir
744         (getLogName): rewrite to use boost.filesystem
745         (setFileName): ditto
746         (save): use fs::copy_file (from fs_extras)
747
748         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
749
750         * LaTeX.C (run): rewrite to use boost.filesystem
751         (scanAuxFiles): ditto
752         (handleFoundFile): ditto
753
754 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
755
756         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
757
758         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
759
760 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
761
762         * lyxlayout.[Ch]: change some vars from float to double
763
764         * buffer.C (readFile): make a local var const
765
766         * Several files: use convert<> instead of atoi,strToXXX and friends
767
768 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
769
770         * LaTeXFeatures.[Ch]: Add a static list packages_ that
771         holds the contents of packages.lst. New functions getAvailable
772         and isAvailable to parse and check that list, resp.
773
774         * LyXAction.C:
775         * lfuns.h:
776         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
777
778         * bufferparams.[Ch]: new param output_changes.
779
780         * Buffer.C: increase file format to 240.
781         Use output_changes and isVailable.
782
783         * changes.[Ch]:
784         * paragraph.C:
785         * paragraph_pimpl.C: Use output_changes and isVailable.
786
787 2005-01-23  Angus Leeming  <leeming@lyx.org>
788
789         * output_latex.C: #include "insetbibitem.h", rather than
790         forward declare function bibitemWidest.
791
792 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
793
794         * lyx_main.C (init): make it compile on the Mac.
795
796 2005-01-20  Angus Leeming  <leeming@lyx.org>
797
798         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
799         (setLyXMisc): (char string literal) != (char string literal) is
800         performing a comparison on the addresses. Convert one operand
801         explicitly to string to guarantee expected behaviour.
802         From MSVC warning.
803
804 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
805
806         * buffer.C:
807         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
808
809         * output_plaintext.C: remove unneeded #include gzstream.h.
810
811 2005-01-20  Angus Leeming  <leeming@lyx.org>
812
813         * SpellBase.h: rename some of the elements of the Result enum.
814
815         * aspell_local.h:
816         * ispell.h:
817         * pspell.h:
818         * aspell.C (check):
819         * ispell.C (check):
820         * pspell.C (check): ditto
821
822 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
823
824         * buffer.C: add #include <fstream>.
825
826         * lyx_main.C (init): Compile fix.
827
828         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
829
830 2005-01-20  Angus Leeming  <leeming@lyx.org>
831
832         * mover.h: change commentary to reflect the changed meaning of
833         the $$s placeholder.
834
835 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
836
837         * output_linuxdoc.C (linuxdocParagraphs): silence warning
838
839         * lyxfind.C (MatchString::operator()): remove bogus semicolon
840
841 2005-01-20  Angus Leeming  <leeming@lyx.org>
842
843         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
844         printing diagnostic data by not dereferecing an iterator past the
845         end.
846
847 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
848
849         * buffer.C (readHeader): use "&&" rather than "and".
850
851         * lyxserver.h (inPipeName, outPipeName): make these const.
852
853 2005-01-19  Angus Leeming  <leeming@lyx.org>
854
855         * lyx_main.C (error_handler, init): protect SIGHUP with
856         #ifdef SIGHUP guards.
857
858 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
859
860         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
861
862 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
863
864         * text.C (setHeightOfRow): add a margin at the top and bottom of
865         the document (bug 1761)
866
867 2005-01-17  Angus Leeming  <leeming@lyx.org>
868
869         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
870         with "python ". Workaround for a brain-dead Windows.
871
872 2005-01-16  Angus Leeming  <leeming@lyx.org>
873
874         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
875         for MacOSX and Windows to use prependEnvPath.
876         Strip out the hard-coded block to add elements to the PATH for
877         MacOSX and replace it with a call to prependEnvPath using the
878         contents of LyXRC::path_prefix.
879         (queryUserLyXDir): strip out the code to run reconfigure, instead
880         returning a boolean indicating the necessity to do so.
881         (reconfigureUserLyXDir): contains the code to reconfigure the
882         user support directory. Is now called after the various LyXRC data
883         files have been read.
884
885         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
886
887 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
888
889         * converter.[Ch] (convert): take a new parameter try_default. Use
890         a default converter (imagemagick) if try_default is true.
891
892 2005-01-13  Angus Leeming  <leeming@lyx.org>
893
894         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
895         os::cygwin_path_fix.
896         (write): output LyXRC::cygwin_path_fix as necessary.
897
898 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
899
900         * lyxrc.h:
901         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
902
903 2005-01-12  Angus Leeming  <leeming@lyx.org>
904
905         * lyx_main.C (init): set the PATH variable to include the
906         directory containing the LyX binary when running on Mac or Windows.
907
908 2005-01-12  Angus Leeming  <leeming@lyx.org>
909
910         * lyx_main.C (init): remove cruft that purports to set the locale
911         dir. It doesn't and is not needed anyway.
912
913 2005-01-10  Angus Leeming  <leeming@lyx.org>
914
915         * Makefile.am: remove the lyx_main.C special casing.
916
917         * BufferView_pimpl.C:
918         * bufferlist.C:
919         * exporter.C:
920         * lyx_cb.C:
921         * lyx_main.C:
922         * lyxfunc.C:
923         * messages.C: use support/package.h to provide the paths to the
924         various directories used by LyX.
925
926 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
927
928         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
929         layout if pasting into an empty paragraph)
930
931 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
932
933         * tex-accent.C: add <string>
934
935 2005-01-06  José Matos  <jamatos@lyx.org>
936
937         * ParagraphParameters.C (write): put every parameter in its own line.
938         * paragraph.C (write): reduce number of consecutive empty lines exported.
939         * buffer.C (LYX_FORMAT): increase file format to 239.
940
941 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
942
943         * everywhere: change support/tostr.h -> support/convert.h
944
945         * tabular.C: make all write_attributes templates, tostr -> convert
946
947         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
948         (emptyTag): and -> &&, and fix type for ret from getChar
949         (getFirstWord): fix type for ret from getChar
950         (onlyText): and -> &&
951         (simpleDocBookOnePar): and not -> && !, fix type for ret from
952         getChar
953
954         * toc.C (goTo, action):
955         * text3.C (dispatch):
956         * text.C (currentState):
957         * tex-accent.C (DoAccent):
958         * sgml.C:
959         * lyxrc.C:
960         * lyxfunc.C (menuNew):
961         * lyxfinc.C (replace):
962         * counters.C (laberItem):
963         * bufferview_funcs.C (font2string):
964         * bufferparams.C (writeFile):
965         * buffer.C (readFile):
966         * Spacing.C (set):
967         * MenuBackend.C: tostr -> convert
968
969         * LaTeX.C (runMessage): fix format
970         (scanAuxFiles): tostr -> convert
971
972         * BufferView_pimpl.C (savePosition): fix format
973         (restorePosition): ditto
974         (dispatch): ditto
975
976 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
977
978         * Spacing.[Ch]: New method getValueAsString().
979
980         * Spacing.[Ch]:
981         * bufferparams.C:
982         * ParagraphParameters.C:
983         * lyxlayout.C:
984         * text.C:
985         * text3.C: store/read spacing value as string.
986
987         * rowpainter.C: change float value (spacing_val) to double.
988
989         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
990         broken custom document spacing).
991
992 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
993
994         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
995         namespace, also more use of temp references and const
996
997         * cursor.[Ch] (getStatus): move to lyxfunc.C
998
999         * bufferparams.C: reformat slightly
1000
1001         * bufferview_funcs.C (font2string): constify arg
1002
1003         * changes.C:
1004         * converter.C:
1005         * counters.C:
1006         * bufferlist.C:
1007         * buffer_funcs.C: (many funcs): constify arg on function
1008         definitions, also make more local vars const, also add ASSERTS on
1009         pointer args.
1010
1011         * buffer.C (LYX_FORMAT): put const in correct place
1012         (many funcs): constify arg on function definitions, also make
1013         more local vars const
1014
1015         * aspell_local.h: remove "struct" from typdef setup
1016
1017         * aspell.C (check): make word_ok const
1018         (nextMiss): simplify slightly
1019         (error): ditto
1020
1021 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1022
1023         * lyxrc.[Ch]: store all float values as strings.
1024         use int (not float) for lyxrc.dpi.
1025
1026 2005-01-04  Angus Leeming  <leeming@lyx.org>
1027
1028         * lyx_cb.C (Reconfigure):
1029         * lyx_main.C (queryUserLyXDir):
1030         to run the <system_lyxdir>/configure correctly on Windows, prefix
1031         the path to the script with "sh " when generating the string that
1032         is passed to system().
1033
1034 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1035
1036         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1037
1038 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1039
1040         * lyxlength.C (asLatexString): get rid of setprecision
1041
1042 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1043
1044         * text2.C (setLayout): remove unused variable endpit.
1045         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1046
1047         * paragraph.C (onlyText): remove unused variable style.
1048
1049         * cursor.C (bruteFind): remove unused variables beg and end.
1050
1051         * Makefile.am (dist_noinset_DATA): not needed anymore
1052
1053         * cheaders/*: remove.
1054
1055 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1056
1057         * text3.C: fix LFUN_MATH_MODE.
1058
1059 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1060
1061         * buffer_funcs.C (countWords): new function. Counts words between
1062         two iterators.
1063
1064         * BufferView_pimpl.C (getStatus, dispatch): handle
1065         LFUN_WORDS_COUNT.
1066
1067         * LyXAction.C (init):
1068         * lfuns.h: add LFUN_WORDS_COUNT.
1069
1070 2004-12-19  Angus Leeming  <leeming@lyx.org>
1071
1072         * buffer.C (save): s/slashify_path/internal_path/.
1073
1074 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1075
1076         * lyxfind.C (findChange): do not search for end of pars, because
1077         the change tracker cannot handle this (fixes bug 1719).
1078
1079 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1080
1081         * paragraph.[Ch] (autoBreakRows): remove
1082
1083         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1084
1085         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1086         avoid using the paragraph one
1087
1088         * text2.C (LyXText, insertStringAsLines): adjust
1089
1090 2004-12-16  Angus Leeming  <leeming@lyx.org>
1091
1092         * bufferlist.C:
1093         * lyx_main.C:
1094         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1095
1096 2004-12-14  Angus Leeming  <leeming@lyx.org>
1097
1098         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1099
1100         * bufferlist.C (emergencyWrite):
1101         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1102         GetEnvPath("HOME").
1103
1104 2004-12-14  Angus Leeming  <leeming@lyx.org>
1105
1106         * main.C: (main): no longer pass pointers to os::init.
1107
1108 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1109
1110         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1111         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1112
1113 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1114
1115         * lyxfunc.C:
1116         * text3.C: remove selection_possible global flag
1117
1118 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1119
1120         * text2.C (getSelectionSpan): remove
1121         (changeDepth, changeDepthAllowed): adjust
1122
1123 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1124
1125         * Makefile.am (BOOST_LIBS): use boost variables
1126
1127 2004-12-03  José Matos  <jamatos@lyx.org>
1128
1129         * buffer.C: format up to 238.
1130
1131 2004-12-03  José Matos  <jamatos@lyx.org>
1132
1133         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1134
1135 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1136
1137         * cursor.C (goUpDown): remove call to idxUpDown2
1138
1139 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1140
1141         * tabular.[Ch]: use size_t-like types for cell, row and column
1142         indices
1143
1144 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1145
1146         * lyxfunc.C (getStatus): do not lose previous information when
1147         calling BufferView::getStatus; do not set a default "Command
1148         disabled" message at the beginning, but just before returning.
1149
1150 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1151
1152         * cursor.h (getStatus): add better comment from src/cursor.C
1153
1154 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1155
1156         * text3.C (getStatus): return false when the lfun is not handled
1157
1158 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1159
1160         * broken_headers.h: remove
1161
1162         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1163
1164 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1165
1166         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1167         offset_ref accessors
1168
1169         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1170         top_y_, merge fitcursor with update
1171         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1172         coord scheme
1173         (metrics): introduce
1174         (workAreaDispatch): adapt to new coord scheme
1175         (redoCurrentBuffer): remove
1176
1177         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1178
1179         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1180         CurStatus enum.
1181
1182         * coordcache.[Ch]: add paragraph cache and helpers
1183
1184         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1185         adjust everywhere
1186
1187         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1188         (targetX, setTargetX): introduce
1189
1190         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1191         baseline -> ascent, as the rest of lyx
1192
1193         * lyxtext.h: remove redoParagraphs, updateParPositions,
1194         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1195         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1196         have ascent/descent (ascent is ascent of first par)
1197
1198         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1199         step of BufferView
1200
1201         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1202
1203         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1204
1205         * pariterator.C: fix infinite loop introduced in par->pit renaming
1206
1207         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1208         in insets and LyXText, draw two off-screen paragraphs using
1209         NullPainter, and adapt to new coord scheme
1210
1211         * text.C:
1212         * text2.C:
1213         * text3.C: adapt lfun handlers to the new coord scheme, which
1214         means: there's only guaranteed coord information for onscreen pars
1215         plus one above and one below. This implies that one can do search
1216         from y coordinates in the range [-1,workHeight]
1217
1218 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1219
1220         * rename a lot of InsetOld to InsetBase
1221
1222 2004-11-25  Angus Leeming  <leeming@lyx.org>
1223
1224         * BufferView_pimpl.C:
1225         * lyx_cb.C:
1226         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1227
1228 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1229
1230         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1231         call BufferView::getStatus if LCursor::getStatus did nothing
1232         (setStatusMessage, getStatusMessage): removed.
1233
1234         * FuncStatus.C (message): new methods. Used to provide an error
1235         message indicating why a command is disabled.
1236         (clear, |=, FuncStatus): update for message.
1237
1238 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1239
1240         * lyxfunc.C (dispatch): always call sendDispatchMessage
1241
1242 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1243
1244         * BufferView.C:
1245         * BufferView_pimpl.C:
1246         * CutAndPaste.C:
1247         * FontIterator.C:
1248         * buffer.C:
1249         * cursor.C:
1250         * cursor_slice.[Ch]:
1251         * dociterator.[Ch]:
1252         * lyxfind.C:
1253         * paragraph_funcs.C:
1254         * pariterator.C:
1255         * rowpainter.C:
1256         * text.C:
1257         * text2.C:
1258         * text3.C:
1259         * undo.C: par->pit renaming
1260
1261 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1262
1263         * tabular.C (cellstruct): use initialization, store a shared_ptr
1264         to insettext instead of the insettext directly, adjust to fit.
1265         (operator=):  new function
1266         (swap): new function
1267         (rowstruct): use initialization
1268         (columnstruct): use initialization
1269         (ltType): use initialization
1270
1271
1272         * lyxlength.h (swap): new function
1273
1274         * LColor.[Ch] (operator=): use the common semantics
1275
1276 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1277
1278         * lyxfind.C (findNextChange): update the bufferview after setting
1279         the selection.
1280
1281 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1282
1283         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1284         number of InsetOptArgs has already been inserted.
1285
1286         * output_latex.C (latexOptArgInsets): new method. This outputs all
1287         the optarg insets, up to the limit defined in the layout file.
1288         (optArgInset): removed
1289         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1290
1291 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1292
1293         * paragraph.C (isLetter): remove special spellchecker-related
1294         code; return true also for digits
1295         (isWord, isKomma): remove
1296
1297         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1298         * lyxfind.C (MatchString()): use isLetter instead of isWord
1299
1300 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1301
1302         * pariterator.h (operatir=): comment out un-implemented member
1303         function.
1304
1305         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1306         static cast.
1307
1308 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1309
1310         * lyxfont.h: include LColor.h to satisfy concept checks.
1311
1312 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1313
1314         * pariterator.h: add typdefs for value_type, difference_type,
1315         pointer and reference to satisfy concept checks. Also add default
1316         constructor for same reason.
1317
1318         * pariterator.C (operator++): add post-increment operator to
1319         satisfy concept checks.
1320
1321         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1322         checks.
1323
1324         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1325
1326         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1327         checks. Also rename base_type to BaseType to follow naming
1328         standard better.
1329
1330         * FloatList.h: include Floating.h to satisfy concept checks.
1331
1332 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1333
1334         * lyxfunc.C (getStatus): when the origin of the request is menu or
1335         toolbar, and the LyXView does not have focus, do as if there was
1336         no buffer (bug 1720)
1337
1338         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1339         FuncRequest to individual entries of LFUN_SEQUENCE
1340
1341 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1342
1343         * output_latex.C (TeXOnePar): override runparams.moving_arg
1344         according to the needprotect value of the current paragraph (bug
1345         1739)
1346
1347         * paragraph.C (simpleTeXOnePar): no need to override
1348         runparams.moving_args here
1349
1350 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1351
1352         * vspace.C: fix off-by-one-error, related to fix #1682
1353
1354 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1355
1356         * lengthcommon.C: a more general fix for bug 1682
1357
1358 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1359
1360         * text.C (backspace): fix crash
1361
1362 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1363
1364         * format.[Ch] (getFormatFromFile): new method
1365         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1366
1367 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1368
1369         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1370
1371 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1372
1373         * lyxfunc.C (dispatch): remove the verbose argument
1374         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1375         instead
1376
1377         * kbmap.C (defkey): set the origin of func to KEYBOARD
1378
1379         * MenuBackend.C (MenuItem):
1380         * ToolbarBackend.C (add): set the origin of func to UI
1381
1382         * funcrequest.[Ch]: add origin member, which indicates which part
1383         of LyX requests an action
1384
1385 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1386
1387         * converter.C (move): don't lie in the error message
1388         * converter.h (isReachable, move): document
1389
1390 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1391
1392         * buffer.C: remove unused using lyx::support::atoi
1393         * paragraph_funcs.C: ditto
1394
1395 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1396
1397         * bufferlist.C (exists): use bind and equal_to instead of
1398         compare_memfun
1399         (getBuffer): ditto
1400         * lyxtextclasslist.C (NumberOfClass): ditto
1401
1402         * cursor.C (insert): use for_each instead of explicit for loop
1403
1404         * bufferlist.C (getFileNames): use std::transform and
1405         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1406
1407         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1408         for loop
1409
1410         * buffer.C (changeLanguage): use for_each instead of explicit for
1411         loop
1412         (hasParWithID): implement using getParFromID
1413
1414         * LaTeXFeatures.C: ws change only
1415
1416         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1417         to cleanup a bit.
1418
1419         * BufferView_pimpl.C (trackChanges): use for_each instead of
1420         expilicit for loop
1421
1422 2004-11-04  André Pönitz  <poenitz@gmx.net>
1423
1424         * undo.h:
1425         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1426
1427         * dociterator.C (asDocIterator): use hard assert again.
1428
1429 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1430
1431         * lyxlength.C (asLatexString): rewrite so that it does not use
1432         snprintf anymore
1433
1434 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1435
1436         * text3.C (specialChar, dispatch): make sure cursor moves to the
1437         right after inserting an inset
1438
1439 2004-11-02  José Matos  <jamatos@lyx.org>
1440
1441         * output_docbook.C (docbook):
1442         * paragraph.C (getID):
1443         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1444         garantee that the output is always legal.
1445
1446         * tabular.C (docbook):
1447         * outputprams.[Ch]: remove mixed contents.
1448
1449 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1450
1451         * text2.C (setCounter): prevent endless loop
1452
1453 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1454
1455         * exporter.C (copyFile): use the mover instead of support::copy()
1456         * exporter.C (Export): pass format and latex name to copyFile()
1457         * exporter.h (addExternalFile): document
1458         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1459
1460 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1461
1462         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1463
1464 2004-10-30  José Matos  <jamatos@lyx.org>
1465
1466         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1467         text and no inset or font change. This allows to use CDATA
1468         sections just for the whole paragraph.
1469
1470 2004-10-30  José Matos  <jamatos@lyx.org>
1471
1472         * paragraph.C (getFirstWord): remove unused variable.
1473
1474 2004-10-30  José Matos  <jamatos@lyx.org>
1475
1476         * paragraph.C (getFirstWord): the content should always be escaped
1477         there.
1478         (simpleDocBookOnePar):
1479         * output_docbook.C (makeEnvironment): replace reference to CDATA
1480         to style pass_thru.
1481
1482 2004-10-30  José Matos  <jamatos@lyx.org>
1483
1484         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1485
1486 2004-10-30  José Matos  <jamatos@lyx.org>
1487
1488         * output_docbook.C (makeParagraphs):
1489         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1490         standard paragraph has only a given type of content drop the wrapper.
1491
1492 2004-10-29  José Matos  <jamatos@lyx.org>
1493
1494         * output_docbook.C (makeEnvironment):
1495         * sgml.C (openTag):
1496         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1497
1498 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1499
1500         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1501         (cleanID): sanitize any id.
1502
1503 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1504
1505         * buffer.C, lyxlex_pimpl.C:
1506         * lyxlex_pimpl.C (setFile):
1507         s/getExtFromContents/getFormatFromContents/
1508
1509 2004-10-28  José Matos  <jamatos@lyx.org>
1510
1511         * output_docbook.C (makeEnvironment): move id to broadest possible
1512         scope.
1513
1514         * sgml.C (openTag): apply substitution of <> for all attributes.
1515
1516 2004-10-28  José Matos  <jamatos@lyx.org>
1517
1518         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1519         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1520         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1521
1522         * sgml.[Ch]: new version for open and closeTag for paragraph and
1523         for strings. Now they handle the ids of paragraphs.
1524
1525 2004-10-26  Angus Leeming  <leeming@lyx.org>
1526
1527         * Makefile.am: add mover.[Ch].
1528
1529         * converter.C (convert, move): use the new Movers to move external
1530         files to the temp directory.
1531
1532         * lyx_main.C (init): ensure that the global system_movers data
1533         is initialised.
1534
1535         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1536         preferences file.
1537
1538         * mover.[Ch]: new files, defining a Mover as a utility to move an
1539         external file between directories and, if necessary, manipulate this
1540         file using a helper script.
1541
1542 2004-10-25  José Matos  <jamatos@lyx.org>
1543
1544         * output_docbook.C (makeCommand): merge two if's that tested the
1545         same condition.
1546
1547 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1548
1549         * sgml.C (escapeString): fix warning in a better way
1550
1551 2004-10-25  José Matos  <jamatos@lyx.org>
1552
1553         * sgml.C (escapeString): import the require boosts header file for
1554         tie, and avoid a signed unsigned comparison.
1555
1556 2004-10-25  José Matos  <jamatos@lyx.org>
1557
1558         * sgml.h: add #include <string>
1559
1560 2004-10-25  José Matos  <jamatos@lyx.org>
1561
1562         * sgml.[Ch] (escapeString): new function to escape all the string.
1563
1564 2004-10-24  José Matos  <jamatos@lyx.org>
1565
1566         * paragraph.[Ch] (getFirstWord): new function to get the first
1567         word. Useful for description.
1568         (simpleDocBookOnePar): remove depth argument, add another that
1569         says where to start the paragraph.
1570
1571         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1572         use the new functions to fix cleanly the support for descriptions.
1573
1574 2004-10-24  José Matos  <jamatos@lyx.org>
1575
1576         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1577         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1578         * output_linuxdoc.C (linuxdocParagraphs):
1579         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1580         add buffer as argument.
1581
1582 2004-10-24  José Matos  <jamatos@lyx.org>
1583
1584         * output_docbook.C (makeEnvironment, searchEnvironment): place
1585         CDATA inside paragraphs and fix scope for listitems.
1586
1587 2004-10-24  José Matos  <jamatos@lyx.org>
1588
1589         * output_docbook.C: remove using statement for stack.
1590
1591 2004-10-23  José Matos  <jamatos@lyx.org>
1592
1593         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1594         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1595         docbook. The new scheme is recursive and makes use of iterators, the
1596         same as latex export works.
1597         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1598         directly with the paragraph contents. This code was moved up to
1599         output_docbook.C (docbookParagraphs).
1600         * sgml.C (openTag, closeTag): removed unneeded newlines.
1601         (closeEnvTags) removed.
1602
1603 2004-10-23  André Pönitz  <poenitz@gmx.net>
1604
1605         * undo.C (textUndoOrRedo):
1606         * dociterator.C (asDocIterator): work around crash
1607
1608         * cursor.C (getStatus): replace ASSERT by more verbose error message
1609           and manual correction of the problem. Should increase stability
1610           while providing more sensible information.
1611
1612 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1613
1614         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1615
1616         * bufferlist.C (previous, next): new methods
1617
1618         * lfuns.h:
1619         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1620
1621 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1622
1623         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1624         entities to preamble.
1625
1626 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1627
1628         * messages.C (Pimpl): strip off translation context information
1629
1630 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1631
1632         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1633         the cursor is correct (bug 1694)
1634
1635 2004-10-13  José Matos  <jamatos@lyx.org>
1636
1637         * output_docbook.C (docbookParagraphs): fix closing tags in the
1638         end of the document.
1639
1640 2004-10-09  José Matos  <jamatos@lyx.org>
1641
1642         * buffer.C: format up to 237.
1643         * bufferparams.C (write): use tostr to convert booleans to strings.
1644
1645 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1646
1647         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1648
1649 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1650
1651         * LaTeX.C: implement use of babel language in xindy.
1652
1653 2004-10-05  José Matos  <jamatos@lyx.org>
1654
1655         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1656         Add new translators to help reading and writing the lyx file.
1657
1658 2004-10-05  José Matos  <jamatos@lyx.org>
1659
1660         * ParagraphParameters.C (read):
1661         * text.C (readParToken): replace nexToken by more appropriate lex
1662         methods.
1663
1664 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1665
1666         * LaTeX.C (runMakeIndex):
1667         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1668         (usually 'makeindex') configurable.
1669
1670         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1671         with a variable rather than with a number.
1672
1673 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1674
1675         * output_latex.C (TeXOnePar): make sure font setting is the first
1676         thing that gets output (and the last at the end). Should fix bug
1677         1404.
1678
1679 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1680
1681         * pch.h: use proper signal include
1682
1683         * LaTeX.h: Use preferred calling of Boost.Signal
1684         * buffer.h: ditto
1685
1686 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1687
1688         * pch.h: dont include <boost/function/function0.hpp>
1689
1690         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1691
1692         * paragraph_pimpl.h: remove usage of ShareContainer
1693
1694         * paragraph_pimpl.C: remove initialization of ShareContainer.
1695
1696 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1697
1698         Fix bug #1666
1699
1700         * BufferView.C (putSelectionAt): change the semantics when
1701         backwards == true: now, this just swaps cursor and anchor wrt the
1702         forward case
1703
1704         * BufferView.h (putSelectionAt): add some documentation
1705
1706         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1707         make sure backwardChar is done at least once (to avoid getting
1708         stuck)
1709         (findNextChange): use putSelectionAt in the forward direction
1710         (operator()): use Paragraph::isWord
1711
1712 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1713
1714         * Spacing.C (set): c_str fix
1715
1716 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1717
1718         * lyx_cb.C (Reconfigure): quote the name of configure script in
1719         case it contains spaces
1720
1721 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1722
1723         * client: new dir
1724
1725         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1726         (BOOST_LIBS): use top_buildir when looking for the file
1727
1728 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1729
1730         * pch.h: do not use include boost/format.hpp, multiple symbols
1731                 will result (gcc bug)
1732
1733
1734 2004-08-23  José Matos  <jamatos@lyx.org>
1735
1736         * bufferparams.C (readToken): fix reading of the author field.
1737
1738 2004-08-20  José Matos  <jamatos@lyx.org>
1739
1740         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1741
1742 2004-08-20  José Matos  <jamatos@lyx.org>
1743
1744         * lyxlex.[Ch] (findToken): remove function.
1745
1746         * ParagraphParameters.C (findToken):
1747         * bufferparams.C (findToken): replace call for previous function
1748         with local copy. This local function has one more argument, the
1749         read string argument.
1750
1751 2004-08-16  José Matos  <jamatos@lyx.org>
1752
1753         * ParagraphParameters.C (write):
1754         * Spacing.C (writeFile):
1755         * bufferparams.C (writeLaTeX):
1756         * lyx_cb.C (Reconfigure):
1757         * paragraph.C (write):
1758         * tabular.C (write): remove unnecessary space at end of line.
1759
1760
1761 2004-08-16  José Matos  <jamatos@lyx.org>
1762
1763         * text.C (readParagraph): remove debug message.
1764
1765 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1766
1767         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1768         crash
1769
1770         * output_plaintext.C (asciiParagraph): set depth correctly
1771
1772         * outputparams.h: add member depth
1773
1774         * paragraph_funcs.C (ownerPar): remove.
1775
1776         * text2.C (setCounter): remove first_pit; comment out some
1777         non-working code that uses ownerPar
1778
1779         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1780         uses ownerPar
1781
1782 2004-08-16  José Matos  <jamatos@lyx.org>
1783
1784         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1785         For the same level of importance use the same chanel to report problems.
1786         (read): add code to deal with \begin_body and \end_body.
1787
1788
1789 2004-08-15  José Matos  <jamatos@lyx.org>
1790
1791         * lyxlex.C (getString): fix comment, buffer::readBody is now
1792         buffer:readDocument.
1793
1794         * tex-strings.C (string_papersize): Default -> default,
1795         Custom -> custom, for consistency with other options.
1796
1797 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1798
1799         * pch.h: new file
1800
1801         * Makefile.am: support pch
1802
1803 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1804
1805         * text.C (readParToken): remove the static LyXFont variable and
1806         pass it as a parameter instead. This fixes a nasty bug where an
1807         inset will be inserted with a bad font in some situations
1808         (readParagraph): adapt
1809
1810         * text2.C (setCounter): reduce number of calls to pars_[pit]
1811
1812         * text.C (singleWidth): add an assert, fix a test
1813
1814         * rowpainter.C (paintText): reduce number of calls to singleWidth
1815
1816         * paragraph.C (isHfill):
1817         (isNewline): ws only
1818
1819 2004-08-14  André Pönitz  <poenitz@gmx.net>
1820
1821         * text.C:
1822         * text2.C:
1823         * rowpainter.C:
1824         * lyxtext.h (several functions): use a Paragraph & argument
1825         instead of par_type
1826
1827 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1828
1829         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1830
1831         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1832
1833         * text.C (singleWidth): remove useless test
1834
1835 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1836
1837         * tabular.h: remove bogus comments
1838
1839         * tabular.C (getDescentOfRow):
1840         (isPartOfMultiColumn): add assertions
1841
1842         * lyxlength.C (inPixels): remove #warning
1843
1844 2004-08-14  André Pönitz  <poenitz@gmx.net>
1845
1846         * paragraph.h: inline getChar()
1847
1848         * BufferView.h: remove unused declarations
1849
1850 2004-08-14  José Matos  <jamatos@lyx.org>
1851
1852         * Buffer.[Ch] (readDocument): new name for old readBody.
1853         * Buffer.C: new file format, new keywords: \begin_document,
1854         \begin_header, \begin_body, \end_body.
1855
1856         * bufferparams.C (readToken): replace all calls to lex.nextToken
1857         by lex.next(). Do the same to eatLine except where really needed.
1858
1859         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1860         line when writing to the lyx file.
1861
1862         * output_plaintext.C (asciiParagraph): fix Bibliography style
1863         handling.
1864
1865         * text.C (read): fix end of file handling.
1866
1867 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1868
1869         * MenuBackend.C (Menu::operator[]): new method to access
1870         individual menu items
1871         (Menu::hasFunc): new method. search for an item that corresponds
1872         to a given func
1873         (MenuBackend::specialMenu): new method
1874         (MenuBackend::expand): if a special menu has been set, skip
1875         entries whose func() appears in this menu
1876
1877 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1878
1879         * text3.C: use Debug::DEBUG a bit more
1880
1881         * text.C (leftMargin): try to simplify a tiny bit change var x to
1882         l_margin. Dont output the wide margins always.
1883         (rightMargin): no margin in inner texts
1884
1885         * rowpainter.h (nestMargin): new func
1886         (changebarMargin): new func
1887         (rightMargin): new func
1888
1889         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1890         now functions.
1891         (paintLast): ditto
1892
1893         * factory.C (createInset): modify setDrawFrame
1894
1895         * cursor.C: use Debug::DEBUG a bit more
1896
1897 2004-08-14  André Pönitz  <poenitz@gmx.net>
1898
1899         * coordcache.[Ch]:
1900         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1901         cache for all insets in (at least partially) visible (top-level)
1902         paragraphs.
1903
1904         * BufferView_pimpl.C: reset external coord cache before every update.
1905         This means the coord cache only contains valid entries.
1906
1907 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1908
1909         bug 1096
1910         * BufferView_pimpl.C (getInsetByCode): move function out of class
1911         and change in to a template in anon namespace. Also fix to do what
1912         suits us better.
1913
1914 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1915
1916         bug 1305
1917         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1918         of char
1919         (breakParagraph): rename par to par_offset and use a local
1920         reference. Add code to keep the language over a rebreak.
1921         (breakParagraphConservative): rename par to par_offset, use a
1922         local reference
1923         (mergeParagraph): ditto
1924         (outerHook): ditto
1925         (isFirstInSequence): ditto
1926         (outerFont): rename pit to par_offset
1927
1928         * paragraph.C: ws change
1929         * paragraph.h: ditto
1930         * text3.C: ditto
1931         * text.C: ditto
1932
1933 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1934
1935         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1936         treatment for ']'
1937
1938         * paragraph.C (simpleTeXOnePar): when we have a \item with
1939         optional argument, enclose the argument with curly brackets (in
1940         case it contains a closing square bracket)
1941
1942         * text2.C (editXY):
1943         * text2.C (editXY):
1944         * text3.C (checkInsetHit): constify
1945
1946 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1947
1948         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1949         documents (bug 1629)
1950
1951 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1952
1953         Fix toggling of collapsable insets with the mouse (bug 1558)
1954
1955         * lyxfunc.C (dispatch): adapt to LCursor changes
1956
1957         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1958         make sure that dispatch is not invoked twice
1959
1960         * cursor.C (needsUpdate): new method
1961         (dispatch): return void
1962         (result): new method, to access the DispatchResult of the cursor.
1963
1964 2004-08-13  José Matos  <jamatos@lyx.org>
1965
1966         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1967
1968 2004-08-13  André Pönitz  <poenitz@gmx.net>
1969
1970         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1971
1972         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1973           multiple cells
1974
1975 2004-08-12  André Pönitz  <poenitz@gmx.net>
1976
1977         * text3.C: take out the 'cursor right' form insertInset and only
1978         do it in those places when it is really needed. Fixes crash on
1979         C-m...
1980
1981 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1982
1983         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1984
1985         * BufferView_pimpl.C (setBuffer): initialize the current font of
1986         the underlying LyXText
1987
1988 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1989
1990         * kbsequence.C (print): use UI native formatting for menu
1991         shortcuts
1992
1993         * text.C (insertChar): call Paragraph::insertChar with a font
1994         argument (cosmetic)
1995
1996         * paragraph.C (insertInset, insertChar): the version that takes a
1997         LyXFont argument is now a wrapper around the other one (the
1998         opposite used to be true).
1999
2000         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2001         argument. Font setting is done in Paragraph now.
2002
2003 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2004
2005         * outputparams.h: add new members intitle and lang.
2006
2007         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2008         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2009
2010 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2011
2012         * text3.C (dispatch): remove special handling of button 4 and 5,
2013         it is now taken care of in the frontend code.
2014
2015 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2016
2017         * Spacing.h: add <string> (STLPort compile fix)
2018
2019 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2020
2021         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2022
2023 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2024
2025         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2026         to bool.
2027
2028         * converter.C (showMessage): inherit from unary_function, make
2029         operator() const.
2030
2031         * buffer.C (writeFile): initialize retval
2032
2033         * InsetList.h: rename private variable list to list_
2034         * InsetList.[Ch]: adjust accordingly.
2035
2036 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2037
2038         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2039         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2040         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2041         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2042         * ParagraphParameters.C, LaTeXFeatures.C: replace
2043         "support/std_sstream.h" with <sstream>
2044
2045 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2046
2047         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2048         * lyxsocket.C (LyXServerSocket): ditto
2049         (serverCallback): ditto
2050
2051 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2052
2053         * LaTeXFeatures.C: check release date when loading jurabib.
2054
2055 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2056
2057         * lyxserver.C (startPipe): call register_socket_callback
2058         (endPipe): call unregister_socket_callback
2059
2060 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2061
2062         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2063         (LyXServerSocket): register the callback
2064         (LyXServerSocket): unregister the callback
2065         (fd): delete function
2066         (serverCallback): improve error checking and setup the callbacks.
2067         (dataCallback): change arg to fd.
2068         (writeln): new func (copied fro the client socket) used for server
2069         write to client.
2070         (LyXDataSocket): simplify
2071         (~LyXDataSocket): close ann unregiser callback
2072         (server): delete function
2073         (fd): delete function
2074         (readln): small changes, improve some std::string usage
2075         (writeln): constify a bit
2076
2077 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2078
2079         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2080         Qt frontend
2081
2082 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2083
2084         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2085         after it has been populated
2086
2087 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2088
2089         * text2.C (insertInset): move cursor when inserting inset.
2090
2091 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2092
2093         * kbmap.C (findbindings): a couple of new methods. returns a
2094         container of kb_sequence objects. The real work is done by the
2095         private recursive version
2096         (printbindings): uses findbindings to print out a bracketed list
2097         of bindings (renamed from findbinding).
2098
2099         * MenuBackend.C (binding): use kb_keymap::findbindings
2100
2101         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2102
2103 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2104
2105         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2106
2107 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2108
2109         * paragraph.C (isWord): return true on insets that report
2110         isLetter().
2111
2112         * text.C (getWord): use Paragraph::isWord to decide what is in a
2113         word and what is not; fix bug 1609.
2114
2115 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2116
2117         * tex-strings.C: add "none" to string_paperpackages[], fixes
2118         off-by-one-error in the paperpackage selection.
2119
2120         * lyxlex.[Ch]:
2121         * tex-strings.[Ch]: char const * string[n]
2122         -> char const * const string[]
2123
2124 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2125
2126         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2127         command, return early.
2128
2129 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2130
2131         * debug.h: add DEBUG to enum and fix size of ANY.
2132
2133         * debug.C: add support for Debug::DEBUG
2134         (showTags): cast errorTags.level to unsigned int
2135
2136         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2137         (redoCurrentBuffer): ditto
2138         (updateScrollbar): ditto
2139         * cursor.C (dispatch): ditto
2140         * text2.C (setLayout): ditto
2141         (setFont): ditto
2142         (updateCounters): ditto
2143         (editXY): ditto
2144         (deleteEmptyParagraphMechanism): ditto
2145
2146 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2147
2148         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2149         annotations to cleanup the Makefile slightly.
2150
2151 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2152
2153         * lyxrc.C: do not set user_email to a default value but use empty
2154         instead. The entry used to be translated, which does not work
2155         since at the point where lyxrc is constructed there is no
2156         translation service available
2157
2158         * messages.C (getLocaleDir): remove and use directly
2159         lyx_localedir() instead
2160
2161 2004-06-02  Angus Leeming  <leeming@lyx.org>
2162
2163         Fix crash caused by dereferencing null pointer 'exportdata' in
2164         OutputParams by creating a new ExportData variable on the heap,
2165         storing it in a boost::shared_ptr.
2166         The crash was triggered when generating an Instant Preview
2167         of an external inset.
2168
2169         * Makefile.am: add outputparams.C
2170
2171         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2172         (c-tor): allocate memory to it.
2173
2174         * exporter.C (c-tor): associated changes.
2175
2176 2004-06-01  Angus Leeming  <leeming@lyx.org>
2177
2178         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2179         contains data before calling isInset(0). (Bug 1513.)
2180
2181 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2182
2183         * exporter.C (checkOverwrite): new method
2184         * exporter.C (copyFile): new method
2185         * exporter.C (Export): copy referenced files to the document dir
2186         * exporter.[Ch]: new class ExportedFile
2187         * exporter.[Ch]: new class ExportData. Contains currently the
2188         names of referenced external files
2189         * outputparams.h: add exportdata member.
2190
2191 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2192
2193         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2194         version.C-tmp
2195
2196 2004-05-19  Angus Leeming  <leeming@lyx.org>
2197
2198         * LaTeXFeatures.C:
2199         * ToolbarBackend.C:
2200         * bufferparams.C:
2201         * lyxfunc.C: small changes due to the introduction of namespace
2202         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2203
2204 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2205
2206         * text3.C (dispatch): supress update when only moving the cursor
2207         * cursor.C (selHandle): remove commented code
2208
2209 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2210
2211         * paragraph.C (startTeXParParams): correct column count
2212         * CutAndPaste.C (pasteSelection): remove const_cast
2213         * output_docbook.C (docbookParagraphs): remove const_cast
2214         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2215         const_cast and return ParagraphList::const_iterator
2216         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2217         * output_plaintext.C (writeFileAscii): remove const_cast
2218         * paragraph.[Ch] (simpleTeXOnePar): make const
2219         * paragraph_funcs.C (outerPar): use const iterators
2220         * paragraph_pimpl.C (validate): use const iterators
2221         * text.C (setHeightOfRow): use const iterators
2222
2223 2004-05-17  Angus Leeming  <leeming@lyx.org>
2224
2225         * lfuns.h:
2226         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2227
2228         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2229         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2230         if the citation engine has changed.
2231
2232 2004-05-14  José Matos  <jamatos@lyx.org>
2233
2234         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2235         if the textclass does not provide it. Have it different for sgml and
2236         xml.
2237         support the language of document.
2238         * output_docbook.C (docbookParagraphs):
2239         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2240         first anchor as the id of the paragraph, remove special case code.
2241         * sgml.C (escapeChar): escape only < & >.
2242
2243 2004-05-14  Angus Leeming  <leeming@lyx.org>
2244
2245         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2246         dependencies on src/frontends/controllers/biblio.h. Define a
2247         CiteEngine_enum wrapper class to enable the enum to be forward
2248         declared.
2249
2250 2004-05-12  Angus Leeming  <leeming@lyx.org>
2251
2252         * buffer.C: up LYX_FORMAT to 234.
2253         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2254         use_numerical_citations with a single biblio::CiteEngine cite_engine
2255         variable.
2256         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2257
2258 2004-05-13  José Matos  <jamatos@lyx.org>
2259
2260         * converter.h:
2261         * converter.C (Converter, readFlags): add xml member.
2262         * outputparams.h: add XML flavor.
2263         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2264
2265 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2266
2267         * lyxfunc.C (dispatch):
2268         (getStatus): fix handling of LFUN_SEQUENCE
2269
2270 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2271
2272         * debug.C (showLevel): do not forget the end-of-line marker
2273
2274 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2275
2276         * kbmap.C (read): do not stop parsing a bind file when an error
2277         occurs (bug 1575)
2278
2279 2004-04-29  Angus Leeming  <leeming@lyx.org>
2280
2281         * cursor.C:
2282         * factory.C:
2283         * pariterator.C:
2284         * text2.C: wrap a bunch of #warning statements
2285         inside #ifdef WITH_WARNINGS blocks.
2286
2287 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2288
2289         * buffer.C: increment format to 233.
2290
2291 2004-04-28  Angus Leeming  <leeming@lyx.org>
2292
2293         * BufferView_pimpl.C:
2294         * lyxfunc.C:
2295         * text3.C:
2296         s/updateToolbar()/updateToolbars()/
2297         s/Toolbar.h/Toolbars.h/
2298
2299 2004-04-28  Angus Leeming  <leeming@lyx.org>
2300
2301         * BufferView.[Ch] (c-tor):
2302         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2303         No longer passes these data to the WorkArea generator.
2304
2305 2004-04-28  Angus Leeming  <leeming@lyx.org>
2306
2307         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2308
2309 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2310
2311         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2312
2313 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2314
2315         * output_latex.C (TeXEnvironment): make sure that there is a line
2316         break before \end{foo} for the last paragraph of a document
2317         (TeXOnePar): if the paragraph is at the end of the document (or
2318         inset) and the language has to be reset, then make sure that the
2319         line break is _before_ the language command, not after (fixes bug
2320         1225); also make sure that the language reset command is the first
2321         thing after the paragraph (to ensure proper nesting of
2322         environments and thus fix bug 1404)
2323
2324 2004-04-21  John Levon  <levon@movementarian.org>
2325
2326         * ToolbarBackend.h:
2327         * ToolbarBackend.C: make "name" be a programmatic name
2328         and a gui_name field.
2329
2330         * lyxfunc.C: display the minibuffer on M-x
2331
2332 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2333
2334         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2335         (bug 1526)
2336
2337 2004-04-19  Angus Leeming  <leeming@lyx.org>
2338
2339         * BufferView_pimpl.C (setBuffer): changed preview interface.
2340
2341         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2342         possible values.
2343
2344 2004-04-19  John Levon  <levon@movementarian.org>
2345
2346         * BufferView_pimpl.C:
2347         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2348
2349 2004-04-05  Angus Leeming  <leeming@lyx.org>
2350
2351         * text.C (redoParagraphs): add call to updateCounters(), thereby
2352         fixing the missing "Figure #:" label from the caption of a
2353         figure float.
2354
2355 2004-04-13  Angus Leeming  <leeming@lyx.org>
2356
2357         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2358         cursor is clicked out of an inset.
2359
2360 2004-04-13  Angus Leeming  <leeming@lyx.org>
2361
2362         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2363         than an InsetOld one.
2364
2365 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2366
2367         * format.[Ch]: add editor to Format
2368         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2369         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2370
2371 2004-04-08  André Pönitz  <poenitz@gmx.net>
2372
2373         * metricsinfo.h: remove PainterInfo::width member
2374
2375 2004-04-08  Angus Leeming  <leeming@lyx.org>
2376
2377         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2378         "\providecommand" rather than "\newcommand", thereby preventing
2379         clashes with packages that define "\boldsymbol" themselves.
2380         Eg, beamer.
2381
2382 2004-04-08  Angus Leeming  <leeming@lyx.org>
2383
2384         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2385         thereby squashing an unnecessary warning.
2386
2387 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2388
2389         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2390         setBuffer()
2391
2392 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2393
2394         * BufferView.C (setCursor): call redoParagraph (some insets could
2395         have been opened)
2396         (putSelectionAt): remove the 'double update' trick
2397
2398         * BufferView_pimpl.C (fitCursor): call refreshPar
2399         (workAreaDispatch): remove an uneeded update call
2400         (dispatch): remove some manual update calls
2401
2402         * cursor.[Ch]: remove cached_y_, updatePos
2403         (selHandle): set noUpdate when appropriate
2404
2405         * lyxfunc.C (dispatch): track if we need an update
2406
2407         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2408
2409         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2410         (paintSelection): cheap optimization, do not call cursorX when not
2411         needed
2412         (paintPars): change signature
2413         (refreshPar): add
2414         (paintText): adjust
2415         (paintTextInset): adjust
2416
2417         * text.C: adjust
2418
2419 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2420
2421         * lengthcommon.C: compilation fix: remove explicit array size from
2422         unit_name[] and friends
2423
2424 2004-04-05  Angus Leeming  <leeming@lyx.org>
2425
2426         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2427
2428         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2429         present only for the preferences dialog.
2430         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2431
2432 2004-04-05  Angus Leeming  <leeming@lyx.org>
2433
2434         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2435         to enable the frontends to export changes to lyxrc correctly.
2436
2437         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2438
2439 2004-04-07  André Pönitz  <poenitz@gmx.net>
2440
2441         * cursor.[Ch] (selClear, adjust): remove math
2442
2443         * cursor_slice.C: more agressive assert
2444
2445         * lyxfunc.C:
2446         * BufferView_pimpl.C: rework mouse event dispatch
2447
2448         * dociterator.C:
2449         * paragraph.C:
2450         * text2.C:
2451         * text3.C: adjust
2452
2453 2004-04-05  André Pönitz  <poenitz@gmx.net>
2454
2455         * cursor.[Ch] (valign, halign...): remove unneeded functions
2456
2457 2004-04-05  Angus Leeming  <leeming@lyx.org>
2458
2459         * lyxlength.[Ch] (unit_name et al.): const-correct.
2460
2461 2004-04-05  Angus Leeming  <leeming@lyx.org>
2462
2463         * BufferView_pimpl.C:
2464         * buffer.C:
2465         * counters.C:
2466         * cursor.C:
2467         * lyxfunc.C
2468         * paragraph.C:
2469         * pariterator.C:
2470         * text.C:
2471         * text2.C:
2472         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2473
2474 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2475
2476         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2477
2478 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2479
2480         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2481         * BufferView_pimpl.[Ch] (getStatus)
2482         * BufferView.[Ch] (getStatus): add
2483         * lyxfunc.C (getStatus): move lfuns handled in
2484         BufferView::dispatch to te function above
2485         * Cursor.C (setSelection): set selection() = true
2486
2487 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2488
2489         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2490
2491 2004-03-31  Angus Leeming  <leeming@lyx.org>
2492
2493         * lyxfunc.C (dispatch): Fall through to the generic
2494         Dialogs::show("preamble").
2495
2496 2004-03-31  Angus Leeming  <leeming@lyx.org>
2497
2498         * lyxfunc.C (dispatch): Fall through to the generic
2499         Dialogs::show("spellchecker").
2500
2501 2004-03-31  Angus Leeming  <leeming@lyx.org>
2502
2503         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2504         preferences dialog.
2505
2506 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2507
2508         * BufferView.C
2509         * cursor.[Ch]
2510         * dociterator.[Ch]:
2511         * insetiterator.[Ch]:
2512         * lyxfind.C:
2513         * lyxfunc.C:
2514         * pariterator.[Ch]:
2515         * text2.C:
2516         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2517
2518 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2519
2520         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2521         insets where we are putting the cursor.
2522
2523 2004-03-31  Angus Leeming  <leeming@lyx.org>
2524
2525         * lfuns.h:
2526         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2527
2528         * lyxrc.[Ch] (read, write): overloaded member functions taking
2529         a std::[io]stream arguments.
2530
2531         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2532
2533 2004-03-31  Angus Leeming  <leeming@lyx.org>
2534
2535         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2536         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2537
2538         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2539         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2540
2541 2004-03-31  Angus Leeming  <leeming@lyx.org>
2542
2543         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2544         the LFUN_ALL_INSETS_TOGGLE code.
2545
2546 2004-03-30  Angus Leeming  <leeming@lyx.org>
2547
2548         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2549         has died. Fall through to the generic Dialogs::show("document").
2550
2551 2004-03-30  Angus Leeming  <leeming@lyx.org>
2552
2553         * lfuns.h:
2554         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2555         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2556
2557         * lyxfunc.C (getStatus, dispatch): define the actions for these
2558         lfuns. Little more than a cut and pste job from ControlDocument.C
2559
2560         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2561
2562 2004-03-30  Angus Leeming  <leeming@lyx.org>
2563
2564         * lfuns.h:
2565         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2566         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2567
2568         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2569         open/closed state of ollapsable insets. Usage:
2570
2571         all-inset-toggle <state> <name>, where
2572         <state> == "open" || "closed" || "toggle" and
2573         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2574
2575         * lyxtext.h, text2.C (toggleInset): removed.
2576
2577         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2578         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2579         now passes LFUN_INSET_TOGGLE to the found inset.
2580
2581         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2582         is now invoked as "all-insets-toggle toggle branch".
2583
2584 2004-03-30  Angus Leeming  <leeming@lyx.org>
2585
2586         * dociterator.C:
2587         * insetiterator.C:
2588         * pariterator.[Ch]: added/corrected header blurb.
2589
2590 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2591
2592         * dociterator.[Ch]: add an inset_ member
2593         (backwardPos): implemented
2594         (backwardPos, forwardPos): use inset_ when the stack is empty.
2595         (doc_iterator_begin, doc_iterator_end): implemented
2596         * pariterator.[Ch]: adjust, add begin, end
2597         * insetiterator.[Ch]: adjust, add begin, end
2598         * cursor.C:
2599         * document.C:
2600         * BufferView.C:
2601         * BufferView_pimpl.C:
2602         * CutAndPaste.C: adjust
2603
2604 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2605
2606         * buffer.C: increment file format to 232.
2607         * LaTeXFeatures.C: add bibtopic package.
2608         * bufferparams.[Ch]: param \use_bibtopic.
2609
2610         * lyxrc.[Ch]: add lyxrc bibtex_command
2611         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2612
2613         * buffer.C: increment file format to 231.
2614
2615 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2616
2617         * dociterator.C: implement forwardPar
2618         * iterators.[Ch]: remove, replaced by
2619         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2620         * BufferView.C:
2621         * BufferView_pimpl.C:
2622         * CutAndPaste.C:
2623         * buffer.C:
2624         * bufferview_funcs.C:
2625         * cursor.C:
2626         * lyxfind.C
2627         * lyxfunc.C
2628         * paragraph_funcs.C
2629         * toc.C:
2630         * Makefile.am: adjust
2631
2632 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2633
2634         * CutAndPaste.C (pasteSelection): fix 2 crashes
2635         (eraseSelection): fix a crash
2636         * paragraph_funcs.C: remove a warning
2637
2638 2004-03-28  Angus Leeming  <leeming@lyx.org>
2639
2640         * lfuns.h:
2641         * LyXAction.C (init): new LFUN_PRINT.
2642
2643         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2644
2645 2004-03-27  Angus Leeming  <leeming@lyx.org>
2646
2647         * lfuns.h:
2648         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2649
2650         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2651
2652 2004-03-27  Angus Leeming  <leeming@lyx.org>
2653
2654         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2655         insetlist always contains non-null pointers to insets.
2656
2657 2004-03-26  Angus Leeming  <leeming@lyx.org>
2658
2659         * src/BufferView_pimpl.C:
2660         * src/CutAndPaste.C:
2661         * src/buffer.C:
2662         * src/iterators.C:
2663         * src/output_plaintext.C:
2664         * src/outputparams.h:
2665         * src/paragraph_funcs.C:
2666         * src/rowpainter.C:
2667         * src/text.C:
2668         * src/text2.C:
2669         * src/frontends/controllers/ControlErrorList.C:
2670         * src/frontends/gtk/FileDialogPrivate.C:
2671         * src/frontends/gtk/GPainter.C:
2672         * src/frontends/gtk/GToolbar.C:
2673         * src/frontends/qt2/QRef.C:
2674         * src/mathed/math_scriptinset.C: squash compiler warnings.
2675
2676 2004-03-26  Angus Leeming  <leeming@lyx.org>
2677
2678         * ispell.C (LaunchIspell::start):
2679         * lyx_cb.C (AutoSaveBuffer::start):
2680         invoke run(DontWait) rather than runNonBlocking().
2681
2682 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2683
2684         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2685
2686 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2687
2688         * kbsequence.C (print): adjust
2689
2690         * kbmap.C (printKeySym): rename and change signature
2691         (printKey): use LyXKeySym::print()
2692
2693 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2694
2695         * undo.C: add using std::advance to compile for stlport
2696
2697 2004-03-24  Angus Leeming  <leeming@lyx.org>
2698
2699         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2700         it leads to a crash when no buffer is present.
2701
2702 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2703             Martin Vermeer  <martin.vermeer@hut.fi>
2704
2705         * lyxfunc.C (dispatch):
2706         * bufferparams.C (readToken): use the new LColor::setColor
2707
2708         * LColor.[Ch] (setColor): new version that takes two strings as
2709         argument and creates a new color entry if necessary
2710
2711 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2712
2713         * buffer.C (makeLaTeXFile): if the main latex file that is
2714         processed is usually a subdocument of some master, then pretend
2715         for a while that it is actually the master
2716
2717 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2718
2719         * buffer.C (getLabelList):
2720         (getBibkeyList): use getMasterBuffer()
2721         (getMasterBuffer): new method. Returns the main document in the
2722         case where one is using included documents.
2723
2724 2004-03-25  André Pönitz  <poenitz@gmx.net>
2725
2726         * Makefile.am:
2727         * iterators.[Ch]:
2728         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2729
2730         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2731
2732         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2733         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2734
2735         * ParameterStruct.h: merge with ParagraphParameters
2736
2737         * lyxtext.h: remove LyXText::parOffset() and getPar()
2738
2739         * text3.C: Remove all 'manual' update calls. We do now one per user
2740         interaction which is completely sufficient.
2741
2742         * Bidi.C:
2743         * BufferView.[Ch]:
2744         * BufferView_pimpl.C:
2745         * FontIterator.[Ch]:
2746         * MenuBackend.C:
2747         * ParagraphParameters.[Ch]:
2748         * buffer.C:
2749         * buffer.h:
2750         * bufferlist.C:
2751         * cursor.[Ch]:
2752         * cursor_slice.[Ch]:
2753         * dociterator.[Ch]:
2754         * errorlist.[Ch]:
2755         * factory.C:
2756         * lfuns.h:
2757         * lyxfind.C:
2758         * lyxfunc.C:
2759         * output_docbook.[Ch]:
2760         * output_latex.[Ch]:
2761         * output_linuxdoc.[Ch]:
2762         * output_plaintext.[Ch]:
2763         * paragraph.[Ch]:
2764         * paragraph_funcs.[Ch]:
2765         * paragraph_pimpl.[Ch]:
2766         * rowpainter.C:
2767         * tabular.[Ch]:
2768         * text.C:
2769         * text2.C:
2770         * toc.C:
2771         * undo.[Ch]: adjust
2772
2773         * frontends/controllers/ControlDocument.C:
2774         * frontends/controllers/ControlErrorList.C:
2775         * frontends/controllers/ControlSpellchecker.C:
2776         * insets/inset.C:
2777         * insets/inset.h:
2778         * insets/insetbase.h:
2779         * insets/insetbibitem.C:
2780         * insets/insetbox.C:
2781         * insets/insetbranch.C:
2782         * insets/insetcaption.C:
2783         * insets/insetcharstyle.C:
2784         * insets/insetcharstyle.h:
2785         * insets/insetcollapsable.C:
2786         * insets/insetcollapsable.h:
2787         * insets/insetert.C:
2788         * insets/insetfloat.C:
2789         * insets/insetfoot.C:
2790         * insets/insetmarginal.C:
2791         * insets/insetnote.C:
2792         * insets/insetoptarg.C:
2793         * insets/insettabular.C:
2794         * insets/insettext.C:
2795         * insets/insettext.h:
2796         * insets/insetwrap.C:
2797         * mathed/math_mboxinset.C:
2798         * mathed/math_nestinset.C:
2799         * mathed/math_scriptinset.C:
2800         * mathed/math_scriptinset.h:
2801         * support/types.h:
2802
2803 2004-03-24  Angus Leeming  <leeming@lyx.org>
2804
2805         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2806         deal with any child processes that have finished but are waiting to
2807         communicate this fact to the rest of LyX.
2808
2809 2004-03-24  Angus Leeming  <leeming@lyx.org>
2810
2811         64-bit compile fixes.
2812
2813         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2814         (c-tor): pass lyx::pos_types rather than ints.
2815
2816         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2817         lyx::pos_type.
2818
2819         * text.C (Delete): compile fix.
2820         (getPar): ensure that function declaration is the same as that in
2821         the header file.
2822
2823 2004-03-23  Angus Leeming  <leeming@lyx.org>
2824
2825         * ispell.C (LaunchIspell):
2826         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2827         a boost::shred_ptr rather than a std::auto_ptr.
2828
2829 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2830
2831         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2832         handle LFUN_FILE_INSERT_*
2833
2834         * lyxrc.C (setDefaults, getDescription, output, read):
2835         * lyxrc.h: remove ps_command
2836
2837 2004-03-22  Angus Leeming  <leeming@lyx.org>
2838
2839         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2840         Ensure that error_handler is processed once only and that all data
2841         is saved before attempting to output any warning messages.
2842
2843         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2844
2845 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2846
2847         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2848
2849 2004-03-19  André Pönitz  <poenitz@gmx.net>
2850
2851         * cursor.[Ch] (reset): take main text inset as argument
2852
2853         * BufferView: adjust
2854         * BufferView_pimpl.C: adjust
2855
2856         * paragraph.[Ch]: fix completely broken operator=()
2857
2858 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2859
2860         * LColor.C (getFromLyXName): make sure that the color name is used
2861         as lowercase.
2862
2863 2004-03-17  Angus Leeming  <leeming@lyx.org>
2864
2865         * lfuns.h:
2866         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2867
2868         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2869         dialog and to kill a forked process.
2870
2871 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2872
2873         * text2.C (setCursorFromCoordinates): fix font problem
2874
2875 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2876
2877         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2878         bogus "rebuild cursor" code
2879
2880 2004-03-11  André Pönitz  <poenitz@gmx.net>
2881
2882         * buffer.[Ch]: use InsetText instead of LyXText as container for
2883         the main lyx text.
2884
2885         * dociterator.[Ch]: drop the BufferView * member which is not needed
2886         anymore after the change to buffer.C
2887
2888         * paragraph_funcs.C:
2889         * text.C:
2890         * text2.C:
2891         * BufferView.[Ch]:
2892         * BufferView_pimpl.[Ch]:
2893         * cursor.[Ch]:
2894         * cursor_slice.[Ch]: adjust
2895
2896         * text3.C: fix bug in mathDispatch
2897
2898 2004-03-08  André Pönitz  <poenitz@gmx.net>
2899
2900         * undo.[Ch]: use 'StableDocumentIterator' as base for
2901         the Undo struct.
2902
2903 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2904
2905         * LaTeXFeatures.C:
2906         * bufferparams.[Ch]: add jurabib support and param.
2907
2908         * LaTeX.C: add FIXME/comment.
2909
2910 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2911
2912         * buffer.C: increment file format to 230.
2913
2914 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2915
2916         * cursor.C (dispatch): avoid infinite loops
2917
2918 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2919
2920         * rowpainter.C (paintSelection): fix x coordinates
2921
2922 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2923
2924         * text.C (rowBreakPoint): fix breaking before displayed insets
2925
2926 2004-03-01  André Pönitz  <poenitz@gmx.net>
2927
2928         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2929
2930         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2931
2932         * Makefile.am:
2933         * BufferView.C:
2934         * BufferView_pimpl.C:
2935         * buffer.C:
2936         * lyxfind.C:
2937         * lyxfunc.C:
2938         * text.C:
2939         * text2.C:
2940         * text3.C: adjust
2941
2942 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2943
2944         * lyxtext.h:
2945         * text.C:
2946         * text2.C:
2947         * rowpainter.C:
2948         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2949         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2950
2951 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2952
2953         * Bidi.[Ch] (computeTables): const correctness
2954         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2955         fill_hfill, fill_label_hfill and x from Row
2956         * lyxtext.h: prepareToPrint returns a RowMetrics
2957         * rowPainter.C: adjust
2958         * text.C (prepareToPrint): use width, not textWidth. adjust
2959         (redoParagraphInternal, cursorX): adjust
2960         * text2.C (getColumnNearX): adjust
2961         (init): put a default value to the top LyXText::width
2962
2963 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2964
2965         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2966
2967 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2968
2969         * lyxtext.h: add FontIterator class
2970
2971         * text.C (FontIterator, operator*, operator->, operator++): add
2972         (rowBreakPoint, setRowWidth): adjust (fixing a
2973         rebreaking bug)
2974
2975 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2976
2977         * BufferView_pimpl.C (workAreaDispatch): allow also
2978         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2979
2980 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2981
2982         * text.C (rowBreakPoint): fix a bug showing with very large insets
2983
2984 2004-02-25  André Pönitz  <poenitz@gmx.net>
2985
2986         * text3.C:
2987         * cursor.[Ch]: move some mathed specific code to mathed
2988
2989 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2990
2991         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2992         use_tempdir in preferences
2993         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2994         tempfile creation
2995         * lyx_main.C: ensure that tempdir is valid
2996         * lyxlex.h: correct typo
2997         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2998         * paragraph.[Ch] (isMultiLingual): make const
2999         * cursor.[Ch] (openable): make const
3000
3001 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3002
3003         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3004
3005 2004-02-20  André Pönitz  <poenitz@gmx.net>
3006
3007         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3008
3009         * cursor.[Ch]: prepare for localized getStatus()
3010
3011         * lyxtext.h:
3012         * tabular.C:
3013         * text.C:
3014         * text2.C:
3015         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3016
3017 2004-02-20  André Pönitz  <poenitz@gmx.net>
3018
3019         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3020
3021 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3022
3023         * text2.C (setCursorFromCoordinates): switch to absolute coords
3024         (cursorUp): adjust
3025         (cursorDown): adjust
3026         * text3.C (dispatch): adjust
3027
3028 2004-02-16  André Pönitz  <poenitz@gmx.net>
3029
3030         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3031           insets/ChangeLog)
3032
3033         * cursor_slice.[Ch]: remove unneeded acessor function
3034
3035         * lyxtext.h: rename rtl() to isRTL()
3036
3037         * rowpainter.C:
3038         * tabular.C:
3039         * text.C:
3040         * text2.C:
3041         * text3.C: adjust
3042
3043 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3044
3045         * rowpainter.C (paintSelection): coord fix
3046
3047 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3048
3049         * Spacing.C: compile fix
3050
3051 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3052
3053         * cursor.C (dispatch): restore current_ before returning
3054
3055 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3056
3057         * text2.C (cursorUp, cursorDown): fix coords
3058         (moveUp): fix crash
3059
3060 2004-02-12  André Pönitz  <poenitz@gmx.net>
3061
3062         * lyxtext.h:
3063         * text.C:
3064         * text2.C:
3065         * text3.C: add LCursor & parameter to most cursor movement functions
3066           remove usage of LyXText::cursorRow() and cursorPar()
3067
3068         * cursor.[Ch]: add textRow() needed members
3069
3070         * BufferView.C:
3071         * BufferView_pimpl.C:
3072         * paragraph.[Ch]:
3073         * BufferView.C:
3074         * BufferView_pimpl.C: adjust
3075
3076 2004-02-11  André Pönitz  <poenitz@gmx.net>
3077
3078         * lyxfunc.C:
3079         * BufferView.[Ch]:
3080         * BufferView_pimpl.C: shift undo/redo handling
3081
3082         * cursor.[Ch]: fix mathed crash
3083
3084         * lyxfind.C:
3085         * lyxtext.h: move selectionAsText to LCursor
3086
3087         * output_latex.C:
3088         * paragraph.C:
3089         * text.C:
3090         * text2.C:
3091         * text3.C: adjust
3092
3093         * rowpainter.C: fix excessive drawing
3094
3095 2004-02-06  André Pönitz  <poenitz@gmx.net>
3096
3097         * BufferView.[Ch]:
3098         * BufferView_pimpl.[Ch]:
3099         * text3.C: move some text specific LFUN handling
3100
3101 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3102
3103         * text3.C (checkInsetHit): adjust coords
3104         * text2.C (getColumnNearX): adjust coords
3105         (edit): adjust coords
3106         * text.C (getRowNearY): add two asserts
3107
3108 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3109
3110         * converter.C:
3111         * format.C: add using std::distance to compile on gcc 2.95/stlport
3112
3113 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3114
3115         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3116
3117 2004-02-04  André Pönitz  <poenitz@gmx.net>
3118
3119         * BufferView.[Ch] (insertInset):
3120         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3121
3122         * text2.C:
3123         * text3.C: adjust
3124
3125 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3126
3127         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3128         on the default clause of the switch
3129         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3130         wasn't catched by LCursor::dispatch
3131
3132 2004-02-03  André Pönitz  <poenitz@gmx.net>
3133
3134         * BufferView.C:
3135         * cursor.[Ch]: some additional asserts
3136
3137         * undo.[Ch]: remove LyXText dependency in interface
3138
3139         * lyxfunc.C: adjust
3140
3141         * lyxtext.h (firstPar, lastPar): remove dead functions
3142
3143         * text.C:
3144         * text2.C:
3145         * text3.C:
3146         * paragraph.[Ch]: adjust
3147
3148 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3149
3150         * lyxfind.C (find): fix argument order in call to ::find
3151
3152 2004-02-02  André Pönitz  <poenitz@gmx.net>
3153
3154         * cursor.[Ch]: remove direct access to anchor
3155
3156         * text.C: remove findText() hack
3157
3158 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3159
3160         * iterators.[Ch] (lockPath): remove in favour of...
3161         * BufferView.[Ch] (setCursor): this addition
3162         * BufferView.C (putSelectionAt): adjust
3163         * undo.C (performUndoOrRedo): adjust
3164         * lyxfunc.C (dispatch): adjust
3165
3166 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3167
3168         * iterators.C (lockPath): add a missing slice
3169         * undo.C (performUndoOrRedo): remove redundant positioning code
3170
3171 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3172
3173         * vc-backend.C (scanMaster): ";" -> ';'
3174
3175 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3176
3177         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3178         std::binary_function
3179
3180         * lyxtextclass.C (compare_name): rename to...
3181         (LayoutNamesEqual): ...this
3182
3183         * lyxlex_pimpl.C (compare_tags): inherit from
3184         std::binary_function, put back into anon namespace
3185
3186         * lyxfind.C (MatchString): inherig from std::binary_function
3187         (findChange): use empty() istead of !size()
3188
3189         * format.C (FormatNamesEqual): new functor
3190         (getFormat): use it
3191         (getNumber): use it
3192         (add): use it
3193         (erase): use it
3194         (setViewer): use it
3195
3196         * converter.C (compare_Converter): rename to...
3197         (ConverterEqual): ...this, and fixup a bit.
3198         (getConverter): use it, and make function const
3199         (getNumber): use it, and make function const
3200         (add): use it
3201         (erase): use it:
3202
3203         * bufferlist.C: add using boost::bind
3204
3205         * MenuBackend.C (MenuNamesEqual): new functor
3206         (hasMenu): use it, and make function const
3207         (hasSubmenu): use nested bind to get rid of compare_memfun.
3208
3209 2004-01-30  André Pönitz  <poenitz@gmx.net>
3210
3211         * BufferView_pimpl.C:
3212         * cursor.C:
3213         * cursor.h:
3214         * cursor_slice.[Ch]:
3215         * lyxfunc.C:
3216         * lyxtext.h:
3217         * paragraph_funcs.C:
3218         * paragraph_funcs.h:
3219         * rowpainter.C:
3220         * text.C:
3221         * text2.C:
3222         * text3.C: move some of the edit(x,y) handling to the insets
3223         some coordinate changes.
3224
3225 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3226
3227         * text.C: add using statements for std::advance and std::distance
3228
3229         * paragraph.C: add using statement for std::distance
3230
3231         * lyxfind.C: add using statement for std::advance
3232
3233         * cursor.C (region): remove std:: from swap
3234         (openable): use nucleus in stead of operator->
3235
3236         * BufferView.C: add using statements for std::distance and std::swap
3237
3238 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3239
3240         * iterators.C: Remove the pimple, move the needed structures to
3241         the header file. Create accessor for the positions stack.
3242         (asPosIterator): remove function
3243
3244         * PosIterator.C (PosIterator): move constructors to top of file
3245         (PosIterator): reimplement the constructor taking a ParIterator in
3246         terms of setFrom.
3247         (setFrom): new function
3248         (operator!=): inline it
3249
3250 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3251
3252         * lyxfind.C (replaceAll): use std::advance
3253
3254         * iterators.h: inherit from std::iterator.
3255
3256         * PosIterator.C (advance, distance): remove
3257         * PosIterator.h: interit from std::iterator.
3258
3259 2004-01-26  André Pönitz  <poenitz@gmx.net>
3260
3261         * BufferView.[Ch]:
3262         * BufferView_pimpl.[Ch]:
3263         * InsetList.[Ch]:
3264         * PosIterator.[Ch]:
3265         * buffer.h:
3266         * bufferview_funcs.C:
3267         * cursor.[Ch]:
3268         * cursor_slice.h:
3269         * factory.[Ch]:
3270         * iterators.[Ch]:
3271         * lyxfind.C:
3272         * lyxfunc.C:
3273         * lyxtext.h:
3274         * output_docbook.C:
3275         * output_latex.C:
3276         * output_linuxdoc.C:
3277         * output_plaintext.C:
3278         * paragraph.[Ch]:
3279         * paragraph_funcs.[Ch]:
3280         * paragraph_pimpl.[Ch]:
3281         * rowpainter.C:
3282         * tabular.C:
3283         * tabular.h:
3284         * text.C:
3285         * text2.C:
3286         * text3.C: more IU:  dumps most of the rest of the mathcursor
3287     implementation into cursor.[Ch]; "globalize" a bit of it.
3288
3289 2004-01-25  Angus Leeming  <leeming@lyx.org>
3290
3291         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3292
3293 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3294
3295         * LaTeXFeatures.h: add nice_ and nice() const
3296         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3297
3298 2004-01-20  André Pönitz  <poenitz@gmx.net>
3299
3300         * BufferView.[Ch]:
3301         * BufferView_pimpl.C:
3302         * PosIterator.C:
3303         * bufferview_funcs.C:
3304         * cursor.[Ch]:
3305         * cursor_slice.[Ch]:
3306         * factory.C:
3307         * iterators.C:
3308         * lyx_cb.C:
3309         * lyxfind.C:
3310         * lyxfunc.C:
3311         * lyxtext.h:
3312         * rowpainter.C:
3313         * text.C:
3314         * text2.C:
3315         * text3.C:
3316         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3317           LCursor and mathcursor parts to LCursor and InsetBase.
3318
3319 2004-01-15  André Pönitz  <poenitz@gmx.net>
3320
3321         * cursor_slice.[Ch]: add a few covienience functions
3322
3323         * funcrequest.[Ch]: remove BufferView * member
3324
3325         * BufferView_pimpl.C:
3326         * cursor.C:
3327         * factory.[Ch]:
3328         * lyxfind.[Ch]:
3329         * lyxfunc.C:
3330         * lyxtext.h:
3331         * text3.C:
3332         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3333
3334 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3335
3336         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3337         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3338
3339 2004-01-13  André Pönitz  <poenitz@gmx.net>
3340
3341         * textcursor.[Ch]:
3342         * lyxtext.h: hide cursor and selection anchor behind accessor function
3343
3344         * BufferView.C:
3345         * BufferView_pimpl.[Ch]:
3346         * PosIterator.C:
3347         * bufferview_funcs.C:
3348         * cursor.h:
3349         * lyxfind.C:
3350         * lyxfunc.C:
3351         * text.C:
3352         * text2.C:
3353         * text3.C:
3354         * undo.C: adjust
3355
3356         * cursor.h:
3357         * cursor_slice.[Ch]: some integer type changes for inset unification
3358
3359         * lyxcursor.[hC]: remove, it's CursorSlice now.
3360
3361         * Makefile.am:
3362         * BufferView_pimpl.[Ch]:
3363         * bufferview_funcs.C:
3364         * cursor_slice.C:
3365         * lyxtext.h:
3366         * text.C:
3367         * text2.C:
3368         * text3.C:
3369         * textcursor.[Ch]: adjust
3370
3371 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3372
3373         * text2.C (undoSpan): add and use
3374         * text.C (breakParagraph): use undoSpan (fix bug 578)
3375         * lyxtext.h: adjust
3376
3377 2004-01-08  Angus Leeming  <leeming@lyx.org>
3378
3379         * BufferView_pimpl.C (MenuInsertLyXFile):
3380         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3381         * lyxfunc.C (menuNew, open, doImport):
3382         FileFilterList change to the FileDialog open and save functions.
3383
3384 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3385
3386         * ShareContainer.h: make isEqual and isUnique adaptable
3387
3388         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3389
3390 2004-01-07  Angus Leeming  <leeming@lyx.org>
3391
3392         * LyXAction.C:
3393         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3394
3395         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3396
3397         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3398         functions replacing find, replace and replaceAll.
3399
3400         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3401         LFUN_WORDFIND(FORWARD|BACKWARD).
3402
3403 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3404
3405         * text.C (breakParagraph): remove an outdated #warning
3406
3407 2004-01-07  André Pönitz  <poenitz@gmx.net>
3408
3409         * lyxfind.C: somewhat clearer logic
3410
3411         * text.C: prevent crash in cursorX on unitialized row cache
3412
3413 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3414
3415         * lyxcursor.[Ch] (operator>): add
3416         * textcursor.C (selStart, selEnd): use std::min and std::max
3417
3418 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3419
3420         * Chktex.C: include boost/format.hpp
3421
3422 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3423
3424         * InsetList.C: replace functor MathcIt with adaptable functor
3425         InsetTablePosLess
3426         (insetIterator): modify accordingly
3427
3428         * BranchList.h: move the BranchNamesEqual functor here from...
3429         * BranchList.C: ... to here
3430
3431         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3432         SameName and match.
3433         (add): replace a finding loop with std::find_if.
3434
3435 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3436
3437         * output_docbook.C: moving LatexParam functionality into
3438         .layout files
3439
3440 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3441
3442         * buffer.C: increment format to 229.
3443
3444 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3445
3446         * LaTeXFeatures.C:
3447         * lyx_sty.[Ch]: remove minipageindent_def
3448
3449         * LyXAction.C:
3450         * factory.C:
3451         * lfuns.h:
3452         * lyxfunc.C:
3453         * text3.C: remove LFUN_INSET_MINIPAGE
3454
3455 2003-12-28  Angus Leeming  <leeming@lyx.org>
3456
3457         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3458
3459 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3460
3461         * text2.C (setParagraph): fix off-by-one crash
3462
3463 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3464
3465         * output_docbook.C: header stuff for AGU
3466
3467 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3468
3469         * text2.C (redoCursor): remove
3470         * text.C:
3471         * text3.C:
3472         * BufferView_pimpl.C: remove calls to redoCursor and
3473         setCursor(cursor.par(), cursor.pos()) all around
3474
3475 2003-12-15  Angus Leeming  <leeming@lyx.org>
3476
3477         * buffer.C: up the format to 228.
3478
3479 2003-12-15  André Pönitz  <poenitz@gmx.net>
3480
3481         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3482         slices
3483
3484         * Makefile.am:
3485
3486         * BufferView_pimpl.C:
3487         * cursor.[Ch]:
3488         * lyxcursor.[Ch]:
3489         * rowpainter.[Ch]:
3490         * lyxtext.h:
3491         * text.C:
3492         * text2.C:
3493         * text3.C: adjust
3494
3495 2003-12-15  Angus Leeming  <leeming@lyx.org>
3496
3497         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3498         than getFromGUIName to manipulate the color.
3499
3500 2003-12-14  Angus Leeming  <leeming@lyx.org>
3501
3502         * BranchList.[Ch]: minimize the API.
3503         (Branch::getBranch, getColor): now return a 'const &'.
3504         (Branch::setSelected) now returns a bool set to true if the
3505         selection status changes.
3506         (BranchList::clear, size, getColor, setColor, setSelected,
3507         allBranches, allSelected, separator): removed.
3508         (BranchList::find): new functions, returning the Branch with
3509         the given name.
3510         (BranchList::add, remove): return a bool indicating that
3511         the operation was successful.
3512
3513         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3514         new InsetBranch::isBranchSlected member function.
3515
3516         * LColor.[Ch]: mimimize the API.
3517         (fill): renamed as addColor and made private.
3518         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3519         versions of these functions taking a string arg have been removed.
3520
3521         * bufferparams.C (readToken):
3522         * lyxfunc.C (dispatch):
3523         * lyxrc.C (read): changes due to the altered BranchList and
3524         LColor APIs.
3525
3526         * factory.C (createInset, readInset): changes due to altered
3527         InsetBranch c-tor.
3528
3529 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3530
3531         * factory.C:
3532         * lyxfunc.C: remove insetminipage. "minipage-insert"
3533         now produces a frameless minipage box inset.
3534
3535 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3536
3537         * textcursor.[Ch] (selStart,selEnd): add new methods
3538         remove selection::start, end, use LyXCursor::operator<
3539         * lyxcursor.[Ch] (operator<): add
3540         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3541         * BufferView.[Ch] (unsetXSel): add
3542         * text2.C (clearSelection): use unsetXSel,adjust
3543         * text.C: adjust
3544         * text3.C: adjust
3545         * rowpainter.C: adjust
3546         * bufferview_funcs.C (put_selection_at): adjust
3547
3548 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3549
3550         * BufferView_pimpl.C: small coord. correction
3551
3552 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3553
3554         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3555         dragging over the splash screen.
3556
3557 2003-12-11  Angus Leeming  <leeming@lyx.org>
3558
3559         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3560         as it is now handled in LyXText::dispatch.
3561
3562         * text3.C (doInsertInset): remove a level of nesting.
3563
3564 2003-12-11  Angus Leeming  <leeming@lyx.org>
3565
3566         * factory.C (createInset): changes due to the changed interface to
3567         InsetCommandMailer::string2params.
3568
3569 2003-12-10  Angus Leeming  <leeming@lyx.org>
3570
3571         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3572         'dialog-show-new-inset <inset name>'
3573
3574 2003-12-10  Angus Leeming  <leeming@lyx.org>
3575
3576         * buffer.C: up the format to 227.
3577
3578         * factory.C: the box inset is now identified simply by 'Box'.
3579
3580 2003-12-10  Angus Leeming  <leeming@lyx.org>
3581
3582         * buffer.C: up the format to 226.
3583
3584         * factory.C: the note inset is now identified simply by 'Note'.
3585
3586 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3587
3588         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3589         when a pit is enough. Standarize a couple of loops.
3590
3591 2003-12-05  Angus Leeming  <leeming@lyx.org>
3592
3593         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3594         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3595         data to the re-worked "log" dialog.
3596
3597 2003-12-03  André Pönitz  <poenitz@gmx.net>
3598
3599         * PosIterator.C:
3600         * iterators.C:
3601         * lyxtext.h:
3602         * output_latex.C:
3603         * paragraph_funcs.C:
3604         * text.C:
3605         * text2.C: use Inset::getText instead of Inset::getParagraph
3606
3607 2003-12-03  André Pönitz  <poenitz@gmx.net>
3608
3609         * buffer.[Ch]:
3610         * lyxtext.h:
3611         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3612         InsetText::read() as LyXText::read()
3613
3614 2003-12-02  Angus Leeming  <leeming@lyx.org>
3615
3616         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3617         type. Add a comment in the implementation that the function uses
3618         the stream's bad() function rather than fail() as the std::streams
3619         would do.
3620
3621 2003-12-02  André Pönitz  <poenitz@gmx.net>
3622
3623         * lyxlex.[Ch]: make interface more similar to std::stream
3624
3625         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3626
3627 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3628
3629         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3630
3631 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3632
3633         * vspace.[Ch]: remove VSpace::NONE
3634
3635 2003-12-01  André Pönitz  <poenitz@gmx.net>
3636
3637         * buffer.[Ch]:
3638         * lyxtext.h: move ParagraphList member to LyXText
3639         rename LyXText::ownerParagraphs to LyXText::paragraph
3640
3641         * CutAndPaste.C:
3642         * bufferview_funcs.C:
3643         * iterators.[Ch]:
3644         * lyx_cb.C:
3645         * paragraph.C:
3646         * rowpainter.C:
3647         * tabular.C:
3648         * text.C:
3649         * text2.C:
3650         * text3.C: adjust
3651
3652         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3653
3654         * undo.C: fix cursor positioning
3655
3656 2003-12-01  John Levon  <levon@movementarian.org>
3657
3658         * BufferView_pimpl.C: fix a crash on exit with
3659         a buffer open
3660
3661 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3662
3663         * BranchList.C: fix setSelected() method.
3664
3665 2003-11-28  André Pönitz  <poenitz@gmx.net>
3666
3667         * ParagraphParameters.[Ch]:
3668         * ParameterStruct.h: remove space above/below from Paragraph to
3669          InsetVSpace
3670
3671         * BufferView_pimpl.C:
3672         * factory.C:
3673         * lyxfunc.C:
3674         * lyxtext.h:
3675         * output_latex.C:
3676         * paragraph.C:
3677         * paragraph_funcs.C:
3678         * rowpainter.[Ch]:
3679         * text.C:
3680         * text2.C:
3681         * text3.C: adjust
3682
3683 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3684
3685         * factory.C: Syntax change for CharStyles
3686
3687 2003-11-28  André Pönitz  <poenitz@gmx.net>
3688
3689         * BufferView.[Ch]:
3690         * BufferView.[Ch]:
3691         * buffer.[Ch]:
3692         * buffer.[Ch]: move LyXText member
3693
3694 2003-11-28  André Pönitz  <poenitz@gmx.net>
3695
3696         * BufferView.[Ch]: make LyXText * text a private member
3697
3698         * BufferView_pimpl.C:
3699         * cursor.C:
3700         * iterators.C:
3701         * lyx_cb.C:
3702         * lyxfind.C:
3703         * lyxtext.h:
3704         * rowpainter.[Ch]:
3705         * text.C:
3706         * text2.C:
3707         * undo.C: adjust
3708
3709         * output_plaintext.C: cleanup
3710
3711 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3712
3713         * buffer.C:
3714         * lyxtextclass.[Ch]: parametrize SGML document header
3715
3716 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3717
3718         * converter.[Ch]:
3719         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3720         getFlavor().
3721
3722 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3723
3724         * text2.C (setFont): rework using PosIterator (no more recursive)
3725         (setCharFont): no more needed
3726         (setLayout): no more selection cursors fiddling (done by redoCursor)
3727         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3728         destroy remaining ones)
3729
3730 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3731
3732         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3733         * lyxtext.h: ditto
3734         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3735         selection cursors
3736         * lyxfunc.C: adjust
3737         * text3.C: adjust + re-allow multi par depth changes
3738         * textcursor.C: simplify a bit
3739
3740 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3741
3742         * src/buffer.C:
3743         * src/lyxlayout.C:
3744         * src/lyxlayout.h:
3745         * src/lyxtext.h:
3746         * src/output_docbook.C:
3747         * src/output_latex.C:
3748         * src/paragraph.C:
3749         * src/paragraph.h:
3750         * src/sgml.C:
3751         * src/sgml.h:
3752         * src/text2.C: Introducing a number of tags parametrizing various
3753         XML formats that we may want to support
3754
3755 2003-11-25  André Pönitz  <poenitz@gmx.net>
3756
3757         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3758
3759         * lyxtext.h (leftMargin/rightMargin): simplify interface
3760
3761         * rowpainter.C:
3762         * text.C:
3763         * text2.C:
3764         * text3.C: adjust
3765
3766 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3767
3768         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3769         master file to any child files. Fixes bug 546.
3770
3771 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3772
3773         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3774
3775 2003-11-24  André Pönitz  <poenitz@gmx.net>
3776
3777         * rowpainter.C: simplification
3778
3779         * text2.C (updateCounters): remove call to redoParagraph on
3780         changed labels as this is far too expensive.
3781
3782 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3783
3784         * converter.C (convert): fix a crash: this function gets
3785         called with buffer == 0 from importer code.
3786
3787 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3788
3789         * text3.C (cursorPrevious): make sure that we do not compare
3790         iterators form different containers.
3791         (cursorNext): ditto
3792
3793         * rowpainter.C (paintSelection): make sure that we do not compare
3794         iterators from different containers.
3795
3796         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3797         iterators from different ParagraphList containers.
3798         [NEXT] ditto
3799
3800         * text2.C (LyXText): change order of initialization slightly
3801         (operator=): new function. copy all variables except cache_par_
3802         (moveUp): make sure that we do not compare iterators from
3803         different ParagraphList constainers.
3804         (moveDown): ditto
3805
3806         * text.C (firstPar): new function
3807         (lastPar): new function
3808         (endPar): new function
3809
3810         * lyxtext.h: move things around and group public functions, public
3811         variables, private functions, private variables
3812
3813 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3814
3815         * factory.C: change call to InsetERT constructor to avoid
3816         additional invocation of method status
3817         * text2.C (toggleInset): remove redundant update() call
3818         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3819         instead of a Bufferview pointer
3820
3821 2003-11-21  André Pönitz  <poenitz@gmx.net>
3822
3823         * rowpainter.C: simplification
3824
3825 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3826
3827         * text3.C (dispatch): make possible to extend a word/row selection
3828         with the mouse
3829
3830 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3831
3832         * lyxtext.h: x0_,y0_ -> xo_,yo_
3833         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3834         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3835         * rowpainter.C (paintRows): paint full paragraphs
3836
3837 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3838
3839         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3840         screen coordinates)
3841
3842 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3843
3844         * lyxtext.h: add x0_, y0_
3845         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3846         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3847
3848 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3849
3850         * text2.C (setCursorIntern): move the x_target update here *
3851         * text3.C: change some bv() to true/false in calls to
3852         cursorUp/Down/Right/Left
3853         * cursor.C: use helper function.
3854
3855 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3856
3857         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3858         * paragraph_funcs.[Ch]: correct comment
3859         * rowpainter.C: do not paint selections away from bv->cursor()
3860         Fix a long standing selection painting bug.
3861         * text3.C: generalize mouse-selection code to LyXTexts other that
3862         top one
3863         * textcursor.C: do not use y coords if we can use par offsets
3864
3865 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3866
3867         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3868         cursor position after e.g. inset insert)
3869
3870 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3871
3872         * lyxfind.C (replace): adjust to locking removal + some
3873         code simplification
3874
3875 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3876
3877         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3878         of the path
3879
3880 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3881
3882         * lyxlayout.[Ch]:
3883         * output_docbook.C: XML sanitation: new layout
3884         parameters InnerTag and CommandDepth
3885
3886 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3887
3888         * BufferView_pimpl.C:
3889         * factory.C:
3890         * text3.C: Fix the insertion and modification of button-style
3891         insets
3892
3893 2003-11-13  André Pönitz  <poenitz@gmx.net>
3894
3895         * InsetList.[Ch]: remove deleteLyXText
3896
3897         * paragraph.[Ch]: cache beginOfBody position
3898
3899         * Bidi.C:
3900         * text.C:
3901         * text2.C:
3902         * text3.C: remove superfluous update() calls
3903
3904         * vspace.C: cleanup
3905
3906 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3907
3908         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3909         * BufferView.C (fitLockedInsetCursor): remove
3910         * cursor.[Ch] (getDim): add
3911         * text.C (getRowNearY): add faster version
3912         * text3.C: remove some update calls
3913
3914 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3915
3916         * LaTeXFeatures.C:
3917         * LyXAction.C:
3918         * MenuBackend.C:
3919         * MenuBackend.h:
3920         * dispatchresult.h:
3921         * factory.C:
3922         * lfuns.h:
3923         * lyxfunc.C:
3924         * lyxtextclass.C:
3925         * lyxtextclass.h:
3926         * text3.C: The Character Style /XML short element patch.
3927
3928 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3929
3930         * text3.C:
3931         * factory.C: Small step to solving 'unable to insert some insets'
3932         problem
3933
3934 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3935
3936         * cursor.[Ch] (updatePos): new function for updating the y
3937         position of the tip inset
3938         * bufferview_funcs.C (put_selection_at):
3939         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3940
3941 2003-11-11  André Pönitz  <poenitz@gmx.net>
3942
3943         * text.C: remove big comment on invalid Paragraph pointers as it is
3944         not valid anymore
3945
3946 2003-11-11  André Pönitz  <poenitz@gmx.net>
3947
3948         * text_funcs.[Ch]: merge with ...
3949
3950         * text.C: ... this
3951
3952         * lyxtext.h:
3953         * text2.C:
3954         * text3.C: adjust
3955
3956         * Makefile.am: remove text_funcs.[Ch]
3957
3958 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3959
3960         * cursor.C (getPos): return absolute cached y coord
3961
3962         * BufferView_pimpl.C (fitCursor): new simplistic code
3963         (workAreaDispatch): add a fitCursor call
3964
3965 2003-11-10  André Pönitz  <poenitz@gmx.net>
3966
3967         * BufferView.[Ch]:
3968         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3969
3970 2003-11-10  André Pönitz  <poenitz@gmx.net>
3971
3972         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3973         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3974         indicate that the cursor needs to leave an inset
3975
3976         * lyxtext.h: remove inset locking
3977
3978         * cursor.[Ch]: re-implement functionality provided by inset locking
3979
3980         * BufferView.[Ch]:
3981         * BufferView_pimpl.[Ch]:
3982         * LyXAction.C:
3983         * bufferview_funcs.[Ch]:
3984         * factory.C:
3985         * funcrequest.[Ch]:
3986         * iterators.C:
3987         * lyx_cb.C:
3988         * lyxfind.C:
3989         * lyxfunc.C:
3990         * text.C:
3991         * text2.C:
3992         * text3.C:
3993         * undo.C: adjust
3994
3995 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3996
3997         * PosIterator.[Ch]: replace the stack with a vector, add inset
3998         accesor
3999         * iterators.[C]: adjust
4000
4001 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4002
4003         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4004         replaced
4005         * paragraph_funcs.C (readParToken): put the correct id in the
4006         error item, not the id of the top paragraph
4007
4008 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4009
4010         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4011         * bufferview_funcs.C (put_selection_at): use the above
4012
4013 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4014
4015         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4016
4017 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4018
4019         * output_linuxdoc.h:
4020         * output_plaintext.h:
4021         * output.h:
4022         * output_docbook.h: add #include statements
4023
4024 2003-11-05  José Matos  <jamatos@lyx.org>
4025
4026         * output_docbook.[Ch]:
4027         * output_latex.[Ch]:
4028         * output_linuxdoc.[Ch]:
4029         * output_plaintext.[Ch]: New files for output formats.
4030         * output.[Ch]: New file for helper functions.
4031
4032         * buffer.[Ch]:
4033         * paragraph_funcs.[Ch]: output functions moved to new files.
4034
4035         * outputparams.h: rename of latexrunparams.h
4036
4037         * LaTeX.[Ch]:
4038         * buffer.[Ch]:
4039         * bufferlist.[Ch]:
4040         * converter.[Ch]:
4041         * exporter.C:
4042         * paragraph.[Ch]:
4043         * paragraph_funcs.[Ch]:
4044         * paragraph_pimpl.[Ch]:
4045         * tabular.[Ch]: rename ascii to plaintext
4046         and LatexRunParams to OutputParams.
4047
4048 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4049
4050         * iterators.[Ch] (text): require bv argument
4051         * undo.C (recordUndo):
4052         * lyxfunc.C (dispatch):
4053         * bufferview_funcs.C (put_selection_at): adjust
4054
4055 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4056
4057         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4058
4059 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4060
4061         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4062         nestings
4063
4064 2003-11-04  André Pönitz  <poenitz@gmx.net>
4065
4066         * cursor.[Ch]: restructure
4067
4068         * BufferView.[Ch]:
4069         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4070
4071         * iterators.[Ch] (asCursor): remove
4072
4073         * lfuns.h: remove LFUN_INSET_EDIT
4074
4075         * lyxfunc.C:
4076         * tabular.C:
4077         * text.C:
4078         * text2.C:
4079         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4080
4081 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4082
4083         * lyxfind.[Ch]: complete overhaul
4084         * BufferView_pimpl.C:
4085         * lyxfunc.C: adjust
4086         * paragraph.[Ch] (insert): add
4087
4088 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4089
4090         * BufferView.[Ch]:
4091         * lyxtext.h:
4092         * text.C: remove dead spellcheck code
4093
4094 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4095
4096         * dispatchresult.h: add a val setter
4097
4098         * cursor.C (dispatch): use a tempvar for data_[i]
4099
4100 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4101
4102         * PosIterator.[Ch]: compile fix
4103
4104 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4105
4106         * text.C (cursorPar): deactivate the cursor cache
4107
4108 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4109
4110         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4111
4112 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * text3.C (dispatch): adjust for new DisptchResult semantics.
4115
4116         * lyxfunc.C (dispatch): handle update when return from
4117         Cursor::dispatch, adjust for new DispatchResult semantics.
4118
4119         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4120         DispatchResult(true) mean to not update. Add class functions for
4121         setting dispatched and update, as well as reading.
4122
4123         * cursor.C (dispatch): don't handle update here
4124
4125 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4126
4127         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4128         * trans_mgr.C: adjust
4129
4130         * paragraph_funcs.C (readParToken): exception safety
4131
4132         * lyxvc.h: store the vcs pointer in a scoped_ptr
4133         * lyxvc.C: adjust
4134
4135         * lyxsocket.C (serverCallback): exception safety
4136
4137         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4138
4139         * ispell.C (clone): make it return a auto_ptr
4140
4141         * factory.C (createInset): exception safety
4142         (readInset): exception safety
4143
4144         * bufferlist.C (newBuffer): exception safety
4145
4146         * Thesaurus.C (Thesaurus): use initialization for aik_
4147
4148         * MenuBackend.C (expandToc): exception safety.
4149
4150 2003-11-03  André Pönitz  <poenitz@gmx.net>
4151
4152         * buffer.C:
4153         * buffer.h:
4154         * bufferview_funcs.C: remove getInsetFromId()
4155
4156         * lyxcursor.[Ch]:
4157         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4158
4159         * lyxfunc.C:
4160         * text2.C:
4161         * text3.C: adjust
4162
4163 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4164
4165         * PosIterator.C (distance, advance): new
4166         * bufferview_funcs.[Ch] (put_selection_at): new
4167         * iterators.[Ch] (lockPath): new
4168
4169 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4170
4171         * iterators.[Ch] (asPosIterator): added
4172         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4173         * PosIterator.[Ch]: added
4174
4175 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4176
4177         * text3.C:
4178         * lyxfunc.C:
4179         * cursor.C (dispatch):
4180         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4181
4182         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4183         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4184         contructor, add a class function dispatched. Remove operator>=
4185
4186 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4187
4188         * debug.C: only use the default constructor for debugstream
4189         (lyxerr) here.
4190
4191         * main.C (main): include debug.h and setup the lyxerr streambuf
4192         here.
4193
4194 2003-10-31  José Matos  <jamatos@lyx.org>
4195
4196         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4197
4198         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4199         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4200         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4201         * paragraph_pimpl.C (simpleTeXSpecialC):
4202         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4203         add LatexRunParams argument.
4204
4205         * exporter.C (Export): change call accordingly.
4206
4207         * latexrunparams.h: add new member to take care of the other backends.
4208 2003-10-30  José Matos  <jamatos@lyx.org>
4209
4210         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4211         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4212         factorise code for paragraph output.
4213         * buffer.[Ch]:
4214         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4215         move functions.
4216
4217 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4218
4219         * text3.C (dispatch):
4220         * lyxfunc.C (dispatch):
4221         * cursor.C (dispatch):
4222         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4223
4224         * dispatchresult.h: make the dispatch_result_t ctor explicit
4225
4226 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4227
4228         * sgml.[Ch]:
4229         * buffer.C: small refactoring of docbook stuff
4230
4231 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4232
4233         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4234         meaning.
4235
4236 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4237
4238         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4239         operator dispatch_result_t, and operators for == != and >=
4240
4241         * cursor.C (dispatch): adjust for operator dispatch_result_t
4242         removal. comment out call to update
4243
4244         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4245
4246 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4247
4248         * text3.C:
4249         * text2.C:
4250         * text.C:
4251         * lyxtext.h:
4252         * lyxfunc.C:
4253         * cursor.C:
4254         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4255         (dispatch):
4256
4257         * dispatchresult.h: new file, DispatchResult broken out of
4258         insets/insetbase.h
4259
4260         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4261
4262 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4263
4264         * text.C (rowBreakPoint): put a hack inside #if 0
4265
4266 2003-10-28  André Pönitz  <poenitz@gmx.net>
4267
4268         * lyxtext.h:
4269         * metricsinfo.C:
4270         * paragraph_funcs.C:
4271         * rowpainter.C:
4272         * text.C:
4273         * text2.C: general cleanup (lots of small stuff)
4274
4275 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4276
4277         * text2.C (cursorEnd): simple fix to the "end key goes to one
4278         before the end on last row" bug
4279
4280 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4281
4282         * text.C (backspace): fix the "zombie characters"
4283
4284 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4285
4286         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4287
4288 2003-10-27  André Pönitz  <poenitz@gmx.net>
4289
4290         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4291
4292         * factory.C: handle new InsetPagebreak, InsetLine
4293
4294         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4295         and move handling into new InsetPagebreak, InsetLine
4296
4297         * BufferView_pimpl.C:
4298         * LyXAction.C:
4299         * ParagraphParameters.C:
4300         * ParameterStruct.h:
4301         * lyxfunc.C:
4302         * lyxtext.h:
4303         * paragraph.C:
4304         * paragraph.h:
4305         * paragraph_funcs.C:
4306         * paragraph_pimpl.C:
4307         * rowpainter.C:
4308         * text.C:
4309         * text2.C:
4310         * text3.C: adjust
4311
4312 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4313
4314         * text.C:
4315         * lyxrow_funcs.[Ch]:
4316         * Bidi.C:
4317         * paragraph.C:
4318         * lyxtext.h:
4319         * rowpainter.C:
4320         * text2.C:
4321         * text3.C: remove lastPos uses in favour of Row::endpos
4322
4323 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4324
4325         * undo.C (performUndoOrRedo): fix two crashes by setting a
4326         cursor by hand and reordering some calls. Use bv->lockInset instead
4327         of inset->edit because the latter loses cursor information
4328
4329 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4330
4331         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4332         by Martin
4333         (rowBreakPoint): fix width. change point to point + 1.
4334         Add a missing check.
4335
4336 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4337
4338         * MenuBackend.C:
4339         * lyxfunc.C: fix (at least partly) the problems
4340         with the Nav menu and headers inside branch insets
4341         reported by Kayvan
4342
4343 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4344
4345         * paragraph.C (getChar): add strong asserts
4346
4347         * lyxrow_funcs.C (lastPos): remove hideous hack
4348
4349         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4350         (fill): adjust to that (avoid an infinite loop)
4351
4352 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4353
4354         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4355
4356 2003-10-23  André Pönitz  <poenitz@gmx.net>
4357
4358         * RowList_fwd.h: change list<> to vector<> to gain speed
4359         after suggestion from Alfredo
4360
4361 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4362
4363         * lyxtext.h: move the bidi stuff from here...
4364         * text.C: and here
4365         * text2.C: and here
4366         * Bidi.[Ch]: ... to here
4367
4368 2003-10-23  André Pönitz  <poenitz@gmx.net>
4369
4370         * lyxtext.h:
4371         * text.C (isLastRow, isFirstRow): new functions
4372
4373         * paragraph.h: new width cache member
4374
4375         * rowpainter.C: replace RowList::iterator with Row & where possible
4376
4377         * lyxfunc.C: replace several view()->text with a single call
4378
4379         * toc.C: fix 'unused' warning
4380
4381 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4382
4383         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4384         when woring with stream::pos_type
4385         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4386
4387 2003-10-22  André Pönitz  <poenitz@gmx.net>
4388
4389         * lyxtext.h:
4390         * text.C: use Row & instead of RowList::iterator
4391
4392         * lyxrow.h: rename end() to endpos()
4393
4394         * rowpainter.C:
4395         * text.C:
4396         * text2.C: adjust
4397
4398 2003-10-22  Angus Leeming  <leeming@lyx.org>
4399
4400         * buffer.[Ch] (fully_loaded): new member function, returning true
4401         only when the file has been loaded fully.
4402         Used to prevent the premature generation of previews and by the
4403         citation inset to prevent computation of the natbib-style label.
4404
4405         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4406         templates are all set up.
4407
4408         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4409
4410 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4411
4412         * text.C: fixed an "oops" in the "is a bit silly"
4413         bug fix
4414
4415 2003-10-21  André Pönitz  <poenitz@gmx.net>
4416
4417         * FuncStatus.[Ch]: small stuff, whitespace
4418
4419         * lyxfont.[Ch]: operator<<() for debug reasons
4420
4421         * lyxfunc.C:
4422         * lyxrow_funcs.C:
4423         * lyxtext.h: whitespace, spelling
4424
4425         * paragraph.C: naming of variables
4426
4427         * text.C:
4428         * text2.C: small stuff
4429
4430
4431 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4432
4433         * text.C: (1) finish off the inset display() work;
4434         (2) fix the "is a bit silly" bug (accessing char
4435         past end of par).
4436
4437 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4438
4439         * text.C: re-introduce display() for insets, fixing the
4440         various bugs (stretch of line above, math inset
4441         positioning, ...)
4442
4443 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4444
4445         * text.C (rightMargin): remove spurious semicolon
4446
4447         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4448         1415)
4449
4450 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4451
4452         * text3.C: fix one crash due to wrong cursor def
4453
4454 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4455
4456         * vc-backend.C (scanMaster): make the regex static
4457
4458         * LaTeX.C (scanAuxFile): make the regexs static
4459
4460         * text3.C (doInsertInset, dispatch, dispatch):
4461         * text2.C (cursorUp, cursorDown):
4462         * text.C (selectNextWordToSpellcheck):
4463         * BufferView_pimpl.C (dispatch):
4464         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4465
4466 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4467
4468         * lyxsocket.C: include <cerrno>
4469
4470 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4471
4472         * lyxfunc.C (dispatch): remove textcache stuff
4473
4474         * bufferlist.C (release): remove textcache stuff
4475         (closeAll): ditto
4476
4477         * TextCache.C: delete file
4478         * TextCache.h: delete file
4479
4480         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4481
4482         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4483         delete of the bv_->text.
4484         (resizeCurrentBuffer): remove texcache stuff
4485         (workAreaResize): ditto
4486
4487 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4488
4489         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4490         action.
4491
4492 2003-10-16  André Pönitz  <poenitz@gmx.net>
4493
4494         * lyxrow.[Ch]:
4495         * paragraph.h:
4496         * rowpainter.C:
4497         * text.C:
4498         * text2.C:
4499         * text3.C: speed up by storing y positions per paragraph plus per-row
4500         offset instead of having a 'full' y position in the row.
4501
4502 2003-10-15  André Pönitz  <poenitz@gmx.net>
4503
4504         * iterators.[Ch]:
4505         * iterators.[Ch]:
4506         * undo.[Ch]: make undo aware of inner insets
4507
4508 2003-10-14  Angus Leeming  <leeming@lyx.org>
4509
4510         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4511         static member functions LyX::ref() and LyX::cref.
4512         (lastfiles): new accessor functions for the new lastfiles_ member var.
4513         (addLyXView, views_): add a new LyXView to the list of views_.
4514         (updateInset): loop over all LyXViews to call their own updateInset
4515         member function, returning a pointer to the Buffer owning the inset.
4516
4517         * BufferView_pimpl.C (loadLyXFile):
4518         * MenuBackend.C (expandLastfiles):
4519         * bufferlist.C (MenuWrite, QuitLyX):
4520         lastfiles is no longer a global variable.
4521         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4522
4523         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4524         static function. Access through LyX::cref().emergencyCleanup().
4525
4526 2003-10-14  André Pönitz  <poenitz@gmx.net>
4527
4528         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4529
4530         * undo.[Ch]: restoring part of 'undo in insets'
4531
4532         * Makefile.am:
4533         * undo_funcs.[Ch]: merge with undo.[Ch]
4534
4535         * tabular.C: small cleansing stuff
4536
4537 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4538
4539         * paragraph_funcs.C (readParToken): report unknown insets as error
4540         boxes. Use the outer paragraph as location (also for unknown
4541         tokens).
4542
4543         * factory.C (readInset): do not abort on reading an unknown inset.
4544         Eat it and return 0.
4545
4546 2003-10-13  Angus Leeming  <leeming@lyx.org>
4547
4548         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4549
4550         * lyxrc.C: displayTranslator is now a function,
4551         declared in GraphicsTypes.h.
4552
4553 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4554
4555         * format.C: new placeholder $$a to pass the socket address.
4556
4557         * bufferlist.[Ch]: new function getBufferFromTmp.
4558
4559         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4560           files in the temporary dir.
4561
4562 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4563
4564         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4565
4566         * Makefile.am: add lyxsocket.[Ch].
4567
4568         * lyx_main.C (error_handler): handle SIGPIPE.
4569
4570 2003-10-13  André Pönitz  <poenitz@gmx.net>
4571
4572         * BufferView_pimpl.C:
4573         * lyxtext.h:
4574         * text.C:
4575         * text2.C:
4576         * text3.C:
4577         * undo_funcs.[Ch]: use paroffset_type instead of
4578           ParagraphList::iterators to prevent multiple conversion
4579           (and get a more robust interface)
4580
4581 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4582
4583         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4584         * lyxtext.h: ditto
4585         * text3.C (dispatch): ditto
4586
4587 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4588
4589         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4590         move the onlyfile, use onlyfile instead of foundfile in a couple
4591         of places.
4592
4593         * DepTable.C (update): flush the error stream a bit more
4594
4595 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4596
4597         * lyxserver.C (callback): adjust
4598
4599         * lyxfunc.C (getStatus): add a missing brace in commented code
4600         (ensureBufferClean): reindent
4601         (dispatch): delete version taking a string
4602
4603 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4604
4605         * LaTeX.C (deplog): move found file handlig from here...
4606         (handleFoundFile): .. to new function here.
4607         (deplog): make sure to discover several files mentioned on the
4608         same log line.
4609
4610 2003-10-10  André Pönitz  <poenitz@gmx.net>
4611
4612         * lyxfunc.C:
4613         * lyxtext.h:
4614         * tabular.C:
4615         * text.C:
4616         * text2.C:
4617         * text3.C: fix some of the tabular crashes
4618
4619 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4620
4621         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4622
4623         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4624
4625 2003-10-09  André Pönitz  <poenitz@gmx.net>
4626
4627         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4628
4629         * BufferView.C:
4630         * BufferView_pimpl.C:
4631         * bufferview_funcs.C:
4632         * lyx_cb.C:
4633         * lyxcursor.C:
4634         * lyxfind.C:
4635         * lyxfunc.C:
4636         * lyxtext.h:
4637         * text.C:
4638         * text2.C:
4639         * text3.C:
4640         * text_funcs.[Ch]:
4641         * textcursor.[Ch]:
4642         * undo_funcs.C: adjust
4643
4644 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4645
4646         * text2.C (incrementItemDepth): new function, use a backtracking
4647         algorithm to discover the correct item depth.
4648         (resetEnumCounterIfNeeded): new function, use a backtracking
4649         algorithm to discover if counter reset is needed.
4650         (setCounter): use them. Simplify a bit. Add different labels for
4651         different item depths for itemize.
4652
4653         * paragraph.C (Paragraph): remove initialization of enumdepth
4654         (operator=): ditto
4655
4656         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4657         enumerate and itemize. Change the type of itemdepth to signed char.
4658
4659 2003-10-08  André Pönitz  <poenitz@gmx.net>
4660
4661         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4662           thing assignable.
4663         * text.C:
4664         * text2.C: adjust
4665
4666         * tabular.[Ch]: fix crash after 'row-insert'
4667
4668 2003-10-08  Angus Leeming  <leeming@lyx.org>
4669
4670         Fix doxygen warnings.
4671
4672         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4673         Remove CutAndPaste:: prefix from header file declaration.
4674
4675         * LColor.h (fill): remove LColor:: prefix from declaration.
4676
4677         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4678         use lyx::depth_type rather than Paragraph::depth_type so that
4679         header file and .C file match.
4680
4681         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4682
4683         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4684         * aspell.C: \file aspell_local.C -> \file aspell.C
4685         * gettext.C: \file gettext.C -> \file src/gettext.C
4686         * gettext.h: \file gettext.h -> \file src/gettext.h
4687         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4688         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4689         * text.C: \file text.C -> \file src/text.C
4690
4691         * toc.C: move comment so that doxygen is not confused.
4692
4693 2003-10-07  Angus Leeming  <leeming@lyx.org>
4694
4695         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4696
4697 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4698
4699         * aspell.C:
4700         * aspell_local.h: add forgotten std::string's.
4701
4702 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4703
4704         * LaTeXFeatures.C:
4705         * LyXAction.C:
4706         * factory.C:
4707         * lfuns.h:
4708         * lyxfunc.C:
4709         * text3.C: The Box patch. Fancybox support, minipage, parbox
4710
4711 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4712
4713         * CutAndPaste.h:
4714         * DepTable.h:
4715         * FloatList.h:
4716         * LaTeXFeatures.h:
4717         * ParagraphParameters.h:
4718         * TextCache.h:
4719         * Thesaurus.h:
4720         * bufferlist.h:
4721         * exporter.h:
4722         * importer.h:
4723         * lastfiles.h:
4724         * lyxfind.h:
4725         * lyxfont.h:
4726         * lyxlex.h:
4727         * lyxtextclasslist.h:
4728         * messages.h:
4729         * paragraph.h:
4730         * paragraph_pimpl.C:
4731         * textcursor.h: add <string> and other small fixes to make Lars'
4732         std::string patch compile with STLport.
4733
4734 2003-10-06  Angus Leeming  <leeming@lyx.org>
4735
4736         * LColor.h: Add missing #include <string>.
4737
4738 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * All most all file in all subdirs: Make <string> be the prefered
4741         way of getting to std::string, add using declarations.
4742
4743 2003-10-06  André Pönitz  <poenitz@gmx.net>
4744
4745         * metricsinfo.C: initialize LyXFont before changing attribute.
4746         (fixes the 'math in \emph is upright' bug)
4747
4748 2003-10-06  André Pönitz  <poenitz@gmx.net>
4749
4750         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4751
4752 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4753
4754         * graph.C:
4755         * paragraph_pimpl.C: Small fixes to build using STLport
4756
4757 2003-10-02  André Pönitz  <poenitz@gmx.net>
4758
4759         * lyxfunc.C:
4760         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4761
4762 2003-10-01  André Pönitz  <poenitz@gmx.net>
4763
4764         * factory.C: assert early
4765
4766 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4767
4768         * lyx_main.C: remove the global debug object
4769
4770         * debug.h: adjust for new debugstream
4771
4772         * debug.C: adjust for new debugstream and keep the global debug
4773         object here.
4774
4775 2003-09-22  Angus Leeming  <leeming@lyx.org>
4776
4777         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4778         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4779         an incomplete class LyXFont.
4780
4781 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4782
4783         * factory.C: bug fix in branches
4784
4785 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4786
4787         * lyxfunc.C (processKeySym): adjust
4788         (dispatch): adjust
4789         (dispatch): change arg name from ev to func, adjust
4790         (sendDispatchMessage): ditto
4791
4792         * lyx_main.C (defaultKeyBindings): adjust keybindings
4793         (deadKeyBindings): ditto
4794
4795         * kbsequence.C (addkey): return a FuncRequest
4796
4797         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4798
4799         * kbmap.C (bind): take a FuncRequest as arg, adjust
4800         (read): adjust
4801         (lookup): adjust
4802         (defkey): change to take a FuncRequest as arg, adjust
4803         (findbinding): take a FuncRequest as arg, adjust.
4804
4805         * funcrequest.h (operator=): added
4806
4807         * funcrequest.C (FuncRequest): default kb_action changed from
4808         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4809
4810         * buffer.C (dispatch): simplify
4811         (dispatch): adjust to take a FuncRequest as arg, adjust
4812
4813         * boost.C (assertion_failed): change assertion message slightly
4814
4815         * ToolbarBackend.C (read): simplify
4816
4817         * MenuBackend.C (binding): adjust call to findbinding, add a
4818         message if no binding is found.
4819         (read): simplify
4820         (expandToc): correct by adding a empty FuncRequest
4821
4822         * LyXAction.C: include <boost/assert.hpp>
4823         (isPseudoAction): delete function
4824         (LookupFunc): change name to...
4825         (lookupFunc): this. change return type to FuncRequest.
4826         (getActionName): take kb_action as arg, simplify
4827         (funcHasFlag): add an assert, simplify.
4828
4829 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4830
4831         * toc.C (action): return a FuncRequest, simplify
4832
4833         * lyxfunc.C (processKeySym): adjust
4834         (getStatus): delete version that takes an int.
4835         (getStatus): adjust
4836         (dispatch): delete version that takes action as int
4837         (dispatch): adjust
4838         (sendDispatchMessage): simplify and adjust
4839
4840         * funcrequest.C (getArg): take unsigned int as arg
4841
4842         * ToolbarBackend.C (read): adjust
4843         (add): delete version that takes func as a string.
4844         (getIton): take a FuncRequest as arg
4845
4846         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4847         action.
4848
4849         * MenuBackend.C (MenuItem): add a new construct that only takes a
4850         Kind, simplify the constructor use for submenus.
4851         (add): adjust
4852         (expandLastfiles): adjust
4853         (expandDocuments): adjust
4854         (expandFormats): adjust
4855         (expandFloatListInsert): adjust
4856         (expandFloatInsert): adjust
4857         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4858
4859         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4860         Remove class variables lyx_pseudo_map and lyx_arg_map
4861
4862         * LyXAction.C (searchActionArg): delete function
4863         (getPseudoAction): delete function
4864         (retrieveActionArg): delete function
4865         (LookupFunc): make it return kb_action, simplify.
4866         (getActionName): simplify
4867
4868         * factory.C (createInset): fix new bug
4869
4870 2003-09-19  Angus Leeming  <leeming@lyx.org>
4871
4872         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4873         masterFilename_ parameter in the include inset.
4874
4875         * factory.C (createInset): changes due to the changes to InsetInclude.
4876
4877 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4878
4879         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4880
4881 2003-09-18  Angus Leeming  <leeming@lyx.org>
4882
4883         * buffer.C:
4884         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4885         Inset::fillWithBibKeys.
4886         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4887
4888 2003-09-18  Angus Leeming  <leeming@lyx.org>
4889
4890         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4891         variables.
4892         (ctor): pass and store a 'Buffer const &'
4893         (buffer): new member function.
4894
4895         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4896         '*this' to the LaTeXFeatures ctor.
4897
4898 2003-09-18  Angus Leeming  <leeming@lyx.org>
4899
4900         * LColor.h:
4901         * lyxfont.C:
4902         * lyxfont.h:
4903         * lyxtext.h:
4904         * text.C: rename EnumLColor as LColor_color.
4905
4906 2003-09-18  Angus Leeming  <leeming@lyx.org>
4907
4908         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4909         remove #include "insets/insetbase.h" from cursor.h.
4910
4911 2003-09-18  Angus Leeming  <leeming@lyx.org>
4912
4913         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4914         InsetOld_code to remove #include "inset.h".
4915
4916         * iterators.C: add #include "insets/inset.h"
4917
4918 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4919
4920         * BufferView.C: remove more locking stuff that apparently doesn't
4921         do anything sensible.
4922
4923 2003-09-16  André Pönitz  <poenitz@gmx.net>
4924
4925         * paragraph.[Ch]:
4926         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4927           performance boost.
4928
4929 2003-09-16  Angus Leeming  <leeming@lyx.org>
4930
4931         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4932
4933         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4934         arg/return type.
4935
4936         * paragraph.h: remove #include "lyxfont.h". Forward declare
4937         LyXFont_size.
4938
4939 2003-09-16  Angus Leeming  <leeming@lyx.org>
4940
4941         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4942         of support/textutils.h.
4943         (isWord): move the contents of support/textutils.h's IsWordChar here.
4944
4945         * buffer.C:
4946         * lyxfind.C:
4947         * rowpainter.C:
4948         * text.C:
4949         * text2.C: add #include "paragraph.h".
4950
4951         * rowpainter.C:
4952         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4953
4954 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4955
4956         * main.C:
4957         * lyx_main.C:
4958         * lyx_cb.C:
4959         * buffer.C:
4960         * LaTeX.C: use namespace alias for lyx::support::os
4961
4962 2003-09-16  Angus Leeming  <leeming@lyx.org>
4963
4964         * bufferparams.C:
4965         * bufferview_funcs.C:
4966         * factory.C:
4967         * lyxfunc.C:
4968         * paragraph_pimpl.C:
4969         * rowpainter.C:
4970         * text.C: add #include "LColor.h".
4971
4972 2003-09-16  Angus Leeming  <leeming@lyx.org>
4973
4974         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4975         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4976         return LyXFont &.
4977         Store the FontBits::color variable as an int rather than as an
4978         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4979         file.
4980
4981         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4982         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4983         string calls together.
4984
4985         * lyxrc.C: add #include "LColor.h".
4986
4987 2003-09-15  Angus Leeming  <leeming@lyx.org>
4988
4989         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4990         a cow_ptr.
4991
4992 2003-09-15  Angus Leeming  <leeming@lyx.org>
4993
4994         * LColor.h: add an EnumLColor wrapper for LColor::color.
4995
4996         * lyxfont.[Ch] (color, setColor, realColor):
4997         * lyxtext.h, text.C (backgroundColor):
4998         pass EnumLColor args to/from the functions, rather than LColor::color
4999         ones.
5000
5001         * lyxfont.h:
5002         * lyxtext.h: forward declare EnumLColor.
5003
5004         * lyx_main.C: add #include "LColor.h".
5005
5006 2003-09-15  Angus Leeming  <leeming@lyx.org>
5007
5008         * .cvsignore: add lyx-gtk.
5009
5010 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5011
5012         * Chktex.C
5013         * LaTeX.C
5014         * LaTeXFeatures.C
5015         * ParagraphParameters.C
5016         * Spacing.C
5017         * buffer.C
5018         * bufferparams.C
5019         * bufferview_funcs.C
5020         * chset.C
5021         * counters.C
5022         * funcrequest.C
5023         * lyxfont.C
5024         * lyxgluelength.C
5025         * lyxlength.C
5026         * paragraph.C
5027         * paragraph_funcs.C
5028         * text3.C
5029         * vc-backend.C: remove usage of STRCONV
5030
5031 2003-09-15  Angus Leeming  <leeming@lyx.org>
5032
5033         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5034         explicitly define the color passed to the painter.
5035
5036 2003-09-15  Angus Leeming  <leeming@lyx.org>
5037
5038         * bufferparams.C (BufferParams): reorder member initializers to avoid
5039         compiler warning.
5040
5041 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5042
5043         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5044         * text.C (updateRowPositions): remove an unusual nop
5045
5046 2003-09-12  André Pönitz  <poenitz@gmx.net>
5047
5048         * BufferView_pimpl.C:
5049         * Bullet.C:
5050         * layout.h:
5051         * lyxfunc.C:
5052         * lyxlayout.[Ch]:
5053         * lyxtextclass.C:
5054         * rowpainter.C:
5055         * text.C:
5056         * text2.C:
5057         * Counters.[Ch]: finish the 'automatic counters' job
5058
5059 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5060
5061         * aspell.C: include <boost/assert.cpp> (compile fix)
5062
5063 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5064
5065         * boost.C (assertion_failed): use lyx::support::abort instead of
5066         assert.
5067
5068 2003-09-10  Angus Leeming  <leeming@lyx.org>
5069
5070         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5071         with their _fwd progeny.
5072
5073 2003-09-09  Angus Leeming  <leeming@lyx.org>
5074
5075         134 files throughtout the source tree: replace 'using namespace abc;'
5076         directives with the appropriate 'using abc::xyz;' declarations.
5077
5078 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5079
5080         * boost.C (emergencyCleanup): moved here from LAssert.c
5081         (assertion_failed): new function, called by BOOST_ASSERT
5082
5083         * several files: change Assert to BOOST_ASSERT
5084
5085 2003-09-09  Angus Leeming  <leeming@lyx.org>
5086
5087         * buffer.[Ch]: Add an Impl class and move Buffer's member
5088         variables into it. As a result move several header files out of
5089         buffer.h.
5090
5091         Add header files to lots of .C files all over the tree as a result.
5092
5093 2003-09-09  Angus Leeming  <leeming@lyx.org>
5094
5095         * buffer.[Ch]: make Buffer's member variables private. Add
5096         accessor functions.
5097
5098         Lots of changes all over the tree as a result.
5099
5100 2003-09-08  Angus Leeming  <leeming@lyx.org>
5101
5102         * graph.C: #include <config.h>.
5103
5104 2003-09-08  Angus Leeming  <leeming@lyx.org>
5105
5106         * BranchList.C:
5107         * BufferView.C:
5108         * BufferView_pimpl.C:
5109         * CutAndPaste.C:
5110         * DepTable.C:
5111         * LaTeX.C:
5112         * LaTeXFeatures.C:
5113         * LyXAction.C:
5114         * MenuBackend.C:
5115         * TextCache.C:
5116         * aspell.C:
5117         * buffer.C:
5118         * bufferlist.C:
5119         * changes.C:
5120         * chset.C:
5121         * converter.C:
5122         * counters.C:
5123         * debug.C:
5124         * graph.C:
5125         * ispell.C:
5126         * lyx_cb.C:
5127         * lyxfind.C:
5128         * lyxfunc.C:
5129         * lyxlex_pimpl.C:
5130         * lyxrc.C:
5131         * lyxrow.C:
5132         * paragraph.C:
5133         * rowpainter.C:
5134         * texrow.C:
5135         * text.C:
5136         * text2.C:
5137         * toc.C: remove redundant using directives.
5138
5139 2003-09-07  Angus Leeming  <leeming@lyx.org>
5140
5141         * LaTeXFeatures.h: remove #include "support/types.h".
5142         * ToolbarBackend.h: remove #include <algorithm>.
5143         * changes.h: remove #include <ctime>.
5144         * debug.h: remove #include <iosfwd>.
5145         * graph.h: remove #include "support/std_string.h".
5146         * lyx_main.h: remove #include <csignal>.
5147         * lyxlex_pimpl.h: remove #include <fstream>.
5148         * sgml.h: remove #include <algorithm>, <utility>.
5149         * toc.h: remove #include "support/std_ostream.h".
5150         Add #include <iosfwd>.
5151
5152 2003-09-07  Angus Leeming  <leeming@lyx.org>
5153
5154         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5155
5156         * converter.h: forward declare LatexRunParams.
5157         * encoding.h: remove #include "lyxrc.h".
5158         * lyxtext.h: remove #include "LColor.h".
5159         * lyxtextclass.h: remove #include "support/types.h".
5160         * trans.h: remove #include "tex-accent.h".
5161         * trans_mgr.h: remove #include "tex-accent.h".
5162         * insets/inset.h: remove #include "support/types.h", <vector>.
5163         * insets/insetcollapsable.h: remove #include "LColor.h".
5164         * insets/insetinclude.h: remove #include "dimension.h".
5165         * insets/insetlatexaccent.h: remove #include "dimension.h".
5166         * insets/insetoptarg.h:: remove #include "insettext.h".
5167         * insets/insettext.h: remove #include "dimension.h",
5168         <boost/shared_ptr.hpp>
5169
5170         * insets/renderers.h: add #include "dimension.h".
5171         * insets/updatableinset.h: add #include "support/types.h".
5172
5173         * many .C files: Associated changes.
5174
5175 2003-09-06  Angus Leeming  <leeming@lyx.org>
5176
5177         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5178         one, inside testInvariant.
5179
5180         * PrinterParams.C: new file.
5181         * PrinterParams.[Ch]: move the function bodies out of line.
5182
5183 2003-09-06  Angus Leeming  <leeming@lyx.org>
5184
5185         * ParagraphParameters.h: forward declare ParameterStruct rather than
5186         including its header file.
5187         (depth): moved out-of-line.
5188
5189 2003-09-06  Angus Leeming  <leeming@lyx.org>
5190
5191         * BufferView_pimpl.h:
5192         * kbmap.h:
5193         * kbsequence.h:
5194         * lyxfunc.h: forward declare LyXKeySym rather than
5195         #include "frontends/LyXKeySym.h".
5196
5197         * BufferView_pimpl.C:
5198         * kbmap.C:
5199         * kbsequence.C:
5200         * lyxfunc.C: associated changes.
5201
5202 2003-09-06  Angus Leeming  <leeming@lyx.org>
5203
5204         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5205         As a result, can remove the #include "insets/inset.h" from BufferView.h
5206
5207 2003-09-06  Angus Leeming  <leeming@lyx.org>
5208
5209         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5210         As a result, can remove the #include "insets/inset.h" from BufferView.h
5211
5212 2003-09-06  Angus Leeming  <leeming@lyx.org>
5213
5214         * buffer_funcs.C:
5215         * buffer.h:
5216         * bufferlist.C:
5217         * BufferView.C:
5218         * bufferview_funcs.C:
5219         * BufferView_pimpl.C:
5220         * CutAndPaste.C:
5221         * lyx_cb.C:
5222         * lyxfunc.C:
5223         * paragraph.h:
5224         * ParagraphParameters.C:
5225         * tabular.C:
5226         * text3.C:
5227         * toc.C:
5228         * undo_funcs.C:
5229         * frontends/controllers/ControlDocument.C:
5230         * insets/insetcaption.C: rearrange the #includes into some sort of
5231         coherent order.
5232
5233         * buffer.h: remove #includes ErrorList.h, undo.h
5234
5235 2003-09-06  Angus Leeming  <leeming@lyx.org>
5236
5237         * support/types.h: add a 'depth_type' typedef, used to store the
5238         nesting depth of a paragraph.
5239
5240         * paragraph.h:
5241         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5242         defining explicitly.
5243
5244         * buffer.h:
5245         * paragraph_funcs.h:
5246         * ParagraphParameters.h:
5247         * sgml.h: use lyx::depth_type rather than Paragraph or
5248         ParameterStruct's depth_type.
5249
5250         * buffer.h
5251         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5252
5253         * BufferView.C:
5254         * BufferView_pimpl.C:
5255         * CutAndPaste.C:
5256         * ParagraphParameters.C:
5257         * buffer_funcs.C:
5258         * bufferlist.C:
5259         * bufferview_funcs.C:
5260         * lyx_cb.C:
5261         * lyxfunc.C:
5262         * tabular.C:
5263         * text3.C:
5264         * toc.C:
5265         * undo_funcs.C:
5266         * frontends/LyXView.C:
5267         * frontends/controllers/ControlDocument.C:
5268         * frontends/controllers/ControlErrorList.C:
5269         * insets/insetbibitem.C:
5270         * insets/insetbranch.C:
5271         * insets/insetcaption.C:
5272         * insets/insetcollapsable.C:
5273         * insets/insetenv.C:
5274         * insets/insetert.C:
5275         * insets/insetfloat.C:
5276         * insets/insetfoot.C:
5277         * insets/insetfootlike.C:
5278         * insets/insetnewline.C:
5279         * insets/insetquotes.C:
5280         * insets/insettabular.C:
5281         * insets/insettext.C:
5282         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5283
5284         * frontends/controllers/ControlChanges.C: #include "changes.h".
5285
5286 2003-09-06  Angus Leeming  <leeming@lyx.org>
5287
5288         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5289         than #including paragraph.h.
5290
5291         * ParagraphList.h:
5292         * RowList.h: deleted. Superfluous.
5293
5294         * CutAndPaste.h:
5295         * iterators.h:
5296         * lyxcursor.h:
5297         * lyxtext.h:
5298         * text_funcs.h:
5299         * undo.h:
5300         * undo_funcs.h:
5301         * insets/inset.h:
5302         * insets/insettext.h: use ParagraphList_fwd.h rather than
5303         ParagraphList.h.
5304
5305         * paragraph.h: don't forward declare ParagraphList.
5306
5307         * buffer.h:
5308         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5309         rather than ParagraphList.h. paragraph.h is still needed for the
5310         Paragraph::depth_type parameters.
5311
5312         * textcursor.h: enable it to compile stand-alone in light of the
5313         above changes.
5314
5315         * bufferview_funcs.C:
5316         * iterators.C:
5317         * lyxfunc.C:
5318         * lyxrow_funcs.C:
5319         * paragraph.C:
5320         * rowpainter.C:
5321         * text.C:
5322         * text2.C:
5323         * text3.C:
5324         * text_funcs.C:
5325         * textcursor.C:
5326         * undo.C:
5327         * frontends/controllers/ControlParagraph.C:
5328         * frontends/controllers/ControlTabular.C:
5329         * insets/insetmarginal.C:
5330         * insets/insetminipage.C:
5331         * insets/insetnote.C:
5332         * insets/insetoptarg.C: add header files needed to compile again.
5333
5334 2003-09-06  Angus Leeming  <leeming@lyx.org>
5335
5336         * RowList_fwd.h: new file, forward-declaring Row rather than
5337         #including lyxrow.h.
5338
5339         * lyxrow_funcs.h:
5340         * lyxtext.h:
5341         * paragraph.h:
5342         * insets/insettext.h: use it instead of RowList.h
5343
5344         * bufferview_funcs.C:
5345         * lyxfunc.C:
5346         * lyxrow_funcs.C:
5347         * paragraph.C:
5348         * rowpainter.C:
5349         * text.C:
5350         * text2.C:
5351         * text3.C: #include "RowList.h".
5352
5353 2003-09-05  Angus Leeming  <leeming@lyx.org>
5354
5355         * factory.C (createInset):
5356         * vspace.C (c-tor): replace sscanf call with an istringstream.
5357         * ispell.C: re-add missing HP/UX headers.
5358         * lyxserver.C: re-add missing  os2 headers.
5359
5360 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5361
5362         * BranchList.C:
5363         * graph.C:
5364         * ispell.C:
5365         * lastfiles.C:
5366         * lyx_cb.C:
5367         * lyxserver.C:
5368         * texrow.C:
5369         * text3.C: re-add missing system headers, needed for 2.95.2.
5370
5371 2003-09-05  Angus Leeming  <leeming@lyx.org>
5372
5373         Changes most place everywhere due to the removal of using directives
5374         from support/std_sstream.h.
5375
5376 2003-09-05  Angus Leeming  <leeming@lyx.org>
5377
5378         Replace LString.h with support/std_string.h,
5379         Lsstream.h with support/std_sstream.h,
5380         support/LIstream.h with support/std_istream.h,
5381         support/LOstream.h with support/std_ostream.h.
5382
5383         Changes resulting throughout the tree.
5384
5385 2003-09-05  Angus Leeming  <leeming@lyx.org>
5386
5387         * sgml.h: ensure that the header file can be compiled stand-alone.
5388         * *.C: strip out redundant #includes. (320 in total.)
5389
5390 2003-09-04  Angus Leeming  <leeming@lyx.org>
5391
5392         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5393         here (from getPackages).
5394
5395         * debug.[Ch]: add a new EXTERNAL tag.
5396
5397 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5398
5399         * text2.C (cursorEnd): simplify
5400         (setCursor): adjust
5401         (getColumnNearX): adjust
5402
5403         * text.C (computeBidiTables): adjust
5404         (fill): adjust
5405
5406         * rowpainter.C (paintChars): adjust
5407         (paintSelection): adjust
5408         (paintChangeBar): adjust
5409         (paintText): adjust
5410
5411         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5412         lastPos instead.
5413         (numberOfSeparators): adjust
5414
5415 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5416
5417         * LyXAction.C:
5418         * box.[Ch]:
5419         * lfuns.h:
5420         * lyxfunc.C:
5421         * text3.C: Restricts the mouse click functionality
5422         of insets like bibtex, include, toc and floatlist to the visible
5423         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5424         up the dialogs. Cursor has to be in front of the inset (i.e.
5425         start of row) for this to function.
5426
5427 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5428
5429         * bufferview_funcs.C (currentState): output row information
5430
5431 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5432
5433         * bufferview_funcs.C (currentState): output paragraph position
5434
5435 2003-09-04  Angus Leeming  <leeming@lyx.org>
5436
5437         * FloatList.h: move out #include "Floating.h".
5438         * LaTeX.h: move out #include "DepTable.h".
5439         * LyXAction.h: move out #include "funcrequest.h".
5440         * buffer.h: move out #include "author.h", "iterators.h".
5441         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5442         * lyx_main.h: move out #include "errorlist.h".
5443         * lyxfunc.h: move out #include "FuncStatus.h".
5444         * lyxtext: move out #include "lyxcursor.h".
5445         * paragraph_pimpl.h: move out #include "counters.h".
5446
5447 2003-09-03  Angus Leeming  <leeming@lyx.org>
5448
5449         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5450         preamble_snippets list, enabling us to add snippets to the preamble
5451         only if the snippet was not there already.
5452
5453 2003-09-04  Angus Leeming  <leeming@lyx.org>
5454
5455         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5456
5457 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5458
5459         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5460         update
5461
5462 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5463
5464         * BranchList.C: point fix, earlier forgotten
5465
5466 2003-09-02  Angus Leeming  <leeming@lyx.org>
5467
5468         * box.C (contains): renamed from 'contained' after a fantastic
5469         amount of hot air.
5470
5471 2003-09-02  John Levon  <levon@movementarian.org>
5472
5473         * BufferView.C:
5474         * lyxcursor.h:
5475         * lyxcursor.C:
5476         * lyxfunc.C:
5477         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5478
5479 2003-09-02  John Levon  <levon@movementarian.org>
5480
5481         * text2.C: simplification of cursorEnd(), including partial
5482         fix for bug 1376
5483
5484 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5485
5486         * buffer.C (readFile): add a space
5487
5488 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5489
5490         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5491
5492 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5493
5494         * buffer.C (readFile): new function, take a filename and a
5495         ParagraphList::iterator
5496         (readFile): adjust
5497         (readFile): adjust, make it private. don't use setStream, make
5498         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5499         always contain the filename.
5500
5501         * BufferView.C (insertLyXFile): simplify and make it work for
5502         gzipped files.
5503
5504 2003-08-30  John Levon  <levon@movementarian.org>
5505
5506         * Makefile.am: fix dist (from Kayvan)
5507
5508 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5509
5510         * most files: change to use const Buffer refs
5511
5512 2003-08-27  André Pönitz  <poenitz@gmx.net>
5513
5514         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5515         on top of ownerPar().
5516
5517 2003-08-27  John Levon  <levon@movementarian.org>
5518
5519         * funcrequest.C: properly initialise POD members
5520
5521 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5522
5523         * lyxtext.h (top_y): move top_y from here
5524         * text.C:
5525         * text2.C:
5526         * text3.C:
5527         * BufferView.[Ch]:
5528         * BufferView_pimpl.[Ch]: to here
5529         * frontends/screen.C:
5530         * insets/insettabular.C:
5531         * insets/insettext.C: adjust
5532         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5533
5534 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5535
5536         * BufferView.[Ch]:
5537         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5538
5539 2003-08-26  André Pönitz  <poenitz@gmx.net>
5540
5541         * paragraph_func.[Ch] (outerPar): new function
5542
5543         * paragraph.C:
5544         * paragraph_funcs.C:
5545         * paragraph_funcs.h:
5546         * paragraph_pimpl.C:
5547         * text2.C: remove Inset::par_owner
5548
5549 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5550
5551         * lyxrow_funcs.C:
5552         * lyxtext.h:
5553         * text.C:
5554         * text2.C: eliminates the needFullRow/display() stuff
5555         altogether, putting the logic in metrics/draw in the insets.
5556
5557 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5558
5559         * text2.C (redoParagraphInternal, redoParagraphs):
5560         * text.C (redoParagraph): add a call to updateRowPositions at the
5561         end of each 'metrics-like' call. Remove all others.
5562         (getRow): remove the 'y-computing' version.
5563         (getRowNearY): do not compute nor return the real y. Solve the
5564         'y < 0' problem and simplify.
5565
5566 2003-08-22  Angus Leeming  <leeming@lyx.org>
5567
5568         * *.[Ch]: clean-up of licence and author blurbs.
5569         Also move config.h out of a few .h files and into a few .C files.
5570
5571 2003-08-22  André Pönitz  <poenitz@gmx.net>
5572
5573         * lyxrow.[Ch]: add x_ and *fill_ members
5574
5575         * lyxtext.h:
5576         * text.C:
5577         * rowpainter.C:
5578         * text2.C: adjust/remove prepareToPrint() calls
5579
5580 2003-08-22  André Pönitz  <poenitz@gmx.net>
5581
5582         * lyxrow.[Ch]: add  end_ member
5583
5584         * lyxrow_funcs.C: use LyXRow::end_
5585
5586         * lyxtext.h (singleWidth): add LyXFont parameter
5587
5588         * rowpainter.C:
5589         * text2.C: adjust LyXText::singleWidth() calls
5590
5591         * text.C (redoParagraph): simplify row breaking logic
5592
5593
5594 2003-08-19  André Pönitz  <poenitz@gmx.net>
5595
5596         * funcrequest.C: initialize button_ member
5597
5598         * text3.C:
5599         * rowpainter.[Ch]: interface consolidation
5600
5601 2003-08-18  André Pönitz  <poenitz@gmx.net>
5602
5603         * BufferView.C:
5604         * BufferView_pimpl.C:
5605         * lyxfind.C:
5606         * paragraph_funcs.C:
5607         * rowpainter.C:
5608         * text3.C: remove LyXScreen::draw() and fitCursor calls
5609
5610         * BranchList.h: remove spurious semicolons
5611
5612         * MenuBackend.C: fix branchlist related crash
5613
5614 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5615
5616         * BranchList.[Ch]:
5617         * InsetList.[Ch]:
5618         * LColor.[Ch]:
5619         * LyXAction.C:
5620         * Makefile.am:
5621         * MenuBackend.[Ch]:
5622         * bufferparams.[Ch]:
5623         * factory.C:
5624         * lfuns.h:
5625         * lyxfunc.C:
5626         * text3.C: implements the 'branch inset'
5627         idea. This allows the output of various versions of a document
5628         from a single source version, selectively outputing or suppressing
5629         output of parts of the text.
5630         This implementation contains a 'branch list editor' in a separate
5631         tab of the document settings dialog. Branches are user definable
5632         and have a "display colour" to distinguish them on-screen.
5633
5634         ColorHandler was somewhat cleaned up.
5635         (1) make possible a dynamically growing LColor list by allowing
5636         the graphic context cache to grow along (vector);
5637         (2) eliminate an IMHO unnecessary step in colour allocation.
5638
5639 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5640
5641         * BufferView_pimpl.C: compile fix
5642
5643 2003-08-15  André Pönitz  <poenitz@gmx.net>
5644
5645         * rowpainter.C: remove extra metrics calls
5646
5647         * lyxtext.h: merge the two constructors into a single one,
5648           pass reference to owner's par list
5649
5650         * BufferView_pimpl.C:
5651         * text.C:
5652         * text2.C: adjust
5653
5654 2003-08-15  André Pönitz  <poenitz@gmx.net>
5655
5656         * lyxrow_funcs.[Ch]:
5657         * lyxtext.h:
5658         * paragraph.h:
5659         * paragraph_funcs.C:
5660         * rowpainter.C:
5661         * text.C:
5662         * text2.C:
5663         * text3.C:
5664         * text_funcs.C: split LyXText::rowlist_ into individual
5665         Paragraph::rows_ chunks
5666
5667         * BufferView.[Ch]:
5668         * BufferView_pimpl.[Ch]:
5669         * lyxfind.C:
5670         * lyxtext.h:
5671         * text3.C: remove toggleSelection()
5672
5673 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5674
5675         * bufferlist.C: beautify two alerts (shorter text of buttons)
5676         * buffer.C: Remove redundant ' ' from message
5677         * tabular.h:
5678         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5679         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5680         rename VALIGN_CENTER to VALIGN_MIDDLE
5681
5682 2003-08-11  André Pönitz  <poenitz@gmx.net>
5683
5684         * lyxtext.h (getPar):
5685         * text.C: new function
5686
5687 2003-08-11  André Pönitz  <poenitz@gmx.net>
5688
5689         * Makefile.am:
5690         * tracer.[Ch]: remove unneeded files
5691
5692         * InsetList.[Ch]: remove resizeInsetsLyXText()
5693
5694         * lyxtext.h:
5695         * text.C:
5696         * text2.C:
5697         * text3.C: merge insertParagraphs() and appendParagraph()
5698         remove breakAgain(), update()
5699
5700         * BufferView_pimpl.[Ch]:
5701         * bufferview_funcs.[Ch]:
5702         * lyxfunc.C:
5703         * paragraph.[Ch]:
5704         * rowpainter.C:
5705         * tabular.C: adjust after text & InsetList changes.
5706
5707 2003-08-08  André Pönitz  <poenitz@gmx.net>
5708
5709         * text.C (insertChar, backspace): replace rowlist fiddling
5710         with rebreak of full par
5711
5712         * lyxtext.h:
5713         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5714         checkParagraph, updateInset): removed
5715
5716 2003-08-07  André Pönitz  <poenitz@gmx.net>
5717
5718         * paragraph.C:
5719         * text3.C: merge some LFUN handlers, remove dead code
5720
5721 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5722
5723         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5724
5725 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5726
5727         * text2.C (DEPM): fix part of bug 1255 and 1256
5728
5729 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5730
5731         * BufferView_pimpl.C (workAreaDispatch): change to use
5732         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5733         that are no mouse related.
5734
5735 2003-08-05  André Pönitz  <poenitz@gmx.net>
5736
5737         * BufferView.[Ch]:
5738         * BufferView_pimpl.[Ch]:
5739         * bufferview_funcs.C:
5740         * text2.C:
5741         * text3.C: rip out "deep update"
5742
5743         * textcursor.[Ch] (last_sel_cursor): remove unused member
5744
5745 2003-08-04  André Pönitz  <poenitz@gmx.net>
5746
5747         * BufferView.[Ch]:
5748         * BufferView_pimpl.[Ch]:
5749         * ParagraphParameters.C:
5750         * bufferview_funcs.C:
5751         * lyx_cb.C:
5752         * lyxfind.C:
5753         * lyxfunc.C:
5754         * text.C:
5755         * text2.C:
5756         * text3.C: replace "complicated" BufferView::update(...) calls with
5757         simpler ones.
5758
5759         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5760
5761 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5762
5763         * Makefile.am (lyx_SOURCES): add paper.h
5764
5765 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5766
5767         * Makefile.am: move things around so that both lyx-qt and
5768         lyx-xforms can be built (according to --with-frontend). Then lyx
5769         is a symbolic link to lyx-[firstfrontend]
5770
5771 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5772
5773         * Always use std::endl with lyxerr
5774
5775 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5776
5777         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5778
5779 2003-08-01  André Pönitz  <poenitz@gmx.net>
5780
5781         * BufferView.[Ch]:
5782         * BufferView_pimpl.[Ch]:
5783         * lyxfunc.C:
5784         * text3.C: merge BufferView::repaint() and BufferView::update()
5785
5786 2003-08-01  José Matos  <jamatos@lyx.org>
5787
5788         * buffer.[Ch]: file_format is no longer a buffer data element.
5789
5790 2003-08-01  André Pönitz  <poenitz@gmx.net>
5791
5792         * BufferView.C:
5793         * lyxtext.h:
5794         * text.C:
5795         * text2.C: make redoParagraph more independent of current cursor
5796
5797         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5798         * text.C:
5799         * text2.C: remove unneeded members
5800
5801 2003-07-30  André Pönitz  <poenitz@gmx.net>
5802
5803         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5804
5805         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5806           create a single function...
5807
5808         * paragraph_funcs.C (moveItem): ... here.
5809
5810         * text.C:
5811           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5812
5813 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5814
5815         * LColor.[Ch]: Add comment and greyedout logical colors.
5816
5817 2003-07-30  André Pönitz  <poenitz@gmx.net>
5818
5819         * tabular.C: don't use Assert too heavily. This crashes where it
5820           shouldn't
5821
5822 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5823
5824         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5825         is disabled (bug 1232)
5826
5827 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5828
5829         * factory.C: limited 'arg' scope
5830
5831 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5832
5833         * factory.C: fixed Note submenu issues
5834
5835 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5836
5837         * factory.C: submenu for Note/Comment/Greyedout
5838
5839 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5840
5841         * lyx_main.C (LyX):
5842         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5843
5844 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5845
5846         * LaTeXFeatures.C:
5847         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5848         greyedout. Patch provided by Jürgen Spitzmüller.
5849
5850 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5851
5852         * kbmap.C (read): fix error message when reading bind files
5853
5854 2003-07-29  Angus Leeming  <leeming@lyx.org>
5855
5856         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5857         certainly does not do what it purports to do. I am doing it, and
5858         us, a favour by killing it.
5859
5860 2003-07-28  José Matos  <jamatos@lyx.org>
5861
5862         * buffer.C (readBody, do_writeFile):
5863         * paragraph.C(readParagraph): \end_document replaces \the_end.
5864
5865 2003-07-29  André Pönitz  <poenitz@gmx.net>
5866
5867         * BufferView.[Ch]:
5868         * BufferView_pimpl.[Ch]:
5869         * lyxfunc.C:
5870         * text2.C:
5871         * text3.C:
5872         * textcursor.[Ch]: remove toggleToggle & Co
5873
5874 2003-07-28  José Matos  <jamatos@fep.up.pt>
5875
5876         * buffer.C (readParagraph):
5877         * params_func (readParToken, readParagraph):
5878         * paragraph.C (write): \layout -> \begin_layout.
5879
5880 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5881
5882         * lyxlex_pimpl.C (setFile): clean up slightly.
5883
5884         * bufferparams.h: add compressed var
5885
5886         * buffer_funcs.C (readFile): adjust for LyXLex change
5887         (newFile): ditto + simplify
5888
5889         * buffer.C (writeFile): handle writing of compressed files
5890
5891         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5892         Check if the file is compressed and set a bufferparm if so.
5893
5894         * Makefile.am (lyx_LDADD): remove explicit -lz
5895
5896 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5897
5898         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5899         makeDocBookFile): put the real LyX version in the first line of
5900         the file
5901
5902         * version.h:
5903         * version.C.in: remove lyx_docversion
5904
5905         * tabular.C (write_attribute): add a template-based version to
5906         write enums properly
5907
5908 2003-07-28  André Pönitz  <poenitz@gmx.net>
5909
5910         * lyxtext.h:
5911         * text.C:
5912         * text2.C:
5913         * text3.C: use doubles again for x-coordinates. They are needed.
5914
5915 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5916
5917         * messages.C (getLocaleDir): use lyx_localedir()
5918
5919         * lyxlex_pimpl.C (setFile): compress stuff
5920
5921         * buffer.C (writeFile): add some compression stuff
5922         (do_writeFile): new func, dont call expliti close... will this
5923         breake anything?
5924
5925         * Makefile.am (lyx_LDADD): add -lz
5926
5927 2003-07-28  José Matos  <jamatos@fep.up.pt>
5928
5929         * buffer.C: increment file format.
5930         * paragraph_funcs (readParagraph, readParToken):
5931         * paragraph.C (readParagraph): add \end_layout.
5932
5933 2003-07-27  Angus Leeming  <leeming@lyx.org>
5934
5935         * Makefile.am: remove special casing for configure-time setting of
5936         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5937
5938         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5939         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5940
5941 2003-07-26  André Pönitz  <poenitz@gmx.net>
5942
5943         * paragraph_func.[Ch]:
5944         * paragraph.C (realizeFont): inline it whereever it is used
5945
5946         * rowpainter.C:
5947         * text.C:
5948         * text2.C:
5949         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5950
5951
5952 2003-07-26  André Pönitz  <poenitz@gmx.net>
5953
5954         *       lyxtext.h:
5955         * text.C:
5956         * text2.C: get rid of LyXText::need_break_row
5957
5958 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5959
5960         * toc.[Ch]: put namespace toc inside namespace lyx
5961
5962         * MenuBackend.C (expandToc2): adjust for lyx::toc
5963         (expandToc): ditto
5964
5965         * lyxfunc.C (dispatch): adjust for lyx::find
5966
5967         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5968         lyx::find instead. Reorganize a bit.
5969         (LyXReplace): rename to replace
5970         (LyXFind): rename to find
5971
5972         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5973         (dispatch): ditto
5974
5975 2003-07-26  André Pönitz  <poenitz@gmx.net>
5976
5977         * text.C (setHeightOfRow): restrict scope of temporary variable
5978
5979         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5980           code (never has been used?)
5981
5982 2003-07-27  Asger Alstrup  <alstrup@local>
5983
5984         * text.C (fill): Optimise algorithm to exploit that we can reuse
5985         the LyXFont for many characters.
5986         (setHeightOfRow): Same thing.
5987         (rowBreakPoint): Same thing.
5988
5989 2003-07-26  Asger Alstrup  <alstrup@local>
5990
5991         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5992
5993         * text.C (singleWidth): Spurious font copying in hot-spot
5994         singleWidth avoided. Reorder tests for arabic for efficiency.
5995
5996         * text.C (fill): handle empty paragraphs better.
5997
5998 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5999
6000         * ispell.C:
6001         * encoding.h: add includes
6002
6003         * lyxrc.C: remove reading of bind files
6004
6005         * lyx_main.C (init): setup bindings and menus only if we have a
6006         gui.
6007
6008         * kbmap.C (read): new method. Do the actual reading of bind
6009         files.
6010
6011         * converter.C (dvipdfm_options):
6012         * bufferparams.C:
6013         * lyxrc.C (read):
6014         (output): adapt PAPER_* enums.
6015
6016         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6017
6018         * bufferparams.h: remove paper-related enums from there
6019
6020         * paper.h: New file. A trivial header file to hold paper-related
6021         enums. It should later expand to contain many paper-related
6022         horrors access.
6023
6024         * lyxrc.C: declare extern displayTranslator
6025
6026 2003-07-27  José Matos  <jamatos@fep.up.pt>
6027
6028         * tabular.[Ch] (linuxdoc): add support for tables and figures
6029         (linuxdoc).
6030
6031 2003-07-27  José Matos  <jamatos@fep.up.pt>
6032
6033         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6034         consistency in both functions.
6035         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6036
6037 2003-07-26  Asger Alstrup  <alstrup@local>
6038
6039         * rowpainter.C (paintRows): Change algorithm to work directly on
6040         the insets rather than asking every character in the document
6041         whether its an inset.
6042
6043 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6044
6045         * buffer.C (openFileWrite): factorize some code
6046
6047 2003-07-26  Angus Leeming  <leeming@lyx.org>
6048
6049         * lyx_cb.C:
6050         * lyx_main.[Ch]: replace occurances of system_tempdir with
6051         os::getTmpDir().
6052
6053 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6054
6055         * rename Inset to InsetOld
6056
6057 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6058
6059         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6060         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6061         which I think is a bit clearer. EDIT is gone, since it was
6062         premature optimisation, and broken for mathed anyway.
6063         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6064         with cursor positioning in insets as well (math insets still do not
6065         work, but that's a different story anyway.) It mysteriously
6066         crashes sometimes with undo in the first paragraph, but I'm fairly
6067         confident that this is a compiler bug.
6068
6069 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6070
6071         * paragraph.C (Paragraph): adjust for new clone return type
6072         (operator==): ditto
6073         (copyIntoMinibuffer): ditto
6074
6075 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6076
6077         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6078         by not having a special case, and always doing a full rebreak of
6079         the document after undo.
6080
6081 2003-07-23  Angus Leeming  <leeming@lyx.org>
6082
6083         * factory.C (createInset): InsetExternal::setParams now takes a
6084         Buffer const * arg.
6085
6086 2003-07-23  Angus Leeming  <leeming@lyx.org>
6087
6088         * factory.C (createInset): changed interface to the external and
6089         graphics mailers' string2params functions.
6090
6091 2003-07-23  Angus Leeming  <leeming@lyx.org>
6092
6093         * factory.C (createInset): pass a
6094         Buffer const * parameter to InsetExternalMailer's string2params.
6095
6096 2003-07-22  John Levon  <levon@movementarian.org>
6097
6098         * Thesaurus.h: include the right aiksaurus header
6099
6100 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6101
6102         * MenuBackend.C (expand): check menu shortcuts unconditionally
6103
6104 2003-07-21  Angus Leeming  <leeming@lyx.org>
6105
6106         * factory.C (createInset): pass a
6107         buffer_path parameter to InsetGraphicsMailer's string2params.
6108
6109 2003-07-21  Angus Leeming  <leeming@lyx.org>
6110
6111         * BufferView_pimpl.C (buffer):
6112         * buffer.C (d-tor):
6113         * lyx_main.C (LyX):
6114         * lyxfunc.C (dispatch):
6115         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6116         rather than the grfx shortcut.
6117
6118 2003-07-21  André Pönitz  <poenitz@gmx.net>
6119
6120         * rowpainter.C: remove unused variables
6121
6122         * tabular_funcs.C:
6123         * tabular_funcs.h: move to tabular.C
6124         * Makefile.am: adjust
6125
6126         * tabular.[Ch]: basic optical cleaning
6127
6128         * author.h: pass references, not values
6129
6130 2003-07-18  André Pönitz  <poenitz@gmx.net>
6131
6132         * lyxtext.h:
6133         * metricsinfo.C:
6134         * metricsinfo.h:
6135         * rowpainter.C:
6136         * text.C:
6137         * text2.C:
6138         * text3.C: two-phase drawing for InsetText and InsetTabular
6139         some float -> int changes.
6140
6141 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6142
6143         * lyx_main.C: fix the fix
6144
6145 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6146
6147         * lyx_main.C: fix a crash in batch mode if no files specified
6148         * converter.C: ws
6149
6150 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6151
6152         * format.[Ch] (papersize): moved to BufferParams
6153         * converter.[Ch] (dvips_options): moved to BufferParams
6154         (dvipdfm_options): moved to anon namespace
6155         * bufferparams.[Ch]: added above functions.
6156
6157 2003-07-17  André Pönitz  <poenitz@gmx.net>
6158
6159         * lyxtext.h:
6160         * rowpainter.C:
6161         * text2.C: don't call inset->update() anymore
6162
6163         * metricsinfo.[Ch]: add convenience constructor
6164
6165 2003-07-16  André Pönitz  <poenitz@gmx.net>
6166
6167         * lyxcursor.[Ch]:
6168         * lyxfunc.[Ch]:
6169         * text.C:
6170         * text2.C: replace the LyXCursor::irow_ member with
6171          on-demand computation of the value
6172
6173 2003-07-16  John Levon  <levon@movementarian.org>
6174
6175         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6176
6177 2003-07-15  André Pönitz  <poenitz@gmx.net>
6178
6179         * text.C:
6180         * text2.C: remove no more needed refresh_row
6181
6182 2003-07-15  André Pönitz  <poenitz@gmx.net>
6183
6184         * lyxtext.h:
6185         * rowpainter.C:
6186         * text2.C:
6187         * text3.C: refresh_status tristate -> need_update bool
6188
6189 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6190
6191         * lyxtext.h (init): remove reinit argument (act as if always true)
6192         * text2.C: adjust to that
6193
6194 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6195
6196         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6197         * text3.C: use it to delete selections in some cases
6198         (bugs 441, 673, 702, 954).
6199
6200 2003-07-14  André Pönitz  <poenitz@gmx.net>
6201
6202         * rowpainter.[Ch]: reduce interface
6203
6204 2003-07-14  André Pönitz  <poenitz@gmx.net>
6205
6206         * BufferView_pimpl.C:
6207         * text2.C: adjust after removing unused BufferView * argument
6208
6209 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6210
6211         * text2.C (init): fix a crash fired on resize
6212
6213 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6214
6215         * buffer.[Ch]: added new closing signal
6216         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6217         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6218         BufferView::Pimpl via the closing the signal
6219
6220 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6221
6222         * buffer.[Ch]: take out all bv-related from buffer
6223         * BufferView.C:
6224         * BufferView_pimpl.[Ch]: connect to new signals
6225         * CutAndPaste.C: removed useless asserts
6226         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6227         * lyxvc.[Ch]:
6228         * vc-backend.[Ch]:
6229         * lyxfunc.C: moved view-related funciontality from vc here
6230         * paragraph.C: removed outdated comments
6231         * text.C: ws
6232
6233 2003-07-10  André Pönitz  <poenitz@gmx.net>
6234
6235         * BufferView_pimpl.C:
6236         * tabular.h:
6237         * tabular_funcs.C:
6238         * text.C:
6239         * text2.C: remove InsetText::InnerCache, clean up consequences
6240
6241 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6242
6243         * ispell.C: fix two typos in error messages
6244
6245 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6246
6247         * Extend Note inset to other forms of annotation like Comment
6248         and Greyedout. Right button click gives dialog.
6249
6250         Files modified or added (+):
6251
6252         * insetnote.[Ch]
6253         * FormNote.[Ch]      +
6254         * ControlNote.[Ch]   +
6255         * form_note.fd       +
6256         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6257         frontends/controllers
6258         * xforms/Dialogs.C
6259         * factory.C
6260
6261 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6262
6263         * aspell.C: add missing namespace lyx::support
6264
6265 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6266
6267         * BufferView.[Ch] (newFile): Add
6268         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6269         * LaTeX.[Ch] (message): added this signal and use it
6270         * buffer.[Ch] (busy, message): added these signals and use them
6271         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6272         * converter.C:
6273         * exporter.C:
6274         * format.C:
6275         * importer.C: use buffer signals instead of direct bv calling
6276         * lyx_cb.[Ch] (ShowMessage): removed
6277         * lyx_main.C:
6278         * lyxfunc.C:
6279         * paragraph_funcs.C:
6280         * text2.C: use buffer signals
6281
6282 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6283
6284         * introduce namespace lyx::graphics
6285
6286 2003-07-02  André Pönitz  <poenitz@gmx.net>
6287
6288         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6289
6290 2003-07-01  André Pönitz  <poenitz@gmx.net>
6291
6292         * text.C:
6293         * text2.C:
6294         * text3.C:
6295         * text_funcs.[Ch]:
6296         * textcursor.h:
6297         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6298           text*.C to text_func.C
6299
6300 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6301
6302         * introduce namespace lyx::support
6303
6304 2003-06-30  André Pönitz  <poenitz@gmx.net>
6305
6306         * Chktex.C:
6307         * funcrequest.C:
6308         * lyxtext.h:
6309         * text.C: re-enable --with-included-string
6310
6311 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6312
6313         * textcursor.C: add <config.h>
6314
6315         * text.C (getWord): remove const from word_location arg
6316
6317         * lyxvc.C (getLogFile): fix const type order
6318
6319         * lyxtext.h: remove const from word_location arg, add arg name
6320
6321         * lyxlayout.h: currect type on labeltype.
6322
6323         * importer.C: correct \file
6324
6325         * converter.C (intToFormat): use std:: on ret val, ws changes
6326
6327         * bufferlist.h: correct \file
6328
6329         * buffer.C (makeLinuxDocFile): fix const type order
6330         (makeDocBookFile): ditto
6331         (fillWithBibKeys): use std:: on stdlib args.
6332
6333         * CutAndPaste.C: fix authors.
6334         (availableSelections): use std:: on return vector
6335
6336 2003-06-27  André Pönitz  <poenitz@gmx.net>
6337
6338         * BufferView_pimpl.C:
6339         * bufferview_funcs.C:
6340         * lyxcursor.C:
6341         * lyxcursor.h:
6342         * lyxfunc.C:
6343         * lyxtext.h:
6344         * rowpainter.C:
6345         * text.C:
6346         * text2.C:
6347         * text3.C: remove LyXCursor::row_ member
6348
6349         * lyxtext.h:
6350         * text.C: rename fullRebreak() to partialRebreak() and implement
6351           a fullRebreak() that really bereks fully
6352
6353         * textcursor.h: new struct for cursor-related data
6354
6355 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6356
6357         * lyx_main.C (LyX): get full path of document loaded on the
6358         command line
6359
6360 2003-06-26  André Pönitz  <poenitz@gmx.net>
6361
6362         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6363           remove unused/broken operator>,<,>=.
6364
6365         *       text.C: remove only use of broken operator<= in an Assert().
6366
6367 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6368
6369         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6370         moved errorlist_.clear to showErrorList
6371
6372 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6373
6374         * converter.C (scanLog, runLaTeX):
6375         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6376         move the bv->showErrorList call to the callers
6377         * lyxfunc.C: i.e. here...
6378         * text2.C: and here
6379         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6380         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6381         namespace, the second to...
6382         * buffer_funcs (BufferFormat, parseErrors): added
6383         * errorlist.C (ErrorList(TeXErrors const &)): removed
6384
6385 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6386
6387         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6388
6389 2003-06-24  "Garst R. Reese" <reese@isn.net>
6390
6391         * debug.C: fix typo
6392
6393 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6394
6395         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6396
6397         * version.C.in: change docversion to 1.4
6398
6399 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6400
6401         * buffer.C: fix a bug just introduced
6402
6403 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6404
6405         * buffer.[Ch]: added the parseError signal and use it, removed
6406         sgmlError
6407         * BufferView.[Ch] (addError): moved to ...
6408         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6409         to the Buffer::parseError signal to catch (guess what) parse errors
6410         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6411
6412 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6413
6414         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6415         ability to create a buffer and to return an existing one from
6416         the list. Moved these functions to...
6417         * buffer_funcs.[Ch]: added
6418         * BufferView.[Ch] (loadLyXFile): added
6419         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6420         job removed from bufferlist::loadLyXFile.
6421         * buffer.C (setReadOnly): make it work without view
6422         (i.e added an if (users))
6423
6424 2003-06-19  Angus Leeming  <leeming@lyx.org>
6425
6426         * lfuns.h:
6427         * LyXAction.C (init):
6428         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6429         with LFUN_DIALOG_SHOW <name> <data>.
6430
6431 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6432
6433         * CutAndPaste.C (availableSelections): small compilation fix for
6434         ancient (gcc 2.9x) compilers
6435
6436 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6437
6438         * text3.C (cursorNext): add tmp var
6439
6440         * text2.C (updateCounters): for function calling out of for clause
6441         (replaceSelectionWithString): ditto
6442         (insertStringAsParagraphs): ditto
6443         (getColumnNearX): add tmp var
6444         (setCursorFromCoordinates): add tmp var
6445         (cursorDownParagraph): add tmp var
6446         (deleteEmptyParagraphMechanism): add tmp var
6447
6448         * text.C (insertChar): add tmp var
6449
6450         * rowpainter.C (paintDepthBar): add tmp var
6451
6452         * CutAndPaste.C (availableSelections): potentially check all
6453         paragraphs in a cut to fill the shown strings.
6454
6455 2003-06-18  André Pönitz  <poenitz@gmx.net>
6456
6457         * kbmap.[Ch]: use vector<> instead of list<>
6458
6459 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6460
6461         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6462         pasteSelection with index
6463
6464         * text2.C (pasteSelection): modify, call pasteSelection with index
6465
6466         * paragraph.C (asString): reimplement version with no interval to
6467         call the one with interval.
6468
6469         * lyxtext.h: add index arg to pasteSelection
6470
6471         * MenuBackend.C (MenuItem): handle PasteRecent
6472         (Menu::read::Menutags): add md_pasterecent
6473         (read): handle it
6474         (expandPasteRecent): new function
6475         (expand): use it
6476
6477         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6478
6479         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6480         the limited stack
6481         (availableSelections): new function
6482
6483 2003-06-17  Angus Leeming  <leeming@lyx.org>
6484
6485         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6486
6487 2003-06-17  Angus Leeming  <leeming@lyx.org>
6488
6489         * lfuns.h:
6490         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6491
6492         * lyxfunc.C (dispatch): invoke it.
6493
6494 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6495
6496         * iterators.C (operator++, ParPosition): reintroduce some
6497         const_cast for the benefit of older compilers.
6498
6499 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6500
6501         * text3.C (dispatch): do not modify clipboard when doing
6502         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6503         LFUN_DELETE_SKIP on a selection selection
6504
6505 2003-06-16  André Pönitz  <poenitz@gmx.net>
6506
6507         * BufferView.C:
6508         * buffer.C:
6509         * buffer.h:
6510         * paragraph.C:
6511         * tabular.[Ch]: IU of clone() and getLabelList();
6512
6513 2003-06-13  André Pönitz  <poenitz@gmx.net>
6514
6515         * tabular.h: compactification
6516
6517 2003-06-12  André Pönitz  <poenitz@gmx.net>
6518
6519         * tabular.C:
6520         * tabular.h:
6521         * tabular_funcs.h: some renaming plus whitespace
6522
6523 2003-06-12  André Pönitz  <poenitz@gmx.net>
6524
6525         * BufferView.C:
6526         * BufferView_pimpl.C:
6527         * CutAndPaste.C:
6528         * buffer.C:
6529         * iterators.[Ch]:
6530         * lyxfunc.C:
6531         * text.C:
6532         * toc.C: Return a Paragraph & for ParIterator::operator*()
6533
6534 2003-06-11  John Levon  <levon@movementarian.org>
6535
6536         * lyx_main.C:
6537         * ToolbarBackend.h:
6538         * ToolbarBackend.C: add "Toolbars" section and
6539         put the flags there
6540
6541 2003-06-10  Angus Leeming  <leeming@lyx.org>
6542
6543         * lfuns.h:
6544         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6545
6546         * lyxfunc.C (dispatch): invoke it.
6547
6548 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6549
6550         * main.C: protect <ios> with HAVE_IOS
6551         (main): protect sync_with_stdio with HAVE_IOS
6552
6553 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6554
6555         * text2.C (cutSelection): adjust
6556         (pasteSelection): adjust
6557
6558         * messages.C: handle get of empty string
6559
6560         * main.C (main): use sync_with_stdio(false)
6561
6562         * lyxfunc.C (dispatch): adjust
6563
6564         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6565         (WriteAs): remove unneeded BufferView arg.
6566
6567         * bufferparams.h: use correct types on papersize, papersize2 and
6568         paperpackage.
6569
6570         * bufferparams.C (readToken): adjust for type
6571         (writeLaTeX): add missing cases to switch.
6572
6573         * bufferlist.C (quitWriteBuffer): adjust
6574         (close): adjust
6575
6576         * buffer.C (asciiParagraph): remove some commented code.
6577
6578         * CutAndPaste.C: remove current_view extern variable.
6579         (cutSelection): add BufferParams arg.
6580         (eraseSelection): add BufferParams arg.
6581         (pasteSelection): add Buffer const & arg
6582
6583 2003-06-07  John Levon  <levon@movementarian.org>
6584
6585         * buffer.C:
6586         * paragraph_funcs.C:
6587         * paragraph_pimpl.C:
6588         * text.C:
6589         * text2.C:
6590         * paragraph.h:
6591         * paragraph.C: allow InsetERT to freely space lines,
6592         and some consolidation of code
6593
6594 2003-06-06  José Matos  <jamatos@fep.up.pt>
6595
6596         * buffer.C (makeDocBookFile): fix bug #821
6597
6598 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6599
6600         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6601
6602 2003-06-04  Angus Leeming  <leeming@lyx.org>
6603
6604         * buffer.C: bump format to 224.
6605
6606 2003-06-05  André Pönitz  <poenitz@gmx.net>
6607
6608         * text2.C (redoParagraphs): remove two const_cast<>
6609
6610 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6611
6612         * ParagraphList.h: remove last remnants of NO_STD_LIST
6613
6614 2003-06-03  Angus Leeming  <leeming@lyx.org>
6615
6616         * factory.C (createInset): small change to the way InsetExternal's params
6617         are set.
6618
6619 2003-06-04  André Pönitz  <poenitz@gmx.net>
6620
6621         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6622
6623         * paragraph_pimpl.h:
6624         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6625
6626         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6627
6628         * undo_funcs.C: make some simple cases of undo work again
6629
6630 2003-06-03  John Levon  <levon@movementarian.org>
6631
6632         * ispell.C: HPUX doesn't have sys/select.h
6633         (from Albert Chin)
6634
6635 2003-06-03  John Levon  <levon@movementarian.org>
6636
6637         * CutAndPaste.C: update tabular and include inset
6638         buffer references
6639
6640         * buffer.h:
6641         * paragraph.h:
6642         * paragraph.C: remove owningBuffer(), don't pass Buffer
6643         to clone()
6644
6645         * factory.C: insetGraphicsParams changed
6646
6647 2003-06-02  John Levon  <levon@movementarian.org>
6648
6649         * LyXAction.C:
6650         * factory.C:
6651         * lfuns.h:
6652         * lyxfunc.C:
6653         * text3.C: remove insetparent
6654
6655 2003-06-02  John Levon  <levon@movementarian.org>
6656
6657         * buffer.h:
6658         * buffer.C: fix inset_iterator.end(), move out of line
6659         (bug 1149)
6660
6661 2003-06-01  John Levon  <levon@movementarian.org>
6662
6663         * text3.C: use a proper cut/paste when doing inset
6664         insert (from Jürgen Spitzmüller)
6665
6666 2003-06-01  John Levon  <levon@movementarian.org>
6667
6668         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6669
6670 2003-05-30  André Pönitz  <poenitz@gmx.net>
6671
6672         * rowpainter.C: unify second drawing phase
6673
6674 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6675
6676         * trans_mgr.C: remove one case of current_view
6677
6678         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6679
6680         * paragraph_funcs.h: remove paragraph.h include
6681
6682         * paragraph.h: delete NO_STD_LIST stuff
6683
6684         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6685
6686         * buffer.h: remove paragraph.h include
6687
6688         * ParagraphList.C: delete file
6689
6690         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6691
6692         * toc.C (getTocList): adjust
6693
6694         * paragraph_pimpl.C (validate): adjust
6695
6696         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6697
6698         * paragraph.C (Paragraph): adjust
6699         (getPositionOfInset): use const_iterator, adjust
6700         (bibitem): use const_iterator, adjust
6701         (setInsetOwner): adjust
6702
6703         * iterators.C (operator++): adjust
6704
6705         * InsetList.[Ch]: Replace selfmade iterator with standard
6706         vector::iterator also introduce const_iterator. Remove getPos,
6707         getInset and setInset from InsetTable. Adjust accordingly.
6708
6709         * BufferView.C (lockInset): adjust
6710         (ChangeInsets): adjust
6711
6712         * tabular.[Ch]: delete commented same_id functions
6713
6714 2003-05-28  John Levon  <levon@movementarian.org>
6715
6716         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6717
6718 2003-05-28  André Pönitz  <poenitz@gmx.net>
6719
6720         * metricsinfo.[Ch]: remove 'fullredraw' member
6721
6722 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6723
6724         * lyxtextclass.C (operator): remove caching.
6725
6726 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6727
6728         * text3.C: adjust
6729
6730         * text2.C (cursorBottom): adjust
6731         (setCounter): use ParagraphList::find, adjust
6732
6733         * text.C (workWidth): use ParagraphList::find, adjust
6734
6735         * lyxcursor.C (LyXCursor): adjust
6736
6737         * buffer.C (inset_iterator): adjust
6738
6739         * ParagraphList.h: make iterator(value_type) private, make
6740         ParagraphList a friend of iterator.
6741
6742         * ParagraphList.C (find): new function
6743
6744         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6745
6746 2003-05-27  André Pönitz  <poenitz@gmx.net>
6747
6748         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6749
6750 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6751
6752         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6753
6754 2003-05-26  John Levon  <levon@movementarian.org>
6755
6756         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6757
6758 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6759
6760         * remove same_id from function signatures, adjust.
6761
6762 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6763
6764         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6765
6766         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6767
6768         * paragraph.C (Paragraph): get rid of same_ids parameter
6769
6770         * ParagraphList.C (insert): adjust
6771         (push_back): adjust
6772
6773 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6774
6775         * paragraph_funcs.C (breakParagraph): adjust
6776         (breakParagraphConservative): adjust
6777
6778         * buffer.C (readParagraph): adjust
6779
6780         * ParagraphList.C (insert): take a reference instead of a pointer
6781         (insert): adjust
6782
6783         * paragraph.[Ch] (id): new function
6784
6785         * bufferlist.C (newFile): adjust
6786
6787         * ParagraphList.C (ParagraphList): adjust
6788         (assign): adjust
6789         (push_back): take a reference instead of a pointer.
6790
6791         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6792
6793         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6794         instead.
6795
6796         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6797         set else use old code.
6798
6799         * ParagraphList.C: remove all NO_NEXT code and only compile this
6800         code of NO_STD_LIST is set.
6801
6802 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6803
6804         * BufferView_pimpl.C:
6805         * TextCache.C:
6806         * TextCache.h:
6807         * bufferlist.C:
6808         * errorlist.h:
6809         * format.C:
6810         * format.h:
6811         * graph.C:
6812         * lyxfunc.C:
6813         * lyxrc.C:
6814         * graphics/GraphicsConverter.C:
6815         * graphics/PreviewLoader.C: header adjustment
6816
6817 2003-05-23  Angus Leeming  <leeming@lyx.org>
6818
6819         * LaTeXFeatures.[Ch] (useBabel): new method.
6820         * bufferparams.C (writeLaTeX): use it.
6821
6822 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6823
6824         * ParagraphList.h (set): remove unused function.
6825
6826 2003-05-23  André Pönitz  <poenitz@gmx.net>
6827
6828         * BufferView.C:
6829         * BufferView_pimpl.C:
6830         * buffer.C:
6831         * buffer.h:
6832         * lyxfunc.C:
6833         * undo_funcs.C: setUndo reworked
6834
6835         * iterators.[Ch]: add access to topmost ParagraphList
6836
6837         * lyxtext.[Ch] (workWidth): add a const
6838
6839 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6840
6841         * texrow.[Ch] (increasePos): remove function
6842         * exporter.C (export): removed unused var and outdated comment
6843
6844 2003-05-23  Angus Leeming  <leeming@lyx.org>
6845
6846         * latexrunparams.h: rename fragile as moving_arg.
6847         * paragraph.C (simpleTeXOnePar): ditto.
6848         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6849
6850 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6853         (createUndo): ditto
6854         (textUndoOrRedo): comment out a currently unused var.
6855
6856         * paragraph.h (NO_NEXT): enable NO_NEXT
6857
6858         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6859
6860         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6861
6862         * exporter.C (Export): adjust for removeAutoInsets removal.
6863
6864         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6865
6866         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6867
6868         * BufferView.[Ch] (removeAutoInsets): delete function
6869
6870 2003-05-22  Angus Leeming  <leeming@lyx.org>
6871
6872         * latexrunparams.h: add a free_spacing variable.
6873
6874         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6875         to pass moving_arg, as the data is stored in runparams.fragile.
6876
6877         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6878         to Inset::latexOptional or to simpleTeXOnePar.
6879
6880         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6881         free_spacing arg to Inset::latexOptional.
6882
6883         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6884         free_spacing arg.
6885
6886 2003-05-22  Angus Leeming  <leeming@lyx.org>
6887
6888         * latexrunparams.h: add fragile and use_babel variables.
6889
6890         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6891         * buffer.C (makeLaTeXFile): store this returned value in
6892         runparams.use_babel, thus passing it to the inset::latex methods.
6893
6894         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6895         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6896
6897         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6898         longer has a fragile arg, as it is stored in runparams.fragile.
6899
6900         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6901         moving_arg parameter as the data is stored in runparams.fragile.
6902
6903         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6904         a fragile parameter as the data is stored in runparams.fragile.
6905
6906 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6907
6908         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6909
6910 2003-05-22  Angus Leeming  <leeming@lyx.org>
6911
6912         * latexrunparams.h: add a 'bool nice' which defaults to false.
6913
6914         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6915         now encapsulated within runparams.
6916
6917         * bufferlist.C (updateIncludedTeXfiles):
6918         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6919
6920 2003-05-22  Angus Leeming  <leeming@lyx.org>
6921
6922         * latexrunparams.h: new file containing struct LatexRunParams.
6923         * Makefile.am: add new file.
6924
6925         * LaTeX.[Ch] (c-tor, run):
6926         * buffer.[Ch] (makeLaTeXFile):
6927         * bufferlist.[Ch] (updateIncludedTeXfiles):
6928         * converter.C (convert, scanLog):
6929         * converter.[Ch] (runLaTeX):
6930         * exporter.C (Export):
6931         * paragraph.[Ch] (simpleTeXOnePar):
6932         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6933         * paragraph_funcs.[Ch] (latexParagraphs):
6934         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6935         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6936         pass around a LatexRunParams parameter.
6937
6938 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6939
6940         * paragraph.[Ch]: remove unused constructor
6941
6942         * ParagraphList.C (erase): new function, taking two iterators
6943
6944 2003-05-22  André Pönitz  <poenitz@gmx.net>
6945
6946         * undo_funcs.C: remove duplicated code
6947
6948         * iterator.[Ch]: operator=
6949
6950 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6951
6952         * tabular.C (SetMultiColumn): ws changes
6953
6954         * rowpainter.C (paintFirst): get rid of a ->previous
6955
6956         * lyx_cb.C (getPossibleLabel): parlist simplification
6957
6958         * BufferView.C (ChangeInsets): simplify slightly.
6959
6960 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6961
6962         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6963         * lfuns.h: new LFUN_SPACE
6964         * lyxfunc.C: protected space has a new lfun
6965         * paragraph_funcs.C: read new space insets
6966         * text3.C:
6967         * factory.C: handle new space insets
6968
6969 2003-05-22  André Pönitz  <poenitz@gmx.net>
6970
6971         * BufferView.C:
6972         * BufferView_pimpl.C:
6973         * buffer.[Ch]:
6974         * lyxfunc.C:
6975         * undo_funcs.C: return a ParIterator from getParFromID.
6976
6977         * iterators.[Ch]: add two const's
6978
6979 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6980
6981         * toc.C (getTocList): adjust
6982
6983         * iterators.[Ch]: rework for parlist
6984
6985         * buffer.C (par_iterator_begin): adjust
6986         (par_iterator_end): adjust
6987
6988         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6989
6990         * BufferView.C (removeAutoInsets): adjust
6991         (ChangeInsets): adjust
6992
6993 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6994
6995         * text.C (top_y): fix bug 1110
6996
6997 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6998
6999         * errorlist.[Ch]: added
7000         * buffer.C:
7001         * BufferView.[Ch]:
7002         * BufferView_pimpl.C:
7003         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7004         instead
7005
7006 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7007
7008         * Makefile.am: ensure that lyx is relinked upon changes to the
7009         various "convenience" libs.
7010
7011 2003-05-20  Angus Leeming  <leeming@lyx.org>
7012
7013         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7014         files are compiled in alphabetical order again.
7015
7016         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7017
7018 2003-05-19  Angus Leeming  <leeming@lyx.org>
7019
7020         * gettext.[Ch]: remove "char const * _(char const *)".
7021
7022 2003-05-19  André Pönitz  <poenitz@gmx.net>
7023
7024         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7025
7026         * Makefile.am:
7027         * BufferView.C:
7028         * DepTable.h:
7029         * LaTeXFeatures.C:
7030         * buffer.C:
7031         * lyxfont.C:
7032         * lyxlex.h:
7033         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7034
7035 2003-05-19  André Pönitz  <poenitz@gmx.net>
7036
7037         * buffer.C:
7038         * lyxlayout.[Ch]:
7039         * lyxtextclass.[Ch]:
7040         * paragraph.C:
7041         * paragraph_funcs.[Ch]:
7042         * text2.C:
7043         * text3.C: more insetenv work
7044
7045 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7046
7047         * ParagraphParameters.C (params2string): small bug fixed
7048
7049 2003-05-16  André Pönitz  <poenitz@gmx.net>
7050
7051         * debug.C:
7052         * bufferview_funcs.C: patch from Kornel Benko to prevent
7053           crash when _(...) is called twice in a statement
7054
7055 2003-05-16  André Pönitz  <poenitz@gmx.net>
7056
7057         * BufferView.C:
7058         * lyxfunc.C:
7059         * text.C:
7060         * text2.C:
7061         * text3.C:
7062         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7063
7064 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7065
7066         * lyx_main.C (init): remove spurious static_cast
7067
7068 2003-05-14  André Pönitz  <poenitz@gmx.net>
7069
7070         * BufferView.C: fix format string
7071
7072 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7073
7074         * BufferView.[Ch] (insertErrors): removed
7075         * BufferView.[Ch] (showErrorList): added
7076         * buffer.C (runChkTeX):
7077         * converter.C (scanLog): call showErrorList instead of inserterrors
7078
7079 2003-05-13  André Pönitz  <poenitz@gmx.net>
7080
7081         * BufferView_pimpl.C:
7082         * buffer.C:
7083         * bufferview_func.C:
7084         * MenuBackend.C:
7085         * lyxfunc.C:
7086         * lyxrc.C:
7087         * tex-accent.C:
7088         * text3.C:
7089         * toc.C:
7090         * tabular_funcs.h: tostr() from its own header
7091
7092         * ParagraphParameters.C:
7093         * ToolbarBackend.C:
7094         * bufferparams.C:
7095         * format.C:
7096         * lyxlex_pimpl.C:
7097         * text3.C: STRCONV()
7098
7099 2003-05-12  André Pönitz  <poenitz@gmx.net>
7100
7101         * BufferView.C:
7102         * BufferView_pimpl.C:
7103         * CutAndPaste.C:
7104         * LaTeX.C:
7105         * LaTeXFeatures.C:
7106         * ParagraphParameters.C:
7107         * buffer.C:
7108         * bufferlist.C:
7109         * bufferparams.C:
7110         * bufferview_funcs.C:
7111         * converter.C:
7112         * counters.C:
7113         * debug.C:
7114         * exporter.C:
7115         * format.C:
7116         * importer.C:
7117         * lyx_cb.C:
7118         * lyx_main.C:
7119         * lyxfont.C:
7120         * lyxfunc.C:
7121         * lyxvc.C:
7122         * paragraph.C:
7123         * paragraph_funcs.C:
7124         * tabular.C:
7125         * tabular_funcs.C:
7126         * text2.C:
7127         * text3.C:  boost::format -> bformat  all over the place
7128
7129
7130 2003-05-09  André Pönitz  <poenitz@gmx.net>
7131
7132         * LColor.[Ch]: Pimpl the #include <map> away
7133
7134 2003-05-09  John Levon  <levon@movementarian.org>
7135
7136         * bufferlist.C: never remove emergency saves
7137
7138 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7139
7140         * Makefile.am: better lib building
7141
7142 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7143
7144         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7145         instead.
7146         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7147         (simpleTeXSpecialChars): adjust
7148         (simpleTeXSpecialChars): adjust
7149         * paragraph.C (simpleTeXOnePar): adjust
7150         * buffer.C (makeLaTeXFile): adjust
7151
7152         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7153
7154         * text2.C (changeDepth): parlist cleanup
7155         (getColumnNearX): ditto
7156
7157         * rowpainter.C (getLabelFont): parlist cleanup
7158
7159         * bufferlist.C (newFile): parlist cleanup
7160
7161         * CutAndPaste.C (eraseSelection): parlist cleanup
7162
7163         * BufferView_pimpl.C (trackChanges): parlist cleanup
7164         (dispatch): ditto
7165
7166         * BufferView.C (lockInset): parlist cleanup.
7167         (ChangeInsets): ditto
7168
7169 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7170
7171         * CutAndPaste.h: Update file header.
7172
7173         * CutAndPaste.C: Update file header.
7174         Store the parts cut out of the Document in a limited_stack.
7175         (copySelection): adjust
7176         (pasteSelection): new function, takes the index in the limited stack.
7177         (nrOfParagraphs): adjust
7178         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7179         simplify error inset insertion.
7180         (checkPastePossible): adjust
7181
7182 2003-05-06  John Levon  <levon@movementarian.org>
7183
7184         * text2.C: don't cast wrap inset to float
7185
7186 2003-05-05  André Pönitz  <poenitz@gmx.net>
7187
7188         * iterator.C:
7189         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7190
7191         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7192           few naked Paragraph *.
7193
7194 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7195
7196         * bufferparams.C: Output warning if a document with missing
7197         TeX document class is loaded
7198         * exporter.C: Disable TeX exports if the document class is missing
7199         * lyxtextclass.C:
7200         * lyxtextclass.h:
7201         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7202         isTeXClassAvailable()
7203
7204 2003-05-03  John Levon  <levon@movementarian.org>
7205
7206         * BufferView.h:
7207         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7208         explicit cursor show/hide
7209
7210         * BufferView_pimpl.h:
7211         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7212         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7213
7214         * lyxfunc.C: hide cursor before dispatching.
7215
7216         * lyx_cb.C:
7217         * lyxfind.C:
7218         * text.C:
7219         * text3.C: remove explicit cursor hides
7220
7221 2003-05-02  André Pönitz  <poenitz@gmx.net>
7222
7223         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7224
7225         * undo_funcs.C:
7226         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7227           linked lists
7228
7229         * text2.C: tiny whitespace
7230
7231 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7232
7233         * undo_funcs.C: almost only ws changes.
7234
7235         * ParagraphList.C (splice): just return if pl is empty.
7236
7237 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7238
7239         * ParagraphList.C (splice): new function.
7240
7241         * CutAndPaste.C (pasteSelection): use it
7242
7243 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7244
7245         * CutAndPaste.C (pasteSelection): remove the last next and
7246         previous from this file.
7247
7248 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7249
7250         * CutAndPaste.C (pasteSelection): more clean up, user proper
7251         ParagraphList functions for pasteing.
7252
7253         * ParagraphList.C (insert): new function, three arg insert
7254
7255 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7256
7257         * ParagraphList.C (insert): new function, three arg insert
7258
7259         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7260         not on paragraphs.
7261
7262 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7263
7264         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7265
7266 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7267
7268         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7269
7270 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7271
7272         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7273         (copySelection): clean up a bit.
7274         (pasteSelection): use make_pair
7275
7276         * ParagraphList.C (ParagraphList): implement copy constructor
7277         (operator=): implement, base on copy constructor.
7278         (assign): new func
7279
7280         * paragraph.C (erase): return a bool
7281
7282         * paragraph_pimpl.C (erasePos): remove function, move contents...
7283         (erase): ... here. Return a bool.
7284         (erase): call erase instead of erasePos.
7285
7286 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7287
7288         * ParagraphList.h: define PitPosPair
7289         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7290         ParagraphList, fix a bug on pasting multiple pars
7291         * text2.C: change interface to C&P
7292
7293 2003-04-30  André Pönitz  <poenitz@gmx.net>
7294
7295         * undo_func.C: revert part of yesterday's patch 2
7296
7297 2003-04-30  John Levon  <levon@movementarian.org>
7298
7299         * LColor.C: s/tabular/table/
7300
7301 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7302
7303         * text3.C (dispatch): do not convert iterator -> pointer
7304         * undo_funcs.C (setCursorParUndo): ditto
7305         * text_funcs.C (transposeChars): ditto
7306
7307         * text2.C (setLayout): ws changes only
7308
7309         * text.C (breakParagraph): do not convert iterator -> pointer
7310         (insertChar): ditto
7311         (acceptChange): ditto
7312         (rejectChange): ditto
7313         (changeCase): ditto
7314         (Delete): ditto
7315         (backspace): ditto
7316
7317         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7318         pointer
7319
7320 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7321
7322         * text3.C (gotoInset): YABG (yet another bad getChar)
7323
7324 2003-04-29  André Pönitz  <poenitz@gmx.net>
7325
7326         * paragraph.h: make operator= private unimplemented as long as
7327           it is unusable
7328
7329         * ParagraphList.C: whitespace
7330
7331         * paragraph.[Ch]:
7332         * paragraph_pimpl.[Ch]:
7333         * paragraph_funcs.C:
7334         * CutAndPaste.C:
7335         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7336
7337         * text2.C:
7338           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7339
7340 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7341
7342         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7343         * paragraph.[Ch] (erase):
7344         * paragraph_pimpl.[Ch] (erase): change return type and value
7345         * text2.C (cutSelection): some rework
7346
7347 2003-04-28  John Levon  <levon@movementarian.org>
7348
7349         * bufferlist.C: changes for unsaved changes dialog
7350
7351 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7352
7353         * bufferlist.C (newFile): set language (messages_) for new
7354         documents also.
7355
7356         * buffer.C (readFile): ws changes only.
7357
7358 2003-04-28  André Pönitz  <poenitz@gmx.net>
7359
7360         * undo_funcs.C:
7361         * lyxfunc.C:
7362         * buffer.[Ch]:
7363         * BufferView_pimpl.C:
7364         * BufferView.C: getParFromID related ParagraphList::iterator changes
7365
7366 2003-04-28  André Pönitz  <poenitz@gmx.net>
7367
7368         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7369           Changes
7370
7371 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7372
7373         * messages.C: remove one more localedir class variable.
7374
7375 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7376
7377         * messages.C (getLocaleDir): singleton generation function
7378         (Pimpl): use it.
7379         (Messages): add a default constructor.
7380
7381         * main.C (main): do not setup localedir here, do not call
7382         gettext_init.
7383
7384         * gettext.C (_): use it.
7385         (gettext_init): delete funciton
7386
7387 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7388
7389         * gettext.C (getLyXMessages): new singleton generating function.
7390
7391         * buffer.C (updateDocLang): adjust
7392
7393         * Makefile.am (messages.o): add target
7394         (main.o): remove target
7395
7396 2003-04-27  John Levon  <levon@movementarian.org>
7397
7398         * bufferlist.C:
7399         * lyx_cb.C:
7400         * lyxfunc.C:
7401         * lyxvc.C: specify cancel button in Alert::prompt
7402
7403 2003-04-26  John Levon  <levon@movementarian.org>
7404
7405         * text3.C:
7406         * lyxfunc.C:
7407         * lfuns.h:
7408         * LyXAction.C: add LFUN_INSET_SETTINGS
7409
7410         * lyxfunc.C: don't enable tabular-feature when there's
7411         just any locking inset
7412
7413 2003-04-26  John Levon  <levon@movementarian.org>
7414
7415         * bufferlist.C: re-add Cancel to buffer close question
7416
7417         * lyxfunc.C: fix import UI a bit
7418
7419 2003-04-25  John Levon  <levon@movementarian.org>
7420
7421         * gettext.C: remove the broken asserts for now
7422
7423 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7424
7425         * messages.C: make case where setlocale cannot comply work better.
7426
7427         * buffer.C (updateDocLang): new function
7428         (changeLanguage): use it
7429         (readFile): use it
7430
7431         * text2.C (setCounter): use B_ a bit.
7432
7433         * lyxlayout.C (Read): be sure to trim the label strings.
7434
7435         * messages.C (Messages): fix typo in comment
7436
7437         * buffer.C (readFile): set message_ after file is loaded.
7438         (makeDocBookFile): remove double return
7439         (changeLanguage): reset message_ upon language change.
7440         (B_): new func, use this to get translated buffer strings.
7441
7442         * main.C: add myself and Jean Marc as authors.
7443
7444 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7445
7446         * messages.[hC]: pimplify Messages, and three different pimpls to be
7447         used in different circumstances.
7448
7449         * gettext.[Ch]: change for use with new message code.
7450
7451 2003-04-24 André Pönitz <poenitz@gmx.net>
7452
7453         * factory.C: support for eqref
7454
7455 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7456
7457         * messages.[Ch]: add missing char
7458
7459         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7460
7461         * messages.[Ch]: New files
7462
7463 2003-04-18  John Levon  <levon@movementarian.org>
7464
7465         * BufferView.h:
7466         * BufferView.C:
7467         * BufferView_pimpl.C:
7468         * lfuns.h:
7469         * LyXAction.C:
7470         * lyxtext.h:
7471         * text2.C: remove layout-copy/paste (bug 778)
7472
7473 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7474
7475         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7476
7477 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7478
7479         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7480         if they succeed. Act accordingly.
7481
7482 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7483
7484         * text2.C (setCharFont): adjust
7485         (setCounter): adjust
7486         (insertStringAsLines): adjust
7487
7488         * text.C (leftMargin): adjust
7489         (setHeightOfRow): adjust
7490
7491         * rowpainter.C (paintFirst): adjust
7492         (paintLast): adjust
7493
7494         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7495         (outerHook): ditto
7496         (isFirstInSequence): ditto
7497         (getEndLabel): ditto
7498         (outerFont): adjust
7499
7500         * paragraph.C (getParLanguage): comment out some hard stuff.
7501
7502         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7503         (sgmlError): ditto
7504         (simpleDocBookOnePar): ditto
7505         (makeDocBookFile): use ParagraphList::iterator
7506
7507         * CutAndPaste.C (pasteSelection): adjust
7508
7509 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7510
7511         * text2.C (getFont): adjust
7512         (getLayoutFont): adjust
7513         (getLabelFont): adjust
7514
7515         * paragraph_funcs.C (TeXOnePar): adjust
7516
7517         * buffer.C (simpleLinuxDocOnePar): adjust
7518         (simpleDocBookOnePar): adjust
7519
7520         * CutAndPaste.C (pasteSelection): adjust
7521
7522         * BufferView.C (getEncoding): adjust
7523
7524         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7525
7526 2003-04-16  John Levon  <levon@movementarian.org>
7527
7528         * lyxfind.C: use parlist stuff for search/changes
7529
7530 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7531
7532         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7533
7534         * text2.C (deleteEmptyParagraphMechanism): adjust
7535
7536         * text2.[Ch] (ownerParagraph): delete func (both of them
7537
7538 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7539
7540         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7541
7542 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7543
7544         * ParagraphList.C: prepare for NO_NEXT
7545
7546 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7547
7548         * text2.C (getFont): adjust
7549         (getLayoutFont): adjust
7550         (getLabelFont): adjust
7551
7552         * paragraph.C (getFont): adjust
7553         (getLabelFont): adjust
7554         (getLayoutFont): adjust
7555
7556         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7557
7558 2003-04-15  John Levon  <levon@movementarian.org>
7559
7560         From Angus Leeming
7561
7562         * lyx_main.C: handle Include in .ui files
7563
7564 2003-04-15  John Levon  <levon@movementarian.org>
7565
7566         * MenuBackend.C: make the doc files length shorter
7567
7568         * ToolbarBackend.h:
7569         * ToolbarBackend.C: handle toolbar placement flags,
7570         Minibuffer
7571
7572 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7573
7574         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7575         adjust
7576
7577         * paragraph_funcs.C (TeXOnePar): adjust
7578
7579         * paragraph.C (getLabelFont): add outerfont arg, adjust
7580         (getLayoutFont): ditto
7581         (simpleTeXOnePar): adjust
7582
7583         * paragraph_pimpl.C (realizeFont): delete func
7584
7585 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7586
7587         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7588         row argument, constify cur argument.
7589
7590 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7591
7592         * text2.C (getFont): adjust
7593         (getLayoutFont): adjust
7594         (getLabelFont): adjust
7595
7596         * paragraph_funcs.C (TeXOnePar): adjust
7597         (outerFont): new func...
7598         (realizeFont): ...moved out from here, changed this to facilitate
7599         transition
7600
7601         * paragraph.C (getFont): take outerfont as arg, adjust
7602         (simpleTeXOnePar): add outerfont arg, adjust
7603
7604         * buffer.C (simpleLinuxDocOnePar): adjust
7605         (simpleDocBookOnePar): adjust
7606
7607         * CutAndPaste.C (pasteSelection): adjust
7608
7609         * BufferView.C (getEncoding): adjust
7610
7611 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7612
7613         * text2.C (setCharFont): adjust
7614         (setCounter): adjust
7615
7616         * text.C (leftMargin): adjust
7617         (setHeightOfRow): adjust
7618
7619         * rowpainter.C (paintFirst): adjust
7620         (paintLast): adjust
7621
7622         * paragraph_pimpl.C (realizeFont): adjust
7623
7624         * paragraph.C (isFirstInSequence): move from here...
7625         * paragraph_funcs.C (isFirstInSequence): ...to here
7626
7627         * paragraph.C (outerHook): move from here...
7628         * paragraph_funcs.C (outerHook): ...to here
7629
7630         * paragraph.C (depthHook): move from here...
7631         * paragraph_funcs.C (depthHook): ...to here
7632
7633         * paragraph.C (getEndLabel): move from here...
7634         * paragraph_funcs.C (getEndLabel): ...to here
7635
7636         * text2.C (realizeFont): move from here...
7637         * paragraph_funcs.C (realizeFont): ...to here
7638
7639 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7640
7641         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7642
7643 2003-04-14  Angus Leeming  <leeming@lyx.org>
7644
7645         * LColor.[Ch]: scrap LColor mathcursor.
7646
7647 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7648
7649         * lyxlex.[Ch] (text): delete function
7650         * trans.C (Load): adjust
7651         * paragraph_funcs.C (readParToken): adjust
7652
7653 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7654
7655         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7656         vector<char> instead of a char[].
7657
7658         * lyxlex_pimpl.C (getString): adjust
7659         (next): adjust
7660         (lex): use getString
7661         (eatLine): adjust
7662         (nextToken): adjust
7663
7664         * lyxlex.C (text): use pimpl_->getString()
7665         (getBool): ditto
7666         (findToken): ditto
7667
7668 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7669
7670         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7671         (makeFontEntriesLayoutSpecific): temp var for par.size()
7672         (setLayout): temp var for ownerParagraphs().end()
7673         (fullRebreak): temp var for rows().end()
7674         (selectionAsString): temp var for boost::next(startpit), realize
7675         that the while really is a regular for loop.
7676         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7677         setCursor in one place.
7678         (setParagraph): temp vr for ownerParagraphs().end()
7679         (updateCounters): make the while loop a for loop
7680         (cutSelection): temp var for ownerParagraphs().end()
7681         (updateInset): make the do {} while() a regular for loop
7682         (getCursorX): use temp vars
7683         (setCurrentFont): use temp vars
7684         (getColumnNearX): use temp vars
7685
7686 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7687
7688         * text.C (transformChar): use temp var for getChar
7689         (computeBidiTables): use temp var for row->par()
7690         (fill): move temp vars for row->par() and pit->layout() earlier in
7691         the function.
7692         (labelFill): use temp var for row->par()
7693         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7694         asc and desc, realize that pit never changes and that firstpit is
7695         just a duplicate and not needed. Exchange rit->par() with pit in a
7696         lot of places.
7697         (breakAgain): use a temp var for boost::next(rit)
7698         (breakAgainOneRow): ditto
7699         (breakParagraph): use a temp var for rows().begin()
7700         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7701         (cursorRightOneWord): use temp var for cursor.par() and
7702         cursor.pos(), remove usage of tmpcursor.
7703         (cursorLeftOneWord): use temp var for cursor.par() and
7704         cursor.pos() only set cur at end of function.
7705
7706 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7707
7708         * text.C, text2.C: exchange all usage of Paragraph::next with
7709         boost::next(ParagraphList::iterator)
7710
7711         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7712
7713         * text2.C (cursorTop): simplify implementation
7714         (cursorBottom): ditto
7715         (setParagraph): use ParagraphList::iterator
7716         (setCurrentFont): adjust
7717         (getColumnNearX): adjust
7718         (cursorRight): adjust
7719         (cursorLeft): remove usage of Paragraph::previous
7720         (cursorUpParagraph): ditto
7721         (deleteEmptyParagraphMechanism): slight cleanup
7722
7723         * text.C (isBoundary): take a Paragraph const & instead of a
7724         pointer as arg.
7725         (addressBreakPoint): ditto
7726         (leftMargin): remove usage of Paragraph::previous.
7727         (setHeightOfRow): ditto
7728         (cursorLeftOneWord): ditto
7729         (selectNextWordToSpellcheck): ditto
7730         (Delete): ditto
7731         (backspace): ditto
7732         (breakParagraph): remove one usage of Paragraph::next
7733         (redoParagraph): ditto
7734         (acceptChange): ditto
7735         (insertChar): adjust
7736         (rowBreakPoint): adjust
7737
7738         * bufferview_funcs.C (toggleAndShow): adjust
7739
7740 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7741
7742         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7743         methods to access it.
7744         * lyxtext.h:
7745         * text.C: Added updateRowPositions to compute all row positions.
7746         Make top_y and getRowNearY() to use the cached y position
7747
7748 2003-04-11  John Levon  <levon@movementarian.org>
7749
7750         * text.C (rowBreakPoint): reintroduce the labelEnd
7751         checks, code copied from the row fill stuff. Deep voodoo.
7752
7753         * text.C (fill): add a comment and debugging for the
7754         next poor soul.
7755
7756 2003-04-11  John Levon  <levon@movementarian.org>
7757
7758         * text.C: make sure fullrow insets get wrapped to the next line,
7759         even when they're in a manual label
7760
7761 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7762
7763         * text2.C (insertParagraph): make it take ParagraphList::iterator
7764         as arg.
7765         (setLayout): make it return ParagraphList::iterator
7766         (redoParagraphs): ditto
7767         (setCounter): ditto
7768         (checkParagraph): ditto
7769
7770         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7771
7772         * text2.C: adjust several funcs.
7773         (realizeFont): take a ParagraphList::iterator as arg.
7774         (getLayoutFont): ditto
7775         (getLabelFont): ditto
7776         (setCharFont): ditto
7777
7778         * text.C: adjust several funcs.
7779
7780 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7781
7782         * text.C (selectNextWordToSpellcheck): don't accidentally
7783         skip insets
7784
7785 2003-04-10  John Levon  <levon@movementarian.org>
7786
7787         * ToolbarBackend.C (getIcon): special handling for
7788         LFUN_MATH_DELIM
7789
7790 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7791
7792         * text2.C (cursorRight): a getChar assert fixed
7793
7794 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7795
7796         * text2.C (getFont): change to take a ParagraphList::iterator
7797         instead of Paragraph*
7798         Adjust several functions.
7799
7800         * text.C (transformChar): change to take a ParagraphList::iterator
7801         instead of Paragraph*
7802         (singleWidth): ditto
7803         Adjust several functions.
7804
7805         * rowpainter.C: adjust several functions
7806         * rowpainter.h:store a ParagraphList::iterator and not a
7807         Paragraph&.
7808
7809
7810 2003-04-09  John Levon  <levon@movementarian.org>
7811
7812         * lyxfunc.C:
7813         * lfuns.h:
7814         * LyXAction.h:
7815         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7816         and the "help" bits as well
7817
7818 2003-04-09  John Levon  <levon@movementarian.org>
7819
7820         * ToolbarBackend.h:
7821         * ToolbarBackend.C: allow multiple toolbars
7822
7823 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7824
7825         * undo_funcs.C (setCursorParUndo): adjust
7826
7827         * text_funcs.C (transposeChars): adjust
7828
7829         * text3.C (gotoNextInset): adjust
7830         (dispatch): adjust
7831
7832         * text2.C (setLayout): adjust
7833         (changeDepth): adjust
7834         (setFont): adjust
7835         (redoParagraphs): adjust
7836         (selectionAsString): adjust
7837         (setParagraph): adjust
7838         (insertInset): adjust
7839         (cutSelection): adjust
7840         (copySelection): adjust
7841         (pasteSelection): adjust
7842         (insertStringAsLines): adjust
7843         (updateInset): adjust
7844         (setCursor): change to take a ParagraphList::iterator parameter
7845         (setCursorIntern): change to take a ParagraphList::iterator parameter
7846         (setCurrentFont): adjust
7847         (cursorLeft): adjust
7848         (cursorRight): adjust
7849         (deleteEmptyParagraphMechanism): adjust
7850
7851         * text.C (breakParagraph): adjust
7852         (insertChar): adjust
7853         (acceptChange): adjust
7854         (rejectChange): adjust
7855         (selectNextWordToSpellcheck): adjust
7856         (changeCase): adjust
7857         (Delete): adjust
7858         (backspace): adjust
7859
7860         * lyxfind.C (SearchForward): adjust
7861         (SearchBackward): adjust
7862         (nextChange): adjust
7863
7864         * lyxcursor.C (par): adjust
7865
7866         * lyxcursor.h: store a ParagraphList::iterator instead of a
7867         Paragraph*
7868
7869         * lyx_cb.C (getPossibleLabel): adjust
7870
7871         * bufferview_funcs.C (toggleAndShow): adjust
7872
7873         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7874         (dispatch): adjust
7875
7876         * BufferView.C (removeAutoInsets): adjust
7877         (lockedInsetStoreUndo): adjust
7878
7879 2003-04-09  John Levon  <levon@movementarian.org>
7880
7881         * ToolbarBackend.C: try icon without argument
7882         if with argument fails
7883
7884 2003-04-08  John Levon  <levon@movementarian.org>
7885
7886         * ToolbarBackend.h:
7887         * ToolbarBackend.C: add getIcon(), handle tooltip,
7888         and change from "Icon" to "Item".
7889
7890 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7891
7892         * BufferView.C (lockInset): another bad getchar crunched
7893
7894 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7895
7896         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7897         again)
7898
7899 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7900
7901         * lyxfind.C (searchForward, searchBackwards): bug 782
7902
7903 2003-04-07  John Levon  <levon@movementarian.org>
7904
7905         * paragraph.C: remove dead comment
7906
7907         * text.C: remove troublesome depth-fiddling code
7908         in leftMargin() and rightMargin() (bug 1017)
7909
7910         * text.C: fix breaking of rows in nested lists
7911         (bug 1004)
7912
7913         * text2.C (updateCounters): fix up depth values
7914         (bug 1013)
7915
7916 2003-04-07  John Levon  <levon@movementarian.org>
7917
7918         * BufferView_pimpl.C: clear message when doc finishes resizing,
7919         and after a mouse event
7920
7921         * lyxfunc.C: clear message after exiting inset
7922
7923 2003-04-07  John Levon  <levon@movementarian.org>
7924
7925         * bufferview_funcs.C: show math status not outside
7926         status in the statusbar
7927
7928 2003-04-07  John Levon  <levon@movementarian.org>
7929
7930         * lyxfunc.C: note status changed after a depth change
7931
7932 2003-04-04  Angus Leeming  <leeming@lyx.org>
7933
7934         * LaTeX.h: move AuxInfo operator==, != out of line.
7935         Remove LaTeX virtual destructor; nothing derives from it.
7936         Move operator()() out of public area and rename it startscript().
7937         Change protected for private.
7938
7939 2003-04-04  Angus Leeming  <leeming@lyx.org>
7940
7941         * lyxfunc.C:
7942         * text2.C: remove unneeded #includes.
7943
7944 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7945
7946         * text2.C (dEPM): fix the heigth of the next row
7947
7948 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7949
7950         * text.C: squashed an invalid getChar requester + some ws changes
7951
7952 2003-04-03  John Levon  <levon@movementarian.org>
7953
7954         * bufferview_funcs.h:
7955         * bufferview_funcs.C:
7956         * lyxfunc.C:
7957         * lyxtext.h:
7958         * text2.C: make getStatus work for the env depth lfuns
7959
7960 2003-04-03  John Levon  <levon@movementarian.org>
7961
7962         * bufferview_funcs.h:
7963         * bufferview_funcs.C:
7964         * lyxfunc.C:
7965         * lyxtext.h:
7966         * text2.C: parlistize decDepth(), by merging it with incDepth()
7967
7968 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969
7970         * lyxrow.h: store a ParagraphList::iterator instead of a
7971         Paragraph* and adjust other class functions to suit.
7972
7973         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7974         above.
7975
7976 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7977
7978         * text2.C (setCursor): do not anchor to cursor row for the time being
7979
7980 2003-04-02  John Levon  <levon@movementarian.org>
7981
7982         * LyXAction.C:
7983         * lfuns.h:
7984         * lyx_main.C:
7985         * lyxtext.h:
7986         * text.C:
7987         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7988
7989 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7990
7991         * paragraph.h: make ParagraphList and ParagraphList::iterator
7992         friends of Paragraph.
7993
7994         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7995
7996         * ParagraphList.C: Use the private next_ and previous_ from
7997         Paragraph.
7998
7999 2003-04-01  John Levon  <levon@movementarian.org>
8000
8001         * ToolbarBackend.h:
8002         * ToolbarBackend.C:
8003         * Makefile.am: rename, remove defaults gunk
8004
8005         * MenuBackend.h:
8006         * MenuBackend.C: remove defaults gunk
8007
8008         * Languages.h:
8009         * Languages.C: remove defaults gunk
8010
8011         * lyx_main.h:
8012         * lyx_main.C: error out if files couldn't be found.
8013
8014 2003-04-02  John Levon  <levon@movementarian.org>
8015
8016         * text2.C: make incDepth() use parlist
8017
8018 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8019
8020         * undo_funcs.C (firstUndoParagraph): adjust
8021
8022         * text3.C (gotoInset): adjust
8023         (dispatch): adjust, and rewrite loop.
8024
8025         * text2.C (init): adjust, and rewrite loop.
8026         (redoParagraphs): adjust
8027         (updateInset): adjust, and rewrite loop.
8028         (deleteEmptyParagraphMechanism): adjust
8029
8030         * tabular.C (LyXTabular): adjust
8031         (SetMultiColumn): adjust
8032         (TeXRow): adjust
8033
8034         * lyxtext.[Ch] (ownerParagraph): delete function
8035         (ownerParagraphs): new function returns a ParagraphList.
8036
8037         * BufferView.C (removeAutoInsets): adjust
8038         (insertErrors): adjust
8039         (setCursorFromRow): adjust
8040
8041 2003-04-01  Angus Leeming  <leeming@lyx.org>
8042
8043         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8044         in the frontends.
8045
8046 2003-04-02  John Levon  <levon@movementarian.org>
8047
8048         * lyxtext.h:
8049         * text.C:
8050         * Makefile.am:
8051         * text_funcs.h:
8052         * text_funcs.C: make transposeChars a free function
8053
8054         * lyxrow_funcs.C: remove wrong comment
8055
8056 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8057
8058         * lyxtext.h: adjust
8059         * rowpainter.C: adjust
8060         * text.C: adjust
8061         * text2.C: adjust
8062         * text3.C: adjust
8063
8064         * lyxrow_funcs. [Ch]: new files
8065
8066         * lyxrow.[Ch]: remove next and previous pointers
8067         (next,previous): remove accessor functions
8068         (isParEnd): move to lyxrow_funcs
8069         (lastPos): move to lyxrow_funcs
8070         (nextRowIsAllInset): move to lyxrow_funcs
8071         (lastPrintablePos): move to lyxrow_funcs
8072         (numberOfSeparators): move to lyxrow_funcs
8073         (numberOfHfills): move to lyxrow_funcs
8074         (numberOfLabelHfills): move to lyxrow_funcs
8075         (hfillExpansion): move to lyxrow_funcs
8076
8077         * lyxfunc.C: adjust
8078
8079         * bufferview_funcs.C (toggleAndShow): adjust
8080
8081         * RowList.h: Remove class RowList from file leave just a
8082         std::list<Row>.
8083
8084         * RowList.C: delete file
8085
8086         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8087         and lyxrow_funcs.h
8088
8089 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8090
8091         * text3.C (cursorPrevious): adjust
8092         (cursorNext): adjust
8093         (dispatch): adjust
8094
8095         * text2.C (redoHeightOfParagraph): adjust
8096         (redoDrawingOfParagraph): adjust
8097         (setCursor): adjust
8098
8099         * text.C (breakParagraph): adjust
8100         (insertChar): adjust
8101         (backspace): adjust
8102
8103         * rowpainter.C (RowPainter): adjust
8104         (leftMargin): simplify and adjust
8105         (most rowpainter functions): adjust.
8106
8107         * rowpainter.h: store the row as RowList::iterator not as Row*
8108
8109         * lyxcursor.C (row): taka RowList::iterator as arg
8110         (irow): ditto
8111
8112         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8113         of Row*.
8114
8115 2003-04-01  Angus Leeming  <leeming@lyx.org>
8116
8117         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8118         stuff like bool Bool.
8119
8120 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8121
8122         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8123         rewrite a loop
8124
8125 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8126
8127         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8128         RowList::iterator.
8129
8130         * lyxtext.h (rows): drop one version and leve a const variant that
8131         returns a RowList::iterator.
8132
8133 2003-03-31  Angus Leeming  <leeming@lyx.org>
8134
8135         * text.C (fill): ensure that the signature is the same as that in the
8136         header file.
8137
8138 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8139
8140         * text2.C (redoParagraphs): adjust
8141         (updateCounters): adjust
8142         (checkParagraph): adjust
8143         (getColumnNearX): adjust and reformat a bit.
8144
8145         * text.C (top_y): adjust
8146         (workWidth): adjust
8147         (leftMargin): adjust
8148         (prepareToPrint): adjust
8149         (getRow): adjust
8150         (getRowNearY): adjust
8151
8152         * lyxtext.h: make rowlist_ mutable.
8153
8154         * RowList.h: add const_iterator
8155         * RowList.C: adjust for RowList::const_iterator.
8156
8157         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8158         adjust.
8159
8160 2003-03-31  John Levon  <levon@movementarian.org>
8161
8162         * lyxrc.h:
8163         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8164
8165         * lyx_main.C: set default fonts from using lyx_gui funcs
8166
8167         * exporter.C: pdf_mode moved from lyxrc
8168
8169         * lyx_cb.C:
8170         * lyxfunc.C: changes from above
8171
8172 2003-03-31  John Levon  <levon@movementarian.org>
8173
8174         * lyx_main.C: fix to the last fix
8175
8176 2003-03-31  John Levon  <levon@movementarian.org>
8177
8178         * bufferlist.C: "Load original" -> "Load Original"
8179
8180         * converter.C:
8181         * exporter.C:
8182         * importer.C:
8183         * lyx_main.C:
8184         * format.C: more Alert cleanups
8185
8186 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8187
8188         * text2.C (removeParagraph): make it take a RowList::iterator as
8189         arg, adjust.
8190         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8191         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8192
8193         * text.C (anchor_row): make it take a RowList::iterator as arg,
8194         adjust.
8195         (computeBidiTables): make it take a const reference to Row instead
8196         of Row pointer, adjust.
8197         (leftMargin): make it take a RowList::iterator as arg, adjust.
8198         (rowBreakPoint): adjust
8199         (breakAgainOneRow): make it take a RowList::iterator as arg,
8200         adjust.
8201         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8202
8203         * bufferview_funcs.C (toggleAndShow): adjust
8204
8205 2003-03-30  John Levon  <levon@movementarian.org>
8206
8207         * Makefile.am:
8208         * BoostFormat.h:
8209         * boost-inst.C: moved to support
8210
8211         * several files: changes as a result
8212
8213 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8214
8215         * text2.C (LyXText): adjust.
8216         (init): adjust
8217         (removeRow): make it take a RowList::iterator as arg, adjust.
8218         (fullRebreak): adjust
8219         (deleteEmptyParagraphMechanism): adjust
8220         (clearPaint): adjust
8221         (postPaint): adjust
8222
8223         * text.C (top_y): adjust
8224         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8225         (breakAgain): make it take a RowList::iterator as arg, adjust.
8226         (breakParagraph): adjust
8227         (insertChar): adjust
8228         (backspace): adjust
8229
8230         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8231         need_break_row, and refresh_row.
8232
8233         * text3.C (dispatch): adjust
8234
8235         * text2.C (checkParagraph): adjust
8236         (setCursor): adjust
8237         (setCursorFromCoordinates): adjust
8238
8239         * text.C (top_y): adjust
8240         (workWidth): adjust
8241         (getRow): make it return a RowList::iterator, adjust
8242         (getRowNearY): make it return a RowList::iterator, adjust
8243
8244         * text2.C (init): adjust
8245         (insertRow): remove function
8246         (insertParagraph): adjust
8247         (redoParagraphs): adjust
8248         (fullRebreak): adjust
8249         (updateCounters): adjust
8250
8251         * text.C (top_y): rewrite to use RowList iterators.
8252         (top_y): adjust
8253         (setHeightOfRow): rewrite to sue RowList iterators.
8254         (appendParagraph): adjust
8255         (breakAgain): adjust
8256         (breakAgainOneRow): adjust
8257         (breakParagraph): adjust
8258         (getRow): adjust
8259         (getRowNearY): adjust, and remove commented code.
8260
8261         * lyxtext.h (firstRow): delete function
8262         (lastRow): delete function
8263         (rows): new function (const and non-const versions.)
8264         (insertRow): delete function
8265
8266         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8267
8268 2003-03-29  John Levon  <levon@movementarian.org>
8269
8270         * BufferView_pimpl.C: always update scrollbar top
8271         because pasting text when we're anchored could mean we
8272         miss an update altogether
8273
8274 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8275
8276         * text2.C (init): use rowlist_.end() and not 0.
8277         (insertRow): change to take a RowList::iterator as arg, adjust
8278         for this.
8279         (insertParagraph): change to take a RowList::iterator as arg,
8280         adjust for this.
8281         (redoParagraphs): remove some debug msgs.
8282
8283         * text.C (appendParagraph): change to take a RowList::iterator
8284         arg, adjust for this.
8285         (breakAgain): add an assert
8286         (breakAgainOneRow): ditto
8287
8288 2003-03-29  John Levon  <levon@movementarian.org>
8289
8290         * text2.C: do not clear selection after inc/decDepth
8291         (bug 550)
8292
8293 2003-03-29  John Levon  <levon@movementarian.org>
8294
8295         * BufferView.C:
8296         * buffer.C: fix broken strerrors according to Lars
8297
8298 2003-03-29  John Levon  <levon@movementarian.org>
8299
8300         * converters.C: more Alert cleanups
8301
8302 2003-03-29  John Levon  <levon@movementarian.org>
8303
8304         * bufferview_funcs.C: remove pointless Alert
8305
8306         * buffer.C: fix confusing error message when
8307         a template is chmoded 000
8308
8309 2003-03-29  John Levon  <levon@movementarian.org>
8310
8311         * BufferView.C:
8312         * BufferView.h:
8313         * BufferView_pimpl.C: Alert fixes
8314
8315         * Makefile.am:
8316         * tabular.C:
8317         * tabular-old.C: remove unused table compat reading
8318
8319 2003-03-29  John Levon  <levon@movementarian.org>
8320
8321         * BufferView.C:
8322         * buffer.C:
8323         * lyx_cb.h:
8324         * lyx_cb.C: more Alert cleanups
8325
8326         * lyxfunc.C: don't allow chktex if not latex document
8327
8328 2003-03-29  John Levon  <levon@movementarian.org>
8329
8330         * lyx_cb.C:
8331         * BufferView.C:
8332         * buffer.C: warnings pushed down from support/,
8333         kill err_alert
8334
8335 2003-03-29  John Levon  <levon@movementarian.org>
8336
8337         * lyxfunc.C: safety check for C-r (revert)
8338
8339 2003-03-29  John Levon  <levon@movementarian.org>
8340
8341         * bufferlist.h:
8342         * bufferlist.C: several UI fixes using Alert::prompt.
8343         Fix the pointless looping quit code. Fix stupid revert
8344         behaviour (bug 938)
8345
8346         * lyxvc.h:
8347         * lyxvc.C:
8348         * lyx_cb.C: use Alert::prompt
8349
8350         * lyx_main.C: remove a silly question
8351
8352         * lyxfunc.C: remove a couple of silly questions,
8353         use Alert::prompt
8354
8355 2003-03-28  John Levon  <levon@movementarian.org>
8356
8357         * text2.C: fix bug 974 (End on empty par)
8358
8359 2003-03-28  John Levon  <levon@movementarian.org>
8360
8361         * BufferView_pimpl.C:
8362         * LyXAction.C:
8363         * lfuns.h: remove do-nothing math greek lfuns
8364
8365 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8366
8367         * lyxgluelength.h (isValidGlueLength): add default arg on
8368         parameter 2. Remove default arg from friend in class.
8369
8370         * lyxlength.h (isValidLength): add default arg on parameter 2.
8371         Remove default arg from friend in class.
8372
8373         * text2.C (LyXText): adjust, initialize refresh_row.
8374         (init): adjust
8375         (removeRow): adjust
8376         (insertRow): adjust
8377         (insertParagraph): adjst
8378         (redoParagraphs): adjust
8379         (fullRebreak): adjust
8380         (updateCounters): adjust
8381         (deleteEmptyParagraphMechanism): first attempt at fixing a
8382         crashing bug.
8383
8384         * text.C (top_y): adjust
8385         (setHeightOfRow): adjust
8386         (getRow): adjust
8387         (getRowNearY): adjust
8388
8389         * lyxtext.h: include RowList.h
8390         (~LyXText): not needed anymore, deleted.
8391         (firstRow): modify for RowList
8392         (lastRow): new function
8393         Delete firstrow and lastrow class variables, add a Rowlist
8394         rowlist_ class variable.
8395
8396         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8397         paragraph is empty.
8398
8399         * RowList.C (insert): fix case where it == begin().
8400
8401 2003-03-26  Angus Leeming  <leeming@lyx.org>
8402
8403         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8404         the thesaurus dialog.
8405
8406 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8407
8408         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8409
8410         * RowList.[Ch]: new files
8411
8412         * ParagraphList.C (erase): handle the case where it == begin
8413         correctly.
8414
8415 2003-03-25  John Levon  <levon@movementarian.org>
8416
8417         * Makefile.am:
8418         * aspell_local.h:
8419         * aspell.C: add new aspell support
8420
8421         * lyxrc.h:
8422         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8423         have it accessible.
8424
8425 2003-03-25  Angus Leeming  <leeming@lyx.org>
8426
8427         * lfuns.h:
8428         * LyXAction.C (init): new LFUN_INSET_INSERT.
8429
8430         * BufferView_pimpl.C (dispatch): split out part of the
8431         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8432
8433         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8434         LFUN_INSET_APPLY.
8435
8436 2003-03-25  Angus Leeming  <leeming@lyx.org>
8437
8438         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8439
8440 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8441
8442         * text2.C:
8443         * text3.C: remove useless row->height(0)
8444
8445 2003-03-25  John Levon  <levon@movementarian.org>
8446
8447         * lyxtext.h:
8448         * text2.C:
8449         * text3.C: rename the refreshing stuff to better names
8450
8451 2003-03-24  John Levon  <levon@movementarian.org>
8452
8453         * BufferView_pimpl.h:
8454         * BufferView_pimpl.C: update layout choice on a mouse
8455         press/release
8456
8457 2003-03-23  John Levon  <levon@movementarian.org>
8458
8459         * Makefile.am: fix commandtags.h reference
8460
8461 2003-03-22  John Levon  <levon@movementarian.org>
8462
8463         * BufferView_pimpl.C:
8464         * lyxtext.h:
8465         * rowpainter.C:
8466         * rowpainter.h:
8467         * text.C:
8468         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8469
8470 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8471
8472         * lyxtext.h:
8473         * text.C: take the rtl methods out of line
8474
8475 2003-03-21 André Pönitz <poenitz@gmx.net>
8476
8477         * metricsinfo.[Ch]: new files containing structures to be passed around
8478         during the two-phase-drawing...
8479
8480 2003-03-21 André Pönitz <poenitz@gmx.net>
8481
8482         * lyxtextclass.C: read 'environment' tag.
8483
8484 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8485
8486         * text2.C (removeRow): fix bug 964
8487
8488 2003-03-20  John Levon  <levon@movementarian.org>
8489
8490         * rowpainter.C:
8491         * text.C:
8492         * text2.C: paint cleanups. Inset::update() dropped font
8493         parameter
8494
8495 2003-03-19  John Levon  <levon@movementarian.org>
8496
8497         * lyxfunc.C: only fitcursor/markDirty if available()
8498
8499 2003-03-19  John Levon  <levon@movementarian.org>
8500
8501         * commandtags.h: rename to ...
8502
8503         * lfuns.h: ... this, and renumber / cleanup
8504
8505 2003-03-19  John Levon  <levon@movementarian.org>
8506
8507         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8508         fit the cursor after an lfun
8509
8510         * BufferView.h:
8511         * BufferView.C:
8512         * BufferView_pimpl.h:
8513         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8514
8515         * LyXAction.C: layout-character should have ReadOnly
8516
8517         * ParagraphParameters.C:
8518         * buffer.C:
8519         * bufferview_funcs.C:
8520         * lyx_cb.C:
8521         * lyxfind.C:
8522         * lyxtext.h:
8523         * text.C:
8524         * text2.C:
8525         * text3.C:
8526         * undo_funcs.C: changes from above
8527
8528 2003-03-18  John Levon  <levon@movementarian.org>
8529
8530         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8531         remove it from update()
8532
8533         * lyxfunc.C: update layout choice after an lfun
8534
8535         * text3.C: remove extra updateLayoutChoice()s
8536
8537 2003-03-18  John Levon  <levon@movementarian.org>
8538
8539         * text.C: top_y change means full repaint, fix
8540         a drawing bug with cursor movement
8541
8542 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8543
8544         * lyxtext.h:
8545         * text.C:
8546         * text2.C: anchor row on setCursor
8547
8548 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8549
8550         * lyxtext.h: remove almost all mutable keywords
8551         * text.C:
8552         * text2.C:
8553         * text3.C: remove const keywords accordingly
8554
8555 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8556
8557         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8558         anon namespace
8559         (TeXEnvironment): ditto
8560         (TeXOnePar): ditto
8561
8562 2003-03-17  John Levon  <levon@movementarian.org>
8563
8564         * text.C (rowBreakPoint): remove attempt to fix displayed
8565         math insets inside a manual label
8566
8567 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8568
8569         * lyxtext.h: remove BufferView* as first arg from almost all class
8570         functions.
8571         * other files: adjust.
8572
8573 2003-03-17  John Levon  <levon@movementarian.org>
8574
8575         * lyxtext.h:
8576         * undo_funcs.C:
8577         * text2.C: more paint cleanups
8578
8579         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8580
8581         * rowpainter.h:
8582         * rowpainter.C: remove "smart" background painting code
8583
8584 2003-03-16  John Levon  <levon@movementarian.org>
8585
8586         * lyxtext.h:
8587         * text.C:
8588         * text2.C:
8589         * text3.C: add helper functions for setting refresh_row/y
8590
8591 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8592
8593         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8594         newline inset which *can* get inserted in the pass_thru layouts.
8595         This is primarily for literate documents.
8596
8597 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8598
8599         * buffer.C: increment LYX_FORMAT to 223
8600
8601 2003-03-14 André Pönitz <poenitz@gmx.net>
8602
8603         * textclass.h: prepare for environment handling, ws changes
8604         * lyxlayout.C: read latexheader and latexfooter tags
8605
8606 2003-03-14  John Levon  <levon@movementarian.org>
8607
8608         * text2.C: rewrite ::status() a bit
8609
8610 2003-03-13  John Levon  <levon@movementarian.org>
8611
8612         * lyxtext.h: add some docs
8613
8614 2003-03-13  John Levon  <levon@movementarian.org>
8615
8616         * lyxtext.h:
8617         * text.C:
8618         * text2.C:
8619         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8620
8621 2003-03-13  John Levon  <levon@movementarian.org>
8622
8623         * text3.C: fix appendix redrawing
8624
8625 2003-03-13  John Levon  <levon@movementarian.org>
8626
8627         * text.C (setHeightOfRow):
8628         * rowpainter.h:
8629         * rowpainter.C: make appendix mark have the text
8630           "Appendix" so the user knows what it is
8631
8632         * LColor.h:
8633         * LColor.C: s/appendixline/appendix/ from above
8634
8635 2003-03-13  John Levon  <levon@movementarian.org>
8636
8637         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8638
8639         * text.C: fix a getChar(pos) bug properly
8640
8641 2003-03-13  Angus Leeming  <leeming@lyx.org>
8642
8643         * commandtags.h:
8644         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8645         Probably only temporary. Let's see how things pan out.
8646
8647         * BufferView.C (unlockInset):
8648         * BufferView_pimpl.C (fitCursor):
8649         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8650
8651         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8652         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8653
8654         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8655         new functions that convert ParagraphParameters to and from a string.
8656
8657         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8658         BufferView::Pimpl's dispatch.
8659         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8660
8661 2003-03-13 André Pönitz <poenitz@gmx.net>
8662
8663         * lyxfunc.C:
8664         * text3.C:
8665         * factory.C: make it aware of InsetEnv
8666
8667 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8668
8669         * text2.C (setCursor): never ask for one past last
8670         (setCursor): add some debugging messages.
8671
8672         * text.C (singleWidth): never ask for one past last
8673         (singleWidth): ditto
8674         (leftMargin): ditto
8675         (rightMargin): ditto
8676         (rowBreakPoint): ditto
8677         (setHeightOfRow): ditto
8678         (prepareToPrint): ditto
8679
8680         * rowpainter.C (paintBackground): never ask for one past last
8681         (paintText): never ask for one past last
8682
8683         * paragraph_pimpl.C (getChar): make the assert stricter, never
8684         allow the one past last pos to be taken
8685
8686         * paragraph.C (getChar): ws changes only
8687
8688         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8689         (numberOfSeparators): ditto
8690         (numberOfHfills): ditto
8691
8692 2003-03-12  John Levon  <levon@movementarian.org>
8693
8694         * author.h:
8695         * author.C:
8696         * bufferparams.h:
8697         * bufferparams.C:
8698         * paragraph_funcs.C: fix per-buffer authorlists
8699
8700 2003-03-12  John Levon  <levon@movementarian.org>
8701
8702         * text.C: fix newline in right address
8703
8704 2003-03-12  Angus Leeming  <leeming@lyx.org>
8705
8706         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8707         duplicate those in LyXFunc::dispatch.
8708
8709         * commandtags.h:
8710         * LyXAction.C:
8711         * ToolbarDefaults.C:
8712         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8713         Add LFUN_FONTFREE_UPDATE.
8714
8715         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8716         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8717
8718         * bufferview_func.[Ch]: several new functions to facilliate
8719         transfer of data to and from the character dialog.
8720
8721 2003-03-12  John Levon  <levon@movementarian.org>
8722
8723         * buffer.C:
8724         * paragraph.h:
8725         * paragraph.C:
8726         * paragraph_funcs.C:
8727         * paragraph_pimpl.C:
8728         * sgml.C:
8729         * tabular.C:
8730         * text.C:
8731         * text3.C: remove META_NEWLINE in favour of an inset
8732
8733         * rowpainter.h:
8734         * rowpainter.C: remove paintNewline (done by inset)
8735
8736 2003-03-12  John Levon  <levon@movementarian.org>
8737
8738         * paragraph_pimpl.C: complain about bad getChar()s
8739         for a while at least
8740
8741 2003-03-12  John Levon  <levon@movementarian.org>
8742
8743         * buffer.h:
8744         * buffer.C: move paragraph read into a separate function,
8745         a little renaming to reflect that.
8746
8747         * bufferparams.h:
8748         * bufferparams.C: remove the author_ids map, not necessary now
8749
8750         * factory.h:
8751         * factory.C: moved Buffer::readInset to here
8752
8753         * paragraph_funcs.h:
8754         * paragraph_funcs.C: readParagraph free function moved from
8755         buffer.C
8756
8757         * tabular.C: name change
8758
8759 2003-03-12  John Levon  <levon@movementarian.org>
8760
8761         * buffer.C:
8762         * ParagraphParameters.C: move par params input to
8763         a read() method
8764
8765         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8766         behave like a normal read from the stream wrt reading
8767         a line vs. a \\token
8768
8769 2003-03-12  John Levon  <levon@movementarian.org>
8770
8771         * paragraph.C:
8772         * ParagraphParameters.h:
8773         * ParagraphParameters.C: move output code to a
8774         ::write() method
8775
8776 2003-03-12  John Levon  <levon@movementarian.org>
8777
8778         * BufferView.C (insertLyXFile):
8779         * buffer.h:
8780         * buffer.C:
8781         * tabular.C: use a parlist iterator for creating the
8782           document.
8783
8784 2003-03-12  John Levon  <levon@movementarian.org>
8785
8786         * buffer.C: make current_change static local not
8787           static file-scope
8788
8789 2003-03-12  John Levon  <levon@movementarian.org>
8790
8791         * buffer.C: fix insertStringAsLines for change tracking
8792
8793 2003-03-12  John Levon  <levon@movementarian.org>
8794
8795         * BufferView.C:
8796         * tabular.C:
8797         * buffer.h:
8798         * buffer.C:
8799         * bufferparams.h:
8800         * bufferparams.C: move author list into params. Rename some
8801           functions. Move the header reading into a separate token
8802           loop. Move the header token reading into BufferParams.
8803
8804 2003-03-12  John Levon  <levon@movementarian.org>
8805
8806         * changes.C: put debug inside lyxerr.debugging() checks
8807
8808 2003-03-11 André Pönitz <poenitz@gmx.net>
8809
8810         * factory.C: make it aware of InsetHFill
8811
8812 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8813
8814         * buffer.C (latexParagraphs): move function from here...
8815         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8816         args.
8817
8818 2003-03-10  Angus Leeming  <leeming@lyx.org>
8819
8820         * LyXAction.C (init): fix bug in poplating array with multiple entries
8821         with the same LFUN (spotted by JMarc).
8822
8823 2003-03-10  John Levon  <levon@movementarian.org>
8824
8825         * text.C:
8826         * text2.C: move getColumnNearX() near its
8827         only call site
8828
8829 2003-03-10  John Levon  <levon@movementarian.org>
8830
8831         * text.C: fix break before a minipage
8832
8833 2003-03-10  John Levon  <levon@movementarian.org>
8834
8835         * text.C: fix the last commit
8836
8837 2003-03-09  John Levon  <levon@movementarian.org>
8838
8839         * lyxtext.h:
8840         * text.C:
8841         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8842         bug 365 (don't break before insets unless needed). Don't
8843         return a value > last under any circumstances.
8844
8845 2003-03-09  Angus Leeming  <leeming@lyx.org>
8846
8847         * BufferView_pimpl.C (trackChanges, dispatch): call
8848         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8849
8850 2003-03-09  Angus Leeming  <leeming@lyx.org>
8851
8852         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8853         than Dialogs::showAboutlyx().
8854
8855 2003-03-09  Angus Leeming  <leeming@lyx.org>
8856
8857         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8858         than Dialogs::showTabularCreate().
8859
8860 2003-03-09  John Levon  <levon@movementarian.org>
8861
8862         * lyxtext.h:
8863         * text.C:
8864         * text2.C: 3rd arg to nextBreakPoint was always the same.
8865           Use references.
8866
8867 2003-03-08  John Levon  <levon@movementarian.org>
8868
8869         * lyxrow.C:
8870         * paragraph.C:
8871         * paragraph.h:
8872         * rowpainter.C:
8873         * text.C:
8874         * text2.C: Remove the "main" bit from the "main body"
8875           notion.
8876
8877 2003-03-08  John Levon  <levon@movementarian.org>
8878
8879         * text.C (leftMargin): The left margin of an empty
8880         manual label paragraph should not include the label width
8881         string length.
8882
8883         * text.C (prepareToPrint): don't attempt to measure hfills
8884         for empty manual label paragraphs - the answer should be 0
8885
8886 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8887
8888         * CutAndPaste.C: remove commented code and reindent.
8889
8890 2003-03-08  John Levon  <levon@movementarian.org>
8891
8892         * lyxfunc.h:
8893         * lyxfunc.C: move reloadBuffer()
8894
8895         * BufferView.h:
8896         * BufferView.C: to here
8897
8898         * lyxvc.C: add comment
8899
8900         * vc-backend.h:
8901         * vc-backend.C: call bv->reload() to avoid
8902           getStatus() check on MENURELOAD
8903
8904 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8905
8906         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8907         to an old format .dep file.
8908
8909 2003-03-07  Angus Leeming  <leeming@lyx.org>
8910
8911         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8912         when the LFUN_MOUSE_RELEASE should have been handled by
8913         inset->localDispatch.
8914
8915 2003-03-07  Angus Leeming  <leeming@lyx.org>
8916
8917         * BufferView_pimpl.C (dispatch):
8918         * LyXAction.C (init):
8919         * ToolbarDefaults.C (init):
8920         * commandtags.h:
8921         * lyxfunc.C (getStatus):
8922         remove LFUN_INSET_GRAPHICS.
8923
8924         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8925
8926 2003-03-07  Angus Leeming  <leeming@lyx.org>
8927
8928         * commandtags.h:
8929         * LyXAction.C (init):
8930         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8931
8932         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8933
8934         * commandtags.h:
8935         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8936
8937         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8938         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8939
8940 2003-03-07  Angus Leeming  <leeming@lyx.org>
8941
8942         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8943         remove "ert".
8944
8945 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8946
8947         * ParagraphList.C (front): new function
8948         (back): implement
8949
8950 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8951
8952         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8953         and top_row_offset_. removed var first_y.
8954         * text.C (top_y):
8955         * text2.C (LyXText, removeRow):
8956         * text3.C:
8957         * BufferView_pimpl.C:
8958         use these methods instead of using first_y
8959
8960 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8961
8962         * text2.C (pasteSelection): adjust for checkPastePossible
8963
8964         * CutAndPaste.C: remove Paragraph * buf and replace with
8965         ParagraphList paragraphs.
8966         (DeleteBuffer): delete
8967         (cutSelection): change the tc type to textclass_type
8968         (copySelection): change the tc type to textclass_type
8969         (copySelection): adjust for ParagraphList
8970         (pasteSelection): change the tc type to textclass_type
8971         (pasteSelection): adjust for Paragraphlist
8972         (nrOfParagraphs): simplify for ParagraphList
8973         (checkPastePossible): simplify for ParagraphList
8974         (checkPastePossible): remove unused arg
8975
8976         * ParagraphList.C (insert): handle the case where there are no
8977         paragraphs yet.
8978
8979         * CutAndPaste.h: make CutAndPaste a namespace.
8980
8981         * text3.C (dispatch): adjust
8982
8983         * text.C (breakParagraph): add a ParagraphList as arg
8984
8985         * paragraph_funcs.C (breakParagraph): change to take a
8986         BufferParams and a ParagraphList as args.
8987         (breakParagraphConservative): ditto
8988         (mergeParagraph): ditto
8989         (TeXDeeper): add a ParagraphList arg
8990         (TeXEnvironment): ditto
8991         (TeXOnePar): ditto
8992
8993         * buffer.C (readLyXformat2): adjust
8994         (insertStringAsLines): adjust
8995         (latexParagraphs): adjust
8996
8997         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8998         (cutSelection): adjust
8999         (pasteSelection): adjust
9000
9001         * BufferView_pimpl.C (insertInset): adjust
9002
9003 2003-03-05  Angus Leeming  <leeming@lyx.org>
9004
9005         * commandtags.h:
9006         * LyXAction.C (init):
9007         * BufferView_pimpl.C (dispatch):
9008         * lyxfunc.C (getStatus):
9009         remove LFUN_CHILD_INSERT.
9010
9011         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9012
9013 2003-03-05  Angus Leeming  <leeming@lyx.org>
9014
9015         * commandtags.h:
9016         * LyXAction.C (init):
9017         * src/factory.C (createInset):
9018         * lyxfunc.C (getStatus):
9019         * text3.C (dispatch):
9020         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9021
9022         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9023
9024 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9025
9026         * ParagraphList.C (insert): handle insert right before end()
9027         (erase): fix cases where it can be first or last paragraph.
9028
9029 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9030
9031         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9032         Paragraph::next and Paragraph::previous
9033         (TeXOnePar): ditto
9034
9035         * text.C (breakParagraph): adjust
9036
9037         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9038         BufferParams& as arg.
9039         (breakParagraph): use ParagraphList::insert
9040         (breakParagraphConservative): take a Buffer* instead of a
9041         BufferParams& as arg.
9042         (breakParagraphConservative): use ParagraphList::insert.
9043
9044         * buffer.C (insertStringAsLines): un-const it
9045         (insertStringAsLines): adjust
9046
9047         * ParagraphList.C (insert): new function
9048
9049         * CutAndPaste.C (pasteSelection): adjust
9050
9051         * text.C (backspace): adjust
9052
9053         * tabular.C (SetMultiColumn): adjust
9054
9055         * CutAndPaste.C (cutSelection): adjust
9056         (pasteSelection): adjust
9057
9058         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9059         Buffer const * as arg
9060
9061         * ParagraphList.C (erase): new function
9062         * paragraph_funcs.C (mergeParagraph): use it
9063         (mergeParagraph): make it take a Buffer* instead of a
9064         BufferParams* as arg
9065
9066         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9067         as arg
9068         (breakParagraphConservative): ditto
9069
9070         * paragraph.h: remove the breakParagraph friend
9071
9072         * paragraph.C (eraseIntern): new function
9073         (setChange): new function
9074
9075         * paragraph_funcs.C (mergeParagraph): make it take a
9076         ParagraphList::iterator instead of a Paragraph *, adjust
9077         accordingly.
9078
9079         * paragraph.h: move an #endif so that the change tracking stuff
9080         also works in the NO_NEXT case.
9081
9082 2003-03-04  Angus Leeming  <leeming@lyx.org>
9083
9084         * commandtags.h:
9085         * LyXAction.C: new LFUN_INSET_MODIFY.
9086
9087         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9088         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9089
9090 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9091
9092         * several files: ws changes only
9093
9094         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9095         (TeXEnvironment): ditto
9096         (TeXDeeper): ditto
9097
9098         * buffer.C (makeLaTeXFile): adjust
9099         (latexParagraphs): make it take ParagraphList::iterator as args
9100
9101 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9102
9103         * buffer.C (latexParagraphs): adjust
9104
9105         * paragraph.C (TeXOnePar): move function...
9106         (optArgInset): move function...
9107         (TeXEnvironment): move function...
9108         * paragraph_pimpl.C (TeXDeeper): move function...
9109         * paragraph_funcs.C: ...here
9110
9111         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9112
9113 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9114
9115         * buffer.C (readInset): remove compability code for old Figure and
9116         InsetInfo insets
9117
9118 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9119
9120         * buffer.C: ws changes
9121         (readInset):
9122
9123         * BufferView_pimpl.C: ditto
9124         * author.C: ditto
9125         * buffer.h: ditto
9126         * bufferlist.h: ditto
9127         * changes.h: ditto
9128         * lyxfunc.C: ditto
9129
9130 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9131
9132         * converter.[Ch]: split into itself +
9133         * graph.[Ch]
9134         * format.[Ch]
9135         * Makefile.am: += graph.[Ch] + format.[Ch]
9136         * MenuBackend.C
9137         * buffer.C
9138         * exporter.C
9139         * importer.C
9140         * lyx_main.C
9141         * lyxfunc.C
9142         * lyxrc.C: added #include "format.h"
9143
9144 2003-02-27  Angus Leeming  <leeming@lyx.org>
9145
9146         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9147           a label.
9148
9149         * factory.C (createInset): add "label" to the factory.
9150
9151         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9152           string and do no more.
9153
9154 2003-02-27  Angus Leeming  <leeming@lyx.org>
9155
9156         * commandtags.h:
9157         * LyXAction.C (init):
9158         * factory.C (createInset):
9159         * BufferView_pimpl.C (dispatch):
9160           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9161
9162         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9163
9164         * lyxfunc.C (dispatch):
9165         * text3.C (dispatch): pass name to params2string.
9166
9167 2003-02-26  Angus Leeming  <leeming@lyx.org>
9168
9169         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9170           blocks together.
9171           Rearrange the ~includes. Strip out the unnecessary ones.
9172
9173         * factory.C (createInset): reformat.
9174           create new insets for the various LFUN_XYZ_APPLY lfuns.
9175
9176 2003-02-26  John Levon  <levon@movementarian.org>
9177
9178         * lyxrow.h:
9179         * lyxrow.C: add isParStart,isParEnd helpers
9180
9181         * paragraph.h: make isInserted/DeletedText take refs
9182
9183         * paragraph_funcs.h:
9184         * paragraph_funcs.C: remove #if 0'd code
9185
9186         * lyxtext.h:
9187         * text3.C:
9188         * text2.C:
9189         * text.C: use lyxrow helpers above.
9190           Move draw and paint routines to RowPainter.
9191           Make several methods use refs not pointers.
9192           Make backgroundColor() const.
9193           Add markChangeInDraw(), isInInset().
9194           Merge changeRegionCase into changeCase.
9195           Make workWidth() shouldn't-happen code into an Assert.
9196
9197         * rowpainter.h:
9198         * rowpainter.C: new class for painting a row.
9199
9200         * vspace.h:
9201         * vspace.C: make inPixels take a ref
9202
9203 2003-02-26  Angus Leeming  <leeming@lyx.org>
9204
9205         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9206         LFUN_REF_APPLY.
9207
9208 2003-02-25  John Levon  <levon@movementarian.org>
9209
9210         * ispell.C: give the forked command a more accurate name
9211
9212 2003-02-22  John Levon  <levon@movementarian.org>
9213
9214         * toc.h:
9215         * toc.C: make TocItem store an id not a Paragraph *
9216           (bug #913)
9217
9218 2003-02-21  Angus Leeming  <leeming@lyx.org>
9219
9220         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9221           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9222           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9223           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9224           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9225           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9226
9227         * BufferView_pimpl.C (dispatch):
9228         * LyXAction.C (init):
9229         * factory.C (createInset):
9230         * lyxfunc.C (getStatus, dispatch):
9231         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9232
9233 2003-02-21  Angus Leeming  <leeming@lyx.org>
9234
9235         * BufferView_pimpl.C (MenuInsertLyXFile):
9236         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9237         * lyxfunc.C (menuNew, open, doImport):
9238           no longer pass a LyXView & to fileDlg.
9239
9240 2003-02-21  Angus Leeming  <leeming@lyx.org>
9241
9242         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9243         * LyXAction.C: change, BIBKEY to BIBITEM.
9244         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9245         Change InsetBibKey to InsetBibitem.
9246         Change BIBKEY_CODE to BIBITEM_CODE.
9247         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9248         * factory.C: replace insetbib.h with insetbibitem.h.
9249         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9250         * paragraph.C: replace insetbib.h with insetbibitem.h.
9251         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9252         Change bibkey() to bibitem().
9253         * text.C: remove insetbib.h.
9254         * text2.C: replace insetbib.h with insetbibitem.h.
9255         change bibkey() to bibitem().
9256         * text3.C: remove insetbib.h.
9257         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9258
9259 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9260
9261         * lyxrc.C (output): enclose user email in quotes (in case there are
9262         several words)
9263
9264 2003-02-18  John Levon  <levon@movementarian.org>
9265
9266         * buffer.h: add std::
9267
9268 2003-02-17  John Levon  <levon@movementarian.org>
9269
9270         * SpellBase.h:
9271         * ispell.h:
9272         * ispell.C:
9273         * pspell.h:
9274         * pspell.C: reworking. Especially in ispell, a large
9275           number of clean ups and bug fixes.
9276
9277         * lyxfunc.C: fix revert to behave sensibly
9278
9279 2003-02-17 André Pönitz <poenitz@gmx.net>
9280
9281         * LyXAction.C:
9282         * commandtags.h: new LFUN_INSERT_BIBKEY
9283
9284         * layout.h:
9285         * lyxlayout.C:
9286         * buffer.C:
9287         * factory.C:
9288         * text.C:
9289         * text2.C:
9290         * text3.C:
9291         * paragraph.[Ch]:
9292         * paragraph_func.C: remove special bibkey handling
9293
9294 2003-02-17  John Levon  <levon@movementarian.org>
9295
9296         * text.C (Delete): fix case where delete at the end of
9297           the very first paragraph would not merge the pars
9298
9299 2003-02-17  John Levon  <levon@movementarian.org>
9300
9301         * lyxrow.C: fix lastPrintablePos()
9302
9303 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9304
9305         * bufferparams.C (writeLaTeX): add a std:here
9306
9307         * buffer.C: and remove a using directive there
9308
9309 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9310
9311         * buffer.C (makeLaTeXFile): move the code that generates the
9312           preamble...
9313
9314         * bufferparams.C (writeLaTeX): ... in this new method
9315
9316         * LaTeXFeatures.C (getEncodingSet): make const
9317           (getLanguages): make const
9318
9319         * MenuBackend.C (binding): returns the binding associated to this
9320           action
9321           (add): sets the status of each item by calling getStatus. Adds
9322           some intelligence.
9323           (read): add support for OptSubMenu
9324           (expand): remove extra separator at the end of expanded menu
9325
9326 2003-02-15  John Levon  <levon@movementarian.org>
9327
9328         * BufferView.C:
9329         * BufferView_pimpl.C:
9330         * bufferlist.h:
9331         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9332           inset code that had no actual effect. Remove unneeded status
9333           code.
9334
9335 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9336
9337         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9338           in preamble
9339
9340 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9341
9342         * text.C (drawLengthMarker): also draw an arrow marker for
9343           symbolic lengths (medskip...)
9344
9345 2003-02-14  John Levon  <levon@movementarian.org>
9346
9347         * tabular.h:
9348         * tabular.C: better method names
9349
9350 2003-02-14  John Levon  <levon@movementarian.org>
9351
9352         * BufferView_pimpl.C:
9353         * bufferlist.C:
9354         * buffer.C:
9355         * converter.C:
9356         * lyx_cb.C:
9357         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9358           it's a more accurate name. Remove some pointless uses.
9359
9360 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9361
9362         * text2.C (LyXText): change order of initilizers to shut off
9363           warnings
9364
9365 2003-02-14  John Levon  <levon@movementarian.org>
9366
9367         * buffer.C: use ParIterator for getParFromID()
9368
9369         * paragraph.h:
9370         * paragraph.C:
9371         * paragraph_pimpl.h:
9372         * paragraph_pimpl.C: remove unused getParFromID()
9373
9374 2003-02-14  John Levon  <levon@movementarian.org>
9375
9376         * buffer.C: remove some very old #if 0'd parse code
9377
9378 2003-02-13  John Levon  <levon@movementarian.org>
9379
9380         * text.h:
9381         * text.C:
9382         * text2.C: move hfillExpansion(), numberOfSeparators(),
9383           rowLast(), rowLastPrintable(), numberofHfills(),
9384           numberOfLabelHfills() ...
9385
9386         * lyxrow.h:
9387         * lyxrow.C: ... to member functions here.
9388
9389         * paragraph.h:
9390         * paragraph.C:
9391         * lyxtext.h:
9392         * text.C: remove LyXText::beginningOfMainBody(), and call
9393           p->beginningOfMainBody() directly. Move the check for
9394           LABEL_MANUAL into the latter.
9395
9396         * text.h:
9397         * text.C:
9398         * text2.C:
9399         * vspace.C:
9400         * BufferView.h:
9401         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9402
9403         * text.h:
9404         * text.C:
9405         * text2.C:
9406         * text3.C:
9407         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9408           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9409
9410 2003-02-13  John Levon  <levon@movementarian.org>
9411
9412         * CutAndPaste.C: remove debug
9413
9414 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9415
9416         * paragraph.C (asString): remove two unused variables
9417
9418         * lyxtextclass.C (readTitleType):
9419           (Read):
9420           (LyXTextClass): handle new members titletype_ and titlename_
9421
9422         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9423
9424 2003-02-09  John Levon  <levon@movementarian.org>
9425
9426         * buffer.h:
9427         * buffer.C: replace hand-coded list with a map for the dep clean
9428
9429 2003-02-08  John Levon  <levon@movementarian.org>
9430
9431         * LaTeX.C: consolidate code into showRunMessage() helper
9432
9433 2003-02-08  John Levon  <levon@movementarian.org>
9434
9435         * lyxfind.C:
9436         * lyxtext.h:
9437         * text2.C:
9438         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9439           and pass the size in explicitly
9440
9441         * BufferView_pimpl.h:
9442         * BufferView_pimpl.C:
9443         * BufferView.h:
9444         * BufferView.C: add getCurrentChange()
9445
9446         * BufferView_pimpl.h:
9447         * BufferView_pimpl.C: handle change lfuns
9448
9449         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9450           for changes. Mark pasted paragraphs as new.
9451
9452         * support/lyxtime.h:
9453         * support/lyxtime.C:
9454         * DepTable.C: abstract time_t as lyx::time_type
9455
9456         * LColor.h:
9457         * LColor.C: add colours for new text, deleted text, changebars
9458
9459         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9460           package use "usenames" option.
9461
9462         * commandtags.h:
9463         * lyxfunc.C:
9464         * LyXAction.C: add change lfuns
9465
9466         * Makefile.am:
9467         * author.h:
9468         * author.C: author handling
9469
9470         * buffer.h:
9471         * buffer.C: add a per-buffer author list, with first entry as
9472           current author. Handle new .lyx tokens for change tracking. Output
9473           author list to .lyx file. Output dvipost stuff to .tex preamble.
9474           Bump lyx format to 222.
9475
9476         * bufferlist.h:
9477         * bufferlist.C: add setCurrentAuthor() to reset current author details
9478           in all buffers.
9479
9480         * bufferparams.h:
9481         * bufferparams.C: add param for tracking
9482
9483         * bufferview_funcs.C: output change info in minibuffer
9484
9485         * Makefile.am:
9486         * changes.h:
9487         * changes.C: add change-tracking structure
9488
9489         * debug.h:
9490         * debug.C: add CHANGES debug flag
9491
9492         * lyxfind.h:
9493         * lyxfind.C: add code for finding the next change piece
9494
9495         * lyxrc.h:
9496         * lyxrc.C: add user_name and user_email
9497
9498         * lyxrow.h:
9499         * lyxrow.C: add a metric for the top of the text line
9500
9501         * lyxtext.h:
9502         * text.C: implement accept/rejectChange()
9503
9504         * lyxtext.h:
9505         * text.C: paint changebars. Paint new/deleted text in the chosen
9506         colours. Strike through deleted text.
9507
9508         * paragraph.h:
9509         * paragraph.C:
9510         * paragraph_pimpl.h:
9511         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9512           in the current change to the insert functions. Rework erase to
9513           mark text as deleted, adding an eraseIntern() and a range-based
9514           erase(). Implement per-paragraph change lookup and
9515           accept/reject.
9516
9517         * paragraph_funcs.C: Fixup paste for change tracking.
9518
9519         * tabular.C: mark added row/columns as new.
9520
9521         * text.C: fix rowLast() to never return -1. Don't allow
9522           spellchecking of deleted text. Track transpose changes. Don't
9523           allow paragraph break or merge where appropriate.
9524
9525         * text2.C: leave cursor at end of selection after a cut.
9526
9527 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9528
9529         * text.C (getLengthMarkerHeight):
9530         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9531         visible on screen too.
9532
9533 2003-02-07  John Levon  <levon@movementarian.org>
9534
9535         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9536
9537 2003-02-05  Angus Leeming  <leeming@lyx.org>
9538
9539         * lyxserver.C (read_ready): revert my patch of 11 September last year
9540         as it sends PC cpu through the roof. Presumably this means that
9541         the lyxserver will no longer run on an Alpha...
9542
9543 2003-01-30  Angus Leeming  <leeming@lyx.org>
9544
9545         * factory.C (createInset): create an InsetCommandParam of type "index"
9546         and use it to 'do the right thing'.
9547
9548         * text2.C (getStringToIndex): ensure that cursor position is always
9549         reset to the reset_cursor position.
9550
9551 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9552
9553         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9554         disabled.
9555
9556 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9557
9558         * bufferview.C:
9559         * lyxcb.C:
9560         * lyxfunc.C: Output messages with identical spelling, punctuation,
9561         and spaces
9562
9563 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9564
9565         * MenuBackend.C (expandFormats): List only viewable export formats
9566         in "View" menu
9567
9568         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9569         message
9570
9571         * lyxfunc.C (getStatus): Make sure that formats other than
9572         "fax" can also be disabled
9573
9574 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9575
9576         * text3.C (dispatch): put the lfuns that insert insets in 3
9577         groups, and call doInsertInset with appropriate arguments.
9578         (doInsertInset): new function, that creates an inset and inserts
9579         it according to some boolean parameters.
9580
9581 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9582
9583         * buffer.C (readFile): remember to pass on 'par' when calling
9584         readFile recursively.
9585
9586 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9587
9588         * MenuBackend.C (expandFormats): add "..." to import formats.
9589
9590 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9591
9592         * paragraph.C (asString): Remove XForms RTL hacks.
9593
9594 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9595         * buffer.C: fix typo
9596
9597 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9598
9599         * Makefile.am (LIBS): delete var
9600         (lyx_LDADD): add @LIBS@ here instead.
9601
9602 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9603
9604         * Clarify the meaning of "wheel mouse jump"
9605
9606 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9607
9608         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9609         tabular in a float
9610
9611 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9612
9613         * importer.C (Loaders): do not preallocate 3 elements in the
9614         vector, since one ends up with 6 elements otherwise
9615
9616 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9617
9618         * DepTable.C (write): write the file name as last element of the
9619         .dep file (because it may contain spaces)
9620         (read): read info in the right order
9621
9622 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9623
9624         * paragraph_pimpl.C (simpleTeXBlanks):
9625         (simpleTeXSpecialChars):
9626         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9627
9628         * tabular.C (latex): add some missing case statements. Reindent.
9629
9630         * MenuBackend.C (expandToc): remove unused variable.
9631
9632 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9633
9634         * LColor.C:
9635         * LaTeX.C:
9636         * LyXAction.C:
9637         * MenuBackend.C:
9638         * buffer.C:
9639         * exporter.C:
9640         * lyxfunc.C:
9641         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9642         and the like.
9643
9644 2003-01-05  John Levon  <levon@movementarian.org>
9645
9646         * BufferView.h:
9647         * BufferView.C: add getEncoding()
9648
9649         * kbsequence.h:
9650         * kbsequence.C: do not store last keypress
9651
9652         * lyxfunc.h:
9653         * lyxfunc.C: store last keypress here instead. Pass encoding
9654           to getISOEncoded()
9655
9656 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9657
9658         * lyx_main.C (init): remove annoying error message when following
9659         symbolic links (bug #780)
9660
9661 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9662
9663         * text.C (insertChar):
9664         * lyxrc.C (getDescription): remove extra spaces
9665
9666 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9667
9668         * lyxrc.C (getDescription): remove extra spaces
9669
9670 2002-12-20  John Levon  <levon@movementarian.org>
9671
9672         * text3.C: hack fix for page up/down across tall rows
9673
9674 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9675
9676         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9677         not been invoked
9678
9679 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9680
9681         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9682         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9683         thesaurus is not compiled in
9684
9685 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9686
9687         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9688
9689 2002-12-16  Angus Leeming  <leeming@lyx.org>
9690
9691         * lyxrc.[Ch]:
9692         * lyx_main.C (init): remove override_x_deadkeys stuff.
9693
9694 2002-12-12  John Levon  <levon@movementarian.org>
9695
9696         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9697           insert. Only remove shift modifier under strict
9698           circumstances.
9699
9700 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9701
9702         * MenuBackend.C (expandToc): fix crash.
9703
9704 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9705
9706         * MenuBackend.C (expandToc): gettext on float names.
9707
9708 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9709
9710         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9711         implement bool empty() [bug 490]
9712
9713 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9714
9715         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9716
9717 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9718
9719         * several files: ws changes
9720
9721 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9722
9723         * text2.C (setCounter): clean up a bit, use boost.format.
9724         (updateCounters): initialize par upon declaration.
9725
9726         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9727         if the layout exists. We do not just store the layout any more.
9728         (SwitchLayoutsBetweenClasses): use boost.format
9729
9730 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9731
9732         * converter.C (convert): if from and to files are the same, use a
9733         temporary files as intermediary
9734
9735 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9736
9737         * commandtags.h:
9738         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9739
9740 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9741
9742         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9743
9744 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9745
9746         * tabular.C (asciiPrintCell): use string(size, char) instead of
9747         explicit loop.
9748
9749         * sgml.C (openTag): fix order of arguments to string constructor
9750         (closeTag): ditto
9751
9752         * lyxfunc.C (dispatch): use boost.format
9753
9754         * lots of files: change "c" -> 'c'
9755
9756 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9757
9758         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9759
9760 2002-11-25  Angus Leeming  <leeming@lyx.org>
9761
9762         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9763
9764         * lyx_main.C (init): compile fix.
9765
9766 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9767
9768         * lyx_cb.C (start): boost.formatify
9769         do not include <iostream>
9770
9771         * lengthcommon.C: ws only
9772
9773         * boost-inst.C,BoostFormat.h: add more explict instantations
9774
9775 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9776
9777         * lots of files: handle USE_BOOST_FORMAT
9778
9779 2002-11-21  John Levon  <levon@movementarian.org>
9780
9781         * pspell.C: fix compile
9782
9783 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9784
9785         * lyxfunc.C (dispatch): use boost::format
9786         (open): ditto
9787         (doImport): ditto
9788
9789         * lyxfont.C (stateText): use boost::format
9790
9791         * lyx_main.C (LyX): use boost::format
9792         (init): ditto
9793         (queryUserLyXDir): ditto
9794         (readRcFile): ditto
9795         (parse_dbg): ditto
9796         (typedef boost::function): use the recommened syntax.
9797
9798         * importer.C (Import): use boost::format
9799
9800         * debug.C (showLevel): use boost::format
9801
9802         * converter.C (view): use boost::format
9803         (convert): ditto
9804         (move): ditto
9805         (scanLog): ditto
9806
9807         * bufferview_funcs.C (currentState): use boost::format
9808
9809         * bufferlist.C (emergencyWrite): use boost::format
9810
9811         * buffer.C (readLyXformat2): use boost::format
9812         (parseSingleLyXformat2Token): ditto
9813
9814         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9815
9816         * LaTeX.C (run): use boost::format
9817
9818         * Chktex.C (scanLogFile): use boost::format
9819
9820         * BufferView_pimpl.C (savePosition): use boost::format
9821         (restorePosition): ditto
9822         (MenuInsertLyXFile): ditto
9823
9824         * BoostFormat.h: help file for explicit instation.
9825
9826 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9827
9828         * tabular.C (latex): Support for block alignment in fixed width
9829         columns.
9830
9831 2002-11-17  John Levon  <levon@movementarian.org>
9832
9833         * BufferView_pimpl.C:
9834         * lyx_cb.C:
9835         * lyxfunc.C: split filedialog into open/save
9836
9837 2002-11-08  Juergen Vigna  <jug@sad.it>
9838
9839         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9840         by my last patch (hopefully).
9841
9842 2002-11-08  John Levon  <levon@movementarian.org>
9843
9844         * iterators.h:
9845         * iterators.C:
9846         * buffer.h:
9847         * buffer.C:
9848         * paragraph.h:
9849         * paragraph.C:
9850         * toc.h:
9851         * toc.C: ParConstIterator, and use it (from Lars)
9852
9853 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9854
9855         * lyxtextclass.[Ch]: revise and add doxygen comments
9856
9857 2002-11-07  John Levon  <levon@movementarian.org>
9858
9859         * text.C: fix progress value for spellchecker
9860
9861         * toc.C: fix navigate menu for insetwrap inside minipage
9862
9863         * paragraph_funcs.C: added FIXME for suspect code
9864
9865 2002-11-07  John Levon  <levon@movementarian.org>
9866
9867         * BufferView_pimpl.C: fix redrawing of insets
9868           on buffer switch
9869
9870 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9871
9872         * text2.C (updateCounters): fix bug 668
9873
9874 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9875
9876         * text3.C (dispatch): Do not make the buffer dirty when moving the
9877         cursor.
9878
9879 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9880
9881         * vc-backend.C: STRCONV
9882         (scanMaster): ditto
9883
9884         * text2.C (setCounter): STRCONV
9885
9886         * paragraph.C (asString): STRCONV
9887
9888         * lyxlength.C (asString): STRCONV
9889         (asLatexString): ditto
9890
9891         * lyxgluelength.C (asString): STRCONV
9892         (asLatexString): ditto
9893
9894         * lyxfunc.C (dispatch): STRCONV
9895         (open): ditto
9896
9897         * lyxfont.C (stateText): STRCONV
9898
9899         * importer.C (Import): STRCONV
9900
9901         * counters.C (labelItem): STRCONV
9902         (numberLabel): ditto
9903         (numberLabel): remove unused ostringstream o
9904
9905         * chset.C: STRCONV
9906         (loadFile): ditto
9907
9908         * bufferview_funcs.C (currentState): STRCONV
9909
9910         * buffer.C (readFile): STRCONV
9911         (asciiParagraph): ditto
9912         (makeLaTeXFile): ditto
9913
9914         * Spacing.C (writeEnvirBegin): STRCONV
9915
9916         * LaTeXFeatures.C (getLanguages): STRCONV
9917         (getPackages): ditto
9918         (getMacros): ditto
9919         (getBabelOptions): ditto
9920         (getTClassPreamble): ditto
9921         (getLyXSGMLEntities): ditto
9922         (getIncludedFiles): ditto
9923
9924         * LaTeX.C: STRCONV
9925         (run): ditto
9926         (scanAuxFile): ditto
9927         (deplog): ditto
9928
9929         * LString.h: add the STRCONV macros
9930
9931         * BufferView_pimpl.C (savePosition): STRCONV
9932         (restorePosition): ditto
9933         (MenuInsertLyXFile): ditto
9934
9935         * vc-backend.C (scanMaster): change from submatch[...] to
9936         submatch.str(...)
9937
9938         * funcrequest.C: include config.h
9939
9940         * factory.C: include config.h
9941
9942         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9943
9944         * box.C: include config.h
9945
9946         * LaTeX.C (scanAuxFile): change from submatch[...] to
9947         submatch.str(...)
9948         (deplog): ditto
9949
9950 2002-10-25  Angus Leeming  <leeming@lyx.org>
9951
9952         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9953
9954         * ispell.[Ch] (setError): new method.
9955         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9956         Use setError() insetead of goto END.
9957
9958         * lyx_cb.C (AutoSave): move out child process into new class
9959         AutoSaveBuffer.
9960
9961 2002-10-30  John Levon  <levon@movementarian.org>
9962
9963         * text3.C: make start appendix undoable
9964
9965 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9966
9967         * lyxlength.C (inPixels): Fix returned value.
9968
9969         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9970         environment.
9971
9972 2002-10-24  Angus Leeming  <leeming@lyx.org>
9973
9974         * lyxgluelength.h: no need to forward declare BufferParams
9975         or BufferView, so don't.
9976
9977 2002-10-21  John Levon  <levon@movementarian.org>
9978
9979         * BufferView.C: menuUndo ->undo, redo
9980
9981         * BufferView.h: document, remove dead, make some methods private
9982
9983         * paragraph_funcs.h:
9984         * paragraph_funcs.C:
9985         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9986
9987         * buffer.h:
9988         * buffer.C:
9989         * sgml.h:
9990         * sgml.C: move sgml open/close tag into sgml.C
9991
9992         * bufferview_funcs.h: unused prototype
9993
9994         * lyxfunc.h:
9995         * lyxfunc.C: remove unused
9996
9997         * lyxtext.h:
9998         * text.C: remove unused
9999
10000 2002-10-21  John Levon  <levon@movementarian.org>
10001
10002         * BufferView.h:
10003         * BufferView.C:
10004         * BufferView_pimpl.h:
10005         * BufferView_pimpl.C: fix mouse wheel handling based on
10006           patch from Darren Freeman
10007
10008 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10009
10010         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10011
10012 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10013
10014         * lyxlength.C (inPixels): Fix hanfling of negative length.
10015         Fix LyXLength::MU case.
10016
10017 2002-10-16  John Levon  <levon@movementarian.org>
10018
10019         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10020
10021 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10022
10023         * converter.C (view): add support for $$i (file name) and $$p
10024         (file path) for the viewer command. If $$i is not specified, then
10025         it is appended to the command (for compatibility with old syntax)
10026
10027 2002-10-14  Juergen Vigna  <jug@sad.it>
10028
10029         * undo_funcs.C (textHandleUndo): alter the order in which the
10030         new undopar is added to the LyXText, as we have to set first
10031         the right prev/next and then add it as otherwise the rebuild of
10032         LyXText is not correct. Also reset the cursor to the right paragraph,
10033         with this IMO we could remove the hack in "redoParagraphs()".
10034
10035 2002-10-09  Angus Leeming  <leeming@lyx.org>
10036
10037         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10038         to turn off an optimisation if a new inset is to be inserted.
10039
10040 2002-10-11 André Pönitz <poenitz@gmx.net>
10041
10042         * lyxtext.h: make some functions public to allow access
10043         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10044
10045 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10046
10047         * text3.C (dispatch): when changing layout, avoid an infinite loop
10048         [bug #652]
10049
10050 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10051
10052         * lyxrc.C (read): treat a viewer or converter command of "none" as
10053         if it were empty.
10054
10055         * MenuBackend.C (expandFormats): for an update, also allow the
10056         formats that are not viewable
10057
10058         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10059         script if it is newer than the lyxrc.defaults in user directory
10060
10061 2002-10-07 André Pönitz <poenitz@gmx.net>
10062
10063         * text.C: Vitaly Lipatov's small i18n fix
10064
10065 2002-09-25  Angus Leeming  <leeming@lyx.org>
10066
10067         * ispell.h: doxygen fix.
10068
10069 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10070
10071         * buffer.h (readFile): Add a new argument to the method, to allow
10072         reading of old-format templates.
10073
10074 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10075
10076         * toc.C (getTocList): Get TOC from InsetWrap.
10077
10078 2002-09-16  John Levon  <levon@movementarian.org>
10079
10080         * lyxfunc.C: check tabular for cut/copy too
10081
10082 2002-09-12  John Levon  <levon@movementarian.org>
10083
10084         * LyXAction.C: tidy
10085
10086         * factory.h:
10087         * factory.C: add header
10088
10089         * paragraph_funcs.h:
10090         * paragraph_funcs.C: cleanup
10091
10092 2002-09-11  John Levon  <levon@movementarian.org>
10093
10094         * PrinterParams.h: odd/even default to true
10095
10096 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10097
10098         * PrinterParams.h: update printer parameters for new xforms dialog
10099
10100 2002-09-11  Angus Leeming  <leeming@lyx.org>
10101
10102         * lyxserver.C (read_ready): re-write to make it more transparent
10103         and to make it work in coherent fashion under Tru64 Unix.
10104
10105 2002-09-11  André Pönitz <poenitz@gmx.net>
10106
10107         * commandtags.h:
10108         * LyXAction.C:
10109         * text3.C: implement LFUN_WORDSEL
10110
10111 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10112
10113         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10114         make floatlist_ a boost::shared_ptr<FloatList>
10115
10116         * lyxtextclass.C: include FloatList.h
10117         (LyXTextClass): initialize floatlist_
10118         (TextClassTags): add TC_NOFLOAT
10119         (Read): match "nofloat" to TC_NOFLOAT and use it.
10120         (readFloat): modify call to floatlist_
10121         (floats): ditto
10122         (floats): ditto
10123
10124         * FloatList.[Ch] (FloatList): remove commented out float
10125         initialization.
10126         (erase): new function
10127
10128 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10129
10130         * MenuBackend.C (expandToc): fix crash when there is no document
10131         open
10132
10133 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10134
10135         * many files: Add insetwrap.
10136
10137 2002-09-09  John Levon  <levon@movementarian.org>
10138
10139         * text2.C: remove confusing and awkward depth wraparound
10140
10141 2002-09-09  John Levon  <levon@movementarian.org>
10142
10143         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10144
10145         * buffer.h:
10146         * buffer.C: remove getIncludeonlyList()
10147
10148         * paragraph.C:
10149         * lyxfunc.C: remove headers
10150
10151 2002-09-09  Juergen Vigna  <jug@sad.it>
10152
10153         * text.C (getColumnNearX): fix form Michael this is most
10154         probably a cut&paste bug.
10155
10156 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10157
10158         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10159
10160         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10161         references, ws changes.
10162
10163         * text2.C (init): update counters after init
10164         (insertParagraph): no need to set counter on idividual paragraphs.
10165         (setCounter): access the counters object in the textclass object
10166         on in the buffer object.
10167         (updateCounters): ditto
10168
10169         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10170         shared_ptr<Counters> to avoid loading counters.h in all
10171         compilation units.
10172         (LyXTextClass): initialize ctrs_
10173         (TextClassTags): add TC_COUNTER, and ...
10174         (Read): use it here.
10175         (CounterTags): new tags
10176         (readCounter): new function
10177         (counters): new funtion
10178         (defaultLayoutName): return a const reference
10179
10180         * counters.C (Counters): remove contructor
10181         (newCounter): remove a couple of unneeded statements.
10182         (newCounter): simplify a bit.
10183         (numberLabel): some small formatting changes.
10184
10185         * buffer.[Ch]: remove all traces of counters, move the Counters
10186         object to the LyXTextClass.
10187
10188 2002-09-06  Alain Castera  <castera@in2p3.fr>
10189
10190         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10191         package to set the horizontal alignment on fixed width columns.
10192
10193         * lyx_sty.C:
10194         * lyx_sty.h: added tabularnewline macro def.
10195
10196         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10197
10198 2002-09-06  John Levon  <levon@movementarian.org>
10199
10200         * LyXAction.C: tooltips for sub/superscript
10201
10202         * MenuBackend.C: a bit more verbose
10203
10204         * lyxfunc.C: tiny clean
10205
10206         * undo_funcs.C: document undo_frozen
10207
10208 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10209
10210         * counters.C (Counters): add missing algorithm counter.
10211
10212         * text2.C (setCounter): lookup the counter with layouts latexname
10213         instead of by section number.
10214         (setCounter): use a hackish way to lookup the correct enum
10215         counter.
10216         a float name->type change
10217         reset enum couners with counter name directly instead of depth value.
10218
10219         * counters.C (Counters): remove the push_backs, change to use the
10220         float type not the float name.
10221         (labelItem): remove unused string, float name->type change
10222
10223         * counters.h: don't include vector, loose the enums and sects vectors
10224
10225 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10226
10227         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10228         (Read): add float->TC_FLOAT to textclassTags
10229         (Read): and handle it in the switch
10230         (readFloat): new function
10231
10232         * FloatList.C (FloatList): comment out the hardcoded float
10233         definitions.
10234
10235         * lyxlayout.h: ws change.
10236
10237 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10238
10239         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10240
10241 2002-09-03  Angus Leeming  <leeming@lyx.org>
10242
10243         * BufferView_pimpl.h: qualified name is not allowed in member
10244         declaration: WorkArea & Pimpl::workarea() const;
10245
10246         * factory.C: added using std::endl directive.
10247
10248         * text3.C: added using std::find and std::vector directives.
10249
10250 2002-08-29  André Pönitz <poenitz@gmx.net>
10251
10252         * lyxtext.h:
10253         * text2.C: remove unused member number_of_rows
10254
10255         * Makefile.am:
10256         * BufferView2.C: remove file, move contents to...
10257         * BufferView.C: ... here
10258
10259         * BufferView_pimpl.C:
10260         * factory.C: move more inset creation to factory
10261
10262         * vspace.C: avoid direct usage of LyXText, ws changes
10263
10264         * BufferView.[Ch]:
10265                 don't provide direct access to WorkArea, use two simple
10266                 acessors haveSelction() and workHeight() instead
10267
10268
10269 2002-08-29  John Levon  <levon@movementarian.org>
10270
10271         * BufferView_pimpl.C (dispatch): do not continue when
10272           no buffer
10273
10274 2002-08-28  André Pönitz <poenitz@gmx.net>
10275
10276         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10277
10278         * BufferView.h:
10279         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10280
10281 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10282
10283         * buffer.C: increment LYX_FORMAT to 221
10284
10285         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10286         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10287
10288         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10289
10290         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10291
10292 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10293
10294         * factory.C (createInset): use LyXTextClass::floats
10295
10296         * MenuBackend.C (expandFloatListInsert):
10297         (expandFloatInsert):
10298         (expandToc):
10299
10300         * text2.C (setCounter):
10301
10302         * LaTeXFeatures.C (useFloat):
10303         (getFloatDefinitions):
10304
10305         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10306
10307         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10308         floatlist_, with accessor floats().
10309
10310         * FloatList.h: remove global FloatList
10311
10312 2002-08-26  André Pönitz <poenitz@gmx.net>
10313
10314         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10315
10316         * BufferView.h:
10317         * BufferView2.C:
10318         * BufferView_pimpl.C:
10319         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10320
10321 2002-08-25  John Levon  <levon@movementarian.org>
10322
10323         * LyXAction.C: fix margin note description
10324
10325 2002-08-24  John Levon  <levon@movementarian.org>
10326
10327         * buffer.C:
10328         * bufferlist.C:
10329         * bufferview_funcs.C:
10330         * lyxfont.C:
10331         * undo_funcs.C: cleanups
10332
10333         * lyxfunc.C: disable CUT/COPY when no selection
10334
10335 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10336
10337         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10338         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10339
10340         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10341         Add backward compatibility to "mono", "gray" and "no".
10342
10343 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10344
10345         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10346         (and file_format >= 200).
10347
10348 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10349
10350         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10351
10352 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10353
10354         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10355
10356 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10357
10358         * BufferView_pimpl.C:
10359         * LyXAction.C:
10360         * buffer.C:
10361         * commandtags.h:
10362         * lyxfunc.C:
10363         * paragraph.[Ch]:
10364         * text2.C:
10365         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10366         inset and code to make it  work with the paragraph code. The inset
10367         can be anywhere in the paragraph, but will only do the expected
10368         thing in LaTeX if the layout file contains the parameter line
10369                         OptionalArgs    1
10370         (or more generally, a nonzero value) for that layout.
10371
10372 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10373
10374         * paragraph.h: remove the declaration of undefined counters class
10375         function.
10376
10377 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10378
10379         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10380         Dr. Richard Hawkins.
10381
10382 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10383
10384         * paragraph_funcs.h: remove some unneeded includes
10385
10386         * text.C (backspace): pasteParagraph now in global scipe
10387
10388         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10389         (pasteSelection): ditto
10390
10391         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10392         * paragraph_funcs.C (pasteParagraph): ... here
10393
10394 2002-08-20  André Pönitz <poenitz@gmx.net>
10395
10396         * commandtags.h: new LFUNs for swapping/copying table row/colums
10397
10398         * LyXAction.C:
10399         * lyxfunc.C: support for new lfuns
10400
10401 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10402
10403         * tabular.C:
10404         * buffer.[Ch]: remove NO_COMPABILITY stuff
10405
10406 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10407
10408         * boost.C (throw_exception): new file, with helper function for
10409         boost compiled without exceptions.
10410
10411         * paragraph.h:
10412         * lyxlength.C:
10413         * buffer.C:
10414         * ParameterStruct.h:
10415         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10416
10417         * bufferlist.C (emergencyWriteAll): use boost bind
10418
10419         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10420
10421         * text.C: include paragraph_funcs.h
10422         (breakParagraph): breakParagraph is now in global scope
10423
10424         * paragraph_funcs.[Ch]: new files
10425
10426         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10427         global scope
10428
10429         * buffer.C: include paragraph_funcs.h
10430         (insertStringAsLines): breakParagraph is now in global scope
10431
10432         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10433         paragraph_funcs.C
10434
10435         * CutAndPaste.C: include paragraph_funcs.h
10436         (cutSelection): breakParagraphConservative is now in global scope
10437         (pasteSelection): ditto
10438
10439         * buffer.h: declare oprator== and operator!= for
10440         Buffer::inset_iterator
10441
10442         * bufferlist.C (emergencyWrite): don't use fmt(...)
10443
10444         * text3.C: add using std::endl
10445
10446         * BufferView.C (moveCursorUpdate): remove default arg
10447
10448 2002-08-20  André Pönitz <poenitz@gmx.net>
10449
10450         * buffer.[Ch]: move inline functions to .C
10451
10452         * BufferView2.C:
10453         * BufferView_pimpl.C:
10454         * text.C:
10455         * buffer.[Ch]: use improved inset_iterator
10456
10457         * buffer.C:
10458         * paragraph.[Ch]: write one paragraph at a time
10459
10460 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10461
10462         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10463         style if style is not specified.
10464
10465 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10466
10467         * text2.C (setCounter): when searching for right label for a
10468         caption, make sure to recurse to parent insets (so that a caption
10469         in a minipage in a figure float works) (bug #568)
10470
10471 2002-08-20  André Pönitz <poenitz@gmx.net>
10472
10473         * text3.C: new file for LyXText::dispatch() and helpers
10474
10475         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10476
10477         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10478
10479 2002-08-19  André Pönitz <poenitz@gmx.net>
10480
10481         * lyxtext.h:
10482         * text.C: new LyXText::dispatch()
10483
10484         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10485
10486 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10487
10488         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10489
10490         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10491         Hebrew text.
10492
10493 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10494
10495         * Makefile.am: use $(variables) instead of @substitutions@
10496
10497 2002-08-15  André Pönitz <poenitz@gmx.net>
10498
10499         * lyxfunc.C:
10500         * BufferView_pimpl.C: streamlining mathed <-> outer world
10501         interaction
10502
10503         * commandtags.h:
10504         * LyXAction.C: remove unused LFUN_MATH
10505
10506 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10507
10508         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10509
10510 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10511
10512         * paragraph.C (Paragraph): reformat a bit
10513         (cutIntoMinibuffer): use builtin InsetList function instad of
10514         doing it manually.
10515         (getInset): ditto
10516
10517         * buffer.C: include boost/bind.hpp, add using std::for_each
10518         (writeFileAscii): use ParagraphList iterators
10519         (validate): use for_each for validate traversal of paragraphs
10520         (getBibkeyList): use ParagraphList iterators
10521         (resizeInsets): use for_each to resizeInsetsLyXText for all
10522         paragraphs.
10523         (getParFromID): use ParagraphList iterators
10524
10525         * BufferView2.C (lockInset): use paragraph list and iterators
10526
10527 2002-08-14  John Levon  <levon@movementarian.org>
10528
10529         * lyxserver.C: remove spurious xforms include
10530
10531 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10532
10533         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10534
10535 2002-08-13  André Pönitz <poenitz@gmx.net>
10536
10537         * LyXAction.[Ch]:
10538         * lyxfunc.C: further cleaning
10539
10540 2002-08-13  André Pönitz <poenitz@gmx.net>
10541
10542         * funcrequest.h: new constructor
10543
10544         * funcrequest.C: move stuff here from .h
10545
10546         * Makefile.am:
10547         * BufferView_pimpl.C:
10548         * LyXAction.C:
10549         * toc.C:
10550         * lyxfunc.C: subsequent changes
10551
10552         * lyxfunc.h: new view() member function
10553
10554         * lyxfunc.C: subsequent changes
10555
10556 2002-08-13  Angus Leeming  <leeming@lyx.org>
10557
10558         * BufferView2.C:
10559         * BufferView_pimpl.C:
10560         * buffer.C:
10561         * converter.C:
10562         * importer.C:
10563         * lyxfunc.C:
10564         * lyxvc.C:
10565         * toc.C:
10566         * vc-backend.C:
10567         changes due to the changed LyXView interface that now returns references
10568         to member variables not pointers.
10569
10570 2002-08-13  Angus Leeming  <leeming@lyx.org>
10571
10572         * WordLangTuple (word, lang_code): return references to strings,
10573         not strings.
10574
10575         * BufferView.h:
10576         * SpellBase.h:
10577         * lyxtext.h: forward-declare WordLangTuple.
10578
10579         * BufferView2.C:
10580         * ispell.C:
10581         * pspell.C:
10582         * text.C: #include "WordLangTuple.h".
10583
10584         * lyxtext.h:
10585         * text.C: (selectNextWordToSpellcheck): constify return type.
10586
10587 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10588
10589         * buffer.C:
10590         * buffer.h:
10591         * lyxtext.h:
10592         * paragraph.C:
10593         * paragraph_pimpl.h:
10594         * text.C:
10595         * text2.C:
10596         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10597         suggested by Angus.
10598         Made updateCounter always count from start of buffer, and removed
10599         second argument (par).
10600         Reverted floats number display to '#'. Perhaps I'll try again when the
10601         code base is sanitized a bit.
10602
10603 2002-08-12  Angus Leeming  <leeming@lyx.org>
10604
10605         * buffer.[Ch] (getLabelList): constify.
10606
10607 2002-08-07  André Pönitz <poenitz@gmx.net>
10608
10609         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10610
10611         * funcrequest.h: extension to keep mouse (x,y) position
10612
10613 2002-08-12  Juergen Vigna  <jug@sad.it>
10614
10615         * BufferView2.C (insertErrors): forbid undo when inserting error
10616         insets.
10617
10618         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10619
10620 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10621
10622         * ParagraphList.[Ch]: new files
10623
10624         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10625
10626         * BufferView2.C (lockInset): ParagraphList changes
10627         * toc.C: ditto
10628         * text2.C: ditto
10629         * bufferlist.C: ditto
10630         * buffer.h: ditto
10631         * buffer.C: ditto
10632
10633 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10634
10635         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10636         unused class variable counter_,
10637
10638         * paragraph.[Ch] (getFirstCounter): delete unused function
10639
10640         * counters.C: include LAssert.h
10641         (reset): add a new function with no arg, change other version to
10642         not have def. arg and to not allow empty arg.
10643
10644         * text2.C (setCounter): remove empty arg from call to Counters::reset
10645
10646 2002-08-11  John Levon  <levon@movementarian.org>
10647
10648         * Makefile.am: add WordLangTuple.h
10649
10650 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10651
10652         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10653         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10654
10655         * insets/insettext.C: InsetList changes
10656
10657         * graphics/GraphicsSupport.C (operator()): InsetList changes
10658
10659         * toc.C (getTocList): InsetList changes
10660
10661         * paragraph_pimpl.[Ch]: InsetList changes
10662
10663         * paragraph.[Ch]: InsetList changes
10664
10665         * buffer.C (inset_iterator): InsetList changes
10666         (setParagraph): ditto
10667         * buffer.h (inset_iterator): ditto
10668         * iterators.C (operator++): ditto
10669         * iterators.h: ditto
10670
10671         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10672
10673         * InsetList.[Ch]: new files, most InsetList handling moved out of
10674         paragraph.C.
10675
10676         * BufferView2.C (removeAutoInsets): InsetList changes
10677         (lockInset): ditto
10678         (ChangeInsets): ditto
10679
10680 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10681
10682         * paragraph_pimpl.h (empty): new function
10683
10684         * paragraph.[Ch] (empty): new function
10685
10686         * other files: use the new Paragraph::empty function
10687
10688 2002-08-09  John Levon  <levon@movementarian.org>
10689
10690         * lyxtext.h: remove unused refresh_height
10691
10692 2002-08-09  John Levon  <levon@movementarian.org>
10693
10694         * Makefile.am:
10695         * sgml.h:
10696         * sgml.C:
10697         * buffer.C:
10698         * paragraph.h:
10699         * paragraph.C: move sgml char escaping out of paragraph
10700
10701         * paragraph.h:
10702         * paragraph.C: remove id setter
10703
10704         * buffer.C:
10705         * paragraph.C:
10706         * paragraph_pimpl.C: remove dead tex_code_break_column
10707
10708         * bufferview_funcs.C: small cleanup
10709
10710         * lyxfunc.C: remove dead proto
10711
10712         * lyxtext.h: make some stuff private. Remove some dead stuff.
10713
10714         * lyxgluelength.C: make as[LyX]String() readable
10715
10716 2002-08-08  John Levon  <levon@movementarian.org>
10717
10718         * LyXAction.h:
10719         * LyXAction.C:
10720         * MenuBackend.C:
10721         * ToolbarDefaults.C:
10722         * lyxfunc.C:
10723         * lyxrc.C:
10724         * toc.C: lyxaction cleanup
10725
10726 2002-08-08  John Levon  <levon@movementarian.org>
10727
10728         * BufferView2.C: small cleanup
10729
10730         * lyxfind.h:
10731         * lyxfind.C: move unnecessary header into the .C
10732
10733 2002-08-08  John Levon  <levon@movementarian.org>
10734
10735         * funcrequest.h: just tedious nonsense
10736
10737         * lyx_main.h:
10738         * lyx_main.C: cleanups
10739
10740         * buffer.C:
10741         * vspace.C: remove dead header lyx_main.h
10742
10743 2002-08-07  Angus Leeming  <leeming@lyx.org>
10744
10745         * Paragraph.[Ch]:
10746         * paragraph_pimpl.h:
10747         Forward declare class Counters in paragraph.h by moving the ctrs member
10748         variable into Paragraph::Pimpl.
10749         (counters): new method, returning a reference to pimpl_->ctrs.
10750
10751         * text2.C: ensuing changes.
10752
10753 2002-08-07  John Levon  <levon@movementarian.org>
10754
10755         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10756
10757         * BufferView_pimpl.C: announce X selection on double/triple
10758           click
10759
10760         * lyx_main.C: use correct bool in batch dispatch
10761
10762         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10763
10764 2002-08-07  André Pönitz <poenitz@gmx.net>
10765
10766         * funcrequest.h: new class to wrap a kb_action and its argument
10767
10768         * BufferView.[Ch]:
10769         * BufferView_pimpl[Ch]:
10770         * LaTeX.C:
10771         * LyXAction.[Ch]:
10772         * lyxfunc.[Ch]:
10773         * lyxrc.C: subsequent changes
10774
10775
10776 2002-08-07  John Levon  <levon@movementarian.org>
10777
10778         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10779           document options change.
10780
10781 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10782
10783         * counters.[Ch]
10784         * text2.C
10785         * paragraph.[Ch]
10786         * makefile.am: move counters functionality over from
10787         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10788
10789 2002-08-06  John Levon  <levon@movementarian.org>
10790
10791         * WordLangTuple.h: new file for word + language code tuple
10792
10793         * SpellBase.h:
10794         * pspell.h:
10795         * pspell.C:
10796         * ispell.h:
10797         * ispell.C:
10798         * lyxtext.h:
10799         * text.C:
10800         * text2.C:
10801         * BufferView.h:
10802         * BufferView2.C: use WordLangTuple
10803
10804         * layout.h:
10805         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10806
10807 2002-08-06  John Levon  <levon@movementarian.org>
10808
10809         * lyx_main.C: fix cmdline batch handling
10810
10811 2002-08-06  André Pönitz <poenitz@gmx.net>
10812
10813         * lyxrc.C: set default for show_banner to true
10814
10815 2002-08-06  John Levon  <levon@movementarian.org>
10816
10817         * pspell.C: fix a crash, and allow new aspell to work
10818
10819 2002-08-06  John Levon  <levon@movementarian.org>
10820
10821         * lyxfunc.C:
10822         * kbmap.C: small cleanup
10823
10824         * vspace.h:
10825         * vspace.C: add const
10826
10827 2002-08-05  John Levon  <levon@movementarian.org>
10828
10829         * LyXAction.C: back to tabular-insert
10830
10831 2002-08-04  John Levon  <levon@movementarian.org>
10832
10833         * BufferView.h:
10834         * BufferView.C: cosmetic change
10835
10836         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10837
10838         * bufferlist.C:
10839         * buffer.h:
10840         * buffer.C:
10841         * lyxcb.h:
10842         * lyxcb.C:
10843         * lyxserver.C:
10844         * lyxvc.C:
10845         * vc-backend.C:
10846         * BufferView2.C: purge all "Lyx" not "LyX" strings
10847
10848         * lyxcursor.h:
10849         * lyxcursor.C: attempt to add some documentation
10850
10851         * lyxfunc.C:
10852         * commandtags.h:
10853         * LyXAction.C:
10854         * ToolbarDefaults.C:
10855         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10856           merge with LFUN_TABULAR_INSERT
10857
10858         * Makefile.am:
10859         * SpellBase.h:
10860         * ispell.h:
10861         * ispell.C:
10862         * pspell.h:
10863         * pspell.C: split up i/pspell implementations into separate
10864           files, many cleanups
10865
10866         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10867
10868         * text2.C: some cleanup
10869
10870         * lyxfunc.C: don't check for isp_command == "none" any more, it
10871           didn't make any sense
10872
10873 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10874
10875         * counters.[Ch]
10876         * text2.C
10877         * paragraph.[Ch]
10878         * makefile.am: move counters functionality over
10879         from text2.C/paragraph.[Ch] to counters.[Ch], and
10880         make proper C++.
10881 2002-08-02  John Levon  <levon@movementarian.org>
10882
10883         * buffer.C: s/lyxconvert/lyx2lyx/
10884
10885 2002-08-02  Angus Leeming  <leeming@lyx.org>
10886
10887         * lyxlex.C: revert John's change as it breaks reading of the user
10888         preamble.
10889
10890 2002-08-02  Angus Leeming  <leeming@lyx.org>
10891
10892         * importer.C (Import):
10893         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10894         changes due to LyXView::view() now returning a boost::shared_ptr.
10895
10896 2002-08-02  John Levon  <levon@movementarian.org>
10897
10898         * lyxlex.C: small cleanup
10899
10900 2002-08-02  John Levon  <levon@movementarian.org>
10901
10902         * text2.C (status): small cleanup, no logic change
10903
10904 2002-08-01  John Levon  <levon@movementarian.org>
10905
10906         * buffer.h:
10907         * buffer.C (writeFile): don't output alerts, caller
10908           handles this
10909
10910         * bufferlist.C:
10911         * lyx_cb.C: from above
10912
10913         * lyxfunc.C: allow to open non-existent files
10914
10915 2002-07-31  John Levon  <levon@movementarian.org>
10916
10917         * lyxserver.C: don't let incidental errors get
10918           in the way (errno)
10919
10920 2002-07-30  John Levon  <levon@movementarian.org>
10921
10922         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10923
10924 2002-07-30  John Levon  <levon@movementarian.org>
10925
10926         * lyxserver.h:
10927         * lyxserver.C: remove I/O callback too
10928
10929 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10930
10931         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10932         log.
10933
10934 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10935
10936         * many files: strip,frontStrip -> trim,ltrim,rtrim
10937
10938 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10939
10940         * PrinterParams.h: remove extern containsOnly, and include
10941         support/lstrings.h instead.
10942
10943         * LaTeX.C (scanAuxFile): modify because of strip changes
10944         (deplog): ditto
10945         * buffer.C (makeLaTeXFile): ditto
10946         * bufferparams.C (writeFile): ditt
10947         * lyxfont.C (stateText): ditto
10948         * lyxserver.C (read_ready): ditto
10949         * vc-backend.C (scanMaster): ditto
10950
10951         * BufferView_pimpl.h: ws changes
10952
10953         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10954
10955 2002-07-26  André Pönitz <poenitz@gmx.net>
10956
10957         * kb_sequence.C: remove unnedred usings
10958
10959 2002-07-26  Juergen Vigna  <jug@sad.it>
10960
10961         * lyxfind.C (LyXReplace): we have to check better if the returned
10962         text is not of theLockingInset()->getLockingInset().
10963
10964 2002-07-25  Juergen Vigna  <jug@sad.it>
10965
10966         * lyxfind.C (LyXReplace): don't replace if we don't get the
10967         right LyXText.
10968
10969         * undo_funcs.C (createUndo): remove debugging code.
10970
10971 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10972
10973         * buffer.C (parseSingleLyXformat2Token): Use default placement
10974         when reading old floats.
10975
10976         * FloatList.C (FloatList): Change the default placement of figure
10977         and tables to "tbp".
10978
10979 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10980
10981         * MenuBackend.C: using std::max
10982
10983 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10984
10985         * MenuBackend.C (expandToc):
10986         (expandToc2): code moved from xforms menu frontend. It is now
10987         generic and TOCs are transparent to menu frontends.
10988
10989 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10990
10991         * toc.C (getTocList): protect against buf=0
10992
10993         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10994         Menu as first parameter. Now, this calls itself recursively to
10995         expand a whole tree (this will be useful for TOC handling)
10996         (expandFloatInsert): remove 'wide' version of floats
10997
10998         * MenuBackend.h (submenuname): returns the name of the submenu.
10999         (submenu): returns the submenu itself, provided it has been
11000         created by MenuBackend::expand
11001
11002 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11003
11004         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11005         insets which have noFontChange == true. (bug #172)
11006
11007 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11008
11009         * BufferView_pimpl.C: add connection objects and use them...
11010         (Pimpl): here.
11011
11012 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11013
11014         * MenuBackend.C (expandLastfiles):
11015         (expandDocuments):
11016         (expandFormats):
11017         (expandFloatListInsert):
11018         (expandFloatInsert):
11019         (expand): split expand in parts
11020
11021 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11022
11023         * lyx_gui.C: use lyx_gui::exit()
11024
11025 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11026
11027         * LyXAction.C: show the failing pseudo action
11028
11029 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11030
11031         * buffer.C (readFile): Run the lyxconvert script in order to read
11032         old files.
11033
11034 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11035
11036         * LyXAction.C:
11037         * commandtags.h:
11038         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11039
11040 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11041
11042         * LyXAction.C:
11043         * commandtags.h:
11044         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11045
11046 2002-07-22  Herbert Voss  <voss@lyx.org>
11047
11048         * lengthcommon.C:
11049         * lyxlength.[Ch]: add support for the vertical lengths
11050
11051 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11052
11053         * toc.[Ch]: std:: fixes
11054
11055 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11056
11057         * lyxrc.C: do not include lyx_main.h
11058
11059         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11060         for layouts
11061
11062         * lyxrc.C:
11063         * encoding.C:
11064         * bufferlist.C:
11065         * BufferView2.C: include "lyxlex.h"
11066
11067         * tabular.h:
11068         * bufferparams.h: do not #include "lyxlex.h"
11069
11070         * lyxtextclasslist.C (Add): remove method
11071         (classlist): renamed to classlist_
11072
11073         * paragraph_pimpl.C:
11074         * paragraph.C:
11075         * text2.C:
11076         * CutAndPaste.C:
11077         * bufferview_funcs.C:
11078         * bufferlist.C:
11079         * text.C:
11080         * LaTeXFeatures.C:
11081         * buffer.C:
11082         * toc.C (getTocList): use BufferParams::getLyXTextClass
11083
11084         * toc.C (getTocList): use InsetFloat::addToToc
11085
11086         * toc.[Ch]: new files, containing helper functions to handle table
11087         of contents
11088
11089         * lyxfunc.C (dispatch): no need to remove spaces around command
11090         given as a string
11091         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11092         first command of the sequence; it is not very clever, but I do not
11093         have a better idea, actually
11094
11095         * LyXAction.C (LookupFunc): make sure to remove space at the
11096         beginning and end of the command
11097
11098 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11099
11100         * MenuBackend.C (getMenubar): new method: return the menubar of
11101         this menu set
11102         (read): treat differently reading of menu and menubar (in
11103         particular, the menubar has no name now)
11104         (Menu::menubar): remove
11105
11106         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11107         saving is finished
11108
11109 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11110
11111         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11112         a bibitem inset in a RTL paragraph.
11113
11114 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11115
11116         * paragraph_pimpl.C: constify
11117
11118         * BufferView_pimpl.C:
11119         * LaTeX.C:
11120         * lyxfunc.C: fix dispatch in a nicer way
11121
11122 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11123
11124         * lyxfunc.C (dispatch):
11125         * BufferView_pimpl.C:
11126         * BufferView_pimpl.h:
11127         * BufferView.C:
11128         * BufferView.h: rename Dispatch() to dispatch()
11129
11130         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11131
11132         * lyxlayout.C (Read): honor DependsOn tag
11133
11134         * lyxlayout.[Ch] (depends_on): new method
11135
11136         * version.C.in: update lyx_docversion
11137
11138         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11139
11140         * paragraph.C (validate): remove from here...
11141         * paragraph_pimpl.C (validate): ... and move here
11142         (isTextAt): make it const
11143
11144         * buffer.C (getLists): ws cleanup
11145
11146 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11147
11148         * language.C (read): Use iso8859-1 encoding in latex_lang
11149         (this prevents LyX from crashing when using iso10646-1 encoding).
11150
11151 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11152
11153         * text2.C (toggleInset): if cursor is inside an inset, close the
11154         inset and leave cursor _after_ it
11155
11156 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * lyxfunc.C: move minibuffer completion handling out of here
11159
11160 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * BufferView_pimpl.C:
11163         * LaTeX.C: fix dispatch calls
11164
11165 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11166
11167         * text.C (drawChars): Fix Arabic text rendering.
11168
11169 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11170
11171         * LyXAction.C:
11172         * commandtags.h:
11173         * lyxfunc.C: remove message-push/pop
11174
11175         * lyxserver.C:
11176         * lyxfunc.h:
11177         * lyxfunc.C: rationalise some code by removing verboseDispatch
11178           in favour of a bool argument to dispatch()
11179
11180 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11181
11182         * lyx_main.C (init): make sure to read symlinks as absolute paths
11183
11184 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11185
11186         * lyxfunc.h:
11187         * lyxfunc.C: no need for commandshortcut to be a member
11188
11189 2002-07-15  André Pönitz <poenitz@gmx.net>
11190
11191         * converter.C: add support for $$s (scripts from lib/scripts dir)
11192         * lyx_main.C: white space
11193
11194 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11195
11196         * bufferlist.C:
11197         * lyxrc.h:
11198         * lyxrc.C: remove second exit confirmation
11199
11200 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11201
11202         * BufferView.h:
11203         * BufferView.C:
11204         * BufferView2.C:
11205         * BufferView_pimpl.h:
11206         * BufferView_pimpl.C:
11207         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11208
11209 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11210
11211         * MenuBackend.C (expand): add numeric shortcuts to document menu
11212
11213         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11214
11215 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11216
11217         * lyxfont.C (setLyXFamily):
11218         (setLyXSeries):
11219         (setLyXShape):
11220         (setLyXSize):
11221         (setLyXMisc):
11222         (lyxRead):
11223         * debug.C (value):
11224         * buffer.C (asciiParagraph): use ascii_lowercase
11225
11226 2002-07-15  Mike Fabian  <mfabian@suse.de>
11227
11228         * lyxlex_pimpl.C (search_kw):
11229         * lyxlex.C (getLongString):
11230         * converter.h (operator<):
11231         * converter.C (operator<):
11232         * buffer.C (parseSingleLyXformat2Token):
11233         (asciiParagraph):
11234         * ToolbarDefaults.C (read):
11235         * MenuBackend.C (checkShortcuts):
11236         (read):
11237         * LColor.C (getFromGUIName):
11238         (getFromLyXName): use the compare_ascii_no_case instead of
11239         compare_no_case, because in turkish, 'i' is not the lowercase
11240         version of 'I', and thus turkish locale breaks parsing of tags.
11241
11242 2002-07-16  Angus Leeming  <leeming@lyx.org>
11243
11244         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11245         now takes a Buffer const & argument.
11246
11247 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11248
11249         * BufferView.C (resize): check there's a buffer to resize
11250
11251 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11252
11253         * lyxfunc.C: remove dead code
11254
11255         * lyxserver.h:
11256         * lyxserver.C: use lyx_guii::set_read_callback
11257
11258 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11259
11260         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11261         an inset in a RTL paragraph.
11262
11263 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11264
11265         * lyxfunc.C: repaint after a font size update
11266
11267 2002-07-15  André Pönitz <poenitz@gmx.net>
11268
11269         * lyxlength.C: inBP should be able to return negative values
11270
11271 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11272
11273         * lyxfunc.C: use lyx_gui::update_fonts()
11274
11275 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11276
11277         * lyxfunc.C: use lyx_gui::update_color()
11278
11279 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11280
11281         * bufferlist.C:
11282         * lyxfunc.h:
11283         * lyxfunc.C:
11284         * lyxrc.h:
11285         * lyxrc.C: remove file->new asks for name option, and let
11286           buffer-new take an argument
11287
11288 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11289
11290         * BufferView_pimpl.C: remove unneeded extra repaint()
11291
11292 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11293
11294         * LyXAction.C: allow command-sequence with NoBuffer
11295
11296         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11297
11298 2002-07-10  Angus Leeming  <leeming@lyx.org>
11299
11300         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11301
11302 2002-07-09  Angus Leeming  <leeming@lyx.org>
11303
11304         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11305
11306 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11307
11308         * lengthcommon.h: whitespace
11309
11310         * lyxfunc.C: update scrollbar after goto paragraph
11311
11312         * lyxtext.h: factor out page break drawing, and fix it so
11313           page break/added space paints as selected nicely
11314
11315 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11316
11317         * BufferView_pimpl.C: add FIXMEs, clean up a little
11318
11319 2002-07-09  André Pönitz <poenitz@gmx.net>
11320
11321         * lyxfont.[Ch]: support for wasy symbols
11322
11323 2002-07-08  André Pönitz <poenitz@gmx.net>
11324
11325         * BufferView_pimpl.C: apply John's patch for #93.
11326
11327 2002-07-05  Angus Leeming  <leeming@lyx.org>
11328
11329         * BufferView_pimpl.C (buffer): generate previews if desired.
11330
11331         * LColor.h: add "preview" to the color enum.
11332
11333         * LColor.C (LColor): add a corresponding entry to the items array.
11334
11335         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11336         with this buffer.
11337
11338 2002-07-05  Angus Leeming  <leeming@lyx.org>
11339
11340         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11341         The body of the code is now in the method that is passed an ostream &
11342         rather than a file name.
11343         Pass an additional only_preamble parameter, useful for the forthcoming
11344         preview stuff.
11345
11346 2002-07-03  André Pönitz <poenitz@gmx.net>
11347
11348         * lyxfunc.C: simplify getStatus() a bit for math stuff
11349
11350 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11351
11352         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11353
11354 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11355
11356         * text.C (changeRegionCase): do not change case of all the
11357         document when region ends at paragraph end (bug #461)
11358
11359 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11360
11361         * paragraph.C (startTeXParParams):
11362         (endTeXParParams): add \protect when necessary
11363
11364 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11365
11366         * BufferView_pimpl.C (workAreaExpose): remove warning
11367
11368 2002-06-27  Angus Leeming  <leeming@lyx.org>
11369
11370         * Makefile.am: add lyxlayout_ptr_fwd.h.
11371
11372 2002-06-26  André Pönitz <poenitz@gmx.net>
11373
11374         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11375
11376 2002-06-25  Angus Leeming  <leeming@lyx.org>
11377
11378         * lyxfunc.C (dispatch): Comment out the call to
11379         grfx::GCache::changeDisplay. The method no longer exists now that the
11380         pixmap generation part of the graphics loader has been moved into
11381         InsetGraphics.
11382
11383 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11384
11385         * text2.C: layout as layout
11386
11387         * text.C: layout as layout
11388
11389         * tabular.C (OldFormatRead): layout as layout
11390
11391         * paragraph_pimpl.C (TeXDeeper): layout as layout
11392         (realizeFont): layout as layout
11393
11394         * paragraph.C (writeFile): layout as layout
11395         (validate): layout as layout
11396         (getFont): layout as layout
11397         (getLabelFont): layout as layout
11398         (getLayoutFont): layout as layout
11399         (breakParagraph): layout as layout
11400         (stripLeadingSpaces): layout as layout
11401         (getEndLabel): layout as layout
11402         (getMaxDepthAfter): layout as layout
11403         (applyLayout): layout as layout
11404         (TeXOnePar): layout as layout
11405         (simpleTeXOnePar): layout as layout
11406         (TeXEnvironment): layout as layout
11407         (layout): layout as layout
11408         (layout): layout as layout
11409
11410         * lyxtextclass.C (compare_name): new functor to work with
11411         shared_ptr, layout as layout
11412         (Read): layout as layout
11413         (hasLayout): layout as layout
11414         (operator): layout as layout
11415         (delete_layout): layout as layout
11416         (defaultLayout): layout as layout
11417
11418         * lyxlayout_ptr_fwd.h: new file
11419
11420         * lyxlayout.C (Read): layout as layout
11421
11422         * lyx_cb.C (MenuInsertLabel): layout as layout
11423
11424         * bufferlist.C (newFile): layout as layout
11425
11426         * buffer.C (readLyXformat2): layout as layout
11427         (parseSingleLyXformat2Token): layout as layout
11428         (insertStringAsLines): layout as layout
11429         (asciiParagraph): layout as layout
11430         (latexParagraphs): layout as layout
11431         (makeLinuxDocFile): layout as layout
11432         (simpleLinuxDocOnePar): layout as layout
11433         (makeDocBookFile): layout as layout
11434         (simpleDocBookOnePar): layout as layout
11435         (getLists): layout as layout
11436
11437         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11438
11439         * CutAndPaste.C (cutSelection): layout as layout
11440         (pasteSelection): layout as layout
11441         (SwitchLayoutsBetweenClasses): layout as layout
11442
11443         * BufferView_pimpl.C (Dispatch): layout as layout
11444         (smartQuote): layout as layout
11445
11446         * BufferView2.C (unlockInset): layout as layout
11447
11448 2002-06-24  André Pönitz <poenitz@gmx.net>
11449
11450         * lyxfunc.C: fix #487
11451
11452 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11453
11454         * lyxrc.h:
11455         * lyxrc.C:
11456         * lyxfunc.C: remove display_shortcuts, show_banner
11457
11458 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11459
11460         * Buffer_pimpl.C: oops, update on resize
11461
11462 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11463
11464         * buffer.C:
11465         * converter.C:
11466         * exporter.C:
11467         * lyxfunc.C:
11468         * BufferView.h:
11469         * BufferView.C: use repaint()
11470
11471         * BufferView_pimpl.h:
11472         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11473           as it's a clearer description. Remove superfluous
11474           redraws.
11475
11476 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11477
11478         * text.C: fix bug 488. Not ideal, but getting
11479           getWord() to work properly for the insets that
11480           matter is more difficult ...
11481
11482 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11483
11484         * BufferView_pimpl.C:
11485         * LyXAction.C:
11486         * commandtags.h:
11487         * lyxfunc.C: remove the six million index lyxfuncs to just
11488           one, and DTRT (bug 458)
11489
11490 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11491
11492         * BufferView.h:
11493         * BufferView.C:
11494         * BufferView_pimpl.h:
11495         * BufferView_pimpl.C: clean up resize() stuff,
11496           and unnecessary updateScreen()s
11497
11498 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11499
11500         * BufferView.h:
11501         * BufferView.C:
11502         * BufferView_pimpl.h:
11503         * BufferView_pimpl.C:
11504         * lyxfind.h:
11505         * lyxfind.C:
11506         * minibuffer.C: remove focus management of workarea,
11507           not needed. Use screen's greyOut()
11508
11509 2002-06-17  Herbert Voss  <voss@lyx.org>
11510
11511         * converter.C: (convert) do not post a message, when converting
11512         fails, let the calling function decide what to do in this case
11513
11514 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11515
11516         * lyxfunc.C: tidy up a little
11517
11518 2002-06-16    <alstrup@diku.dk>
11519
11520         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11521         Got rid of FORMS_H_LOCATION include. Now we are
11522         GUII.
11523
11524 2002-06-15  LyX Development team  <lyx@rilke>
11525
11526         * buffer.[Ch] (sgmlOpenTag):
11527         (sgmlCloseTag): Added support for avoiding pernicious mixed
11528         content. Return number of lines written.
11529
11530         (makeLinuxDocFile):
11531         (makeDocBookFile): Fixed calls to sgml*Tag.
11532         Simple white space clean.
11533
11534         (simpleDocBookOnePar): Simple white space clean.
11535
11536         * tabular.[Ch] (docBook): Renamed to docbook and got another
11537         argument to related with the pernicious mixed content.
11538
11539         (docbookRow): Fixed calls for docbook inset method.
11540
11541 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11542
11543         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11544         so it's X11 independent.
11545
11546         * kb*.[Ch]: ditto.
11547
11548         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11549
11550 2002-06-15  Lyx Development team  <lyx@electronia>
11551
11552         * intl.h: Renamed getTrans to getTransManager.
11553
11554 2002-06-14  Angus Leeming  <leeming@lyx.org>
11555
11556         * Makefile.am: nuke forgotten stl_string_fwd.h.
11557
11558 2002-06-12  Angus Leeming  <leeming@lyx.org>
11559
11560         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11561
11562 2002-06-13  Angus Leeming  <leeming@lyx.org>
11563
11564         * LaTeX.C:
11565         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11566
11567 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11568
11569         * kbmap.C (getiso): add support for cyrillic and greek
11570
11571 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11572
11573         * BufferView.h:
11574         * BufferView.C:
11575         * BufferView_pimpl.h:
11576         * BufferView_pimpl.C: move bogus scrolling logic
11577           to xforms
11578
11579 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11580
11581         * lyxfunc.C:
11582         * BufferView_pimpl.C: view->resize() change
11583
11584 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * BufferView_pimpl.C: topCursorVisible
11587           prototype change
11588
11589 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11590
11591         * Makefile.am:
11592         * lyx_gui.h:
11593         * lyx_gui.C: move to frontends/
11594
11595         * main.C:
11596         * lyx_main.h:
11597         * lyx_main.C: changes from above
11598
11599 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11600
11601         * intl.C:
11602         * intl.h:
11603         * kbmap.C:
11604         * kbsequence.C:
11605         * lyx_cb.C:
11606         * lyx_main.C: minor tidy
11607
11608 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11609
11610         * BufferView_pimpl.h:
11611         * BufferView_pimpl.C:
11612         * BufferView.h:
11613         * BufferView.C: make painter() const,
11614           remove dead code
11615
11616         * BufferView2.C: use screen() accessor
11617
11618         * lyx_main.h:
11619         * lyx_main.C: some minor cleanup
11620
11621 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11622
11623         * BufferView_pimpl.h:
11624         * BufferView_pimpl.C: remove enter/leaveView,
11625           use workHeight()
11626
11627 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11628
11629         * BufferView.h:
11630         * BufferView.C:
11631         * BufferView2.C:
11632         * BufferView_pimpl.h:
11633         * BufferView_pimpl.C: only construct screen once,
11634           rename
11635
11636         * lyxrc.C: remove pointless comment
11637
11638 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11639
11640         * BufferView.h:
11641         * BufferView.C: remove active() and belowMouse()
11642
11643         * BufferView_pimpl.h:
11644         * BufferView_pimpl.C: use workarea() not workarea_,
11645           and make it use a scoped_ptr instead
11646
11647 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11648
11649         * lyx_gui.C: add debug message on BadWindow
11650
11651 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11652
11653         * sp_spell.C: fdopen is not part of the C++ standard.
11654
11655         * paragraph.C (InsetIterator): use >= instead of ==
11656
11657 2002-06-07  Angus Leeming  <leeming@lyx.org>
11658
11659         Fixes needed to compile with Compaq cxx 6.5.
11660         * BufferView_pimpl.C:
11661         * DepTable.C:
11662         * buffer.C:
11663         * converter.C:
11664         * encoding.C:
11665         * lyx_gui.C:
11666         * lyx_main.C:
11667         * lyxtextclasslist.C:
11668         * minibuffer.C:
11669         * sp_spell.C:
11670         * tabular_funcs.C:
11671         * vc-backend.C:
11672         all c-library variables have been moved into namespace std. Wrap
11673         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11674
11675         * lyxlength.C:
11676         * tabular-old.C:
11677         * tabular.C:
11678         Add a using std::abs declaration.
11679
11680         * kbmap.h (modifier_pair):
11681         * paragraph.h (InsetTable, InsetList):
11682         * lyxfont.h (FontBits):
11683         type definition made public.
11684
11685         * bufferlist.C (emergencyWriteAll): the compiler complains that
11686         there is more than one possible lyx::class_fun template to choose from.
11687         I re-named the void specialisation as lyx::void_class_fun.
11688
11689         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11690
11691         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11692         the compiler is is unable to find tostr in write_attribute.
11693
11694 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11695
11696         * buffer.C (sgmlError): hide #warning
11697
11698 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11699
11700         * xtl/*: get rid of xtl, which is not in use anyway
11701
11702         * LyXAction.C (init):
11703         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11704         were unimplemented xtl experimentation
11705
11706 2002-06-04  André Pönitz <poenitz@gmx.net>
11707
11708         * lyxfunc.C: disable array operation on simple formulae
11709
11710 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * converter.C: constify a bit
11713
11714 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11715
11716         * lyx_gui.C: check xforms version correctly
11717
11718 2002-04-30  Herbert Voss  <voss@lyx.org>
11719
11720         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11721         "keep" option
11722
11723 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11724
11725         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11726           attempt to register it with a VCS)
11727
11728 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11729
11730         * lyx_main.C (init): honor variables LYX_DIR_13x and
11731         LYX_USERDIR_13x
11732
11733 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11734
11735         * buffer.h:
11736         * buffer.C:
11737         * lyx_main.C: fix a crash on bad command line,
11738           and give a useful exit status on error
11739
11740         * lyxfunc.C (doImport): allow -i lyx to work
11741
11742 2002-03-30  André Pönitz <poenitz@gmx.net>
11743
11744         * lyxfunc.C: mathed font changes
11745
11746 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11747
11748         * LaTeX.C:
11749         * importer.h:
11750         * importer.C:
11751         * lyx_sty.h:
11752         * lyx_sty.C:
11753         * lyxlex.C:
11754         * lyxrow.h:
11755         * lyxtext.h:
11756         * paragraph.h:
11757         * paragraph.C:
11758         * texrow.h:
11759         * texrow.C:
11760         * text.C:
11761         * trans_mgr.h: srcdocs, and some minor cleanups
11762
11763 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11764
11765         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11766         call getFont all the time)
11767
11768 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11769
11770         * switch from SigC signals to boost::signals
11771
11772 2002-05-29  André Pönitz <poenitz@gmx.net>
11773
11774         * paragraph_pimpl.C (getChar): don't call size() too often...
11775
11776 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11777
11778         * paragraph_pimpl.C (insertChar): do not try to update tables when
11779         appending (pos == size())
11780
11781         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11782         in order to reduce drastically the number of comparisons needed to
11783         parse a large document
11784
11785 2002-05-29  André Pönitz <poenitz@gmx.net>
11786
11787         * text.C:
11788         * text2.C:
11789         * lyxtextclass.C:
11790         * sp_pspell.h:
11791         * textclasslist.[Ch]:
11792         * sp_ispell.h: whitespace change
11793
11794 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11795
11796         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11797         lyxaction directly now.
11798
11799 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11800
11801         * trans.C:
11802         * lyxfont.C:
11803         * lyxvc.C: remove unused headers
11804
11805 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11806
11807         * Makefile.am:
11808         * buffer.h:
11809         * undostack.h:
11810         * undostack.C:
11811         * undo_funcs.h:
11812         * undo_funcs.C: some cleanups. Use shared_ptr
11813           and a template for the undo stacks.
11814
11815 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11816
11817         * BufferView_pimpl.h:
11818         * BufferView_pimpl.C:
11819         * kbmap.h:
11820         * kbmap.C:
11821         * kbsequence.h:
11822         * kbsequence.C:
11823         * lyxfunc.h:
11824         * lyxfunc.C:
11825         * text2.C: use key_state/mouse_state
11826
11827 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11828
11829         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11830         and LSubstring
11831
11832         * chset.C: change include order
11833         (loadFile): use boost regex and get rid of LRegex and LSubstring
11834
11835         * Makefile.am (BOOST_LIBS): new variable
11836         (lyx_LDADD): use it
11837
11838         * LaTeX.C: change include order.
11839         (scanAuxFile): use boost regex and get rid of LRegex and
11840         LSubstring
11841         (deplog): ditto
11842
11843 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11844
11845         * ColorHandler.h:
11846         * ColorHandler.C:
11847         * FontInfo.h:
11848         * FontInfo.C: moved to frontends/xforms/
11849
11850         * FontLoader.h:
11851         * FontLoader.C: moved into frontends for GUIIzation
11852
11853         * Makefile.am:
11854         * lyx_gui.C:
11855         * lyxfont.C:
11856         * lyxfunc.C: changes from above
11857
11858 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11859
11860         * LColor.C: remove spurious X include
11861
11862         * BufferView_pimpl.C:
11863         * Makefile.am:
11864         * font.h:
11865         * font.C:
11866         * text.C:
11867         * text2.C: move font metrics to frontends/
11868
11869 2002-05-24  Juergen Vigna  <jug@sad.it>
11870
11871         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11872         setting the undo_cursor.
11873
11874         * ParagraphParameters.h: include local includes first.
11875
11876 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11877
11878         * BufferView_pimpl.C:
11879         * BufferView_pimpl.h:
11880         * Makefile.am:
11881         * WorkArea.h:
11882         * WorkArea.C:
11883         * screen.C: move WorkArea into frontends/
11884
11885         * lyxscreen.h:
11886         * screen.C:
11887         * text.C:
11888         * BufferView.C:
11889         * BufferView2.C: move LyXScreen into frontends/
11890
11891         * lyxlookup.h:
11892         * lyxlookup.C:
11893         * lyx_gui.C: move lyxlookup into frontends/xforms/
11894
11895 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11896
11897         * BufferView2.C:
11898         * BufferView_pimpl.C:
11899         * FontLoader.C:
11900         * LyXView.h:
11901         * LyXView.C:
11902         * Makefile.am:
11903         * WorkArea.C:
11904         * XFormsView.h:
11905         * XFormsView.C:
11906         * buffer.C:
11907         * bufferlist.C:
11908         * bufferview_funcs.C:
11909         * converter.C:
11910         * importer.C:
11911         * lyx_cb.C:
11912         * lyx_gui.C:
11913         * lyx_main.C:
11914         * lyx_find.C:
11915         * lyxfunc.C:
11916         * lyxvc.C:
11917         * minibuffer.C:
11918         * text.C:
11919         * text2.C:
11920         * trans.C:
11921         * vc-backend.C: move LyX/XFormsView into frontends/
11922
11923 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11924
11925         * Makefile.am:
11926         * PainterBase.C:
11927         * PainterBase.h:
11928         * Painter.C:
11929         * Painter.h:
11930         * WorkArea.C:
11931         * WorkArea.h:
11932         * screen.C:
11933         * tabular.C:
11934         * text.C:
11935         * text2.C: move Painter to frontends/
11936
11937 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11938
11939         * buffer.C: comment out some some code that depend upon lyx_format
11940         < 220
11941
11942         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11943         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11944
11945         * buffer.h (NO_COMPABILITY): turn off compability
11946
11947         * ColorHandler.C: include scoped_array.hpp
11948
11949         * font.C: Use more specific smart_ptr header.
11950         * Painter.C: ditto
11951         * gettext.C: ditto
11952         * ShareContainer.h: ditto
11953         * lyx_main.h: ditto
11954         * kbmap.h: ditto
11955         * FontInfo.h: ditto
11956         * BufferView_pimpl.h: ditto
11957         * ColorHandler.h: ditto
11958
11959         * kbmap.C (defkey): change call to shared_ptr::reset
11960
11961 2002-05-21  Juergen Vigna  <jug@sad.it>
11962
11963         * buffer.C (insertErtContents): fix to insert ert asis if it is
11964         non empty. Skip it completely if it contains only whitespaces.
11965
11966 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11967
11968         * BufferView_pimpl.C:
11969         * BufferView2.C: clear selection on paste (bug 393)
11970
11971 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11972
11973         * DepTable.C: include ctime
11974
11975 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11976
11977         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11978
11979 2002-05-14  Juergen Vigna  <jug@sad.it>
11980
11981         * text.C (breakParagraph): fixed function to honor the keepempty
11982         layout in the right maner and also to permit the right breaking
11983         algorithm on empty or non empyt keepempty paragraphs.
11984
11985         * paragraph.C (breakParagraph): we have to check also if the par
11986         is really empty (!size()) for isempty otherwise we do the wrong
11987         paragraph break.
11988
11989 2002-05-10  Juergen Vigna  <jug@sad.it>
11990
11991         * buffer.[Ch] : The following are only changes to the ert
11992         compatibility read reading old LaTeX layout and font stuff and
11993         convert it to ERTInsets.
11994
11995         * buffer.h: added isErtInset().
11996
11997         * buffer.C (struct ErtComp): add a fromlayout bool to check
11998         if we're inside a LaTeX layout.
11999         (isErtInset): new helper function.
12000         (insertErtContents): look for other ert insets before this one
12001         and insert the contents there, so that we don't have subsequent
12002         ERT insets with nothing between them. This way we create only one
12003         inset with multiple paragraphs. Also check if we don't insert only
12004         spaces ' ' as they are ignored anyway afterwards in the .tex file
12005         so if we have only spaces we will ignore this latex part in the
12006         new file.
12007         (parseSingleLyXformat2Token \\layout): better compatibility when
12008         reading layout-latex stuff.
12009         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12010         language tag.
12011         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12012         stuff after reading the inset only get the information back from
12013         the stack.
12014
12015 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12016
12017         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12018
12019         * LaTeXFeatures.C (getBabelOptions): New method.
12020
12021 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12022
12023         * BufferView_pimpl.C (Dispatch): work around missing argument for
12024         'layout'
12025
12026 2002-05-08  Juergen Vigna  <jug@sad.it>
12027
12028         * text.C (leftMargin): handle paragraph leftindent.
12029
12030         * paragraph.C (writeFile): write the new \\leftindent tag.
12031         (validate): handle leftindent code.
12032         (TeXEnvironment): handle paragraphleftindent code again.
12033
12034         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12035
12036         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12037         for paragrap_extra indent code and new token \\leftindent.
12038         (latexParagraphs): handle the leftindent as environment.
12039
12040         * ParameterStruct.h: added leftindent support.
12041
12042         * ParagraphParameters.C (leftIndent): added support functions for
12043         the paragraph left indent.
12044
12045         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12046         more appropriate.
12047
12048 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12049
12050         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12051         inside insetERT.
12052
12053         * text.C (computeBidiTables): No bidi in insetERT.
12054
12055         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12056         in RTL documents.
12057
12058 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12059
12060         * version.C.in: pre 5
12061
12062 2002-05-02  José Matos  <jamatos@fep.up.pt>
12063         * buffer.C (makeDocBookFile): white space changes, add newline to
12064         command styles.
12065         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12066
12067         * tabular.C (docBook): fix typo.
12068
12069 2002-05-03  Juergen Vigna  <jug@sad.it>
12070
12071         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12072         change in LyXText as we can not be sure it was not freed.
12073         (drawOneRow): remove unused code.
12074
12075         * text.C (drawInset): redo the calculation of the need_break_row as
12076         it could have a row which was already freed.
12077         (draw): look at the return value of drawInset and return false if
12078         it also returned false.
12079         (paintRowText): look at the return value of draw and return false if
12080         it also returned false.
12081
12082         * lyxtext.h: added bool return type to drawInset() and draw() so that
12083         if we have a change in the row so that the rowbreak has to be redone
12084         we abort drawing as it will be called again.
12085
12086 2002-05-02  Juergen Vigna  <jug@sad.it>
12087
12088         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12089         a change in the maintext also if we're inside an inset.
12090         (Dispatch): set the cursor again after a break line and after the
12091         screen has been updated as it could be we're in a different row.
12092
12093         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12094         to set the cursor behind the pargraph with > size().
12095         (setCursor): check also for the same paragraph when checking where
12096         to put the cursor if we have a NFR inset.
12097
12098         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12099         parts of layout read further up as it still was in the wrong
12100         position.
12101
12102 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12103
12104         * screen.C (drawFromTo): change sine fullRebreak always return
12105         true.
12106
12107         * buffer.C (parseSingleLyXformat2Token): reindent some
12108
12109         * BufferView_pimpl.C (update): change since fullRebreak always
12110         return true.
12111         (Dispatch): git rid of the last hardcoded "Standard"s.
12112
12113 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12114
12115         * text2.[Ch] (fullRebreak): make it return void now that we always
12116         returned true.
12117
12118 2002-04-30  Juergen Vigna  <jug@sad.it>
12119
12120         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12121         ert compatibility check for "latex" layout.
12122
12123 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12124
12125         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12126         minipages: use col% instead of p%, and also use the current font.
12127         (makeLaTeXFile): Fix use babel condition.
12128         (parseSingleLyXformat2Token): Correct font when reading old floats.
12129
12130 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12131
12132         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12133         inserting list of floats.
12134
12135 2002-04-25  Herbert Voss  <voss@lyx.org>
12136
12137         * MenuBackend.C (expand): don't add the graphics extensions to the
12138         export menu
12139
12140 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12141
12142         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12143         non-existing layout, do not complain if it was the default layout
12144         of the original class (bug #342)
12145
12146 2002-04-24  Juergen Vigna  <jug@sad.it>
12147
12148         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12149         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12150
12151 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12152
12153         * buffer.C (getBibkeyList): If using \bibliography, return the
12154         option field with the reference itself. Enables us to provide natbib
12155         support when using \bibliography.
12156
12157 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12158
12159         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12160
12161         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12162         natbib is provided by the LaTeX class.
12163
12164 2002-04-23  Juergen Vigna  <jug@sad.it>
12165
12166         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12167         Wakeup functions.
12168
12169         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12170
12171 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12172
12173         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12174
12175         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12176         ensuremath around textordmasculine, textordfeminine and
12177         textdegree.
12178
12179 2002-04-19  Juergen Vigna  <jug@sad.it>
12180
12181         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12182         reinitializing the buffer otherwise row-dimensions may be wrong.
12183         (update): reset also the selection cursors if they do exits otherwise
12184         their x/y positions may be wrong.
12185
12186         * text2.C (cursorDown): don't enter the inset if we came from a row
12187         above and are one row over the inset.
12188
12189         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12190         really leaving an inset.
12191
12192 2002-04-18  Juergen Vigna  <jug@sad.it>
12193
12194         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12195         of the selected paragraph does not have the selected layout also if
12196         the last one had!
12197
12198         * text2.C (setLayout): fixed bug which did not change last selected
12199         paragraph.
12200
12201         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12202         changed the read and substituted \\end_float with \\end_inset!
12203
12204         * BufferView_pimpl.C (cursorPrevious):
12205         (cursorNext): fixed to make it work with rows heigher than the work
12206         area without moving the cursor only the draw of the row.
12207         (workAreaMotionNotify): fix jumping over high rows.
12208
12209 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12210
12211         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12212         Ressler.
12213
12214 2002-04-16  Juergen Vigna  <jug@sad.it>
12215
12216         * text2.C (setCursor): set also the irow().
12217         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12218         (cursorUp):
12219         (cursorDown): support for locking an inset if the x_fix value goes
12220         inside it. That way I can transverse insets too with cursor up/down.
12221
12222         * lyxrow.h: added irow helper function same as other (i) functions.
12223
12224         * BufferView_pimpl.C (cursorPrevious):
12225         (cursorNext): fixed for insets!
12226
12227 2002-04-15  Juergen Vigna  <jug@sad.it>
12228
12229         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12230         position otherwise it is wrong in some cases.
12231
12232         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12233         inside the inset before the call.
12234
12235 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12236
12237         * buffer.[Ch] (getBibkeyList): make it const.
12238
12239 2002-04-12  Juergen Vigna  <jug@sad.it>
12240
12241         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12242
12243         * text2.C (getCursorX): new helper function
12244         (setCursor): compute also ix_
12245         (setCursorFromCoordinates): set also ix.
12246
12247         * lyxcursor.h: added ix_ and helper functions.
12248
12249         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12250
12251         * buffer.C (insertStringAsLines): dont break paragraph if the this
12252         paragraph is inside an inset which does not permit it!
12253
12254         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12255         also with no chars on this paragraph.
12256         (paintRowText): only paint stuff if it's inside the workarea!
12257
12258         * paragraph.C (breakParagraph): honor keepempty flag and break the
12259         paragraph always below not above.
12260
12261         * BufferView2.C (unlockInset): update the paragraph layout on inset
12262         unlock as we changed paragraph in such a case.
12263
12264         * lyxfind.C (LyXFind): clear the former selection if not found!
12265
12266         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12267         again called in insertChar().
12268
12269         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12270         an inset which uses the whole row!
12271         (rightMargin): ditto.
12272         (insertChar): force a rebreak if we inserted an inset!
12273
12274 2002-03-28  Herbert Voss  <voss@lyx.org>
12275
12276         * lyxlength.[Ch]: add inBP() to get the right PS-point
12277         units (BigPoint). With inPixels we have rounding errors
12278
12279 2002-04-11  Juergen Vigna  <jug@sad.it>
12280
12281         * text2.C (setCursorFromCoordinates): set iy to the right value.
12282         (setCursor): add check if row->previous exists!
12283
12284         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12285         an old float_type as this was the case in the old code!
12286
12287         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12288
12289         * BufferView2.C (showLockedInsetCursor): use iy
12290         (fitLockedInsetCursor): ditto
12291
12292         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12293         locked insets as there we have the right value now.
12294
12295         * lyxcursor.C: added iy_ variable and iy functions to set to the
12296         baseline of cursor-y of the locked inset.
12297
12298         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12299         (setCursor): fixed for insets which need a full row.
12300
12301         * text.C (rowLastPrintable): don't ignore the last space when before
12302         an inset which needs a full row.
12303         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12304         as last character of a row when before a inset which needs a full row.
12305
12306 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12307
12308         * version.C.in: update date
12309
12310         * text2.C (fullRebreak): try to always return true and see what
12311         happens...
12312
12313 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12314
12315         * MenuBackend.C (expand): use Floating::listName
12316
12317         * FloatList.C (FloatList): add listName argument to the built-in
12318         floats
12319
12320         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12321         text associated with the float.
12322
12323 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12324
12325         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12326
12327 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * ShareContainer.h: add a couple of missing typenames.
12330
12331 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12332
12333         * lyxrc.C (getDescription): use _() correctly rather than N_().
12334
12335 2002-03-28  Herbert Voss  <voss@lyx.org>
12336
12337         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12338         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12339
12340 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12341
12342         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12343         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12344
12345 2002-03-29  Juergen Vigna  <jug@sad.it>
12346
12347         * lyxfunc.C (dispatch): add a missing fitCursor call.
12348
12349         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12350         it was scrolled by a cursor move, so return the bool status.
12351
12352         * BufferView.C (fitCursor): return the bool flag also to the outside
12353         world as this is needed.
12354
12355         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12356
12357         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12358         call the edit() as it is not needed (and wrong) IMO.
12359         (workAreaButtonPress): set the screen_first variable before evt.
12360         unlock the inset as this may change screen_first and then we have
12361         a wrong y position for the click!
12362
12363 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12364
12365         * MenuBackend.C (expand): another translation that I missed
12366
12367 2002-03-28  Juergen Vigna  <jug@sad.it>
12368
12369         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12370
12371         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12372
12373 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12374
12375         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12376
12377         * MenuBackend.C (expand): fix export/view/update when there is no
12378         document open.
12379
12380 2002-03-27  Herbert Voss  <voss@lyx.org>
12381
12382         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12383         and text%
12384
12385 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12386
12387         * bufferview_funcs.C (currentState): only show paragraph number
12388         for is DEVEL_VERSION is set.
12389
12390         * lyxfunc.C (dispatch): put warning in INFO channel
12391
12392         * MenuBackend.C (expand): translate the name of floats
12393
12394         * FloatList.C (FloatList): mark the float names for translation
12395
12396         * converter.C (convert): use LibScriptSearch
12397
12398 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12399
12400         * MenuBackend.C (defaults): fix default menu (we might as well get
12401         rid of it...)
12402
12403 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12404
12405         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12406         directory.
12407
12408 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12409
12410         * lyxvc.C: reorder includes.
12411
12412 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12413
12414         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12415           properly
12416
12417 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12418
12419         * CutAndPaste.C: change layouts earlier on paste
12420           to avoid crashing when calling getFont()
12421
12422 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12423
12424         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12425         irritating #error.
12426
12427 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12428
12429         * WorkArea.C: remove 'Pending' debug message.
12430
12431         * most files: ws cleanup
12432
12433         * buffer.[Ch]: ws changes
12434
12435         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12436
12437 2002-03-21  Juergen Vigna  <jug@sad.it>
12438
12439         * tabular.C (SetMultiColumn): collapse also the contents of the
12440         cells and set the last border right. Added a Buffer const * param.
12441
12442 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12443
12444         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12445         linking or not.
12446
12447 2002-03-19  Juergen Vigna  <jug@sad.it>
12448
12449         * text2.C (clearSelection): reset also xsel_cache.
12450
12451         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12452         where it needs to be called (John tells us to do so too :)
12453         (selectionLost): reset sel_cache.
12454
12455         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12456
12457 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12458
12459         * text2.C (setCursorIntern): put debuging code in INSETS channel
12460
12461 2002-03-19  André Pönitz <poenitz@gmx.net>
12462
12463         * lyxfunc.C: tiny whitespace change
12464
12465 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12466
12467         * ToolbarDefaults.C (init):
12468         * LyXAction.C (init):
12469         * commandtags.h:
12470         * BufferView_pimpl.C (Dispatch):
12471         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12472
12473 2002-03-19  Allan Rae  <rae@lyx.org>
12474
12475         * exporter.C (Export): removeAutoInsets before doing anything else.
12476         While I've just introduced a dependency on BufferView this really is
12477         the best place to clean the buffer otherwise you need to cleanup in
12478         a dozen places before calling export or cleanup in a dozen functions
12479         that export calls.
12480
12481         * converter.C (runLaTeX):
12482         (scanLog): Better handling of removeAutoInsets and screen updates.
12483
12484         * lyxfunc.C (dispatch): small whitespace changes
12485
12486 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12487
12488         * WorkArea.C (C_WorkAreaEvent): return a value.
12489         (event_cb): return 1 if we handled the event, 0 otherwise.
12490
12491         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12492
12493 2002-03-18  Juergen Vigna  <jug@sad.it>
12494
12495         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12496         (GetAdditionalWidth): ditto.
12497         (RightLine): ditto.
12498         (LeftLine): ditto.
12499
12500         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12501         inset if we're there actually (probably not used right now but this
12502         is the direction to go for unifying code).
12503         (paste): disable code to clear the selection.
12504
12505         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12506         inside an InsetText and move the check further up as it is in the
12507         wrong place.
12508
12509         * text2.C (pasteSelection): set a selection over the pasted text.
12510
12511 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12512
12513         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12514         and libgraphics to build on Cygwin.
12515
12516 2002-03-15  Juergen Vigna  <jug@sad.it>
12517
12518         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12519         inserting an Inset into the paragraph. I know this is not the best
12520         fix but we already use current_view in CutAndPaste so we will remove
12521         all of it's using at the same time.
12522
12523         * buffer.C (sgmlError): deactivated function till it is rewritten in
12524         the right mode, now it can create problems.
12525
12526         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12527         before accessing it.
12528
12529 2002-03-14  Juergen Vigna  <jug@sad.it>
12530
12531         * undo_funcs.C (textHandleUndo): do the right thing when updating
12532         the inset after the undo/redo.
12533
12534         * text2.C (setCursor): just some testcode for #44 not ready yet.
12535
12536         * undo_funcs.C (textHandleUndo): set the next() and previous()
12537         pointers of the paragraph to 0 before deleting otherwise we have
12538         problems with the Paragraph::[destructor].
12539
12540         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12541         on a paragraph insertion.
12542
12543 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12544
12545         * buffer.C (asciiParagraph): use += operator for char append to
12546         string.
12547
12548         * paragraph.C (getFontSettings): compare >= not just >
12549         (highestFontInRange): ditto
12550         (setFont): ditto
12551
12552 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12553
12554         * paragraph.C: change several algorithm to be more appripriate for
12555         the problem domain. This is lookip in FontList and in the InsetList.
12556
12557 2002-03-13  André Pönitz <poenitz@gmx.net>
12558
12559         * commandtags.h:
12560         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12561
12562 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12563
12564         * commandtags.h:
12565         * LyXAction.C:
12566         * lyxfunc.C:
12567         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12568
12569 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12570
12571         * Painter.C (display): anon helper function, adjust code for this
12572         change.
12573         (pixmap): remove function.
12574
12575         * Painter.h: remove private display variable.
12576
12577         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12578
12579 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12580
12581         * WorkArea.[Ch]: remove figinset_canvas cruft.
12582
12583 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12584
12585         * lyxtextclass.C (operator): add one item cache optimization.
12586
12587         * bufferlist.h: doxy changes
12588
12589         * bufferlist.C: ws changes
12590
12591         * DepTable.[Ch] (ext_exist): place const in the right spot.
12592
12593         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12594         call resizeInsets.
12595         (workAreaExpose): call resizeInsets when the with BufferView changes.
12596         (Dispatch): adjust for protectedBlank removal
12597         (specialChar): call updateInset if the insert went ok.
12598
12599         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12600         specialChar instead.
12601
12602         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12603
12604         * BufferView.h: doxy change
12605
12606         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12607
12608         * lyxtextclass.C (operator[]): remove non-const version
12609         (defaultLayout): remove non-const version
12610
12611 2002-03-12  Juergen Vigna  <jug@sad.it>
12612
12613         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12614         did resize the LyXText too.
12615
12616         * buffer.C (readLyXformat2): set layout information on newly allocated
12617         paragraphs.
12618
12619         * tabular.C (OldFormatRead): set layout information on the paragraph.
12620
12621 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12622
12623         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12624
12625 2002-03-11  Juergen Vigna  <jug@sad.it>
12626
12627         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12628         plainly wrong.
12629         (resizeCurrentBuffer): force also the insets to resize themselfes.
12630         (moveCursorUpdate): fixed up for InsetText.
12631
12632 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12633
12634         * commandtags.h:
12635         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12636         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12637         value of Dialogs::tooltipsEnabled().
12638         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12639
12640 2002-03-08  Juergen Vigna  <jug@sad.it>
12641
12642         * BufferView_pimpl.C (updateInset): update inset inside inset also
12643         if it isn't inside theLockingInset().
12644
12645 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12646
12647         * buffer.C (asciiParagraph): redo some of the word and line length
12648         handling.
12649         (getLists): look for Caption instead of caption.
12650
12651 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12652
12653         * buffer.C (Buffer): initialize niceFile to true
12654         (makeLaTeXFile):
12655         (makeLinuxDocFile):
12656         (makeDocBookFile): make sure niceFile is true on exit
12657
12658 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12659
12660         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12661
12662 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12663
12664         * LyXSendto.C: remove.
12665         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12666         * lyx_gui.C: remove now-redundant comment.
12667         * ColorHandler.h: remove forward declaration of class WorkArea.
12668         * lyxfunc.C: remove #include "WorkArea.h".
12669
12670 2002-03-07  Juergen Vigna  <jug@sad.it>
12671
12672         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12673         got moved away with the DEPM and also set the inset_owner always
12674         right which before could have been omitted.
12675
12676 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12677
12678         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12679         wanted layout is not found.
12680
12681 2002-03-07  Juergen Vigna  <jug@sad.it>
12682
12683         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12684
12685 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12686
12687         * paragraph.C (breakParagraph): use default layout not layout of
12688         prev paragraph.
12689         (Paragraph): clear ParagraphParameters.
12690
12691 2002-03-06  Juergen Vigna  <jug@sad.it>
12692
12693         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12694         otherwise it would not be a valid lenght. Fixed a special case in
12695         the minipage compatibility read where we end the document with a
12696         minipage.
12697
12698         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12699         was set as it could be 0 for InsetTexts first entry.
12700
12701 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * paragraph.C (writeFile): if layout is empty write out
12704         defaultLayoutName().
12705
12706         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12707         file without named layout we set layout to defaultLayoutName().
12708
12709 2002-03-06  Juergen Vigna  <jug@sad.it>
12710
12711         * CutAndPaste.C (copySelection): set layout for new paragraph.
12712
12713         * text.C (prepareToPrint): leave ERT inset left aligned
12714         (leftMargin): don't indent paragraphs inside ERT insets
12715
12716 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12717
12718         * paragraph.C (breakParagraph): dont call clear do the work manually
12719
12720         * paragraph.[Ch] (clear): remove function
12721
12722 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12723
12724         * paragraph.C (Paragraph): dont call clear, the work has already
12725         been done.
12726
12727         * lyxtextclass.C (operator): assert if n is empty
12728
12729         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12730         work manually instead.
12731
12732 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12733
12734         * BufferView_pimpl.C: protect selectionLost against text == 0
12735
12736 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12737
12738         * text.C (breakParagraph): fix a setting layout to '0' problem.
12739
12740 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12741
12742         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12743         final location of file, for the included files, and graphics.
12744
12745 2002-03-05  Juergen Vigna  <jug@sad.it>
12746
12747         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12748
12749 2002-03-04  Juergen Vigna  <jug@sad.it>
12750
12751         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12752
12753         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12754         last column of multicolumn cells.
12755         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12756
12757 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12758
12759         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12760         file if it doesn't go to a temporary file.
12761
12762         * buffer.C (sgmlOpenTag):
12763         (sgmlCloseTag):  remove extra newline insertion.
12764
12765 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12766
12767         * text.C (getRowNearY): comment out debug msg
12768
12769 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12770
12771         * text2.C: first -> first_y
12772
12773         * text.C (getRowNearY): add some attemts at a possible
12774         optimization, not working.
12775
12776         * tabular.[Ch]: add BufferParams to several function so that newly
12777         created paragraph can be initialized to he default layotu for the
12778         buffers textclass.
12779
12780         * tabular-old.C (ReadOld): add buf->params to call of Init
12781
12782         * screen.C: rename text->first to text->first_y
12783
12784         * paragraph.C (breakParagraph): always set layout in the broken
12785         paragraph
12786
12787         * lyxtextclass.C (Read): remove lowercase
12788         (hasLayout): ditto
12789         (operator): ditto
12790         (delete_layout): ditto
12791
12792         * lyxtext.h: rename first -> first_y
12793
12794         * lyxlayout.C (Read): remove lowercase
12795         (name): ditto
12796         (setName): ditto
12797         (obsoleted_by): ditto
12798
12799         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12800
12801         * buffer.C (insertErtContents): add params are to InsetERT
12802         (parseSingleLyXformat2Token): add code to check if a paragraphs
12803         layout really exist.
12804         (parseSingleLyXformat2Token): add params to several inset
12805         constructors
12806         (asciiParagraph): remove lowercase, do the layout comparisons with
12807         no_case
12808
12809         * BufferView_pimpl.C (cursorNext): first -> first_y
12810         (resizeCurrentBuffer): first -> first_y
12811         (updateScrollbar): first -> first_y
12812         (scrollCB): first -> first_y
12813         (workAreaMotionNotify): first -> first_y
12814         (workAreaButtonPress): first -> first_y
12815         (checkInsetHit): first -> first_y
12816         (cursorPrevious): first -> first_y
12817         (cursorNext): first -> first_y
12818         (Dispatch): add buffer_->params to severl inset contructors
12819
12820 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12821
12822         * lyxlayout.C (Read): remove some debug info that I forgot.
12823
12824         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12825         clean up the code slightly.
12826         (makeLinuxDocFile): ditto
12827         (makeDocBookFile): ditto
12828
12829         * text2.C: layout as string
12830
12831         * text.C: layout as string
12832
12833         * paragraph_pimpl.C: layout as string
12834
12835         * paragraph.[Ch]: layout as string
12836
12837         * lyxtextclasslist.[Ch]: layout as string
12838
12839         * lyxtextclass.[Ch]: layout as string
12840
12841         * lyxtext.h: layout as string
12842
12843         * lyxlayout.[Ch]: layout as string
12844
12845         * lyx_cb.C: layout as string
12846
12847         * bufferview_funcs.C: layout as string
12848
12849         * bufferparams.C: layout as string
12850
12851         * buffer.C: layout as string
12852
12853         * LyXView.[Ch]: layout as string
12854
12855         * LaTeXFeatures.[Ch]: layout as string
12856
12857         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12858
12859         * BufferView_pimpl.C: change current_layout to string, remove
12860         lyx::layout_type.
12861         (Dispatch):
12862         (smartQuote):
12863         (insertInset):
12864         (workAreaButtonRelease): layout as string
12865
12866         * BufferView2.C (unlockInset): adjust
12867
12868         * vspace.C (asLatexCommand): use an explict temp variable.
12869
12870 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12871
12872         * Makefile.am: use FRONTEND_*
12873
12874 2002-03-01  Juergen Vigna  <jug@sad.it>
12875
12876         * tabular.C (SetWidthOfMulticolCell): changed to something better
12877         I hope but still work in progress.
12878         (recalculateMulticolumnsOfColumn): renamed function from
12879         recalculateMulticolCells as it is more appropriate now.
12880         (SetWidthOfCell): calculate multicols better.
12881
12882 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12883
12884         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12885
12886         * lyxfunc.C (processKeySym): print sequence also if it is
12887         `deleted' (complete)
12888
12889         * kbsequence.C (print): print sequence even if it is deleted
12890         (complete would be a better word, actually).
12891
12892         * lyxfunc.C (dispatch): print complete options after a prefix key
12893
12894         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12895
12896 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12897
12898         * text2.C (setCharFont): eliminate setCharFont code duplication.
12899
12900 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12901
12902         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12903         LFUN_TABULAR_FEATURE (bug #177)
12904
12905 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12906
12907         * Makefile.am: remove figure.h
12908
12909 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12910
12911         * Bufferview_pimpl.C:
12912         * CutAndPasteC:
12913         * LaTeX.C:
12914         * LyXSendto.C:
12915         * buffer.C:
12916         * bufferlist.C:
12917         * converter.C:
12918         * language.C:
12919         * lyxfunc.C:
12920         * lyxvc.C:
12921         * paragraph.C:
12922         * text.C:
12923         * text2.C: remove #include "lyx_gui_misc.h".
12924
12925         * LaTeX.C: added #include <cstdio>
12926
12927 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12928
12929         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12930         that the paragraph following this one can have.
12931
12932         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12933
12934         * vspace.C (asLatexCommand): fix bogus gcc warning
12935
12936         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12937
12938 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12939
12940         * text2.C (setLayout): get rid of redundant code
12941
12942 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12943
12944         * text2.C (incDepth): make sure depth cannot be increased beyond
12945         reasonable values.
12946
12947 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12948
12949         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12950         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12951
12952         * PainterBase.h (image):
12953         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12954         a LyXImage const *.
12955
12956 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12957
12958         * BufferView.C:
12959         * BufferView.h:
12960         * BufferView_pimpl.C:
12961         * BufferView_pimpl.h:
12962         * LaTeXFeatures.C:
12963         * LyXAction.C:
12964         * LyXView.C:
12965         * Makefile.am:
12966         * UpdateList.h:
12967         * UpdateList.C:
12968         * buffer.C:
12969         * figure.h:
12970         * figureForm.C:
12971         * figureForm.h:
12972         * figure_form.C:
12973         * figure_form.h:
12974         * lyx_cb.C:
12975         * lyx_gui.C:
12976         * lyx_gui_misc.C:
12977         * lyxfunc.C:
12978         * sp_base.h:
12979         * sp_ispell.h:
12980         * sp_pspell.h:
12981         * sp_spell.C: remove fig inset, and the crap house of
12982           cards that follows it
12983
12984 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12985
12986         * Makefile.am:
12987         * lyxserver.C:
12988         * os2_defines.h:
12989         * os2_errortable.h:
12990         * nt_defines.h: move .h into support/
12991
12992         * vms_defines.h: remove
12993
12994         * WorkArea.C: add space in debug output
12995
12996         * text2.C:
12997         * paragraph.C:
12998         * buffer.C: add WITH_WARNINGS
12999
13000         * vc-backend.h:
13001         * vc-backend.C:
13002         * bufferlist.C: s/retrive/retrieve/, add docs
13003
13004         * vspace.h:
13005         * vspace.C:
13006         * kbmap.h:
13007         * lyxlength.h:
13008         * lyxgluelength.h:
13009         * length_common.h:
13010         * chset.h:
13011         * chset.C: add docs
13012
13013         * lyxgui.C: add ID to X error handler
13014
13015         * lyxtestclass.c: fix typo
13016
13017 2002-02-26  Juergen Vigna  <jug@sad.it>
13018
13019         * tabular_funcs.C (write_attribute): changed so that some default
13020         attributes are not written at all.
13021         (getTokenValue): set default values before trying to read the
13022         value so we have the return value always set as default if we don't
13023         find the token we search for.
13024
13025         * tabular.C (Write): write bools as bools not as strings!
13026
13027 2002-02-22  Juergen Vigna  <jug@sad.it>
13028
13029         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13030         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13031
13032         * text.C (leftMargin): don't add an indent for paragraphs inside
13033         tabular cells (fix #208).
13034
13035 2002-02-21  José Matos  <jamatos@fep.up.pt>
13036
13037         * tabular.C (docBook): fixed support for long tables.
13038
13039 2002-02-20  Juergen Vigna  <jug@sad.it>
13040
13041         * text2.C (getFont): get the drawing font of the Inset if this
13042         paragraph is inside an inset (only important for InsetERT for now).
13043
13044         * buffer.C (insertErtContents): use new lanugage params in ERT
13045         constructor.
13046
13047         * CutAndPaste.C: commenting out seemingly uneeded code.
13048
13049 2002-02-19  Allan Rae  <rae@lyx.org>
13050
13051         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13052         Iterators might be simple to use but they also get invalidated.
13053         (removeAutoInsets): renamed saved cursor tracking variables and added
13054         some comments to clarify what everything does.
13055
13056 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13057
13058         * Chktex.C:
13059         * LaTeX.C:
13060         * LyXSendto.C:
13061         * converter.C:
13062         * lyx_cb.C:
13063         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13064         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13065
13066         * lyxfunc.C:
13067         * vc-backend.h: remove #include "support/syscall.h"
13068
13069         * LaTeX.C:
13070         * LyXSendto.C:
13071         * converter.C: rearrange #includes in Lars' approved fashion.
13072
13073         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13074         forward declare class Timeout in the header file.
13075
13076         * XFormsView.C: changes due to the above.
13077
13078         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13079         similar to LyXView.
13080
13081         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13082         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13083
13084 2002-02-18  José Matos  <jamatos@fep.up.pt>
13085
13086         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13087         insets contents.
13088
13089 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13090
13091         * a lot of small ws changes
13092         * add a lot of using std::XXX
13093         * use std construcs some places where approp.
13094         * use some exisint stuff from lyxfunctional where approp.
13095         * Make file changes to use partial linking (lets test this now...)
13096
13097 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13098
13099         * Chktex.C:
13100         * buffer.C:
13101         remove #include "support/syscontr.h" as it's redundant. Always has been.
13102
13103         * Chktex.C:
13104         * LaTeX.C:
13105         * LyXSendto.C:
13106         * converter.C:
13107         * lyx_cb.C:
13108         * vc-backend.C:
13109         change Systemcalls::System to Systemcalls::Wait and
13110         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13111         No change of functionality, just reflects the stripped down Systemcalls
13112         class.
13113
13114 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13115
13116         * debug.[Ch]: add a GRAPHICS type to the enum.
13117
13118 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13119
13120         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13121
13122         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13123         there is an inset.
13124
13125 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13126
13127         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13128         match the changes below.
13129
13130         * text2.C (toggleInset): if there is not editable inset at cursor
13131         position, try to see if cursor is _inside_ a collapsable inset
13132         and close it.
13133
13134 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13135
13136         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13137         document menu has a nice checkbox
13138
13139 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13140
13141         * lyxlength.C (asLatexString): change PW to output as percent of
13142         \textwidth.
13143
13144         * lengthcommon.C: change '%' to 't%'
13145
13146         * lyxfunc.C (dispatch): a few comments from Martin
13147
13148 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13149
13150         * WorkArea.h:
13151         * WorkArea.C:
13152         * BufferView_pimpl.h:
13153         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13154           the X selection.
13155
13156 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13157
13158         * vspace.C (inPixels): fix compiler warning
13159
13160 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13161
13162         * lyxfunc.C (getStatus): fix status message for disabled commands.
13163
13164 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13165
13166         * BufferView_pimpl.C: fix crash on close buffer
13167         during selection (#227)
13168
13169 2002-01-27  Herbert Voss  <voss@lyx.org>
13170
13171         * buffer.C: link old Figure to new graphic inset
13172
13173 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13174
13175         * FontLoader.C (getFontinfo): Change the latex font names in order
13176         to match the names of type1inst.
13177
13178 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13179
13180         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13181
13182         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13183         (extchanged): ditto
13184         (ext_exist): ditto
13185         (remove_files_with_extension): ditto
13186         (remove_file): ditto
13187         (write): ditto
13188
13189         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13190         document is smaller than the work area height. Do not initialize
13191         static variables to 0.
13192
13193 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13194
13195         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13196
13197         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13198         LFUN_LAYOUT_PARAGRAPHS.
13199
13200         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13201         tabular. It is possible to provide a possible cell, which will
13202         typically be the actcell from the corresponding insettabular
13203
13204         * lyxfunc.C (getStatus): small cleanup; disable
13205         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13206         true
13207
13208 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13209
13210         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13211
13212         * paragraph.C (startTeXParParams):
13213         (endTeXParParams): new methods. The LaTeX code to
13214         start/end paragraph formatting
13215         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13216         empty (fixes bug #200)
13217
13218         * vspace.C (inPixels): adapt to the change below
13219         (inPixels): [later] more cleanups (remove unused variables)
13220
13221         * lyxlength.C (inPixels): change to use a width and a height as
13222         parameter.
13223
13224 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13225
13226         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13227         Replaced with \paperwidth
13228
13229         * DepTable.C (insert): add std:: qualifier
13230
13231 2002-01-18  Allan Rae  <rae@lyx.org>
13232
13233         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13234         updated also?
13235
13236         * text.C (drawInset): Turned out I didn't know enough about how
13237         rebreaking worked.  This fixes most of the redraw problems.  I see
13238         an occasional cursor trail when a line is broken now and the cursor
13239         placement can seem out by a few pixels also after a rebreak.
13240
13241 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13242
13243         * buffer.C (parseSingleLyXformat2Token): update because minipage
13244         width is now a LyXLength
13245
13246         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13247
13248         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13249         math insets
13250
13251 2002-01-17  Juergen Vigna  <jug@sad.it>
13252
13253         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13254
13255         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13256         is set correctly and the inset is updated correctly.
13257
13258 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13259
13260         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13261         the beginning of the loop.
13262
13263 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13264
13265         * lyxrc.C: improve help for use_scalable_fonts
13266
13267 2002-01-17  Allan Rae  <rae@lyx.org>
13268
13269         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13270
13271 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13272
13273         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13274         make sure to set their inset_owner to the right value (bug #171)
13275
13276 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13277
13278         * DepTable.h
13279         * DepTable.C: Implement mtime checking to reduce time spent doing
13280         CRCs.
13281
13282 2002-01-16  Juergen Vigna  <jug@sad.it>
13283
13284         * tabular.C (GetAdditionalHeight): one of error fixed.
13285
13286         * lyxrc.C (output): small fix in writing use_pspell.
13287
13288 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13289
13290         * sp_base.h: #include LString.h
13291
13292 2002-01-16  Allan Rae  <rae@lyx.org>
13293
13294         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13295         Can someone check this please?
13296
13297         * text.C (drawInset): It was possible that p.row would be removed by
13298         breakAgainOneRow upsetting a few other settings.  There may be another
13299         small tweak possible by setting need_break_row = 0 when p.row has been
13300         removed but I don't know enough about the logic here.
13301
13302 2002-01-15  Allan Rae  <rae@lyx.org>
13303
13304         * text.C (insertChar): removed conditional truism.
13305
13306         * BufferView2.C (removeAutoInsets): More tweaks.
13307         cur_par_prev could be a stray pointer.  Check for trailing empty line
13308         in case last line was cur_par and only had an error inset on it.
13309
13310 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13311
13312         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13313         absolute
13314
13315         * vc-backend.C (most methods):
13316         * exporter.C (Export):
13317         * converter.C (convert):
13318         (runLaTeX):
13319         * LyXSendto.C (SendtoApplyCB):
13320         * lyxfunc.C (dispatch):
13321         (menuNew):
13322         (open):
13323         (doImport):
13324         * lyx_cb.C (AutoSave):
13325         (InsertAsciiFile):
13326         * BufferView_pimpl.C (MenuInsertLyXFile):
13327         * buffer.C (runChktex): use Buffer::filePath().
13328
13329         * buffer.h: rename filename to filename_; rename filepath to
13330         filepath_ and make it private
13331         (filePath): new method
13332
13333         * buffer.C (writeFile): use fileName()
13334         (getLatexName):
13335
13336         * lyx_main.C (init): fix starting  of LyX when the binary is a
13337         link from so,ewhere else.
13338
13339         * minibuffer.C: include <cctype> for isprint
13340
13341 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13342
13343         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13344         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13345         name clash with InsetCollapsable's width function.
13346
13347 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13348
13349         * lastfiles.C: include <iterator>
13350
13351 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13352
13353         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13354         std::count.
13355
13356         * buffer.C (makeLaTeXFile): ditto.
13357         Also make loop operation more transparent.
13358
13359 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13360
13361         * ToolbarDefaults.C: remove trailing comma closing namespace.
13362
13363         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13364
13365         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13366         as in WorkArea.
13367
13368         * trans.C (Load): comment out unused variable, allowed.
13369
13370 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13371
13372         * minibuffer.[Ch] (append_char): new method to recieve input from the
13373         drop-down completion browser. If a key was pressed, then recieve this
13374         char and append it to the existing string.
13375         (peek_event): modify the positioning data passed to the completion
13376         browser so that it can be placed above the minibuffer rather than below.
13377 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13378
13379         * LyXAction.C (init): alloe error-next for readonly documents.
13380
13381         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13382         count.
13383
13384 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13385
13386         * bufferlist.C (readFile): create the buffer _after_ checking that
13387         the file exists.
13388
13389         * lyxfunc.C (verboseDispatch): fix handling of arguments
13390
13391         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13392
13393         * lyxrc.C: use string::erase() instead of initializing to "".
13394
13395
13396 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13397
13398         * BufferView_pimpl.h:
13399         * BufferView_pimpl.C:
13400         * WorkArea.h:
13401         * WorkArea.C:
13402         * text2.C: tell X when we have made a selection for copying
13403
13404 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13405
13406         * BufferView_pimpl.C (MenuInsertLyXFile):
13407         * lyxfunc.C (menuNew):
13408         (open):
13409         (doImport): add shortcuts to directory buttons
13410
13411         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13412         open a float)
13413
13414         * lyxfunc.C (setStatusMessage):
13415         (getStatusMessage): new methods
13416         (getStatus):use setStatusMessage instead of setErrorMessage
13417         (dispatch): when function is disabled, set error message here
13418         [instead of in getStatus previously]
13419
13420         * BufferView_pimpl.C (workAreaButtonRelease): update
13421         toolbar/menubar here too.
13422
13423 2002-01-13  Allan Rae  <rae@lyx.org>
13424
13425         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13426         Now seems indestructible.  Remaining task is to audit all other
13427         code affected by deleteEmptyParagraphMechanism.  One small quirk
13428         left is that an empty document with an error in the preamble can
13429         be made to report an error but no error box appears.  I don't know
13430         where it goes.
13431         (removeAutoInsets): Improved comments.
13432
13433 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13434
13435         * Thesaurus.h:
13436         * Thesaurus.C: update for Aiksaurus 0.14
13437
13438 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13439
13440         * text2.C (firstParagraph): removed member function, all uses
13441         replaces with ownerParagraph
13442         (redoParagraphs): here
13443         (updateInset): here
13444         (toggleAppendix): here
13445         * BufferView2.C (insertErrors): here
13446         (setCursorFromRow): here
13447
13448 2002-01-13  Allan Rae  <rae@lyx.org>
13449
13450         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13451         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13452         There is still a way to segfault this although you may have to do this
13453         multiple times: Have an InsetERT with an unknown command in it.
13454         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13455         <down-arrow>, <Enter> again, View->DVI, BANG!
13456
13457         * text2.C (setCursor):
13458         (deleteEmptyParagraphMechanism):
13459         * lyxtext.h (setCursor):
13460         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13461         Making use of the return value may help fix other bugs.
13462
13463 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13464
13465         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13466
13467         * LyXView.C (updateMenubar): call MenuBar::update here
13468         (updateToolbar): but not here
13469         (showState): do not update toolbar/menubar
13470
13471         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13472         should need to care about that.
13473
13474         * lyxfunc.C (verboseDispatch): simplify a bit
13475         (getStatus): have a version which takes a pseudoaction, and
13476         another which requires a (kb_action,string).
13477
13478         * LyXAction.C (retrieveActionArg): make it work also when action
13479         is not a pseudo-action.
13480         (getActionName): simplify a bit
13481         (helpText):
13482
13483 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13484
13485         * lyxfunc.C (verboseDispatch): new families of methods with
13486         several ways to specify a command and a bool to indicate whether
13487         the command name and shortcut should be displayed in minibuffer
13488         (eventually, we could extend that to a finer bitmask like
13489         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13490         (dispatch): the pristine dispatch command which just, well,
13491         dispatchs! Note it still sets its result to minibuffer; I'm not
13492         sure we want that.
13493
13494         * lyxfunc.h: remove setHintMessage
13495
13496         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13497
13498 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13499
13500         * BufferView_pimpl.C (specialChar): delete new inset if we have
13501         not been able to insert it.
13502
13503         * kbmap.C: revert to using int instead of kb_action, since all we
13504         are dealing with is pseudo-actions.
13505
13506         * LyXAction.C (searchActionArg): change to return int instead of
13507         kb_action, since the result is a pseudoaction.
13508
13509 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13510
13511         * buffer.C (insertErtContents): Fix (partially) the font bug.
13512
13513 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13514
13515         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13516         as the other one is broken on my machine!
13517
13518 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13519
13520         * commandtags.h:
13521         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13522
13523 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13524
13525         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13526         reflect their actual use. Provide compatibility code for older lyxrc
13527         files.
13528
13529         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13530         FL_NORMAL_STYLE.
13531         change names of popup font variables in line with the changes to lyxrc.C
13532
13533 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13534
13535         * buffer.C (asciiParagraph): avoid outputing a word twice after
13536         an inset.
13537
13538         * lyxrc.C (getDescription): document that document_path and
13539         template_path can be empty.
13540
13541 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13542
13543         * LaTeXFeatures.C (getMacros):
13544         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13545
13546         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13547
13548         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13549         getPackages.
13550         (getPackages): rename feature "floats" to "float". Use an array to
13551         iterate over 'simple' features (i.e. just a \usepackage). Add
13552         handling of "amsmath" (renamed from "amsstyle").
13553
13554 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13555
13556         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13557         features list.
13558
13559 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13560
13561         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13562         FuncStaus::FuncStatus & FuncStaus::some_method().
13563
13564 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13565
13566         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13567         of the func_satus stuff. Edited and massaged in various ways by
13568         JMarc.
13569
13570         * lyxfunc.C (getStatus): use FuncStatus
13571
13572 2002-01-08  Juergen Vigna  <jug@sad.it>
13573
13574         * text.C (nextBreakPoint): use function Inset::isChar().
13575
13576         * paragraph.C (TeXOnePar): use function
13577         Inset::forceDefaultParagraphs.
13578
13579         * buffer.C (latexParagraphs): use function
13580         Inset::forceDefaultParagraphs.
13581
13582 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13583
13584         * lyx_gui.C (init): set the style of the menu popups to
13585         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13586
13587 2002-01-07  Juergen Vigna  <jug@sad.it>
13588
13589         * text.C (setHeightOfRow): small fix
13590         (prepareToPrint): don't look at alignment if we don't have the place
13591         for doing it.
13592
13593 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13594
13595         * box.C: New file. Move the Box methods and functions out of box.h,
13596         following Lars' suggestion.
13597
13598 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13599
13600         * box.h: #include "support/LOstream.h", needed for inlined function.
13601
13602         * lyxtextclass.C:
13603         * lyxtextclasslist.C: added some using std declarations.
13604
13605 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13606
13607         * box.h: make signed dimensions to allow insets wider than
13608           the screen (bug #162)
13609
13610         * BufferView_pimpl.C: add some insetHit debug
13611
13612 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13613
13614         * vc-backend.C: add FIXME
13615
13616 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13617
13618         * lyxfunc.C (getStatus): enable code for showing math font status
13619         in toolbar/menu.
13620
13621 2002-01-07  Juergen Vigna  <jug@sad.it>
13622
13623         * text.C (nextBreakPoint): removed debug output not needed anymore.
13624
13625 2002-01-06  Juergen Vigna  <jug@sad.it>
13626
13627         * text.C (nextBreakPoint): fixed up this function we had this bug
13628         since ever but now hopefully we break row better.
13629         (insertChar): we have to check if an inset is the next char as it
13630         could now happen that a large inset is causing a break.
13631
13632 2002-01-05  Juergen Vigna  <jug@sad.it>
13633
13634         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13635         if it doesn't like to be drawed.
13636
13637 2002-01-04  Juergen Vigna  <jug@sad.it>
13638
13639         * BufferView2.C (lockInset): forgot to set a cursor.
13640
13641         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13642
13643 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13644
13645         * FormMathsPanel.C:
13646         * FormMathsPanel.h
13647         * MathsSymbols.C:
13648         * form_maths_panel.C:
13649         * form_maths_panel.h:
13650         * form_maths_panel.fd: implemented sub- and super- buttons in math
13651         panel.
13652
13653         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13654         (or ^ space) to be used as in TeX (req'd by André).
13655
13656         * lyxfunc.C: Allow ^ and _ again to be used both as
13657         super/subscript (mathed) and as themselves (in text).
13658
13659 2002-01-03  Allan Rae  <rae@lyx.org>
13660
13661         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13662         "LyX" or the filename of the current buffer if it has one.  This is a
13663         modified form of John Levon's patch.
13664
13665         * XFormsView.C (setWindowTitle): also set icon title.
13666
13667         * LyXView.h (setWindowTitle): signature changed.
13668         * XFormsView.h (setWindowTitle): ditto.
13669
13670 2002-01-02  Juergen Vigna  <jug@sad.it>
13671
13672         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13673
13674 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13675
13676         * screen.C (topCursorVisible): introduce a temp var for
13677         text->cursor.row(), handle the case where this row is null. (kindo
13678         hachish)
13679
13680         * text2.C (setCursor): add a couple of asserts.
13681
13682         * paragraph.h (inset_iterator): add -> operator
13683
13684         * paragraph.[Ch] (autoDeleteInsets): remove member function
13685
13686         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13687         cursor pos correctly and handle inset deletion by itself.
13688         (insertErrors): move iterator declaration out of for expression
13689
13690         * lyxtextclass.C: add <algorithm>
13691
13692         * Makefile.am: added the new files to sources, removed layout.C
13693
13694         * layout.C: removed file
13695
13696         * layout.h: remove LYX_DUMMY_LAYOUT
13697
13698         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13699         layout.
13700
13701         * lyxlayout.[Ch]:
13702         * lyxtextclass.[Ch]:
13703         * lyxtextclasslist.[Ch]: new files
13704
13705         * include order changes to a lot of files, also changes because of
13706         the six new files.
13707
13708 2001-12-27  Juergen Vigna  <jug@sad.it>
13709
13710         * buffer.C (asciiParagraph): more fixes.
13711
13712         * tabular.C (ascii): make ascii export support export of only the
13713         data separated by a column-delimiter.
13714         (ascii): better support for ascii export.
13715
13716         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13717
13718 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13719
13720         * tabular_funcs.C: use a "using std::getline" instead of the
13721         previous fix from Angus (necessary for cxx + lyxstring)
13722
13723 2001-12-24  Juergen Vigna  <jug@sad.it>
13724
13725         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13726
13727         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13728         problems. First check a minipage also if we have some ert-contents
13729         (not only on par->size(), second set the right depth of the paragraph
13730         on the relink to the root-paragraph-list!
13731
13732         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13733         which then did not anymore update the main paragraphs on undo/redo!
13734
13735 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13736
13737         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13738         code. Support all font-changing funcs (even those which are not in
13739         menu currently). Support for reporting font settings in
13740         mathed (disabled until Andre provides a function on mathed's side).
13741
13742         * func_status.h (toggle): small helper function to set toggle
13743         state on a flag.
13744
13745 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13746
13747         * tabular_funcs.C: getline -> std::getline
13748
13749 2001-12-21  Juergen Vigna  <jug@sad.it>
13750
13751         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13752         accessed and could be 0 (I couldn't generate this but it seems
13753         Michael could!).
13754
13755 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13756
13757         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13758         * tabular_funcs.h: here and include iosfwd
13759
13760 2001-12-20  Juergen Vigna  <jug@sad.it>
13761
13762         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13763         inside inset but undo_par was.
13764
13765 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13766
13767         * Thesaurus.C: always include <config.h> in sources.
13768
13769         * Painter.h:
13770         * lyxlookup.h:
13771         * box.h: do not include <config.h> in header files
13772
13773         * text.C (paintLastRow): remove unused variable
13774
13775         * text.C (transformChar):
13776         (insertChar):
13777         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13778
13779         * Painter.C (text):
13780         * font.C (width): rewrite to use uppercase() instead of
13781         islower/toupper.
13782
13783         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13784
13785 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13786
13787         * lyxfind.C: clean up of find failure position change
13788
13789 2001-12-20  Juergen Vigna  <jug@sad.it>
13790
13791         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13792
13793         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13794         (TeXRow): added to LaTeX a single tabular row.
13795         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13796         (Latex): simplified and finally good LT-h/f support.
13797         (various_functions): just small adaptions for LT-h/f support.
13798
13799         * tabular_funcs.[hC]: added and moved here all not classfunctions
13800         of LyXTabular.
13801
13802 2001-12-19  Juergen Vigna  <jug@sad.it>
13803
13804         * tabular.[Ch]: better support for longtabular options (not finished
13805         yet!)
13806
13807 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13808
13809         * text.C (paintLastRow): use the label font instead of the font of
13810         the last character to compute the size of *_BOX. This makes more
13811         sense and avoids a crash with empty paragraphs.
13812         Use Painter::rectangle to draw EMPTY_BOX.
13813
13814 2001-12-19  Juergen Vigna  <jug@sad.it>
13815
13816         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13817         the paragraphs if the replaced paragraph is not the first one!
13818         Tried to delete not used paragraphs but does not work yet so for
13819         now it's inside #ifdef's and by default off!
13820
13821 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13822
13823         * MenuBackend.C: include "lyx_main.h" instead of declaring
13824         lastfiles (actually was declared as LastFiles* instead of a
13825         scoped_ptr).
13826
13827 2001-12-17  Juergen Vigna  <jug@sad.it>
13828
13829         * tabular.C (AppendColumn): applied John's fix
13830
13831 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13832
13833         * BufferView.h:
13834         * BufferView.C:
13835         * BufferView_pimpl.h:
13836         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13837
13838         * Makefile.am:
13839         * box.h: new start of class for above
13840
13841         * lyxfunc.C: ignore space-only minibuffer dispatches.
13842           Show the command name when it doesn't exist
13843
13844         * minibuffer.C: don't add empty lines to the history
13845
13846         * minibuffer.C: add a space on dropdown completion
13847
13848 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13849
13850         * text.C: fix line above/below drawing in insets
13851
13852 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13853
13854         * lyxlength.C (LyXLength): Initialize private variables.
13855
13856 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13857
13858         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13859         when inserting error insets.
13860
13861 2001-12-13  Juergen Vigna  <jug@sad.it>
13862
13863         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13864         actually sometimes the before-paragraph.
13865         (setUndo): don't clear the redostack if we're not actually undoing!
13866
13867 2001-12-06  Juergen Vigna  <jug@sad.it>
13868
13869         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13870         and fixed redoing of main paragraph, so we can use it now ;)
13871
13872         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13873
13874 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13875
13876         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13877         Juergen's request
13878
13879 2001-12-13  André Pönitz <poenitz@gmx.net>
13880
13881         * undostack.[Ch]:
13882         * undo_func.C: minor cleanup
13883
13884 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13885
13886         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13887         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13888         font in urw-fonts package which is marked as -urw-fontspecific and
13889         does not work (incidentally, changing the encoding in the
13890         fonts.dir of this package to -adobe-fontspecific fixes the
13891         problem).
13892
13893         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13894         is a crash when undoing first paragraph (Juergen, please take a
13895         look). THis does not mean the undo fix is wrong, just that it
13896         uncovers problems.
13897
13898         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13899         the (Paragraph*) version when needed instead of duplicating the
13900         code.
13901
13902         * text.C (workWidth): use Inset::parOwner to find out where the
13903         inset has been inserted. This is a huge performance gain for large
13904         documents with lots of insets. If Inset::parOwner is not set, fall
13905         back on the brute force method
13906
13907         * paragraph_pimpl.C (insertInset):
13908         * paragraph.C (Paragraph):
13909         (cutIntoMinibuffer): set parOwner of insets when
13910         inserting/removing them
13911
13912         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13913
13914 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13915
13916         * commandtags.h:
13917         * LyXAction.C:
13918         * lyx_main.C:
13919         * lyxfunc.C:
13920         * mathed/formulabase.C:
13921         * mathed/math_cursor.[Ch]:
13922         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13923
13924
13925 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13926
13927         * lyxlength.[Ch] (operator!=): new function
13928
13929 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13930
13931         * text.C (workWidth): use Inset::parOwner to find out where the
13932         inset has been inserted. This is a huge performance gain for large
13933         documents with lots of insets. If Inset::parOwner is not set, fall
13934         back on the brute force method
13935
13936         * paragraph_pimpl.C (insertInset):
13937         * paragraph.C (Paragraph):
13938         (cutIntoMinibuffer): set parOwner of insets when
13939         inserting/removing them
13940
13941         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13942
13943 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13944
13945         * tabular-old.C (getTokenValue):
13946         * tabular.C (getTokenValue):
13947         (write_attribute): new versions for LyXLength
13948         (everywhere): adjust the use of widths
13949
13950         * tabular.h: change the type of widths from string to LyXLength
13951
13952 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13953
13954         * paragraph.C: fixed missing line number count when exporting
13955         Environments to LaTeX file
13956
13957         * buffer.C: added informational message for checking line numbers.
13958
13959 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13960
13961         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13962         paragraph, do the 'double space' part, but not the 'empty
13963         paragraph' one.
13964
13965         * text.C (workWidth): small optimization
13966         (getLengthMarkerHeight): use minimal size for negative lengths.
13967
13968 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13969
13970         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13971
13972         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13973
13974 2001-12-11  André Pönitz <poenitz@gmx.net>
13975
13976         * FontLoader.C:
13977         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13978
13979 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13980
13981         * text2.C: keep selection on a setFont()
13982
13983 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13984
13985         * lyx_cb.C: another bv->text misuse, from insert label
13986
13987 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13988
13989         * kbsequence.h:
13990         * kbsequence.C: re-instate nmodifier mask
13991
13992 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13993
13994         * lyx_main.h: make lyxGUI private.
13995
13996 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13997
13998         * lyxfind.C: place the cursor correctly on failed search
13999
14000 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14001
14002         * text.C (getLengthMarkerHeight): for small heights, the arrows
14003         are not always on top/bottom of the text
14004         (drawLengthMarker): smaller arrows; take the left margin in
14005         account; draw also vfills.
14006         (paintFirstRow):
14007         (paintLastRow): remove special code for vfill and standard spaces,
14008         since everything is handled in drawLengthMarker now.
14009
14010 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14011
14012         * buffer.C (insertErtContents): try to handle font and language
14013         interaction a bit better.g
14014
14015         * ColorHandler.C (updateColor): change the hash to cover the whole
14016         LColor enum, ws cleanup
14017         (getGCLinepars): ditto
14018         (getGCLinepars): only lookup in the linecache once.
14019
14020 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14021
14022         * iterators.C (operator++): Make the iterator more robust
14023
14024         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14025         (John's patch)
14026         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14027
14028 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14029
14030         * lyxtext.h:
14031         * text.C: better added space drawing
14032
14033 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14034
14035         * LyXView.C:
14036         * BufferView2.C: fix layout combo update on inset unlock
14037
14038 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14039
14040         * Makefile.am: don't compile unused files
14041
14042 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14043
14044         * lyxfunc.C:
14045         * commandtags.h:
14046         * LyXAction.C: remove old LFUN_LAYOUTNO
14047
14048 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14049
14050         * paragraph_pimpl.h:
14051         * paragraph_pimpl.C: isTextAt() doesn't need font param
14052
14053 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14054
14055         * lyxlex.h:
14056         * lyxlex.C: little cleanup
14057
14058 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14059
14060         * BufferView_pimpl.C: fix insertAscii for insets
14061
14062 2001-12-05  Juergen Vigna  <jug@sad.it>
14063
14064         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14065         set the right font on the "multi" paragraph paste!
14066
14067 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14068
14069         * trans_decl.h:
14070         * trans_mgr.[Ch]:
14071         * trans.[Ch]:
14072         * lyxgluelength.C:
14073         * lyxlength.C: remove out-commented code.
14074
14075         * BufferView_pimpl:
14076         * CutAndPaste.C:
14077         * DepTable.C:
14078         * buffer.C:
14079         * chset.C:
14080         * lastfiles.C:
14081         * lyxlex.C:
14082         * lyxlex_pimpl.C:
14083         * lyxserver.C:
14084         * screen.C:
14085         * tabular-old.C:
14086         * tabular.C:
14087         * text.C:
14088         * trans_mgr.C:
14089         * vc-backend.C: change "while(" to "while ("
14090
14091         * lyxlength.[Ch]: add zero function to check if length is zero or
14092         not
14093         * lyxgluelength.C: use it
14094
14095 2001-12-05  Allan Rae  <rae@lyx.org>
14096
14097         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14098         Works for 2.95.3, from what I understand of Garst's reports this should
14099         work for other g++ versions.  We're screwed if the abs(int) definition
14100         changed between bugfix releases of gcc.
14101
14102 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14103
14104         * text.C: fix chapter label offset !
14105
14106 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14107
14108         * lyxtext.h:
14109         * text.C: fix hfill at end of line, clean up
14110
14111 2001-12-04  Juergen Vigna  <jug@sad.it>
14112
14113         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14114         that we force an update of the inset and it's owners if neccessary.
14115
14116 2001-12-03  Juergen Vigna  <jug@sad.it>
14117
14118         * text.C (rowLast): simplified code
14119
14120 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14121
14122         * lyxfunc.C: fix show options on timeout
14123
14124 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14125
14126         * screen.C (topCursorVisible): scroll half a page when the cursor
14127         reached top of bottom of screen
14128
14129 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14130
14131         * minibuffer.C: deactivate on loss of focus
14132
14133 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14134
14135         * vspace.[Ch] (operator!=): add operator.
14136
14137 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14138
14139         * BufferView_pimpl.C: refuse to open an inset when
14140         there's a selection.
14141
14142 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14143
14144         * BufferView_pimpl.C: allow to click on RHS of full row insets
14145
14146 2001-11-30  Juergen Vigna  <jug@sad.it>
14147
14148         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14149         insets for undo reasons.
14150
14151 2001-11-28  André Pönitz <poenitz@gmx.net>
14152
14153         * vspace.[Ch]: cosmetical changes
14154
14155 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14156
14157         * LyXAction.h:
14158         * LyXAction.C:
14159         * lyxfunc.h:
14160         * lyxfunc.C:
14161         * kbmap.h:
14162         * kbmap.C:
14163         * lyxrc.C:
14164         * kbsequence.h:
14165         * kbsequence.C: part re-write of old kb code
14166
14167         * Painter.C:
14168         * WorkArea.C: remove Lgb_bug_find_hack
14169
14170 2001-11-30  José Matos <jamatos@fep.up.pt>
14171
14172         * buffer.C (makeDocBookFile): add a comment to point a hack.
14173         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14174         Fixed a double write of labels.
14175
14176 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14177
14178         * LaTeX.C:
14179         * LaTeX.h Fixed bug in LaTeX class where it would not
14180         re-run latex if no depfiles were changed, but the .dvi was removed.
14181
14182 2001-11-28  André Pönitz <poenitz@gmx.net>
14183
14184         * all the files from the change on 2001/11/26:
14185         use lyx::layout_type instead of LyXTextClass::size_type
14186         use lyx::textclass_type instead of LyXTextClassList::size_type
14187
14188 2001-11-29  Juergen Vigna  <jug@sad.it>
14189
14190         * text.C: added support for paragraph::isFreeSpacing()
14191
14192         * buffer.C: same as above
14193
14194         * paragraph.h: inserted isFreeSpacing() function to enable
14195         FreeSpacing inside InsetERT.
14196
14197         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14198         of the paragraph's in the cut/copy buffer to 0!
14199
14200         * text2.C (removeRow): remove the assert as it can!
14201
14202         * lyxtext.h: added helper function firstRow returning firstrow and
14203         made firstrow private again.
14204
14205         * BufferView2.C (lockInset): don't relock if we're already locked!
14206
14207         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14208         the only paragraph.
14209         (removeRow): added Assert::(firstrow)
14210
14211         * debug.C: forgot to add INSETTEXT here.
14212
14213 2001-11-28  Juergen Vigna  <jug@sad.it>
14214
14215         * sp_spell.C (initialize): changed error text to more general
14216         spellchecker command use (not only ispell!)
14217
14218         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14219
14220         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14221
14222 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14223
14224         * vspace.C: initialise lyxgluelength on failure
14225
14226 2001-11-28  Allan Rae  <rae@lyx.org>
14227
14228         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14229         declaration & definition that looks like a function declaration.
14230
14231 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14232
14233         * BufferView2.C (copy):
14234         (copyEnvironment): do not clear the selection when doing a copy.
14235
14236         * text.C (paintFirstRow): compilation fix
14237
14238 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14239
14240         * tabular.C (Latex): correct line count when writing latex.
14241
14242 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14243
14244         * paragraph_pimpl.h:
14245         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14246           bug a bit
14247
14248 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14249
14250         * text.C:
14251         * LColor.h:
14252         * LColor.C: change vfillline->added_space
14253
14254         * text.C: add markers and text for added space
14255
14256         * vspace.C: fix comment
14257
14258 2001-11-28  André Pönitz <poenitz@gmx.net>
14259
14260         * paragraph.C: whitespace changes
14261         * all the other files from the change on 2001/11/26:
14262         change *::pos_type into lyx::pos_type
14263
14264 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14265
14266         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14267         language of the document when inserting error insets.
14268
14269 2001-11-26  André Pönitz <poenitz@gmx.net>
14270
14271         * BufferView_pimpl.[Ch]:
14272         *       CutAndPaste.C:
14273         * buffer.[Ch]:
14274         * lyxcursor.[Ch]:
14275         * lyxfind.C:
14276         * lyxfunc.C:
14277         * lyxrow.[Ch]:
14278         * paragraph.[Ch]:
14279         * paragraph_pimpl.[Ch]:
14280         * sp_spell.C:
14281         * text.C:
14282         * text2.C: reduce header dependencies, introduce type for positions
14283
14284 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14285
14286         * <various>: change to use Alert.h
14287
14288 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14289
14290         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14291         when encountering an unknown token.
14292         (readLyXformat2): Show an error message if there were unknown tokens.
14293
14294 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14295
14296         * BufferView2.C:
14297         * BufferView_pimpl.C:
14298         * buffer.C:
14299         * paragraph.h:
14300         * text.C:
14301         * text2.C: use par->isInset()
14302
14303 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14304
14305         * paragraph_pimpl.h:
14306         * paragraph_pimpl.C: cleanup
14307
14308 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14309
14310         * text2.C (removeRow):
14311         * text.C (setHeightOfRow): remove useless (and costly) call to
14312         getRow.
14313
14314 2001-11-20  Allan Rae  <rae@lyx.org>
14315
14316         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14317         Now need Inset*::checkInsertChar() to return true for appropriate
14318         cases so that the characters in the minibuffer will actually be
14319         inserted.
14320
14321 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14322
14323         * text.C: change the order of the includes.
14324         (workWidth): initialize it at once.
14325         (workWidth): make maxw unsigned
14326         (setHeightOfRow): remove unused variable (inset)
14327         (selectSelectedWord): remove unused variable (inset)
14328         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14329
14330 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14331
14332         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14333         server is not running.
14334         (openConnection):
14335         (closeConnection): add debug info when server is disabled.
14336
14337         * ColorHandler.C (getGCForeground): send debug message to GUI
14338         channel.
14339
14340         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14341
14342         * kbmap.C (bind): modify because return conventions of
14343         kb_sequence::parse have changed.
14344
14345         * kbsequence.C (parse): only ignore spaces and not any stupid
14346         control character. This avoids tests like s[i] <= ' ', which are
14347         guaranteed to fail with 8bit characters and signed chars.
14348         Change return code to string::npos when there have been no error
14349         (0 was a bad idea when error is at first character)
14350
14351 2001-11-14  José Matos  <jamatos@fep.up.pt>
14352
14353         * buffer.h:
14354         * buffer.C (simpleDocBookOnePar): removed unused argument.
14355
14356 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14357
14358         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14359         insets which are part of a word. Paragraph::isLetter takes care of
14360         that now. Use Paragraph::isInset to identify insets.
14361         (selectSelectedWord): do not test for hyphenation break.
14362
14363         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14364         that protected spaces are considered as spaces.
14365
14366         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14367         Inset::isLetter.
14368
14369 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14370
14371         * lyxserver.h:
14372         * lyxserver.C: fix it. and small cleanup.
14373
14374 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14375
14376         * BufferView_pimpl.C: use inline helpers
14377
14378         * LaTeXFeatures.h:
14379         * LaTeXFeatures.C: fix typos
14380
14381         * Spacing.h:
14382         * Spacing.C: move spacing_string into class
14383
14384         * ToolbarDefaults.C: move stuff into namespace anon
14385
14386         * layout.h: update enum
14387
14388         * lyxfunc.C: use better debug
14389
14390         * minibuffer.h: fix typo
14391
14392         * debug.h:
14393         * debug.C:
14394         * WorkArea.C: add and use Debug::WORKAREA
14395
14396         * lyxtext.h:
14397         * text.C:
14398         * text2.C: code re-organisation, inline helpers
14399
14400 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14401
14402         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14403         std::vector.empty().
14404
14405 2001-11-09  Allan Rae  <rae@lyx.org>
14406
14407         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14408         '\n's after tables.  Tabular and ERT inset work now makes this no
14409         longer necessary.
14410
14411 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14412
14413         * minibuffer.h:
14414         * minibuffer.C: fix crash, improve drop-down completion
14415
14416 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14417
14418         * lyxserver.h:
14419         * lyxserver.C: invalidate fd's when doing endPipe()
14420
14421 2001-11-08  José Matos  <jamatos@fep.up.pt>
14422
14423         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14424         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14425
14426         * paragraph.h:
14427         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14428
14429 2001-11-07  José Matos  <jamatos@fep.up.pt>
14430
14431         * buffer.h:
14432         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14433         const qualifier.
14434
14435         * buffer.C (sgmlOpenTag):
14436         * buffer.C (sgmlCloseTag): removed debug info.
14437
14438         * buffer.h (sgmlOpenTag):
14439         * buffer.h (sgmlCloseTag): made public.
14440
14441 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14442
14443         * buffer.C (saveParamsAsDefaults):
14444         * lyx_cb.C (MenuLayoutSave): remove
14445
14446         * LyXAction.C (init):
14447         * commandtags.h:
14448         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14449
14450 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14451
14452         * buffer.C (setPaperStuff): removed from here...
14453
14454         * bufferparams.C (setPaperStuff): ... and moved there.
14455
14456 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14457
14458         * minibuffer.h:
14459         * minibuffer.C:
14460         * XFormsView.C: add support for drop-down completion
14461
14462 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14463
14464         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14465         commands.
14466
14467 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14468
14469         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14470         disabled.
14471
14472 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14473
14474         * lyx_main.C: change ref to known bugs
14475
14476 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14477
14478         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14479         to work around older babel problems.
14480
14481 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14482
14483         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14484
14485 2001-10-24  Juergen Vigna  <jug@sad.it>
14486
14487         * tabular-old.C (ReadOld): below variable changes reflected.
14488
14489         * tabular.[Ch]: added ltType struct for longtable header/footer
14490         defines and changed all instances where they are used. Added
14491         future support for double top/bottom rows.
14492
14493 2001-10-24  José Matos  <jamatos@fep.up.pt>
14494
14495         * buffer.h (docbookHandleCaption):
14496         * buffer.C (docbookHandleCaption): removed unused function.
14497         (makeDocBookFile): moved docbook supported version to v4.1.
14498
14499 2001-10-24  José Matos  <jamatos@fep.up.pt>
14500
14501         * tabular.h:
14502         * tabular.C (docbookRow): new function to export docbook code of a row.
14503         (DocBook): now honors the longtable flags.
14504
14505 2001-10-23  José Matos  <jamatos@fep.up.pt>
14506
14507         * LaTeXFeatures.h:
14508         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14509         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14510
14511         * buffer.C (makeLinuxDocFile):
14512         (makeDocBookFile): reworked the preamble, more clean, and with
14513         support for lyx defined entities. Changed the document declaration
14514         to be more XML friendly.
14515
14516         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14517         if we need to output XML that should be done with a filter.
14518
14519 2001-10-22  Juergen Vigna  <jug@sad.it>
14520
14521         * sp_pspell.h (class PSpell): add alive function needed in the
14522         controller to see if the spellchecker could be started.
14523
14524 2001-10-22  Juergen Vigna  <jug@sad.it>
14525
14526         * buffer.C (insertStringAsLines): modify the font for inserting
14527         chars in certain conditions by calling checkInsertChar(font).
14528
14529 2001-10-19  Juergen Vigna  <jug@sad.it>
14530
14531         * text.C (workWidth): use getRow instead of wrong algorithm.
14532         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14533
14534 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14535
14536         * lyxserver.h:
14537         * lyxserver.C:
14538         * lyx_main.h:
14539         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14540
14541 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14542
14543         * text.C (workWidth): do not search for the exact row when
14544         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14545         optimization for big documents.
14546
14547 2001-10-18  Juergen Vigna  <jug@sad.it>
14548
14549         * text.C (workWidth): new function with added Inset * parameter.
14550
14551 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14552
14553         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14554
14555         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14556         change return type of getColumnNearX.
14557
14558
14559         * text.C (changeRegionCase): use uppercase/lowercase instead of
14560         toupper/tolower.
14561         (leftMargin):
14562         (rightMargin): simplify code by factoring out the uses of
14563         textclasslist.
14564         (labelFill):
14565         (numberOfHfills):
14566         (setHeightOfRow):
14567         (appendParagraph): use Paragraph::size_type
14568
14569 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14570
14571         * vspace.C (asLatexString): add a missing break
14572
14573 2001-10-15  Herbert Voss  <voss@perce.de>
14574
14575         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14576
14577 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14578
14579         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14580         is not available.
14581
14582 2001-10-10  André Pönitz <poenitz@gmx.net>
14583
14584         * lyxfunc.C: removed greek_kb_flag.
14585
14586 2001-10-10  Herbert Voss  <voss@perce.de>
14587
14588         * lyx_main.C: delete global string help_lyxdir.
14589
14590 2001-10-09  Herbert Voss  <voss@perce.de>
14591
14592         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14593
14594         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14595
14596         * lyx_main.C: added global string help_lyxdir.
14597
14598         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14599
14600 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14601
14602         * lyxrc.C (set_font_norm_type): support iso8859-4
14603
14604 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14605
14606         * LaTeX.C (deplog): add another regex for MikTeX
14607
14608 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14609
14610         * lyxrc.C (set_font_norm_type): support iso8859-3
14611
14612 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14613
14614         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14615
14616         * LaTeXFeatures.C: remove special case of french and index
14617
14618         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14619         before \begin{document}). This solves several incompatibilities.
14620
14621 2001-10-03  Garst Reese  <reese@isn.net>
14622
14623         * lyx_cb.C: change CheckTex error msg.
14624
14625 2001-10-03  José Matos  <jamatos@fep.up.pt>
14626
14627         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14628
14629 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14630
14631         * .cvsignore: update
14632
14633         * lyx_main.C (commandLineVersionInfo): use new style version info.
14634
14635         * buffer.C (writeFile):
14636         (makeLaTeXFile):
14637         (makeLinuxDocFile):
14638         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14639
14640         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14641
14642         * version.h: update to use stuff in version.C
14643
14644         * version.C.in: new file. Contains version information determined
14645         at compile time. This is a merging of version.h and
14646         version_info.h.in.
14647
14648 2001-10-03  Juergen Vigna  <jug@sad.it>
14649
14650         * BufferView_pimpl.C (update): don't change "dirty" status in
14651         updateInset call.
14652
14653 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14654
14655         * WorkArea.C (c-tor): re-position version string slightly.
14656
14657 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14658
14659         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14660         revert to previous code.
14661
14662         WorkArea.[Ch]: (show, destroySplash): methods removed.
14663
14664         WorkArea.C: rework code so that it's an amalgam of the codes before and
14665         after the splash screen was moved to WorkArea.
14666
14667 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14668
14669         * lyxrc.C (read):
14670         * vspace.C (inPixels):
14671         (lyx_advance):
14672         * kbmap.C (bind):
14673         * buffer.C (insertStringAsLines):
14674         (asciiParagraph): fix types to be large enough
14675
14676         * lyxlex_pimpl.h: change member status from short to int
14677
14678         * layout.h: fix type of endlabeltype
14679
14680         * kbmap.C (bind):
14681         * kbsequence.C (parse): change return type to string::size_type
14682
14683         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14684         variable
14685
14686         * Bullet.C (bulletSize):
14687         (bulletEntry): do not use short ints as parameters
14688
14689         * BufferView2.C (insertLyXFile): change a char to an int.
14690
14691         * WorkArea.C (WorkArea): remove unneeded floats in computation
14692
14693 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14694
14695         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14696
14697         * paragraph.C (asString): Do not ignore newline/hfill chars when
14698         copying to the clipboard.
14699
14700 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14701
14702         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14703         after a multi-line inset.
14704
14705 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14706
14707         * paragraph.C (validate): Set NeedLyXFootnoteCode
14708
14709 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14710
14711         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14712         and decrease-error to decrease.
14713
14714 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14715
14716         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14717         it more readable (should be equivalent)
14718
14719 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14720
14721         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14722
14723 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14724
14725         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14726         of a cursor (row, etc.) after a character has been deleted
14727         (deleteEmptyParagraphMechanism): call the method above on _all_
14728         cursors held by the LyXText when a double space has been
14729         detected/deleted.
14730
14731 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14732
14733         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14734         pixmap.
14735         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14736
14737         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14738         background. Use greyOut() and the new show() methods to toggle between
14739         the foreground and background. Add code to remove the splash after
14740         its initial showing.
14741
14742         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14743         (create_forms): no longer call Dialogs::showSplash.
14744
14745 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14746
14747         * .cvsignore: add version_info.h
14748
14749 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14750
14751         * version_info.h.in: new file
14752
14753         * Makefile.am: add version_info.h.in
14754
14755         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14756         version_info.h instead of VERSION_INFO
14757
14758 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14759
14760         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14761         The ERT inset now returns string().
14762
14763 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14764
14765         * lyxtext.h, text.C (selectNextWord): renamed as
14766         selectNextWordToSpellcheck.
14767
14768         * text.C (selectNextWordToSpellcheck): Modified to not select
14769         words inside an ERT inset.
14770
14771 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14772
14773         * lyx_cb.C (MenuLayoutSave): change a bit the question
14774
14775         * sp_base.h: include <sys/types.h>
14776
14777 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14778
14779         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14780
14781 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14782
14783         * several files: fix typos in user-visible strings
14784
14785 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14786
14787         * text2.C (pasteSelection): do not set the selection, since it
14788         will be cleared later. Actually, the intent was to fix the way the
14789         selection was set, but I figured rmoving the code was just as good.
14790
14791 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14792
14793         * FontLoader.C (available): Check if font is available without
14794         loading the font.
14795
14796 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14797
14798         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14799
14800 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14801
14802         * lyxrc.[Ch]: added display_graphics variable and associated code.
14803
14804 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14805
14806         * bufferparams.C (hasClassDefaults): new method. Returns true if
14807         the buffer parameters correspond to known class defaults
14808
14809 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14810
14811         * XFormsView.C (show): set minimum size to the main window.
14812
14813 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14814
14815         * text2.C (copySelection):
14816         (cutSelection):
14817         * lyxfind.C (LyXReplace):
14818         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14819         LyXText::selectionAsString.
14820
14821         * paragraph.C (asString): add "label" argument to the second form
14822
14823         * text2.C (selectionAsString): add "label" argument and pass it to
14824         Paragraph::asString.
14825
14826 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14827
14828         * lyx_main.C (commandLineHelp): remove version information
14829
14830 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14831
14832         * lyx_main.C: add -version commandline option
14833
14834 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14835
14836         * paragraph.h: make the optional constructor arg required instead.
14837         some modifications to other files because of this.
14838
14839         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14840
14841         * lyxserver.C (C_LyXComm_callback): make it static
14842
14843         * lyx_main.C (error_handler): make it static
14844
14845         * lyx_gui.C (LyX_XErrHandler): make it static
14846
14847         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14848
14849         * WorkArea.C: make the extern "C" methods static.
14850
14851         * Makefile.am (lyx_LDADD): simplify
14852
14853 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14854
14855         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14856         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14857
14858         * LyXAction.C (init):
14859         * lyxfunc.C (dispatch): associated code removal.
14860
14861 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14862
14863         * lyxfont.h (isSymbolFont): shut off warning
14864
14865         * text.C (setHeightOfRow):
14866         (getVisibleRow): fix crash with empty paragraphs which have a
14867         bottom line
14868
14869 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14870
14871         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14872         code.
14873
14874 2001-09-04  José Matos  <jamatos@fep.up.pt>
14875         * buffer.C
14876         * buffer.h
14877         * tabular.C (docbook): rename docBook method to docbook.
14878
14879 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14880
14881         * Makefile.am: add dependencies to main.o.
14882
14883 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14884
14885         * FontLoader.C (available): Return false if !lyxrc.use_gui
14886
14887 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14888
14889         * FontInfo.C (query):
14890         * converter.C (view):
14891         * importer.C (Import):
14892         * exporter.C (Export): Can not -> cannot.
14893
14894 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14895
14896         * BufferView_pimpl.C: allow to create index inset even if
14897           string is empty
14898
14899 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14900
14901         * buffer.C (getLists): replace boost::tie code with an explicit pair
14902         as boost::tie can break some compilers.
14903
14904         * iterators.h: Added a std:: declaration to the return type of
14905         ParIterator::size.
14906
14907 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14908
14909         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14910           case.
14911
14912 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14913
14914         * iterators.[Ch]: New files. Provide paragraph iterators.
14915
14916         * buffer.C (changeLanguage): Use paragraph iterators.
14917         (isMultiLingual): ditto
14918
14919         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14920
14921 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14922
14923         * FontLoader.C: Support for cmr font.
14924
14925 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14926
14927         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14928         (available): New method.
14929
14930         * FontInfo.C (getFontname): Use scalable fonts even when
14931         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14932         found.
14933
14934 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14935
14936         * converter.C (Formats::view): reverted! Incorrect fix.
14937
14938 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14939
14940         * converter.C (Formats::view): only output the -paper option
14941         if the dvi viewer is xdvi, thereby fixing bug #233429.
14942
14943 2001-08-23  Herbert Voss  <voss@perce>
14944
14945         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14946
14947 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14948
14949         * Spacing.h (Spacing): Set space to Default on in the default
14950         constructor.
14951
14952 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14953
14954         * vc-backend.h (RCS::versionString): add RCS to version
14955         (CVS::versionString): add CVS to version
14956
14957         * vc-backend.C (scanMaster): do not add CVS to version.
14958         (scanMaster): do not add RCS to version
14959
14960         * lyxvc.C (versionString): new method
14961
14962         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14963
14964 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14965
14966         * Spacing.C (set): initialize fval
14967
14968 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14969
14970         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14971         " or \.
14972
14973 2001-08-16  Juergen Vigna  <jug@sad.it>
14974
14975         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14976
14977 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14978
14979         * BufferView_pimpl.C:
14980         * figureForm.C:
14981         * lyxtext.h:
14982         * text2.C: setParagraph takes linespacing now
14983
14984 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14985
14986         * LyxAction.C: add internal LFUN_CITATION_INSERT
14987
14988         * LyXView.C: actually apply fix
14989
14990         * bufferlist.C: fix open non-existent file
14991
14992         * lyxfind.C: fix indentation
14993
14994         * lyxfunc.C: remove unneeded assert, fix typo
14995
14996 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14997
14998         * MenuBackend.C: use "Floatname List"
14999
15000 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15001
15002         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15003         when converting LaTeX layout to insetERT.
15004         Generate a non-collapsed float when reading old float
15005
15006 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15007
15008         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15009         ERT insets.
15010
15011 2001-08-13  Juergen Vigna  <jug@sad.it>
15012
15013         * text.C (fill): return 0 instead of 20 as this seems to be the more
15014         correct value.
15015
15016 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15017
15018         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15019         lyxrc.font_norm.
15020
15021 2001-08-13  Juergen Vigna  <jug@sad.it>
15022
15023         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15024         casesensitive off.
15025         (SearchBackward): comment out the unlocking of the inset_owner this
15026         should not be needed!
15027
15028 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15029
15030         * Many files: Remove inherit_language, and add latex_language
15031
15032         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15033         collapsible insets.
15034
15035 2001-08-10  Juergen Vigna  <jug@sad.it>
15036
15037         * text.C (prepareToPrint): fixed hfill-width in draw!
15038
15039         * BufferView2.C (selectLastWord): save the selection cursor as this
15040         now is cleared in the function LyXText::clearSelection!
15041
15042 2001-08-08  Juergen Vigna  <jug@sad.it>
15043
15044         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15045         BACKSPACE type functions.
15046
15047         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15048         is only cutted from the document but not put in the cut-buffer, where
15049         still the old stuff should be.
15050
15051         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15052
15053         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15054
15055         * tabular.C (SetWidthOfCell): fixed special case where the width
15056         was not updated!
15057         (LeftLine): handle '|' in align_special.
15058         (RightLine): ditto
15059         (LeftAlreadyDrawed): ditto
15060         (SetWidthOfCell): ditto
15061
15062 2001-08-07  Juergen Vigna  <jug@sad.it>
15063
15064         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15065
15066 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15067
15068         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15069         * lyxlex.[hC]: ditto
15070
15071 2001-08-06  Juergen Vigna  <jug@sad.it>
15072
15073         * text.C (getVisibleRow): fix up row clearing a bit.
15074
15075 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15076
15077         * minibuffer.C: make sure the X server sees the changes in the input.
15078
15079 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15080
15081         * paragraph.C (getFont): split into...
15082         (getLabelFont): this
15083         (getLayoutFont): and this
15084         * paragraph_pimpl.C (realizeFont): calling this
15085
15086         * text2.C (getFont): split into...
15087         (getLayoutFont): this
15088         (getLabelFont): and this
15089         (realizeFont): all three calling this
15090
15091         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15092         files where used.
15093
15094 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15095
15096         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15097
15098 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15099
15100         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15101         layouts from the Quote inset insertion.
15102
15103 2001-08-03  Juergen Vigna  <jug@sad.it>
15104
15105         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15106
15107         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15108         only if status not is already CHANGED_IN_DRAW (second level).
15109
15110         * text.C (draw): don't set the need_break_row when inside an
15111         InsetText LyXText.
15112
15113 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15114
15115         * buffer.C (parseSingleLyXformat2Token): handle more latex
15116         conversion cases.
15117
15118         * bufferview_funcs.[hC]: change function names to
15119         begin with small char, adjust other files.
15120
15121 2001-08-02  André Pönitz <poenitz@gmx.net>
15122
15123         * lyxfunc.C:
15124         BufferView_pimpl.C: remove broken special code for math-greek
15125
15126 2001-08-02  Juergen Vigna  <jug@sad.it>
15127
15128         * BufferView_pimpl.C (update): redone this function so that we
15129         update the text again if there was a CHANGE_IN_DRAW.
15130
15131         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15132         (drawFromTo): added a new internal bool which is used by draw() and
15133         redraw() function.
15134         (general): some cursor drawing problems fixed.
15135
15136 2001-08-01  Juergen Vigna  <jug@sad.it>
15137
15138         * lyxfind.C (LyXFind): fixed
15139         (SearchForward): ditto
15140         (SearchBackward): ditto
15141
15142         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15143         spurius drawing of the cursor in the main area.
15144
15145         * text2.C (status): small fix which could lead to a segfault!
15146         (clearSelection): remove unneeded BufferView param.
15147
15148 2001-08-01  André Pönitz <poenitz@gmx.net>
15149
15150         * lyxfunc.C: small change due to changed mathed interface
15151
15152 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15153
15154         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15155
15156 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15157
15158         * lyxfunc.c: fail gracefully if file doesn't exist
15159
15160         * LyXSendto.C:
15161         * buffer.C:
15162         * lyxfunc.C:
15163         * BufferView_pimpl.C: IsDirWriteable() proto changed
15164
15165         * LyXView.C: fix updateWindowTitle() to store the last title
15166
15167 2001-07-31  Juergen Vigna  <jug@sad.it>
15168
15169         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15170         the font (wrong since using of Paragraph::highestFontInRange).
15171
15172         * paragraph.C (highestFontInRange): added a default_size parameter.
15173
15174         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15175         (setHeightOfRow): reformat
15176
15177 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15178
15179         * converter.[hC] + affected files: move to (inital-char)lowercase
15180         function names.
15181
15182         * ParagraphParameters.C (ParagraphParameters): remove commented code
15183
15184         * PainterBase.[Ch]: remove commented code
15185
15186         * LaTeXFeatures.h: add "bool floats" for float.sty
15187
15188         * LaTeXFeatures.C (LaTeXFeatures): init floats
15189         (require): handle float
15190         (getPackages): do it with floats
15191
15192 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15193
15194         * BufferView_pimpl.C (Dispatch): improve handling of
15195         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15196
15197         * commandtags.h: #include lyxfont.h here temporarily to avoid
15198         keybinding bug.
15199
15200         * bufferlist.h: include LString.h here.
15201
15202 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15203
15204         * text2.C (getStringToIndex): new method.
15205
15206 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15207
15208         * *: Reduced header file dependencies all over.
15209
15210 2001-07-30  Baruch Even  <baruch@lyx.org>
15211
15212         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15213
15214 2001-07-29  Baruch Even  <baruch@lyx.org>
15215
15216         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15217
15218 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15219
15220         * ParameterStruct.h (endif): add a default constructor to make
15221         sure that all variables is initialized.
15222
15223         * ParagraphParameters.C (ParagraphParameters): adjust
15224
15225 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15226
15227         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15228         index; also, check that there is something to index, and that it
15229         does not span over several paragraphs.
15230         (doubleClick): use WHOLE_WORD_STRICT for double click.
15231
15232         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15233
15234         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15235         scheme.
15236
15237 2001-07-26  Baruch Even  <baruch@lyx.org>
15238
15239         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15240         an InsetFig figure, backwards compatible reading of old figure code.
15241
15242 2001-07-27  Juergen Vigna  <jug@sad.it>
15243
15244         * text2.C: font.realize function adaption.
15245
15246         * text.C (draw): add a warnings lyxerr text if needed.
15247
15248         * layout.C: font.realize function adaption.
15249
15250         * language.C: add inherit_language and implement it's handlings
15251
15252         * bufferview_funcs.C (StyleReset): remove language parameter from
15253         font creation (should be language_inherit now).
15254
15255         * bufferparams.C (writeFile): handle ignore_language.
15256
15257         * paragraph.C (getFontSettings): the language has to be resolved
15258         otherwise we have problems in LyXFont!
15259
15260         * lyxfont.C (lyxWriteChanges): added document_language parameter
15261         (update): removed unneeded language parameter
15262
15263         * paragraph.C (validate): fixed wrong output of color-package when
15264         using interface colors for certain fonts in certain environments,
15265         which should not seen as that on the final output.
15266
15267 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15268
15269         * BufferView_pimpl.C:
15270         * Thesaurus.h:
15271         * Thesaurus.C:
15272         * Makefile.am:
15273         * commandtags.h:
15274         * LyXAction.C: add thesaurus support
15275
15276         * lyxfind.h:
15277         * lyxfind.C: add "once" parameter, for thesaurus, to not
15278           move to the next match
15279
15280 2001-07-26  Juergen Vigna  <jug@sad.it>
15281
15282         * lyxfont.C (realize): honor ignore_language too!
15283         (resolved): ditto.
15284
15285         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15286
15287         * text.C (draw): one place more for ignore_language to not draw
15288         itself!
15289
15290 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15291
15292         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15293
15294 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15295
15296         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15297         the minipage conversion problem.
15298
15299 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15300
15301         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15302         insert an inset.
15303
15304 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15305
15306         * BufferView.h: don't forward declare WorkArea
15307
15308         * BufferView.C: don't include WorkArea.h
15309
15310 2001-07-25  André Pönitz <poenitz@gmx.net>
15311
15312         * commandtags.h:
15313         * LyXAction.C:
15314         * lyxfunc.C:  new LFUN 'math-space'
15315
15316         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15317
15318 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15319
15320         * text2.C (toggleInset): call open/close
15321
15322 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15323
15324         * lyxfunc.C (dispatch): add debug for the disabled case
15325
15326         * font.C (buttonText): make similar to rectText
15327
15328         * buffer.C (readInset): comment out parsing of insetlist and
15329         insttheorem
15330
15331         * PainterBase.C (rectText): small correction
15332
15333         * BufferView_pimpl.C: comment out insettheorem and insetlist
15334         * LyXAction.C: ditto
15335         * commandtags.h: ditto
15336
15337 2001-07-24  Juergen Vigna  <jug@sad.it>
15338
15339         * text.C (draw): honor the ignore_language.
15340
15341         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15342
15343 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15344
15345         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15346         char inset.
15347
15348 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15349
15350         * lyxtext.h: remove unused (and unimplemented) methods
15351
15352 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15353
15354         * text.C (getVisibleRow): honor background color
15355
15356         * PainterBase.h:
15357         * Painter.h: remove default color argument for fillRectangle
15358
15359         * text.C (backgroundColor): new method
15360
15361 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15362
15363         * text.C (getVisibleRow): adjust
15364
15365         * font.[Ch] (rectText): new method, metrics
15366         (buttonText): new method, metrics
15367
15368         * PainterBase.[hC]: make rectText and buttonText always draw and take
15369         fewer paramteres.
15370
15371 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15372
15373         * ToolbarDefaults.C (read):
15374         * MenuBackend.C (read): allow escaping in all strings
15375
15376         * BufferView_pimpl.C (insertAndEditInset): new method.
15377         (Dispatch): use insertAndEditInset whenever appropriate.
15378
15379         * BufferView_pimpl.C (insertNote): removed
15380
15381         * BufferView_pimpl.C (smartQuote): new method, moved from
15382         BufferView; if an insetquote cannot be inserted, insert a '"'
15383         character instead.
15384
15385         * BufferView2.C: remove insertCorrectQuote();
15386
15387         * lyxfunc.C (getStatus): Add support for all remaingin
15388         inset-insert lfuns.
15389
15390         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15391
15392         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15393         command (necessary to pass " as parameter of self-insert.
15394
15395         * text.C (selectWordWhenUnderCursor):
15396         (selectWord): add word_location parameter
15397         (selectWordWhenUnderCursor): same + remove special code for word
15398         boundary.
15399         (selectNextWord): use kind() to guess type of insetspecialchar,
15400         not latex().
15401
15402         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15403         (insertErtContents): create ert insets as collapsed.
15404         (readInset): better compatibility code for Info inset.
15405
15406 2001-07-20  Juergen Vigna  <jug@sad.it>
15407
15408         * lyxfunc.C (dispatch): use always LyXFind now!
15409
15410         * text2.C (init): add a reinit flag so that the LyXText can be
15411         reinited instead of deleted and reallocated (used in InsetText).
15412
15413         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15414
15415         * text.C: ditto
15416
15417         * text2.C: ditto
15418
15419 2001-07-18  Juergen Vigna  <jug@sad.it>
15420
15421         * text.C (selectNextWord): handle insets inside inset by calling
15422         always the bv->text functions so that we can go up the_locking_inset!
15423
15424         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15425         in strange locations when inside an inset!
15426
15427         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15428         handling to include insets.
15429
15430         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15431
15432 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15433
15434         * LyXAction.C (init):
15435         * commandtags.h:
15436         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15437         LIGATURE_BREAK, since the name is so stupid.
15438
15439 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15440
15441         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15442         InsetInfos.
15443
15444         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15445
15446         * sp_form.[Ch]: remove.
15447
15448         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15449
15450         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15451         InsetInfo.
15452
15453         * src/buffer.C (readInset): ditto.
15454
15455 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15456
15457         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15458         menuSeparator(), endOfSentenceDot(), ldots() and
15459         hyphenationPoint(), which are therefore removed.
15460         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15461
15462         * LyXAction.C (init):
15463         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15464
15465         * paragraph.C (getWord): removed.
15466
15467         * BufferView_pimpl.C (Dispatch): use last word or selection for
15468         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15469
15470         * lyx_main.C (queryUserLyXDir): do not ask before creating
15471         user_dir, except if it has been named explicitely.
15472
15473 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15474
15475         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15476         a document of zero size.
15477
15478 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15479
15480         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15481         approriately in the c-tor and in require().
15482         (getPackages): output the appropriate LaTeX for natbib support.
15483
15484         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15485         variables "use_natbib" and "use_numerical_citations" when reading the
15486         LyX file.
15487         (readInset): read the various natbib cite commands.
15488         (validate): white-space change.
15489
15490         * bufferparams.[Ch]: new variables "bool use_natbib" and
15491         "bool use_numerical_citations".
15492         (writeFile): output them in the LyX file.
15493
15494 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15495
15496         * lyxfunc.C (getStatus): add support for all the inset insertion
15497         commands.
15498
15499         * text2.C (insertInset):
15500         * paragraph.C (insetAllowed):
15501         * BufferView_pimpl.C (insertInset): update to take in account the
15502         renaming of insertInsetAllowed
15503
15504         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15505
15506         * text2.C (getInset): new method. returns inset at cursor position.
15507
15508         * BufferView_pimpl.C (Dispatch): changes because of this.
15509
15510         * LyXAction.C (init): rename open-stuff to inset-toggle.
15511
15512         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15513
15514         * text2.C (toggleInset): renamed from openStuff; use
15515         Inset::open().
15516
15517 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15518
15519         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15520
15521         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15522
15523 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15524
15525         * buffer.C (readLyXformat2): Add filename to the error dialog
15526
15527 2001-07-18  Juergen Vigna  <jug@sad.it>
15528
15529         * tabular.C (GetCellNumber): put an assert here instead of the check!
15530
15531 2001-07-17  Juergen Vigna  <jug@sad.it>
15532
15533         * BufferView_pimpl.C (toggleSelection): adapted too.
15534
15535         * text.C (selectNextWord): adapted for use with insets.
15536         (selectSelectedWord): ditto
15537
15538 2001-07-17  Juergen Vigna  <jug@sad.it>
15539
15540         * sp_spell.C (PSpell): fix initialitation order.
15541
15542 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15543
15544         * paragraph.C: spacing
15545
15546 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15547
15548         * sp_spell.C: repair language selection for pspell
15549
15550 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15551
15552         * lyxfunc.h: change more methods to begin with lower char.
15553
15554 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15555
15556         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15557         for unknown layouts.
15558
15559 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15560
15561         * buffer.C (readLyXformat2): Generate an error dialog if there are
15562         unknown layouts.
15563
15564 2001-07-16  Juergen Vigna  <jug@sad.it>
15565
15566         * sp_spell.C: always compile ISpell part.
15567
15568         * lyxrc.C: added use_pspell entry and it's handling.
15569
15570 2001-07-13  Juergen Vigna  <jug@sad.it>
15571
15572         * sp_spell.C: removed double includes.
15573
15574 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15575
15576         Consistent use of Lsstream.h:
15577         * Lsstream.h: added using std::stringstream for consistencies sake.
15578
15579         * buffer.C: removed using std::stringstream
15580
15581         * lyxfont.C (stateText):
15582         * paragraph.C (asString):
15583         * text.C (selectNextWord, selectSelectedWord):
15584         * text2.C (setCounter):
15585         * vspace.C (asString, asLatexString):
15586         std::ostringstream -> ostringstream.
15587
15588 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15589
15590         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15591         * commandtags.h: add LFUN_HELP_ABOUTLYX
15592         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15593
15594 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15595
15596         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15597         cursorToggle()
15598         * lyx_gui_misc.C: remove spellchecker
15599         * lyxfunc.C: showSpellchecker
15600         * sp_base.h: added
15601         * sp_ispell.h: added
15602         * sp_pspell.h: added
15603         * sp_spell.C: added
15604         * sp_form.[Ch]: removed
15605         * spellchecker.[Ch]: removed
15606
15607 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15608
15609         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15610         is set.
15611         (simpleTeXSpecialChars): Simply print the input character without
15612         any special translation if pass_thru is set.
15613
15614         * layout.h: Added bool pass_thru to layout class for being able to
15615         implement pass through of a paragraph for Literate Programming.
15616
15617         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15618         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15619         * layout.C (Read): add "passthru" to list of layout tags and add
15620         code to set the pass_thru boolean when it is read.
15621
15622 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15623
15624         * trans_decl.h: remove allowed from KmodInfo
15625
15626         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15627         remove allowed code
15628         (Load): adjust
15629
15630         * paragraph_pimpl.C (erase): use boost::prior
15631
15632         * Painter.C (text): use data() instead of c_str() when length is
15633         also provided.
15634         * WorkArea.C (putClipboard): ditto
15635         * font.h (width): ditto
15636
15637         * BufferView2.C: use it-> instead of (*it). for iterators
15638         * texrow.C: ditto
15639         * paragraph_pimpl.C: ditto
15640         * paragraph.C: ditto
15641         * minibuffer.C: ditto
15642         * language.C: ditto
15643         * kbmap.C: ditto
15644         * encoding.C: ditto
15645         * counters.C: ditto
15646         * converter.C: ditto
15647         * chset.C: ditto
15648         * Variables.C: ditto
15649         * TextCache.C: ditto
15650         * MenuBackend.C: ditto
15651         * LyXAction.C: ditto
15652         * LColor.C: ditto
15653         * FloatList.C: ditto
15654         * DepTable.C: ditto
15655         * ColorHandler.C (LyXColorHandler): ditto
15656
15657 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15658
15659         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15660
15661         * text2.C (openStuff): reintroduce this method (which had been
15662         nuked in NEW_INSETS frenzy).
15663
15664         * lyxfunc.C (Dispatch): when an action has not been handled, use
15665         its name in the error message, not its number.
15666
15667         * paragraph.C (inInset): change method name to begin with lowercase.
15668
15669         * undo_funcs.C:
15670         * text2.C: updates because of this.
15671
15672 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15673
15674         * ToolbarDefaults.C (add): add spaces in error message
15675
15676 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15677
15678         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15679         (readLyXformat2): rename return_par to first_par, use lyxlex's
15680         pushToken and remove the manual push handling.
15681         (parseSingleLyXformat2Token): add another ert comp. variable:
15682         in_tabular, rename return_par to first_par. handle newlines better
15683
15684 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15685
15686         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15687
15688 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15689
15690         * text2.C (getParFromID): removed
15691
15692         * buffer.C (getParFromID): new method moved form lyxtext.
15693         * BufferView2.C (insertErrors): adjust
15694         (setCursorFromRow): adjust
15695         * BufferView_pimpl.C (restorePosition): adjust
15696         * lyxfunc.C (Dispatch): adjust
15697         * undo_funcs.C (textUndo): adjust
15698         (textRedo): adjust
15699         (textHandleUndo): adjust
15700         (textHandleUndo): adjust
15701
15702 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15703
15704         * buffer.C: up' the LYX_FORMAT
15705
15706         * lyxfont.h: turn NO_LATEX on as default
15707
15708         * buffer.C (insertErtContents): new methods of tex style compability.
15709         (parseSingleLyXformat2Token): use it several places.
15710         * tabular.C (OldFormatRead): and here
15711
15712 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15713
15714         * text2.C: remove some commented code.
15715         reindent file.
15716
15717         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15718         * trans.C: changes because of the above.
15719
15720 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15721
15722         * text2.C (setCounter): Fix counters bug with bibliography layout.
15723
15724 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15725
15726         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15727         own member functions
15728         (simpleTeXSpecialChars): ditto
15729
15730 2001-07-06  Juergen Vigna  <jug@sad.it>
15731
15732         * a lot of files: changed the access to LyXText::status and the
15733         call of undo-functions.
15734
15735         * undo.[Ch]: added a inset_id to the undo informations.
15736
15737         * undo_funcs.[Ch]: added and moved here all undo functions.
15738
15739         * lyxtext.h: give the status enum a weight, made status_ a private
15740         variable and made accessor functions for it, removed the whole bunch
15741         of undo-functions as they are now in their own file, make some
15742         functions publically available. Added function ownerParagraph with
15743         int parameter.
15744
15745         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15746         made InInset() a const function, added getParFromID() function.
15747
15748         * buffer.[Ch]: added const version for inset_iterator functions,
15749         added getInsetFromID() function.
15750
15751         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15752         changed undo functions for new version.
15753
15754 2001-07-05  Juergen Vigna  <jug@sad.it>
15755
15756         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15757         unknow mechanism does not call the proper constructor but only this
15758         one also if I request the other!?
15759
15760 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15761
15762         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15763
15764         * text2.C (LyXText): use initialization lists.
15765
15766         * lyxtext.h (Selection): initialize set_ and mark_
15767         (init): remove method
15768
15769 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15770
15771         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15772
15773 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15774
15775         * screen.[Ch]: change method names to begin with lowercase
15776
15777         * BufferView_pimpl.C (updateScrollbar): simplify further and
15778         hopefully make it a bit faster.
15779
15780 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15781
15782         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15783         calling directly xforms functions.
15784
15785         * Painter.C (Painter):
15786         * lyx_cb.C (MenuWrite):
15787         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15788         fl_display.
15789
15790         * lyx_gui.C: remove bogus guiruntime extern declaration.
15791
15792 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15793
15794         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15795         in NEW_INSETS
15796         (redoDrawingOfParagraph): ditto
15797         (redoParagraphs): ditto
15798         (cutSelection): don't create a object for CutAndPaste use the
15799         static method directly
15800         (pasteSelection): ditto
15801
15802         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15803         LyXview (+ rename)
15804
15805 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15806
15807         * modifications to some other files because of this.
15808
15809         * Makefile.am (lyx_SOURCES): add XFormsView
15810
15811         * XFormsView.[Ch]: new files
15812
15813         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15814         the main window. Move the gui dependent stuff to XFormsView
15815
15816 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15817
15818         * tabular.C (GetCellInset): update cur_cell also in the row/col
15819         version of this function.
15820
15821         * lyxfunc.C: no need to include figure_form.h here.
15822
15823         * FontLoader.h:
15824         * lyxfunc.h:
15825         * lyxscreen.h:
15826         * text2.C:
15827         * lyxvc.C: no need to include forms.h here.
15828
15829 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15830
15831         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15832
15833         * lyxfunc.C (Dispatch):
15834         * Spacing.C (set):
15835         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15836         constructor argument.
15837
15838 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15839
15840         * paragraph.C (Paragraph): dont't clear, and just set layout.
15841         (makeSameLayout): use params's copy contructor.
15842
15843         * ParagraphParameters.[Ch] (makeSame): delete method
15844
15845 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15846
15847         * Variables.[Ch]: fix indentation, rename set to isSet
15848
15849 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15850
15851         * lyxfunc.C (Dispatch): fix typo
15852
15853 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15854
15855         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15856         upper_bound.
15857
15858         * bufferlist.C: include assert.h for emergencyWrite().
15859
15860 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15861
15862         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15863           give up at last (bug #425202) !
15864
15865 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15866
15867         * lyx_gui_misc.C:
15868         * sp_form.h:
15869         * sp_form.C:
15870         * spellchecker.h:
15871         * spellchecker.C: strip spellchecker options and bring up
15872           preferences tab instead
15873
15874 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15875
15876         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15877         the istringstream constructor
15878
15879 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15880
15881         * paragraph.C (getLayout): fix return value
15882
15883         * paragraph.h: do not declare getLayout as inline.
15884
15885         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15886
15887 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15888
15889         * lyxcursor.h (operator<): new func
15890         (operator>): new func
15891         (operator>=): new func
15892         (operator<=): new func
15893
15894         * text.C (changeCase): use selection.start and selection.end
15895         (changeRegionCase): require from to be <= to. Require par to be a
15896         valid paragraph.
15897
15898         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15899
15900 2001-06-27  Juergen Vigna  <jug@sad.it>
15901
15902         * text.C (cursorLeftOneWord): changed to return the cursor and added
15903         overlay with BufferView * parameter which calls this one.
15904         (getWord): added
15905         (selectWord): use new getWord function.
15906         (changeCase): renamed from changeWordCase as and extended to work
15907         also on selections.
15908
15909         * lyxtext.h: added enum word_location
15910
15911         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15912         changeCase as this operates now also on selections.
15913
15914 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15915
15916         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15917
15918         * many files: send debug output to Debug::INFO instead of
15919         Debug::ANY.
15920
15921         * converter.C (View):
15922         (Convert):
15923         (Move): send debug output to Debug::FILES instead of console.
15924
15925 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15926
15927         * lyxfunc.C (getStatus): use func_status
15928
15929         * func_status.h: new header, describing the results of
15930         LyXFunc::getStatus;
15931
15932         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15933         LFUN_MATH_HALIGN.
15934
15935 2001-06-25  The LyX Project  <jug@sad.it>
15936
15937         * buffer.C (sgmlOpenTag):
15938         (sgmlCloseTag):
15939         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15940
15941 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15942
15943         * text2.C: remove some dead code
15944
15945         * tabular.C (GetCellInset): store the last cell checked (gotten)
15946
15947         * tabular.h: add the helper for the speedup
15948
15949         * lyxtext.h: remove some dead code
15950
15951 2001-06-26  The LyX Project  <Asger>
15952
15953         * paragraph.C: Change export to LaTeX of alignment to
15954         \begin{center} and family for better roundtrip work with reLyX.
15955
15956         * Tune the math drawing a bit.
15957
15958 2001-06-25  The LyX Project  <Asger>
15959
15960         * LColor.C (LColor): New color for math background. New color
15961         for buttons.
15962
15963 2001-06-25  The LyX Project  <jug@sad.it>
15964
15965         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15966
15967         * lyxfunc.C (Open):
15968         * bufferlist.C (newFile): do not restrict to files ending with
15969         .lyx
15970
15971         * BufferView_pimpl.C (MenuInsertLyXFile):
15972
15973 2001-06-24  The LyX Project  <jug@sad.it>
15974
15975         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15976         of compare_no_case
15977
15978 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15979
15980         * lyxtext.h: rename most methods to begin with a small char.
15981         Lots of changes because of this.
15982
15983         * paragraph.C (Paragraph): do not call fitToSize
15984         (erase): call Pimpl::erase
15985         (insertChar): call Pimpl::insertChar
15986         (insertInset): call Pipl::insertInset
15987         (breakParagraph): do not call fitToSize
15988         (breakParagraphConservative): do not call fitToSize
15989         (fitToSize): remove method
15990
15991         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15992
15993 2001-06-24  The LyX Project  <Asger>
15994
15995         * Fix Qt compilation^2
15996
15997 2001-06-24  The LyX Project  <jug@sad.it>
15998
15999         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16000         depthHook(getDepth()-1).
16001
16002         * paragraph.h:
16003         * ParagraphParameters.h:
16004         * ParameterStruct.h: change type of depth to unsigned int ==
16005         depth_type. Many adaptations to other files before of that.
16006
16007 2001-06-24  The LyX Project  <Asger>
16008
16009         * Fix Qt compilation.
16010
16011 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16012
16013         * paragraph.h: renamed several methods to begin with small letter.
16014         several changes to many parts of the code because of this.
16015
16016 2001-06-23  The LyX Project  <jug@sad.it>
16017
16018         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16019         rewritten to discard all double spaces when KeepEmpty is off
16020         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16021         to only handle newlines but not fiddle with spaces and friends.
16022
16023         * lyxfunc.C (MenuNew): when doing 'new from template', use
16024         template_path as default directory
16025
16026 2001-06-23  The LyX Project  <Asger>
16027
16028         * Clean-up of header file includes all over
16029         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16030
16031 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16032
16033         * paragraph.h: renamed from lyxparagraph.h
16034
16035 2001-06-23  Asger  <lyx@violet.home.sad.it>
16036
16037         * Buffer.h: Removed Buffer::resize
16038         * BufferList.h: Removed BufferList::resize
16039         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16040         the document lazily when we change the width, or the font settings.
16041
16042 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16043
16044         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16045
16046 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16047
16048         * buffer.h: remove out of date comment
16049
16050 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16051
16052         * lyxscreen.h:
16053         * screen.C: fix "theoretical" GC leak
16054
16055 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16056
16057         * LaTeX.C (scanAuxFile):
16058         (deplog): remove trailing \r when reading stream (useful under
16059         win32)
16060
16061 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16062
16063         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16064         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16065         and BufferView::theLockingInset(Inset*), so should use them and not
16066         access bv_->text->the_locking_inset directly.
16067
16068         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16069
16070 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16071
16072         * Makefile.am:
16073         * tex-defs.h: remove old unused file
16074
16075 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16076
16077         * BufferView_pimpl.C: fix typo, remove minibuffer message
16078           when buffer has loaded
16079
16080 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16081
16082         * lyxfunc.C (Dispatch): use stringstream
16083         (MenuNew): use stringstream
16084         (Open): use stringstream
16085
16086         * importer.C (Import): use stringstream
16087
16088         * bufferview_funcs.C (CurrentState): use stringstream
16089
16090         * LaTeX.C (run): use stringstream
16091
16092         * BufferView_pimpl.C (savePosition): use stringstream
16093         (restorePosition): use stringstream
16094         (MenuInsertLyXFile): use stringstream
16095
16096 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16097
16098         * BufferView.C:
16099         * Bullet.C:
16100         * ColorHandler.C:
16101         * FontInfo.C:
16102         * FontLoader.C:
16103         * LColor.C:
16104         * LaTeXFeatures.C:
16105         * Painter.C:
16106         * gettext.C:
16107         * lyx_gui_misc.C:
16108         * lyxserver.C:
16109         * vspace.C: removed // -*- C++ -*- as first line.
16110
16111         * lyxfind.h:
16112         * version.h: added // -*- C++ -*- as first line.
16113
16114 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16115
16116         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16117
16118         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16119         of string
16120
16121 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16122
16123         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16124         of floats.
16125
16126 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16127
16128         * gettext.C: include LString.h even when --disable-nls is on.
16129
16130 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16131
16132         * converter.h (Get): changed argument type from int to
16133         FormatList::size_type to avoid unnecessary conversion.
16134
16135         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16136         before using it.
16137
16138 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16139
16140         * gettext.h: include LString.h even when --disable-nls is on.
16141
16142 2001-06-07  Juergen Vigna  <jug@sad.it>
16143
16144         * text.C (BreakAgain): subst spaces with tabs.
16145
16146         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16147         (resizeInsetsLyXText): set force on resizeLyXText.
16148
16149 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16150
16151         * gettext.h (gettext_init):
16152         (locale_init): use a real definition instead of a macro
16153
16154 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16155
16156         * Bufferview_pimpl.C:
16157         * LColor.h:
16158         * LColor.C: further lcolor tidies
16159
16160 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16161
16162         * BufferView_pimpl.C (updateScrollbar): simplify.
16163
16164         * BufferView2.C: don't include insets/insetinfo.h, change
16165         prototype for insertInset and call the Pimpl version. let
16166         updateInset call Pimpl version.
16167
16168         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16169         gotoInset to BufferView::Pimpl
16170
16171 2001-06-01  Juergen Vigna  <jug@sad.it>
16172
16173         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16174         inside a LockingInset (is the update needed at all?).
16175
16176 2001-05-31  Juergen Vigna  <jug@sad.it>
16177
16178         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16179         here not the old one otherwise how should we compare it afterwards
16180         if it's the same!
16181
16182 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16183
16184         * lyxfont.C:
16185         * tabular.C:
16186         * tabular-old.C:
16187         * FontInfo.C: bring C functions into global namespace when
16188         necessary
16189
16190 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16191
16192         * LString.h: make sure config.h has been loaded before LString.h.
16193
16194         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16195         (one for each char read by EatLine!).
16196
16197         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16198         variables.
16199
16200 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16201
16202         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16203         to the same as the par we break from
16204
16205 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16206
16207         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16208
16209         * MenuBackend.C (expand): also create menu entries for wide
16210         versions of the floats.
16211
16212         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16213
16214         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16215
16216         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16217         frontends/Makefile.am
16218
16219         * text2.C: adjust
16220         * text.C: adjust
16221
16222
16223         * tabular.C (getTokenValue): add std::
16224
16225         * tabular-old.C (getTokenValue): add std::
16226         (getTokenValue): ditto
16227         (getTokenValue): ditto
16228
16229         * screen.C (ToggleSelection): adjust
16230
16231         * lyxtext.h: put selection cursors inside a Selection struct.
16232
16233         * lyxfunc.C (moveCursorUpdate): adjust
16234
16235         * lyxfont.C (latexWriteStartChanges): add std::
16236
16237         * lyxfind.C: adjust
16238
16239         * font.h: delete with(char const *, LyXFont const &)
16240
16241         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16242
16243         * FontInfo.C (getFontname): add std::
16244
16245         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16246         (workAreaButtonPress): adjust
16247         (tripleClick): adjust
16248         (update): adjust
16249         (moveCursorUpdate): adjust
16250         (Dispatch): adjust
16251
16252         * BufferView2.C (gotoInset): adjust
16253
16254 2001-05-30  Juergen Vigna  <jug@sad.it>
16255
16256         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16257         to check pspell I add this as default as I now have new pspell
16258         libraries and they seem to use this.
16259
16260 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16261
16262         * text2.C (CutSelection): make the cursor valid before the call to
16263         ClearSelection.
16264
16265 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16266
16267         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16268         relied on 0 terminated strings and other horrors. Bug found due to
16269         the new assert in lyxstring!
16270
16271         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16272         KP_ keys.
16273
16274 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16275
16276         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16277         to latinkeys.bind.
16278
16279         * lyxfunc.C (processKeySym): change method of getting to the
16280         self-insert char.
16281
16282         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16283         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16284         * BufferView_pimpl.[Ch]: here as private methods.
16285
16286 2001-05-28  Juergen Vigna  <jug@sad.it>
16287
16288         * text.C (SetHeightOfRow): added the update() call again as it is
16289         needed to initialize inset dimensions!
16290
16291 2001-05-16  Juergen Vigna  <jug@sad.it>
16292
16293         * text2.C (SetCharFont): Add new function with BufferView * and
16294         bool toggleall parameters for setting insets internal fonts.
16295         (SetFont): Freeze the undo as we may change fonts in Insets and
16296         all this change should be inside only one Undo!
16297
16298         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16299         setting font's in insets as for them we have the SetFont function!
16300
16301 2001-05-15  Juergen Vigna  <jug@sad.it>
16302
16303         * text2.C (ClearSelection): to be sure we REALLY don't have any
16304         selection anymore!
16305
16306         * tabular.C (TeXCellPreamble): fixed the left border problem for
16307         multicolumn cells.
16308
16309 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16310
16311         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16312         dependancy file
16313
16314 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16315
16316         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16317         LFUN_BREAKPARAGRAPH.
16318
16319         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16320         help test to "internal only", similar for LFUN_INSERT_URL
16321
16322         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16323         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16324         auto_region_delete and deadkeys.
16325
16326 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16327
16328         * LColor.h:
16329         * LColor.C: remove some dead entries, tidy a little
16330
16331 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16332
16333         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16334         commented code.
16335         (Dispatch): implement LFUN_ESCAPE
16336
16337         * commandtags.h: add LFUN_ESCAPE
16338
16339         * LyXAction.C (init): add entry for LFUN_ESCAPE
16340
16341         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16342         Remove commented code.
16343         (insertNote): moved here
16344         (open_new_inset): moved here
16345
16346         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16347         BufferView_pimpl
16348
16349 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16350
16351         * kbmap.C (findbinding): clean it up and make it work correctly.
16352
16353         * lyx_main.C (init): do not pass argc and argv as parameters
16354
16355 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16356
16357         * buffer.C: fix path for OS/2 & Win32
16358
16359         * lyx_gui.C:
16360         * lyx_main:
16361         * lyx_main.C: Added os:: class.
16362
16363         * os2_defines.h: update
16364
16365 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16366
16367         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16368         better by trying again with reduced state.
16369
16370 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16371
16372         * lyxrc.C (read): print error about invalid key sequence only when
16373         debugging (because not all latinX keysyms are known to some X
16374         servers)
16375
16376         * kbsequence.C (getiso): add a few std:: qualifiers
16377         (getiso): comment out extra return statement.
16378
16379 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16380
16381         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16382         handling.
16383         (Dispatch): enhance the accent inset a bit. (not perfect)
16384
16385 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16386
16387         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16388
16389 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16390
16391         * bufferlist.C (emergencyWrite): fix assert() call
16392
16393 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16394
16395         * text.C (InsertChar): Added trivial patch to only send the "you
16396         can not do multiple spaces this way" message once during a
16397         session.
16398
16399 2001-05-08  Baruch Even  <baruch@lyx.org>
16400
16401         * Makefile.am: Changed order of libraries to get LyX to link properly
16402         with the gnome frontend.
16403
16404 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16405
16406         * LaTeXFeatures.h: add a std:: qualifier
16407
16408 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16409
16410         * paragraph.C (String): use stringstream
16411
16412 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16413
16414         * paragraph.C (writeFile): remove footflag arg
16415
16416         * buffer.C (makeLaTeXFile): use stringstream
16417         (latexParagraphs): remove footnot gurba
16418
16419         * LaTeXFeatures.C (getPackages): use stringstream
16420         (getMacros): likewise
16421         (getTClassPreamble): likewise
16422         (getFloatDefinitions): new method
16423
16424         * paragraph.C (writeFile): reindent
16425         (Erase): reindent
16426
16427         * WorkArea.h: revert the xpos + etc changes.
16428
16429         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16430
16431         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16432
16433         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16434         (pasteSelection): likewise
16435         * text2.C (CreateUndo): likewise
16436
16437 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16438
16439         * minibuffer.C (peek_event): temporarily reduce the functionality
16440         of the minibuffer (to allow args on lfuns)
16441
16442         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16443         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16444
16445         * buffer.C (readInset): add compability reading of old float
16446         lists, add reading of new style float list.
16447         (readInset): avoid reevaluation of inscmd.getCmdName()
16448         (getLists): reindent
16449
16450         * MenuBackend.C (MenuItem): implement parsing of
16451         md_floatlistinsert and md_floatinsert.
16452         (expand::LastFiles): move initalizaton of iterators out of loop,
16453         avoid reevaluation.
16454         (expand::Documents): introduce typdedef vector<string> Strings,
16455         and use it.
16456         (expand::ExportFormats): introduce typedef vector<Format const *>
16457         Formats, and use it.
16458         (expand): implement FloatListInsert and FloatInsert.
16459
16460         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16461         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16462         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16463
16464         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16465         handling.
16466         (Dispatch::LFUN_FLOAT_LIST): implement
16467
16468 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16469
16470         * LaTeX.C (run): Fix problem with --export code.
16471
16472 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16473
16474         * BufferView.[Ch] (workarea): removed.
16475         (getClipboard) new method; wrapper for workarea()->getClipboard()
16476
16477         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16478         bug.
16479
16480         * WorkArea.h (width, height, xpos, ypos): These methods all
16481         returned the dimensions of the work_area sub-area of WorkArea,
16482         resulting in a position error if the WorkArea were resized. Now
16483         return the dimensions of the entire WorkArea.
16484
16485         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16486
16487 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16488
16489         * LaTeX.C (deplog): correct the syntax of regex reg1
16490
16491 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16492
16493         * undo.C: remove !NEW_INSETS cruft
16494
16495 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16496
16497         * text2.C: remove !NEW_INSETS cruft
16498
16499         * text.C: remove !NEW_INSETS cruft
16500
16501         * tabular.C: remove !NEW_INSETS cruft
16502
16503         * spellchecker.C: remove !NEW_INSETS cruft
16504
16505         * lyxtext.h: remove !NEW_INSETS cruft
16506
16507         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16508
16509         * lyxfunc.C: remove !NEW_INSETS cruft
16510
16511         * lyxfind.C: remove !NEW_INSETS cruft
16512
16513         * lyx_cb.C: remove !NEW_INSETS cruft
16514
16515         * figureForm.C: remove  !NEW_INSETS cruft
16516
16517         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16518
16519         * buffer.[Ch]: remove !NEW_INSETS cruft
16520
16521         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16522
16523         * CutAndPaste.C: remove !NEW_INSETS cruft
16524
16525         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16526
16527         * BufferView2.C: remove !NEW_INSETS cruft
16528
16529         * BufferView.h: remove !NEW_INSETS cruft
16530
16531 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16532
16533         * Lsstream.h: include LString.h before the sstream headers to
16534         fix problem with gcc 2.95.3 and lyxstring
16535
16536 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16537
16538         * lyx_main.C: add using directives when needed for C functions
16539         declared in std:: namespace.
16540
16541 2001-04-27  Juergen Vigna  <jug@sad.it>
16542
16543         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16544         (SetHeightOfRow): comment out the update call should not be needed!
16545
16546 2001-04-13  Juergen Vigna  <jug@sad.it>
16547
16548         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16549         (LyXTabular): tried to minimize operator= operations (and realized
16550         hopfully Lars wish).
16551
16552 2001-04-27  Juergen Vigna  <jug@sad.it>
16553
16554         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16555
16556 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16557
16558         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16559
16560         * buffer.C (readInset): hack to make listof algorithm work
16561
16562         * BufferView_pimpl.C: hack to make listof algorithm work
16563
16564 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16565
16566         * LyXAction.C: removed all !NEW_INSETS cruft
16567         (init): moved lfun_item in method
16568
16569         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16570
16571 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16572
16573         * BufferView2.C (theLockingInset): white space.
16574
16575 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16576
16577         * minibuffer.C: include <iostream>
16578
16579         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16580
16581         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16582
16583         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16584
16585         * text.[Ch] (TransposeChars): new method
16586
16587 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16588
16589         * call message directly through LyXView instead of through LyXFunc
16590         * BufferView2.C: adjust
16591         * BufferView_pimpl.C: adjust
16592         * FontLoader.C: adjust
16593         * buffer.C: adjust
16594         * bufferview_funcs.C: adjust
16595         * converter.C: adjust
16596         * figureForm.C: adjust
16597         * importer.C: adjust
16598         * lyx_cb.C: adjust
16599         * lyx_gui_misc.C: adjust
16600         * lyxfunc.C: adjust
16601         * lyxvc.C: adjust
16602         * text2.C: adjust
16603         + more files in subdirs
16604
16605         * lyxparagraph.h (size): move up int file
16606         (GetLayout): ditto
16607
16608         * adjust all uses of Assert to lyx::Assert.
16609
16610         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16611         lyxfunctional in namespace lyx
16612         * layout.C (hasLayout): ditto
16613         (GetLayout): ditto
16614         (GetLayout): ditto
16615         (delete_layout): ditto
16616         (NumberOfClass): ditto
16617         * converter.C (GetFormat): ditto
16618         (GetNumber): ditto
16619         (Add): ditto
16620         (Delete): ditto
16621         (SetViewer): ditto
16622         * bufferlist.C (getFileNames): ditto
16623         (emergencyWriteAll): ditto
16624         (exists): ditto
16625         (getBuffer): ditto
16626         * MenuBackend.C (hasSubmenu): ditto
16627         (hasMenu): ditto
16628         (getMenu): ditto
16629         * BufferView_pimpl.C (getInsetByCode): ditto
16630
16631 2001-04-18  Juergen Vigna  <jug@sad.it>
16632
16633         * vspace.C (asLatexString): fixed the 100% problem.
16634
16635 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16636
16637         * lyxfunc.C (Dispatch):
16638         * minibuffer.C:
16639         * minibuffer.h: add a few std:: qualifiers
16640
16641 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16642
16643         * minibuffer.[Ch]: reimplement so that commands is initiated and
16644         run from lyxfunc, simplified som handling, and made the completion
16645         and history code for complete. wip.
16646
16647         * lyxfunc.C (processKeySym): call message
16648         (miniDispatch): new temporary method
16649         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16650         (LFUN_MESSAGE): implement
16651         (LFUN_MESSAGE_PUSH): implement
16652         (LFUN_MESSAGE_POP): implement
16653         (initMiniBuffer): the initial/defualt minibuffer message.
16654
16655         * lyxfont.[Ch]: inline some more getters
16656
16657         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16658
16659         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16660
16661         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16662         (AutoSave): use LFUN_MESSAGE
16663         (Reconfigure): ditto
16664
16665         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16666
16667         * figureForm.C: use LFUN_MESSAGE
16668
16669         * converter.C (runLaTeX): use LFUN_MESSAGE
16670
16671         * bufferview_funcs.C: use LFUN_MESSAGE
16672         (Melt): ditto
16673         (changeDepth): ditto
16674
16675         * bufferparams.h: use boost::
16676
16677         * bufferlist.h: inherit privately from noncopyable
16678
16679         * bufferlist.C (loadLyXFile): remove some commented code.
16680
16681         * buffer.C (runChktex): use LFUN_MESSAGE
16682
16683         * ShareContainer.h: inherit privately from noncopyable
16684
16685         * ParagraphParameters.[hC] (depth): inline it.
16686
16687         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16688         methods.
16689         (message): new method
16690         (messagePush): ditto
16691         (messagePop): ditto
16692         (show): init minibuffer
16693         (showState): direct call
16694
16695         * LaTeX.[Ch]: inherit privately from noncopyable
16696         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16697         instead of WriteStatus.
16698
16699         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16700
16701         * BufferView_pimpl.C (buffer): don't init minibuffer
16702         (workAreaButtonPress): use LFUN_MESSAGE
16703         (workAreaButtonRelease): ditto
16704         (savePosition): ditto
16705         (restorePosition): ditto
16706         (MenuInsertLyXFile): ditto
16707         (workAreaExpose): don't init minibuffer
16708         (update): remove commented code, simplify
16709
16710         * BufferView2.C (openStuff): use LFUN_MESSAGE
16711         (toggleFloat): ditto
16712         (menuUndo): ditto
16713         (menuRedo): ditto
16714         (copyEnvironment): ditto
16715         (pasteEnvironment): ditto
16716         (copy): ditto
16717         (cut): ditto
16718         (paste): ditto
16719         (gotoInset): ditto
16720         (updateInset): remove some commented code
16721
16722         * lastfiles.h: inherit privately from noncopyable
16723         * layout.h: ditto
16724         * lyx_gui.h: ditto
16725         * lyx_main.h: ditto
16726         * lyxlex.h: ditto
16727         * lyxlex_pimpl.h: ditto
16728
16729         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16730         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16731         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16732
16733         * LyXAction.h: inherit privately from noncopyable, add methods
16734         func_begin, func_end, returning iterators to the func map.
16735
16736         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16737         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16738         (func_begin): new method
16739         (func_end): new method
16740
16741         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16742         and not)
16743         (copySelection): ditto
16744         (pasteSelection): ditto
16745
16746         * BufferView.C: whitespace change
16747         * BufferView.h: inherit privately from noncopyable
16748
16749 2001-04-16  Allan Rae  <rae@lyx.org>
16750
16751         * tabular-old.C (l_getline):
16752         * spellchecker.C (sc_check_word):
16753         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16754         an unrecognised preprocessor directive.  So ensure they're wrapped.
16755
16756 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16757
16758         * src/exporter.C (Export): Give an error message when path to file
16759         contains spaces.
16760
16761 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16762
16763         * LaTeX.C (deplog): Always check that foundfile exists.
16764
16765 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16766
16767         * lyx_main.h:
16768         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16769
16770 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16771
16772         * tabular.[Ch] (getLabelList): implement new method
16773
16774         * minibuffer.h: comment ouf setTiimer
16775
16776         * minibuffer.C (ExecutingCB): constify res
16777         (peek_event): constify s
16778         (Set): constify ntext
16779         (Init): constify nicename
16780
16781         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16782
16783         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16784         (savePosition): use two params to Minibuffer::Set
16785         (restorePosition): ditto
16786
16787 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16788
16789         * lyx_main.C: include language.h
16790
16791         * Makefile.am (lyx_main.o): add language.h
16792
16793 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16794
16795         * exporter.C:
16796         * paragraph.C:
16797         * screen.C:
16798         * tabular.C:
16799         * CutAndPaste.C: include gettext.h
16800
16801         * lyxfont.h: remove old hack with ON and OFF.
16802
16803         * lyxparagraph.h:
16804         * lyxfont.h: do not include language.h...
16805
16806         * BufferView2.C:
16807         * LaTeXFeatures.C:
16808         * Painter.C:
16809         * bufferview_funcs.C:
16810         * font.C:
16811         * lyxfont.C:
16812         * text.C:
16813         * text2.C:
16814         * trans_mgr.C:
16815         * paragraph.C: ... but do it here instead
16816
16817 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16818
16819         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16820
16821         * tabular.C: small reformat
16822
16823         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16824         NEW_INSETS version
16825         (GetChar): ditto
16826         (BreakParagraph): ditto
16827         (SetOnlyLayout): ditto
16828         (SetLayout): ditto
16829
16830         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16831         with one arg less.
16832
16833         * lastfiles.C: removed most using decl, add std:: where needed
16834
16835         * buffer.C: ws changes
16836
16837         * MenuBackend.C (class compare_format): put into anon namespace
16838         (expand): constify label, names, action, action2
16839         (expand):
16840
16841         * text.C (SingleWidth): constify font
16842         (IsBoundary): constify rtl2
16843         (GetVisibleRow): constify ww
16844
16845         * LaTeX.C (deplog): constify logfile
16846
16847         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16848         start_x, end_x
16849         (workAreaExpose): constify widthChange, heightChange
16850
16851         * lyxrow.C (par): moved
16852         (height): moved
16853         (next): moved
16854         * lyxrow.h: as inlines here
16855
16856         * lyxfont.h (shape): moved from lyxfont.C
16857         (emph): moved from lyxfont.C
16858
16859         * lyxfont.C (LyXFont): use initialization list for all
16860         constructors
16861         (shape): move to lyxfont.h as inline
16862         (emph): move to lyxfont.h as inline
16863
16864
16865 2001-04-04  Juergen Vigna  <jug@sad.it>
16866
16867         * vspace.C: had to include stdio.h for use of sscanf
16868
16869 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16870
16871         * BufferView.h:
16872         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16873         independent of xforms.
16874
16875 2001-04-02  Juergen Vigna  <jug@sad.it>
16876
16877         * spellchecker.C: fixed namespace placing!
16878
16879 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16880
16881         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16882         the LyXParagraph * is 0.
16883
16884 2001-03-29  Juergen Vigna  <jug@sad.it>
16885
16886         * vspace.C: added support for %, c%, p%, l%.
16887         (stringFromUnit): added helper function.
16888         (asLatexString): changed to give right results for the %-values.
16889
16890         * buffer.C: convert the widthp in a width%.
16891
16892 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16893
16894         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16895         figureForm.[Ch].
16896
16897         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16898         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16899
16900         * lyx_cb.[Ch]: see above.
16901
16902         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16903         form1.[Ch].
16904
16905         * form1.[Ch]:
16906         * lyx.[Ch]: replaced by figure_form.[Ch].
16907
16908         * lyx_gui.C:
16909         * lyx_gui_misc.C:
16910         * lyxfunc.C: changed headers associated with above changes.
16911
16912 2001-03-27  Juergen Vigna  <jug@sad.it>
16913
16914         * BufferView_pimpl.C: set the temporary cursor right!
16915
16916 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16917
16918         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16919
16920 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16921
16922         * LString.h: removed "using std::getline"!
16923
16924         * BufferView_pimpl.C (Dispatch): changes due to changes in
16925         InsetInclude::Params.
16926
16927         * buffer.C (tag_name): removed redundant break statements as they were
16928         producing lots of warnings with my compiler.
16929
16930 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16931
16932         * LString.h: add "using std::getline" when using the real <string>.
16933
16934 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16935
16936         * buffer.C: removed bitset usage.
16937         PAR_TAG moved to an anonymous name space.
16938         (tag_name): new funtion, also in the anonymous namespace.
16939         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16940         (makeDocBookFile): clean code. Completed transition from string arrays
16941         to string vectors.
16942         (SimpleDocBookOnePar): code clean.
16943
16944 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16945
16946         * tabular.C: add some comments.
16947
16948 2001-03-22  Juergen Vigna  <jug@sad.it>
16949
16950         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16951         compatibility read a bit and fixed bug with minipage in different
16952         depth.
16953
16954 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16955
16956         * buffer.C (pop_tag): removed.
16957         (push_tag): removed.
16958         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16959         array replaced with vector. Added support for CDATA sections.
16960         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16961         at any nest level.
16962         (makeDocBookFile): XML conformant declaration of CDATA section,
16963         fixed bug related to <emphasis> in the first paragraph char.
16964         (sgmlOpenTag): exclude empty tags.
16965         (sgmlCloseTag): ditto.
16966
16967         * buffer.h (pop_tag): removed.
16968         (push_tag): removed.
16969
16970 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16971
16972         * language.h (Languages): added size_type and size().
16973
16974 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16975
16976         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16977         response on compability reading of minipages. One probliem is that
16978         the old usage of minipages was «flertydig»
16979
16980         * several files here and in subdirs: don't use static at file
16981         scope use anon namespaces instead.
16982
16983 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16984
16985         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16986         LaTeX output. This is necessary for Literate document
16987         processing.
16988
16989 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16990
16991         * buffer.C: insert hfill when needed.
16992
16993         * tabular.C (l_getline): use string::erase, small whitespace change.
16994
16995         * BufferView_pimpl.C: try the anon namespace.
16996         * WorkArea.C: ditto
16997
16998 2001-03-16  Juergen Vigna  <jug@sad.it>
16999
17000         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17001         otherwise it won't open options-dialogs.
17002
17003         * buffer.C: honor pextraWidth(p) on converting minipages.
17004
17005         * tabular.C (l_getline): changed the functions to strip trailing \r.
17006
17007 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17008
17009         * BufferView_pimpl.C:
17010         * minibuffer..C: added "using SigC::slot" declaration.
17011
17012 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17013
17014         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17015
17016         * text2.C: ditto
17017
17018         * text.C: ditto
17019
17020         * paragraph.C: ditto
17021
17022         * lyxtext.h: NO_PEXTRA
17023
17024         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17025
17026         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17027         * ParameterStruct.h: ditto
17028         * ParagraphParameters.h: ditto
17029         * lyxparagraph.h: ditto
17030
17031 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17032
17033         * buffer.C: add compability for minipage alignment.
17034         (latexParagraphs): remove unwanted pextra check.
17035
17036         * several files: remove CXX_WORKING_NAMESPACES
17037
17038         * buffer.C (pop_tag): tie is in namespace boost
17039
17040         * BufferView.h: noncopyable is in namespace boost
17041         * lyxlex.h: ditto
17042         * lyx_main.h: ditto
17043         * lyx_gui.h: ditto
17044         * layout.h: ditto
17045         * lastfiles.h: ditto
17046         * bufferlist.h: ditto
17047         * ShareContainer.h: ditto
17048         * LyXView.h: ditto
17049         * LyXAction.h: ditto
17050         * LaTeX.h: ditto
17051
17052 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17053
17054         * Merging changes from BRANCH_MVC back into HEAD.
17055
17056         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17057
17058 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17059
17060         * BufferView_pimpl.C: change from intl.C
17061
17062         * combox.h:
17063         * combox.C:
17064         * Makefile.am: move combox.*
17065
17066         * form1.h:
17067         * form1.C:
17068         * lyx_gui.C:
17069         * intl.h:
17070         * intl.C: remove dialog (covered by prefs)
17071
17072 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17073
17074         * lyxfunc.C (Dispatch): removed redundant break statement.
17075
17076 2001-03-14  Juergen Vigna  <jug@sad.it>
17077
17078         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17079
17080 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17081
17082         * buffer.C: add hack to fix compability reading of minipages.
17083
17084 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17085
17086         * buffer.C (getLists): Cleanup.
17087
17088 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17089
17090         * lyxfont.C (update): don't honor toggleall on font size.
17091
17092 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17093
17094         * bmtable.c:
17095         * bmtable.h:
17096         * Makefile.am: moved to frontends/xforms/
17097
17098         * lyx_gui_misc.C:
17099         * lyxfunc.C:
17100         * BufferView_pimpl.C: changes for moved mathpanel
17101
17102 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17103
17104         * gettext.h: fix gettext_init() in --disable-nls
17105
17106 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17107
17108         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17109
17110 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17111
17112         * lyx.C:
17113         * lyx.h: strip external form
17114
17115 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17116
17117         * BufferView_pimpl.C: add comment, destroySplash()
17118
17119 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17120
17121         * BufferView_pimpl.C:
17122         * LyXAction.C:
17123         * buffer.C:
17124         * commandtags.h:
17125         * lyxfunc.C: use re-worked insetinclude
17126
17127 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17128
17129         * buffer.C: add using std::stringstream.
17130
17131         * lyx_cb.C: readd using std::ios.
17132
17133         * buffer.C: add using std::map.
17134
17135         * BufferView_pimpl.C: add using std::vector.
17136
17137         * ShareContainer.h: add std:: to swap.
17138
17139         * buffer.h: add some typedefs
17140         * buffer.C (getLists): use them
17141         (getLists): renamed from getTocList.
17142         add a counter for the different float types and use it in the
17143         generated string.
17144         (getLists): use the same counter for the NEW_INSETS and the "non"
17145         NEW_INSETS
17146
17147         * lyx_cb.h: remove unused items, includes, using etc.
17148
17149         * ShareContainer.h: remove some commented code, add more comments
17150         and "documentation".
17151
17152 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17153
17154         * buffer.C (getTocList): make the list also when NEW_INSETS is
17155         defined.
17156
17157         * buffer.h: remove TocType
17158
17159         * buffer.C (getTocList): change to return a map<string,
17160         vector<TocItem> >, implement for dynamic number of list.
17161
17162         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17163         * text2.C (PasteSelection): adjust
17164         * CutAndPaste.C (pasteSelection): adjust
17165
17166         * FloatList.C (FloatList): update from the new_insets branch.
17167         * Floating.[Ch]: ditto
17168         * LaTeXFeatures.C: ditto
17169         * buffer.C: ditto
17170         * lyxlex_pimpl.C: ditto
17171
17172         * paragraph.C (Last): remove when NEW_INSETS is defined.
17173
17174         * other file: changes because of the above.
17175
17176 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17177
17178         * lyxparagraph.h: rename next to next_, previous to previous_,
17179         make them private for NEW_INSETS. Rename Next() to next(),
17180         Previous() to previous().
17181
17182         * other files: changes because of the above.
17183
17184 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17185
17186         * BufferView.h:
17187         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17188         problem.
17189
17190 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17191
17192         * main.C (main): pass lyx_localedir to gettext_init().
17193
17194         * gettext.h: remove locale_init and gettext_init macros
17195
17196         * gettext.C (locale_init): new function
17197         (gettext_init): new function
17198
17199         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17200         setlocale().
17201
17202 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17203
17204         * Moved credits to frontends:
17205         * credits.[Ch]: removed
17206         * credits_form.[Ch]: removed
17207         * lyx_gui_misc.C: remove credits stuff
17208         * Makefile.am:
17209
17210 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17211
17212         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17213
17214         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17215         unneeded destructor.
17216
17217         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17218         a standalone pointer again.
17219
17220         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17221
17222 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17223
17224         * Makefile.am:
17225         * filedlg.h:
17226         * filedlg.C:
17227         * LyXAction.C:
17228         * ToolbarDefaults.C:
17229         * bufferlist.C:
17230         * commandtags.h:
17231         * form1.C:
17232         * form1.h:
17233         * lyx_cb.C:
17234         * lyx_cb.h:
17235         * lyxfunc.h:
17236         * lyxfunc.C:
17237         * BufferView_pimpl.C: use new file dialog in GUII
17238
17239         * lyx_cb.h:
17240         * lyx_cb.C: remove LayoutsCB to Toolbar
17241
17242 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17243
17244         * ShareContainer.h (get): add std:: qualifier
17245
17246 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17247
17248         * ShareContainer.h: define a proper ShareContainer::value_type
17249         type (and use typename to please compaq cxx)
17250
17251 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17252
17253         * lyxparagraph.h: move serveral local vars to
17254         ParameterStruct/ParagraphParameters., use ShareContainer in
17255         FontTable., make vars in FontTable private and add getter and
17256         setter.
17257
17258         * paragraph.C: changes because of the above.
17259
17260         * lyxfont.h: remove copy constructor and copy assignment. (the
17261         default ones is ok), move number inside FontBits. move inlines to
17262         lyxfont.C
17263
17264         * lyxfont.C: add number to initializaton of statics, move several
17265         inlines here. constify several local vars. some whitespace
17266         cleanup. Dont hide outerscope variables.
17267
17268         * Spacing.h: add two new constructors to match the set methods.
17269
17270         * ShareContainer.h: new file, will perhaps be moved to support
17271
17272         * ParameterStruct.h: new file
17273
17274         * ParagraphParameters.h: new file
17275
17276         * ParagraphParameters.C: new file
17277
17278         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17279         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17280
17281         * BufferView_pimpl.C: ParagraphParameter changes.
17282         * buffer.C: Likewise.
17283         * bufferview_funcs.C: Likewise.
17284         * text.C: Likewise.
17285         * text2.C: Likewise.
17286
17287 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17288
17289         * lyxfind.C (LyXReplace): do not redefine default argument in
17290         implementation.
17291         (IsStringInText): ditto
17292         (SearchForward): ditto
17293         (SearchBackward): ditto
17294
17295 2001-03-06  Juergen Vigna  <jug@sad.it>
17296
17297         * lyxfind.C (IsStringInText): put parentes around expressions.
17298
17299 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17300
17301         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17302
17303 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17304
17305         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17306
17307         * stl_string_fwd.h: add comment
17308
17309         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17310
17311         * tabular.h:
17312         * tabular.C: remove unused DocBook methods
17313
17314         * intl.C:
17315         * language.C:
17316         * paragraph.C:
17317         * buffer.C:
17318         killed DO_USE_DEFAULT_LANGUAGE
17319
17320 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17321
17322         * lyx_gui.C: do not include language.h.
17323
17324         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17325         arguments in function implementation.
17326
17327 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17328
17329         * BufferView_pimpl.C: add <ctime>
17330
17331 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17332
17333         * BufferView_pimpl.C: add using std::find_if
17334
17335 2001-02-27  José Matos  <jamatos@fep.up.pt>
17336
17337         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17338         by OnlyPath.
17339
17340 2001-02-11  José Matos  <jamatos@fep.up.pt>
17341
17342         * buffer.C (makeDocBookFile): command styles now have a parameter as
17343         "title" by default.
17344
17345 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17346
17347         * layout_forms.[Ch]: removed
17348         * lyx_cb.[Ch]: out character
17349         * lyx_gui.C: out character
17350         * lyx_gui_misc.C: out character
17351         * bufferview_funcs.C: : out character,
17352         added toggleall as parameter in ToggleAndShow
17353
17354 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17355
17356         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17357
17358         * text2.C (SetCurrentFont): Disable number property at boundary.
17359
17360 2001-02-26  Juergen Vigna  <jug@sad.it>
17361
17362         * lyxfunc.C (getStatus): added a string argument override function so
17363         that this is correctly called from LyXFunc::Dispatch if it contains a
17364         do_not_use_argument which is used!
17365         (Dispatch): added check for "custom" export and call appropriate func.
17366
17367 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17368
17369         * lyxrc.C: Add language_command_local, language_use_babel and
17370         language_global_options.
17371
17372         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17373
17374         * buffer.C (makeLaTeXFile): Use language_use_babel and
17375         language_global_options.
17376
17377 2001-02-23  Juergen Vigna  <jug@sad.it>
17378
17379         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17380         which works with LyXText and putted it inside BufferView. Here now we
17381         only call for that part the BufferView::Dispatch() function.
17382
17383         * BufferView.C (Dispatch): added.
17384
17385         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17386         functions which needs to use a LyXText over from LyXFunc.
17387         (MenuInsertLyXFile): added
17388         (getInsetByCode): added
17389         (moveCursorUpdate): added
17390         (static TEXT): added
17391
17392 2001-02-22  Juergen Vigna  <jug@sad.it>
17393
17394         * BufferView_pimpl.C (update): call a status update to see if LyXText
17395         needs it.
17396
17397 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17398
17399         * vc-backend.C (revert): implement for CVS
17400         (getLog): implement for CVS
17401
17402 2001-02-20  Juergen Vigna  <jug@sad.it>
17403
17404         * text2.C (ClearSelection): added BufferView param for inset_owner call
17405
17406         * lyxfunc.C (TEXT): added this function and use it instead of
17407         directly owner->view()-text of getLyXText().
17408
17409 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17410
17411         * src/layout_forms.C: out preamble
17412         * src/layout_forms.h: out preamble
17413         * src/lyx_cb.C: out preamble
17414         * src/lyx_cb.h: out preamble
17415         * src/lyx_gui.C: out preamble
17416         * src/lyx_gui_misc.C: out preamble
17417         * src/lyxfunc.C: connect with guii preamble
17418
17419 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17420
17421         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17422
17423 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17424
17425         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17426         whether to run bibtex.
17427
17428 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17429
17430         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17431
17432 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17433
17434         * Makefile.am (lyx_SOURCES): removed bibforms.h
17435
17436         * vspace.h: doxygen
17437
17438         * text.C (GetVisibleRow): make several local vars const
17439
17440         * tabular.C: small cleanup.
17441
17442         * lyxserver.C (callback): use compare instead of strncmp
17443
17444         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17445         inlines to after class or to paragraph.C
17446
17447         * lyxfont.h: remove friend operator!=
17448
17449         * converter.h: move friend bool operator< to non friend and after
17450         class def.
17451
17452         * combox.h: small cleanup
17453
17454         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17455         to inlines after class def.
17456
17457         * buffer.C (pop_tag): use string operations instead of strcmp
17458
17459         * bmtable.c: doxygen, small cleanup
17460
17461         * LaTeX.h: remove friend operator==
17462
17463 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17464
17465         * screen.C:
17466         * lyxrc.[Ch]:
17467         * lyxfunc.C:
17468         * lyxfont.[Ch]:
17469         * lyx_cb.C:
17470         * intl.[Ch]:
17471         * commandtags.h:
17472         * buffer.C:
17473         * WorkArea.[Ch]:
17474         * LyXAction.C:
17475         * BufferView_pimpl.C:
17476         * BufferView.[Ch]: remove cruft
17477
17478 2001-02-14  Juergen Vigna  <jug@sad.it>
17479
17480         * lyxfunc.C: removed #if 0 unused code
17481
17482         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17483
17484         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17485
17486         * text2.C (SetSelection): added a BufferView * parameter
17487
17488 2001-02-13  Juergen Vigna  <jug@sad.it>
17489
17490         * lyxfunc.C (Dispatch): fixed protected blank problem.
17491         * BufferView2.C (protectedBlank): added LyxText * parameter.
17492
17493         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17494         (AppendColumn): same as above for column_info.
17495
17496         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17497         (moveCursorUpdate): use a LyXText param for support of InsetText.
17498
17499         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17500         (tripleClick): ditto
17501
17502         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17503
17504         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17505
17506         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17507
17508         * text2.C (SetSelection): set correct update status if inset_owner
17509         (ToggleFree): ditto
17510
17511 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17512
17513         * tabular.C: remove some commented code.
17514
17515 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17516
17517         * BufferView_pimpl.C: call hideSplash()
17518
17519         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17520
17521         * include_form.h:
17522         * bibforms.h: remove
17523
17524         * lyxfunc.C:
17525         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17526           add LFUN_CHILD_CREATE
17527
17528         * counters.h: fix tiny typo
17529
17530         * lyx_cb.C:
17531         * lyx.h:
17532         * lyx_gui.C:
17533         * lyx.C: move splash to frontends/xforms/
17534
17535         * lyx_gui_misc.C: move Include and Bibform to frontends
17536
17537         * lyxvc.h: clarify comment
17538
17539         * vspace.C: tiny housekeeping
17540
17541 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17542
17543         * text.C (PrepareToPrint): RTL Fix.
17544
17545         * paragraph.C (GetUChar): New method.
17546         (String):  Use GetUChar.
17547
17548         * buffer.C (asciiParagraph): Use GetUChar.
17549
17550 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17551
17552         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17553
17554 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17555
17556         * buffer.h:
17557         * buffer.C: rename to getLogName(), handle
17558           build log / latex log nicely
17559
17560 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17561
17562         * MenuBackend.C:
17563         * MenuBackend.h: remove support for reference menuitem type.
17564
17565 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17566
17567         * BufferView_pimpl.C: housekeeping
17568         * BufferView_pimpl.h:
17569         * LyXView.h:
17570         * Makefile.am:
17571         * Timeout.C:
17572         * Timeout.h:
17573         * minibuffer.h: move Timeout GUI-I
17574
17575 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17576
17577         * lyxrc.C (read): Update converters data-structures.
17578
17579 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17580
17581         * LaTeX.h (operator!=): add operator != for Aux_Info
17582
17583 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17584
17585         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17586
17587         * LaTeXLog.C: deleted, useful code moved to Buffer
17588
17589         * buffer.h:
17590         * buffer.C: new function getLatexLogName()
17591
17592         * lyx_gui_misc.C:
17593         * lyx_gui.C:
17594         * lyxvc.C:
17595         * lyxvc.h:
17596         * lyxfunc.C: use frontends for LaTeX and VC logs
17597
17598 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17599
17600         * LaTeX.h: yet another std:: that Allan forgot.
17601
17602         * Variables.C (set): renamed from isset(), because this clashes
17603         with some HP-UX macros (grr).
17604
17605 2001-02-06  Allan Rae  <rae@lyx.org>
17606
17607         * LaTeX.h: Another bug fix.  Missing std:: this time.
17608
17609 2001-02-04  Allan Rae  <rae@lyx.org>
17610
17611         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17612         floats problem. I've left it commented out because it's not quite
17613         correct.  It should also test that the current object is a table or
17614         figure inset.  But I haven't gotten around to figuring out how to do
17615         that.  I *think* it'll be something like: "table" == inset.type()
17616
17617         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17618         bool.
17619
17620 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17621
17622         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17623         all the citation/databases/styles in the auxilary file.
17624         (run): Rerun latex if there was a babel language error.
17625
17626 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17627
17628         * text.C (Backspace): Preserve the font when changing newline char
17629         with a space.
17630         (BreakParagraph): If the cursor is before a space, delete the space.
17631
17632         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17633
17634 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17635
17636         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17637         new argument (code).
17638         (ChangeCitationsIfUnique): New method.
17639
17640         * paragraph.C (GetPositionOfInset): Handle bibkey.
17641
17642 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17643
17644         * BufferView_pimpl.h: change type of Position::par_pos to
17645         LyXParagraph::size_type.
17646
17647 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17648
17649         * BufferView_pimpl.C (savePosition, restorePosition): Write
17650         messages to minibuffer.
17651
17652 2001-01-28  José Matos  <jamatos@fep.up.pt>
17653
17654         * buffer.C (makeDocBookFile): adds support for document language.
17655         A silly restriction on the name of LatexCommand types where removed.
17656         Added support for CDATA sections, allows to chars unescaped, used
17657         among others in code, to avoid escape < and >.
17658
17659 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17660
17661         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17662         saved positions instrad of a stack. Furthermore, a position is
17663         stored using paragraph id/paragraph position.
17664
17665         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17666         Remove LFUN_REF_BACK.
17667
17668 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17669
17670         * converter.C (dvipdfm_options): New method.
17671
17672 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17673
17674         * vspace.C (isValidLength): Fix for empty input string.
17675
17676 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17677
17678         * LyXAction.C (init): change description of LFUN_FIGURE to
17679         "Insert Graphics"
17680
17681 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17682
17683         * LaTeX.C: add using directive
17684
17685 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17686
17687         * MenuBackend.C (expand): Fix the sorting of the formats.
17688
17689 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17690
17691         * lyx_main.C: tiny error message fix
17692
17693 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17694
17695         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17696         calling fl_initialize(). This fixes the problem with ',' as
17697         decimal separator in text files.
17698
17699 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17700
17701         * trans.C (process): Fix the keymap bug.
17702
17703 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17704
17705         * LaTeX.C (scanAuxFiles): New method. Provides support for
17706         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17707         (scanLogFile) Scan for "run BibTeX" messages.
17708
17709         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17710         OT1 font encoding. Also, load the aecompl package if the ae
17711         package is loaded.
17712
17713         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17714
17715 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17716
17717         * texrow.C (increasePos): turn two error messages into debug
17718         messages.
17719
17720 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17721
17722         * LaTeX.C (scanAux): Handle the \@input macro.
17723         (runBibTeX): Use scanAux().
17724
17725         * language.C (latex_options_): New field.
17726
17727         * LaTeXFeatures.C (getMacros): Add language macros.
17728
17729         * buffer.C (makeLaTeXFile): Small fix.
17730
17731 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17732
17733         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17734
17735         * text2.C: add a using directive.
17736
17737 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17738
17739         * BufferView2.C:
17740         * lyx_gui_misc.h:
17741         * lyxfr1.C:
17742         * lyxfunc.C: kill LyXBell.
17743
17744 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17745
17746         * text.C (IsBoundary): Remove the error message
17747
17748         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17749
17750         * lyxrc.C (setDefaults): Correct initialization value for
17751         font_norm_type.
17752
17753 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17754
17755         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17756         gotoError().
17757
17758         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17759         and GotoNextNote().
17760
17761         * src/LyXAction.C: Added reference-next.
17762
17763         * text.C (InsertChar): Use contains instead of strchr.
17764
17765         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17766
17767 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17768
17769         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17770         alignment commands (when needed).
17771
17772         * text.C (InsertChar): Add ':' to number separator chars.