]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
various toc-related fixes
[lyx.git] / src / ChangeLog
1 <<<<<<< ChangeLog
2 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3
4         * buffer_funcs.C (setCounter): fix test for numbering of
5         environments. 
6
7         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
8         depth correctly; use optional argument when it exists
9
10         * lyxtextclass.C: remove unused MaxCounterTags enum
11         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
12         (max_toclevel, min_toclevel): new methods.
13
14         * MenuBackend.C (expandToc2): fix case where depth is smaller than
15         the smallest depth in toc.
16
17         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
18         layouts that should not appear in a table of contents.
19         
20 =======
21 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
22
23         * buffer.C (save): check if destination is writable before trying
24         to copy a file
25
26 >>>>>>> 1.2180
27 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
28
29         * BufferView_pimpl.C (update): fix processEvents -caused update
30         recursion bug
31
32 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
33
34         * cursor.h (undispatched, noUpdate): add comments from André
35
36 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
37
38         * lfuns.h:
39         * LyXAction.C:
40         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
41
42 2005-05-07  André Pönitz  <poenitz@gmx.net>
43
44         * cursor.[Ch] (leaveInset): new function
45
46 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
47
48         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
49
50 2005-05-04  Angus Leeming  <leeming@lyx.org>
51
52         * lyxfunc.C (getStatus): disable the spell checker dialog if
53         none of USE_[AIP]SPELL are defined.
54
55 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
56
57         * tabular.C (setWidthOfCell): remove obsolete comment
58
59 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
60
61         * paragraph.C (bibitem):
62         * buffer_funcs.C (setCounter):
63         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
64
65 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
66
67         * text3.C (getStatus): immediately return after setOnOff
68
69         * rowpainter.C: fix drawing of appendix start
70
71 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
72
73         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
74         SwitchBetweenClasses and remove the unused return value.
75         Handle character styles, too
76
77 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
78
79         * factory.C (createInset): handle undefined character styles
80
81 2005-05-02  Angus Leeming  <leeming@lyx.org>
82
83         * buffer.C: protect the #include of utime.h with a preprocessor
84         guard.
85
86 2005-05-02  Angus Leeming  <leeming@lyx.org>
87
88         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
89         function so that auto-saving works, albeit in a blocking manner.
90
91         * Makefile.am: make compilation of the client sub directory, of
92         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
93         on conditionals set at configure time.
94
95         * SpellBase.[Ch]: no longer an abstract base class. Instead,
96         it can be compiled in its own right but has no-op functionality.
97
98         * aspell.C, pspell.C: remove preprocessor guards. The files should
99         be compiled only if the necessary functionality exists.
100
101         * lyxserver.C, lyxsocket.C: disable on Windows.
102
103 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
104
105         * text.C (leftMargin): Fix the parindent use bug (1764)
106         by dirty trick
107
108 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
109
110         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
111         argument.
112
113 2005-04-25  Angus Leeming  <leeming@lyx.org>
114
115         * Bidi.[Ch]:
116         * coordcache.[Ch]:
117         * ispell.C:
118         * lyxserver.C:
119         * mover.C:
120         * pch.h:
121         include <config.h> in .C files, not .h ones.
122         add licence blurb.
123         protect headers inside preprocessor guards.
124
125 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
126
127         * FuncStatus.h (StatusCodes): document
128
129 2005-04-21  André Pönitz  <poenitz@gmx.net>
130
131         * FuncStatus.h (enabled, onoff): document
132
133 2005-04-19  Angus Leeming  <leeming@lyx.org>
134
135         * BufferView_pimpl.C (cursorToggle): no longer test whether
136         any child processes have been reaped before calling
137         handleCompletedProcesses().
138
139 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
140
141         * text3.C (dispatch): fix, finally fix, the language problem in
142         new lyxtexts, without disabling on-the-fly font changes (Helge's
143         bug report)
144
145 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
146
147         * text3.C (dispatch): set cursor on double/triple click events
148         (bug 1811)
149
150 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
151
152         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
153         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
154
155         * rowpainter.C (paintFirst): simplify the code a little bit. In
156         particular, remove the test for secnumdepth.
157         * text.C (setHeightOfRow): only allocate space for chapter number
158         when updateCounters provided an actual label, instead of looking
159         at secnumdepth directly.
160
161         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
162
163         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
164         paragraphs when secnumdepth is large enough or, for environments,
165         when they are not the first in a sequence.
166
167 2005-04-17  Angus Leeming  <leeming@lyx.org>
168
169         * buffer.C (makeLaTeXFile): replace code to manipulate a path
170         containing space and '~' characters with a call to latex_path().
171
172 2005-04-17  Angus Leeming  <leeming@lyx.org>
173
174         * converter.C (convert): protect all args of convertDefault.sh
175         script with quotes.
176
177 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
178
179         * text3.C (dispatch): change the layout to "Caption" after inserting
180         a float.
181
182 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
183
184         * text3.C (dispatch): fix language problem in newly created
185         textinsets (and main text) in non-english docs
186
187 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
188
189         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
190         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
191         * text3.C (getStatus): disable LFUN_INSET_MODIFY
192
193 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
194
195         * lyxtext.h:
196         * text.C (metrics):
197         * text2.C (getFont):
198         * rowpainter.C (getFont): Fix metrics bug introduced by inset
199         fonts fix
200
201 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
202
203         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
204         output of \item arguments without trailing text.
205
206 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         * FontIterator.C (operator*): avoid a copy of the font.
209
210 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
211
212         * rowpainter.C (getFont): fix language bug from previous fix
213
214 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
215
216         * rowpainter.C (RowPainter, getFont): fix font inside inset
217         (bugs 1766, 1809)
218
219 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
220
221         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
222         preventing inserted font, deco, delim insets jumping to start of
223         surrounding inset.
224
225 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
226
227         * lyxfunc.C (dispatch): translate message before sending it to the
228         minibuffer.
229
230 2005-03-29  Angus Leeming  <leeming@lyx.org>
231
232         * lyx_main.C (priv_exec): call os::internal_path on each file passed
233         to LyX on the command line.
234
235 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
236
237         * vc-backend.C: use QuoteName to protect file names wherever
238         necessary.
239
240 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
241
242         * buffer.[Ch]:
243         * BranchList.h: fix bugs 1844,1845: document settings don't
244         stick
245
246 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * lyxrc.C (setDefaults, read, output, getDescription): add support
249         for tex_allows_spaces.
250
251         * exporter.C (Export): allows files in directory containing spaces
252         if tex_allows_spaces is true.
253
254         * buffer.C (makeLaTeXFile): if the document path contains spaces,
255         output it in double quotes.
256
257 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
258
259         * rowpainter.C: use default text height for drawing change tracker
260         strikeout lines.
261
262 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
263
264         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
265
266 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
267
268         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
269         directory is missing.
270
271 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
272
273         * text2.C: fixed the fix, extended to other case.
274
275 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
276
277         * text2.C: fix for cursor up/down stuck in math [bug 1792]
278
279 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
280
281         * text2.C (cursorUp): get rid of a crash
282         * text.C (x2pos): add an assert
283
284 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
285
286         * lyxfunc.C (getStatus): fix warning when assertions are disabled
287
288         * text3.C:
289         * lyxfunc.C:
290         * dociterator.C: include <boost/current_function.hpp>, which is
291         needed when assertions are disabled.
292
293 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
294
295         * text2.C: fix for stuck cursor when traversing two
296         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
297
298 2005-02-25  Andreas Vox  <avox@arcor.de>
299
300         * output_docbook.C (makeParagraph): suppress trailing newline
301         after a run of paragraphs
302
303 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
304
305         * paragraph.C: fix for confused change tracker when pasting
306         text that begins with a lineseparator. [bug 1827]
307         (setChange(0, Change::INSERTED);)
308
309         * paragraph_funcs.C: fix for lost changes on triple-paste
310         in change tracking mode [bug 1827] (par.setChange()).
311
312 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
313
314         * text2.C (updateCounters, setCounter, expandLabel): move to
315         buffer_funcs.
316
317         * buffer_funcs.C (updateCounters): turn into a free standing
318         function and add a buffer parameter. Remove dead code for tracking
319         labelstring change.
320         (setCounter): change into a free-standing function which gets a
321         dociterator as argument. Use this iterator to fix captions in a
322         simple way. When no float is found above the caption, use the
323         labelstring of the caption layout as default.
324
325         * text.C (breakParagraph, backspace):
326         * text2.C (init, setLayout, changeDepth):
327         * text3.C (dispatch):
328         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
329         updateCounters.
330
331         * dociterator.C (forwardPar): make it much faster by calling
332         forwardPos() only when really necessary.
333
334         * output_docbook.C (makeCommand): adapt to expandLabel move.
335
336         * cursor.C: remove unused variable
337
338 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
339
340         * paragraph_funcs.C: fix crash when pasting insets in change
341         tracking mode [bug 1277] (honour change type in moveItem).
342
343 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
344
345         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
346
347 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
348
349         * BufferView.C (setCursor): change to use a DocIterator.
350         (gotoLabel): use BufferView::setCursor (other part of bug 781).
351         (putSelectionAt): adapt to BufferView::setCursor change.
352
353         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
354         moved here from LyXText and rewritten to use proper cursor
355         methods. Fixes bug 1787, 616 and 835.
356
357         * BufferView_pimpl.C (restorePosition): set the cursor correctly
358         when inside an inset (part of bug 781).
359         (dispatch): adapt to change of BufferView::setCursor.
360         (getStatus, dispatch): handle LFUN_GOTOERROR,
361         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
362
363         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
364         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
365         * text3.C (gotoNextInset, gotoInset): removed.
366
367 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
370
371 2005-02-15  Angus Leeming  <leeming@lyx.org>
372
373         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
374         can be used meaningfully in a comparison.
375
376 2005-02-13  André Pönitz  <poenitz@gmx.net>
377
378         * bufferview_funcs.C (coordOffset): improve cursor drawing
379
380 2005-02-13  André Pönitz  <poenitz@gmx.net>
381
382         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
383         * Cursor.C (dispatch): use fixIfBroken
384         * lyxfunc.C (getStatus): use fixIfBroken
385
386 2005-02-15  Angus Leeming  <leeming@lyx.org>
387
388         * lyx_main.C (error_handler):
389         * lyxfunc.C:
390         * lyxrc.C (setDefaults):
391         s/GetEnv/getEnv/.
392         #include "environment.h".
393
394         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
395
396 2005-02-15  Angus Leeming  <leeming@lyx.org>
397
398         * lyxserver.C (startPipe): squash MSVC warning "local variable
399         'fd' used without having been initialized".
400
401 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
402
403         * BufferView_pimpl.C: revert accidental commit.
404
405 2005-02-14  André Pönitz  <poenitz@gmx.net>
406
407         * dociterator.[Ch]: new member forwardPosNoDescent(),
408         which doesn't enter nested insets.
409         * text2.C (setFont): use forwardPosNoDescent() instead
410         of ForwardPos() (fixes crash on font change).
411
412 2005-02-13  Angus Leeming  <leeming@lyx.org>
413
414         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
415         only if lyxrc.path_prefix is not empty.
416
417 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
418
419         * bufferparams.C (readGraphicsDriver): prevent crash
420
421 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
422
423         * text2.C (setCounter): check for inInset() == 0
424
425 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
426
427         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
428         but use update() to get correct screen display; use convert
429         instead of istringstream.
430         (getStatus): handle LFUN_GOTO_PARAGRAPH
431
432         * lyxfunc.C (dispatch, getStatus): do not handle
433         LFUN_GOTO_PARAGRAPH here.
434
435 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
436
437         * text3.C (dispatch): size() -> depth()
438
439         * text2.C: remove some debug output
440
441         * paragraph.C: ws changes only
442
443         * lyxfunc.C (getStatus): size() -> depth()
444
445         * dociterator.h (clear, push_back, pop_back, internalData,
446         operator[], resize, empty): new functions
447         Make StableDocIterator and operator== be friends. Don't inherit
448         from std::vector use a privat class variable slices_ instead.
449         Modify to fit.
450
451         * dociterator.C: update because of not inheriting from std::vector
452         anymore. Call explictly to slices_ instead. Use depth() instead of
453         size() and top() instead of back()
454
455         * cursor.C: chagne size() -> depth and back() -> top(). Also
456         remove some direct operator[](i) calls in favour of foo[i]
457         (getFont): remove some dead code
458
459         * bufferview_funcs.C (coordOffset): size() -> depth()
460
461         * buffer.C: ws changes only
462
463         * CutAndPaste.C (eraseSelection): back() -> top()
464
465         * BufferView_pimpl.C (selectionRequested): back() -> top()
466
467         * BufferView.C (setCursor): size() -> depth()
468
469 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
470
471         * text3.C (cursorPrevious): return true if depm changed something
472         (cursorNext): ditto
473         (dispatch): rename sl to oldTopSlice, remove moving use the new
474         NoUpdate func attrib instead. Make sure that needsUpdate is set
475         for function that have NoUpdate, but where depm might have changed
476         the buffer anyway.
477
478         * text2.C (cursorLeft): make us return true if depm changed
479         something
480         (cursorRight): ditto
481         (cursorUpParagraph): ditto
482         (curosrDownParagraph): ditto
483         (cursorUp, cursorDown): ditto, make sure to read comments in code
484         (deleteEmptyParagraphMechanism): remove an assert, also return
485         true if just a single char was deleted.
486
487         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
488         cursor that we modify, to avoid modifying an active cursor before
489         we call setCursor. This allows depm to run. Also return true if
490         depm deleted something.
491
492         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
493         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
494         cursorDownParagraph, cursorPrevious and cursorNext, return true if
495         something was changed in the buffer because of them (ie. depm run)
496
497         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
498         debug messages. Make update by default be false. Make sure that
499         the result of update is retained throught several calls down to
500         dispatch.
501
502         * LyXAction.h: add a new func_attrib: NoUpdate
503
504         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
505         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
506         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
507         and LFUN_WORDLEFT
508         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
509
510 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
511
512         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
513         bv_->owner(), bv_->buffer() by direct references to the private
514         members.
515         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
516         (getStatus): isSavedPosition() is in BufferView::Pimpl.
517         (fitCursor): center() is in BufferView::Pimpl.
518         (getStatus, trackChanges, dispatch): no need for a temporary buf
519         variable
520         (fitCursor, workAreaDispatch): use workarea().workheight()
521
522 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
523
524         * CutAndPaste.C (pasteSelectionHelper): fix a crash
525
526 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
527
528         * buffer.C: format up to 241.
529         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
530         break if pasting into ERT
531         * lyxfunc.C (getStatus): suppress mathpanel and
532         LFUN_DIALOG_SHOW_NEW_INSET in ERT
533
534 2005-02-01  Angus Leeming  <leeming@lyx.org>
535
536         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
537
538 2005-02-01  Angus Leeming  <leeming@lyx.org>
539
540         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
541         calling fs::is_directory().
542
543 2005-01-31  Angus Leeming  <leeming@lyx.org>
544
545         * lyx_main.C (priv_exec): specify explicitly the relative location
546         of the top level build directory when run in-place.
547
548 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
549
550         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
551         LyXText containing the cursor, not the top-level one.
552
553         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
554         true.
555         (insertStringAsLines): rename par to pit; use temporary variable
556         par to hold a Paragraph; do not store par.layout() in a variable,
557         since the pointer may die when breaking paragraphs; pass pars to
558         breakParagraph() instead of Buffer::paragraphs().
559
560 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
561
562         * lyxlex_pimpl.h: #include <fstream>.
563
564         * BufferView.[Ch] (getLyXText): add a const version.
565
566         * BufferView_pimpl.C: add debug aids.
567
568         * RowList_fwd.h:
569         * buffer.h:
570         * lyxrow.h:
571         * paragraph_funcs.h: add commentary explaining what the class does.
572
573
574         * coordcache.[Ch]: add lots of commentary.
575         (startUpdating, doneUpdating): debug aids.
576         (arrays, insets, parPos, getParPos): accessors to private data.
577
578         * cursor_slice.[Ch] (text): add a const version.
579         * dociterator.[Ch] (text, innerText): add const versions.
580
581         * lyxtext.h (breakParagraph): change the keep_layout arg to a
582         bool.
583
584         * paragraph.C (getRow, pos2ros): add asserts.
585
586         * paragraph.h: add commentary. Lots of.
587
588         * paragraph.[Ch] (metrucs, draw): removed.
589
590         * cursor.C:
591         * rowpainter.[Ch]: const-correct changes.
592
593         * text.C: various obvious clean-ups. Removal of ancient cruft.
594         Bug fixes, even.
595
596 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
597
598         * vc-backend.C (find_file): rewrite to use boost.filesystem
599         (scanMaster): ditto
600
601         * main.C (main): set default name check for boost.filesystem to
602         no check
603
604         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
605         (open): ditto
606         (doImport): ditto
607         (actOnUpdatedPrefs): ditto
608
609         * lyx_main.C (init): rewrite to use boost.filesystem
610         (queryUserLyXDir): ditto
611
612         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
613         (getContentsOfAsciiFile): ditto
614
615         * lastfiles.C (readFile): rewrite to use boost.filesystem
616
617         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
618
619         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
620         (loadLyXFile): ditto
621
622         * buffer.C (Buffer): adjust for destroydir
623         (getLogName): rewrite to use boost.filesystem
624         (setFileName): ditto
625         (save): use fs::copy_file (from fs_extras)
626
627         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
628
629         * LaTeX.C (run): rewrite to use boost.filesystem
630         (scanAuxFiles): ditto
631         (handleFoundFile): ditto
632
633 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
634
635         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
636
637         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
638
639 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
640
641         * lyxlayout.[Ch]: change some vars from float to double
642
643         * buffer.C (readFile): make a local var const
644
645         * Several files: use convert<> instead of atoi,strToXXX and friends
646
647 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
648
649         * LaTeXFeatures.[Ch]: Add a static list packages_ that
650         holds the contents of packages.lst. New functions getAvailable
651         and isAvailable to parse and check that list, resp.
652
653         * LyXAction.C:
654         * lfuns.h:
655         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
656
657         * bufferparams.[Ch]: new param output_changes.
658
659         * Buffer.C: increase file format to 240.
660         Use output_changes and isVailable.
661
662         * changes.[Ch]:
663         * paragraph.C:
664         * paragraph_pimpl.C: Use output_changes and isVailable.
665
666 2005-01-23  Angus Leeming  <leeming@lyx.org>
667
668         * output_latex.C: #include "insetbibitem.h", rather than
669         forward declare function bibitemWidest.
670
671 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
672
673         * lyx_main.C (init): make it compile on the Mac.
674
675 2005-01-20  Angus Leeming  <leeming@lyx.org>
676
677         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
678         (setLyXMisc): (char string literal) != (char string literal) is
679         performing a comparison on the addresses. Convert one operand
680         explicitly to string to guarantee expected behaviour.
681         From MSVC warning.
682
683 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
684
685         * buffer.C:
686         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
687
688         * output_plaintext.C: remove unneeded #include gzstream.h.
689
690 2005-01-20  Angus Leeming  <leeming@lyx.org>
691
692         * SpellBase.h: rename some of the elements of the Result enum.
693
694         * aspell_local.h:
695         * ispell.h:
696         * pspell.h:
697         * aspell.C (check):
698         * ispell.C (check):
699         * pspell.C (check): ditto
700
701 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
702
703         * buffer.C: add #include <fstream>.
704
705         * lyx_main.C (init): Compile fix.
706
707         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
708
709 2005-01-20  Angus Leeming  <leeming@lyx.org>
710
711         * mover.h: change commentary to reflect the changed meaning of
712         the $$s placeholder.
713
714 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
715
716         * output_linuxdoc.C (linuxdocParagraphs): silence warning
717
718         * lyxfind.C (MatchString::operator()): remove bogus semicolon
719
720 2005-01-20  Angus Leeming  <leeming@lyx.org>
721
722         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
723         printing diagnostic data by not dereferecing an iterator past the
724         end.
725
726 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
727
728         * buffer.C (readHeader): use "&&" rather than "and".
729
730         * lyxserver.h (inPipeName, outPipeName): make these const.
731
732 2005-01-19  Angus Leeming  <leeming@lyx.org>
733
734         * lyx_main.C (error_handler, init): protect SIGHUP with
735         #ifdef SIGHUP guards.
736
737 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
738
739         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
740
741 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
742
743         * text.C (setHeightOfRow): add a margin at the top and bottom of
744         the document (bug 1761)
745
746 2005-01-17  Angus Leeming  <leeming@lyx.org>
747
748         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
749         with "python ". Workaround for a brain-dead Windows.
750
751 2005-01-16  Angus Leeming  <leeming@lyx.org>
752
753         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
754         for MacOSX and Windows to use prependEnvPath.
755         Strip out the hard-coded block to add elements to the PATH for
756         MacOSX and replace it with a call to prependEnvPath using the
757         contents of LyXRC::path_prefix.
758         (queryUserLyXDir): strip out the code to run reconfigure, instead
759         returning a boolean indicating the necessity to do so.
760         (reconfigureUserLyXDir): contains the code to reconfigure the
761         user support directory. Is now called after the various LyXRC data
762         files have been read.
763
764         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
765
766 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
767
768         * converter.[Ch] (convert): take a new parameter try_default. Use
769         a default converter (imagemagick) if try_default is true.
770
771 2005-01-13  Angus Leeming  <leeming@lyx.org>
772
773         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
774         os::cygwin_path_fix.
775         (write): output LyXRC::cygwin_path_fix as necessary.
776
777 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
778
779         * lyxrc.h:
780         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
781
782 2005-01-12  Angus Leeming  <leeming@lyx.org>
783
784         * lyx_main.C (init): set the PATH variable to include the
785         directory containing the LyX binary when running on Mac or Windows.
786
787 2005-01-12  Angus Leeming  <leeming@lyx.org>
788
789         * lyx_main.C (init): remove cruft that purports to set the locale
790         dir. It doesn't and is not needed anyway.
791
792 2005-01-10  Angus Leeming  <leeming@lyx.org>
793
794         * Makefile.am: remove the lyx_main.C special casing.
795
796         * BufferView_pimpl.C:
797         * bufferlist.C:
798         * exporter.C:
799         * lyx_cb.C:
800         * lyx_main.C:
801         * lyxfunc.C:
802         * messages.C: use support/package.h to provide the paths to the
803         various directories used by LyX.
804
805 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
806
807         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
808         layout if pasting into an empty paragraph)
809
810 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
811
812         * tex-accent.C: add <string>
813
814 2005-01-06  José Matos  <jamatos@lyx.org>
815
816         * ParagraphParameters.C (write): put every parameter in its own line.
817         * paragraph.C (write): reduce number of consecutive empty lines exported.
818         * buffer.C (LYX_FORMAT): increase file format to 239.
819
820 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
821
822         * everywhere: change support/tostr.h -> support/convert.h
823
824         * tabular.C: make all write_attributes templates, tostr -> convert
825
826         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
827         (emptyTag): and -> &&, and fix type for ret from getChar
828         (getFirstWord): fix type for ret from getChar
829         (onlyText): and -> &&
830         (simpleDocBookOnePar): and not -> && !, fix type for ret from
831         getChar
832
833         * toc.C (goTo, action):
834         * text3.C (dispatch):
835         * text.C (currentState):
836         * tex-accent.C (DoAccent):
837         * sgml.C:
838         * lyxrc.C:
839         * lyxfunc.C (menuNew):
840         * lyxfinc.C (replace):
841         * counters.C (laberItem):
842         * bufferview_funcs.C (font2string):
843         * bufferparams.C (writeFile):
844         * buffer.C (readFile):
845         * Spacing.C (set):
846         * MenuBackend.C: tostr -> convert
847
848         * LaTeX.C (runMessage): fix format
849         (scanAuxFiles): tostr -> convert
850
851         * BufferView_pimpl.C (savePosition): fix format
852         (restorePosition): ditto
853         (dispatch): ditto
854
855 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
856
857         * Spacing.[Ch]: New method getValueAsString().
858
859         * Spacing.[Ch]:
860         * bufferparams.C:
861         * ParagraphParameters.C:
862         * lyxlayout.C:
863         * text.C:
864         * text3.C: store/read spacing value as string.
865
866         * rowpainter.C: change float value (spacing_val) to double.
867
868         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
869         broken custom document spacing).
870
871 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
872
873         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
874         namespace, also more use of temp references and const
875
876         * cursor.[Ch] (getStatus): move to lyxfunc.C
877
878         * bufferparams.C: reformat slightly
879
880         * bufferview_funcs.C (font2string): constify arg
881
882         * changes.C:
883         * converter.C:
884         * counters.C:
885         * bufferlist.C:
886         * buffer_funcs.C: (many funcs): constify arg on function
887         definitions, also make more local vars const, also add ASSERTS on
888         pointer args.
889
890         * buffer.C (LYX_FORMAT): put const in correct place
891         (many funcs): constify arg on function definitions, also make
892         more local vars const
893
894         * aspell_local.h: remove "struct" from typdef setup
895
896         * aspell.C (check): make word_ok const
897         (nextMiss): simplify slightly
898         (error): ditto
899
900 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
901
902         * lyxrc.[Ch]: store all float values as strings.
903         use int (not float) for lyxrc.dpi.
904
905 2005-01-04  Angus Leeming  <leeming@lyx.org>
906
907         * lyx_cb.C (Reconfigure):
908         * lyx_main.C (queryUserLyXDir):
909         to run the <system_lyxdir>/configure correctly on Windows, prefix
910         the path to the script with "sh " when generating the string that
911         is passed to system().
912
913 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
914
915         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
916
917 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
918
919         * lyxlength.C (asLatexString): get rid of setprecision
920
921 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
922
923         * text2.C (setLayout): remove unused variable endpit.
924         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
925
926         * paragraph.C (onlyText): remove unused variable style.
927
928         * cursor.C (bruteFind): remove unused variables beg and end.
929
930         * Makefile.am (dist_noinset_DATA): not needed anymore
931
932         * cheaders/*: remove.
933
934 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
935
936         * text3.C: fix LFUN_MATH_MODE.
937
938 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
939
940         * buffer_funcs.C (countWords): new function. Counts words between
941         two iterators.
942
943         * BufferView_pimpl.C (getStatus, dispatch): handle
944         LFUN_WORDS_COUNT.
945
946         * LyXAction.C (init):
947         * lfuns.h: add LFUN_WORDS_COUNT.
948
949 2004-12-19  Angus Leeming  <leeming@lyx.org>
950
951         * buffer.C (save): s/slashify_path/internal_path/.
952
953 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
954
955         * lyxfind.C (findChange): do not search for end of pars, because
956         the change tracker cannot handle this (fixes bug 1719).
957
958 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
959
960         * paragraph.[Ch] (autoBreakRows): remove
961
962         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
963
964         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
965         avoid using the paragraph one
966
967         * text2.C (LyXText, insertStringAsLines): adjust
968
969 2004-12-16  Angus Leeming  <leeming@lyx.org>
970
971         * bufferlist.C:
972         * lyx_main.C:
973         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
974
975 2004-12-14  Angus Leeming  <leeming@lyx.org>
976
977         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
978
979         * bufferlist.C (emergencyWrite):
980         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
981         GetEnvPath("HOME").
982
983 2004-12-14  Angus Leeming  <leeming@lyx.org>
984
985         * main.C: (main): no longer pass pointers to os::init.
986
987 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
988
989         * undo.C (textUndoOrRedo): simplify logic, fix a crash
990         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
991
992 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
993
994         * lyxfunc.C:
995         * text3.C: remove selection_possible global flag
996
997 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
998
999         * text2.C (getSelectionSpan): remove
1000         (changeDepth, changeDepthAllowed): adjust
1001
1002 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1003
1004         * Makefile.am (BOOST_LIBS): use boost variables
1005
1006 2004-12-03  José Matos  <jamatos@lyx.org>
1007
1008         * buffer.C: format up to 238.
1009
1010 2004-12-03  José Matos  <jamatos@lyx.org>
1011
1012         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1013
1014 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1015
1016         * cursor.C (goUpDown): remove call to idxUpDown2
1017
1018 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1019
1020         * tabular.[Ch]: use size_t-like types for cell, row and column
1021         indices
1022
1023 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1024
1025         * lyxfunc.C (getStatus): do not lose previous information when
1026         calling BufferView::getStatus; do not set a default "Command
1027         disabled" message at the beginning, but just before returning.
1028
1029 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1030
1031         * cursor.h (getStatus): add better comment from src/cursor.C
1032
1033 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1034
1035         * text3.C (getStatus): return false when the lfun is not handled
1036
1037 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1038
1039         * broken_headers.h: remove
1040
1041         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1042
1043 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1044
1045         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1046         offset_ref accessors
1047
1048         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1049         top_y_, merge fitcursor with update
1050         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1051         coord scheme
1052         (metrics): introduce
1053         (workAreaDispatch): adapt to new coord scheme
1054         (redoCurrentBuffer): remove
1055
1056         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1057
1058         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1059         CurStatus enum.
1060
1061         * coordcache.[Ch]: add paragraph cache and helpers
1062
1063         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1064         adjust everywhere
1065
1066         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1067         (targetX, setTargetX): introduce
1068
1069         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1070         baseline -> ascent, as the rest of lyx
1071
1072         * lyxtext.h: remove redoParagraphs, updateParPositions,
1073         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1074         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1075         have ascent/descent (ascent is ascent of first par)
1076
1077         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1078         step of BufferView
1079
1080         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1081
1082         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1083
1084         * pariterator.C: fix infinite loop introduced in par->pit renaming
1085
1086         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1087         in insets and LyXText, draw two off-screen paragraphs using
1088         NullPainter, and adapt to new coord scheme
1089
1090         * text.C:
1091         * text2.C:
1092         * text3.C: adapt lfun handlers to the new coord scheme, which
1093         means: there's only guaranteed coord information for onscreen pars
1094         plus one above and one below. This implies that one can do search
1095         from y coordinates in the range [-1,workHeight]
1096
1097 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1098
1099         * rename a lot of InsetOld to InsetBase
1100
1101 2004-11-25  Angus Leeming  <leeming@lyx.org>
1102
1103         * BufferView_pimpl.C:
1104         * lyx_cb.C:
1105         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1106
1107 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1108
1109         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1110         call BufferView::getStatus if LCursor::getStatus did nothing
1111         (setStatusMessage, getStatusMessage): removed.
1112
1113         * FuncStatus.C (message): new methods. Used to provide an error
1114         message indicating why a command is disabled.
1115         (clear, |=, FuncStatus): update for message.
1116
1117 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1118
1119         * lyxfunc.C (dispatch): always call sendDispatchMessage
1120
1121 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1122
1123         * BufferView.C:
1124         * BufferView_pimpl.C:
1125         * CutAndPaste.C:
1126         * FontIterator.C:
1127         * buffer.C:
1128         * cursor.C:
1129         * cursor_slice.[Ch]:
1130         * dociterator.[Ch]:
1131         * lyxfind.C:
1132         * paragraph_funcs.C:
1133         * pariterator.C:
1134         * rowpainter.C:
1135         * text.C:
1136         * text2.C:
1137         * text3.C:
1138         * undo.C: par->pit renaming
1139
1140 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1141
1142         * tabular.C (cellstruct): use initialization, store a shared_ptr
1143         to insettext instead of the insettext directly, adjust to fit.
1144         (operator=):  new function
1145         (swap): new function
1146         (rowstruct): use initialization
1147         (columnstruct): use initialization
1148         (ltType): use initialization
1149
1150
1151         * lyxlength.h (swap): new function
1152
1153         * LColor.[Ch] (operator=): use the common semantics
1154
1155 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1156
1157         * lyxfind.C (findNextChange): update the bufferview after setting
1158         the selection.
1159
1160 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1161
1162         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1163         number of InsetOptArgs has already been inserted.
1164
1165         * output_latex.C (latexOptArgInsets): new method. This outputs all
1166         the optarg insets, up to the limit defined in the layout file.
1167         (optArgInset): removed
1168         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1169
1170 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1171
1172         * paragraph.C (isLetter): remove special spellchecker-related
1173         code; return true also for digits
1174         (isWord, isKomma): remove
1175
1176         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1177         * lyxfind.C (MatchString()): use isLetter instead of isWord
1178
1179 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1180
1181         * pariterator.h (operatir=): comment out un-implemented member
1182         function.
1183
1184         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1185         static cast.
1186
1187 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1188
1189         * lyxfont.h: include LColor.h to satisfy concept checks.
1190
1191 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1192
1193         * pariterator.h: add typdefs for value_type, difference_type,
1194         pointer and reference to satisfy concept checks. Also add default
1195         constructor for same reason.
1196
1197         * pariterator.C (operator++): add post-increment operator to
1198         satisfy concept checks.
1199
1200         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1201         checks.
1202
1203         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1204
1205         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1206         checks. Also rename base_type to BaseType to follow naming
1207         standard better.
1208
1209         * FloatList.h: include Floating.h to satisfy concept checks.
1210
1211 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1212
1213         * lyxfunc.C (getStatus): when the origin of the request is menu or
1214         toolbar, and the LyXView does not have focus, do as if there was
1215         no buffer (bug 1720)
1216
1217         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1218         FuncRequest to individual entries of LFUN_SEQUENCE
1219
1220 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1221
1222         * output_latex.C (TeXOnePar): override runparams.moving_arg
1223         according to the needprotect value of the current paragraph (bug
1224         1739)
1225
1226         * paragraph.C (simpleTeXOnePar): no need to override
1227         runparams.moving_args here
1228
1229 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1230
1231         * vspace.C: fix off-by-one-error, related to fix #1682
1232
1233 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1234
1235         * lengthcommon.C: a more general fix for bug 1682
1236
1237 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1238
1239         * text.C (backspace): fix crash
1240
1241 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1242
1243         * format.[Ch] (getFormatFromFile): new method
1244         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1245
1246 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1247
1248         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1249
1250 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1251
1252         * lyxfunc.C (dispatch): remove the verbose argument
1253         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1254         instead
1255
1256         * kbmap.C (defkey): set the origin of func to KEYBOARD
1257
1258         * MenuBackend.C (MenuItem):
1259         * ToolbarBackend.C (add): set the origin of func to UI
1260
1261         * funcrequest.[Ch]: add origin member, which indicates which part
1262         of LyX requests an action
1263
1264 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1265
1266         * converter.C (move): don't lie in the error message
1267         * converter.h (isReachable, move): document
1268
1269 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1270
1271         * buffer.C: remove unused using lyx::support::atoi
1272         * paragraph_funcs.C: ditto
1273
1274 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1275
1276         * bufferlist.C (exists): use bind and equal_to instead of
1277         compare_memfun
1278         (getBuffer): ditto
1279         * lyxtextclasslist.C (NumberOfClass): ditto
1280
1281         * cursor.C (insert): use for_each instead of explicit for loop
1282
1283         * bufferlist.C (getFileNames): use std::transform and
1284         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1285
1286         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1287         for loop
1288
1289         * buffer.C (changeLanguage): use for_each instead of explicit for
1290         loop
1291         (hasParWithID): implement using getParFromID
1292
1293         * LaTeXFeatures.C: ws change only
1294
1295         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1296         to cleanup a bit.
1297
1298         * BufferView_pimpl.C (trackChanges): use for_each instead of
1299         expilicit for loop
1300
1301 2004-11-04  André Pönitz  <poenitz@gmx.net>
1302
1303         * undo.h:
1304         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1305
1306         * dociterator.C (asDocIterator): use hard assert again.
1307
1308 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1309
1310         * lyxlength.C (asLatexString): rewrite so that it does not use
1311         snprintf anymore
1312
1313 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1314
1315         * text3.C (specialChar, dispatch): make sure cursor moves to the
1316         right after inserting an inset
1317
1318 2004-11-02  José Matos  <jamatos@lyx.org>
1319
1320         * output_docbook.C (docbook):
1321         * paragraph.C (getID):
1322         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1323         garantee that the output is always legal.
1324
1325         * tabular.C (docbook):
1326         * outputprams.[Ch]: remove mixed contents.
1327
1328 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1329
1330         * text2.C (setCounter): prevent endless loop
1331
1332 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1333
1334         * exporter.C (copyFile): use the mover instead of support::copy()
1335         * exporter.C (Export): pass format and latex name to copyFile()
1336         * exporter.h (addExternalFile): document
1337         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1338
1339 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1340
1341         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1342
1343 2004-10-30  José Matos  <jamatos@lyx.org>
1344
1345         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1346         text and no inset or font change. This allows to use CDATA
1347         sections just for the whole paragraph.
1348
1349 2004-10-30  José Matos  <jamatos@lyx.org>
1350
1351         * paragraph.C (getFirstWord): remove unused variable.
1352
1353 2004-10-30  José Matos  <jamatos@lyx.org>
1354
1355         * paragraph.C (getFirstWord): the content should always be escaped
1356         there.
1357         (simpleDocBookOnePar):
1358         * output_docbook.C (makeEnvironment): replace reference to CDATA
1359         to style pass_thru.
1360
1361 2004-10-30  José Matos  <jamatos@lyx.org>
1362
1363         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1364
1365 2004-10-30  José Matos  <jamatos@lyx.org>
1366
1367         * output_docbook.C (makeParagraphs):
1368         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1369         standard paragraph has only a given type of content drop the wrapper.
1370
1371 2004-10-29  José Matos  <jamatos@lyx.org>
1372
1373         * output_docbook.C (makeEnvironment):
1374         * sgml.C (openTag):
1375         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1376
1377 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1378
1379         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1380         (cleanID): sanitize any id.
1381
1382 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1383
1384         * buffer.C, lyxlex_pimpl.C:
1385         * lyxlex_pimpl.C (setFile):
1386         s/getExtFromContents/getFormatFromContents/
1387
1388 2004-10-28  José Matos  <jamatos@lyx.org>
1389
1390         * output_docbook.C (makeEnvironment): move id to broadest possible
1391         scope.
1392
1393         * sgml.C (openTag): apply substitution of <> for all attributes.
1394
1395 2004-10-28  José Matos  <jamatos@lyx.org>
1396
1397         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1398         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1399         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1400
1401         * sgml.[Ch]: new version for open and closeTag for paragraph and
1402         for strings. Now they handle the ids of paragraphs.
1403
1404 2004-10-26  Angus Leeming  <leeming@lyx.org>
1405
1406         * Makefile.am: add mover.[Ch].
1407
1408         * converter.C (convert, move): use the new Movers to move external
1409         files to the temp directory.
1410
1411         * lyx_main.C (init): ensure that the global system_movers data
1412         is initialised.
1413
1414         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1415         preferences file.
1416
1417         * mover.[Ch]: new files, defining a Mover as a utility to move an
1418         external file between directories and, if necessary, manipulate this
1419         file using a helper script.
1420
1421 2004-10-25  José Matos  <jamatos@lyx.org>
1422
1423         * output_docbook.C (makeCommand): merge two if's that tested the
1424         same condition.
1425
1426 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1427
1428         * sgml.C (escapeString): fix warning in a better way
1429
1430 2004-10-25  José Matos  <jamatos@lyx.org>
1431
1432         * sgml.C (escapeString): import the require boosts header file for
1433         tie, and avoid a signed unsigned comparison.
1434
1435 2004-10-25  José Matos  <jamatos@lyx.org>
1436
1437         * sgml.h: add #include <string>
1438
1439 2004-10-25  José Matos  <jamatos@lyx.org>
1440
1441         * sgml.[Ch] (escapeString): new function to escape all the string.
1442
1443 2004-10-24  José Matos  <jamatos@lyx.org>
1444
1445         * paragraph.[Ch] (getFirstWord): new function to get the first
1446         word. Useful for description.
1447         (simpleDocBookOnePar): remove depth argument, add another that
1448         says where to start the paragraph.
1449
1450         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1451         use the new functions to fix cleanly the support for descriptions.
1452
1453 2004-10-24  José Matos  <jamatos@lyx.org>
1454
1455         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1456         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1457         * output_linuxdoc.C (linuxdocParagraphs):
1458         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1459         add buffer as argument.
1460
1461 2004-10-24  José Matos  <jamatos@lyx.org>
1462
1463         * output_docbook.C (makeEnvironment, searchEnvironment): place
1464         CDATA inside paragraphs and fix scope for listitems.
1465
1466 2004-10-24  José Matos  <jamatos@lyx.org>
1467
1468         * output_docbook.C: remove using statement for stack.
1469
1470 2004-10-23  José Matos  <jamatos@lyx.org>
1471
1472         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1473         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1474         docbook. The new scheme is recursive and makes use of iterators, the
1475         same as latex export works.
1476         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1477         directly with the paragraph contents. This code was moved up to
1478         output_docbook.C (docbookParagraphs).
1479         * sgml.C (openTag, closeTag): removed unneeded newlines.
1480         (closeEnvTags) removed.
1481
1482 2004-10-23  André Pönitz  <poenitz@gmx.net>
1483
1484         * undo.C (textUndoOrRedo):
1485         * dociterator.C (asDocIterator): work around crash
1486
1487         * cursor.C (getStatus): replace ASSERT by more verbose error message
1488           and manual correction of the problem. Should increase stability
1489           while providing more sensible information.
1490
1491 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1492
1493         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1494
1495         * bufferlist.C (previous, next): new methods
1496
1497         * lfuns.h:
1498         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1499
1500 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1501
1502         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1503         entities to preamble.
1504
1505 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1506
1507         * messages.C (Pimpl): strip off translation context information
1508
1509 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1510
1511         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1512         the cursor is correct (bug 1694)
1513
1514 2004-10-13  José Matos  <jamatos@lyx.org>
1515
1516         * output_docbook.C (docbookParagraphs): fix closing tags in the
1517         end of the document.
1518
1519 2004-10-09  José Matos  <jamatos@lyx.org>
1520
1521         * buffer.C: format up to 237.
1522         * bufferparams.C (write): use tostr to convert booleans to strings.
1523
1524 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1525
1526         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1527
1528 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1529
1530         * LaTeX.C: implement use of babel language in xindy.
1531
1532 2004-10-05  José Matos  <jamatos@lyx.org>
1533
1534         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1535         Add new translators to help reading and writing the lyx file.
1536
1537 2004-10-05  José Matos  <jamatos@lyx.org>
1538
1539         * ParagraphParameters.C (read):
1540         * text.C (readParToken): replace nexToken by more appropriate lex
1541         methods.
1542
1543 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1544
1545         * LaTeX.C (runMakeIndex):
1546         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1547         (usually 'makeindex') configurable.
1548
1549         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1550         with a variable rather than with a number.
1551
1552 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1553
1554         * output_latex.C (TeXOnePar): make sure font setting is the first
1555         thing that gets output (and the last at the end). Should fix bug
1556         1404.
1557
1558 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1559
1560         * pch.h: use proper signal include
1561
1562         * LaTeX.h: Use preferred calling of Boost.Signal
1563         * buffer.h: ditto
1564
1565 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1566
1567         * pch.h: dont include <boost/function/function0.hpp>
1568
1569         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1570
1571         * paragraph_pimpl.h: remove usage of ShareContainer
1572
1573         * paragraph_pimpl.C: remove initialization of ShareContainer.
1574
1575 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1576
1577         Fix bug #1666
1578
1579         * BufferView.C (putSelectionAt): change the semantics when
1580         backwards == true: now, this just swaps cursor and anchor wrt the
1581         forward case
1582
1583         * BufferView.h (putSelectionAt): add some documentation
1584
1585         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1586         make sure backwardChar is done at least once (to avoid getting
1587         stuck)
1588         (findNextChange): use putSelectionAt in the forward direction
1589         (operator()): use Paragraph::isWord
1590
1591 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1592
1593         * Spacing.C (set): c_str fix
1594
1595 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1596
1597         * lyx_cb.C (Reconfigure): quote the name of configure script in
1598         case it contains spaces
1599
1600 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1601
1602         * client: new dir
1603
1604         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1605         (BOOST_LIBS): use top_buildir when looking for the file
1606
1607 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1608
1609         * pch.h: do not use include boost/format.hpp, multiple symbols
1610                 will result (gcc bug)
1611
1612
1613 2004-08-23  José Matos  <jamatos@lyx.org>
1614
1615         * bufferparams.C (readToken): fix reading of the author field.
1616
1617 2004-08-20  José Matos  <jamatos@lyx.org>
1618
1619         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1620
1621 2004-08-20  José Matos  <jamatos@lyx.org>
1622
1623         * lyxlex.[Ch] (findToken): remove function.
1624
1625         * ParagraphParameters.C (findToken):
1626         * bufferparams.C (findToken): replace call for previous function
1627         with local copy. This local function has one more argument, the
1628         read string argument.
1629
1630 2004-08-16  José Matos  <jamatos@lyx.org>
1631
1632         * ParagraphParameters.C (write):
1633         * Spacing.C (writeFile):
1634         * bufferparams.C (writeLaTeX):
1635         * lyx_cb.C (Reconfigure):
1636         * paragraph.C (write):
1637         * tabular.C (write): remove unnecessary space at end of line.
1638
1639
1640 2004-08-16  José Matos  <jamatos@lyx.org>
1641
1642         * text.C (readParagraph): remove debug message.
1643
1644 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1645
1646         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1647         crash
1648
1649         * output_plaintext.C (asciiParagraph): set depth correctly
1650
1651         * outputparams.h: add member depth
1652
1653         * paragraph_funcs.C (ownerPar): remove.
1654
1655         * text2.C (setCounter): remove first_pit; comment out some
1656         non-working code that uses ownerPar
1657
1658         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1659         uses ownerPar
1660
1661 2004-08-16  José Matos  <jamatos@lyx.org>
1662
1663         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1664         For the same level of importance use the same chanel to report problems.
1665         (read): add code to deal with \begin_body and \end_body.
1666
1667
1668 2004-08-15  José Matos  <jamatos@lyx.org>
1669
1670         * lyxlex.C (getString): fix comment, buffer::readBody is now
1671         buffer:readDocument.
1672
1673         * tex-strings.C (string_papersize): Default -> default,
1674         Custom -> custom, for consistency with other options.
1675
1676 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1677
1678         * pch.h: new file
1679
1680         * Makefile.am: support pch
1681
1682 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1683
1684         * text.C (readParToken): remove the static LyXFont variable and
1685         pass it as a parameter instead. This fixes a nasty bug where an
1686         inset will be inserted with a bad font in some situations
1687         (readParagraph): adapt
1688
1689         * text2.C (setCounter): reduce number of calls to pars_[pit]
1690
1691         * text.C (singleWidth): add an assert, fix a test
1692
1693         * rowpainter.C (paintText): reduce number of calls to singleWidth
1694
1695         * paragraph.C (isHfill):
1696         (isNewline): ws only
1697
1698 2004-08-14  André Pönitz  <poenitz@gmx.net>
1699
1700         * text.C:
1701         * text2.C:
1702         * rowpainter.C:
1703         * lyxtext.h (several functions): use a Paragraph & argument
1704         instead of par_type
1705
1706 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1707
1708         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1709
1710         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1711
1712         * text.C (singleWidth): remove useless test
1713
1714 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1715
1716         * tabular.h: remove bogus comments
1717
1718         * tabular.C (getDescentOfRow):
1719         (isPartOfMultiColumn): add assertions
1720
1721         * lyxlength.C (inPixels): remove #warning
1722
1723 2004-08-14  André Pönitz  <poenitz@gmx.net>
1724
1725         * paragraph.h: inline getChar()
1726
1727         * BufferView.h: remove unused declarations
1728
1729 2004-08-14  José Matos  <jamatos@lyx.org>
1730
1731         * Buffer.[Ch] (readDocument): new name for old readBody.
1732         * Buffer.C: new file format, new keywords: \begin_document,
1733         \begin_header, \begin_body, \end_body.
1734
1735         * bufferparams.C (readToken): replace all calls to lex.nextToken
1736         by lex.next(). Do the same to eatLine except where really needed.
1737
1738         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1739         line when writing to the lyx file.
1740
1741         * output_plaintext.C (asciiParagraph): fix Bibliography style
1742         handling.
1743
1744         * text.C (read): fix end of file handling.
1745
1746 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1747
1748         * MenuBackend.C (Menu::operator[]): new method to access
1749         individual menu items
1750         (Menu::hasFunc): new method. search for an item that corresponds
1751         to a given func
1752         (MenuBackend::specialMenu): new method
1753         (MenuBackend::expand): if a special menu has been set, skip
1754         entries whose func() appears in this menu
1755
1756 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1757
1758         * text3.C: use Debug::DEBUG a bit more
1759
1760         * text.C (leftMargin): try to simplify a tiny bit change var x to
1761         l_margin. Dont output the wide margins always.
1762         (rightMargin): no margin in inner texts
1763
1764         * rowpainter.h (nestMargin): new func
1765         (changebarMargin): new func
1766         (rightMargin): new func
1767
1768         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1769         now functions.
1770         (paintLast): ditto
1771
1772         * factory.C (createInset): modify setDrawFrame
1773
1774         * cursor.C: use Debug::DEBUG a bit more
1775
1776 2004-08-14  André Pönitz  <poenitz@gmx.net>
1777
1778         * coordcache.[Ch]:
1779         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1780         cache for all insets in (at least partially) visible (top-level)
1781         paragraphs.
1782
1783         * BufferView_pimpl.C: reset external coord cache before every update.
1784         This means the coord cache only contains valid entries.
1785
1786 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1787
1788         bug 1096
1789         * BufferView_pimpl.C (getInsetByCode): move function out of class
1790         and change in to a template in anon namespace. Also fix to do what
1791         suits us better.
1792
1793 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1794
1795         bug 1305
1796         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1797         of char
1798         (breakParagraph): rename par to par_offset and use a local
1799         reference. Add code to keep the language over a rebreak.
1800         (breakParagraphConservative): rename par to par_offset, use a
1801         local reference
1802         (mergeParagraph): ditto
1803         (outerHook): ditto
1804         (isFirstInSequence): ditto
1805         (outerFont): rename pit to par_offset
1806
1807         * paragraph.C: ws change
1808         * paragraph.h: ditto
1809         * text3.C: ditto
1810         * text.C: ditto
1811
1812 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1813
1814         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1815         treatment for ']'
1816
1817         * paragraph.C (simpleTeXOnePar): when we have a \item with
1818         optional argument, enclose the argument with curly brackets (in
1819         case it contains a closing square bracket)
1820
1821         * text2.C (editXY):
1822         * text2.C (editXY):
1823         * text3.C (checkInsetHit): constify
1824
1825 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1826
1827         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1828         documents (bug 1629)
1829
1830 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1831
1832         Fix toggling of collapsable insets with the mouse (bug 1558)
1833
1834         * lyxfunc.C (dispatch): adapt to LCursor changes
1835
1836         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1837         make sure that dispatch is not invoked twice
1838
1839         * cursor.C (needsUpdate): new method
1840         (dispatch): return void
1841         (result): new method, to access the DispatchResult of the cursor.
1842
1843 2004-08-13  José Matos  <jamatos@lyx.org>
1844
1845         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1846
1847 2004-08-13  André Pönitz  <poenitz@gmx.net>
1848
1849         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1850
1851         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1852           multiple cells
1853
1854 2004-08-12  André Pönitz  <poenitz@gmx.net>
1855
1856         * text3.C: take out the 'cursor right' form insertInset and only
1857         do it in those places when it is really needed. Fixes crash on
1858         C-m...
1859
1860 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1861
1862         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1863
1864         * BufferView_pimpl.C (setBuffer): initialize the current font of
1865         the underlying LyXText
1866
1867 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1868
1869         * kbsequence.C (print): use UI native formatting for menu
1870         shortcuts
1871
1872         * text.C (insertChar): call Paragraph::insertChar with a font
1873         argument (cosmetic)
1874
1875         * paragraph.C (insertInset, insertChar): the version that takes a
1876         LyXFont argument is now a wrapper around the other one (the
1877         opposite used to be true).
1878
1879         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1880         argument. Font setting is done in Paragraph now.
1881
1882 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1883
1884         * outputparams.h: add new members intitle and lang.
1885
1886         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1887         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1888
1889 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1890
1891         * text3.C (dispatch): remove special handling of button 4 and 5,
1892         it is now taken care of in the frontend code.
1893
1894 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1895
1896         * Spacing.h: add <string> (STLPort compile fix)
1897
1898 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1899
1900         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1901
1902 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1903
1904         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1905         to bool.
1906
1907         * converter.C (showMessage): inherit from unary_function, make
1908         operator() const.
1909
1910         * buffer.C (writeFile): initialize retval
1911
1912         * InsetList.h: rename private variable list to list_
1913         * InsetList.[Ch]: adjust accordingly.
1914
1915 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1916
1917         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1918         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1919         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1920         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1921         * ParagraphParameters.C, LaTeXFeatures.C: replace
1922         "support/std_sstream.h" with <sstream>
1923
1924 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1925
1926         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1927         * lyxsocket.C (LyXServerSocket): ditto
1928         (serverCallback): ditto
1929
1930 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1931
1932         * LaTeXFeatures.C: check release date when loading jurabib.
1933
1934 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1935
1936         * lyxserver.C (startPipe): call register_socket_callback
1937         (endPipe): call unregister_socket_callback
1938
1939 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1940
1941         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1942         (LyXServerSocket): register the callback
1943         (LyXServerSocket): unregister the callback
1944         (fd): delete function
1945         (serverCallback): improve error checking and setup the callbacks.
1946         (dataCallback): change arg to fd.
1947         (writeln): new func (copied fro the client socket) used for server
1948         write to client.
1949         (LyXDataSocket): simplify
1950         (~LyXDataSocket): close ann unregiser callback
1951         (server): delete function
1952         (fd): delete function
1953         (readln): small changes, improve some std::string usage
1954         (writeln): constify a bit
1955
1956 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1957
1958         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1959         Qt frontend
1960
1961 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1962
1963         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1964         after it has been populated
1965
1966 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1967
1968         * text2.C (insertInset): move cursor when inserting inset.
1969
1970 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1971
1972         * kbmap.C (findbindings): a couple of new methods. returns a
1973         container of kb_sequence objects. The real work is done by the
1974         private recursive version
1975         (printbindings): uses findbindings to print out a bracketed list
1976         of bindings (renamed from findbinding).
1977
1978         * MenuBackend.C (binding): use kb_keymap::findbindings
1979
1980         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1981
1982 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1983
1984         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1985
1986 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1987
1988         * paragraph.C (isWord): return true on insets that report
1989         isLetter().
1990
1991         * text.C (getWord): use Paragraph::isWord to decide what is in a
1992         word and what is not; fix bug 1609.
1993
1994 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1995
1996         * tex-strings.C: add "none" to string_paperpackages[], fixes
1997         off-by-one-error in the paperpackage selection.
1998
1999         * lyxlex.[Ch]:
2000         * tex-strings.[Ch]: char const * string[n]
2001         -> char const * const string[]
2002
2003 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2004
2005         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2006         command, return early.
2007
2008 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2009
2010         * debug.h: add DEBUG to enum and fix size of ANY.
2011
2012         * debug.C: add support for Debug::DEBUG
2013         (showTags): cast errorTags.level to unsigned int
2014
2015         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2016         (redoCurrentBuffer): ditto
2017         (updateScrollbar): ditto
2018         * cursor.C (dispatch): ditto
2019         * text2.C (setLayout): ditto
2020         (setFont): ditto
2021         (updateCounters): ditto
2022         (editXY): ditto
2023         (deleteEmptyParagraphMechanism): ditto
2024
2025 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2026
2027         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2028         annotations to cleanup the Makefile slightly.
2029
2030 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2031
2032         * lyxrc.C: do not set user_email to a default value but use empty
2033         instead. The entry used to be translated, which does not work
2034         since at the point where lyxrc is constructed there is no
2035         translation service available
2036
2037         * messages.C (getLocaleDir): remove and use directly
2038         lyx_localedir() instead
2039
2040 2004-06-02  Angus Leeming  <leeming@lyx.org>
2041
2042         Fix crash caused by dereferencing null pointer 'exportdata' in
2043         OutputParams by creating a new ExportData variable on the heap,
2044         storing it in a boost::shared_ptr.
2045         The crash was triggered when generating an Instant Preview
2046         of an external inset.
2047
2048         * Makefile.am: add outputparams.C
2049
2050         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2051         (c-tor): allocate memory to it.
2052
2053         * exporter.C (c-tor): associated changes.
2054
2055 2004-06-01  Angus Leeming  <leeming@lyx.org>
2056
2057         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2058         contains data before calling isInset(0). (Bug 1513.)
2059
2060 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2061
2062         * exporter.C (checkOverwrite): new method
2063         * exporter.C (copyFile): new method
2064         * exporter.C (Export): copy referenced files to the document dir
2065         * exporter.[Ch]: new class ExportedFile
2066         * exporter.[Ch]: new class ExportData. Contains currently the
2067         names of referenced external files
2068         * outputparams.h: add exportdata member.
2069
2070 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2071
2072         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2073         version.C-tmp
2074
2075 2004-05-19  Angus Leeming  <leeming@lyx.org>
2076
2077         * LaTeXFeatures.C:
2078         * ToolbarBackend.C:
2079         * bufferparams.C:
2080         * lyxfunc.C: small changes due to the introduction of namespace
2081         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2082
2083 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2084
2085         * text3.C (dispatch): supress update when only moving the cursor
2086         * cursor.C (selHandle): remove commented code
2087
2088 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2089
2090         * paragraph.C (startTeXParParams): correct column count
2091         * CutAndPaste.C (pasteSelection): remove const_cast
2092         * output_docbook.C (docbookParagraphs): remove const_cast
2093         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2094         const_cast and return ParagraphList::const_iterator
2095         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2096         * output_plaintext.C (writeFileAscii): remove const_cast
2097         * paragraph.[Ch] (simpleTeXOnePar): make const
2098         * paragraph_funcs.C (outerPar): use const iterators
2099         * paragraph_pimpl.C (validate): use const iterators
2100         * text.C (setHeightOfRow): use const iterators
2101
2102 2004-05-17  Angus Leeming  <leeming@lyx.org>
2103
2104         * lfuns.h:
2105         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2106
2107         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2108         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2109         if the citation engine has changed.
2110
2111 2004-05-14  José Matos  <jamatos@lyx.org>
2112
2113         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2114         if the textclass does not provide it. Have it different for sgml and
2115         xml.
2116         support the language of document.
2117         * output_docbook.C (docbookParagraphs):
2118         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2119         first anchor as the id of the paragraph, remove special case code.
2120         * sgml.C (escapeChar): escape only < & >.
2121
2122 2004-05-14  Angus Leeming  <leeming@lyx.org>
2123
2124         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2125         dependencies on src/frontends/controllers/biblio.h. Define a
2126         CiteEngine_enum wrapper class to enable the enum to be forward
2127         declared.
2128
2129 2004-05-12  Angus Leeming  <leeming@lyx.org>
2130
2131         * buffer.C: up LYX_FORMAT to 234.
2132         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2133         use_numerical_citations with a single biblio::CiteEngine cite_engine
2134         variable.
2135         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2136
2137 2004-05-13  José Matos  <jamatos@lyx.org>
2138
2139         * converter.h:
2140         * converter.C (Converter, readFlags): add xml member.
2141         * outputparams.h: add XML flavor.
2142         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2143
2144 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2145
2146         * lyxfunc.C (dispatch):
2147         (getStatus): fix handling of LFUN_SEQUENCE
2148
2149 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2150
2151         * debug.C (showLevel): do not forget the end-of-line marker
2152
2153 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2154
2155         * kbmap.C (read): do not stop parsing a bind file when an error
2156         occurs (bug 1575)
2157
2158 2004-04-29  Angus Leeming  <leeming@lyx.org>
2159
2160         * cursor.C:
2161         * factory.C:
2162         * pariterator.C:
2163         * text2.C: wrap a bunch of #warning statements
2164         inside #ifdef WITH_WARNINGS blocks.
2165
2166 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2167
2168         * buffer.C: increment format to 233.
2169
2170 2004-04-28  Angus Leeming  <leeming@lyx.org>
2171
2172         * BufferView_pimpl.C:
2173         * lyxfunc.C:
2174         * text3.C:
2175         s/updateToolbar()/updateToolbars()/
2176         s/Toolbar.h/Toolbars.h/
2177
2178 2004-04-28  Angus Leeming  <leeming@lyx.org>
2179
2180         * BufferView.[Ch] (c-tor):
2181         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2182         No longer passes these data to the WorkArea generator.
2183
2184 2004-04-28  Angus Leeming  <leeming@lyx.org>
2185
2186         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2187
2188 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2189
2190         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2191
2192 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2193
2194         * output_latex.C (TeXEnvironment): make sure that there is a line
2195         break before \end{foo} for the last paragraph of a document
2196         (TeXOnePar): if the paragraph is at the end of the document (or
2197         inset) and the language has to be reset, then make sure that the
2198         line break is _before_ the language command, not after (fixes bug
2199         1225); also make sure that the language reset command is the first
2200         thing after the paragraph (to ensure proper nesting of
2201         environments and thus fix bug 1404)
2202
2203 2004-04-21  John Levon  <levon@movementarian.org>
2204
2205         * ToolbarBackend.h:
2206         * ToolbarBackend.C: make "name" be a programmatic name
2207         and a gui_name field.
2208
2209         * lyxfunc.C: display the minibuffer on M-x
2210
2211 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2212
2213         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2214         (bug 1526)
2215
2216 2004-04-19  Angus Leeming  <leeming@lyx.org>
2217
2218         * BufferView_pimpl.C (setBuffer): changed preview interface.
2219
2220         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2221         possible values.
2222
2223 2004-04-19  John Levon  <levon@movementarian.org>
2224
2225         * BufferView_pimpl.C:
2226         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2227
2228 2004-04-05  Angus Leeming  <leeming@lyx.org>
2229
2230         * text.C (redoParagraphs): add call to updateCounters(), thereby
2231         fixing the missing "Figure #:" label from the caption of a
2232         figure float.
2233
2234 2004-04-13  Angus Leeming  <leeming@lyx.org>
2235
2236         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2237         cursor is clicked out of an inset.
2238
2239 2004-04-13  Angus Leeming  <leeming@lyx.org>
2240
2241         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2242         than an InsetOld one.
2243
2244 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2245
2246         * format.[Ch]: add editor to Format
2247         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2248         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2249
2250 2004-04-08  André Pönitz  <poenitz@gmx.net>
2251
2252         * metricsinfo.h: remove PainterInfo::width member
2253
2254 2004-04-08  Angus Leeming  <leeming@lyx.org>
2255
2256         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2257         "\providecommand" rather than "\newcommand", thereby preventing
2258         clashes with packages that define "\boldsymbol" themselves.
2259         Eg, beamer.
2260
2261 2004-04-08  Angus Leeming  <leeming@lyx.org>
2262
2263         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2264         thereby squashing an unnecessary warning.
2265
2266 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2267
2268         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2269         setBuffer()
2270
2271 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2272
2273         * BufferView.C (setCursor): call redoParagraph (some insets could
2274         have been opened)
2275         (putSelectionAt): remove the 'double update' trick
2276
2277         * BufferView_pimpl.C (fitCursor): call refreshPar
2278         (workAreaDispatch): remove an uneeded update call
2279         (dispatch): remove some manual update calls
2280
2281         * cursor.[Ch]: remove cached_y_, updatePos
2282         (selHandle): set noUpdate when appropriate
2283
2284         * lyxfunc.C (dispatch): track if we need an update
2285
2286         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2287
2288         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2289         (paintSelection): cheap optimization, do not call cursorX when not
2290         needed
2291         (paintPars): change signature
2292         (refreshPar): add
2293         (paintText): adjust
2294         (paintTextInset): adjust
2295
2296         * text.C: adjust
2297
2298 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2299
2300         * lengthcommon.C: compilation fix: remove explicit array size from
2301         unit_name[] and friends
2302
2303 2004-04-05  Angus Leeming  <leeming@lyx.org>
2304
2305         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2306
2307         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2308         present only for the preferences dialog.
2309         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2310
2311 2004-04-05  Angus Leeming  <leeming@lyx.org>
2312
2313         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2314         to enable the frontends to export changes to lyxrc correctly.
2315
2316         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2317
2318 2004-04-07  André Pönitz  <poenitz@gmx.net>
2319
2320         * cursor.[Ch] (selClear, adjust): remove math
2321
2322         * cursor_slice.C: more agressive assert
2323
2324         * lyxfunc.C:
2325         * BufferView_pimpl.C: rework mouse event dispatch
2326
2327         * dociterator.C:
2328         * paragraph.C:
2329         * text2.C:
2330         * text3.C: adjust
2331
2332 2004-04-05  André Pönitz  <poenitz@gmx.net>
2333
2334         * cursor.[Ch] (valign, halign...): remove unneeded functions
2335
2336 2004-04-05  Angus Leeming  <leeming@lyx.org>
2337
2338         * lyxlength.[Ch] (unit_name et al.): const-correct.
2339
2340 2004-04-05  Angus Leeming  <leeming@lyx.org>
2341
2342         * BufferView_pimpl.C:
2343         * buffer.C:
2344         * counters.C:
2345         * cursor.C:
2346         * lyxfunc.C
2347         * paragraph.C:
2348         * pariterator.C:
2349         * text.C:
2350         * text2.C:
2351         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2352
2353 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2354
2355         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2356
2357 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2358
2359         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2360         * BufferView_pimpl.[Ch] (getStatus)
2361         * BufferView.[Ch] (getStatus): add
2362         * lyxfunc.C (getStatus): move lfuns handled in
2363         BufferView::dispatch to te function above
2364         * Cursor.C (setSelection): set selection() = true
2365
2366 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2367
2368         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2369
2370 2004-03-31  Angus Leeming  <leeming@lyx.org>
2371
2372         * lyxfunc.C (dispatch): Fall through to the generic
2373         Dialogs::show("preamble").
2374
2375 2004-03-31  Angus Leeming  <leeming@lyx.org>
2376
2377         * lyxfunc.C (dispatch): Fall through to the generic
2378         Dialogs::show("spellchecker").
2379
2380 2004-03-31  Angus Leeming  <leeming@lyx.org>
2381
2382         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2383         preferences dialog.
2384
2385 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2386
2387         * BufferView.C
2388         * cursor.[Ch]
2389         * dociterator.[Ch]:
2390         * insetiterator.[Ch]:
2391         * lyxfind.C:
2392         * lyxfunc.C:
2393         * pariterator.[Ch]:
2394         * text2.C:
2395         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2396
2397 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2398
2399         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2400         insets where we are putting the cursor.
2401
2402 2004-03-31  Angus Leeming  <leeming@lyx.org>
2403
2404         * lfuns.h:
2405         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2406
2407         * lyxrc.[Ch] (read, write): overloaded member functions taking
2408         a std::[io]stream arguments.
2409
2410         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2411
2412 2004-03-31  Angus Leeming  <leeming@lyx.org>
2413
2414         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2415         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2416
2417         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2418         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2419
2420 2004-03-31  Angus Leeming  <leeming@lyx.org>
2421
2422         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2423         the LFUN_ALL_INSETS_TOGGLE code.
2424
2425 2004-03-30  Angus Leeming  <leeming@lyx.org>
2426
2427         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2428         has died. Fall through to the generic Dialogs::show("document").
2429
2430 2004-03-30  Angus Leeming  <leeming@lyx.org>
2431
2432         * lfuns.h:
2433         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2434         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2435
2436         * lyxfunc.C (getStatus, dispatch): define the actions for these
2437         lfuns. Little more than a cut and pste job from ControlDocument.C
2438
2439         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2440
2441 2004-03-30  Angus Leeming  <leeming@lyx.org>
2442
2443         * lfuns.h:
2444         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2445         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2446
2447         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2448         open/closed state of ollapsable insets. Usage:
2449
2450         all-inset-toggle <state> <name>, where
2451         <state> == "open" || "closed" || "toggle" and
2452         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2453
2454         * lyxtext.h, text2.C (toggleInset): removed.
2455
2456         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2457         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2458         now passes LFUN_INSET_TOGGLE to the found inset.
2459
2460         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2461         is now invoked as "all-insets-toggle toggle branch".
2462
2463 2004-03-30  Angus Leeming  <leeming@lyx.org>
2464
2465         * dociterator.C:
2466         * insetiterator.C:
2467         * pariterator.[Ch]: added/corrected header blurb.
2468
2469 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2470
2471         * dociterator.[Ch]: add an inset_ member
2472         (backwardPos): implemented
2473         (backwardPos, forwardPos): use inset_ when the stack is empty.
2474         (doc_iterator_begin, doc_iterator_end): implemented
2475         * pariterator.[Ch]: adjust, add begin, end
2476         * insetiterator.[Ch]: adjust, add begin, end
2477         * cursor.C:
2478         * document.C:
2479         * BufferView.C:
2480         * BufferView_pimpl.C:
2481         * CutAndPaste.C: adjust
2482
2483 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2484
2485         * buffer.C: increment file format to 232.
2486         * LaTeXFeatures.C: add bibtopic package.
2487         * bufferparams.[Ch]: param \use_bibtopic.
2488
2489         * lyxrc.[Ch]: add lyxrc bibtex_command
2490         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2491
2492         * buffer.C: increment file format to 231.
2493
2494 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2495
2496         * dociterator.C: implement forwardPar
2497         * iterators.[Ch]: remove, replaced by
2498         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2499         * BufferView.C:
2500         * BufferView_pimpl.C:
2501         * CutAndPaste.C:
2502         * buffer.C:
2503         * bufferview_funcs.C:
2504         * cursor.C:
2505         * lyxfind.C
2506         * lyxfunc.C
2507         * paragraph_funcs.C
2508         * toc.C:
2509         * Makefile.am: adjust
2510
2511 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2512
2513         * CutAndPaste.C (pasteSelection): fix 2 crashes
2514         (eraseSelection): fix a crash
2515         * paragraph_funcs.C: remove a warning
2516
2517 2004-03-28  Angus Leeming  <leeming@lyx.org>
2518
2519         * lfuns.h:
2520         * LyXAction.C (init): new LFUN_PRINT.
2521
2522         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2523
2524 2004-03-27  Angus Leeming  <leeming@lyx.org>
2525
2526         * lfuns.h:
2527         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2528
2529         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2530
2531 2004-03-27  Angus Leeming  <leeming@lyx.org>
2532
2533         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2534         insetlist always contains non-null pointers to insets.
2535
2536 2004-03-26  Angus Leeming  <leeming@lyx.org>
2537
2538         * src/BufferView_pimpl.C:
2539         * src/CutAndPaste.C:
2540         * src/buffer.C:
2541         * src/iterators.C:
2542         * src/output_plaintext.C:
2543         * src/outputparams.h:
2544         * src/paragraph_funcs.C:
2545         * src/rowpainter.C:
2546         * src/text.C:
2547         * src/text2.C:
2548         * src/frontends/controllers/ControlErrorList.C:
2549         * src/frontends/gtk/FileDialogPrivate.C:
2550         * src/frontends/gtk/GPainter.C:
2551         * src/frontends/gtk/GToolbar.C:
2552         * src/frontends/qt2/QRef.C:
2553         * src/mathed/math_scriptinset.C: squash compiler warnings.
2554
2555 2004-03-26  Angus Leeming  <leeming@lyx.org>
2556
2557         * ispell.C (LaunchIspell::start):
2558         * lyx_cb.C (AutoSaveBuffer::start):
2559         invoke run(DontWait) rather than runNonBlocking().
2560
2561 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2562
2563         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2564
2565 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2566
2567         * kbsequence.C (print): adjust
2568
2569         * kbmap.C (printKeySym): rename and change signature
2570         (printKey): use LyXKeySym::print()
2571
2572 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2573
2574         * undo.C: add using std::advance to compile for stlport
2575
2576 2004-03-24  Angus Leeming  <leeming@lyx.org>
2577
2578         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2579         it leads to a crash when no buffer is present.
2580
2581 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2582             Martin Vermeer  <martin.vermeer@hut.fi>
2583
2584         * lyxfunc.C (dispatch):
2585         * bufferparams.C (readToken): use the new LColor::setColor
2586
2587         * LColor.[Ch] (setColor): new version that takes two strings as
2588         argument and creates a new color entry if necessary
2589
2590 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2591
2592         * buffer.C (makeLaTeXFile): if the main latex file that is
2593         processed is usually a subdocument of some master, then pretend
2594         for a while that it is actually the master
2595
2596 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2597
2598         * buffer.C (getLabelList):
2599         (getBibkeyList): use getMasterBuffer()
2600         (getMasterBuffer): new method. Returns the main document in the
2601         case where one is using included documents.
2602
2603 2004-03-25  André Pönitz  <poenitz@gmx.net>
2604
2605         * Makefile.am:
2606         * iterators.[Ch]:
2607         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2608
2609         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2610
2611         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2612         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2613
2614         * ParameterStruct.h: merge with ParagraphParameters
2615
2616         * lyxtext.h: remove LyXText::parOffset() and getPar()
2617
2618         * text3.C: Remove all 'manual' update calls. We do now one per user
2619         interaction which is completely sufficient.
2620
2621         * Bidi.C:
2622         * BufferView.[Ch]:
2623         * BufferView_pimpl.C:
2624         * FontIterator.[Ch]:
2625         * MenuBackend.C:
2626         * ParagraphParameters.[Ch]:
2627         * buffer.C:
2628         * buffer.h:
2629         * bufferlist.C:
2630         * cursor.[Ch]:
2631         * cursor_slice.[Ch]:
2632         * dociterator.[Ch]:
2633         * errorlist.[Ch]:
2634         * factory.C:
2635         * lfuns.h:
2636         * lyxfind.C:
2637         * lyxfunc.C:
2638         * output_docbook.[Ch]:
2639         * output_latex.[Ch]:
2640         * output_linuxdoc.[Ch]:
2641         * output_plaintext.[Ch]:
2642         * paragraph.[Ch]:
2643         * paragraph_funcs.[Ch]:
2644         * paragraph_pimpl.[Ch]:
2645         * rowpainter.C:
2646         * tabular.[Ch]:
2647         * text.C:
2648         * text2.C:
2649         * toc.C:
2650         * undo.[Ch]: adjust
2651
2652         * frontends/controllers/ControlDocument.C:
2653         * frontends/controllers/ControlErrorList.C:
2654         * frontends/controllers/ControlSpellchecker.C:
2655         * insets/inset.C:
2656         * insets/inset.h:
2657         * insets/insetbase.h:
2658         * insets/insetbibitem.C:
2659         * insets/insetbox.C:
2660         * insets/insetbranch.C:
2661         * insets/insetcaption.C:
2662         * insets/insetcharstyle.C:
2663         * insets/insetcharstyle.h:
2664         * insets/insetcollapsable.C:
2665         * insets/insetcollapsable.h:
2666         * insets/insetert.C:
2667         * insets/insetfloat.C:
2668         * insets/insetfoot.C:
2669         * insets/insetmarginal.C:
2670         * insets/insetnote.C:
2671         * insets/insetoptarg.C:
2672         * insets/insettabular.C:
2673         * insets/insettext.C:
2674         * insets/insettext.h:
2675         * insets/insetwrap.C:
2676         * mathed/math_mboxinset.C:
2677         * mathed/math_nestinset.C:
2678         * mathed/math_scriptinset.C:
2679         * mathed/math_scriptinset.h:
2680         * support/types.h:
2681
2682 2004-03-24  Angus Leeming  <leeming@lyx.org>
2683
2684         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2685         deal with any child processes that have finished but are waiting to
2686         communicate this fact to the rest of LyX.
2687
2688 2004-03-24  Angus Leeming  <leeming@lyx.org>
2689
2690         64-bit compile fixes.
2691
2692         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2693         (c-tor): pass lyx::pos_types rather than ints.
2694
2695         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2696         lyx::pos_type.
2697
2698         * text.C (Delete): compile fix.
2699         (getPar): ensure that function declaration is the same as that in
2700         the header file.
2701
2702 2004-03-23  Angus Leeming  <leeming@lyx.org>
2703
2704         * ispell.C (LaunchIspell):
2705         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2706         a boost::shred_ptr rather than a std::auto_ptr.
2707
2708 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2709
2710         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2711         handle LFUN_FILE_INSERT_*
2712
2713         * lyxrc.C (setDefaults, getDescription, output, read):
2714         * lyxrc.h: remove ps_command
2715
2716 2004-03-22  Angus Leeming  <leeming@lyx.org>
2717
2718         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2719         Ensure that error_handler is processed once only and that all data
2720         is saved before attempting to output any warning messages.
2721
2722         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2723
2724 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2725
2726         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2727
2728 2004-03-19  André Pönitz  <poenitz@gmx.net>
2729
2730         * cursor.[Ch] (reset): take main text inset as argument
2731
2732         * BufferView: adjust
2733         * BufferView_pimpl.C: adjust
2734
2735         * paragraph.[Ch]: fix completely broken operator=()
2736
2737 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2738
2739         * LColor.C (getFromLyXName): make sure that the color name is used
2740         as lowercase.
2741
2742 2004-03-17  Angus Leeming  <leeming@lyx.org>
2743
2744         * lfuns.h:
2745         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2746
2747         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2748         dialog and to kill a forked process.
2749
2750 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2751
2752         * text2.C (setCursorFromCoordinates): fix font problem
2753
2754 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2755
2756         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2757         bogus "rebuild cursor" code
2758
2759 2004-03-11  André Pönitz  <poenitz@gmx.net>
2760
2761         * buffer.[Ch]: use InsetText instead of LyXText as container for
2762         the main lyx text.
2763
2764         * dociterator.[Ch]: drop the BufferView * member which is not needed
2765         anymore after the change to buffer.C
2766
2767         * paragraph_funcs.C:
2768         * text.C:
2769         * text2.C:
2770         * BufferView.[Ch]:
2771         * BufferView_pimpl.[Ch]:
2772         * cursor.[Ch]:
2773         * cursor_slice.[Ch]: adjust
2774
2775         * text3.C: fix bug in mathDispatch
2776
2777 2004-03-08  André Pönitz  <poenitz@gmx.net>
2778
2779         * undo.[Ch]: use 'StableDocumentIterator' as base for
2780         the Undo struct.
2781
2782 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2783
2784         * LaTeXFeatures.C:
2785         * bufferparams.[Ch]: add jurabib support and param.
2786
2787         * LaTeX.C: add FIXME/comment.
2788
2789 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2790
2791         * buffer.C: increment file format to 230.
2792
2793 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2794
2795         * cursor.C (dispatch): avoid infinite loops
2796
2797 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2798
2799         * rowpainter.C (paintSelection): fix x coordinates
2800
2801 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2802
2803         * text.C (rowBreakPoint): fix breaking before displayed insets
2804
2805 2004-03-01  André Pönitz  <poenitz@gmx.net>
2806
2807         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2808
2809         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2810
2811         * Makefile.am:
2812         * BufferView.C:
2813         * BufferView_pimpl.C:
2814         * buffer.C:
2815         * lyxfind.C:
2816         * lyxfunc.C:
2817         * text.C:
2818         * text2.C:
2819         * text3.C: adjust
2820
2821 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2822
2823         * lyxtext.h:
2824         * text.C:
2825         * text2.C:
2826         * rowpainter.C:
2827         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2828         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2829
2830 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2831
2832         * Bidi.[Ch] (computeTables): const correctness
2833         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2834         fill_hfill, fill_label_hfill and x from Row
2835         * lyxtext.h: prepareToPrint returns a RowMetrics
2836         * rowPainter.C: adjust
2837         * text.C (prepareToPrint): use width, not textWidth. adjust
2838         (redoParagraphInternal, cursorX): adjust
2839         * text2.C (getColumnNearX): adjust
2840         (init): put a default value to the top LyXText::width
2841
2842 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2843
2844         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2845
2846 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2847
2848         * lyxtext.h: add FontIterator class
2849
2850         * text.C (FontIterator, operator*, operator->, operator++): add
2851         (rowBreakPoint, setRowWidth): adjust (fixing a
2852         rebreaking bug)
2853
2854 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2855
2856         * BufferView_pimpl.C (workAreaDispatch): allow also
2857         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2858
2859 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2860
2861         * text.C (rowBreakPoint): fix a bug showing with very large insets
2862
2863 2004-02-25  André Pönitz  <poenitz@gmx.net>
2864
2865         * text3.C:
2866         * cursor.[Ch]: move some mathed specific code to mathed
2867
2868 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2869
2870         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2871         use_tempdir in preferences
2872         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2873         tempfile creation
2874         * lyx_main.C: ensure that tempdir is valid
2875         * lyxlex.h: correct typo
2876         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2877         * paragraph.[Ch] (isMultiLingual): make const
2878         * cursor.[Ch] (openable): make const
2879
2880 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2881
2882         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2883
2884 2004-02-20  André Pönitz  <poenitz@gmx.net>
2885
2886         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2887
2888         * cursor.[Ch]: prepare for localized getStatus()
2889
2890         * lyxtext.h:
2891         * tabular.C:
2892         * text.C:
2893         * text2.C:
2894         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2895
2896 2004-02-20  André Pönitz  <poenitz@gmx.net>
2897
2898         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2899
2900 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2901
2902         * text2.C (setCursorFromCoordinates): switch to absolute coords
2903         (cursorUp): adjust
2904         (cursorDown): adjust
2905         * text3.C (dispatch): adjust
2906
2907 2004-02-16  André Pönitz  <poenitz@gmx.net>
2908
2909         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2910           insets/ChangeLog)
2911
2912         * cursor_slice.[Ch]: remove unneeded acessor function
2913
2914         * lyxtext.h: rename rtl() to isRTL()
2915
2916         * rowpainter.C:
2917         * tabular.C:
2918         * text.C:
2919         * text2.C:
2920         * text3.C: adjust
2921
2922 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2923
2924         * rowpainter.C (paintSelection): coord fix
2925
2926 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2927
2928         * Spacing.C: compile fix
2929
2930 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2931
2932         * cursor.C (dispatch): restore current_ before returning
2933
2934 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2935
2936         * text2.C (cursorUp, cursorDown): fix coords
2937         (moveUp): fix crash
2938
2939 2004-02-12  André Pönitz  <poenitz@gmx.net>
2940
2941         * lyxtext.h:
2942         * text.C:
2943         * text2.C:
2944         * text3.C: add LCursor & parameter to most cursor movement functions
2945           remove usage of LyXText::cursorRow() and cursorPar()
2946
2947         * cursor.[Ch]: add textRow() needed members
2948
2949         * BufferView.C:
2950         * BufferView_pimpl.C:
2951         * paragraph.[Ch]:
2952         * BufferView.C:
2953         * BufferView_pimpl.C: adjust
2954
2955 2004-02-11  André Pönitz  <poenitz@gmx.net>
2956
2957         * lyxfunc.C:
2958         * BufferView.[Ch]:
2959         * BufferView_pimpl.C: shift undo/redo handling
2960
2961         * cursor.[Ch]: fix mathed crash
2962
2963         * lyxfind.C:
2964         * lyxtext.h: move selectionAsText to LCursor
2965
2966         * output_latex.C:
2967         * paragraph.C:
2968         * text.C:
2969         * text2.C:
2970         * text3.C: adjust
2971
2972         * rowpainter.C: fix excessive drawing
2973
2974 2004-02-06  André Pönitz  <poenitz@gmx.net>
2975
2976         * BufferView.[Ch]:
2977         * BufferView_pimpl.[Ch]:
2978         * text3.C: move some text specific LFUN handling
2979
2980 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2981
2982         * text3.C (checkInsetHit): adjust coords
2983         * text2.C (getColumnNearX): adjust coords
2984         (edit): adjust coords
2985         * text.C (getRowNearY): add two asserts
2986
2987 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2988
2989         * converter.C:
2990         * format.C: add using std::distance to compile on gcc 2.95/stlport
2991
2992 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2993
2994         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2995
2996 2004-02-04  André Pönitz  <poenitz@gmx.net>
2997
2998         * BufferView.[Ch] (insertInset):
2999         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3000
3001         * text2.C:
3002         * text3.C: adjust
3003
3004 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3005
3006         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3007         on the default clause of the switch
3008         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3009         wasn't catched by LCursor::dispatch
3010
3011 2004-02-03  André Pönitz  <poenitz@gmx.net>
3012
3013         * BufferView.C:
3014         * cursor.[Ch]: some additional asserts
3015
3016         * undo.[Ch]: remove LyXText dependency in interface
3017
3018         * lyxfunc.C: adjust
3019
3020         * lyxtext.h (firstPar, lastPar): remove dead functions
3021
3022         * text.C:
3023         * text2.C:
3024         * text3.C:
3025         * paragraph.[Ch]: adjust
3026
3027 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3028
3029         * lyxfind.C (find): fix argument order in call to ::find
3030
3031 2004-02-02  André Pönitz  <poenitz@gmx.net>
3032
3033         * cursor.[Ch]: remove direct access to anchor
3034
3035         * text.C: remove findText() hack
3036
3037 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3038
3039         * iterators.[Ch] (lockPath): remove in favour of...
3040         * BufferView.[Ch] (setCursor): this addition
3041         * BufferView.C (putSelectionAt): adjust
3042         * undo.C (performUndoOrRedo): adjust
3043         * lyxfunc.C (dispatch): adjust
3044
3045 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3046
3047         * iterators.C (lockPath): add a missing slice
3048         * undo.C (performUndoOrRedo): remove redundant positioning code
3049
3050 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3051
3052         * vc-backend.C (scanMaster): ";" -> ';'
3053
3054 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3055
3056         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3057         std::binary_function
3058
3059         * lyxtextclass.C (compare_name): rename to...
3060         (LayoutNamesEqual): ...this
3061
3062         * lyxlex_pimpl.C (compare_tags): inherit from
3063         std::binary_function, put back into anon namespace
3064
3065         * lyxfind.C (MatchString): inherig from std::binary_function
3066         (findChange): use empty() istead of !size()
3067
3068         * format.C (FormatNamesEqual): new functor
3069         (getFormat): use it
3070         (getNumber): use it
3071         (add): use it
3072         (erase): use it
3073         (setViewer): use it
3074
3075         * converter.C (compare_Converter): rename to...
3076         (ConverterEqual): ...this, and fixup a bit.
3077         (getConverter): use it, and make function const
3078         (getNumber): use it, and make function const
3079         (add): use it
3080         (erase): use it:
3081
3082         * bufferlist.C: add using boost::bind
3083
3084         * MenuBackend.C (MenuNamesEqual): new functor
3085         (hasMenu): use it, and make function const
3086         (hasSubmenu): use nested bind to get rid of compare_memfun.
3087
3088 2004-01-30  André Pönitz  <poenitz@gmx.net>
3089
3090         * BufferView_pimpl.C:
3091         * cursor.C:
3092         * cursor.h:
3093         * cursor_slice.[Ch]:
3094         * lyxfunc.C:
3095         * lyxtext.h:
3096         * paragraph_funcs.C:
3097         * paragraph_funcs.h:
3098         * rowpainter.C:
3099         * text.C:
3100         * text2.C:
3101         * text3.C: move some of the edit(x,y) handling to the insets
3102         some coordinate changes.
3103
3104 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3105
3106         * text.C: add using statements for std::advance and std::distance
3107
3108         * paragraph.C: add using statement for std::distance
3109
3110         * lyxfind.C: add using statement for std::advance
3111
3112         * cursor.C (region): remove std:: from swap
3113         (openable): use nucleus in stead of operator->
3114
3115         * BufferView.C: add using statements for std::distance and std::swap
3116
3117 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3118
3119         * iterators.C: Remove the pimple, move the needed structures to
3120         the header file. Create accessor for the positions stack.
3121         (asPosIterator): remove function
3122
3123         * PosIterator.C (PosIterator): move constructors to top of file
3124         (PosIterator): reimplement the constructor taking a ParIterator in
3125         terms of setFrom.
3126         (setFrom): new function
3127         (operator!=): inline it
3128
3129 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3130
3131         * lyxfind.C (replaceAll): use std::advance
3132
3133         * iterators.h: inherit from std::iterator.
3134
3135         * PosIterator.C (advance, distance): remove
3136         * PosIterator.h: interit from std::iterator.
3137
3138 2004-01-26  André Pönitz  <poenitz@gmx.net>
3139
3140         * BufferView.[Ch]:
3141         * BufferView_pimpl.[Ch]:
3142         * InsetList.[Ch]:
3143         * PosIterator.[Ch]:
3144         * buffer.h:
3145         * bufferview_funcs.C:
3146         * cursor.[Ch]:
3147         * cursor_slice.h:
3148         * factory.[Ch]:
3149         * iterators.[Ch]:
3150         * lyxfind.C:
3151         * lyxfunc.C:
3152         * lyxtext.h:
3153         * output_docbook.C:
3154         * output_latex.C:
3155         * output_linuxdoc.C:
3156         * output_plaintext.C:
3157         * paragraph.[Ch]:
3158         * paragraph_funcs.[Ch]:
3159         * paragraph_pimpl.[Ch]:
3160         * rowpainter.C:
3161         * tabular.C:
3162         * tabular.h:
3163         * text.C:
3164         * text2.C:
3165         * text3.C: more IU:  dumps most of the rest of the mathcursor
3166     implementation into cursor.[Ch]; "globalize" a bit of it.
3167
3168 2004-01-25  Angus Leeming  <leeming@lyx.org>
3169
3170         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3171
3172 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3173
3174         * LaTeXFeatures.h: add nice_ and nice() const
3175         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3176
3177 2004-01-20  André Pönitz  <poenitz@gmx.net>
3178
3179         * BufferView.[Ch]:
3180         * BufferView_pimpl.C:
3181         * PosIterator.C:
3182         * bufferview_funcs.C:
3183         * cursor.[Ch]:
3184         * cursor_slice.[Ch]:
3185         * factory.C:
3186         * iterators.C:
3187         * lyx_cb.C:
3188         * lyxfind.C:
3189         * lyxfunc.C:
3190         * lyxtext.h:
3191         * rowpainter.C:
3192         * text.C:
3193         * text2.C:
3194         * text3.C:
3195         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3196           LCursor and mathcursor parts to LCursor and InsetBase.
3197
3198 2004-01-15  André Pönitz  <poenitz@gmx.net>
3199
3200         * cursor_slice.[Ch]: add a few covienience functions
3201
3202         * funcrequest.[Ch]: remove BufferView * member
3203
3204         * BufferView_pimpl.C:
3205         * cursor.C:
3206         * factory.[Ch]:
3207         * lyxfind.[Ch]:
3208         * lyxfunc.C:
3209         * lyxtext.h:
3210         * text3.C:
3211         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3212
3213 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3214
3215         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3216         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3217
3218 2004-01-13  André Pönitz  <poenitz@gmx.net>
3219
3220         * textcursor.[Ch]:
3221         * lyxtext.h: hide cursor and selection anchor behind accessor function
3222
3223         * BufferView.C:
3224         * BufferView_pimpl.[Ch]:
3225         * PosIterator.C:
3226         * bufferview_funcs.C:
3227         * cursor.h:
3228         * lyxfind.C:
3229         * lyxfunc.C:
3230         * text.C:
3231         * text2.C:
3232         * text3.C:
3233         * undo.C: adjust
3234
3235         * cursor.h:
3236         * cursor_slice.[Ch]: some integer type changes for inset unification
3237
3238         * lyxcursor.[hC]: remove, it's CursorSlice now.
3239
3240         * Makefile.am:
3241         * BufferView_pimpl.[Ch]:
3242         * bufferview_funcs.C:
3243         * cursor_slice.C:
3244         * lyxtext.h:
3245         * text.C:
3246         * text2.C:
3247         * text3.C:
3248         * textcursor.[Ch]: adjust
3249
3250 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3251
3252         * text2.C (undoSpan): add and use
3253         * text.C (breakParagraph): use undoSpan (fix bug 578)
3254         * lyxtext.h: adjust
3255
3256 2004-01-08  Angus Leeming  <leeming@lyx.org>
3257
3258         * BufferView_pimpl.C (MenuInsertLyXFile):
3259         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3260         * lyxfunc.C (menuNew, open, doImport):
3261         FileFilterList change to the FileDialog open and save functions.
3262
3263 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3264
3265         * ShareContainer.h: make isEqual and isUnique adaptable
3266
3267         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3268
3269 2004-01-07  Angus Leeming  <leeming@lyx.org>
3270
3271         * LyXAction.C:
3272         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3273
3274         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3275
3276         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3277         functions replacing find, replace and replaceAll.
3278
3279         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3280         LFUN_WORDFIND(FORWARD|BACKWARD).
3281
3282 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3283
3284         * text.C (breakParagraph): remove an outdated #warning
3285
3286 2004-01-07  André Pönitz  <poenitz@gmx.net>
3287
3288         * lyxfind.C: somewhat clearer logic
3289
3290         * text.C: prevent crash in cursorX on unitialized row cache
3291
3292 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3293
3294         * lyxcursor.[Ch] (operator>): add
3295         * textcursor.C (selStart, selEnd): use std::min and std::max
3296
3297 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3298
3299         * Chktex.C: include boost/format.hpp
3300
3301 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3302
3303         * InsetList.C: replace functor MathcIt with adaptable functor
3304         InsetTablePosLess
3305         (insetIterator): modify accordingly
3306
3307         * BranchList.h: move the BranchNamesEqual functor here from...
3308         * BranchList.C: ... to here
3309
3310         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3311         SameName and match.
3312         (add): replace a finding loop with std::find_if.
3313
3314 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3315
3316         * output_docbook.C: moving LatexParam functionality into
3317         .layout files
3318
3319 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3320
3321         * buffer.C: increment format to 229.
3322
3323 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3324
3325         * LaTeXFeatures.C:
3326         * lyx_sty.[Ch]: remove minipageindent_def
3327
3328         * LyXAction.C:
3329         * factory.C:
3330         * lfuns.h:
3331         * lyxfunc.C:
3332         * text3.C: remove LFUN_INSET_MINIPAGE
3333
3334 2003-12-28  Angus Leeming  <leeming@lyx.org>
3335
3336         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3337
3338 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3339
3340         * text2.C (setParagraph): fix off-by-one crash
3341
3342 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3343
3344         * output_docbook.C: header stuff for AGU
3345
3346 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3347
3348         * text2.C (redoCursor): remove
3349         * text.C:
3350         * text3.C:
3351         * BufferView_pimpl.C: remove calls to redoCursor and
3352         setCursor(cursor.par(), cursor.pos()) all around
3353
3354 2003-12-15  Angus Leeming  <leeming@lyx.org>
3355
3356         * buffer.C: up the format to 228.
3357
3358 2003-12-15  André Pönitz  <poenitz@gmx.net>
3359
3360         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3361         slices
3362
3363         * Makefile.am:
3364
3365         * BufferView_pimpl.C:
3366         * cursor.[Ch]:
3367         * lyxcursor.[Ch]:
3368         * rowpainter.[Ch]:
3369         * lyxtext.h:
3370         * text.C:
3371         * text2.C:
3372         * text3.C: adjust
3373
3374 2003-12-15  Angus Leeming  <leeming@lyx.org>
3375
3376         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3377         than getFromGUIName to manipulate the color.
3378
3379 2003-12-14  Angus Leeming  <leeming@lyx.org>
3380
3381         * BranchList.[Ch]: minimize the API.
3382         (Branch::getBranch, getColor): now return a 'const &'.
3383         (Branch::setSelected) now returns a bool set to true if the
3384         selection status changes.
3385         (BranchList::clear, size, getColor, setColor, setSelected,
3386         allBranches, allSelected, separator): removed.
3387         (BranchList::find): new functions, returning the Branch with
3388         the given name.
3389         (BranchList::add, remove): return a bool indicating that
3390         the operation was successful.
3391
3392         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3393         new InsetBranch::isBranchSlected member function.
3394
3395         * LColor.[Ch]: mimimize the API.
3396         (fill): renamed as addColor and made private.
3397         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3398         versions of these functions taking a string arg have been removed.
3399
3400         * bufferparams.C (readToken):
3401         * lyxfunc.C (dispatch):
3402         * lyxrc.C (read): changes due to the altered BranchList and
3403         LColor APIs.
3404
3405         * factory.C (createInset, readInset): changes due to altered
3406         InsetBranch c-tor.
3407
3408 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3409
3410         * factory.C:
3411         * lyxfunc.C: remove insetminipage. "minipage-insert"
3412         now produces a frameless minipage box inset.
3413
3414 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3415
3416         * textcursor.[Ch] (selStart,selEnd): add new methods
3417         remove selection::start, end, use LyXCursor::operator<
3418         * lyxcursor.[Ch] (operator<): add
3419         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3420         * BufferView.[Ch] (unsetXSel): add
3421         * text2.C (clearSelection): use unsetXSel,adjust
3422         * text.C: adjust
3423         * text3.C: adjust
3424         * rowpainter.C: adjust
3425         * bufferview_funcs.C (put_selection_at): adjust
3426
3427 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3428
3429         * BufferView_pimpl.C: small coord. correction
3430
3431 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3432
3433         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3434         dragging over the splash screen.
3435
3436 2003-12-11  Angus Leeming  <leeming@lyx.org>
3437
3438         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3439         as it is now handled in LyXText::dispatch.
3440
3441         * text3.C (doInsertInset): remove a level of nesting.
3442
3443 2003-12-11  Angus Leeming  <leeming@lyx.org>
3444
3445         * factory.C (createInset): changes due to the changed interface to
3446         InsetCommandMailer::string2params.
3447
3448 2003-12-10  Angus Leeming  <leeming@lyx.org>
3449
3450         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3451         'dialog-show-new-inset <inset name>'
3452
3453 2003-12-10  Angus Leeming  <leeming@lyx.org>
3454
3455         * buffer.C: up the format to 227.
3456
3457         * factory.C: the box inset is now identified simply by 'Box'.
3458
3459 2003-12-10  Angus Leeming  <leeming@lyx.org>
3460
3461         * buffer.C: up the format to 226.
3462
3463         * factory.C: the note inset is now identified simply by 'Note'.
3464
3465 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3466
3467         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3468         when a pit is enough. Standarize a couple of loops.
3469
3470 2003-12-05  Angus Leeming  <leeming@lyx.org>
3471
3472         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3473         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3474         data to the re-worked "log" dialog.
3475
3476 2003-12-03  André Pönitz  <poenitz@gmx.net>
3477
3478         * PosIterator.C:
3479         * iterators.C:
3480         * lyxtext.h:
3481         * output_latex.C:
3482         * paragraph_funcs.C:
3483         * text.C:
3484         * text2.C: use Inset::getText instead of Inset::getParagraph
3485
3486 2003-12-03  André Pönitz  <poenitz@gmx.net>
3487
3488         * buffer.[Ch]:
3489         * lyxtext.h:
3490         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3491         InsetText::read() as LyXText::read()
3492
3493 2003-12-02  Angus Leeming  <leeming@lyx.org>
3494
3495         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3496         type. Add a comment in the implementation that the function uses
3497         the stream's bad() function rather than fail() as the std::streams
3498         would do.
3499
3500 2003-12-02  André Pönitz  <poenitz@gmx.net>
3501
3502         * lyxlex.[Ch]: make interface more similar to std::stream
3503
3504         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3505
3506 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3507
3508         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3509
3510 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3511
3512         * vspace.[Ch]: remove VSpace::NONE
3513
3514 2003-12-01  André Pönitz  <poenitz@gmx.net>
3515
3516         * buffer.[Ch]:
3517         * lyxtext.h: move ParagraphList member to LyXText
3518         rename LyXText::ownerParagraphs to LyXText::paragraph
3519
3520         * CutAndPaste.C:
3521         * bufferview_funcs.C:
3522         * iterators.[Ch]:
3523         * lyx_cb.C:
3524         * paragraph.C:
3525         * rowpainter.C:
3526         * tabular.C:
3527         * text.C:
3528         * text2.C:
3529         * text3.C: adjust
3530
3531         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3532
3533         * undo.C: fix cursor positioning
3534
3535 2003-12-01  John Levon  <levon@movementarian.org>
3536
3537         * BufferView_pimpl.C: fix a crash on exit with
3538         a buffer open
3539
3540 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3541
3542         * BranchList.C: fix setSelected() method.
3543
3544 2003-11-28  André Pönitz  <poenitz@gmx.net>
3545
3546         * ParagraphParameters.[Ch]:
3547         * ParameterStruct.h: remove space above/below from Paragraph to
3548          InsetVSpace
3549
3550         * BufferView_pimpl.C:
3551         * factory.C:
3552         * lyxfunc.C:
3553         * lyxtext.h:
3554         * output_latex.C:
3555         * paragraph.C:
3556         * paragraph_funcs.C:
3557         * rowpainter.[Ch]:
3558         * text.C:
3559         * text2.C:
3560         * text3.C: adjust
3561
3562 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3563
3564         * factory.C: Syntax change for CharStyles
3565
3566 2003-11-28  André Pönitz  <poenitz@gmx.net>
3567
3568         * BufferView.[Ch]:
3569         * BufferView.[Ch]:
3570         * buffer.[Ch]:
3571         * buffer.[Ch]: move LyXText member
3572
3573 2003-11-28  André Pönitz  <poenitz@gmx.net>
3574
3575         * BufferView.[Ch]: make LyXText * text a private member
3576
3577         * BufferView_pimpl.C:
3578         * cursor.C:
3579         * iterators.C:
3580         * lyx_cb.C:
3581         * lyxfind.C:
3582         * lyxtext.h:
3583         * rowpainter.[Ch]:
3584         * text.C:
3585         * text2.C:
3586         * undo.C: adjust
3587
3588         * output_plaintext.C: cleanup
3589
3590 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3591
3592         * buffer.C:
3593         * lyxtextclass.[Ch]: parametrize SGML document header
3594
3595 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3596
3597         * converter.[Ch]:
3598         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3599         getFlavor().
3600
3601 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3602
3603         * text2.C (setFont): rework using PosIterator (no more recursive)
3604         (setCharFont): no more needed
3605         (setLayout): no more selection cursors fiddling (done by redoCursor)
3606         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3607         destroy remaining ones)
3608
3609 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3610
3611         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3612         * lyxtext.h: ditto
3613         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3614         selection cursors
3615         * lyxfunc.C: adjust
3616         * text3.C: adjust + re-allow multi par depth changes
3617         * textcursor.C: simplify a bit
3618
3619 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3620
3621         * src/buffer.C:
3622         * src/lyxlayout.C:
3623         * src/lyxlayout.h:
3624         * src/lyxtext.h:
3625         * src/output_docbook.C:
3626         * src/output_latex.C:
3627         * src/paragraph.C:
3628         * src/paragraph.h:
3629         * src/sgml.C:
3630         * src/sgml.h:
3631         * src/text2.C: Introducing a number of tags parametrizing various
3632         XML formats that we may want to support
3633
3634 2003-11-25  André Pönitz  <poenitz@gmx.net>
3635
3636         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3637
3638         * lyxtext.h (leftMargin/rightMargin): simplify interface
3639
3640         * rowpainter.C:
3641         * text.C:
3642         * text2.C:
3643         * text3.C: adjust
3644
3645 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3646
3647         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3648         master file to any child files. Fixes bug 546.
3649
3650 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3651
3652         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3653
3654 2003-11-24  André Pönitz  <poenitz@gmx.net>
3655
3656         * rowpainter.C: simplification
3657
3658         * text2.C (updateCounters): remove call to redoParagraph on
3659         changed labels as this is far too expensive.
3660
3661 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3662
3663         * converter.C (convert): fix a crash: this function gets
3664         called with buffer == 0 from importer code.
3665
3666 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3667
3668         * text3.C (cursorPrevious): make sure that we do not compare
3669         iterators form different containers.
3670         (cursorNext): ditto
3671
3672         * rowpainter.C (paintSelection): make sure that we do not compare
3673         iterators from different containers.
3674
3675         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3676         iterators from different ParagraphList containers.
3677         [NEXT] ditto
3678
3679         * text2.C (LyXText): change order of initialization slightly
3680         (operator=): new function. copy all variables except cache_par_
3681         (moveUp): make sure that we do not compare iterators from
3682         different ParagraphList constainers.
3683         (moveDown): ditto
3684
3685         * text.C (firstPar): new function
3686         (lastPar): new function
3687         (endPar): new function
3688
3689         * lyxtext.h: move things around and group public functions, public
3690         variables, private functions, private variables
3691
3692 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3693
3694         * factory.C: change call to InsetERT constructor to avoid
3695         additional invocation of method status
3696         * text2.C (toggleInset): remove redundant update() call
3697         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3698         instead of a Bufferview pointer
3699
3700 2003-11-21  André Pönitz  <poenitz@gmx.net>
3701
3702         * rowpainter.C: simplification
3703
3704 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3705
3706         * text3.C (dispatch): make possible to extend a word/row selection
3707         with the mouse
3708
3709 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3710
3711         * lyxtext.h: x0_,y0_ -> xo_,yo_
3712         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3713         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3714         * rowpainter.C (paintRows): paint full paragraphs
3715
3716 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3717
3718         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3719         screen coordinates)
3720
3721 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3722
3723         * lyxtext.h: add x0_, y0_
3724         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3725         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3726
3727 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3728
3729         * text2.C (setCursorIntern): move the x_target update here *
3730         * text3.C: change some bv() to true/false in calls to
3731         cursorUp/Down/Right/Left
3732         * cursor.C: use helper function.
3733
3734 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3735
3736         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3737         * paragraph_funcs.[Ch]: correct comment
3738         * rowpainter.C: do not paint selections away from bv->cursor()
3739         Fix a long standing selection painting bug.
3740         * text3.C: generalize mouse-selection code to LyXTexts other that
3741         top one
3742         * textcursor.C: do not use y coords if we can use par offsets
3743
3744 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3745
3746         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3747         cursor position after e.g. inset insert)
3748
3749 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3750
3751         * lyxfind.C (replace): adjust to locking removal + some
3752         code simplification
3753
3754 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3755
3756         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3757         of the path
3758
3759 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3760
3761         * lyxlayout.[Ch]:
3762         * output_docbook.C: XML sanitation: new layout
3763         parameters InnerTag and CommandDepth
3764
3765 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3766
3767         * BufferView_pimpl.C:
3768         * factory.C:
3769         * text3.C: Fix the insertion and modification of button-style
3770         insets
3771
3772 2003-11-13  André Pönitz  <poenitz@gmx.net>
3773
3774         * InsetList.[Ch]: remove deleteLyXText
3775
3776         * paragraph.[Ch]: cache beginOfBody position
3777
3778         * Bidi.C:
3779         * text.C:
3780         * text2.C:
3781         * text3.C: remove superfluous update() calls
3782
3783         * vspace.C: cleanup
3784
3785 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3786
3787         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3788         * BufferView.C (fitLockedInsetCursor): remove
3789         * cursor.[Ch] (getDim): add
3790         * text.C (getRowNearY): add faster version
3791         * text3.C: remove some update calls
3792
3793 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3794
3795         * LaTeXFeatures.C:
3796         * LyXAction.C:
3797         * MenuBackend.C:
3798         * MenuBackend.h:
3799         * dispatchresult.h:
3800         * factory.C:
3801         * lfuns.h:
3802         * lyxfunc.C:
3803         * lyxtextclass.C:
3804         * lyxtextclass.h:
3805         * text3.C: The Character Style /XML short element patch.
3806
3807 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3808
3809         * text3.C:
3810         * factory.C: Small step to solving 'unable to insert some insets'
3811         problem
3812
3813 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3814
3815         * cursor.[Ch] (updatePos): new function for updating the y
3816         position of the tip inset
3817         * bufferview_funcs.C (put_selection_at):
3818         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3819
3820 2003-11-11  André Pönitz  <poenitz@gmx.net>
3821
3822         * text.C: remove big comment on invalid Paragraph pointers as it is
3823         not valid anymore
3824
3825 2003-11-11  André Pönitz  <poenitz@gmx.net>
3826
3827         * text_funcs.[Ch]: merge with ...
3828
3829         * text.C: ... this
3830
3831         * lyxtext.h:
3832         * text2.C:
3833         * text3.C: adjust
3834
3835         * Makefile.am: remove text_funcs.[Ch]
3836
3837 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3838
3839         * cursor.C (getPos): return absolute cached y coord
3840
3841         * BufferView_pimpl.C (fitCursor): new simplistic code
3842         (workAreaDispatch): add a fitCursor call
3843
3844 2003-11-10  André Pönitz  <poenitz@gmx.net>
3845
3846         * BufferView.[Ch]:
3847         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3848
3849 2003-11-10  André Pönitz  <poenitz@gmx.net>
3850
3851         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3852         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3853         indicate that the cursor needs to leave an inset
3854
3855         * lyxtext.h: remove inset locking
3856
3857         * cursor.[Ch]: re-implement functionality provided by inset locking
3858
3859         * BufferView.[Ch]:
3860         * BufferView_pimpl.[Ch]:
3861         * LyXAction.C:
3862         * bufferview_funcs.[Ch]:
3863         * factory.C:
3864         * funcrequest.[Ch]:
3865         * iterators.C:
3866         * lyx_cb.C:
3867         * lyxfind.C:
3868         * lyxfunc.C:
3869         * text.C:
3870         * text2.C:
3871         * text3.C:
3872         * undo.C: adjust
3873
3874 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3875
3876         * PosIterator.[Ch]: replace the stack with a vector, add inset
3877         accesor
3878         * iterators.[C]: adjust
3879
3880 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3881
3882         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3883         replaced
3884         * paragraph_funcs.C (readParToken): put the correct id in the
3885         error item, not the id of the top paragraph
3886
3887 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3888
3889         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3890         * bufferview_funcs.C (put_selection_at): use the above
3891
3892 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3893
3894         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3895
3896 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3897
3898         * output_linuxdoc.h:
3899         * output_plaintext.h:
3900         * output.h:
3901         * output_docbook.h: add #include statements
3902
3903 2003-11-05  José Matos  <jamatos@lyx.org>
3904
3905         * output_docbook.[Ch]:
3906         * output_latex.[Ch]:
3907         * output_linuxdoc.[Ch]:
3908         * output_plaintext.[Ch]: New files for output formats.
3909         * output.[Ch]: New file for helper functions.
3910
3911         * buffer.[Ch]:
3912         * paragraph_funcs.[Ch]: output functions moved to new files.
3913
3914         * outputparams.h: rename of latexrunparams.h
3915
3916         * LaTeX.[Ch]:
3917         * buffer.[Ch]:
3918         * bufferlist.[Ch]:
3919         * converter.[Ch]:
3920         * exporter.C:
3921         * paragraph.[Ch]:
3922         * paragraph_funcs.[Ch]:
3923         * paragraph_pimpl.[Ch]:
3924         * tabular.[Ch]: rename ascii to plaintext
3925         and LatexRunParams to OutputParams.
3926
3927 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3928
3929         * iterators.[Ch] (text): require bv argument
3930         * undo.C (recordUndo):
3931         * lyxfunc.C (dispatch):
3932         * bufferview_funcs.C (put_selection_at): adjust
3933
3934 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3935
3936         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3937
3938 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3939
3940         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3941         nestings
3942
3943 2003-11-04  André Pönitz  <poenitz@gmx.net>
3944
3945         * cursor.[Ch]: restructure
3946
3947         * BufferView.[Ch]:
3948         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3949
3950         * iterators.[Ch] (asCursor): remove
3951
3952         * lfuns.h: remove LFUN_INSET_EDIT
3953
3954         * lyxfunc.C:
3955         * tabular.C:
3956         * text.C:
3957         * text2.C:
3958         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3959
3960 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3961
3962         * lyxfind.[Ch]: complete overhaul
3963         * BufferView_pimpl.C:
3964         * lyxfunc.C: adjust
3965         * paragraph.[Ch] (insert): add
3966
3967 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3968
3969         * BufferView.[Ch]:
3970         * lyxtext.h:
3971         * text.C: remove dead spellcheck code
3972
3973 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3974
3975         * dispatchresult.h: add a val setter
3976
3977         * cursor.C (dispatch): use a tempvar for data_[i]
3978
3979 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3980
3981         * PosIterator.[Ch]: compile fix
3982
3983 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3984
3985         * text.C (cursorPar): deactivate the cursor cache
3986
3987 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3988
3989         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3990
3991 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3992
3993         * text3.C (dispatch): adjust for new DisptchResult semantics.
3994
3995         * lyxfunc.C (dispatch): handle update when return from
3996         Cursor::dispatch, adjust for new DispatchResult semantics.
3997
3998         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3999         DispatchResult(true) mean to not update. Add class functions for
4000         setting dispatched and update, as well as reading.
4001
4002         * cursor.C (dispatch): don't handle update here
4003
4004 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4005
4006         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4007         * trans_mgr.C: adjust
4008
4009         * paragraph_funcs.C (readParToken): exception safety
4010
4011         * lyxvc.h: store the vcs pointer in a scoped_ptr
4012         * lyxvc.C: adjust
4013
4014         * lyxsocket.C (serverCallback): exception safety
4015
4016         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4017
4018         * ispell.C (clone): make it return a auto_ptr
4019
4020         * factory.C (createInset): exception safety
4021         (readInset): exception safety
4022
4023         * bufferlist.C (newBuffer): exception safety
4024
4025         * Thesaurus.C (Thesaurus): use initialization for aik_
4026
4027         * MenuBackend.C (expandToc): exception safety.
4028
4029 2003-11-03  André Pönitz  <poenitz@gmx.net>
4030
4031         * buffer.C:
4032         * buffer.h:
4033         * bufferview_funcs.C: remove getInsetFromId()
4034
4035         * lyxcursor.[Ch]:
4036         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4037
4038         * lyxfunc.C:
4039         * text2.C:
4040         * text3.C: adjust
4041
4042 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4043
4044         * PosIterator.C (distance, advance): new
4045         * bufferview_funcs.[Ch] (put_selection_at): new
4046         * iterators.[Ch] (lockPath): new
4047
4048 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4049
4050         * iterators.[Ch] (asPosIterator): added
4051         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4052         * PosIterator.[Ch]: added
4053
4054 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4055
4056         * text3.C:
4057         * lyxfunc.C:
4058         * cursor.C (dispatch):
4059         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4060
4061         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4062         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4063         contructor, add a class function dispatched. Remove operator>=
4064
4065 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4066
4067         * debug.C: only use the default constructor for debugstream
4068         (lyxerr) here.
4069
4070         * main.C (main): include debug.h and setup the lyxerr streambuf
4071         here.
4072
4073 2003-10-31  José Matos  <jamatos@lyx.org>
4074
4075         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4076
4077         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4078         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4079         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4080         * paragraph_pimpl.C (simpleTeXSpecialC):
4081         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4082         add LatexRunParams argument.
4083
4084         * exporter.C (Export): change call accordingly.
4085
4086         * latexrunparams.h: add new member to take care of the other backends.
4087 2003-10-30  José Matos  <jamatos@lyx.org>
4088
4089         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4090         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4091         factorise code for paragraph output.
4092         * buffer.[Ch]:
4093         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4094         move functions.
4095
4096 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4097
4098         * text3.C (dispatch):
4099         * lyxfunc.C (dispatch):
4100         * cursor.C (dispatch):
4101         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4102
4103         * dispatchresult.h: make the dispatch_result_t ctor explicit
4104
4105 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4106
4107         * sgml.[Ch]:
4108         * buffer.C: small refactoring of docbook stuff
4109
4110 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4111
4112         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4113         meaning.
4114
4115 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4116
4117         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4118         operator dispatch_result_t, and operators for == != and >=
4119
4120         * cursor.C (dispatch): adjust for operator dispatch_result_t
4121         removal. comment out call to update
4122
4123         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4124
4125 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4126
4127         * text3.C:
4128         * text2.C:
4129         * text.C:
4130         * lyxtext.h:
4131         * lyxfunc.C:
4132         * cursor.C:
4133         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4134         (dispatch):
4135
4136         * dispatchresult.h: new file, DispatchResult broken out of
4137         insets/insetbase.h
4138
4139         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4140
4141 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4142
4143         * text.C (rowBreakPoint): put a hack inside #if 0
4144
4145 2003-10-28  André Pönitz  <poenitz@gmx.net>
4146
4147         * lyxtext.h:
4148         * metricsinfo.C:
4149         * paragraph_funcs.C:
4150         * rowpainter.C:
4151         * text.C:
4152         * text2.C: general cleanup (lots of small stuff)
4153
4154 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4155
4156         * text2.C (cursorEnd): simple fix to the "end key goes to one
4157         before the end on last row" bug
4158
4159 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4160
4161         * text.C (backspace): fix the "zombie characters"
4162
4163 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4164
4165         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4166
4167 2003-10-27  André Pönitz  <poenitz@gmx.net>
4168
4169         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4170
4171         * factory.C: handle new InsetPagebreak, InsetLine
4172
4173         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4174         and move handling into new InsetPagebreak, InsetLine
4175
4176         * BufferView_pimpl.C:
4177         * LyXAction.C:
4178         * ParagraphParameters.C:
4179         * ParameterStruct.h:
4180         * lyxfunc.C:
4181         * lyxtext.h:
4182         * paragraph.C:
4183         * paragraph.h:
4184         * paragraph_funcs.C:
4185         * paragraph_pimpl.C:
4186         * rowpainter.C:
4187         * text.C:
4188         * text2.C:
4189         * text3.C: adjust
4190
4191 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4192
4193         * text.C:
4194         * lyxrow_funcs.[Ch]:
4195         * Bidi.C:
4196         * paragraph.C:
4197         * lyxtext.h:
4198         * rowpainter.C:
4199         * text2.C:
4200         * text3.C: remove lastPos uses in favour of Row::endpos
4201
4202 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4203
4204         * undo.C (performUndoOrRedo): fix two crashes by setting a
4205         cursor by hand and reordering some calls. Use bv->lockInset instead
4206         of inset->edit because the latter loses cursor information
4207
4208 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4209
4210         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4211         by Martin
4212         (rowBreakPoint): fix width. change point to point + 1.
4213         Add a missing check.
4214
4215 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4216
4217         * MenuBackend.C:
4218         * lyxfunc.C: fix (at least partly) the problems
4219         with the Nav menu and headers inside branch insets
4220         reported by Kayvan
4221
4222 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4223
4224         * paragraph.C (getChar): add strong asserts
4225
4226         * lyxrow_funcs.C (lastPos): remove hideous hack
4227
4228         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4229         (fill): adjust to that (avoid an infinite loop)
4230
4231 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4232
4233         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4234
4235 2003-10-23  André Pönitz  <poenitz@gmx.net>
4236
4237         * RowList_fwd.h: change list<> to vector<> to gain speed
4238         after suggestion from Alfredo
4239
4240 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4241
4242         * lyxtext.h: move the bidi stuff from here...
4243         * text.C: and here
4244         * text2.C: and here
4245         * Bidi.[Ch]: ... to here
4246
4247 2003-10-23  André Pönitz  <poenitz@gmx.net>
4248
4249         * lyxtext.h:
4250         * text.C (isLastRow, isFirstRow): new functions
4251
4252         * paragraph.h: new width cache member
4253
4254         * rowpainter.C: replace RowList::iterator with Row & where possible
4255
4256         * lyxfunc.C: replace several view()->text with a single call
4257
4258         * toc.C: fix 'unused' warning
4259
4260 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4263         when woring with stream::pos_type
4264         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4265
4266 2003-10-22  André Pönitz  <poenitz@gmx.net>
4267
4268         * lyxtext.h:
4269         * text.C: use Row & instead of RowList::iterator
4270
4271         * lyxrow.h: rename end() to endpos()
4272
4273         * rowpainter.C:
4274         * text.C:
4275         * text2.C: adjust
4276
4277 2003-10-22  Angus Leeming  <leeming@lyx.org>
4278
4279         * buffer.[Ch] (fully_loaded): new member function, returning true
4280         only when the file has been loaded fully.
4281         Used to prevent the premature generation of previews and by the
4282         citation inset to prevent computation of the natbib-style label.
4283
4284         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4285         templates are all set up.
4286
4287         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4288
4289 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4290
4291         * text.C: fixed an "oops" in the "is a bit silly"
4292         bug fix
4293
4294 2003-10-21  André Pönitz  <poenitz@gmx.net>
4295
4296         * FuncStatus.[Ch]: small stuff, whitespace
4297
4298         * lyxfont.[Ch]: operator<<() for debug reasons
4299
4300         * lyxfunc.C:
4301         * lyxrow_funcs.C:
4302         * lyxtext.h: whitespace, spelling
4303
4304         * paragraph.C: naming of variables
4305
4306         * text.C:
4307         * text2.C: small stuff
4308
4309
4310 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4311
4312         * text.C: (1) finish off the inset display() work;
4313         (2) fix the "is a bit silly" bug (accessing char
4314         past end of par).
4315
4316 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4317
4318         * text.C: re-introduce display() for insets, fixing the
4319         various bugs (stretch of line above, math inset
4320         positioning, ...)
4321
4322 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4323
4324         * text.C (rightMargin): remove spurious semicolon
4325
4326         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4327         1415)
4328
4329 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4330
4331         * text3.C: fix one crash due to wrong cursor def
4332
4333 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4334
4335         * vc-backend.C (scanMaster): make the regex static
4336
4337         * LaTeX.C (scanAuxFile): make the regexs static
4338
4339         * text3.C (doInsertInset, dispatch, dispatch):
4340         * text2.C (cursorUp, cursorDown):
4341         * text.C (selectNextWordToSpellcheck):
4342         * BufferView_pimpl.C (dispatch):
4343         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4344
4345 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4346
4347         * lyxsocket.C: include <cerrno>
4348
4349 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * lyxfunc.C (dispatch): remove textcache stuff
4352
4353         * bufferlist.C (release): remove textcache stuff
4354         (closeAll): ditto
4355
4356         * TextCache.C: delete file
4357         * TextCache.h: delete file
4358
4359         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4360
4361         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4362         delete of the bv_->text.
4363         (resizeCurrentBuffer): remove texcache stuff
4364         (workAreaResize): ditto
4365
4366 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4367
4368         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4369         action.
4370
4371 2003-10-16  André Pönitz  <poenitz@gmx.net>
4372
4373         * lyxrow.[Ch]:
4374         * paragraph.h:
4375         * rowpainter.C:
4376         * text.C:
4377         * text2.C:
4378         * text3.C: speed up by storing y positions per paragraph plus per-row
4379         offset instead of having a 'full' y position in the row.
4380
4381 2003-10-15  André Pönitz  <poenitz@gmx.net>
4382
4383         * iterators.[Ch]:
4384         * iterators.[Ch]:
4385         * undo.[Ch]: make undo aware of inner insets
4386
4387 2003-10-14  Angus Leeming  <leeming@lyx.org>
4388
4389         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4390         static member functions LyX::ref() and LyX::cref.
4391         (lastfiles): new accessor functions for the new lastfiles_ member var.
4392         (addLyXView, views_): add a new LyXView to the list of views_.
4393         (updateInset): loop over all LyXViews to call their own updateInset
4394         member function, returning a pointer to the Buffer owning the inset.
4395
4396         * BufferView_pimpl.C (loadLyXFile):
4397         * MenuBackend.C (expandLastfiles):
4398         * bufferlist.C (MenuWrite, QuitLyX):
4399         lastfiles is no longer a global variable.
4400         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4401
4402         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4403         static function. Access through LyX::cref().emergencyCleanup().
4404
4405 2003-10-14  André Pönitz  <poenitz@gmx.net>
4406
4407         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4408
4409         * undo.[Ch]: restoring part of 'undo in insets'
4410
4411         * Makefile.am:
4412         * undo_funcs.[Ch]: merge with undo.[Ch]
4413
4414         * tabular.C: small cleansing stuff
4415
4416 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4417
4418         * paragraph_funcs.C (readParToken): report unknown insets as error
4419         boxes. Use the outer paragraph as location (also for unknown
4420         tokens).
4421
4422         * factory.C (readInset): do not abort on reading an unknown inset.
4423         Eat it and return 0.
4424
4425 2003-10-13  Angus Leeming  <leeming@lyx.org>
4426
4427         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4428
4429         * lyxrc.C: displayTranslator is now a function,
4430         declared in GraphicsTypes.h.
4431
4432 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4433
4434         * format.C: new placeholder $$a to pass the socket address.
4435
4436         * bufferlist.[Ch]: new function getBufferFromTmp.
4437
4438         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4439           files in the temporary dir.
4440
4441 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4442
4443         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4444
4445         * Makefile.am: add lyxsocket.[Ch].
4446
4447         * lyx_main.C (error_handler): handle SIGPIPE.
4448
4449 2003-10-13  André Pönitz  <poenitz@gmx.net>
4450
4451         * BufferView_pimpl.C:
4452         * lyxtext.h:
4453         * text.C:
4454         * text2.C:
4455         * text3.C:
4456         * undo_funcs.[Ch]: use paroffset_type instead of
4457           ParagraphList::iterators to prevent multiple conversion
4458           (and get a more robust interface)
4459
4460 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4461
4462         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4463         * lyxtext.h: ditto
4464         * text3.C (dispatch): ditto
4465
4466 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4467
4468         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4469         move the onlyfile, use onlyfile instead of foundfile in a couple
4470         of places.
4471
4472         * DepTable.C (update): flush the error stream a bit more
4473
4474 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4475
4476         * lyxserver.C (callback): adjust
4477
4478         * lyxfunc.C (getStatus): add a missing brace in commented code
4479         (ensureBufferClean): reindent
4480         (dispatch): delete version taking a string
4481
4482 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4483
4484         * LaTeX.C (deplog): move found file handlig from here...
4485         (handleFoundFile): .. to new function here.
4486         (deplog): make sure to discover several files mentioned on the
4487         same log line.
4488
4489 2003-10-10  André Pönitz  <poenitz@gmx.net>
4490
4491         * lyxfunc.C:
4492         * lyxtext.h:
4493         * tabular.C:
4494         * text.C:
4495         * text2.C:
4496         * text3.C: fix some of the tabular crashes
4497
4498 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4499
4500         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4501
4502         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4503
4504 2003-10-09  André Pönitz  <poenitz@gmx.net>
4505
4506         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4507
4508         * BufferView.C:
4509         * BufferView_pimpl.C:
4510         * bufferview_funcs.C:
4511         * lyx_cb.C:
4512         * lyxcursor.C:
4513         * lyxfind.C:
4514         * lyxfunc.C:
4515         * lyxtext.h:
4516         * text.C:
4517         * text2.C:
4518         * text3.C:
4519         * text_funcs.[Ch]:
4520         * textcursor.[Ch]:
4521         * undo_funcs.C: adjust
4522
4523 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4524
4525         * text2.C (incrementItemDepth): new function, use a backtracking
4526         algorithm to discover the correct item depth.
4527         (resetEnumCounterIfNeeded): new function, use a backtracking
4528         algorithm to discover if counter reset is needed.
4529         (setCounter): use them. Simplify a bit. Add different labels for
4530         different item depths for itemize.
4531
4532         * paragraph.C (Paragraph): remove initialization of enumdepth
4533         (operator=): ditto
4534
4535         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4536         enumerate and itemize. Change the type of itemdepth to signed char.
4537
4538 2003-10-08  André Pönitz  <poenitz@gmx.net>
4539
4540         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4541           thing assignable.
4542         * text.C:
4543         * text2.C: adjust
4544
4545         * tabular.[Ch]: fix crash after 'row-insert'
4546
4547 2003-10-08  Angus Leeming  <leeming@lyx.org>
4548
4549         Fix doxygen warnings.
4550
4551         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4552         Remove CutAndPaste:: prefix from header file declaration.
4553
4554         * LColor.h (fill): remove LColor:: prefix from declaration.
4555
4556         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4557         use lyx::depth_type rather than Paragraph::depth_type so that
4558         header file and .C file match.
4559
4560         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4561
4562         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4563         * aspell.C: \file aspell_local.C -> \file aspell.C
4564         * gettext.C: \file gettext.C -> \file src/gettext.C
4565         * gettext.h: \file gettext.h -> \file src/gettext.h
4566         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4567         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4568         * text.C: \file text.C -> \file src/text.C
4569
4570         * toc.C: move comment so that doxygen is not confused.
4571
4572 2003-10-07  Angus Leeming  <leeming@lyx.org>
4573
4574         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4575
4576 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4577
4578         * aspell.C:
4579         * aspell_local.h: add forgotten std::string's.
4580
4581 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4582
4583         * LaTeXFeatures.C:
4584         * LyXAction.C:
4585         * factory.C:
4586         * lfuns.h:
4587         * lyxfunc.C:
4588         * text3.C: The Box patch. Fancybox support, minipage, parbox
4589
4590 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4591
4592         * CutAndPaste.h:
4593         * DepTable.h:
4594         * FloatList.h:
4595         * LaTeXFeatures.h:
4596         * ParagraphParameters.h:
4597         * TextCache.h:
4598         * Thesaurus.h:
4599         * bufferlist.h:
4600         * exporter.h:
4601         * importer.h:
4602         * lastfiles.h:
4603         * lyxfind.h:
4604         * lyxfont.h:
4605         * lyxlex.h:
4606         * lyxtextclasslist.h:
4607         * messages.h:
4608         * paragraph.h:
4609         * paragraph_pimpl.C:
4610         * textcursor.h: add <string> and other small fixes to make Lars'
4611         std::string patch compile with STLport.
4612
4613 2003-10-06  Angus Leeming  <leeming@lyx.org>
4614
4615         * LColor.h: Add missing #include <string>.
4616
4617 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4618
4619         * All most all file in all subdirs: Make <string> be the prefered
4620         way of getting to std::string, add using declarations.
4621
4622 2003-10-06  André Pönitz  <poenitz@gmx.net>
4623
4624         * metricsinfo.C: initialize LyXFont before changing attribute.
4625         (fixes the 'math in \emph is upright' bug)
4626
4627 2003-10-06  André Pönitz  <poenitz@gmx.net>
4628
4629         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4630
4631 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4632
4633         * graph.C:
4634         * paragraph_pimpl.C: Small fixes to build using STLport
4635
4636 2003-10-02  André Pönitz  <poenitz@gmx.net>
4637
4638         * lyxfunc.C:
4639         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4640
4641 2003-10-01  André Pönitz  <poenitz@gmx.net>
4642
4643         * factory.C: assert early
4644
4645 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4646
4647         * lyx_main.C: remove the global debug object
4648
4649         * debug.h: adjust for new debugstream
4650
4651         * debug.C: adjust for new debugstream and keep the global debug
4652         object here.
4653
4654 2003-09-22  Angus Leeming  <leeming@lyx.org>
4655
4656         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4657         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4658         an incomplete class LyXFont.
4659
4660 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4661
4662         * factory.C: bug fix in branches
4663
4664 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4665
4666         * lyxfunc.C (processKeySym): adjust
4667         (dispatch): adjust
4668         (dispatch): change arg name from ev to func, adjust
4669         (sendDispatchMessage): ditto
4670
4671         * lyx_main.C (defaultKeyBindings): adjust keybindings
4672         (deadKeyBindings): ditto
4673
4674         * kbsequence.C (addkey): return a FuncRequest
4675
4676         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4677
4678         * kbmap.C (bind): take a FuncRequest as arg, adjust
4679         (read): adjust
4680         (lookup): adjust
4681         (defkey): change to take a FuncRequest as arg, adjust
4682         (findbinding): take a FuncRequest as arg, adjust.
4683
4684         * funcrequest.h (operator=): added
4685
4686         * funcrequest.C (FuncRequest): default kb_action changed from
4687         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4688
4689         * buffer.C (dispatch): simplify
4690         (dispatch): adjust to take a FuncRequest as arg, adjust
4691
4692         * boost.C (assertion_failed): change assertion message slightly
4693
4694         * ToolbarBackend.C (read): simplify
4695
4696         * MenuBackend.C (binding): adjust call to findbinding, add a
4697         message if no binding is found.
4698         (read): simplify
4699         (expandToc): correct by adding a empty FuncRequest
4700
4701         * LyXAction.C: include <boost/assert.hpp>
4702         (isPseudoAction): delete function
4703         (LookupFunc): change name to...
4704         (lookupFunc): this. change return type to FuncRequest.
4705         (getActionName): take kb_action as arg, simplify
4706         (funcHasFlag): add an assert, simplify.
4707
4708 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4709
4710         * toc.C (action): return a FuncRequest, simplify
4711
4712         * lyxfunc.C (processKeySym): adjust
4713         (getStatus): delete version that takes an int.
4714         (getStatus): adjust
4715         (dispatch): delete version that takes action as int
4716         (dispatch): adjust
4717         (sendDispatchMessage): simplify and adjust
4718
4719         * funcrequest.C (getArg): take unsigned int as arg
4720
4721         * ToolbarBackend.C (read): adjust
4722         (add): delete version that takes func as a string.
4723         (getIton): take a FuncRequest as arg
4724
4725         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4726         action.
4727
4728         * MenuBackend.C (MenuItem): add a new construct that only takes a
4729         Kind, simplify the constructor use for submenus.
4730         (add): adjust
4731         (expandLastfiles): adjust
4732         (expandDocuments): adjust
4733         (expandFormats): adjust
4734         (expandFloatListInsert): adjust
4735         (expandFloatInsert): adjust
4736         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4737
4738         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4739         Remove class variables lyx_pseudo_map and lyx_arg_map
4740
4741         * LyXAction.C (searchActionArg): delete function
4742         (getPseudoAction): delete function
4743         (retrieveActionArg): delete function
4744         (LookupFunc): make it return kb_action, simplify.
4745         (getActionName): simplify
4746
4747         * factory.C (createInset): fix new bug
4748
4749 2003-09-19  Angus Leeming  <leeming@lyx.org>
4750
4751         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4752         masterFilename_ parameter in the include inset.
4753
4754         * factory.C (createInset): changes due to the changes to InsetInclude.
4755
4756 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4757
4758         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4759
4760 2003-09-18  Angus Leeming  <leeming@lyx.org>
4761
4762         * buffer.C:
4763         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4764         Inset::fillWithBibKeys.
4765         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4766
4767 2003-09-18  Angus Leeming  <leeming@lyx.org>
4768
4769         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4770         variables.
4771         (ctor): pass and store a 'Buffer const &'
4772         (buffer): new member function.
4773
4774         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4775         '*this' to the LaTeXFeatures ctor.
4776
4777 2003-09-18  Angus Leeming  <leeming@lyx.org>
4778
4779         * LColor.h:
4780         * lyxfont.C:
4781         * lyxfont.h:
4782         * lyxtext.h:
4783         * text.C: rename EnumLColor as LColor_color.
4784
4785 2003-09-18  Angus Leeming  <leeming@lyx.org>
4786
4787         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4788         remove #include "insets/insetbase.h" from cursor.h.
4789
4790 2003-09-18  Angus Leeming  <leeming@lyx.org>
4791
4792         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4793         InsetOld_code to remove #include "inset.h".
4794
4795         * iterators.C: add #include "insets/inset.h"
4796
4797 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4798
4799         * BufferView.C: remove more locking stuff that apparently doesn't
4800         do anything sensible.
4801
4802 2003-09-16  André Pönitz  <poenitz@gmx.net>
4803
4804         * paragraph.[Ch]:
4805         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4806           performance boost.
4807
4808 2003-09-16  Angus Leeming  <leeming@lyx.org>
4809
4810         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4811
4812         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4813         arg/return type.
4814
4815         * paragraph.h: remove #include "lyxfont.h". Forward declare
4816         LyXFont_size.
4817
4818 2003-09-16  Angus Leeming  <leeming@lyx.org>
4819
4820         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4821         of support/textutils.h.
4822         (isWord): move the contents of support/textutils.h's IsWordChar here.
4823
4824         * buffer.C:
4825         * lyxfind.C:
4826         * rowpainter.C:
4827         * text.C:
4828         * text2.C: add #include "paragraph.h".
4829
4830         * rowpainter.C:
4831         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4832
4833 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4834
4835         * main.C:
4836         * lyx_main.C:
4837         * lyx_cb.C:
4838         * buffer.C:
4839         * LaTeX.C: use namespace alias for lyx::support::os
4840
4841 2003-09-16  Angus Leeming  <leeming@lyx.org>
4842
4843         * bufferparams.C:
4844         * bufferview_funcs.C:
4845         * factory.C:
4846         * lyxfunc.C:
4847         * paragraph_pimpl.C:
4848         * rowpainter.C:
4849         * text.C: add #include "LColor.h".
4850
4851 2003-09-16  Angus Leeming  <leeming@lyx.org>
4852
4853         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4854         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4855         return LyXFont &.
4856         Store the FontBits::color variable as an int rather than as an
4857         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4858         file.
4859
4860         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4861         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4862         string calls together.
4863
4864         * lyxrc.C: add #include "LColor.h".
4865
4866 2003-09-15  Angus Leeming  <leeming@lyx.org>
4867
4868         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4869         a cow_ptr.
4870
4871 2003-09-15  Angus Leeming  <leeming@lyx.org>
4872
4873         * LColor.h: add an EnumLColor wrapper for LColor::color.
4874
4875         * lyxfont.[Ch] (color, setColor, realColor):
4876         * lyxtext.h, text.C (backgroundColor):
4877         pass EnumLColor args to/from the functions, rather than LColor::color
4878         ones.
4879
4880         * lyxfont.h:
4881         * lyxtext.h: forward declare EnumLColor.
4882
4883         * lyx_main.C: add #include "LColor.h".
4884
4885 2003-09-15  Angus Leeming  <leeming@lyx.org>
4886
4887         * .cvsignore: add lyx-gtk.
4888
4889 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4890
4891         * Chktex.C
4892         * LaTeX.C
4893         * LaTeXFeatures.C
4894         * ParagraphParameters.C
4895         * Spacing.C
4896         * buffer.C
4897         * bufferparams.C
4898         * bufferview_funcs.C
4899         * chset.C
4900         * counters.C
4901         * funcrequest.C
4902         * lyxfont.C
4903         * lyxgluelength.C
4904         * lyxlength.C
4905         * paragraph.C
4906         * paragraph_funcs.C
4907         * text3.C
4908         * vc-backend.C: remove usage of STRCONV
4909
4910 2003-09-15  Angus Leeming  <leeming@lyx.org>
4911
4912         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4913         explicitly define the color passed to the painter.
4914
4915 2003-09-15  Angus Leeming  <leeming@lyx.org>
4916
4917         * bufferparams.C (BufferParams): reorder member initializers to avoid
4918         compiler warning.
4919
4920 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4921
4922         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4923         * text.C (updateRowPositions): remove an unusual nop
4924
4925 2003-09-12  André Pönitz  <poenitz@gmx.net>
4926
4927         * BufferView_pimpl.C:
4928         * Bullet.C:
4929         * layout.h:
4930         * lyxfunc.C:
4931         * lyxlayout.[Ch]:
4932         * lyxtextclass.C:
4933         * rowpainter.C:
4934         * text.C:
4935         * text2.C:
4936         * Counters.[Ch]: finish the 'automatic counters' job
4937
4938 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4939
4940         * aspell.C: include <boost/assert.cpp> (compile fix)
4941
4942 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4943
4944         * boost.C (assertion_failed): use lyx::support::abort instead of
4945         assert.
4946
4947 2003-09-10  Angus Leeming  <leeming@lyx.org>
4948
4949         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4950         with their _fwd progeny.
4951
4952 2003-09-09  Angus Leeming  <leeming@lyx.org>
4953
4954         134 files throughtout the source tree: replace 'using namespace abc;'
4955         directives with the appropriate 'using abc::xyz;' declarations.
4956
4957 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4958
4959         * boost.C (emergencyCleanup): moved here from LAssert.c
4960         (assertion_failed): new function, called by BOOST_ASSERT
4961
4962         * several files: change Assert to BOOST_ASSERT
4963
4964 2003-09-09  Angus Leeming  <leeming@lyx.org>
4965
4966         * buffer.[Ch]: Add an Impl class and move Buffer's member
4967         variables into it. As a result move several header files out of
4968         buffer.h.
4969
4970         Add header files to lots of .C files all over the tree as a result.
4971
4972 2003-09-09  Angus Leeming  <leeming@lyx.org>
4973
4974         * buffer.[Ch]: make Buffer's member variables private. Add
4975         accessor functions.
4976
4977         Lots of changes all over the tree as a result.
4978
4979 2003-09-08  Angus Leeming  <leeming@lyx.org>
4980
4981         * graph.C: #include <config.h>.
4982
4983 2003-09-08  Angus Leeming  <leeming@lyx.org>
4984
4985         * BranchList.C:
4986         * BufferView.C:
4987         * BufferView_pimpl.C:
4988         * CutAndPaste.C:
4989         * DepTable.C:
4990         * LaTeX.C:
4991         * LaTeXFeatures.C:
4992         * LyXAction.C:
4993         * MenuBackend.C:
4994         * TextCache.C:
4995         * aspell.C:
4996         * buffer.C:
4997         * bufferlist.C:
4998         * changes.C:
4999         * chset.C:
5000         * converter.C:
5001         * counters.C:
5002         * debug.C:
5003         * graph.C:
5004         * ispell.C:
5005         * lyx_cb.C:
5006         * lyxfind.C:
5007         * lyxfunc.C:
5008         * lyxlex_pimpl.C:
5009         * lyxrc.C:
5010         * lyxrow.C:
5011         * paragraph.C:
5012         * rowpainter.C:
5013         * texrow.C:
5014         * text.C:
5015         * text2.C:
5016         * toc.C: remove redundant using directives.
5017
5018 2003-09-07  Angus Leeming  <leeming@lyx.org>
5019
5020         * LaTeXFeatures.h: remove #include "support/types.h".
5021         * ToolbarBackend.h: remove #include <algorithm>.
5022         * changes.h: remove #include <ctime>.
5023         * debug.h: remove #include <iosfwd>.
5024         * graph.h: remove #include "support/std_string.h".
5025         * lyx_main.h: remove #include <csignal>.
5026         * lyxlex_pimpl.h: remove #include <fstream>.
5027         * sgml.h: remove #include <algorithm>, <utility>.
5028         * toc.h: remove #include "support/std_ostream.h".
5029         Add #include <iosfwd>.
5030
5031 2003-09-07  Angus Leeming  <leeming@lyx.org>
5032
5033         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5034
5035         * converter.h: forward declare LatexRunParams.
5036         * encoding.h: remove #include "lyxrc.h".
5037         * lyxtext.h: remove #include "LColor.h".
5038         * lyxtextclass.h: remove #include "support/types.h".
5039         * trans.h: remove #include "tex-accent.h".
5040         * trans_mgr.h: remove #include "tex-accent.h".
5041         * insets/inset.h: remove #include "support/types.h", <vector>.
5042         * insets/insetcollapsable.h: remove #include "LColor.h".
5043         * insets/insetinclude.h: remove #include "dimension.h".
5044         * insets/insetlatexaccent.h: remove #include "dimension.h".
5045         * insets/insetoptarg.h:: remove #include "insettext.h".
5046         * insets/insettext.h: remove #include "dimension.h",
5047         <boost/shared_ptr.hpp>
5048
5049         * insets/renderers.h: add #include "dimension.h".
5050         * insets/updatableinset.h: add #include "support/types.h".
5051
5052         * many .C files: Associated changes.
5053
5054 2003-09-06  Angus Leeming  <leeming@lyx.org>
5055
5056         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5057         one, inside testInvariant.
5058
5059         * PrinterParams.C: new file.
5060         * PrinterParams.[Ch]: move the function bodies out of line.
5061
5062 2003-09-06  Angus Leeming  <leeming@lyx.org>
5063
5064         * ParagraphParameters.h: forward declare ParameterStruct rather than
5065         including its header file.
5066         (depth): moved out-of-line.
5067
5068 2003-09-06  Angus Leeming  <leeming@lyx.org>
5069
5070         * BufferView_pimpl.h:
5071         * kbmap.h:
5072         * kbsequence.h:
5073         * lyxfunc.h: forward declare LyXKeySym rather than
5074         #include "frontends/LyXKeySym.h".
5075
5076         * BufferView_pimpl.C:
5077         * kbmap.C:
5078         * kbsequence.C:
5079         * lyxfunc.C: associated changes.
5080
5081 2003-09-06  Angus Leeming  <leeming@lyx.org>
5082
5083         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5084         As a result, can remove the #include "insets/inset.h" from BufferView.h
5085
5086 2003-09-06  Angus Leeming  <leeming@lyx.org>
5087
5088         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5089         As a result, can remove the #include "insets/inset.h" from BufferView.h
5090
5091 2003-09-06  Angus Leeming  <leeming@lyx.org>
5092
5093         * buffer_funcs.C:
5094         * buffer.h:
5095         * bufferlist.C:
5096         * BufferView.C:
5097         * bufferview_funcs.C:
5098         * BufferView_pimpl.C:
5099         * CutAndPaste.C:
5100         * lyx_cb.C:
5101         * lyxfunc.C:
5102         * paragraph.h:
5103         * ParagraphParameters.C:
5104         * tabular.C:
5105         * text3.C:
5106         * toc.C:
5107         * undo_funcs.C:
5108         * frontends/controllers/ControlDocument.C:
5109         * insets/insetcaption.C: rearrange the #includes into some sort of
5110         coherent order.
5111
5112         * buffer.h: remove #includes ErrorList.h, undo.h
5113
5114 2003-09-06  Angus Leeming  <leeming@lyx.org>
5115
5116         * support/types.h: add a 'depth_type' typedef, used to store the
5117         nesting depth of a paragraph.
5118
5119         * paragraph.h:
5120         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5121         defining explicitly.
5122
5123         * buffer.h:
5124         * paragraph_funcs.h:
5125         * ParagraphParameters.h:
5126         * sgml.h: use lyx::depth_type rather than Paragraph or
5127         ParameterStruct's depth_type.
5128
5129         * buffer.h
5130         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5131
5132         * BufferView.C:
5133         * BufferView_pimpl.C:
5134         * CutAndPaste.C:
5135         * ParagraphParameters.C:
5136         * buffer_funcs.C:
5137         * bufferlist.C:
5138         * bufferview_funcs.C:
5139         * lyx_cb.C:
5140         * lyxfunc.C:
5141         * tabular.C:
5142         * text3.C:
5143         * toc.C:
5144         * undo_funcs.C:
5145         * frontends/LyXView.C:
5146         * frontends/controllers/ControlDocument.C:
5147         * frontends/controllers/ControlErrorList.C:
5148         * insets/insetbibitem.C:
5149         * insets/insetbranch.C:
5150         * insets/insetcaption.C:
5151         * insets/insetcollapsable.C:
5152         * insets/insetenv.C:
5153         * insets/insetert.C:
5154         * insets/insetfloat.C:
5155         * insets/insetfoot.C:
5156         * insets/insetfootlike.C:
5157         * insets/insetnewline.C:
5158         * insets/insetquotes.C:
5159         * insets/insettabular.C:
5160         * insets/insettext.C:
5161         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5162
5163         * frontends/controllers/ControlChanges.C: #include "changes.h".
5164
5165 2003-09-06  Angus Leeming  <leeming@lyx.org>
5166
5167         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5168         than #including paragraph.h.
5169
5170         * ParagraphList.h:
5171         * RowList.h: deleted. Superfluous.
5172
5173         * CutAndPaste.h:
5174         * iterators.h:
5175         * lyxcursor.h:
5176         * lyxtext.h:
5177         * text_funcs.h:
5178         * undo.h:
5179         * undo_funcs.h:
5180         * insets/inset.h:
5181         * insets/insettext.h: use ParagraphList_fwd.h rather than
5182         ParagraphList.h.
5183
5184         * paragraph.h: don't forward declare ParagraphList.
5185
5186         * buffer.h:
5187         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5188         rather than ParagraphList.h. paragraph.h is still needed for the
5189         Paragraph::depth_type parameters.
5190
5191         * textcursor.h: enable it to compile stand-alone in light of the
5192         above changes.
5193
5194         * bufferview_funcs.C:
5195         * iterators.C:
5196         * lyxfunc.C:
5197         * lyxrow_funcs.C:
5198         * paragraph.C:
5199         * rowpainter.C:
5200         * text.C:
5201         * text2.C:
5202         * text3.C:
5203         * text_funcs.C:
5204         * textcursor.C:
5205         * undo.C:
5206         * frontends/controllers/ControlParagraph.C:
5207         * frontends/controllers/ControlTabular.C:
5208         * insets/insetmarginal.C:
5209         * insets/insetminipage.C:
5210         * insets/insetnote.C:
5211         * insets/insetoptarg.C: add header files needed to compile again.
5212
5213 2003-09-06  Angus Leeming  <leeming@lyx.org>
5214
5215         * RowList_fwd.h: new file, forward-declaring Row rather than
5216         #including lyxrow.h.
5217
5218         * lyxrow_funcs.h:
5219         * lyxtext.h:
5220         * paragraph.h:
5221         * insets/insettext.h: use it instead of RowList.h
5222
5223         * bufferview_funcs.C:
5224         * lyxfunc.C:
5225         * lyxrow_funcs.C:
5226         * paragraph.C:
5227         * rowpainter.C:
5228         * text.C:
5229         * text2.C:
5230         * text3.C: #include "RowList.h".
5231
5232 2003-09-05  Angus Leeming  <leeming@lyx.org>
5233
5234         * factory.C (createInset):
5235         * vspace.C (c-tor): replace sscanf call with an istringstream.
5236         * ispell.C: re-add missing HP/UX headers.
5237         * lyxserver.C: re-add missing  os2 headers.
5238
5239 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5240
5241         * BranchList.C:
5242         * graph.C:
5243         * ispell.C:
5244         * lastfiles.C:
5245         * lyx_cb.C:
5246         * lyxserver.C:
5247         * texrow.C:
5248         * text3.C: re-add missing system headers, needed for 2.95.2.
5249
5250 2003-09-05  Angus Leeming  <leeming@lyx.org>
5251
5252         Changes most place everywhere due to the removal of using directives
5253         from support/std_sstream.h.
5254
5255 2003-09-05  Angus Leeming  <leeming@lyx.org>
5256
5257         Replace LString.h with support/std_string.h,
5258         Lsstream.h with support/std_sstream.h,
5259         support/LIstream.h with support/std_istream.h,
5260         support/LOstream.h with support/std_ostream.h.
5261
5262         Changes resulting throughout the tree.
5263
5264 2003-09-05  Angus Leeming  <leeming@lyx.org>
5265
5266         * sgml.h: ensure that the header file can be compiled stand-alone.
5267         * *.C: strip out redundant #includes. (320 in total.)
5268
5269 2003-09-04  Angus Leeming  <leeming@lyx.org>
5270
5271         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5272         here (from getPackages).
5273
5274         * debug.[Ch]: add a new EXTERNAL tag.
5275
5276 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5277
5278         * text2.C (cursorEnd): simplify
5279         (setCursor): adjust
5280         (getColumnNearX): adjust
5281
5282         * text.C (computeBidiTables): adjust
5283         (fill): adjust
5284
5285         * rowpainter.C (paintChars): adjust
5286         (paintSelection): adjust
5287         (paintChangeBar): adjust
5288         (paintText): adjust
5289
5290         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5291         lastPos instead.
5292         (numberOfSeparators): adjust
5293
5294 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5295
5296         * LyXAction.C:
5297         * box.[Ch]:
5298         * lfuns.h:
5299         * lyxfunc.C:
5300         * text3.C: Restricts the mouse click functionality
5301         of insets like bibtex, include, toc and floatlist to the visible
5302         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5303         up the dialogs. Cursor has to be in front of the inset (i.e.
5304         start of row) for this to function.
5305
5306 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5307
5308         * bufferview_funcs.C (currentState): output row information
5309
5310 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5311
5312         * bufferview_funcs.C (currentState): output paragraph position
5313
5314 2003-09-04  Angus Leeming  <leeming@lyx.org>
5315
5316         * FloatList.h: move out #include "Floating.h".
5317         * LaTeX.h: move out #include "DepTable.h".
5318         * LyXAction.h: move out #include "funcrequest.h".
5319         * buffer.h: move out #include "author.h", "iterators.h".
5320         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5321         * lyx_main.h: move out #include "errorlist.h".
5322         * lyxfunc.h: move out #include "FuncStatus.h".
5323         * lyxtext: move out #include "lyxcursor.h".
5324         * paragraph_pimpl.h: move out #include "counters.h".
5325
5326 2003-09-03  Angus Leeming  <leeming@lyx.org>
5327
5328         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5329         preamble_snippets list, enabling us to add snippets to the preamble
5330         only if the snippet was not there already.
5331
5332 2003-09-04  Angus Leeming  <leeming@lyx.org>
5333
5334         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5335
5336 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5337
5338         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5339         update
5340
5341 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5342
5343         * BranchList.C: point fix, earlier forgotten
5344
5345 2003-09-02  Angus Leeming  <leeming@lyx.org>
5346
5347         * box.C (contains): renamed from 'contained' after a fantastic
5348         amount of hot air.
5349
5350 2003-09-02  John Levon  <levon@movementarian.org>
5351
5352         * BufferView.C:
5353         * lyxcursor.h:
5354         * lyxcursor.C:
5355         * lyxfunc.C:
5356         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5357
5358 2003-09-02  John Levon  <levon@movementarian.org>
5359
5360         * text2.C: simplification of cursorEnd(), including partial
5361         fix for bug 1376
5362
5363 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5364
5365         * buffer.C (readFile): add a space
5366
5367 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5368
5369         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5370
5371 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5372
5373         * buffer.C (readFile): new function, take a filename and a
5374         ParagraphList::iterator
5375         (readFile): adjust
5376         (readFile): adjust, make it private. don't use setStream, make
5377         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5378         always contain the filename.
5379
5380         * BufferView.C (insertLyXFile): simplify and make it work for
5381         gzipped files.
5382
5383 2003-08-30  John Levon  <levon@movementarian.org>
5384
5385         * Makefile.am: fix dist (from Kayvan)
5386
5387 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5388
5389         * most files: change to use const Buffer refs
5390
5391 2003-08-27  André Pönitz  <poenitz@gmx.net>
5392
5393         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5394         on top of ownerPar().
5395
5396 2003-08-27  John Levon  <levon@movementarian.org>
5397
5398         * funcrequest.C: properly initialise POD members
5399
5400 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5401
5402         * lyxtext.h (top_y): move top_y from here
5403         * text.C:
5404         * text2.C:
5405         * text3.C:
5406         * BufferView.[Ch]:
5407         * BufferView_pimpl.[Ch]: to here
5408         * frontends/screen.C:
5409         * insets/insettabular.C:
5410         * insets/insettext.C: adjust
5411         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5412
5413 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5414
5415         * BufferView.[Ch]:
5416         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5417
5418 2003-08-26  André Pönitz  <poenitz@gmx.net>
5419
5420         * paragraph_func.[Ch] (outerPar): new function
5421
5422         * paragraph.C:
5423         * paragraph_funcs.C:
5424         * paragraph_funcs.h:
5425         * paragraph_pimpl.C:
5426         * text2.C: remove Inset::par_owner
5427
5428 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5429
5430         * lyxrow_funcs.C:
5431         * lyxtext.h:
5432         * text.C:
5433         * text2.C: eliminates the needFullRow/display() stuff
5434         altogether, putting the logic in metrics/draw in the insets.
5435
5436 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5437
5438         * text2.C (redoParagraphInternal, redoParagraphs):
5439         * text.C (redoParagraph): add a call to updateRowPositions at the
5440         end of each 'metrics-like' call. Remove all others.
5441         (getRow): remove the 'y-computing' version.
5442         (getRowNearY): do not compute nor return the real y. Solve the
5443         'y < 0' problem and simplify.
5444
5445 2003-08-22  Angus Leeming  <leeming@lyx.org>
5446
5447         * *.[Ch]: clean-up of licence and author blurbs.
5448         Also move config.h out of a few .h files and into a few .C files.
5449
5450 2003-08-22  André Pönitz  <poenitz@gmx.net>
5451
5452         * lyxrow.[Ch]: add x_ and *fill_ members
5453
5454         * lyxtext.h:
5455         * text.C:
5456         * rowpainter.C:
5457         * text2.C: adjust/remove prepareToPrint() calls
5458
5459 2003-08-22  André Pönitz  <poenitz@gmx.net>
5460
5461         * lyxrow.[Ch]: add  end_ member
5462
5463         * lyxrow_funcs.C: use LyXRow::end_
5464
5465         * lyxtext.h (singleWidth): add LyXFont parameter
5466
5467         * rowpainter.C:
5468         * text2.C: adjust LyXText::singleWidth() calls
5469
5470         * text.C (redoParagraph): simplify row breaking logic
5471
5472
5473 2003-08-19  André Pönitz  <poenitz@gmx.net>
5474
5475         * funcrequest.C: initialize button_ member
5476
5477         * text3.C:
5478         * rowpainter.[Ch]: interface consolidation
5479
5480 2003-08-18  André Pönitz  <poenitz@gmx.net>
5481
5482         * BufferView.C:
5483         * BufferView_pimpl.C:
5484         * lyxfind.C:
5485         * paragraph_funcs.C:
5486         * rowpainter.C:
5487         * text3.C: remove LyXScreen::draw() and fitCursor calls
5488
5489         * BranchList.h: remove spurious semicolons
5490
5491         * MenuBackend.C: fix branchlist related crash
5492
5493 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5494
5495         * BranchList.[Ch]:
5496         * InsetList.[Ch]:
5497         * LColor.[Ch]:
5498         * LyXAction.C:
5499         * Makefile.am:
5500         * MenuBackend.[Ch]:
5501         * bufferparams.[Ch]:
5502         * factory.C:
5503         * lfuns.h:
5504         * lyxfunc.C:
5505         * text3.C: implements the 'branch inset'
5506         idea. This allows the output of various versions of a document
5507         from a single source version, selectively outputing or suppressing
5508         output of parts of the text.
5509         This implementation contains a 'branch list editor' in a separate
5510         tab of the document settings dialog. Branches are user definable
5511         and have a "display colour" to distinguish them on-screen.
5512
5513         ColorHandler was somewhat cleaned up.
5514         (1) make possible a dynamically growing LColor list by allowing
5515         the graphic context cache to grow along (vector);
5516         (2) eliminate an IMHO unnecessary step in colour allocation.
5517
5518 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5519
5520         * BufferView_pimpl.C: compile fix
5521
5522 2003-08-15  André Pönitz  <poenitz@gmx.net>
5523
5524         * rowpainter.C: remove extra metrics calls
5525
5526         * lyxtext.h: merge the two constructors into a single one,
5527           pass reference to owner's par list
5528
5529         * BufferView_pimpl.C:
5530         * text.C:
5531         * text2.C: adjust
5532
5533 2003-08-15  André Pönitz  <poenitz@gmx.net>
5534
5535         * lyxrow_funcs.[Ch]:
5536         * lyxtext.h:
5537         * paragraph.h:
5538         * paragraph_funcs.C:
5539         * rowpainter.C:
5540         * text.C:
5541         * text2.C:
5542         * text3.C:
5543         * text_funcs.C: split LyXText::rowlist_ into individual
5544         Paragraph::rows_ chunks
5545
5546         * BufferView.[Ch]:
5547         * BufferView_pimpl.[Ch]:
5548         * lyxfind.C:
5549         * lyxtext.h:
5550         * text3.C: remove toggleSelection()
5551
5552 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5553
5554         * bufferlist.C: beautify two alerts (shorter text of buttons)
5555         * buffer.C: Remove redundant ' ' from message
5556         * tabular.h:
5557         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5558         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5559         rename VALIGN_CENTER to VALIGN_MIDDLE
5560
5561 2003-08-11  André Pönitz  <poenitz@gmx.net>
5562
5563         * lyxtext.h (getPar):
5564         * text.C: new function
5565
5566 2003-08-11  André Pönitz  <poenitz@gmx.net>
5567
5568         * Makefile.am:
5569         * tracer.[Ch]: remove unneeded files
5570
5571         * InsetList.[Ch]: remove resizeInsetsLyXText()
5572
5573         * lyxtext.h:
5574         * text.C:
5575         * text2.C:
5576         * text3.C: merge insertParagraphs() and appendParagraph()
5577         remove breakAgain(), update()
5578
5579         * BufferView_pimpl.[Ch]:
5580         * bufferview_funcs.[Ch]:
5581         * lyxfunc.C:
5582         * paragraph.[Ch]:
5583         * rowpainter.C:
5584         * tabular.C: adjust after text & InsetList changes.
5585
5586 2003-08-08  André Pönitz  <poenitz@gmx.net>
5587
5588         * text.C (insertChar, backspace): replace rowlist fiddling
5589         with rebreak of full par
5590
5591         * lyxtext.h:
5592         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5593         checkParagraph, updateInset): removed
5594
5595 2003-08-07  André Pönitz  <poenitz@gmx.net>
5596
5597         * paragraph.C:
5598         * text3.C: merge some LFUN handlers, remove dead code
5599
5600 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5601
5602         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5603
5604 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5605
5606         * text2.C (DEPM): fix part of bug 1255 and 1256
5607
5608 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5609
5610         * BufferView_pimpl.C (workAreaDispatch): change to use
5611         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5612         that are no mouse related.
5613
5614 2003-08-05  André Pönitz  <poenitz@gmx.net>
5615
5616         * BufferView.[Ch]:
5617         * BufferView_pimpl.[Ch]:
5618         * bufferview_funcs.C:
5619         * text2.C:
5620         * text3.C: rip out "deep update"
5621
5622         * textcursor.[Ch] (last_sel_cursor): remove unused member
5623
5624 2003-08-04  André Pönitz  <poenitz@gmx.net>
5625
5626         * BufferView.[Ch]:
5627         * BufferView_pimpl.[Ch]:
5628         * ParagraphParameters.C:
5629         * bufferview_funcs.C:
5630         * lyx_cb.C:
5631         * lyxfind.C:
5632         * lyxfunc.C:
5633         * text.C:
5634         * text2.C:
5635         * text3.C: replace "complicated" BufferView::update(...) calls with
5636         simpler ones.
5637
5638         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5639
5640 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5641
5642         * Makefile.am (lyx_SOURCES): add paper.h
5643
5644 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5645
5646         * Makefile.am: move things around so that both lyx-qt and
5647         lyx-xforms can be built (according to --with-frontend). Then lyx
5648         is a symbolic link to lyx-[firstfrontend]
5649
5650 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5651
5652         * Always use std::endl with lyxerr
5653
5654 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5655
5656         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5657
5658 2003-08-01  André Pönitz  <poenitz@gmx.net>
5659
5660         * BufferView.[Ch]:
5661         * BufferView_pimpl.[Ch]:
5662         * lyxfunc.C:
5663         * text3.C: merge BufferView::repaint() and BufferView::update()
5664
5665 2003-08-01  José Matos  <jamatos@lyx.org>
5666
5667         * buffer.[Ch]: file_format is no longer a buffer data element.
5668
5669 2003-08-01  André Pönitz  <poenitz@gmx.net>
5670
5671         * BufferView.C:
5672         * lyxtext.h:
5673         * text.C:
5674         * text2.C: make redoParagraph more independent of current cursor
5675
5676         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5677         * text.C:
5678         * text2.C: remove unneeded members
5679
5680 2003-07-30  André Pönitz  <poenitz@gmx.net>
5681
5682         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5683
5684         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5685           create a single function...
5686
5687         * paragraph_funcs.C (moveItem): ... here.
5688
5689         * text.C:
5690           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5691
5692 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5693
5694         * LColor.[Ch]: Add comment and greyedout logical colors.
5695
5696 2003-07-30  André Pönitz  <poenitz@gmx.net>
5697
5698         * tabular.C: don't use Assert too heavily. This crashes where it
5699           shouldn't
5700
5701 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5702
5703         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5704         is disabled (bug 1232)
5705
5706 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5707
5708         * factory.C: limited 'arg' scope
5709
5710 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5711
5712         * factory.C: fixed Note submenu issues
5713
5714 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5715
5716         * factory.C: submenu for Note/Comment/Greyedout
5717
5718 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5719
5720         * lyx_main.C (LyX):
5721         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5722
5723 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5724
5725         * LaTeXFeatures.C:
5726         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5727         greyedout. Patch provided by Jürgen Spitzmüller.
5728
5729 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5730
5731         * kbmap.C (read): fix error message when reading bind files
5732
5733 2003-07-29  Angus Leeming  <leeming@lyx.org>
5734
5735         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5736         certainly does not do what it purports to do. I am doing it, and
5737         us, a favour by killing it.
5738
5739 2003-07-28  José Matos  <jamatos@lyx.org>
5740
5741         * buffer.C (readBody, do_writeFile):
5742         * paragraph.C(readParagraph): \end_document replaces \the_end.
5743
5744 2003-07-29  André Pönitz  <poenitz@gmx.net>
5745
5746         * BufferView.[Ch]:
5747         * BufferView_pimpl.[Ch]:
5748         * lyxfunc.C:
5749         * text2.C:
5750         * text3.C:
5751         * textcursor.[Ch]: remove toggleToggle & Co
5752
5753 2003-07-28  José Matos  <jamatos@fep.up.pt>
5754
5755         * buffer.C (readParagraph):
5756         * params_func (readParToken, readParagraph):
5757         * paragraph.C (write): \layout -> \begin_layout.
5758
5759 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5760
5761         * lyxlex_pimpl.C (setFile): clean up slightly.
5762
5763         * bufferparams.h: add compressed var
5764
5765         * buffer_funcs.C (readFile): adjust for LyXLex change
5766         (newFile): ditto + simplify
5767
5768         * buffer.C (writeFile): handle writing of compressed files
5769
5770         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5771         Check if the file is compressed and set a bufferparm if so.
5772
5773         * Makefile.am (lyx_LDADD): remove explicit -lz
5774
5775 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5776
5777         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5778         makeDocBookFile): put the real LyX version in the first line of
5779         the file
5780
5781         * version.h:
5782         * version.C.in: remove lyx_docversion
5783
5784         * tabular.C (write_attribute): add a template-based version to
5785         write enums properly
5786
5787 2003-07-28  André Pönitz  <poenitz@gmx.net>
5788
5789         * lyxtext.h:
5790         * text.C:
5791         * text2.C:
5792         * text3.C: use doubles again for x-coordinates. They are needed.
5793
5794 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5795
5796         * messages.C (getLocaleDir): use lyx_localedir()
5797
5798         * lyxlex_pimpl.C (setFile): compress stuff
5799
5800         * buffer.C (writeFile): add some compression stuff
5801         (do_writeFile): new func, dont call expliti close... will this
5802         breake anything?
5803
5804         * Makefile.am (lyx_LDADD): add -lz
5805
5806 2003-07-28  José Matos  <jamatos@fep.up.pt>
5807
5808         * buffer.C: increment file format.
5809         * paragraph_funcs (readParagraph, readParToken):
5810         * paragraph.C (readParagraph): add \end_layout.
5811
5812 2003-07-27  Angus Leeming  <leeming@lyx.org>
5813
5814         * Makefile.am: remove special casing for configure-time setting of
5815         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5816
5817         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5818         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5819
5820 2003-07-26  André Pönitz  <poenitz@gmx.net>
5821
5822         * paragraph_func.[Ch]:
5823         * paragraph.C (realizeFont): inline it whereever it is used
5824
5825         * rowpainter.C:
5826         * text.C:
5827         * text2.C:
5828         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5829
5830
5831 2003-07-26  André Pönitz  <poenitz@gmx.net>
5832
5833         *       lyxtext.h:
5834         * text.C:
5835         * text2.C: get rid of LyXText::need_break_row
5836
5837 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5838
5839         * toc.[Ch]: put namespace toc inside namespace lyx
5840
5841         * MenuBackend.C (expandToc2): adjust for lyx::toc
5842         (expandToc): ditto
5843
5844         * lyxfunc.C (dispatch): adjust for lyx::find
5845
5846         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5847         lyx::find instead. Reorganize a bit.
5848         (LyXReplace): rename to replace
5849         (LyXFind): rename to find
5850
5851         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5852         (dispatch): ditto
5853
5854 2003-07-26  André Pönitz  <poenitz@gmx.net>
5855
5856         * text.C (setHeightOfRow): restrict scope of temporary variable
5857
5858         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5859           code (never has been used?)
5860
5861 2003-07-27  Asger Alstrup  <alstrup@local>
5862
5863         * text.C (fill): Optimise algorithm to exploit that we can reuse
5864         the LyXFont for many characters.
5865         (setHeightOfRow): Same thing.
5866         (rowBreakPoint): Same thing.
5867
5868 2003-07-26  Asger Alstrup  <alstrup@local>
5869
5870         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5871
5872         * text.C (singleWidth): Spurious font copying in hot-spot
5873         singleWidth avoided. Reorder tests for arabic for efficiency.
5874
5875         * text.C (fill): handle empty paragraphs better.
5876
5877 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5878
5879         * ispell.C:
5880         * encoding.h: add includes
5881
5882         * lyxrc.C: remove reading of bind files
5883
5884         * lyx_main.C (init): setup bindings and menus only if we have a
5885         gui.
5886
5887         * kbmap.C (read): new method. Do the actual reading of bind
5888         files.
5889
5890         * converter.C (dvipdfm_options):
5891         * bufferparams.C:
5892         * lyxrc.C (read):
5893         (output): adapt PAPER_* enums.
5894
5895         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5896
5897         * bufferparams.h: remove paper-related enums from there
5898
5899         * paper.h: New file. A trivial header file to hold paper-related
5900         enums. It should later expand to contain many paper-related
5901         horrors access.
5902
5903         * lyxrc.C: declare extern displayTranslator
5904
5905 2003-07-27  José Matos  <jamatos@fep.up.pt>
5906
5907         * tabular.[Ch] (linuxdoc): add support for tables and figures
5908         (linuxdoc).
5909
5910 2003-07-27  José Matos  <jamatos@fep.up.pt>
5911
5912         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5913         consistency in both functions.
5914         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5915
5916 2003-07-26  Asger Alstrup  <alstrup@local>
5917
5918         * rowpainter.C (paintRows): Change algorithm to work directly on
5919         the insets rather than asking every character in the document
5920         whether its an inset.
5921
5922 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5923
5924         * buffer.C (openFileWrite): factorize some code
5925
5926 2003-07-26  Angus Leeming  <leeming@lyx.org>
5927
5928         * lyx_cb.C:
5929         * lyx_main.[Ch]: replace occurances of system_tempdir with
5930         os::getTmpDir().
5931
5932 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5933
5934         * rename Inset to InsetOld
5935
5936 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5937
5938         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5939         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5940         which I think is a bit clearer. EDIT is gone, since it was
5941         premature optimisation, and broken for mathed anyway.
5942         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5943         with cursor positioning in insets as well (math insets still do not
5944         work, but that's a different story anyway.) It mysteriously
5945         crashes sometimes with undo in the first paragraph, but I'm fairly
5946         confident that this is a compiler bug.
5947
5948 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * paragraph.C (Paragraph): adjust for new clone return type
5951         (operator==): ditto
5952         (copyIntoMinibuffer): ditto
5953
5954 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5955
5956         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5957         by not having a special case, and always doing a full rebreak of
5958         the document after undo.
5959
5960 2003-07-23  Angus Leeming  <leeming@lyx.org>
5961
5962         * factory.C (createInset): InsetExternal::setParams now takes a
5963         Buffer const * arg.
5964
5965 2003-07-23  Angus Leeming  <leeming@lyx.org>
5966
5967         * factory.C (createInset): changed interface to the external and
5968         graphics mailers' string2params functions.
5969
5970 2003-07-23  Angus Leeming  <leeming@lyx.org>
5971
5972         * factory.C (createInset): pass a
5973         Buffer const * parameter to InsetExternalMailer's string2params.
5974
5975 2003-07-22  John Levon  <levon@movementarian.org>
5976
5977         * Thesaurus.h: include the right aiksaurus header
5978
5979 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5980
5981         * MenuBackend.C (expand): check menu shortcuts unconditionally
5982
5983 2003-07-21  Angus Leeming  <leeming@lyx.org>
5984
5985         * factory.C (createInset): pass a
5986         buffer_path parameter to InsetGraphicsMailer's string2params.
5987
5988 2003-07-21  Angus Leeming  <leeming@lyx.org>
5989
5990         * BufferView_pimpl.C (buffer):
5991         * buffer.C (d-tor):
5992         * lyx_main.C (LyX):
5993         * lyxfunc.C (dispatch):
5994         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5995         rather than the grfx shortcut.
5996
5997 2003-07-21  André Pönitz  <poenitz@gmx.net>
5998
5999         * rowpainter.C: remove unused variables
6000
6001         * tabular_funcs.C:
6002         * tabular_funcs.h: move to tabular.C
6003         * Makefile.am: adjust
6004
6005         * tabular.[Ch]: basic optical cleaning
6006
6007         * author.h: pass references, not values
6008
6009 2003-07-18  André Pönitz  <poenitz@gmx.net>
6010
6011         * lyxtext.h:
6012         * metricsinfo.C:
6013         * metricsinfo.h:
6014         * rowpainter.C:
6015         * text.C:
6016         * text2.C:
6017         * text3.C: two-phase drawing for InsetText and InsetTabular
6018         some float -> int changes.
6019
6020 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6021
6022         * lyx_main.C: fix the fix
6023
6024 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6025
6026         * lyx_main.C: fix a crash in batch mode if no files specified
6027         * converter.C: ws
6028
6029 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6030
6031         * format.[Ch] (papersize): moved to BufferParams
6032         * converter.[Ch] (dvips_options): moved to BufferParams
6033         (dvipdfm_options): moved to anon namespace
6034         * bufferparams.[Ch]: added above functions.
6035
6036 2003-07-17  André Pönitz  <poenitz@gmx.net>
6037
6038         * lyxtext.h:
6039         * rowpainter.C:
6040         * text2.C: don't call inset->update() anymore
6041
6042         * metricsinfo.[Ch]: add convenience constructor
6043
6044 2003-07-16  André Pönitz  <poenitz@gmx.net>
6045
6046         * lyxcursor.[Ch]:
6047         * lyxfunc.[Ch]:
6048         * text.C:
6049         * text2.C: replace the LyXCursor::irow_ member with
6050          on-demand computation of the value
6051
6052 2003-07-16  John Levon  <levon@movementarian.org>
6053
6054         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6055
6056 2003-07-15  André Pönitz  <poenitz@gmx.net>
6057
6058         * text.C:
6059         * text2.C: remove no more needed refresh_row
6060
6061 2003-07-15  André Pönitz  <poenitz@gmx.net>
6062
6063         * lyxtext.h:
6064         * rowpainter.C:
6065         * text2.C:
6066         * text3.C: refresh_status tristate -> need_update bool
6067
6068 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6069
6070         * lyxtext.h (init): remove reinit argument (act as if always true)
6071         * text2.C: adjust to that
6072
6073 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6074
6075         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6076         * text3.C: use it to delete selections in some cases
6077         (bugs 441, 673, 702, 954).
6078
6079 2003-07-14  André Pönitz  <poenitz@gmx.net>
6080
6081         * rowpainter.[Ch]: reduce interface
6082
6083 2003-07-14  André Pönitz  <poenitz@gmx.net>
6084
6085         * BufferView_pimpl.C:
6086         * text2.C: adjust after removing unused BufferView * argument
6087
6088 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6089
6090         * text2.C (init): fix a crash fired on resize
6091
6092 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6093
6094         * buffer.[Ch]: added new closing signal
6095         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6096         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6097         BufferView::Pimpl via the closing the signal
6098
6099 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6100
6101         * buffer.[Ch]: take out all bv-related from buffer
6102         * BufferView.C:
6103         * BufferView_pimpl.[Ch]: connect to new signals
6104         * CutAndPaste.C: removed useless asserts
6105         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6106         * lyxvc.[Ch]:
6107         * vc-backend.[Ch]:
6108         * lyxfunc.C: moved view-related funciontality from vc here
6109         * paragraph.C: removed outdated comments
6110         * text.C: ws
6111
6112 2003-07-10  André Pönitz  <poenitz@gmx.net>
6113
6114         * BufferView_pimpl.C:
6115         * tabular.h:
6116         * tabular_funcs.C:
6117         * text.C:
6118         * text2.C: remove InsetText::InnerCache, clean up consequences
6119
6120 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6121
6122         * ispell.C: fix two typos in error messages
6123
6124 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6125
6126         * Extend Note inset to other forms of annotation like Comment
6127         and Greyedout. Right button click gives dialog.
6128
6129         Files modified or added (+):
6130
6131         * insetnote.[Ch]
6132         * FormNote.[Ch]      +
6133         * ControlNote.[Ch]   +
6134         * form_note.fd       +
6135         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6136         frontends/controllers
6137         * xforms/Dialogs.C
6138         * factory.C
6139
6140 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6141
6142         * aspell.C: add missing namespace lyx::support
6143
6144 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6145
6146         * BufferView.[Ch] (newFile): Add
6147         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6148         * LaTeX.[Ch] (message): added this signal and use it
6149         * buffer.[Ch] (busy, message): added these signals and use them
6150         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6151         * converter.C:
6152         * exporter.C:
6153         * format.C:
6154         * importer.C: use buffer signals instead of direct bv calling
6155         * lyx_cb.[Ch] (ShowMessage): removed
6156         * lyx_main.C:
6157         * lyxfunc.C:
6158         * paragraph_funcs.C:
6159         * text2.C: use buffer signals
6160
6161 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6162
6163         * introduce namespace lyx::graphics
6164
6165 2003-07-02  André Pönitz  <poenitz@gmx.net>
6166
6167         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6168
6169 2003-07-01  André Pönitz  <poenitz@gmx.net>
6170
6171         * text.C:
6172         * text2.C:
6173         * text3.C:
6174         * text_funcs.[Ch]:
6175         * textcursor.h:
6176         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6177           text*.C to text_func.C
6178
6179 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6180
6181         * introduce namespace lyx::support
6182
6183 2003-06-30  André Pönitz  <poenitz@gmx.net>
6184
6185         * Chktex.C:
6186         * funcrequest.C:
6187         * lyxtext.h:
6188         * text.C: re-enable --with-included-string
6189
6190 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6191
6192         * textcursor.C: add <config.h>
6193
6194         * text.C (getWord): remove const from word_location arg
6195
6196         * lyxvc.C (getLogFile): fix const type order
6197
6198         * lyxtext.h: remove const from word_location arg, add arg name
6199
6200         * lyxlayout.h: currect type on labeltype.
6201
6202         * importer.C: correct \file
6203
6204         * converter.C (intToFormat): use std:: on ret val, ws changes
6205
6206         * bufferlist.h: correct \file
6207
6208         * buffer.C (makeLinuxDocFile): fix const type order
6209         (makeDocBookFile): ditto
6210         (fillWithBibKeys): use std:: on stdlib args.
6211
6212         * CutAndPaste.C: fix authors.
6213         (availableSelections): use std:: on return vector
6214
6215 2003-06-27  André Pönitz  <poenitz@gmx.net>
6216
6217         * BufferView_pimpl.C:
6218         * bufferview_funcs.C:
6219         * lyxcursor.C:
6220         * lyxcursor.h:
6221         * lyxfunc.C:
6222         * lyxtext.h:
6223         * rowpainter.C:
6224         * text.C:
6225         * text2.C:
6226         * text3.C: remove LyXCursor::row_ member
6227
6228         * lyxtext.h:
6229         * text.C: rename fullRebreak() to partialRebreak() and implement
6230           a fullRebreak() that really bereks fully
6231
6232         * textcursor.h: new struct for cursor-related data
6233
6234 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6235
6236         * lyx_main.C (LyX): get full path of document loaded on the
6237         command line
6238
6239 2003-06-26  André Pönitz  <poenitz@gmx.net>
6240
6241         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6242           remove unused/broken operator>,<,>=.
6243
6244         *       text.C: remove only use of broken operator<= in an Assert().
6245
6246 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6247
6248         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6249         moved errorlist_.clear to showErrorList
6250
6251 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6252
6253         * converter.C (scanLog, runLaTeX):
6254         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6255         move the bv->showErrorList call to the callers
6256         * lyxfunc.C: i.e. here...
6257         * text2.C: and here
6258         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6259         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6260         namespace, the second to...
6261         * buffer_funcs (BufferFormat, parseErrors): added
6262         * errorlist.C (ErrorList(TeXErrors const &)): removed
6263
6264 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6265
6266         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6267
6268 2003-06-24  "Garst R. Reese" <reese@isn.net>
6269
6270         * debug.C: fix typo
6271
6272 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6273
6274         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6275
6276         * version.C.in: change docversion to 1.4
6277
6278 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6279
6280         * buffer.C: fix a bug just introduced
6281
6282 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6283
6284         * buffer.[Ch]: added the parseError signal and use it, removed
6285         sgmlError
6286         * BufferView.[Ch] (addError): moved to ...
6287         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6288         to the Buffer::parseError signal to catch (guess what) parse errors
6289         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6290
6291 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6292
6293         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6294         ability to create a buffer and to return an existing one from
6295         the list. Moved these functions to...
6296         * buffer_funcs.[Ch]: added
6297         * BufferView.[Ch] (loadLyXFile): added
6298         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6299         job removed from bufferlist::loadLyXFile.
6300         * buffer.C (setReadOnly): make it work without view
6301         (i.e added an if (users))
6302
6303 2003-06-19  Angus Leeming  <leeming@lyx.org>
6304
6305         * lfuns.h:
6306         * LyXAction.C (init):
6307         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6308         with LFUN_DIALOG_SHOW <name> <data>.
6309
6310 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6311
6312         * CutAndPaste.C (availableSelections): small compilation fix for
6313         ancient (gcc 2.9x) compilers
6314
6315 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6316
6317         * text3.C (cursorNext): add tmp var
6318
6319         * text2.C (updateCounters): for function calling out of for clause
6320         (replaceSelectionWithString): ditto
6321         (insertStringAsParagraphs): ditto
6322         (getColumnNearX): add tmp var
6323         (setCursorFromCoordinates): add tmp var
6324         (cursorDownParagraph): add tmp var
6325         (deleteEmptyParagraphMechanism): add tmp var
6326
6327         * text.C (insertChar): add tmp var
6328
6329         * rowpainter.C (paintDepthBar): add tmp var
6330
6331         * CutAndPaste.C (availableSelections): potentially check all
6332         paragraphs in a cut to fill the shown strings.
6333
6334 2003-06-18  André Pönitz  <poenitz@gmx.net>
6335
6336         * kbmap.[Ch]: use vector<> instead of list<>
6337
6338 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6339
6340         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6341         pasteSelection with index
6342
6343         * text2.C (pasteSelection): modify, call pasteSelection with index
6344
6345         * paragraph.C (asString): reimplement version with no interval to
6346         call the one with interval.
6347
6348         * lyxtext.h: add index arg to pasteSelection
6349
6350         * MenuBackend.C (MenuItem): handle PasteRecent
6351         (Menu::read::Menutags): add md_pasterecent
6352         (read): handle it
6353         (expandPasteRecent): new function
6354         (expand): use it
6355
6356         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6357
6358         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6359         the limited stack
6360         (availableSelections): new function
6361
6362 2003-06-17  Angus Leeming  <leeming@lyx.org>
6363
6364         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6365
6366 2003-06-17  Angus Leeming  <leeming@lyx.org>
6367
6368         * lfuns.h:
6369         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6370
6371         * lyxfunc.C (dispatch): invoke it.
6372
6373 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6374
6375         * iterators.C (operator++, ParPosition): reintroduce some
6376         const_cast for the benefit of older compilers.
6377
6378 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6379
6380         * text3.C (dispatch): do not modify clipboard when doing
6381         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6382         LFUN_DELETE_SKIP on a selection selection
6383
6384 2003-06-16  André Pönitz  <poenitz@gmx.net>
6385
6386         * BufferView.C:
6387         * buffer.C:
6388         * buffer.h:
6389         * paragraph.C:
6390         * tabular.[Ch]: IU of clone() and getLabelList();
6391
6392 2003-06-13  André Pönitz  <poenitz@gmx.net>
6393
6394         * tabular.h: compactification
6395
6396 2003-06-12  André Pönitz  <poenitz@gmx.net>
6397
6398         * tabular.C:
6399         * tabular.h:
6400         * tabular_funcs.h: some renaming plus whitespace
6401
6402 2003-06-12  André Pönitz  <poenitz@gmx.net>
6403
6404         * BufferView.C:
6405         * BufferView_pimpl.C:
6406         * CutAndPaste.C:
6407         * buffer.C:
6408         * iterators.[Ch]:
6409         * lyxfunc.C:
6410         * text.C:
6411         * toc.C: Return a Paragraph & for ParIterator::operator*()
6412
6413 2003-06-11  John Levon  <levon@movementarian.org>
6414
6415         * lyx_main.C:
6416         * ToolbarBackend.h:
6417         * ToolbarBackend.C: add "Toolbars" section and
6418         put the flags there
6419
6420 2003-06-10  Angus Leeming  <leeming@lyx.org>
6421
6422         * lfuns.h:
6423         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6424
6425         * lyxfunc.C (dispatch): invoke it.
6426
6427 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6428
6429         * main.C: protect <ios> with HAVE_IOS
6430         (main): protect sync_with_stdio with HAVE_IOS
6431
6432 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6433
6434         * text2.C (cutSelection): adjust
6435         (pasteSelection): adjust
6436
6437         * messages.C: handle get of empty string
6438
6439         * main.C (main): use sync_with_stdio(false)
6440
6441         * lyxfunc.C (dispatch): adjust
6442
6443         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6444         (WriteAs): remove unneeded BufferView arg.
6445
6446         * bufferparams.h: use correct types on papersize, papersize2 and
6447         paperpackage.
6448
6449         * bufferparams.C (readToken): adjust for type
6450         (writeLaTeX): add missing cases to switch.
6451
6452         * bufferlist.C (quitWriteBuffer): adjust
6453         (close): adjust
6454
6455         * buffer.C (asciiParagraph): remove some commented code.
6456
6457         * CutAndPaste.C: remove current_view extern variable.
6458         (cutSelection): add BufferParams arg.
6459         (eraseSelection): add BufferParams arg.
6460         (pasteSelection): add Buffer const & arg
6461
6462 2003-06-07  John Levon  <levon@movementarian.org>
6463
6464         * buffer.C:
6465         * paragraph_funcs.C:
6466         * paragraph_pimpl.C:
6467         * text.C:
6468         * text2.C:
6469         * paragraph.h:
6470         * paragraph.C: allow InsetERT to freely space lines,
6471         and some consolidation of code
6472
6473 2003-06-06  José Matos  <jamatos@fep.up.pt>
6474
6475         * buffer.C (makeDocBookFile): fix bug #821
6476
6477 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6478
6479         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6480
6481 2003-06-04  Angus Leeming  <leeming@lyx.org>
6482
6483         * buffer.C: bump format to 224.
6484
6485 2003-06-05  André Pönitz  <poenitz@gmx.net>
6486
6487         * text2.C (redoParagraphs): remove two const_cast<>
6488
6489 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6490
6491         * ParagraphList.h: remove last remnants of NO_STD_LIST
6492
6493 2003-06-03  Angus Leeming  <leeming@lyx.org>
6494
6495         * factory.C (createInset): small change to the way InsetExternal's params
6496         are set.
6497
6498 2003-06-04  André Pönitz  <poenitz@gmx.net>
6499
6500         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6501
6502         * paragraph_pimpl.h:
6503         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6504
6505         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6506
6507         * undo_funcs.C: make some simple cases of undo work again
6508
6509 2003-06-03  John Levon  <levon@movementarian.org>
6510
6511         * ispell.C: HPUX doesn't have sys/select.h
6512         (from Albert Chin)
6513
6514 2003-06-03  John Levon  <levon@movementarian.org>
6515
6516         * CutAndPaste.C: update tabular and include inset
6517         buffer references
6518
6519         * buffer.h:
6520         * paragraph.h:
6521         * paragraph.C: remove owningBuffer(), don't pass Buffer
6522         to clone()
6523
6524         * factory.C: insetGraphicsParams changed
6525
6526 2003-06-02  John Levon  <levon@movementarian.org>
6527
6528         * LyXAction.C:
6529         * factory.C:
6530         * lfuns.h:
6531         * lyxfunc.C:
6532         * text3.C: remove insetparent
6533
6534 2003-06-02  John Levon  <levon@movementarian.org>
6535
6536         * buffer.h:
6537         * buffer.C: fix inset_iterator.end(), move out of line
6538         (bug 1149)
6539
6540 2003-06-01  John Levon  <levon@movementarian.org>
6541
6542         * text3.C: use a proper cut/paste when doing inset
6543         insert (from Jürgen Spitzmüller)
6544
6545 2003-06-01  John Levon  <levon@movementarian.org>
6546
6547         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6548
6549 2003-05-30  André Pönitz  <poenitz@gmx.net>
6550
6551         * rowpainter.C: unify second drawing phase
6552
6553 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6554
6555         * trans_mgr.C: remove one case of current_view
6556
6557         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6558
6559         * paragraph_funcs.h: remove paragraph.h include
6560
6561         * paragraph.h: delete NO_STD_LIST stuff
6562
6563         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6564
6565         * buffer.h: remove paragraph.h include
6566
6567         * ParagraphList.C: delete file
6568
6569         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6570
6571         * toc.C (getTocList): adjust
6572
6573         * paragraph_pimpl.C (validate): adjust
6574
6575         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6576
6577         * paragraph.C (Paragraph): adjust
6578         (getPositionOfInset): use const_iterator, adjust
6579         (bibitem): use const_iterator, adjust
6580         (setInsetOwner): adjust
6581
6582         * iterators.C (operator++): adjust
6583
6584         * InsetList.[Ch]: Replace selfmade iterator with standard
6585         vector::iterator also introduce const_iterator. Remove getPos,
6586         getInset and setInset from InsetTable. Adjust accordingly.
6587
6588         * BufferView.C (lockInset): adjust
6589         (ChangeInsets): adjust
6590
6591         * tabular.[Ch]: delete commented same_id functions
6592
6593 2003-05-28  John Levon  <levon@movementarian.org>
6594
6595         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6596
6597 2003-05-28  André Pönitz  <poenitz@gmx.net>
6598
6599         * metricsinfo.[Ch]: remove 'fullredraw' member
6600
6601 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6602
6603         * lyxtextclass.C (operator): remove caching.
6604
6605 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6606
6607         * text3.C: adjust
6608
6609         * text2.C (cursorBottom): adjust
6610         (setCounter): use ParagraphList::find, adjust
6611
6612         * text.C (workWidth): use ParagraphList::find, adjust
6613
6614         * lyxcursor.C (LyXCursor): adjust
6615
6616         * buffer.C (inset_iterator): adjust
6617
6618         * ParagraphList.h: make iterator(value_type) private, make
6619         ParagraphList a friend of iterator.
6620
6621         * ParagraphList.C (find): new function
6622
6623         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6624
6625 2003-05-27  André Pönitz  <poenitz@gmx.net>
6626
6627         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6628
6629 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6630
6631         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6632
6633 2003-05-26  John Levon  <levon@movementarian.org>
6634
6635         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6636
6637 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6638
6639         * remove same_id from function signatures, adjust.
6640
6641 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6642
6643         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6644
6645         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6646
6647         * paragraph.C (Paragraph): get rid of same_ids parameter
6648
6649         * ParagraphList.C (insert): adjust
6650         (push_back): adjust
6651
6652 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6653
6654         * paragraph_funcs.C (breakParagraph): adjust
6655         (breakParagraphConservative): adjust
6656
6657         * buffer.C (readParagraph): adjust
6658
6659         * ParagraphList.C (insert): take a reference instead of a pointer
6660         (insert): adjust
6661
6662         * paragraph.[Ch] (id): new function
6663
6664         * bufferlist.C (newFile): adjust
6665
6666         * ParagraphList.C (ParagraphList): adjust
6667         (assign): adjust
6668         (push_back): take a reference instead of a pointer.
6669
6670         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6671
6672         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6673         instead.
6674
6675         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6676         set else use old code.
6677
6678         * ParagraphList.C: remove all NO_NEXT code and only compile this
6679         code of NO_STD_LIST is set.
6680
6681 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6682
6683         * BufferView_pimpl.C:
6684         * TextCache.C:
6685         * TextCache.h:
6686         * bufferlist.C:
6687         * errorlist.h:
6688         * format.C:
6689         * format.h:
6690         * graph.C:
6691         * lyxfunc.C:
6692         * lyxrc.C:
6693         * graphics/GraphicsConverter.C:
6694         * graphics/PreviewLoader.C: header adjustment
6695
6696 2003-05-23  Angus Leeming  <leeming@lyx.org>
6697
6698         * LaTeXFeatures.[Ch] (useBabel): new method.
6699         * bufferparams.C (writeLaTeX): use it.
6700
6701 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6702
6703         * ParagraphList.h (set): remove unused function.
6704
6705 2003-05-23  André Pönitz  <poenitz@gmx.net>
6706
6707         * BufferView.C:
6708         * BufferView_pimpl.C:
6709         * buffer.C:
6710         * buffer.h:
6711         * lyxfunc.C:
6712         * undo_funcs.C: setUndo reworked
6713
6714         * iterators.[Ch]: add access to topmost ParagraphList
6715
6716         * lyxtext.[Ch] (workWidth): add a const
6717
6718 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6719
6720         * texrow.[Ch] (increasePos): remove function
6721         * exporter.C (export): removed unused var and outdated comment
6722
6723 2003-05-23  Angus Leeming  <leeming@lyx.org>
6724
6725         * latexrunparams.h: rename fragile as moving_arg.
6726         * paragraph.C (simpleTeXOnePar): ditto.
6727         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6728
6729 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6730
6731         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6732         (createUndo): ditto
6733         (textUndoOrRedo): comment out a currently unused var.
6734
6735         * paragraph.h (NO_NEXT): enable NO_NEXT
6736
6737         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6738
6739         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6740
6741         * exporter.C (Export): adjust for removeAutoInsets removal.
6742
6743         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6744
6745         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6746
6747         * BufferView.[Ch] (removeAutoInsets): delete function
6748
6749 2003-05-22  Angus Leeming  <leeming@lyx.org>
6750
6751         * latexrunparams.h: add a free_spacing variable.
6752
6753         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6754         to pass moving_arg, as the data is stored in runparams.fragile.
6755
6756         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6757         to Inset::latexOptional or to simpleTeXOnePar.
6758
6759         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6760         free_spacing arg to Inset::latexOptional.
6761
6762         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6763         free_spacing arg.
6764
6765 2003-05-22  Angus Leeming  <leeming@lyx.org>
6766
6767         * latexrunparams.h: add fragile and use_babel variables.
6768
6769         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6770         * buffer.C (makeLaTeXFile): store this returned value in
6771         runparams.use_babel, thus passing it to the inset::latex methods.
6772
6773         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6774         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6775
6776         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6777         longer has a fragile arg, as it is stored in runparams.fragile.
6778
6779         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6780         moving_arg parameter as the data is stored in runparams.fragile.
6781
6782         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6783         a fragile parameter as the data is stored in runparams.fragile.
6784
6785 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6786
6787         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6788
6789 2003-05-22  Angus Leeming  <leeming@lyx.org>
6790
6791         * latexrunparams.h: add a 'bool nice' which defaults to false.
6792
6793         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6794         now encapsulated within runparams.
6795
6796         * bufferlist.C (updateIncludedTeXfiles):
6797         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6798
6799 2003-05-22  Angus Leeming  <leeming@lyx.org>
6800
6801         * latexrunparams.h: new file containing struct LatexRunParams.
6802         * Makefile.am: add new file.
6803
6804         * LaTeX.[Ch] (c-tor, run):
6805         * buffer.[Ch] (makeLaTeXFile):
6806         * bufferlist.[Ch] (updateIncludedTeXfiles):
6807         * converter.C (convert, scanLog):
6808         * converter.[Ch] (runLaTeX):
6809         * exporter.C (Export):
6810         * paragraph.[Ch] (simpleTeXOnePar):
6811         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6812         * paragraph_funcs.[Ch] (latexParagraphs):
6813         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6814         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6815         pass around a LatexRunParams parameter.
6816
6817 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6818
6819         * paragraph.[Ch]: remove unused constructor
6820
6821         * ParagraphList.C (erase): new function, taking two iterators
6822
6823 2003-05-22  André Pönitz  <poenitz@gmx.net>
6824
6825         * undo_funcs.C: remove duplicated code
6826
6827         * iterator.[Ch]: operator=
6828
6829 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6830
6831         * tabular.C (SetMultiColumn): ws changes
6832
6833         * rowpainter.C (paintFirst): get rid of a ->previous
6834
6835         * lyx_cb.C (getPossibleLabel): parlist simplification
6836
6837         * BufferView.C (ChangeInsets): simplify slightly.
6838
6839 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6840
6841         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6842         * lfuns.h: new LFUN_SPACE
6843         * lyxfunc.C: protected space has a new lfun
6844         * paragraph_funcs.C: read new space insets
6845         * text3.C:
6846         * factory.C: handle new space insets
6847
6848 2003-05-22  André Pönitz  <poenitz@gmx.net>
6849
6850         * BufferView.C:
6851         * BufferView_pimpl.C:
6852         * buffer.[Ch]:
6853         * lyxfunc.C:
6854         * undo_funcs.C: return a ParIterator from getParFromID.
6855
6856         * iterators.[Ch]: add two const's
6857
6858 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6859
6860         * toc.C (getTocList): adjust
6861
6862         * iterators.[Ch]: rework for parlist
6863
6864         * buffer.C (par_iterator_begin): adjust
6865         (par_iterator_end): adjust
6866
6867         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6868
6869         * BufferView.C (removeAutoInsets): adjust
6870         (ChangeInsets): adjust
6871
6872 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6873
6874         * text.C (top_y): fix bug 1110
6875
6876 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6877
6878         * errorlist.[Ch]: added
6879         * buffer.C:
6880         * BufferView.[Ch]:
6881         * BufferView_pimpl.C:
6882         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6883         instead
6884
6885 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6886
6887         * Makefile.am: ensure that lyx is relinked upon changes to the
6888         various "convenience" libs.
6889
6890 2003-05-20  Angus Leeming  <leeming@lyx.org>
6891
6892         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6893         files are compiled in alphabetical order again.
6894
6895         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6896
6897 2003-05-19  Angus Leeming  <leeming@lyx.org>
6898
6899         * gettext.[Ch]: remove "char const * _(char const *)".
6900
6901 2003-05-19  André Pönitz  <poenitz@gmx.net>
6902
6903         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6904
6905         * Makefile.am:
6906         * BufferView.C:
6907         * DepTable.h:
6908         * LaTeXFeatures.C:
6909         * buffer.C:
6910         * lyxfont.C:
6911         * lyxlex.h:
6912         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6913
6914 2003-05-19  André Pönitz  <poenitz@gmx.net>
6915
6916         * buffer.C:
6917         * lyxlayout.[Ch]:
6918         * lyxtextclass.[Ch]:
6919         * paragraph.C:
6920         * paragraph_funcs.[Ch]:
6921         * text2.C:
6922         * text3.C: more insetenv work
6923
6924 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6925
6926         * ParagraphParameters.C (params2string): small bug fixed
6927
6928 2003-05-16  André Pönitz  <poenitz@gmx.net>
6929
6930         * debug.C:
6931         * bufferview_funcs.C: patch from Kornel Benko to prevent
6932           crash when _(...) is called twice in a statement
6933
6934 2003-05-16  André Pönitz  <poenitz@gmx.net>
6935
6936         * BufferView.C:
6937         * lyxfunc.C:
6938         * text.C:
6939         * text2.C:
6940         * text3.C:
6941         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6942
6943 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6944
6945         * lyx_main.C (init): remove spurious static_cast
6946
6947 2003-05-14  André Pönitz  <poenitz@gmx.net>
6948
6949         * BufferView.C: fix format string
6950
6951 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6952
6953         * BufferView.[Ch] (insertErrors): removed
6954         * BufferView.[Ch] (showErrorList): added
6955         * buffer.C (runChkTeX):
6956         * converter.C (scanLog): call showErrorList instead of inserterrors
6957
6958 2003-05-13  André Pönitz  <poenitz@gmx.net>
6959
6960         * BufferView_pimpl.C:
6961         * buffer.C:
6962         * bufferview_func.C:
6963         * MenuBackend.C:
6964         * lyxfunc.C:
6965         * lyxrc.C:
6966         * tex-accent.C:
6967         * text3.C:
6968         * toc.C:
6969         * tabular_funcs.h: tostr() from its own header
6970
6971         * ParagraphParameters.C:
6972         * ToolbarBackend.C:
6973         * bufferparams.C:
6974         * format.C:
6975         * lyxlex_pimpl.C:
6976         * text3.C: STRCONV()
6977
6978 2003-05-12  André Pönitz  <poenitz@gmx.net>
6979
6980         * BufferView.C:
6981         * BufferView_pimpl.C:
6982         * CutAndPaste.C:
6983         * LaTeX.C:
6984         * LaTeXFeatures.C:
6985         * ParagraphParameters.C:
6986         * buffer.C:
6987         * bufferlist.C:
6988         * bufferparams.C:
6989         * bufferview_funcs.C:
6990         * converter.C:
6991         * counters.C:
6992         * debug.C:
6993         * exporter.C:
6994         * format.C:
6995         * importer.C:
6996         * lyx_cb.C:
6997         * lyx_main.C:
6998         * lyxfont.C:
6999         * lyxfunc.C:
7000         * lyxvc.C:
7001         * paragraph.C:
7002         * paragraph_funcs.C:
7003         * tabular.C:
7004         * tabular_funcs.C:
7005         * text2.C:
7006         * text3.C:  boost::format -> bformat  all over the place
7007
7008
7009 2003-05-09  André Pönitz  <poenitz@gmx.net>
7010
7011         * LColor.[Ch]: Pimpl the #include <map> away
7012
7013 2003-05-09  John Levon  <levon@movementarian.org>
7014
7015         * bufferlist.C: never remove emergency saves
7016
7017 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * Makefile.am: better lib building
7020
7021 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7022
7023         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7024         instead.
7025         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7026         (simpleTeXSpecialChars): adjust
7027         (simpleTeXSpecialChars): adjust
7028         * paragraph.C (simpleTeXOnePar): adjust
7029         * buffer.C (makeLaTeXFile): adjust
7030
7031         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7032
7033         * text2.C (changeDepth): parlist cleanup
7034         (getColumnNearX): ditto
7035
7036         * rowpainter.C (getLabelFont): parlist cleanup
7037
7038         * bufferlist.C (newFile): parlist cleanup
7039
7040         * CutAndPaste.C (eraseSelection): parlist cleanup
7041
7042         * BufferView_pimpl.C (trackChanges): parlist cleanup
7043         (dispatch): ditto
7044
7045         * BufferView.C (lockInset): parlist cleanup.
7046         (ChangeInsets): ditto
7047
7048 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7049
7050         * CutAndPaste.h: Update file header.
7051
7052         * CutAndPaste.C: Update file header.
7053         Store the parts cut out of the Document in a limited_stack.
7054         (copySelection): adjust
7055         (pasteSelection): new function, takes the index in the limited stack.
7056         (nrOfParagraphs): adjust
7057         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7058         simplify error inset insertion.
7059         (checkPastePossible): adjust
7060
7061 2003-05-06  John Levon  <levon@movementarian.org>
7062
7063         * text2.C: don't cast wrap inset to float
7064
7065 2003-05-05  André Pönitz  <poenitz@gmx.net>
7066
7067         * iterator.C:
7068         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7069
7070         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7071           few naked Paragraph *.
7072
7073 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7074
7075         * bufferparams.C: Output warning if a document with missing
7076         TeX document class is loaded
7077         * exporter.C: Disable TeX exports if the document class is missing
7078         * lyxtextclass.C:
7079         * lyxtextclass.h:
7080         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7081         isTeXClassAvailable()
7082
7083 2003-05-03  John Levon  <levon@movementarian.org>
7084
7085         * BufferView.h:
7086         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7087         explicit cursor show/hide
7088
7089         * BufferView_pimpl.h:
7090         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7091         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7092
7093         * lyxfunc.C: hide cursor before dispatching.
7094
7095         * lyx_cb.C:
7096         * lyxfind.C:
7097         * text.C:
7098         * text3.C: remove explicit cursor hides
7099
7100 2003-05-02  André Pönitz  <poenitz@gmx.net>
7101
7102         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7103
7104         * undo_funcs.C:
7105         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7106           linked lists
7107
7108         * text2.C: tiny whitespace
7109
7110 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * undo_funcs.C: almost only ws changes.
7113
7114         * ParagraphList.C (splice): just return if pl is empty.
7115
7116 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * ParagraphList.C (splice): new function.
7119
7120         * CutAndPaste.C (pasteSelection): use it
7121
7122 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7123
7124         * CutAndPaste.C (pasteSelection): remove the last next and
7125         previous from this file.
7126
7127 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7128
7129         * CutAndPaste.C (pasteSelection): more clean up, user proper
7130         ParagraphList functions for pasteing.
7131
7132         * ParagraphList.C (insert): new function, three arg insert
7133
7134 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7135
7136         * ParagraphList.C (insert): new function, three arg insert
7137
7138         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7139         not on paragraphs.
7140
7141 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7142
7143         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7144
7145 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7146
7147         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7148
7149 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7150
7151         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7152         (copySelection): clean up a bit.
7153         (pasteSelection): use make_pair
7154
7155         * ParagraphList.C (ParagraphList): implement copy constructor
7156         (operator=): implement, base on copy constructor.
7157         (assign): new func
7158
7159         * paragraph.C (erase): return a bool
7160
7161         * paragraph_pimpl.C (erasePos): remove function, move contents...
7162         (erase): ... here. Return a bool.
7163         (erase): call erase instead of erasePos.
7164
7165 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7166
7167         * ParagraphList.h: define PitPosPair
7168         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7169         ParagraphList, fix a bug on pasting multiple pars
7170         * text2.C: change interface to C&P
7171
7172 2003-04-30  André Pönitz  <poenitz@gmx.net>
7173
7174         * undo_func.C: revert part of yesterday's patch 2
7175
7176 2003-04-30  John Levon  <levon@movementarian.org>
7177
7178         * LColor.C: s/tabular/table/
7179
7180 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7181
7182         * text3.C (dispatch): do not convert iterator -> pointer
7183         * undo_funcs.C (setCursorParUndo): ditto
7184         * text_funcs.C (transposeChars): ditto
7185
7186         * text2.C (setLayout): ws changes only
7187
7188         * text.C (breakParagraph): do not convert iterator -> pointer
7189         (insertChar): ditto
7190         (acceptChange): ditto
7191         (rejectChange): ditto
7192         (changeCase): ditto
7193         (Delete): ditto
7194         (backspace): ditto
7195
7196         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7197         pointer
7198
7199 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7200
7201         * text3.C (gotoInset): YABG (yet another bad getChar)
7202
7203 2003-04-29  André Pönitz  <poenitz@gmx.net>
7204
7205         * paragraph.h: make operator= private unimplemented as long as
7206           it is unusable
7207
7208         * ParagraphList.C: whitespace
7209
7210         * paragraph.[Ch]:
7211         * paragraph_pimpl.[Ch]:
7212         * paragraph_funcs.C:
7213         * CutAndPaste.C:
7214         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7215
7216         * text2.C:
7217           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7218
7219 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7220
7221         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7222         * paragraph.[Ch] (erase):
7223         * paragraph_pimpl.[Ch] (erase): change return type and value
7224         * text2.C (cutSelection): some rework
7225
7226 2003-04-28  John Levon  <levon@movementarian.org>
7227
7228         * bufferlist.C: changes for unsaved changes dialog
7229
7230 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7231
7232         * bufferlist.C (newFile): set language (messages_) for new
7233         documents also.
7234
7235         * buffer.C (readFile): ws changes only.
7236
7237 2003-04-28  André Pönitz  <poenitz@gmx.net>
7238
7239         * undo_funcs.C:
7240         * lyxfunc.C:
7241         * buffer.[Ch]:
7242         * BufferView_pimpl.C:
7243         * BufferView.C: getParFromID related ParagraphList::iterator changes
7244
7245 2003-04-28  André Pönitz  <poenitz@gmx.net>
7246
7247         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7248           Changes
7249
7250 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7251
7252         * messages.C: remove one more localedir class variable.
7253
7254 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7255
7256         * messages.C (getLocaleDir): singleton generation function
7257         (Pimpl): use it.
7258         (Messages): add a default constructor.
7259
7260         * main.C (main): do not setup localedir here, do not call
7261         gettext_init.
7262
7263         * gettext.C (_): use it.
7264         (gettext_init): delete funciton
7265
7266 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7267
7268         * gettext.C (getLyXMessages): new singleton generating function.
7269
7270         * buffer.C (updateDocLang): adjust
7271
7272         * Makefile.am (messages.o): add target
7273         (main.o): remove target
7274
7275 2003-04-27  John Levon  <levon@movementarian.org>
7276
7277         * bufferlist.C:
7278         * lyx_cb.C:
7279         * lyxfunc.C:
7280         * lyxvc.C: specify cancel button in Alert::prompt
7281
7282 2003-04-26  John Levon  <levon@movementarian.org>
7283
7284         * text3.C:
7285         * lyxfunc.C:
7286         * lfuns.h:
7287         * LyXAction.C: add LFUN_INSET_SETTINGS
7288
7289         * lyxfunc.C: don't enable tabular-feature when there's
7290         just any locking inset
7291
7292 2003-04-26  John Levon  <levon@movementarian.org>
7293
7294         * bufferlist.C: re-add Cancel to buffer close question
7295
7296         * lyxfunc.C: fix import UI a bit
7297
7298 2003-04-25  John Levon  <levon@movementarian.org>
7299
7300         * gettext.C: remove the broken asserts for now
7301
7302 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7303
7304         * messages.C: make case where setlocale cannot comply work better.
7305
7306         * buffer.C (updateDocLang): new function
7307         (changeLanguage): use it
7308         (readFile): use it
7309
7310         * text2.C (setCounter): use B_ a bit.
7311
7312         * lyxlayout.C (Read): be sure to trim the label strings.
7313
7314         * messages.C (Messages): fix typo in comment
7315
7316         * buffer.C (readFile): set message_ after file is loaded.
7317         (makeDocBookFile): remove double return
7318         (changeLanguage): reset message_ upon language change.
7319         (B_): new func, use this to get translated buffer strings.
7320
7321         * main.C: add myself and Jean Marc as authors.
7322
7323 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7324
7325         * messages.[hC]: pimplify Messages, and three different pimpls to be
7326         used in different circumstances.
7327
7328         * gettext.[Ch]: change for use with new message code.
7329
7330 2003-04-24 André Pönitz <poenitz@gmx.net>
7331
7332         * factory.C: support for eqref
7333
7334 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7335
7336         * messages.[Ch]: add missing char
7337
7338         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7339
7340         * messages.[Ch]: New files
7341
7342 2003-04-18  John Levon  <levon@movementarian.org>
7343
7344         * BufferView.h:
7345         * BufferView.C:
7346         * BufferView_pimpl.C:
7347         * lfuns.h:
7348         * LyXAction.C:
7349         * lyxtext.h:
7350         * text2.C: remove layout-copy/paste (bug 778)
7351
7352 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7353
7354         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7355
7356 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7357
7358         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7359         if they succeed. Act accordingly.
7360
7361 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7362
7363         * text2.C (setCharFont): adjust
7364         (setCounter): adjust
7365         (insertStringAsLines): adjust
7366
7367         * text.C (leftMargin): adjust
7368         (setHeightOfRow): adjust
7369
7370         * rowpainter.C (paintFirst): adjust
7371         (paintLast): adjust
7372
7373         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7374         (outerHook): ditto
7375         (isFirstInSequence): ditto
7376         (getEndLabel): ditto
7377         (outerFont): adjust
7378
7379         * paragraph.C (getParLanguage): comment out some hard stuff.
7380
7381         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7382         (sgmlError): ditto
7383         (simpleDocBookOnePar): ditto
7384         (makeDocBookFile): use ParagraphList::iterator
7385
7386         * CutAndPaste.C (pasteSelection): adjust
7387
7388 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7389
7390         * text2.C (getFont): adjust
7391         (getLayoutFont): adjust
7392         (getLabelFont): adjust
7393
7394         * paragraph_funcs.C (TeXOnePar): adjust
7395
7396         * buffer.C (simpleLinuxDocOnePar): adjust
7397         (simpleDocBookOnePar): adjust
7398
7399         * CutAndPaste.C (pasteSelection): adjust
7400
7401         * BufferView.C (getEncoding): adjust
7402
7403         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7404
7405 2003-04-16  John Levon  <levon@movementarian.org>
7406
7407         * lyxfind.C: use parlist stuff for search/changes
7408
7409 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7410
7411         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7412
7413         * text2.C (deleteEmptyParagraphMechanism): adjust
7414
7415         * text2.[Ch] (ownerParagraph): delete func (both of them
7416
7417 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7418
7419         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7420
7421 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7422
7423         * ParagraphList.C: prepare for NO_NEXT
7424
7425 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7426
7427         * text2.C (getFont): adjust
7428         (getLayoutFont): adjust
7429         (getLabelFont): adjust
7430
7431         * paragraph.C (getFont): adjust
7432         (getLabelFont): adjust
7433         (getLayoutFont): adjust
7434
7435         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7436
7437 2003-04-15  John Levon  <levon@movementarian.org>
7438
7439         From Angus Leeming
7440
7441         * lyx_main.C: handle Include in .ui files
7442
7443 2003-04-15  John Levon  <levon@movementarian.org>
7444
7445         * MenuBackend.C: make the doc files length shorter
7446
7447         * ToolbarBackend.h:
7448         * ToolbarBackend.C: handle toolbar placement flags,
7449         Minibuffer
7450
7451 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7452
7453         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7454         adjust
7455
7456         * paragraph_funcs.C (TeXOnePar): adjust
7457
7458         * paragraph.C (getLabelFont): add outerfont arg, adjust
7459         (getLayoutFont): ditto
7460         (simpleTeXOnePar): adjust
7461
7462         * paragraph_pimpl.C (realizeFont): delete func
7463
7464 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7465
7466         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7467         row argument, constify cur argument.
7468
7469 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7470
7471         * text2.C (getFont): adjust
7472         (getLayoutFont): adjust
7473         (getLabelFont): adjust
7474
7475         * paragraph_funcs.C (TeXOnePar): adjust
7476         (outerFont): new func...
7477         (realizeFont): ...moved out from here, changed this to facilitate
7478         transition
7479
7480         * paragraph.C (getFont): take outerfont as arg, adjust
7481         (simpleTeXOnePar): add outerfont arg, adjust
7482
7483         * buffer.C (simpleLinuxDocOnePar): adjust
7484         (simpleDocBookOnePar): adjust
7485
7486         * CutAndPaste.C (pasteSelection): adjust
7487
7488         * BufferView.C (getEncoding): adjust
7489
7490 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7491
7492         * text2.C (setCharFont): adjust
7493         (setCounter): adjust
7494
7495         * text.C (leftMargin): adjust
7496         (setHeightOfRow): adjust
7497
7498         * rowpainter.C (paintFirst): adjust
7499         (paintLast): adjust
7500
7501         * paragraph_pimpl.C (realizeFont): adjust
7502
7503         * paragraph.C (isFirstInSequence): move from here...
7504         * paragraph_funcs.C (isFirstInSequence): ...to here
7505
7506         * paragraph.C (outerHook): move from here...
7507         * paragraph_funcs.C (outerHook): ...to here
7508
7509         * paragraph.C (depthHook): move from here...
7510         * paragraph_funcs.C (depthHook): ...to here
7511
7512         * paragraph.C (getEndLabel): move from here...
7513         * paragraph_funcs.C (getEndLabel): ...to here
7514
7515         * text2.C (realizeFont): move from here...
7516         * paragraph_funcs.C (realizeFont): ...to here
7517
7518 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7519
7520         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7521
7522 2003-04-14  Angus Leeming  <leeming@lyx.org>
7523
7524         * LColor.[Ch]: scrap LColor mathcursor.
7525
7526 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7527
7528         * lyxlex.[Ch] (text): delete function
7529         * trans.C (Load): adjust
7530         * paragraph_funcs.C (readParToken): adjust
7531
7532 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7533
7534         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7535         vector<char> instead of a char[].
7536
7537         * lyxlex_pimpl.C (getString): adjust
7538         (next): adjust
7539         (lex): use getString
7540         (eatLine): adjust
7541         (nextToken): adjust
7542
7543         * lyxlex.C (text): use pimpl_->getString()
7544         (getBool): ditto
7545         (findToken): ditto
7546
7547 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7548
7549         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7550         (makeFontEntriesLayoutSpecific): temp var for par.size()
7551         (setLayout): temp var for ownerParagraphs().end()
7552         (fullRebreak): temp var for rows().end()
7553         (selectionAsString): temp var for boost::next(startpit), realize
7554         that the while really is a regular for loop.
7555         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7556         setCursor in one place.
7557         (setParagraph): temp vr for ownerParagraphs().end()
7558         (updateCounters): make the while loop a for loop
7559         (cutSelection): temp var for ownerParagraphs().end()
7560         (updateInset): make the do {} while() a regular for loop
7561         (getCursorX): use temp vars
7562         (setCurrentFont): use temp vars
7563         (getColumnNearX): use temp vars
7564
7565 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7566
7567         * text.C (transformChar): use temp var for getChar
7568         (computeBidiTables): use temp var for row->par()
7569         (fill): move temp vars for row->par() and pit->layout() earlier in
7570         the function.
7571         (labelFill): use temp var for row->par()
7572         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7573         asc and desc, realize that pit never changes and that firstpit is
7574         just a duplicate and not needed. Exchange rit->par() with pit in a
7575         lot of places.
7576         (breakAgain): use a temp var for boost::next(rit)
7577         (breakAgainOneRow): ditto
7578         (breakParagraph): use a temp var for rows().begin()
7579         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7580         (cursorRightOneWord): use temp var for cursor.par() and
7581         cursor.pos(), remove usage of tmpcursor.
7582         (cursorLeftOneWord): use temp var for cursor.par() and
7583         cursor.pos() only set cur at end of function.
7584
7585 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7586
7587         * text.C, text2.C: exchange all usage of Paragraph::next with
7588         boost::next(ParagraphList::iterator)
7589
7590         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7591
7592         * text2.C (cursorTop): simplify implementation
7593         (cursorBottom): ditto
7594         (setParagraph): use ParagraphList::iterator
7595         (setCurrentFont): adjust
7596         (getColumnNearX): adjust
7597         (cursorRight): adjust
7598         (cursorLeft): remove usage of Paragraph::previous
7599         (cursorUpParagraph): ditto
7600         (deleteEmptyParagraphMechanism): slight cleanup
7601
7602         * text.C (isBoundary): take a Paragraph const & instead of a
7603         pointer as arg.
7604         (addressBreakPoint): ditto
7605         (leftMargin): remove usage of Paragraph::previous.
7606         (setHeightOfRow): ditto
7607         (cursorLeftOneWord): ditto
7608         (selectNextWordToSpellcheck): ditto
7609         (Delete): ditto
7610         (backspace): ditto
7611         (breakParagraph): remove one usage of Paragraph::next
7612         (redoParagraph): ditto
7613         (acceptChange): ditto
7614         (insertChar): adjust
7615         (rowBreakPoint): adjust
7616
7617         * bufferview_funcs.C (toggleAndShow): adjust
7618
7619 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7620
7621         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7622         methods to access it.
7623         * lyxtext.h:
7624         * text.C: Added updateRowPositions to compute all row positions.
7625         Make top_y and getRowNearY() to use the cached y position
7626
7627 2003-04-11  John Levon  <levon@movementarian.org>
7628
7629         * text.C (rowBreakPoint): reintroduce the labelEnd
7630         checks, code copied from the row fill stuff. Deep voodoo.
7631
7632         * text.C (fill): add a comment and debugging for the
7633         next poor soul.
7634
7635 2003-04-11  John Levon  <levon@movementarian.org>
7636
7637         * text.C: make sure fullrow insets get wrapped to the next line,
7638         even when they're in a manual label
7639
7640 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7641
7642         * text2.C (insertParagraph): make it take ParagraphList::iterator
7643         as arg.
7644         (setLayout): make it return ParagraphList::iterator
7645         (redoParagraphs): ditto
7646         (setCounter): ditto
7647         (checkParagraph): ditto
7648
7649         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7650
7651         * text2.C: adjust several funcs.
7652         (realizeFont): take a ParagraphList::iterator as arg.
7653         (getLayoutFont): ditto
7654         (getLabelFont): ditto
7655         (setCharFont): ditto
7656
7657         * text.C: adjust several funcs.
7658
7659 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7660
7661         * text.C (selectNextWordToSpellcheck): don't accidentally
7662         skip insets
7663
7664 2003-04-10  John Levon  <levon@movementarian.org>
7665
7666         * ToolbarBackend.C (getIcon): special handling for
7667         LFUN_MATH_DELIM
7668
7669 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7670
7671         * text2.C (cursorRight): a getChar assert fixed
7672
7673 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7674
7675         * text2.C (getFont): change to take a ParagraphList::iterator
7676         instead of Paragraph*
7677         Adjust several functions.
7678
7679         * text.C (transformChar): change to take a ParagraphList::iterator
7680         instead of Paragraph*
7681         (singleWidth): ditto
7682         Adjust several functions.
7683
7684         * rowpainter.C: adjust several functions
7685         * rowpainter.h:store a ParagraphList::iterator and not a
7686         Paragraph&.
7687
7688
7689 2003-04-09  John Levon  <levon@movementarian.org>
7690
7691         * lyxfunc.C:
7692         * lfuns.h:
7693         * LyXAction.h:
7694         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7695         and the "help" bits as well
7696
7697 2003-04-09  John Levon  <levon@movementarian.org>
7698
7699         * ToolbarBackend.h:
7700         * ToolbarBackend.C: allow multiple toolbars
7701
7702 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7703
7704         * undo_funcs.C (setCursorParUndo): adjust
7705
7706         * text_funcs.C (transposeChars): adjust
7707
7708         * text3.C (gotoNextInset): adjust
7709         (dispatch): adjust
7710
7711         * text2.C (setLayout): adjust
7712         (changeDepth): adjust
7713         (setFont): adjust
7714         (redoParagraphs): adjust
7715         (selectionAsString): adjust
7716         (setParagraph): adjust
7717         (insertInset): adjust
7718         (cutSelection): adjust
7719         (copySelection): adjust
7720         (pasteSelection): adjust
7721         (insertStringAsLines): adjust
7722         (updateInset): adjust
7723         (setCursor): change to take a ParagraphList::iterator parameter
7724         (setCursorIntern): change to take a ParagraphList::iterator parameter
7725         (setCurrentFont): adjust
7726         (cursorLeft): adjust
7727         (cursorRight): adjust
7728         (deleteEmptyParagraphMechanism): adjust
7729
7730         * text.C (breakParagraph): adjust
7731         (insertChar): adjust
7732         (acceptChange): adjust
7733         (rejectChange): adjust
7734         (selectNextWordToSpellcheck): adjust
7735         (changeCase): adjust
7736         (Delete): adjust
7737         (backspace): adjust
7738
7739         * lyxfind.C (SearchForward): adjust
7740         (SearchBackward): adjust
7741         (nextChange): adjust
7742
7743         * lyxcursor.C (par): adjust
7744
7745         * lyxcursor.h: store a ParagraphList::iterator instead of a
7746         Paragraph*
7747
7748         * lyx_cb.C (getPossibleLabel): adjust
7749
7750         * bufferview_funcs.C (toggleAndShow): adjust
7751
7752         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7753         (dispatch): adjust
7754
7755         * BufferView.C (removeAutoInsets): adjust
7756         (lockedInsetStoreUndo): adjust
7757
7758 2003-04-09  John Levon  <levon@movementarian.org>
7759
7760         * ToolbarBackend.C: try icon without argument
7761         if with argument fails
7762
7763 2003-04-08  John Levon  <levon@movementarian.org>
7764
7765         * ToolbarBackend.h:
7766         * ToolbarBackend.C: add getIcon(), handle tooltip,
7767         and change from "Icon" to "Item".
7768
7769 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7770
7771         * BufferView.C (lockInset): another bad getchar crunched
7772
7773 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7774
7775         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7776         again)
7777
7778 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7779
7780         * lyxfind.C (searchForward, searchBackwards): bug 782
7781
7782 2003-04-07  John Levon  <levon@movementarian.org>
7783
7784         * paragraph.C: remove dead comment
7785
7786         * text.C: remove troublesome depth-fiddling code
7787         in leftMargin() and rightMargin() (bug 1017)
7788
7789         * text.C: fix breaking of rows in nested lists
7790         (bug 1004)
7791
7792         * text2.C (updateCounters): fix up depth values
7793         (bug 1013)
7794
7795 2003-04-07  John Levon  <levon@movementarian.org>
7796
7797         * BufferView_pimpl.C: clear message when doc finishes resizing,
7798         and after a mouse event
7799
7800         * lyxfunc.C: clear message after exiting inset
7801
7802 2003-04-07  John Levon  <levon@movementarian.org>
7803
7804         * bufferview_funcs.C: show math status not outside
7805         status in the statusbar
7806
7807 2003-04-07  John Levon  <levon@movementarian.org>
7808
7809         * lyxfunc.C: note status changed after a depth change
7810
7811 2003-04-04  Angus Leeming  <leeming@lyx.org>
7812
7813         * LaTeX.h: move AuxInfo operator==, != out of line.
7814         Remove LaTeX virtual destructor; nothing derives from it.
7815         Move operator()() out of public area and rename it startscript().
7816         Change protected for private.
7817
7818 2003-04-04  Angus Leeming  <leeming@lyx.org>
7819
7820         * lyxfunc.C:
7821         * text2.C: remove unneeded #includes.
7822
7823 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7824
7825         * text2.C (dEPM): fix the heigth of the next row
7826
7827 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7828
7829         * text.C: squashed an invalid getChar requester + some ws changes
7830
7831 2003-04-03  John Levon  <levon@movementarian.org>
7832
7833         * bufferview_funcs.h:
7834         * bufferview_funcs.C:
7835         * lyxfunc.C:
7836         * lyxtext.h:
7837         * text2.C: make getStatus work for the env depth lfuns
7838
7839 2003-04-03  John Levon  <levon@movementarian.org>
7840
7841         * bufferview_funcs.h:
7842         * bufferview_funcs.C:
7843         * lyxfunc.C:
7844         * lyxtext.h:
7845         * text2.C: parlistize decDepth(), by merging it with incDepth()
7846
7847 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7848
7849         * lyxrow.h: store a ParagraphList::iterator instead of a
7850         Paragraph* and adjust other class functions to suit.
7851
7852         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7853         above.
7854
7855 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7856
7857         * text2.C (setCursor): do not anchor to cursor row for the time being
7858
7859 2003-04-02  John Levon  <levon@movementarian.org>
7860
7861         * LyXAction.C:
7862         * lfuns.h:
7863         * lyx_main.C:
7864         * lyxtext.h:
7865         * text.C:
7866         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7867
7868 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7869
7870         * paragraph.h: make ParagraphList and ParagraphList::iterator
7871         friends of Paragraph.
7872
7873         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7874
7875         * ParagraphList.C: Use the private next_ and previous_ from
7876         Paragraph.
7877
7878 2003-04-01  John Levon  <levon@movementarian.org>
7879
7880         * ToolbarBackend.h:
7881         * ToolbarBackend.C:
7882         * Makefile.am: rename, remove defaults gunk
7883
7884         * MenuBackend.h:
7885         * MenuBackend.C: remove defaults gunk
7886
7887         * Languages.h:
7888         * Languages.C: remove defaults gunk
7889
7890         * lyx_main.h:
7891         * lyx_main.C: error out if files couldn't be found.
7892
7893 2003-04-02  John Levon  <levon@movementarian.org>
7894
7895         * text2.C: make incDepth() use parlist
7896
7897 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7898
7899         * undo_funcs.C (firstUndoParagraph): adjust
7900
7901         * text3.C (gotoInset): adjust
7902         (dispatch): adjust, and rewrite loop.
7903
7904         * text2.C (init): adjust, and rewrite loop.
7905         (redoParagraphs): adjust
7906         (updateInset): adjust, and rewrite loop.
7907         (deleteEmptyParagraphMechanism): adjust
7908
7909         * tabular.C (LyXTabular): adjust
7910         (SetMultiColumn): adjust
7911         (TeXRow): adjust
7912
7913         * lyxtext.[Ch] (ownerParagraph): delete function
7914         (ownerParagraphs): new function returns a ParagraphList.
7915
7916         * BufferView.C (removeAutoInsets): adjust
7917         (insertErrors): adjust
7918         (setCursorFromRow): adjust
7919
7920 2003-04-01  Angus Leeming  <leeming@lyx.org>
7921
7922         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7923         in the frontends.
7924
7925 2003-04-02  John Levon  <levon@movementarian.org>
7926
7927         * lyxtext.h:
7928         * text.C:
7929         * Makefile.am:
7930         * text_funcs.h:
7931         * text_funcs.C: make transposeChars a free function
7932
7933         * lyxrow_funcs.C: remove wrong comment
7934
7935 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7936
7937         * lyxtext.h: adjust
7938         * rowpainter.C: adjust
7939         * text.C: adjust
7940         * text2.C: adjust
7941         * text3.C: adjust
7942
7943         * lyxrow_funcs. [Ch]: new files
7944
7945         * lyxrow.[Ch]: remove next and previous pointers
7946         (next,previous): remove accessor functions
7947         (isParEnd): move to lyxrow_funcs
7948         (lastPos): move to lyxrow_funcs
7949         (nextRowIsAllInset): move to lyxrow_funcs
7950         (lastPrintablePos): move to lyxrow_funcs
7951         (numberOfSeparators): move to lyxrow_funcs
7952         (numberOfHfills): move to lyxrow_funcs
7953         (numberOfLabelHfills): move to lyxrow_funcs
7954         (hfillExpansion): move to lyxrow_funcs
7955
7956         * lyxfunc.C: adjust
7957
7958         * bufferview_funcs.C (toggleAndShow): adjust
7959
7960         * RowList.h: Remove class RowList from file leave just a
7961         std::list<Row>.
7962
7963         * RowList.C: delete file
7964
7965         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7966         and lyxrow_funcs.h
7967
7968 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969
7970         * text3.C (cursorPrevious): adjust
7971         (cursorNext): adjust
7972         (dispatch): adjust
7973
7974         * text2.C (redoHeightOfParagraph): adjust
7975         (redoDrawingOfParagraph): adjust
7976         (setCursor): adjust
7977
7978         * text.C (breakParagraph): adjust
7979         (insertChar): adjust
7980         (backspace): adjust
7981
7982         * rowpainter.C (RowPainter): adjust
7983         (leftMargin): simplify and adjust
7984         (most rowpainter functions): adjust.
7985
7986         * rowpainter.h: store the row as RowList::iterator not as Row*
7987
7988         * lyxcursor.C (row): taka RowList::iterator as arg
7989         (irow): ditto
7990
7991         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7992         of Row*.
7993
7994 2003-04-01  Angus Leeming  <leeming@lyx.org>
7995
7996         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7997         stuff like bool Bool.
7998
7999 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8000
8001         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8002         rewrite a loop
8003
8004 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8005
8006         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8007         RowList::iterator.
8008
8009         * lyxtext.h (rows): drop one version and leve a const variant that
8010         returns a RowList::iterator.
8011
8012 2003-03-31  Angus Leeming  <leeming@lyx.org>
8013
8014         * text.C (fill): ensure that the signature is the same as that in the
8015         header file.
8016
8017 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8018
8019         * text2.C (redoParagraphs): adjust
8020         (updateCounters): adjust
8021         (checkParagraph): adjust
8022         (getColumnNearX): adjust and reformat a bit.
8023
8024         * text.C (top_y): adjust
8025         (workWidth): adjust
8026         (leftMargin): adjust
8027         (prepareToPrint): adjust
8028         (getRow): adjust
8029         (getRowNearY): adjust
8030
8031         * lyxtext.h: make rowlist_ mutable.
8032
8033         * RowList.h: add const_iterator
8034         * RowList.C: adjust for RowList::const_iterator.
8035
8036         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8037         adjust.
8038
8039 2003-03-31  John Levon  <levon@movementarian.org>
8040
8041         * lyxrc.h:
8042         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8043
8044         * lyx_main.C: set default fonts from using lyx_gui funcs
8045
8046         * exporter.C: pdf_mode moved from lyxrc
8047
8048         * lyx_cb.C:
8049         * lyxfunc.C: changes from above
8050
8051 2003-03-31  John Levon  <levon@movementarian.org>
8052
8053         * lyx_main.C: fix to the last fix
8054
8055 2003-03-31  John Levon  <levon@movementarian.org>
8056
8057         * bufferlist.C: "Load original" -> "Load Original"
8058
8059         * converter.C:
8060         * exporter.C:
8061         * importer.C:
8062         * lyx_main.C:
8063         * format.C: more Alert cleanups
8064
8065 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8066
8067         * text2.C (removeParagraph): make it take a RowList::iterator as
8068         arg, adjust.
8069         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8070         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8071
8072         * text.C (anchor_row): make it take a RowList::iterator as arg,
8073         adjust.
8074         (computeBidiTables): make it take a const reference to Row instead
8075         of Row pointer, adjust.
8076         (leftMargin): make it take a RowList::iterator as arg, adjust.
8077         (rowBreakPoint): adjust
8078         (breakAgainOneRow): make it take a RowList::iterator as arg,
8079         adjust.
8080         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8081
8082         * bufferview_funcs.C (toggleAndShow): adjust
8083
8084 2003-03-30  John Levon  <levon@movementarian.org>
8085
8086         * Makefile.am:
8087         * BoostFormat.h:
8088         * boost-inst.C: moved to support
8089
8090         * several files: changes as a result
8091
8092 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8093
8094         * text2.C (LyXText): adjust.
8095         (init): adjust
8096         (removeRow): make it take a RowList::iterator as arg, adjust.
8097         (fullRebreak): adjust
8098         (deleteEmptyParagraphMechanism): adjust
8099         (clearPaint): adjust
8100         (postPaint): adjust
8101
8102         * text.C (top_y): adjust
8103         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8104         (breakAgain): make it take a RowList::iterator as arg, adjust.
8105         (breakParagraph): adjust
8106         (insertChar): adjust
8107         (backspace): adjust
8108
8109         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8110         need_break_row, and refresh_row.
8111
8112         * text3.C (dispatch): adjust
8113
8114         * text2.C (checkParagraph): adjust
8115         (setCursor): adjust
8116         (setCursorFromCoordinates): adjust
8117
8118         * text.C (top_y): adjust
8119         (workWidth): adjust
8120         (getRow): make it return a RowList::iterator, adjust
8121         (getRowNearY): make it return a RowList::iterator, adjust
8122
8123         * text2.C (init): adjust
8124         (insertRow): remove function
8125         (insertParagraph): adjust
8126         (redoParagraphs): adjust
8127         (fullRebreak): adjust
8128         (updateCounters): adjust
8129
8130         * text.C (top_y): rewrite to use RowList iterators.
8131         (top_y): adjust
8132         (setHeightOfRow): rewrite to sue RowList iterators.
8133         (appendParagraph): adjust
8134         (breakAgain): adjust
8135         (breakAgainOneRow): adjust
8136         (breakParagraph): adjust
8137         (getRow): adjust
8138         (getRowNearY): adjust, and remove commented code.
8139
8140         * lyxtext.h (firstRow): delete function
8141         (lastRow): delete function
8142         (rows): new function (const and non-const versions.)
8143         (insertRow): delete function
8144
8145         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8146
8147 2003-03-29  John Levon  <levon@movementarian.org>
8148
8149         * BufferView_pimpl.C: always update scrollbar top
8150         because pasting text when we're anchored could mean we
8151         miss an update altogether
8152
8153 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8154
8155         * text2.C (init): use rowlist_.end() and not 0.
8156         (insertRow): change to take a RowList::iterator as arg, adjust
8157         for this.
8158         (insertParagraph): change to take a RowList::iterator as arg,
8159         adjust for this.
8160         (redoParagraphs): remove some debug msgs.
8161
8162         * text.C (appendParagraph): change to take a RowList::iterator
8163         arg, adjust for this.
8164         (breakAgain): add an assert
8165         (breakAgainOneRow): ditto
8166
8167 2003-03-29  John Levon  <levon@movementarian.org>
8168
8169         * text2.C: do not clear selection after inc/decDepth
8170         (bug 550)
8171
8172 2003-03-29  John Levon  <levon@movementarian.org>
8173
8174         * BufferView.C:
8175         * buffer.C: fix broken strerrors according to Lars
8176
8177 2003-03-29  John Levon  <levon@movementarian.org>
8178
8179         * converters.C: more Alert cleanups
8180
8181 2003-03-29  John Levon  <levon@movementarian.org>
8182
8183         * bufferview_funcs.C: remove pointless Alert
8184
8185         * buffer.C: fix confusing error message when
8186         a template is chmoded 000
8187
8188 2003-03-29  John Levon  <levon@movementarian.org>
8189
8190         * BufferView.C:
8191         * BufferView.h:
8192         * BufferView_pimpl.C: Alert fixes
8193
8194         * Makefile.am:
8195         * tabular.C:
8196         * tabular-old.C: remove unused table compat reading
8197
8198 2003-03-29  John Levon  <levon@movementarian.org>
8199
8200         * BufferView.C:
8201         * buffer.C:
8202         * lyx_cb.h:
8203         * lyx_cb.C: more Alert cleanups
8204
8205         * lyxfunc.C: don't allow chktex if not latex document
8206
8207 2003-03-29  John Levon  <levon@movementarian.org>
8208
8209         * lyx_cb.C:
8210         * BufferView.C:
8211         * buffer.C: warnings pushed down from support/,
8212         kill err_alert
8213
8214 2003-03-29  John Levon  <levon@movementarian.org>
8215
8216         * lyxfunc.C: safety check for C-r (revert)
8217
8218 2003-03-29  John Levon  <levon@movementarian.org>
8219
8220         * bufferlist.h:
8221         * bufferlist.C: several UI fixes using Alert::prompt.
8222         Fix the pointless looping quit code. Fix stupid revert
8223         behaviour (bug 938)
8224
8225         * lyxvc.h:
8226         * lyxvc.C:
8227         * lyx_cb.C: use Alert::prompt
8228
8229         * lyx_main.C: remove a silly question
8230
8231         * lyxfunc.C: remove a couple of silly questions,
8232         use Alert::prompt
8233
8234 2003-03-28  John Levon  <levon@movementarian.org>
8235
8236         * text2.C: fix bug 974 (End on empty par)
8237
8238 2003-03-28  John Levon  <levon@movementarian.org>
8239
8240         * BufferView_pimpl.C:
8241         * LyXAction.C:
8242         * lfuns.h: remove do-nothing math greek lfuns
8243
8244 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * lyxgluelength.h (isValidGlueLength): add default arg on
8247         parameter 2. Remove default arg from friend in class.
8248
8249         * lyxlength.h (isValidLength): add default arg on parameter 2.
8250         Remove default arg from friend in class.
8251
8252         * text2.C (LyXText): adjust, initialize refresh_row.
8253         (init): adjust
8254         (removeRow): adjust
8255         (insertRow): adjust
8256         (insertParagraph): adjst
8257         (redoParagraphs): adjust
8258         (fullRebreak): adjust
8259         (updateCounters): adjust
8260         (deleteEmptyParagraphMechanism): first attempt at fixing a
8261         crashing bug.
8262
8263         * text.C (top_y): adjust
8264         (setHeightOfRow): adjust
8265         (getRow): adjust
8266         (getRowNearY): adjust
8267
8268         * lyxtext.h: include RowList.h
8269         (~LyXText): not needed anymore, deleted.
8270         (firstRow): modify for RowList
8271         (lastRow): new function
8272         Delete firstrow and lastrow class variables, add a Rowlist
8273         rowlist_ class variable.
8274
8275         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8276         paragraph is empty.
8277
8278         * RowList.C (insert): fix case where it == begin().
8279
8280 2003-03-26  Angus Leeming  <leeming@lyx.org>
8281
8282         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8283         the thesaurus dialog.
8284
8285 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8286
8287         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8288
8289         * RowList.[Ch]: new files
8290
8291         * ParagraphList.C (erase): handle the case where it == begin
8292         correctly.
8293
8294 2003-03-25  John Levon  <levon@movementarian.org>
8295
8296         * Makefile.am:
8297         * aspell_local.h:
8298         * aspell.C: add new aspell support
8299
8300         * lyxrc.h:
8301         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8302         have it accessible.
8303
8304 2003-03-25  Angus Leeming  <leeming@lyx.org>
8305
8306         * lfuns.h:
8307         * LyXAction.C (init): new LFUN_INSET_INSERT.
8308
8309         * BufferView_pimpl.C (dispatch): split out part of the
8310         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8311
8312         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8313         LFUN_INSET_APPLY.
8314
8315 2003-03-25  Angus Leeming  <leeming@lyx.org>
8316
8317         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8318
8319 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8320
8321         * text2.C:
8322         * text3.C: remove useless row->height(0)
8323
8324 2003-03-25  John Levon  <levon@movementarian.org>
8325
8326         * lyxtext.h:
8327         * text2.C:
8328         * text3.C: rename the refreshing stuff to better names
8329
8330 2003-03-24  John Levon  <levon@movementarian.org>
8331
8332         * BufferView_pimpl.h:
8333         * BufferView_pimpl.C: update layout choice on a mouse
8334         press/release
8335
8336 2003-03-23  John Levon  <levon@movementarian.org>
8337
8338         * Makefile.am: fix commandtags.h reference
8339
8340 2003-03-22  John Levon  <levon@movementarian.org>
8341
8342         * BufferView_pimpl.C:
8343         * lyxtext.h:
8344         * rowpainter.C:
8345         * rowpainter.h:
8346         * text.C:
8347         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8348
8349 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8350
8351         * lyxtext.h:
8352         * text.C: take the rtl methods out of line
8353
8354 2003-03-21 André Pönitz <poenitz@gmx.net>
8355
8356         * metricsinfo.[Ch]: new files containing structures to be passed around
8357         during the two-phase-drawing...
8358
8359 2003-03-21 André Pönitz <poenitz@gmx.net>
8360
8361         * lyxtextclass.C: read 'environment' tag.
8362
8363 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8364
8365         * text2.C (removeRow): fix bug 964
8366
8367 2003-03-20  John Levon  <levon@movementarian.org>
8368
8369         * rowpainter.C:
8370         * text.C:
8371         * text2.C: paint cleanups. Inset::update() dropped font
8372         parameter
8373
8374 2003-03-19  John Levon  <levon@movementarian.org>
8375
8376         * lyxfunc.C: only fitcursor/markDirty if available()
8377
8378 2003-03-19  John Levon  <levon@movementarian.org>
8379
8380         * commandtags.h: rename to ...
8381
8382         * lfuns.h: ... this, and renumber / cleanup
8383
8384 2003-03-19  John Levon  <levon@movementarian.org>
8385
8386         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8387         fit the cursor after an lfun
8388
8389         * BufferView.h:
8390         * BufferView.C:
8391         * BufferView_pimpl.h:
8392         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8393
8394         * LyXAction.C: layout-character should have ReadOnly
8395
8396         * ParagraphParameters.C:
8397         * buffer.C:
8398         * bufferview_funcs.C:
8399         * lyx_cb.C:
8400         * lyxfind.C:
8401         * lyxtext.h:
8402         * text.C:
8403         * text2.C:
8404         * text3.C:
8405         * undo_funcs.C: changes from above
8406
8407 2003-03-18  John Levon  <levon@movementarian.org>
8408
8409         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8410         remove it from update()
8411
8412         * lyxfunc.C: update layout choice after an lfun
8413
8414         * text3.C: remove extra updateLayoutChoice()s
8415
8416 2003-03-18  John Levon  <levon@movementarian.org>
8417
8418         * text.C: top_y change means full repaint, fix
8419         a drawing bug with cursor movement
8420
8421 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8422
8423         * lyxtext.h:
8424         * text.C:
8425         * text2.C: anchor row on setCursor
8426
8427 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8428
8429         * lyxtext.h: remove almost all mutable keywords
8430         * text.C:
8431         * text2.C:
8432         * text3.C: remove const keywords accordingly
8433
8434 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8435
8436         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8437         anon namespace
8438         (TeXEnvironment): ditto
8439         (TeXOnePar): ditto
8440
8441 2003-03-17  John Levon  <levon@movementarian.org>
8442
8443         * text.C (rowBreakPoint): remove attempt to fix displayed
8444         math insets inside a manual label
8445
8446 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8447
8448         * lyxtext.h: remove BufferView* as first arg from almost all class
8449         functions.
8450         * other files: adjust.
8451
8452 2003-03-17  John Levon  <levon@movementarian.org>
8453
8454         * lyxtext.h:
8455         * undo_funcs.C:
8456         * text2.C: more paint cleanups
8457
8458         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8459
8460         * rowpainter.h:
8461         * rowpainter.C: remove "smart" background painting code
8462
8463 2003-03-16  John Levon  <levon@movementarian.org>
8464
8465         * lyxtext.h:
8466         * text.C:
8467         * text2.C:
8468         * text3.C: add helper functions for setting refresh_row/y
8469
8470 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8471
8472         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8473         newline inset which *can* get inserted in the pass_thru layouts.
8474         This is primarily for literate documents.
8475
8476 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8477
8478         * buffer.C: increment LYX_FORMAT to 223
8479
8480 2003-03-14 André Pönitz <poenitz@gmx.net>
8481
8482         * textclass.h: prepare for environment handling, ws changes
8483         * lyxlayout.C: read latexheader and latexfooter tags
8484
8485 2003-03-14  John Levon  <levon@movementarian.org>
8486
8487         * text2.C: rewrite ::status() a bit
8488
8489 2003-03-13  John Levon  <levon@movementarian.org>
8490
8491         * lyxtext.h: add some docs
8492
8493 2003-03-13  John Levon  <levon@movementarian.org>
8494
8495         * lyxtext.h:
8496         * text.C:
8497         * text2.C:
8498         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8499
8500 2003-03-13  John Levon  <levon@movementarian.org>
8501
8502         * text3.C: fix appendix redrawing
8503
8504 2003-03-13  John Levon  <levon@movementarian.org>
8505
8506         * text.C (setHeightOfRow):
8507         * rowpainter.h:
8508         * rowpainter.C: make appendix mark have the text
8509           "Appendix" so the user knows what it is
8510
8511         * LColor.h:
8512         * LColor.C: s/appendixline/appendix/ from above
8513
8514 2003-03-13  John Levon  <levon@movementarian.org>
8515
8516         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8517
8518         * text.C: fix a getChar(pos) bug properly
8519
8520 2003-03-13  Angus Leeming  <leeming@lyx.org>
8521
8522         * commandtags.h:
8523         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8524         Probably only temporary. Let's see how things pan out.
8525
8526         * BufferView.C (unlockInset):
8527         * BufferView_pimpl.C (fitCursor):
8528         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8529
8530         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8531         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8532
8533         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8534         new functions that convert ParagraphParameters to and from a string.
8535
8536         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8537         BufferView::Pimpl's dispatch.
8538         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8539
8540 2003-03-13 André Pönitz <poenitz@gmx.net>
8541
8542         * lyxfunc.C:
8543         * text3.C:
8544         * factory.C: make it aware of InsetEnv
8545
8546 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8547
8548         * text2.C (setCursor): never ask for one past last
8549         (setCursor): add some debugging messages.
8550
8551         * text.C (singleWidth): never ask for one past last
8552         (singleWidth): ditto
8553         (leftMargin): ditto
8554         (rightMargin): ditto
8555         (rowBreakPoint): ditto
8556         (setHeightOfRow): ditto
8557         (prepareToPrint): ditto
8558
8559         * rowpainter.C (paintBackground): never ask for one past last
8560         (paintText): never ask for one past last
8561
8562         * paragraph_pimpl.C (getChar): make the assert stricter, never
8563         allow the one past last pos to be taken
8564
8565         * paragraph.C (getChar): ws changes only
8566
8567         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8568         (numberOfSeparators): ditto
8569         (numberOfHfills): ditto
8570
8571 2003-03-12  John Levon  <levon@movementarian.org>
8572
8573         * author.h:
8574         * author.C:
8575         * bufferparams.h:
8576         * bufferparams.C:
8577         * paragraph_funcs.C: fix per-buffer authorlists
8578
8579 2003-03-12  John Levon  <levon@movementarian.org>
8580
8581         * text.C: fix newline in right address
8582
8583 2003-03-12  Angus Leeming  <leeming@lyx.org>
8584
8585         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8586         duplicate those in LyXFunc::dispatch.
8587
8588         * commandtags.h:
8589         * LyXAction.C:
8590         * ToolbarDefaults.C:
8591         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8592         Add LFUN_FONTFREE_UPDATE.
8593
8594         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8595         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8596
8597         * bufferview_func.[Ch]: several new functions to facilliate
8598         transfer of data to and from the character dialog.
8599
8600 2003-03-12  John Levon  <levon@movementarian.org>
8601
8602         * buffer.C:
8603         * paragraph.h:
8604         * paragraph.C:
8605         * paragraph_funcs.C:
8606         * paragraph_pimpl.C:
8607         * sgml.C:
8608         * tabular.C:
8609         * text.C:
8610         * text3.C: remove META_NEWLINE in favour of an inset
8611
8612         * rowpainter.h:
8613         * rowpainter.C: remove paintNewline (done by inset)
8614
8615 2003-03-12  John Levon  <levon@movementarian.org>
8616
8617         * paragraph_pimpl.C: complain about bad getChar()s
8618         for a while at least
8619
8620 2003-03-12  John Levon  <levon@movementarian.org>
8621
8622         * buffer.h:
8623         * buffer.C: move paragraph read into a separate function,
8624         a little renaming to reflect that.
8625
8626         * bufferparams.h:
8627         * bufferparams.C: remove the author_ids map, not necessary now
8628
8629         * factory.h:
8630         * factory.C: moved Buffer::readInset to here
8631
8632         * paragraph_funcs.h:
8633         * paragraph_funcs.C: readParagraph free function moved from
8634         buffer.C
8635
8636         * tabular.C: name change
8637
8638 2003-03-12  John Levon  <levon@movementarian.org>
8639
8640         * buffer.C:
8641         * ParagraphParameters.C: move par params input to
8642         a read() method
8643
8644         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8645         behave like a normal read from the stream wrt reading
8646         a line vs. a \\token
8647
8648 2003-03-12  John Levon  <levon@movementarian.org>
8649
8650         * paragraph.C:
8651         * ParagraphParameters.h:
8652         * ParagraphParameters.C: move output code to a
8653         ::write() method
8654
8655 2003-03-12  John Levon  <levon@movementarian.org>
8656
8657         * BufferView.C (insertLyXFile):
8658         * buffer.h:
8659         * buffer.C:
8660         * tabular.C: use a parlist iterator for creating the
8661           document.
8662
8663 2003-03-12  John Levon  <levon@movementarian.org>
8664
8665         * buffer.C: make current_change static local not
8666           static file-scope
8667
8668 2003-03-12  John Levon  <levon@movementarian.org>
8669
8670         * buffer.C: fix insertStringAsLines for change tracking
8671
8672 2003-03-12  John Levon  <levon@movementarian.org>
8673
8674         * BufferView.C:
8675         * tabular.C:
8676         * buffer.h:
8677         * buffer.C:
8678         * bufferparams.h:
8679         * bufferparams.C: move author list into params. Rename some
8680           functions. Move the header reading into a separate token
8681           loop. Move the header token reading into BufferParams.
8682
8683 2003-03-12  John Levon  <levon@movementarian.org>
8684
8685         * changes.C: put debug inside lyxerr.debugging() checks
8686
8687 2003-03-11 André Pönitz <poenitz@gmx.net>
8688
8689         * factory.C: make it aware of InsetHFill
8690
8691 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8692
8693         * buffer.C (latexParagraphs): move function from here...
8694         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8695         args.
8696
8697 2003-03-10  Angus Leeming  <leeming@lyx.org>
8698
8699         * LyXAction.C (init): fix bug in poplating array with multiple entries
8700         with the same LFUN (spotted by JMarc).
8701
8702 2003-03-10  John Levon  <levon@movementarian.org>
8703
8704         * text.C:
8705         * text2.C: move getColumnNearX() near its
8706         only call site
8707
8708 2003-03-10  John Levon  <levon@movementarian.org>
8709
8710         * text.C: fix break before a minipage
8711
8712 2003-03-10  John Levon  <levon@movementarian.org>
8713
8714         * text.C: fix the last commit
8715
8716 2003-03-09  John Levon  <levon@movementarian.org>
8717
8718         * lyxtext.h:
8719         * text.C:
8720         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8721         bug 365 (don't break before insets unless needed). Don't
8722         return a value > last under any circumstances.
8723
8724 2003-03-09  Angus Leeming  <leeming@lyx.org>
8725
8726         * BufferView_pimpl.C (trackChanges, dispatch): call
8727         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8728
8729 2003-03-09  Angus Leeming  <leeming@lyx.org>
8730
8731         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8732         than Dialogs::showAboutlyx().
8733
8734 2003-03-09  Angus Leeming  <leeming@lyx.org>
8735
8736         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8737         than Dialogs::showTabularCreate().
8738
8739 2003-03-09  John Levon  <levon@movementarian.org>
8740
8741         * lyxtext.h:
8742         * text.C:
8743         * text2.C: 3rd arg to nextBreakPoint was always the same.
8744           Use references.
8745
8746 2003-03-08  John Levon  <levon@movementarian.org>
8747
8748         * lyxrow.C:
8749         * paragraph.C:
8750         * paragraph.h:
8751         * rowpainter.C:
8752         * text.C:
8753         * text2.C: Remove the "main" bit from the "main body"
8754           notion.
8755
8756 2003-03-08  John Levon  <levon@movementarian.org>
8757
8758         * text.C (leftMargin): The left margin of an empty
8759         manual label paragraph should not include the label width
8760         string length.
8761
8762         * text.C (prepareToPrint): don't attempt to measure hfills
8763         for empty manual label paragraphs - the answer should be 0
8764
8765 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8766
8767         * CutAndPaste.C: remove commented code and reindent.
8768
8769 2003-03-08  John Levon  <levon@movementarian.org>
8770
8771         * lyxfunc.h:
8772         * lyxfunc.C: move reloadBuffer()
8773
8774         * BufferView.h:
8775         * BufferView.C: to here
8776
8777         * lyxvc.C: add comment
8778
8779         * vc-backend.h:
8780         * vc-backend.C: call bv->reload() to avoid
8781           getStatus() check on MENURELOAD
8782
8783 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8784
8785         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8786         to an old format .dep file.
8787
8788 2003-03-07  Angus Leeming  <leeming@lyx.org>
8789
8790         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8791         when the LFUN_MOUSE_RELEASE should have been handled by
8792         inset->localDispatch.
8793
8794 2003-03-07  Angus Leeming  <leeming@lyx.org>
8795
8796         * BufferView_pimpl.C (dispatch):
8797         * LyXAction.C (init):
8798         * ToolbarDefaults.C (init):
8799         * commandtags.h:
8800         * lyxfunc.C (getStatus):
8801         remove LFUN_INSET_GRAPHICS.
8802
8803         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8804
8805 2003-03-07  Angus Leeming  <leeming@lyx.org>
8806
8807         * commandtags.h:
8808         * LyXAction.C (init):
8809         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8810
8811         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8812
8813         * commandtags.h:
8814         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8815
8816         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8817         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8818
8819 2003-03-07  Angus Leeming  <leeming@lyx.org>
8820
8821         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8822         remove "ert".
8823
8824 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8825
8826         * ParagraphList.C (front): new function
8827         (back): implement
8828
8829 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8830
8831         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8832         and top_row_offset_. removed var first_y.
8833         * text.C (top_y):
8834         * text2.C (LyXText, removeRow):
8835         * text3.C:
8836         * BufferView_pimpl.C:
8837         use these methods instead of using first_y
8838
8839 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8840
8841         * text2.C (pasteSelection): adjust for checkPastePossible
8842
8843         * CutAndPaste.C: remove Paragraph * buf and replace with
8844         ParagraphList paragraphs.
8845         (DeleteBuffer): delete
8846         (cutSelection): change the tc type to textclass_type
8847         (copySelection): change the tc type to textclass_type
8848         (copySelection): adjust for ParagraphList
8849         (pasteSelection): change the tc type to textclass_type
8850         (pasteSelection): adjust for Paragraphlist
8851         (nrOfParagraphs): simplify for ParagraphList
8852         (checkPastePossible): simplify for ParagraphList
8853         (checkPastePossible): remove unused arg
8854
8855         * ParagraphList.C (insert): handle the case where there are no
8856         paragraphs yet.
8857
8858         * CutAndPaste.h: make CutAndPaste a namespace.
8859
8860         * text3.C (dispatch): adjust
8861
8862         * text.C (breakParagraph): add a ParagraphList as arg
8863
8864         * paragraph_funcs.C (breakParagraph): change to take a
8865         BufferParams and a ParagraphList as args.
8866         (breakParagraphConservative): ditto
8867         (mergeParagraph): ditto
8868         (TeXDeeper): add a ParagraphList arg
8869         (TeXEnvironment): ditto
8870         (TeXOnePar): ditto
8871
8872         * buffer.C (readLyXformat2): adjust
8873         (insertStringAsLines): adjust
8874         (latexParagraphs): adjust
8875
8876         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8877         (cutSelection): adjust
8878         (pasteSelection): adjust
8879
8880         * BufferView_pimpl.C (insertInset): adjust
8881
8882 2003-03-05  Angus Leeming  <leeming@lyx.org>
8883
8884         * commandtags.h:
8885         * LyXAction.C (init):
8886         * BufferView_pimpl.C (dispatch):
8887         * lyxfunc.C (getStatus):
8888         remove LFUN_CHILD_INSERT.
8889
8890         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8891
8892 2003-03-05  Angus Leeming  <leeming@lyx.org>
8893
8894         * commandtags.h:
8895         * LyXAction.C (init):
8896         * src/factory.C (createInset):
8897         * lyxfunc.C (getStatus):
8898         * text3.C (dispatch):
8899         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8900
8901         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8902
8903 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8904
8905         * ParagraphList.C (insert): handle insert right before end()
8906         (erase): fix cases where it can be first or last paragraph.
8907
8908 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8909
8910         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8911         Paragraph::next and Paragraph::previous
8912         (TeXOnePar): ditto
8913
8914         * text.C (breakParagraph): adjust
8915
8916         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8917         BufferParams& as arg.
8918         (breakParagraph): use ParagraphList::insert
8919         (breakParagraphConservative): take a Buffer* instead of a
8920         BufferParams& as arg.
8921         (breakParagraphConservative): use ParagraphList::insert.
8922
8923         * buffer.C (insertStringAsLines): un-const it
8924         (insertStringAsLines): adjust
8925
8926         * ParagraphList.C (insert): new function
8927
8928         * CutAndPaste.C (pasteSelection): adjust
8929
8930         * text.C (backspace): adjust
8931
8932         * tabular.C (SetMultiColumn): adjust
8933
8934         * CutAndPaste.C (cutSelection): adjust
8935         (pasteSelection): adjust
8936
8937         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8938         Buffer const * as arg
8939
8940         * ParagraphList.C (erase): new function
8941         * paragraph_funcs.C (mergeParagraph): use it
8942         (mergeParagraph): make it take a Buffer* instead of a
8943         BufferParams* as arg
8944
8945         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8946         as arg
8947         (breakParagraphConservative): ditto
8948
8949         * paragraph.h: remove the breakParagraph friend
8950
8951         * paragraph.C (eraseIntern): new function
8952         (setChange): new function
8953
8954         * paragraph_funcs.C (mergeParagraph): make it take a
8955         ParagraphList::iterator instead of a Paragraph *, adjust
8956         accordingly.
8957
8958         * paragraph.h: move an #endif so that the change tracking stuff
8959         also works in the NO_NEXT case.
8960
8961 2003-03-04  Angus Leeming  <leeming@lyx.org>
8962
8963         * commandtags.h:
8964         * LyXAction.C: new LFUN_INSET_MODIFY.
8965
8966         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8967         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8968
8969 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8970
8971         * several files: ws changes only
8972
8973         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8974         (TeXEnvironment): ditto
8975         (TeXDeeper): ditto
8976
8977         * buffer.C (makeLaTeXFile): adjust
8978         (latexParagraphs): make it take ParagraphList::iterator as args
8979
8980 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8981
8982         * buffer.C (latexParagraphs): adjust
8983
8984         * paragraph.C (TeXOnePar): move function...
8985         (optArgInset): move function...
8986         (TeXEnvironment): move function...
8987         * paragraph_pimpl.C (TeXDeeper): move function...
8988         * paragraph_funcs.C: ...here
8989
8990         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8991
8992 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8993
8994         * buffer.C (readInset): remove compability code for old Figure and
8995         InsetInfo insets
8996
8997 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8998
8999         * buffer.C: ws changes
9000         (readInset):
9001
9002         * BufferView_pimpl.C: ditto
9003         * author.C: ditto
9004         * buffer.h: ditto
9005         * bufferlist.h: ditto
9006         * changes.h: ditto
9007         * lyxfunc.C: ditto
9008
9009 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9010
9011         * converter.[Ch]: split into itself +
9012         * graph.[Ch]
9013         * format.[Ch]
9014         * Makefile.am: += graph.[Ch] + format.[Ch]
9015         * MenuBackend.C
9016         * buffer.C
9017         * exporter.C
9018         * importer.C
9019         * lyx_main.C
9020         * lyxfunc.C
9021         * lyxrc.C: added #include "format.h"
9022
9023 2003-02-27  Angus Leeming  <leeming@lyx.org>
9024
9025         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9026           a label.
9027
9028         * factory.C (createInset): add "label" to the factory.
9029
9030         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9031           string and do no more.
9032
9033 2003-02-27  Angus Leeming  <leeming@lyx.org>
9034
9035         * commandtags.h:
9036         * LyXAction.C (init):
9037         * factory.C (createInset):
9038         * BufferView_pimpl.C (dispatch):
9039           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9040
9041         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9042
9043         * lyxfunc.C (dispatch):
9044         * text3.C (dispatch): pass name to params2string.
9045
9046 2003-02-26  Angus Leeming  <leeming@lyx.org>
9047
9048         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9049           blocks together.
9050           Rearrange the ~includes. Strip out the unnecessary ones.
9051
9052         * factory.C (createInset): reformat.
9053           create new insets for the various LFUN_XYZ_APPLY lfuns.
9054
9055 2003-02-26  John Levon  <levon@movementarian.org>
9056
9057         * lyxrow.h:
9058         * lyxrow.C: add isParStart,isParEnd helpers
9059
9060         * paragraph.h: make isInserted/DeletedText take refs
9061
9062         * paragraph_funcs.h:
9063         * paragraph_funcs.C: remove #if 0'd code
9064
9065         * lyxtext.h:
9066         * text3.C:
9067         * text2.C:
9068         * text.C: use lyxrow helpers above.
9069           Move draw and paint routines to RowPainter.
9070           Make several methods use refs not pointers.
9071           Make backgroundColor() const.
9072           Add markChangeInDraw(), isInInset().
9073           Merge changeRegionCase into changeCase.
9074           Make workWidth() shouldn't-happen code into an Assert.
9075
9076         * rowpainter.h:
9077         * rowpainter.C: new class for painting a row.
9078
9079         * vspace.h:
9080         * vspace.C: make inPixels take a ref
9081
9082 2003-02-26  Angus Leeming  <leeming@lyx.org>
9083
9084         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9085         LFUN_REF_APPLY.
9086
9087 2003-02-25  John Levon  <levon@movementarian.org>
9088
9089         * ispell.C: give the forked command a more accurate name
9090
9091 2003-02-22  John Levon  <levon@movementarian.org>
9092
9093         * toc.h:
9094         * toc.C: make TocItem store an id not a Paragraph *
9095           (bug #913)
9096
9097 2003-02-21  Angus Leeming  <leeming@lyx.org>
9098
9099         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9100           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9101           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9102           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9103           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9104           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9105
9106         * BufferView_pimpl.C (dispatch):
9107         * LyXAction.C (init):
9108         * factory.C (createInset):
9109         * lyxfunc.C (getStatus, dispatch):
9110         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9111
9112 2003-02-21  Angus Leeming  <leeming@lyx.org>
9113
9114         * BufferView_pimpl.C (MenuInsertLyXFile):
9115         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9116         * lyxfunc.C (menuNew, open, doImport):
9117           no longer pass a LyXView & to fileDlg.
9118
9119 2003-02-21  Angus Leeming  <leeming@lyx.org>
9120
9121         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9122         * LyXAction.C: change, BIBKEY to BIBITEM.
9123         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9124         Change InsetBibKey to InsetBibitem.
9125         Change BIBKEY_CODE to BIBITEM_CODE.
9126         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9127         * factory.C: replace insetbib.h with insetbibitem.h.
9128         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9129         * paragraph.C: replace insetbib.h with insetbibitem.h.
9130         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9131         Change bibkey() to bibitem().
9132         * text.C: remove insetbib.h.
9133         * text2.C: replace insetbib.h with insetbibitem.h.
9134         change bibkey() to bibitem().
9135         * text3.C: remove insetbib.h.
9136         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9137
9138 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9139
9140         * lyxrc.C (output): enclose user email in quotes (in case there are
9141         several words)
9142
9143 2003-02-18  John Levon  <levon@movementarian.org>
9144
9145         * buffer.h: add std::
9146
9147 2003-02-17  John Levon  <levon@movementarian.org>
9148
9149         * SpellBase.h:
9150         * ispell.h:
9151         * ispell.C:
9152         * pspell.h:
9153         * pspell.C: reworking. Especially in ispell, a large
9154           number of clean ups and bug fixes.
9155
9156         * lyxfunc.C: fix revert to behave sensibly
9157
9158 2003-02-17 André Pönitz <poenitz@gmx.net>
9159
9160         * LyXAction.C:
9161         * commandtags.h: new LFUN_INSERT_BIBKEY
9162
9163         * layout.h:
9164         * lyxlayout.C:
9165         * buffer.C:
9166         * factory.C:
9167         * text.C:
9168         * text2.C:
9169         * text3.C:
9170         * paragraph.[Ch]:
9171         * paragraph_func.C: remove special bibkey handling
9172
9173 2003-02-17  John Levon  <levon@movementarian.org>
9174
9175         * text.C (Delete): fix case where delete at the end of
9176           the very first paragraph would not merge the pars
9177
9178 2003-02-17  John Levon  <levon@movementarian.org>
9179
9180         * lyxrow.C: fix lastPrintablePos()
9181
9182 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9183
9184         * bufferparams.C (writeLaTeX): add a std:here
9185
9186         * buffer.C: and remove a using directive there
9187
9188 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9189
9190         * buffer.C (makeLaTeXFile): move the code that generates the
9191           preamble...
9192
9193         * bufferparams.C (writeLaTeX): ... in this new method
9194
9195         * LaTeXFeatures.C (getEncodingSet): make const
9196           (getLanguages): make const
9197
9198         * MenuBackend.C (binding): returns the binding associated to this
9199           action
9200           (add): sets the status of each item by calling getStatus. Adds
9201           some intelligence.
9202           (read): add support for OptSubMenu
9203           (expand): remove extra separator at the end of expanded menu
9204
9205 2003-02-15  John Levon  <levon@movementarian.org>
9206
9207         * BufferView.C:
9208         * BufferView_pimpl.C:
9209         * bufferlist.h:
9210         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9211           inset code that had no actual effect. Remove unneeded status
9212           code.
9213
9214 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9215
9216         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9217           in preamble
9218
9219 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9220
9221         * text.C (drawLengthMarker): also draw an arrow marker for
9222           symbolic lengths (medskip...)
9223
9224 2003-02-14  John Levon  <levon@movementarian.org>
9225
9226         * tabular.h:
9227         * tabular.C: better method names
9228
9229 2003-02-14  John Levon  <levon@movementarian.org>
9230
9231         * BufferView_pimpl.C:
9232         * bufferlist.C:
9233         * buffer.C:
9234         * converter.C:
9235         * lyx_cb.C:
9236         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9237           it's a more accurate name. Remove some pointless uses.
9238
9239 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9240
9241         * text2.C (LyXText): change order of initilizers to shut off
9242           warnings
9243
9244 2003-02-14  John Levon  <levon@movementarian.org>
9245
9246         * buffer.C: use ParIterator for getParFromID()
9247
9248         * paragraph.h:
9249         * paragraph.C:
9250         * paragraph_pimpl.h:
9251         * paragraph_pimpl.C: remove unused getParFromID()
9252
9253 2003-02-14  John Levon  <levon@movementarian.org>
9254
9255         * buffer.C: remove some very old #if 0'd parse code
9256
9257 2003-02-13  John Levon  <levon@movementarian.org>
9258
9259         * text.h:
9260         * text.C:
9261         * text2.C: move hfillExpansion(), numberOfSeparators(),
9262           rowLast(), rowLastPrintable(), numberofHfills(),
9263           numberOfLabelHfills() ...
9264
9265         * lyxrow.h:
9266         * lyxrow.C: ... to member functions here.
9267
9268         * paragraph.h:
9269         * paragraph.C:
9270         * lyxtext.h:
9271         * text.C: remove LyXText::beginningOfMainBody(), and call
9272           p->beginningOfMainBody() directly. Move the check for
9273           LABEL_MANUAL into the latter.
9274
9275         * text.h:
9276         * text.C:
9277         * text2.C:
9278         * vspace.C:
9279         * BufferView.h:
9280         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9281
9282         * text.h:
9283         * text.C:
9284         * text2.C:
9285         * text3.C:
9286         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9287           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9288
9289 2003-02-13  John Levon  <levon@movementarian.org>
9290
9291         * CutAndPaste.C: remove debug
9292
9293 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9294
9295         * paragraph.C (asString): remove two unused variables
9296
9297         * lyxtextclass.C (readTitleType):
9298           (Read):
9299           (LyXTextClass): handle new members titletype_ and titlename_
9300
9301         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9302
9303 2003-02-09  John Levon  <levon@movementarian.org>
9304
9305         * buffer.h:
9306         * buffer.C: replace hand-coded list with a map for the dep clean
9307
9308 2003-02-08  John Levon  <levon@movementarian.org>
9309
9310         * LaTeX.C: consolidate code into showRunMessage() helper
9311
9312 2003-02-08  John Levon  <levon@movementarian.org>
9313
9314         * lyxfind.C:
9315         * lyxtext.h:
9316         * text2.C:
9317         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9318           and pass the size in explicitly
9319
9320         * BufferView_pimpl.h:
9321         * BufferView_pimpl.C:
9322         * BufferView.h:
9323         * BufferView.C: add getCurrentChange()
9324
9325         * BufferView_pimpl.h:
9326         * BufferView_pimpl.C: handle change lfuns
9327
9328         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9329           for changes. Mark pasted paragraphs as new.
9330
9331         * support/lyxtime.h:
9332         * support/lyxtime.C:
9333         * DepTable.C: abstract time_t as lyx::time_type
9334
9335         * LColor.h:
9336         * LColor.C: add colours for new text, deleted text, changebars
9337
9338         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9339           package use "usenames" option.
9340
9341         * commandtags.h:
9342         * lyxfunc.C:
9343         * LyXAction.C: add change lfuns
9344
9345         * Makefile.am:
9346         * author.h:
9347         * author.C: author handling
9348
9349         * buffer.h:
9350         * buffer.C: add a per-buffer author list, with first entry as
9351           current author. Handle new .lyx tokens for change tracking. Output
9352           author list to .lyx file. Output dvipost stuff to .tex preamble.
9353           Bump lyx format to 222.
9354
9355         * bufferlist.h:
9356         * bufferlist.C: add setCurrentAuthor() to reset current author details
9357           in all buffers.
9358
9359         * bufferparams.h:
9360         * bufferparams.C: add param for tracking
9361
9362         * bufferview_funcs.C: output change info in minibuffer
9363
9364         * Makefile.am:
9365         * changes.h:
9366         * changes.C: add change-tracking structure
9367
9368         * debug.h:
9369         * debug.C: add CHANGES debug flag
9370
9371         * lyxfind.h:
9372         * lyxfind.C: add code for finding the next change piece
9373
9374         * lyxrc.h:
9375         * lyxrc.C: add user_name and user_email
9376
9377         * lyxrow.h:
9378         * lyxrow.C: add a metric for the top of the text line
9379
9380         * lyxtext.h:
9381         * text.C: implement accept/rejectChange()
9382
9383         * lyxtext.h:
9384         * text.C: paint changebars. Paint new/deleted text in the chosen
9385         colours. Strike through deleted text.
9386
9387         * paragraph.h:
9388         * paragraph.C:
9389         * paragraph_pimpl.h:
9390         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9391           in the current change to the insert functions. Rework erase to
9392           mark text as deleted, adding an eraseIntern() and a range-based
9393           erase(). Implement per-paragraph change lookup and
9394           accept/reject.
9395
9396         * paragraph_funcs.C: Fixup paste for change tracking.
9397
9398         * tabular.C: mark added row/columns as new.
9399
9400         * text.C: fix rowLast() to never return -1. Don't allow
9401           spellchecking of deleted text. Track transpose changes. Don't
9402           allow paragraph break or merge where appropriate.
9403
9404         * text2.C: leave cursor at end of selection after a cut.
9405
9406 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9407
9408         * text.C (getLengthMarkerHeight):
9409         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9410         visible on screen too.
9411
9412 2003-02-07  John Levon  <levon@movementarian.org>
9413
9414         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9415
9416 2003-02-05  Angus Leeming  <leeming@lyx.org>
9417
9418         * lyxserver.C (read_ready): revert my patch of 11 September last year
9419         as it sends PC cpu through the roof. Presumably this means that
9420         the lyxserver will no longer run on an Alpha...
9421
9422 2003-01-30  Angus Leeming  <leeming@lyx.org>
9423
9424         * factory.C (createInset): create an InsetCommandParam of type "index"
9425         and use it to 'do the right thing'.
9426
9427         * text2.C (getStringToIndex): ensure that cursor position is always
9428         reset to the reset_cursor position.
9429
9430 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9431
9432         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9433         disabled.
9434
9435 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9436
9437         * bufferview.C:
9438         * lyxcb.C:
9439         * lyxfunc.C: Output messages with identical spelling, punctuation,
9440         and spaces
9441
9442 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9443
9444         * MenuBackend.C (expandFormats): List only viewable export formats
9445         in "View" menu
9446
9447         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9448         message
9449
9450         * lyxfunc.C (getStatus): Make sure that formats other than
9451         "fax" can also be disabled
9452
9453 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9454
9455         * text3.C (dispatch): put the lfuns that insert insets in 3
9456         groups, and call doInsertInset with appropriate arguments.
9457         (doInsertInset): new function, that creates an inset and inserts
9458         it according to some boolean parameters.
9459
9460 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9461
9462         * buffer.C (readFile): remember to pass on 'par' when calling
9463         readFile recursively.
9464
9465 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9466
9467         * MenuBackend.C (expandFormats): add "..." to import formats.
9468
9469 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9470
9471         * paragraph.C (asString): Remove XForms RTL hacks.
9472
9473 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9474         * buffer.C: fix typo
9475
9476 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9477
9478         * Makefile.am (LIBS): delete var
9479         (lyx_LDADD): add @LIBS@ here instead.
9480
9481 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9482
9483         * Clarify the meaning of "wheel mouse jump"
9484
9485 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9486
9487         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9488         tabular in a float
9489
9490 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9491
9492         * importer.C (Loaders): do not preallocate 3 elements in the
9493         vector, since one ends up with 6 elements otherwise
9494
9495 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9496
9497         * DepTable.C (write): write the file name as last element of the
9498         .dep file (because it may contain spaces)
9499         (read): read info in the right order
9500
9501 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9502
9503         * paragraph_pimpl.C (simpleTeXBlanks):
9504         (simpleTeXSpecialChars):
9505         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9506
9507         * tabular.C (latex): add some missing case statements. Reindent.
9508
9509         * MenuBackend.C (expandToc): remove unused variable.
9510
9511 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9512
9513         * LColor.C:
9514         * LaTeX.C:
9515         * LyXAction.C:
9516         * MenuBackend.C:
9517         * buffer.C:
9518         * exporter.C:
9519         * lyxfunc.C:
9520         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9521         and the like.
9522
9523 2003-01-05  John Levon  <levon@movementarian.org>
9524
9525         * BufferView.h:
9526         * BufferView.C: add getEncoding()
9527
9528         * kbsequence.h:
9529         * kbsequence.C: do not store last keypress
9530
9531         * lyxfunc.h:
9532         * lyxfunc.C: store last keypress here instead. Pass encoding
9533           to getISOEncoded()
9534
9535 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9536
9537         * lyx_main.C (init): remove annoying error message when following
9538         symbolic links (bug #780)
9539
9540 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9541
9542         * text.C (insertChar):
9543         * lyxrc.C (getDescription): remove extra spaces
9544
9545 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9546
9547         * lyxrc.C (getDescription): remove extra spaces
9548
9549 2002-12-20  John Levon  <levon@movementarian.org>
9550
9551         * text3.C: hack fix for page up/down across tall rows
9552
9553 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9554
9555         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9556         not been invoked
9557
9558 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9559
9560         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9561         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9562         thesaurus is not compiled in
9563
9564 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9565
9566         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9567
9568 2002-12-16  Angus Leeming  <leeming@lyx.org>
9569
9570         * lyxrc.[Ch]:
9571         * lyx_main.C (init): remove override_x_deadkeys stuff.
9572
9573 2002-12-12  John Levon  <levon@movementarian.org>
9574
9575         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9576           insert. Only remove shift modifier under strict
9577           circumstances.
9578
9579 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9580
9581         * MenuBackend.C (expandToc): fix crash.
9582
9583 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9584
9585         * MenuBackend.C (expandToc): gettext on float names.
9586
9587 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9588
9589         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9590         implement bool empty() [bug 490]
9591
9592 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9593
9594         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9595
9596 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9597
9598         * several files: ws changes
9599
9600 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9601
9602         * text2.C (setCounter): clean up a bit, use boost.format.
9603         (updateCounters): initialize par upon declaration.
9604
9605         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9606         if the layout exists. We do not just store the layout any more.
9607         (SwitchLayoutsBetweenClasses): use boost.format
9608
9609 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9610
9611         * converter.C (convert): if from and to files are the same, use a
9612         temporary files as intermediary
9613
9614 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9615
9616         * commandtags.h:
9617         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9618
9619 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9620
9621         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9622
9623 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9624
9625         * tabular.C (asciiPrintCell): use string(size, char) instead of
9626         explicit loop.
9627
9628         * sgml.C (openTag): fix order of arguments to string constructor
9629         (closeTag): ditto
9630
9631         * lyxfunc.C (dispatch): use boost.format
9632
9633         * lots of files: change "c" -> 'c'
9634
9635 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9636
9637         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9638
9639 2002-11-25  Angus Leeming  <leeming@lyx.org>
9640
9641         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9642
9643         * lyx_main.C (init): compile fix.
9644
9645 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9646
9647         * lyx_cb.C (start): boost.formatify
9648         do not include <iostream>
9649
9650         * lengthcommon.C: ws only
9651
9652         * boost-inst.C,BoostFormat.h: add more explict instantations
9653
9654 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9655
9656         * lots of files: handle USE_BOOST_FORMAT
9657
9658 2002-11-21  John Levon  <levon@movementarian.org>
9659
9660         * pspell.C: fix compile
9661
9662 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9663
9664         * lyxfunc.C (dispatch): use boost::format
9665         (open): ditto
9666         (doImport): ditto
9667
9668         * lyxfont.C (stateText): use boost::format
9669
9670         * lyx_main.C (LyX): use boost::format
9671         (init): ditto
9672         (queryUserLyXDir): ditto
9673         (readRcFile): ditto
9674         (parse_dbg): ditto
9675         (typedef boost::function): use the recommened syntax.
9676
9677         * importer.C (Import): use boost::format
9678
9679         * debug.C (showLevel): use boost::format
9680
9681         * converter.C (view): use boost::format
9682         (convert): ditto
9683         (move): ditto
9684         (scanLog): ditto
9685
9686         * bufferview_funcs.C (currentState): use boost::format
9687
9688         * bufferlist.C (emergencyWrite): use boost::format
9689
9690         * buffer.C (readLyXformat2): use boost::format
9691         (parseSingleLyXformat2Token): ditto
9692
9693         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9694
9695         * LaTeX.C (run): use boost::format
9696
9697         * Chktex.C (scanLogFile): use boost::format
9698
9699         * BufferView_pimpl.C (savePosition): use boost::format
9700         (restorePosition): ditto
9701         (MenuInsertLyXFile): ditto
9702
9703         * BoostFormat.h: help file for explicit instation.
9704
9705 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9706
9707         * tabular.C (latex): Support for block alignment in fixed width
9708         columns.
9709
9710 2002-11-17  John Levon  <levon@movementarian.org>
9711
9712         * BufferView_pimpl.C:
9713         * lyx_cb.C:
9714         * lyxfunc.C: split filedialog into open/save
9715
9716 2002-11-08  Juergen Vigna  <jug@sad.it>
9717
9718         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9719         by my last patch (hopefully).
9720
9721 2002-11-08  John Levon  <levon@movementarian.org>
9722
9723         * iterators.h:
9724         * iterators.C:
9725         * buffer.h:
9726         * buffer.C:
9727         * paragraph.h:
9728         * paragraph.C:
9729         * toc.h:
9730         * toc.C: ParConstIterator, and use it (from Lars)
9731
9732 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9733
9734         * lyxtextclass.[Ch]: revise and add doxygen comments
9735
9736 2002-11-07  John Levon  <levon@movementarian.org>
9737
9738         * text.C: fix progress value for spellchecker
9739
9740         * toc.C: fix navigate menu for insetwrap inside minipage
9741
9742         * paragraph_funcs.C: added FIXME for suspect code
9743
9744 2002-11-07  John Levon  <levon@movementarian.org>
9745
9746         * BufferView_pimpl.C: fix redrawing of insets
9747           on buffer switch
9748
9749 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9750
9751         * text2.C (updateCounters): fix bug 668
9752
9753 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9754
9755         * text3.C (dispatch): Do not make the buffer dirty when moving the
9756         cursor.
9757
9758 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9759
9760         * vc-backend.C: STRCONV
9761         (scanMaster): ditto
9762
9763         * text2.C (setCounter): STRCONV
9764
9765         * paragraph.C (asString): STRCONV
9766
9767         * lyxlength.C (asString): STRCONV
9768         (asLatexString): ditto
9769
9770         * lyxgluelength.C (asString): STRCONV
9771         (asLatexString): ditto
9772
9773         * lyxfunc.C (dispatch): STRCONV
9774         (open): ditto
9775
9776         * lyxfont.C (stateText): STRCONV
9777
9778         * importer.C (Import): STRCONV
9779
9780         * counters.C (labelItem): STRCONV
9781         (numberLabel): ditto
9782         (numberLabel): remove unused ostringstream o
9783
9784         * chset.C: STRCONV
9785         (loadFile): ditto
9786
9787         * bufferview_funcs.C (currentState): STRCONV
9788
9789         * buffer.C (readFile): STRCONV
9790         (asciiParagraph): ditto
9791         (makeLaTeXFile): ditto
9792
9793         * Spacing.C (writeEnvirBegin): STRCONV
9794
9795         * LaTeXFeatures.C (getLanguages): STRCONV
9796         (getPackages): ditto
9797         (getMacros): ditto
9798         (getBabelOptions): ditto
9799         (getTClassPreamble): ditto
9800         (getLyXSGMLEntities): ditto
9801         (getIncludedFiles): ditto
9802
9803         * LaTeX.C: STRCONV
9804         (run): ditto
9805         (scanAuxFile): ditto
9806         (deplog): ditto
9807
9808         * LString.h: add the STRCONV macros
9809
9810         * BufferView_pimpl.C (savePosition): STRCONV
9811         (restorePosition): ditto
9812         (MenuInsertLyXFile): ditto
9813
9814         * vc-backend.C (scanMaster): change from submatch[...] to
9815         submatch.str(...)
9816
9817         * funcrequest.C: include config.h
9818
9819         * factory.C: include config.h
9820
9821         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9822
9823         * box.C: include config.h
9824
9825         * LaTeX.C (scanAuxFile): change from submatch[...] to
9826         submatch.str(...)
9827         (deplog): ditto
9828
9829 2002-10-25  Angus Leeming  <leeming@lyx.org>
9830
9831         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9832
9833         * ispell.[Ch] (setError): new method.
9834         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9835         Use setError() insetead of goto END.
9836
9837         * lyx_cb.C (AutoSave): move out child process into new class
9838         AutoSaveBuffer.
9839
9840 2002-10-30  John Levon  <levon@movementarian.org>
9841
9842         * text3.C: make start appendix undoable
9843
9844 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9845
9846         * lyxlength.C (inPixels): Fix returned value.
9847
9848         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9849         environment.
9850
9851 2002-10-24  Angus Leeming  <leeming@lyx.org>
9852
9853         * lyxgluelength.h: no need to forward declare BufferParams
9854         or BufferView, so don't.
9855
9856 2002-10-21  John Levon  <levon@movementarian.org>
9857
9858         * BufferView.C: menuUndo ->undo, redo
9859
9860         * BufferView.h: document, remove dead, make some methods private
9861
9862         * paragraph_funcs.h:
9863         * paragraph_funcs.C:
9864         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9865
9866         * buffer.h:
9867         * buffer.C:
9868         * sgml.h:
9869         * sgml.C: move sgml open/close tag into sgml.C
9870
9871         * bufferview_funcs.h: unused prototype
9872
9873         * lyxfunc.h:
9874         * lyxfunc.C: remove unused
9875
9876         * lyxtext.h:
9877         * text.C: remove unused
9878
9879 2002-10-21  John Levon  <levon@movementarian.org>
9880
9881         * BufferView.h:
9882         * BufferView.C:
9883         * BufferView_pimpl.h:
9884         * BufferView_pimpl.C: fix mouse wheel handling based on
9885           patch from Darren Freeman
9886
9887 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9888
9889         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9890
9891 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9892
9893         * lyxlength.C (inPixels): Fix hanfling of negative length.
9894         Fix LyXLength::MU case.
9895
9896 2002-10-16  John Levon  <levon@movementarian.org>
9897
9898         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9899
9900 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9901
9902         * converter.C (view): add support for $$i (file name) and $$p
9903         (file path) for the viewer command. If $$i is not specified, then
9904         it is appended to the command (for compatibility with old syntax)
9905
9906 2002-10-14  Juergen Vigna  <jug@sad.it>
9907
9908         * undo_funcs.C (textHandleUndo): alter the order in which the
9909         new undopar is added to the LyXText, as we have to set first
9910         the right prev/next and then add it as otherwise the rebuild of
9911         LyXText is not correct. Also reset the cursor to the right paragraph,
9912         with this IMO we could remove the hack in "redoParagraphs()".
9913
9914 2002-10-09  Angus Leeming  <leeming@lyx.org>
9915
9916         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9917         to turn off an optimisation if a new inset is to be inserted.
9918
9919 2002-10-11 André Pönitz <poenitz@gmx.net>
9920
9921         * lyxtext.h: make some functions public to allow access
9922         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9923
9924 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9925
9926         * text3.C (dispatch): when changing layout, avoid an infinite loop
9927         [bug #652]
9928
9929 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9930
9931         * lyxrc.C (read): treat a viewer or converter command of "none" as
9932         if it were empty.
9933
9934         * MenuBackend.C (expandFormats): for an update, also allow the
9935         formats that are not viewable
9936
9937         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9938         script if it is newer than the lyxrc.defaults in user directory
9939
9940 2002-10-07 André Pönitz <poenitz@gmx.net>
9941
9942         * text.C: Vitaly Lipatov's small i18n fix
9943
9944 2002-09-25  Angus Leeming  <leeming@lyx.org>
9945
9946         * ispell.h: doxygen fix.
9947
9948 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9949
9950         * buffer.h (readFile): Add a new argument to the method, to allow
9951         reading of old-format templates.
9952
9953 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9954
9955         * toc.C (getTocList): Get TOC from InsetWrap.
9956
9957 2002-09-16  John Levon  <levon@movementarian.org>
9958
9959         * lyxfunc.C: check tabular for cut/copy too
9960
9961 2002-09-12  John Levon  <levon@movementarian.org>
9962
9963         * LyXAction.C: tidy
9964
9965         * factory.h:
9966         * factory.C: add header
9967
9968         * paragraph_funcs.h:
9969         * paragraph_funcs.C: cleanup
9970
9971 2002-09-11  John Levon  <levon@movementarian.org>
9972
9973         * PrinterParams.h: odd/even default to true
9974
9975 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9976
9977         * PrinterParams.h: update printer parameters for new xforms dialog
9978
9979 2002-09-11  Angus Leeming  <leeming@lyx.org>
9980
9981         * lyxserver.C (read_ready): re-write to make it more transparent
9982         and to make it work in coherent fashion under Tru64 Unix.
9983
9984 2002-09-11  André Pönitz <poenitz@gmx.net>
9985
9986         * commandtags.h:
9987         * LyXAction.C:
9988         * text3.C: implement LFUN_WORDSEL
9989
9990 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9991
9992         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9993         make floatlist_ a boost::shared_ptr<FloatList>
9994
9995         * lyxtextclass.C: include FloatList.h
9996         (LyXTextClass): initialize floatlist_
9997         (TextClassTags): add TC_NOFLOAT
9998         (Read): match "nofloat" to TC_NOFLOAT and use it.
9999         (readFloat): modify call to floatlist_
10000         (floats): ditto
10001         (floats): ditto
10002
10003         * FloatList.[Ch] (FloatList): remove commented out float
10004         initialization.
10005         (erase): new function
10006
10007 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10008
10009         * MenuBackend.C (expandToc): fix crash when there is no document
10010         open
10011
10012 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10013
10014         * many files: Add insetwrap.
10015
10016 2002-09-09  John Levon  <levon@movementarian.org>
10017
10018         * text2.C: remove confusing and awkward depth wraparound
10019
10020 2002-09-09  John Levon  <levon@movementarian.org>
10021
10022         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10023
10024         * buffer.h:
10025         * buffer.C: remove getIncludeonlyList()
10026
10027         * paragraph.C:
10028         * lyxfunc.C: remove headers
10029
10030 2002-09-09  Juergen Vigna  <jug@sad.it>
10031
10032         * text.C (getColumnNearX): fix form Michael this is most
10033         probably a cut&paste bug.
10034
10035 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10036
10037         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10038
10039         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10040         references, ws changes.
10041
10042         * text2.C (init): update counters after init
10043         (insertParagraph): no need to set counter on idividual paragraphs.
10044         (setCounter): access the counters object in the textclass object
10045         on in the buffer object.
10046         (updateCounters): ditto
10047
10048         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10049         shared_ptr<Counters> to avoid loading counters.h in all
10050         compilation units.
10051         (LyXTextClass): initialize ctrs_
10052         (TextClassTags): add TC_COUNTER, and ...
10053         (Read): use it here.
10054         (CounterTags): new tags
10055         (readCounter): new function
10056         (counters): new funtion
10057         (defaultLayoutName): return a const reference
10058
10059         * counters.C (Counters): remove contructor
10060         (newCounter): remove a couple of unneeded statements.
10061         (newCounter): simplify a bit.
10062         (numberLabel): some small formatting changes.
10063
10064         * buffer.[Ch]: remove all traces of counters, move the Counters
10065         object to the LyXTextClass.
10066
10067 2002-09-06  Alain Castera  <castera@in2p3.fr>
10068
10069         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10070         package to set the horizontal alignment on fixed width columns.
10071
10072         * lyx_sty.C:
10073         * lyx_sty.h: added tabularnewline macro def.
10074
10075         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10076
10077 2002-09-06  John Levon  <levon@movementarian.org>
10078
10079         * LyXAction.C: tooltips for sub/superscript
10080
10081         * MenuBackend.C: a bit more verbose
10082
10083         * lyxfunc.C: tiny clean
10084
10085         * undo_funcs.C: document undo_frozen
10086
10087 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10088
10089         * counters.C (Counters): add missing algorithm counter.
10090
10091         * text2.C (setCounter): lookup the counter with layouts latexname
10092         instead of by section number.
10093         (setCounter): use a hackish way to lookup the correct enum
10094         counter.
10095         a float name->type change
10096         reset enum couners with counter name directly instead of depth value.
10097
10098         * counters.C (Counters): remove the push_backs, change to use the
10099         float type not the float name.
10100         (labelItem): remove unused string, float name->type change
10101
10102         * counters.h: don't include vector, loose the enums and sects vectors
10103
10104 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10105
10106         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10107         (Read): add float->TC_FLOAT to textclassTags
10108         (Read): and handle it in the switch
10109         (readFloat): new function
10110
10111         * FloatList.C (FloatList): comment out the hardcoded float
10112         definitions.
10113
10114         * lyxlayout.h: ws change.
10115
10116 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10117
10118         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10119
10120 2002-09-03  Angus Leeming  <leeming@lyx.org>
10121
10122         * BufferView_pimpl.h: qualified name is not allowed in member
10123         declaration: WorkArea & Pimpl::workarea() const;
10124
10125         * factory.C: added using std::endl directive.
10126
10127         * text3.C: added using std::find and std::vector directives.
10128
10129 2002-08-29  André Pönitz <poenitz@gmx.net>
10130
10131         * lyxtext.h:
10132         * text2.C: remove unused member number_of_rows
10133
10134         * Makefile.am:
10135         * BufferView2.C: remove file, move contents to...
10136         * BufferView.C: ... here
10137
10138         * BufferView_pimpl.C:
10139         * factory.C: move more inset creation to factory
10140
10141         * vspace.C: avoid direct usage of LyXText, ws changes
10142
10143         * BufferView.[Ch]:
10144                 don't provide direct access to WorkArea, use two simple
10145                 acessors haveSelction() and workHeight() instead
10146
10147
10148 2002-08-29  John Levon  <levon@movementarian.org>
10149
10150         * BufferView_pimpl.C (dispatch): do not continue when
10151           no buffer
10152
10153 2002-08-28  André Pönitz <poenitz@gmx.net>
10154
10155         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10156
10157         * BufferView.h:
10158         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10159
10160 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10161
10162         * buffer.C: increment LYX_FORMAT to 221
10163
10164         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10165         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10166
10167         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10168
10169         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10170
10171 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10172
10173         * factory.C (createInset): use LyXTextClass::floats
10174
10175         * MenuBackend.C (expandFloatListInsert):
10176         (expandFloatInsert):
10177         (expandToc):
10178
10179         * text2.C (setCounter):
10180
10181         * LaTeXFeatures.C (useFloat):
10182         (getFloatDefinitions):
10183
10184         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10185
10186         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10187         floatlist_, with accessor floats().
10188
10189         * FloatList.h: remove global FloatList
10190
10191 2002-08-26  André Pönitz <poenitz@gmx.net>
10192
10193         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10194
10195         * BufferView.h:
10196         * BufferView2.C:
10197         * BufferView_pimpl.C:
10198         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10199
10200 2002-08-25  John Levon  <levon@movementarian.org>
10201
10202         * LyXAction.C: fix margin note description
10203
10204 2002-08-24  John Levon  <levon@movementarian.org>
10205
10206         * buffer.C:
10207         * bufferlist.C:
10208         * bufferview_funcs.C:
10209         * lyxfont.C:
10210         * undo_funcs.C: cleanups
10211
10212         * lyxfunc.C: disable CUT/COPY when no selection
10213
10214 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10215
10216         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10217         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10218
10219         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10220         Add backward compatibility to "mono", "gray" and "no".
10221
10222 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10223
10224         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10225         (and file_format >= 200).
10226
10227 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10228
10229         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10230
10231 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10232
10233         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10234
10235 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10236
10237         * BufferView_pimpl.C:
10238         * LyXAction.C:
10239         * buffer.C:
10240         * commandtags.h:
10241         * lyxfunc.C:
10242         * paragraph.[Ch]:
10243         * text2.C:
10244         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10245         inset and code to make it  work with the paragraph code. The inset
10246         can be anywhere in the paragraph, but will only do the expected
10247         thing in LaTeX if the layout file contains the parameter line
10248                         OptionalArgs    1
10249         (or more generally, a nonzero value) for that layout.
10250
10251 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10252
10253         * paragraph.h: remove the declaration of undefined counters class
10254         function.
10255
10256 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10257
10258         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10259         Dr. Richard Hawkins.
10260
10261 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10262
10263         * paragraph_funcs.h: remove some unneeded includes
10264
10265         * text.C (backspace): pasteParagraph now in global scipe
10266
10267         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10268         (pasteSelection): ditto
10269
10270         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10271         * paragraph_funcs.C (pasteParagraph): ... here
10272
10273 2002-08-20  André Pönitz <poenitz@gmx.net>
10274
10275         * commandtags.h: new LFUNs for swapping/copying table row/colums
10276
10277         * LyXAction.C:
10278         * lyxfunc.C: support for new lfuns
10279
10280 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10281
10282         * tabular.C:
10283         * buffer.[Ch]: remove NO_COMPABILITY stuff
10284
10285 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10286
10287         * boost.C (throw_exception): new file, with helper function for
10288         boost compiled without exceptions.
10289
10290         * paragraph.h:
10291         * lyxlength.C:
10292         * buffer.C:
10293         * ParameterStruct.h:
10294         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10295
10296         * bufferlist.C (emergencyWriteAll): use boost bind
10297
10298         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10299
10300         * text.C: include paragraph_funcs.h
10301         (breakParagraph): breakParagraph is now in global scope
10302
10303         * paragraph_funcs.[Ch]: new files
10304
10305         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10306         global scope
10307
10308         * buffer.C: include paragraph_funcs.h
10309         (insertStringAsLines): breakParagraph is now in global scope
10310
10311         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10312         paragraph_funcs.C
10313
10314         * CutAndPaste.C: include paragraph_funcs.h
10315         (cutSelection): breakParagraphConservative is now in global scope
10316         (pasteSelection): ditto
10317
10318         * buffer.h: declare oprator== and operator!= for
10319         Buffer::inset_iterator
10320
10321         * bufferlist.C (emergencyWrite): don't use fmt(...)
10322
10323         * text3.C: add using std::endl
10324
10325         * BufferView.C (moveCursorUpdate): remove default arg
10326
10327 2002-08-20  André Pönitz <poenitz@gmx.net>
10328
10329         * buffer.[Ch]: move inline functions to .C
10330
10331         * BufferView2.C:
10332         * BufferView_pimpl.C:
10333         * text.C:
10334         * buffer.[Ch]: use improved inset_iterator
10335
10336         * buffer.C:
10337         * paragraph.[Ch]: write one paragraph at a time
10338
10339 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10340
10341         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10342         style if style is not specified.
10343
10344 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10345
10346         * text2.C (setCounter): when searching for right label for a
10347         caption, make sure to recurse to parent insets (so that a caption
10348         in a minipage in a figure float works) (bug #568)
10349
10350 2002-08-20  André Pönitz <poenitz@gmx.net>
10351
10352         * text3.C: new file for LyXText::dispatch() and helpers
10353
10354         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10355
10356         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10357
10358 2002-08-19  André Pönitz <poenitz@gmx.net>
10359
10360         * lyxtext.h:
10361         * text.C: new LyXText::dispatch()
10362
10363         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10364
10365 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10366
10367         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10368
10369         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10370         Hebrew text.
10371
10372 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10373
10374         * Makefile.am: use $(variables) instead of @substitutions@
10375
10376 2002-08-15  André Pönitz <poenitz@gmx.net>
10377
10378         * lyxfunc.C:
10379         * BufferView_pimpl.C: streamlining mathed <-> outer world
10380         interaction
10381
10382         * commandtags.h:
10383         * LyXAction.C: remove unused LFUN_MATH
10384
10385 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10386
10387         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10388
10389 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10390
10391         * paragraph.C (Paragraph): reformat a bit
10392         (cutIntoMinibuffer): use builtin InsetList function instad of
10393         doing it manually.
10394         (getInset): ditto
10395
10396         * buffer.C: include boost/bind.hpp, add using std::for_each
10397         (writeFileAscii): use ParagraphList iterators
10398         (validate): use for_each for validate traversal of paragraphs
10399         (getBibkeyList): use ParagraphList iterators
10400         (resizeInsets): use for_each to resizeInsetsLyXText for all
10401         paragraphs.
10402         (getParFromID): use ParagraphList iterators
10403
10404         * BufferView2.C (lockInset): use paragraph list and iterators
10405
10406 2002-08-14  John Levon  <levon@movementarian.org>
10407
10408         * lyxserver.C: remove spurious xforms include
10409
10410 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10411
10412         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10413
10414 2002-08-13  André Pönitz <poenitz@gmx.net>
10415
10416         * LyXAction.[Ch]:
10417         * lyxfunc.C: further cleaning
10418
10419 2002-08-13  André Pönitz <poenitz@gmx.net>
10420
10421         * funcrequest.h: new constructor
10422
10423         * funcrequest.C: move stuff here from .h
10424
10425         * Makefile.am:
10426         * BufferView_pimpl.C:
10427         * LyXAction.C:
10428         * toc.C:
10429         * lyxfunc.C: subsequent changes
10430
10431         * lyxfunc.h: new view() member function
10432
10433         * lyxfunc.C: subsequent changes
10434
10435 2002-08-13  Angus Leeming  <leeming@lyx.org>
10436
10437         * BufferView2.C:
10438         * BufferView_pimpl.C:
10439         * buffer.C:
10440         * converter.C:
10441         * importer.C:
10442         * lyxfunc.C:
10443         * lyxvc.C:
10444         * toc.C:
10445         * vc-backend.C:
10446         changes due to the changed LyXView interface that now returns references
10447         to member variables not pointers.
10448
10449 2002-08-13  Angus Leeming  <leeming@lyx.org>
10450
10451         * WordLangTuple (word, lang_code): return references to strings,
10452         not strings.
10453
10454         * BufferView.h:
10455         * SpellBase.h:
10456         * lyxtext.h: forward-declare WordLangTuple.
10457
10458         * BufferView2.C:
10459         * ispell.C:
10460         * pspell.C:
10461         * text.C: #include "WordLangTuple.h".
10462
10463         * lyxtext.h:
10464         * text.C: (selectNextWordToSpellcheck): constify return type.
10465
10466 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10467
10468         * buffer.C:
10469         * buffer.h:
10470         * lyxtext.h:
10471         * paragraph.C:
10472         * paragraph_pimpl.h:
10473         * text.C:
10474         * text2.C:
10475         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10476         suggested by Angus.
10477         Made updateCounter always count from start of buffer, and removed
10478         second argument (par).
10479         Reverted floats number display to '#'. Perhaps I'll try again when the
10480         code base is sanitized a bit.
10481
10482 2002-08-12  Angus Leeming  <leeming@lyx.org>
10483
10484         * buffer.[Ch] (getLabelList): constify.
10485
10486 2002-08-07  André Pönitz <poenitz@gmx.net>
10487
10488         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10489
10490         * funcrequest.h: extension to keep mouse (x,y) position
10491
10492 2002-08-12  Juergen Vigna  <jug@sad.it>
10493
10494         * BufferView2.C (insertErrors): forbid undo when inserting error
10495         insets.
10496
10497         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10498
10499 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10500
10501         * ParagraphList.[Ch]: new files
10502
10503         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10504
10505         * BufferView2.C (lockInset): ParagraphList changes
10506         * toc.C: ditto
10507         * text2.C: ditto
10508         * bufferlist.C: ditto
10509         * buffer.h: ditto
10510         * buffer.C: ditto
10511
10512 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10513
10514         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10515         unused class variable counter_,
10516
10517         * paragraph.[Ch] (getFirstCounter): delete unused function
10518
10519         * counters.C: include LAssert.h
10520         (reset): add a new function with no arg, change other version to
10521         not have def. arg and to not allow empty arg.
10522
10523         * text2.C (setCounter): remove empty arg from call to Counters::reset
10524
10525 2002-08-11  John Levon  <levon@movementarian.org>
10526
10527         * Makefile.am: add WordLangTuple.h
10528
10529 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10530
10531         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10532         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10533
10534         * insets/insettext.C: InsetList changes
10535
10536         * graphics/GraphicsSupport.C (operator()): InsetList changes
10537
10538         * toc.C (getTocList): InsetList changes
10539
10540         * paragraph_pimpl.[Ch]: InsetList changes
10541
10542         * paragraph.[Ch]: InsetList changes
10543
10544         * buffer.C (inset_iterator): InsetList changes
10545         (setParagraph): ditto
10546         * buffer.h (inset_iterator): ditto
10547         * iterators.C (operator++): ditto
10548         * iterators.h: ditto
10549
10550         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10551
10552         * InsetList.[Ch]: new files, most InsetList handling moved out of
10553         paragraph.C.
10554
10555         * BufferView2.C (removeAutoInsets): InsetList changes
10556         (lockInset): ditto
10557         (ChangeInsets): ditto
10558
10559 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10560
10561         * paragraph_pimpl.h (empty): new function
10562
10563         * paragraph.[Ch] (empty): new function
10564
10565         * other files: use the new Paragraph::empty function
10566
10567 2002-08-09  John Levon  <levon@movementarian.org>
10568
10569         * lyxtext.h: remove unused refresh_height
10570
10571 2002-08-09  John Levon  <levon@movementarian.org>
10572
10573         * Makefile.am:
10574         * sgml.h:
10575         * sgml.C:
10576         * buffer.C:
10577         * paragraph.h:
10578         * paragraph.C: move sgml char escaping out of paragraph
10579
10580         * paragraph.h:
10581         * paragraph.C: remove id setter
10582
10583         * buffer.C:
10584         * paragraph.C:
10585         * paragraph_pimpl.C: remove dead tex_code_break_column
10586
10587         * bufferview_funcs.C: small cleanup
10588
10589         * lyxfunc.C: remove dead proto
10590
10591         * lyxtext.h: make some stuff private. Remove some dead stuff.
10592
10593         * lyxgluelength.C: make as[LyX]String() readable
10594
10595 2002-08-08  John Levon  <levon@movementarian.org>
10596
10597         * LyXAction.h:
10598         * LyXAction.C:
10599         * MenuBackend.C:
10600         * ToolbarDefaults.C:
10601         * lyxfunc.C:
10602         * lyxrc.C:
10603         * toc.C: lyxaction cleanup
10604
10605 2002-08-08  John Levon  <levon@movementarian.org>
10606
10607         * BufferView2.C: small cleanup
10608
10609         * lyxfind.h:
10610         * lyxfind.C: move unnecessary header into the .C
10611
10612 2002-08-08  John Levon  <levon@movementarian.org>
10613
10614         * funcrequest.h: just tedious nonsense
10615
10616         * lyx_main.h:
10617         * lyx_main.C: cleanups
10618
10619         * buffer.C:
10620         * vspace.C: remove dead header lyx_main.h
10621
10622 2002-08-07  Angus Leeming  <leeming@lyx.org>
10623
10624         * Paragraph.[Ch]:
10625         * paragraph_pimpl.h:
10626         Forward declare class Counters in paragraph.h by moving the ctrs member
10627         variable into Paragraph::Pimpl.
10628         (counters): new method, returning a reference to pimpl_->ctrs.
10629
10630         * text2.C: ensuing changes.
10631
10632 2002-08-07  John Levon  <levon@movementarian.org>
10633
10634         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10635
10636         * BufferView_pimpl.C: announce X selection on double/triple
10637           click
10638
10639         * lyx_main.C: use correct bool in batch dispatch
10640
10641         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10642
10643 2002-08-07  André Pönitz <poenitz@gmx.net>
10644
10645         * funcrequest.h: new class to wrap a kb_action and its argument
10646
10647         * BufferView.[Ch]:
10648         * BufferView_pimpl[Ch]:
10649         * LaTeX.C:
10650         * LyXAction.[Ch]:
10651         * lyxfunc.[Ch]:
10652         * lyxrc.C: subsequent changes
10653
10654
10655 2002-08-07  John Levon  <levon@movementarian.org>
10656
10657         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10658           document options change.
10659
10660 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10661
10662         * counters.[Ch]
10663         * text2.C
10664         * paragraph.[Ch]
10665         * makefile.am: move counters functionality over from
10666         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10667
10668 2002-08-06  John Levon  <levon@movementarian.org>
10669
10670         * WordLangTuple.h: new file for word + language code tuple
10671
10672         * SpellBase.h:
10673         * pspell.h:
10674         * pspell.C:
10675         * ispell.h:
10676         * ispell.C:
10677         * lyxtext.h:
10678         * text.C:
10679         * text2.C:
10680         * BufferView.h:
10681         * BufferView2.C: use WordLangTuple
10682
10683         * layout.h:
10684         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10685
10686 2002-08-06  John Levon  <levon@movementarian.org>
10687
10688         * lyx_main.C: fix cmdline batch handling
10689
10690 2002-08-06  André Pönitz <poenitz@gmx.net>
10691
10692         * lyxrc.C: set default for show_banner to true
10693
10694 2002-08-06  John Levon  <levon@movementarian.org>
10695
10696         * pspell.C: fix a crash, and allow new aspell to work
10697
10698 2002-08-06  John Levon  <levon@movementarian.org>
10699
10700         * lyxfunc.C:
10701         * kbmap.C: small cleanup
10702
10703         * vspace.h:
10704         * vspace.C: add const
10705
10706 2002-08-05  John Levon  <levon@movementarian.org>
10707
10708         * LyXAction.C: back to tabular-insert
10709
10710 2002-08-04  John Levon  <levon@movementarian.org>
10711
10712         * BufferView.h:
10713         * BufferView.C: cosmetic change
10714
10715         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10716
10717         * bufferlist.C:
10718         * buffer.h:
10719         * buffer.C:
10720         * lyxcb.h:
10721         * lyxcb.C:
10722         * lyxserver.C:
10723         * lyxvc.C:
10724         * vc-backend.C:
10725         * BufferView2.C: purge all "Lyx" not "LyX" strings
10726
10727         * lyxcursor.h:
10728         * lyxcursor.C: attempt to add some documentation
10729
10730         * lyxfunc.C:
10731         * commandtags.h:
10732         * LyXAction.C:
10733         * ToolbarDefaults.C:
10734         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10735           merge with LFUN_TABULAR_INSERT
10736
10737         * Makefile.am:
10738         * SpellBase.h:
10739         * ispell.h:
10740         * ispell.C:
10741         * pspell.h:
10742         * pspell.C: split up i/pspell implementations into separate
10743           files, many cleanups
10744
10745         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10746
10747         * text2.C: some cleanup
10748
10749         * lyxfunc.C: don't check for isp_command == "none" any more, it
10750           didn't make any sense
10751
10752 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10753
10754         * counters.[Ch]
10755         * text2.C
10756         * paragraph.[Ch]
10757         * makefile.am: move counters functionality over
10758         from text2.C/paragraph.[Ch] to counters.[Ch], and
10759         make proper C++.
10760 2002-08-02  John Levon  <levon@movementarian.org>
10761
10762         * buffer.C: s/lyxconvert/lyx2lyx/
10763
10764 2002-08-02  Angus Leeming  <leeming@lyx.org>
10765
10766         * lyxlex.C: revert John's change as it breaks reading of the user
10767         preamble.
10768
10769 2002-08-02  Angus Leeming  <leeming@lyx.org>
10770
10771         * importer.C (Import):
10772         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10773         changes due to LyXView::view() now returning a boost::shared_ptr.
10774
10775 2002-08-02  John Levon  <levon@movementarian.org>
10776
10777         * lyxlex.C: small cleanup
10778
10779 2002-08-02  John Levon  <levon@movementarian.org>
10780
10781         * text2.C (status): small cleanup, no logic change
10782
10783 2002-08-01  John Levon  <levon@movementarian.org>
10784
10785         * buffer.h:
10786         * buffer.C (writeFile): don't output alerts, caller
10787           handles this
10788
10789         * bufferlist.C:
10790         * lyx_cb.C: from above
10791
10792         * lyxfunc.C: allow to open non-existent files
10793
10794 2002-07-31  John Levon  <levon@movementarian.org>
10795
10796         * lyxserver.C: don't let incidental errors get
10797           in the way (errno)
10798
10799 2002-07-30  John Levon  <levon@movementarian.org>
10800
10801         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10802
10803 2002-07-30  John Levon  <levon@movementarian.org>
10804
10805         * lyxserver.h:
10806         * lyxserver.C: remove I/O callback too
10807
10808 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10809
10810         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10811         log.
10812
10813 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10814
10815         * many files: strip,frontStrip -> trim,ltrim,rtrim
10816
10817 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10818
10819         * PrinterParams.h: remove extern containsOnly, and include
10820         support/lstrings.h instead.
10821
10822         * LaTeX.C (scanAuxFile): modify because of strip changes
10823         (deplog): ditto
10824         * buffer.C (makeLaTeXFile): ditto
10825         * bufferparams.C (writeFile): ditt
10826         * lyxfont.C (stateText): ditto
10827         * lyxserver.C (read_ready): ditto
10828         * vc-backend.C (scanMaster): ditto
10829
10830         * BufferView_pimpl.h: ws changes
10831
10832         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10833
10834 2002-07-26  André Pönitz <poenitz@gmx.net>
10835
10836         * kb_sequence.C: remove unnedred usings
10837
10838 2002-07-26  Juergen Vigna  <jug@sad.it>
10839
10840         * lyxfind.C (LyXReplace): we have to check better if the returned
10841         text is not of theLockingInset()->getLockingInset().
10842
10843 2002-07-25  Juergen Vigna  <jug@sad.it>
10844
10845         * lyxfind.C (LyXReplace): don't replace if we don't get the
10846         right LyXText.
10847
10848         * undo_funcs.C (createUndo): remove debugging code.
10849
10850 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10851
10852         * buffer.C (parseSingleLyXformat2Token): Use default placement
10853         when reading old floats.
10854
10855         * FloatList.C (FloatList): Change the default placement of figure
10856         and tables to "tbp".
10857
10858 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10859
10860         * MenuBackend.C: using std::max
10861
10862 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10863
10864         * MenuBackend.C (expandToc):
10865         (expandToc2): code moved from xforms menu frontend. It is now
10866         generic and TOCs are transparent to menu frontends.
10867
10868 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10869
10870         * toc.C (getTocList): protect against buf=0
10871
10872         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10873         Menu as first parameter. Now, this calls itself recursively to
10874         expand a whole tree (this will be useful for TOC handling)
10875         (expandFloatInsert): remove 'wide' version of floats
10876
10877         * MenuBackend.h (submenuname): returns the name of the submenu.
10878         (submenu): returns the submenu itself, provided it has been
10879         created by MenuBackend::expand
10880
10881 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10882
10883         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10884         insets which have noFontChange == true. (bug #172)
10885
10886 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10887
10888         * BufferView_pimpl.C: add connection objects and use them...
10889         (Pimpl): here.
10890
10891 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10892
10893         * MenuBackend.C (expandLastfiles):
10894         (expandDocuments):
10895         (expandFormats):
10896         (expandFloatListInsert):
10897         (expandFloatInsert):
10898         (expand): split expand in parts
10899
10900 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10901
10902         * lyx_gui.C: use lyx_gui::exit()
10903
10904 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10905
10906         * LyXAction.C: show the failing pseudo action
10907
10908 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10909
10910         * buffer.C (readFile): Run the lyxconvert script in order to read
10911         old files.
10912
10913 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10914
10915         * LyXAction.C:
10916         * commandtags.h:
10917         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10918
10919 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10920
10921         * LyXAction.C:
10922         * commandtags.h:
10923         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10924
10925 2002-07-22  Herbert Voss  <voss@lyx.org>
10926
10927         * lengthcommon.C:
10928         * lyxlength.[Ch]: add support for the vertical lengths
10929
10930 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10931
10932         * toc.[Ch]: std:: fixes
10933
10934 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10935
10936         * lyxrc.C: do not include lyx_main.h
10937
10938         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10939         for layouts
10940
10941         * lyxrc.C:
10942         * encoding.C:
10943         * bufferlist.C:
10944         * BufferView2.C: include "lyxlex.h"
10945
10946         * tabular.h:
10947         * bufferparams.h: do not #include "lyxlex.h"
10948
10949         * lyxtextclasslist.C (Add): remove method
10950         (classlist): renamed to classlist_
10951
10952         * paragraph_pimpl.C:
10953         * paragraph.C:
10954         * text2.C:
10955         * CutAndPaste.C:
10956         * bufferview_funcs.C:
10957         * bufferlist.C:
10958         * text.C:
10959         * LaTeXFeatures.C:
10960         * buffer.C:
10961         * toc.C (getTocList): use BufferParams::getLyXTextClass
10962
10963         * toc.C (getTocList): use InsetFloat::addToToc
10964
10965         * toc.[Ch]: new files, containing helper functions to handle table
10966         of contents
10967
10968         * lyxfunc.C (dispatch): no need to remove spaces around command
10969         given as a string
10970         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10971         first command of the sequence; it is not very clever, but I do not
10972         have a better idea, actually
10973
10974         * LyXAction.C (LookupFunc): make sure to remove space at the
10975         beginning and end of the command
10976
10977 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10978
10979         * MenuBackend.C (getMenubar): new method: return the menubar of
10980         this menu set
10981         (read): treat differently reading of menu and menubar (in
10982         particular, the menubar has no name now)
10983         (Menu::menubar): remove
10984
10985         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10986         saving is finished
10987
10988 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10989
10990         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10991         a bibitem inset in a RTL paragraph.
10992
10993 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10994
10995         * paragraph_pimpl.C: constify
10996
10997         * BufferView_pimpl.C:
10998         * LaTeX.C:
10999         * lyxfunc.C: fix dispatch in a nicer way
11000
11001 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11002
11003         * lyxfunc.C (dispatch):
11004         * BufferView_pimpl.C:
11005         * BufferView_pimpl.h:
11006         * BufferView.C:
11007         * BufferView.h: rename Dispatch() to dispatch()
11008
11009         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11010
11011         * lyxlayout.C (Read): honor DependsOn tag
11012
11013         * lyxlayout.[Ch] (depends_on): new method
11014
11015         * version.C.in: update lyx_docversion
11016
11017         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11018
11019         * paragraph.C (validate): remove from here...
11020         * paragraph_pimpl.C (validate): ... and move here
11021         (isTextAt): make it const
11022
11023         * buffer.C (getLists): ws cleanup
11024
11025 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11026
11027         * language.C (read): Use iso8859-1 encoding in latex_lang
11028         (this prevents LyX from crashing when using iso10646-1 encoding).
11029
11030 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11031
11032         * text2.C (toggleInset): if cursor is inside an inset, close the
11033         inset and leave cursor _after_ it
11034
11035 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11036
11037         * lyxfunc.C: move minibuffer completion handling out of here
11038
11039 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11040
11041         * BufferView_pimpl.C:
11042         * LaTeX.C: fix dispatch calls
11043
11044 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11045
11046         * text.C (drawChars): Fix Arabic text rendering.
11047
11048 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11049
11050         * LyXAction.C:
11051         * commandtags.h:
11052         * lyxfunc.C: remove message-push/pop
11053
11054         * lyxserver.C:
11055         * lyxfunc.h:
11056         * lyxfunc.C: rationalise some code by removing verboseDispatch
11057           in favour of a bool argument to dispatch()
11058
11059 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11060
11061         * lyx_main.C (init): make sure to read symlinks as absolute paths
11062
11063 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11064
11065         * lyxfunc.h:
11066         * lyxfunc.C: no need for commandshortcut to be a member
11067
11068 2002-07-15  André Pönitz <poenitz@gmx.net>
11069
11070         * converter.C: add support for $$s (scripts from lib/scripts dir)
11071         * lyx_main.C: white space
11072
11073 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11074
11075         * bufferlist.C:
11076         * lyxrc.h:
11077         * lyxrc.C: remove second exit confirmation
11078
11079 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11080
11081         * BufferView.h:
11082         * BufferView.C:
11083         * BufferView2.C:
11084         * BufferView_pimpl.h:
11085         * BufferView_pimpl.C:
11086         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11087
11088 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11089
11090         * MenuBackend.C (expand): add numeric shortcuts to document menu
11091
11092         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11093
11094 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11095
11096         * lyxfont.C (setLyXFamily):
11097         (setLyXSeries):
11098         (setLyXShape):
11099         (setLyXSize):
11100         (setLyXMisc):
11101         (lyxRead):
11102         * debug.C (value):
11103         * buffer.C (asciiParagraph): use ascii_lowercase
11104
11105 2002-07-15  Mike Fabian  <mfabian@suse.de>
11106
11107         * lyxlex_pimpl.C (search_kw):
11108         * lyxlex.C (getLongString):
11109         * converter.h (operator<):
11110         * converter.C (operator<):
11111         * buffer.C (parseSingleLyXformat2Token):
11112         (asciiParagraph):
11113         * ToolbarDefaults.C (read):
11114         * MenuBackend.C (checkShortcuts):
11115         (read):
11116         * LColor.C (getFromGUIName):
11117         (getFromLyXName): use the compare_ascii_no_case instead of
11118         compare_no_case, because in turkish, 'i' is not the lowercase
11119         version of 'I', and thus turkish locale breaks parsing of tags.
11120
11121 2002-07-16  Angus Leeming  <leeming@lyx.org>
11122
11123         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11124         now takes a Buffer const & argument.
11125
11126 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11127
11128         * BufferView.C (resize): check there's a buffer to resize
11129
11130 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11131
11132         * lyxfunc.C: remove dead code
11133
11134         * lyxserver.h:
11135         * lyxserver.C: use lyx_guii::set_read_callback
11136
11137 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11138
11139         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11140         an inset in a RTL paragraph.
11141
11142 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11143
11144         * lyxfunc.C: repaint after a font size update
11145
11146 2002-07-15  André Pönitz <poenitz@gmx.net>
11147
11148         * lyxlength.C: inBP should be able to return negative values
11149
11150 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11151
11152         * lyxfunc.C: use lyx_gui::update_fonts()
11153
11154 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11155
11156         * lyxfunc.C: use lyx_gui::update_color()
11157
11158 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11159
11160         * bufferlist.C:
11161         * lyxfunc.h:
11162         * lyxfunc.C:
11163         * lyxrc.h:
11164         * lyxrc.C: remove file->new asks for name option, and let
11165           buffer-new take an argument
11166
11167 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11168
11169         * BufferView_pimpl.C: remove unneeded extra repaint()
11170
11171 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11172
11173         * LyXAction.C: allow command-sequence with NoBuffer
11174
11175         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11176
11177 2002-07-10  Angus Leeming  <leeming@lyx.org>
11178
11179         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11180
11181 2002-07-09  Angus Leeming  <leeming@lyx.org>
11182
11183         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11184
11185 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11186
11187         * lengthcommon.h: whitespace
11188
11189         * lyxfunc.C: update scrollbar after goto paragraph
11190
11191         * lyxtext.h: factor out page break drawing, and fix it so
11192           page break/added space paints as selected nicely
11193
11194 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11195
11196         * BufferView_pimpl.C: add FIXMEs, clean up a little
11197
11198 2002-07-09  André Pönitz <poenitz@gmx.net>
11199
11200         * lyxfont.[Ch]: support for wasy symbols
11201
11202 2002-07-08  André Pönitz <poenitz@gmx.net>
11203
11204         * BufferView_pimpl.C: apply John's patch for #93.
11205
11206 2002-07-05  Angus Leeming  <leeming@lyx.org>
11207
11208         * BufferView_pimpl.C (buffer): generate previews if desired.
11209
11210         * LColor.h: add "preview" to the color enum.
11211
11212         * LColor.C (LColor): add a corresponding entry to the items array.
11213
11214         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11215         with this buffer.
11216
11217 2002-07-05  Angus Leeming  <leeming@lyx.org>
11218
11219         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11220         The body of the code is now in the method that is passed an ostream &
11221         rather than a file name.
11222         Pass an additional only_preamble parameter, useful for the forthcoming
11223         preview stuff.
11224
11225 2002-07-03  André Pönitz <poenitz@gmx.net>
11226
11227         * lyxfunc.C: simplify getStatus() a bit for math stuff
11228
11229 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11230
11231         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11232
11233 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11234
11235         * text.C (changeRegionCase): do not change case of all the
11236         document when region ends at paragraph end (bug #461)
11237
11238 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11239
11240         * paragraph.C (startTeXParParams):
11241         (endTeXParParams): add \protect when necessary
11242
11243 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11244
11245         * BufferView_pimpl.C (workAreaExpose): remove warning
11246
11247 2002-06-27  Angus Leeming  <leeming@lyx.org>
11248
11249         * Makefile.am: add lyxlayout_ptr_fwd.h.
11250
11251 2002-06-26  André Pönitz <poenitz@gmx.net>
11252
11253         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11254
11255 2002-06-25  Angus Leeming  <leeming@lyx.org>
11256
11257         * lyxfunc.C (dispatch): Comment out the call to
11258         grfx::GCache::changeDisplay. The method no longer exists now that the
11259         pixmap generation part of the graphics loader has been moved into
11260         InsetGraphics.
11261
11262 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11263
11264         * text2.C: layout as layout
11265
11266         * text.C: layout as layout
11267
11268         * tabular.C (OldFormatRead): layout as layout
11269
11270         * paragraph_pimpl.C (TeXDeeper): layout as layout
11271         (realizeFont): layout as layout
11272
11273         * paragraph.C (writeFile): layout as layout
11274         (validate): layout as layout
11275         (getFont): layout as layout
11276         (getLabelFont): layout as layout
11277         (getLayoutFont): layout as layout
11278         (breakParagraph): layout as layout
11279         (stripLeadingSpaces): layout as layout
11280         (getEndLabel): layout as layout
11281         (getMaxDepthAfter): layout as layout
11282         (applyLayout): layout as layout
11283         (TeXOnePar): layout as layout
11284         (simpleTeXOnePar): layout as layout
11285         (TeXEnvironment): layout as layout
11286         (layout): layout as layout
11287         (layout): layout as layout
11288
11289         * lyxtextclass.C (compare_name): new functor to work with
11290         shared_ptr, layout as layout
11291         (Read): layout as layout
11292         (hasLayout): layout as layout
11293         (operator): layout as layout
11294         (delete_layout): layout as layout
11295         (defaultLayout): layout as layout
11296
11297         * lyxlayout_ptr_fwd.h: new file
11298
11299         * lyxlayout.C (Read): layout as layout
11300
11301         * lyx_cb.C (MenuInsertLabel): layout as layout
11302
11303         * bufferlist.C (newFile): layout as layout
11304
11305         * buffer.C (readLyXformat2): layout as layout
11306         (parseSingleLyXformat2Token): layout as layout
11307         (insertStringAsLines): layout as layout
11308         (asciiParagraph): layout as layout
11309         (latexParagraphs): layout as layout
11310         (makeLinuxDocFile): layout as layout
11311         (simpleLinuxDocOnePar): layout as layout
11312         (makeDocBookFile): layout as layout
11313         (simpleDocBookOnePar): layout as layout
11314         (getLists): layout as layout
11315
11316         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11317
11318         * CutAndPaste.C (cutSelection): layout as layout
11319         (pasteSelection): layout as layout
11320         (SwitchLayoutsBetweenClasses): layout as layout
11321
11322         * BufferView_pimpl.C (Dispatch): layout as layout
11323         (smartQuote): layout as layout
11324
11325         * BufferView2.C (unlockInset): layout as layout
11326
11327 2002-06-24  André Pönitz <poenitz@gmx.net>
11328
11329         * lyxfunc.C: fix #487
11330
11331 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11332
11333         * lyxrc.h:
11334         * lyxrc.C:
11335         * lyxfunc.C: remove display_shortcuts, show_banner
11336
11337 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11338
11339         * Buffer_pimpl.C: oops, update on resize
11340
11341 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11342
11343         * buffer.C:
11344         * converter.C:
11345         * exporter.C:
11346         * lyxfunc.C:
11347         * BufferView.h:
11348         * BufferView.C: use repaint()
11349
11350         * BufferView_pimpl.h:
11351         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11352           as it's a clearer description. Remove superfluous
11353           redraws.
11354
11355 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11356
11357         * text.C: fix bug 488. Not ideal, but getting
11358           getWord() to work properly for the insets that
11359           matter is more difficult ...
11360
11361 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11362
11363         * BufferView_pimpl.C:
11364         * LyXAction.C:
11365         * commandtags.h:
11366         * lyxfunc.C: remove the six million index lyxfuncs to just
11367           one, and DTRT (bug 458)
11368
11369 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11370
11371         * BufferView.h:
11372         * BufferView.C:
11373         * BufferView_pimpl.h:
11374         * BufferView_pimpl.C: clean up resize() stuff,
11375           and unnecessary updateScreen()s
11376
11377 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11378
11379         * BufferView.h:
11380         * BufferView.C:
11381         * BufferView_pimpl.h:
11382         * BufferView_pimpl.C:
11383         * lyxfind.h:
11384         * lyxfind.C:
11385         * minibuffer.C: remove focus management of workarea,
11386           not needed. Use screen's greyOut()
11387
11388 2002-06-17  Herbert Voss  <voss@lyx.org>
11389
11390         * converter.C: (convert) do not post a message, when converting
11391         fails, let the calling function decide what to do in this case
11392
11393 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11394
11395         * lyxfunc.C: tidy up a little
11396
11397 2002-06-16    <alstrup@diku.dk>
11398
11399         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11400         Got rid of FORMS_H_LOCATION include. Now we are
11401         GUII.
11402
11403 2002-06-15  LyX Development team  <lyx@rilke>
11404
11405         * buffer.[Ch] (sgmlOpenTag):
11406         (sgmlCloseTag): Added support for avoiding pernicious mixed
11407         content. Return number of lines written.
11408
11409         (makeLinuxDocFile):
11410         (makeDocBookFile): Fixed calls to sgml*Tag.
11411         Simple white space clean.
11412
11413         (simpleDocBookOnePar): Simple white space clean.
11414
11415         * tabular.[Ch] (docBook): Renamed to docbook and got another
11416         argument to related with the pernicious mixed content.
11417
11418         (docbookRow): Fixed calls for docbook inset method.
11419
11420 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11421
11422         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11423         so it's X11 independent.
11424
11425         * kb*.[Ch]: ditto.
11426
11427         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11428
11429 2002-06-15  Lyx Development team  <lyx@electronia>
11430
11431         * intl.h: Renamed getTrans to getTransManager.
11432
11433 2002-06-14  Angus Leeming  <leeming@lyx.org>
11434
11435         * Makefile.am: nuke forgotten stl_string_fwd.h.
11436
11437 2002-06-12  Angus Leeming  <leeming@lyx.org>
11438
11439         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11440
11441 2002-06-13  Angus Leeming  <leeming@lyx.org>
11442
11443         * LaTeX.C:
11444         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11445
11446 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11447
11448         * kbmap.C (getiso): add support for cyrillic and greek
11449
11450 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11451
11452         * BufferView.h:
11453         * BufferView.C:
11454         * BufferView_pimpl.h:
11455         * BufferView_pimpl.C: move bogus scrolling logic
11456           to xforms
11457
11458 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11459
11460         * lyxfunc.C:
11461         * BufferView_pimpl.C: view->resize() change
11462
11463 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11464
11465         * BufferView_pimpl.C: topCursorVisible
11466           prototype change
11467
11468 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11469
11470         * Makefile.am:
11471         * lyx_gui.h:
11472         * lyx_gui.C: move to frontends/
11473
11474         * main.C:
11475         * lyx_main.h:
11476         * lyx_main.C: changes from above
11477
11478 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11479
11480         * intl.C:
11481         * intl.h:
11482         * kbmap.C:
11483         * kbsequence.C:
11484         * lyx_cb.C:
11485         * lyx_main.C: minor tidy
11486
11487 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11488
11489         * BufferView_pimpl.h:
11490         * BufferView_pimpl.C:
11491         * BufferView.h:
11492         * BufferView.C: make painter() const,
11493           remove dead code
11494
11495         * BufferView2.C: use screen() accessor
11496
11497         * lyx_main.h:
11498         * lyx_main.C: some minor cleanup
11499
11500 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11501
11502         * BufferView_pimpl.h:
11503         * BufferView_pimpl.C: remove enter/leaveView,
11504           use workHeight()
11505
11506 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11507
11508         * BufferView.h:
11509         * BufferView.C:
11510         * BufferView2.C:
11511         * BufferView_pimpl.h:
11512         * BufferView_pimpl.C: only construct screen once,
11513           rename
11514
11515         * lyxrc.C: remove pointless comment
11516
11517 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11518
11519         * BufferView.h:
11520         * BufferView.C: remove active() and belowMouse()
11521
11522         * BufferView_pimpl.h:
11523         * BufferView_pimpl.C: use workarea() not workarea_,
11524           and make it use a scoped_ptr instead
11525
11526 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11527
11528         * lyx_gui.C: add debug message on BadWindow
11529
11530 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11531
11532         * sp_spell.C: fdopen is not part of the C++ standard.
11533
11534         * paragraph.C (InsetIterator): use >= instead of ==
11535
11536 2002-06-07  Angus Leeming  <leeming@lyx.org>
11537
11538         Fixes needed to compile with Compaq cxx 6.5.
11539         * BufferView_pimpl.C:
11540         * DepTable.C:
11541         * buffer.C:
11542         * converter.C:
11543         * encoding.C:
11544         * lyx_gui.C:
11545         * lyx_main.C:
11546         * lyxtextclasslist.C:
11547         * minibuffer.C:
11548         * sp_spell.C:
11549         * tabular_funcs.C:
11550         * vc-backend.C:
11551         all c-library variables have been moved into namespace std. Wrap
11552         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11553
11554         * lyxlength.C:
11555         * tabular-old.C:
11556         * tabular.C:
11557         Add a using std::abs declaration.
11558
11559         * kbmap.h (modifier_pair):
11560         * paragraph.h (InsetTable, InsetList):
11561         * lyxfont.h (FontBits):
11562         type definition made public.
11563
11564         * bufferlist.C (emergencyWriteAll): the compiler complains that
11565         there is more than one possible lyx::class_fun template to choose from.
11566         I re-named the void specialisation as lyx::void_class_fun.
11567
11568         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11569
11570         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11571         the compiler is is unable to find tostr in write_attribute.
11572
11573 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11574
11575         * buffer.C (sgmlError): hide #warning
11576
11577 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11578
11579         * xtl/*: get rid of xtl, which is not in use anyway
11580
11581         * LyXAction.C (init):
11582         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11583         were unimplemented xtl experimentation
11584
11585 2002-06-04  André Pönitz <poenitz@gmx.net>
11586
11587         * lyxfunc.C: disable array operation on simple formulae
11588
11589 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11590
11591         * converter.C: constify a bit
11592
11593 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11594
11595         * lyx_gui.C: check xforms version correctly
11596
11597 2002-04-30  Herbert Voss  <voss@lyx.org>
11598
11599         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11600         "keep" option
11601
11602 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11605           attempt to register it with a VCS)
11606
11607 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11608
11609         * lyx_main.C (init): honor variables LYX_DIR_13x and
11610         LYX_USERDIR_13x
11611
11612 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11613
11614         * buffer.h:
11615         * buffer.C:
11616         * lyx_main.C: fix a crash on bad command line,
11617           and give a useful exit status on error
11618
11619         * lyxfunc.C (doImport): allow -i lyx to work
11620
11621 2002-03-30  André Pönitz <poenitz@gmx.net>
11622
11623         * lyxfunc.C: mathed font changes
11624
11625 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11626
11627         * LaTeX.C:
11628         * importer.h:
11629         * importer.C:
11630         * lyx_sty.h:
11631         * lyx_sty.C:
11632         * lyxlex.C:
11633         * lyxrow.h:
11634         * lyxtext.h:
11635         * paragraph.h:
11636         * paragraph.C:
11637         * texrow.h:
11638         * texrow.C:
11639         * text.C:
11640         * trans_mgr.h: srcdocs, and some minor cleanups
11641
11642 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11643
11644         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11645         call getFont all the time)
11646
11647 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11648
11649         * switch from SigC signals to boost::signals
11650
11651 2002-05-29  André Pönitz <poenitz@gmx.net>
11652
11653         * paragraph_pimpl.C (getChar): don't call size() too often...
11654
11655 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11656
11657         * paragraph_pimpl.C (insertChar): do not try to update tables when
11658         appending (pos == size())
11659
11660         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11661         in order to reduce drastically the number of comparisons needed to
11662         parse a large document
11663
11664 2002-05-29  André Pönitz <poenitz@gmx.net>
11665
11666         * text.C:
11667         * text2.C:
11668         * lyxtextclass.C:
11669         * sp_pspell.h:
11670         * textclasslist.[Ch]:
11671         * sp_ispell.h: whitespace change
11672
11673 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11674
11675         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11676         lyxaction directly now.
11677
11678 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11679
11680         * trans.C:
11681         * lyxfont.C:
11682         * lyxvc.C: remove unused headers
11683
11684 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11685
11686         * Makefile.am:
11687         * buffer.h:
11688         * undostack.h:
11689         * undostack.C:
11690         * undo_funcs.h:
11691         * undo_funcs.C: some cleanups. Use shared_ptr
11692           and a template for the undo stacks.
11693
11694 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11695
11696         * BufferView_pimpl.h:
11697         * BufferView_pimpl.C:
11698         * kbmap.h:
11699         * kbmap.C:
11700         * kbsequence.h:
11701         * kbsequence.C:
11702         * lyxfunc.h:
11703         * lyxfunc.C:
11704         * text2.C: use key_state/mouse_state
11705
11706 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11707
11708         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11709         and LSubstring
11710
11711         * chset.C: change include order
11712         (loadFile): use boost regex and get rid of LRegex and LSubstring
11713
11714         * Makefile.am (BOOST_LIBS): new variable
11715         (lyx_LDADD): use it
11716
11717         * LaTeX.C: change include order.
11718         (scanAuxFile): use boost regex and get rid of LRegex and
11719         LSubstring
11720         (deplog): ditto
11721
11722 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11723
11724         * ColorHandler.h:
11725         * ColorHandler.C:
11726         * FontInfo.h:
11727         * FontInfo.C: moved to frontends/xforms/
11728
11729         * FontLoader.h:
11730         * FontLoader.C: moved into frontends for GUIIzation
11731
11732         * Makefile.am:
11733         * lyx_gui.C:
11734         * lyxfont.C:
11735         * lyxfunc.C: changes from above
11736
11737 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * LColor.C: remove spurious X include
11740
11741         * BufferView_pimpl.C:
11742         * Makefile.am:
11743         * font.h:
11744         * font.C:
11745         * text.C:
11746         * text2.C: move font metrics to frontends/
11747
11748 2002-05-24  Juergen Vigna  <jug@sad.it>
11749
11750         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11751         setting the undo_cursor.
11752
11753         * ParagraphParameters.h: include local includes first.
11754
11755 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11756
11757         * BufferView_pimpl.C:
11758         * BufferView_pimpl.h:
11759         * Makefile.am:
11760         * WorkArea.h:
11761         * WorkArea.C:
11762         * screen.C: move WorkArea into frontends/
11763
11764         * lyxscreen.h:
11765         * screen.C:
11766         * text.C:
11767         * BufferView.C:
11768         * BufferView2.C: move LyXScreen into frontends/
11769
11770         * lyxlookup.h:
11771         * lyxlookup.C:
11772         * lyx_gui.C: move lyxlookup into frontends/xforms/
11773
11774 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11775
11776         * BufferView2.C:
11777         * BufferView_pimpl.C:
11778         * FontLoader.C:
11779         * LyXView.h:
11780         * LyXView.C:
11781         * Makefile.am:
11782         * WorkArea.C:
11783         * XFormsView.h:
11784         * XFormsView.C:
11785         * buffer.C:
11786         * bufferlist.C:
11787         * bufferview_funcs.C:
11788         * converter.C:
11789         * importer.C:
11790         * lyx_cb.C:
11791         * lyx_gui.C:
11792         * lyx_main.C:
11793         * lyx_find.C:
11794         * lyxfunc.C:
11795         * lyxvc.C:
11796         * minibuffer.C:
11797         * text.C:
11798         * text2.C:
11799         * trans.C:
11800         * vc-backend.C: move LyX/XFormsView into frontends/
11801
11802 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11803
11804         * Makefile.am:
11805         * PainterBase.C:
11806         * PainterBase.h:
11807         * Painter.C:
11808         * Painter.h:
11809         * WorkArea.C:
11810         * WorkArea.h:
11811         * screen.C:
11812         * tabular.C:
11813         * text.C:
11814         * text2.C: move Painter to frontends/
11815
11816 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11817
11818         * buffer.C: comment out some some code that depend upon lyx_format
11819         < 220
11820
11821         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11822         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11823
11824         * buffer.h (NO_COMPABILITY): turn off compability
11825
11826         * ColorHandler.C: include scoped_array.hpp
11827
11828         * font.C: Use more specific smart_ptr header.
11829         * Painter.C: ditto
11830         * gettext.C: ditto
11831         * ShareContainer.h: ditto
11832         * lyx_main.h: ditto
11833         * kbmap.h: ditto
11834         * FontInfo.h: ditto
11835         * BufferView_pimpl.h: ditto
11836         * ColorHandler.h: ditto
11837
11838         * kbmap.C (defkey): change call to shared_ptr::reset
11839
11840 2002-05-21  Juergen Vigna  <jug@sad.it>
11841
11842         * buffer.C (insertErtContents): fix to insert ert asis if it is
11843         non empty. Skip it completely if it contains only whitespaces.
11844
11845 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * BufferView_pimpl.C:
11848         * BufferView2.C: clear selection on paste (bug 393)
11849
11850 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11851
11852         * DepTable.C: include ctime
11853
11854 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11855
11856         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11857
11858 2002-05-14  Juergen Vigna  <jug@sad.it>
11859
11860         * text.C (breakParagraph): fixed function to honor the keepempty
11861         layout in the right maner and also to permit the right breaking
11862         algorithm on empty or non empyt keepempty paragraphs.
11863
11864         * paragraph.C (breakParagraph): we have to check also if the par
11865         is really empty (!size()) for isempty otherwise we do the wrong
11866         paragraph break.
11867
11868 2002-05-10  Juergen Vigna  <jug@sad.it>
11869
11870         * buffer.[Ch] : The following are only changes to the ert
11871         compatibility read reading old LaTeX layout and font stuff and
11872         convert it to ERTInsets.
11873
11874         * buffer.h: added isErtInset().
11875
11876         * buffer.C (struct ErtComp): add a fromlayout bool to check
11877         if we're inside a LaTeX layout.
11878         (isErtInset): new helper function.
11879         (insertErtContents): look for other ert insets before this one
11880         and insert the contents there, so that we don't have subsequent
11881         ERT insets with nothing between them. This way we create only one
11882         inset with multiple paragraphs. Also check if we don't insert only
11883         spaces ' ' as they are ignored anyway afterwards in the .tex file
11884         so if we have only spaces we will ignore this latex part in the
11885         new file.
11886         (parseSingleLyXformat2Token \\layout): better compatibility when
11887         reading layout-latex stuff.
11888         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11889         language tag.
11890         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11891         stuff after reading the inset only get the information back from
11892         the stack.
11893
11894 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11895
11896         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11897
11898         * LaTeXFeatures.C (getBabelOptions): New method.
11899
11900 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11901
11902         * BufferView_pimpl.C (Dispatch): work around missing argument for
11903         'layout'
11904
11905 2002-05-08  Juergen Vigna  <jug@sad.it>
11906
11907         * text.C (leftMargin): handle paragraph leftindent.
11908
11909         * paragraph.C (writeFile): write the new \\leftindent tag.
11910         (validate): handle leftindent code.
11911         (TeXEnvironment): handle paragraphleftindent code again.
11912
11913         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11914
11915         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11916         for paragrap_extra indent code and new token \\leftindent.
11917         (latexParagraphs): handle the leftindent as environment.
11918
11919         * ParameterStruct.h: added leftindent support.
11920
11921         * ParagraphParameters.C (leftIndent): added support functions for
11922         the paragraph left indent.
11923
11924         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11925         more appropriate.
11926
11927 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11928
11929         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11930         inside insetERT.
11931
11932         * text.C (computeBidiTables): No bidi in insetERT.
11933
11934         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11935         in RTL documents.
11936
11937 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11938
11939         * version.C.in: pre 5
11940
11941 2002-05-02  José Matos  <jamatos@fep.up.pt>
11942         * buffer.C (makeDocBookFile): white space changes, add newline to
11943         command styles.
11944         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11945
11946         * tabular.C (docBook): fix typo.
11947
11948 2002-05-03  Juergen Vigna  <jug@sad.it>
11949
11950         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11951         change in LyXText as we can not be sure it was not freed.
11952         (drawOneRow): remove unused code.
11953
11954         * text.C (drawInset): redo the calculation of the need_break_row as
11955         it could have a row which was already freed.
11956         (draw): look at the return value of drawInset and return false if
11957         it also returned false.
11958         (paintRowText): look at the return value of draw and return false if
11959         it also returned false.
11960
11961         * lyxtext.h: added bool return type to drawInset() and draw() so that
11962         if we have a change in the row so that the rowbreak has to be redone
11963         we abort drawing as it will be called again.
11964
11965 2002-05-02  Juergen Vigna  <jug@sad.it>
11966
11967         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11968         a change in the maintext also if we're inside an inset.
11969         (Dispatch): set the cursor again after a break line and after the
11970         screen has been updated as it could be we're in a different row.
11971
11972         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11973         to set the cursor behind the pargraph with > size().
11974         (setCursor): check also for the same paragraph when checking where
11975         to put the cursor if we have a NFR inset.
11976
11977         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11978         parts of layout read further up as it still was in the wrong
11979         position.
11980
11981 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11982
11983         * screen.C (drawFromTo): change sine fullRebreak always return
11984         true.
11985
11986         * buffer.C (parseSingleLyXformat2Token): reindent some
11987
11988         * BufferView_pimpl.C (update): change since fullRebreak always
11989         return true.
11990         (Dispatch): git rid of the last hardcoded "Standard"s.
11991
11992 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11993
11994         * text2.[Ch] (fullRebreak): make it return void now that we always
11995         returned true.
11996
11997 2002-04-30  Juergen Vigna  <jug@sad.it>
11998
11999         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12000         ert compatibility check for "latex" layout.
12001
12002 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12003
12004         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12005         minipages: use col% instead of p%, and also use the current font.
12006         (makeLaTeXFile): Fix use babel condition.
12007         (parseSingleLyXformat2Token): Correct font when reading old floats.
12008
12009 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12010
12011         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12012         inserting list of floats.
12013
12014 2002-04-25  Herbert Voss  <voss@lyx.org>
12015
12016         * MenuBackend.C (expand): don't add the graphics extensions to the
12017         export menu
12018
12019 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12020
12021         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12022         non-existing layout, do not complain if it was the default layout
12023         of the original class (bug #342)
12024
12025 2002-04-24  Juergen Vigna  <jug@sad.it>
12026
12027         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12028         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12029
12030 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12031
12032         * buffer.C (getBibkeyList): If using \bibliography, return the
12033         option field with the reference itself. Enables us to provide natbib
12034         support when using \bibliography.
12035
12036 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12037
12038         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12039
12040         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12041         natbib is provided by the LaTeX class.
12042
12043 2002-04-23  Juergen Vigna  <jug@sad.it>
12044
12045         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12046         Wakeup functions.
12047
12048         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12049
12050 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12051
12052         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12053
12054         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12055         ensuremath around textordmasculine, textordfeminine and
12056         textdegree.
12057
12058 2002-04-19  Juergen Vigna  <jug@sad.it>
12059
12060         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12061         reinitializing the buffer otherwise row-dimensions may be wrong.
12062         (update): reset also the selection cursors if they do exits otherwise
12063         their x/y positions may be wrong.
12064
12065         * text2.C (cursorDown): don't enter the inset if we came from a row
12066         above and are one row over the inset.
12067
12068         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12069         really leaving an inset.
12070
12071 2002-04-18  Juergen Vigna  <jug@sad.it>
12072
12073         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12074         of the selected paragraph does not have the selected layout also if
12075         the last one had!
12076
12077         * text2.C (setLayout): fixed bug which did not change last selected
12078         paragraph.
12079
12080         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12081         changed the read and substituted \\end_float with \\end_inset!
12082
12083         * BufferView_pimpl.C (cursorPrevious):
12084         (cursorNext): fixed to make it work with rows heigher than the work
12085         area without moving the cursor only the draw of the row.
12086         (workAreaMotionNotify): fix jumping over high rows.
12087
12088 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12089
12090         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12091         Ressler.
12092
12093 2002-04-16  Juergen Vigna  <jug@sad.it>
12094
12095         * text2.C (setCursor): set also the irow().
12096         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12097         (cursorUp):
12098         (cursorDown): support for locking an inset if the x_fix value goes
12099         inside it. That way I can transverse insets too with cursor up/down.
12100
12101         * lyxrow.h: added irow helper function same as other (i) functions.
12102
12103         * BufferView_pimpl.C (cursorPrevious):
12104         (cursorNext): fixed for insets!
12105
12106 2002-04-15  Juergen Vigna  <jug@sad.it>
12107
12108         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12109         position otherwise it is wrong in some cases.
12110
12111         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12112         inside the inset before the call.
12113
12114 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12115
12116         * buffer.[Ch] (getBibkeyList): make it const.
12117
12118 2002-04-12  Juergen Vigna  <jug@sad.it>
12119
12120         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12121
12122         * text2.C (getCursorX): new helper function
12123         (setCursor): compute also ix_
12124         (setCursorFromCoordinates): set also ix.
12125
12126         * lyxcursor.h: added ix_ and helper functions.
12127
12128         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12129
12130         * buffer.C (insertStringAsLines): dont break paragraph if the this
12131         paragraph is inside an inset which does not permit it!
12132
12133         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12134         also with no chars on this paragraph.
12135         (paintRowText): only paint stuff if it's inside the workarea!
12136
12137         * paragraph.C (breakParagraph): honor keepempty flag and break the
12138         paragraph always below not above.
12139
12140         * BufferView2.C (unlockInset): update the paragraph layout on inset
12141         unlock as we changed paragraph in such a case.
12142
12143         * lyxfind.C (LyXFind): clear the former selection if not found!
12144
12145         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12146         again called in insertChar().
12147
12148         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12149         an inset which uses the whole row!
12150         (rightMargin): ditto.
12151         (insertChar): force a rebreak if we inserted an inset!
12152
12153 2002-03-28  Herbert Voss  <voss@lyx.org>
12154
12155         * lyxlength.[Ch]: add inBP() to get the right PS-point
12156         units (BigPoint). With inPixels we have rounding errors
12157
12158 2002-04-11  Juergen Vigna  <jug@sad.it>
12159
12160         * text2.C (setCursorFromCoordinates): set iy to the right value.
12161         (setCursor): add check if row->previous exists!
12162
12163         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12164         an old float_type as this was the case in the old code!
12165
12166         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12167
12168         * BufferView2.C (showLockedInsetCursor): use iy
12169         (fitLockedInsetCursor): ditto
12170
12171         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12172         locked insets as there we have the right value now.
12173
12174         * lyxcursor.C: added iy_ variable and iy functions to set to the
12175         baseline of cursor-y of the locked inset.
12176
12177         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12178         (setCursor): fixed for insets which need a full row.
12179
12180         * text.C (rowLastPrintable): don't ignore the last space when before
12181         an inset which needs a full row.
12182         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12183         as last character of a row when before a inset which needs a full row.
12184
12185 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12186
12187         * version.C.in: update date
12188
12189         * text2.C (fullRebreak): try to always return true and see what
12190         happens...
12191
12192 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12193
12194         * MenuBackend.C (expand): use Floating::listName
12195
12196         * FloatList.C (FloatList): add listName argument to the built-in
12197         floats
12198
12199         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12200         text associated with the float.
12201
12202 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12203
12204         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12205
12206 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12207
12208         * ShareContainer.h: add a couple of missing typenames.
12209
12210 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12211
12212         * lyxrc.C (getDescription): use _() correctly rather than N_().
12213
12214 2002-03-28  Herbert Voss  <voss@lyx.org>
12215
12216         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12217         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12218
12219 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12220
12221         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12222         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12223
12224 2002-03-29  Juergen Vigna  <jug@sad.it>
12225
12226         * lyxfunc.C (dispatch): add a missing fitCursor call.
12227
12228         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12229         it was scrolled by a cursor move, so return the bool status.
12230
12231         * BufferView.C (fitCursor): return the bool flag also to the outside
12232         world as this is needed.
12233
12234         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12235
12236         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12237         call the edit() as it is not needed (and wrong) IMO.
12238         (workAreaButtonPress): set the screen_first variable before evt.
12239         unlock the inset as this may change screen_first and then we have
12240         a wrong y position for the click!
12241
12242 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12243
12244         * MenuBackend.C (expand): another translation that I missed
12245
12246 2002-03-28  Juergen Vigna  <jug@sad.it>
12247
12248         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12249
12250         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12251
12252 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12253
12254         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12255
12256         * MenuBackend.C (expand): fix export/view/update when there is no
12257         document open.
12258
12259 2002-03-27  Herbert Voss  <voss@lyx.org>
12260
12261         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12262         and text%
12263
12264 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12265
12266         * bufferview_funcs.C (currentState): only show paragraph number
12267         for is DEVEL_VERSION is set.
12268
12269         * lyxfunc.C (dispatch): put warning in INFO channel
12270
12271         * MenuBackend.C (expand): translate the name of floats
12272
12273         * FloatList.C (FloatList): mark the float names for translation
12274
12275         * converter.C (convert): use LibScriptSearch
12276
12277 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12278
12279         * MenuBackend.C (defaults): fix default menu (we might as well get
12280         rid of it...)
12281
12282 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12283
12284         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12285         directory.
12286
12287 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12288
12289         * lyxvc.C: reorder includes.
12290
12291 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12292
12293         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12294           properly
12295
12296 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12297
12298         * CutAndPaste.C: change layouts earlier on paste
12299           to avoid crashing when calling getFont()
12300
12301 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12302
12303         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12304         irritating #error.
12305
12306 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12307
12308         * WorkArea.C: remove 'Pending' debug message.
12309
12310         * most files: ws cleanup
12311
12312         * buffer.[Ch]: ws changes
12313
12314         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12315
12316 2002-03-21  Juergen Vigna  <jug@sad.it>
12317
12318         * tabular.C (SetMultiColumn): collapse also the contents of the
12319         cells and set the last border right. Added a Buffer const * param.
12320
12321 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12322
12323         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12324         linking or not.
12325
12326 2002-03-19  Juergen Vigna  <jug@sad.it>
12327
12328         * text2.C (clearSelection): reset also xsel_cache.
12329
12330         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12331         where it needs to be called (John tells us to do so too :)
12332         (selectionLost): reset sel_cache.
12333
12334         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12335
12336 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12337
12338         * text2.C (setCursorIntern): put debuging code in INSETS channel
12339
12340 2002-03-19  André Pönitz <poenitz@gmx.net>
12341
12342         * lyxfunc.C: tiny whitespace change
12343
12344 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12345
12346         * ToolbarDefaults.C (init):
12347         * LyXAction.C (init):
12348         * commandtags.h:
12349         * BufferView_pimpl.C (Dispatch):
12350         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12351
12352 2002-03-19  Allan Rae  <rae@lyx.org>
12353
12354         * exporter.C (Export): removeAutoInsets before doing anything else.
12355         While I've just introduced a dependency on BufferView this really is
12356         the best place to clean the buffer otherwise you need to cleanup in
12357         a dozen places before calling export or cleanup in a dozen functions
12358         that export calls.
12359
12360         * converter.C (runLaTeX):
12361         (scanLog): Better handling of removeAutoInsets and screen updates.
12362
12363         * lyxfunc.C (dispatch): small whitespace changes
12364
12365 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12366
12367         * WorkArea.C (C_WorkAreaEvent): return a value.
12368         (event_cb): return 1 if we handled the event, 0 otherwise.
12369
12370         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12371
12372 2002-03-18  Juergen Vigna  <jug@sad.it>
12373
12374         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12375         (GetAdditionalWidth): ditto.
12376         (RightLine): ditto.
12377         (LeftLine): ditto.
12378
12379         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12380         inset if we're there actually (probably not used right now but this
12381         is the direction to go for unifying code).
12382         (paste): disable code to clear the selection.
12383
12384         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12385         inside an InsetText and move the check further up as it is in the
12386         wrong place.
12387
12388         * text2.C (pasteSelection): set a selection over the pasted text.
12389
12390 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12391
12392         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12393         and libgraphics to build on Cygwin.
12394
12395 2002-03-15  Juergen Vigna  <jug@sad.it>
12396
12397         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12398         inserting an Inset into the paragraph. I know this is not the best
12399         fix but we already use current_view in CutAndPaste so we will remove
12400         all of it's using at the same time.
12401
12402         * buffer.C (sgmlError): deactivated function till it is rewritten in
12403         the right mode, now it can create problems.
12404
12405         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12406         before accessing it.
12407
12408 2002-03-14  Juergen Vigna  <jug@sad.it>
12409
12410         * undo_funcs.C (textHandleUndo): do the right thing when updating
12411         the inset after the undo/redo.
12412
12413         * text2.C (setCursor): just some testcode for #44 not ready yet.
12414
12415         * undo_funcs.C (textHandleUndo): set the next() and previous()
12416         pointers of the paragraph to 0 before deleting otherwise we have
12417         problems with the Paragraph::[destructor].
12418
12419         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12420         on a paragraph insertion.
12421
12422 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12423
12424         * buffer.C (asciiParagraph): use += operator for char append to
12425         string.
12426
12427         * paragraph.C (getFontSettings): compare >= not just >
12428         (highestFontInRange): ditto
12429         (setFont): ditto
12430
12431 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12432
12433         * paragraph.C: change several algorithm to be more appripriate for
12434         the problem domain. This is lookip in FontList and in the InsetList.
12435
12436 2002-03-13  André Pönitz <poenitz@gmx.net>
12437
12438         * commandtags.h:
12439         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12440
12441 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12442
12443         * commandtags.h:
12444         * LyXAction.C:
12445         * lyxfunc.C:
12446         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12447
12448 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12449
12450         * Painter.C (display): anon helper function, adjust code for this
12451         change.
12452         (pixmap): remove function.
12453
12454         * Painter.h: remove private display variable.
12455
12456         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12457
12458 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12459
12460         * WorkArea.[Ch]: remove figinset_canvas cruft.
12461
12462 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12463
12464         * lyxtextclass.C (operator): add one item cache optimization.
12465
12466         * bufferlist.h: doxy changes
12467
12468         * bufferlist.C: ws changes
12469
12470         * DepTable.[Ch] (ext_exist): place const in the right spot.
12471
12472         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12473         call resizeInsets.
12474         (workAreaExpose): call resizeInsets when the with BufferView changes.
12475         (Dispatch): adjust for protectedBlank removal
12476         (specialChar): call updateInset if the insert went ok.
12477
12478         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12479         specialChar instead.
12480
12481         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12482
12483         * BufferView.h: doxy change
12484
12485         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12486
12487         * lyxtextclass.C (operator[]): remove non-const version
12488         (defaultLayout): remove non-const version
12489
12490 2002-03-12  Juergen Vigna  <jug@sad.it>
12491
12492         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12493         did resize the LyXText too.
12494
12495         * buffer.C (readLyXformat2): set layout information on newly allocated
12496         paragraphs.
12497
12498         * tabular.C (OldFormatRead): set layout information on the paragraph.
12499
12500 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12501
12502         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12503
12504 2002-03-11  Juergen Vigna  <jug@sad.it>
12505
12506         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12507         plainly wrong.
12508         (resizeCurrentBuffer): force also the insets to resize themselfes.
12509         (moveCursorUpdate): fixed up for InsetText.
12510
12511 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12512
12513         * commandtags.h:
12514         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12515         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12516         value of Dialogs::tooltipsEnabled().
12517         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12518
12519 2002-03-08  Juergen Vigna  <jug@sad.it>
12520
12521         * BufferView_pimpl.C (updateInset): update inset inside inset also
12522         if it isn't inside theLockingInset().
12523
12524 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12525
12526         * buffer.C (asciiParagraph): redo some of the word and line length
12527         handling.
12528         (getLists): look for Caption instead of caption.
12529
12530 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12531
12532         * buffer.C (Buffer): initialize niceFile to true
12533         (makeLaTeXFile):
12534         (makeLinuxDocFile):
12535         (makeDocBookFile): make sure niceFile is true on exit
12536
12537 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12538
12539         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12540
12541 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12542
12543         * LyXSendto.C: remove.
12544         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12545         * lyx_gui.C: remove now-redundant comment.
12546         * ColorHandler.h: remove forward declaration of class WorkArea.
12547         * lyxfunc.C: remove #include "WorkArea.h".
12548
12549 2002-03-07  Juergen Vigna  <jug@sad.it>
12550
12551         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12552         got moved away with the DEPM and also set the inset_owner always
12553         right which before could have been omitted.
12554
12555 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12556
12557         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12558         wanted layout is not found.
12559
12560 2002-03-07  Juergen Vigna  <jug@sad.it>
12561
12562         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12563
12564 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12565
12566         * paragraph.C (breakParagraph): use default layout not layout of
12567         prev paragraph.
12568         (Paragraph): clear ParagraphParameters.
12569
12570 2002-03-06  Juergen Vigna  <jug@sad.it>
12571
12572         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12573         otherwise it would not be a valid lenght. Fixed a special case in
12574         the minipage compatibility read where we end the document with a
12575         minipage.
12576
12577         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12578         was set as it could be 0 for InsetTexts first entry.
12579
12580 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12581
12582         * paragraph.C (writeFile): if layout is empty write out
12583         defaultLayoutName().
12584
12585         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12586         file without named layout we set layout to defaultLayoutName().
12587
12588 2002-03-06  Juergen Vigna  <jug@sad.it>
12589
12590         * CutAndPaste.C (copySelection): set layout for new paragraph.
12591
12592         * text.C (prepareToPrint): leave ERT inset left aligned
12593         (leftMargin): don't indent paragraphs inside ERT insets
12594
12595 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12596
12597         * paragraph.C (breakParagraph): dont call clear do the work manually
12598
12599         * paragraph.[Ch] (clear): remove function
12600
12601 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12602
12603         * paragraph.C (Paragraph): dont call clear, the work has already
12604         been done.
12605
12606         * lyxtextclass.C (operator): assert if n is empty
12607
12608         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12609         work manually instead.
12610
12611 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12612
12613         * BufferView_pimpl.C: protect selectionLost against text == 0
12614
12615 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12616
12617         * text.C (breakParagraph): fix a setting layout to '0' problem.
12618
12619 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12620
12621         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12622         final location of file, for the included files, and graphics.
12623
12624 2002-03-05  Juergen Vigna  <jug@sad.it>
12625
12626         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12627
12628 2002-03-04  Juergen Vigna  <jug@sad.it>
12629
12630         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12631
12632         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12633         last column of multicolumn cells.
12634         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12635
12636 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12637
12638         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12639         file if it doesn't go to a temporary file.
12640
12641         * buffer.C (sgmlOpenTag):
12642         (sgmlCloseTag):  remove extra newline insertion.
12643
12644 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12645
12646         * text.C (getRowNearY): comment out debug msg
12647
12648 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12649
12650         * text2.C: first -> first_y
12651
12652         * text.C (getRowNearY): add some attemts at a possible
12653         optimization, not working.
12654
12655         * tabular.[Ch]: add BufferParams to several function so that newly
12656         created paragraph can be initialized to he default layotu for the
12657         buffers textclass.
12658
12659         * tabular-old.C (ReadOld): add buf->params to call of Init
12660
12661         * screen.C: rename text->first to text->first_y
12662
12663         * paragraph.C (breakParagraph): always set layout in the broken
12664         paragraph
12665
12666         * lyxtextclass.C (Read): remove lowercase
12667         (hasLayout): ditto
12668         (operator): ditto
12669         (delete_layout): ditto
12670
12671         * lyxtext.h: rename first -> first_y
12672
12673         * lyxlayout.C (Read): remove lowercase
12674         (name): ditto
12675         (setName): ditto
12676         (obsoleted_by): ditto
12677
12678         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12679
12680         * buffer.C (insertErtContents): add params are to InsetERT
12681         (parseSingleLyXformat2Token): add code to check if a paragraphs
12682         layout really exist.
12683         (parseSingleLyXformat2Token): add params to several inset
12684         constructors
12685         (asciiParagraph): remove lowercase, do the layout comparisons with
12686         no_case
12687
12688         * BufferView_pimpl.C (cursorNext): first -> first_y
12689         (resizeCurrentBuffer): first -> first_y
12690         (updateScrollbar): first -> first_y
12691         (scrollCB): first -> first_y
12692         (workAreaMotionNotify): first -> first_y
12693         (workAreaButtonPress): first -> first_y
12694         (checkInsetHit): first -> first_y
12695         (cursorPrevious): first -> first_y
12696         (cursorNext): first -> first_y
12697         (Dispatch): add buffer_->params to severl inset contructors
12698
12699 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12700
12701         * lyxlayout.C (Read): remove some debug info that I forgot.
12702
12703         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12704         clean up the code slightly.
12705         (makeLinuxDocFile): ditto
12706         (makeDocBookFile): ditto
12707
12708         * text2.C: layout as string
12709
12710         * text.C: layout as string
12711
12712         * paragraph_pimpl.C: layout as string
12713
12714         * paragraph.[Ch]: layout as string
12715
12716         * lyxtextclasslist.[Ch]: layout as string
12717
12718         * lyxtextclass.[Ch]: layout as string
12719
12720         * lyxtext.h: layout as string
12721
12722         * lyxlayout.[Ch]: layout as string
12723
12724         * lyx_cb.C: layout as string
12725
12726         * bufferview_funcs.C: layout as string
12727
12728         * bufferparams.C: layout as string
12729
12730         * buffer.C: layout as string
12731
12732         * LyXView.[Ch]: layout as string
12733
12734         * LaTeXFeatures.[Ch]: layout as string
12735
12736         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12737
12738         * BufferView_pimpl.C: change current_layout to string, remove
12739         lyx::layout_type.
12740         (Dispatch):
12741         (smartQuote):
12742         (insertInset):
12743         (workAreaButtonRelease): layout as string
12744
12745         * BufferView2.C (unlockInset): adjust
12746
12747         * vspace.C (asLatexCommand): use an explict temp variable.
12748
12749 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12750
12751         * Makefile.am: use FRONTEND_*
12752
12753 2002-03-01  Juergen Vigna  <jug@sad.it>
12754
12755         * tabular.C (SetWidthOfMulticolCell): changed to something better
12756         I hope but still work in progress.
12757         (recalculateMulticolumnsOfColumn): renamed function from
12758         recalculateMulticolCells as it is more appropriate now.
12759         (SetWidthOfCell): calculate multicols better.
12760
12761 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12762
12763         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12764
12765         * lyxfunc.C (processKeySym): print sequence also if it is
12766         `deleted' (complete)
12767
12768         * kbsequence.C (print): print sequence even if it is deleted
12769         (complete would be a better word, actually).
12770
12771         * lyxfunc.C (dispatch): print complete options after a prefix key
12772
12773         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12774
12775 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12776
12777         * text2.C (setCharFont): eliminate setCharFont code duplication.
12778
12779 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12780
12781         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12782         LFUN_TABULAR_FEATURE (bug #177)
12783
12784 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12785
12786         * Makefile.am: remove figure.h
12787
12788 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12789
12790         * Bufferview_pimpl.C:
12791         * CutAndPasteC:
12792         * LaTeX.C:
12793         * LyXSendto.C:
12794         * buffer.C:
12795         * bufferlist.C:
12796         * converter.C:
12797         * language.C:
12798         * lyxfunc.C:
12799         * lyxvc.C:
12800         * paragraph.C:
12801         * text.C:
12802         * text2.C: remove #include "lyx_gui_misc.h".
12803
12804         * LaTeX.C: added #include <cstdio>
12805
12806 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12807
12808         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12809         that the paragraph following this one can have.
12810
12811         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12812
12813         * vspace.C (asLatexCommand): fix bogus gcc warning
12814
12815         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12816
12817 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12818
12819         * text2.C (setLayout): get rid of redundant code
12820
12821 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12822
12823         * text2.C (incDepth): make sure depth cannot be increased beyond
12824         reasonable values.
12825
12826 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12827
12828         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12829         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12830
12831         * PainterBase.h (image):
12832         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12833         a LyXImage const *.
12834
12835 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12836
12837         * BufferView.C:
12838         * BufferView.h:
12839         * BufferView_pimpl.C:
12840         * BufferView_pimpl.h:
12841         * LaTeXFeatures.C:
12842         * LyXAction.C:
12843         * LyXView.C:
12844         * Makefile.am:
12845         * UpdateList.h:
12846         * UpdateList.C:
12847         * buffer.C:
12848         * figure.h:
12849         * figureForm.C:
12850         * figureForm.h:
12851         * figure_form.C:
12852         * figure_form.h:
12853         * lyx_cb.C:
12854         * lyx_gui.C:
12855         * lyx_gui_misc.C:
12856         * lyxfunc.C:
12857         * sp_base.h:
12858         * sp_ispell.h:
12859         * sp_pspell.h:
12860         * sp_spell.C: remove fig inset, and the crap house of
12861           cards that follows it
12862
12863 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12864
12865         * Makefile.am:
12866         * lyxserver.C:
12867         * os2_defines.h:
12868         * os2_errortable.h:
12869         * nt_defines.h: move .h into support/
12870
12871         * vms_defines.h: remove
12872
12873         * WorkArea.C: add space in debug output
12874
12875         * text2.C:
12876         * paragraph.C:
12877         * buffer.C: add WITH_WARNINGS
12878
12879         * vc-backend.h:
12880         * vc-backend.C:
12881         * bufferlist.C: s/retrive/retrieve/, add docs
12882
12883         * vspace.h:
12884         * vspace.C:
12885         * kbmap.h:
12886         * lyxlength.h:
12887         * lyxgluelength.h:
12888         * length_common.h:
12889         * chset.h:
12890         * chset.C: add docs
12891
12892         * lyxgui.C: add ID to X error handler
12893
12894         * lyxtestclass.c: fix typo
12895
12896 2002-02-26  Juergen Vigna  <jug@sad.it>
12897
12898         * tabular_funcs.C (write_attribute): changed so that some default
12899         attributes are not written at all.
12900         (getTokenValue): set default values before trying to read the
12901         value so we have the return value always set as default if we don't
12902         find the token we search for.
12903
12904         * tabular.C (Write): write bools as bools not as strings!
12905
12906 2002-02-22  Juergen Vigna  <jug@sad.it>
12907
12908         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12909         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12910
12911         * text.C (leftMargin): don't add an indent for paragraphs inside
12912         tabular cells (fix #208).
12913
12914 2002-02-21  José Matos  <jamatos@fep.up.pt>
12915
12916         * tabular.C (docBook): fixed support for long tables.
12917
12918 2002-02-20  Juergen Vigna  <jug@sad.it>
12919
12920         * text2.C (getFont): get the drawing font of the Inset if this
12921         paragraph is inside an inset (only important for InsetERT for now).
12922
12923         * buffer.C (insertErtContents): use new lanugage params in ERT
12924         constructor.
12925
12926         * CutAndPaste.C: commenting out seemingly uneeded code.
12927
12928 2002-02-19  Allan Rae  <rae@lyx.org>
12929
12930         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12931         Iterators might be simple to use but they also get invalidated.
12932         (removeAutoInsets): renamed saved cursor tracking variables and added
12933         some comments to clarify what everything does.
12934
12935 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12936
12937         * Chktex.C:
12938         * LaTeX.C:
12939         * LyXSendto.C:
12940         * converter.C:
12941         * lyx_cb.C:
12942         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12943         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12944
12945         * lyxfunc.C:
12946         * vc-backend.h: remove #include "support/syscall.h"
12947
12948         * LaTeX.C:
12949         * LyXSendto.C:
12950         * converter.C: rearrange #includes in Lars' approved fashion.
12951
12952         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12953         forward declare class Timeout in the header file.
12954
12955         * XFormsView.C: changes due to the above.
12956
12957         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12958         similar to LyXView.
12959
12960         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12961         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12962
12963 2002-02-18  José Matos  <jamatos@fep.up.pt>
12964
12965         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12966         insets contents.
12967
12968 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12969
12970         * a lot of small ws changes
12971         * add a lot of using std::XXX
12972         * use std construcs some places where approp.
12973         * use some exisint stuff from lyxfunctional where approp.
12974         * Make file changes to use partial linking (lets test this now...)
12975
12976 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12977
12978         * Chktex.C:
12979         * buffer.C:
12980         remove #include "support/syscontr.h" as it's redundant. Always has been.
12981
12982         * Chktex.C:
12983         * LaTeX.C:
12984         * LyXSendto.C:
12985         * converter.C:
12986         * lyx_cb.C:
12987         * vc-backend.C:
12988         change Systemcalls::System to Systemcalls::Wait and
12989         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12990         No change of functionality, just reflects the stripped down Systemcalls
12991         class.
12992
12993 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12994
12995         * debug.[Ch]: add a GRAPHICS type to the enum.
12996
12997 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12998
12999         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13000
13001         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13002         there is an inset.
13003
13004 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13005
13006         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13007         match the changes below.
13008
13009         * text2.C (toggleInset): if there is not editable inset at cursor
13010         position, try to see if cursor is _inside_ a collapsable inset
13011         and close it.
13012
13013 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13014
13015         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13016         document menu has a nice checkbox
13017
13018 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13019
13020         * lyxlength.C (asLatexString): change PW to output as percent of
13021         \textwidth.
13022
13023         * lengthcommon.C: change '%' to 't%'
13024
13025         * lyxfunc.C (dispatch): a few comments from Martin
13026
13027 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13028
13029         * WorkArea.h:
13030         * WorkArea.C:
13031         * BufferView_pimpl.h:
13032         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13033           the X selection.
13034
13035 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13036
13037         * vspace.C (inPixels): fix compiler warning
13038
13039 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13040
13041         * lyxfunc.C (getStatus): fix status message for disabled commands.
13042
13043 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13044
13045         * BufferView_pimpl.C: fix crash on close buffer
13046         during selection (#227)
13047
13048 2002-01-27  Herbert Voss  <voss@lyx.org>
13049
13050         * buffer.C: link old Figure to new graphic inset
13051
13052 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13053
13054         * FontLoader.C (getFontinfo): Change the latex font names in order
13055         to match the names of type1inst.
13056
13057 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13058
13059         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13060
13061         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13062         (extchanged): ditto
13063         (ext_exist): ditto
13064         (remove_files_with_extension): ditto
13065         (remove_file): ditto
13066         (write): ditto
13067
13068         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13069         document is smaller than the work area height. Do not initialize
13070         static variables to 0.
13071
13072 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13073
13074         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13075
13076         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13077         LFUN_LAYOUT_PARAGRAPHS.
13078
13079         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13080         tabular. It is possible to provide a possible cell, which will
13081         typically be the actcell from the corresponding insettabular
13082
13083         * lyxfunc.C (getStatus): small cleanup; disable
13084         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13085         true
13086
13087 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13088
13089         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13090
13091         * paragraph.C (startTeXParParams):
13092         (endTeXParParams): new methods. The LaTeX code to
13093         start/end paragraph formatting
13094         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13095         empty (fixes bug #200)
13096
13097         * vspace.C (inPixels): adapt to the change below
13098         (inPixels): [later] more cleanups (remove unused variables)
13099
13100         * lyxlength.C (inPixels): change to use a width and a height as
13101         parameter.
13102
13103 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13104
13105         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13106         Replaced with \paperwidth
13107
13108         * DepTable.C (insert): add std:: qualifier
13109
13110 2002-01-18  Allan Rae  <rae@lyx.org>
13111
13112         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13113         updated also?
13114
13115         * text.C (drawInset): Turned out I didn't know enough about how
13116         rebreaking worked.  This fixes most of the redraw problems.  I see
13117         an occasional cursor trail when a line is broken now and the cursor
13118         placement can seem out by a few pixels also after a rebreak.
13119
13120 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13121
13122         * buffer.C (parseSingleLyXformat2Token): update because minipage
13123         width is now a LyXLength
13124
13125         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13126
13127         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13128         math insets
13129
13130 2002-01-17  Juergen Vigna  <jug@sad.it>
13131
13132         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13133
13134         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13135         is set correctly and the inset is updated correctly.
13136
13137 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13138
13139         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13140         the beginning of the loop.
13141
13142 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13143
13144         * lyxrc.C: improve help for use_scalable_fonts
13145
13146 2002-01-17  Allan Rae  <rae@lyx.org>
13147
13148         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13149
13150 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13151
13152         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13153         make sure to set their inset_owner to the right value (bug #171)
13154
13155 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13156
13157         * DepTable.h
13158         * DepTable.C: Implement mtime checking to reduce time spent doing
13159         CRCs.
13160
13161 2002-01-16  Juergen Vigna  <jug@sad.it>
13162
13163         * tabular.C (GetAdditionalHeight): one of error fixed.
13164
13165         * lyxrc.C (output): small fix in writing use_pspell.
13166
13167 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13168
13169         * sp_base.h: #include LString.h
13170
13171 2002-01-16  Allan Rae  <rae@lyx.org>
13172
13173         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13174         Can someone check this please?
13175
13176         * text.C (drawInset): It was possible that p.row would be removed by
13177         breakAgainOneRow upsetting a few other settings.  There may be another
13178         small tweak possible by setting need_break_row = 0 when p.row has been
13179         removed but I don't know enough about the logic here.
13180
13181 2002-01-15  Allan Rae  <rae@lyx.org>
13182
13183         * text.C (insertChar): removed conditional truism.
13184
13185         * BufferView2.C (removeAutoInsets): More tweaks.
13186         cur_par_prev could be a stray pointer.  Check for trailing empty line
13187         in case last line was cur_par and only had an error inset on it.
13188
13189 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13190
13191         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13192         absolute
13193
13194         * vc-backend.C (most methods):
13195         * exporter.C (Export):
13196         * converter.C (convert):
13197         (runLaTeX):
13198         * LyXSendto.C (SendtoApplyCB):
13199         * lyxfunc.C (dispatch):
13200         (menuNew):
13201         (open):
13202         (doImport):
13203         * lyx_cb.C (AutoSave):
13204         (InsertAsciiFile):
13205         * BufferView_pimpl.C (MenuInsertLyXFile):
13206         * buffer.C (runChktex): use Buffer::filePath().
13207
13208         * buffer.h: rename filename to filename_; rename filepath to
13209         filepath_ and make it private
13210         (filePath): new method
13211
13212         * buffer.C (writeFile): use fileName()
13213         (getLatexName):
13214
13215         * lyx_main.C (init): fix starting  of LyX when the binary is a
13216         link from so,ewhere else.
13217
13218         * minibuffer.C: include <cctype> for isprint
13219
13220 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13221
13222         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13223         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13224         name clash with InsetCollapsable's width function.
13225
13226 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13227
13228         * lastfiles.C: include <iterator>
13229
13230 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13231
13232         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13233         std::count.
13234
13235         * buffer.C (makeLaTeXFile): ditto.
13236         Also make loop operation more transparent.
13237
13238 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13239
13240         * ToolbarDefaults.C: remove trailing comma closing namespace.
13241
13242         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13243
13244         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13245         as in WorkArea.
13246
13247         * trans.C (Load): comment out unused variable, allowed.
13248
13249 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13250
13251         * minibuffer.[Ch] (append_char): new method to recieve input from the
13252         drop-down completion browser. If a key was pressed, then recieve this
13253         char and append it to the existing string.
13254         (peek_event): modify the positioning data passed to the completion
13255         browser so that it can be placed above the minibuffer rather than below.
13256 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13257
13258         * LyXAction.C (init): alloe error-next for readonly documents.
13259
13260         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13261         count.
13262
13263 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13264
13265         * bufferlist.C (readFile): create the buffer _after_ checking that
13266         the file exists.
13267
13268         * lyxfunc.C (verboseDispatch): fix handling of arguments
13269
13270         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13271
13272         * lyxrc.C: use string::erase() instead of initializing to "".
13273
13274
13275 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13276
13277         * BufferView_pimpl.h:
13278         * BufferView_pimpl.C:
13279         * WorkArea.h:
13280         * WorkArea.C:
13281         * text2.C: tell X when we have made a selection for copying
13282
13283 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13284
13285         * BufferView_pimpl.C (MenuInsertLyXFile):
13286         * lyxfunc.C (menuNew):
13287         (open):
13288         (doImport): add shortcuts to directory buttons
13289
13290         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13291         open a float)
13292
13293         * lyxfunc.C (setStatusMessage):
13294         (getStatusMessage): new methods
13295         (getStatus):use setStatusMessage instead of setErrorMessage
13296         (dispatch): when function is disabled, set error message here
13297         [instead of in getStatus previously]
13298
13299         * BufferView_pimpl.C (workAreaButtonRelease): update
13300         toolbar/menubar here too.
13301
13302 2002-01-13  Allan Rae  <rae@lyx.org>
13303
13304         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13305         Now seems indestructible.  Remaining task is to audit all other
13306         code affected by deleteEmptyParagraphMechanism.  One small quirk
13307         left is that an empty document with an error in the preamble can
13308         be made to report an error but no error box appears.  I don't know
13309         where it goes.
13310         (removeAutoInsets): Improved comments.
13311
13312 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13313
13314         * Thesaurus.h:
13315         * Thesaurus.C: update for Aiksaurus 0.14
13316
13317 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13318
13319         * text2.C (firstParagraph): removed member function, all uses
13320         replaces with ownerParagraph
13321         (redoParagraphs): here
13322         (updateInset): here
13323         (toggleAppendix): here
13324         * BufferView2.C (insertErrors): here
13325         (setCursorFromRow): here
13326
13327 2002-01-13  Allan Rae  <rae@lyx.org>
13328
13329         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13330         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13331         There is still a way to segfault this although you may have to do this
13332         multiple times: Have an InsetERT with an unknown command in it.
13333         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13334         <down-arrow>, <Enter> again, View->DVI, BANG!
13335
13336         * text2.C (setCursor):
13337         (deleteEmptyParagraphMechanism):
13338         * lyxtext.h (setCursor):
13339         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13340         Making use of the return value may help fix other bugs.
13341
13342 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13343
13344         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13345
13346         * LyXView.C (updateMenubar): call MenuBar::update here
13347         (updateToolbar): but not here
13348         (showState): do not update toolbar/menubar
13349
13350         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13351         should need to care about that.
13352
13353         * lyxfunc.C (verboseDispatch): simplify a bit
13354         (getStatus): have a version which takes a pseudoaction, and
13355         another which requires a (kb_action,string).
13356
13357         * LyXAction.C (retrieveActionArg): make it work also when action
13358         is not a pseudo-action.
13359         (getActionName): simplify a bit
13360         (helpText):
13361
13362 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13363
13364         * lyxfunc.C (verboseDispatch): new families of methods with
13365         several ways to specify a command and a bool to indicate whether
13366         the command name and shortcut should be displayed in minibuffer
13367         (eventually, we could extend that to a finer bitmask like
13368         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13369         (dispatch): the pristine dispatch command which just, well,
13370         dispatchs! Note it still sets its result to minibuffer; I'm not
13371         sure we want that.
13372
13373         * lyxfunc.h: remove setHintMessage
13374
13375         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13376
13377 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13378
13379         * BufferView_pimpl.C (specialChar): delete new inset if we have
13380         not been able to insert it.
13381
13382         * kbmap.C: revert to using int instead of kb_action, since all we
13383         are dealing with is pseudo-actions.
13384
13385         * LyXAction.C (searchActionArg): change to return int instead of
13386         kb_action, since the result is a pseudoaction.
13387
13388 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13389
13390         * buffer.C (insertErtContents): Fix (partially) the font bug.
13391
13392 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13393
13394         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13395         as the other one is broken on my machine!
13396
13397 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13398
13399         * commandtags.h:
13400         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13401
13402 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13403
13404         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13405         reflect their actual use. Provide compatibility code for older lyxrc
13406         files.
13407
13408         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13409         FL_NORMAL_STYLE.
13410         change names of popup font variables in line with the changes to lyxrc.C
13411
13412 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13413
13414         * buffer.C (asciiParagraph): avoid outputing a word twice after
13415         an inset.
13416
13417         * lyxrc.C (getDescription): document that document_path and
13418         template_path can be empty.
13419
13420 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13421
13422         * LaTeXFeatures.C (getMacros):
13423         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13424
13425         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13426
13427         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13428         getPackages.
13429         (getPackages): rename feature "floats" to "float". Use an array to
13430         iterate over 'simple' features (i.e. just a \usepackage). Add
13431         handling of "amsmath" (renamed from "amsstyle").
13432
13433 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13434
13435         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13436         features list.
13437
13438 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13439
13440         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13441         FuncStaus::FuncStatus & FuncStaus::some_method().
13442
13443 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13444
13445         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13446         of the func_satus stuff. Edited and massaged in various ways by
13447         JMarc.
13448
13449         * lyxfunc.C (getStatus): use FuncStatus
13450
13451 2002-01-08  Juergen Vigna  <jug@sad.it>
13452
13453         * text.C (nextBreakPoint): use function Inset::isChar().
13454
13455         * paragraph.C (TeXOnePar): use function
13456         Inset::forceDefaultParagraphs.
13457
13458         * buffer.C (latexParagraphs): use function
13459         Inset::forceDefaultParagraphs.
13460
13461 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13462
13463         * lyx_gui.C (init): set the style of the menu popups to
13464         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13465
13466 2002-01-07  Juergen Vigna  <jug@sad.it>
13467
13468         * text.C (setHeightOfRow): small fix
13469         (prepareToPrint): don't look at alignment if we don't have the place
13470         for doing it.
13471
13472 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13473
13474         * box.C: New file. Move the Box methods and functions out of box.h,
13475         following Lars' suggestion.
13476
13477 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13478
13479         * box.h: #include "support/LOstream.h", needed for inlined function.
13480
13481         * lyxtextclass.C:
13482         * lyxtextclasslist.C: added some using std declarations.
13483
13484 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13485
13486         * box.h: make signed dimensions to allow insets wider than
13487           the screen (bug #162)
13488
13489         * BufferView_pimpl.C: add some insetHit debug
13490
13491 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13492
13493         * vc-backend.C: add FIXME
13494
13495 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13496
13497         * lyxfunc.C (getStatus): enable code for showing math font status
13498         in toolbar/menu.
13499
13500 2002-01-07  Juergen Vigna  <jug@sad.it>
13501
13502         * text.C (nextBreakPoint): removed debug output not needed anymore.
13503
13504 2002-01-06  Juergen Vigna  <jug@sad.it>
13505
13506         * text.C (nextBreakPoint): fixed up this function we had this bug
13507         since ever but now hopefully we break row better.
13508         (insertChar): we have to check if an inset is the next char as it
13509         could now happen that a large inset is causing a break.
13510
13511 2002-01-05  Juergen Vigna  <jug@sad.it>
13512
13513         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13514         if it doesn't like to be drawed.
13515
13516 2002-01-04  Juergen Vigna  <jug@sad.it>
13517
13518         * BufferView2.C (lockInset): forgot to set a cursor.
13519
13520         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13521
13522 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13523
13524         * FormMathsPanel.C:
13525         * FormMathsPanel.h
13526         * MathsSymbols.C:
13527         * form_maths_panel.C:
13528         * form_maths_panel.h:
13529         * form_maths_panel.fd: implemented sub- and super- buttons in math
13530         panel.
13531
13532         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13533         (or ^ space) to be used as in TeX (req'd by André).
13534
13535         * lyxfunc.C: Allow ^ and _ again to be used both as
13536         super/subscript (mathed) and as themselves (in text).
13537
13538 2002-01-03  Allan Rae  <rae@lyx.org>
13539
13540         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13541         "LyX" or the filename of the current buffer if it has one.  This is a
13542         modified form of John Levon's patch.
13543
13544         * XFormsView.C (setWindowTitle): also set icon title.
13545
13546         * LyXView.h (setWindowTitle): signature changed.
13547         * XFormsView.h (setWindowTitle): ditto.
13548
13549 2002-01-02  Juergen Vigna  <jug@sad.it>
13550
13551         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13552
13553 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13554
13555         * screen.C (topCursorVisible): introduce a temp var for
13556         text->cursor.row(), handle the case where this row is null. (kindo
13557         hachish)
13558
13559         * text2.C (setCursor): add a couple of asserts.
13560
13561         * paragraph.h (inset_iterator): add -> operator
13562
13563         * paragraph.[Ch] (autoDeleteInsets): remove member function
13564
13565         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13566         cursor pos correctly and handle inset deletion by itself.
13567         (insertErrors): move iterator declaration out of for expression
13568
13569         * lyxtextclass.C: add <algorithm>
13570
13571         * Makefile.am: added the new files to sources, removed layout.C
13572
13573         * layout.C: removed file
13574
13575         * layout.h: remove LYX_DUMMY_LAYOUT
13576
13577         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13578         layout.
13579
13580         * lyxlayout.[Ch]:
13581         * lyxtextclass.[Ch]:
13582         * lyxtextclasslist.[Ch]: new files
13583
13584         * include order changes to a lot of files, also changes because of
13585         the six new files.
13586
13587 2001-12-27  Juergen Vigna  <jug@sad.it>
13588
13589         * buffer.C (asciiParagraph): more fixes.
13590
13591         * tabular.C (ascii): make ascii export support export of only the
13592         data separated by a column-delimiter.
13593         (ascii): better support for ascii export.
13594
13595         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13596
13597 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13598
13599         * tabular_funcs.C: use a "using std::getline" instead of the
13600         previous fix from Angus (necessary for cxx + lyxstring)
13601
13602 2001-12-24  Juergen Vigna  <jug@sad.it>
13603
13604         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13605
13606         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13607         problems. First check a minipage also if we have some ert-contents
13608         (not only on par->size(), second set the right depth of the paragraph
13609         on the relink to the root-paragraph-list!
13610
13611         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13612         which then did not anymore update the main paragraphs on undo/redo!
13613
13614 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13615
13616         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13617         code. Support all font-changing funcs (even those which are not in
13618         menu currently). Support for reporting font settings in
13619         mathed (disabled until Andre provides a function on mathed's side).
13620
13621         * func_status.h (toggle): small helper function to set toggle
13622         state on a flag.
13623
13624 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13625
13626         * tabular_funcs.C: getline -> std::getline
13627
13628 2001-12-21  Juergen Vigna  <jug@sad.it>
13629
13630         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13631         accessed and could be 0 (I couldn't generate this but it seems
13632         Michael could!).
13633
13634 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13635
13636         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13637         * tabular_funcs.h: here and include iosfwd
13638
13639 2001-12-20  Juergen Vigna  <jug@sad.it>
13640
13641         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13642         inside inset but undo_par was.
13643
13644 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13645
13646         * Thesaurus.C: always include <config.h> in sources.
13647
13648         * Painter.h:
13649         * lyxlookup.h:
13650         * box.h: do not include <config.h> in header files
13651
13652         * text.C (paintLastRow): remove unused variable
13653
13654         * text.C (transformChar):
13655         (insertChar):
13656         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13657
13658         * Painter.C (text):
13659         * font.C (width): rewrite to use uppercase() instead of
13660         islower/toupper.
13661
13662         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13663
13664 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13665
13666         * lyxfind.C: clean up of find failure position change
13667
13668 2001-12-20  Juergen Vigna  <jug@sad.it>
13669
13670         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13671
13672         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13673         (TeXRow): added to LaTeX a single tabular row.
13674         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13675         (Latex): simplified and finally good LT-h/f support.
13676         (various_functions): just small adaptions for LT-h/f support.
13677
13678         * tabular_funcs.[hC]: added and moved here all not classfunctions
13679         of LyXTabular.
13680
13681 2001-12-19  Juergen Vigna  <jug@sad.it>
13682
13683         * tabular.[Ch]: better support for longtabular options (not finished
13684         yet!)
13685
13686 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13687
13688         * text.C (paintLastRow): use the label font instead of the font of
13689         the last character to compute the size of *_BOX. This makes more
13690         sense and avoids a crash with empty paragraphs.
13691         Use Painter::rectangle to draw EMPTY_BOX.
13692
13693 2001-12-19  Juergen Vigna  <jug@sad.it>
13694
13695         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13696         the paragraphs if the replaced paragraph is not the first one!
13697         Tried to delete not used paragraphs but does not work yet so for
13698         now it's inside #ifdef's and by default off!
13699
13700 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13701
13702         * MenuBackend.C: include "lyx_main.h" instead of declaring
13703         lastfiles (actually was declared as LastFiles* instead of a
13704         scoped_ptr).
13705
13706 2001-12-17  Juergen Vigna  <jug@sad.it>
13707
13708         * tabular.C (AppendColumn): applied John's fix
13709
13710 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13711
13712         * BufferView.h:
13713         * BufferView.C:
13714         * BufferView_pimpl.h:
13715         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13716
13717         * Makefile.am:
13718         * box.h: new start of class for above
13719
13720         * lyxfunc.C: ignore space-only minibuffer dispatches.
13721           Show the command name when it doesn't exist
13722
13723         * minibuffer.C: don't add empty lines to the history
13724
13725         * minibuffer.C: add a space on dropdown completion
13726
13727 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13728
13729         * text.C: fix line above/below drawing in insets
13730
13731 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13732
13733         * lyxlength.C (LyXLength): Initialize private variables.
13734
13735 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13736
13737         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13738         when inserting error insets.
13739
13740 2001-12-13  Juergen Vigna  <jug@sad.it>
13741
13742         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13743         actually sometimes the before-paragraph.
13744         (setUndo): don't clear the redostack if we're not actually undoing!
13745
13746 2001-12-06  Juergen Vigna  <jug@sad.it>
13747
13748         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13749         and fixed redoing of main paragraph, so we can use it now ;)
13750
13751         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13752
13753 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13754
13755         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13756         Juergen's request
13757
13758 2001-12-13  André Pönitz <poenitz@gmx.net>
13759
13760         * undostack.[Ch]:
13761         * undo_func.C: minor cleanup
13762
13763 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13764
13765         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13766         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13767         font in urw-fonts package which is marked as -urw-fontspecific and
13768         does not work (incidentally, changing the encoding in the
13769         fonts.dir of this package to -adobe-fontspecific fixes the
13770         problem).
13771
13772         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13773         is a crash when undoing first paragraph (Juergen, please take a
13774         look). THis does not mean the undo fix is wrong, just that it
13775         uncovers problems.
13776
13777         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13778         the (Paragraph*) version when needed instead of duplicating the
13779         code.
13780
13781         * text.C (workWidth): use Inset::parOwner to find out where the
13782         inset has been inserted. This is a huge performance gain for large
13783         documents with lots of insets. If Inset::parOwner is not set, fall
13784         back on the brute force method
13785
13786         * paragraph_pimpl.C (insertInset):
13787         * paragraph.C (Paragraph):
13788         (cutIntoMinibuffer): set parOwner of insets when
13789         inserting/removing them
13790
13791         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13792
13793 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13794
13795         * commandtags.h:
13796         * LyXAction.C:
13797         * lyx_main.C:
13798         * lyxfunc.C:
13799         * mathed/formulabase.C:
13800         * mathed/math_cursor.[Ch]:
13801         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13802
13803
13804 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13805
13806         * lyxlength.[Ch] (operator!=): new function
13807
13808 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13809
13810         * text.C (workWidth): use Inset::parOwner to find out where the
13811         inset has been inserted. This is a huge performance gain for large
13812         documents with lots of insets. If Inset::parOwner is not set, fall
13813         back on the brute force method
13814
13815         * paragraph_pimpl.C (insertInset):
13816         * paragraph.C (Paragraph):
13817         (cutIntoMinibuffer): set parOwner of insets when
13818         inserting/removing them
13819
13820         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13821
13822 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13823
13824         * tabular-old.C (getTokenValue):
13825         * tabular.C (getTokenValue):
13826         (write_attribute): new versions for LyXLength
13827         (everywhere): adjust the use of widths
13828
13829         * tabular.h: change the type of widths from string to LyXLength
13830
13831 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13832
13833         * paragraph.C: fixed missing line number count when exporting
13834         Environments to LaTeX file
13835
13836         * buffer.C: added informational message for checking line numbers.
13837
13838 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13839
13840         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13841         paragraph, do the 'double space' part, but not the 'empty
13842         paragraph' one.
13843
13844         * text.C (workWidth): small optimization
13845         (getLengthMarkerHeight): use minimal size for negative lengths.
13846
13847 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13848
13849         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13850
13851         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13852
13853 2001-12-11  André Pönitz <poenitz@gmx.net>
13854
13855         * FontLoader.C:
13856         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13857
13858 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13859
13860         * text2.C: keep selection on a setFont()
13861
13862 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13863
13864         * lyx_cb.C: another bv->text misuse, from insert label
13865
13866 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13867
13868         * kbsequence.h:
13869         * kbsequence.C: re-instate nmodifier mask
13870
13871 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13872
13873         * lyx_main.h: make lyxGUI private.
13874
13875 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13876
13877         * lyxfind.C: place the cursor correctly on failed search
13878
13879 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13880
13881         * text.C (getLengthMarkerHeight): for small heights, the arrows
13882         are not always on top/bottom of the text
13883         (drawLengthMarker): smaller arrows; take the left margin in
13884         account; draw also vfills.
13885         (paintFirstRow):
13886         (paintLastRow): remove special code for vfill and standard spaces,
13887         since everything is handled in drawLengthMarker now.
13888
13889 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13890
13891         * buffer.C (insertErtContents): try to handle font and language
13892         interaction a bit better.g
13893
13894         * ColorHandler.C (updateColor): change the hash to cover the whole
13895         LColor enum, ws cleanup
13896         (getGCLinepars): ditto
13897         (getGCLinepars): only lookup in the linecache once.
13898
13899 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13900
13901         * iterators.C (operator++): Make the iterator more robust
13902
13903         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13904         (John's patch)
13905         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13906
13907 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13908
13909         * lyxtext.h:
13910         * text.C: better added space drawing
13911
13912 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13913
13914         * LyXView.C:
13915         * BufferView2.C: fix layout combo update on inset unlock
13916
13917 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13918
13919         * Makefile.am: don't compile unused files
13920
13921 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13922
13923         * lyxfunc.C:
13924         * commandtags.h:
13925         * LyXAction.C: remove old LFUN_LAYOUTNO
13926
13927 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13928
13929         * paragraph_pimpl.h:
13930         * paragraph_pimpl.C: isTextAt() doesn't need font param
13931
13932 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13933
13934         * lyxlex.h:
13935         * lyxlex.C: little cleanup
13936
13937 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13938
13939         * BufferView_pimpl.C: fix insertAscii for insets
13940
13941 2001-12-05  Juergen Vigna  <jug@sad.it>
13942
13943         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13944         set the right font on the "multi" paragraph paste!
13945
13946 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13947
13948         * trans_decl.h:
13949         * trans_mgr.[Ch]:
13950         * trans.[Ch]:
13951         * lyxgluelength.C:
13952         * lyxlength.C: remove out-commented code.
13953
13954         * BufferView_pimpl:
13955         * CutAndPaste.C:
13956         * DepTable.C:
13957         * buffer.C:
13958         * chset.C:
13959         * lastfiles.C:
13960         * lyxlex.C:
13961         * lyxlex_pimpl.C:
13962         * lyxserver.C:
13963         * screen.C:
13964         * tabular-old.C:
13965         * tabular.C:
13966         * text.C:
13967         * trans_mgr.C:
13968         * vc-backend.C: change "while(" to "while ("
13969
13970         * lyxlength.[Ch]: add zero function to check if length is zero or
13971         not
13972         * lyxgluelength.C: use it
13973
13974 2001-12-05  Allan Rae  <rae@lyx.org>
13975
13976         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13977         Works for 2.95.3, from what I understand of Garst's reports this should
13978         work for other g++ versions.  We're screwed if the abs(int) definition
13979         changed between bugfix releases of gcc.
13980
13981 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13982
13983         * text.C: fix chapter label offset !
13984
13985 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13986
13987         * lyxtext.h:
13988         * text.C: fix hfill at end of line, clean up
13989
13990 2001-12-04  Juergen Vigna  <jug@sad.it>
13991
13992         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13993         that we force an update of the inset and it's owners if neccessary.
13994
13995 2001-12-03  Juergen Vigna  <jug@sad.it>
13996
13997         * text.C (rowLast): simplified code
13998
13999 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14000
14001         * lyxfunc.C: fix show options on timeout
14002
14003 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14004
14005         * screen.C (topCursorVisible): scroll half a page when the cursor
14006         reached top of bottom of screen
14007
14008 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14009
14010         * minibuffer.C: deactivate on loss of focus
14011
14012 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14013
14014         * vspace.[Ch] (operator!=): add operator.
14015
14016 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14017
14018         * BufferView_pimpl.C: refuse to open an inset when
14019         there's a selection.
14020
14021 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14022
14023         * BufferView_pimpl.C: allow to click on RHS of full row insets
14024
14025 2001-11-30  Juergen Vigna  <jug@sad.it>
14026
14027         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14028         insets for undo reasons.
14029
14030 2001-11-28  André Pönitz <poenitz@gmx.net>
14031
14032         * vspace.[Ch]: cosmetical changes
14033
14034 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14035
14036         * LyXAction.h:
14037         * LyXAction.C:
14038         * lyxfunc.h:
14039         * lyxfunc.C:
14040         * kbmap.h:
14041         * kbmap.C:
14042         * lyxrc.C:
14043         * kbsequence.h:
14044         * kbsequence.C: part re-write of old kb code
14045
14046         * Painter.C:
14047         * WorkArea.C: remove Lgb_bug_find_hack
14048
14049 2001-11-30  José Matos <jamatos@fep.up.pt>
14050
14051         * buffer.C (makeDocBookFile): add a comment to point a hack.
14052         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14053         Fixed a double write of labels.
14054
14055 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14056
14057         * LaTeX.C:
14058         * LaTeX.h Fixed bug in LaTeX class where it would not
14059         re-run latex if no depfiles were changed, but the .dvi was removed.
14060
14061 2001-11-28  André Pönitz <poenitz@gmx.net>
14062
14063         * all the files from the change on 2001/11/26:
14064         use lyx::layout_type instead of LyXTextClass::size_type
14065         use lyx::textclass_type instead of LyXTextClassList::size_type
14066
14067 2001-11-29  Juergen Vigna  <jug@sad.it>
14068
14069         * text.C: added support for paragraph::isFreeSpacing()
14070
14071         * buffer.C: same as above
14072
14073         * paragraph.h: inserted isFreeSpacing() function to enable
14074         FreeSpacing inside InsetERT.
14075
14076         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14077         of the paragraph's in the cut/copy buffer to 0!
14078
14079         * text2.C (removeRow): remove the assert as it can!
14080
14081         * lyxtext.h: added helper function firstRow returning firstrow and
14082         made firstrow private again.
14083
14084         * BufferView2.C (lockInset): don't relock if we're already locked!
14085
14086         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14087         the only paragraph.
14088         (removeRow): added Assert::(firstrow)
14089
14090         * debug.C: forgot to add INSETTEXT here.
14091
14092 2001-11-28  Juergen Vigna  <jug@sad.it>
14093
14094         * sp_spell.C (initialize): changed error text to more general
14095         spellchecker command use (not only ispell!)
14096
14097         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14098
14099         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14100
14101 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14102
14103         * vspace.C: initialise lyxgluelength on failure
14104
14105 2001-11-28  Allan Rae  <rae@lyx.org>
14106
14107         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14108         declaration & definition that looks like a function declaration.
14109
14110 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14111
14112         * BufferView2.C (copy):
14113         (copyEnvironment): do not clear the selection when doing a copy.
14114
14115         * text.C (paintFirstRow): compilation fix
14116
14117 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14118
14119         * tabular.C (Latex): correct line count when writing latex.
14120
14121 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14122
14123         * paragraph_pimpl.h:
14124         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14125           bug a bit
14126
14127 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14128
14129         * text.C:
14130         * LColor.h:
14131         * LColor.C: change vfillline->added_space
14132
14133         * text.C: add markers and text for added space
14134
14135         * vspace.C: fix comment
14136
14137 2001-11-28  André Pönitz <poenitz@gmx.net>
14138
14139         * paragraph.C: whitespace changes
14140         * all the other files from the change on 2001/11/26:
14141         change *::pos_type into lyx::pos_type
14142
14143 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14144
14145         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14146         language of the document when inserting error insets.
14147
14148 2001-11-26  André Pönitz <poenitz@gmx.net>
14149
14150         * BufferView_pimpl.[Ch]:
14151         *       CutAndPaste.C:
14152         * buffer.[Ch]:
14153         * lyxcursor.[Ch]:
14154         * lyxfind.C:
14155         * lyxfunc.C:
14156         * lyxrow.[Ch]:
14157         * paragraph.[Ch]:
14158         * paragraph_pimpl.[Ch]:
14159         * sp_spell.C:
14160         * text.C:
14161         * text2.C: reduce header dependencies, introduce type for positions
14162
14163 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14164
14165         * <various>: change to use Alert.h
14166
14167 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14168
14169         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14170         when encountering an unknown token.
14171         (readLyXformat2): Show an error message if there were unknown tokens.
14172
14173 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14174
14175         * BufferView2.C:
14176         * BufferView_pimpl.C:
14177         * buffer.C:
14178         * paragraph.h:
14179         * text.C:
14180         * text2.C: use par->isInset()
14181
14182 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14183
14184         * paragraph_pimpl.h:
14185         * paragraph_pimpl.C: cleanup
14186
14187 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14188
14189         * text2.C (removeRow):
14190         * text.C (setHeightOfRow): remove useless (and costly) call to
14191         getRow.
14192
14193 2001-11-20  Allan Rae  <rae@lyx.org>
14194
14195         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14196         Now need Inset*::checkInsertChar() to return true for appropriate
14197         cases so that the characters in the minibuffer will actually be
14198         inserted.
14199
14200 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14201
14202         * text.C: change the order of the includes.
14203         (workWidth): initialize it at once.
14204         (workWidth): make maxw unsigned
14205         (setHeightOfRow): remove unused variable (inset)
14206         (selectSelectedWord): remove unused variable (inset)
14207         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14208
14209 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14210
14211         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14212         server is not running.
14213         (openConnection):
14214         (closeConnection): add debug info when server is disabled.
14215
14216         * ColorHandler.C (getGCForeground): send debug message to GUI
14217         channel.
14218
14219         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14220
14221         * kbmap.C (bind): modify because return conventions of
14222         kb_sequence::parse have changed.
14223
14224         * kbsequence.C (parse): only ignore spaces and not any stupid
14225         control character. This avoids tests like s[i] <= ' ', which are
14226         guaranteed to fail with 8bit characters and signed chars.
14227         Change return code to string::npos when there have been no error
14228         (0 was a bad idea when error is at first character)
14229
14230 2001-11-14  José Matos  <jamatos@fep.up.pt>
14231
14232         * buffer.h:
14233         * buffer.C (simpleDocBookOnePar): removed unused argument.
14234
14235 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14236
14237         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14238         insets which are part of a word. Paragraph::isLetter takes care of
14239         that now. Use Paragraph::isInset to identify insets.
14240         (selectSelectedWord): do not test for hyphenation break.
14241
14242         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14243         that protected spaces are considered as spaces.
14244
14245         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14246         Inset::isLetter.
14247
14248 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14249
14250         * lyxserver.h:
14251         * lyxserver.C: fix it. and small cleanup.
14252
14253 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14254
14255         * BufferView_pimpl.C: use inline helpers
14256
14257         * LaTeXFeatures.h:
14258         * LaTeXFeatures.C: fix typos
14259
14260         * Spacing.h:
14261         * Spacing.C: move spacing_string into class
14262
14263         * ToolbarDefaults.C: move stuff into namespace anon
14264
14265         * layout.h: update enum
14266
14267         * lyxfunc.C: use better debug
14268
14269         * minibuffer.h: fix typo
14270
14271         * debug.h:
14272         * debug.C:
14273         * WorkArea.C: add and use Debug::WORKAREA
14274
14275         * lyxtext.h:
14276         * text.C:
14277         * text2.C: code re-organisation, inline helpers
14278
14279 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14280
14281         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14282         std::vector.empty().
14283
14284 2001-11-09  Allan Rae  <rae@lyx.org>
14285
14286         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14287         '\n's after tables.  Tabular and ERT inset work now makes this no
14288         longer necessary.
14289
14290 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14291
14292         * minibuffer.h:
14293         * minibuffer.C: fix crash, improve drop-down completion
14294
14295 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14296
14297         * lyxserver.h:
14298         * lyxserver.C: invalidate fd's when doing endPipe()
14299
14300 2001-11-08  José Matos  <jamatos@fep.up.pt>
14301
14302         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14303         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14304
14305         * paragraph.h:
14306         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14307
14308 2001-11-07  José Matos  <jamatos@fep.up.pt>
14309
14310         * buffer.h:
14311         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14312         const qualifier.
14313
14314         * buffer.C (sgmlOpenTag):
14315         * buffer.C (sgmlCloseTag): removed debug info.
14316
14317         * buffer.h (sgmlOpenTag):
14318         * buffer.h (sgmlCloseTag): made public.
14319
14320 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14321
14322         * buffer.C (saveParamsAsDefaults):
14323         * lyx_cb.C (MenuLayoutSave): remove
14324
14325         * LyXAction.C (init):
14326         * commandtags.h:
14327         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14328
14329 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14330
14331         * buffer.C (setPaperStuff): removed from here...
14332
14333         * bufferparams.C (setPaperStuff): ... and moved there.
14334
14335 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14336
14337         * minibuffer.h:
14338         * minibuffer.C:
14339         * XFormsView.C: add support for drop-down completion
14340
14341 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14342
14343         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14344         commands.
14345
14346 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14347
14348         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14349         disabled.
14350
14351 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14352
14353         * lyx_main.C: change ref to known bugs
14354
14355 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14356
14357         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14358         to work around older babel problems.
14359
14360 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14361
14362         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14363
14364 2001-10-24  Juergen Vigna  <jug@sad.it>
14365
14366         * tabular-old.C (ReadOld): below variable changes reflected.
14367
14368         * tabular.[Ch]: added ltType struct for longtable header/footer
14369         defines and changed all instances where they are used. Added
14370         future support for double top/bottom rows.
14371
14372 2001-10-24  José Matos  <jamatos@fep.up.pt>
14373
14374         * buffer.h (docbookHandleCaption):
14375         * buffer.C (docbookHandleCaption): removed unused function.
14376         (makeDocBookFile): moved docbook supported version to v4.1.
14377
14378 2001-10-24  José Matos  <jamatos@fep.up.pt>
14379
14380         * tabular.h:
14381         * tabular.C (docbookRow): new function to export docbook code of a row.
14382         (DocBook): now honors the longtable flags.
14383
14384 2001-10-23  José Matos  <jamatos@fep.up.pt>
14385
14386         * LaTeXFeatures.h:
14387         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14388         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14389
14390         * buffer.C (makeLinuxDocFile):
14391         (makeDocBookFile): reworked the preamble, more clean, and with
14392         support for lyx defined entities. Changed the document declaration
14393         to be more XML friendly.
14394
14395         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14396         if we need to output XML that should be done with a filter.
14397
14398 2001-10-22  Juergen Vigna  <jug@sad.it>
14399
14400         * sp_pspell.h (class PSpell): add alive function needed in the
14401         controller to see if the spellchecker could be started.
14402
14403 2001-10-22  Juergen Vigna  <jug@sad.it>
14404
14405         * buffer.C (insertStringAsLines): modify the font for inserting
14406         chars in certain conditions by calling checkInsertChar(font).
14407
14408 2001-10-19  Juergen Vigna  <jug@sad.it>
14409
14410         * text.C (workWidth): use getRow instead of wrong algorithm.
14411         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14412
14413 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14414
14415         * lyxserver.h:
14416         * lyxserver.C:
14417         * lyx_main.h:
14418         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14419
14420 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14421
14422         * text.C (workWidth): do not search for the exact row when
14423         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14424         optimization for big documents.
14425
14426 2001-10-18  Juergen Vigna  <jug@sad.it>
14427
14428         * text.C (workWidth): new function with added Inset * parameter.
14429
14430 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14431
14432         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14433
14434         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14435         change return type of getColumnNearX.
14436
14437
14438         * text.C (changeRegionCase): use uppercase/lowercase instead of
14439         toupper/tolower.
14440         (leftMargin):
14441         (rightMargin): simplify code by factoring out the uses of
14442         textclasslist.
14443         (labelFill):
14444         (numberOfHfills):
14445         (setHeightOfRow):
14446         (appendParagraph): use Paragraph::size_type
14447
14448 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14449
14450         * vspace.C (asLatexString): add a missing break
14451
14452 2001-10-15  Herbert Voss  <voss@perce.de>
14453
14454         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14455
14456 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14457
14458         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14459         is not available.
14460
14461 2001-10-10  André Pönitz <poenitz@gmx.net>
14462
14463         * lyxfunc.C: removed greek_kb_flag.
14464
14465 2001-10-10  Herbert Voss  <voss@perce.de>
14466
14467         * lyx_main.C: delete global string help_lyxdir.
14468
14469 2001-10-09  Herbert Voss  <voss@perce.de>
14470
14471         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14472
14473         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14474
14475         * lyx_main.C: added global string help_lyxdir.
14476
14477         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14478
14479 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14480
14481         * lyxrc.C (set_font_norm_type): support iso8859-4
14482
14483 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14484
14485         * LaTeX.C (deplog): add another regex for MikTeX
14486
14487 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14488
14489         * lyxrc.C (set_font_norm_type): support iso8859-3
14490
14491 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14492
14493         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14494
14495         * LaTeXFeatures.C: remove special case of french and index
14496
14497         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14498         before \begin{document}). This solves several incompatibilities.
14499
14500 2001-10-03  Garst Reese  <reese@isn.net>
14501
14502         * lyx_cb.C: change CheckTex error msg.
14503
14504 2001-10-03  José Matos  <jamatos@fep.up.pt>
14505
14506         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14507
14508 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14509
14510         * .cvsignore: update
14511
14512         * lyx_main.C (commandLineVersionInfo): use new style version info.
14513
14514         * buffer.C (writeFile):
14515         (makeLaTeXFile):
14516         (makeLinuxDocFile):
14517         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14518
14519         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14520
14521         * version.h: update to use stuff in version.C
14522
14523         * version.C.in: new file. Contains version information determined
14524         at compile time. This is a merging of version.h and
14525         version_info.h.in.
14526
14527 2001-10-03  Juergen Vigna  <jug@sad.it>
14528
14529         * BufferView_pimpl.C (update): don't change "dirty" status in
14530         updateInset call.
14531
14532 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14533
14534         * WorkArea.C (c-tor): re-position version string slightly.
14535
14536 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14537
14538         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14539         revert to previous code.
14540
14541         WorkArea.[Ch]: (show, destroySplash): methods removed.
14542
14543         WorkArea.C: rework code so that it's an amalgam of the codes before and
14544         after the splash screen was moved to WorkArea.
14545
14546 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14547
14548         * lyxrc.C (read):
14549         * vspace.C (inPixels):
14550         (lyx_advance):
14551         * kbmap.C (bind):
14552         * buffer.C (insertStringAsLines):
14553         (asciiParagraph): fix types to be large enough
14554
14555         * lyxlex_pimpl.h: change member status from short to int
14556
14557         * layout.h: fix type of endlabeltype
14558
14559         * kbmap.C (bind):
14560         * kbsequence.C (parse): change return type to string::size_type
14561
14562         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14563         variable
14564
14565         * Bullet.C (bulletSize):
14566         (bulletEntry): do not use short ints as parameters
14567
14568         * BufferView2.C (insertLyXFile): change a char to an int.
14569
14570         * WorkArea.C (WorkArea): remove unneeded floats in computation
14571
14572 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14573
14574         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14575
14576         * paragraph.C (asString): Do not ignore newline/hfill chars when
14577         copying to the clipboard.
14578
14579 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14580
14581         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14582         after a multi-line inset.
14583
14584 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14585
14586         * paragraph.C (validate): Set NeedLyXFootnoteCode
14587
14588 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14589
14590         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14591         and decrease-error to decrease.
14592
14593 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14594
14595         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14596         it more readable (should be equivalent)
14597
14598 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14599
14600         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14601
14602 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14603
14604         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14605         of a cursor (row, etc.) after a character has been deleted
14606         (deleteEmptyParagraphMechanism): call the method above on _all_
14607         cursors held by the LyXText when a double space has been
14608         detected/deleted.
14609
14610 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14611
14612         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14613         pixmap.
14614         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14615
14616         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14617         background. Use greyOut() and the new show() methods to toggle between
14618         the foreground and background. Add code to remove the splash after
14619         its initial showing.
14620
14621         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14622         (create_forms): no longer call Dialogs::showSplash.
14623
14624 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14625
14626         * .cvsignore: add version_info.h
14627
14628 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14629
14630         * version_info.h.in: new file
14631
14632         * Makefile.am: add version_info.h.in
14633
14634         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14635         version_info.h instead of VERSION_INFO
14636
14637 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14638
14639         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14640         The ERT inset now returns string().
14641
14642 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14643
14644         * lyxtext.h, text.C (selectNextWord): renamed as
14645         selectNextWordToSpellcheck.
14646
14647         * text.C (selectNextWordToSpellcheck): Modified to not select
14648         words inside an ERT inset.
14649
14650 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14651
14652         * lyx_cb.C (MenuLayoutSave): change a bit the question
14653
14654         * sp_base.h: include <sys/types.h>
14655
14656 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14657
14658         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14659
14660 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14661
14662         * several files: fix typos in user-visible strings
14663
14664 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14665
14666         * text2.C (pasteSelection): do not set the selection, since it
14667         will be cleared later. Actually, the intent was to fix the way the
14668         selection was set, but I figured rmoving the code was just as good.
14669
14670 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14671
14672         * FontLoader.C (available): Check if font is available without
14673         loading the font.
14674
14675 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14676
14677         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14678
14679 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14680
14681         * lyxrc.[Ch]: added display_graphics variable and associated code.
14682
14683 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14684
14685         * bufferparams.C (hasClassDefaults): new method. Returns true if
14686         the buffer parameters correspond to known class defaults
14687
14688 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14689
14690         * XFormsView.C (show): set minimum size to the main window.
14691
14692 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14693
14694         * text2.C (copySelection):
14695         (cutSelection):
14696         * lyxfind.C (LyXReplace):
14697         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14698         LyXText::selectionAsString.
14699
14700         * paragraph.C (asString): add "label" argument to the second form
14701
14702         * text2.C (selectionAsString): add "label" argument and pass it to
14703         Paragraph::asString.
14704
14705 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14706
14707         * lyx_main.C (commandLineHelp): remove version information
14708
14709 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14710
14711         * lyx_main.C: add -version commandline option
14712
14713 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14714
14715         * paragraph.h: make the optional constructor arg required instead.
14716         some modifications to other files because of this.
14717
14718         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14719
14720         * lyxserver.C (C_LyXComm_callback): make it static
14721
14722         * lyx_main.C (error_handler): make it static
14723
14724         * lyx_gui.C (LyX_XErrHandler): make it static
14725
14726         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14727
14728         * WorkArea.C: make the extern "C" methods static.
14729
14730         * Makefile.am (lyx_LDADD): simplify
14731
14732 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14733
14734         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14735         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14736
14737         * LyXAction.C (init):
14738         * lyxfunc.C (dispatch): associated code removal.
14739
14740 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14741
14742         * lyxfont.h (isSymbolFont): shut off warning
14743
14744         * text.C (setHeightOfRow):
14745         (getVisibleRow): fix crash with empty paragraphs which have a
14746         bottom line
14747
14748 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14749
14750         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14751         code.
14752
14753 2001-09-04  José Matos  <jamatos@fep.up.pt>
14754         * buffer.C
14755         * buffer.h
14756         * tabular.C (docbook): rename docBook method to docbook.
14757
14758 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14759
14760         * Makefile.am: add dependencies to main.o.
14761
14762 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14763
14764         * FontLoader.C (available): Return false if !lyxrc.use_gui
14765
14766 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14767
14768         * FontInfo.C (query):
14769         * converter.C (view):
14770         * importer.C (Import):
14771         * exporter.C (Export): Can not -> cannot.
14772
14773 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14774
14775         * BufferView_pimpl.C: allow to create index inset even if
14776           string is empty
14777
14778 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14779
14780         * buffer.C (getLists): replace boost::tie code with an explicit pair
14781         as boost::tie can break some compilers.
14782
14783         * iterators.h: Added a std:: declaration to the return type of
14784         ParIterator::size.
14785
14786 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14787
14788         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14789           case.
14790
14791 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14792
14793         * iterators.[Ch]: New files. Provide paragraph iterators.
14794
14795         * buffer.C (changeLanguage): Use paragraph iterators.
14796         (isMultiLingual): ditto
14797
14798         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14799
14800 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14801
14802         * FontLoader.C: Support for cmr font.
14803
14804 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14805
14806         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14807         (available): New method.
14808
14809         * FontInfo.C (getFontname): Use scalable fonts even when
14810         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14811         found.
14812
14813 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14814
14815         * converter.C (Formats::view): reverted! Incorrect fix.
14816
14817 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14818
14819         * converter.C (Formats::view): only output the -paper option
14820         if the dvi viewer is xdvi, thereby fixing bug #233429.
14821
14822 2001-08-23  Herbert Voss  <voss@perce>
14823
14824         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14825
14826 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14827
14828         * Spacing.h (Spacing): Set space to Default on in the default
14829         constructor.
14830
14831 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14832
14833         * vc-backend.h (RCS::versionString): add RCS to version
14834         (CVS::versionString): add CVS to version
14835
14836         * vc-backend.C (scanMaster): do not add CVS to version.
14837         (scanMaster): do not add RCS to version
14838
14839         * lyxvc.C (versionString): new method
14840
14841         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14842
14843 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14844
14845         * Spacing.C (set): initialize fval
14846
14847 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14848
14849         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14850         " or \.
14851
14852 2001-08-16  Juergen Vigna  <jug@sad.it>
14853
14854         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14855
14856 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14857
14858         * BufferView_pimpl.C:
14859         * figureForm.C:
14860         * lyxtext.h:
14861         * text2.C: setParagraph takes linespacing now
14862
14863 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14864
14865         * LyxAction.C: add internal LFUN_CITATION_INSERT
14866
14867         * LyXView.C: actually apply fix
14868
14869         * bufferlist.C: fix open non-existent file
14870
14871         * lyxfind.C: fix indentation
14872
14873         * lyxfunc.C: remove unneeded assert, fix typo
14874
14875 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14876
14877         * MenuBackend.C: use "Floatname List"
14878
14879 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14880
14881         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14882         when converting LaTeX layout to insetERT.
14883         Generate a non-collapsed float when reading old float
14884
14885 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14886
14887         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14888         ERT insets.
14889
14890 2001-08-13  Juergen Vigna  <jug@sad.it>
14891
14892         * text.C (fill): return 0 instead of 20 as this seems to be the more
14893         correct value.
14894
14895 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14896
14897         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14898         lyxrc.font_norm.
14899
14900 2001-08-13  Juergen Vigna  <jug@sad.it>
14901
14902         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14903         casesensitive off.
14904         (SearchBackward): comment out the unlocking of the inset_owner this
14905         should not be needed!
14906
14907 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14908
14909         * Many files: Remove inherit_language, and add latex_language
14910
14911         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14912         collapsible insets.
14913
14914 2001-08-10  Juergen Vigna  <jug@sad.it>
14915
14916         * text.C (prepareToPrint): fixed hfill-width in draw!
14917
14918         * BufferView2.C (selectLastWord): save the selection cursor as this
14919         now is cleared in the function LyXText::clearSelection!
14920
14921 2001-08-08  Juergen Vigna  <jug@sad.it>
14922
14923         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14924         BACKSPACE type functions.
14925
14926         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14927         is only cutted from the document but not put in the cut-buffer, where
14928         still the old stuff should be.
14929
14930         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14931
14932         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14933
14934         * tabular.C (SetWidthOfCell): fixed special case where the width
14935         was not updated!
14936         (LeftLine): handle '|' in align_special.
14937         (RightLine): ditto
14938         (LeftAlreadyDrawed): ditto
14939         (SetWidthOfCell): ditto
14940
14941 2001-08-07  Juergen Vigna  <jug@sad.it>
14942
14943         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14944
14945 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14946
14947         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14948         * lyxlex.[hC]: ditto
14949
14950 2001-08-06  Juergen Vigna  <jug@sad.it>
14951
14952         * text.C (getVisibleRow): fix up row clearing a bit.
14953
14954 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14955
14956         * minibuffer.C: make sure the X server sees the changes in the input.
14957
14958 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14959
14960         * paragraph.C (getFont): split into...
14961         (getLabelFont): this
14962         (getLayoutFont): and this
14963         * paragraph_pimpl.C (realizeFont): calling this
14964
14965         * text2.C (getFont): split into...
14966         (getLayoutFont): this
14967         (getLabelFont): and this
14968         (realizeFont): all three calling this
14969
14970         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14971         files where used.
14972
14973 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14974
14975         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14976
14977 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14978
14979         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14980         layouts from the Quote inset insertion.
14981
14982 2001-08-03  Juergen Vigna  <jug@sad.it>
14983
14984         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14985
14986         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14987         only if status not is already CHANGED_IN_DRAW (second level).
14988
14989         * text.C (draw): don't set the need_break_row when inside an
14990         InsetText LyXText.
14991
14992 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14993
14994         * buffer.C (parseSingleLyXformat2Token): handle more latex
14995         conversion cases.
14996
14997         * bufferview_funcs.[hC]: change function names to
14998         begin with small char, adjust other files.
14999
15000 2001-08-02  André Pönitz <poenitz@gmx.net>
15001
15002         * lyxfunc.C:
15003         BufferView_pimpl.C: remove broken special code for math-greek
15004
15005 2001-08-02  Juergen Vigna  <jug@sad.it>
15006
15007         * BufferView_pimpl.C (update): redone this function so that we
15008         update the text again if there was a CHANGE_IN_DRAW.
15009
15010         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15011         (drawFromTo): added a new internal bool which is used by draw() and
15012         redraw() function.
15013         (general): some cursor drawing problems fixed.
15014
15015 2001-08-01  Juergen Vigna  <jug@sad.it>
15016
15017         * lyxfind.C (LyXFind): fixed
15018         (SearchForward): ditto
15019         (SearchBackward): ditto
15020
15021         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15022         spurius drawing of the cursor in the main area.
15023
15024         * text2.C (status): small fix which could lead to a segfault!
15025         (clearSelection): remove unneeded BufferView param.
15026
15027 2001-08-01  André Pönitz <poenitz@gmx.net>
15028
15029         * lyxfunc.C: small change due to changed mathed interface
15030
15031 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15032
15033         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15034
15035 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15036
15037         * lyxfunc.c: fail gracefully if file doesn't exist
15038
15039         * LyXSendto.C:
15040         * buffer.C:
15041         * lyxfunc.C:
15042         * BufferView_pimpl.C: IsDirWriteable() proto changed
15043
15044         * LyXView.C: fix updateWindowTitle() to store the last title
15045
15046 2001-07-31  Juergen Vigna  <jug@sad.it>
15047
15048         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15049         the font (wrong since using of Paragraph::highestFontInRange).
15050
15051         * paragraph.C (highestFontInRange): added a default_size parameter.
15052
15053         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15054         (setHeightOfRow): reformat
15055
15056 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15057
15058         * converter.[hC] + affected files: move to (inital-char)lowercase
15059         function names.
15060
15061         * ParagraphParameters.C (ParagraphParameters): remove commented code
15062
15063         * PainterBase.[Ch]: remove commented code
15064
15065         * LaTeXFeatures.h: add "bool floats" for float.sty
15066
15067         * LaTeXFeatures.C (LaTeXFeatures): init floats
15068         (require): handle float
15069         (getPackages): do it with floats
15070
15071 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15072
15073         * BufferView_pimpl.C (Dispatch): improve handling of
15074         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15075
15076         * commandtags.h: #include lyxfont.h here temporarily to avoid
15077         keybinding bug.
15078
15079         * bufferlist.h: include LString.h here.
15080
15081 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15082
15083         * text2.C (getStringToIndex): new method.
15084
15085 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15086
15087         * *: Reduced header file dependencies all over.
15088
15089 2001-07-30  Baruch Even  <baruch@lyx.org>
15090
15091         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15092
15093 2001-07-29  Baruch Even  <baruch@lyx.org>
15094
15095         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15096
15097 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15098
15099         * ParameterStruct.h (endif): add a default constructor to make
15100         sure that all variables is initialized.
15101
15102         * ParagraphParameters.C (ParagraphParameters): adjust
15103
15104 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15105
15106         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15107         index; also, check that there is something to index, and that it
15108         does not span over several paragraphs.
15109         (doubleClick): use WHOLE_WORD_STRICT for double click.
15110
15111         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15112
15113         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15114         scheme.
15115
15116 2001-07-26  Baruch Even  <baruch@lyx.org>
15117
15118         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15119         an InsetFig figure, backwards compatible reading of old figure code.
15120
15121 2001-07-27  Juergen Vigna  <jug@sad.it>
15122
15123         * text2.C: font.realize function adaption.
15124
15125         * text.C (draw): add a warnings lyxerr text if needed.
15126
15127         * layout.C: font.realize function adaption.
15128
15129         * language.C: add inherit_language and implement it's handlings
15130
15131         * bufferview_funcs.C (StyleReset): remove language parameter from
15132         font creation (should be language_inherit now).
15133
15134         * bufferparams.C (writeFile): handle ignore_language.
15135
15136         * paragraph.C (getFontSettings): the language has to be resolved
15137         otherwise we have problems in LyXFont!
15138
15139         * lyxfont.C (lyxWriteChanges): added document_language parameter
15140         (update): removed unneeded language parameter
15141
15142         * paragraph.C (validate): fixed wrong output of color-package when
15143         using interface colors for certain fonts in certain environments,
15144         which should not seen as that on the final output.
15145
15146 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15147
15148         * BufferView_pimpl.C:
15149         * Thesaurus.h:
15150         * Thesaurus.C:
15151         * Makefile.am:
15152         * commandtags.h:
15153         * LyXAction.C: add thesaurus support
15154
15155         * lyxfind.h:
15156         * lyxfind.C: add "once" parameter, for thesaurus, to not
15157           move to the next match
15158
15159 2001-07-26  Juergen Vigna  <jug@sad.it>
15160
15161         * lyxfont.C (realize): honor ignore_language too!
15162         (resolved): ditto.
15163
15164         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15165
15166         * text.C (draw): one place more for ignore_language to not draw
15167         itself!
15168
15169 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15170
15171         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15172
15173 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15174
15175         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15176         the minipage conversion problem.
15177
15178 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15179
15180         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15181         insert an inset.
15182
15183 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15184
15185         * BufferView.h: don't forward declare WorkArea
15186
15187         * BufferView.C: don't include WorkArea.h
15188
15189 2001-07-25  André Pönitz <poenitz@gmx.net>
15190
15191         * commandtags.h:
15192         * LyXAction.C:
15193         * lyxfunc.C:  new LFUN 'math-space'
15194
15195         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15196
15197 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15198
15199         * text2.C (toggleInset): call open/close
15200
15201 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15202
15203         * lyxfunc.C (dispatch): add debug for the disabled case
15204
15205         * font.C (buttonText): make similar to rectText
15206
15207         * buffer.C (readInset): comment out parsing of insetlist and
15208         insttheorem
15209
15210         * PainterBase.C (rectText): small correction
15211
15212         * BufferView_pimpl.C: comment out insettheorem and insetlist
15213         * LyXAction.C: ditto
15214         * commandtags.h: ditto
15215
15216 2001-07-24  Juergen Vigna  <jug@sad.it>
15217
15218         * text.C (draw): honor the ignore_language.
15219
15220         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15221
15222 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15223
15224         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15225         char inset.
15226
15227 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15228
15229         * lyxtext.h: remove unused (and unimplemented) methods
15230
15231 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15232
15233         * text.C (getVisibleRow): honor background color
15234
15235         * PainterBase.h:
15236         * Painter.h: remove default color argument for fillRectangle
15237
15238         * text.C (backgroundColor): new method
15239
15240 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15241
15242         * text.C (getVisibleRow): adjust
15243
15244         * font.[Ch] (rectText): new method, metrics
15245         (buttonText): new method, metrics
15246
15247         * PainterBase.[hC]: make rectText and buttonText always draw and take
15248         fewer paramteres.
15249
15250 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15251
15252         * ToolbarDefaults.C (read):
15253         * MenuBackend.C (read): allow escaping in all strings
15254
15255         * BufferView_pimpl.C (insertAndEditInset): new method.
15256         (Dispatch): use insertAndEditInset whenever appropriate.
15257
15258         * BufferView_pimpl.C (insertNote): removed
15259
15260         * BufferView_pimpl.C (smartQuote): new method, moved from
15261         BufferView; if an insetquote cannot be inserted, insert a '"'
15262         character instead.
15263
15264         * BufferView2.C: remove insertCorrectQuote();
15265
15266         * lyxfunc.C (getStatus): Add support for all remaingin
15267         inset-insert lfuns.
15268
15269         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15270
15271         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15272         command (necessary to pass " as parameter of self-insert.
15273
15274         * text.C (selectWordWhenUnderCursor):
15275         (selectWord): add word_location parameter
15276         (selectWordWhenUnderCursor): same + remove special code for word
15277         boundary.
15278         (selectNextWord): use kind() to guess type of insetspecialchar,
15279         not latex().
15280
15281         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15282         (insertErtContents): create ert insets as collapsed.
15283         (readInset): better compatibility code for Info inset.
15284
15285 2001-07-20  Juergen Vigna  <jug@sad.it>
15286
15287         * lyxfunc.C (dispatch): use always LyXFind now!
15288
15289         * text2.C (init): add a reinit flag so that the LyXText can be
15290         reinited instead of deleted and reallocated (used in InsetText).
15291
15292         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15293
15294         * text.C: ditto
15295
15296         * text2.C: ditto
15297
15298 2001-07-18  Juergen Vigna  <jug@sad.it>
15299
15300         * text.C (selectNextWord): handle insets inside inset by calling
15301         always the bv->text functions so that we can go up the_locking_inset!
15302
15303         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15304         in strange locations when inside an inset!
15305
15306         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15307         handling to include insets.
15308
15309         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15310
15311 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15312
15313         * LyXAction.C (init):
15314         * commandtags.h:
15315         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15316         LIGATURE_BREAK, since the name is so stupid.
15317
15318 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15319
15320         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15321         InsetInfos.
15322
15323         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15324
15325         * sp_form.[Ch]: remove.
15326
15327         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15328
15329         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15330         InsetInfo.
15331
15332         * src/buffer.C (readInset): ditto.
15333
15334 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15335
15336         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15337         menuSeparator(), endOfSentenceDot(), ldots() and
15338         hyphenationPoint(), which are therefore removed.
15339         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15340
15341         * LyXAction.C (init):
15342         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15343
15344         * paragraph.C (getWord): removed.
15345
15346         * BufferView_pimpl.C (Dispatch): use last word or selection for
15347         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15348
15349         * lyx_main.C (queryUserLyXDir): do not ask before creating
15350         user_dir, except if it has been named explicitely.
15351
15352 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15353
15354         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15355         a document of zero size.
15356
15357 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15358
15359         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15360         approriately in the c-tor and in require().
15361         (getPackages): output the appropriate LaTeX for natbib support.
15362
15363         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15364         variables "use_natbib" and "use_numerical_citations" when reading the
15365         LyX file.
15366         (readInset): read the various natbib cite commands.
15367         (validate): white-space change.
15368
15369         * bufferparams.[Ch]: new variables "bool use_natbib" and
15370         "bool use_numerical_citations".
15371         (writeFile): output them in the LyX file.
15372
15373 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15374
15375         * lyxfunc.C (getStatus): add support for all the inset insertion
15376         commands.
15377
15378         * text2.C (insertInset):
15379         * paragraph.C (insetAllowed):
15380         * BufferView_pimpl.C (insertInset): update to take in account the
15381         renaming of insertInsetAllowed
15382
15383         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15384
15385         * text2.C (getInset): new method. returns inset at cursor position.
15386
15387         * BufferView_pimpl.C (Dispatch): changes because of this.
15388
15389         * LyXAction.C (init): rename open-stuff to inset-toggle.
15390
15391         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15392
15393         * text2.C (toggleInset): renamed from openStuff; use
15394         Inset::open().
15395
15396 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15397
15398         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15399
15400         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15401
15402 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15403
15404         * buffer.C (readLyXformat2): Add filename to the error dialog
15405
15406 2001-07-18  Juergen Vigna  <jug@sad.it>
15407
15408         * tabular.C (GetCellNumber): put an assert here instead of the check!
15409
15410 2001-07-17  Juergen Vigna  <jug@sad.it>
15411
15412         * BufferView_pimpl.C (toggleSelection): adapted too.
15413
15414         * text.C (selectNextWord): adapted for use with insets.
15415         (selectSelectedWord): ditto
15416
15417 2001-07-17  Juergen Vigna  <jug@sad.it>
15418
15419         * sp_spell.C (PSpell): fix initialitation order.
15420
15421 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15422
15423         * paragraph.C: spacing
15424
15425 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15426
15427         * sp_spell.C: repair language selection for pspell
15428
15429 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15430
15431         * lyxfunc.h: change more methods to begin with lower char.
15432
15433 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15434
15435         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15436         for unknown layouts.
15437
15438 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15439
15440         * buffer.C (readLyXformat2): Generate an error dialog if there are
15441         unknown layouts.
15442
15443 2001-07-16  Juergen Vigna  <jug@sad.it>
15444
15445         * sp_spell.C: always compile ISpell part.
15446
15447         * lyxrc.C: added use_pspell entry and it's handling.
15448
15449 2001-07-13  Juergen Vigna  <jug@sad.it>
15450
15451         * sp_spell.C: removed double includes.
15452
15453 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15454
15455         Consistent use of Lsstream.h:
15456         * Lsstream.h: added using std::stringstream for consistencies sake.
15457
15458         * buffer.C: removed using std::stringstream
15459
15460         * lyxfont.C (stateText):
15461         * paragraph.C (asString):
15462         * text.C (selectNextWord, selectSelectedWord):
15463         * text2.C (setCounter):
15464         * vspace.C (asString, asLatexString):
15465         std::ostringstream -> ostringstream.
15466
15467 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15468
15469         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15470         * commandtags.h: add LFUN_HELP_ABOUTLYX
15471         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15472
15473 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15474
15475         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15476         cursorToggle()
15477         * lyx_gui_misc.C: remove spellchecker
15478         * lyxfunc.C: showSpellchecker
15479         * sp_base.h: added
15480         * sp_ispell.h: added
15481         * sp_pspell.h: added
15482         * sp_spell.C: added
15483         * sp_form.[Ch]: removed
15484         * spellchecker.[Ch]: removed
15485
15486 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15487
15488         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15489         is set.
15490         (simpleTeXSpecialChars): Simply print the input character without
15491         any special translation if pass_thru is set.
15492
15493         * layout.h: Added bool pass_thru to layout class for being able to
15494         implement pass through of a paragraph for Literate Programming.
15495
15496         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15497         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15498         * layout.C (Read): add "passthru" to list of layout tags and add
15499         code to set the pass_thru boolean when it is read.
15500
15501 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15502
15503         * trans_decl.h: remove allowed from KmodInfo
15504
15505         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15506         remove allowed code
15507         (Load): adjust
15508
15509         * paragraph_pimpl.C (erase): use boost::prior
15510
15511         * Painter.C (text): use data() instead of c_str() when length is
15512         also provided.
15513         * WorkArea.C (putClipboard): ditto
15514         * font.h (width): ditto
15515
15516         * BufferView2.C: use it-> instead of (*it). for iterators
15517         * texrow.C: ditto
15518         * paragraph_pimpl.C: ditto
15519         * paragraph.C: ditto
15520         * minibuffer.C: ditto
15521         * language.C: ditto
15522         * kbmap.C: ditto
15523         * encoding.C: ditto
15524         * counters.C: ditto
15525         * converter.C: ditto
15526         * chset.C: ditto
15527         * Variables.C: ditto
15528         * TextCache.C: ditto
15529         * MenuBackend.C: ditto
15530         * LyXAction.C: ditto
15531         * LColor.C: ditto
15532         * FloatList.C: ditto
15533         * DepTable.C: ditto
15534         * ColorHandler.C (LyXColorHandler): ditto
15535
15536 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15537
15538         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15539
15540         * text2.C (openStuff): reintroduce this method (which had been
15541         nuked in NEW_INSETS frenzy).
15542
15543         * lyxfunc.C (Dispatch): when an action has not been handled, use
15544         its name in the error message, not its number.
15545
15546         * paragraph.C (inInset): change method name to begin with lowercase.
15547
15548         * undo_funcs.C:
15549         * text2.C: updates because of this.
15550
15551 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15552
15553         * ToolbarDefaults.C (add): add spaces in error message
15554
15555 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15556
15557         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15558         (readLyXformat2): rename return_par to first_par, use lyxlex's
15559         pushToken and remove the manual push handling.
15560         (parseSingleLyXformat2Token): add another ert comp. variable:
15561         in_tabular, rename return_par to first_par. handle newlines better
15562
15563 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15564
15565         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15566
15567 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15568
15569         * text2.C (getParFromID): removed
15570
15571         * buffer.C (getParFromID): new method moved form lyxtext.
15572         * BufferView2.C (insertErrors): adjust
15573         (setCursorFromRow): adjust
15574         * BufferView_pimpl.C (restorePosition): adjust
15575         * lyxfunc.C (Dispatch): adjust
15576         * undo_funcs.C (textUndo): adjust
15577         (textRedo): adjust
15578         (textHandleUndo): adjust
15579         (textHandleUndo): adjust
15580
15581 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15582
15583         * buffer.C: up' the LYX_FORMAT
15584
15585         * lyxfont.h: turn NO_LATEX on as default
15586
15587         * buffer.C (insertErtContents): new methods of tex style compability.
15588         (parseSingleLyXformat2Token): use it several places.
15589         * tabular.C (OldFormatRead): and here
15590
15591 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15592
15593         * text2.C: remove some commented code.
15594         reindent file.
15595
15596         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15597         * trans.C: changes because of the above.
15598
15599 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15600
15601         * text2.C (setCounter): Fix counters bug with bibliography layout.
15602
15603 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15604
15605         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15606         own member functions
15607         (simpleTeXSpecialChars): ditto
15608
15609 2001-07-06  Juergen Vigna  <jug@sad.it>
15610
15611         * a lot of files: changed the access to LyXText::status and the
15612         call of undo-functions.
15613
15614         * undo.[Ch]: added a inset_id to the undo informations.
15615
15616         * undo_funcs.[Ch]: added and moved here all undo functions.
15617
15618         * lyxtext.h: give the status enum a weight, made status_ a private
15619         variable and made accessor functions for it, removed the whole bunch
15620         of undo-functions as they are now in their own file, make some
15621         functions publically available. Added function ownerParagraph with
15622         int parameter.
15623
15624         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15625         made InInset() a const function, added getParFromID() function.
15626
15627         * buffer.[Ch]: added const version for inset_iterator functions,
15628         added getInsetFromID() function.
15629
15630         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15631         changed undo functions for new version.
15632
15633 2001-07-05  Juergen Vigna  <jug@sad.it>
15634
15635         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15636         unknow mechanism does not call the proper constructor but only this
15637         one also if I request the other!?
15638
15639 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15640
15641         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15642
15643         * text2.C (LyXText): use initialization lists.
15644
15645         * lyxtext.h (Selection): initialize set_ and mark_
15646         (init): remove method
15647
15648 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15649
15650         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15651
15652 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15653
15654         * screen.[Ch]: change method names to begin with lowercase
15655
15656         * BufferView_pimpl.C (updateScrollbar): simplify further and
15657         hopefully make it a bit faster.
15658
15659 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15660
15661         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15662         calling directly xforms functions.
15663
15664         * Painter.C (Painter):
15665         * lyx_cb.C (MenuWrite):
15666         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15667         fl_display.
15668
15669         * lyx_gui.C: remove bogus guiruntime extern declaration.
15670
15671 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15672
15673         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15674         in NEW_INSETS
15675         (redoDrawingOfParagraph): ditto
15676         (redoParagraphs): ditto
15677         (cutSelection): don't create a object for CutAndPaste use the
15678         static method directly
15679         (pasteSelection): ditto
15680
15681         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15682         LyXview (+ rename)
15683
15684 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15685
15686         * modifications to some other files because of this.
15687
15688         * Makefile.am (lyx_SOURCES): add XFormsView
15689
15690         * XFormsView.[Ch]: new files
15691
15692         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15693         the main window. Move the gui dependent stuff to XFormsView
15694
15695 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15696
15697         * tabular.C (GetCellInset): update cur_cell also in the row/col
15698         version of this function.
15699
15700         * lyxfunc.C: no need to include figure_form.h here.
15701
15702         * FontLoader.h:
15703         * lyxfunc.h:
15704         * lyxscreen.h:
15705         * text2.C:
15706         * lyxvc.C: no need to include forms.h here.
15707
15708 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15709
15710         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15711
15712         * lyxfunc.C (Dispatch):
15713         * Spacing.C (set):
15714         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15715         constructor argument.
15716
15717 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15718
15719         * paragraph.C (Paragraph): dont't clear, and just set layout.
15720         (makeSameLayout): use params's copy contructor.
15721
15722         * ParagraphParameters.[Ch] (makeSame): delete method
15723
15724 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15725
15726         * Variables.[Ch]: fix indentation, rename set to isSet
15727
15728 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15729
15730         * lyxfunc.C (Dispatch): fix typo
15731
15732 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15733
15734         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15735         upper_bound.
15736
15737         * bufferlist.C: include assert.h for emergencyWrite().
15738
15739 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15740
15741         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15742           give up at last (bug #425202) !
15743
15744 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15745
15746         * lyx_gui_misc.C:
15747         * sp_form.h:
15748         * sp_form.C:
15749         * spellchecker.h:
15750         * spellchecker.C: strip spellchecker options and bring up
15751           preferences tab instead
15752
15753 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15754
15755         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15756         the istringstream constructor
15757
15758 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15759
15760         * paragraph.C (getLayout): fix return value
15761
15762         * paragraph.h: do not declare getLayout as inline.
15763
15764         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15765
15766 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15767
15768         * lyxcursor.h (operator<): new func
15769         (operator>): new func
15770         (operator>=): new func
15771         (operator<=): new func
15772
15773         * text.C (changeCase): use selection.start and selection.end
15774         (changeRegionCase): require from to be <= to. Require par to be a
15775         valid paragraph.
15776
15777         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15778
15779 2001-06-27  Juergen Vigna  <jug@sad.it>
15780
15781         * text.C (cursorLeftOneWord): changed to return the cursor and added
15782         overlay with BufferView * parameter which calls this one.
15783         (getWord): added
15784         (selectWord): use new getWord function.
15785         (changeCase): renamed from changeWordCase as and extended to work
15786         also on selections.
15787
15788         * lyxtext.h: added enum word_location
15789
15790         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15791         changeCase as this operates now also on selections.
15792
15793 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15794
15795         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15796
15797         * many files: send debug output to Debug::INFO instead of
15798         Debug::ANY.
15799
15800         * converter.C (View):
15801         (Convert):
15802         (Move): send debug output to Debug::FILES instead of console.
15803
15804 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15805
15806         * lyxfunc.C (getStatus): use func_status
15807
15808         * func_status.h: new header, describing the results of
15809         LyXFunc::getStatus;
15810
15811         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15812         LFUN_MATH_HALIGN.
15813
15814 2001-06-25  The LyX Project  <jug@sad.it>
15815
15816         * buffer.C (sgmlOpenTag):
15817         (sgmlCloseTag):
15818         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15819
15820 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15821
15822         * text2.C: remove some dead code
15823
15824         * tabular.C (GetCellInset): store the last cell checked (gotten)
15825
15826         * tabular.h: add the helper for the speedup
15827
15828         * lyxtext.h: remove some dead code
15829
15830 2001-06-26  The LyX Project  <Asger>
15831
15832         * paragraph.C: Change export to LaTeX of alignment to
15833         \begin{center} and family for better roundtrip work with reLyX.
15834
15835         * Tune the math drawing a bit.
15836
15837 2001-06-25  The LyX Project  <Asger>
15838
15839         * LColor.C (LColor): New color for math background. New color
15840         for buttons.
15841
15842 2001-06-25  The LyX Project  <jug@sad.it>
15843
15844         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15845
15846         * lyxfunc.C (Open):
15847         * bufferlist.C (newFile): do not restrict to files ending with
15848         .lyx
15849
15850         * BufferView_pimpl.C (MenuInsertLyXFile):
15851
15852 2001-06-24  The LyX Project  <jug@sad.it>
15853
15854         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15855         of compare_no_case
15856
15857 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15858
15859         * lyxtext.h: rename most methods to begin with a small char.
15860         Lots of changes because of this.
15861
15862         * paragraph.C (Paragraph): do not call fitToSize
15863         (erase): call Pimpl::erase
15864         (insertChar): call Pimpl::insertChar
15865         (insertInset): call Pipl::insertInset
15866         (breakParagraph): do not call fitToSize
15867         (breakParagraphConservative): do not call fitToSize
15868         (fitToSize): remove method
15869
15870         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15871
15872 2001-06-24  The LyX Project  <Asger>
15873
15874         * Fix Qt compilation^2
15875
15876 2001-06-24  The LyX Project  <jug@sad.it>
15877
15878         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15879         depthHook(getDepth()-1).
15880
15881         * paragraph.h:
15882         * ParagraphParameters.h:
15883         * ParameterStruct.h: change type of depth to unsigned int ==
15884         depth_type. Many adaptations to other files before of that.
15885
15886 2001-06-24  The LyX Project  <Asger>
15887
15888         * Fix Qt compilation.
15889
15890 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15891
15892         * paragraph.h: renamed several methods to begin with small letter.
15893         several changes to many parts of the code because of this.
15894
15895 2001-06-23  The LyX Project  <jug@sad.it>
15896
15897         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15898         rewritten to discard all double spaces when KeepEmpty is off
15899         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15900         to only handle newlines but not fiddle with spaces and friends.
15901
15902         * lyxfunc.C (MenuNew): when doing 'new from template', use
15903         template_path as default directory
15904
15905 2001-06-23  The LyX Project  <Asger>
15906
15907         * Clean-up of header file includes all over
15908         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15909
15910 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15911
15912         * paragraph.h: renamed from lyxparagraph.h
15913
15914 2001-06-23  Asger  <lyx@violet.home.sad.it>
15915
15916         * Buffer.h: Removed Buffer::resize
15917         * BufferList.h: Removed BufferList::resize
15918         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15919         the document lazily when we change the width, or the font settings.
15920
15921 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15922
15923         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15924
15925 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15926
15927         * buffer.h: remove out of date comment
15928
15929 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15930
15931         * lyxscreen.h:
15932         * screen.C: fix "theoretical" GC leak
15933
15934 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15935
15936         * LaTeX.C (scanAuxFile):
15937         (deplog): remove trailing \r when reading stream (useful under
15938         win32)
15939
15940 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15941
15942         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15943         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15944         and BufferView::theLockingInset(Inset*), so should use them and not
15945         access bv_->text->the_locking_inset directly.
15946
15947         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15948
15949 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15950
15951         * Makefile.am:
15952         * tex-defs.h: remove old unused file
15953
15954 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15955
15956         * BufferView_pimpl.C: fix typo, remove minibuffer message
15957           when buffer has loaded
15958
15959 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15960
15961         * lyxfunc.C (Dispatch): use stringstream
15962         (MenuNew): use stringstream
15963         (Open): use stringstream
15964
15965         * importer.C (Import): use stringstream
15966
15967         * bufferview_funcs.C (CurrentState): use stringstream
15968
15969         * LaTeX.C (run): use stringstream
15970
15971         * BufferView_pimpl.C (savePosition): use stringstream
15972         (restorePosition): use stringstream
15973         (MenuInsertLyXFile): use stringstream
15974
15975 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15976
15977         * BufferView.C:
15978         * Bullet.C:
15979         * ColorHandler.C:
15980         * FontInfo.C:
15981         * FontLoader.C:
15982         * LColor.C:
15983         * LaTeXFeatures.C:
15984         * Painter.C:
15985         * gettext.C:
15986         * lyx_gui_misc.C:
15987         * lyxserver.C:
15988         * vspace.C: removed // -*- C++ -*- as first line.
15989
15990         * lyxfind.h:
15991         * version.h: added // -*- C++ -*- as first line.
15992
15993 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15994
15995         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15996
15997         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15998         of string
15999
16000 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16001
16002         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16003         of floats.
16004
16005 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16006
16007         * gettext.C: include LString.h even when --disable-nls is on.
16008
16009 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16010
16011         * converter.h (Get): changed argument type from int to
16012         FormatList::size_type to avoid unnecessary conversion.
16013
16014         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16015         before using it.
16016
16017 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16018
16019         * gettext.h: include LString.h even when --disable-nls is on.
16020
16021 2001-06-07  Juergen Vigna  <jug@sad.it>
16022
16023         * text.C (BreakAgain): subst spaces with tabs.
16024
16025         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16026         (resizeInsetsLyXText): set force on resizeLyXText.
16027
16028 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16029
16030         * gettext.h (gettext_init):
16031         (locale_init): use a real definition instead of a macro
16032
16033 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16034
16035         * Bufferview_pimpl.C:
16036         * LColor.h:
16037         * LColor.C: further lcolor tidies
16038
16039 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16040
16041         * BufferView_pimpl.C (updateScrollbar): simplify.
16042
16043         * BufferView2.C: don't include insets/insetinfo.h, change
16044         prototype for insertInset and call the Pimpl version. let
16045         updateInset call Pimpl version.
16046
16047         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16048         gotoInset to BufferView::Pimpl
16049
16050 2001-06-01  Juergen Vigna  <jug@sad.it>
16051
16052         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16053         inside a LockingInset (is the update needed at all?).
16054
16055 2001-05-31  Juergen Vigna  <jug@sad.it>
16056
16057         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16058         here not the old one otherwise how should we compare it afterwards
16059         if it's the same!
16060
16061 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16062
16063         * lyxfont.C:
16064         * tabular.C:
16065         * tabular-old.C:
16066         * FontInfo.C: bring C functions into global namespace when
16067         necessary
16068
16069 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16070
16071         * LString.h: make sure config.h has been loaded before LString.h.
16072
16073         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16074         (one for each char read by EatLine!).
16075
16076         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16077         variables.
16078
16079 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16080
16081         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16082         to the same as the par we break from
16083
16084 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16085
16086         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16087
16088         * MenuBackend.C (expand): also create menu entries for wide
16089         versions of the floats.
16090
16091         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16092
16093         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16094
16095         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16096         frontends/Makefile.am
16097
16098         * text2.C: adjust
16099         * text.C: adjust
16100
16101
16102         * tabular.C (getTokenValue): add std::
16103
16104         * tabular-old.C (getTokenValue): add std::
16105         (getTokenValue): ditto
16106         (getTokenValue): ditto
16107
16108         * screen.C (ToggleSelection): adjust
16109
16110         * lyxtext.h: put selection cursors inside a Selection struct.
16111
16112         * lyxfunc.C (moveCursorUpdate): adjust
16113
16114         * lyxfont.C (latexWriteStartChanges): add std::
16115
16116         * lyxfind.C: adjust
16117
16118         * font.h: delete with(char const *, LyXFont const &)
16119
16120         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16121
16122         * FontInfo.C (getFontname): add std::
16123
16124         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16125         (workAreaButtonPress): adjust
16126         (tripleClick): adjust
16127         (update): adjust
16128         (moveCursorUpdate): adjust
16129         (Dispatch): adjust
16130
16131         * BufferView2.C (gotoInset): adjust
16132
16133 2001-05-30  Juergen Vigna  <jug@sad.it>
16134
16135         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16136         to check pspell I add this as default as I now have new pspell
16137         libraries and they seem to use this.
16138
16139 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16140
16141         * text2.C (CutSelection): make the cursor valid before the call to
16142         ClearSelection.
16143
16144 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16145
16146         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16147         relied on 0 terminated strings and other horrors. Bug found due to
16148         the new assert in lyxstring!
16149
16150         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16151         KP_ keys.
16152
16153 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16154
16155         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16156         to latinkeys.bind.
16157
16158         * lyxfunc.C (processKeySym): change method of getting to the
16159         self-insert char.
16160
16161         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16162         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16163         * BufferView_pimpl.[Ch]: here as private methods.
16164
16165 2001-05-28  Juergen Vigna  <jug@sad.it>
16166
16167         * text.C (SetHeightOfRow): added the update() call again as it is
16168         needed to initialize inset dimensions!
16169
16170 2001-05-16  Juergen Vigna  <jug@sad.it>
16171
16172         * text2.C (SetCharFont): Add new function with BufferView * and
16173         bool toggleall parameters for setting insets internal fonts.
16174         (SetFont): Freeze the undo as we may change fonts in Insets and
16175         all this change should be inside only one Undo!
16176
16177         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16178         setting font's in insets as for them we have the SetFont function!
16179
16180 2001-05-15  Juergen Vigna  <jug@sad.it>
16181
16182         * text2.C (ClearSelection): to be sure we REALLY don't have any
16183         selection anymore!
16184
16185         * tabular.C (TeXCellPreamble): fixed the left border problem for
16186         multicolumn cells.
16187
16188 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16189
16190         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16191         dependancy file
16192
16193 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16194
16195         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16196         LFUN_BREAKPARAGRAPH.
16197
16198         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16199         help test to "internal only", similar for LFUN_INSERT_URL
16200
16201         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16202         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16203         auto_region_delete and deadkeys.
16204
16205 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16206
16207         * LColor.h:
16208         * LColor.C: remove some dead entries, tidy a little
16209
16210 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16211
16212         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16213         commented code.
16214         (Dispatch): implement LFUN_ESCAPE
16215
16216         * commandtags.h: add LFUN_ESCAPE
16217
16218         * LyXAction.C (init): add entry for LFUN_ESCAPE
16219
16220         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16221         Remove commented code.
16222         (insertNote): moved here
16223         (open_new_inset): moved here
16224
16225         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16226         BufferView_pimpl
16227
16228 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16229
16230         * kbmap.C (findbinding): clean it up and make it work correctly.
16231
16232         * lyx_main.C (init): do not pass argc and argv as parameters
16233
16234 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16235
16236         * buffer.C: fix path for OS/2 & Win32
16237
16238         * lyx_gui.C:
16239         * lyx_main:
16240         * lyx_main.C: Added os:: class.
16241
16242         * os2_defines.h: update
16243
16244 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16245
16246         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16247         better by trying again with reduced state.
16248
16249 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16250
16251         * lyxrc.C (read): print error about invalid key sequence only when
16252         debugging (because not all latinX keysyms are known to some X
16253         servers)
16254
16255         * kbsequence.C (getiso): add a few std:: qualifiers
16256         (getiso): comment out extra return statement.
16257
16258 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16259
16260         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16261         handling.
16262         (Dispatch): enhance the accent inset a bit. (not perfect)
16263
16264 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16265
16266         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16267
16268 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16269
16270         * bufferlist.C (emergencyWrite): fix assert() call
16271
16272 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16273
16274         * text.C (InsertChar): Added trivial patch to only send the "you
16275         can not do multiple spaces this way" message once during a
16276         session.
16277
16278 2001-05-08  Baruch Even  <baruch@lyx.org>
16279
16280         * Makefile.am: Changed order of libraries to get LyX to link properly
16281         with the gnome frontend.
16282
16283 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16284
16285         * LaTeXFeatures.h: add a std:: qualifier
16286
16287 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16288
16289         * paragraph.C (String): use stringstream
16290
16291 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16292
16293         * paragraph.C (writeFile): remove footflag arg
16294
16295         * buffer.C (makeLaTeXFile): use stringstream
16296         (latexParagraphs): remove footnot gurba
16297
16298         * LaTeXFeatures.C (getPackages): use stringstream
16299         (getMacros): likewise
16300         (getTClassPreamble): likewise
16301         (getFloatDefinitions): new method
16302
16303         * paragraph.C (writeFile): reindent
16304         (Erase): reindent
16305
16306         * WorkArea.h: revert the xpos + etc changes.
16307
16308         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16309
16310         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16311
16312         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16313         (pasteSelection): likewise
16314         * text2.C (CreateUndo): likewise
16315
16316 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16317
16318         * minibuffer.C (peek_event): temporarily reduce the functionality
16319         of the minibuffer (to allow args on lfuns)
16320
16321         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16322         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16323
16324         * buffer.C (readInset): add compability reading of old float
16325         lists, add reading of new style float list.
16326         (readInset): avoid reevaluation of inscmd.getCmdName()
16327         (getLists): reindent
16328
16329         * MenuBackend.C (MenuItem): implement parsing of
16330         md_floatlistinsert and md_floatinsert.
16331         (expand::LastFiles): move initalizaton of iterators out of loop,
16332         avoid reevaluation.
16333         (expand::Documents): introduce typdedef vector<string> Strings,
16334         and use it.
16335         (expand::ExportFormats): introduce typedef vector<Format const *>
16336         Formats, and use it.
16337         (expand): implement FloatListInsert and FloatInsert.
16338
16339         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16340         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16341         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16342
16343         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16344         handling.
16345         (Dispatch::LFUN_FLOAT_LIST): implement
16346
16347 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16348
16349         * LaTeX.C (run): Fix problem with --export code.
16350
16351 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16352
16353         * BufferView.[Ch] (workarea): removed.
16354         (getClipboard) new method; wrapper for workarea()->getClipboard()
16355
16356         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16357         bug.
16358
16359         * WorkArea.h (width, height, xpos, ypos): These methods all
16360         returned the dimensions of the work_area sub-area of WorkArea,
16361         resulting in a position error if the WorkArea were resized. Now
16362         return the dimensions of the entire WorkArea.
16363
16364         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16365
16366 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16367
16368         * LaTeX.C (deplog): correct the syntax of regex reg1
16369
16370 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16371
16372         * undo.C: remove !NEW_INSETS cruft
16373
16374 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16375
16376         * text2.C: remove !NEW_INSETS cruft
16377
16378         * text.C: remove !NEW_INSETS cruft
16379
16380         * tabular.C: remove !NEW_INSETS cruft
16381
16382         * spellchecker.C: remove !NEW_INSETS cruft
16383
16384         * lyxtext.h: remove !NEW_INSETS cruft
16385
16386         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16387
16388         * lyxfunc.C: remove !NEW_INSETS cruft
16389
16390         * lyxfind.C: remove !NEW_INSETS cruft
16391
16392         * lyx_cb.C: remove !NEW_INSETS cruft
16393
16394         * figureForm.C: remove  !NEW_INSETS cruft
16395
16396         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16397
16398         * buffer.[Ch]: remove !NEW_INSETS cruft
16399
16400         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16401
16402         * CutAndPaste.C: remove !NEW_INSETS cruft
16403
16404         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16405
16406         * BufferView2.C: remove !NEW_INSETS cruft
16407
16408         * BufferView.h: remove !NEW_INSETS cruft
16409
16410 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16411
16412         * Lsstream.h: include LString.h before the sstream headers to
16413         fix problem with gcc 2.95.3 and lyxstring
16414
16415 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16416
16417         * lyx_main.C: add using directives when needed for C functions
16418         declared in std:: namespace.
16419
16420 2001-04-27  Juergen Vigna  <jug@sad.it>
16421
16422         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16423         (SetHeightOfRow): comment out the update call should not be needed!
16424
16425 2001-04-13  Juergen Vigna  <jug@sad.it>
16426
16427         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16428         (LyXTabular): tried to minimize operator= operations (and realized
16429         hopfully Lars wish).
16430
16431 2001-04-27  Juergen Vigna  <jug@sad.it>
16432
16433         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16434
16435 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16436
16437         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16438
16439         * buffer.C (readInset): hack to make listof algorithm work
16440
16441         * BufferView_pimpl.C: hack to make listof algorithm work
16442
16443 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16444
16445         * LyXAction.C: removed all !NEW_INSETS cruft
16446         (init): moved lfun_item in method
16447
16448         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16449
16450 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16451
16452         * BufferView2.C (theLockingInset): white space.
16453
16454 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16455
16456         * minibuffer.C: include <iostream>
16457
16458         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16459
16460         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16461
16462         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16463
16464         * text.[Ch] (TransposeChars): new method
16465
16466 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16467
16468         * call message directly through LyXView instead of through LyXFunc
16469         * BufferView2.C: adjust
16470         * BufferView_pimpl.C: adjust
16471         * FontLoader.C: adjust
16472         * buffer.C: adjust
16473         * bufferview_funcs.C: adjust
16474         * converter.C: adjust
16475         * figureForm.C: adjust
16476         * importer.C: adjust
16477         * lyx_cb.C: adjust
16478         * lyx_gui_misc.C: adjust
16479         * lyxfunc.C: adjust
16480         * lyxvc.C: adjust
16481         * text2.C: adjust
16482         + more files in subdirs
16483
16484         * lyxparagraph.h (size): move up int file
16485         (GetLayout): ditto
16486
16487         * adjust all uses of Assert to lyx::Assert.
16488
16489         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16490         lyxfunctional in namespace lyx
16491         * layout.C (hasLayout): ditto
16492         (GetLayout): ditto
16493         (GetLayout): ditto
16494         (delete_layout): ditto
16495         (NumberOfClass): ditto
16496         * converter.C (GetFormat): ditto
16497         (GetNumber): ditto
16498         (Add): ditto
16499         (Delete): ditto
16500         (SetViewer): ditto
16501         * bufferlist.C (getFileNames): ditto
16502         (emergencyWriteAll): ditto
16503         (exists): ditto
16504         (getBuffer): ditto
16505         * MenuBackend.C (hasSubmenu): ditto
16506         (hasMenu): ditto
16507         (getMenu): ditto
16508         * BufferView_pimpl.C (getInsetByCode): ditto
16509
16510 2001-04-18  Juergen Vigna  <jug@sad.it>
16511
16512         * vspace.C (asLatexString): fixed the 100% problem.
16513
16514 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16515
16516         * lyxfunc.C (Dispatch):
16517         * minibuffer.C:
16518         * minibuffer.h: add a few std:: qualifiers
16519
16520 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16521
16522         * minibuffer.[Ch]: reimplement so that commands is initiated and
16523         run from lyxfunc, simplified som handling, and made the completion
16524         and history code for complete. wip.
16525
16526         * lyxfunc.C (processKeySym): call message
16527         (miniDispatch): new temporary method
16528         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16529         (LFUN_MESSAGE): implement
16530         (LFUN_MESSAGE_PUSH): implement
16531         (LFUN_MESSAGE_POP): implement
16532         (initMiniBuffer): the initial/defualt minibuffer message.
16533
16534         * lyxfont.[Ch]: inline some more getters
16535
16536         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16537
16538         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16539
16540         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16541         (AutoSave): use LFUN_MESSAGE
16542         (Reconfigure): ditto
16543
16544         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16545
16546         * figureForm.C: use LFUN_MESSAGE
16547
16548         * converter.C (runLaTeX): use LFUN_MESSAGE
16549
16550         * bufferview_funcs.C: use LFUN_MESSAGE
16551         (Melt): ditto
16552         (changeDepth): ditto
16553
16554         * bufferparams.h: use boost::
16555
16556         * bufferlist.h: inherit privately from noncopyable
16557
16558         * bufferlist.C (loadLyXFile): remove some commented code.
16559
16560         * buffer.C (runChktex): use LFUN_MESSAGE
16561
16562         * ShareContainer.h: inherit privately from noncopyable
16563
16564         * ParagraphParameters.[hC] (depth): inline it.
16565
16566         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16567         methods.
16568         (message): new method
16569         (messagePush): ditto
16570         (messagePop): ditto
16571         (show): init minibuffer
16572         (showState): direct call
16573
16574         * LaTeX.[Ch]: inherit privately from noncopyable
16575         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16576         instead of WriteStatus.
16577
16578         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16579
16580         * BufferView_pimpl.C (buffer): don't init minibuffer
16581         (workAreaButtonPress): use LFUN_MESSAGE
16582         (workAreaButtonRelease): ditto
16583         (savePosition): ditto
16584         (restorePosition): ditto
16585         (MenuInsertLyXFile): ditto
16586         (workAreaExpose): don't init minibuffer
16587         (update): remove commented code, simplify
16588
16589         * BufferView2.C (openStuff): use LFUN_MESSAGE
16590         (toggleFloat): ditto
16591         (menuUndo): ditto
16592         (menuRedo): ditto
16593         (copyEnvironment): ditto
16594         (pasteEnvironment): ditto
16595         (copy): ditto
16596         (cut): ditto
16597         (paste): ditto
16598         (gotoInset): ditto
16599         (updateInset): remove some commented code
16600
16601         * lastfiles.h: inherit privately from noncopyable
16602         * layout.h: ditto
16603         * lyx_gui.h: ditto
16604         * lyx_main.h: ditto
16605         * lyxlex.h: ditto
16606         * lyxlex_pimpl.h: ditto
16607
16608         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16609         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16610         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16611
16612         * LyXAction.h: inherit privately from noncopyable, add methods
16613         func_begin, func_end, returning iterators to the func map.
16614
16615         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16616         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16617         (func_begin): new method
16618         (func_end): new method
16619
16620         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16621         and not)
16622         (copySelection): ditto
16623         (pasteSelection): ditto
16624
16625         * BufferView.C: whitespace change
16626         * BufferView.h: inherit privately from noncopyable
16627
16628 2001-04-16  Allan Rae  <rae@lyx.org>
16629
16630         * tabular-old.C (l_getline):
16631         * spellchecker.C (sc_check_word):
16632         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16633         an unrecognised preprocessor directive.  So ensure they're wrapped.
16634
16635 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16636
16637         * src/exporter.C (Export): Give an error message when path to file
16638         contains spaces.
16639
16640 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16641
16642         * LaTeX.C (deplog): Always check that foundfile exists.
16643
16644 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16645
16646         * lyx_main.h:
16647         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16648
16649 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16650
16651         * tabular.[Ch] (getLabelList): implement new method
16652
16653         * minibuffer.h: comment ouf setTiimer
16654
16655         * minibuffer.C (ExecutingCB): constify res
16656         (peek_event): constify s
16657         (Set): constify ntext
16658         (Init): constify nicename
16659
16660         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16661
16662         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16663         (savePosition): use two params to Minibuffer::Set
16664         (restorePosition): ditto
16665
16666 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16667
16668         * lyx_main.C: include language.h
16669
16670         * Makefile.am (lyx_main.o): add language.h
16671
16672 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16673
16674         * exporter.C:
16675         * paragraph.C:
16676         * screen.C:
16677         * tabular.C:
16678         * CutAndPaste.C: include gettext.h
16679
16680         * lyxfont.h: remove old hack with ON and OFF.
16681
16682         * lyxparagraph.h:
16683         * lyxfont.h: do not include language.h...
16684
16685         * BufferView2.C:
16686         * LaTeXFeatures.C:
16687         * Painter.C:
16688         * bufferview_funcs.C:
16689         * font.C:
16690         * lyxfont.C:
16691         * text.C:
16692         * text2.C:
16693         * trans_mgr.C:
16694         * paragraph.C: ... but do it here instead
16695
16696 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16697
16698         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16699
16700         * tabular.C: small reformat
16701
16702         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16703         NEW_INSETS version
16704         (GetChar): ditto
16705         (BreakParagraph): ditto
16706         (SetOnlyLayout): ditto
16707         (SetLayout): ditto
16708
16709         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16710         with one arg less.
16711
16712         * lastfiles.C: removed most using decl, add std:: where needed
16713
16714         * buffer.C: ws changes
16715
16716         * MenuBackend.C (class compare_format): put into anon namespace
16717         (expand): constify label, names, action, action2
16718         (expand):
16719
16720         * text.C (SingleWidth): constify font
16721         (IsBoundary): constify rtl2
16722         (GetVisibleRow): constify ww
16723
16724         * LaTeX.C (deplog): constify logfile
16725
16726         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16727         start_x, end_x
16728         (workAreaExpose): constify widthChange, heightChange
16729
16730         * lyxrow.C (par): moved
16731         (height): moved
16732         (next): moved
16733         * lyxrow.h: as inlines here
16734
16735         * lyxfont.h (shape): moved from lyxfont.C
16736         (emph): moved from lyxfont.C
16737
16738         * lyxfont.C (LyXFont): use initialization list for all
16739         constructors
16740         (shape): move to lyxfont.h as inline
16741         (emph): move to lyxfont.h as inline
16742
16743
16744 2001-04-04  Juergen Vigna  <jug@sad.it>
16745
16746         * vspace.C: had to include stdio.h for use of sscanf
16747
16748 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16749
16750         * BufferView.h:
16751         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16752         independent of xforms.
16753
16754 2001-04-02  Juergen Vigna  <jug@sad.it>
16755
16756         * spellchecker.C: fixed namespace placing!
16757
16758 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16759
16760         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16761         the LyXParagraph * is 0.
16762
16763 2001-03-29  Juergen Vigna  <jug@sad.it>
16764
16765         * vspace.C: added support for %, c%, p%, l%.
16766         (stringFromUnit): added helper function.
16767         (asLatexString): changed to give right results for the %-values.
16768
16769         * buffer.C: convert the widthp in a width%.
16770
16771 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16772
16773         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16774         figureForm.[Ch].
16775
16776         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16777         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16778
16779         * lyx_cb.[Ch]: see above.
16780
16781         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16782         form1.[Ch].
16783
16784         * form1.[Ch]:
16785         * lyx.[Ch]: replaced by figure_form.[Ch].
16786
16787         * lyx_gui.C:
16788         * lyx_gui_misc.C:
16789         * lyxfunc.C: changed headers associated with above changes.
16790
16791 2001-03-27  Juergen Vigna  <jug@sad.it>
16792
16793         * BufferView_pimpl.C: set the temporary cursor right!
16794
16795 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16796
16797         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16798
16799 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16800
16801         * LString.h: removed "using std::getline"!
16802
16803         * BufferView_pimpl.C (Dispatch): changes due to changes in
16804         InsetInclude::Params.
16805
16806         * buffer.C (tag_name): removed redundant break statements as they were
16807         producing lots of warnings with my compiler.
16808
16809 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16810
16811         * LString.h: add "using std::getline" when using the real <string>.
16812
16813 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16814
16815         * buffer.C: removed bitset usage.
16816         PAR_TAG moved to an anonymous name space.
16817         (tag_name): new funtion, also in the anonymous namespace.
16818         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16819         (makeDocBookFile): clean code. Completed transition from string arrays
16820         to string vectors.
16821         (SimpleDocBookOnePar): code clean.
16822
16823 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16824
16825         * tabular.C: add some comments.
16826
16827 2001-03-22  Juergen Vigna  <jug@sad.it>
16828
16829         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16830         compatibility read a bit and fixed bug with minipage in different
16831         depth.
16832
16833 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16834
16835         * buffer.C (pop_tag): removed.
16836         (push_tag): removed.
16837         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16838         array replaced with vector. Added support for CDATA sections.
16839         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16840         at any nest level.
16841         (makeDocBookFile): XML conformant declaration of CDATA section,
16842         fixed bug related to <emphasis> in the first paragraph char.
16843         (sgmlOpenTag): exclude empty tags.
16844         (sgmlCloseTag): ditto.
16845
16846         * buffer.h (pop_tag): removed.
16847         (push_tag): removed.
16848
16849 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16850
16851         * language.h (Languages): added size_type and size().
16852
16853 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16854
16855         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16856         response on compability reading of minipages. One probliem is that
16857         the old usage of minipages was «flertydig»
16858
16859         * several files here and in subdirs: don't use static at file
16860         scope use anon namespaces instead.
16861
16862 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16863
16864         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16865         LaTeX output. This is necessary for Literate document
16866         processing.
16867
16868 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16869
16870         * buffer.C: insert hfill when needed.
16871
16872         * tabular.C (l_getline): use string::erase, small whitespace change.
16873
16874         * BufferView_pimpl.C: try the anon namespace.
16875         * WorkArea.C: ditto
16876
16877 2001-03-16  Juergen Vigna  <jug@sad.it>
16878
16879         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16880         otherwise it won't open options-dialogs.
16881
16882         * buffer.C: honor pextraWidth(p) on converting minipages.
16883
16884         * tabular.C (l_getline): changed the functions to strip trailing \r.
16885
16886 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16887
16888         * BufferView_pimpl.C:
16889         * minibuffer..C: added "using SigC::slot" declaration.
16890
16891 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16892
16893         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16894
16895         * text2.C: ditto
16896
16897         * text.C: ditto
16898
16899         * paragraph.C: ditto
16900
16901         * lyxtext.h: NO_PEXTRA
16902
16903         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16904
16905         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16906         * ParameterStruct.h: ditto
16907         * ParagraphParameters.h: ditto
16908         * lyxparagraph.h: ditto
16909
16910 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16911
16912         * buffer.C: add compability for minipage alignment.
16913         (latexParagraphs): remove unwanted pextra check.
16914
16915         * several files: remove CXX_WORKING_NAMESPACES
16916
16917         * buffer.C (pop_tag): tie is in namespace boost
16918
16919         * BufferView.h: noncopyable is in namespace boost
16920         * lyxlex.h: ditto
16921         * lyx_main.h: ditto
16922         * lyx_gui.h: ditto
16923         * layout.h: ditto
16924         * lastfiles.h: ditto
16925         * bufferlist.h: ditto
16926         * ShareContainer.h: ditto
16927         * LyXView.h: ditto
16928         * LyXAction.h: ditto
16929         * LaTeX.h: ditto
16930
16931 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16932
16933         * Merging changes from BRANCH_MVC back into HEAD.
16934
16935         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16936
16937 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16938
16939         * BufferView_pimpl.C: change from intl.C
16940
16941         * combox.h:
16942         * combox.C:
16943         * Makefile.am: move combox.*
16944
16945         * form1.h:
16946         * form1.C:
16947         * lyx_gui.C:
16948         * intl.h:
16949         * intl.C: remove dialog (covered by prefs)
16950
16951 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16952
16953         * lyxfunc.C (Dispatch): removed redundant break statement.
16954
16955 2001-03-14  Juergen Vigna  <jug@sad.it>
16956
16957         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16958
16959 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16960
16961         * buffer.C: add hack to fix compability reading of minipages.
16962
16963 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16964
16965         * buffer.C (getLists): Cleanup.
16966
16967 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16968
16969         * lyxfont.C (update): don't honor toggleall on font size.
16970
16971 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16972
16973         * bmtable.c:
16974         * bmtable.h:
16975         * Makefile.am: moved to frontends/xforms/
16976
16977         * lyx_gui_misc.C:
16978         * lyxfunc.C:
16979         * BufferView_pimpl.C: changes for moved mathpanel
16980
16981 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16982
16983         * gettext.h: fix gettext_init() in --disable-nls
16984
16985 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16986
16987         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16988
16989 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16990
16991         * lyx.C:
16992         * lyx.h: strip external form
16993
16994 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16995
16996         * BufferView_pimpl.C: add comment, destroySplash()
16997
16998 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16999
17000         * BufferView_pimpl.C:
17001         * LyXAction.C:
17002         * buffer.C:
17003         * commandtags.h:
17004         * lyxfunc.C: use re-worked insetinclude
17005
17006 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17007
17008         * buffer.C: add using std::stringstream.
17009
17010         * lyx_cb.C: readd using std::ios.
17011
17012         * buffer.C: add using std::map.
17013
17014         * BufferView_pimpl.C: add using std::vector.
17015
17016         * ShareContainer.h: add std:: to swap.
17017
17018         * buffer.h: add some typedefs
17019         * buffer.C (getLists): use them
17020         (getLists): renamed from getTocList.
17021         add a counter for the different float types and use it in the
17022         generated string.
17023         (getLists): use the same counter for the NEW_INSETS and the "non"
17024         NEW_INSETS
17025
17026         * lyx_cb.h: remove unused items, includes, using etc.
17027
17028         * ShareContainer.h: remove some commented code, add more comments
17029         and "documentation".
17030
17031 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17032
17033         * buffer.C (getTocList): make the list also when NEW_INSETS is
17034         defined.
17035
17036         * buffer.h: remove TocType
17037
17038         * buffer.C (getTocList): change to return a map<string,
17039         vector<TocItem> >, implement for dynamic number of list.
17040
17041         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17042         * text2.C (PasteSelection): adjust
17043         * CutAndPaste.C (pasteSelection): adjust
17044
17045         * FloatList.C (FloatList): update from the new_insets branch.
17046         * Floating.[Ch]: ditto
17047         * LaTeXFeatures.C: ditto
17048         * buffer.C: ditto
17049         * lyxlex_pimpl.C: ditto
17050
17051         * paragraph.C (Last): remove when NEW_INSETS is defined.
17052
17053         * other file: changes because of the above.
17054
17055 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17056
17057         * lyxparagraph.h: rename next to next_, previous to previous_,
17058         make them private for NEW_INSETS. Rename Next() to next(),
17059         Previous() to previous().
17060
17061         * other files: changes because of the above.
17062
17063 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17064
17065         * BufferView.h:
17066         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17067         problem.
17068
17069 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17070
17071         * main.C (main): pass lyx_localedir to gettext_init().
17072
17073         * gettext.h: remove locale_init and gettext_init macros
17074
17075         * gettext.C (locale_init): new function
17076         (gettext_init): new function
17077
17078         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17079         setlocale().
17080
17081 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17082
17083         * Moved credits to frontends:
17084         * credits.[Ch]: removed
17085         * credits_form.[Ch]: removed
17086         * lyx_gui_misc.C: remove credits stuff
17087         * Makefile.am:
17088
17089 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17090
17091         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17092
17093         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17094         unneeded destructor.
17095
17096         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17097         a standalone pointer again.
17098
17099         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17100
17101 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17102
17103         * Makefile.am:
17104         * filedlg.h:
17105         * filedlg.C:
17106         * LyXAction.C:
17107         * ToolbarDefaults.C:
17108         * bufferlist.C:
17109         * commandtags.h:
17110         * form1.C:
17111         * form1.h:
17112         * lyx_cb.C:
17113         * lyx_cb.h:
17114         * lyxfunc.h:
17115         * lyxfunc.C:
17116         * BufferView_pimpl.C: use new file dialog in GUII
17117
17118         * lyx_cb.h:
17119         * lyx_cb.C: remove LayoutsCB to Toolbar
17120
17121 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17122
17123         * ShareContainer.h (get): add std:: qualifier
17124
17125 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17126
17127         * ShareContainer.h: define a proper ShareContainer::value_type
17128         type (and use typename to please compaq cxx)
17129
17130 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17131
17132         * lyxparagraph.h: move serveral local vars to
17133         ParameterStruct/ParagraphParameters., use ShareContainer in
17134         FontTable., make vars in FontTable private and add getter and
17135         setter.
17136
17137         * paragraph.C: changes because of the above.
17138
17139         * lyxfont.h: remove copy constructor and copy assignment. (the
17140         default ones is ok), move number inside FontBits. move inlines to
17141         lyxfont.C
17142
17143         * lyxfont.C: add number to initializaton of statics, move several
17144         inlines here. constify several local vars. some whitespace
17145         cleanup. Dont hide outerscope variables.
17146
17147         * Spacing.h: add two new constructors to match the set methods.
17148
17149         * ShareContainer.h: new file, will perhaps be moved to support
17150
17151         * ParameterStruct.h: new file
17152
17153         * ParagraphParameters.h: new file
17154
17155         * ParagraphParameters.C: new file
17156
17157         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17158         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17159
17160         * BufferView_pimpl.C: ParagraphParameter changes.
17161         * buffer.C: Likewise.
17162         * bufferview_funcs.C: Likewise.
17163         * text.C: Likewise.
17164         * text2.C: Likewise.
17165
17166 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17167
17168         * lyxfind.C (LyXReplace): do not redefine default argument in
17169         implementation.
17170         (IsStringInText): ditto
17171         (SearchForward): ditto
17172         (SearchBackward): ditto
17173
17174 2001-03-06  Juergen Vigna  <jug@sad.it>
17175
17176         * lyxfind.C (IsStringInText): put parentes around expressions.
17177
17178 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17179
17180         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17181
17182 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17183
17184         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17185
17186         * stl_string_fwd.h: add comment
17187
17188         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17189
17190         * tabular.h:
17191         * tabular.C: remove unused DocBook methods
17192
17193         * intl.C:
17194         * language.C:
17195         * paragraph.C:
17196         * buffer.C:
17197         killed DO_USE_DEFAULT_LANGUAGE
17198
17199 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17200
17201         * lyx_gui.C: do not include language.h.
17202
17203         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17204         arguments in function implementation.
17205
17206 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17207
17208         * BufferView_pimpl.C: add <ctime>
17209
17210 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17211
17212         * BufferView_pimpl.C: add using std::find_if
17213
17214 2001-02-27  José Matos  <jamatos@fep.up.pt>
17215
17216         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17217         by OnlyPath.
17218
17219 2001-02-11  José Matos  <jamatos@fep.up.pt>
17220
17221         * buffer.C (makeDocBookFile): command styles now have a parameter as
17222         "title" by default.
17223
17224 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17225
17226         * layout_forms.[Ch]: removed
17227         * lyx_cb.[Ch]: out character
17228         * lyx_gui.C: out character
17229         * lyx_gui_misc.C: out character
17230         * bufferview_funcs.C: : out character,
17231         added toggleall as parameter in ToggleAndShow
17232
17233 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17234
17235         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17236
17237         * text2.C (SetCurrentFont): Disable number property at boundary.
17238
17239 2001-02-26  Juergen Vigna  <jug@sad.it>
17240
17241         * lyxfunc.C (getStatus): added a string argument override function so
17242         that this is correctly called from LyXFunc::Dispatch if it contains a
17243         do_not_use_argument which is used!
17244         (Dispatch): added check for "custom" export and call appropriate func.
17245
17246 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17247
17248         * lyxrc.C: Add language_command_local, language_use_babel and
17249         language_global_options.
17250
17251         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17252
17253         * buffer.C (makeLaTeXFile): Use language_use_babel and
17254         language_global_options.
17255
17256 2001-02-23  Juergen Vigna  <jug@sad.it>
17257
17258         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17259         which works with LyXText and putted it inside BufferView. Here now we
17260         only call for that part the BufferView::Dispatch() function.
17261
17262         * BufferView.C (Dispatch): added.
17263
17264         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17265         functions which needs to use a LyXText over from LyXFunc.
17266         (MenuInsertLyXFile): added
17267         (getInsetByCode): added
17268         (moveCursorUpdate): added
17269         (static TEXT): added
17270
17271 2001-02-22  Juergen Vigna  <jug@sad.it>
17272
17273         * BufferView_pimpl.C (update): call a status update to see if LyXText
17274         needs it.
17275
17276 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17277
17278         * vc-backend.C (revert): implement for CVS
17279         (getLog): implement for CVS
17280
17281 2001-02-20  Juergen Vigna  <jug@sad.it>
17282
17283         * text2.C (ClearSelection): added BufferView param for inset_owner call
17284
17285         * lyxfunc.C (TEXT): added this function and use it instead of
17286         directly owner->view()-text of getLyXText().
17287
17288 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17289
17290         * src/layout_forms.C: out preamble
17291         * src/layout_forms.h: out preamble
17292         * src/lyx_cb.C: out preamble
17293         * src/lyx_cb.h: out preamble
17294         * src/lyx_gui.C: out preamble
17295         * src/lyx_gui_misc.C: out preamble
17296         * src/lyxfunc.C: connect with guii preamble
17297
17298 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17299
17300         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17301
17302 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17303
17304         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17305         whether to run bibtex.
17306
17307 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17308
17309         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17310
17311 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17312
17313         * Makefile.am (lyx_SOURCES): removed bibforms.h
17314
17315         * vspace.h: doxygen
17316
17317         * text.C (GetVisibleRow): make several local vars const
17318
17319         * tabular.C: small cleanup.
17320
17321         * lyxserver.C (callback): use compare instead of strncmp
17322
17323         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17324         inlines to after class or to paragraph.C
17325
17326         * lyxfont.h: remove friend operator!=
17327
17328         * converter.h: move friend bool operator< to non friend and after
17329         class def.
17330
17331         * combox.h: small cleanup
17332
17333         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17334         to inlines after class def.
17335
17336         * buffer.C (pop_tag): use string operations instead of strcmp
17337
17338         * bmtable.c: doxygen, small cleanup
17339
17340         * LaTeX.h: remove friend operator==
17341
17342 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17343
17344         * screen.C:
17345         * lyxrc.[Ch]:
17346         * lyxfunc.C:
17347         * lyxfont.[Ch]:
17348         * lyx_cb.C:
17349         * intl.[Ch]:
17350         * commandtags.h:
17351         * buffer.C:
17352         * WorkArea.[Ch]:
17353         * LyXAction.C:
17354         * BufferView_pimpl.C:
17355         * BufferView.[Ch]: remove cruft
17356
17357 2001-02-14  Juergen Vigna  <jug@sad.it>
17358
17359         * lyxfunc.C: removed #if 0 unused code
17360
17361         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17362
17363         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17364
17365         * text2.C (SetSelection): added a BufferView * parameter
17366
17367 2001-02-13  Juergen Vigna  <jug@sad.it>
17368
17369         * lyxfunc.C (Dispatch): fixed protected blank problem.
17370         * BufferView2.C (protectedBlank): added LyxText * parameter.
17371
17372         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17373         (AppendColumn): same as above for column_info.
17374
17375         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17376         (moveCursorUpdate): use a LyXText param for support of InsetText.
17377
17378         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17379         (tripleClick): ditto
17380
17381         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17382
17383         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17384
17385         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17386
17387         * text2.C (SetSelection): set correct update status if inset_owner
17388         (ToggleFree): ditto
17389
17390 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17391
17392         * tabular.C: remove some commented code.
17393
17394 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17395
17396         * BufferView_pimpl.C: call hideSplash()
17397
17398         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17399
17400         * include_form.h:
17401         * bibforms.h: remove
17402
17403         * lyxfunc.C:
17404         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17405           add LFUN_CHILD_CREATE
17406
17407         * counters.h: fix tiny typo
17408
17409         * lyx_cb.C:
17410         * lyx.h:
17411         * lyx_gui.C:
17412         * lyx.C: move splash to frontends/xforms/
17413
17414         * lyx_gui_misc.C: move Include and Bibform to frontends
17415
17416         * lyxvc.h: clarify comment
17417
17418         * vspace.C: tiny housekeeping
17419
17420 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17421
17422         * text.C (PrepareToPrint): RTL Fix.
17423
17424         * paragraph.C (GetUChar): New method.
17425         (String):  Use GetUChar.
17426
17427         * buffer.C (asciiParagraph): Use GetUChar.
17428
17429 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17430
17431         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17432
17433 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17434
17435         * buffer.h:
17436         * buffer.C: rename to getLogName(), handle
17437           build log / latex log nicely
17438
17439 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17440
17441         * MenuBackend.C:
17442         * MenuBackend.h: remove support for reference menuitem type.
17443
17444 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17445
17446         * BufferView_pimpl.C: housekeeping
17447         * BufferView_pimpl.h:
17448         * LyXView.h:
17449         * Makefile.am:
17450         * Timeout.C:
17451         * Timeout.h:
17452         * minibuffer.h: move Timeout GUI-I
17453
17454 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17455
17456         * lyxrc.C (read): Update converters data-structures.
17457
17458 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17459
17460         * LaTeX.h (operator!=): add operator != for Aux_Info
17461
17462 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17463
17464         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17465
17466         * LaTeXLog.C: deleted, useful code moved to Buffer
17467
17468         * buffer.h:
17469         * buffer.C: new function getLatexLogName()
17470
17471         * lyx_gui_misc.C:
17472         * lyx_gui.C:
17473         * lyxvc.C:
17474         * lyxvc.h:
17475         * lyxfunc.C: use frontends for LaTeX and VC logs
17476
17477 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17478
17479         * LaTeX.h: yet another std:: that Allan forgot.
17480
17481         * Variables.C (set): renamed from isset(), because this clashes
17482         with some HP-UX macros (grr).
17483
17484 2001-02-06  Allan Rae  <rae@lyx.org>
17485
17486         * LaTeX.h: Another bug fix.  Missing std:: this time.
17487
17488 2001-02-04  Allan Rae  <rae@lyx.org>
17489
17490         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17491         floats problem. I've left it commented out because it's not quite
17492         correct.  It should also test that the current object is a table or
17493         figure inset.  But I haven't gotten around to figuring out how to do
17494         that.  I *think* it'll be something like: "table" == inset.type()
17495
17496         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17497         bool.
17498
17499 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17500
17501         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17502         all the citation/databases/styles in the auxilary file.
17503         (run): Rerun latex if there was a babel language error.
17504
17505 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17506
17507         * text.C (Backspace): Preserve the font when changing newline char
17508         with a space.
17509         (BreakParagraph): If the cursor is before a space, delete the space.
17510
17511         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17512
17513 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17514
17515         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17516         new argument (code).
17517         (ChangeCitationsIfUnique): New method.
17518
17519         * paragraph.C (GetPositionOfInset): Handle bibkey.
17520
17521 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17522
17523         * BufferView_pimpl.h: change type of Position::par_pos to
17524         LyXParagraph::size_type.
17525
17526 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17527
17528         * BufferView_pimpl.C (savePosition, restorePosition): Write
17529         messages to minibuffer.
17530
17531 2001-01-28  José Matos  <jamatos@fep.up.pt>
17532
17533         * buffer.C (makeDocBookFile): adds support for document language.
17534         A silly restriction on the name of LatexCommand types where removed.
17535         Added support for CDATA sections, allows to chars unescaped, used
17536         among others in code, to avoid escape < and >.
17537
17538 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17539
17540         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17541         saved positions instrad of a stack. Furthermore, a position is
17542         stored using paragraph id/paragraph position.
17543
17544         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17545         Remove LFUN_REF_BACK.
17546
17547 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17548
17549         * converter.C (dvipdfm_options): New method.
17550
17551 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17552
17553         * vspace.C (isValidLength): Fix for empty input string.
17554
17555 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17556
17557         * LyXAction.C (init): change description of LFUN_FIGURE to
17558         "Insert Graphics"
17559
17560 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17561
17562         * LaTeX.C: add using directive
17563
17564 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17565
17566         * MenuBackend.C (expand): Fix the sorting of the formats.
17567
17568 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17569
17570         * lyx_main.C: tiny error message fix
17571
17572 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17573
17574         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17575         calling fl_initialize(). This fixes the problem with ',' as
17576         decimal separator in text files.
17577
17578 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17579
17580         * trans.C (process): Fix the keymap bug.
17581
17582 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17583
17584         * LaTeX.C (scanAuxFiles): New method. Provides support for
17585         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17586         (scanLogFile) Scan for "run BibTeX" messages.
17587
17588         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17589         OT1 font encoding. Also, load the aecompl package if the ae
17590         package is loaded.
17591
17592         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17593
17594 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17595
17596         * texrow.C (increasePos): turn two error messages into debug
17597         messages.
17598
17599 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17600
17601         * LaTeX.C (scanAux): Handle the \@input macro.
17602         (runBibTeX): Use scanAux().
17603
17604         * language.C (latex_options_): New field.
17605
17606         * LaTeXFeatures.C (getMacros): Add language macros.
17607
17608         * buffer.C (makeLaTeXFile): Small fix.
17609
17610 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17611
17612         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17613
17614         * text2.C: add a using directive.
17615
17616 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17617
17618         * BufferView2.C:
17619         * lyx_gui_misc.h:
17620         * lyxfr1.C:
17621         * lyxfunc.C: kill LyXBell.
17622
17623 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17624
17625         * text.C (IsBoundary): Remove the error message
17626
17627         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17628
17629         * lyxrc.C (setDefaults): Correct initialization value for
17630         font_norm_type.
17631
17632 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17633
17634         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17635         gotoError().
17636
17637         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17638         and GotoNextNote().
17639
17640         * src/LyXAction.C: Added reference-next.
17641
17642         * text.C (InsertChar): Use contains instead of strchr.
17643
17644         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17645
17646 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17647
17648         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17649         alignment commands (when needed).
17650
17651         * text.C (InsertChar): Add ':' to number separator chars.